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

« back to all changes in this revision

Viewing changes to autom4te.cache/output.2

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-12-13 17:00:30 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20111213170030-yi8dnfi1vz2zrd1o
Tags: 3.0.1-1
New upstream release

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.68 for arpack 96.
4
 
@%:@
5
 
@%:@ Report bugs to <arpack@caam.rice.edu>.
6
 
@%:@ 
7
 
@%:@ 
8
 
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
@%:@ Foundation, Inc.
11
 
@%:@ 
12
 
@%:@ 
13
 
@%:@ This configure script is free software; the Free Software Foundation
14
 
@%:@ gives unlimited permission to copy, distribute and modify it.
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in @%:@(
30
 
  *posix*) :
31
 
    set -o posix ;; @%:@(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in @%:@(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
as_myself=
95
 
case $0 in @%:@((
96
 
  *[\\/]* ) as_myself=$0 ;;
97
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
 
for as_dir in $PATH
99
 
do
100
 
  IFS=$as_save_IFS
101
 
  test -z "$as_dir" && as_dir=.
102
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
 
  done
104
 
IFS=$as_save_IFS
105
 
 
106
 
     ;;
107
 
esac
108
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
 
# in which case we are not to be found in the path.
110
 
if test "x$as_myself" = x; then
111
 
  as_myself=$0
112
 
fi
113
 
if test ! -f "$as_myself"; then
114
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
 
  exit 1
116
 
fi
117
 
 
118
 
# Unset variables that we do not need and which cause bugs (e.g. in
119
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120
 
# suppresses any "Segmentation fault" message there.  '((' could
121
 
# trigger a bug in pdksh 5.2.14.
122
 
for as_var in BASH_ENV ENV MAIL MAILPATH
123
 
do eval test x\${$as_var+set} = xset \
124
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
 
done
126
 
PS1='$ '
127
 
PS2='> '
128
 
PS4='+ '
129
 
 
130
 
# NLS nuisances.
131
 
LC_ALL=C
132
 
export LC_ALL
133
 
LANGUAGE=C
134
 
export LANGUAGE
135
 
 
136
 
# CDPATH.
137
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
 
 
139
 
if test "x$CONFIG_SHELL" = x; then
140
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
 
  emulate sh
142
 
  NULLCMD=:
143
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
 
  # is contrary to our usage.  Disable this feature.
145
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
 
  setopt NO_GLOB_SUBST
147
 
else
148
 
  case \`(set -o) 2>/dev/null\` in @%:@(
149
 
  *posix*) :
150
 
    set -o posix ;; @%:@(
151
 
  *) :
152
 
     ;;
153
 
esac
154
 
fi
155
 
"
156
 
  as_required="as_fn_return () { (exit \$1); }
157
 
as_fn_success () { as_fn_return 0; }
158
 
as_fn_failure () { as_fn_return 1; }
159
 
as_fn_ret_success () { return 0; }
160
 
as_fn_ret_failure () { return 1; }
161
 
 
162
 
exitcode=0
163
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
 
  
169
 
else
170
 
  exitcode=1; echo positional parameters were not saved.
171
 
fi
172
 
test x\$exitcode = x0 || exit 1"
173
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
 
 
178
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
 
    PATH=/empty FPATH=/empty; export PATH FPATH
183
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185
 
test \$(( 1 + 1 )) = 2 || exit 1"
186
 
  if (eval "$as_required") 2>/dev/null; then :
187
 
  as_have_required=yes
188
 
else
189
 
  as_have_required=no
190
 
fi
191
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
 
  
193
 
else
194
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
 
as_found=false
196
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
 
do
198
 
  IFS=$as_save_IFS
199
 
  test -z "$as_dir" && as_dir=.
200
 
  as_found=:
201
 
  case $as_dir in @%:@(
202
 
         /*)
203
 
           for as_base in sh bash ksh sh5; do
204
 
             # Try only shells that exist, to save several forks.
205
 
             as_shell=$as_dir/$as_base
206
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$as_shell as_have_required=yes
209
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
 
  break 2
211
 
fi
212
 
fi
213
 
           done;;
214
 
       esac
215
 
  as_found=false
216
 
done
217
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
 
  CONFIG_SHELL=$SHELL as_have_required=yes
220
 
fi; }
221
 
IFS=$as_save_IFS
222
 
 
223
 
 
224
 
      if test "x$CONFIG_SHELL" != x; then :
225
 
  # We cannot yet assume a decent shell, so we have to provide a
226
 
        # neutralization value for shells without unset; and this also
227
 
        # works around shells that cannot unset nonexistent variables.
228
 
        # Preserve -v and -x to the replacement shell.
229
 
        BASH_ENV=/dev/null
230
 
        ENV=/dev/null
231
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
 
        export CONFIG_SHELL
233
 
        case $- in @%:@ ((((
234
 
          *v*x* | *x*v* ) as_opts=-vx ;;
235
 
          *v* ) as_opts=-v ;;
236
 
          *x* ) as_opts=-x ;;
237
 
          * ) as_opts= ;;
238
 
        esac
239
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
 
fi
241
 
 
242
 
    if test x$as_have_required = xno; then :
243
 
  $as_echo "$0: This script requires a shell more modern than all"
244
 
  $as_echo "$0: the shells that I found on your system."
245
 
  if test x${ZSH_VERSION+set} = xset ; then
246
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
 
  else
249
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250
 
$0: arpack@caam.rice.edu about your system, including any
251
 
$0: error possibly output before this message. Then install
252
 
$0: a modern shell, or manually run the script under such a
253
 
$0: shell if you do have one."
254
 
  fi
255
 
  exit 1
256
 
fi
257
 
fi
258
 
fi
259
 
SHELL=${CONFIG_SHELL-/bin/sh}
260
 
export SHELL
261
 
# Unset more variables known to interfere with behavior of common tools.
262
 
CLICOLOR_FORCE= GREP_OPTIONS=
263
 
unset CLICOLOR_FORCE GREP_OPTIONS
264
 
 
265
 
## --------------------- ##
266
 
## M4sh Shell Functions. ##
267
 
## --------------------- ##
268
 
@%:@ as_fn_unset VAR
269
 
@%:@ ---------------
270
 
@%:@ Portably unset VAR.
271
 
as_fn_unset ()
272
 
{
273
 
  { eval $1=; unset $1;}
274
 
}
275
 
as_unset=as_fn_unset
276
 
 
277
 
@%:@ as_fn_set_status STATUS
278
 
@%:@ -----------------------
279
 
@%:@ Set @S|@? to STATUS, without forking.
280
 
as_fn_set_status ()
281
 
{
282
 
  return $1
283
 
} @%:@ as_fn_set_status
284
 
 
285
 
@%:@ as_fn_exit STATUS
286
 
@%:@ -----------------
287
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288
 
as_fn_exit ()
289
 
{
290
 
  set +e
291
 
  as_fn_set_status $1
292
 
  exit $1
293
 
} @%:@ as_fn_exit
294
 
 
295
 
@%:@ as_fn_mkdir_p
296
 
@%:@ -------------
297
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
298
 
as_fn_mkdir_p ()
299
 
{
300
 
 
301
 
  case $as_dir in #(
302
 
  -*) as_dir=./$as_dir;;
303
 
  esac
304
 
  test -d "$as_dir" || eval $as_mkdir_p || {
305
 
    as_dirs=
306
 
    while :; do
307
 
      case $as_dir in #(
308
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309
 
      *) as_qdir=$as_dir;;
310
 
      esac
311
 
      as_dirs="'$as_qdir' $as_dirs"
312
 
      as_dir=`$as_dirname -- "$as_dir" ||
313
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
315
 
         X"$as_dir" : 'X\(//\)$' \| \
316
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
 
$as_echo X"$as_dir" |
318
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
 
            s//\1/
320
 
            q
321
 
          }
322
 
          /^X\(\/\/\)[^/].*/{
323
 
            s//\1/
324
 
            q
325
 
          }
326
 
          /^X\(\/\/\)$/{
327
 
            s//\1/
328
 
            q
329
 
          }
330
 
          /^X\(\/\).*/{
331
 
            s//\1/
332
 
            q
333
 
          }
334
 
          s/.*/./; q'`
335
 
      test -d "$as_dir" && break
336
 
    done
337
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
338
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
 
 
340
 
 
341
 
} @%:@ as_fn_mkdir_p
342
 
@%:@ as_fn_append VAR VALUE
343
 
@%:@ ----------------------
344
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
345
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
346
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
347
 
@%:@ implementations.
348
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
 
  eval 'as_fn_append ()
350
 
  {
351
 
    eval $1+=\$2
352
 
  }'
353
 
else
354
 
  as_fn_append ()
355
 
  {
356
 
    eval $1=\$$1\$2
357
 
  }
358
 
fi # as_fn_append
359
 
 
360
 
@%:@ as_fn_arith ARG...
361
 
@%:@ ------------------
362
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
363
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364
 
@%:@ must be portable across @S|@(()) and expr.
365
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366
 
  eval 'as_fn_arith ()
367
 
  {
368
 
    as_val=$(( $* ))
369
 
  }'
370
 
else
371
 
  as_fn_arith ()
372
 
  {
373
 
    as_val=`expr "$@" || test $? -eq 1`
374
 
  }
375
 
fi # as_fn_arith
376
 
 
377
 
 
378
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
379
 
@%:@ ----------------------------------------
380
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
 
@%:@ script with STATUS, using 1 if that was 0.
383
 
as_fn_error ()
384
 
{
385
 
  as_status=$1; test $as_status -eq 0 && as_status=1
386
 
  if test "$4"; then
387
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389
 
  fi
390
 
  $as_echo "$as_me: error: $2" >&2
391
 
  as_fn_exit $as_status
392
 
} @%:@ as_fn_error
393
 
 
394
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
396
 
  as_expr=expr
397
 
else
398
 
  as_expr=false
399
 
fi
400
 
 
401
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402
 
  as_basename=basename
403
 
else
404
 
  as_basename=false
405
 
fi
406
 
 
407
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408
 
  as_dirname=dirname
409
 
else
410
 
  as_dirname=false
411
 
fi
412
 
 
413
 
as_me=`$as_basename -- "$0" ||
414
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
 
         X"$0" : 'X\(//\)$' \| \
416
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417
 
$as_echo X/"$0" |
418
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
419
 
            s//\1/
420
 
            q
421
 
          }
422
 
          /^X\/\(\/\/\)$/{
423
 
            s//\1/
424
 
            q
425
 
          }
426
 
          /^X\/\(\/\).*/{
427
 
            s//\1/
428
 
            q
429
 
          }
430
 
          s/.*/./; q'`
431
 
 
432
 
# Avoid depending upon Character Ranges.
433
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
 
as_cr_digits='0123456789'
437
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
438
 
 
439
 
 
440
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445
 
  sed -n '
446
 
    p
447
 
    /[$]LINENO/=
448
 
  ' <$as_myself |
449
 
    sed '
450
 
      s/[$]LINENO.*/&-/
451
 
      t lineno
452
 
      b
453
 
      :lineno
454
 
      N
455
 
      :loop
456
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
 
      t loop
458
 
      s/-\n.*//
459
 
    ' >$as_me.lineno &&
460
 
  chmod +x "$as_me.lineno" ||
461
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
 
 
463
 
  # Don't try to exec as it changes $[0], causing all sort of problems
464
 
  # (the dirname of $[0] is not the place where we might find the
465
 
  # original and so on.  Autoconf is especially sensitive to this).
466
 
  . "./$as_me.lineno"
467
 
  # Exit status is that of the last command.
468
 
  exit
469
 
}
470
 
 
471
 
ECHO_C= ECHO_N= ECHO_T=
472
 
case `echo -n x` in @%:@(((((
473
 
-n*)
474
 
  case `echo 'xy\c'` in
475
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476
 
  xy)  ECHO_C='\c';;
477
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478
 
       ECHO_T=' ';;
479
 
  esac;;
480
 
*)
481
 
  ECHO_N='-n';;
482
 
esac
483
 
 
484
 
rm -f conf$$ conf$$.exe conf$$.file
485
 
if test -d conf$$.dir; then
486
 
  rm -f conf$$.dir/conf$$.file
487
 
else
488
 
  rm -f conf$$.dir
489
 
  mkdir conf$$.dir 2>/dev/null
490
 
fi
491
 
if (echo >conf$$.file) 2>/dev/null; then
492
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
493
 
    as_ln_s='ln -s'
494
 
    # ... but there are two gotchas:
495
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
 
    # In both cases, we have to default to `cp -p'.
498
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
 
      as_ln_s='cp -p'
500
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
501
 
    as_ln_s=ln
502
 
  else
503
 
    as_ln_s='cp -p'
504
 
  fi
505
 
else
506
 
  as_ln_s='cp -p'
507
 
fi
508
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
 
rmdir conf$$.dir 2>/dev/null
510
 
 
511
 
if mkdir -p . 2>/dev/null; then
512
 
  as_mkdir_p='mkdir -p "$as_dir"'
513
 
else
514
 
  test -d ./-p && rmdir ./-p
515
 
  as_mkdir_p=false
516
 
fi
517
 
 
518
 
if test -x / >/dev/null 2>&1; then
519
 
  as_test_x='test -x'
520
 
else
521
 
  if ls -dL / >/dev/null 2>&1; then
522
 
    as_ls_L_option=L
523
 
  else
524
 
    as_ls_L_option=
525
 
  fi
526
 
  as_test_x='
527
 
    eval sh -c '\''
528
 
      if test -d "$1"; then
529
 
        test -d "$1/.";
530
 
      else
531
 
        case $1 in @%:@(
532
 
        -*)set "./$1";;
533
 
        esac;
534
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
535
 
        ???[sx]*):;;*)false;;esac;fi
536
 
    '\'' sh
537
 
  '
538
 
fi
539
 
as_executable_p=$as_test_x
540
 
 
541
 
# Sed expression to map a string onto a valid CPP name.
542
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
 
 
544
 
# Sed expression to map a string onto a valid variable name.
545
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
 
 
547
 
SHELL=${CONFIG_SHELL-/bin/sh}
548
 
 
549
 
 
550
 
test -n "$DJDIR" || exec 7<&0 </dev/null
551
 
exec 6>&1
552
 
 
553
 
# Name of the host.
554
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
 
# so uname gets run too.
556
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
 
 
558
 
#
559
 
# Initializations.
560
 
#
561
 
ac_default_prefix=/usr/local
562
 
ac_clean_files=
563
 
ac_config_libobj_dir=.
564
 
LIB@&t@OBJS=
565
 
cross_compiling=no
566
 
subdirs=
567
 
MFLAGS=
568
 
MAKEFLAGS=
569
 
 
570
 
# Identity of this package.
571
 
PACKAGE_NAME='arpack'
572
 
PACKAGE_TARNAME='arpack'
573
 
PACKAGE_VERSION='96'
574
 
PACKAGE_STRING='arpack 96'
575
 
PACKAGE_BUGREPORT='arpack@caam.rice.edu'
576
 
PACKAGE_URL=''
577
 
 
578
 
# Factoring default headers for most tests.
579
 
ac_includes_default="\
580
 
#include <stdio.h>
581
 
#ifdef HAVE_SYS_TYPES_H
582
 
# include <sys/types.h>
583
 
#endif
584
 
#ifdef HAVE_SYS_STAT_H
585
 
# include <sys/stat.h>
586
 
#endif
587
 
#ifdef STDC_HEADERS
588
 
# include <stdlib.h>
589
 
# include <stddef.h>
590
 
#else
591
 
# ifdef HAVE_STDLIB_H
592
 
#  include <stdlib.h>
593
 
# endif
594
 
#endif
595
 
#ifdef HAVE_STRING_H
596
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
597
 
#  include <memory.h>
598
 
# endif
599
 
# include <string.h>
600
 
#endif
601
 
#ifdef HAVE_STRINGS_H
602
 
# include <strings.h>
603
 
#endif
604
 
#ifdef HAVE_INTTYPES_H
605
 
# include <inttypes.h>
606
 
#endif
607
 
#ifdef HAVE_STDINT_H
608
 
# include <stdint.h>
609
 
#endif
610
 
#ifdef HAVE_UNISTD_H
611
 
# include <unistd.h>
612
 
#endif"
613
 
 
614
 
ac_subst_vars='am__EXEEXT_FALSE
615
 
am__EXEEXT_TRUE
616
 
LTLIBOBJS
617
 
LIB@&t@OBJS
618
 
MPIDIR
619
 
MPILIBS
620
 
MPIF77
621
 
LAPACK_LIBS
622
 
BLAS_LIBS
623
 
FLIBS
624
 
CPP
625
 
OTOOL64
626
 
OTOOL
627
 
LIPO
628
 
NMEDIT
629
 
DSYMUTIL
630
 
MANIFEST_TOOL
631
 
RANLIB
632
 
ac_ct_AR
633
 
AR
634
 
DLLTOOL
635
 
OBJDUMP
636
 
LN_S
637
 
NM
638
 
ac_ct_DUMPBIN
639
 
DUMPBIN
640
 
LD
641
 
FGREP
642
 
EGREP
643
 
GREP
644
 
SED
645
 
am__fastdepCC_FALSE
646
 
am__fastdepCC_TRUE
647
 
CCDEPMODE
648
 
AMDEPBACKSLASH
649
 
AMDEP_FALSE
650
 
AMDEP_TRUE
651
 
am__quote
652
 
am__include
653
 
DEPDIR
654
 
ac_ct_CC
655
 
CPPFLAGS
656
 
CFLAGS
657
 
CC
658
 
host_os
659
 
host_vendor
660
 
host_cpu
661
 
host
662
 
build_os
663
 
build_vendor
664
 
build_cpu
665
 
build
666
 
LIBTOOL
667
 
OBJEXT
668
 
EXEEXT
669
 
ac_ct_F77
670
 
LDFLAGS
671
 
FFLAGS
672
 
F77
673
 
am__untar
674
 
am__tar
675
 
AMTAR
676
 
am__leading_dot
677
 
SET_MAKE
678
 
AWK
679
 
mkdir_p
680
 
MKDIR_P
681
 
INSTALL_STRIP_PROGRAM
682
 
STRIP
683
 
install_sh
684
 
MAKEINFO
685
 
AUTOHEADER
686
 
AUTOMAKE
687
 
AUTOCONF
688
 
ACLOCAL
689
 
VERSION
690
 
PACKAGE
691
 
CYGPATH_W
692
 
am__isrc
693
 
INSTALL_DATA
694
 
INSTALL_SCRIPT
695
 
INSTALL_PROGRAM
696
 
target_alias
697
 
host_alias
698
 
build_alias
699
 
LIBS
700
 
ECHO_T
701
 
ECHO_N
702
 
ECHO_C
703
 
DEFS
704
 
mandir
705
 
localedir
706
 
libdir
707
 
psdir
708
 
pdfdir
709
 
dvidir
710
 
htmldir
711
 
infodir
712
 
docdir
713
 
oldincludedir
714
 
includedir
715
 
localstatedir
716
 
sharedstatedir
717
 
sysconfdir
718
 
datadir
719
 
datarootdir
720
 
libexecdir
721
 
sbindir
722
 
bindir
723
 
program_transform_name
724
 
prefix
725
 
exec_prefix
726
 
PACKAGE_URL
727
 
PACKAGE_BUGREPORT
728
 
PACKAGE_STRING
729
 
PACKAGE_VERSION
730
 
PACKAGE_TARNAME
731
 
PACKAGE_NAME
732
 
PATH_SEPARATOR
733
 
SHELL'
734
 
ac_subst_files=''
735
 
ac_user_opts='
736
 
enable_option_checking
737
 
enable_shared
738
 
enable_static
739
 
with_pic
740
 
enable_fast_install
741
 
enable_dependency_tracking
742
 
with_gnu_ld
743
 
with_sysroot
744
 
enable_libtool_lock
745
 
with_blas
746
 
with_lapack
747
 
enable_mpi
748
 
'
749
 
      ac_precious_vars='build_alias
750
 
host_alias
751
 
target_alias
752
 
F77
753
 
FFLAGS
754
 
LDFLAGS
755
 
LIBS
756
 
CC
757
 
CFLAGS
758
 
CPPFLAGS
759
 
CPP
760
 
MPIF77'
761
 
 
762
 
 
763
 
# Initialize some variables set by options.
764
 
ac_init_help=
765
 
ac_init_version=false
766
 
ac_unrecognized_opts=
767
 
ac_unrecognized_sep=
768
 
# The variables have the same names as the options, with
769
 
# dashes changed to underlines.
770
 
cache_file=/dev/null
771
 
exec_prefix=NONE
772
 
no_create=
773
 
no_recursion=
774
 
prefix=NONE
775
 
program_prefix=NONE
776
 
program_suffix=NONE
777
 
program_transform_name=s,x,x,
778
 
silent=
779
 
site=
780
 
srcdir=
781
 
verbose=
782
 
x_includes=NONE
783
 
x_libraries=NONE
784
 
 
785
 
# Installation directory options.
786
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
787
 
# and all the variables that are supposed to be based on exec_prefix
788
 
# by default will actually change.
789
 
# Use braces instead of parens because sh, perl, etc. also accept them.
790
 
# (The list follows the same order as the GNU Coding Standards.)
791
 
bindir='${exec_prefix}/bin'
792
 
sbindir='${exec_prefix}/sbin'
793
 
libexecdir='${exec_prefix}/libexec'
794
 
datarootdir='${prefix}/share'
795
 
datadir='${datarootdir}'
796
 
sysconfdir='${prefix}/etc'
797
 
sharedstatedir='${prefix}/com'
798
 
localstatedir='${prefix}/var'
799
 
includedir='${prefix}/include'
800
 
oldincludedir='/usr/include'
801
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802
 
infodir='${datarootdir}/info'
803
 
htmldir='${docdir}'
804
 
dvidir='${docdir}'
805
 
pdfdir='${docdir}'
806
 
psdir='${docdir}'
807
 
libdir='${exec_prefix}/lib'
808
 
localedir='${datarootdir}/locale'
809
 
mandir='${datarootdir}/man'
810
 
 
811
 
ac_prev=
812
 
ac_dashdash=
813
 
for ac_option
814
 
do
815
 
  # If the previous option needs an argument, assign it.
816
 
  if test -n "$ac_prev"; then
817
 
    eval $ac_prev=\$ac_option
818
 
    ac_prev=
819
 
    continue
820
 
  fi
821
 
 
822
 
  case $ac_option in
823
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824
 
  *=)   ac_optarg= ;;
825
 
  *)    ac_optarg=yes ;;
826
 
  esac
827
 
 
828
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
829
 
 
830
 
  case $ac_dashdash$ac_option in
831
 
  --)
832
 
    ac_dashdash=yes ;;
833
 
 
834
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
835
 
    ac_prev=bindir ;;
836
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
837
 
    bindir=$ac_optarg ;;
838
 
 
839
 
  -build | --build | --buil | --bui | --bu)
840
 
    ac_prev=build_alias ;;
841
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
842
 
    build_alias=$ac_optarg ;;
843
 
 
844
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
845
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
846
 
    ac_prev=cache_file ;;
847
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
848
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
849
 
    cache_file=$ac_optarg ;;
850
 
 
851
 
  --config-cache | -C)
852
 
    cache_file=config.cache ;;
853
 
 
854
 
  -datadir | --datadir | --datadi | --datad)
855
 
    ac_prev=datadir ;;
856
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
857
 
    datadir=$ac_optarg ;;
858
 
 
859
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
860
 
  | --dataroo | --dataro | --datar)
861
 
    ac_prev=datarootdir ;;
862
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
863
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
864
 
    datarootdir=$ac_optarg ;;
865
 
 
866
 
  -disable-* | --disable-*)
867
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868
 
    # Reject names that are not valid shell variable names.
869
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870
 
      as_fn_error $? "invalid feature name: $ac_useropt"
871
 
    ac_useropt_orig=$ac_useropt
872
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873
 
    case $ac_user_opts in
874
 
      *"
875
 
"enable_$ac_useropt"
876
 
"*) ;;
877
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878
 
         ac_unrecognized_sep=', ';;
879
 
    esac
880
 
    eval enable_$ac_useropt=no ;;
881
 
 
882
 
  -docdir | --docdir | --docdi | --doc | --do)
883
 
    ac_prev=docdir ;;
884
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
885
 
    docdir=$ac_optarg ;;
886
 
 
887
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888
 
    ac_prev=dvidir ;;
889
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
890
 
    dvidir=$ac_optarg ;;
891
 
 
892
 
  -enable-* | --enable-*)
893
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894
 
    # Reject names that are not valid shell variable names.
895
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896
 
      as_fn_error $? "invalid feature name: $ac_useropt"
897
 
    ac_useropt_orig=$ac_useropt
898
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899
 
    case $ac_user_opts in
900
 
      *"
901
 
"enable_$ac_useropt"
902
 
"*) ;;
903
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904
 
         ac_unrecognized_sep=', ';;
905
 
    esac
906
 
    eval enable_$ac_useropt=\$ac_optarg ;;
907
 
 
908
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910
 
  | --exec | --exe | --ex)
911
 
    ac_prev=exec_prefix ;;
912
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914
 
  | --exec=* | --exe=* | --ex=*)
915
 
    exec_prefix=$ac_optarg ;;
916
 
 
917
 
  -gas | --gas | --ga | --g)
918
 
    # Obsolete; use --with-gas.
919
 
    with_gas=yes ;;
920
 
 
921
 
  -help | --help | --hel | --he | -h)
922
 
    ac_init_help=long ;;
923
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924
 
    ac_init_help=recursive ;;
925
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926
 
    ac_init_help=short ;;
927
 
 
928
 
  -host | --host | --hos | --ho)
929
 
    ac_prev=host_alias ;;
930
 
  -host=* | --host=* | --hos=* | --ho=*)
931
 
    host_alias=$ac_optarg ;;
932
 
 
933
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934
 
    ac_prev=htmldir ;;
935
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936
 
  | --ht=*)
937
 
    htmldir=$ac_optarg ;;
938
 
 
939
 
  -includedir | --includedir | --includedi | --included | --include \
940
 
  | --includ | --inclu | --incl | --inc)
941
 
    ac_prev=includedir ;;
942
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
944
 
    includedir=$ac_optarg ;;
945
 
 
946
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
947
 
    ac_prev=infodir ;;
948
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949
 
    infodir=$ac_optarg ;;
950
 
 
951
 
  -libdir | --libdir | --libdi | --libd)
952
 
    ac_prev=libdir ;;
953
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
954
 
    libdir=$ac_optarg ;;
955
 
 
956
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957
 
  | --libexe | --libex | --libe)
958
 
    ac_prev=libexecdir ;;
959
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960
 
  | --libexe=* | --libex=* | --libe=*)
961
 
    libexecdir=$ac_optarg ;;
962
 
 
963
 
  -localedir | --localedir | --localedi | --localed | --locale)
964
 
    ac_prev=localedir ;;
965
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966
 
    localedir=$ac_optarg ;;
967
 
 
968
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
969
 
  | --localstate | --localstat | --localsta | --localst | --locals)
970
 
    ac_prev=localstatedir ;;
971
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973
 
    localstatedir=$ac_optarg ;;
974
 
 
975
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976
 
    ac_prev=mandir ;;
977
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978
 
    mandir=$ac_optarg ;;
979
 
 
980
 
  -nfp | --nfp | --nf)
981
 
    # Obsolete; use --without-fp.
982
 
    with_fp=no ;;
983
 
 
984
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985
 
  | --no-cr | --no-c | -n)
986
 
    no_create=yes ;;
987
 
 
988
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990
 
    no_recursion=yes ;;
991
 
 
992
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994
 
  | --oldin | --oldi | --old | --ol | --o)
995
 
    ac_prev=oldincludedir ;;
996
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999
 
    oldincludedir=$ac_optarg ;;
1000
 
 
1001
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002
 
    ac_prev=prefix ;;
1003
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004
 
    prefix=$ac_optarg ;;
1005
 
 
1006
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007
 
  | --program-pre | --program-pr | --program-p)
1008
 
    ac_prev=program_prefix ;;
1009
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011
 
    program_prefix=$ac_optarg ;;
1012
 
 
1013
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014
 
  | --program-suf | --program-su | --program-s)
1015
 
    ac_prev=program_suffix ;;
1016
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018
 
    program_suffix=$ac_optarg ;;
1019
 
 
1020
 
  -program-transform-name | --program-transform-name \
1021
 
  | --program-transform-nam | --program-transform-na \
1022
 
  | --program-transform-n | --program-transform- \
1023
 
  | --program-transform | --program-transfor \
1024
 
  | --program-transfo | --program-transf \
1025
 
  | --program-trans | --program-tran \
1026
 
  | --progr-tra | --program-tr | --program-t)
1027
 
    ac_prev=program_transform_name ;;
1028
 
  -program-transform-name=* | --program-transform-name=* \
1029
 
  | --program-transform-nam=* | --program-transform-na=* \
1030
 
  | --program-transform-n=* | --program-transform-=* \
1031
 
  | --program-transform=* | --program-transfor=* \
1032
 
  | --program-transfo=* | --program-transf=* \
1033
 
  | --program-trans=* | --program-tran=* \
1034
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1035
 
    program_transform_name=$ac_optarg ;;
1036
 
 
1037
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038
 
    ac_prev=pdfdir ;;
1039
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040
 
    pdfdir=$ac_optarg ;;
1041
 
 
1042
 
  -psdir | --psdir | --psdi | --psd | --ps)
1043
 
    ac_prev=psdir ;;
1044
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045
 
    psdir=$ac_optarg ;;
1046
 
 
1047
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048
 
  | -silent | --silent | --silen | --sile | --sil)
1049
 
    silent=yes ;;
1050
 
 
1051
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052
 
    ac_prev=sbindir ;;
1053
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054
 
  | --sbi=* | --sb=*)
1055
 
    sbindir=$ac_optarg ;;
1056
 
 
1057
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059
 
  | --sharedst | --shareds | --shared | --share | --shar \
1060
 
  | --sha | --sh)
1061
 
    ac_prev=sharedstatedir ;;
1062
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065
 
  | --sha=* | --sh=*)
1066
 
    sharedstatedir=$ac_optarg ;;
1067
 
 
1068
 
  -site | --site | --sit)
1069
 
    ac_prev=site ;;
1070
 
  -site=* | --site=* | --sit=*)
1071
 
    site=$ac_optarg ;;
1072
 
 
1073
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074
 
    ac_prev=srcdir ;;
1075
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076
 
    srcdir=$ac_optarg ;;
1077
 
 
1078
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1080
 
    ac_prev=sysconfdir ;;
1081
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083
 
    sysconfdir=$ac_optarg ;;
1084
 
 
1085
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1086
 
    ac_prev=target_alias ;;
1087
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088
 
    target_alias=$ac_optarg ;;
1089
 
 
1090
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091
 
    verbose=yes ;;
1092
 
 
1093
 
  -version | --version | --versio | --versi | --vers | -V)
1094
 
    ac_init_version=: ;;
1095
 
 
1096
 
  -with-* | --with-*)
1097
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098
 
    # Reject names that are not valid shell variable names.
1099
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100
 
      as_fn_error $? "invalid package name: $ac_useropt"
1101
 
    ac_useropt_orig=$ac_useropt
1102
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103
 
    case $ac_user_opts in
1104
 
      *"
1105
 
"with_$ac_useropt"
1106
 
"*) ;;
1107
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108
 
         ac_unrecognized_sep=', ';;
1109
 
    esac
1110
 
    eval with_$ac_useropt=\$ac_optarg ;;
1111
 
 
1112
 
  -without-* | --without-*)
1113
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114
 
    # Reject names that are not valid shell variable names.
1115
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116
 
      as_fn_error $? "invalid package name: $ac_useropt"
1117
 
    ac_useropt_orig=$ac_useropt
1118
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119
 
    case $ac_user_opts in
1120
 
      *"
1121
 
"with_$ac_useropt"
1122
 
"*) ;;
1123
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124
 
         ac_unrecognized_sep=', ';;
1125
 
    esac
1126
 
    eval with_$ac_useropt=no ;;
1127
 
 
1128
 
  --x)
1129
 
    # Obsolete; use --with-x.
1130
 
    with_x=yes ;;
1131
 
 
1132
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133
 
  | --x-incl | --x-inc | --x-in | --x-i)
1134
 
    ac_prev=x_includes ;;
1135
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137
 
    x_includes=$ac_optarg ;;
1138
 
 
1139
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141
 
    ac_prev=x_libraries ;;
1142
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144
 
    x_libraries=$ac_optarg ;;
1145
 
 
1146
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1147
 
Try \`$0 --help' for more information"
1148
 
    ;;
1149
 
 
1150
 
  *=*)
1151
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152
 
    # Reject names that are not valid shell variable names.
1153
 
    case $ac_envvar in #(
1154
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1155
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1156
 
    esac
1157
 
    eval $ac_envvar=\$ac_optarg
1158
 
    export $ac_envvar ;;
1159
 
 
1160
 
  *)
1161
 
    # FIXME: should be removed in autoconf 3.0.
1162
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1166
 
    ;;
1167
 
 
1168
 
  esac
1169
 
done
1170
 
 
1171
 
if test -n "$ac_prev"; then
1172
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173
 
  as_fn_error $? "missing argument to $ac_option"
1174
 
fi
1175
 
 
1176
 
if test -n "$ac_unrecognized_opts"; then
1177
 
  case $enable_option_checking in
1178
 
    no) ;;
1179
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1180
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181
 
  esac
1182
 
fi
1183
 
 
1184
 
# Check all directory arguments for consistency.
1185
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1187
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188
 
                libdir localedir mandir
1189
 
do
1190
 
  eval ac_val=\$$ac_var
1191
 
  # Remove trailing slashes.
1192
 
  case $ac_val in
1193
 
    */ )
1194
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195
 
      eval $ac_var=\$ac_val;;
1196
 
  esac
1197
 
  # Be sure to have absolute directory names.
1198
 
  case $ac_val in
1199
 
    [\\/$]* | ?:[\\/]* )  continue;;
1200
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1201
 
  esac
1202
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1203
 
done
1204
 
 
1205
 
# There might be people who depend on the old broken behavior: `$host'
1206
 
# used to hold the argument of --host etc.
1207
 
# FIXME: To remove some day.
1208
 
build=$build_alias
1209
 
host=$host_alias
1210
 
target=$target_alias
1211
 
 
1212
 
# FIXME: To remove some day.
1213
 
if test "x$host_alias" != x; then
1214
 
  if test "x$build_alias" = x; then
1215
 
    cross_compiling=maybe
1216
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1217
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1218
 
  elif test "x$build_alias" != "x$host_alias"; then
1219
 
    cross_compiling=yes
1220
 
  fi
1221
 
fi
1222
 
 
1223
 
ac_tool_prefix=
1224
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1225
 
 
1226
 
test "$silent" = yes && exec 6>/dev/null
1227
 
 
1228
 
 
1229
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1230
 
ac_ls_di=`ls -di .` &&
1231
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1232
 
  as_fn_error $? "working directory cannot be determined"
1233
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1234
 
  as_fn_error $? "pwd does not report name of working directory"
1235
 
 
1236
 
 
1237
 
# Find the source files, if location was not specified.
1238
 
if test -z "$srcdir"; then
1239
 
  ac_srcdir_defaulted=yes
1240
 
  # Try the directory containing this script, then the parent directory.
1241
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1242
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1244
 
         X"$as_myself" : 'X\(//\)$' \| \
1245
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246
 
$as_echo X"$as_myself" |
1247
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1248
 
            s//\1/
1249
 
            q
1250
 
          }
1251
 
          /^X\(\/\/\)[^/].*/{
1252
 
            s//\1/
1253
 
            q
1254
 
          }
1255
 
          /^X\(\/\/\)$/{
1256
 
            s//\1/
1257
 
            q
1258
 
          }
1259
 
          /^X\(\/\).*/{
1260
 
            s//\1/
1261
 
            q
1262
 
          }
1263
 
          s/.*/./; q'`
1264
 
  srcdir=$ac_confdir
1265
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1266
 
    srcdir=..
1267
 
  fi
1268
 
else
1269
 
  ac_srcdir_defaulted=no
1270
 
fi
1271
 
if test ! -r "$srcdir/$ac_unique_file"; then
1272
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1274
 
fi
1275
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276
 
ac_abs_confdir=`(
1277
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1278
 
        pwd)`
1279
 
# When building in place, set srcdir=.
1280
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1281
 
  srcdir=.
1282
 
fi
1283
 
# Remove unnecessary trailing slashes from srcdir.
1284
 
# Double slashes in file names in object file debugging info
1285
 
# mess up M-x gdb in Emacs.
1286
 
case $srcdir in
1287
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288
 
esac
1289
 
for ac_var in $ac_precious_vars; do
1290
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1291
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1292
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1293
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294
 
done
1295
 
 
1296
 
#
1297
 
# Report the --help message.
1298
 
#
1299
 
if test "$ac_init_help" = "long"; then
1300
 
  # Omit some internal or obsolete options to make the list less imposing.
1301
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1302
 
  cat <<_ACEOF
1303
 
\`configure' configures arpack 96 to adapt to many kinds of systems.
1304
 
 
1305
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1306
 
 
1307
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1309
 
 
1310
 
Defaults for the options are specified in brackets.
1311
 
 
1312
 
Configuration:
1313
 
  -h, --help              display this help and exit
1314
 
      --help=short        display options specific to this package
1315
 
      --help=recursive    display the short help of all the included packages
1316
 
  -V, --version           display version information and exit
1317
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1318
 
      --cache-file=FILE   cache test results in FILE [disabled]
1319
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1320
 
  -n, --no-create         do not create output files
1321
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1322
 
 
1323
 
Installation directories:
1324
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1325
 
                          @<:@@S|@ac_default_prefix@:>@
1326
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1327
 
                          @<:@PREFIX@:>@
1328
 
 
1329
 
By default, \`make install' will install all the files in
1330
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1331
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332
 
for instance \`--prefix=\$HOME'.
1333
 
 
1334
 
For better control, use the options below.
1335
 
 
1336
 
Fine tuning of the installation directories:
1337
 
  --bindir=DIR            user executables [EPREFIX/bin]
1338
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1339
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1340
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1341
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1342
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1343
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1344
 
  --includedir=DIR        C header files [PREFIX/include]
1345
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1346
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1347
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1348
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1349
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1350
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1351
 
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/arpack@:>@
1352
 
  --htmldir=DIR           html documentation [DOCDIR]
1353
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1354
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1355
 
  --psdir=DIR             ps documentation [DOCDIR]
1356
 
_ACEOF
1357
 
 
1358
 
  cat <<\_ACEOF
1359
 
 
1360
 
Program names:
1361
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1362
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1363
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1364
 
 
1365
 
System types:
1366
 
  --build=BUILD     configure for building on BUILD [guessed]
1367
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1368
 
_ACEOF
1369
 
fi
1370
 
 
1371
 
if test -n "$ac_init_help"; then
1372
 
  case $ac_init_help in
1373
 
     short | recursive ) echo "Configuration of arpack 96:";;
1374
 
   esac
1375
 
  cat <<\_ACEOF
1376
 
 
1377
 
Optional Features:
1378
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1379
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1380
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1381
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1382
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1383
 
  --enable-fast-install@<:@=PKGS@:>@ 
1384
 
                          optimize for fast installation @<:@default=yes@:>@
1385
 
  --disable-dependency-tracking  speeds up one-time build
1386
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1387
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1388
 
  --enable-mpi            build parallel version of arpack with MPI
1389
 
 
1390
 
Optional Packages:
1391
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1392
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1393
 
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1394
 
                          both@:>@
1395
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1396
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1397
 
                        (or the compiler's sysroot if not specified).
1398
 
  --with-blas=<lib>       use BLAS library <lib>
1399
 
  --with-lapack=<lib>     use LAPACK library <lib>
1400
 
 
1401
 
Some influential environment variables:
1402
 
  F77         Fortran 77 compiler command
1403
 
  FFLAGS      Fortran 77 compiler flags
1404
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1405
 
              nonstandard directory <lib dir>
1406
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1407
 
  CC          C compiler command
1408
 
  CFLAGS      C compiler flags
1409
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1410
 
              you have headers in a nonstandard directory <include dir>
1411
 
  CPP         C preprocessor
1412
 
  MPIF77      MPI Fortran 77 compiler command
1413
 
 
1414
 
Use these variables to override the choices made by `configure' or to help
1415
 
it to find libraries and programs with nonstandard names/locations.
1416
 
 
1417
 
Report bugs to <arpack@caam.rice.edu>.
1418
 
_ACEOF
1419
 
ac_status=$?
1420
 
fi
1421
 
 
1422
 
if test "$ac_init_help" = "recursive"; then
1423
 
  # If there are subdirs, report their specific --help.
1424
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425
 
    test -d "$ac_dir" ||
1426
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427
 
      continue
1428
 
    ac_builddir=.
1429
 
 
1430
 
case "$ac_dir" in
1431
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432
 
*)
1433
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434
 
  # A ".." for each directory in $ac_dir_suffix.
1435
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436
 
  case $ac_top_builddir_sub in
1437
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439
 
  esac ;;
1440
 
esac
1441
 
ac_abs_top_builddir=$ac_pwd
1442
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443
 
# for backward compatibility:
1444
 
ac_top_builddir=$ac_top_build_prefix
1445
 
 
1446
 
case $srcdir in
1447
 
  .)  # We are building in place.
1448
 
    ac_srcdir=.
1449
 
    ac_top_srcdir=$ac_top_builddir_sub
1450
 
    ac_abs_top_srcdir=$ac_pwd ;;
1451
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1452
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1453
 
    ac_top_srcdir=$srcdir
1454
 
    ac_abs_top_srcdir=$srcdir ;;
1455
 
  *) # Relative name.
1456
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1458
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459
 
esac
1460
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461
 
 
1462
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1463
 
    # Check for guested configure.
1464
 
    if test -f "$ac_srcdir/configure.gnu"; then
1465
 
      echo &&
1466
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467
 
    elif test -f "$ac_srcdir/configure"; then
1468
 
      echo &&
1469
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1470
 
    else
1471
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472
 
    fi || ac_status=$?
1473
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1474
 
  done
1475
 
fi
1476
 
 
1477
 
test -n "$ac_init_help" && exit $ac_status
1478
 
if $ac_init_version; then
1479
 
  cat <<\_ACEOF
1480
 
arpack configure 96
1481
 
generated by GNU Autoconf 2.68
1482
 
 
1483
 
Copyright (C) 2010 Free Software Foundation, Inc.
1484
 
This configure script is free software; the Free Software Foundation
1485
 
gives unlimited permission to copy, distribute and modify it.
1486
 
_ACEOF
1487
 
  exit
1488
 
fi
1489
 
 
1490
 
## ------------------------ ##
1491
 
## Autoconf initialization. ##
1492
 
## ------------------------ ##
1493
 
 
1494
 
@%:@ ac_fn_f77_try_compile LINENO
1495
 
@%:@ ----------------------------
1496
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1497
 
ac_fn_f77_try_compile ()
1498
 
{
1499
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500
 
  rm -f conftest.$ac_objext
1501
 
  if { { ac_try="$ac_compile"
1502
 
case "(($ac_try" in
1503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504
 
  *) ac_try_echo=$ac_try;;
1505
 
esac
1506
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507
 
$as_echo "$ac_try_echo"; } >&5
1508
 
  (eval "$ac_compile") 2>conftest.err
1509
 
  ac_status=$?
1510
 
  if test -s conftest.err; then
1511
 
    grep -v '^ *+' conftest.err >conftest.er1
1512
 
    cat conftest.er1 >&5
1513
 
    mv -f conftest.er1 conftest.err
1514
 
  fi
1515
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516
 
  test $ac_status = 0; } && {
1517
 
         test -z "$ac_f77_werror_flag" ||
1518
 
         test ! -s conftest.err
1519
 
       } && test -s conftest.$ac_objext; then :
1520
 
  ac_retval=0
1521
 
else
1522
 
  $as_echo "$as_me: failed program was:" >&5
1523
 
sed 's/^/| /' conftest.$ac_ext >&5
1524
 
 
1525
 
        ac_retval=1
1526
 
fi
1527
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528
 
  as_fn_set_status $ac_retval
1529
 
 
1530
 
} @%:@ ac_fn_f77_try_compile
1531
 
 
1532
 
@%:@ ac_fn_c_try_compile LINENO
1533
 
@%:@ --------------------------
1534
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1535
 
ac_fn_c_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_c_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_c_try_compile
1569
 
 
1570
 
@%:@ ac_fn_c_try_link LINENO
1571
 
@%:@ -----------------------
1572
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1573
 
ac_fn_c_try_link ()
1574
 
{
1575
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1577
 
  if { { ac_try="$ac_link"
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_link") 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_exeext && {
1596
 
         test "$cross_compiling" = yes ||
1597
 
         $as_test_x conftest$ac_exeext
1598
 
       }; then :
1599
 
  ac_retval=0
1600
 
else
1601
 
  $as_echo "$as_me: failed program was:" >&5
1602
 
sed 's/^/| /' conftest.$ac_ext >&5
1603
 
 
1604
 
        ac_retval=1
1605
 
fi
1606
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1607
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1608
 
  # interfere with the next link command; also delete a directory that is
1609
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1610
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1611
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612
 
  as_fn_set_status $ac_retval
1613
 
 
1614
 
} @%:@ ac_fn_c_try_link
1615
 
 
1616
 
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1617
 
@%:@ -------------------------------------------------------
1618
 
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1619
 
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1620
 
ac_fn_c_check_header_compile ()
1621
 
{
1622
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624
 
$as_echo_n "checking for $2... " >&6; }
1625
 
if eval \${$3+:} false; then :
1626
 
  $as_echo_n "(cached) " >&6
1627
 
else
1628
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629
 
/* end confdefs.h.  */
1630
 
$4
1631
 
@%:@include <$2>
1632
 
_ACEOF
1633
 
if ac_fn_c_try_compile "$LINENO"; then :
1634
 
  eval "$3=yes"
1635
 
else
1636
 
  eval "$3=no"
1637
 
fi
1638
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639
 
fi
1640
 
eval ac_res=\$$3
1641
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642
 
$as_echo "$ac_res" >&6; }
1643
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644
 
 
1645
 
} @%:@ ac_fn_c_check_header_compile
1646
 
 
1647
 
@%:@ ac_fn_c_try_cpp LINENO
1648
 
@%:@ ----------------------
1649
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1650
 
ac_fn_c_try_cpp ()
1651
 
{
1652
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1654
 
case "(($ac_try" in
1655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656
 
  *) ac_try_echo=$ac_try;;
1657
 
esac
1658
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659
 
$as_echo "$ac_try_echo"; } >&5
1660
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1661
 
  ac_status=$?
1662
 
  if test -s conftest.err; then
1663
 
    grep -v '^ *+' conftest.err >conftest.er1
1664
 
    cat conftest.er1 >&5
1665
 
    mv -f conftest.er1 conftest.err
1666
 
  fi
1667
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668
 
  test $ac_status = 0; } > conftest.i && {
1669
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670
 
         test ! -s conftest.err
1671
 
       }; then :
1672
 
  ac_retval=0
1673
 
else
1674
 
  $as_echo "$as_me: failed program was:" >&5
1675
 
sed 's/^/| /' conftest.$ac_ext >&5
1676
 
 
1677
 
    ac_retval=1
1678
 
fi
1679
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680
 
  as_fn_set_status $ac_retval
1681
 
 
1682
 
} @%:@ ac_fn_c_try_cpp
1683
 
 
1684
 
@%:@ ac_fn_c_try_run LINENO
1685
 
@%:@ ----------------------
1686
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1687
 
@%:@ that executables *can* be run.
1688
 
ac_fn_c_try_run ()
1689
 
{
1690
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691
 
  if { { ac_try="$ac_link"
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_link") 2>&5
1699
 
  ac_status=$?
1700
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1702
 
  { { case "(($ac_try" in
1703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704
 
  *) ac_try_echo=$ac_try;;
1705
 
esac
1706
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707
 
$as_echo "$ac_try_echo"; } >&5
1708
 
  (eval "$ac_try") 2>&5
1709
 
  ac_status=$?
1710
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711
 
  test $ac_status = 0; }; }; then :
1712
 
  ac_retval=0
1713
 
else
1714
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1715
 
       $as_echo "$as_me: failed program was:" >&5
1716
 
sed 's/^/| /' conftest.$ac_ext >&5
1717
 
 
1718
 
       ac_retval=$ac_status
1719
 
fi
1720
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
 
  as_fn_set_status $ac_retval
1723
 
 
1724
 
} @%:@ ac_fn_c_try_run
1725
 
 
1726
 
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1727
 
@%:@ ----------------------------------
1728
 
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1729
 
ac_fn_c_check_func ()
1730
 
{
1731
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733
 
$as_echo_n "checking for $2... " >&6; }
1734
 
if eval \${$3+:} false; then :
1735
 
  $as_echo_n "(cached) " >&6
1736
 
else
1737
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738
 
/* end confdefs.h.  */
1739
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1740
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1741
 
#define $2 innocuous_$2
1742
 
 
1743
 
/* System header to define __stub macros and hopefully few prototypes,
1744
 
    which can conflict with char $2 (); below.
1745
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1746
 
    <limits.h> exists even on freestanding compilers.  */
1747
 
 
1748
 
#ifdef __STDC__
1749
 
# include <limits.h>
1750
 
#else
1751
 
# include <assert.h>
1752
 
#endif
1753
 
 
1754
 
#undef $2
1755
 
 
1756
 
/* Override any GCC internal prototype to avoid an error.
1757
 
   Use char because int might match the return type of a GCC
1758
 
   builtin and then its argument prototype would still apply.  */
1759
 
#ifdef __cplusplus
1760
 
extern "C"
1761
 
#endif
1762
 
char $2 ();
1763
 
/* The GNU C library defines this for functions which it implements
1764
 
    to always fail with ENOSYS.  Some functions are actually named
1765
 
    something starting with __ and the normal name is an alias.  */
1766
 
#if defined __stub_$2 || defined __stub___$2
1767
 
choke me
1768
 
#endif
1769
 
 
1770
 
int
1771
 
main ()
1772
 
{
1773
 
return $2 ();
1774
 
  ;
1775
 
  return 0;
1776
 
}
1777
 
_ACEOF
1778
 
if ac_fn_c_try_link "$LINENO"; then :
1779
 
  eval "$3=yes"
1780
 
else
1781
 
  eval "$3=no"
1782
 
fi
1783
 
rm -f core conftest.err conftest.$ac_objext \
1784
 
    conftest$ac_exeext conftest.$ac_ext
1785
 
fi
1786
 
eval ac_res=\$$3
1787
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788
 
$as_echo "$ac_res" >&6; }
1789
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790
 
 
1791
 
} @%:@ ac_fn_c_check_func
1792
 
 
1793
 
@%:@ ac_fn_f77_try_link LINENO
1794
 
@%:@ -------------------------
1795
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1796
 
ac_fn_f77_try_link ()
1797
 
{
1798
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1800
 
  if { { ac_try="$ac_link"
1801
 
case "(($ac_try" in
1802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1803
 
  *) ac_try_echo=$ac_try;;
1804
 
esac
1805
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806
 
$as_echo "$ac_try_echo"; } >&5
1807
 
  (eval "$ac_link") 2>conftest.err
1808
 
  ac_status=$?
1809
 
  if test -s conftest.err; then
1810
 
    grep -v '^ *+' conftest.err >conftest.er1
1811
 
    cat conftest.er1 >&5
1812
 
    mv -f conftest.er1 conftest.err
1813
 
  fi
1814
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815
 
  test $ac_status = 0; } && {
1816
 
         test -z "$ac_f77_werror_flag" ||
1817
 
         test ! -s conftest.err
1818
 
       } && test -s conftest$ac_exeext && {
1819
 
         test "$cross_compiling" = yes ||
1820
 
         $as_test_x conftest$ac_exeext
1821
 
       }; then :
1822
 
  ac_retval=0
1823
 
else
1824
 
  $as_echo "$as_me: failed program was:" >&5
1825
 
sed 's/^/| /' conftest.$ac_ext >&5
1826
 
 
1827
 
        ac_retval=1
1828
 
fi
1829
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1830
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1831
 
  # interfere with the next link command; also delete a directory that is
1832
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1833
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1834
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835
 
  as_fn_set_status $ac_retval
1836
 
 
1837
 
} @%:@ ac_fn_f77_try_link
1838
 
cat >config.log <<_ACEOF
1839
 
This file contains any messages produced by compilers while
1840
 
running configure, to aid debugging if configure makes a mistake.
1841
 
 
1842
 
It was created by arpack $as_me 96, which was
1843
 
generated by GNU Autoconf 2.68.  Invocation command line was
1844
 
 
1845
 
  $ $0 $@
1846
 
 
1847
 
_ACEOF
1848
 
exec 5>>config.log
1849
 
{
1850
 
cat <<_ASUNAME
1851
 
## --------- ##
1852
 
## Platform. ##
1853
 
## --------- ##
1854
 
 
1855
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1856
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1857
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1858
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1859
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1860
 
 
1861
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1862
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1863
 
 
1864
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1865
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1866
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1867
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1868
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1869
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1870
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1871
 
 
1872
 
_ASUNAME
1873
 
 
1874
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875
 
for as_dir in $PATH
1876
 
do
1877
 
  IFS=$as_save_IFS
1878
 
  test -z "$as_dir" && as_dir=.
1879
 
    $as_echo "PATH: $as_dir"
1880
 
  done
1881
 
IFS=$as_save_IFS
1882
 
 
1883
 
} >&5
1884
 
 
1885
 
cat >&5 <<_ACEOF
1886
 
 
1887
 
 
1888
 
## ----------- ##
1889
 
## Core tests. ##
1890
 
## ----------- ##
1891
 
 
1892
 
_ACEOF
1893
 
 
1894
 
 
1895
 
# Keep a trace of the command line.
1896
 
# Strip out --no-create and --no-recursion so they do not pile up.
1897
 
# Strip out --silent because we don't want to record it for future runs.
1898
 
# Also quote any args containing shell meta-characters.
1899
 
# Make two passes to allow for proper duplicate-argument suppression.
1900
 
ac_configure_args=
1901
 
ac_configure_args0=
1902
 
ac_configure_args1=
1903
 
ac_must_keep_next=false
1904
 
for ac_pass in 1 2
1905
 
do
1906
 
  for ac_arg
1907
 
  do
1908
 
    case $ac_arg in
1909
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1910
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1911
 
    | -silent | --silent | --silen | --sile | --sil)
1912
 
      continue ;;
1913
 
    *\'*)
1914
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1915
 
    esac
1916
 
    case $ac_pass in
1917
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1918
 
    2)
1919
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
1920
 
      if test $ac_must_keep_next = true; then
1921
 
        ac_must_keep_next=false # Got value, back to normal.
1922
 
      else
1923
 
        case $ac_arg in
1924
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1925
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1926
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1927
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1928
 
            case "$ac_configure_args0 " in
1929
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1930
 
            esac
1931
 
            ;;
1932
 
          -* ) ac_must_keep_next=true ;;
1933
 
        esac
1934
 
      fi
1935
 
      as_fn_append ac_configure_args " '$ac_arg'"
1936
 
      ;;
1937
 
    esac
1938
 
  done
1939
 
done
1940
 
{ ac_configure_args0=; unset ac_configure_args0;}
1941
 
{ ac_configure_args1=; unset ac_configure_args1;}
1942
 
 
1943
 
# When interrupted or exit'd, cleanup temporary files, and complete
1944
 
# config.log.  We remove comments because anyway the quotes in there
1945
 
# would cause problems or look ugly.
1946
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1947
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1948
 
trap 'exit_status=$?
1949
 
  # Save into config.log some information that might help in debugging.
1950
 
  {
1951
 
    echo
1952
 
 
1953
 
    $as_echo "## ---------------- ##
1954
 
## Cache variables. ##
1955
 
## ---------------- ##"
1956
 
    echo
1957
 
    # The following way of writing the cache mishandles newlines in values,
1958
 
(
1959
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1960
 
    eval ac_val=\$$ac_var
1961
 
    case $ac_val in #(
1962
 
    *${as_nl}*)
1963
 
      case $ac_var in #(
1964
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1965
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1966
 
      esac
1967
 
      case $ac_var in #(
1968
 
      _ | IFS | as_nl) ;; #(
1969
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1970
 
      *) { eval $ac_var=; unset $ac_var;} ;;
1971
 
      esac ;;
1972
 
    esac
1973
 
  done
1974
 
  (set) 2>&1 |
1975
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1976
 
    *${as_nl}ac_space=\ *)
1977
 
      sed -n \
1978
 
        "s/'\''/'\''\\\\'\'''\''/g;
1979
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1980
 
      ;; #(
1981
 
    *)
1982
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1983
 
      ;;
1984
 
    esac |
1985
 
    sort
1986
 
)
1987
 
    echo
1988
 
 
1989
 
    $as_echo "## ----------------- ##
1990
 
## Output variables. ##
1991
 
## ----------------- ##"
1992
 
    echo
1993
 
    for ac_var in $ac_subst_vars
1994
 
    do
1995
 
      eval ac_val=\$$ac_var
1996
 
      case $ac_val in
1997
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998
 
      esac
1999
 
      $as_echo "$ac_var='\''$ac_val'\''"
2000
 
    done | sort
2001
 
    echo
2002
 
 
2003
 
    if test -n "$ac_subst_files"; then
2004
 
      $as_echo "## ------------------- ##
2005
 
## File substitutions. ##
2006
 
## ------------------- ##"
2007
 
      echo
2008
 
      for ac_var in $ac_subst_files
2009
 
      do
2010
 
        eval ac_val=\$$ac_var
2011
 
        case $ac_val in
2012
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2013
 
        esac
2014
 
        $as_echo "$ac_var='\''$ac_val'\''"
2015
 
      done | sort
2016
 
      echo
2017
 
    fi
2018
 
 
2019
 
    if test -s confdefs.h; then
2020
 
      $as_echo "## ----------- ##
2021
 
## confdefs.h. ##
2022
 
## ----------- ##"
2023
 
      echo
2024
 
      cat confdefs.h
2025
 
      echo
2026
 
    fi
2027
 
    test "$ac_signal" != 0 &&
2028
 
      $as_echo "$as_me: caught signal $ac_signal"
2029
 
    $as_echo "$as_me: exit $exit_status"
2030
 
  } >&5
2031
 
  rm -f core *.core core.conftest.* &&
2032
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2033
 
    exit $exit_status
2034
 
' 0
2035
 
for ac_signal in 1 2 13 15; do
2036
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2037
 
done
2038
 
ac_signal=0
2039
 
 
2040
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2041
 
rm -f -r conftest* confdefs.h
2042
 
 
2043
 
$as_echo "/* confdefs.h */" > confdefs.h
2044
 
 
2045
 
# Predefined preprocessor variables.
2046
 
 
2047
 
cat >>confdefs.h <<_ACEOF
2048
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2049
 
_ACEOF
2050
 
 
2051
 
cat >>confdefs.h <<_ACEOF
2052
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2053
 
_ACEOF
2054
 
 
2055
 
cat >>confdefs.h <<_ACEOF
2056
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2057
 
_ACEOF
2058
 
 
2059
 
cat >>confdefs.h <<_ACEOF
2060
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2061
 
_ACEOF
2062
 
 
2063
 
cat >>confdefs.h <<_ACEOF
2064
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2065
 
_ACEOF
2066
 
 
2067
 
cat >>confdefs.h <<_ACEOF
2068
 
@%:@define PACKAGE_URL "$PACKAGE_URL"
2069
 
_ACEOF
2070
 
 
2071
 
 
2072
 
# Let the site file select an alternate cache file if it wants to.
2073
 
# Prefer an explicitly selected file to automatically selected ones.
2074
 
ac_site_file1=NONE
2075
 
ac_site_file2=NONE
2076
 
if test -n "$CONFIG_SITE"; then
2077
 
  # We do not want a PATH search for config.site.
2078
 
  case $CONFIG_SITE in @%:@((
2079
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2080
 
    */*) ac_site_file1=$CONFIG_SITE;;
2081
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2082
 
  esac
2083
 
elif test "x$prefix" != xNONE; then
2084
 
  ac_site_file1=$prefix/share/config.site
2085
 
  ac_site_file2=$prefix/etc/config.site
2086
 
else
2087
 
  ac_site_file1=$ac_default_prefix/share/config.site
2088
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2089
 
fi
2090
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2091
 
do
2092
 
  test "x$ac_site_file" = xNONE && continue
2093
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2094
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2095
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2096
 
    sed 's/^/| /' "$ac_site_file" >&5
2097
 
    . "$ac_site_file" \
2098
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100
 
as_fn_error $? "failed to load site script $ac_site_file
2101
 
See \`config.log' for more details" "$LINENO" 5; }
2102
 
  fi
2103
 
done
2104
 
 
2105
 
if test -r "$cache_file"; then
2106
 
  # Some versions of bash will fail to source /dev/null (special files
2107
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2108
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2109
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2110
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2111
 
    case $cache_file in
2112
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2113
 
      *)                      . "./$cache_file";;
2114
 
    esac
2115
 
  fi
2116
 
else
2117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2118
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2119
 
  >$cache_file
2120
 
fi
2121
 
 
2122
 
# Check that the precious variables saved in the cache have kept the same
2123
 
# value.
2124
 
ac_cache_corrupted=false
2125
 
for ac_var in $ac_precious_vars; do
2126
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2127
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2128
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2129
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2130
 
  case $ac_old_set,$ac_new_set in
2131
 
    set,)
2132
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2133
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2134
 
      ac_cache_corrupted=: ;;
2135
 
    ,set)
2136
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2137
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2138
 
      ac_cache_corrupted=: ;;
2139
 
    ,);;
2140
 
    *)
2141
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2142
 
        # differences in whitespace do not lead to failure.
2143
 
        ac_old_val_w=`echo x $ac_old_val`
2144
 
        ac_new_val_w=`echo x $ac_new_val`
2145
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2146
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2147
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2148
 
          ac_cache_corrupted=:
2149
 
        else
2150
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2151
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2152
 
          eval $ac_var=\$ac_old_val
2153
 
        fi
2154
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2155
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2156
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2157
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2158
 
      fi;;
2159
 
  esac
2160
 
  # Pass precious variables to config.status.
2161
 
  if test "$ac_new_set" = set; then
2162
 
    case $ac_new_val in
2163
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2164
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2165
 
    esac
2166
 
    case " $ac_configure_args " in
2167
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2168
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2169
 
    esac
2170
 
  fi
2171
 
done
2172
 
if $ac_cache_corrupted; then
2173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2174
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2175
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2176
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2177
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2178
 
fi
2179
 
## -------------------- ##
2180
 
## Main body of script. ##
2181
 
## -------------------- ##
2182
 
 
2183
 
ac_ext=c
2184
 
ac_cpp='$CPP $CPPFLAGS'
2185
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2186
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2187
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2188
 
 
2189
 
 
2190
 
am__api_version='1.11'
2191
 
 
2192
 
ac_aux_dir=
2193
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2194
 
  if test -f "$ac_dir/install-sh"; then
2195
 
    ac_aux_dir=$ac_dir
2196
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2197
 
    break
2198
 
  elif test -f "$ac_dir/install.sh"; then
2199
 
    ac_aux_dir=$ac_dir
2200
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2201
 
    break
2202
 
  elif test -f "$ac_dir/shtool"; then
2203
 
    ac_aux_dir=$ac_dir
2204
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2205
 
    break
2206
 
  fi
2207
 
done
2208
 
if test -z "$ac_aux_dir"; then
2209
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2210
 
fi
2211
 
 
2212
 
# These three variables are undocumented and unsupported,
2213
 
# and are intended to be withdrawn in a future Autoconf release.
2214
 
# They can cause serious problems if a builder's source tree is in a directory
2215
 
# whose full name contains unusual characters.
2216
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2217
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2218
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2219
 
 
2220
 
 
2221
 
# Find a good install program.  We prefer a C program (faster),
2222
 
# so one script is as good as another.  But avoid the broken or
2223
 
# incompatible versions:
2224
 
# SysV /etc/install, /usr/sbin/install
2225
 
# SunOS /usr/etc/install
2226
 
# IRIX /sbin/install
2227
 
# AIX /bin/install
2228
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2229
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2230
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2231
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2232
 
# OS/2's system install, which has a completely different semantic
2233
 
# ./install, which can be erroneously created by make from ./install.sh.
2234
 
# Reject install programs that cannot install multiple files.
2235
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2236
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2237
 
if test -z "$INSTALL"; then
2238
 
if ${ac_cv_path_install+:} false; then :
2239
 
  $as_echo_n "(cached) " >&6
2240
 
else
2241
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242
 
for as_dir in $PATH
2243
 
do
2244
 
  IFS=$as_save_IFS
2245
 
  test -z "$as_dir" && as_dir=.
2246
 
    # Account for people who put trailing slashes in PATH elements.
2247
 
case $as_dir/ in @%:@((
2248
 
  ./ | .// | /[cC]/* | \
2249
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2250
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2251
 
  /usr/ucb/* ) ;;
2252
 
  *)
2253
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2254
 
    # Don't use installbsd from OSF since it installs stuff as root
2255
 
    # by default.
2256
 
    for ac_prog in ginstall scoinst install; do
2257
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2258
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2259
 
          if test $ac_prog = install &&
2260
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2261
 
            # AIX install.  It has an incompatible calling convention.
2262
 
            :
2263
 
          elif test $ac_prog = install &&
2264
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2265
 
            # program-specific install script used by HP pwplus--don't use.
2266
 
            :
2267
 
          else
2268
 
            rm -rf conftest.one conftest.two conftest.dir
2269
 
            echo one > conftest.one
2270
 
            echo two > conftest.two
2271
 
            mkdir conftest.dir
2272
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2273
 
              test -s conftest.one && test -s conftest.two &&
2274
 
              test -s conftest.dir/conftest.one &&
2275
 
              test -s conftest.dir/conftest.two
2276
 
            then
2277
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2278
 
              break 3
2279
 
            fi
2280
 
          fi
2281
 
        fi
2282
 
      done
2283
 
    done
2284
 
    ;;
2285
 
esac
2286
 
 
2287
 
  done
2288
 
IFS=$as_save_IFS
2289
 
 
2290
 
rm -rf conftest.one conftest.two conftest.dir
2291
 
 
2292
 
fi
2293
 
  if test "${ac_cv_path_install+set}" = set; then
2294
 
    INSTALL=$ac_cv_path_install
2295
 
  else
2296
 
    # As a last resort, use the slow shell script.  Don't cache a
2297
 
    # value for INSTALL within a source directory, because that will
2298
 
    # break other packages using the cache if that directory is
2299
 
    # removed, or if the value is a relative name.
2300
 
    INSTALL=$ac_install_sh
2301
 
  fi
2302
 
fi
2303
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2304
 
$as_echo "$INSTALL" >&6; }
2305
 
 
2306
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2307
 
# It thinks the first close brace ends the variable substitution.
2308
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2309
 
 
2310
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2311
 
 
2312
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2313
 
 
2314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2315
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2316
 
# Just in case
2317
 
sleep 1
2318
 
echo timestamp > conftest.file
2319
 
# Reject unsafe characters in $srcdir or the absolute working directory
2320
 
# name.  Accept space and tab only in the latter.
2321
 
am_lf='
2322
 
'
2323
 
case `pwd` in
2324
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2325
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2326
 
esac
2327
 
case $srcdir in
2328
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2329
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2330
 
esac
2331
 
 
2332
 
# Do `set' in a subshell so we don't clobber the current shell's
2333
 
# arguments.  Must try -L first in case configure is actually a
2334
 
# symlink; some systems play weird games with the mod time of symlinks
2335
 
# (eg FreeBSD returns the mod time of the symlink's containing
2336
 
# directory).
2337
 
if (
2338
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2339
 
   if test "$*" = "X"; then
2340
 
      # -L didn't work.
2341
 
      set X `ls -t "$srcdir/configure" conftest.file`
2342
 
   fi
2343
 
   rm -f conftest.file
2344
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2345
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2346
 
 
2347
 
      # If neither matched, then we have a broken ls.  This can happen
2348
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2349
 
      # broken ls alias from the environment.  This has actually
2350
 
      # happened.  Such a system could not be considered "sane".
2351
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2352
 
alias in your environment" "$LINENO" 5
2353
 
   fi
2354
 
 
2355
 
   test "$2" = conftest.file
2356
 
   )
2357
 
then
2358
 
   # Ok.
2359
 
   :
2360
 
else
2361
 
   as_fn_error $? "newly created file is older than distributed files!
2362
 
Check your system clock" "$LINENO" 5
2363
 
fi
2364
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2365
 
$as_echo "yes" >&6; }
2366
 
test "$program_prefix" != NONE &&
2367
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2368
 
# Use a double $ so make ignores it.
2369
 
test "$program_suffix" != NONE &&
2370
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2371
 
# Double any \ or $.
2372
 
# By default was `s,x,x', remove it if useless.
2373
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2374
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2375
 
 
2376
 
# expand $ac_aux_dir to an absolute path
2377
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2378
 
 
2379
 
if test x"${MISSING+set}" != xset; then
2380
 
  case $am_aux_dir in
2381
 
  *\ * | *\     *)
2382
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2383
 
  *)
2384
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2385
 
  esac
2386
 
fi
2387
 
# Use eval to expand $SHELL
2388
 
if eval "$MISSING --run true"; then
2389
 
  am_missing_run="$MISSING --run "
2390
 
else
2391
 
  am_missing_run=
2392
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2393
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2394
 
fi
2395
 
 
2396
 
if test x"${install_sh}" != xset; then
2397
 
  case $am_aux_dir in
2398
 
  *\ * | *\     *)
2399
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2400
 
  *)
2401
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2402
 
  esac
2403
 
fi
2404
 
 
2405
 
# Installed binaries are usually stripped using `strip' when the user
2406
 
# run `make install-strip'.  However `strip' might not be the right
2407
 
# tool to use in cross-compilation environments, therefore Automake
2408
 
# will honor the `STRIP' environment variable to overrule this program.
2409
 
if test "$cross_compiling" != no; then
2410
 
  if test -n "$ac_tool_prefix"; then
2411
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2412
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2413
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414
 
$as_echo_n "checking for $ac_word... " >&6; }
2415
 
if ${ac_cv_prog_STRIP+:} false; then :
2416
 
  $as_echo_n "(cached) " >&6
2417
 
else
2418
 
  if test -n "$STRIP"; then
2419
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2420
 
else
2421
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422
 
for as_dir in $PATH
2423
 
do
2424
 
  IFS=$as_save_IFS
2425
 
  test -z "$as_dir" && as_dir=.
2426
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2427
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2429
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2430
 
    break 2
2431
 
  fi
2432
 
done
2433
 
  done
2434
 
IFS=$as_save_IFS
2435
 
 
2436
 
fi
2437
 
fi
2438
 
STRIP=$ac_cv_prog_STRIP
2439
 
if test -n "$STRIP"; then
2440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2441
 
$as_echo "$STRIP" >&6; }
2442
 
else
2443
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444
 
$as_echo "no" >&6; }
2445
 
fi
2446
 
 
2447
 
 
2448
 
fi
2449
 
if test -z "$ac_cv_prog_STRIP"; then
2450
 
  ac_ct_STRIP=$STRIP
2451
 
  # Extract the first word of "strip", so it can be a program name with args.
2452
 
set dummy strip; ac_word=$2
2453
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454
 
$as_echo_n "checking for $ac_word... " >&6; }
2455
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2456
 
  $as_echo_n "(cached) " >&6
2457
 
else
2458
 
  if test -n "$ac_ct_STRIP"; then
2459
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2460
 
else
2461
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462
 
for as_dir in $PATH
2463
 
do
2464
 
  IFS=$as_save_IFS
2465
 
  test -z "$as_dir" && as_dir=.
2466
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2467
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468
 
    ac_cv_prog_ac_ct_STRIP="strip"
2469
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470
 
    break 2
2471
 
  fi
2472
 
done
2473
 
  done
2474
 
IFS=$as_save_IFS
2475
 
 
2476
 
fi
2477
 
fi
2478
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2479
 
if test -n "$ac_ct_STRIP"; then
2480
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2481
 
$as_echo "$ac_ct_STRIP" >&6; }
2482
 
else
2483
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484
 
$as_echo "no" >&6; }
2485
 
fi
2486
 
 
2487
 
  if test "x$ac_ct_STRIP" = x; then
2488
 
    STRIP=":"
2489
 
  else
2490
 
    case $cross_compiling:$ac_tool_warned in
2491
 
yes:)
2492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2493
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494
 
ac_tool_warned=yes ;;
2495
 
esac
2496
 
    STRIP=$ac_ct_STRIP
2497
 
  fi
2498
 
else
2499
 
  STRIP="$ac_cv_prog_STRIP"
2500
 
fi
2501
 
 
2502
 
fi
2503
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2504
 
 
2505
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2506
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2507
 
if test -z "$MKDIR_P"; then
2508
 
  if ${ac_cv_path_mkdir+:} false; then :
2509
 
  $as_echo_n "(cached) " >&6
2510
 
else
2511
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2513
 
do
2514
 
  IFS=$as_save_IFS
2515
 
  test -z "$as_dir" && as_dir=.
2516
 
    for ac_prog in mkdir gmkdir; do
2517
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2518
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2519
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2520
 
             'mkdir (GNU coreutils) '* | \
2521
 
             'mkdir (coreutils) '* | \
2522
 
             'mkdir (fileutils) '4.1*)
2523
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2524
 
               break 3;;
2525
 
           esac
2526
 
         done
2527
 
       done
2528
 
  done
2529
 
IFS=$as_save_IFS
2530
 
 
2531
 
fi
2532
 
 
2533
 
  test -d ./--version && rmdir ./--version
2534
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2535
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2536
 
  else
2537
 
    # As a last resort, use the slow shell script.  Don't cache a
2538
 
    # value for MKDIR_P within a source directory, because that will
2539
 
    # break other packages using the cache if that directory is
2540
 
    # removed, or if the value is a relative name.
2541
 
    MKDIR_P="$ac_install_sh -d"
2542
 
  fi
2543
 
fi
2544
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2545
 
$as_echo "$MKDIR_P" >&6; }
2546
 
 
2547
 
mkdir_p="$MKDIR_P"
2548
 
case $mkdir_p in
2549
 
  [\\/$]* | ?:[\\/]*) ;;
2550
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2551
 
esac
2552
 
 
2553
 
for ac_prog in gawk mawk nawk awk
2554
 
do
2555
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2556
 
set dummy $ac_prog; ac_word=$2
2557
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558
 
$as_echo_n "checking for $ac_word... " >&6; }
2559
 
if ${ac_cv_prog_AWK+:} false; then :
2560
 
  $as_echo_n "(cached) " >&6
2561
 
else
2562
 
  if test -n "$AWK"; then
2563
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2564
 
else
2565
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566
 
for as_dir in $PATH
2567
 
do
2568
 
  IFS=$as_save_IFS
2569
 
  test -z "$as_dir" && as_dir=.
2570
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2571
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572
 
    ac_cv_prog_AWK="$ac_prog"
2573
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574
 
    break 2
2575
 
  fi
2576
 
done
2577
 
  done
2578
 
IFS=$as_save_IFS
2579
 
 
2580
 
fi
2581
 
fi
2582
 
AWK=$ac_cv_prog_AWK
2583
 
if test -n "$AWK"; then
2584
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2585
 
$as_echo "$AWK" >&6; }
2586
 
else
2587
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588
 
$as_echo "no" >&6; }
2589
 
fi
2590
 
 
2591
 
 
2592
 
  test -n "$AWK" && break
2593
 
done
2594
 
 
2595
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2596
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2597
 
set x ${MAKE-make}
2598
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2599
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2600
 
  $as_echo_n "(cached) " >&6
2601
 
else
2602
 
  cat >conftest.make <<\_ACEOF
2603
 
SHELL = /bin/sh
2604
 
all:
2605
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2606
 
_ACEOF
2607
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2608
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2609
 
  *@@@%%%=?*=@@@%%%*)
2610
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2611
 
  *)
2612
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2613
 
esac
2614
 
rm -f conftest.make
2615
 
fi
2616
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2617
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2618
 
$as_echo "yes" >&6; }
2619
 
  SET_MAKE=
2620
 
else
2621
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622
 
$as_echo "no" >&6; }
2623
 
  SET_MAKE="MAKE=${MAKE-make}"
2624
 
fi
2625
 
 
2626
 
rm -rf .tst 2>/dev/null
2627
 
mkdir .tst 2>/dev/null
2628
 
if test -d .tst; then
2629
 
  am__leading_dot=.
2630
 
else
2631
 
  am__leading_dot=_
2632
 
fi
2633
 
rmdir .tst 2>/dev/null
2634
 
 
2635
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2636
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2637
 
  # is not polluted with repeated "-I."
2638
 
  am__isrc=' -I$(srcdir)'
2639
 
  # test to see if srcdir already configured
2640
 
  if test -f $srcdir/config.status; then
2641
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2642
 
  fi
2643
 
fi
2644
 
 
2645
 
# test whether we have cygpath
2646
 
if test -z "$CYGPATH_W"; then
2647
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2648
 
    CYGPATH_W='cygpath -w'
2649
 
  else
2650
 
    CYGPATH_W=echo
2651
 
  fi
2652
 
fi
2653
 
 
2654
 
 
2655
 
# Define the identity of the package.
2656
 
 PACKAGE='arpack'
2657
 
 VERSION='96'
2658
 
 
2659
 
 
2660
 
cat >>confdefs.h <<_ACEOF
2661
 
@%:@define PACKAGE "$PACKAGE"
2662
 
_ACEOF
2663
 
 
2664
 
 
2665
 
cat >>confdefs.h <<_ACEOF
2666
 
@%:@define VERSION "$VERSION"
2667
 
_ACEOF
2668
 
 
2669
 
# Some tools Automake needs.
2670
 
 
2671
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2672
 
 
2673
 
 
2674
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2675
 
 
2676
 
 
2677
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2678
 
 
2679
 
 
2680
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2681
 
 
2682
 
 
2683
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2684
 
 
2685
 
# We need awk for the "check" target.  The system "awk" is bad on
2686
 
# some platforms.
2687
 
# Always define AMTAR for backward compatibility.
2688
 
 
2689
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2690
 
 
2691
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2692
 
 
2693
 
 
2694
 
 
2695
 
 
2696
 
 
2697
 
 
2698
 
 
2699
 
 
2700
 
ac_ext=f
2701
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
2702
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
2704
 
if test -n "$ac_tool_prefix"; then
2705
 
  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
2706
 
  do
2707
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2708
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2709
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710
 
$as_echo_n "checking for $ac_word... " >&6; }
2711
 
if ${ac_cv_prog_F77+:} false; then :
2712
 
  $as_echo_n "(cached) " >&6
2713
 
else
2714
 
  if test -n "$F77"; then
2715
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
2716
 
else
2717
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718
 
for as_dir in $PATH
2719
 
do
2720
 
  IFS=$as_save_IFS
2721
 
  test -z "$as_dir" && as_dir=.
2722
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2723
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
2725
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726
 
    break 2
2727
 
  fi
2728
 
done
2729
 
  done
2730
 
IFS=$as_save_IFS
2731
 
 
2732
 
fi
2733
 
fi
2734
 
F77=$ac_cv_prog_F77
2735
 
if test -n "$F77"; then
2736
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
2737
 
$as_echo "$F77" >&6; }
2738
 
else
2739
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740
 
$as_echo "no" >&6; }
2741
 
fi
2742
 
 
2743
 
 
2744
 
    test -n "$F77" && break
2745
 
  done
2746
 
fi
2747
 
if test -z "$F77"; then
2748
 
  ac_ct_F77=$F77
2749
 
  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
2750
 
do
2751
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2752
 
set dummy $ac_prog; ac_word=$2
2753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754
 
$as_echo_n "checking for $ac_word... " >&6; }
2755
 
if ${ac_cv_prog_ac_ct_F77+:} false; then :
2756
 
  $as_echo_n "(cached) " >&6
2757
 
else
2758
 
  if test -n "$ac_ct_F77"; then
2759
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
2760
 
else
2761
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762
 
for as_dir in $PATH
2763
 
do
2764
 
  IFS=$as_save_IFS
2765
 
  test -z "$as_dir" && as_dir=.
2766
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2767
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2768
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
2769
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770
 
    break 2
2771
 
  fi
2772
 
done
2773
 
  done
2774
 
IFS=$as_save_IFS
2775
 
 
2776
 
fi
2777
 
fi
2778
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
2779
 
if test -n "$ac_ct_F77"; then
2780
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
2781
 
$as_echo "$ac_ct_F77" >&6; }
2782
 
else
2783
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784
 
$as_echo "no" >&6; }
2785
 
fi
2786
 
 
2787
 
 
2788
 
  test -n "$ac_ct_F77" && break
2789
 
done
2790
 
 
2791
 
  if test "x$ac_ct_F77" = x; then
2792
 
    F77=""
2793
 
  else
2794
 
    case $cross_compiling:$ac_tool_warned in
2795
 
yes:)
2796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2797
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2798
 
ac_tool_warned=yes ;;
2799
 
esac
2800
 
    F77=$ac_ct_F77
2801
 
  fi
2802
 
fi
2803
 
 
2804
 
 
2805
 
# Provide some information about the compiler.
2806
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
2807
 
set X $ac_compile
2808
 
ac_compiler=$2
2809
 
for ac_option in --version -v -V -qversion; do
2810
 
  { { ac_try="$ac_compiler $ac_option >&5"
2811
 
case "(($ac_try" in
2812
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813
 
  *) ac_try_echo=$ac_try;;
2814
 
esac
2815
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816
 
$as_echo "$ac_try_echo"; } >&5
2817
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2818
 
  ac_status=$?
2819
 
  if test -s conftest.err; then
2820
 
    sed '10a\
2821
 
... rest of stderr output deleted ...
2822
 
         10q' conftest.err >conftest.er1
2823
 
    cat conftest.er1 >&5
2824
 
  fi
2825
 
  rm -f conftest.er1 conftest.err
2826
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2827
 
  test $ac_status = 0; }
2828
 
done
2829
 
rm -f a.out
2830
 
 
2831
 
cat > conftest.$ac_ext <<_ACEOF
2832
 
      program main
2833
 
 
2834
 
      end
2835
 
_ACEOF
2836
 
ac_clean_files_save=$ac_clean_files
2837
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2838
 
# Try to create an executable without -o first, disregard a.out.
2839
 
# It will help us diagnose broken compilers, and finding out an intuition
2840
 
# of exeext.
2841
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Fortran 77 compiler works" >&5
2842
 
$as_echo_n "checking whether the Fortran 77 compiler works... " >&6; }
2843
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2844
 
 
2845
 
# The possible output files:
2846
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2847
 
 
2848
 
ac_rmfiles=
2849
 
for ac_file in $ac_files
2850
 
do
2851
 
  case $ac_file in
2852
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2853
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2854
 
  esac
2855
 
done
2856
 
rm -f $ac_rmfiles
2857
 
 
2858
 
if { { ac_try="$ac_link_default"
2859
 
case "(($ac_try" in
2860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861
 
  *) ac_try_echo=$ac_try;;
2862
 
esac
2863
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864
 
$as_echo "$ac_try_echo"; } >&5
2865
 
  (eval "$ac_link_default") 2>&5
2866
 
  ac_status=$?
2867
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2868
 
  test $ac_status = 0; }; then :
2869
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2870
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2871
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2872
 
# so that the user can short-circuit this test for compilers unknown to
2873
 
# Autoconf.
2874
 
for ac_file in $ac_files ''
2875
 
do
2876
 
  test -f "$ac_file" || continue
2877
 
  case $ac_file in
2878
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2879
 
        ;;
2880
 
    [ab].out )
2881
 
        # We found the default executable, but exeext='' is most
2882
 
        # certainly right.
2883
 
        break;;
2884
 
    *.* )
2885
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2886
 
        then :; else
2887
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2888
 
        fi
2889
 
        # We set ac_cv_exeext here because the later test for it is not
2890
 
        # safe: cross compilers may not add the suffix if given an `-o'
2891
 
        # argument, so we may need to know it at that point already.
2892
 
        # Even if this section looks crufty: it has the advantage of
2893
 
        # actually working.
2894
 
        break;;
2895
 
    * )
2896
 
        break;;
2897
 
  esac
2898
 
done
2899
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2900
 
 
2901
 
else
2902
 
  ac_file=''
2903
 
fi
2904
 
if test -z "$ac_file"; then :
2905
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906
 
$as_echo "no" >&6; }
2907
 
$as_echo "$as_me: failed program was:" >&5
2908
 
sed 's/^/| /' conftest.$ac_ext >&5
2909
 
 
2910
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912
 
as_fn_error 77 "Fortran 77 compiler cannot create executables
2913
 
See \`config.log' for more details" "$LINENO" 5; }
2914
 
else
2915
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2916
 
$as_echo "yes" >&6; }
2917
 
fi
2918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler default output file name" >&5
2919
 
$as_echo_n "checking for Fortran 77 compiler default output file name... " >&6; }
2920
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2921
 
$as_echo "$ac_file" >&6; }
2922
 
ac_exeext=$ac_cv_exeext
2923
 
 
2924
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2925
 
ac_clean_files=$ac_clean_files_save
2926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2927
 
$as_echo_n "checking for suffix of executables... " >&6; }
2928
 
if { { ac_try="$ac_link"
2929
 
case "(($ac_try" in
2930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931
 
  *) ac_try_echo=$ac_try;;
2932
 
esac
2933
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2934
 
$as_echo "$ac_try_echo"; } >&5
2935
 
  (eval "$ac_link") 2>&5
2936
 
  ac_status=$?
2937
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938
 
  test $ac_status = 0; }; then :
2939
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2940
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2941
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2942
 
# `rm'.
2943
 
for ac_file in conftest.exe conftest conftest.*; do
2944
 
  test -f "$ac_file" || continue
2945
 
  case $ac_file in
2946
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2947
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948
 
          break;;
2949
 
    * ) break;;
2950
 
  esac
2951
 
done
2952
 
else
2953
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2954
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2955
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2956
 
See \`config.log' for more details" "$LINENO" 5; }
2957
 
fi
2958
 
rm -f conftest conftest$ac_cv_exeext
2959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2960
 
$as_echo "$ac_cv_exeext" >&6; }
2961
 
 
2962
 
rm -f conftest.$ac_ext
2963
 
EXEEXT=$ac_cv_exeext
2964
 
ac_exeext=$EXEEXT
2965
 
cat > conftest.$ac_ext <<_ACEOF
2966
 
      program main
2967
 
      open(unit=9,file='conftest.out')
2968
 
      close(unit=9)
2969
 
 
2970
 
      end
2971
 
_ACEOF
2972
 
ac_clean_files="$ac_clean_files conftest.out"
2973
 
# Check that the compiler produces executables we can run.  If not, either
2974
 
# the compiler is broken, or we cross compile.
2975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2976
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2977
 
if test "$cross_compiling" != yes; then
2978
 
  { { ac_try="$ac_link"
2979
 
case "(($ac_try" in
2980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981
 
  *) ac_try_echo=$ac_try;;
2982
 
esac
2983
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984
 
$as_echo "$ac_try_echo"; } >&5
2985
 
  (eval "$ac_link") 2>&5
2986
 
  ac_status=$?
2987
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988
 
  test $ac_status = 0; }
2989
 
  if { ac_try='./conftest$ac_cv_exeext'
2990
 
  { { case "(($ac_try" in
2991
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992
 
  *) ac_try_echo=$ac_try;;
2993
 
esac
2994
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995
 
$as_echo "$ac_try_echo"; } >&5
2996
 
  (eval "$ac_try") 2>&5
2997
 
  ac_status=$?
2998
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999
 
  test $ac_status = 0; }; }; then
3000
 
    cross_compiling=no
3001
 
  else
3002
 
    if test "$cross_compiling" = maybe; then
3003
 
        cross_compiling=yes
3004
 
    else
3005
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007
 
as_fn_error $? "cannot run Fortran 77 compiled programs.
3008
 
If you meant to cross compile, use \`--host'.
3009
 
See \`config.log' for more details" "$LINENO" 5; }
3010
 
    fi
3011
 
  fi
3012
 
fi
3013
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3014
 
$as_echo "$cross_compiling" >&6; }
3015
 
 
3016
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3017
 
ac_clean_files=$ac_clean_files_save
3018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3019
 
$as_echo_n "checking for suffix of object files... " >&6; }
3020
 
if ${ac_cv_objext+:} false; then :
3021
 
  $as_echo_n "(cached) " >&6
3022
 
else
3023
 
  cat > conftest.$ac_ext <<_ACEOF
3024
 
      program main
3025
 
 
3026
 
      end
3027
 
_ACEOF
3028
 
rm -f conftest.o conftest.obj
3029
 
if { { ac_try="$ac_compile"
3030
 
case "(($ac_try" in
3031
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032
 
  *) ac_try_echo=$ac_try;;
3033
 
esac
3034
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3035
 
$as_echo "$ac_try_echo"; } >&5
3036
 
  (eval "$ac_compile") 2>&5
3037
 
  ac_status=$?
3038
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3039
 
  test $ac_status = 0; }; then :
3040
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3041
 
  test -f "$ac_file" || continue;
3042
 
  case $ac_file in
3043
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3044
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3045
 
       break;;
3046
 
  esac
3047
 
done
3048
 
else
3049
 
  $as_echo "$as_me: failed program was:" >&5
3050
 
sed 's/^/| /' conftest.$ac_ext >&5
3051
 
 
3052
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3055
 
See \`config.log' for more details" "$LINENO" 5; }
3056
 
fi
3057
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3058
 
fi
3059
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3060
 
$as_echo "$ac_cv_objext" >&6; }
3061
 
OBJEXT=$ac_cv_objext
3062
 
ac_objext=$OBJEXT
3063
 
# If we don't use `.F' as extension, the preprocessor is not run on the
3064
 
# input file.  (Note that this only needs to work for GNU compilers.)
3065
 
ac_save_ext=$ac_ext
3066
 
ac_ext=F
3067
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
3068
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
3069
 
if ${ac_cv_f77_compiler_gnu+:} false; then :
3070
 
  $as_echo_n "(cached) " >&6
3071
 
else
3072
 
  cat > conftest.$ac_ext <<_ACEOF
3073
 
      program main
3074
 
#ifndef __GNUC__
3075
 
       choke me
3076
 
#endif
3077
 
 
3078
 
      end
3079
 
_ACEOF
3080
 
if ac_fn_f77_try_compile "$LINENO"; then :
3081
 
  ac_compiler_gnu=yes
3082
 
else
3083
 
  ac_compiler_gnu=no
3084
 
fi
3085
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
3087
 
 
3088
 
fi
3089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
3090
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
3091
 
ac_ext=$ac_save_ext
3092
 
ac_test_FFLAGS=${FFLAGS+set}
3093
 
ac_save_FFLAGS=$FFLAGS
3094
 
FFLAGS=
3095
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
3096
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
3097
 
if ${ac_cv_prog_f77_g+:} false; then :
3098
 
  $as_echo_n "(cached) " >&6
3099
 
else
3100
 
  FFLAGS=-g
3101
 
cat > conftest.$ac_ext <<_ACEOF
3102
 
      program main
3103
 
 
3104
 
      end
3105
 
_ACEOF
3106
 
if ac_fn_f77_try_compile "$LINENO"; then :
3107
 
  ac_cv_prog_f77_g=yes
3108
 
else
3109
 
  ac_cv_prog_f77_g=no
3110
 
fi
3111
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112
 
 
3113
 
fi
3114
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
3115
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
3116
 
if test "$ac_test_FFLAGS" = set; then
3117
 
  FFLAGS=$ac_save_FFLAGS
3118
 
elif test $ac_cv_prog_f77_g = yes; then
3119
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
3120
 
    FFLAGS="-g -O2"
3121
 
  else
3122
 
    FFLAGS="-g"
3123
 
  fi
3124
 
else
3125
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
3126
 
    FFLAGS="-O2"
3127
 
  else
3128
 
    FFLAGS=
3129
 
  fi
3130
 
fi
3131
 
 
3132
 
if test $ac_compiler_gnu = yes; then
3133
 
  G77=yes
3134
 
else
3135
 
  G77=
3136
 
fi
3137
 
ac_ext=c
3138
 
ac_cpp='$CPP $CPPFLAGS'
3139
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3142
 
 
3143
 
case `pwd` in
3144
 
  *\ * | *\     *)
3145
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3146
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3147
 
esac
3148
 
 
3149
 
 
3150
 
 
3151
 
macro_version='2.4.2'
3152
 
macro_revision='1.3337'
3153
 
 
3154
 
    
3155
 
    
3156
 
    
3157
 
 
3158
 
 
3159
 
    
3160
 
    
3161
 
    
3162
 
 
3163
 
 
3164
 
 
3165
 
 
3166
 
ltmain="$ac_aux_dir/ltmain.sh"
3167
 
 
3168
 
# Make sure we can run config.sub.
3169
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3170
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3171
 
 
3172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3173
 
$as_echo_n "checking build system type... " >&6; }
3174
 
if ${ac_cv_build+:} false; then :
3175
 
  $as_echo_n "(cached) " >&6
3176
 
else
3177
 
  ac_build_alias=$build_alias
3178
 
test "x$ac_build_alias" = x &&
3179
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3180
 
test "x$ac_build_alias" = x &&
3181
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3182
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3183
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3184
 
 
3185
 
fi
3186
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3187
 
$as_echo "$ac_cv_build" >&6; }
3188
 
case $ac_cv_build in
3189
 
*-*-*) ;;
3190
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3191
 
esac
3192
 
build=$ac_cv_build
3193
 
ac_save_IFS=$IFS; IFS='-'
3194
 
set x $ac_cv_build
3195
 
shift
3196
 
build_cpu=$1
3197
 
build_vendor=$2
3198
 
shift; shift
3199
 
# Remember, the first character of IFS is used to create $*,
3200
 
# except with old shells:
3201
 
build_os=$*
3202
 
IFS=$ac_save_IFS
3203
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3204
 
 
3205
 
 
3206
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3207
 
$as_echo_n "checking host system type... " >&6; }
3208
 
if ${ac_cv_host+:} false; then :
3209
 
  $as_echo_n "(cached) " >&6
3210
 
else
3211
 
  if test "x$host_alias" = x; then
3212
 
  ac_cv_host=$ac_cv_build
3213
 
else
3214
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3215
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3216
 
fi
3217
 
 
3218
 
fi
3219
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3220
 
$as_echo "$ac_cv_host" >&6; }
3221
 
case $ac_cv_host in
3222
 
*-*-*) ;;
3223
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3224
 
esac
3225
 
host=$ac_cv_host
3226
 
ac_save_IFS=$IFS; IFS='-'
3227
 
set x $ac_cv_host
3228
 
shift
3229
 
host_cpu=$1
3230
 
host_vendor=$2
3231
 
shift; shift
3232
 
# Remember, the first character of IFS is used to create $*,
3233
 
# except with old shells:
3234
 
host_os=$*
3235
 
IFS=$ac_save_IFS
3236
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3237
 
 
3238
 
 
3239
 
# Backslashify metacharacters that are still active within
3240
 
# double-quoted strings.
3241
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3242
 
 
3243
 
# Same as above, but do not quote variable references.
3244
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3245
 
 
3246
 
# Sed substitution to delay expansion of an escaped shell variable in a
3247
 
# double_quote_subst'ed string.
3248
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3249
 
 
3250
 
# Sed substitution to delay expansion of an escaped single quote.
3251
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3252
 
 
3253
 
# Sed substitution to avoid accidental globbing in evaled expressions
3254
 
no_glob_subst='s/\*/\\\*/g'
3255
 
 
3256
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3257
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3258
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3259
 
 
3260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3261
 
$as_echo_n "checking how to print strings... " >&6; }
3262
 
# Test print first, because it will be a builtin if present.
3263
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3264
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3265
 
  ECHO='print -r --'
3266
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3267
 
  ECHO='printf %s\n'
3268
 
else
3269
 
  # Use this function as a fallback that always works.
3270
 
  func_fallback_echo ()
3271
 
  {
3272
 
    eval 'cat <<_LTECHO_EOF
3273
 
$1
3274
 
_LTECHO_EOF'
3275
 
  }
3276
 
  ECHO='func_fallback_echo'
3277
 
fi
3278
 
 
3279
 
# func_echo_all arg...
3280
 
# Invoke $ECHO with all args, space-separated.
3281
 
func_echo_all ()
3282
 
{
3283
 
    $ECHO "" 
3284
 
}
3285
 
 
3286
 
case "$ECHO" in
3287
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3288
 
$as_echo "printf" >&6; } ;;
3289
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3290
 
$as_echo "print -r" >&6; } ;;
3291
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3292
 
$as_echo "cat" >&6; } ;;
3293
 
esac
3294
 
 
3295
 
 
3296
 
 
3297
 
 
3298
 
    
3299
 
    
3300
 
    
3301
 
 
3302
 
 
3303
 
    
3304
 
    
3305
 
    
3306
 
 
3307
 
 
3308
 
DEPDIR="${am__leading_dot}deps"
3309
 
 
3310
 
ac_config_commands="$ac_config_commands depfiles"
3311
 
 
3312
 
 
3313
 
am_make=${MAKE-make}
3314
 
cat > confinc << 'END'
3315
 
am__doit:
3316
 
        @echo this is the am__doit target
3317
 
.PHONY: am__doit
3318
 
END
3319
 
# If we don't find an include directive, just comment out the code.
3320
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3321
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3322
 
am__include="#"
3323
 
am__quote=
3324
 
_am_result=none
3325
 
# First try GNU make style include.
3326
 
echo "include confinc" > confmf
3327
 
# Ignore all kinds of additional output from `make'.
3328
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3329
 
*the\ am__doit\ target*)
3330
 
  am__include=include
3331
 
  am__quote=
3332
 
  _am_result=GNU
3333
 
  ;;
3334
 
esac
3335
 
# Now try BSD make style include.
3336
 
if test "$am__include" = "#"; then
3337
 
   echo '.include "confinc"' > confmf
3338
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3339
 
   *the\ am__doit\ target*)
3340
 
     am__include=.include
3341
 
     am__quote="\""
3342
 
     _am_result=BSD
3343
 
     ;;
3344
 
   esac
3345
 
fi
3346
 
 
3347
 
 
3348
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3349
 
$as_echo "$_am_result" >&6; }
3350
 
rm -f confinc confmf
3351
 
 
3352
 
@%:@ Check whether --enable-dependency-tracking was given.
3353
 
if test "${enable_dependency_tracking+set}" = set; then :
3354
 
  enableval=$enable_dependency_tracking; 
3355
 
fi
3356
 
 
3357
 
if test "x$enable_dependency_tracking" != xno; then
3358
 
  am_depcomp="$ac_aux_dir/depcomp"
3359
 
  AMDEPBACKSLASH='\'
3360
 
fi
3361
 
 if test "x$enable_dependency_tracking" != xno; then
3362
 
  AMDEP_TRUE=
3363
 
  AMDEP_FALSE='#'
3364
 
else
3365
 
  AMDEP_TRUE='#'
3366
 
  AMDEP_FALSE=
3367
 
fi
3368
 
 
3369
 
 
3370
 
ac_ext=c
3371
 
ac_cpp='$CPP $CPPFLAGS'
3372
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3373
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3374
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3375
 
if test -n "$ac_tool_prefix"; then
3376
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3377
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379
 
$as_echo_n "checking for $ac_word... " >&6; }
3380
 
if ${ac_cv_prog_CC+:} false; then :
3381
 
  $as_echo_n "(cached) " >&6
3382
 
else
3383
 
  if test -n "$CC"; then
3384
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3385
 
else
3386
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387
 
for as_dir in $PATH
3388
 
do
3389
 
  IFS=$as_save_IFS
3390
 
  test -z "$as_dir" && as_dir=.
3391
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3392
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3394
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395
 
    break 2
3396
 
  fi
3397
 
done
3398
 
  done
3399
 
IFS=$as_save_IFS
3400
 
 
3401
 
fi
3402
 
fi
3403
 
CC=$ac_cv_prog_CC
3404
 
if test -n "$CC"; then
3405
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406
 
$as_echo "$CC" >&6; }
3407
 
else
3408
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409
 
$as_echo "no" >&6; }
3410
 
fi
3411
 
 
3412
 
 
3413
 
fi
3414
 
if test -z "$ac_cv_prog_CC"; then
3415
 
  ac_ct_CC=$CC
3416
 
  # Extract the first word of "gcc", so it can be a program name with args.
3417
 
set dummy gcc; ac_word=$2
3418
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419
 
$as_echo_n "checking for $ac_word... " >&6; }
3420
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3421
 
  $as_echo_n "(cached) " >&6
3422
 
else
3423
 
  if test -n "$ac_ct_CC"; then
3424
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3425
 
else
3426
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427
 
for as_dir in $PATH
3428
 
do
3429
 
  IFS=$as_save_IFS
3430
 
  test -z "$as_dir" && as_dir=.
3431
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3432
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433
 
    ac_cv_prog_ac_ct_CC="gcc"
3434
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435
 
    break 2
3436
 
  fi
3437
 
done
3438
 
  done
3439
 
IFS=$as_save_IFS
3440
 
 
3441
 
fi
3442
 
fi
3443
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3444
 
if test -n "$ac_ct_CC"; then
3445
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3446
 
$as_echo "$ac_ct_CC" >&6; }
3447
 
else
3448
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449
 
$as_echo "no" >&6; }
3450
 
fi
3451
 
 
3452
 
  if test "x$ac_ct_CC" = x; then
3453
 
    CC=""
3454
 
  else
3455
 
    case $cross_compiling:$ac_tool_warned in
3456
 
yes:)
3457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459
 
ac_tool_warned=yes ;;
3460
 
esac
3461
 
    CC=$ac_ct_CC
3462
 
  fi
3463
 
else
3464
 
  CC="$ac_cv_prog_CC"
3465
 
fi
3466
 
 
3467
 
if test -z "$CC"; then
3468
 
          if test -n "$ac_tool_prefix"; then
3469
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3470
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3472
 
$as_echo_n "checking for $ac_word... " >&6; }
3473
 
if ${ac_cv_prog_CC+:} false; then :
3474
 
  $as_echo_n "(cached) " >&6
3475
 
else
3476
 
  if test -n "$CC"; then
3477
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3478
 
else
3479
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480
 
for as_dir in $PATH
3481
 
do
3482
 
  IFS=$as_save_IFS
3483
 
  test -z "$as_dir" && as_dir=.
3484
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3485
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3486
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3487
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488
 
    break 2
3489
 
  fi
3490
 
done
3491
 
  done
3492
 
IFS=$as_save_IFS
3493
 
 
3494
 
fi
3495
 
fi
3496
 
CC=$ac_cv_prog_CC
3497
 
if test -n "$CC"; then
3498
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3499
 
$as_echo "$CC" >&6; }
3500
 
else
3501
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502
 
$as_echo "no" >&6; }
3503
 
fi
3504
 
 
3505
 
 
3506
 
  fi
3507
 
fi
3508
 
if test -z "$CC"; then
3509
 
  # Extract the first word of "cc", so it can be a program name with args.
3510
 
set dummy cc; ac_word=$2
3511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512
 
$as_echo_n "checking for $ac_word... " >&6; }
3513
 
if ${ac_cv_prog_CC+:} false; then :
3514
 
  $as_echo_n "(cached) " >&6
3515
 
else
3516
 
  if test -n "$CC"; then
3517
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3518
 
else
3519
 
  ac_prog_rejected=no
3520
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521
 
for as_dir in $PATH
3522
 
do
3523
 
  IFS=$as_save_IFS
3524
 
  test -z "$as_dir" && as_dir=.
3525
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3526
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3527
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3528
 
       ac_prog_rejected=yes
3529
 
       continue
3530
 
     fi
3531
 
    ac_cv_prog_CC="cc"
3532
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533
 
    break 2
3534
 
  fi
3535
 
done
3536
 
  done
3537
 
IFS=$as_save_IFS
3538
 
 
3539
 
if test $ac_prog_rejected = yes; then
3540
 
  # We found a bogon in the path, so make sure we never use it.
3541
 
  set dummy $ac_cv_prog_CC
3542
 
  shift
3543
 
  if test $@%:@ != 0; then
3544
 
    # We chose a different compiler from the bogus one.
3545
 
    # However, it has the same basename, so the bogon will be chosen
3546
 
    # first if we set CC to just the basename; use the full file name.
3547
 
    shift
3548
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3549
 
  fi
3550
 
fi
3551
 
fi
3552
 
fi
3553
 
CC=$ac_cv_prog_CC
3554
 
if test -n "$CC"; then
3555
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3556
 
$as_echo "$CC" >&6; }
3557
 
else
3558
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559
 
$as_echo "no" >&6; }
3560
 
fi
3561
 
 
3562
 
 
3563
 
fi
3564
 
if test -z "$CC"; then
3565
 
  if test -n "$ac_tool_prefix"; then
3566
 
  for ac_prog in cl.exe
3567
 
  do
3568
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3569
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3570
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571
 
$as_echo_n "checking for $ac_word... " >&6; }
3572
 
if ${ac_cv_prog_CC+:} false; then :
3573
 
  $as_echo_n "(cached) " >&6
3574
 
else
3575
 
  if test -n "$CC"; then
3576
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3577
 
else
3578
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579
 
for as_dir in $PATH
3580
 
do
3581
 
  IFS=$as_save_IFS
3582
 
  test -z "$as_dir" && as_dir=.
3583
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3584
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3586
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587
 
    break 2
3588
 
  fi
3589
 
done
3590
 
  done
3591
 
IFS=$as_save_IFS
3592
 
 
3593
 
fi
3594
 
fi
3595
 
CC=$ac_cv_prog_CC
3596
 
if test -n "$CC"; then
3597
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3598
 
$as_echo "$CC" >&6; }
3599
 
else
3600
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601
 
$as_echo "no" >&6; }
3602
 
fi
3603
 
 
3604
 
 
3605
 
    test -n "$CC" && break
3606
 
  done
3607
 
fi
3608
 
if test -z "$CC"; then
3609
 
  ac_ct_CC=$CC
3610
 
  for ac_prog in cl.exe
3611
 
do
3612
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3613
 
set dummy $ac_prog; ac_word=$2
3614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615
 
$as_echo_n "checking for $ac_word... " >&6; }
3616
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3617
 
  $as_echo_n "(cached) " >&6
3618
 
else
3619
 
  if test -n "$ac_ct_CC"; then
3620
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3621
 
else
3622
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623
 
for as_dir in $PATH
3624
 
do
3625
 
  IFS=$as_save_IFS
3626
 
  test -z "$as_dir" && as_dir=.
3627
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3628
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3630
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631
 
    break 2
3632
 
  fi
3633
 
done
3634
 
  done
3635
 
IFS=$as_save_IFS
3636
 
 
3637
 
fi
3638
 
fi
3639
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3640
 
if test -n "$ac_ct_CC"; then
3641
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3642
 
$as_echo "$ac_ct_CC" >&6; }
3643
 
else
3644
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645
 
$as_echo "no" >&6; }
3646
 
fi
3647
 
 
3648
 
 
3649
 
  test -n "$ac_ct_CC" && break
3650
 
done
3651
 
 
3652
 
  if test "x$ac_ct_CC" = x; then
3653
 
    CC=""
3654
 
  else
3655
 
    case $cross_compiling:$ac_tool_warned in
3656
 
yes:)
3657
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659
 
ac_tool_warned=yes ;;
3660
 
esac
3661
 
    CC=$ac_ct_CC
3662
 
  fi
3663
 
fi
3664
 
 
3665
 
fi
3666
 
 
3667
 
 
3668
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3671
 
See \`config.log' for more details" "$LINENO" 5; }
3672
 
 
3673
 
# Provide some information about the compiler.
3674
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3675
 
set X $ac_compile
3676
 
ac_compiler=$2
3677
 
for ac_option in --version -v -V -qversion; do
3678
 
  { { ac_try="$ac_compiler $ac_option >&5"
3679
 
case "(($ac_try" in
3680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681
 
  *) ac_try_echo=$ac_try;;
3682
 
esac
3683
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3684
 
$as_echo "$ac_try_echo"; } >&5
3685
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3686
 
  ac_status=$?
3687
 
  if test -s conftest.err; then
3688
 
    sed '10a\
3689
 
... rest of stderr output deleted ...
3690
 
         10q' conftest.err >conftest.er1
3691
 
    cat conftest.er1 >&5
3692
 
  fi
3693
 
  rm -f conftest.er1 conftest.err
3694
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3695
 
  test $ac_status = 0; }
3696
 
done
3697
 
 
3698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3699
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3700
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3701
 
  $as_echo_n "(cached) " >&6
3702
 
else
3703
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704
 
/* end confdefs.h.  */
3705
 
 
3706
 
int
3707
 
main ()
3708
 
{
3709
 
#ifndef __GNUC__
3710
 
       choke me
3711
 
#endif
3712
 
 
3713
 
  ;
3714
 
  return 0;
3715
 
}
3716
 
_ACEOF
3717
 
if ac_fn_c_try_compile "$LINENO"; then :
3718
 
  ac_compiler_gnu=yes
3719
 
else
3720
 
  ac_compiler_gnu=no
3721
 
fi
3722
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3724
 
 
3725
 
fi
3726
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3727
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3728
 
if test $ac_compiler_gnu = yes; then
3729
 
  GCC=yes
3730
 
else
3731
 
  GCC=
3732
 
fi
3733
 
ac_test_CFLAGS=${CFLAGS+set}
3734
 
ac_save_CFLAGS=$CFLAGS
3735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3736
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3737
 
if ${ac_cv_prog_cc_g+:} false; then :
3738
 
  $as_echo_n "(cached) " >&6
3739
 
else
3740
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3741
 
   ac_c_werror_flag=yes
3742
 
   ac_cv_prog_cc_g=no
3743
 
   CFLAGS="-g"
3744
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745
 
/* end confdefs.h.  */
3746
 
 
3747
 
int
3748
 
main ()
3749
 
{
3750
 
 
3751
 
  ;
3752
 
  return 0;
3753
 
}
3754
 
_ACEOF
3755
 
if ac_fn_c_try_compile "$LINENO"; then :
3756
 
  ac_cv_prog_cc_g=yes
3757
 
else
3758
 
  CFLAGS=""
3759
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760
 
/* end confdefs.h.  */
3761
 
 
3762
 
int
3763
 
main ()
3764
 
{
3765
 
 
3766
 
  ;
3767
 
  return 0;
3768
 
}
3769
 
_ACEOF
3770
 
if ac_fn_c_try_compile "$LINENO"; then :
3771
 
  
3772
 
else
3773
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3774
 
         CFLAGS="-g"
3775
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776
 
/* end confdefs.h.  */
3777
 
 
3778
 
int
3779
 
main ()
3780
 
{
3781
 
 
3782
 
  ;
3783
 
  return 0;
3784
 
}
3785
 
_ACEOF
3786
 
if ac_fn_c_try_compile "$LINENO"; then :
3787
 
  ac_cv_prog_cc_g=yes
3788
 
fi
3789
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790
 
fi
3791
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3792
 
fi
3793
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3794
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3795
 
fi
3796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3797
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3798
 
if test "$ac_test_CFLAGS" = set; then
3799
 
  CFLAGS=$ac_save_CFLAGS
3800
 
elif test $ac_cv_prog_cc_g = yes; then
3801
 
  if test "$GCC" = yes; then
3802
 
    CFLAGS="-g -O2"
3803
 
  else
3804
 
    CFLAGS="-g"
3805
 
  fi
3806
 
else
3807
 
  if test "$GCC" = yes; then
3808
 
    CFLAGS="-O2"
3809
 
  else
3810
 
    CFLAGS=
3811
 
  fi
3812
 
fi
3813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3814
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3815
 
if ${ac_cv_prog_cc_c89+:} false; then :
3816
 
  $as_echo_n "(cached) " >&6
3817
 
else
3818
 
  ac_cv_prog_cc_c89=no
3819
 
ac_save_CC=$CC
3820
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821
 
/* end confdefs.h.  */
3822
 
#include <stdarg.h>
3823
 
#include <stdio.h>
3824
 
#include <sys/types.h>
3825
 
#include <sys/stat.h>
3826
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3827
 
struct buf { int x; };
3828
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3829
 
static char *e (p, i)
3830
 
     char **p;
3831
 
     int i;
3832
 
{
3833
 
  return p[i];
3834
 
}
3835
 
static char *f (char * (*g) (char **, int), char **p, ...)
3836
 
{
3837
 
  char *s;
3838
 
  va_list v;
3839
 
  va_start (v,p);
3840
 
  s = g (p, va_arg (v,int));
3841
 
  va_end (v);
3842
 
  return s;
3843
 
}
3844
 
 
3845
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3846
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3847
 
   These don't provoke an error unfortunately, instead are silently treated
3848
 
   as 'x'.  The following induces an error, until -std is added to get
3849
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3850
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3851
 
   that's true only with -std.  */
3852
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3853
 
 
3854
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3855
 
   inside strings and character constants.  */
3856
 
#define FOO(x) 'x'
3857
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3858
 
 
3859
 
int test (int i, double x);
3860
 
struct s1 {int (*f) (int a);};
3861
 
struct s2 {int (*f) (double a);};
3862
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3863
 
int argc;
3864
 
char **argv;
3865
 
int
3866
 
main ()
3867
 
{
3868
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3869
 
  ;
3870
 
  return 0;
3871
 
}
3872
 
_ACEOF
3873
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3874
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3875
 
do
3876
 
  CC="$ac_save_CC $ac_arg"
3877
 
  if ac_fn_c_try_compile "$LINENO"; then :
3878
 
  ac_cv_prog_cc_c89=$ac_arg
3879
 
fi
3880
 
rm -f core conftest.err conftest.$ac_objext
3881
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3882
 
done
3883
 
rm -f conftest.$ac_ext
3884
 
CC=$ac_save_CC
3885
 
 
3886
 
fi
3887
 
# AC_CACHE_VAL
3888
 
case "x$ac_cv_prog_cc_c89" in
3889
 
  x)
3890
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3891
 
$as_echo "none needed" >&6; } ;;
3892
 
  xno)
3893
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3894
 
$as_echo "unsupported" >&6; } ;;
3895
 
  *)
3896
 
    CC="$CC $ac_cv_prog_cc_c89"
3897
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3898
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3899
 
esac
3900
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3901
 
  
3902
 
fi
3903
 
 
3904
 
ac_ext=c
3905
 
ac_cpp='$CPP $CPPFLAGS'
3906
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3909
 
 
3910
 
depcc="$CC"   am_compiler_list=
3911
 
 
3912
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3913
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3914
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3915
 
  $as_echo_n "(cached) " >&6
3916
 
else
3917
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3918
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3919
 
  # making bogus files that we don't know about and never remove.  For
3920
 
  # instance it was reported that on HP-UX the gcc test will end up
3921
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3922
 
  # in D'.
3923
 
  mkdir conftest.dir
3924
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3925
 
  # using a relative directory.
3926
 
  cp "$am_depcomp" conftest.dir
3927
 
  cd conftest.dir
3928
 
  # We will build objects and dependencies in a subdirectory because
3929
 
  # it helps to detect inapplicable dependency modes.  For instance
3930
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3931
 
  # side effect of compilation, but ICC will put the dependencies in
3932
 
  # the current directory while Tru64 will put them in the object
3933
 
  # directory.
3934
 
  mkdir sub
3935
 
 
3936
 
  am_cv_CC_dependencies_compiler_type=none
3937
 
  if test "$am_compiler_list" = ""; then
3938
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3939
 
  fi
3940
 
  am__universal=false
3941
 
  case " $depcc " in #(
3942
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3943
 
     esac
3944
 
 
3945
 
  for depmode in $am_compiler_list; do
3946
 
    # Setup a source with many dependencies, because some compilers
3947
 
    # like to wrap large dependency lists on column 80 (with \), and
3948
 
    # we should not choose a depcomp mode which is confused by this.
3949
 
    #
3950
 
    # We need to recreate these files for each test, as the compiler may
3951
 
    # overwrite some of them when testing with obscure command lines.
3952
 
    # This happens at least with the AIX C compiler.
3953
 
    : > sub/conftest.c
3954
 
    for i in 1 2 3 4 5 6; do
3955
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3956
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3957
 
      # Solaris 8's {/usr,}/bin/sh.
3958
 
      touch sub/conftst$i.h
3959
 
    done
3960
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3961
 
 
3962
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3963
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3964
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3965
 
    # versions had trouble with output in subdirs
3966
 
    am__obj=sub/conftest.${OBJEXT-o}
3967
 
    am__minus_obj="-o $am__obj"
3968
 
    case $depmode in
3969
 
    gcc)
3970
 
      # This depmode causes a compiler race in universal mode.
3971
 
      test "$am__universal" = false || continue
3972
 
      ;;
3973
 
    nosideeffect)
3974
 
      # after this tag, mechanisms are not by side-effect, so they'll
3975
 
      # only be used when explicitly requested
3976
 
      if test "x$enable_dependency_tracking" = xyes; then
3977
 
        continue
3978
 
      else
3979
 
        break
3980
 
      fi
3981
 
      ;;
3982
 
    msvisualcpp | msvcmsys)
3983
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3984
 
      # not run yet.  These depmodes are late enough in the game, and
3985
 
      # so weak that their functioning should not be impacted.
3986
 
      am__obj=conftest.${OBJEXT-o}
3987
 
      am__minus_obj=
3988
 
      ;;
3989
 
    none) break ;;
3990
 
    esac
3991
 
    if depmode=$depmode \
3992
 
       source=sub/conftest.c object=$am__obj \
3993
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3994
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3995
 
         >/dev/null 2>conftest.err &&
3996
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3997
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3998
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3999
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4000
 
      # icc doesn't choke on unknown options, it will just issue warnings
4001
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4002
 
      # that says an option was ignored or not supported.
4003
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4004
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4005
 
      # The diagnosis changed in icc 8.0:
4006
 
      #   icc: Command line remark: option '-MP' not supported
4007
 
      if (grep 'ignoring option' conftest.err ||
4008
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4009
 
        am_cv_CC_dependencies_compiler_type=$depmode
4010
 
        break
4011
 
      fi
4012
 
    fi
4013
 
  done
4014
 
 
4015
 
  cd ..
4016
 
  rm -rf conftest.dir
4017
 
else
4018
 
  am_cv_CC_dependencies_compiler_type=none
4019
 
fi
4020
 
 
4021
 
fi
4022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4023
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4024
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4025
 
 
4026
 
 if 
4027
 
  test "x$enable_dependency_tracking" != xno \
4028
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4029
 
  am__fastdepCC_TRUE=
4030
 
  am__fastdepCC_FALSE='#'
4031
 
else
4032
 
  am__fastdepCC_TRUE='#'
4033
 
  am__fastdepCC_FALSE=
4034
 
fi
4035
 
 
4036
 
 
4037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4038
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4039
 
if ${ac_cv_path_SED+:} false; then :
4040
 
  $as_echo_n "(cached) " >&6
4041
 
else
4042
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4043
 
     for ac_i in 1 2 3 4 5 6 7; do
4044
 
       ac_script="$ac_script$as_nl$ac_script"
4045
 
     done
4046
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4047
 
     { ac_script=; unset ac_script;}
4048
 
     if test -z "$SED"; then
4049
 
  ac_path_SED_found=false
4050
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4051
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052
 
for as_dir in $PATH
4053
 
do
4054
 
  IFS=$as_save_IFS
4055
 
  test -z "$as_dir" && as_dir=.
4056
 
    for ac_prog in sed gsed; do
4057
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4058
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4059
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4060
 
# Check for GNU ac_path_SED and select it if it is found.
4061
 
  # Check for GNU $ac_path_SED
4062
 
case `"$ac_path_SED" --version 2>&1` in
4063
 
*GNU*)
4064
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4065
 
*)
4066
 
  ac_count=0
4067
 
  $as_echo_n 0123456789 >"conftest.in"
4068
 
  while :
4069
 
  do
4070
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4071
 
    mv "conftest.tmp" "conftest.in"
4072
 
    cp "conftest.in" "conftest.nl"
4073
 
    $as_echo '' >> "conftest.nl"
4074
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4075
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4076
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4077
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4078
 
      # Best one so far, save it but keep looking for a better one
4079
 
      ac_cv_path_SED="$ac_path_SED"
4080
 
      ac_path_SED_max=$ac_count
4081
 
    fi
4082
 
    # 10*(2^10) chars as input seems more than enough
4083
 
    test $ac_count -gt 10 && break
4084
 
  done
4085
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4086
 
esac
4087
 
 
4088
 
      $ac_path_SED_found && break 3
4089
 
    done
4090
 
  done
4091
 
  done
4092
 
IFS=$as_save_IFS
4093
 
  if test -z "$ac_cv_path_SED"; then
4094
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4095
 
  fi
4096
 
else
4097
 
  ac_cv_path_SED=$SED
4098
 
fi
4099
 
 
4100
 
fi
4101
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4102
 
$as_echo "$ac_cv_path_SED" >&6; }
4103
 
 SED="$ac_cv_path_SED"
4104
 
  rm -f conftest.sed
4105
 
 
4106
 
test -z "$SED" && SED=sed
4107
 
Xsed="$SED -e 1s/^X//"
4108
 
 
4109
 
    
4110
 
    
4111
 
    
4112
 
 
4113
 
 
4114
 
    
4115
 
    
4116
 
    
4117
 
 
4118
 
 
4119
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4120
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4121
 
if ${ac_cv_path_GREP+:} false; then :
4122
 
  $as_echo_n "(cached) " >&6
4123
 
else
4124
 
  if test -z "$GREP"; then
4125
 
  ac_path_GREP_found=false
4126
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4127
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4129
 
do
4130
 
  IFS=$as_save_IFS
4131
 
  test -z "$as_dir" && as_dir=.
4132
 
    for ac_prog in grep ggrep; do
4133
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4134
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4135
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4136
 
# Check for GNU ac_path_GREP and select it if it is found.
4137
 
  # Check for GNU $ac_path_GREP
4138
 
case `"$ac_path_GREP" --version 2>&1` in
4139
 
*GNU*)
4140
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4141
 
*)
4142
 
  ac_count=0
4143
 
  $as_echo_n 0123456789 >"conftest.in"
4144
 
  while :
4145
 
  do
4146
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4147
 
    mv "conftest.tmp" "conftest.in"
4148
 
    cp "conftest.in" "conftest.nl"
4149
 
    $as_echo 'GREP' >> "conftest.nl"
4150
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4151
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4152
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4153
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4154
 
      # Best one so far, save it but keep looking for a better one
4155
 
      ac_cv_path_GREP="$ac_path_GREP"
4156
 
      ac_path_GREP_max=$ac_count
4157
 
    fi
4158
 
    # 10*(2^10) chars as input seems more than enough
4159
 
    test $ac_count -gt 10 && break
4160
 
  done
4161
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4162
 
esac
4163
 
 
4164
 
      $ac_path_GREP_found && break 3
4165
 
    done
4166
 
  done
4167
 
  done
4168
 
IFS=$as_save_IFS
4169
 
  if test -z "$ac_cv_path_GREP"; then
4170
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4171
 
  fi
4172
 
else
4173
 
  ac_cv_path_GREP=$GREP
4174
 
fi
4175
 
 
4176
 
fi
4177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4178
 
$as_echo "$ac_cv_path_GREP" >&6; }
4179
 
 GREP="$ac_cv_path_GREP"
4180
 
 
4181
 
 
4182
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4183
 
$as_echo_n "checking for egrep... " >&6; }
4184
 
if ${ac_cv_path_EGREP+:} false; then :
4185
 
  $as_echo_n "(cached) " >&6
4186
 
else
4187
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4188
 
   then ac_cv_path_EGREP="$GREP -E"
4189
 
   else
4190
 
     if test -z "$EGREP"; then
4191
 
  ac_path_EGREP_found=false
4192
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4193
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4195
 
do
4196
 
  IFS=$as_save_IFS
4197
 
  test -z "$as_dir" && as_dir=.
4198
 
    for ac_prog in egrep; do
4199
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4200
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4201
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4202
 
# Check for GNU ac_path_EGREP and select it if it is found.
4203
 
  # Check for GNU $ac_path_EGREP
4204
 
case `"$ac_path_EGREP" --version 2>&1` in
4205
 
*GNU*)
4206
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4207
 
*)
4208
 
  ac_count=0
4209
 
  $as_echo_n 0123456789 >"conftest.in"
4210
 
  while :
4211
 
  do
4212
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4213
 
    mv "conftest.tmp" "conftest.in"
4214
 
    cp "conftest.in" "conftest.nl"
4215
 
    $as_echo 'EGREP' >> "conftest.nl"
4216
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4219
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4220
 
      # Best one so far, save it but keep looking for a better one
4221
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4222
 
      ac_path_EGREP_max=$ac_count
4223
 
    fi
4224
 
    # 10*(2^10) chars as input seems more than enough
4225
 
    test $ac_count -gt 10 && break
4226
 
  done
4227
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228
 
esac
4229
 
 
4230
 
      $ac_path_EGREP_found && break 3
4231
 
    done
4232
 
  done
4233
 
  done
4234
 
IFS=$as_save_IFS
4235
 
  if test -z "$ac_cv_path_EGREP"; then
4236
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4237
 
  fi
4238
 
else
4239
 
  ac_cv_path_EGREP=$EGREP
4240
 
fi
4241
 
 
4242
 
   fi
4243
 
fi
4244
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4245
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4246
 
 EGREP="$ac_cv_path_EGREP"
4247
 
 
4248
 
 
4249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4250
 
$as_echo_n "checking for fgrep... " >&6; }
4251
 
if ${ac_cv_path_FGREP+:} false; then :
4252
 
  $as_echo_n "(cached) " >&6
4253
 
else
4254
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4255
 
   then ac_cv_path_FGREP="$GREP -F"
4256
 
   else
4257
 
     if test -z "$FGREP"; then
4258
 
  ac_path_FGREP_found=false
4259
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4260
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4262
 
do
4263
 
  IFS=$as_save_IFS
4264
 
  test -z "$as_dir" && as_dir=.
4265
 
    for ac_prog in fgrep; do
4266
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4267
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4268
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4269
 
# Check for GNU ac_path_FGREP and select it if it is found.
4270
 
  # Check for GNU $ac_path_FGREP
4271
 
case `"$ac_path_FGREP" --version 2>&1` in
4272
 
*GNU*)
4273
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4274
 
*)
4275
 
  ac_count=0
4276
 
  $as_echo_n 0123456789 >"conftest.in"
4277
 
  while :
4278
 
  do
4279
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4280
 
    mv "conftest.tmp" "conftest.in"
4281
 
    cp "conftest.in" "conftest.nl"
4282
 
    $as_echo 'FGREP' >> "conftest.nl"
4283
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4284
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4285
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4286
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4287
 
      # Best one so far, save it but keep looking for a better one
4288
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4289
 
      ac_path_FGREP_max=$ac_count
4290
 
    fi
4291
 
    # 10*(2^10) chars as input seems more than enough
4292
 
    test $ac_count -gt 10 && break
4293
 
  done
4294
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4295
 
esac
4296
 
 
4297
 
      $ac_path_FGREP_found && break 3
4298
 
    done
4299
 
  done
4300
 
  done
4301
 
IFS=$as_save_IFS
4302
 
  if test -z "$ac_cv_path_FGREP"; then
4303
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4304
 
  fi
4305
 
else
4306
 
  ac_cv_path_FGREP=$FGREP
4307
 
fi
4308
 
 
4309
 
   fi
4310
 
fi
4311
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4312
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4313
 
 FGREP="$ac_cv_path_FGREP"
4314
 
 
4315
 
 
4316
 
test -z "$GREP" && GREP=grep
4317
 
 
4318
 
    
4319
 
    
4320
 
    
4321
 
 
4322
 
 
4323
 
    
4324
 
    
4325
 
    
4326
 
 
4327
 
 
4328
 
    
4329
 
    
4330
 
    
4331
 
 
4332
 
 
4333
 
 
4334
 
 
4335
 
 
4336
 
@%:@ Check whether --with-gnu-ld was given.
4337
 
if test "${with_gnu_ld+set}" = set; then :
4338
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4339
 
else
4340
 
  with_gnu_ld=no
4341
 
fi
4342
 
 
4343
 
ac_prog=ld
4344
 
if test "$GCC" = yes; then
4345
 
  # Check if gcc -print-prog-name=ld gives a path.
4346
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4347
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4348
 
  case $host in
4349
 
  *-*-mingw*)
4350
 
    # gcc leaves a trailing carriage return which upsets mingw
4351
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4352
 
  *)
4353
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4354
 
  esac
4355
 
  case $ac_prog in
4356
 
    # Accept absolute paths.
4357
 
    [\\/]* | ?:[\\/]*)
4358
 
      re_direlt='/[^/][^/]*/\.\./'
4359
 
      # Canonicalize the pathname of ld
4360
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4361
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4362
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4363
 
      done
4364
 
      test -z "$LD" && LD="$ac_prog"
4365
 
      ;;
4366
 
  "")
4367
 
    # If it fails, then pretend we aren't using GCC.
4368
 
    ac_prog=ld
4369
 
    ;;
4370
 
  *)
4371
 
    # If it is relative, then search for the first ld in PATH.
4372
 
    with_gnu_ld=unknown
4373
 
    ;;
4374
 
  esac
4375
 
elif test "$with_gnu_ld" = yes; then
4376
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4377
 
$as_echo_n "checking for GNU ld... " >&6; }
4378
 
else
4379
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4380
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4381
 
fi
4382
 
if ${lt_cv_path_LD+:} false; then :
4383
 
  $as_echo_n "(cached) " >&6
4384
 
else
4385
 
  if test -z "$LD"; then
4386
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4387
 
  for ac_dir in $PATH; do
4388
 
    IFS="$lt_save_ifs"
4389
 
    test -z "$ac_dir" && ac_dir=.
4390
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4391
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4392
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4393
 
      # but apparently some variants of GNU ld only accept -v.
4394
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4395
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4396
 
      *GNU* | *'with BFD'*)
4397
 
        test "$with_gnu_ld" != no && break
4398
 
        ;;
4399
 
      *)
4400
 
        test "$with_gnu_ld" != yes && break
4401
 
        ;;
4402
 
      esac
4403
 
    fi
4404
 
  done
4405
 
  IFS="$lt_save_ifs"
4406
 
else
4407
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4408
 
fi
4409
 
fi
4410
 
 
4411
 
LD="$lt_cv_path_LD"
4412
 
if test -n "$LD"; then
4413
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4414
 
$as_echo "$LD" >&6; }
4415
 
else
4416
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417
 
$as_echo "no" >&6; }
4418
 
fi
4419
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4421
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4422
 
if ${lt_cv_prog_gnu_ld+:} false; then :
4423
 
  $as_echo_n "(cached) " >&6
4424
 
else
4425
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4426
 
case `$LD -v 2>&1 </dev/null` in
4427
 
*GNU* | *'with BFD'*)
4428
 
  lt_cv_prog_gnu_ld=yes
4429
 
  ;;
4430
 
*)
4431
 
  lt_cv_prog_gnu_ld=no
4432
 
  ;;
4433
 
esac
4434
 
fi
4435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4436
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4437
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4438
 
 
4439
 
 
4440
 
 
4441
 
 
4442
 
    
4443
 
    
4444
 
    
4445
 
 
4446
 
 
4447
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4448
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4449
 
if ${lt_cv_path_NM+:} false; then :
4450
 
  $as_echo_n "(cached) " >&6
4451
 
else
4452
 
  if test -n "$NM"; then
4453
 
  # Let the user override the test.
4454
 
  lt_cv_path_NM="$NM"
4455
 
else
4456
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4457
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4458
 
    lt_nm_to_check="$lt_nm_to_check nm"
4459
 
  fi
4460
 
  for lt_tmp_nm in $lt_nm_to_check; do
4461
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4462
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4463
 
      IFS="$lt_save_ifs"
4464
 
      test -z "$ac_dir" && ac_dir=.
4465
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4466
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4467
 
        # Check to see if the nm accepts a BSD-compat flag.
4468
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4469
 
        #   nm: unknown option "B" ignored
4470
 
        # Tru64's nm complains that /dev/null is an invalid object file
4471
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4472
 
        */dev/null* | *'Invalid file or object type'*)
4473
 
          lt_cv_path_NM="$tmp_nm -B"
4474
 
          break
4475
 
          ;;
4476
 
        *)
4477
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4478
 
          */dev/null*)
4479
 
            lt_cv_path_NM="$tmp_nm -p"
4480
 
            break
4481
 
            ;;
4482
 
          *)
4483
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4484
 
            continue # so that we can try to find one that supports BSD flags
4485
 
            ;;
4486
 
          esac
4487
 
          ;;
4488
 
        esac
4489
 
      fi
4490
 
    done
4491
 
    IFS="$lt_save_ifs"
4492
 
  done
4493
 
  : ${lt_cv_path_NM=no}
4494
 
fi
4495
 
fi
4496
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4497
 
$as_echo "$lt_cv_path_NM" >&6; }
4498
 
if test "$lt_cv_path_NM" != "no"; then
4499
 
  NM="$lt_cv_path_NM"
4500
 
else
4501
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
4502
 
  if test -n "$DUMPBIN"; then :
4503
 
    # Let the user override the test.
4504
 
  else
4505
 
    if test -n "$ac_tool_prefix"; then
4506
 
  for ac_prog in dumpbin "link -dump"
4507
 
  do
4508
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4509
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511
 
$as_echo_n "checking for $ac_word... " >&6; }
4512
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
4513
 
  $as_echo_n "(cached) " >&6
4514
 
else
4515
 
  if test -n "$DUMPBIN"; then
4516
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4517
 
else
4518
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519
 
for as_dir in $PATH
4520
 
do
4521
 
  IFS=$as_save_IFS
4522
 
  test -z "$as_dir" && as_dir=.
4523
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4524
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4525
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4526
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527
 
    break 2
4528
 
  fi
4529
 
done
4530
 
  done
4531
 
IFS=$as_save_IFS
4532
 
 
4533
 
fi
4534
 
fi
4535
 
DUMPBIN=$ac_cv_prog_DUMPBIN
4536
 
if test -n "$DUMPBIN"; then
4537
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4538
 
$as_echo "$DUMPBIN" >&6; }
4539
 
else
4540
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541
 
$as_echo "no" >&6; }
4542
 
fi
4543
 
 
4544
 
 
4545
 
    test -n "$DUMPBIN" && break
4546
 
  done
4547
 
fi
4548
 
if test -z "$DUMPBIN"; then
4549
 
  ac_ct_DUMPBIN=$DUMPBIN
4550
 
  for ac_prog in dumpbin "link -dump"
4551
 
do
4552
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4553
 
set dummy $ac_prog; ac_word=$2
4554
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555
 
$as_echo_n "checking for $ac_word... " >&6; }
4556
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4557
 
  $as_echo_n "(cached) " >&6
4558
 
else
4559
 
  if test -n "$ac_ct_DUMPBIN"; then
4560
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4561
 
else
4562
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563
 
for as_dir in $PATH
4564
 
do
4565
 
  IFS=$as_save_IFS
4566
 
  test -z "$as_dir" && as_dir=.
4567
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4568
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4569
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4570
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571
 
    break 2
4572
 
  fi
4573
 
done
4574
 
  done
4575
 
IFS=$as_save_IFS
4576
 
 
4577
 
fi
4578
 
fi
4579
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4580
 
if test -n "$ac_ct_DUMPBIN"; then
4581
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4582
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
4583
 
else
4584
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585
 
$as_echo "no" >&6; }
4586
 
fi
4587
 
 
4588
 
 
4589
 
  test -n "$ac_ct_DUMPBIN" && break
4590
 
done
4591
 
 
4592
 
  if test "x$ac_ct_DUMPBIN" = x; then
4593
 
    DUMPBIN=":"
4594
 
  else
4595
 
    case $cross_compiling:$ac_tool_warned in
4596
 
yes:)
4597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4598
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4599
 
ac_tool_warned=yes ;;
4600
 
esac
4601
 
    DUMPBIN=$ac_ct_DUMPBIN
4602
 
  fi
4603
 
fi
4604
 
 
4605
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4606
 
    *COFF*)
4607
 
      DUMPBIN="$DUMPBIN -symbols"
4608
 
      ;;
4609
 
    *)
4610
 
      DUMPBIN=:
4611
 
      ;;
4612
 
    esac
4613
 
  fi
4614
 
  
4615
 
  if test "$DUMPBIN" != ":"; then
4616
 
    NM="$DUMPBIN"
4617
 
  fi
4618
 
fi
4619
 
test -z "$NM" && NM=nm
4620
 
 
4621
 
 
4622
 
    
4623
 
    
4624
 
    
4625
 
 
4626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4627
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4628
 
if ${lt_cv_nm_interface+:} false; then :
4629
 
  $as_echo_n "(cached) " >&6
4630
 
else
4631
 
  lt_cv_nm_interface="BSD nm"
4632
 
  echo "int some_variable = 0;" > conftest.$ac_ext
4633
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4634
 
  (eval "$ac_compile" 2>conftest.err)
4635
 
  cat conftest.err >&5
4636
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4637
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4638
 
  cat conftest.err >&5
4639
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4640
 
  cat conftest.out >&5
4641
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4642
 
    lt_cv_nm_interface="MS dumpbin"
4643
 
  fi
4644
 
  rm -f conftest*
4645
 
fi
4646
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4647
 
$as_echo "$lt_cv_nm_interface" >&6; }
4648
 
 
4649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4650
 
$as_echo_n "checking whether ln -s works... " >&6; }
4651
 
LN_S=$as_ln_s
4652
 
if test "$LN_S" = "ln -s"; then
4653
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4654
 
$as_echo "yes" >&6; }
4655
 
else
4656
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4657
 
$as_echo "no, using $LN_S" >&6; }
4658
 
fi
4659
 
 
4660
 
# find the maximum length of command line arguments
4661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4662
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4663
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
4664
 
  $as_echo_n "(cached) " >&6
4665
 
else
4666
 
    i=0
4667
 
  teststring="ABCD"
4668
 
 
4669
 
  case $build_os in
4670
 
  msdosdjgpp*)
4671
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4672
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4673
 
    # during glob expansion).  Even if it were fixed, the result of this
4674
 
    # check would be larger than it should be.
4675
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4676
 
    ;;
4677
 
 
4678
 
  gnu*)
4679
 
    # Under GNU Hurd, this test is not required because there is
4680
 
    # no limit to the length of command line arguments.
4681
 
    # Libtool will interpret -1 as no limit whatsoever
4682
 
    lt_cv_sys_max_cmd_len=-1;
4683
 
    ;;
4684
 
 
4685
 
  cygwin* | mingw* | cegcc*)
4686
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4687
 
    # about 5 minutes as the teststring grows exponentially.
4688
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
4689
 
    # you end up with a "frozen" computer, even though with patience
4690
 
    # the test eventually succeeds (with a max line length of 256k).
4691
 
    # Instead, let's just punt: use the minimum linelength reported by
4692
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
4693
 
    lt_cv_sys_max_cmd_len=8192;
4694
 
    ;;
4695
 
 
4696
 
  mint*)
4697
 
    # On MiNT this can take a long time and run out of memory.
4698
 
    lt_cv_sys_max_cmd_len=8192;
4699
 
    ;;
4700
 
 
4701
 
  amigaos*)
4702
 
    # On AmigaOS with pdksh, this test takes hours, literally.
4703
 
    # So we just punt and use a minimum line length of 8192.
4704
 
    lt_cv_sys_max_cmd_len=8192;
4705
 
    ;;
4706
 
 
4707
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4708
 
    # This has been around since 386BSD, at least.  Likely further.
4709
 
    if test -x /sbin/sysctl; then
4710
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4711
 
    elif test -x /usr/sbin/sysctl; then
4712
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4713
 
    else
4714
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4715
 
    fi
4716
 
    # And add a safety zone
4717
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4718
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4719
 
    ;;
4720
 
 
4721
 
  interix*)
4722
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4723
 
    lt_cv_sys_max_cmd_len=196608
4724
 
    ;;
4725
 
 
4726
 
  osf*)
4727
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4728
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4729
 
    # nice to cause kernel panics so lets avoid the loop below.
4730
 
    # First set a reasonable default.
4731
 
    lt_cv_sys_max_cmd_len=16384
4732
 
    #
4733
 
    if test -x /sbin/sysconfig; then
4734
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4735
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4736
 
      esac
4737
 
    fi
4738
 
    ;;
4739
 
  sco3.2v5*)
4740
 
    lt_cv_sys_max_cmd_len=102400
4741
 
    ;;
4742
 
  sysv5* | sco5v6* | sysv4.2uw2*)
4743
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4744
 
    if test -n "$kargmax"; then
4745
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4746
 
    else
4747
 
      lt_cv_sys_max_cmd_len=32768
4748
 
    fi
4749
 
    ;;
4750
 
  *)
4751
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4752
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
4753
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4754
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4755
 
    else
4756
 
      # Make teststring a little bigger before we do anything with it.
4757
 
      # a 1K string should be a reasonable start.
4758
 
      for i in 1 2 3 4 5 6 7 8 ; do
4759
 
        teststring=$teststring$teststring
4760
 
      done
4761
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4762
 
      # If test is not a shell built-in, we'll probably end up computing a
4763
 
      # maximum length that is only half of the actual maximum length, but
4764
 
      # we can't tell.
4765
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4766
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4767
 
              test $i != 17 # 1/2 MB should be enough
4768
 
      do
4769
 
        i=`expr $i + 1`
4770
 
        teststring=$teststring$teststring
4771
 
      done
4772
 
      # Only check the string length outside the loop.
4773
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4774
 
      teststring=
4775
 
      # Add a significant safety factor because C++ compilers can tack on
4776
 
      # massive amounts of additional arguments before passing them to the
4777
 
      # linker.  It appears as though 1/2 is a usable value.
4778
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4779
 
    fi
4780
 
    ;;
4781
 
  esac
4782
 
 
4783
 
fi
4784
 
 
4785
 
if test -n $lt_cv_sys_max_cmd_len ; then
4786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4787
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4788
 
else
4789
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4790
 
$as_echo "none" >&6; }
4791
 
fi
4792
 
max_cmd_len=$lt_cv_sys_max_cmd_len
4793
 
 
4794
 
    
4795
 
    
4796
 
    
4797
 
 
4798
 
 
4799
 
: ${CP="cp -f"}
4800
 
: ${MV="mv -f"}
4801
 
: ${RM="rm -f"}
4802
 
 
4803
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4804
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4805
 
# Try some XSI features
4806
 
xsi_shell=no
4807
 
( _lt_dummy="a/b/c"
4808
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4809
 
      = c,a/b,b/c, \
4810
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
4811
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4812
 
  && xsi_shell=yes
4813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4814
 
$as_echo "$xsi_shell" >&6; }
4815
 
 
4816
 
 
4817
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4818
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4819
 
lt_shell_append=no
4820
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4821
 
    >/dev/null 2>&1 \
4822
 
  && lt_shell_append=yes
4823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4824
 
$as_echo "$lt_shell_append" >&6; }
4825
 
 
4826
 
 
4827
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4828
 
  lt_unset=unset
4829
 
else
4830
 
  lt_unset=false
4831
 
fi
4832
 
 
4833
 
    
4834
 
    
4835
 
    
4836
 
 
4837
 
# test EBCDIC or ASCII
4838
 
case `echo X|tr X '\101'` in
4839
 
 A) # ASCII based system
4840
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4841
 
  lt_SP2NL='tr \040 \012'
4842
 
  lt_NL2SP='tr \015\012 \040\040'
4843
 
  ;;
4844
 
 *) # EBCDIC based system
4845
 
  lt_SP2NL='tr \100 \n'
4846
 
  lt_NL2SP='tr \r\n \100\100'
4847
 
  ;;
4848
 
esac
4849
 
 
4850
 
    
4851
 
    
4852
 
    
4853
 
 
4854
 
    
4855
 
    
4856
 
    
4857
 
 
4858
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4859
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4860
 
if ${lt_cv_to_host_file_cmd+:} false; then :
4861
 
  $as_echo_n "(cached) " >&6
4862
 
else
4863
 
  case $host in
4864
 
  *-*-mingw* )
4865
 
    case $build in
4866
 
      *-*-mingw* ) # actually msys
4867
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4868
 
        ;;
4869
 
      *-*-cygwin* )
4870
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4871
 
        ;;
4872
 
      * ) # otherwise, assume *nix
4873
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4874
 
        ;;
4875
 
    esac
4876
 
    ;;
4877
 
  *-*-cygwin* )
4878
 
    case $build in
4879
 
      *-*-mingw* ) # actually msys
4880
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4881
 
        ;;
4882
 
      *-*-cygwin* )
4883
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
4884
 
        ;;
4885
 
      * ) # otherwise, assume *nix
4886
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4887
 
        ;;
4888
 
    esac
4889
 
    ;;
4890
 
  * ) # unhandled hosts (and "normal" native builds)
4891
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
4892
 
    ;;
4893
 
esac
4894
 
 
4895
 
fi
4896
 
 
4897
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
4898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4899
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4900
 
 
4901
 
    
4902
 
    
4903
 
    
4904
 
 
4905
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4906
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4907
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
4908
 
  $as_echo_n "(cached) " >&6
4909
 
else
4910
 
  #assume ordinary cross tools, or native build.
4911
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
4912
 
case $host in
4913
 
  *-*-mingw* )
4914
 
    case $build in
4915
 
      *-*-mingw* ) # actually msys
4916
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4917
 
        ;;
4918
 
    esac
4919
 
    ;;
4920
 
esac
4921
 
 
4922
 
fi
4923
 
 
4924
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4926
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4927
 
 
4928
 
    
4929
 
    
4930
 
    
4931
 
 
4932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4933
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4934
 
if ${lt_cv_ld_reload_flag+:} false; then :
4935
 
  $as_echo_n "(cached) " >&6
4936
 
else
4937
 
  lt_cv_ld_reload_flag='-r'
4938
 
fi
4939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4940
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4941
 
reload_flag=$lt_cv_ld_reload_flag
4942
 
case $reload_flag in
4943
 
"" | " "*) ;;
4944
 
*) reload_flag=" $reload_flag" ;;
4945
 
esac
4946
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4947
 
case $host_os in
4948
 
  cygwin* | mingw* | pw32* | cegcc*)
4949
 
    if test "$GCC" != yes; then
4950
 
      reload_cmds=false
4951
 
    fi
4952
 
    ;;
4953
 
  darwin*)
4954
 
    if test "$GCC" = yes; then
4955
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4956
 
    else
4957
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4958
 
    fi
4959
 
    ;;
4960
 
esac
4961
 
 
4962
 
    
4963
 
    
4964
 
    
4965
 
 
4966
 
    
4967
 
    
4968
 
    
4969
 
 
4970
 
if test -n "$ac_tool_prefix"; then
4971
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4972
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4973
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974
 
$as_echo_n "checking for $ac_word... " >&6; }
4975
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
4976
 
  $as_echo_n "(cached) " >&6
4977
 
else
4978
 
  if test -n "$OBJDUMP"; then
4979
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4980
 
else
4981
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982
 
for as_dir in $PATH
4983
 
do
4984
 
  IFS=$as_save_IFS
4985
 
  test -z "$as_dir" && as_dir=.
4986
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4987
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4989
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990
 
    break 2
4991
 
  fi
4992
 
done
4993
 
  done
4994
 
IFS=$as_save_IFS
4995
 
 
4996
 
fi
4997
 
fi
4998
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4999
 
if test -n "$OBJDUMP"; then
5000
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5001
 
$as_echo "$OBJDUMP" >&6; }
5002
 
else
5003
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004
 
$as_echo "no" >&6; }
5005
 
fi
5006
 
 
5007
 
 
5008
 
fi
5009
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5010
 
  ac_ct_OBJDUMP=$OBJDUMP
5011
 
  # Extract the first word of "objdump", so it can be a program name with args.
5012
 
set dummy objdump; ac_word=$2
5013
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014
 
$as_echo_n "checking for $ac_word... " >&6; }
5015
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5016
 
  $as_echo_n "(cached) " >&6
5017
 
else
5018
 
  if test -n "$ac_ct_OBJDUMP"; then
5019
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5020
 
else
5021
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022
 
for as_dir in $PATH
5023
 
do
5024
 
  IFS=$as_save_IFS
5025
 
  test -z "$as_dir" && as_dir=.
5026
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5027
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5029
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030
 
    break 2
5031
 
  fi
5032
 
done
5033
 
  done
5034
 
IFS=$as_save_IFS
5035
 
 
5036
 
fi
5037
 
fi
5038
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5039
 
if test -n "$ac_ct_OBJDUMP"; then
5040
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5041
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5042
 
else
5043
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044
 
$as_echo "no" >&6; }
5045
 
fi
5046
 
 
5047
 
  if test "x$ac_ct_OBJDUMP" = x; then
5048
 
    OBJDUMP="false"
5049
 
  else
5050
 
    case $cross_compiling:$ac_tool_warned in
5051
 
yes:)
5052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5053
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5054
 
ac_tool_warned=yes ;;
5055
 
esac
5056
 
    OBJDUMP=$ac_ct_OBJDUMP
5057
 
  fi
5058
 
else
5059
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5060
 
fi
5061
 
 
5062
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5063
 
 
5064
 
    
5065
 
    
5066
 
    
5067
 
 
5068
 
 
5069
 
 
5070
 
 
5071
 
 
5072
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5073
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5074
 
if ${lt_cv_deplibs_check_method+:} false; then :
5075
 
  $as_echo_n "(cached) " >&6
5076
 
else
5077
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5078
 
lt_cv_file_magic_test_file=
5079
 
lt_cv_deplibs_check_method='unknown'
5080
 
# Need to set the preceding variable on all platforms that support
5081
 
# interlibrary dependencies.
5082
 
# 'none' -- dependencies not supported.
5083
 
# `unknown' -- same as none, but documents that we really don't know.
5084
 
# 'pass_all' -- all dependencies passed with no checks.
5085
 
# 'test_compile' -- check by making test program.
5086
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5087
 
# which responds to the $file_magic_cmd with a given extended regex.
5088
 
# If you have `file' or equivalent on your system and you're not sure
5089
 
# whether `pass_all' will *always* work, you probably want this one.
5090
 
 
5091
 
case $host_os in
5092
 
aix[4-9]*)
5093
 
  lt_cv_deplibs_check_method=pass_all
5094
 
  ;;
5095
 
 
5096
 
beos*)
5097
 
  lt_cv_deplibs_check_method=pass_all
5098
 
  ;;
5099
 
 
5100
 
bsdi[45]*)
5101
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5102
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5103
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5104
 
  ;;
5105
 
 
5106
 
cygwin*)
5107
 
  # func_win32_libid is a shell function defined in ltmain.sh
5108
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5109
 
  lt_cv_file_magic_cmd='func_win32_libid'
5110
 
  ;;
5111
 
 
5112
 
mingw* | pw32*)
5113
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5114
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5115
 
  # unless we find 'file', for example because we are cross-compiling.
5116
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5117
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5118
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5119
 
    lt_cv_file_magic_cmd='func_win32_libid'
5120
 
  else
5121
 
    # Keep this pattern in sync with the one in func_win32_libid.
5122
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5123
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5124
 
  fi
5125
 
  ;;
5126
 
 
5127
 
cegcc*)
5128
 
  # use the weaker test based on 'objdump'. See mingw*.
5129
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5130
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5131
 
  ;;
5132
 
 
5133
 
darwin* | rhapsody*)
5134
 
  lt_cv_deplibs_check_method=pass_all
5135
 
  ;;
5136
 
 
5137
 
freebsd* | dragonfly*)
5138
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5139
 
    case $host_cpu in
5140
 
    i*86 )
5141
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5142
 
      # Let's accept both of them until this is cleared up.
5143
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5144
 
      lt_cv_file_magic_cmd=/usr/bin/file
5145
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5146
 
      ;;
5147
 
    esac
5148
 
  else
5149
 
    lt_cv_deplibs_check_method=pass_all
5150
 
  fi
5151
 
  ;;
5152
 
 
5153
 
gnu*)
5154
 
  lt_cv_deplibs_check_method=pass_all
5155
 
  ;;
5156
 
 
5157
 
haiku*)
5158
 
  lt_cv_deplibs_check_method=pass_all
5159
 
  ;;
5160
 
 
5161
 
hpux10.20* | hpux11*)
5162
 
  lt_cv_file_magic_cmd=/usr/bin/file
5163
 
  case $host_cpu in
5164
 
  ia64*)
5165
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5166
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5167
 
    ;;
5168
 
  hppa*64*)
5169
 
    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]'
5170
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5171
 
    ;;
5172
 
  *)
5173
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5174
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5175
 
    ;;
5176
 
  esac
5177
 
  ;;
5178
 
 
5179
 
interix[3-9]*)
5180
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5181
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5182
 
  ;;
5183
 
 
5184
 
irix5* | irix6* | nonstopux*)
5185
 
  case $LD in
5186
 
  *-32|*"-32 ") libmagic=32-bit;;
5187
 
  *-n32|*"-n32 ") libmagic=N32;;
5188
 
  *-64|*"-64 ") libmagic=64-bit;;
5189
 
  *) libmagic=never-match;;
5190
 
  esac
5191
 
  lt_cv_deplibs_check_method=pass_all
5192
 
  ;;
5193
 
 
5194
 
# This must be Linux ELF.
5195
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5196
 
  lt_cv_deplibs_check_method=pass_all
5197
 
  ;;
5198
 
 
5199
 
netbsd* | netbsdelf*-gnu)
5200
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5201
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5202
 
  else
5203
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5204
 
  fi
5205
 
  ;;
5206
 
 
5207
 
newos6*)
5208
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5209
 
  lt_cv_file_magic_cmd=/usr/bin/file
5210
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5211
 
  ;;
5212
 
 
5213
 
*nto* | *qnx*)
5214
 
  lt_cv_deplibs_check_method=pass_all
5215
 
  ;;
5216
 
 
5217
 
openbsd*)
5218
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5219
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5220
 
  else
5221
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5222
 
  fi
5223
 
  ;;
5224
 
 
5225
 
osf3* | osf4* | osf5*)
5226
 
  lt_cv_deplibs_check_method=pass_all
5227
 
  ;;
5228
 
 
5229
 
rdos*)
5230
 
  lt_cv_deplibs_check_method=pass_all
5231
 
  ;;
5232
 
 
5233
 
solaris*)
5234
 
  lt_cv_deplibs_check_method=pass_all
5235
 
  ;;
5236
 
 
5237
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5238
 
  lt_cv_deplibs_check_method=pass_all
5239
 
  ;;
5240
 
 
5241
 
sysv4 | sysv4.3*)
5242
 
  case $host_vendor in
5243
 
  motorola)
5244
 
    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]'
5245
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5246
 
    ;;
5247
 
  ncr)
5248
 
    lt_cv_deplibs_check_method=pass_all
5249
 
    ;;
5250
 
  sequent)
5251
 
    lt_cv_file_magic_cmd='/bin/file'
5252
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5253
 
    ;;
5254
 
  sni)
5255
 
    lt_cv_file_magic_cmd='/bin/file'
5256
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5257
 
    lt_cv_file_magic_test_file=/lib/libc.so
5258
 
    ;;
5259
 
  siemens)
5260
 
    lt_cv_deplibs_check_method=pass_all
5261
 
    ;;
5262
 
  pc)
5263
 
    lt_cv_deplibs_check_method=pass_all
5264
 
    ;;
5265
 
  esac
5266
 
  ;;
5267
 
 
5268
 
tpf*)
5269
 
  lt_cv_deplibs_check_method=pass_all
5270
 
  ;;
5271
 
esac
5272
 
 
5273
 
fi
5274
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5275
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5276
 
 
5277
 
file_magic_glob=
5278
 
want_nocaseglob=no
5279
 
if test "$build" = "$host"; then
5280
 
  case $host_os in
5281
 
  mingw* | pw32*)
5282
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5283
 
      want_nocaseglob=yes
5284
 
    else
5285
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5286
 
    fi
5287
 
    ;;
5288
 
  esac
5289
 
fi
5290
 
 
5291
 
file_magic_cmd=$lt_cv_file_magic_cmd
5292
 
deplibs_check_method=$lt_cv_deplibs_check_method
5293
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5294
 
 
5295
 
 
5296
 
    
5297
 
    
5298
 
    
5299
 
 
5300
 
 
5301
 
    
5302
 
    
5303
 
    
5304
 
 
5305
 
 
5306
 
    
5307
 
    
5308
 
    
5309
 
 
5310
 
 
5311
 
    
5312
 
    
5313
 
    
5314
 
 
5315
 
 
5316
 
if test -n "$ac_tool_prefix"; then
5317
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5318
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5319
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320
 
$as_echo_n "checking for $ac_word... " >&6; }
5321
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
5322
 
  $as_echo_n "(cached) " >&6
5323
 
else
5324
 
  if test -n "$DLLTOOL"; then
5325
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5326
 
else
5327
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328
 
for as_dir in $PATH
5329
 
do
5330
 
  IFS=$as_save_IFS
5331
 
  test -z "$as_dir" && as_dir=.
5332
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5333
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5335
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336
 
    break 2
5337
 
  fi
5338
 
done
5339
 
  done
5340
 
IFS=$as_save_IFS
5341
 
 
5342
 
fi
5343
 
fi
5344
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5345
 
if test -n "$DLLTOOL"; then
5346
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5347
 
$as_echo "$DLLTOOL" >&6; }
5348
 
else
5349
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350
 
$as_echo "no" >&6; }
5351
 
fi
5352
 
 
5353
 
 
5354
 
fi
5355
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5356
 
  ac_ct_DLLTOOL=$DLLTOOL
5357
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5358
 
set dummy dlltool; ac_word=$2
5359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360
 
$as_echo_n "checking for $ac_word... " >&6; }
5361
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5362
 
  $as_echo_n "(cached) " >&6
5363
 
else
5364
 
  if test -n "$ac_ct_DLLTOOL"; then
5365
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5366
 
else
5367
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368
 
for as_dir in $PATH
5369
 
do
5370
 
  IFS=$as_save_IFS
5371
 
  test -z "$as_dir" && as_dir=.
5372
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5373
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5375
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376
 
    break 2
5377
 
  fi
5378
 
done
5379
 
  done
5380
 
IFS=$as_save_IFS
5381
 
 
5382
 
fi
5383
 
fi
5384
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5385
 
if test -n "$ac_ct_DLLTOOL"; then
5386
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5387
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
5388
 
else
5389
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390
 
$as_echo "no" >&6; }
5391
 
fi
5392
 
 
5393
 
  if test "x$ac_ct_DLLTOOL" = x; then
5394
 
    DLLTOOL="false"
5395
 
  else
5396
 
    case $cross_compiling:$ac_tool_warned in
5397
 
yes:)
5398
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5399
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5400
 
ac_tool_warned=yes ;;
5401
 
esac
5402
 
    DLLTOOL=$ac_ct_DLLTOOL
5403
 
  fi
5404
 
else
5405
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5406
 
fi
5407
 
 
5408
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5409
 
 
5410
 
    
5411
 
    
5412
 
    
5413
 
 
5414
 
 
5415
 
 
5416
 
 
5417
 
 
5418
 
 
5419
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5420
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5421
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5422
 
  $as_echo_n "(cached) " >&6
5423
 
else
5424
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5425
 
 
5426
 
case $host_os in
5427
 
cygwin* | mingw* | pw32* | cegcc*)
5428
 
  # two different shell functions defined in ltmain.sh
5429
 
  # decide which to use based on capabilities of $DLLTOOL
5430
 
  case `$DLLTOOL --help 2>&1` in
5431
 
  *--identify-strict*)
5432
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5433
 
    ;;
5434
 
  *)
5435
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5436
 
    ;;
5437
 
  esac
5438
 
  ;;
5439
 
*)
5440
 
  # fallback: assume linklib IS sharedlib
5441
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5442
 
  ;;
5443
 
esac
5444
 
 
5445
 
fi
5446
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5447
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5448
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5449
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5450
 
 
5451
 
 
5452
 
    
5453
 
    
5454
 
    
5455
 
 
5456
 
 
5457
 
 
5458
 
if test -n "$ac_tool_prefix"; then
5459
 
  for ac_prog in ar
5460
 
  do
5461
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5462
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464
 
$as_echo_n "checking for $ac_word... " >&6; }
5465
 
if ${ac_cv_prog_AR+:} false; then :
5466
 
  $as_echo_n "(cached) " >&6
5467
 
else
5468
 
  if test -n "$AR"; then
5469
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5470
 
else
5471
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472
 
for as_dir in $PATH
5473
 
do
5474
 
  IFS=$as_save_IFS
5475
 
  test -z "$as_dir" && as_dir=.
5476
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5477
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5479
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480
 
    break 2
5481
 
  fi
5482
 
done
5483
 
  done
5484
 
IFS=$as_save_IFS
5485
 
 
5486
 
fi
5487
 
fi
5488
 
AR=$ac_cv_prog_AR
5489
 
if test -n "$AR"; then
5490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5491
 
$as_echo "$AR" >&6; }
5492
 
else
5493
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494
 
$as_echo "no" >&6; }
5495
 
fi
5496
 
 
5497
 
 
5498
 
    test -n "$AR" && break
5499
 
  done
5500
 
fi
5501
 
if test -z "$AR"; then
5502
 
  ac_ct_AR=$AR
5503
 
  for ac_prog in ar
5504
 
do
5505
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5506
 
set dummy $ac_prog; ac_word=$2
5507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508
 
$as_echo_n "checking for $ac_word... " >&6; }
5509
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5510
 
  $as_echo_n "(cached) " >&6
5511
 
else
5512
 
  if test -n "$ac_ct_AR"; then
5513
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5514
 
else
5515
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516
 
for as_dir in $PATH
5517
 
do
5518
 
  IFS=$as_save_IFS
5519
 
  test -z "$as_dir" && as_dir=.
5520
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5521
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5522
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
5523
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524
 
    break 2
5525
 
  fi
5526
 
done
5527
 
  done
5528
 
IFS=$as_save_IFS
5529
 
 
5530
 
fi
5531
 
fi
5532
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5533
 
if test -n "$ac_ct_AR"; then
5534
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5535
 
$as_echo "$ac_ct_AR" >&6; }
5536
 
else
5537
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538
 
$as_echo "no" >&6; }
5539
 
fi
5540
 
 
5541
 
 
5542
 
  test -n "$ac_ct_AR" && break
5543
 
done
5544
 
 
5545
 
  if test "x$ac_ct_AR" = x; then
5546
 
    AR="false"
5547
 
  else
5548
 
    case $cross_compiling:$ac_tool_warned in
5549
 
yes:)
5550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552
 
ac_tool_warned=yes ;;
5553
 
esac
5554
 
    AR=$ac_ct_AR
5555
 
  fi
5556
 
fi
5557
 
 
5558
 
: ${AR=ar}
5559
 
: ${AR_FLAGS=cru}
5560
 
 
5561
 
    
5562
 
    
5563
 
    
5564
 
 
5565
 
 
5566
 
    
5567
 
    
5568
 
    
5569
 
 
5570
 
 
5571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5572
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
5573
 
if ${lt_cv_ar_at_file+:} false; then :
5574
 
  $as_echo_n "(cached) " >&6
5575
 
else
5576
 
  lt_cv_ar_at_file=no
5577
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578
 
/* end confdefs.h.  */
5579
 
 
5580
 
int
5581
 
main ()
5582
 
{
5583
 
 
5584
 
  ;
5585
 
  return 0;
5586
 
}
5587
 
_ACEOF
5588
 
if ac_fn_c_try_compile "$LINENO"; then :
5589
 
  echo conftest.$ac_objext > conftest.lst
5590
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5591
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5592
 
  (eval $lt_ar_try) 2>&5
5593
 
  ac_status=$?
5594
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5595
 
  test $ac_status = 0; }
5596
 
      if test "$ac_status" -eq 0; then
5597
 
        # Ensure the archiver fails upon bogus file names.
5598
 
        rm -f conftest.$ac_objext libconftest.a
5599
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5600
 
  (eval $lt_ar_try) 2>&5
5601
 
  ac_status=$?
5602
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5603
 
  test $ac_status = 0; }
5604
 
        if test "$ac_status" -ne 0; then
5605
 
          lt_cv_ar_at_file=@
5606
 
        fi
5607
 
      fi
5608
 
      rm -f conftest.* libconftest.a
5609
 
     
5610
 
fi
5611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5612
 
  
5613
 
fi
5614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5615
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5616
 
 
5617
 
if test "x$lt_cv_ar_at_file" = xno; then
5618
 
  archiver_list_spec=
5619
 
else
5620
 
  archiver_list_spec=$lt_cv_ar_at_file
5621
 
fi
5622
 
 
5623
 
    
5624
 
    
5625
 
    
5626
 
 
5627
 
 
5628
 
 
5629
 
if test -n "$ac_tool_prefix"; then
5630
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5631
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633
 
$as_echo_n "checking for $ac_word... " >&6; }
5634
 
if ${ac_cv_prog_STRIP+:} false; then :
5635
 
  $as_echo_n "(cached) " >&6
5636
 
else
5637
 
  if test -n "$STRIP"; then
5638
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5639
 
else
5640
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641
 
for as_dir in $PATH
5642
 
do
5643
 
  IFS=$as_save_IFS
5644
 
  test -z "$as_dir" && as_dir=.
5645
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5646
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5648
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649
 
    break 2
5650
 
  fi
5651
 
done
5652
 
  done
5653
 
IFS=$as_save_IFS
5654
 
 
5655
 
fi
5656
 
fi
5657
 
STRIP=$ac_cv_prog_STRIP
5658
 
if test -n "$STRIP"; then
5659
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5660
 
$as_echo "$STRIP" >&6; }
5661
 
else
5662
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663
 
$as_echo "no" >&6; }
5664
 
fi
5665
 
 
5666
 
 
5667
 
fi
5668
 
if test -z "$ac_cv_prog_STRIP"; then
5669
 
  ac_ct_STRIP=$STRIP
5670
 
  # Extract the first word of "strip", so it can be a program name with args.
5671
 
set dummy strip; ac_word=$2
5672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673
 
$as_echo_n "checking for $ac_word... " >&6; }
5674
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5675
 
  $as_echo_n "(cached) " >&6
5676
 
else
5677
 
  if test -n "$ac_ct_STRIP"; then
5678
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5679
 
else
5680
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681
 
for as_dir in $PATH
5682
 
do
5683
 
  IFS=$as_save_IFS
5684
 
  test -z "$as_dir" && as_dir=.
5685
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5686
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687
 
    ac_cv_prog_ac_ct_STRIP="strip"
5688
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689
 
    break 2
5690
 
  fi
5691
 
done
5692
 
  done
5693
 
IFS=$as_save_IFS
5694
 
 
5695
 
fi
5696
 
fi
5697
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5698
 
if test -n "$ac_ct_STRIP"; then
5699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5700
 
$as_echo "$ac_ct_STRIP" >&6; }
5701
 
else
5702
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703
 
$as_echo "no" >&6; }
5704
 
fi
5705
 
 
5706
 
  if test "x$ac_ct_STRIP" = x; then
5707
 
    STRIP=":"
5708
 
  else
5709
 
    case $cross_compiling:$ac_tool_warned in
5710
 
yes:)
5711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5712
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5713
 
ac_tool_warned=yes ;;
5714
 
esac
5715
 
    STRIP=$ac_ct_STRIP
5716
 
  fi
5717
 
else
5718
 
  STRIP="$ac_cv_prog_STRIP"
5719
 
fi
5720
 
 
5721
 
test -z "$STRIP" && STRIP=:
5722
 
 
5723
 
    
5724
 
    
5725
 
    
5726
 
 
5727
 
 
5728
 
if test -n "$ac_tool_prefix"; then
5729
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5730
 
set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
5734
 
  $as_echo_n "(cached) " >&6
5735
 
else
5736
 
  if test -n "$RANLIB"; then
5737
 
  ac_cv_prog_RANLIB="$RANLIB" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5746
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
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
 
RANLIB=$ac_cv_prog_RANLIB
5757
 
if test -n "$RANLIB"; then
5758
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5759
 
$as_echo "$RANLIB" >&6; }
5760
 
else
5761
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762
 
$as_echo "no" >&6; }
5763
 
fi
5764
 
 
5765
 
 
5766
 
fi
5767
 
if test -z "$ac_cv_prog_RANLIB"; then
5768
 
  ac_ct_RANLIB=$RANLIB
5769
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5770
 
set dummy ranlib; ac_word=$2
5771
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772
 
$as_echo_n "checking for $ac_word... " >&6; }
5773
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5774
 
  $as_echo_n "(cached) " >&6
5775
 
else
5776
 
  if test -n "$ac_ct_RANLIB"; then
5777
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5778
 
else
5779
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780
 
for as_dir in $PATH
5781
 
do
5782
 
  IFS=$as_save_IFS
5783
 
  test -z "$as_dir" && as_dir=.
5784
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5785
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5787
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788
 
    break 2
5789
 
  fi
5790
 
done
5791
 
  done
5792
 
IFS=$as_save_IFS
5793
 
 
5794
 
fi
5795
 
fi
5796
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5797
 
if test -n "$ac_ct_RANLIB"; then
5798
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5799
 
$as_echo "$ac_ct_RANLIB" >&6; }
5800
 
else
5801
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802
 
$as_echo "no" >&6; }
5803
 
fi
5804
 
 
5805
 
  if test "x$ac_ct_RANLIB" = x; then
5806
 
    RANLIB=":"
5807
 
  else
5808
 
    case $cross_compiling:$ac_tool_warned in
5809
 
yes:)
5810
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5811
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5812
 
ac_tool_warned=yes ;;
5813
 
esac
5814
 
    RANLIB=$ac_ct_RANLIB
5815
 
  fi
5816
 
else
5817
 
  RANLIB="$ac_cv_prog_RANLIB"
5818
 
fi
5819
 
 
5820
 
test -z "$RANLIB" && RANLIB=:
5821
 
 
5822
 
    
5823
 
    
5824
 
    
5825
 
 
5826
 
 
5827
 
# Determine commands to create old-style static archives.
5828
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5829
 
old_postinstall_cmds='chmod 644 $oldlib'
5830
 
old_postuninstall_cmds=
5831
 
 
5832
 
if test -n "$RANLIB"; then
5833
 
  case $host_os in
5834
 
  openbsd*)
5835
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5836
 
    ;;
5837
 
  *)
5838
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5839
 
    ;;
5840
 
  esac
5841
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5842
 
fi
5843
 
 
5844
 
case $host_os in
5845
 
  darwin*)
5846
 
    lock_old_archive_extraction=yes ;;
5847
 
  *)
5848
 
    lock_old_archive_extraction=no ;;
5849
 
esac
5850
 
 
5851
 
    
5852
 
    
5853
 
    
5854
 
 
5855
 
 
5856
 
    
5857
 
    
5858
 
    
5859
 
 
5860
 
 
5861
 
    
5862
 
    
5863
 
    
5864
 
 
5865
 
 
5866
 
    
5867
 
    
5868
 
    
5869
 
 
5870
 
 
5871
 
 
5872
 
 
5873
 
    
5874
 
    
5875
 
    
5876
 
 
5877
 
    
5878
 
    
5879
 
    
5880
 
 
5881
 
    
5882
 
    
5883
 
    
5884
 
 
5885
 
    
5886
 
    
5887
 
    
5888
 
 
5889
 
# If no C compiler was specified, use CC.
5890
 
LTCC=${LTCC-"$CC"}
5891
 
 
5892
 
# If no C compiler flags were specified, use CFLAGS.
5893
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5894
 
 
5895
 
# Allow CC to be a program name with arguments.
5896
 
compiler=$CC
5897
 
 
5898
 
 
5899
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
5900
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5901
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5902
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5903
 
  $as_echo_n "(cached) " >&6
5904
 
else
5905
 
  
5906
 
# These are sane defaults that work on at least a few old systems.
5907
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5908
 
 
5909
 
# Character class describing NM global symbol codes.
5910
 
symcode='[BCDEGRST]'
5911
 
 
5912
 
# Regexp to match symbols that can be accessed directly from C.
5913
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5914
 
 
5915
 
# Define system-specific variables.
5916
 
case $host_os in
5917
 
aix*)
5918
 
  symcode='[BCDT]'
5919
 
  ;;
5920
 
cygwin* | mingw* | pw32* | cegcc*)
5921
 
  symcode='[ABCDGISTW]'
5922
 
  ;;
5923
 
hpux*)
5924
 
  if test "$host_cpu" = ia64; then
5925
 
    symcode='[ABCDEGRST]'
5926
 
  fi
5927
 
  ;;
5928
 
irix* | nonstopux*)
5929
 
  symcode='[BCDEGRST]'
5930
 
  ;;
5931
 
osf*)
5932
 
  symcode='[BCDEGQRST]'
5933
 
  ;;
5934
 
solaris*)
5935
 
  symcode='[BDRT]'
5936
 
  ;;
5937
 
sco3.2v5*)
5938
 
  symcode='[DT]'
5939
 
  ;;
5940
 
sysv4.2uw2*)
5941
 
  symcode='[DT]'
5942
 
  ;;
5943
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5944
 
  symcode='[ABDT]'
5945
 
  ;;
5946
 
sysv4)
5947
 
  symcode='[DFNSTU]'
5948
 
  ;;
5949
 
esac
5950
 
 
5951
 
# If we're using GNU nm, then use its standard symbol codes.
5952
 
case `$NM -V 2>&1` in
5953
 
*GNU* | *'with BFD'*)
5954
 
  symcode='[ABCDGIRSTW]' ;;
5955
 
esac
5956
 
 
5957
 
# Transform an extracted symbol line into a proper C declaration.
5958
 
# Some systems (esp. on ia64) link data and code symbols differently,
5959
 
# so use this general approach.
5960
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5961
 
 
5962
 
# Transform an extracted symbol line into symbol name and symbol address
5963
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5964
 
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'"
5965
 
 
5966
 
# Handle CRLF in mingw tool chain
5967
 
opt_cr=
5968
 
case $build_os in
5969
 
mingw*)
5970
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5971
 
  ;;
5972
 
esac
5973
 
 
5974
 
# Try without a prefix underscore, then with it.
5975
 
for ac_symprfx in "" "_"; do
5976
 
 
5977
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5978
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5979
 
 
5980
 
  # Write the raw and C identifiers.
5981
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5982
 
    # Fake it for dumpbin and say T for any non-static function
5983
 
    # and D for any global variable.
5984
 
    # Also find C++ and __fastcall symbols from MSVC++,
5985
 
    # which start with @ or ?.
5986
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5987
 
"     {last_section=section; section=\$ 3};"\
5988
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5989
 
"     \$ 0!~/External *\|/{next};"\
5990
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5991
 
"     {if(hide[section]) next};"\
5992
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5993
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5994
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5995
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5996
 
"     ' prfx=^$ac_symprfx"
5997
 
  else
5998
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5999
 
  fi
6000
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6001
 
 
6002
 
  # Check to see that the pipe works correctly.
6003
 
  pipe_works=no
6004
 
 
6005
 
  rm -f conftest*
6006
 
  cat > conftest.$ac_ext <<_LT_EOF
6007
 
#ifdef __cplusplus
6008
 
extern "C" {
6009
 
#endif
6010
 
char nm_test_var;
6011
 
void nm_test_func(void);
6012
 
void nm_test_func(void){}
6013
 
#ifdef __cplusplus
6014
 
}
6015
 
#endif
6016
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6017
 
_LT_EOF
6018
 
 
6019
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6020
 
  (eval $ac_compile) 2>&5
6021
 
  ac_status=$?
6022
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023
 
  test $ac_status = 0; }; then
6024
 
    # Now try to grab the symbols.
6025
 
    nlist=conftest.nm
6026
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6027
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6028
 
  ac_status=$?
6029
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6030
 
  test $ac_status = 0; } && test -s "$nlist"; then
6031
 
      # Try sorting and uniquifying the output.
6032
 
      if sort "$nlist" | uniq > "$nlist"T; then
6033
 
        mv -f "$nlist"T "$nlist"
6034
 
      else
6035
 
        rm -f "$nlist"T
6036
 
      fi
6037
 
 
6038
 
      # Make sure that we snagged all the symbols we need.
6039
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6040
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6041
 
          cat <<_LT_EOF > conftest.$ac_ext
6042
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6043
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6044
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6045
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6046
 
# define LT@&t@_DLSYM_CONST
6047
 
#elif defined(__osf__)
6048
 
/* This system does not cope well with relocations in const data.  */
6049
 
# define LT@&t@_DLSYM_CONST
6050
 
#else
6051
 
# define LT@&t@_DLSYM_CONST const
6052
 
#endif
6053
 
 
6054
 
#ifdef __cplusplus
6055
 
extern "C" {
6056
 
#endif
6057
 
 
6058
 
_LT_EOF
6059
 
          # Now generate the symbol file.
6060
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6061
 
 
6062
 
          cat <<_LT_EOF >> conftest.$ac_ext
6063
 
 
6064
 
/* The mapping between symbol names and symbols.  */
6065
 
LT@&t@_DLSYM_CONST struct {
6066
 
  const char *name;
6067
 
  void       *address;
6068
 
}
6069
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6070
 
{
6071
 
  { "@PROGRAM@", (void *) 0 },
6072
 
_LT_EOF
6073
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6074
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6075
 
  {0, (void *) 0}
6076
 
};
6077
 
 
6078
 
/* This works around a problem in FreeBSD linker */
6079
 
#ifdef FREEBSD_WORKAROUND
6080
 
static const void *lt_preloaded_setup() {
6081
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6082
 
}
6083
 
#endif
6084
 
 
6085
 
#ifdef __cplusplus
6086
 
}
6087
 
#endif
6088
 
_LT_EOF
6089
 
          # Now try linking the two files.
6090
 
          mv conftest.$ac_objext conftstm.$ac_objext
6091
 
          lt_globsym_save_LIBS=$LIBS
6092
 
          lt_globsym_save_CFLAGS=$CFLAGS
6093
 
          LIBS="conftstm.$ac_objext"
6094
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6095
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6096
 
  (eval $ac_link) 2>&5
6097
 
  ac_status=$?
6098
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6099
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6100
 
            pipe_works=yes
6101
 
          fi
6102
 
          LIBS=$lt_globsym_save_LIBS
6103
 
          CFLAGS=$lt_globsym_save_CFLAGS
6104
 
        else
6105
 
          echo "cannot find nm_test_func in $nlist" >&5
6106
 
        fi
6107
 
      else
6108
 
        echo "cannot find nm_test_var in $nlist" >&5
6109
 
      fi
6110
 
    else
6111
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6112
 
    fi
6113
 
  else
6114
 
    echo "$progname: failed program was:" >&5
6115
 
    cat conftest.$ac_ext >&5
6116
 
  fi
6117
 
  rm -rf conftest* conftst*
6118
 
 
6119
 
  # Do not use the global_symbol_pipe unless it works.
6120
 
  if test "$pipe_works" = yes; then
6121
 
    break
6122
 
  else
6123
 
    lt_cv_sys_global_symbol_pipe=
6124
 
  fi
6125
 
done
6126
 
 
6127
 
fi
6128
 
 
6129
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6130
 
  lt_cv_sys_global_symbol_to_cdecl=
6131
 
fi
6132
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6134
 
$as_echo "failed" >&6; }
6135
 
else
6136
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6137
 
$as_echo "ok" >&6; }
6138
 
fi
6139
 
 
6140
 
# Response file support.
6141
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6142
 
  nm_file_list_spec='@'
6143
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6144
 
  nm_file_list_spec='@'
6145
 
fi
6146
 
 
6147
 
 
6148
 
    
6149
 
    
6150
 
    
6151
 
 
6152
 
 
6153
 
    
6154
 
    
6155
 
    
6156
 
 
6157
 
 
6158
 
    
6159
 
    
6160
 
    
6161
 
 
6162
 
 
6163
 
    
6164
 
    
6165
 
    
6166
 
 
6167
 
 
6168
 
    
6169
 
    
6170
 
    
6171
 
 
6172
 
 
6173
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6174
 
$as_echo_n "checking for sysroot... " >&6; }
6175
 
 
6176
 
@%:@ Check whether --with-sysroot was given.
6177
 
if test "${with_sysroot+set}" = set; then :
6178
 
  withval=$with_sysroot; 
6179
 
else
6180
 
  with_sysroot=no
6181
 
fi
6182
 
 
6183
 
 
6184
 
lt_sysroot=
6185
 
case ${with_sysroot} in #(
6186
 
 yes)
6187
 
   if test "$GCC" = yes; then
6188
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6189
 
   fi
6190
 
   ;; #(
6191
 
 /*)
6192
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6193
 
   ;; #(
6194
 
 no|'')
6195
 
   ;; #(
6196
 
 *)
6197
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6198
 
$as_echo "${with_sysroot}" >&6; }
6199
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6200
 
   ;;
6201
 
esac
6202
 
 
6203
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6204
 
$as_echo "${lt_sysroot:-no}" >&6; }
6205
 
 
6206
 
    
6207
 
    
6208
 
    
6209
 
 
6210
 
@%:@ Check whether --enable-libtool-lock was given.
6211
 
if test "${enable_libtool_lock+set}" = set; then :
6212
 
  enableval=$enable_libtool_lock; 
6213
 
fi
6214
 
 
6215
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6216
 
 
6217
 
# Some flags need to be propagated to the compiler or linker for good
6218
 
# libtool support.
6219
 
case $host in
6220
 
ia64-*-hpux*)
6221
 
  # Find out which ABI we are using.
6222
 
  echo 'int i;' > conftest.$ac_ext
6223
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6224
 
  (eval $ac_compile) 2>&5
6225
 
  ac_status=$?
6226
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6227
 
  test $ac_status = 0; }; then
6228
 
    case `/usr/bin/file conftest.$ac_objext` in
6229
 
      *ELF-32*)
6230
 
        HPUX_IA64_MODE="32"
6231
 
        ;;
6232
 
      *ELF-64*)
6233
 
        HPUX_IA64_MODE="64"
6234
 
        ;;
6235
 
    esac
6236
 
  fi
6237
 
  rm -rf conftest*
6238
 
  ;;
6239
 
*-*-irix6*)
6240
 
  # Find out which ABI we are using.
6241
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6242
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6243
 
  (eval $ac_compile) 2>&5
6244
 
  ac_status=$?
6245
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6246
 
  test $ac_status = 0; }; then
6247
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6248
 
      case `/usr/bin/file conftest.$ac_objext` in
6249
 
        *32-bit*)
6250
 
          LD="${LD-ld} -melf32bsmip"
6251
 
          ;;
6252
 
        *N32*)
6253
 
          LD="${LD-ld} -melf32bmipn32"
6254
 
          ;;
6255
 
        *64-bit*)
6256
 
          LD="${LD-ld} -melf64bmip"
6257
 
        ;;
6258
 
      esac
6259
 
    else
6260
 
      case `/usr/bin/file conftest.$ac_objext` in
6261
 
        *32-bit*)
6262
 
          LD="${LD-ld} -32"
6263
 
          ;;
6264
 
        *N32*)
6265
 
          LD="${LD-ld} -n32"
6266
 
          ;;
6267
 
        *64-bit*)
6268
 
          LD="${LD-ld} -64"
6269
 
          ;;
6270
 
      esac
6271
 
    fi
6272
 
  fi
6273
 
  rm -rf conftest*
6274
 
  ;;
6275
 
 
6276
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6277
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6278
 
  # Find out which ABI we are using.
6279
 
  echo 'int i;' > conftest.$ac_ext
6280
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6281
 
  (eval $ac_compile) 2>&5
6282
 
  ac_status=$?
6283
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6284
 
  test $ac_status = 0; }; then
6285
 
    case `/usr/bin/file conftest.o` in
6286
 
      *32-bit*)
6287
 
        case $host in
6288
 
          x86_64-*kfreebsd*-gnu)
6289
 
            LD="${LD-ld} -m elf_i386_fbsd"
6290
 
            ;;
6291
 
          x86_64-*linux*)
6292
 
            LD="${LD-ld} -m elf_i386"
6293
 
            ;;
6294
 
          ppc64-*linux*|powerpc64-*linux*)
6295
 
            LD="${LD-ld} -m elf32ppclinux"
6296
 
            ;;
6297
 
          s390x-*linux*)
6298
 
            LD="${LD-ld} -m elf_s390"
6299
 
            ;;
6300
 
          sparc64-*linux*)
6301
 
            LD="${LD-ld} -m elf32_sparc"
6302
 
            ;;
6303
 
        esac
6304
 
        ;;
6305
 
      *64-bit*)
6306
 
        case $host in
6307
 
          x86_64-*kfreebsd*-gnu)
6308
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6309
 
            ;;
6310
 
          x86_64-*linux*)
6311
 
            LD="${LD-ld} -m elf_x86_64"
6312
 
            ;;
6313
 
          ppc*-*linux*|powerpc*-*linux*)
6314
 
            LD="${LD-ld} -m elf64ppc"
6315
 
            ;;
6316
 
          s390*-*linux*|s390*-*tpf*)
6317
 
            LD="${LD-ld} -m elf64_s390"
6318
 
            ;;
6319
 
          sparc*-*linux*)
6320
 
            LD="${LD-ld} -m elf64_sparc"
6321
 
            ;;
6322
 
        esac
6323
 
        ;;
6324
 
    esac
6325
 
  fi
6326
 
  rm -rf conftest*
6327
 
  ;;
6328
 
 
6329
 
*-*-sco3.2v5*)
6330
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6331
 
  SAVE_CFLAGS="$CFLAGS"
6332
 
  CFLAGS="$CFLAGS -belf"
6333
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6334
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6335
 
if ${lt_cv_cc_needs_belf+:} false; then :
6336
 
  $as_echo_n "(cached) " >&6
6337
 
else
6338
 
  ac_ext=c
6339
 
ac_cpp='$CPP $CPPFLAGS'
6340
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6341
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6342
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6343
 
 
6344
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345
 
/* end confdefs.h.  */
6346
 
 
6347
 
int
6348
 
main ()
6349
 
{
6350
 
 
6351
 
  ;
6352
 
  return 0;
6353
 
}
6354
 
_ACEOF
6355
 
if ac_fn_c_try_link "$LINENO"; then :
6356
 
  lt_cv_cc_needs_belf=yes
6357
 
else
6358
 
  lt_cv_cc_needs_belf=no
6359
 
fi
6360
 
rm -f core conftest.err conftest.$ac_objext \
6361
 
    conftest$ac_exeext conftest.$ac_ext
6362
 
     ac_ext=c
6363
 
ac_cpp='$CPP $CPPFLAGS'
6364
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6365
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6366
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6367
 
 
6368
 
fi
6369
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6370
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6371
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6372
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6373
 
    CFLAGS="$SAVE_CFLAGS"
6374
 
  fi
6375
 
  ;;
6376
 
sparc*-*solaris*)
6377
 
  # Find out which ABI we are using.
6378
 
  echo 'int i;' > conftest.$ac_ext
6379
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6380
 
  (eval $ac_compile) 2>&5
6381
 
  ac_status=$?
6382
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383
 
  test $ac_status = 0; }; then
6384
 
    case `/usr/bin/file conftest.o` in
6385
 
    *64-bit*)
6386
 
      case $lt_cv_prog_gnu_ld in
6387
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6388
 
      *)
6389
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6390
 
          LD="${LD-ld} -64"
6391
 
        fi
6392
 
        ;;
6393
 
      esac
6394
 
      ;;
6395
 
    esac
6396
 
  fi
6397
 
  rm -rf conftest*
6398
 
  ;;
6399
 
esac
6400
 
 
6401
 
need_locks="$enable_libtool_lock"
6402
 
 
6403
 
if test -n "$ac_tool_prefix"; then
6404
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6405
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
6406
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407
 
$as_echo_n "checking for $ac_word... " >&6; }
6408
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6409
 
  $as_echo_n "(cached) " >&6
6410
 
else
6411
 
  if test -n "$MANIFEST_TOOL"; then
6412
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6413
 
else
6414
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415
 
for as_dir in $PATH
6416
 
do
6417
 
  IFS=$as_save_IFS
6418
 
  test -z "$as_dir" && as_dir=.
6419
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6420
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6421
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6422
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423
 
    break 2
6424
 
  fi
6425
 
done
6426
 
  done
6427
 
IFS=$as_save_IFS
6428
 
 
6429
 
fi
6430
 
fi
6431
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6432
 
if test -n "$MANIFEST_TOOL"; then
6433
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6434
 
$as_echo "$MANIFEST_TOOL" >&6; }
6435
 
else
6436
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437
 
$as_echo "no" >&6; }
6438
 
fi
6439
 
 
6440
 
 
6441
 
fi
6442
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6443
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6444
 
  # Extract the first word of "mt", so it can be a program name with args.
6445
 
set dummy mt; ac_word=$2
6446
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447
 
$as_echo_n "checking for $ac_word... " >&6; }
6448
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6449
 
  $as_echo_n "(cached) " >&6
6450
 
else
6451
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
6452
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6453
 
else
6454
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455
 
for as_dir in $PATH
6456
 
do
6457
 
  IFS=$as_save_IFS
6458
 
  test -z "$as_dir" && as_dir=.
6459
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6460
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6461
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6462
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463
 
    break 2
6464
 
  fi
6465
 
done
6466
 
  done
6467
 
IFS=$as_save_IFS
6468
 
 
6469
 
fi
6470
 
fi
6471
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6472
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
6473
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6474
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6475
 
else
6476
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477
 
$as_echo "no" >&6; }
6478
 
fi
6479
 
 
6480
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6481
 
    MANIFEST_TOOL=":"
6482
 
  else
6483
 
    case $cross_compiling:$ac_tool_warned in
6484
 
yes:)
6485
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6486
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6487
 
ac_tool_warned=yes ;;
6488
 
esac
6489
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6490
 
  fi
6491
 
else
6492
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6493
 
fi
6494
 
 
6495
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6496
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6497
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6498
 
if ${lt_cv_path_mainfest_tool+:} false; then :
6499
 
  $as_echo_n "(cached) " >&6
6500
 
else
6501
 
  lt_cv_path_mainfest_tool=no
6502
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6503
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6504
 
  cat conftest.err >&5
6505
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6506
 
    lt_cv_path_mainfest_tool=yes
6507
 
  fi
6508
 
  rm -f conftest*
6509
 
fi
6510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6511
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6512
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6513
 
  MANIFEST_TOOL=:
6514
 
fi
6515
 
 
6516
 
    
6517
 
    
6518
 
    
6519
 
 
6520
 
 
6521
 
  case $host_os in
6522
 
    rhapsody* | darwin*)
6523
 
    if test -n "$ac_tool_prefix"; then
6524
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6525
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6526
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527
 
$as_echo_n "checking for $ac_word... " >&6; }
6528
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6529
 
  $as_echo_n "(cached) " >&6
6530
 
else
6531
 
  if test -n "$DSYMUTIL"; then
6532
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6533
 
else
6534
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535
 
for as_dir in $PATH
6536
 
do
6537
 
  IFS=$as_save_IFS
6538
 
  test -z "$as_dir" && as_dir=.
6539
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6540
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6542
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543
 
    break 2
6544
 
  fi
6545
 
done
6546
 
  done
6547
 
IFS=$as_save_IFS
6548
 
 
6549
 
fi
6550
 
fi
6551
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6552
 
if test -n "$DSYMUTIL"; then
6553
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6554
 
$as_echo "$DSYMUTIL" >&6; }
6555
 
else
6556
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557
 
$as_echo "no" >&6; }
6558
 
fi
6559
 
 
6560
 
 
6561
 
fi
6562
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6563
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6564
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6565
 
set dummy dsymutil; ac_word=$2
6566
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567
 
$as_echo_n "checking for $ac_word... " >&6; }
6568
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6569
 
  $as_echo_n "(cached) " >&6
6570
 
else
6571
 
  if test -n "$ac_ct_DSYMUTIL"; then
6572
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6573
 
else
6574
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575
 
for as_dir in $PATH
6576
 
do
6577
 
  IFS=$as_save_IFS
6578
 
  test -z "$as_dir" && as_dir=.
6579
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6580
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6582
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583
 
    break 2
6584
 
  fi
6585
 
done
6586
 
  done
6587
 
IFS=$as_save_IFS
6588
 
 
6589
 
fi
6590
 
fi
6591
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6592
 
if test -n "$ac_ct_DSYMUTIL"; then
6593
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6594
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6595
 
else
6596
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597
 
$as_echo "no" >&6; }
6598
 
fi
6599
 
 
6600
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6601
 
    DSYMUTIL=":"
6602
 
  else
6603
 
    case $cross_compiling:$ac_tool_warned in
6604
 
yes:)
6605
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6606
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6607
 
ac_tool_warned=yes ;;
6608
 
esac
6609
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6610
 
  fi
6611
 
else
6612
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6613
 
fi
6614
 
 
6615
 
    if test -n "$ac_tool_prefix"; then
6616
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6617
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6618
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619
 
$as_echo_n "checking for $ac_word... " >&6; }
6620
 
if ${ac_cv_prog_NMEDIT+:} false; then :
6621
 
  $as_echo_n "(cached) " >&6
6622
 
else
6623
 
  if test -n "$NMEDIT"; then
6624
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6625
 
else
6626
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627
 
for as_dir in $PATH
6628
 
do
6629
 
  IFS=$as_save_IFS
6630
 
  test -z "$as_dir" && as_dir=.
6631
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6632
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6634
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635
 
    break 2
6636
 
  fi
6637
 
done
6638
 
  done
6639
 
IFS=$as_save_IFS
6640
 
 
6641
 
fi
6642
 
fi
6643
 
NMEDIT=$ac_cv_prog_NMEDIT
6644
 
if test -n "$NMEDIT"; then
6645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6646
 
$as_echo "$NMEDIT" >&6; }
6647
 
else
6648
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649
 
$as_echo "no" >&6; }
6650
 
fi
6651
 
 
6652
 
 
6653
 
fi
6654
 
if test -z "$ac_cv_prog_NMEDIT"; then
6655
 
  ac_ct_NMEDIT=$NMEDIT
6656
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6657
 
set dummy nmedit; ac_word=$2
6658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659
 
$as_echo_n "checking for $ac_word... " >&6; }
6660
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6661
 
  $as_echo_n "(cached) " >&6
6662
 
else
6663
 
  if test -n "$ac_ct_NMEDIT"; then
6664
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6665
 
else
6666
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667
 
for as_dir in $PATH
6668
 
do
6669
 
  IFS=$as_save_IFS
6670
 
  test -z "$as_dir" && as_dir=.
6671
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6672
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6674
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675
 
    break 2
6676
 
  fi
6677
 
done
6678
 
  done
6679
 
IFS=$as_save_IFS
6680
 
 
6681
 
fi
6682
 
fi
6683
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6684
 
if test -n "$ac_ct_NMEDIT"; then
6685
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6686
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6687
 
else
6688
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689
 
$as_echo "no" >&6; }
6690
 
fi
6691
 
 
6692
 
  if test "x$ac_ct_NMEDIT" = x; then
6693
 
    NMEDIT=":"
6694
 
  else
6695
 
    case $cross_compiling:$ac_tool_warned in
6696
 
yes:)
6697
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699
 
ac_tool_warned=yes ;;
6700
 
esac
6701
 
    NMEDIT=$ac_ct_NMEDIT
6702
 
  fi
6703
 
else
6704
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6705
 
fi
6706
 
 
6707
 
    if test -n "$ac_tool_prefix"; then
6708
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6709
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6710
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711
 
$as_echo_n "checking for $ac_word... " >&6; }
6712
 
if ${ac_cv_prog_LIPO+:} false; then :
6713
 
  $as_echo_n "(cached) " >&6
6714
 
else
6715
 
  if test -n "$LIPO"; then
6716
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6717
 
else
6718
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719
 
for as_dir in $PATH
6720
 
do
6721
 
  IFS=$as_save_IFS
6722
 
  test -z "$as_dir" && as_dir=.
6723
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6724
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6726
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727
 
    break 2
6728
 
  fi
6729
 
done
6730
 
  done
6731
 
IFS=$as_save_IFS
6732
 
 
6733
 
fi
6734
 
fi
6735
 
LIPO=$ac_cv_prog_LIPO
6736
 
if test -n "$LIPO"; then
6737
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6738
 
$as_echo "$LIPO" >&6; }
6739
 
else
6740
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741
 
$as_echo "no" >&6; }
6742
 
fi
6743
 
 
6744
 
 
6745
 
fi
6746
 
if test -z "$ac_cv_prog_LIPO"; then
6747
 
  ac_ct_LIPO=$LIPO
6748
 
  # Extract the first word of "lipo", so it can be a program name with args.
6749
 
set dummy lipo; ac_word=$2
6750
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751
 
$as_echo_n "checking for $ac_word... " >&6; }
6752
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6753
 
  $as_echo_n "(cached) " >&6
6754
 
else
6755
 
  if test -n "$ac_ct_LIPO"; then
6756
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6757
 
else
6758
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759
 
for as_dir in $PATH
6760
 
do
6761
 
  IFS=$as_save_IFS
6762
 
  test -z "$as_dir" && as_dir=.
6763
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6764
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6766
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767
 
    break 2
6768
 
  fi
6769
 
done
6770
 
  done
6771
 
IFS=$as_save_IFS
6772
 
 
6773
 
fi
6774
 
fi
6775
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6776
 
if test -n "$ac_ct_LIPO"; then
6777
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6778
 
$as_echo "$ac_ct_LIPO" >&6; }
6779
 
else
6780
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781
 
$as_echo "no" >&6; }
6782
 
fi
6783
 
 
6784
 
  if test "x$ac_ct_LIPO" = x; then
6785
 
    LIPO=":"
6786
 
  else
6787
 
    case $cross_compiling:$ac_tool_warned in
6788
 
yes:)
6789
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791
 
ac_tool_warned=yes ;;
6792
 
esac
6793
 
    LIPO=$ac_ct_LIPO
6794
 
  fi
6795
 
else
6796
 
  LIPO="$ac_cv_prog_LIPO"
6797
 
fi
6798
 
 
6799
 
    if test -n "$ac_tool_prefix"; then
6800
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6801
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6802
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803
 
$as_echo_n "checking for $ac_word... " >&6; }
6804
 
if ${ac_cv_prog_OTOOL+:} false; then :
6805
 
  $as_echo_n "(cached) " >&6
6806
 
else
6807
 
  if test -n "$OTOOL"; then
6808
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6809
 
else
6810
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811
 
for as_dir in $PATH
6812
 
do
6813
 
  IFS=$as_save_IFS
6814
 
  test -z "$as_dir" && as_dir=.
6815
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6816
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6818
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819
 
    break 2
6820
 
  fi
6821
 
done
6822
 
  done
6823
 
IFS=$as_save_IFS
6824
 
 
6825
 
fi
6826
 
fi
6827
 
OTOOL=$ac_cv_prog_OTOOL
6828
 
if test -n "$OTOOL"; then
6829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6830
 
$as_echo "$OTOOL" >&6; }
6831
 
else
6832
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833
 
$as_echo "no" >&6; }
6834
 
fi
6835
 
 
6836
 
 
6837
 
fi
6838
 
if test -z "$ac_cv_prog_OTOOL"; then
6839
 
  ac_ct_OTOOL=$OTOOL
6840
 
  # Extract the first word of "otool", so it can be a program name with args.
6841
 
set dummy otool; ac_word=$2
6842
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843
 
$as_echo_n "checking for $ac_word... " >&6; }
6844
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6845
 
  $as_echo_n "(cached) " >&6
6846
 
else
6847
 
  if test -n "$ac_ct_OTOOL"; then
6848
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6849
 
else
6850
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851
 
for as_dir in $PATH
6852
 
do
6853
 
  IFS=$as_save_IFS
6854
 
  test -z "$as_dir" && as_dir=.
6855
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6856
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6858
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859
 
    break 2
6860
 
  fi
6861
 
done
6862
 
  done
6863
 
IFS=$as_save_IFS
6864
 
 
6865
 
fi
6866
 
fi
6867
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6868
 
if test -n "$ac_ct_OTOOL"; then
6869
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6870
 
$as_echo "$ac_ct_OTOOL" >&6; }
6871
 
else
6872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873
 
$as_echo "no" >&6; }
6874
 
fi
6875
 
 
6876
 
  if test "x$ac_ct_OTOOL" = x; then
6877
 
    OTOOL=":"
6878
 
  else
6879
 
    case $cross_compiling:$ac_tool_warned in
6880
 
yes:)
6881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6882
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6883
 
ac_tool_warned=yes ;;
6884
 
esac
6885
 
    OTOOL=$ac_ct_OTOOL
6886
 
  fi
6887
 
else
6888
 
  OTOOL="$ac_cv_prog_OTOOL"
6889
 
fi
6890
 
 
6891
 
    if test -n "$ac_tool_prefix"; then
6892
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6893
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895
 
$as_echo_n "checking for $ac_word... " >&6; }
6896
 
if ${ac_cv_prog_OTOOL64+:} false; then :
6897
 
  $as_echo_n "(cached) " >&6
6898
 
else
6899
 
  if test -n "$OTOOL64"; then
6900
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6901
 
else
6902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903
 
for as_dir in $PATH
6904
 
do
6905
 
  IFS=$as_save_IFS
6906
 
  test -z "$as_dir" && as_dir=.
6907
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6908
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6910
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911
 
    break 2
6912
 
  fi
6913
 
done
6914
 
  done
6915
 
IFS=$as_save_IFS
6916
 
 
6917
 
fi
6918
 
fi
6919
 
OTOOL64=$ac_cv_prog_OTOOL64
6920
 
if test -n "$OTOOL64"; then
6921
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6922
 
$as_echo "$OTOOL64" >&6; }
6923
 
else
6924
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925
 
$as_echo "no" >&6; }
6926
 
fi
6927
 
 
6928
 
 
6929
 
fi
6930
 
if test -z "$ac_cv_prog_OTOOL64"; then
6931
 
  ac_ct_OTOOL64=$OTOOL64
6932
 
  # Extract the first word of "otool64", so it can be a program name with args.
6933
 
set dummy otool64; ac_word=$2
6934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935
 
$as_echo_n "checking for $ac_word... " >&6; }
6936
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6937
 
  $as_echo_n "(cached) " >&6
6938
 
else
6939
 
  if test -n "$ac_ct_OTOOL64"; then
6940
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6941
 
else
6942
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943
 
for as_dir in $PATH
6944
 
do
6945
 
  IFS=$as_save_IFS
6946
 
  test -z "$as_dir" && as_dir=.
6947
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6948
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6950
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6951
 
    break 2
6952
 
  fi
6953
 
done
6954
 
  done
6955
 
IFS=$as_save_IFS
6956
 
 
6957
 
fi
6958
 
fi
6959
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6960
 
if test -n "$ac_ct_OTOOL64"; then
6961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6962
 
$as_echo "$ac_ct_OTOOL64" >&6; }
6963
 
else
6964
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965
 
$as_echo "no" >&6; }
6966
 
fi
6967
 
 
6968
 
  if test "x$ac_ct_OTOOL64" = x; then
6969
 
    OTOOL64=":"
6970
 
  else
6971
 
    case $cross_compiling:$ac_tool_warned in
6972
 
yes:)
6973
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6974
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6975
 
ac_tool_warned=yes ;;
6976
 
esac
6977
 
    OTOOL64=$ac_ct_OTOOL64
6978
 
  fi
6979
 
else
6980
 
  OTOOL64="$ac_cv_prog_OTOOL64"
6981
 
fi
6982
 
 
6983
 
    
6984
 
    
6985
 
    
6986
 
    
6987
 
 
6988
 
    
6989
 
    
6990
 
    
6991
 
    
6992
 
 
6993
 
    
6994
 
    
6995
 
    
6996
 
    
6997
 
 
6998
 
    
6999
 
    
7000
 
    
7001
 
    
7002
 
 
7003
 
    
7004
 
    
7005
 
    
7006
 
    
7007
 
 
7008
 
 
7009
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7010
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7011
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7012
 
  $as_echo_n "(cached) " >&6
7013
 
else
7014
 
  lt_cv_apple_cc_single_mod=no
7015
 
      if test -z "${LT_MULTI_MODULE}"; then
7016
 
        # By default we will add the -single_module flag. You can override
7017
 
        # by either setting the environment variable LT_MULTI_MODULE
7018
 
        # non-empty at configure time, or by adding -multi_module to the
7019
 
        # link flags.
7020
 
        rm -rf libconftest.dylib*
7021
 
        echo "int foo(void){return 1;}" > conftest.c
7022
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7023
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7024
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7025
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7026
 
        _lt_result=$?
7027
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7028
 
          lt_cv_apple_cc_single_mod=yes
7029
 
        else
7030
 
          cat conftest.err >&5
7031
 
        fi
7032
 
        rm -rf libconftest.dylib*
7033
 
        rm -f conftest.*
7034
 
      fi
7035
 
fi
7036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7037
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7038
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7039
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7040
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7041
 
  $as_echo_n "(cached) " >&6
7042
 
else
7043
 
  lt_cv_ld_exported_symbols_list=no
7044
 
      save_LDFLAGS=$LDFLAGS
7045
 
      echo "_main" > conftest.sym
7046
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7047
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048
 
/* end confdefs.h.  */
7049
 
 
7050
 
int
7051
 
main ()
7052
 
{
7053
 
 
7054
 
  ;
7055
 
  return 0;
7056
 
}
7057
 
_ACEOF
7058
 
if ac_fn_c_try_link "$LINENO"; then :
7059
 
  lt_cv_ld_exported_symbols_list=yes
7060
 
else
7061
 
  lt_cv_ld_exported_symbols_list=no
7062
 
fi
7063
 
rm -f core conftest.err conftest.$ac_objext \
7064
 
    conftest$ac_exeext conftest.$ac_ext
7065
 
        LDFLAGS="$save_LDFLAGS"
7066
 
    
7067
 
fi
7068
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7069
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7070
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7071
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7072
 
if ${lt_cv_ld_force_load+:} false; then :
7073
 
  $as_echo_n "(cached) " >&6
7074
 
else
7075
 
  lt_cv_ld_force_load=no
7076
 
      cat > conftest.c << _LT_EOF
7077
 
int forced_loaded() { return 2;}
7078
 
_LT_EOF
7079
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7080
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7081
 
      echo "$AR cru libconftest.a conftest.o" >&5
7082
 
      $AR cru libconftest.a conftest.o 2>&5
7083
 
      echo "$RANLIB libconftest.a" >&5
7084
 
      $RANLIB libconftest.a 2>&5
7085
 
      cat > conftest.c << _LT_EOF
7086
 
int main() { return 0;}
7087
 
_LT_EOF
7088
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7089
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7090
 
      _lt_result=$?
7091
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7092
 
        lt_cv_ld_force_load=yes
7093
 
      else
7094
 
        cat conftest.err >&5
7095
 
      fi
7096
 
        rm -f conftest.err libconftest.a conftest conftest.c
7097
 
        rm -rf conftest.dSYM
7098
 
    
7099
 
fi
7100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7101
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7102
 
    case $host_os in
7103
 
    rhapsody* | darwin1.[012])
7104
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7105
 
    darwin1.*)
7106
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7107
 
    darwin*) # darwin 5.x on
7108
 
      # if running on 10.5 or later, the deployment target defaults
7109
 
      # to the OS version, if on x86, and 10.4, the deployment
7110
 
      # target defaults to 10.4. Don't you love it?
7111
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7112
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7113
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7114
 
        10.[012]*)
7115
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7116
 
        10.*)
7117
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7118
 
      esac
7119
 
    ;;
7120
 
  esac
7121
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7122
 
      _lt_dar_single_mod='$single_module'
7123
 
    fi
7124
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7125
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7126
 
    else
7127
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7128
 
    fi
7129
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7130
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7131
 
    else
7132
 
      _lt_dsymutil=
7133
 
    fi
7134
 
    ;;
7135
 
  esac
7136
 
 
7137
 
ac_ext=c
7138
 
ac_cpp='$CPP $CPPFLAGS'
7139
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7140
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7141
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7143
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7144
 
# On Suns, sometimes $CPP names a directory.
7145
 
if test -n "$CPP" && test -d "$CPP"; then
7146
 
  CPP=
7147
 
fi
7148
 
if test -z "$CPP"; then
7149
 
  if ${ac_cv_prog_CPP+:} false; then :
7150
 
  $as_echo_n "(cached) " >&6
7151
 
else
7152
 
      # Double quotes because CPP needs to be expanded
7153
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7154
 
    do
7155
 
      ac_preproc_ok=false
7156
 
for ac_c_preproc_warn_flag in '' yes
7157
 
do
7158
 
  # Use a header file that comes with gcc, so configuring glibc
7159
 
  # with a fresh cross-compiler works.
7160
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7161
 
  # <limits.h> exists even on freestanding compilers.
7162
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7163
 
  # not just through cpp. "Syntax error" is here to catch this case.
7164
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165
 
/* end confdefs.h.  */
7166
 
@%:@ifdef __STDC__
7167
 
@%:@ include <limits.h>
7168
 
@%:@else
7169
 
@%:@ include <assert.h>
7170
 
@%:@endif
7171
 
                     Syntax error
7172
 
_ACEOF
7173
 
if ac_fn_c_try_cpp "$LINENO"; then :
7174
 
  
7175
 
else
7176
 
  # Broken: fails on valid input.
7177
 
continue
7178
 
fi
7179
 
rm -f conftest.err conftest.i conftest.$ac_ext
7180
 
 
7181
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7182
 
  # can be detected and how.
7183
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184
 
/* end confdefs.h.  */
7185
 
@%:@include <ac_nonexistent.h>
7186
 
_ACEOF
7187
 
if ac_fn_c_try_cpp "$LINENO"; then :
7188
 
  # Broken: success on invalid input.
7189
 
continue
7190
 
else
7191
 
  # Passes both tests.
7192
 
ac_preproc_ok=:
7193
 
break
7194
 
fi
7195
 
rm -f conftest.err conftest.i conftest.$ac_ext
7196
 
 
7197
 
done
7198
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7199
 
rm -f conftest.i conftest.err conftest.$ac_ext
7200
 
if $ac_preproc_ok; then :
7201
 
  break
7202
 
fi
7203
 
 
7204
 
    done
7205
 
    ac_cv_prog_CPP=$CPP
7206
 
  
7207
 
fi
7208
 
  CPP=$ac_cv_prog_CPP
7209
 
else
7210
 
  ac_cv_prog_CPP=$CPP
7211
 
fi
7212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7213
 
$as_echo "$CPP" >&6; }
7214
 
ac_preproc_ok=false
7215
 
for ac_c_preproc_warn_flag in '' yes
7216
 
do
7217
 
  # Use a header file that comes with gcc, so configuring glibc
7218
 
  # with a fresh cross-compiler works.
7219
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7220
 
  # <limits.h> exists even on freestanding compilers.
7221
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7222
 
  # not just through cpp. "Syntax error" is here to catch this case.
7223
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7224
 
/* end confdefs.h.  */
7225
 
@%:@ifdef __STDC__
7226
 
@%:@ include <limits.h>
7227
 
@%:@else
7228
 
@%:@ include <assert.h>
7229
 
@%:@endif
7230
 
                     Syntax error
7231
 
_ACEOF
7232
 
if ac_fn_c_try_cpp "$LINENO"; then :
7233
 
  
7234
 
else
7235
 
  # Broken: fails on valid input.
7236
 
continue
7237
 
fi
7238
 
rm -f conftest.err conftest.i conftest.$ac_ext
7239
 
 
7240
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7241
 
  # can be detected and how.
7242
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243
 
/* end confdefs.h.  */
7244
 
@%:@include <ac_nonexistent.h>
7245
 
_ACEOF
7246
 
if ac_fn_c_try_cpp "$LINENO"; then :
7247
 
  # Broken: success on invalid input.
7248
 
continue
7249
 
else
7250
 
  # Passes both tests.
7251
 
ac_preproc_ok=:
7252
 
break
7253
 
fi
7254
 
rm -f conftest.err conftest.i conftest.$ac_ext
7255
 
 
7256
 
done
7257
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7258
 
rm -f conftest.i conftest.err conftest.$ac_ext
7259
 
if $ac_preproc_ok; then :
7260
 
  
7261
 
else
7262
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7263
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7264
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7265
 
See \`config.log' for more details" "$LINENO" 5; }
7266
 
fi
7267
 
 
7268
 
ac_ext=c
7269
 
ac_cpp='$CPP $CPPFLAGS'
7270
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7271
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7272
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7273
 
 
7274
 
 
7275
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7276
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7277
 
if ${ac_cv_header_stdc+:} false; then :
7278
 
  $as_echo_n "(cached) " >&6
7279
 
else
7280
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281
 
/* end confdefs.h.  */
7282
 
#include <stdlib.h>
7283
 
#include <stdarg.h>
7284
 
#include <string.h>
7285
 
#include <float.h>
7286
 
 
7287
 
int
7288
 
main ()
7289
 
{
7290
 
 
7291
 
  ;
7292
 
  return 0;
7293
 
}
7294
 
_ACEOF
7295
 
if ac_fn_c_try_compile "$LINENO"; then :
7296
 
  ac_cv_header_stdc=yes
7297
 
else
7298
 
  ac_cv_header_stdc=no
7299
 
fi
7300
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7301
 
 
7302
 
if test $ac_cv_header_stdc = yes; then
7303
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7304
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305
 
/* end confdefs.h.  */
7306
 
#include <string.h>
7307
 
 
7308
 
_ACEOF
7309
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7310
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7311
 
  
7312
 
else
7313
 
  ac_cv_header_stdc=no
7314
 
fi
7315
 
rm -f conftest*
7316
 
 
7317
 
fi
7318
 
 
7319
 
if test $ac_cv_header_stdc = yes; then
7320
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7321
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322
 
/* end confdefs.h.  */
7323
 
#include <stdlib.h>
7324
 
 
7325
 
_ACEOF
7326
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7327
 
  $EGREP "free" >/dev/null 2>&1; then :
7328
 
  
7329
 
else
7330
 
  ac_cv_header_stdc=no
7331
 
fi
7332
 
rm -f conftest*
7333
 
 
7334
 
fi
7335
 
 
7336
 
if test $ac_cv_header_stdc = yes; then
7337
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7338
 
  if test "$cross_compiling" = yes; then :
7339
 
  :
7340
 
else
7341
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342
 
/* end confdefs.h.  */
7343
 
#include <ctype.h>
7344
 
#include <stdlib.h>
7345
 
#if ((' ' & 0x0FF) == 0x020)
7346
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7347
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7348
 
#else
7349
 
# define ISLOWER(c) \
7350
 
                   (('a' <= (c) && (c) <= 'i') \
7351
 
                     || ('j' <= (c) && (c) <= 'r') \
7352
 
                     || ('s' <= (c) && (c) <= 'z'))
7353
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7354
 
#endif
7355
 
 
7356
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7357
 
int
7358
 
main ()
7359
 
{
7360
 
  int i;
7361
 
  for (i = 0; i < 256; i++)
7362
 
    if (XOR (islower (i), ISLOWER (i))
7363
 
        || toupper (i) != TOUPPER (i))
7364
 
      return 2;
7365
 
  return 0;
7366
 
}
7367
 
_ACEOF
7368
 
if ac_fn_c_try_run "$LINENO"; then :
7369
 
  
7370
 
else
7371
 
  ac_cv_header_stdc=no
7372
 
fi
7373
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7374
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7375
 
fi
7376
 
 
7377
 
fi
7378
 
fi
7379
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7380
 
$as_echo "$ac_cv_header_stdc" >&6; }
7381
 
if test $ac_cv_header_stdc = yes; then
7382
 
  
7383
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7384
 
 
7385
 
fi
7386
 
 
7387
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7388
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7389
 
                  inttypes.h stdint.h unistd.h
7390
 
do :
7391
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7392
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7393
 
"
7394
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7395
 
  cat >>confdefs.h <<_ACEOF
7396
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7397
 
_ACEOF
7398
 
 
7399
 
fi
7400
 
 
7401
 
done
7402
 
 
7403
 
 
7404
 
for ac_header in dlfcn.h
7405
 
do :
7406
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7407
 
"
7408
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7409
 
  cat >>confdefs.h <<_ACEOF
7410
 
@%:@define HAVE_DLFCN_H 1
7411
 
_ACEOF
7412
 
 
7413
 
fi
7414
 
 
7415
 
done
7416
 
 
7417
 
 
7418
 
 
7419
 
 
7420
 
 
7421
 
 
7422
 
# Set options
7423
 
 
7424
 
 
7425
 
 
7426
 
        enable_dlopen=no
7427
 
  
7428
 
 
7429
 
  enable_win32_dll=no
7430
 
  
7431
 
 
7432
 
            @%:@ Check whether --enable-shared was given.
7433
 
if test "${enable_shared+set}" = set; then :
7434
 
  enableval=$enable_shared; p=${PACKAGE-default}
7435
 
    case $enableval in
7436
 
    yes) enable_shared=yes ;;
7437
 
    no) enable_shared=no ;;
7438
 
    *)
7439
 
      enable_shared=no
7440
 
      # Look at the argument we got.  We use all the common list separators.
7441
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7442
 
      for pkg in $enableval; do
7443
 
        IFS="$lt_save_ifs"
7444
 
        if test "X$pkg" = "X$p"; then
7445
 
          enable_shared=yes
7446
 
        fi
7447
 
      done
7448
 
      IFS="$lt_save_ifs"
7449
 
      ;;
7450
 
    esac
7451
 
else
7452
 
  enable_shared=yes
7453
 
fi
7454
 
 
7455
 
 
7456
 
    
7457
 
    
7458
 
    
7459
 
    
7460
 
 
7461
 
 
7462
 
 
7463
 
  @%:@ Check whether --enable-static was given.
7464
 
if test "${enable_static+set}" = set; then :
7465
 
  enableval=$enable_static; p=${PACKAGE-default}
7466
 
    case $enableval in
7467
 
    yes) enable_static=yes ;;
7468
 
    no) enable_static=no ;;
7469
 
    *)
7470
 
     enable_static=no
7471
 
      # Look at the argument we got.  We use all the common list separators.
7472
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7473
 
      for pkg in $enableval; do
7474
 
        IFS="$lt_save_ifs"
7475
 
        if test "X$pkg" = "X$p"; then
7476
 
          enable_static=yes
7477
 
        fi
7478
 
      done
7479
 
      IFS="$lt_save_ifs"
7480
 
      ;;
7481
 
    esac
7482
 
else
7483
 
  enable_static=yes
7484
 
fi
7485
 
 
7486
 
 
7487
 
    
7488
 
    
7489
 
    
7490
 
    
7491
 
 
7492
 
 
7493
 
 
7494
 
  
7495
 
@%:@ Check whether --with-pic was given.
7496
 
if test "${with_pic+set}" = set; then :
7497
 
  withval=$with_pic; pic_mode="$withval"
7498
 
else
7499
 
  pic_mode=default
7500
 
fi
7501
 
 
7502
 
 
7503
 
test -z "$pic_mode" && pic_mode=default
7504
 
 
7505
 
 
7506
 
    
7507
 
    
7508
 
    
7509
 
 
7510
 
 
7511
 
  @%:@ Check whether --enable-fast-install was given.
7512
 
if test "${enable_fast_install+set}" = set; then :
7513
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7514
 
    case $enableval in
7515
 
    yes) enable_fast_install=yes ;;
7516
 
    no) enable_fast_install=no ;;
7517
 
    *)
7518
 
      enable_fast_install=no
7519
 
      # Look at the argument we got.  We use all the common list separators.
7520
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7521
 
      for pkg in $enableval; do
7522
 
        IFS="$lt_save_ifs"
7523
 
        if test "X$pkg" = "X$p"; then
7524
 
          enable_fast_install=yes
7525
 
        fi
7526
 
      done
7527
 
      IFS="$lt_save_ifs"
7528
 
      ;;
7529
 
    esac
7530
 
else
7531
 
  enable_fast_install=yes
7532
 
fi
7533
 
 
7534
 
 
7535
 
 
7536
 
    
7537
 
    
7538
 
    
7539
 
 
7540
 
 
7541
 
  
7542
 
 
7543
 
 
7544
 
# This can be used to rebuild libtool when needed
7545
 
LIBTOOL_DEPS="$ltmain"
7546
 
 
7547
 
# Always use our own libtool.
7548
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7549
 
 
7550
 
 
7551
 
 
7552
 
    
7553
 
    
7554
 
    
7555
 
 
7556
 
    
7557
 
    
7558
 
    
7559
 
 
7560
 
    
7561
 
    
7562
 
    
7563
 
 
7564
 
    
7565
 
    
7566
 
    
7567
 
 
7568
 
    
7569
 
    
7570
 
    
7571
 
 
7572
 
    
7573
 
    
7574
 
    
7575
 
test -z "$LN_S" && LN_S="ln -s"
7576
 
 
7577
 
    
7578
 
    
7579
 
    
7580
 
 
7581
 
    
7582
 
    
7583
 
    
7584
 
 
7585
 
    
7586
 
    
7587
 
    
7588
 
 
7589
 
 
7590
 
if test -n "${ZSH_VERSION+set}" ; then
7591
 
   setopt NO_GLOB_SUBST
7592
 
fi
7593
 
 
7594
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7595
 
$as_echo_n "checking for objdir... " >&6; }
7596
 
if ${lt_cv_objdir+:} false; then :
7597
 
  $as_echo_n "(cached) " >&6
7598
 
else
7599
 
  rm -f .libs 2>/dev/null
7600
 
mkdir .libs 2>/dev/null
7601
 
if test -d .libs; then
7602
 
  lt_cv_objdir=.libs
7603
 
else
7604
 
  # MS-DOS does not allow filenames that begin with a dot.
7605
 
  lt_cv_objdir=_libs
7606
 
fi
7607
 
rmdir .libs 2>/dev/null
7608
 
fi
7609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7610
 
$as_echo "$lt_cv_objdir" >&6; }
7611
 
objdir=$lt_cv_objdir
7612
 
 
7613
 
    
7614
 
    
7615
 
    
7616
 
 
7617
 
cat >>confdefs.h <<_ACEOF
7618
 
@%:@define LT_OBJDIR "$lt_cv_objdir/"
7619
 
_ACEOF
7620
 
 
7621
 
 
7622
 
 
7623
 
 
7624
 
case $host_os in
7625
 
aix3*)
7626
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7627
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7628
 
  # vanish in a puff of smoke.
7629
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7630
 
    COLLECT_NAMES=
7631
 
    export COLLECT_NAMES
7632
 
  fi
7633
 
  ;;
7634
 
esac
7635
 
 
7636
 
# Global variables:
7637
 
ofile=libtool
7638
 
can_build_shared=yes
7639
 
 
7640
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7641
 
# which needs '.lib').
7642
 
libext=a
7643
 
 
7644
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7645
 
 
7646
 
old_CC="$CC"
7647
 
old_CFLAGS="$CFLAGS"
7648
 
 
7649
 
# Set sane defaults for various variables
7650
 
test -z "$CC" && CC=cc
7651
 
test -z "$LTCC" && LTCC=$CC
7652
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7653
 
test -z "$LD" && LD=ld
7654
 
test -z "$ac_objext" && ac_objext=o
7655
 
 
7656
 
for cc_temp in $compiler""; do
7657
 
  case $cc_temp in
7658
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7659
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7660
 
    \-*) ;;
7661
 
    *) break;;
7662
 
  esac
7663
 
done
7664
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7665
 
 
7666
 
 
7667
 
# Only perform the check for file, if the check method requires it
7668
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7669
 
case $deplibs_check_method in
7670
 
file_magic*)
7671
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7672
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7673
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7674
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7675
 
  $as_echo_n "(cached) " >&6
7676
 
else
7677
 
  case $MAGIC_CMD in
7678
 
[\\/*] |  ?:[\\/]*)
7679
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7680
 
  ;;
7681
 
*)
7682
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7683
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7684
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7685
 
  for ac_dir in $ac_dummy; do
7686
 
    IFS="$lt_save_ifs"
7687
 
    test -z "$ac_dir" && ac_dir=.
7688
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7689
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7690
 
      if test -n "$file_magic_test_file"; then
7691
 
        case $deplibs_check_method in
7692
 
        "file_magic "*)
7693
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7694
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7695
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7696
 
            $EGREP "$file_magic_regex" > /dev/null; then
7697
 
            :
7698
 
          else
7699
 
            cat <<_LT_EOF 1>&2
7700
 
 
7701
 
*** Warning: the command libtool uses to detect shared libraries,
7702
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7703
 
*** The result is that libtool may fail to recognize shared libraries
7704
 
*** as such.  This will affect the creation of libtool libraries that
7705
 
*** depend on shared libraries, but programs linked with such libtool
7706
 
*** libraries will work regardless of this problem.  Nevertheless, you
7707
 
*** may want to report the problem to your system manager and/or to
7708
 
*** bug-libtool@gnu.org
7709
 
 
7710
 
_LT_EOF
7711
 
          fi ;;
7712
 
        esac
7713
 
      fi
7714
 
      break
7715
 
    fi
7716
 
  done
7717
 
  IFS="$lt_save_ifs"
7718
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7719
 
  ;;
7720
 
esac
7721
 
fi
7722
 
 
7723
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7724
 
if test -n "$MAGIC_CMD"; then
7725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7726
 
$as_echo "$MAGIC_CMD" >&6; }
7727
 
else
7728
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729
 
$as_echo "no" >&6; }
7730
 
fi
7731
 
 
7732
 
    
7733
 
    
7734
 
    
7735
 
 
7736
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7737
 
  if test -n "$ac_tool_prefix"; then
7738
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7739
 
$as_echo_n "checking for file... " >&6; }
7740
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7741
 
  $as_echo_n "(cached) " >&6
7742
 
else
7743
 
  case $MAGIC_CMD in
7744
 
[\\/*] |  ?:[\\/]*)
7745
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7746
 
  ;;
7747
 
*)
7748
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7749
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7750
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7751
 
  for ac_dir in $ac_dummy; do
7752
 
    IFS="$lt_save_ifs"
7753
 
    test -z "$ac_dir" && ac_dir=.
7754
 
    if test -f $ac_dir/file; then
7755
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7756
 
      if test -n "$file_magic_test_file"; then
7757
 
        case $deplibs_check_method in
7758
 
        "file_magic "*)
7759
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7760
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7761
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7762
 
            $EGREP "$file_magic_regex" > /dev/null; then
7763
 
            :
7764
 
          else
7765
 
            cat <<_LT_EOF 1>&2
7766
 
 
7767
 
*** Warning: the command libtool uses to detect shared libraries,
7768
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7769
 
*** The result is that libtool may fail to recognize shared libraries
7770
 
*** as such.  This will affect the creation of libtool libraries that
7771
 
*** depend on shared libraries, but programs linked with such libtool
7772
 
*** libraries will work regardless of this problem.  Nevertheless, you
7773
 
*** may want to report the problem to your system manager and/or to
7774
 
*** bug-libtool@gnu.org
7775
 
 
7776
 
_LT_EOF
7777
 
          fi ;;
7778
 
        esac
7779
 
      fi
7780
 
      break
7781
 
    fi
7782
 
  done
7783
 
  IFS="$lt_save_ifs"
7784
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7785
 
  ;;
7786
 
esac
7787
 
fi
7788
 
 
7789
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7790
 
if test -n "$MAGIC_CMD"; then
7791
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7792
 
$as_echo "$MAGIC_CMD" >&6; }
7793
 
else
7794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795
 
$as_echo "no" >&6; }
7796
 
fi
7797
 
 
7798
 
 
7799
 
  else
7800
 
    MAGIC_CMD=:
7801
 
  fi
7802
 
fi
7803
 
 
7804
 
  fi
7805
 
  ;;
7806
 
esac
7807
 
 
7808
 
# Use C for the default configuration in the libtool script
7809
 
 
7810
 
lt_save_CC="$CC"
7811
 
ac_ext=c
7812
 
ac_cpp='$CPP $CPPFLAGS'
7813
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7814
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7815
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7816
 
 
7817
 
 
7818
 
# Source file extension for C test sources.
7819
 
ac_ext=c
7820
 
 
7821
 
# Object file extension for compiled C test sources.
7822
 
objext=o
7823
 
objext=$objext
7824
 
 
7825
 
# Code to be used in simple compile tests
7826
 
lt_simple_compile_test_code="int some_variable = 0;"
7827
 
 
7828
 
# Code to be used in simple link tests
7829
 
lt_simple_link_test_code='int main(){return(0);}'
7830
 
 
7831
 
 
7832
 
 
7833
 
 
7834
 
 
7835
 
 
7836
 
 
7837
 
# If no C compiler was specified, use CC.
7838
 
LTCC=${LTCC-"$CC"}
7839
 
 
7840
 
# If no C compiler flags were specified, use CFLAGS.
7841
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7842
 
 
7843
 
# Allow CC to be a program name with arguments.
7844
 
compiler=$CC
7845
 
 
7846
 
# Save the default compiler, since it gets overwritten when the other
7847
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7848
 
compiler_DEFAULT=$CC
7849
 
 
7850
 
# save warnings/boilerplate of simple test code
7851
 
ac_outfile=conftest.$ac_objext
7852
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7853
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7854
 
_lt_compiler_boilerplate=`cat conftest.err`
7855
 
$RM conftest*
7856
 
 
7857
 
ac_outfile=conftest.$ac_objext
7858
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7859
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7860
 
_lt_linker_boilerplate=`cat conftest.err`
7861
 
$RM -r conftest*
7862
 
 
7863
 
 
7864
 
## CAVEAT EMPTOR:
7865
 
## There is no encapsulation within the following macros, do not change
7866
 
## the running order or otherwise move them around unless you know exactly
7867
 
## what you are doing...
7868
 
if test -n "$compiler"; then
7869
 
  
7870
 
lt_prog_compiler_no_builtin_flag=
7871
 
 
7872
 
if test "$GCC" = yes; then
7873
 
  case $cc_basename in
7874
 
  nvcc*)
7875
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7876
 
  *)
7877
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7878
 
  esac
7879
 
 
7880
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7881
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7882
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7883
 
  $as_echo_n "(cached) " >&6
7884
 
else
7885
 
  lt_cv_prog_compiler_rtti_exceptions=no
7886
 
   ac_outfile=conftest.$ac_objext
7887
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7888
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7889
 
   # Insert the option either (1) after the last *FLAGS variable, or
7890
 
   # (2) before a word containing "conftest.", or (3) at the end.
7891
 
   # Note that $ac_compile itself does not contain backslashes and begins
7892
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7893
 
   # The option is referenced via a variable to avoid confusing sed.
7894
 
   lt_compile=`echo "$ac_compile" | $SED \
7895
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7896
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7897
 
   -e 's:$: $lt_compiler_flag:'`
7898
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7899
 
   (eval "$lt_compile" 2>conftest.err)
7900
 
   ac_status=$?
7901
 
   cat conftest.err >&5
7902
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7904
 
     # The compiler can only warn and ignore the option if not recognized
7905
 
     # So say no if there are warnings other than the usual output.
7906
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7907
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7908
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7909
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7910
 
     fi
7911
 
   fi
7912
 
   $RM conftest*
7913
 
 
7914
 
fi
7915
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7916
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7917
 
 
7918
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7919
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7920
 
else
7921
 
    :
7922
 
fi
7923
 
 
7924
 
fi
7925
 
 
7926
 
    
7927
 
    
7928
 
    
7929
 
 
7930
 
 
7931
 
  lt_prog_compiler_wl=
7932
 
lt_prog_compiler_pic=
7933
 
lt_prog_compiler_static=
7934
 
 
7935
 
 
7936
 
  if test "$GCC" = yes; then
7937
 
    lt_prog_compiler_wl='-Wl,'
7938
 
    lt_prog_compiler_static='-static'
7939
 
 
7940
 
    case $host_os in
7941
 
      aix*)
7942
 
      # All AIX code is PIC.
7943
 
      if test "$host_cpu" = ia64; then
7944
 
        # AIX 5 now supports IA64 processor
7945
 
        lt_prog_compiler_static='-Bstatic'
7946
 
      fi
7947
 
      ;;
7948
 
 
7949
 
    amigaos*)
7950
 
      case $host_cpu in
7951
 
      powerpc)
7952
 
            # see comment about AmigaOS4 .so support
7953
 
            lt_prog_compiler_pic='-fPIC'
7954
 
        ;;
7955
 
      m68k)
7956
 
            # FIXME: we need at least 68020 code to build shared libraries, but
7957
 
            # adding the `-m68020' flag to GCC prevents building anything better,
7958
 
            # like `-m68040'.
7959
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7960
 
        ;;
7961
 
      esac
7962
 
      ;;
7963
 
 
7964
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7965
 
      # PIC is the default for these OSes.
7966
 
      ;;
7967
 
 
7968
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7969
 
      # This hack is so that the source file can tell whether it is being
7970
 
      # built for inclusion in a dll (and should export symbols for example).
7971
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7972
 
      # (--disable-auto-import) libraries
7973
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7974
 
      ;;
7975
 
 
7976
 
    darwin* | rhapsody*)
7977
 
      # PIC is the default on this platform
7978
 
      # Common symbols not allowed in MH_DYLIB files
7979
 
      lt_prog_compiler_pic='-fno-common'
7980
 
      ;;
7981
 
 
7982
 
    haiku*)
7983
 
      # PIC is the default for Haiku.
7984
 
      # The "-static" flag exists, but is broken.
7985
 
      lt_prog_compiler_static=
7986
 
      ;;
7987
 
 
7988
 
    hpux*)
7989
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7990
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7991
 
      # sets the default TLS model and affects inlining.
7992
 
      case $host_cpu in
7993
 
      hppa*64*)
7994
 
        # +Z the default
7995
 
        ;;
7996
 
      *)
7997
 
        lt_prog_compiler_pic='-fPIC'
7998
 
        ;;
7999
 
      esac
8000
 
      ;;
8001
 
 
8002
 
    interix[3-9]*)
8003
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8004
 
      # Instead, we relocate shared libraries at runtime.
8005
 
      ;;
8006
 
 
8007
 
    msdosdjgpp*)
8008
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8009
 
      # on systems that don't support them.
8010
 
      lt_prog_compiler_can_build_shared=no
8011
 
      enable_shared=no
8012
 
      ;;
8013
 
 
8014
 
    *nto* | *qnx*)
8015
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8016
 
      # it will coredump.
8017
 
      lt_prog_compiler_pic='-fPIC -shared'
8018
 
      ;;
8019
 
 
8020
 
    sysv4*MP*)
8021
 
      if test -d /usr/nec; then
8022
 
        lt_prog_compiler_pic=-Kconform_pic
8023
 
      fi
8024
 
      ;;
8025
 
 
8026
 
    *)
8027
 
      lt_prog_compiler_pic='-fPIC'
8028
 
      ;;
8029
 
    esac
8030
 
 
8031
 
    case $cc_basename in
8032
 
    nvcc*) # Cuda Compiler Driver 2.2
8033
 
      lt_prog_compiler_wl='-Xlinker '
8034
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
8035
 
      ;;
8036
 
    esac
8037
 
  else
8038
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8039
 
    case $host_os in
8040
 
    aix*)
8041
 
      lt_prog_compiler_wl='-Wl,'
8042
 
      if test "$host_cpu" = ia64; then
8043
 
        # AIX 5 now supports IA64 processor
8044
 
        lt_prog_compiler_static='-Bstatic'
8045
 
      else
8046
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8047
 
      fi
8048
 
      ;;
8049
 
 
8050
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8051
 
      # This hack is so that the source file can tell whether it is being
8052
 
      # built for inclusion in a dll (and should export symbols for example).
8053
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8054
 
      ;;
8055
 
 
8056
 
    hpux9* | hpux10* | hpux11*)
8057
 
      lt_prog_compiler_wl='-Wl,'
8058
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8059
 
      # not for PA HP-UX.
8060
 
      case $host_cpu in
8061
 
      hppa*64*|ia64*)
8062
 
        # +Z the default
8063
 
        ;;
8064
 
      *)
8065
 
        lt_prog_compiler_pic='+Z'
8066
 
        ;;
8067
 
      esac
8068
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8069
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8070
 
      ;;
8071
 
 
8072
 
    irix5* | irix6* | nonstopux*)
8073
 
      lt_prog_compiler_wl='-Wl,'
8074
 
      # PIC (with -KPIC) is the default.
8075
 
      lt_prog_compiler_static='-non_shared'
8076
 
      ;;
8077
 
 
8078
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8079
 
      case $cc_basename in
8080
 
      # old Intel for x86_64 which still supported -KPIC.
8081
 
      ecc*)
8082
 
        lt_prog_compiler_wl='-Wl,'
8083
 
        lt_prog_compiler_pic='-KPIC'
8084
 
        lt_prog_compiler_static='-static'
8085
 
        ;;
8086
 
      # icc used to be incompatible with GCC.
8087
 
      # ICC 10 doesn't accept -KPIC any more.
8088
 
      icc* | ifort*)
8089
 
        lt_prog_compiler_wl='-Wl,'
8090
 
        lt_prog_compiler_pic='-fPIC'
8091
 
        lt_prog_compiler_static='-static'
8092
 
        ;;
8093
 
      # Lahey Fortran 8.1.
8094
 
      lf95*)
8095
 
        lt_prog_compiler_wl='-Wl,'
8096
 
        lt_prog_compiler_pic='--shared'
8097
 
        lt_prog_compiler_static='--static'
8098
 
        ;;
8099
 
      nagfor*)
8100
 
        # NAG Fortran compiler
8101
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8102
 
        lt_prog_compiler_pic='-PIC'
8103
 
        lt_prog_compiler_static='-Bstatic'
8104
 
        ;;
8105
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8106
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8107
 
        # which looks to be a dead project)
8108
 
        lt_prog_compiler_wl='-Wl,'
8109
 
        lt_prog_compiler_pic='-fpic'
8110
 
        lt_prog_compiler_static='-Bstatic'
8111
 
        ;;
8112
 
      ccc*)
8113
 
        lt_prog_compiler_wl='-Wl,'
8114
 
        # All Alpha code is PIC.
8115
 
        lt_prog_compiler_static='-non_shared'
8116
 
        ;;
8117
 
      xl* | bgxl* | bgf* | mpixl*)
8118
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8119
 
        lt_prog_compiler_wl='-Wl,'
8120
 
        lt_prog_compiler_pic='-qpic'
8121
 
        lt_prog_compiler_static='-qstaticlink'
8122
 
        ;;
8123
 
      *)
8124
 
        case `$CC -V 2>&1 | sed 5q` in
8125
 
        *Sun\ F* | *Sun*Fortran*)
8126
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8127
 
          lt_prog_compiler_pic='-KPIC'
8128
 
          lt_prog_compiler_static='-Bstatic'
8129
 
          lt_prog_compiler_wl=''
8130
 
          ;;
8131
 
        *Sun\ C*)
8132
 
          # Sun C 5.9
8133
 
          lt_prog_compiler_pic='-KPIC'
8134
 
          lt_prog_compiler_static='-Bstatic'
8135
 
          lt_prog_compiler_wl='-Wl,'
8136
 
          ;;
8137
 
        esac
8138
 
        ;;
8139
 
      esac
8140
 
      ;;
8141
 
 
8142
 
    newsos6)
8143
 
      lt_prog_compiler_pic='-KPIC'
8144
 
      lt_prog_compiler_static='-Bstatic'
8145
 
      ;;
8146
 
 
8147
 
    *nto* | *qnx*)
8148
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8149
 
      # it will coredump.
8150
 
      lt_prog_compiler_pic='-fPIC -shared'
8151
 
      ;;
8152
 
 
8153
 
    osf3* | osf4* | osf5*)
8154
 
      lt_prog_compiler_wl='-Wl,'
8155
 
      # All OSF/1 code is PIC.
8156
 
      lt_prog_compiler_static='-non_shared'
8157
 
      ;;
8158
 
 
8159
 
    rdos*)
8160
 
      lt_prog_compiler_static='-non_shared'
8161
 
      ;;
8162
 
 
8163
 
    solaris*)
8164
 
      lt_prog_compiler_pic='-KPIC'
8165
 
      lt_prog_compiler_static='-Bstatic'
8166
 
      case $cc_basename in
8167
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8168
 
        lt_prog_compiler_wl='-Qoption ld ';;
8169
 
      *)
8170
 
        lt_prog_compiler_wl='-Wl,';;
8171
 
      esac
8172
 
      ;;
8173
 
 
8174
 
    sunos4*)
8175
 
      lt_prog_compiler_wl='-Qoption ld '
8176
 
      lt_prog_compiler_pic='-PIC'
8177
 
      lt_prog_compiler_static='-Bstatic'
8178
 
      ;;
8179
 
 
8180
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8181
 
      lt_prog_compiler_wl='-Wl,'
8182
 
      lt_prog_compiler_pic='-KPIC'
8183
 
      lt_prog_compiler_static='-Bstatic'
8184
 
      ;;
8185
 
 
8186
 
    sysv4*MP*)
8187
 
      if test -d /usr/nec ;then
8188
 
        lt_prog_compiler_pic='-Kconform_pic'
8189
 
        lt_prog_compiler_static='-Bstatic'
8190
 
      fi
8191
 
      ;;
8192
 
 
8193
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8194
 
      lt_prog_compiler_wl='-Wl,'
8195
 
      lt_prog_compiler_pic='-KPIC'
8196
 
      lt_prog_compiler_static='-Bstatic'
8197
 
      ;;
8198
 
 
8199
 
    unicos*)
8200
 
      lt_prog_compiler_wl='-Wl,'
8201
 
      lt_prog_compiler_can_build_shared=no
8202
 
      ;;
8203
 
 
8204
 
    uts4*)
8205
 
      lt_prog_compiler_pic='-pic'
8206
 
      lt_prog_compiler_static='-Bstatic'
8207
 
      ;;
8208
 
 
8209
 
    *)
8210
 
      lt_prog_compiler_can_build_shared=no
8211
 
      ;;
8212
 
    esac
8213
 
  fi
8214
 
 
8215
 
case $host_os in
8216
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8217
 
  *djgpp*)
8218
 
    lt_prog_compiler_pic=
8219
 
    ;;
8220
 
  *)
8221
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8222
 
    ;;
8223
 
esac
8224
 
 
8225
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8226
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8227
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8228
 
  $as_echo_n "(cached) " >&6
8229
 
else
8230
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8231
 
fi
8232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8233
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8234
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8235
 
 
8236
 
#
8237
 
# Check to make sure the PIC flag actually works.
8238
 
#
8239
 
if test -n "$lt_prog_compiler_pic"; then
8240
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8241
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8242
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8243
 
  $as_echo_n "(cached) " >&6
8244
 
else
8245
 
  lt_cv_prog_compiler_pic_works=no
8246
 
   ac_outfile=conftest.$ac_objext
8247
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248
 
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8249
 
   # Insert the option either (1) after the last *FLAGS variable, or
8250
 
   # (2) before a word containing "conftest.", or (3) at the end.
8251
 
   # Note that $ac_compile itself does not contain backslashes and begins
8252
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8253
 
   # The option is referenced via a variable to avoid confusing sed.
8254
 
   lt_compile=`echo "$ac_compile" | $SED \
8255
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257
 
   -e 's:$: $lt_compiler_flag:'`
8258
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8259
 
   (eval "$lt_compile" 2>conftest.err)
8260
 
   ac_status=$?
8261
 
   cat conftest.err >&5
8262
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8264
 
     # The compiler can only warn and ignore the option if not recognized
8265
 
     # So say no if there are warnings other than the usual output.
8266
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8267
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8268
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8269
 
       lt_cv_prog_compiler_pic_works=yes
8270
 
     fi
8271
 
   fi
8272
 
   $RM conftest*
8273
 
 
8274
 
fi
8275
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8276
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8277
 
 
8278
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8279
 
    case $lt_prog_compiler_pic in
8280
 
     "" | " "*) ;;
8281
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8282
 
     esac
8283
 
else
8284
 
    lt_prog_compiler_pic=
8285
 
     lt_prog_compiler_can_build_shared=no
8286
 
fi
8287
 
 
8288
 
fi
8289
 
 
8290
 
    
8291
 
    
8292
 
    
8293
 
 
8294
 
 
8295
 
 
8296
 
    
8297
 
    
8298
 
    
8299
 
 
8300
 
#
8301
 
# Check to make sure the static flag actually works.
8302
 
#
8303
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8305
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8306
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
8307
 
  $as_echo_n "(cached) " >&6
8308
 
else
8309
 
  lt_cv_prog_compiler_static_works=no
8310
 
   save_LDFLAGS="$LDFLAGS"
8311
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8312
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8313
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8314
 
     # The linker can only warn and ignore the option if not recognized
8315
 
     # So say no if there are warnings
8316
 
     if test -s conftest.err; then
8317
 
       # Append any errors to the config.log.
8318
 
       cat conftest.err 1>&5
8319
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8320
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8321
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8322
 
         lt_cv_prog_compiler_static_works=yes
8323
 
       fi
8324
 
     else
8325
 
       lt_cv_prog_compiler_static_works=yes
8326
 
     fi
8327
 
   fi
8328
 
   $RM -r conftest*
8329
 
   LDFLAGS="$save_LDFLAGS"
8330
 
 
8331
 
fi
8332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8333
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8334
 
 
8335
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8336
 
    :
8337
 
else
8338
 
    lt_prog_compiler_static=
8339
 
fi
8340
 
 
8341
 
 
8342
 
    
8343
 
    
8344
 
    
8345
 
 
8346
 
 
8347
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8348
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8349
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8350
 
  $as_echo_n "(cached) " >&6
8351
 
else
8352
 
  lt_cv_prog_compiler_c_o=no
8353
 
   $RM -r conftest 2>/dev/null
8354
 
   mkdir conftest
8355
 
   cd conftest
8356
 
   mkdir out
8357
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8358
 
 
8359
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8360
 
   # Insert the option either (1) after the last *FLAGS variable, or
8361
 
   # (2) before a word containing "conftest.", or (3) at the end.
8362
 
   # Note that $ac_compile itself does not contain backslashes and begins
8363
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8364
 
   lt_compile=`echo "$ac_compile" | $SED \
8365
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8366
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8367
 
   -e 's:$: $lt_compiler_flag:'`
8368
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8369
 
   (eval "$lt_compile" 2>out/conftest.err)
8370
 
   ac_status=$?
8371
 
   cat out/conftest.err >&5
8372
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8374
 
   then
8375
 
     # The compiler can only warn and ignore the option if not recognized
8376
 
     # So say no if there are warnings
8377
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8378
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8379
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8380
 
       lt_cv_prog_compiler_c_o=yes
8381
 
     fi
8382
 
   fi
8383
 
   chmod u+w . 2>&5
8384
 
   $RM conftest*
8385
 
   # SGI C++ compiler will create directory out/ii_files/ for
8386
 
   # template instantiation
8387
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8388
 
   $RM out/* && rmdir out
8389
 
   cd ..
8390
 
   $RM -r conftest
8391
 
   $RM conftest*
8392
 
 
8393
 
fi
8394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8395
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8396
 
 
8397
 
    
8398
 
    
8399
 
    
8400
 
 
8401
 
 
8402
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8403
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8404
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8405
 
  $as_echo_n "(cached) " >&6
8406
 
else
8407
 
  lt_cv_prog_compiler_c_o=no
8408
 
   $RM -r conftest 2>/dev/null
8409
 
   mkdir conftest
8410
 
   cd conftest
8411
 
   mkdir out
8412
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8413
 
 
8414
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8415
 
   # Insert the option either (1) after the last *FLAGS variable, or
8416
 
   # (2) before a word containing "conftest.", or (3) at the end.
8417
 
   # Note that $ac_compile itself does not contain backslashes and begins
8418
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8419
 
   lt_compile=`echo "$ac_compile" | $SED \
8420
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8421
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8422
 
   -e 's:$: $lt_compiler_flag:'`
8423
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8424
 
   (eval "$lt_compile" 2>out/conftest.err)
8425
 
   ac_status=$?
8426
 
   cat out/conftest.err >&5
8427
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8429
 
   then
8430
 
     # The compiler can only warn and ignore the option if not recognized
8431
 
     # So say no if there are warnings
8432
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8433
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8434
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8435
 
       lt_cv_prog_compiler_c_o=yes
8436
 
     fi
8437
 
   fi
8438
 
   chmod u+w . 2>&5
8439
 
   $RM conftest*
8440
 
   # SGI C++ compiler will create directory out/ii_files/ for
8441
 
   # template instantiation
8442
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8443
 
   $RM out/* && rmdir out
8444
 
   cd ..
8445
 
   $RM -r conftest
8446
 
   $RM conftest*
8447
 
 
8448
 
fi
8449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8450
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8451
 
 
8452
 
 
8453
 
 
8454
 
 
8455
 
hard_links="nottested"
8456
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8457
 
  # do not overwrite the value of need_locks provided by the user
8458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8459
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8460
 
  hard_links=yes
8461
 
  $RM conftest*
8462
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8463
 
  touch conftest.a
8464
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8465
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8466
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8467
 
$as_echo "$hard_links" >&6; }
8468
 
  if test "$hard_links" = no; then
8469
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8470
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8471
 
    need_locks=warn
8472
 
  fi
8473
 
else
8474
 
  need_locks=no
8475
 
fi
8476
 
 
8477
 
    
8478
 
    
8479
 
    
8480
 
 
8481
 
 
8482
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8483
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8484
 
 
8485
 
  runpath_var=
8486
 
  allow_undefined_flag=
8487
 
  always_export_symbols=no
8488
 
  archive_cmds=
8489
 
  archive_expsym_cmds=
8490
 
  compiler_needs_object=no
8491
 
  enable_shared_with_static_runtimes=no
8492
 
  export_dynamic_flag_spec=
8493
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8494
 
  hardcode_automatic=no
8495
 
  hardcode_direct=no
8496
 
  hardcode_direct_absolute=no
8497
 
  hardcode_libdir_flag_spec=
8498
 
  hardcode_libdir_flag_spec_ld=
8499
 
  hardcode_libdir_separator=
8500
 
  hardcode_minus_L=no
8501
 
  hardcode_shlibpath_var=unsupported
8502
 
  inherit_rpath=no
8503
 
  link_all_deplibs=unknown
8504
 
  module_cmds=
8505
 
  module_expsym_cmds=
8506
 
  old_archive_from_new_cmds=
8507
 
  old_archive_from_expsyms_cmds=
8508
 
  thread_safe_flag_spec=
8509
 
  whole_archive_flag_spec=
8510
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8511
 
  # included in the symbol list
8512
 
  include_expsyms=
8513
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8514
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8515
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8516
 
  # as well as any symbol that contains `d'.
8517
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8518
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8519
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8520
 
  # the symbol is explicitly referenced.  Since portable code cannot
8521
 
  # rely on this symbol name, it's probably fine to never include it in
8522
 
  # preloaded symbol tables.
8523
 
  # Exclude shared library initialization/finalization symbols.
8524
 
  extract_expsyms_cmds=
8525
 
 
8526
 
  case $host_os in
8527
 
  cygwin* | mingw* | pw32* | cegcc*)
8528
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8529
 
    # When not using gcc, we currently assume that we are using
8530
 
    # Microsoft Visual C++.
8531
 
    if test "$GCC" != yes; then
8532
 
      with_gnu_ld=no
8533
 
    fi
8534
 
    ;;
8535
 
  interix*)
8536
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8537
 
    with_gnu_ld=yes
8538
 
    ;;
8539
 
  openbsd*)
8540
 
    with_gnu_ld=no
8541
 
    ;;
8542
 
  linux* | k*bsd*-gnu | gnu*)
8543
 
    link_all_deplibs=no
8544
 
    ;;
8545
 
  esac
8546
 
 
8547
 
  ld_shlibs=yes
8548
 
 
8549
 
  # On some targets, GNU ld is compatible enough with the native linker
8550
 
  # that we're better off using the native interface for both.
8551
 
  lt_use_gnu_ld_interface=no
8552
 
  if test "$with_gnu_ld" = yes; then
8553
 
    case $host_os in
8554
 
      aix*)
8555
 
        # The AIX port of GNU ld has always aspired to compatibility
8556
 
        # with the native linker.  However, as the warning in the GNU ld
8557
 
        # block says, versions before 2.19.5* couldn't really create working
8558
 
        # shared libraries, regardless of the interface used.
8559
 
        case `$LD -v 2>&1` in
8560
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8561
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8562
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8563
 
          *)
8564
 
            lt_use_gnu_ld_interface=yes
8565
 
            ;;
8566
 
        esac
8567
 
        ;;
8568
 
      *)
8569
 
        lt_use_gnu_ld_interface=yes
8570
 
        ;;
8571
 
    esac
8572
 
  fi
8573
 
 
8574
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8575
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8576
 
    wlarc='${wl}'
8577
 
 
8578
 
    # Set some defaults for GNU ld with shared library support. These
8579
 
    # are reset later if shared libraries are not supported. Putting them
8580
 
    # here allows them to be overridden if necessary.
8581
 
    runpath_var=LD_RUN_PATH
8582
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8583
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8584
 
    # ancient GNU ld didn't support --whole-archive et. al.
8585
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8586
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8587
 
    else
8588
 
      whole_archive_flag_spec=
8589
 
    fi
8590
 
    supports_anon_versioning=no
8591
 
    case `$LD -v 2>&1` in
8592
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8593
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8594
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8595
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8596
 
      *\ 2.11.*) ;; # other 2.11 versions
8597
 
      *) supports_anon_versioning=yes ;;
8598
 
    esac
8599
 
 
8600
 
    # See if GNU ld supports shared libraries.
8601
 
    case $host_os in
8602
 
    aix[3-9]*)
8603
 
      # On AIX/PPC, the GNU linker is very broken
8604
 
      if test "$host_cpu" != ia64; then
8605
 
        ld_shlibs=no
8606
 
        cat <<_LT_EOF 1>&2
8607
 
 
8608
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
8609
 
*** to be unable to reliably create shared libraries on AIX.
8610
 
*** Therefore, libtool is disabling shared libraries support.  If you
8611
 
*** really care for shared libraries, you may want to install binutils
8612
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8613
 
*** You will then need to restart the configuration process.
8614
 
 
8615
 
_LT_EOF
8616
 
      fi
8617
 
      ;;
8618
 
 
8619
 
    amigaos*)
8620
 
      case $host_cpu in
8621
 
      powerpc)
8622
 
            # see comment about AmigaOS4 .so support
8623
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8624
 
            archive_expsym_cmds=''
8625
 
        ;;
8626
 
      m68k)
8627
 
            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)'
8628
 
            hardcode_libdir_flag_spec='-L$libdir'
8629
 
            hardcode_minus_L=yes
8630
 
        ;;
8631
 
      esac
8632
 
      ;;
8633
 
 
8634
 
    beos*)
8635
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8636
 
        allow_undefined_flag=unsupported
8637
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8638
 
        # support --undefined.  This deserves some investigation.  FIXME
8639
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8640
 
      else
8641
 
        ld_shlibs=no
8642
 
      fi
8643
 
      ;;
8644
 
 
8645
 
    cygwin* | mingw* | pw32* | cegcc*)
8646
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8647
 
      # as there is no search path for DLLs.
8648
 
      hardcode_libdir_flag_spec='-L$libdir'
8649
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8650
 
      allow_undefined_flag=unsupported
8651
 
      always_export_symbols=no
8652
 
      enable_shared_with_static_runtimes=yes
8653
 
      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'
8654
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8655
 
 
8656
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8657
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8658
 
        # If the export-symbols file already is a .def file (1st line
8659
 
        # is EXPORTS), use it as is; otherwise, prepend...
8660
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8661
 
          cp $export_symbols $output_objdir/$soname.def;
8662
 
        else
8663
 
          echo EXPORTS > $output_objdir/$soname.def;
8664
 
          cat $export_symbols >> $output_objdir/$soname.def;
8665
 
        fi~
8666
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8667
 
      else
8668
 
        ld_shlibs=no
8669
 
      fi
8670
 
      ;;
8671
 
 
8672
 
    haiku*)
8673
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8674
 
      link_all_deplibs=yes
8675
 
      ;;
8676
 
 
8677
 
    interix[3-9]*)
8678
 
      hardcode_direct=no
8679
 
      hardcode_shlibpath_var=no
8680
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8681
 
      export_dynamic_flag_spec='${wl}-E'
8682
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8683
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8684
 
      # default) and relocated if they conflict, which is a slow very memory
8685
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8686
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8687
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8688
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8689
 
      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'
8690
 
      ;;
8691
 
 
8692
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8693
 
      tmp_diet=no
8694
 
      if test "$host_os" = linux-dietlibc; then
8695
 
        case $cc_basename in
8696
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8697
 
        esac
8698
 
      fi
8699
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8700
 
         && test "$tmp_diet" = no
8701
 
      then
8702
 
        tmp_addflag=' $pic_flag'
8703
 
        tmp_sharedflag='-shared'
8704
 
        case $cc_basename,$host_cpu in
8705
 
        pgcc*)                          # Portland Group C compiler
8706
 
          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'
8707
 
          tmp_addflag=' $pic_flag'
8708
 
          ;;
8709
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
8710
 
                                        # Portland Group f77 and f90 compilers
8711
 
          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'
8712
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8713
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8714
 
          tmp_addflag=' -i_dynamic' ;;
8715
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8716
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8717
 
        ifc* | ifort*)                  # Intel Fortran compiler
8718
 
          tmp_addflag=' -nofor_main' ;;
8719
 
        lf95*)                          # Lahey Fortran 8.1
8720
 
          whole_archive_flag_spec=
8721
 
          tmp_sharedflag='--shared' ;;
8722
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8723
 
          tmp_sharedflag='-qmkshrobj'
8724
 
          tmp_addflag= ;;
8725
 
        nvcc*)  # Cuda Compiler Driver 2.2
8726
 
          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'
8727
 
          compiler_needs_object=yes
8728
 
          ;;
8729
 
        esac
8730
 
        case `$CC -V 2>&1 | sed 5q` in
8731
 
        *Sun\ C*)                       # Sun C 5.9
8732
 
          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'
8733
 
          compiler_needs_object=yes
8734
 
          tmp_sharedflag='-G' ;;
8735
 
        *Sun\ F*)                       # Sun Fortran 8.3
8736
 
          tmp_sharedflag='-G' ;;
8737
 
        esac
8738
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8739
 
 
8740
 
        if test "x$supports_anon_versioning" = xyes; then
8741
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8742
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8743
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8744
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8745
 
        fi
8746
 
 
8747
 
        case $cc_basename in
8748
 
        xlf* | bgf* | bgxlf* | mpixlf*)
8749
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8750
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8751
 
          hardcode_libdir_flag_spec=
8752
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8753
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8754
 
          if test "x$supports_anon_versioning" = xyes; then
8755
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8756
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8757
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8758
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8759
 
          fi
8760
 
          ;;
8761
 
        esac
8762
 
      else
8763
 
        ld_shlibs=no
8764
 
      fi
8765
 
      ;;
8766
 
 
8767
 
    netbsd* | netbsdelf*-gnu)
8768
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8769
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8770
 
        wlarc=
8771
 
      else
8772
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8773
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8774
 
      fi
8775
 
      ;;
8776
 
 
8777
 
    solaris*)
8778
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8779
 
        ld_shlibs=no
8780
 
        cat <<_LT_EOF 1>&2
8781
 
 
8782
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8783
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8784
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8785
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8786
 
*** your PATH or compiler configuration so that the native linker is
8787
 
*** used, and then restart.
8788
 
 
8789
 
_LT_EOF
8790
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8791
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8792
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8793
 
      else
8794
 
        ld_shlibs=no
8795
 
      fi
8796
 
      ;;
8797
 
 
8798
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8799
 
      case `$LD -v 2>&1` in
8800
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8801
 
        ld_shlibs=no
8802
 
        cat <<_LT_EOF 1>&2
8803
 
 
8804
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8805
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8806
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8807
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8808
 
*** your PATH or compiler configuration so that the native linker is
8809
 
*** used, and then restart.
8810
 
 
8811
 
_LT_EOF
8812
 
        ;;
8813
 
        *)
8814
 
          # For security reasons, it is highly recommended that you always
8815
 
          # use absolute paths for naming shared libraries, and exclude the
8816
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8817
 
          # requires that you compile everything twice, which is a pain.
8818
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8819
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8820
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8821
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8822
 
          else
8823
 
            ld_shlibs=no
8824
 
          fi
8825
 
        ;;
8826
 
      esac
8827
 
      ;;
8828
 
 
8829
 
    sunos4*)
8830
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8831
 
      wlarc=
8832
 
      hardcode_direct=yes
8833
 
      hardcode_shlibpath_var=no
8834
 
      ;;
8835
 
 
8836
 
    *)
8837
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8838
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8840
 
      else
8841
 
        ld_shlibs=no
8842
 
      fi
8843
 
      ;;
8844
 
    esac
8845
 
 
8846
 
    if test "$ld_shlibs" = no; then
8847
 
      runpath_var=
8848
 
      hardcode_libdir_flag_spec=
8849
 
      export_dynamic_flag_spec=
8850
 
      whole_archive_flag_spec=
8851
 
    fi
8852
 
  else
8853
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8854
 
    case $host_os in
8855
 
    aix3*)
8856
 
      allow_undefined_flag=unsupported
8857
 
      always_export_symbols=yes
8858
 
      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'
8859
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8860
 
      # are no directories specified by -L.
8861
 
      hardcode_minus_L=yes
8862
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8863
 
        # Neither direct hardcoding nor static linking is supported with a
8864
 
        # broken collect2.
8865
 
        hardcode_direct=unsupported
8866
 
      fi
8867
 
      ;;
8868
 
 
8869
 
    aix[4-9]*)
8870
 
      if test "$host_cpu" = ia64; then
8871
 
        # On IA64, the linker does run time linking by default, so we don't
8872
 
        # have to do anything special.
8873
 
        aix_use_runtimelinking=no
8874
 
        exp_sym_flag='-Bexport'
8875
 
        no_entry_flag=""
8876
 
      else
8877
 
        # If we're using GNU nm, then we don't want the "-C" option.
8878
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8879
 
        # Also, AIX nm treats weak defined symbols like other global
8880
 
        # defined symbols, whereas GNU nm marks them as "W".
8881
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8882
 
          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'
8883
 
        else
8884
 
          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'
8885
 
        fi
8886
 
        aix_use_runtimelinking=no
8887
 
 
8888
 
        # Test if we are trying to use run time linking or normal
8889
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8890
 
        # need to do runtime linking.
8891
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8892
 
          for ld_flag in $LDFLAGS; do
8893
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8894
 
            aix_use_runtimelinking=yes
8895
 
            break
8896
 
          fi
8897
 
          done
8898
 
          ;;
8899
 
        esac
8900
 
 
8901
 
        exp_sym_flag='-bexport'
8902
 
        no_entry_flag='-bnoentry'
8903
 
      fi
8904
 
 
8905
 
      # When large executables or shared objects are built, AIX ld can
8906
 
      # have problems creating the table of contents.  If linking a library
8907
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8908
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8909
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8910
 
 
8911
 
      archive_cmds=''
8912
 
      hardcode_direct=yes
8913
 
      hardcode_direct_absolute=yes
8914
 
      hardcode_libdir_separator=':'
8915
 
      link_all_deplibs=yes
8916
 
      file_list_spec='${wl}-f,'
8917
 
 
8918
 
      if test "$GCC" = yes; then
8919
 
        case $host_os in aix4.[012]|aix4.[012].*)
8920
 
        # We only want to do this on AIX 4.2 and lower, the check
8921
 
        # below for broken collect2 doesn't work under 4.3+
8922
 
          collect2name=`${CC} -print-prog-name=collect2`
8923
 
          if test -f "$collect2name" &&
8924
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8925
 
          then
8926
 
          # We have reworked collect2
8927
 
          :
8928
 
          else
8929
 
          # We have old collect2
8930
 
          hardcode_direct=unsupported
8931
 
          # It fails to find uninstalled libraries when the uninstalled
8932
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8933
 
          # to unsupported forces relinking
8934
 
          hardcode_minus_L=yes
8935
 
          hardcode_libdir_flag_spec='-L$libdir'
8936
 
          hardcode_libdir_separator=
8937
 
          fi
8938
 
          ;;
8939
 
        esac
8940
 
        shared_flag='-shared'
8941
 
        if test "$aix_use_runtimelinking" = yes; then
8942
 
          shared_flag="$shared_flag "'${wl}-G'
8943
 
        fi
8944
 
        link_all_deplibs=no
8945
 
      else
8946
 
        # not using gcc
8947
 
        if test "$host_cpu" = ia64; then
8948
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8949
 
        # chokes on -Wl,-G. The following line is correct:
8950
 
          shared_flag='-G'
8951
 
        else
8952
 
          if test "$aix_use_runtimelinking" = yes; then
8953
 
            shared_flag='${wl}-G'
8954
 
          else
8955
 
            shared_flag='${wl}-bM:SRE'
8956
 
          fi
8957
 
        fi
8958
 
      fi
8959
 
 
8960
 
      export_dynamic_flag_spec='${wl}-bexpall'
8961
 
      # It seems that -bexpall does not export symbols beginning with
8962
 
      # underscore (_), so it is better to generate a list of symbols to export.
8963
 
      always_export_symbols=yes
8964
 
      if test "$aix_use_runtimelinking" = yes; then
8965
 
        # Warning - without using the other runtime loading flags (-brtl),
8966
 
        # -berok will link without error, but may produce a broken library.
8967
 
        allow_undefined_flag='-berok'
8968
 
        # Determine the default libpath from the value encoded in an
8969
 
        # empty executable.
8970
 
        if test "${lt_cv_aix_libpath+set}" = set; then
8971
 
  aix_libpath=$lt_cv_aix_libpath
8972
 
else
8973
 
  if ${lt_cv_aix_libpath_+:} false; then :
8974
 
  $as_echo_n "(cached) " >&6
8975
 
else
8976
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977
 
/* end confdefs.h.  */
8978
 
 
8979
 
int
8980
 
main ()
8981
 
{
8982
 
 
8983
 
  ;
8984
 
  return 0;
8985
 
}
8986
 
_ACEOF
8987
 
if ac_fn_c_try_link "$LINENO"; then :
8988
 
  
8989
 
  lt_aix_libpath_sed='
8990
 
      /Import File Strings/,/^$/ {
8991
 
          /^0/ {
8992
 
              s/^0  *\([^ ]*\) *$/\1/
8993
 
              p
8994
 
          }
8995
 
      }'
8996
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8997
 
  # Check for a 64-bit object if we didn't find anything.
8998
 
  if test -z "$lt_cv_aix_libpath_"; then
8999
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9000
 
  fi
9001
 
fi
9002
 
rm -f core conftest.err conftest.$ac_objext \
9003
 
    conftest$ac_exeext conftest.$ac_ext
9004
 
  if test -z "$lt_cv_aix_libpath_"; then
9005
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9006
 
  fi
9007
 
  
9008
 
fi
9009
 
 
9010
 
  aix_libpath=$lt_cv_aix_libpath_
9011
 
fi
9012
 
 
9013
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9014
 
        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"
9015
 
      else
9016
 
        if test "$host_cpu" = ia64; then
9017
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9018
 
          allow_undefined_flag="-z nodefs"
9019
 
          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"
9020
 
        else
9021
 
         # Determine the default libpath from the value encoded in an
9022
 
         # empty executable.
9023
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9024
 
  aix_libpath=$lt_cv_aix_libpath
9025
 
else
9026
 
  if ${lt_cv_aix_libpath_+:} false; then :
9027
 
  $as_echo_n "(cached) " >&6
9028
 
else
9029
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9030
 
/* end confdefs.h.  */
9031
 
 
9032
 
int
9033
 
main ()
9034
 
{
9035
 
 
9036
 
  ;
9037
 
  return 0;
9038
 
}
9039
 
_ACEOF
9040
 
if ac_fn_c_try_link "$LINENO"; then :
9041
 
  
9042
 
  lt_aix_libpath_sed='
9043
 
      /Import File Strings/,/^$/ {
9044
 
          /^0/ {
9045
 
              s/^0  *\([^ ]*\) *$/\1/
9046
 
              p
9047
 
          }
9048
 
      }'
9049
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9050
 
  # Check for a 64-bit object if we didn't find anything.
9051
 
  if test -z "$lt_cv_aix_libpath_"; then
9052
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9053
 
  fi
9054
 
fi
9055
 
rm -f core conftest.err conftest.$ac_objext \
9056
 
    conftest$ac_exeext conftest.$ac_ext
9057
 
  if test -z "$lt_cv_aix_libpath_"; then
9058
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9059
 
  fi
9060
 
  
9061
 
fi
9062
 
 
9063
 
  aix_libpath=$lt_cv_aix_libpath_
9064
 
fi
9065
 
 
9066
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9067
 
          # Warning - without using the other run time loading flags,
9068
 
          # -berok will link without error, but may produce a broken library.
9069
 
          no_undefined_flag=' ${wl}-bernotok'
9070
 
          allow_undefined_flag=' ${wl}-berok'
9071
 
          if test "$with_gnu_ld" = yes; then
9072
 
            # We only use this code for GNU lds that support --whole-archive.
9073
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9074
 
          else
9075
 
            # Exported symbols can be pulled into shared objects from archives
9076
 
            whole_archive_flag_spec='$convenience'
9077
 
          fi
9078
 
          archive_cmds_need_lc=yes
9079
 
          # This is similar to how AIX traditionally builds its shared libraries.
9080
 
          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'
9081
 
        fi
9082
 
      fi
9083
 
      ;;
9084
 
 
9085
 
    amigaos*)
9086
 
      case $host_cpu in
9087
 
      powerpc)
9088
 
            # see comment about AmigaOS4 .so support
9089
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090
 
            archive_expsym_cmds=''
9091
 
        ;;
9092
 
      m68k)
9093
 
            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)'
9094
 
            hardcode_libdir_flag_spec='-L$libdir'
9095
 
            hardcode_minus_L=yes
9096
 
        ;;
9097
 
      esac
9098
 
      ;;
9099
 
 
9100
 
    bsdi[45]*)
9101
 
      export_dynamic_flag_spec=-rdynamic
9102
 
      ;;
9103
 
 
9104
 
    cygwin* | mingw* | pw32* | cegcc*)
9105
 
      # When not using gcc, we currently assume that we are using
9106
 
      # Microsoft Visual C++.
9107
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9108
 
      # no search path for DLLs.
9109
 
      case $cc_basename in
9110
 
      cl*)
9111
 
        # Native MSVC
9112
 
        hardcode_libdir_flag_spec=' '
9113
 
        allow_undefined_flag=unsupported
9114
 
        always_export_symbols=yes
9115
 
        file_list_spec='@'
9116
 
        # Tell ltmain to make .lib files, not .a files.
9117
 
        libext=lib
9118
 
        # Tell ltmain to make .dll files, not .so files.
9119
 
        shrext_cmds=".dll"
9120
 
        # FIXME: Setting linknames here is a bad hack.
9121
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9122
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9123
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9124
 
          else
9125
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9126
 
          fi~
9127
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9128
 
          linknames='
9129
 
        # The linker will not automatically build a static lib if we build a DLL.
9130
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9131
 
        enable_shared_with_static_runtimes=yes
9132
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9133
 
        # Don't use ranlib
9134
 
        old_postinstall_cmds='chmod 644 $oldlib'
9135
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9136
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9137
 
          case $lt_outputfile in
9138
 
            *.exe|*.EXE) ;;
9139
 
            *)
9140
 
              lt_outputfile="$lt_outputfile.exe"
9141
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9142
 
              ;;
9143
 
          esac~
9144
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9145
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9146
 
            $RM "$lt_outputfile.manifest";
9147
 
          fi'
9148
 
        ;;
9149
 
      *)
9150
 
        # Assume MSVC wrapper
9151
 
        hardcode_libdir_flag_spec=' '
9152
 
        allow_undefined_flag=unsupported
9153
 
        # Tell ltmain to make .lib files, not .a files.
9154
 
        libext=lib
9155
 
        # Tell ltmain to make .dll files, not .so files.
9156
 
        shrext_cmds=".dll"
9157
 
        # FIXME: Setting linknames here is a bad hack.
9158
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9159
 
        # The linker will automatically build a .lib file if we build a DLL.
9160
 
        old_archive_from_new_cmds='true'
9161
 
        # FIXME: Should let the user specify the lib program.
9162
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9163
 
        enable_shared_with_static_runtimes=yes
9164
 
        ;;
9165
 
      esac
9166
 
      ;;
9167
 
 
9168
 
    darwin* | rhapsody*)
9169
 
      
9170
 
  
9171
 
  archive_cmds_need_lc=no
9172
 
  hardcode_direct=no
9173
 
  hardcode_automatic=yes
9174
 
  hardcode_shlibpath_var=unsupported
9175
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9176
 
    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\"`'
9177
 
  else
9178
 
    whole_archive_flag_spec=''
9179
 
  fi
9180
 
  link_all_deplibs=yes
9181
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9182
 
  case $cc_basename in
9183
 
     ifort*) _lt_dar_can_shared=yes ;;
9184
 
     *) _lt_dar_can_shared=$GCC ;;
9185
 
  esac
9186
 
  if test "$_lt_dar_can_shared" = "yes"; then
9187
 
    output_verbose_link_cmd=func_echo_all
9188
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9189
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9190
 
    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}"
9191
 
    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}"
9192
 
    
9193
 
  else
9194
 
  ld_shlibs=no
9195
 
  fi
9196
 
 
9197
 
      ;;
9198
 
 
9199
 
    dgux*)
9200
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9201
 
      hardcode_libdir_flag_spec='-L$libdir'
9202
 
      hardcode_shlibpath_var=no
9203
 
      ;;
9204
 
 
9205
 
    freebsd1*)
9206
 
      ld_shlibs=no
9207
 
      ;;
9208
 
 
9209
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9210
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9211
 
    # does not break anything, and helps significantly (at the cost of a little
9212
 
    # extra space).
9213
 
    freebsd2.2*)
9214
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9215
 
      hardcode_libdir_flag_spec='-R$libdir'
9216
 
      hardcode_direct=yes
9217
 
      hardcode_shlibpath_var=no
9218
 
      ;;
9219
 
 
9220
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9221
 
    freebsd2*)
9222
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9223
 
      hardcode_direct=yes
9224
 
      hardcode_minus_L=yes
9225
 
      hardcode_shlibpath_var=no
9226
 
      ;;
9227
 
 
9228
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9229
 
    freebsd* | dragonfly*)
9230
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9231
 
      hardcode_libdir_flag_spec='-R$libdir'
9232
 
      hardcode_direct=yes
9233
 
      hardcode_shlibpath_var=no
9234
 
      ;;
9235
 
 
9236
 
    hpux9*)
9237
 
      if test "$GCC" = yes; then
9238
 
        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'
9239
 
      else
9240
 
        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'
9241
 
      fi
9242
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9243
 
      hardcode_libdir_separator=:
9244
 
      hardcode_direct=yes
9245
 
 
9246
 
      # hardcode_minus_L: Not really in the search PATH,
9247
 
      # but as the default location of the library.
9248
 
      hardcode_minus_L=yes
9249
 
      export_dynamic_flag_spec='${wl}-E'
9250
 
      ;;
9251
 
 
9252
 
    hpux10*)
9253
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9254
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9255
 
      else
9256
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9257
 
      fi
9258
 
      if test "$with_gnu_ld" = no; then
9259
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9260
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9261
 
        hardcode_libdir_separator=:
9262
 
        hardcode_direct=yes
9263
 
        hardcode_direct_absolute=yes
9264
 
        export_dynamic_flag_spec='${wl}-E'
9265
 
        # hardcode_minus_L: Not really in the search PATH,
9266
 
        # but as the default location of the library.
9267
 
        hardcode_minus_L=yes
9268
 
      fi
9269
 
      ;;
9270
 
 
9271
 
    hpux11*)
9272
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9273
 
        case $host_cpu in
9274
 
        hppa*64*)
9275
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9276
 
          ;;
9277
 
        ia64*)
9278
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9279
 
          ;;
9280
 
        *)
9281
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9282
 
          ;;
9283
 
        esac
9284
 
      else
9285
 
        case $host_cpu in
9286
 
        hppa*64*)
9287
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9288
 
          ;;
9289
 
        ia64*)
9290
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9291
 
          ;;
9292
 
        *)
9293
 
        
9294
 
          # Older versions of the 11.00 compiler do not understand -b yet
9295
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9296
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9297
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9298
 
if ${lt_cv_prog_compiler__b+:} false; then :
9299
 
  $as_echo_n "(cached) " >&6
9300
 
else
9301
 
  lt_cv_prog_compiler__b=no
9302
 
   save_LDFLAGS="$LDFLAGS"
9303
 
   LDFLAGS="$LDFLAGS -b"
9304
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9305
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9306
 
     # The linker can only warn and ignore the option if not recognized
9307
 
     # So say no if there are warnings
9308
 
     if test -s conftest.err; then
9309
 
       # Append any errors to the config.log.
9310
 
       cat conftest.err 1>&5
9311
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9312
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9313
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9314
 
         lt_cv_prog_compiler__b=yes
9315
 
       fi
9316
 
     else
9317
 
       lt_cv_prog_compiler__b=yes
9318
 
     fi
9319
 
   fi
9320
 
   $RM -r conftest*
9321
 
   LDFLAGS="$save_LDFLAGS"
9322
 
 
9323
 
fi
9324
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9325
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9326
 
 
9327
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9328
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9329
 
else
9330
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9331
 
fi
9332
 
 
9333
 
          ;;
9334
 
        esac
9335
 
      fi
9336
 
      if test "$with_gnu_ld" = no; then
9337
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9338
 
        hardcode_libdir_separator=:
9339
 
 
9340
 
        case $host_cpu in
9341
 
        hppa*64*|ia64*)
9342
 
          hardcode_direct=no
9343
 
          hardcode_shlibpath_var=no
9344
 
          ;;
9345
 
        *)
9346
 
          hardcode_direct=yes
9347
 
          hardcode_direct_absolute=yes
9348
 
          export_dynamic_flag_spec='${wl}-E'
9349
 
 
9350
 
          # hardcode_minus_L: Not really in the search PATH,
9351
 
          # but as the default location of the library.
9352
 
          hardcode_minus_L=yes
9353
 
          ;;
9354
 
        esac
9355
 
      fi
9356
 
      ;;
9357
 
 
9358
 
    irix5* | irix6* | nonstopux*)
9359
 
      if test "$GCC" = yes; then
9360
 
        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'
9361
 
        # Try to use the -exported_symbol ld option, if it does not
9362
 
        # work, assume that -exports_file does not work either and
9363
 
        # implicitly export all symbols.
9364
 
        # This should be the same for all languages, so no per-tag cache variable.
9365
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9366
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9367
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9368
 
  $as_echo_n "(cached) " >&6
9369
 
else
9370
 
  save_LDFLAGS="$LDFLAGS"
9371
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9372
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373
 
/* end confdefs.h.  */
9374
 
int foo (void) { return 0; }
9375
 
_ACEOF
9376
 
if ac_fn_c_try_link "$LINENO"; then :
9377
 
  lt_cv_irix_exported_symbol=yes
9378
 
else
9379
 
  lt_cv_irix_exported_symbol=no
9380
 
fi
9381
 
rm -f core conftest.err conftest.$ac_objext \
9382
 
    conftest$ac_exeext conftest.$ac_ext
9383
 
           LDFLAGS="$save_LDFLAGS"
9384
 
fi
9385
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9386
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9387
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9388
 
          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'
9389
 
        fi
9390
 
      else
9391
 
        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'
9392
 
        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'
9393
 
      fi
9394
 
      archive_cmds_need_lc='no'
9395
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9396
 
      hardcode_libdir_separator=:
9397
 
      inherit_rpath=yes
9398
 
      link_all_deplibs=yes
9399
 
      ;;
9400
 
 
9401
 
    netbsd* | netbsdelf*-gnu)
9402
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9403
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9404
 
      else
9405
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9406
 
      fi
9407
 
      hardcode_libdir_flag_spec='-R$libdir'
9408
 
      hardcode_direct=yes
9409
 
      hardcode_shlibpath_var=no
9410
 
      ;;
9411
 
 
9412
 
    newsos6)
9413
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414
 
      hardcode_direct=yes
9415
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9416
 
      hardcode_libdir_separator=:
9417
 
      hardcode_shlibpath_var=no
9418
 
      ;;
9419
 
 
9420
 
    *nto* | *qnx*)
9421
 
      ;;
9422
 
 
9423
 
    openbsd*)
9424
 
      if test -f /usr/libexec/ld.so; then
9425
 
        hardcode_direct=yes
9426
 
        hardcode_shlibpath_var=no
9427
 
        hardcode_direct_absolute=yes
9428
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9429
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9430
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9431
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9432
 
          export_dynamic_flag_spec='${wl}-E'
9433
 
        else
9434
 
          case $host_os in
9435
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9436
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9437
 
             hardcode_libdir_flag_spec='-R$libdir'
9438
 
             ;;
9439
 
           *)
9440
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9441
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9442
 
             ;;
9443
 
          esac
9444
 
        fi
9445
 
      else
9446
 
        ld_shlibs=no
9447
 
      fi
9448
 
      ;;
9449
 
 
9450
 
    os2*)
9451
 
      hardcode_libdir_flag_spec='-L$libdir'
9452
 
      hardcode_minus_L=yes
9453
 
      allow_undefined_flag=unsupported
9454
 
      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'
9455
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9456
 
      ;;
9457
 
 
9458
 
    osf3*)
9459
 
      if test "$GCC" = yes; then
9460
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9461
 
        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'
9462
 
      else
9463
 
        allow_undefined_flag=' -expect_unresolved \*'
9464
 
        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'
9465
 
      fi
9466
 
      archive_cmds_need_lc='no'
9467
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9468
 
      hardcode_libdir_separator=:
9469
 
      ;;
9470
 
 
9471
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9472
 
      if test "$GCC" = yes; then
9473
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9474
 
        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'
9475
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9476
 
      else
9477
 
        allow_undefined_flag=' -expect_unresolved \*'
9478
 
        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'
9479
 
        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~
9480
 
        $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'
9481
 
 
9482
 
        # Both c and cxx compiler support -rpath directly
9483
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9484
 
      fi
9485
 
      archive_cmds_need_lc='no'
9486
 
      hardcode_libdir_separator=:
9487
 
      ;;
9488
 
 
9489
 
    solaris*)
9490
 
      no_undefined_flag=' -z defs'
9491
 
      if test "$GCC" = yes; then
9492
 
        wlarc='${wl}'
9493
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9494
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9495
 
          $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'
9496
 
      else
9497
 
        case `$CC -V 2>&1` in
9498
 
        *"Compilers 5.0"*)
9499
 
          wlarc=''
9500
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9501
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9502
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9503
 
          ;;
9504
 
        *)
9505
 
          wlarc='${wl}'
9506
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9507
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9508
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9509
 
          ;;
9510
 
        esac
9511
 
      fi
9512
 
      hardcode_libdir_flag_spec='-R$libdir'
9513
 
      hardcode_shlibpath_var=no
9514
 
      case $host_os in
9515
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9516
 
      *)
9517
 
        # The compiler driver will combine and reorder linker options,
9518
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9519
 
        # but is careful enough not to reorder.
9520
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9521
 
        if test "$GCC" = yes; then
9522
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9523
 
        else
9524
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9525
 
        fi
9526
 
        ;;
9527
 
      esac
9528
 
      link_all_deplibs=yes
9529
 
      ;;
9530
 
 
9531
 
    sunos4*)
9532
 
      if test "x$host_vendor" = xsequent; then
9533
 
        # Use $CC to link under sequent, because it throws in some extra .o
9534
 
        # files that make .init and .fini sections work.
9535
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9536
 
      else
9537
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9538
 
      fi
9539
 
      hardcode_libdir_flag_spec='-L$libdir'
9540
 
      hardcode_direct=yes
9541
 
      hardcode_minus_L=yes
9542
 
      hardcode_shlibpath_var=no
9543
 
      ;;
9544
 
 
9545
 
    sysv4)
9546
 
      case $host_vendor in
9547
 
        sni)
9548
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9549
 
          hardcode_direct=yes # is this really true???
9550
 
        ;;
9551
 
        siemens)
9552
 
          ## LD is ld it makes a PLAMLIB
9553
 
          ## CC just makes a GrossModule.
9554
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9555
 
          reload_cmds='$CC -r -o $output$reload_objs'
9556
 
          hardcode_direct=no
9557
 
        ;;
9558
 
        motorola)
9559
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9561
 
        ;;
9562
 
      esac
9563
 
      runpath_var='LD_RUN_PATH'
9564
 
      hardcode_shlibpath_var=no
9565
 
      ;;
9566
 
 
9567
 
    sysv4.3*)
9568
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569
 
      hardcode_shlibpath_var=no
9570
 
      export_dynamic_flag_spec='-Bexport'
9571
 
      ;;
9572
 
 
9573
 
    sysv4*MP*)
9574
 
      if test -d /usr/nec; then
9575
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9576
 
        hardcode_shlibpath_var=no
9577
 
        runpath_var=LD_RUN_PATH
9578
 
        hardcode_runpath_var=yes
9579
 
        ld_shlibs=yes
9580
 
      fi
9581
 
      ;;
9582
 
 
9583
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9584
 
      no_undefined_flag='${wl}-z,text'
9585
 
      archive_cmds_need_lc=no
9586
 
      hardcode_shlibpath_var=no
9587
 
      runpath_var='LD_RUN_PATH'
9588
 
 
9589
 
      if test "$GCC" = yes; then
9590
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9591
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9592
 
      else
9593
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9594
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9595
 
      fi
9596
 
      ;;
9597
 
 
9598
 
    sysv5* | sco3.2v5* | sco5v6*)
9599
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9600
 
      # link with -lc, and that would cause any symbols used from libc to
9601
 
      # always be unresolved, which means just about no library would
9602
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9603
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9604
 
      # as -z defs.
9605
 
      no_undefined_flag='${wl}-z,text'
9606
 
      allow_undefined_flag='${wl}-z,nodefs'
9607
 
      archive_cmds_need_lc=no
9608
 
      hardcode_shlibpath_var=no
9609
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9610
 
      hardcode_libdir_separator=':'
9611
 
      link_all_deplibs=yes
9612
 
      export_dynamic_flag_spec='${wl}-Bexport'
9613
 
      runpath_var='LD_RUN_PATH'
9614
 
 
9615
 
      if test "$GCC" = yes; then
9616
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9617
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9618
 
      else
9619
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9620
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9621
 
      fi
9622
 
      ;;
9623
 
 
9624
 
    uts4*)
9625
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9626
 
      hardcode_libdir_flag_spec='-L$libdir'
9627
 
      hardcode_shlibpath_var=no
9628
 
      ;;
9629
 
 
9630
 
    *)
9631
 
      ld_shlibs=no
9632
 
      ;;
9633
 
    esac
9634
 
 
9635
 
    if test x$host_vendor = xsni; then
9636
 
      case $host in
9637
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9638
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9639
 
        ;;
9640
 
      esac
9641
 
    fi
9642
 
  fi
9643
 
 
9644
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9645
 
$as_echo "$ld_shlibs" >&6; }
9646
 
test "$ld_shlibs" = no && can_build_shared=no
9647
 
 
9648
 
with_gnu_ld=$with_gnu_ld
9649
 
 
9650
 
 
9651
 
    
9652
 
    
9653
 
    
9654
 
 
9655
 
    
9656
 
    
9657
 
    
9658
 
 
9659
 
    
9660
 
    
9661
 
    
9662
 
 
9663
 
 
9664
 
#
9665
 
# Do we need to explicitly link libc?
9666
 
#
9667
 
case "x$archive_cmds_need_lc" in
9668
 
x|xyes)
9669
 
  # Assume -lc should be added
9670
 
  archive_cmds_need_lc=yes
9671
 
 
9672
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9673
 
    case $archive_cmds in
9674
 
    *'~'*)
9675
 
      # FIXME: we may have to deal with multi-command sequences.
9676
 
      ;;
9677
 
    '$CC '*)
9678
 
      # Test whether the compiler implicitly links with -lc since on some
9679
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9680
 
      # to ld, don't add -lc before -lgcc.
9681
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9682
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9683
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9684
 
  $as_echo_n "(cached) " >&6
9685
 
else
9686
 
  $RM conftest*
9687
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9688
 
 
9689
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9690
 
  (eval $ac_compile) 2>&5
9691
 
  ac_status=$?
9692
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9693
 
  test $ac_status = 0; } 2>conftest.err; then
9694
 
          soname=conftest
9695
 
          lib=conftest
9696
 
          libobjs=conftest.$ac_objext
9697
 
          deplibs=
9698
 
          wl=$lt_prog_compiler_wl
9699
 
          pic_flag=$lt_prog_compiler_pic
9700
 
          compiler_flags=-v
9701
 
          linker_flags=-v
9702
 
          verstring=
9703
 
          output_objdir=.
9704
 
          libname=conftest
9705
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
9706
 
          allow_undefined_flag=
9707
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9708
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9709
 
  ac_status=$?
9710
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9711
 
  test $ac_status = 0; }
9712
 
          then
9713
 
            lt_cv_archive_cmds_need_lc=no
9714
 
          else
9715
 
            lt_cv_archive_cmds_need_lc=yes
9716
 
          fi
9717
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
9718
 
        else
9719
 
          cat conftest.err 1>&5
9720
 
        fi
9721
 
        $RM conftest*
9722
 
        
9723
 
fi
9724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9725
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9726
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9727
 
      ;;
9728
 
    esac
9729
 
  fi
9730
 
  ;;
9731
 
esac
9732
 
 
9733
 
 
9734
 
    
9735
 
    
9736
 
    
9737
 
 
9738
 
 
9739
 
    
9740
 
    
9741
 
    
9742
 
 
9743
 
 
9744
 
    
9745
 
    
9746
 
    
9747
 
 
9748
 
 
9749
 
    
9750
 
    
9751
 
    
9752
 
 
9753
 
 
9754
 
    
9755
 
    
9756
 
    
9757
 
 
9758
 
 
9759
 
    
9760
 
    
9761
 
    
9762
 
 
9763
 
 
9764
 
    
9765
 
    
9766
 
    
9767
 
 
9768
 
 
9769
 
    
9770
 
    
9771
 
    
9772
 
 
9773
 
 
9774
 
    
9775
 
    
9776
 
    
9777
 
 
9778
 
 
9779
 
    
9780
 
    
9781
 
    
9782
 
 
9783
 
 
9784
 
    
9785
 
    
9786
 
    
9787
 
 
9788
 
 
9789
 
    
9790
 
    
9791
 
    
9792
 
 
9793
 
 
9794
 
    
9795
 
    
9796
 
    
9797
 
 
9798
 
 
9799
 
    
9800
 
    
9801
 
    
9802
 
 
9803
 
 
9804
 
    
9805
 
    
9806
 
    
9807
 
 
9808
 
 
9809
 
    
9810
 
    
9811
 
    
9812
 
 
9813
 
 
9814
 
    
9815
 
    
9816
 
    
9817
 
 
9818
 
 
9819
 
    
9820
 
    
9821
 
    
9822
 
 
9823
 
 
9824
 
    
9825
 
    
9826
 
    
9827
 
 
9828
 
 
9829
 
    
9830
 
    
9831
 
    
9832
 
 
9833
 
 
9834
 
    
9835
 
    
9836
 
    
9837
 
 
9838
 
 
9839
 
    
9840
 
    
9841
 
    
9842
 
 
9843
 
 
9844
 
    
9845
 
    
9846
 
    
9847
 
 
9848
 
 
9849
 
    
9850
 
    
9851
 
    
9852
 
 
9853
 
 
9854
 
    
9855
 
    
9856
 
    
9857
 
 
9858
 
 
9859
 
    
9860
 
    
9861
 
    
9862
 
 
9863
 
 
9864
 
    
9865
 
    
9866
 
    
9867
 
 
9868
 
 
9869
 
    
9870
 
    
9871
 
    
9872
 
 
9873
 
 
9874
 
    
9875
 
    
9876
 
    
9877
 
 
9878
 
 
9879
 
    
9880
 
    
9881
 
    
9882
 
 
9883
 
 
9884
 
    
9885
 
    
9886
 
    
9887
 
 
9888
 
 
9889
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9890
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9891
 
 
9892
 
if test "$GCC" = yes; then
9893
 
  case $host_os in
9894
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9895
 
    *) lt_awk_arg="/^libraries:/" ;;
9896
 
  esac
9897
 
  case $host_os in
9898
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9899
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
9900
 
  esac
9901
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9902
 
  case $lt_search_path_spec in
9903
 
  *\;*)
9904
 
    # if the path contains ";" then we assume it to be the separator
9905
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9906
 
    # assumed that no part of a normal pathname contains ";" but that should
9907
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9908
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9909
 
    ;;
9910
 
  *)
9911
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9912
 
    ;;
9913
 
  esac
9914
 
  # Ok, now we have the path, separated by spaces, we can step through it
9915
 
  # and add multilib dir if necessary.
9916
 
  lt_tmp_lt_search_path_spec=
9917
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9918
 
  for lt_sys_path in $lt_search_path_spec; do
9919
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9920
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9921
 
    else
9922
 
      test -d "$lt_sys_path" && \
9923
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9924
 
    fi
9925
 
  done
9926
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9927
 
BEGIN {RS=" "; FS="/|\n";} {
9928
 
  lt_foo="";
9929
 
  lt_count=0;
9930
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9931
 
    if ($lt_i != "" && $lt_i != ".") {
9932
 
      if ($lt_i == "..") {
9933
 
        lt_count++;
9934
 
      } else {
9935
 
        if (lt_count == 0) {
9936
 
          lt_foo="/" $lt_i lt_foo;
9937
 
        } else {
9938
 
          lt_count--;
9939
 
        }
9940
 
      }
9941
 
    }
9942
 
  }
9943
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9944
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9945
 
}'`
9946
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
9947
 
  # for these hosts.
9948
 
  case $host_os in
9949
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9950
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9951
 
  esac
9952
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9953
 
else
9954
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9955
 
fi
9956
 
library_names_spec=
9957
 
libname_spec='lib$name'
9958
 
soname_spec=
9959
 
shrext_cmds=".so"
9960
 
postinstall_cmds=
9961
 
postuninstall_cmds=
9962
 
finish_cmds=
9963
 
finish_eval=
9964
 
shlibpath_var=
9965
 
shlibpath_overrides_runpath=unknown
9966
 
version_type=none
9967
 
dynamic_linker="$host_os ld.so"
9968
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9969
 
need_lib_prefix=unknown
9970
 
hardcode_into_libs=no
9971
 
 
9972
 
# when you set need_version to no, make sure it does not cause -set_version
9973
 
# flags to be left without arguments
9974
 
need_version=unknown
9975
 
 
9976
 
case $host_os in
9977
 
aix3*)
9978
 
  version_type=linux
9979
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9980
 
  shlibpath_var=LIBPATH
9981
 
 
9982
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9983
 
  soname_spec='${libname}${release}${shared_ext}$major'
9984
 
  ;;
9985
 
 
9986
 
aix[4-9]*)
9987
 
  version_type=linux
9988
 
  need_lib_prefix=no
9989
 
  need_version=no
9990
 
  hardcode_into_libs=yes
9991
 
  if test "$host_cpu" = ia64; then
9992
 
    # AIX 5 supports IA64
9993
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9994
 
    shlibpath_var=LD_LIBRARY_PATH
9995
 
  else
9996
 
    # With GCC up to 2.95.x, collect2 would create an import file
9997
 
    # for dependence libraries.  The import file would start with
9998
 
    # the line `#! .'.  This would cause the generated library to
9999
 
    # depend on `.', always an invalid library.  This was fixed in
10000
 
    # development snapshots of GCC prior to 3.0.
10001
 
    case $host_os in
10002
 
      aix4 | aix4.[01] | aix4.[01].*)
10003
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10004
 
           echo ' yes '
10005
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10006
 
        :
10007
 
      else
10008
 
        can_build_shared=no
10009
 
      fi
10010
 
      ;;
10011
 
    esac
10012
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10013
 
    # soname into executable. Probably we can add versioning support to
10014
 
    # collect2, so additional links can be useful in future.
10015
 
    if test "$aix_use_runtimelinking" = yes; then
10016
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10017
 
      # instead of lib<name>.a to let people know that these are not
10018
 
      # typical AIX shared libraries.
10019
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10020
 
    else
10021
 
      # We preserve .a as extension for shared libraries through AIX4.2
10022
 
      # and later when we are not doing run time linking.
10023
 
      library_names_spec='${libname}${release}.a $libname.a'
10024
 
      soname_spec='${libname}${release}${shared_ext}$major'
10025
 
    fi
10026
 
    shlibpath_var=LIBPATH
10027
 
  fi
10028
 
  ;;
10029
 
 
10030
 
amigaos*)
10031
 
  case $host_cpu in
10032
 
  powerpc)
10033
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10034
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10035
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036
 
    ;;
10037
 
  m68k)
10038
 
    library_names_spec='$libname.ixlibrary $libname.a'
10039
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10040
 
    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'
10041
 
    ;;
10042
 
  esac
10043
 
  ;;
10044
 
 
10045
 
beos*)
10046
 
  library_names_spec='${libname}${shared_ext}'
10047
 
  dynamic_linker="$host_os ld.so"
10048
 
  shlibpath_var=LIBRARY_PATH
10049
 
  ;;
10050
 
 
10051
 
bsdi[45]*)
10052
 
  version_type=linux
10053
 
  need_version=no
10054
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055
 
  soname_spec='${libname}${release}${shared_ext}$major'
10056
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10057
 
  shlibpath_var=LD_LIBRARY_PATH
10058
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10059
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10060
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10061
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10062
 
  # libtool to hard-code these into programs
10063
 
  ;;
10064
 
 
10065
 
cygwin* | mingw* | pw32* | cegcc*)
10066
 
  version_type=windows
10067
 
  shrext_cmds=".dll"
10068
 
  need_version=no
10069
 
  need_lib_prefix=no
10070
 
 
10071
 
  case $GCC,$cc_basename in
10072
 
  yes,*)
10073
 
    # gcc
10074
 
    library_names_spec='$libname.dll.a'
10075
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10076
 
    postinstall_cmds='base_file=`basename \${file}`~
10077
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10078
 
      dldir=$destdir/`dirname \$dlpath`~
10079
 
      test -d \$dldir || mkdir -p \$dldir~
10080
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10081
 
      chmod a+x \$dldir/$dlname~
10082
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10083
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10084
 
      fi'
10085
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10086
 
      dlpath=$dir/\$dldll~
10087
 
       $RM \$dlpath'
10088
 
    shlibpath_overrides_runpath=yes
10089
 
 
10090
 
    case $host_os in
10091
 
    cygwin*)
10092
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10093
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10094
 
 
10095
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10096
 
      ;;
10097
 
    mingw* | cegcc*)
10098
 
      # MinGW DLLs use traditional 'lib' prefix
10099
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10100
 
      ;;
10101
 
    pw32*)
10102
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10103
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10104
 
      ;;
10105
 
    esac
10106
 
    dynamic_linker='Win32 ld.exe'
10107
 
    ;;
10108
 
 
10109
 
  *,cl*)
10110
 
    # Native MSVC
10111
 
    libname_spec='$name'
10112
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10113
 
    library_names_spec='${libname}.dll.lib'
10114
 
 
10115
 
    case $build_os in
10116
 
    mingw*)
10117
 
      sys_lib_search_path_spec=
10118
 
      lt_save_ifs=$IFS
10119
 
      IFS=';'
10120
 
      for lt_path in $LIB
10121
 
      do
10122
 
        IFS=$lt_save_ifs
10123
 
        # Let DOS variable expansion print the short 8.3 style file name.
10124
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10125
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10126
 
      done
10127
 
      IFS=$lt_save_ifs
10128
 
      # Convert to MSYS style.
10129
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10130
 
      ;;
10131
 
    cygwin*)
10132
 
      # Convert to unix form, then to dos form, then back to unix form
10133
 
      # but this time dos style (no spaces!) so that the unix form looks
10134
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10135
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10136
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10137
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10138
 
      ;;
10139
 
    *)
10140
 
      sys_lib_search_path_spec="$LIB"
10141
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10142
 
        # It is most probably a Windows format PATH.
10143
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10144
 
      else
10145
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10146
 
      fi
10147
 
      # FIXME: find the short name or the path components, as spaces are
10148
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10149
 
      ;;
10150
 
    esac
10151
 
 
10152
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10153
 
    postinstall_cmds='base_file=`basename \${file}`~
10154
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10155
 
      dldir=$destdir/`dirname \$dlpath`~
10156
 
      test -d \$dldir || mkdir -p \$dldir~
10157
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10158
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10159
 
      dlpath=$dir/\$dldll~
10160
 
       $RM \$dlpath'
10161
 
    shlibpath_overrides_runpath=yes
10162
 
    dynamic_linker='Win32 link.exe'
10163
 
    ;;
10164
 
 
10165
 
  *)
10166
 
    # Assume MSVC wrapper
10167
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10168
 
    dynamic_linker='Win32 ld.exe'
10169
 
    ;;
10170
 
  esac
10171
 
  # FIXME: first we should search . and the directory the executable is in
10172
 
  shlibpath_var=PATH
10173
 
  ;;
10174
 
 
10175
 
darwin* | rhapsody*)
10176
 
  dynamic_linker="$host_os dyld"
10177
 
  version_type=darwin
10178
 
  need_lib_prefix=no
10179
 
  need_version=no
10180
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10181
 
  soname_spec='${libname}${release}${major}$shared_ext'
10182
 
  shlibpath_overrides_runpath=yes
10183
 
  shlibpath_var=DYLD_LIBRARY_PATH
10184
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10185
 
 
10186
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10187
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10188
 
  ;;
10189
 
 
10190
 
dgux*)
10191
 
  version_type=linux
10192
 
  need_lib_prefix=no
10193
 
  need_version=no
10194
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10195
 
  soname_spec='${libname}${release}${shared_ext}$major'
10196
 
  shlibpath_var=LD_LIBRARY_PATH
10197
 
  ;;
10198
 
 
10199
 
freebsd1*)
10200
 
  dynamic_linker=no
10201
 
  ;;
10202
 
 
10203
 
freebsd* | dragonfly*)
10204
 
  # DragonFly does not have aout.  When/if they implement a new
10205
 
  # versioning mechanism, adjust this.
10206
 
  if test -x /usr/bin/objformat; then
10207
 
    objformat=`/usr/bin/objformat`
10208
 
  else
10209
 
    case $host_os in
10210
 
    freebsd[123]*) objformat=aout ;;
10211
 
    *) objformat=elf ;;
10212
 
    esac
10213
 
  fi
10214
 
  version_type=freebsd-$objformat
10215
 
  case $version_type in
10216
 
    freebsd-elf*)
10217
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10218
 
      need_version=no
10219
 
      need_lib_prefix=no
10220
 
      ;;
10221
 
    freebsd-*)
10222
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10223
 
      need_version=yes
10224
 
      ;;
10225
 
  esac
10226
 
  shlibpath_var=LD_LIBRARY_PATH
10227
 
  case $host_os in
10228
 
  freebsd2*)
10229
 
    shlibpath_overrides_runpath=yes
10230
 
    ;;
10231
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10232
 
    shlibpath_overrides_runpath=yes
10233
 
    hardcode_into_libs=yes
10234
 
    ;;
10235
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10236
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10237
 
    shlibpath_overrides_runpath=no
10238
 
    hardcode_into_libs=yes
10239
 
    ;;
10240
 
  *) # from 4.6 on, and DragonFly
10241
 
    shlibpath_overrides_runpath=yes
10242
 
    hardcode_into_libs=yes
10243
 
    ;;
10244
 
  esac
10245
 
  ;;
10246
 
 
10247
 
gnu*)
10248
 
  version_type=linux
10249
 
  need_lib_prefix=no
10250
 
  need_version=no
10251
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10252
 
  soname_spec='${libname}${release}${shared_ext}$major'
10253
 
  shlibpath_var=LD_LIBRARY_PATH
10254
 
  shlibpath_overrides_runpath=no
10255
 
  hardcode_into_libs=yes
10256
 
  ;;
10257
 
 
10258
 
haiku*)
10259
 
  version_type=linux
10260
 
  need_lib_prefix=no
10261
 
  need_version=no
10262
 
  dynamic_linker="$host_os runtime_loader"
10263
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10264
 
  soname_spec='${libname}${release}${shared_ext}$major'
10265
 
  shlibpath_var=LIBRARY_PATH
10266
 
  shlibpath_overrides_runpath=yes
10267
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10268
 
  hardcode_into_libs=yes
10269
 
  ;;
10270
 
 
10271
 
hpux9* | hpux10* | hpux11*)
10272
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10273
 
  # link against other versions.
10274
 
  version_type=sunos
10275
 
  need_lib_prefix=no
10276
 
  need_version=no
10277
 
  case $host_cpu in
10278
 
  ia64*)
10279
 
    shrext_cmds='.so'
10280
 
    hardcode_into_libs=yes
10281
 
    dynamic_linker="$host_os dld.so"
10282
 
    shlibpath_var=LD_LIBRARY_PATH
10283
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10284
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285
 
    soname_spec='${libname}${release}${shared_ext}$major'
10286
 
    if test "X$HPUX_IA64_MODE" = X32; then
10287
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10288
 
    else
10289
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10290
 
    fi
10291
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10292
 
    ;;
10293
 
  hppa*64*)
10294
 
    shrext_cmds='.sl'
10295
 
    hardcode_into_libs=yes
10296
 
    dynamic_linker="$host_os dld.sl"
10297
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10298
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10299
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300
 
    soname_spec='${libname}${release}${shared_ext}$major'
10301
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10302
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10303
 
    ;;
10304
 
  *)
10305
 
    shrext_cmds='.sl'
10306
 
    dynamic_linker="$host_os dld.sl"
10307
 
    shlibpath_var=SHLIB_PATH
10308
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10309
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310
 
    soname_spec='${libname}${release}${shared_ext}$major'
10311
 
    ;;
10312
 
  esac
10313
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10314
 
  postinstall_cmds='chmod 555 $lib'
10315
 
  # or fails outright, so override atomically:
10316
 
  install_override_mode=555
10317
 
  ;;
10318
 
 
10319
 
interix[3-9]*)
10320
 
  version_type=linux
10321
 
  need_lib_prefix=no
10322
 
  need_version=no
10323
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10324
 
  soname_spec='${libname}${release}${shared_ext}$major'
10325
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10326
 
  shlibpath_var=LD_LIBRARY_PATH
10327
 
  shlibpath_overrides_runpath=no
10328
 
  hardcode_into_libs=yes
10329
 
  ;;
10330
 
 
10331
 
irix5* | irix6* | nonstopux*)
10332
 
  case $host_os in
10333
 
    nonstopux*) version_type=nonstopux ;;
10334
 
    *)
10335
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10336
 
                version_type=linux
10337
 
        else
10338
 
                version_type=irix
10339
 
        fi ;;
10340
 
  esac
10341
 
  need_lib_prefix=no
10342
 
  need_version=no
10343
 
  soname_spec='${libname}${release}${shared_ext}$major'
10344
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10345
 
  case $host_os in
10346
 
  irix5* | nonstopux*)
10347
 
    libsuff= shlibsuff=
10348
 
    ;;
10349
 
  *)
10350
 
    case $LD in # libtool.m4 will add one of these switches to LD
10351
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10352
 
      libsuff= shlibsuff= libmagic=32-bit;;
10353
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10354
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10355
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10356
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10357
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10358
 
    esac
10359
 
    ;;
10360
 
  esac
10361
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10362
 
  shlibpath_overrides_runpath=no
10363
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10364
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10365
 
  hardcode_into_libs=yes
10366
 
  ;;
10367
 
 
10368
 
# No shared lib support for Linux oldld, aout, or coff.
10369
 
linux*oldld* | linux*aout* | linux*coff*)
10370
 
  dynamic_linker=no
10371
 
  ;;
10372
 
 
10373
 
# This must be Linux ELF.
10374
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10375
 
  version_type=linux
10376
 
  need_lib_prefix=no
10377
 
  need_version=no
10378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379
 
  soname_spec='${libname}${release}${shared_ext}$major'
10380
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10381
 
  shlibpath_var=LD_LIBRARY_PATH
10382
 
  shlibpath_overrides_runpath=no
10383
 
 
10384
 
  # Some binutils ld are patched to set DT_RUNPATH
10385
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10386
 
  $as_echo_n "(cached) " >&6
10387
 
else
10388
 
  lt_cv_shlibpath_overrides_runpath=no
10389
 
    save_LDFLAGS=$LDFLAGS
10390
 
    save_libdir=$libdir
10391
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10392
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10393
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394
 
/* end confdefs.h.  */
10395
 
 
10396
 
int
10397
 
main ()
10398
 
{
10399
 
 
10400
 
  ;
10401
 
  return 0;
10402
 
}
10403
 
_ACEOF
10404
 
if ac_fn_c_try_link "$LINENO"; then :
10405
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10406
 
  lt_cv_shlibpath_overrides_runpath=yes
10407
 
fi
10408
 
fi
10409
 
rm -f core conftest.err conftest.$ac_objext \
10410
 
    conftest$ac_exeext conftest.$ac_ext
10411
 
    LDFLAGS=$save_LDFLAGS
10412
 
    libdir=$save_libdir
10413
 
    
10414
 
fi
10415
 
 
10416
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10417
 
 
10418
 
  # This implies no fast_install, which is unacceptable.
10419
 
  # Some rework will be needed to allow for fast_install
10420
 
  # before this can be enabled.
10421
 
  hardcode_into_libs=yes
10422
 
 
10423
 
  # Append ld.so.conf contents to the search path
10424
 
  if test -f /etc/ld.so.conf; then
10425
 
    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' ' '`
10426
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10427
 
  fi
10428
 
 
10429
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10430
 
  # powerpc, because MkLinux only supported shared libraries with the
10431
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10432
 
  # most powerpc-linux boxes support dynamic linking these days and
10433
 
  # people can always --disable-shared, the test was removed, and we
10434
 
  # assume the GNU/Linux dynamic linker is in use.
10435
 
  dynamic_linker='GNU/Linux ld.so'
10436
 
  ;;
10437
 
 
10438
 
netbsdelf*-gnu)
10439
 
  version_type=linux
10440
 
  need_lib_prefix=no
10441
 
  need_version=no
10442
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10443
 
  soname_spec='${libname}${release}${shared_ext}$major'
10444
 
  shlibpath_var=LD_LIBRARY_PATH
10445
 
  shlibpath_overrides_runpath=no
10446
 
  hardcode_into_libs=yes
10447
 
  dynamic_linker='NetBSD ld.elf_so'
10448
 
  ;;
10449
 
 
10450
 
netbsd*)
10451
 
  version_type=sunos
10452
 
  need_lib_prefix=no
10453
 
  need_version=no
10454
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10455
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10456
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10457
 
    dynamic_linker='NetBSD (a.out) ld.so'
10458
 
  else
10459
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10460
 
    soname_spec='${libname}${release}${shared_ext}$major'
10461
 
    dynamic_linker='NetBSD ld.elf_so'
10462
 
  fi
10463
 
  shlibpath_var=LD_LIBRARY_PATH
10464
 
  shlibpath_overrides_runpath=yes
10465
 
  hardcode_into_libs=yes
10466
 
  ;;
10467
 
 
10468
 
newsos6)
10469
 
  version_type=linux
10470
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471
 
  shlibpath_var=LD_LIBRARY_PATH
10472
 
  shlibpath_overrides_runpath=yes
10473
 
  ;;
10474
 
 
10475
 
*nto* | *qnx*)
10476
 
  version_type=qnx
10477
 
  need_lib_prefix=no
10478
 
  need_version=no
10479
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480
 
  soname_spec='${libname}${release}${shared_ext}$major'
10481
 
  shlibpath_var=LD_LIBRARY_PATH
10482
 
  shlibpath_overrides_runpath=no
10483
 
  hardcode_into_libs=yes
10484
 
  dynamic_linker='ldqnx.so'
10485
 
  ;;
10486
 
 
10487
 
openbsd*)
10488
 
  version_type=sunos
10489
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10490
 
  need_lib_prefix=no
10491
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10492
 
  case $host_os in
10493
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10494
 
    *)                          need_version=no  ;;
10495
 
  esac
10496
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10497
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10498
 
  shlibpath_var=LD_LIBRARY_PATH
10499
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10500
 
    case $host_os in
10501
 
      openbsd2.[89] | openbsd2.[89].*)
10502
 
        shlibpath_overrides_runpath=no
10503
 
        ;;
10504
 
      *)
10505
 
        shlibpath_overrides_runpath=yes
10506
 
        ;;
10507
 
      esac
10508
 
  else
10509
 
    shlibpath_overrides_runpath=yes
10510
 
  fi
10511
 
  ;;
10512
 
 
10513
 
os2*)
10514
 
  libname_spec='$name'
10515
 
  shrext_cmds=".dll"
10516
 
  need_lib_prefix=no
10517
 
  library_names_spec='$libname${shared_ext} $libname.a'
10518
 
  dynamic_linker='OS/2 ld.exe'
10519
 
  shlibpath_var=LIBPATH
10520
 
  ;;
10521
 
 
10522
 
osf3* | osf4* | osf5*)
10523
 
  version_type=osf
10524
 
  need_lib_prefix=no
10525
 
  need_version=no
10526
 
  soname_spec='${libname}${release}${shared_ext}$major'
10527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528
 
  shlibpath_var=LD_LIBRARY_PATH
10529
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10530
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10531
 
  ;;
10532
 
 
10533
 
rdos*)
10534
 
  dynamic_linker=no
10535
 
  ;;
10536
 
 
10537
 
solaris*)
10538
 
  version_type=linux
10539
 
  need_lib_prefix=no
10540
 
  need_version=no
10541
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542
 
  soname_spec='${libname}${release}${shared_ext}$major'
10543
 
  shlibpath_var=LD_LIBRARY_PATH
10544
 
  shlibpath_overrides_runpath=yes
10545
 
  hardcode_into_libs=yes
10546
 
  # ldd complains unless libraries are executable
10547
 
  postinstall_cmds='chmod +x $lib'
10548
 
  ;;
10549
 
 
10550
 
sunos4*)
10551
 
  version_type=sunos
10552
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10553
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10554
 
  shlibpath_var=LD_LIBRARY_PATH
10555
 
  shlibpath_overrides_runpath=yes
10556
 
  if test "$with_gnu_ld" = yes; then
10557
 
    need_lib_prefix=no
10558
 
  fi
10559
 
  need_version=yes
10560
 
  ;;
10561
 
 
10562
 
sysv4 | sysv4.3*)
10563
 
  version_type=linux
10564
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565
 
  soname_spec='${libname}${release}${shared_ext}$major'
10566
 
  shlibpath_var=LD_LIBRARY_PATH
10567
 
  case $host_vendor in
10568
 
    sni)
10569
 
      shlibpath_overrides_runpath=no
10570
 
      need_lib_prefix=no
10571
 
      runpath_var=LD_RUN_PATH
10572
 
      ;;
10573
 
    siemens)
10574
 
      need_lib_prefix=no
10575
 
      ;;
10576
 
    motorola)
10577
 
      need_lib_prefix=no
10578
 
      need_version=no
10579
 
      shlibpath_overrides_runpath=no
10580
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10581
 
      ;;
10582
 
  esac
10583
 
  ;;
10584
 
 
10585
 
sysv4*MP*)
10586
 
  if test -d /usr/nec ;then
10587
 
    version_type=linux
10588
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10589
 
    soname_spec='$libname${shared_ext}.$major'
10590
 
    shlibpath_var=LD_LIBRARY_PATH
10591
 
  fi
10592
 
  ;;
10593
 
 
10594
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10595
 
  version_type=freebsd-elf
10596
 
  need_lib_prefix=no
10597
 
  need_version=no
10598
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10599
 
  soname_spec='${libname}${release}${shared_ext}$major'
10600
 
  shlibpath_var=LD_LIBRARY_PATH
10601
 
  shlibpath_overrides_runpath=yes
10602
 
  hardcode_into_libs=yes
10603
 
  if test "$with_gnu_ld" = yes; then
10604
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10605
 
  else
10606
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10607
 
    case $host_os in
10608
 
      sco3.2v5*)
10609
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10610
 
        ;;
10611
 
    esac
10612
 
  fi
10613
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10614
 
  ;;
10615
 
 
10616
 
tpf*)
10617
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10618
 
  version_type=linux
10619
 
  need_lib_prefix=no
10620
 
  need_version=no
10621
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622
 
  shlibpath_var=LD_LIBRARY_PATH
10623
 
  shlibpath_overrides_runpath=no
10624
 
  hardcode_into_libs=yes
10625
 
  ;;
10626
 
 
10627
 
uts4*)
10628
 
  version_type=linux
10629
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630
 
  soname_spec='${libname}${release}${shared_ext}$major'
10631
 
  shlibpath_var=LD_LIBRARY_PATH
10632
 
  ;;
10633
 
 
10634
 
*)
10635
 
  dynamic_linker=no
10636
 
  ;;
10637
 
esac
10638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10639
 
$as_echo "$dynamic_linker" >&6; }
10640
 
test "$dynamic_linker" = no && can_build_shared=no
10641
 
 
10642
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10643
 
if test "$GCC" = yes; then
10644
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10645
 
fi
10646
 
 
10647
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10648
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10649
 
fi
10650
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10651
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10652
 
fi
10653
 
 
10654
 
 
10655
 
    
10656
 
    
10657
 
    
10658
 
 
10659
 
 
10660
 
    
10661
 
    
10662
 
    
10663
 
 
10664
 
 
10665
 
    
10666
 
    
10667
 
    
10668
 
 
10669
 
 
10670
 
    
10671
 
    
10672
 
    
10673
 
 
10674
 
 
10675
 
    
10676
 
    
10677
 
    
10678
 
 
10679
 
 
10680
 
    
10681
 
    
10682
 
    
10683
 
 
10684
 
 
10685
 
    
10686
 
    
10687
 
    
10688
 
 
10689
 
 
10690
 
    
10691
 
    
10692
 
    
10693
 
 
10694
 
 
10695
 
    
10696
 
    
10697
 
    
10698
 
 
10699
 
 
10700
 
    
10701
 
    
10702
 
    
10703
 
 
10704
 
 
10705
 
    
10706
 
    
10707
 
    
10708
 
 
10709
 
 
10710
 
    
10711
 
    
10712
 
    
10713
 
 
10714
 
 
10715
 
    
10716
 
    
10717
 
    
10718
 
 
10719
 
 
10720
 
    
10721
 
    
10722
 
    
10723
 
 
10724
 
 
10725
 
    
10726
 
    
10727
 
    
10728
 
 
10729
 
 
10730
 
    
10731
 
    
10732
 
    
10733
 
 
10734
 
 
10735
 
    
10736
 
    
10737
 
    
10738
 
 
10739
 
 
10740
 
    
10741
 
    
10742
 
    
10743
 
 
10744
 
 
10745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10746
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10747
 
hardcode_action=
10748
 
if test -n "$hardcode_libdir_flag_spec" ||
10749
 
   test -n "$runpath_var" ||
10750
 
   test "X$hardcode_automatic" = "Xyes" ; then
10751
 
 
10752
 
  # We can hardcode non-existent directories.
10753
 
  if test "$hardcode_direct" != no &&
10754
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10755
 
     # have to relink, otherwise we might link with an installed library
10756
 
     # when we should be linking with a yet-to-be-installed one
10757
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10758
 
     test "$hardcode_minus_L" != no; then
10759
 
    # Linking always hardcodes the temporary library directory.
10760
 
    hardcode_action=relink
10761
 
  else
10762
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10763
 
    hardcode_action=immediate
10764
 
  fi
10765
 
else
10766
 
  # We cannot hardcode anything, or else we can only hardcode existing
10767
 
  # directories.
10768
 
  hardcode_action=unsupported
10769
 
fi
10770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10771
 
$as_echo "$hardcode_action" >&6; }
10772
 
 
10773
 
if test "$hardcode_action" = relink ||
10774
 
   test "$inherit_rpath" = yes; then
10775
 
  # Fast installation is not supported
10776
 
  enable_fast_install=no
10777
 
elif test "$shlibpath_overrides_runpath" = yes ||
10778
 
     test "$enable_shared" = no; then
10779
 
  # Fast installation is not necessary
10780
 
  enable_fast_install=needless
10781
 
fi
10782
 
 
10783
 
    
10784
 
    
10785
 
    
10786
 
 
10787
 
 
10788
 
  if test "x$enable_dlopen" != xyes; then
10789
 
  enable_dlopen=unknown
10790
 
  enable_dlopen_self=unknown
10791
 
  enable_dlopen_self_static=unknown
10792
 
else
10793
 
  lt_cv_dlopen=no
10794
 
  lt_cv_dlopen_libs=
10795
 
 
10796
 
  case $host_os in
10797
 
  beos*)
10798
 
    lt_cv_dlopen="load_add_on"
10799
 
    lt_cv_dlopen_libs=
10800
 
    lt_cv_dlopen_self=yes
10801
 
    ;;
10802
 
 
10803
 
  mingw* | pw32* | cegcc*)
10804
 
    lt_cv_dlopen="LoadLibrary"
10805
 
    lt_cv_dlopen_libs=
10806
 
    ;;
10807
 
 
10808
 
  cygwin*)
10809
 
    lt_cv_dlopen="dlopen"
10810
 
    lt_cv_dlopen_libs=
10811
 
    ;;
10812
 
 
10813
 
  darwin*)
10814
 
  # if libdl is installed we need to link against it
10815
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10816
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10817
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
10818
 
  $as_echo_n "(cached) " >&6
10819
 
else
10820
 
  ac_check_lib_save_LIBS=$LIBS
10821
 
LIBS="-ldl  $LIBS"
10822
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823
 
/* end confdefs.h.  */
10824
 
 
10825
 
/* Override any GCC internal prototype to avoid an error.
10826
 
   Use char because int might match the return type of a GCC
10827
 
   builtin and then its argument prototype would still apply.  */
10828
 
#ifdef __cplusplus
10829
 
extern "C"
10830
 
#endif
10831
 
char dlopen ();
10832
 
int
10833
 
main ()
10834
 
{
10835
 
return dlopen ();
10836
 
  ;
10837
 
  return 0;
10838
 
}
10839
 
_ACEOF
10840
 
if ac_fn_c_try_link "$LINENO"; then :
10841
 
  ac_cv_lib_dl_dlopen=yes
10842
 
else
10843
 
  ac_cv_lib_dl_dlopen=no
10844
 
fi
10845
 
rm -f core conftest.err conftest.$ac_objext \
10846
 
    conftest$ac_exeext conftest.$ac_ext
10847
 
LIBS=$ac_check_lib_save_LIBS
10848
 
fi
10849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10850
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10851
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10852
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10853
 
else
10854
 
  
10855
 
    lt_cv_dlopen="dyld"
10856
 
    lt_cv_dlopen_libs=
10857
 
    lt_cv_dlopen_self=yes
10858
 
    
10859
 
fi
10860
 
 
10861
 
    ;;
10862
 
 
10863
 
  *)
10864
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10865
 
if test "x$ac_cv_func_shl_load" = xyes; then :
10866
 
  lt_cv_dlopen="shl_load"
10867
 
else
10868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10869
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10870
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
10871
 
  $as_echo_n "(cached) " >&6
10872
 
else
10873
 
  ac_check_lib_save_LIBS=$LIBS
10874
 
LIBS="-ldld  $LIBS"
10875
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876
 
/* end confdefs.h.  */
10877
 
 
10878
 
/* Override any GCC internal prototype to avoid an error.
10879
 
   Use char because int might match the return type of a GCC
10880
 
   builtin and then its argument prototype would still apply.  */
10881
 
#ifdef __cplusplus
10882
 
extern "C"
10883
 
#endif
10884
 
char shl_load ();
10885
 
int
10886
 
main ()
10887
 
{
10888
 
return shl_load ();
10889
 
  ;
10890
 
  return 0;
10891
 
}
10892
 
_ACEOF
10893
 
if ac_fn_c_try_link "$LINENO"; then :
10894
 
  ac_cv_lib_dld_shl_load=yes
10895
 
else
10896
 
  ac_cv_lib_dld_shl_load=no
10897
 
fi
10898
 
rm -f core conftest.err conftest.$ac_objext \
10899
 
    conftest$ac_exeext conftest.$ac_ext
10900
 
LIBS=$ac_check_lib_save_LIBS
10901
 
fi
10902
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10903
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10904
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10905
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10906
 
else
10907
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10908
 
if test "x$ac_cv_func_dlopen" = xyes; then :
10909
 
  lt_cv_dlopen="dlopen"
10910
 
else
10911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10912
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10913
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
10914
 
  $as_echo_n "(cached) " >&6
10915
 
else
10916
 
  ac_check_lib_save_LIBS=$LIBS
10917
 
LIBS="-ldl  $LIBS"
10918
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919
 
/* end confdefs.h.  */
10920
 
 
10921
 
/* Override any GCC internal prototype to avoid an error.
10922
 
   Use char because int might match the return type of a GCC
10923
 
   builtin and then its argument prototype would still apply.  */
10924
 
#ifdef __cplusplus
10925
 
extern "C"
10926
 
#endif
10927
 
char dlopen ();
10928
 
int
10929
 
main ()
10930
 
{
10931
 
return dlopen ();
10932
 
  ;
10933
 
  return 0;
10934
 
}
10935
 
_ACEOF
10936
 
if ac_fn_c_try_link "$LINENO"; then :
10937
 
  ac_cv_lib_dl_dlopen=yes
10938
 
else
10939
 
  ac_cv_lib_dl_dlopen=no
10940
 
fi
10941
 
rm -f core conftest.err conftest.$ac_objext \
10942
 
    conftest$ac_exeext conftest.$ac_ext
10943
 
LIBS=$ac_check_lib_save_LIBS
10944
 
fi
10945
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10946
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10947
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10948
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10949
 
else
10950
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10951
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10952
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
10953
 
  $as_echo_n "(cached) " >&6
10954
 
else
10955
 
  ac_check_lib_save_LIBS=$LIBS
10956
 
LIBS="-lsvld  $LIBS"
10957
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958
 
/* end confdefs.h.  */
10959
 
 
10960
 
/* Override any GCC internal prototype to avoid an error.
10961
 
   Use char because int might match the return type of a GCC
10962
 
   builtin and then its argument prototype would still apply.  */
10963
 
#ifdef __cplusplus
10964
 
extern "C"
10965
 
#endif
10966
 
char dlopen ();
10967
 
int
10968
 
main ()
10969
 
{
10970
 
return dlopen ();
10971
 
  ;
10972
 
  return 0;
10973
 
}
10974
 
_ACEOF
10975
 
if ac_fn_c_try_link "$LINENO"; then :
10976
 
  ac_cv_lib_svld_dlopen=yes
10977
 
else
10978
 
  ac_cv_lib_svld_dlopen=no
10979
 
fi
10980
 
rm -f core conftest.err conftest.$ac_objext \
10981
 
    conftest$ac_exeext conftest.$ac_ext
10982
 
LIBS=$ac_check_lib_save_LIBS
10983
 
fi
10984
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10985
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10986
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10987
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10988
 
else
10989
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10990
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10991
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
10992
 
  $as_echo_n "(cached) " >&6
10993
 
else
10994
 
  ac_check_lib_save_LIBS=$LIBS
10995
 
LIBS="-ldld  $LIBS"
10996
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997
 
/* end confdefs.h.  */
10998
 
 
10999
 
/* Override any GCC internal prototype to avoid an error.
11000
 
   Use char because int might match the return type of a GCC
11001
 
   builtin and then its argument prototype would still apply.  */
11002
 
#ifdef __cplusplus
11003
 
extern "C"
11004
 
#endif
11005
 
char dld_link ();
11006
 
int
11007
 
main ()
11008
 
{
11009
 
return dld_link ();
11010
 
  ;
11011
 
  return 0;
11012
 
}
11013
 
_ACEOF
11014
 
if ac_fn_c_try_link "$LINENO"; then :
11015
 
  ac_cv_lib_dld_dld_link=yes
11016
 
else
11017
 
  ac_cv_lib_dld_dld_link=no
11018
 
fi
11019
 
rm -f core conftest.err conftest.$ac_objext \
11020
 
    conftest$ac_exeext conftest.$ac_ext
11021
 
LIBS=$ac_check_lib_save_LIBS
11022
 
fi
11023
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11024
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11025
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11026
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11027
 
fi
11028
 
 
11029
 
              
11030
 
fi
11031
 
 
11032
 
            
11033
 
fi
11034
 
 
11035
 
          
11036
 
fi
11037
 
 
11038
 
        
11039
 
fi
11040
 
 
11041
 
      
11042
 
fi
11043
 
 
11044
 
    ;;
11045
 
  esac
11046
 
 
11047
 
  if test "x$lt_cv_dlopen" != xno; then
11048
 
    enable_dlopen=yes
11049
 
  else
11050
 
    enable_dlopen=no
11051
 
  fi
11052
 
 
11053
 
  case $lt_cv_dlopen in
11054
 
  dlopen)
11055
 
    save_CPPFLAGS="$CPPFLAGS"
11056
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11057
 
 
11058
 
    save_LDFLAGS="$LDFLAGS"
11059
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11060
 
 
11061
 
    save_LIBS="$LIBS"
11062
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11063
 
 
11064
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11065
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11066
 
if ${lt_cv_dlopen_self+:} false; then :
11067
 
  $as_echo_n "(cached) " >&6
11068
 
else
11069
 
          if test "$cross_compiling" = yes; then :
11070
 
  lt_cv_dlopen_self=cross
11071
 
else
11072
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11073
 
  lt_status=$lt_dlunknown
11074
 
  cat > conftest.$ac_ext <<_LT_EOF
11075
 
#line $LINENO "configure"
11076
 
#include "confdefs.h"
11077
 
 
11078
 
#if HAVE_DLFCN_H
11079
 
#include <dlfcn.h>
11080
 
#endif
11081
 
 
11082
 
#include <stdio.h>
11083
 
 
11084
 
#ifdef RTLD_GLOBAL
11085
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11086
 
#else
11087
 
#  ifdef DL_GLOBAL
11088
 
#    define LT_DLGLOBAL         DL_GLOBAL
11089
 
#  else
11090
 
#    define LT_DLGLOBAL         0
11091
 
#  endif
11092
 
#endif
11093
 
 
11094
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11095
 
   find out it does not work in some platform. */
11096
 
#ifndef LT_DLLAZY_OR_NOW
11097
 
#  ifdef RTLD_LAZY
11098
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11099
 
#  else
11100
 
#    ifdef DL_LAZY
11101
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11102
 
#    else
11103
 
#      ifdef RTLD_NOW
11104
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11105
 
#      else
11106
 
#        ifdef DL_NOW
11107
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11108
 
#        else
11109
 
#          define LT_DLLAZY_OR_NOW      0
11110
 
#        endif
11111
 
#      endif
11112
 
#    endif
11113
 
#  endif
11114
 
#endif
11115
 
 
11116
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11117
 
   correspondingly for the symbols needed.  */
11118
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11119
 
int fnord () __attribute__((visibility("default")));
11120
 
#endif
11121
 
 
11122
 
int fnord () { return 42; }
11123
 
int main ()
11124
 
{
11125
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11126
 
  int status = $lt_dlunknown;
11127
 
 
11128
 
  if (self)
11129
 
    {
11130
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11131
 
      else
11132
 
        {
11133
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11134
 
          else puts (dlerror ());
11135
 
        }
11136
 
      /* dlclose (self); */
11137
 
    }
11138
 
  else
11139
 
    puts (dlerror ());
11140
 
 
11141
 
  return status;
11142
 
}
11143
 
_LT_EOF
11144
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11145
 
  (eval $ac_link) 2>&5
11146
 
  ac_status=$?
11147
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11148
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11149
 
    (./conftest; exit; ) >&5 2>/dev/null
11150
 
    lt_status=$?
11151
 
    case x$lt_status in
11152
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11153
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11154
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11155
 
    esac
11156
 
  else :
11157
 
    # compilation failed
11158
 
    lt_cv_dlopen_self=no
11159
 
  fi
11160
 
fi
11161
 
rm -fr conftest*
11162
 
 
11163
 
    
11164
 
fi
11165
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11166
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11167
 
 
11168
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11169
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11170
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11171
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11172
 
if ${lt_cv_dlopen_self_static+:} false; then :
11173
 
  $as_echo_n "(cached) " >&6
11174
 
else
11175
 
          if test "$cross_compiling" = yes; then :
11176
 
  lt_cv_dlopen_self_static=cross
11177
 
else
11178
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11179
 
  lt_status=$lt_dlunknown
11180
 
  cat > conftest.$ac_ext <<_LT_EOF
11181
 
#line $LINENO "configure"
11182
 
#include "confdefs.h"
11183
 
 
11184
 
#if HAVE_DLFCN_H
11185
 
#include <dlfcn.h>
11186
 
#endif
11187
 
 
11188
 
#include <stdio.h>
11189
 
 
11190
 
#ifdef RTLD_GLOBAL
11191
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11192
 
#else
11193
 
#  ifdef DL_GLOBAL
11194
 
#    define LT_DLGLOBAL         DL_GLOBAL
11195
 
#  else
11196
 
#    define LT_DLGLOBAL         0
11197
 
#  endif
11198
 
#endif
11199
 
 
11200
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11201
 
   find out it does not work in some platform. */
11202
 
#ifndef LT_DLLAZY_OR_NOW
11203
 
#  ifdef RTLD_LAZY
11204
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11205
 
#  else
11206
 
#    ifdef DL_LAZY
11207
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11208
 
#    else
11209
 
#      ifdef RTLD_NOW
11210
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11211
 
#      else
11212
 
#        ifdef DL_NOW
11213
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11214
 
#        else
11215
 
#          define LT_DLLAZY_OR_NOW      0
11216
 
#        endif
11217
 
#      endif
11218
 
#    endif
11219
 
#  endif
11220
 
#endif
11221
 
 
11222
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11223
 
   correspondingly for the symbols needed.  */
11224
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11225
 
int fnord () __attribute__((visibility("default")));
11226
 
#endif
11227
 
 
11228
 
int fnord () { return 42; }
11229
 
int main ()
11230
 
{
11231
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11232
 
  int status = $lt_dlunknown;
11233
 
 
11234
 
  if (self)
11235
 
    {
11236
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11237
 
      else
11238
 
        {
11239
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11240
 
          else puts (dlerror ());
11241
 
        }
11242
 
      /* dlclose (self); */
11243
 
    }
11244
 
  else
11245
 
    puts (dlerror ());
11246
 
 
11247
 
  return status;
11248
 
}
11249
 
_LT_EOF
11250
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11251
 
  (eval $ac_link) 2>&5
11252
 
  ac_status=$?
11253
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11254
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11255
 
    (./conftest; exit; ) >&5 2>/dev/null
11256
 
    lt_status=$?
11257
 
    case x$lt_status in
11258
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11259
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11260
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11261
 
    esac
11262
 
  else :
11263
 
    # compilation failed
11264
 
    lt_cv_dlopen_self_static=no
11265
 
  fi
11266
 
fi
11267
 
rm -fr conftest*
11268
 
 
11269
 
      
11270
 
fi
11271
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11272
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11273
 
    fi
11274
 
 
11275
 
    CPPFLAGS="$save_CPPFLAGS"
11276
 
    LDFLAGS="$save_LDFLAGS"
11277
 
    LIBS="$save_LIBS"
11278
 
    ;;
11279
 
  esac
11280
 
 
11281
 
  case $lt_cv_dlopen_self in
11282
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11283
 
  *) enable_dlopen_self=unknown ;;
11284
 
  esac
11285
 
 
11286
 
  case $lt_cv_dlopen_self_static in
11287
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11288
 
  *) enable_dlopen_self_static=unknown ;;
11289
 
  esac
11290
 
fi
11291
 
 
11292
 
    
11293
 
    
11294
 
    
11295
 
 
11296
 
 
11297
 
    
11298
 
    
11299
 
    
11300
 
 
11301
 
 
11302
 
    
11303
 
    
11304
 
    
11305
 
 
11306
 
 
11307
 
  
11308
 
striplib=
11309
 
old_striplib=
11310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11311
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11312
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11313
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11314
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11315
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11316
 
$as_echo "yes" >&6; }
11317
 
else
11318
 
# FIXME - insert some real tests, host_os isn't really good enough
11319
 
  case $host_os in
11320
 
  darwin*)
11321
 
    if test -n "$STRIP" ; then
11322
 
      striplib="$STRIP -x"
11323
 
      old_striplib="$STRIP -S"
11324
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11325
 
$as_echo "yes" >&6; }
11326
 
    else
11327
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11328
 
$as_echo "no" >&6; }
11329
 
    fi
11330
 
    ;;
11331
 
  *)
11332
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11333
 
$as_echo "no" >&6; }
11334
 
    ;;
11335
 
  esac
11336
 
fi
11337
 
 
11338
 
    
11339
 
    
11340
 
    
11341
 
 
11342
 
 
11343
 
    
11344
 
    
11345
 
    
11346
 
 
11347
 
 
11348
 
 
11349
 
  # Report which library types will actually be built
11350
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11351
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11352
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11353
 
$as_echo "$can_build_shared" >&6; }
11354
 
 
11355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11356
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11357
 
  test "$can_build_shared" = "no" && enable_shared=no
11358
 
 
11359
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11360
 
  # are all built from PIC.
11361
 
  case $host_os in
11362
 
  aix3*)
11363
 
    test "$enable_shared" = yes && enable_static=no
11364
 
    if test -n "$RANLIB"; then
11365
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11366
 
      postinstall_cmds='$RANLIB $lib'
11367
 
    fi
11368
 
    ;;
11369
 
 
11370
 
  aix[4-9]*)
11371
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11372
 
      test "$enable_shared" = yes && enable_static=no
11373
 
    fi
11374
 
    ;;
11375
 
  esac
11376
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11377
 
$as_echo "$enable_shared" >&6; }
11378
 
 
11379
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11380
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11381
 
  # Make sure either enable_shared or enable_static is yes.
11382
 
  test "$enable_shared" = yes || enable_static=yes
11383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11384
 
$as_echo "$enable_static" >&6; }
11385
 
 
11386
 
  
11387
 
 
11388
 
 
11389
 
fi
11390
 
ac_ext=c
11391
 
ac_cpp='$CPP $CPPFLAGS'
11392
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11393
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11394
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11395
 
 
11396
 
CC="$lt_save_CC"
11397
 
 
11398
 
 
11399
 
 
11400
 
      ac_ext=f
11401
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11402
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11403
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11404
 
 
11405
 
if test -z "$F77" || test "X$F77" = "Xno"; then
11406
 
  _lt_disable_F77=yes
11407
 
fi
11408
 
 
11409
 
archive_cmds_need_lc_F77=no
11410
 
allow_undefined_flag_F77=
11411
 
always_export_symbols_F77=no
11412
 
archive_expsym_cmds_F77=
11413
 
export_dynamic_flag_spec_F77=
11414
 
hardcode_direct_F77=no
11415
 
hardcode_direct_absolute_F77=no
11416
 
hardcode_libdir_flag_spec_F77=
11417
 
hardcode_libdir_flag_spec_ld_F77=
11418
 
hardcode_libdir_separator_F77=
11419
 
hardcode_minus_L_F77=no
11420
 
hardcode_automatic_F77=no
11421
 
inherit_rpath_F77=no
11422
 
module_cmds_F77=
11423
 
module_expsym_cmds_F77=
11424
 
link_all_deplibs_F77=unknown
11425
 
old_archive_cmds_F77=$old_archive_cmds
11426
 
reload_flag_F77=$reload_flag
11427
 
reload_cmds_F77=$reload_cmds
11428
 
no_undefined_flag_F77=
11429
 
whole_archive_flag_spec_F77=
11430
 
enable_shared_with_static_runtimes_F77=no
11431
 
 
11432
 
# Source file extension for f77 test sources.
11433
 
ac_ext=f
11434
 
 
11435
 
# Object file extension for compiled f77 test sources.
11436
 
objext=o
11437
 
objext_F77=$objext
11438
 
 
11439
 
# No sense in running all these tests if we already determined that
11440
 
# the F77 compiler isn't working.  Some variables (like enable_shared)
11441
 
# are currently assumed to apply to all compilers on this platform,
11442
 
# and will be corrupted by setting them based on a non-working compiler.
11443
 
if test "$_lt_disable_F77" != yes; then
11444
 
  # Code to be used in simple compile tests
11445
 
  lt_simple_compile_test_code="\
11446
 
      subroutine t
11447
 
      return
11448
 
      end
11449
 
"
11450
 
 
11451
 
  # Code to be used in simple link tests
11452
 
  lt_simple_link_test_code="\
11453
 
      program t
11454
 
      end
11455
 
"
11456
 
 
11457
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11458
 
  
11459
 
 
11460
 
 
11461
 
 
11462
 
 
11463
 
 
11464
 
# If no C compiler was specified, use CC.
11465
 
LTCC=${LTCC-"$CC"}
11466
 
 
11467
 
# If no C compiler flags were specified, use CFLAGS.
11468
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11469
 
 
11470
 
# Allow CC to be a program name with arguments.
11471
 
compiler=$CC
11472
 
 
11473
 
 
11474
 
  # save warnings/boilerplate of simple test code
11475
 
  ac_outfile=conftest.$ac_objext
11476
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11477
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11478
 
_lt_compiler_boilerplate=`cat conftest.err`
11479
 
$RM conftest*
11480
 
 
11481
 
  ac_outfile=conftest.$ac_objext
11482
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11483
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11484
 
_lt_linker_boilerplate=`cat conftest.err`
11485
 
$RM -r conftest*
11486
 
 
11487
 
 
11488
 
  # Allow CC to be a program name with arguments.
11489
 
  lt_save_CC="$CC"
11490
 
  lt_save_GCC=$GCC
11491
 
  lt_save_CFLAGS=$CFLAGS
11492
 
  CC=${F77-"f77"}
11493
 
  CFLAGS=$FFLAGS
11494
 
  compiler=$CC
11495
 
  compiler_F77=$CC
11496
 
  for cc_temp in $compiler""; do
11497
 
  case $cc_temp in
11498
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11499
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11500
 
    \-*) ;;
11501
 
    *) break;;
11502
 
  esac
11503
 
done
11504
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11505
 
 
11506
 
  GCC=$G77
11507
 
  if test -n "$compiler"; then
11508
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11509
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11510
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11511
 
$as_echo "$can_build_shared" >&6; }
11512
 
 
11513
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11514
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11515
 
    test "$can_build_shared" = "no" && enable_shared=no
11516
 
 
11517
 
    # On AIX, shared libraries and static libraries use the same namespace, and
11518
 
    # are all built from PIC.
11519
 
    case $host_os in
11520
 
      aix3*)
11521
 
        test "$enable_shared" = yes && enable_static=no
11522
 
        if test -n "$RANLIB"; then
11523
 
          archive_cmds="$archive_cmds~\$RANLIB \$lib"
11524
 
          postinstall_cmds='$RANLIB $lib'
11525
 
        fi
11526
 
        ;;
11527
 
      aix[4-9]*)
11528
 
        if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11529
 
          test "$enable_shared" = yes && enable_static=no
11530
 
        fi
11531
 
        ;;
11532
 
    esac
11533
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11534
 
$as_echo "$enable_shared" >&6; }
11535
 
 
11536
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11537
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11538
 
    # Make sure either enable_shared or enable_static is yes.
11539
 
    test "$enable_shared" = yes || enable_static=yes
11540
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11541
 
$as_echo "$enable_static" >&6; }
11542
 
 
11543
 
    GCC_F77="$G77"
11544
 
    LD_F77="$LD"
11545
 
 
11546
 
    ## CAVEAT EMPTOR:
11547
 
    ## There is no encapsulation within the following macros, do not change
11548
 
    ## the running order or otherwise move them around unless you know exactly
11549
 
    ## what you are doing...
11550
 
    lt_prog_compiler_wl_F77=
11551
 
lt_prog_compiler_pic_F77=
11552
 
lt_prog_compiler_static_F77=
11553
 
 
11554
 
 
11555
 
  if test "$GCC" = yes; then
11556
 
    lt_prog_compiler_wl_F77='-Wl,'
11557
 
    lt_prog_compiler_static_F77='-static'
11558
 
 
11559
 
    case $host_os in
11560
 
      aix*)
11561
 
      # All AIX code is PIC.
11562
 
      if test "$host_cpu" = ia64; then
11563
 
        # AIX 5 now supports IA64 processor
11564
 
        lt_prog_compiler_static_F77='-Bstatic'
11565
 
      fi
11566
 
      ;;
11567
 
 
11568
 
    amigaos*)
11569
 
      case $host_cpu in
11570
 
      powerpc)
11571
 
            # see comment about AmigaOS4 .so support
11572
 
            lt_prog_compiler_pic_F77='-fPIC'
11573
 
        ;;
11574
 
      m68k)
11575
 
            # FIXME: we need at least 68020 code to build shared libraries, but
11576
 
            # adding the `-m68020' flag to GCC prevents building anything better,
11577
 
            # like `-m68040'.
11578
 
            lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
11579
 
        ;;
11580
 
      esac
11581
 
      ;;
11582
 
 
11583
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11584
 
      # PIC is the default for these OSes.
11585
 
      ;;
11586
 
 
11587
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
11588
 
      # This hack is so that the source file can tell whether it is being
11589
 
      # built for inclusion in a dll (and should export symbols for example).
11590
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11591
 
      # (--disable-auto-import) libraries
11592
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
11593
 
      ;;
11594
 
 
11595
 
    darwin* | rhapsody*)
11596
 
      # PIC is the default on this platform
11597
 
      # Common symbols not allowed in MH_DYLIB files
11598
 
      lt_prog_compiler_pic_F77='-fno-common'
11599
 
      ;;
11600
 
 
11601
 
    haiku*)
11602
 
      # PIC is the default for Haiku.
11603
 
      # The "-static" flag exists, but is broken.
11604
 
      lt_prog_compiler_static_F77=
11605
 
      ;;
11606
 
 
11607
 
    hpux*)
11608
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11609
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11610
 
      # sets the default TLS model and affects inlining.
11611
 
      case $host_cpu in
11612
 
      hppa*64*)
11613
 
        # +Z the default
11614
 
        ;;
11615
 
      *)
11616
 
        lt_prog_compiler_pic_F77='-fPIC'
11617
 
        ;;
11618
 
      esac
11619
 
      ;;
11620
 
 
11621
 
    interix[3-9]*)
11622
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11623
 
      # Instead, we relocate shared libraries at runtime.
11624
 
      ;;
11625
 
 
11626
 
    msdosdjgpp*)
11627
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
11628
 
      # on systems that don't support them.
11629
 
      lt_prog_compiler_can_build_shared_F77=no
11630
 
      enable_shared=no
11631
 
      ;;
11632
 
 
11633
 
    *nto* | *qnx*)
11634
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
11635
 
      # it will coredump.
11636
 
      lt_prog_compiler_pic_F77='-fPIC -shared'
11637
 
      ;;
11638
 
 
11639
 
    sysv4*MP*)
11640
 
      if test -d /usr/nec; then
11641
 
        lt_prog_compiler_pic_F77=-Kconform_pic
11642
 
      fi
11643
 
      ;;
11644
 
 
11645
 
    *)
11646
 
      lt_prog_compiler_pic_F77='-fPIC'
11647
 
      ;;
11648
 
    esac
11649
 
 
11650
 
    case $cc_basename in
11651
 
    nvcc*) # Cuda Compiler Driver 2.2
11652
 
      lt_prog_compiler_wl_F77='-Xlinker '
11653
 
      lt_prog_compiler_pic_F77='-Xcompiler -fPIC'
11654
 
      ;;
11655
 
    esac
11656
 
  else
11657
 
    # PORTME Check for flag to pass linker flags through the system compiler.
11658
 
    case $host_os in
11659
 
    aix*)
11660
 
      lt_prog_compiler_wl_F77='-Wl,'
11661
 
      if test "$host_cpu" = ia64; then
11662
 
        # AIX 5 now supports IA64 processor
11663
 
        lt_prog_compiler_static_F77='-Bstatic'
11664
 
      else
11665
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
11666
 
      fi
11667
 
      ;;
11668
 
 
11669
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
11670
 
      # This hack is so that the source file can tell whether it is being
11671
 
      # built for inclusion in a dll (and should export symbols for example).
11672
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
11673
 
      ;;
11674
 
 
11675
 
    hpux9* | hpux10* | hpux11*)
11676
 
      lt_prog_compiler_wl_F77='-Wl,'
11677
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11678
 
      # not for PA HP-UX.
11679
 
      case $host_cpu in
11680
 
      hppa*64*|ia64*)
11681
 
        # +Z the default
11682
 
        ;;
11683
 
      *)
11684
 
        lt_prog_compiler_pic_F77='+Z'
11685
 
        ;;
11686
 
      esac
11687
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
11688
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
11689
 
      ;;
11690
 
 
11691
 
    irix5* | irix6* | nonstopux*)
11692
 
      lt_prog_compiler_wl_F77='-Wl,'
11693
 
      # PIC (with -KPIC) is the default.
11694
 
      lt_prog_compiler_static_F77='-non_shared'
11695
 
      ;;
11696
 
 
11697
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
11698
 
      case $cc_basename in
11699
 
      # old Intel for x86_64 which still supported -KPIC.
11700
 
      ecc*)
11701
 
        lt_prog_compiler_wl_F77='-Wl,'
11702
 
        lt_prog_compiler_pic_F77='-KPIC'
11703
 
        lt_prog_compiler_static_F77='-static'
11704
 
        ;;
11705
 
      # icc used to be incompatible with GCC.
11706
 
      # ICC 10 doesn't accept -KPIC any more.
11707
 
      icc* | ifort*)
11708
 
        lt_prog_compiler_wl_F77='-Wl,'
11709
 
        lt_prog_compiler_pic_F77='-fPIC'
11710
 
        lt_prog_compiler_static_F77='-static'
11711
 
        ;;
11712
 
      # Lahey Fortran 8.1.
11713
 
      lf95*)
11714
 
        lt_prog_compiler_wl_F77='-Wl,'
11715
 
        lt_prog_compiler_pic_F77='--shared'
11716
 
        lt_prog_compiler_static_F77='--static'
11717
 
        ;;
11718
 
      nagfor*)
11719
 
        # NAG Fortran compiler
11720
 
        lt_prog_compiler_wl_F77='-Wl,-Wl,,'
11721
 
        lt_prog_compiler_pic_F77='-PIC'
11722
 
        lt_prog_compiler_static_F77='-Bstatic'
11723
 
        ;;
11724
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11725
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
11726
 
        # which looks to be a dead project)
11727
 
        lt_prog_compiler_wl_F77='-Wl,'
11728
 
        lt_prog_compiler_pic_F77='-fpic'
11729
 
        lt_prog_compiler_static_F77='-Bstatic'
11730
 
        ;;
11731
 
      ccc*)
11732
 
        lt_prog_compiler_wl_F77='-Wl,'
11733
 
        # All Alpha code is PIC.
11734
 
        lt_prog_compiler_static_F77='-non_shared'
11735
 
        ;;
11736
 
      xl* | bgxl* | bgf* | mpixl*)
11737
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11738
 
        lt_prog_compiler_wl_F77='-Wl,'
11739
 
        lt_prog_compiler_pic_F77='-qpic'
11740
 
        lt_prog_compiler_static_F77='-qstaticlink'
11741
 
        ;;
11742
 
      *)
11743
 
        case `$CC -V 2>&1 | sed 5q` in
11744
 
        *Sun\ F* | *Sun*Fortran*)
11745
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
11746
 
          lt_prog_compiler_pic_F77='-KPIC'
11747
 
          lt_prog_compiler_static_F77='-Bstatic'
11748
 
          lt_prog_compiler_wl_F77=''
11749
 
          ;;
11750
 
        *Sun\ C*)
11751
 
          # Sun C 5.9
11752
 
          lt_prog_compiler_pic_F77='-KPIC'
11753
 
          lt_prog_compiler_static_F77='-Bstatic'
11754
 
          lt_prog_compiler_wl_F77='-Wl,'
11755
 
          ;;
11756
 
        esac
11757
 
        ;;
11758
 
      esac
11759
 
      ;;
11760
 
 
11761
 
    newsos6)
11762
 
      lt_prog_compiler_pic_F77='-KPIC'
11763
 
      lt_prog_compiler_static_F77='-Bstatic'
11764
 
      ;;
11765
 
 
11766
 
    *nto* | *qnx*)
11767
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
11768
 
      # it will coredump.
11769
 
      lt_prog_compiler_pic_F77='-fPIC -shared'
11770
 
      ;;
11771
 
 
11772
 
    osf3* | osf4* | osf5*)
11773
 
      lt_prog_compiler_wl_F77='-Wl,'
11774
 
      # All OSF/1 code is PIC.
11775
 
      lt_prog_compiler_static_F77='-non_shared'
11776
 
      ;;
11777
 
 
11778
 
    rdos*)
11779
 
      lt_prog_compiler_static_F77='-non_shared'
11780
 
      ;;
11781
 
 
11782
 
    solaris*)
11783
 
      lt_prog_compiler_pic_F77='-KPIC'
11784
 
      lt_prog_compiler_static_F77='-Bstatic'
11785
 
      case $cc_basename in
11786
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11787
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
11788
 
      *)
11789
 
        lt_prog_compiler_wl_F77='-Wl,';;
11790
 
      esac
11791
 
      ;;
11792
 
 
11793
 
    sunos4*)
11794
 
      lt_prog_compiler_wl_F77='-Qoption ld '
11795
 
      lt_prog_compiler_pic_F77='-PIC'
11796
 
      lt_prog_compiler_static_F77='-Bstatic'
11797
 
      ;;
11798
 
 
11799
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
11800
 
      lt_prog_compiler_wl_F77='-Wl,'
11801
 
      lt_prog_compiler_pic_F77='-KPIC'
11802
 
      lt_prog_compiler_static_F77='-Bstatic'
11803
 
      ;;
11804
 
 
11805
 
    sysv4*MP*)
11806
 
      if test -d /usr/nec ;then
11807
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
11808
 
        lt_prog_compiler_static_F77='-Bstatic'
11809
 
      fi
11810
 
      ;;
11811
 
 
11812
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11813
 
      lt_prog_compiler_wl_F77='-Wl,'
11814
 
      lt_prog_compiler_pic_F77='-KPIC'
11815
 
      lt_prog_compiler_static_F77='-Bstatic'
11816
 
      ;;
11817
 
 
11818
 
    unicos*)
11819
 
      lt_prog_compiler_wl_F77='-Wl,'
11820
 
      lt_prog_compiler_can_build_shared_F77=no
11821
 
      ;;
11822
 
 
11823
 
    uts4*)
11824
 
      lt_prog_compiler_pic_F77='-pic'
11825
 
      lt_prog_compiler_static_F77='-Bstatic'
11826
 
      ;;
11827
 
 
11828
 
    *)
11829
 
      lt_prog_compiler_can_build_shared_F77=no
11830
 
      ;;
11831
 
    esac
11832
 
  fi
11833
 
 
11834
 
case $host_os in
11835
 
  # For platforms which do not support PIC, -DPIC is meaningless:
11836
 
  *djgpp*)
11837
 
    lt_prog_compiler_pic_F77=
11838
 
    ;;
11839
 
  *)
11840
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77@&t@"
11841
 
    ;;
11842
 
esac
11843
 
 
11844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11845
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11846
 
if ${lt_cv_prog_compiler_pic_F77+:} false; then :
11847
 
  $as_echo_n "(cached) " >&6
11848
 
else
11849
 
  lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
11850
 
fi
11851
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
11852
 
$as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
11853
 
lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
11854
 
 
11855
 
#
11856
 
# Check to make sure the PIC flag actually works.
11857
 
#
11858
 
if test -n "$lt_prog_compiler_pic_F77"; then
11859
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
11860
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
11861
 
if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
11862
 
  $as_echo_n "(cached) " >&6
11863
 
else
11864
 
  lt_cv_prog_compiler_pic_works_F77=no
11865
 
   ac_outfile=conftest.$ac_objext
11866
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11867
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77@&t@"
11868
 
   # Insert the option either (1) after the last *FLAGS variable, or
11869
 
   # (2) before a word containing "conftest.", or (3) at the end.
11870
 
   # Note that $ac_compile itself does not contain backslashes and begins
11871
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11872
 
   # The option is referenced via a variable to avoid confusing sed.
11873
 
   lt_compile=`echo "$ac_compile" | $SED \
11874
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11875
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11876
 
   -e 's:$: $lt_compiler_flag:'`
11877
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11878
 
   (eval "$lt_compile" 2>conftest.err)
11879
 
   ac_status=$?
11880
 
   cat conftest.err >&5
11881
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
11883
 
     # The compiler can only warn and ignore the option if not recognized
11884
 
     # So say no if there are warnings other than the usual output.
11885
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11886
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11887
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11888
 
       lt_cv_prog_compiler_pic_works_F77=yes
11889
 
     fi
11890
 
   fi
11891
 
   $RM conftest*
11892
 
 
11893
 
fi
11894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
11895
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
11896
 
 
11897
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
11898
 
    case $lt_prog_compiler_pic_F77 in
11899
 
     "" | " "*) ;;
11900
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
11901
 
     esac
11902
 
else
11903
 
    lt_prog_compiler_pic_F77=
11904
 
     lt_prog_compiler_can_build_shared_F77=no
11905
 
fi
11906
 
 
11907
 
fi
11908
 
 
11909
 
 
11910
 
 
11911
 
 
11912
 
 
11913
 
#
11914
 
# Check to make sure the static flag actually works.
11915
 
#
11916
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
11917
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11918
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11919
 
if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
11920
 
  $as_echo_n "(cached) " >&6
11921
 
else
11922
 
  lt_cv_prog_compiler_static_works_F77=no
11923
 
   save_LDFLAGS="$LDFLAGS"
11924
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11925
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11926
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11927
 
     # The linker can only warn and ignore the option if not recognized
11928
 
     # So say no if there are warnings
11929
 
     if test -s conftest.err; then
11930
 
       # Append any errors to the config.log.
11931
 
       cat conftest.err 1>&5
11932
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11933
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11934
 
       if diff conftest.exp conftest.er2 >/dev/null; then
11935
 
         lt_cv_prog_compiler_static_works_F77=yes
11936
 
       fi
11937
 
     else
11938
 
       lt_cv_prog_compiler_static_works_F77=yes
11939
 
     fi
11940
 
   fi
11941
 
   $RM -r conftest*
11942
 
   LDFLAGS="$save_LDFLAGS"
11943
 
 
11944
 
fi
11945
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
11946
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
11947
 
 
11948
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
11949
 
    :
11950
 
else
11951
 
    lt_prog_compiler_static_F77=
11952
 
fi
11953
 
 
11954
 
 
11955
 
 
11956
 
 
11957
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11958
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11959
 
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
11960
 
  $as_echo_n "(cached) " >&6
11961
 
else
11962
 
  lt_cv_prog_compiler_c_o_F77=no
11963
 
   $RM -r conftest 2>/dev/null
11964
 
   mkdir conftest
11965
 
   cd conftest
11966
 
   mkdir out
11967
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11968
 
 
11969
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11970
 
   # Insert the option either (1) after the last *FLAGS variable, or
11971
 
   # (2) before a word containing "conftest.", or (3) at the end.
11972
 
   # Note that $ac_compile itself does not contain backslashes and begins
11973
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11974
 
   lt_compile=`echo "$ac_compile" | $SED \
11975
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11976
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11977
 
   -e 's:$: $lt_compiler_flag:'`
11978
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11979
 
   (eval "$lt_compile" 2>out/conftest.err)
11980
 
   ac_status=$?
11981
 
   cat out/conftest.err >&5
11982
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11984
 
   then
11985
 
     # The compiler can only warn and ignore the option if not recognized
11986
 
     # So say no if there are warnings
11987
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11988
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11989
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11990
 
       lt_cv_prog_compiler_c_o_F77=yes
11991
 
     fi
11992
 
   fi
11993
 
   chmod u+w . 2>&5
11994
 
   $RM conftest*
11995
 
   # SGI C++ compiler will create directory out/ii_files/ for
11996
 
   # template instantiation
11997
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11998
 
   $RM out/* && rmdir out
11999
 
   cd ..
12000
 
   $RM -r conftest
12001
 
   $RM conftest*
12002
 
 
12003
 
fi
12004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
12005
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
12006
 
 
12007
 
 
12008
 
 
12009
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12010
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12011
 
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
12012
 
  $as_echo_n "(cached) " >&6
12013
 
else
12014
 
  lt_cv_prog_compiler_c_o_F77=no
12015
 
   $RM -r conftest 2>/dev/null
12016
 
   mkdir conftest
12017
 
   cd conftest
12018
 
   mkdir out
12019
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12020
 
 
12021
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12022
 
   # Insert the option either (1) after the last *FLAGS variable, or
12023
 
   # (2) before a word containing "conftest.", or (3) at the end.
12024
 
   # Note that $ac_compile itself does not contain backslashes and begins
12025
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12026
 
   lt_compile=`echo "$ac_compile" | $SED \
12027
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12028
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12029
 
   -e 's:$: $lt_compiler_flag:'`
12030
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12031
 
   (eval "$lt_compile" 2>out/conftest.err)
12032
 
   ac_status=$?
12033
 
   cat out/conftest.err >&5
12034
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12036
 
   then
12037
 
     # The compiler can only warn and ignore the option if not recognized
12038
 
     # So say no if there are warnings
12039
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12040
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12041
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12042
 
       lt_cv_prog_compiler_c_o_F77=yes
12043
 
     fi
12044
 
   fi
12045
 
   chmod u+w . 2>&5
12046
 
   $RM conftest*
12047
 
   # SGI C++ compiler will create directory out/ii_files/ for
12048
 
   # template instantiation
12049
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12050
 
   $RM out/* && rmdir out
12051
 
   cd ..
12052
 
   $RM -r conftest
12053
 
   $RM conftest*
12054
 
 
12055
 
fi
12056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
12057
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
 
hard_links="nottested"
12063
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
12064
 
  # do not overwrite the value of need_locks provided by the user
12065
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12066
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
12067
 
  hard_links=yes
12068
 
  $RM conftest*
12069
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12070
 
  touch conftest.a
12071
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12072
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12073
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12074
 
$as_echo "$hard_links" >&6; }
12075
 
  if test "$hard_links" = no; then
12076
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12077
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12078
 
    need_locks=warn
12079
 
  fi
12080
 
else
12081
 
  need_locks=no
12082
 
fi
12083
 
 
12084
 
 
12085
 
 
12086
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12087
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12088
 
 
12089
 
  runpath_var=
12090
 
  allow_undefined_flag_F77=
12091
 
  always_export_symbols_F77=no
12092
 
  archive_cmds_F77=
12093
 
  archive_expsym_cmds_F77=
12094
 
  compiler_needs_object_F77=no
12095
 
  enable_shared_with_static_runtimes_F77=no
12096
 
  export_dynamic_flag_spec_F77=
12097
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12098
 
  hardcode_automatic_F77=no
12099
 
  hardcode_direct_F77=no
12100
 
  hardcode_direct_absolute_F77=no
12101
 
  hardcode_libdir_flag_spec_F77=
12102
 
  hardcode_libdir_flag_spec_ld_F77=
12103
 
  hardcode_libdir_separator_F77=
12104
 
  hardcode_minus_L_F77=no
12105
 
  hardcode_shlibpath_var_F77=unsupported
12106
 
  inherit_rpath_F77=no
12107
 
  link_all_deplibs_F77=unknown
12108
 
  module_cmds_F77=
12109
 
  module_expsym_cmds_F77=
12110
 
  old_archive_from_new_cmds_F77=
12111
 
  old_archive_from_expsyms_cmds_F77=
12112
 
  thread_safe_flag_spec_F77=
12113
 
  whole_archive_flag_spec_F77=
12114
 
  # include_expsyms should be a list of space-separated symbols to be *always*
12115
 
  # included in the symbol list
12116
 
  include_expsyms_F77=
12117
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
12118
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
12119
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12120
 
  # as well as any symbol that contains `d'.
12121
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12122
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12123
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
12124
 
  # the symbol is explicitly referenced.  Since portable code cannot
12125
 
  # rely on this symbol name, it's probably fine to never include it in
12126
 
  # preloaded symbol tables.
12127
 
  # Exclude shared library initialization/finalization symbols.
12128
 
  extract_expsyms_cmds=
12129
 
 
12130
 
  case $host_os in
12131
 
  cygwin* | mingw* | pw32* | cegcc*)
12132
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
12133
 
    # When not using gcc, we currently assume that we are using
12134
 
    # Microsoft Visual C++.
12135
 
    if test "$GCC" != yes; then
12136
 
      with_gnu_ld=no
12137
 
    fi
12138
 
    ;;
12139
 
  interix*)
12140
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
12141
 
    with_gnu_ld=yes
12142
 
    ;;
12143
 
  openbsd*)
12144
 
    with_gnu_ld=no
12145
 
    ;;
12146
 
  linux* | k*bsd*-gnu | gnu*)
12147
 
    link_all_deplibs_F77=no
12148
 
    ;;
12149
 
  esac
12150
 
 
12151
 
  ld_shlibs_F77=yes
12152
 
 
12153
 
  # On some targets, GNU ld is compatible enough with the native linker
12154
 
  # that we're better off using the native interface for both.
12155
 
  lt_use_gnu_ld_interface=no
12156
 
  if test "$with_gnu_ld" = yes; then
12157
 
    case $host_os in
12158
 
      aix*)
12159
 
        # The AIX port of GNU ld has always aspired to compatibility
12160
 
        # with the native linker.  However, as the warning in the GNU ld
12161
 
        # block says, versions before 2.19.5* couldn't really create working
12162
 
        # shared libraries, regardless of the interface used.
12163
 
        case `$LD -v 2>&1` in
12164
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12165
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12166
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12167
 
          *)
12168
 
            lt_use_gnu_ld_interface=yes
12169
 
            ;;
12170
 
        esac
12171
 
        ;;
12172
 
      *)
12173
 
        lt_use_gnu_ld_interface=yes
12174
 
        ;;
12175
 
    esac
12176
 
  fi
12177
 
 
12178
 
  if test "$lt_use_gnu_ld_interface" = yes; then
12179
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12180
 
    wlarc='${wl}'
12181
 
 
12182
 
    # Set some defaults for GNU ld with shared library support. These
12183
 
    # are reset later if shared libraries are not supported. Putting them
12184
 
    # here allows them to be overridden if necessary.
12185
 
    runpath_var=LD_RUN_PATH
12186
 
    hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12187
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
12188
 
    # ancient GNU ld didn't support --whole-archive et. al.
12189
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12190
 
      whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12191
 
    else
12192
 
      whole_archive_flag_spec_F77=
12193
 
    fi
12194
 
    supports_anon_versioning=no
12195
 
    case `$LD -v 2>&1` in
12196
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
12197
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12198
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12199
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12200
 
      *\ 2.11.*) ;; # other 2.11 versions
12201
 
      *) supports_anon_versioning=yes ;;
12202
 
    esac
12203
 
 
12204
 
    # See if GNU ld supports shared libraries.
12205
 
    case $host_os in
12206
 
    aix[3-9]*)
12207
 
      # On AIX/PPC, the GNU linker is very broken
12208
 
      if test "$host_cpu" != ia64; then
12209
 
        ld_shlibs_F77=no
12210
 
        cat <<_LT_EOF 1>&2
12211
 
 
12212
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
12213
 
*** to be unable to reliably create shared libraries on AIX.
12214
 
*** Therefore, libtool is disabling shared libraries support.  If you
12215
 
*** really care for shared libraries, you may want to install binutils
12216
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12217
 
*** You will then need to restart the configuration process.
12218
 
 
12219
 
_LT_EOF
12220
 
      fi
12221
 
      ;;
12222
 
 
12223
 
    amigaos*)
12224
 
      case $host_cpu in
12225
 
      powerpc)
12226
 
            # see comment about AmigaOS4 .so support
12227
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12228
 
            archive_expsym_cmds_F77=''
12229
 
        ;;
12230
 
      m68k)
12231
 
            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)'
12232
 
            hardcode_libdir_flag_spec_F77='-L$libdir'
12233
 
            hardcode_minus_L_F77=yes
12234
 
        ;;
12235
 
      esac
12236
 
      ;;
12237
 
 
12238
 
    beos*)
12239
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12240
 
        allow_undefined_flag_F77=unsupported
12241
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12242
 
        # support --undefined.  This deserves some investigation.  FIXME
12243
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12244
 
      else
12245
 
        ld_shlibs_F77=no
12246
 
      fi
12247
 
      ;;
12248
 
 
12249
 
    cygwin* | mingw* | pw32* | cegcc*)
12250
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
12251
 
      # as there is no search path for DLLs.
12252
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
12253
 
      export_dynamic_flag_spec_F77='${wl}--export-all-symbols'
12254
 
      allow_undefined_flag_F77=unsupported
12255
 
      always_export_symbols_F77=no
12256
 
      enable_shared_with_static_runtimes_F77=yes
12257
 
      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'
12258
 
      exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12259
 
 
12260
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12261
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12262
 
        # If the export-symbols file already is a .def file (1st line
12263
 
        # is EXPORTS), use it as is; otherwise, prepend...
12264
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12265
 
          cp $export_symbols $output_objdir/$soname.def;
12266
 
        else
12267
 
          echo EXPORTS > $output_objdir/$soname.def;
12268
 
          cat $export_symbols >> $output_objdir/$soname.def;
12269
 
        fi~
12270
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12271
 
      else
12272
 
        ld_shlibs_F77=no
12273
 
      fi
12274
 
      ;;
12275
 
 
12276
 
    haiku*)
12277
 
      archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12278
 
      link_all_deplibs_F77=yes
12279
 
      ;;
12280
 
 
12281
 
    interix[3-9]*)
12282
 
      hardcode_direct_F77=no
12283
 
      hardcode_shlibpath_var_F77=no
12284
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
12285
 
      export_dynamic_flag_spec_F77='${wl}-E'
12286
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12287
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
12288
 
      # default) and relocated if they conflict, which is a slow very memory
12289
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
12290
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12291
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12292
 
      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'
12293
 
      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'
12294
 
      ;;
12295
 
 
12296
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12297
 
      tmp_diet=no
12298
 
      if test "$host_os" = linux-dietlibc; then
12299
 
        case $cc_basename in
12300
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12301
 
        esac
12302
 
      fi
12303
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12304
 
         && test "$tmp_diet" = no
12305
 
      then
12306
 
        tmp_addflag=' $pic_flag'
12307
 
        tmp_sharedflag='-shared'
12308
 
        case $cc_basename,$host_cpu in
12309
 
        pgcc*)                          # Portland Group C compiler
12310
 
          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'
12311
 
          tmp_addflag=' $pic_flag'
12312
 
          ;;
12313
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
12314
 
                                        # Portland Group f77 and f90 compilers
12315
 
          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'
12316
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
12317
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12318
 
          tmp_addflag=' -i_dynamic' ;;
12319
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12320
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
12321
 
        ifc* | ifort*)                  # Intel Fortran compiler
12322
 
          tmp_addflag=' -nofor_main' ;;
12323
 
        lf95*)                          # Lahey Fortran 8.1
12324
 
          whole_archive_flag_spec_F77=
12325
 
          tmp_sharedflag='--shared' ;;
12326
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12327
 
          tmp_sharedflag='-qmkshrobj'
12328
 
          tmp_addflag= ;;
12329
 
        nvcc*)  # Cuda Compiler Driver 2.2
12330
 
          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'
12331
 
          compiler_needs_object_F77=yes
12332
 
          ;;
12333
 
        esac
12334
 
        case `$CC -V 2>&1 | sed 5q` in
12335
 
        *Sun\ C*)                       # Sun C 5.9
12336
 
          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'
12337
 
          compiler_needs_object_F77=yes
12338
 
          tmp_sharedflag='-G' ;;
12339
 
        *Sun\ F*)                       # Sun Fortran 8.3
12340
 
          tmp_sharedflag='-G' ;;
12341
 
        esac
12342
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12343
 
 
12344
 
        if test "x$supports_anon_versioning" = xyes; then
12345
 
          archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
12346
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12347
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
12348
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12349
 
        fi
12350
 
 
12351
 
        case $cc_basename in
12352
 
        xlf* | bgf* | bgxlf* | mpixlf*)
12353
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12354
 
          whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
12355
 
          hardcode_libdir_flag_spec_F77=
12356
 
          hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
12357
 
          archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12358
 
          if test "x$supports_anon_versioning" = xyes; then
12359
 
            archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
12360
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12361
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
12362
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12363
 
          fi
12364
 
          ;;
12365
 
        esac
12366
 
      else
12367
 
        ld_shlibs_F77=no
12368
 
      fi
12369
 
      ;;
12370
 
 
12371
 
    netbsd* | netbsdelf*-gnu)
12372
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12373
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12374
 
        wlarc=
12375
 
      else
12376
 
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12377
 
        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'
12378
 
      fi
12379
 
      ;;
12380
 
 
12381
 
    solaris*)
12382
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12383
 
        ld_shlibs_F77=no
12384
 
        cat <<_LT_EOF 1>&2
12385
 
 
12386
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12387
 
*** create shared libraries on Solaris systems.  Therefore, libtool
12388
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
12389
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
12390
 
*** your PATH or compiler configuration so that the native linker is
12391
 
*** used, and then restart.
12392
 
 
12393
 
_LT_EOF
12394
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12395
 
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12396
 
        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'
12397
 
      else
12398
 
        ld_shlibs_F77=no
12399
 
      fi
12400
 
      ;;
12401
 
 
12402
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12403
 
      case `$LD -v 2>&1` in
12404
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12405
 
        ld_shlibs_F77=no
12406
 
        cat <<_LT_EOF 1>&2
12407
 
 
12408
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12409
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
12410
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
12411
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12412
 
*** your PATH or compiler configuration so that the native linker is
12413
 
*** used, and then restart.
12414
 
 
12415
 
_LT_EOF
12416
 
        ;;
12417
 
        *)
12418
 
          # For security reasons, it is highly recommended that you always
12419
 
          # use absolute paths for naming shared libraries, and exclude the
12420
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
12421
 
          # requires that you compile everything twice, which is a pain.
12422
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12423
 
            hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12424
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12425
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12426
 
          else
12427
 
            ld_shlibs_F77=no
12428
 
          fi
12429
 
        ;;
12430
 
      esac
12431
 
      ;;
12432
 
 
12433
 
    sunos4*)
12434
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12435
 
      wlarc=
12436
 
      hardcode_direct_F77=yes
12437
 
      hardcode_shlibpath_var_F77=no
12438
 
      ;;
12439
 
 
12440
 
    *)
12441
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12442
 
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12443
 
        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'
12444
 
      else
12445
 
        ld_shlibs_F77=no
12446
 
      fi
12447
 
      ;;
12448
 
    esac
12449
 
 
12450
 
    if test "$ld_shlibs_F77" = no; then
12451
 
      runpath_var=
12452
 
      hardcode_libdir_flag_spec_F77=
12453
 
      export_dynamic_flag_spec_F77=
12454
 
      whole_archive_flag_spec_F77=
12455
 
    fi
12456
 
  else
12457
 
    # PORTME fill in a description of your system's linker (not GNU ld)
12458
 
    case $host_os in
12459
 
    aix3*)
12460
 
      allow_undefined_flag_F77=unsupported
12461
 
      always_export_symbols_F77=yes
12462
 
      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'
12463
 
      # Note: this linker hardcodes the directories in LIBPATH if there
12464
 
      # are no directories specified by -L.
12465
 
      hardcode_minus_L_F77=yes
12466
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12467
 
        # Neither direct hardcoding nor static linking is supported with a
12468
 
        # broken collect2.
12469
 
        hardcode_direct_F77=unsupported
12470
 
      fi
12471
 
      ;;
12472
 
 
12473
 
    aix[4-9]*)
12474
 
      if test "$host_cpu" = ia64; then
12475
 
        # On IA64, the linker does run time linking by default, so we don't
12476
 
        # have to do anything special.
12477
 
        aix_use_runtimelinking=no
12478
 
        exp_sym_flag='-Bexport'
12479
 
        no_entry_flag=""
12480
 
      else
12481
 
        # If we're using GNU nm, then we don't want the "-C" option.
12482
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
12483
 
        # Also, AIX nm treats weak defined symbols like other global
12484
 
        # defined symbols, whereas GNU nm marks them as "W".
12485
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12486
 
          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'
12487
 
        else
12488
 
          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'
12489
 
        fi
12490
 
        aix_use_runtimelinking=no
12491
 
 
12492
 
        # Test if we are trying to use run time linking or normal
12493
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12494
 
        # need to do runtime linking.
12495
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12496
 
          for ld_flag in $LDFLAGS; do
12497
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12498
 
            aix_use_runtimelinking=yes
12499
 
            break
12500
 
          fi
12501
 
          done
12502
 
          ;;
12503
 
        esac
12504
 
 
12505
 
        exp_sym_flag='-bexport'
12506
 
        no_entry_flag='-bnoentry'
12507
 
      fi
12508
 
 
12509
 
      # When large executables or shared objects are built, AIX ld can
12510
 
      # have problems creating the table of contents.  If linking a library
12511
 
      # or program results in "error TOC overflow" add -mminimal-toc to
12512
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12513
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12514
 
 
12515
 
      archive_cmds_F77=''
12516
 
      hardcode_direct_F77=yes
12517
 
      hardcode_direct_absolute_F77=yes
12518
 
      hardcode_libdir_separator_F77=':'
12519
 
      link_all_deplibs_F77=yes
12520
 
      file_list_spec_F77='${wl}-f,'
12521
 
 
12522
 
      if test "$GCC" = yes; then
12523
 
        case $host_os in aix4.[012]|aix4.[012].*)
12524
 
        # We only want to do this on AIX 4.2 and lower, the check
12525
 
        # below for broken collect2 doesn't work under 4.3+
12526
 
          collect2name=`${CC} -print-prog-name=collect2`
12527
 
          if test -f "$collect2name" &&
12528
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12529
 
          then
12530
 
          # We have reworked collect2
12531
 
          :
12532
 
          else
12533
 
          # We have old collect2
12534
 
          hardcode_direct_F77=unsupported
12535
 
          # It fails to find uninstalled libraries when the uninstalled
12536
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12537
 
          # to unsupported forces relinking
12538
 
          hardcode_minus_L_F77=yes
12539
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
12540
 
          hardcode_libdir_separator_F77=
12541
 
          fi
12542
 
          ;;
12543
 
        esac
12544
 
        shared_flag='-shared'
12545
 
        if test "$aix_use_runtimelinking" = yes; then
12546
 
          shared_flag="$shared_flag "'${wl}-G'
12547
 
        fi
12548
 
        link_all_deplibs_F77=no
12549
 
      else
12550
 
        # not using gcc
12551
 
        if test "$host_cpu" = ia64; then
12552
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12553
 
        # chokes on -Wl,-G. The following line is correct:
12554
 
          shared_flag='-G'
12555
 
        else
12556
 
          if test "$aix_use_runtimelinking" = yes; then
12557
 
            shared_flag='${wl}-G'
12558
 
          else
12559
 
            shared_flag='${wl}-bM:SRE'
12560
 
          fi
12561
 
        fi
12562
 
      fi
12563
 
 
12564
 
      export_dynamic_flag_spec_F77='${wl}-bexpall'
12565
 
      # It seems that -bexpall does not export symbols beginning with
12566
 
      # underscore (_), so it is better to generate a list of symbols to export.
12567
 
      always_export_symbols_F77=yes
12568
 
      if test "$aix_use_runtimelinking" = yes; then
12569
 
        # Warning - without using the other runtime loading flags (-brtl),
12570
 
        # -berok will link without error, but may produce a broken library.
12571
 
        allow_undefined_flag_F77='-berok'
12572
 
        # Determine the default libpath from the value encoded in an
12573
 
        # empty executable.
12574
 
        if test "${lt_cv_aix_libpath+set}" = set; then
12575
 
  aix_libpath=$lt_cv_aix_libpath
12576
 
else
12577
 
  if ${lt_cv_aix_libpath__F77+:} false; then :
12578
 
  $as_echo_n "(cached) " >&6
12579
 
else
12580
 
  cat > conftest.$ac_ext <<_ACEOF
12581
 
      program main
12582
 
 
12583
 
      end
12584
 
_ACEOF
12585
 
if ac_fn_f77_try_link "$LINENO"; then :
12586
 
  
12587
 
  lt_aix_libpath_sed='
12588
 
      /Import File Strings/,/^$/ {
12589
 
          /^0/ {
12590
 
              s/^0  *\([^ ]*\) *$/\1/
12591
 
              p
12592
 
          }
12593
 
      }'
12594
 
  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12595
 
  # Check for a 64-bit object if we didn't find anything.
12596
 
  if test -z "$lt_cv_aix_libpath__F77"; then
12597
 
    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12598
 
  fi
12599
 
fi
12600
 
rm -f core conftest.err conftest.$ac_objext \
12601
 
    conftest$ac_exeext conftest.$ac_ext
12602
 
  if test -z "$lt_cv_aix_libpath__F77"; then
12603
 
    lt_cv_aix_libpath__F77="/usr/lib:/lib"
12604
 
  fi
12605
 
  
12606
 
fi
12607
 
 
12608
 
  aix_libpath=$lt_cv_aix_libpath__F77
12609
 
fi
12610
 
 
12611
 
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
12612
 
        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"
12613
 
      else
12614
 
        if test "$host_cpu" = ia64; then
12615
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
12616
 
          allow_undefined_flag_F77="-z nodefs"
12617
 
          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"
12618
 
        else
12619
 
         # Determine the default libpath from the value encoded in an
12620
 
         # empty executable.
12621
 
         if test "${lt_cv_aix_libpath+set}" = set; then
12622
 
  aix_libpath=$lt_cv_aix_libpath
12623
 
else
12624
 
  if ${lt_cv_aix_libpath__F77+:} false; then :
12625
 
  $as_echo_n "(cached) " >&6
12626
 
else
12627
 
  cat > conftest.$ac_ext <<_ACEOF
12628
 
      program main
12629
 
 
12630
 
      end
12631
 
_ACEOF
12632
 
if ac_fn_f77_try_link "$LINENO"; then :
12633
 
  
12634
 
  lt_aix_libpath_sed='
12635
 
      /Import File Strings/,/^$/ {
12636
 
          /^0/ {
12637
 
              s/^0  *\([^ ]*\) *$/\1/
12638
 
              p
12639
 
          }
12640
 
      }'
12641
 
  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12642
 
  # Check for a 64-bit object if we didn't find anything.
12643
 
  if test -z "$lt_cv_aix_libpath__F77"; then
12644
 
    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12645
 
  fi
12646
 
fi
12647
 
rm -f core conftest.err conftest.$ac_objext \
12648
 
    conftest$ac_exeext conftest.$ac_ext
12649
 
  if test -z "$lt_cv_aix_libpath__F77"; then
12650
 
    lt_cv_aix_libpath__F77="/usr/lib:/lib"
12651
 
  fi
12652
 
  
12653
 
fi
12654
 
 
12655
 
  aix_libpath=$lt_cv_aix_libpath__F77
12656
 
fi
12657
 
 
12658
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
12659
 
          # Warning - without using the other run time loading flags,
12660
 
          # -berok will link without error, but may produce a broken library.
12661
 
          no_undefined_flag_F77=' ${wl}-bernotok'
12662
 
          allow_undefined_flag_F77=' ${wl}-berok'
12663
 
          if test "$with_gnu_ld" = yes; then
12664
 
            # We only use this code for GNU lds that support --whole-archive.
12665
 
            whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12666
 
          else
12667
 
            # Exported symbols can be pulled into shared objects from archives
12668
 
            whole_archive_flag_spec_F77='$convenience'
12669
 
          fi
12670
 
          archive_cmds_need_lc_F77=yes
12671
 
          # This is similar to how AIX traditionally builds its shared libraries.
12672
 
          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'
12673
 
        fi
12674
 
      fi
12675
 
      ;;
12676
 
 
12677
 
    amigaos*)
12678
 
      case $host_cpu in
12679
 
      powerpc)
12680
 
            # see comment about AmigaOS4 .so support
12681
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12682
 
            archive_expsym_cmds_F77=''
12683
 
        ;;
12684
 
      m68k)
12685
 
            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)'
12686
 
            hardcode_libdir_flag_spec_F77='-L$libdir'
12687
 
            hardcode_minus_L_F77=yes
12688
 
        ;;
12689
 
      esac
12690
 
      ;;
12691
 
 
12692
 
    bsdi[45]*)
12693
 
      export_dynamic_flag_spec_F77=-rdynamic
12694
 
      ;;
12695
 
 
12696
 
    cygwin* | mingw* | pw32* | cegcc*)
12697
 
      # When not using gcc, we currently assume that we are using
12698
 
      # Microsoft Visual C++.
12699
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
12700
 
      # no search path for DLLs.
12701
 
      case $cc_basename in
12702
 
      cl*)
12703
 
        # Native MSVC
12704
 
        hardcode_libdir_flag_spec_F77=' '
12705
 
        allow_undefined_flag_F77=unsupported
12706
 
        always_export_symbols_F77=yes
12707
 
        file_list_spec_F77='@'
12708
 
        # Tell ltmain to make .lib files, not .a files.
12709
 
        libext=lib
12710
 
        # Tell ltmain to make .dll files, not .so files.
12711
 
        shrext_cmds=".dll"
12712
 
        # FIXME: Setting linknames here is a bad hack.
12713
 
        archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12714
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12715
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12716
 
          else
12717
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12718
 
          fi~
12719
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12720
 
          linknames='
12721
 
        # The linker will not automatically build a static lib if we build a DLL.
12722
 
        # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
12723
 
        enable_shared_with_static_runtimes_F77=yes
12724
 
        export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12725
 
        # Don't use ranlib
12726
 
        old_postinstall_cmds_F77='chmod 644 $oldlib'
12727
 
        postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
12728
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
12729
 
          case $lt_outputfile in
12730
 
            *.exe|*.EXE) ;;
12731
 
            *)
12732
 
              lt_outputfile="$lt_outputfile.exe"
12733
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
12734
 
              ;;
12735
 
          esac~
12736
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12737
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12738
 
            $RM "$lt_outputfile.manifest";
12739
 
          fi'
12740
 
        ;;
12741
 
      *)
12742
 
        # Assume MSVC wrapper
12743
 
        hardcode_libdir_flag_spec_F77=' '
12744
 
        allow_undefined_flag_F77=unsupported
12745
 
        # Tell ltmain to make .lib files, not .a files.
12746
 
        libext=lib
12747
 
        # Tell ltmain to make .dll files, not .so files.
12748
 
        shrext_cmds=".dll"
12749
 
        # FIXME: Setting linknames here is a bad hack.
12750
 
        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12751
 
        # The linker will automatically build a .lib file if we build a DLL.
12752
 
        old_archive_from_new_cmds_F77='true'
12753
 
        # FIXME: Should let the user specify the lib program.
12754
 
        old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
12755
 
        enable_shared_with_static_runtimes_F77=yes
12756
 
        ;;
12757
 
      esac
12758
 
      ;;
12759
 
 
12760
 
    darwin* | rhapsody*)
12761
 
      
12762
 
  
12763
 
  archive_cmds_need_lc_F77=no
12764
 
  hardcode_direct_F77=no
12765
 
  hardcode_automatic_F77=yes
12766
 
  hardcode_shlibpath_var_F77=unsupported
12767
 
  if test "$lt_cv_ld_force_load" = "yes"; then
12768
 
    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\"`'
12769
 
  else
12770
 
    whole_archive_flag_spec_F77=''
12771
 
  fi
12772
 
  link_all_deplibs_F77=yes
12773
 
  allow_undefined_flag_F77="$_lt_dar_allow_undefined"
12774
 
  case $cc_basename in
12775
 
     ifort*) _lt_dar_can_shared=yes ;;
12776
 
     *) _lt_dar_can_shared=$GCC ;;
12777
 
  esac
12778
 
  if test "$_lt_dar_can_shared" = "yes"; then
12779
 
    output_verbose_link_cmd=func_echo_all
12780
 
    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}"
12781
 
    module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12782
 
    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}"
12783
 
    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}"
12784
 
    
12785
 
  else
12786
 
  ld_shlibs_F77=no
12787
 
  fi
12788
 
 
12789
 
      ;;
12790
 
 
12791
 
    dgux*)
12792
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12793
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
12794
 
      hardcode_shlibpath_var_F77=no
12795
 
      ;;
12796
 
 
12797
 
    freebsd1*)
12798
 
      ld_shlibs_F77=no
12799
 
      ;;
12800
 
 
12801
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12802
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
12803
 
    # does not break anything, and helps significantly (at the cost of a little
12804
 
    # extra space).
12805
 
    freebsd2.2*)
12806
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12807
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
12808
 
      hardcode_direct_F77=yes
12809
 
      hardcode_shlibpath_var_F77=no
12810
 
      ;;
12811
 
 
12812
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12813
 
    freebsd2*)
12814
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12815
 
      hardcode_direct_F77=yes
12816
 
      hardcode_minus_L_F77=yes
12817
 
      hardcode_shlibpath_var_F77=no
12818
 
      ;;
12819
 
 
12820
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12821
 
    freebsd* | dragonfly*)
12822
 
      archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12823
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
12824
 
      hardcode_direct_F77=yes
12825
 
      hardcode_shlibpath_var_F77=no
12826
 
      ;;
12827
 
 
12828
 
    hpux9*)
12829
 
      if test "$GCC" = yes; then
12830
 
        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'
12831
 
      else
12832
 
        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'
12833
 
      fi
12834
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
12835
 
      hardcode_libdir_separator_F77=:
12836
 
      hardcode_direct_F77=yes
12837
 
 
12838
 
      # hardcode_minus_L: Not really in the search PATH,
12839
 
      # but as the default location of the library.
12840
 
      hardcode_minus_L_F77=yes
12841
 
      export_dynamic_flag_spec_F77='${wl}-E'
12842
 
      ;;
12843
 
 
12844
 
    hpux10*)
12845
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12846
 
        archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12847
 
      else
12848
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12849
 
      fi
12850
 
      if test "$with_gnu_ld" = no; then
12851
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
12852
 
        hardcode_libdir_flag_spec_ld_F77='+b $libdir'
12853
 
        hardcode_libdir_separator_F77=:
12854
 
        hardcode_direct_F77=yes
12855
 
        hardcode_direct_absolute_F77=yes
12856
 
        export_dynamic_flag_spec_F77='${wl}-E'
12857
 
        # hardcode_minus_L: Not really in the search PATH,
12858
 
        # but as the default location of the library.
12859
 
        hardcode_minus_L_F77=yes
12860
 
      fi
12861
 
      ;;
12862
 
 
12863
 
    hpux11*)
12864
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12865
 
        case $host_cpu in
12866
 
        hppa*64*)
12867
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12868
 
          ;;
12869
 
        ia64*)
12870
 
          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12871
 
          ;;
12872
 
        *)
12873
 
          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12874
 
          ;;
12875
 
        esac
12876
 
      else
12877
 
        case $host_cpu in
12878
 
        hppa*64*)
12879
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12880
 
          ;;
12881
 
        ia64*)
12882
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12883
 
          ;;
12884
 
        *)
12885
 
        archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12886
 
          ;;
12887
 
        esac
12888
 
      fi
12889
 
      if test "$with_gnu_ld" = no; then
12890
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
12891
 
        hardcode_libdir_separator_F77=:
12892
 
 
12893
 
        case $host_cpu in
12894
 
        hppa*64*|ia64*)
12895
 
          hardcode_direct_F77=no
12896
 
          hardcode_shlibpath_var_F77=no
12897
 
          ;;
12898
 
        *)
12899
 
          hardcode_direct_F77=yes
12900
 
          hardcode_direct_absolute_F77=yes
12901
 
          export_dynamic_flag_spec_F77='${wl}-E'
12902
 
 
12903
 
          # hardcode_minus_L: Not really in the search PATH,
12904
 
          # but as the default location of the library.
12905
 
          hardcode_minus_L_F77=yes
12906
 
          ;;
12907
 
        esac
12908
 
      fi
12909
 
      ;;
12910
 
 
12911
 
    irix5* | irix6* | nonstopux*)
12912
 
      if test "$GCC" = yes; then
12913
 
        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'
12914
 
        # Try to use the -exported_symbol ld option, if it does not
12915
 
        # work, assume that -exports_file does not work either and
12916
 
        # implicitly export all symbols.
12917
 
        # This should be the same for all languages, so no per-tag cache variable.
12918
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12919
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12920
 
if ${lt_cv_irix_exported_symbol+:} false; then :
12921
 
  $as_echo_n "(cached) " >&6
12922
 
else
12923
 
  save_LDFLAGS="$LDFLAGS"
12924
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12925
 
           cat > conftest.$ac_ext <<_ACEOF
12926
 
 
12927
 
      subroutine foo
12928
 
      end
12929
 
_ACEOF
12930
 
if ac_fn_f77_try_link "$LINENO"; then :
12931
 
  lt_cv_irix_exported_symbol=yes
12932
 
else
12933
 
  lt_cv_irix_exported_symbol=no
12934
 
fi
12935
 
rm -f core conftest.err conftest.$ac_objext \
12936
 
    conftest$ac_exeext conftest.$ac_ext
12937
 
           LDFLAGS="$save_LDFLAGS"
12938
 
fi
12939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12940
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
12941
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
12942
 
          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'
12943
 
        fi
12944
 
      else
12945
 
        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'
12946
 
        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'
12947
 
      fi
12948
 
      archive_cmds_need_lc_F77='no'
12949
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12950
 
      hardcode_libdir_separator_F77=:
12951
 
      inherit_rpath_F77=yes
12952
 
      link_all_deplibs_F77=yes
12953
 
      ;;
12954
 
 
12955
 
    netbsd* | netbsdelf*-gnu)
12956
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12957
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12958
 
      else
12959
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12960
 
      fi
12961
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
12962
 
      hardcode_direct_F77=yes
12963
 
      hardcode_shlibpath_var_F77=no
12964
 
      ;;
12965
 
 
12966
 
    newsos6)
12967
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12968
 
      hardcode_direct_F77=yes
12969
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12970
 
      hardcode_libdir_separator_F77=:
12971
 
      hardcode_shlibpath_var_F77=no
12972
 
      ;;
12973
 
 
12974
 
    *nto* | *qnx*)
12975
 
      ;;
12976
 
 
12977
 
    openbsd*)
12978
 
      if test -f /usr/libexec/ld.so; then
12979
 
        hardcode_direct_F77=yes
12980
 
        hardcode_shlibpath_var_F77=no
12981
 
        hardcode_direct_absolute_F77=yes
12982
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12983
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12984
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12985
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
12986
 
          export_dynamic_flag_spec_F77='${wl}-E'
12987
 
        else
12988
 
          case $host_os in
12989
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12990
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12991
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
12992
 
             ;;
12993
 
           *)
12994
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12995
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
12996
 
             ;;
12997
 
          esac
12998
 
        fi
12999
 
      else
13000
 
        ld_shlibs_F77=no
13001
 
      fi
13002
 
      ;;
13003
 
 
13004
 
    os2*)
13005
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13006
 
      hardcode_minus_L_F77=yes
13007
 
      allow_undefined_flag_F77=unsupported
13008
 
      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'
13009
 
      old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13010
 
      ;;
13011
 
 
13012
 
    osf3*)
13013
 
      if test "$GCC" = yes; then
13014
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13015
 
        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'
13016
 
      else
13017
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
13018
 
        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'
13019
 
      fi
13020
 
      archive_cmds_need_lc_F77='no'
13021
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13022
 
      hardcode_libdir_separator_F77=:
13023
 
      ;;
13024
 
 
13025
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
13026
 
      if test "$GCC" = yes; then
13027
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13028
 
        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'
13029
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13030
 
      else
13031
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
13032
 
        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'
13033
 
        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~
13034
 
        $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'
13035
 
 
13036
 
        # Both c and cxx compiler support -rpath directly
13037
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
13038
 
      fi
13039
 
      archive_cmds_need_lc_F77='no'
13040
 
      hardcode_libdir_separator_F77=:
13041
 
      ;;
13042
 
 
13043
 
    solaris*)
13044
 
      no_undefined_flag_F77=' -z defs'
13045
 
      if test "$GCC" = yes; then
13046
 
        wlarc='${wl}'
13047
 
        archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13048
 
        archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13049
 
          $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'
13050
 
      else
13051
 
        case `$CC -V 2>&1` in
13052
 
        *"Compilers 5.0"*)
13053
 
          wlarc=''
13054
 
          archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13055
 
          archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13056
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13057
 
          ;;
13058
 
        *)
13059
 
          wlarc='${wl}'
13060
 
          archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13061
 
          archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13062
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13063
 
          ;;
13064
 
        esac
13065
 
      fi
13066
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13067
 
      hardcode_shlibpath_var_F77=no
13068
 
      case $host_os in
13069
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
13070
 
      *)
13071
 
        # The compiler driver will combine and reorder linker options,
13072
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
13073
 
        # but is careful enough not to reorder.
13074
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
13075
 
        if test "$GCC" = yes; then
13076
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13077
 
        else
13078
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
13079
 
        fi
13080
 
        ;;
13081
 
      esac
13082
 
      link_all_deplibs_F77=yes
13083
 
      ;;
13084
 
 
13085
 
    sunos4*)
13086
 
      if test "x$host_vendor" = xsequent; then
13087
 
        # Use $CC to link under sequent, because it throws in some extra .o
13088
 
        # files that make .init and .fini sections work.
13089
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13090
 
      else
13091
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13092
 
      fi
13093
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13094
 
      hardcode_direct_F77=yes
13095
 
      hardcode_minus_L_F77=yes
13096
 
      hardcode_shlibpath_var_F77=no
13097
 
      ;;
13098
 
 
13099
 
    sysv4)
13100
 
      case $host_vendor in
13101
 
        sni)
13102
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13103
 
          hardcode_direct_F77=yes # is this really true???
13104
 
        ;;
13105
 
        siemens)
13106
 
          ## LD is ld it makes a PLAMLIB
13107
 
          ## CC just makes a GrossModule.
13108
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13109
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
13110
 
          hardcode_direct_F77=no
13111
 
        ;;
13112
 
        motorola)
13113
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13114
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13115
 
        ;;
13116
 
      esac
13117
 
      runpath_var='LD_RUN_PATH'
13118
 
      hardcode_shlibpath_var_F77=no
13119
 
      ;;
13120
 
 
13121
 
    sysv4.3*)
13122
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13123
 
      hardcode_shlibpath_var_F77=no
13124
 
      export_dynamic_flag_spec_F77='-Bexport'
13125
 
      ;;
13126
 
 
13127
 
    sysv4*MP*)
13128
 
      if test -d /usr/nec; then
13129
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13130
 
        hardcode_shlibpath_var_F77=no
13131
 
        runpath_var=LD_RUN_PATH
13132
 
        hardcode_runpath_var=yes
13133
 
        ld_shlibs_F77=yes
13134
 
      fi
13135
 
      ;;
13136
 
 
13137
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13138
 
      no_undefined_flag_F77='${wl}-z,text'
13139
 
      archive_cmds_need_lc_F77=no
13140
 
      hardcode_shlibpath_var_F77=no
13141
 
      runpath_var='LD_RUN_PATH'
13142
 
 
13143
 
      if test "$GCC" = yes; then
13144
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13145
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146
 
      else
13147
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149
 
      fi
13150
 
      ;;
13151
 
 
13152
 
    sysv5* | sco3.2v5* | sco5v6*)
13153
 
      # Note: We can NOT use -z defs as we might desire, because we do not
13154
 
      # link with -lc, and that would cause any symbols used from libc to
13155
 
      # always be unresolved, which means just about no library would
13156
 
      # ever link correctly.  If we're not using GNU ld we use -z text
13157
 
      # though, which does catch some bad symbols but isn't as heavy-handed
13158
 
      # as -z defs.
13159
 
      no_undefined_flag_F77='${wl}-z,text'
13160
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
13161
 
      archive_cmds_need_lc_F77=no
13162
 
      hardcode_shlibpath_var_F77=no
13163
 
      hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
13164
 
      hardcode_libdir_separator_F77=':'
13165
 
      link_all_deplibs_F77=yes
13166
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
13167
 
      runpath_var='LD_RUN_PATH'
13168
 
 
13169
 
      if test "$GCC" = yes; then
13170
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13171
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172
 
      else
13173
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13174
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13175
 
      fi
13176
 
      ;;
13177
 
 
13178
 
    uts4*)
13179
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13180
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13181
 
      hardcode_shlibpath_var_F77=no
13182
 
      ;;
13183
 
 
13184
 
    *)
13185
 
      ld_shlibs_F77=no
13186
 
      ;;
13187
 
    esac
13188
 
 
13189
 
    if test x$host_vendor = xsni; then
13190
 
      case $host in
13191
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13192
 
        export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
13193
 
        ;;
13194
 
      esac
13195
 
    fi
13196
 
  fi
13197
 
 
13198
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
13199
 
$as_echo "$ld_shlibs_F77" >&6; }
13200
 
test "$ld_shlibs_F77" = no && can_build_shared=no
13201
 
 
13202
 
with_gnu_ld_F77=$with_gnu_ld
13203
 
 
13204
 
 
13205
 
 
13206
 
 
13207
 
 
13208
 
 
13209
 
#
13210
 
# Do we need to explicitly link libc?
13211
 
#
13212
 
case "x$archive_cmds_need_lc_F77" in
13213
 
x|xyes)
13214
 
  # Assume -lc should be added
13215
 
  archive_cmds_need_lc_F77=yes
13216
 
 
13217
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13218
 
    case $archive_cmds_F77 in
13219
 
    *'~'*)
13220
 
      # FIXME: we may have to deal with multi-command sequences.
13221
 
      ;;
13222
 
    '$CC '*)
13223
 
      # Test whether the compiler implicitly links with -lc since on some
13224
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13225
 
      # to ld, don't add -lc before -lgcc.
13226
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13227
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13228
 
if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
13229
 
  $as_echo_n "(cached) " >&6
13230
 
else
13231
 
  $RM conftest*
13232
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13233
 
 
13234
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13235
 
  (eval $ac_compile) 2>&5
13236
 
  ac_status=$?
13237
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13238
 
  test $ac_status = 0; } 2>conftest.err; then
13239
 
          soname=conftest
13240
 
          lib=conftest
13241
 
          libobjs=conftest.$ac_objext
13242
 
          deplibs=
13243
 
          wl=$lt_prog_compiler_wl_F77
13244
 
          pic_flag=$lt_prog_compiler_pic_F77
13245
 
          compiler_flags=-v
13246
 
          linker_flags=-v
13247
 
          verstring=
13248
 
          output_objdir=.
13249
 
          libname=conftest
13250
 
          lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13251
 
          allow_undefined_flag_F77=
13252
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13253
 
  (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13254
 
  ac_status=$?
13255
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13256
 
  test $ac_status = 0; }
13257
 
          then
13258
 
            lt_cv_archive_cmds_need_lc_F77=no
13259
 
          else
13260
 
            lt_cv_archive_cmds_need_lc_F77=yes
13261
 
          fi
13262
 
          allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13263
 
        else
13264
 
          cat conftest.err 1>&5
13265
 
        fi
13266
 
        $RM conftest*
13267
 
        
13268
 
fi
13269
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
13270
 
$as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
13271
 
      archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
13272
 
      ;;
13273
 
    esac
13274
 
  fi
13275
 
  ;;
13276
 
esac
13277
 
 
13278
 
 
13279
 
 
13280
 
 
13281
 
 
13282
 
 
13283
 
 
13284
 
 
13285
 
 
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
 
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
 
13297
 
 
13298
 
 
13299
 
 
13300
 
 
13301
 
 
13302
 
 
13303
 
 
13304
 
 
13305
 
 
13306
 
 
13307
 
 
13308
 
 
13309
 
 
13310
 
 
13311
 
 
13312
 
 
13313
 
 
13314
 
 
13315
 
 
13316
 
 
13317
 
 
13318
 
 
13319
 
 
13320
 
 
13321
 
 
13322
 
 
13323
 
 
13324
 
 
13325
 
 
13326
 
 
13327
 
 
13328
 
 
13329
 
 
13330
 
 
13331
 
 
13332
 
 
13333
 
 
13334
 
 
13335
 
 
13336
 
 
13337
 
 
13338
 
 
13339
 
 
13340
 
 
13341
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13342
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13343
 
 
13344
 
library_names_spec=
13345
 
libname_spec='lib$name'
13346
 
soname_spec=
13347
 
shrext_cmds=".so"
13348
 
postinstall_cmds=
13349
 
postuninstall_cmds=
13350
 
finish_cmds=
13351
 
finish_eval=
13352
 
shlibpath_var=
13353
 
shlibpath_overrides_runpath=unknown
13354
 
version_type=none
13355
 
dynamic_linker="$host_os ld.so"
13356
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13357
 
need_lib_prefix=unknown
13358
 
hardcode_into_libs=no
13359
 
 
13360
 
# when you set need_version to no, make sure it does not cause -set_version
13361
 
# flags to be left without arguments
13362
 
need_version=unknown
13363
 
 
13364
 
case $host_os in
13365
 
aix3*)
13366
 
  version_type=linux
13367
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13368
 
  shlibpath_var=LIBPATH
13369
 
 
13370
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13371
 
  soname_spec='${libname}${release}${shared_ext}$major'
13372
 
  ;;
13373
 
 
13374
 
aix[4-9]*)
13375
 
  version_type=linux
13376
 
  need_lib_prefix=no
13377
 
  need_version=no
13378
 
  hardcode_into_libs=yes
13379
 
  if test "$host_cpu" = ia64; then
13380
 
    # AIX 5 supports IA64
13381
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13382
 
    shlibpath_var=LD_LIBRARY_PATH
13383
 
  else
13384
 
    # With GCC up to 2.95.x, collect2 would create an import file
13385
 
    # for dependence libraries.  The import file would start with
13386
 
    # the line `#! .'.  This would cause the generated library to
13387
 
    # depend on `.', always an invalid library.  This was fixed in
13388
 
    # development snapshots of GCC prior to 3.0.
13389
 
    case $host_os in
13390
 
      aix4 | aix4.[01] | aix4.[01].*)
13391
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13392
 
           echo ' yes '
13393
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13394
 
        :
13395
 
      else
13396
 
        can_build_shared=no
13397
 
      fi
13398
 
      ;;
13399
 
    esac
13400
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13401
 
    # soname into executable. Probably we can add versioning support to
13402
 
    # collect2, so additional links can be useful in future.
13403
 
    if test "$aix_use_runtimelinking" = yes; then
13404
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13405
 
      # instead of lib<name>.a to let people know that these are not
13406
 
      # typical AIX shared libraries.
13407
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13408
 
    else
13409
 
      # We preserve .a as extension for shared libraries through AIX4.2
13410
 
      # and later when we are not doing run time linking.
13411
 
      library_names_spec='${libname}${release}.a $libname.a'
13412
 
      soname_spec='${libname}${release}${shared_ext}$major'
13413
 
    fi
13414
 
    shlibpath_var=LIBPATH
13415
 
  fi
13416
 
  ;;
13417
 
 
13418
 
amigaos*)
13419
 
  case $host_cpu in
13420
 
  powerpc)
13421
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
13422
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13423
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13424
 
    ;;
13425
 
  m68k)
13426
 
    library_names_spec='$libname.ixlibrary $libname.a'
13427
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13428
 
    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'
13429
 
    ;;
13430
 
  esac
13431
 
  ;;
13432
 
 
13433
 
beos*)
13434
 
  library_names_spec='${libname}${shared_ext}'
13435
 
  dynamic_linker="$host_os ld.so"
13436
 
  shlibpath_var=LIBRARY_PATH
13437
 
  ;;
13438
 
 
13439
 
bsdi[45]*)
13440
 
  version_type=linux
13441
 
  need_version=no
13442
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13443
 
  soname_spec='${libname}${release}${shared_ext}$major'
13444
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13445
 
  shlibpath_var=LD_LIBRARY_PATH
13446
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13447
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13448
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13449
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13450
 
  # libtool to hard-code these into programs
13451
 
  ;;
13452
 
 
13453
 
cygwin* | mingw* | pw32* | cegcc*)
13454
 
  version_type=windows
13455
 
  shrext_cmds=".dll"
13456
 
  need_version=no
13457
 
  need_lib_prefix=no
13458
 
 
13459
 
  case $GCC,$cc_basename in
13460
 
  yes,*)
13461
 
    # gcc
13462
 
    library_names_spec='$libname.dll.a'
13463
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13464
 
    postinstall_cmds='base_file=`basename \${file}`~
13465
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13466
 
      dldir=$destdir/`dirname \$dlpath`~
13467
 
      test -d \$dldir || mkdir -p \$dldir~
13468
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13469
 
      chmod a+x \$dldir/$dlname~
13470
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13471
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13472
 
      fi'
13473
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13474
 
      dlpath=$dir/\$dldll~
13475
 
       $RM \$dlpath'
13476
 
    shlibpath_overrides_runpath=yes
13477
 
 
13478
 
    case $host_os in
13479
 
    cygwin*)
13480
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13481
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13482
 
 
13483
 
      ;;
13484
 
    mingw* | cegcc*)
13485
 
      # MinGW DLLs use traditional 'lib' prefix
13486
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13487
 
      ;;
13488
 
    pw32*)
13489
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13490
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13491
 
      ;;
13492
 
    esac
13493
 
    dynamic_linker='Win32 ld.exe'
13494
 
    ;;
13495
 
 
13496
 
  *,cl*)
13497
 
    # Native MSVC
13498
 
    libname_spec='$name'
13499
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13500
 
    library_names_spec='${libname}.dll.lib'
13501
 
 
13502
 
    case $build_os in
13503
 
    mingw*)
13504
 
      sys_lib_search_path_spec=
13505
 
      lt_save_ifs=$IFS
13506
 
      IFS=';'
13507
 
      for lt_path in $LIB
13508
 
      do
13509
 
        IFS=$lt_save_ifs
13510
 
        # Let DOS variable expansion print the short 8.3 style file name.
13511
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13512
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13513
 
      done
13514
 
      IFS=$lt_save_ifs
13515
 
      # Convert to MSYS style.
13516
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13517
 
      ;;
13518
 
    cygwin*)
13519
 
      # Convert to unix form, then to dos form, then back to unix form
13520
 
      # but this time dos style (no spaces!) so that the unix form looks
13521
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
13522
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13523
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13524
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13525
 
      ;;
13526
 
    *)
13527
 
      sys_lib_search_path_spec="$LIB"
13528
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13529
 
        # It is most probably a Windows format PATH.
13530
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13531
 
      else
13532
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13533
 
      fi
13534
 
      # FIXME: find the short name or the path components, as spaces are
13535
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
13536
 
      ;;
13537
 
    esac
13538
 
 
13539
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13540
 
    postinstall_cmds='base_file=`basename \${file}`~
13541
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13542
 
      dldir=$destdir/`dirname \$dlpath`~
13543
 
      test -d \$dldir || mkdir -p \$dldir~
13544
 
      $install_prog $dir/$dlname \$dldir/$dlname'
13545
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13546
 
      dlpath=$dir/\$dldll~
13547
 
       $RM \$dlpath'
13548
 
    shlibpath_overrides_runpath=yes
13549
 
    dynamic_linker='Win32 link.exe'
13550
 
    ;;
13551
 
 
13552
 
  *)
13553
 
    # Assume MSVC wrapper
13554
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13555
 
    dynamic_linker='Win32 ld.exe'
13556
 
    ;;
13557
 
  esac
13558
 
  # FIXME: first we should search . and the directory the executable is in
13559
 
  shlibpath_var=PATH
13560
 
  ;;
13561
 
 
13562
 
darwin* | rhapsody*)
13563
 
  dynamic_linker="$host_os dyld"
13564
 
  version_type=darwin
13565
 
  need_lib_prefix=no
13566
 
  need_version=no
13567
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13568
 
  soname_spec='${libname}${release}${major}$shared_ext'
13569
 
  shlibpath_overrides_runpath=yes
13570
 
  shlibpath_var=DYLD_LIBRARY_PATH
13571
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13572
 
 
13573
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13574
 
  ;;
13575
 
 
13576
 
dgux*)
13577
 
  version_type=linux
13578
 
  need_lib_prefix=no
13579
 
  need_version=no
13580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13581
 
  soname_spec='${libname}${release}${shared_ext}$major'
13582
 
  shlibpath_var=LD_LIBRARY_PATH
13583
 
  ;;
13584
 
 
13585
 
freebsd1*)
13586
 
  dynamic_linker=no
13587
 
  ;;
13588
 
 
13589
 
freebsd* | dragonfly*)
13590
 
  # DragonFly does not have aout.  When/if they implement a new
13591
 
  # versioning mechanism, adjust this.
13592
 
  if test -x /usr/bin/objformat; then
13593
 
    objformat=`/usr/bin/objformat`
13594
 
  else
13595
 
    case $host_os in
13596
 
    freebsd[123]*) objformat=aout ;;
13597
 
    *) objformat=elf ;;
13598
 
    esac
13599
 
  fi
13600
 
  version_type=freebsd-$objformat
13601
 
  case $version_type in
13602
 
    freebsd-elf*)
13603
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13604
 
      need_version=no
13605
 
      need_lib_prefix=no
13606
 
      ;;
13607
 
    freebsd-*)
13608
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13609
 
      need_version=yes
13610
 
      ;;
13611
 
  esac
13612
 
  shlibpath_var=LD_LIBRARY_PATH
13613
 
  case $host_os in
13614
 
  freebsd2*)
13615
 
    shlibpath_overrides_runpath=yes
13616
 
    ;;
13617
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13618
 
    shlibpath_overrides_runpath=yes
13619
 
    hardcode_into_libs=yes
13620
 
    ;;
13621
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13622
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13623
 
    shlibpath_overrides_runpath=no
13624
 
    hardcode_into_libs=yes
13625
 
    ;;
13626
 
  *) # from 4.6 on, and DragonFly
13627
 
    shlibpath_overrides_runpath=yes
13628
 
    hardcode_into_libs=yes
13629
 
    ;;
13630
 
  esac
13631
 
  ;;
13632
 
 
13633
 
gnu*)
13634
 
  version_type=linux
13635
 
  need_lib_prefix=no
13636
 
  need_version=no
13637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13638
 
  soname_spec='${libname}${release}${shared_ext}$major'
13639
 
  shlibpath_var=LD_LIBRARY_PATH
13640
 
  shlibpath_overrides_runpath=no
13641
 
  hardcode_into_libs=yes
13642
 
  ;;
13643
 
 
13644
 
haiku*)
13645
 
  version_type=linux
13646
 
  need_lib_prefix=no
13647
 
  need_version=no
13648
 
  dynamic_linker="$host_os runtime_loader"
13649
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13650
 
  soname_spec='${libname}${release}${shared_ext}$major'
13651
 
  shlibpath_var=LIBRARY_PATH
13652
 
  shlibpath_overrides_runpath=yes
13653
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13654
 
  hardcode_into_libs=yes
13655
 
  ;;
13656
 
 
13657
 
hpux9* | hpux10* | hpux11*)
13658
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13659
 
  # link against other versions.
13660
 
  version_type=sunos
13661
 
  need_lib_prefix=no
13662
 
  need_version=no
13663
 
  case $host_cpu in
13664
 
  ia64*)
13665
 
    shrext_cmds='.so'
13666
 
    hardcode_into_libs=yes
13667
 
    dynamic_linker="$host_os dld.so"
13668
 
    shlibpath_var=LD_LIBRARY_PATH
13669
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13670
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13671
 
    soname_spec='${libname}${release}${shared_ext}$major'
13672
 
    if test "X$HPUX_IA64_MODE" = X32; then
13673
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13674
 
    else
13675
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13676
 
    fi
13677
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13678
 
    ;;
13679
 
  hppa*64*)
13680
 
    shrext_cmds='.sl'
13681
 
    hardcode_into_libs=yes
13682
 
    dynamic_linker="$host_os dld.sl"
13683
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13684
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13685
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13686
 
    soname_spec='${libname}${release}${shared_ext}$major'
13687
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13688
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13689
 
    ;;
13690
 
  *)
13691
 
    shrext_cmds='.sl'
13692
 
    dynamic_linker="$host_os dld.sl"
13693
 
    shlibpath_var=SHLIB_PATH
13694
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13695
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13696
 
    soname_spec='${libname}${release}${shared_ext}$major'
13697
 
    ;;
13698
 
  esac
13699
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13700
 
  postinstall_cmds='chmod 555 $lib'
13701
 
  # or fails outright, so override atomically:
13702
 
  install_override_mode=555
13703
 
  ;;
13704
 
 
13705
 
interix[3-9]*)
13706
 
  version_type=linux
13707
 
  need_lib_prefix=no
13708
 
  need_version=no
13709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13710
 
  soname_spec='${libname}${release}${shared_ext}$major'
13711
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13712
 
  shlibpath_var=LD_LIBRARY_PATH
13713
 
  shlibpath_overrides_runpath=no
13714
 
  hardcode_into_libs=yes
13715
 
  ;;
13716
 
 
13717
 
irix5* | irix6* | nonstopux*)
13718
 
  case $host_os in
13719
 
    nonstopux*) version_type=nonstopux ;;
13720
 
    *)
13721
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13722
 
                version_type=linux
13723
 
        else
13724
 
                version_type=irix
13725
 
        fi ;;
13726
 
  esac
13727
 
  need_lib_prefix=no
13728
 
  need_version=no
13729
 
  soname_spec='${libname}${release}${shared_ext}$major'
13730
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13731
 
  case $host_os in
13732
 
  irix5* | nonstopux*)
13733
 
    libsuff= shlibsuff=
13734
 
    ;;
13735
 
  *)
13736
 
    case $LD in # libtool.m4 will add one of these switches to LD
13737
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13738
 
      libsuff= shlibsuff= libmagic=32-bit;;
13739
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13740
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13741
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13742
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13743
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13744
 
    esac
13745
 
    ;;
13746
 
  esac
13747
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13748
 
  shlibpath_overrides_runpath=no
13749
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13750
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13751
 
  hardcode_into_libs=yes
13752
 
  ;;
13753
 
 
13754
 
# No shared lib support for Linux oldld, aout, or coff.
13755
 
linux*oldld* | linux*aout* | linux*coff*)
13756
 
  dynamic_linker=no
13757
 
  ;;
13758
 
 
13759
 
# This must be Linux ELF.
13760
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13761
 
  version_type=linux
13762
 
  need_lib_prefix=no
13763
 
  need_version=no
13764
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13765
 
  soname_spec='${libname}${release}${shared_ext}$major'
13766
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13767
 
  shlibpath_var=LD_LIBRARY_PATH
13768
 
  shlibpath_overrides_runpath=no
13769
 
 
13770
 
  # Some binutils ld are patched to set DT_RUNPATH
13771
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13772
 
  $as_echo_n "(cached) " >&6
13773
 
else
13774
 
  lt_cv_shlibpath_overrides_runpath=no
13775
 
    save_LDFLAGS=$LDFLAGS
13776
 
    save_libdir=$libdir
13777
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
13778
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
13779
 
    cat > conftest.$ac_ext <<_ACEOF
13780
 
      program main
13781
 
 
13782
 
      end
13783
 
_ACEOF
13784
 
if ac_fn_f77_try_link "$LINENO"; then :
13785
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13786
 
  lt_cv_shlibpath_overrides_runpath=yes
13787
 
fi
13788
 
fi
13789
 
rm -f core conftest.err conftest.$ac_objext \
13790
 
    conftest$ac_exeext conftest.$ac_ext
13791
 
    LDFLAGS=$save_LDFLAGS
13792
 
    libdir=$save_libdir
13793
 
    
13794
 
fi
13795
 
 
13796
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13797
 
 
13798
 
  # This implies no fast_install, which is unacceptable.
13799
 
  # Some rework will be needed to allow for fast_install
13800
 
  # before this can be enabled.
13801
 
  hardcode_into_libs=yes
13802
 
 
13803
 
  # Append ld.so.conf contents to the search path
13804
 
  if test -f /etc/ld.so.conf; then
13805
 
    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' ' '`
13806
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13807
 
  fi
13808
 
 
13809
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13810
 
  # powerpc, because MkLinux only supported shared libraries with the
13811
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13812
 
  # most powerpc-linux boxes support dynamic linking these days and
13813
 
  # people can always --disable-shared, the test was removed, and we
13814
 
  # assume the GNU/Linux dynamic linker is in use.
13815
 
  dynamic_linker='GNU/Linux ld.so'
13816
 
  ;;
13817
 
 
13818
 
netbsdelf*-gnu)
13819
 
  version_type=linux
13820
 
  need_lib_prefix=no
13821
 
  need_version=no
13822
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13823
 
  soname_spec='${libname}${release}${shared_ext}$major'
13824
 
  shlibpath_var=LD_LIBRARY_PATH
13825
 
  shlibpath_overrides_runpath=no
13826
 
  hardcode_into_libs=yes
13827
 
  dynamic_linker='NetBSD ld.elf_so'
13828
 
  ;;
13829
 
 
13830
 
netbsd*)
13831
 
  version_type=sunos
13832
 
  need_lib_prefix=no
13833
 
  need_version=no
13834
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13835
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13836
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13837
 
    dynamic_linker='NetBSD (a.out) ld.so'
13838
 
  else
13839
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13840
 
    soname_spec='${libname}${release}${shared_ext}$major'
13841
 
    dynamic_linker='NetBSD ld.elf_so'
13842
 
  fi
13843
 
  shlibpath_var=LD_LIBRARY_PATH
13844
 
  shlibpath_overrides_runpath=yes
13845
 
  hardcode_into_libs=yes
13846
 
  ;;
13847
 
 
13848
 
newsos6)
13849
 
  version_type=linux
13850
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13851
 
  shlibpath_var=LD_LIBRARY_PATH
13852
 
  shlibpath_overrides_runpath=yes
13853
 
  ;;
13854
 
 
13855
 
*nto* | *qnx*)
13856
 
  version_type=qnx
13857
 
  need_lib_prefix=no
13858
 
  need_version=no
13859
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13860
 
  soname_spec='${libname}${release}${shared_ext}$major'
13861
 
  shlibpath_var=LD_LIBRARY_PATH
13862
 
  shlibpath_overrides_runpath=no
13863
 
  hardcode_into_libs=yes
13864
 
  dynamic_linker='ldqnx.so'
13865
 
  ;;
13866
 
 
13867
 
openbsd*)
13868
 
  version_type=sunos
13869
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13870
 
  need_lib_prefix=no
13871
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13872
 
  case $host_os in
13873
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13874
 
    *)                          need_version=no  ;;
13875
 
  esac
13876
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13877
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13878
 
  shlibpath_var=LD_LIBRARY_PATH
13879
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13880
 
    case $host_os in
13881
 
      openbsd2.[89] | openbsd2.[89].*)
13882
 
        shlibpath_overrides_runpath=no
13883
 
        ;;
13884
 
      *)
13885
 
        shlibpath_overrides_runpath=yes
13886
 
        ;;
13887
 
      esac
13888
 
  else
13889
 
    shlibpath_overrides_runpath=yes
13890
 
  fi
13891
 
  ;;
13892
 
 
13893
 
os2*)
13894
 
  libname_spec='$name'
13895
 
  shrext_cmds=".dll"
13896
 
  need_lib_prefix=no
13897
 
  library_names_spec='$libname${shared_ext} $libname.a'
13898
 
  dynamic_linker='OS/2 ld.exe'
13899
 
  shlibpath_var=LIBPATH
13900
 
  ;;
13901
 
 
13902
 
osf3* | osf4* | osf5*)
13903
 
  version_type=osf
13904
 
  need_lib_prefix=no
13905
 
  need_version=no
13906
 
  soname_spec='${libname}${release}${shared_ext}$major'
13907
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13908
 
  shlibpath_var=LD_LIBRARY_PATH
13909
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13910
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13911
 
  ;;
13912
 
 
13913
 
rdos*)
13914
 
  dynamic_linker=no
13915
 
  ;;
13916
 
 
13917
 
solaris*)
13918
 
  version_type=linux
13919
 
  need_lib_prefix=no
13920
 
  need_version=no
13921
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13922
 
  soname_spec='${libname}${release}${shared_ext}$major'
13923
 
  shlibpath_var=LD_LIBRARY_PATH
13924
 
  shlibpath_overrides_runpath=yes
13925
 
  hardcode_into_libs=yes
13926
 
  # ldd complains unless libraries are executable
13927
 
  postinstall_cmds='chmod +x $lib'
13928
 
  ;;
13929
 
 
13930
 
sunos4*)
13931
 
  version_type=sunos
13932
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13933
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13934
 
  shlibpath_var=LD_LIBRARY_PATH
13935
 
  shlibpath_overrides_runpath=yes
13936
 
  if test "$with_gnu_ld" = yes; then
13937
 
    need_lib_prefix=no
13938
 
  fi
13939
 
  need_version=yes
13940
 
  ;;
13941
 
 
13942
 
sysv4 | sysv4.3*)
13943
 
  version_type=linux
13944
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13945
 
  soname_spec='${libname}${release}${shared_ext}$major'
13946
 
  shlibpath_var=LD_LIBRARY_PATH
13947
 
  case $host_vendor in
13948
 
    sni)
13949
 
      shlibpath_overrides_runpath=no
13950
 
      need_lib_prefix=no
13951
 
      runpath_var=LD_RUN_PATH
13952
 
      ;;
13953
 
    siemens)
13954
 
      need_lib_prefix=no
13955
 
      ;;
13956
 
    motorola)
13957
 
      need_lib_prefix=no
13958
 
      need_version=no
13959
 
      shlibpath_overrides_runpath=no
13960
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13961
 
      ;;
13962
 
  esac
13963
 
  ;;
13964
 
 
13965
 
sysv4*MP*)
13966
 
  if test -d /usr/nec ;then
13967
 
    version_type=linux
13968
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13969
 
    soname_spec='$libname${shared_ext}.$major'
13970
 
    shlibpath_var=LD_LIBRARY_PATH
13971
 
  fi
13972
 
  ;;
13973
 
 
13974
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13975
 
  version_type=freebsd-elf
13976
 
  need_lib_prefix=no
13977
 
  need_version=no
13978
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13979
 
  soname_spec='${libname}${release}${shared_ext}$major'
13980
 
  shlibpath_var=LD_LIBRARY_PATH
13981
 
  shlibpath_overrides_runpath=yes
13982
 
  hardcode_into_libs=yes
13983
 
  if test "$with_gnu_ld" = yes; then
13984
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13985
 
  else
13986
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13987
 
    case $host_os in
13988
 
      sco3.2v5*)
13989
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13990
 
        ;;
13991
 
    esac
13992
 
  fi
13993
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13994
 
  ;;
13995
 
 
13996
 
tpf*)
13997
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13998
 
  version_type=linux
13999
 
  need_lib_prefix=no
14000
 
  need_version=no
14001
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14002
 
  shlibpath_var=LD_LIBRARY_PATH
14003
 
  shlibpath_overrides_runpath=no
14004
 
  hardcode_into_libs=yes
14005
 
  ;;
14006
 
 
14007
 
uts4*)
14008
 
  version_type=linux
14009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14010
 
  soname_spec='${libname}${release}${shared_ext}$major'
14011
 
  shlibpath_var=LD_LIBRARY_PATH
14012
 
  ;;
14013
 
 
14014
 
*)
14015
 
  dynamic_linker=no
14016
 
  ;;
14017
 
esac
14018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14019
 
$as_echo "$dynamic_linker" >&6; }
14020
 
test "$dynamic_linker" = no && can_build_shared=no
14021
 
 
14022
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14023
 
if test "$GCC" = yes; then
14024
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14025
 
fi
14026
 
 
14027
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14028
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14029
 
fi
14030
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14031
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14032
 
fi
14033
 
 
14034
 
 
14035
 
 
14036
 
 
14037
 
 
14038
 
 
14039
 
 
14040
 
 
14041
 
 
14042
 
 
14043
 
 
14044
 
 
14045
 
 
14046
 
 
14047
 
 
14048
 
 
14049
 
 
14050
 
 
14051
 
 
14052
 
 
14053
 
 
14054
 
 
14055
 
 
14056
 
 
14057
 
 
14058
 
 
14059
 
 
14060
 
 
14061
 
 
14062
 
 
14063
 
 
14064
 
 
14065
 
 
14066
 
 
14067
 
 
14068
 
 
14069
 
 
14070
 
 
14071
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14072
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14073
 
hardcode_action_F77=
14074
 
if test -n "$hardcode_libdir_flag_spec_F77" ||
14075
 
   test -n "$runpath_var_F77" ||
14076
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
14077
 
 
14078
 
  # We can hardcode non-existent directories.
14079
 
  if test "$hardcode_direct_F77" != no &&
14080
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14081
 
     # have to relink, otherwise we might link with an installed library
14082
 
     # when we should be linking with a yet-to-be-installed one
14083
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14084
 
     test "$hardcode_minus_L_F77" != no; then
14085
 
    # Linking always hardcodes the temporary library directory.
14086
 
    hardcode_action_F77=relink
14087
 
  else
14088
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14089
 
    hardcode_action_F77=immediate
14090
 
  fi
14091
 
else
14092
 
  # We cannot hardcode anything, or else we can only hardcode existing
14093
 
  # directories.
14094
 
  hardcode_action_F77=unsupported
14095
 
fi
14096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
14097
 
$as_echo "$hardcode_action_F77" >&6; }
14098
 
 
14099
 
if test "$hardcode_action_F77" = relink ||
14100
 
   test "$inherit_rpath_F77" = yes; then
14101
 
  # Fast installation is not supported
14102
 
  enable_fast_install=no
14103
 
elif test "$shlibpath_overrides_runpath" = yes ||
14104
 
     test "$enable_shared" = no; then
14105
 
  # Fast installation is not necessary
14106
 
  enable_fast_install=needless
14107
 
fi
14108
 
 
14109
 
 
14110
 
 
14111
 
 
14112
 
    
14113
 
 
14114
 
 
14115
 
  fi # test -n "$compiler"
14116
 
 
14117
 
  GCC=$lt_save_GCC
14118
 
  CC="$lt_save_CC"
14119
 
  CFLAGS="$lt_save_CFLAGS"
14120
 
fi # test "$_lt_disable_F77" != yes
14121
 
 
14122
 
ac_ext=c
14123
 
ac_cpp='$CPP $CPPFLAGS'
14124
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14125
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14126
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14127
 
 
14128
 
 
14129
 
 
14130
 
 
14131
 
 
14132
 
 
14133
 
       
14134
 
       
14135
 
 
14136
 
 
14137
 
 
14138
 
        ac_config_commands="$ac_config_commands libtool"
14139
 
 
14140
 
 
14141
 
 
14142
 
 
14143
 
# Only expand once:
14144
 
 
14145
 
 
14146
 
 
14147
 
 
14148
 
ac_ext=f
14149
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14150
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14151
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14152
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
14153
 
$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
14154
 
if ${ac_cv_prog_f77_v+:} false; then :
14155
 
  $as_echo_n "(cached) " >&6
14156
 
else
14157
 
  cat > conftest.$ac_ext <<_ACEOF
14158
 
      program main
14159
 
 
14160
 
      end
14161
 
_ACEOF
14162
 
if ac_fn_f77_try_compile "$LINENO"; then :
14163
 
  ac_cv_prog_f77_v=
14164
 
# Try some options frequently used verbose output
14165
 
for ac_verb in -v -verbose --verbose -V -\#\#\#; do
14166
 
  cat > conftest.$ac_ext <<_ACEOF
14167
 
      program main
14168
 
 
14169
 
      end
14170
 
_ACEOF
14171
 
 
14172
 
# Compile and link our simple test program by passing a flag (argument
14173
 
# 1 to this macro) to the Fortran compiler in order to get
14174
 
# "verbose" output that we can then parse for the Fortran linker
14175
 
# flags.
14176
 
ac_save_FFLAGS=$FFLAGS
14177
 
FFLAGS="$FFLAGS $ac_verb"
14178
 
eval "set x $ac_link"
14179
 
shift
14180
 
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
14181
 
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
14182
 
# LIBRARY_PATH; skip all such settings.
14183
 
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
14184
 
  sed '/^Driving:/d; /^Configured with:/d;
14185
 
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
14186
 
$as_echo "$ac_f77_v_output" >&5
14187
 
FFLAGS=$ac_save_FFLAGS
14188
 
 
14189
 
rm -rf conftest*
14190
 
 
14191
 
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
14192
 
# /foo, /bar, and /baz are search directories for the Fortran linker.
14193
 
# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
14194
 
ac_f77_v_output="`echo $ac_f77_v_output |
14195
 
        grep 'LPATH is:' |
14196
 
        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
14197
 
 
14198
 
# FIXME: we keep getting bitten by quoted arguments; a more general fix
14199
 
#        that detects unbalanced quotes in FLIBS should be implemented
14200
 
#        and (ugh) tested at some point.
14201
 
case $ac_f77_v_output in
14202
 
  # If we are using xlf then replace all the commas with spaces.
14203
 
  *xlfentry*)
14204
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
14205
 
 
14206
 
  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
14207
 
  # $LIBS confuse us, and the libraries appear later in the output anyway).
14208
 
  *mGLOB_options_string*)
14209
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
14210
 
 
14211
 
  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
14212
 
  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
14213
 
  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
14214
 
  *-cmdline\ * | *-ignore\ * | *-def\ *)
14215
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed "\
14216
 
        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
14217
 
        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
14218
 
        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
14219
 
 
14220
 
  # If we are using Cray Fortran then delete quotes.
14221
 
  *cft90*)
14222
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
14223
 
esac
14224
 
 
14225
 
 
14226
 
  # look for -l* and *.a constructs in the output
14227
 
  for ac_arg in $ac_f77_v_output; do
14228
 
     case $ac_arg in
14229
 
        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
14230
 
          ac_cv_prog_f77_v=$ac_verb
14231
 
          break 2 ;;
14232
 
     esac
14233
 
  done
14234
 
done
14235
 
if test -z "$ac_cv_prog_f77_v"; then
14236
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5
14237
 
$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
14238
 
fi
14239
 
else
14240
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
14241
 
$as_echo "$as_me: WARNING: compilation failed" >&2;}
14242
 
fi
14243
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14244
 
 
14245
 
fi
14246
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5
14247
 
$as_echo "$ac_cv_prog_f77_v" >&6; }
14248
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
14249
 
$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
14250
 
if ${ac_cv_f77_libs+:} false; then :
14251
 
  $as_echo_n "(cached) " >&6
14252
 
else
14253
 
  if test "x$FLIBS" != "x"; then
14254
 
  ac_cv_f77_libs="$FLIBS" # Let the user override the test.
14255
 
else
14256
 
 
14257
 
cat > conftest.$ac_ext <<_ACEOF
14258
 
      program main
14259
 
 
14260
 
      end
14261
 
_ACEOF
14262
 
 
14263
 
# Compile and link our simple test program by passing a flag (argument
14264
 
# 1 to this macro) to the Fortran compiler in order to get
14265
 
# "verbose" output that we can then parse for the Fortran linker
14266
 
# flags.
14267
 
ac_save_FFLAGS=$FFLAGS
14268
 
FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
14269
 
eval "set x $ac_link"
14270
 
shift
14271
 
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
14272
 
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
14273
 
# LIBRARY_PATH; skip all such settings.
14274
 
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
14275
 
  sed '/^Driving:/d; /^Configured with:/d;
14276
 
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
14277
 
$as_echo "$ac_f77_v_output" >&5
14278
 
FFLAGS=$ac_save_FFLAGS
14279
 
 
14280
 
rm -rf conftest*
14281
 
 
14282
 
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
14283
 
# /foo, /bar, and /baz are search directories for the Fortran linker.
14284
 
# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
14285
 
ac_f77_v_output="`echo $ac_f77_v_output |
14286
 
        grep 'LPATH is:' |
14287
 
        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
14288
 
 
14289
 
# FIXME: we keep getting bitten by quoted arguments; a more general fix
14290
 
#        that detects unbalanced quotes in FLIBS should be implemented
14291
 
#        and (ugh) tested at some point.
14292
 
case $ac_f77_v_output in
14293
 
  # If we are using xlf then replace all the commas with spaces.
14294
 
  *xlfentry*)
14295
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
14296
 
 
14297
 
  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
14298
 
  # $LIBS confuse us, and the libraries appear later in the output anyway).
14299
 
  *mGLOB_options_string*)
14300
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
14301
 
 
14302
 
  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
14303
 
  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
14304
 
  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
14305
 
  *-cmdline\ * | *-ignore\ * | *-def\ *)
14306
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed "\
14307
 
        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
14308
 
        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
14309
 
        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
14310
 
 
14311
 
  # If we are using Cray Fortran then delete quotes.
14312
 
  *cft90*)
14313
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
14314
 
esac
14315
 
 
14316
 
 
14317
 
 
14318
 
ac_cv_f77_libs=
14319
 
 
14320
 
# Save positional arguments (if any)
14321
 
ac_save_positional="$@"
14322
 
 
14323
 
set X $ac_f77_v_output
14324
 
while test $@%:@ != 1; do
14325
 
  shift
14326
 
  ac_arg=$1
14327
 
  case $ac_arg in
14328
 
        [\\/]*.a | ?:[\\/]*.a)
14329
 
            ac_exists=false
14330
 
  for ac_i in $ac_cv_f77_libs; do
14331
 
    if test x"$ac_arg" = x"$ac_i"; then
14332
 
      ac_exists=true
14333
 
      break
14334
 
    fi
14335
 
  done
14336
 
 
14337
 
  if test x"$ac_exists" = xtrue; then :
14338
 
  
14339
 
else
14340
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14341
 
fi
14342
 
          ;;
14343
 
        -bI:*)
14344
 
            ac_exists=false
14345
 
  for ac_i in $ac_cv_f77_libs; do
14346
 
    if test x"$ac_arg" = x"$ac_i"; then
14347
 
      ac_exists=true
14348
 
      break
14349
 
    fi
14350
 
  done
14351
 
 
14352
 
  if test x"$ac_exists" = xtrue; then :
14353
 
  
14354
 
else
14355
 
  if test "$ac_compiler_gnu" = yes; then
14356
 
  for ac_link_opt in $ac_arg; do
14357
 
    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
14358
 
  done
14359
 
else
14360
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14361
 
fi
14362
 
fi
14363
 
          ;;
14364
 
          # Ignore these flags.
14365
 
        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
14366
 
          |-LANG:=* | -LIST:* | -LNO:* | -link)
14367
 
          ;;
14368
 
        -lkernel32)
14369
 
          test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14370
 
          ;;
14371
 
        -[LRuYz])
14372
 
          # These flags, when seen by themselves, take an argument.
14373
 
          # We remove the space between option and argument and re-iterate
14374
 
          # unless we find an empty arg or a new option (starting with -)
14375
 
          case $2 in
14376
 
             "" | -*);;
14377
 
             *)
14378
 
                ac_arg="$ac_arg$2"
14379
 
                shift; shift
14380
 
                set X $ac_arg "$@"
14381
 
                ;;
14382
 
          esac
14383
 
          ;;
14384
 
        -YP,*)
14385
 
          for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
14386
 
              ac_exists=false
14387
 
  for ac_i in $ac_cv_f77_libs; do
14388
 
    if test x"$ac_j" = x"$ac_i"; then
14389
 
      ac_exists=true
14390
 
      break
14391
 
    fi
14392
 
  done
14393
 
 
14394
 
  if test x"$ac_exists" = xtrue; then :
14395
 
  
14396
 
else
14397
 
  ac_arg="$ac_arg $ac_j"
14398
 
                               ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
14399
 
fi
14400
 
          done
14401
 
          ;;
14402
 
        -[lLR]*)
14403
 
            ac_exists=false
14404
 
  for ac_i in $ac_cv_f77_libs; do
14405
 
    if test x"$ac_arg" = x"$ac_i"; then
14406
 
      ac_exists=true
14407
 
      break
14408
 
    fi
14409
 
  done
14410
 
 
14411
 
  if test x"$ac_exists" = xtrue; then :
14412
 
  
14413
 
else
14414
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14415
 
fi
14416
 
          ;;
14417
 
        -zallextract*| -zdefaultextract)
14418
 
          ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14419
 
          ;;
14420
 
          # Ignore everything else.
14421
 
  esac
14422
 
done
14423
 
# restore positional arguments
14424
 
set X $ac_save_positional; shift
14425
 
 
14426
 
# We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
14427
 
# then we insist that the "run path" must be an absolute path (i.e. it
14428
 
# must begin with a "/").
14429
 
case `(uname -sr) 2>/dev/null` in
14430
 
   "SunOS 5"*)
14431
 
      ac_ld_run_path=`$as_echo "$ac_f77_v_output" |
14432
 
                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
14433
 
      test "x$ac_ld_run_path" != x &&
14434
 
        if test "$ac_compiler_gnu" = yes; then
14435
 
  for ac_link_opt in $ac_ld_run_path; do
14436
 
    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
14437
 
  done
14438
 
else
14439
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
14440
 
fi
14441
 
      ;;
14442
 
esac
14443
 
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
14444
 
 
14445
 
fi
14446
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5
14447
 
$as_echo "$ac_cv_f77_libs" >&6; }
14448
 
FLIBS="$ac_cv_f77_libs"
14449
 
 
14450
 
 
14451
 
ac_ext=c
14452
 
ac_cpp='$CPP $CPPFLAGS'
14453
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14454
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14455
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14456
 
 
14457
 
ac_ext=f
14458
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14459
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14460
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14461
 
 
14462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&5
14463
 
$as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }
14464
 
if ${ac_cv_f77_dummy_main+:} false; then :
14465
 
  $as_echo_n "(cached) " >&6
14466
 
else
14467
 
  ac_f77_dm_save_LIBS=$LIBS
14468
 
 LIBS="$LIBS $FLIBS"
14469
 
 ac_fortran_dm_var=F77_DUMMY_MAIN
14470
 
 ac_ext=c
14471
 
ac_cpp='$CPP $CPPFLAGS'
14472
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14473
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14474
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14475
 
 
14476
 
 # First, try linking without a dummy main:
14477
 
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478
 
/* end confdefs.h.  */
14479
 
 
14480
 
#ifdef F77_DUMMY_MAIN
14481
 
 
14482
 
#  ifdef __cplusplus
14483
 
     extern "C"
14484
 
#  endif
14485
 
   int F77_DUMMY_MAIN() { return 1; }
14486
 
 
14487
 
#endif
14488
 
int
14489
 
main ()
14490
 
{
14491
 
 
14492
 
  ;
14493
 
  return 0;
14494
 
}
14495
 
_ACEOF
14496
 
if ac_fn_c_try_link "$LINENO"; then :
14497
 
  ac_cv_fortran_dummy_main=none
14498
 
else
14499
 
  ac_cv_fortran_dummy_main=unknown
14500
 
fi
14501
 
rm -f core conftest.err conftest.$ac_objext \
14502
 
    conftest$ac_exeext conftest.$ac_ext
14503
 
 
14504
 
 if test $ac_cv_fortran_dummy_main = unknown; then
14505
 
   for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
14506
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14507
 
/* end confdefs.h.  */
14508
 
@%:@define $ac_fortran_dm_var $ac_func
14509
 
#ifdef F77_DUMMY_MAIN
14510
 
 
14511
 
#  ifdef __cplusplus
14512
 
     extern "C"
14513
 
#  endif
14514
 
   int F77_DUMMY_MAIN() { return 1; }
14515
 
 
14516
 
#endif
14517
 
int
14518
 
main ()
14519
 
{
14520
 
 
14521
 
  ;
14522
 
  return 0;
14523
 
}
14524
 
_ACEOF
14525
 
if ac_fn_c_try_link "$LINENO"; then :
14526
 
  ac_cv_fortran_dummy_main=$ac_func; break
14527
 
fi
14528
 
rm -f core conftest.err conftest.$ac_objext \
14529
 
    conftest$ac_exeext conftest.$ac_ext
14530
 
   done
14531
 
 fi
14532
 
 ac_ext=f
14533
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14534
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14535
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14536
 
 ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
14537
 
 rm -rf conftest*
14538
 
 LIBS=$ac_f77_dm_save_LIBS
14539
 
 
14540
 
fi
14541
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_dummy_main" >&5
14542
 
$as_echo "$ac_cv_f77_dummy_main" >&6; }
14543
 
F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
14544
 
if test "$F77_DUMMY_MAIN" != unknown; then :
14545
 
  if test $F77_DUMMY_MAIN != none; then
14546
 
  
14547
 
cat >>confdefs.h <<_ACEOF
14548
 
@%:@define F77_DUMMY_MAIN $F77_DUMMY_MAIN
14549
 
_ACEOF
14550
 
 
14551
 
  if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
14552
 
        
14553
 
$as_echo "@%:@define FC_DUMMY_MAIN_EQ_F77 1" >>confdefs.h
14554
 
 
14555
 
  fi
14556
 
fi
14557
 
else
14558
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14559
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14560
 
as_fn_error $? "linking to Fortran libraries from C fails
14561
 
See \`config.log' for more details" "$LINENO" 5; }
14562
 
fi
14563
 
 
14564
 
ac_ext=c
14565
 
ac_cpp='$CPP $CPPFLAGS'
14566
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14567
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14568
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14569
 
 
14570
 
ac_ext=f
14571
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14572
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14573
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14574
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&5
14575
 
$as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }
14576
 
if ${ac_cv_f77_mangling+:} false; then :
14577
 
  $as_echo_n "(cached) " >&6
14578
 
else
14579
 
  cat > conftest.$ac_ext <<_ACEOF
14580
 
      subroutine foobar()
14581
 
      return
14582
 
      end
14583
 
      subroutine foo_bar()
14584
 
      return
14585
 
      end
14586
 
_ACEOF
14587
 
if ac_fn_f77_try_compile "$LINENO"; then :
14588
 
  mv conftest.$ac_objext cfortran_test.$ac_objext
14589
 
 
14590
 
  ac_save_LIBS=$LIBS
14591
 
  LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
14592
 
 
14593
 
  ac_ext=c
14594
 
ac_cpp='$CPP $CPPFLAGS'
14595
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14598
 
  ac_success=no
14599
 
  for ac_foobar in foobar FOOBAR; do
14600
 
    for ac_underscore in "" "_"; do
14601
 
      ac_func="$ac_foobar$ac_underscore"
14602
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603
 
/* end confdefs.h.  */
14604
 
 
14605
 
/* Override any GCC internal prototype to avoid an error.
14606
 
   Use char because int might match the return type of a GCC
14607
 
   builtin and then its argument prototype would still apply.  */
14608
 
#ifdef __cplusplus
14609
 
extern "C"
14610
 
#endif
14611
 
char $ac_func ();
14612
 
#ifdef F77_DUMMY_MAIN
14613
 
 
14614
 
#  ifdef __cplusplus
14615
 
     extern "C"
14616
 
#  endif
14617
 
   int F77_DUMMY_MAIN() { return 1; }
14618
 
 
14619
 
#endif
14620
 
int
14621
 
main ()
14622
 
{
14623
 
return $ac_func ();
14624
 
  ;
14625
 
  return 0;
14626
 
}
14627
 
_ACEOF
14628
 
if ac_fn_c_try_link "$LINENO"; then :
14629
 
  ac_success=yes; break 2
14630
 
fi
14631
 
rm -f core conftest.err conftest.$ac_objext \
14632
 
    conftest$ac_exeext conftest.$ac_ext
14633
 
    done
14634
 
  done
14635
 
  ac_ext=f
14636
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14637
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14639
 
 
14640
 
  if test "$ac_success" = "yes"; then
14641
 
     case $ac_foobar in
14642
 
        foobar)
14643
 
           ac_case=lower
14644
 
           ac_foo_bar=foo_bar
14645
 
           ;;
14646
 
        FOOBAR)
14647
 
           ac_case=upper
14648
 
           ac_foo_bar=FOO_BAR
14649
 
           ;;
14650
 
     esac
14651
 
 
14652
 
     ac_ext=c
14653
 
ac_cpp='$CPP $CPPFLAGS'
14654
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14655
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14656
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14657
 
     ac_success_extra=no
14658
 
     for ac_extra in "" "_"; do
14659
 
        ac_func="$ac_foo_bar$ac_underscore$ac_extra"
14660
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661
 
/* end confdefs.h.  */
14662
 
 
14663
 
/* Override any GCC internal prototype to avoid an error.
14664
 
   Use char because int might match the return type of a GCC
14665
 
   builtin and then its argument prototype would still apply.  */
14666
 
#ifdef __cplusplus
14667
 
extern "C"
14668
 
#endif
14669
 
char $ac_func ();
14670
 
#ifdef F77_DUMMY_MAIN
14671
 
 
14672
 
#  ifdef __cplusplus
14673
 
     extern "C"
14674
 
#  endif
14675
 
   int F77_DUMMY_MAIN() { return 1; }
14676
 
 
14677
 
#endif
14678
 
int
14679
 
main ()
14680
 
{
14681
 
return $ac_func ();
14682
 
  ;
14683
 
  return 0;
14684
 
}
14685
 
_ACEOF
14686
 
if ac_fn_c_try_link "$LINENO"; then :
14687
 
  ac_success_extra=yes; break
14688
 
fi
14689
 
rm -f core conftest.err conftest.$ac_objext \
14690
 
    conftest$ac_exeext conftest.$ac_ext
14691
 
     done
14692
 
     ac_ext=f
14693
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14694
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14695
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14696
 
 
14697
 
     if test "$ac_success_extra" = "yes"; then
14698
 
        ac_cv_f77_mangling="$ac_case case"
14699
 
        if test -z "$ac_underscore"; then
14700
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
14701
 
        else
14702
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
14703
 
        fi
14704
 
        if test -z "$ac_extra"; then
14705
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
14706
 
        else
14707
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
14708
 
        fi
14709
 
      else
14710
 
        ac_cv_f77_mangling="unknown"
14711
 
      fi
14712
 
  else
14713
 
     ac_cv_f77_mangling="unknown"
14714
 
  fi
14715
 
 
14716
 
  LIBS=$ac_save_LIBS
14717
 
  rm -rf conftest*
14718
 
  rm -f cfortran_test*
14719
 
else
14720
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14721
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14722
 
as_fn_error $? "cannot compile a simple Fortran program
14723
 
See \`config.log' for more details" "$LINENO" 5; }
14724
 
fi
14725
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14726
 
 
14727
 
fi
14728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_mangling" >&5
14729
 
$as_echo "$ac_cv_f77_mangling" >&6; }
14730
 
 
14731
 
ac_ext=c
14732
 
ac_cpp='$CPP $CPPFLAGS'
14733
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14736
 
 
14737
 
 
14738
 
 
14739
 
 
14740
 
ax_blas_ok=no
14741
 
 
14742
 
 
14743
 
@%:@ Check whether --with-blas was given.
14744
 
if test "${with_blas+set}" = set; then :
14745
 
  withval=$with_blas; 
14746
 
fi
14747
 
 
14748
 
case $with_blas in
14749
 
        yes | "") ;;
14750
 
        no) ax_blas_ok=disable ;;
14751
 
        -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
14752
 
        *) BLAS_LIBS="-l$with_blas" ;;
14753
 
esac
14754
 
 
14755
 
# Get fortran linker names of BLAS functions to check for.
14756
 
ac_ext=f
14757
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14758
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14759
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14760
 
case $ac_cv_f77_mangling in
14761
 
  upper*) ac_val="SGEMM" ;;
14762
 
  lower*) ac_val="sgemm" ;;
14763
 
  *)      ac_val="unknown" ;;
14764
 
esac
14765
 
case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
14766
 
 
14767
 
sgemm="$ac_val"
14768
 
 
14769
 
ac_ext=c
14770
 
ac_cpp='$CPP $CPPFLAGS'
14771
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14774
 
 
14775
 
ac_ext=f
14776
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14777
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14778
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14779
 
case $ac_cv_f77_mangling in
14780
 
  upper*) ac_val="DGEMM" ;;
14781
 
  lower*) ac_val="dgemm" ;;
14782
 
  *)      ac_val="unknown" ;;
14783
 
esac
14784
 
case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
14785
 
 
14786
 
dgemm="$ac_val"
14787
 
 
14788
 
ac_ext=c
14789
 
ac_cpp='$CPP $CPPFLAGS'
14790
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14791
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14792
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14793
 
 
14794
 
 
14795
 
ax_blas_save_LIBS="$LIBS"
14796
 
LIBS="$LIBS $FLIBS"
14797
 
 
14798
 
# First, check BLAS_LIBS environment variable
14799
 
if test $ax_blas_ok = no; then
14800
 
if test "x$BLAS_LIBS" != x; then
14801
 
        save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
14802
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in $BLAS_LIBS" >&5
14803
 
$as_echo_n "checking for $sgemm in $BLAS_LIBS... " >&6; }
14804
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805
 
/* end confdefs.h.  */
14806
 
 
14807
 
/* Override any GCC internal prototype to avoid an error.
14808
 
   Use char because int might match the return type of a GCC
14809
 
   builtin and then its argument prototype would still apply.  */
14810
 
#ifdef __cplusplus
14811
 
extern "C"
14812
 
#endif
14813
 
char $sgemm ();
14814
 
#ifdef F77_DUMMY_MAIN
14815
 
 
14816
 
#  ifdef __cplusplus
14817
 
     extern "C"
14818
 
#  endif
14819
 
   int F77_DUMMY_MAIN() { return 1; }
14820
 
 
14821
 
#endif
14822
 
int
14823
 
main ()
14824
 
{
14825
 
return $sgemm ();
14826
 
  ;
14827
 
  return 0;
14828
 
}
14829
 
_ACEOF
14830
 
if ac_fn_c_try_link "$LINENO"; then :
14831
 
  ax_blas_ok=yes
14832
 
else
14833
 
  BLAS_LIBS=""
14834
 
fi
14835
 
rm -f core conftest.err conftest.$ac_objext \
14836
 
    conftest$ac_exeext conftest.$ac_ext
14837
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
14838
 
$as_echo "$ax_blas_ok" >&6; }
14839
 
        LIBS="$save_LIBS"
14840
 
fi
14841
 
fi
14842
 
 
14843
 
# BLAS linked to by default?  (happens on some supercomputers)
14844
 
if test $ax_blas_ok = no; then
14845
 
        save_LIBS="$LIBS"; LIBS="$LIBS"
14846
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $sgemm is being linked in already" >&5
14847
 
$as_echo_n "checking if $sgemm is being linked in already... " >&6; }
14848
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849
 
/* end confdefs.h.  */
14850
 
 
14851
 
/* Override any GCC internal prototype to avoid an error.
14852
 
   Use char because int might match the return type of a GCC
14853
 
   builtin and then its argument prototype would still apply.  */
14854
 
#ifdef __cplusplus
14855
 
extern "C"
14856
 
#endif
14857
 
char $sgemm ();
14858
 
#ifdef F77_DUMMY_MAIN
14859
 
 
14860
 
#  ifdef __cplusplus
14861
 
     extern "C"
14862
 
#  endif
14863
 
   int F77_DUMMY_MAIN() { return 1; }
14864
 
 
14865
 
#endif
14866
 
int
14867
 
main ()
14868
 
{
14869
 
return $sgemm ();
14870
 
  ;
14871
 
  return 0;
14872
 
}
14873
 
_ACEOF
14874
 
if ac_fn_c_try_link "$LINENO"; then :
14875
 
  ax_blas_ok=yes
14876
 
fi
14877
 
rm -f core conftest.err conftest.$ac_objext \
14878
 
    conftest$ac_exeext conftest.$ac_ext
14879
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
14880
 
$as_echo "$ax_blas_ok" >&6; }
14881
 
        LIBS="$save_LIBS"
14882
 
fi
14883
 
 
14884
 
# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
14885
 
if test $ax_blas_ok = no; then
14886
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
14887
 
$as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
14888
 
if ${ac_cv_lib_atlas_ATL_xerbla+:} false; then :
14889
 
  $as_echo_n "(cached) " >&6
14890
 
else
14891
 
  ac_check_lib_save_LIBS=$LIBS
14892
 
LIBS="-latlas  $LIBS"
14893
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894
 
/* end confdefs.h.  */
14895
 
 
14896
 
/* Override any GCC internal prototype to avoid an error.
14897
 
   Use char because int might match the return type of a GCC
14898
 
   builtin and then its argument prototype would still apply.  */
14899
 
#ifdef __cplusplus
14900
 
extern "C"
14901
 
#endif
14902
 
char ATL_xerbla ();
14903
 
#ifdef F77_DUMMY_MAIN
14904
 
 
14905
 
#  ifdef __cplusplus
14906
 
     extern "C"
14907
 
#  endif
14908
 
   int F77_DUMMY_MAIN() { return 1; }
14909
 
 
14910
 
#endif
14911
 
int
14912
 
main ()
14913
 
{
14914
 
return ATL_xerbla ();
14915
 
  ;
14916
 
  return 0;
14917
 
}
14918
 
_ACEOF
14919
 
if ac_fn_c_try_link "$LINENO"; then :
14920
 
  ac_cv_lib_atlas_ATL_xerbla=yes
14921
 
else
14922
 
  ac_cv_lib_atlas_ATL_xerbla=no
14923
 
fi
14924
 
rm -f core conftest.err conftest.$ac_objext \
14925
 
    conftest$ac_exeext conftest.$ac_ext
14926
 
LIBS=$ac_check_lib_save_LIBS
14927
 
fi
14928
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
14929
 
$as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
14930
 
if test "x$ac_cv_lib_atlas_ATL_xerbla" = xyes; then :
14931
 
  as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`
14932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&5
14933
 
$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }
14934
 
if eval \${$as_ac_Lib+:} false; then :
14935
 
  $as_echo_n "(cached) " >&6
14936
 
else
14937
 
  ac_check_lib_save_LIBS=$LIBS
14938
 
LIBS="-lf77blas -latlas $LIBS"
14939
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940
 
/* end confdefs.h.  */
14941
 
 
14942
 
/* Override any GCC internal prototype to avoid an error.
14943
 
   Use char because int might match the return type of a GCC
14944
 
   builtin and then its argument prototype would still apply.  */
14945
 
#ifdef __cplusplus
14946
 
extern "C"
14947
 
#endif
14948
 
char $sgemm ();
14949
 
#ifdef F77_DUMMY_MAIN
14950
 
 
14951
 
#  ifdef __cplusplus
14952
 
     extern "C"
14953
 
#  endif
14954
 
   int F77_DUMMY_MAIN() { return 1; }
14955
 
 
14956
 
#endif
14957
 
int
14958
 
main ()
14959
 
{
14960
 
return $sgemm ();
14961
 
  ;
14962
 
  return 0;
14963
 
}
14964
 
_ACEOF
14965
 
if ac_fn_c_try_link "$LINENO"; then :
14966
 
  eval "$as_ac_Lib=yes"
14967
 
else
14968
 
  eval "$as_ac_Lib=no"
14969
 
fi
14970
 
rm -f core conftest.err conftest.$ac_objext \
14971
 
    conftest$ac_exeext conftest.$ac_ext
14972
 
LIBS=$ac_check_lib_save_LIBS
14973
 
fi
14974
 
eval ac_res=\$$as_ac_Lib
14975
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14976
 
$as_echo "$ac_res" >&6; }
14977
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
14978
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
14979
 
$as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
14980
 
if ${ac_cv_lib_cblas_cblas_dgemm+:} false; then :
14981
 
  $as_echo_n "(cached) " >&6
14982
 
else
14983
 
  ac_check_lib_save_LIBS=$LIBS
14984
 
LIBS="-lcblas -lf77blas -latlas $LIBS"
14985
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986
 
/* end confdefs.h.  */
14987
 
 
14988
 
/* Override any GCC internal prototype to avoid an error.
14989
 
   Use char because int might match the return type of a GCC
14990
 
   builtin and then its argument prototype would still apply.  */
14991
 
#ifdef __cplusplus
14992
 
extern "C"
14993
 
#endif
14994
 
char cblas_dgemm ();
14995
 
#ifdef F77_DUMMY_MAIN
14996
 
 
14997
 
#  ifdef __cplusplus
14998
 
     extern "C"
14999
 
#  endif
15000
 
   int F77_DUMMY_MAIN() { return 1; }
15001
 
 
15002
 
#endif
15003
 
int
15004
 
main ()
15005
 
{
15006
 
return cblas_dgemm ();
15007
 
  ;
15008
 
  return 0;
15009
 
}
15010
 
_ACEOF
15011
 
if ac_fn_c_try_link "$LINENO"; then :
15012
 
  ac_cv_lib_cblas_cblas_dgemm=yes
15013
 
else
15014
 
  ac_cv_lib_cblas_cblas_dgemm=no
15015
 
fi
15016
 
rm -f core conftest.err conftest.$ac_objext \
15017
 
    conftest$ac_exeext conftest.$ac_ext
15018
 
LIBS=$ac_check_lib_save_LIBS
15019
 
fi
15020
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
15021
 
$as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
15022
 
if test "x$ac_cv_lib_cblas_cblas_dgemm" = xyes; then :
15023
 
  ax_blas_ok=yes
15024
 
                         BLAS_LIBS="-lcblas -lf77blas -latlas"
15025
 
fi
15026
 
 
15027
 
fi
15028
 
 
15029
 
fi
15030
 
 
15031
 
fi
15032
 
 
15033
 
# BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
15034
 
if test $ax_blas_ok = no; then
15035
 
        as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
15036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
15037
 
$as_echo_n "checking for $sgemm in -lblas... " >&6; }
15038
 
if eval \${$as_ac_Lib+:} false; then :
15039
 
  $as_echo_n "(cached) " >&6
15040
 
else
15041
 
  ac_check_lib_save_LIBS=$LIBS
15042
 
LIBS="-lblas  $LIBS"
15043
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044
 
/* end confdefs.h.  */
15045
 
 
15046
 
/* Override any GCC internal prototype to avoid an error.
15047
 
   Use char because int might match the return type of a GCC
15048
 
   builtin and then its argument prototype would still apply.  */
15049
 
#ifdef __cplusplus
15050
 
extern "C"
15051
 
#endif
15052
 
char $sgemm ();
15053
 
#ifdef F77_DUMMY_MAIN
15054
 
 
15055
 
#  ifdef __cplusplus
15056
 
     extern "C"
15057
 
#  endif
15058
 
   int F77_DUMMY_MAIN() { return 1; }
15059
 
 
15060
 
#endif
15061
 
int
15062
 
main ()
15063
 
{
15064
 
return $sgemm ();
15065
 
  ;
15066
 
  return 0;
15067
 
}
15068
 
_ACEOF
15069
 
if ac_fn_c_try_link "$LINENO"; then :
15070
 
  eval "$as_ac_Lib=yes"
15071
 
else
15072
 
  eval "$as_ac_Lib=no"
15073
 
fi
15074
 
rm -f core conftest.err conftest.$ac_objext \
15075
 
    conftest$ac_exeext conftest.$ac_ext
15076
 
LIBS=$ac_check_lib_save_LIBS
15077
 
fi
15078
 
eval ac_res=\$$as_ac_Lib
15079
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15080
 
$as_echo "$ac_res" >&6; }
15081
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15082
 
  as_ac_Lib=`$as_echo "ac_cv_lib_dgemm_$dgemm" | $as_tr_sh`
15083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dgemm in -ldgemm" >&5
15084
 
$as_echo_n "checking for $dgemm in -ldgemm... " >&6; }
15085
 
if eval \${$as_ac_Lib+:} false; then :
15086
 
  $as_echo_n "(cached) " >&6
15087
 
else
15088
 
  ac_check_lib_save_LIBS=$LIBS
15089
 
LIBS="-ldgemm -lblas $LIBS"
15090
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091
 
/* end confdefs.h.  */
15092
 
 
15093
 
/* Override any GCC internal prototype to avoid an error.
15094
 
   Use char because int might match the return type of a GCC
15095
 
   builtin and then its argument prototype would still apply.  */
15096
 
#ifdef __cplusplus
15097
 
extern "C"
15098
 
#endif
15099
 
char $dgemm ();
15100
 
#ifdef F77_DUMMY_MAIN
15101
 
 
15102
 
#  ifdef __cplusplus
15103
 
     extern "C"
15104
 
#  endif
15105
 
   int F77_DUMMY_MAIN() { return 1; }
15106
 
 
15107
 
#endif
15108
 
int
15109
 
main ()
15110
 
{
15111
 
return $dgemm ();
15112
 
  ;
15113
 
  return 0;
15114
 
}
15115
 
_ACEOF
15116
 
if ac_fn_c_try_link "$LINENO"; then :
15117
 
  eval "$as_ac_Lib=yes"
15118
 
else
15119
 
  eval "$as_ac_Lib=no"
15120
 
fi
15121
 
rm -f core conftest.err conftest.$ac_objext \
15122
 
    conftest$ac_exeext conftest.$ac_ext
15123
 
LIBS=$ac_check_lib_save_LIBS
15124
 
fi
15125
 
eval ac_res=\$$as_ac_Lib
15126
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15127
 
$as_echo "$ac_res" >&6; }
15128
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15129
 
  as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`
15130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&5
15131
 
$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }
15132
 
if eval \${$as_ac_Lib+:} false; then :
15133
 
  $as_echo_n "(cached) " >&6
15134
 
else
15135
 
  ac_check_lib_save_LIBS=$LIBS
15136
 
LIBS="-lsgemm -lblas $LIBS"
15137
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138
 
/* end confdefs.h.  */
15139
 
 
15140
 
/* Override any GCC internal prototype to avoid an error.
15141
 
   Use char because int might match the return type of a GCC
15142
 
   builtin and then its argument prototype would still apply.  */
15143
 
#ifdef __cplusplus
15144
 
extern "C"
15145
 
#endif
15146
 
char $sgemm ();
15147
 
#ifdef F77_DUMMY_MAIN
15148
 
 
15149
 
#  ifdef __cplusplus
15150
 
     extern "C"
15151
 
#  endif
15152
 
   int F77_DUMMY_MAIN() { return 1; }
15153
 
 
15154
 
#endif
15155
 
int
15156
 
main ()
15157
 
{
15158
 
return $sgemm ();
15159
 
  ;
15160
 
  return 0;
15161
 
}
15162
 
_ACEOF
15163
 
if ac_fn_c_try_link "$LINENO"; then :
15164
 
  eval "$as_ac_Lib=yes"
15165
 
else
15166
 
  eval "$as_ac_Lib=no"
15167
 
fi
15168
 
rm -f core conftest.err conftest.$ac_objext \
15169
 
    conftest$ac_exeext conftest.$ac_ext
15170
 
LIBS=$ac_check_lib_save_LIBS
15171
 
fi
15172
 
eval ac_res=\$$as_ac_Lib
15173
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15174
 
$as_echo "$ac_res" >&6; }
15175
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15176
 
  ax_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"
15177
 
fi
15178
 
 
15179
 
fi
15180
 
 
15181
 
fi
15182
 
 
15183
 
fi
15184
 
 
15185
 
# BLAS in Intel MKL library?
15186
 
if test $ax_blas_ok = no; then
15187
 
        as_ac_Lib=`$as_echo "ac_cv_lib_mkl_$sgemm" | $as_tr_sh`
15188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl" >&5
15189
 
$as_echo_n "checking for $sgemm in -lmkl... " >&6; }
15190
 
if eval \${$as_ac_Lib+:} false; then :
15191
 
  $as_echo_n "(cached) " >&6
15192
 
else
15193
 
  ac_check_lib_save_LIBS=$LIBS
15194
 
LIBS="-lmkl  $LIBS"
15195
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196
 
/* end confdefs.h.  */
15197
 
 
15198
 
/* Override any GCC internal prototype to avoid an error.
15199
 
   Use char because int might match the return type of a GCC
15200
 
   builtin and then its argument prototype would still apply.  */
15201
 
#ifdef __cplusplus
15202
 
extern "C"
15203
 
#endif
15204
 
char $sgemm ();
15205
 
#ifdef F77_DUMMY_MAIN
15206
 
 
15207
 
#  ifdef __cplusplus
15208
 
     extern "C"
15209
 
#  endif
15210
 
   int F77_DUMMY_MAIN() { return 1; }
15211
 
 
15212
 
#endif
15213
 
int
15214
 
main ()
15215
 
{
15216
 
return $sgemm ();
15217
 
  ;
15218
 
  return 0;
15219
 
}
15220
 
_ACEOF
15221
 
if ac_fn_c_try_link "$LINENO"; then :
15222
 
  eval "$as_ac_Lib=yes"
15223
 
else
15224
 
  eval "$as_ac_Lib=no"
15225
 
fi
15226
 
rm -f core conftest.err conftest.$ac_objext \
15227
 
    conftest$ac_exeext conftest.$ac_ext
15228
 
LIBS=$ac_check_lib_save_LIBS
15229
 
fi
15230
 
eval ac_res=\$$as_ac_Lib
15231
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15232
 
$as_echo "$ac_res" >&6; }
15233
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15234
 
  ax_blas_ok=yes;BLAS_LIBS="-lmkl"
15235
 
fi
15236
 
 
15237
 
fi
15238
 
 
15239
 
# BLAS in Apple vecLib library?
15240
 
if test $ax_blas_ok = no; then
15241
 
        save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
15242
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -framework vecLib" >&5
15243
 
$as_echo_n "checking for $sgemm in -framework vecLib... " >&6; }
15244
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245
 
/* end confdefs.h.  */
15246
 
 
15247
 
/* Override any GCC internal prototype to avoid an error.
15248
 
   Use char because int might match the return type of a GCC
15249
 
   builtin and then its argument prototype would still apply.  */
15250
 
#ifdef __cplusplus
15251
 
extern "C"
15252
 
#endif
15253
 
char $sgemm ();
15254
 
#ifdef F77_DUMMY_MAIN
15255
 
 
15256
 
#  ifdef __cplusplus
15257
 
     extern "C"
15258
 
#  endif
15259
 
   int F77_DUMMY_MAIN() { return 1; }
15260
 
 
15261
 
#endif
15262
 
int
15263
 
main ()
15264
 
{
15265
 
return $sgemm ();
15266
 
  ;
15267
 
  return 0;
15268
 
}
15269
 
_ACEOF
15270
 
if ac_fn_c_try_link "$LINENO"; then :
15271
 
  ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"
15272
 
fi
15273
 
rm -f core conftest.err conftest.$ac_objext \
15274
 
    conftest$ac_exeext conftest.$ac_ext
15275
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
15276
 
$as_echo "$ax_blas_ok" >&6; }
15277
 
        LIBS="$save_LIBS"
15278
 
fi
15279
 
 
15280
 
# BLAS in Alpha CXML library?
15281
 
if test $ax_blas_ok = no; then
15282
 
        as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`
15283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&5
15284
 
$as_echo_n "checking for $sgemm in -lcxml... " >&6; }
15285
 
if eval \${$as_ac_Lib+:} false; then :
15286
 
  $as_echo_n "(cached) " >&6
15287
 
else
15288
 
  ac_check_lib_save_LIBS=$LIBS
15289
 
LIBS="-lcxml  $LIBS"
15290
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291
 
/* end confdefs.h.  */
15292
 
 
15293
 
/* Override any GCC internal prototype to avoid an error.
15294
 
   Use char because int might match the return type of a GCC
15295
 
   builtin and then its argument prototype would still apply.  */
15296
 
#ifdef __cplusplus
15297
 
extern "C"
15298
 
#endif
15299
 
char $sgemm ();
15300
 
#ifdef F77_DUMMY_MAIN
15301
 
 
15302
 
#  ifdef __cplusplus
15303
 
     extern "C"
15304
 
#  endif
15305
 
   int F77_DUMMY_MAIN() { return 1; }
15306
 
 
15307
 
#endif
15308
 
int
15309
 
main ()
15310
 
{
15311
 
return $sgemm ();
15312
 
  ;
15313
 
  return 0;
15314
 
}
15315
 
_ACEOF
15316
 
if ac_fn_c_try_link "$LINENO"; then :
15317
 
  eval "$as_ac_Lib=yes"
15318
 
else
15319
 
  eval "$as_ac_Lib=no"
15320
 
fi
15321
 
rm -f core conftest.err conftest.$ac_objext \
15322
 
    conftest$ac_exeext conftest.$ac_ext
15323
 
LIBS=$ac_check_lib_save_LIBS
15324
 
fi
15325
 
eval ac_res=\$$as_ac_Lib
15326
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15327
 
$as_echo "$ac_res" >&6; }
15328
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15329
 
  ax_blas_ok=yes;BLAS_LIBS="-lcxml"
15330
 
fi
15331
 
 
15332
 
fi
15333
 
 
15334
 
# BLAS in Alpha DXML library? (now called CXML, see above)
15335
 
if test $ax_blas_ok = no; then
15336
 
        as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`
15337
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&5
15338
 
$as_echo_n "checking for $sgemm in -ldxml... " >&6; }
15339
 
if eval \${$as_ac_Lib+:} false; then :
15340
 
  $as_echo_n "(cached) " >&6
15341
 
else
15342
 
  ac_check_lib_save_LIBS=$LIBS
15343
 
LIBS="-ldxml  $LIBS"
15344
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345
 
/* end confdefs.h.  */
15346
 
 
15347
 
/* Override any GCC internal prototype to avoid an error.
15348
 
   Use char because int might match the return type of a GCC
15349
 
   builtin and then its argument prototype would still apply.  */
15350
 
#ifdef __cplusplus
15351
 
extern "C"
15352
 
#endif
15353
 
char $sgemm ();
15354
 
#ifdef F77_DUMMY_MAIN
15355
 
 
15356
 
#  ifdef __cplusplus
15357
 
     extern "C"
15358
 
#  endif
15359
 
   int F77_DUMMY_MAIN() { return 1; }
15360
 
 
15361
 
#endif
15362
 
int
15363
 
main ()
15364
 
{
15365
 
return $sgemm ();
15366
 
  ;
15367
 
  return 0;
15368
 
}
15369
 
_ACEOF
15370
 
if ac_fn_c_try_link "$LINENO"; then :
15371
 
  eval "$as_ac_Lib=yes"
15372
 
else
15373
 
  eval "$as_ac_Lib=no"
15374
 
fi
15375
 
rm -f core conftest.err conftest.$ac_objext \
15376
 
    conftest$ac_exeext conftest.$ac_ext
15377
 
LIBS=$ac_check_lib_save_LIBS
15378
 
fi
15379
 
eval ac_res=\$$as_ac_Lib
15380
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15381
 
$as_echo "$ac_res" >&6; }
15382
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15383
 
  ax_blas_ok=yes;BLAS_LIBS="-ldxml"
15384
 
fi
15385
 
 
15386
 
fi
15387
 
 
15388
 
# BLAS in Sun Performance library?
15389
 
if test $ax_blas_ok = no; then
15390
 
        if test "x$GCC" != xyes; then # only works with Sun CC
15391
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
15392
 
$as_echo_n "checking for acosp in -lsunmath... " >&6; }
15393
 
if ${ac_cv_lib_sunmath_acosp+:} false; then :
15394
 
  $as_echo_n "(cached) " >&6
15395
 
else
15396
 
  ac_check_lib_save_LIBS=$LIBS
15397
 
LIBS="-lsunmath  $LIBS"
15398
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399
 
/* end confdefs.h.  */
15400
 
 
15401
 
/* Override any GCC internal prototype to avoid an error.
15402
 
   Use char because int might match the return type of a GCC
15403
 
   builtin and then its argument prototype would still apply.  */
15404
 
#ifdef __cplusplus
15405
 
extern "C"
15406
 
#endif
15407
 
char acosp ();
15408
 
#ifdef F77_DUMMY_MAIN
15409
 
 
15410
 
#  ifdef __cplusplus
15411
 
     extern "C"
15412
 
#  endif
15413
 
   int F77_DUMMY_MAIN() { return 1; }
15414
 
 
15415
 
#endif
15416
 
int
15417
 
main ()
15418
 
{
15419
 
return acosp ();
15420
 
  ;
15421
 
  return 0;
15422
 
}
15423
 
_ACEOF
15424
 
if ac_fn_c_try_link "$LINENO"; then :
15425
 
  ac_cv_lib_sunmath_acosp=yes
15426
 
else
15427
 
  ac_cv_lib_sunmath_acosp=no
15428
 
fi
15429
 
rm -f core conftest.err conftest.$ac_objext \
15430
 
    conftest$ac_exeext conftest.$ac_ext
15431
 
LIBS=$ac_check_lib_save_LIBS
15432
 
fi
15433
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
15434
 
$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
15435
 
if test "x$ac_cv_lib_sunmath_acosp" = xyes; then :
15436
 
  as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`
15437
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&5
15438
 
$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }
15439
 
if eval \${$as_ac_Lib+:} false; then :
15440
 
  $as_echo_n "(cached) " >&6
15441
 
else
15442
 
  ac_check_lib_save_LIBS=$LIBS
15443
 
LIBS="-lsunperf -lsunmath $LIBS"
15444
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15445
 
/* end confdefs.h.  */
15446
 
 
15447
 
/* Override any GCC internal prototype to avoid an error.
15448
 
   Use char because int might match the return type of a GCC
15449
 
   builtin and then its argument prototype would still apply.  */
15450
 
#ifdef __cplusplus
15451
 
extern "C"
15452
 
#endif
15453
 
char $sgemm ();
15454
 
#ifdef F77_DUMMY_MAIN
15455
 
 
15456
 
#  ifdef __cplusplus
15457
 
     extern "C"
15458
 
#  endif
15459
 
   int F77_DUMMY_MAIN() { return 1; }
15460
 
 
15461
 
#endif
15462
 
int
15463
 
main ()
15464
 
{
15465
 
return $sgemm ();
15466
 
  ;
15467
 
  return 0;
15468
 
}
15469
 
_ACEOF
15470
 
if ac_fn_c_try_link "$LINENO"; then :
15471
 
  eval "$as_ac_Lib=yes"
15472
 
else
15473
 
  eval "$as_ac_Lib=no"
15474
 
fi
15475
 
rm -f core conftest.err conftest.$ac_objext \
15476
 
    conftest$ac_exeext conftest.$ac_ext
15477
 
LIBS=$ac_check_lib_save_LIBS
15478
 
fi
15479
 
eval ac_res=\$$as_ac_Lib
15480
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15481
 
$as_echo "$ac_res" >&6; }
15482
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15483
 
  BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
15484
 
                                 ax_blas_ok=yes
15485
 
fi
15486
 
 
15487
 
fi
15488
 
 
15489
 
        fi
15490
 
fi
15491
 
 
15492
 
# BLAS in SCSL library?  (SGI/Cray Scientific Library)
15493
 
if test $ax_blas_ok = no; then
15494
 
        as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`
15495
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&5
15496
 
$as_echo_n "checking for $sgemm in -lscs... " >&6; }
15497
 
if eval \${$as_ac_Lib+:} false; then :
15498
 
  $as_echo_n "(cached) " >&6
15499
 
else
15500
 
  ac_check_lib_save_LIBS=$LIBS
15501
 
LIBS="-lscs  $LIBS"
15502
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503
 
/* end confdefs.h.  */
15504
 
 
15505
 
/* Override any GCC internal prototype to avoid an error.
15506
 
   Use char because int might match the return type of a GCC
15507
 
   builtin and then its argument prototype would still apply.  */
15508
 
#ifdef __cplusplus
15509
 
extern "C"
15510
 
#endif
15511
 
char $sgemm ();
15512
 
#ifdef F77_DUMMY_MAIN
15513
 
 
15514
 
#  ifdef __cplusplus
15515
 
     extern "C"
15516
 
#  endif
15517
 
   int F77_DUMMY_MAIN() { return 1; }
15518
 
 
15519
 
#endif
15520
 
int
15521
 
main ()
15522
 
{
15523
 
return $sgemm ();
15524
 
  ;
15525
 
  return 0;
15526
 
}
15527
 
_ACEOF
15528
 
if ac_fn_c_try_link "$LINENO"; then :
15529
 
  eval "$as_ac_Lib=yes"
15530
 
else
15531
 
  eval "$as_ac_Lib=no"
15532
 
fi
15533
 
rm -f core conftest.err conftest.$ac_objext \
15534
 
    conftest$ac_exeext conftest.$ac_ext
15535
 
LIBS=$ac_check_lib_save_LIBS
15536
 
fi
15537
 
eval ac_res=\$$as_ac_Lib
15538
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15539
 
$as_echo "$ac_res" >&6; }
15540
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15541
 
  ax_blas_ok=yes; BLAS_LIBS="-lscs"
15542
 
fi
15543
 
 
15544
 
fi
15545
 
 
15546
 
# BLAS in SGIMATH library?
15547
 
if test $ax_blas_ok = no; then
15548
 
        as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`
15549
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&5
15550
 
$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }
15551
 
if eval \${$as_ac_Lib+:} false; then :
15552
 
  $as_echo_n "(cached) " >&6
15553
 
else
15554
 
  ac_check_lib_save_LIBS=$LIBS
15555
 
LIBS="-lcomplib.sgimath  $LIBS"
15556
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557
 
/* end confdefs.h.  */
15558
 
 
15559
 
/* Override any GCC internal prototype to avoid an error.
15560
 
   Use char because int might match the return type of a GCC
15561
 
   builtin and then its argument prototype would still apply.  */
15562
 
#ifdef __cplusplus
15563
 
extern "C"
15564
 
#endif
15565
 
char $sgemm ();
15566
 
#ifdef F77_DUMMY_MAIN
15567
 
 
15568
 
#  ifdef __cplusplus
15569
 
     extern "C"
15570
 
#  endif
15571
 
   int F77_DUMMY_MAIN() { return 1; }
15572
 
 
15573
 
#endif
15574
 
int
15575
 
main ()
15576
 
{
15577
 
return $sgemm ();
15578
 
  ;
15579
 
  return 0;
15580
 
}
15581
 
_ACEOF
15582
 
if ac_fn_c_try_link "$LINENO"; then :
15583
 
  eval "$as_ac_Lib=yes"
15584
 
else
15585
 
  eval "$as_ac_Lib=no"
15586
 
fi
15587
 
rm -f core conftest.err conftest.$ac_objext \
15588
 
    conftest$ac_exeext conftest.$ac_ext
15589
 
LIBS=$ac_check_lib_save_LIBS
15590
 
fi
15591
 
eval ac_res=\$$as_ac_Lib
15592
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15593
 
$as_echo "$ac_res" >&6; }
15594
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15595
 
  ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"
15596
 
fi
15597
 
 
15598
 
fi
15599
 
 
15600
 
# BLAS in IBM ESSL library? (requires generic BLAS lib, too)
15601
 
if test $ax_blas_ok = no; then
15602
 
        as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
15603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
15604
 
$as_echo_n "checking for $sgemm in -lblas... " >&6; }
15605
 
if eval \${$as_ac_Lib+:} false; then :
15606
 
  $as_echo_n "(cached) " >&6
15607
 
else
15608
 
  ac_check_lib_save_LIBS=$LIBS
15609
 
LIBS="-lblas  $LIBS"
15610
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611
 
/* end confdefs.h.  */
15612
 
 
15613
 
/* Override any GCC internal prototype to avoid an error.
15614
 
   Use char because int might match the return type of a GCC
15615
 
   builtin and then its argument prototype would still apply.  */
15616
 
#ifdef __cplusplus
15617
 
extern "C"
15618
 
#endif
15619
 
char $sgemm ();
15620
 
#ifdef F77_DUMMY_MAIN
15621
 
 
15622
 
#  ifdef __cplusplus
15623
 
     extern "C"
15624
 
#  endif
15625
 
   int F77_DUMMY_MAIN() { return 1; }
15626
 
 
15627
 
#endif
15628
 
int
15629
 
main ()
15630
 
{
15631
 
return $sgemm ();
15632
 
  ;
15633
 
  return 0;
15634
 
}
15635
 
_ACEOF
15636
 
if ac_fn_c_try_link "$LINENO"; then :
15637
 
  eval "$as_ac_Lib=yes"
15638
 
else
15639
 
  eval "$as_ac_Lib=no"
15640
 
fi
15641
 
rm -f core conftest.err conftest.$ac_objext \
15642
 
    conftest$ac_exeext conftest.$ac_ext
15643
 
LIBS=$ac_check_lib_save_LIBS
15644
 
fi
15645
 
eval ac_res=\$$as_ac_Lib
15646
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15647
 
$as_echo "$ac_res" >&6; }
15648
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15649
 
  as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`
15650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&5
15651
 
$as_echo_n "checking for $sgemm in -lessl... " >&6; }
15652
 
if eval \${$as_ac_Lib+:} false; then :
15653
 
  $as_echo_n "(cached) " >&6
15654
 
else
15655
 
  ac_check_lib_save_LIBS=$LIBS
15656
 
LIBS="-lessl -lblas $FLIBS $LIBS"
15657
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658
 
/* end confdefs.h.  */
15659
 
 
15660
 
/* Override any GCC internal prototype to avoid an error.
15661
 
   Use char because int might match the return type of a GCC
15662
 
   builtin and then its argument prototype would still apply.  */
15663
 
#ifdef __cplusplus
15664
 
extern "C"
15665
 
#endif
15666
 
char $sgemm ();
15667
 
#ifdef F77_DUMMY_MAIN
15668
 
 
15669
 
#  ifdef __cplusplus
15670
 
     extern "C"
15671
 
#  endif
15672
 
   int F77_DUMMY_MAIN() { return 1; }
15673
 
 
15674
 
#endif
15675
 
int
15676
 
main ()
15677
 
{
15678
 
return $sgemm ();
15679
 
  ;
15680
 
  return 0;
15681
 
}
15682
 
_ACEOF
15683
 
if ac_fn_c_try_link "$LINENO"; then :
15684
 
  eval "$as_ac_Lib=yes"
15685
 
else
15686
 
  eval "$as_ac_Lib=no"
15687
 
fi
15688
 
rm -f core conftest.err conftest.$ac_objext \
15689
 
    conftest$ac_exeext conftest.$ac_ext
15690
 
LIBS=$ac_check_lib_save_LIBS
15691
 
fi
15692
 
eval ac_res=\$$as_ac_Lib
15693
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15694
 
$as_echo "$ac_res" >&6; }
15695
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15696
 
  ax_blas_ok=yes; BLAS_LIBS="-lessl -lblas"
15697
 
fi
15698
 
 
15699
 
fi
15700
 
 
15701
 
fi
15702
 
 
15703
 
# Generic BLAS library?
15704
 
if test $ax_blas_ok = no; then
15705
 
        as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
15706
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
15707
 
$as_echo_n "checking for $sgemm in -lblas... " >&6; }
15708
 
if eval \${$as_ac_Lib+:} false; then :
15709
 
  $as_echo_n "(cached) " >&6
15710
 
else
15711
 
  ac_check_lib_save_LIBS=$LIBS
15712
 
LIBS="-lblas  $LIBS"
15713
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714
 
/* end confdefs.h.  */
15715
 
 
15716
 
/* Override any GCC internal prototype to avoid an error.
15717
 
   Use char because int might match the return type of a GCC
15718
 
   builtin and then its argument prototype would still apply.  */
15719
 
#ifdef __cplusplus
15720
 
extern "C"
15721
 
#endif
15722
 
char $sgemm ();
15723
 
#ifdef F77_DUMMY_MAIN
15724
 
 
15725
 
#  ifdef __cplusplus
15726
 
     extern "C"
15727
 
#  endif
15728
 
   int F77_DUMMY_MAIN() { return 1; }
15729
 
 
15730
 
#endif
15731
 
int
15732
 
main ()
15733
 
{
15734
 
return $sgemm ();
15735
 
  ;
15736
 
  return 0;
15737
 
}
15738
 
_ACEOF
15739
 
if ac_fn_c_try_link "$LINENO"; then :
15740
 
  eval "$as_ac_Lib=yes"
15741
 
else
15742
 
  eval "$as_ac_Lib=no"
15743
 
fi
15744
 
rm -f core conftest.err conftest.$ac_objext \
15745
 
    conftest$ac_exeext conftest.$ac_ext
15746
 
LIBS=$ac_check_lib_save_LIBS
15747
 
fi
15748
 
eval ac_res=\$$as_ac_Lib
15749
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15750
 
$as_echo "$ac_res" >&6; }
15751
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15752
 
  ax_blas_ok=yes; BLAS_LIBS="-lblas"
15753
 
fi
15754
 
 
15755
 
fi
15756
 
 
15757
 
 
15758
 
 
15759
 
LIBS="$ax_blas_save_LIBS"
15760
 
 
15761
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15762
 
if test x"$ax_blas_ok" = xyes; then
15763
 
        
15764
 
$as_echo "@%:@define HAVE_BLAS 1" >>confdefs.h
15765
 
 
15766
 
        :
15767
 
else
15768
 
        ax_blas_ok=no
15769
 
        
15770
 
fi
15771
 
 
15772
 
if test x"$BLAS_LIBS" = x; then
15773
 
   as_fn_error $? "Cannot find blas libraries" "$LINENO" 5
15774
 
fi
15775
 
 
15776
 
 
15777
 
 
15778
 
 
15779
 
ax_lapack_ok=no
15780
 
 
15781
 
 
15782
 
@%:@ Check whether --with-lapack was given.
15783
 
if test "${with_lapack+set}" = set; then :
15784
 
  withval=$with_lapack; 
15785
 
fi
15786
 
 
15787
 
case $with_lapack in
15788
 
        yes | "") ;;
15789
 
        no) ax_lapack_ok=disable ;;
15790
 
        -* | */* | *.a | *.so | *.so.* | *.o) LAPACK_LIBS="$with_lapack" ;;
15791
 
        *) LAPACK_LIBS="-l$with_lapack" ;;
15792
 
esac
15793
 
 
15794
 
# Get fortran linker name of LAPACK function to check for.
15795
 
ac_ext=f
15796
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15797
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15798
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15799
 
case $ac_cv_f77_mangling in
15800
 
  upper*) ac_val="CHEEV" ;;
15801
 
  lower*) ac_val="cheev" ;;
15802
 
  *)      ac_val="unknown" ;;
15803
 
esac
15804
 
case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
15805
 
 
15806
 
cheev="$ac_val"
15807
 
 
15808
 
ac_ext=c
15809
 
ac_cpp='$CPP $CPPFLAGS'
15810
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15811
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15812
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813
 
 
15814
 
 
15815
 
# We cannot use LAPACK if BLAS is not found
15816
 
if test "x$ax_blas_ok" != xyes; then
15817
 
        ax_lapack_ok=noblas
15818
 
        LAPACK_LIBS=""
15819
 
fi
15820
 
 
15821
 
# First, check LAPACK_LIBS environment variable
15822
 
if test "x$LAPACK_LIBS" != x; then
15823
 
        save_LIBS="$LIBS"; LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"
15824
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in $LAPACK_LIBS" >&5
15825
 
$as_echo_n "checking for $cheev in $LAPACK_LIBS... " >&6; }
15826
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827
 
/* end confdefs.h.  */
15828
 
 
15829
 
/* Override any GCC internal prototype to avoid an error.
15830
 
   Use char because int might match the return type of a GCC
15831
 
   builtin and then its argument prototype would still apply.  */
15832
 
#ifdef __cplusplus
15833
 
extern "C"
15834
 
#endif
15835
 
char $cheev ();
15836
 
#ifdef F77_DUMMY_MAIN
15837
 
 
15838
 
#  ifdef __cplusplus
15839
 
     extern "C"
15840
 
#  endif
15841
 
   int F77_DUMMY_MAIN() { return 1; }
15842
 
 
15843
 
#endif
15844
 
int
15845
 
main ()
15846
 
{
15847
 
return $cheev ();
15848
 
  ;
15849
 
  return 0;
15850
 
}
15851
 
_ACEOF
15852
 
if ac_fn_c_try_link "$LINENO"; then :
15853
 
  ax_lapack_ok=yes
15854
 
else
15855
 
  LAPACK_LIBS=""
15856
 
fi
15857
 
rm -f core conftest.err conftest.$ac_objext \
15858
 
    conftest$ac_exeext conftest.$ac_ext
15859
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_lapack_ok" >&5
15860
 
$as_echo "$ax_lapack_ok" >&6; }
15861
 
        LIBS="$save_LIBS"
15862
 
        if test $ax_lapack_ok = no; then
15863
 
                LAPACK_LIBS=""
15864
 
        fi
15865
 
fi
15866
 
 
15867
 
# LAPACK linked to by default?  (is sometimes included in BLAS lib)
15868
 
if test $ax_lapack_ok = no; then
15869
 
        save_LIBS="$LIBS"; LIBS="$LIBS $BLAS_LIBS $FLIBS"
15870
 
        as_ac_var=`$as_echo "ac_cv_func_$cheev" | $as_tr_sh`
15871
 
ac_fn_c_check_func "$LINENO" "$cheev" "$as_ac_var"
15872
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15873
 
  ax_lapack_ok=yes
15874
 
fi
15875
 
 
15876
 
        LIBS="$save_LIBS"
15877
 
fi
15878
 
 
15879
 
# Generic LAPACK library?
15880
 
for lapack in lapack lapack_rs6k; do
15881
 
        if test $ax_lapack_ok = no; then
15882
 
                save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
15883
 
                as_ac_Lib=`$as_echo "ac_cv_lib_$lapack''_$cheev" | $as_tr_sh`
15884
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in -l$lapack" >&5
15885
 
$as_echo_n "checking for $cheev in -l$lapack... " >&6; }
15886
 
if eval \${$as_ac_Lib+:} false; then :
15887
 
  $as_echo_n "(cached) " >&6
15888
 
else
15889
 
  ac_check_lib_save_LIBS=$LIBS
15890
 
LIBS="-l$lapack $FLIBS $LIBS"
15891
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892
 
/* end confdefs.h.  */
15893
 
 
15894
 
/* Override any GCC internal prototype to avoid an error.
15895
 
   Use char because int might match the return type of a GCC
15896
 
   builtin and then its argument prototype would still apply.  */
15897
 
#ifdef __cplusplus
15898
 
extern "C"
15899
 
#endif
15900
 
char $cheev ();
15901
 
#ifdef F77_DUMMY_MAIN
15902
 
 
15903
 
#  ifdef __cplusplus
15904
 
     extern "C"
15905
 
#  endif
15906
 
   int F77_DUMMY_MAIN() { return 1; }
15907
 
 
15908
 
#endif
15909
 
int
15910
 
main ()
15911
 
{
15912
 
return $cheev ();
15913
 
  ;
15914
 
  return 0;
15915
 
}
15916
 
_ACEOF
15917
 
if ac_fn_c_try_link "$LINENO"; then :
15918
 
  eval "$as_ac_Lib=yes"
15919
 
else
15920
 
  eval "$as_ac_Lib=no"
15921
 
fi
15922
 
rm -f core conftest.err conftest.$ac_objext \
15923
 
    conftest$ac_exeext conftest.$ac_ext
15924
 
LIBS=$ac_check_lib_save_LIBS
15925
 
fi
15926
 
eval ac_res=\$$as_ac_Lib
15927
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15928
 
$as_echo "$ac_res" >&6; }
15929
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15930
 
  ax_lapack_ok=yes; LAPACK_LIBS="-l$lapack"
15931
 
fi
15932
 
 
15933
 
                LIBS="$save_LIBS"
15934
 
        fi
15935
 
done
15936
 
 
15937
 
 
15938
 
 
15939
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15940
 
if test x"$ax_lapack_ok" = xyes; then
15941
 
        
15942
 
$as_echo "@%:@define HAVE_LAPACK 1" >>confdefs.h
15943
 
 
15944
 
        :
15945
 
else
15946
 
        ax_lapack_ok=no
15947
 
        
15948
 
fi
15949
 
 
15950
 
if test x"$LAPACK_LIBS" = x; then
15951
 
   as_fn_error $? "Cannot find LAPACK libraries" "$LINENO" 5
15952
 
fi
15953
 
 
15954
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI mode" >&5
15955
 
$as_echo_n "checking for MPI mode... " >&6; }
15956
 
@%:@ Check whether --enable-mpi was given.
15957
 
if test "${enable_mpi+set}" = set; then :
15958
 
  enableval=$enable_mpi; enable_mpi=$enableval
15959
 
else
15960
 
  enable_mpi=no
15961
 
fi
15962
 
 
15963
 
if test x"$enable_mpi" != x"no"; then
15964
 
  ac_ext=f
15965
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15966
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15967
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15968
 
 
15969
 
  
15970
 
 
15971
 
 
15972
 
        
15973
 
        
15974
 
        for ac_prog in mpif77 hf77 mpxlf_r mpxlf mpf77 cmpifc
15975
 
do
15976
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
15977
 
set dummy $ac_prog; ac_word=$2
15978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15979
 
$as_echo_n "checking for $ac_word... " >&6; }
15980
 
if ${ac_cv_prog_MPIF77+:} false; then :
15981
 
  $as_echo_n "(cached) " >&6
15982
 
else
15983
 
  if test -n "$MPIF77"; then
15984
 
  ac_cv_prog_MPIF77="$MPIF77" # Let the user override the test.
15985
 
else
15986
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15987
 
for as_dir in $PATH
15988
 
do
15989
 
  IFS=$as_save_IFS
15990
 
  test -z "$as_dir" && as_dir=.
15991
 
    for ac_exec_ext in '' $ac_executable_extensions; do
15992
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15993
 
    ac_cv_prog_MPIF77="$ac_prog"
15994
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15995
 
    break 2
15996
 
  fi
15997
 
done
15998
 
  done
15999
 
IFS=$as_save_IFS
16000
 
 
16001
 
fi
16002
 
fi
16003
 
MPIF77=$ac_cv_prog_MPIF77
16004
 
if test -n "$MPIF77"; then
16005
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPIF77" >&5
16006
 
$as_echo "$MPIF77" >&6; }
16007
 
else
16008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009
 
$as_echo "no" >&6; }
16010
 
fi
16011
 
 
16012
 
 
16013
 
  test -n "$MPIF77" && break
16014
 
done
16015
 
test -n "$MPIF77" || MPIF77="$F77"
16016
 
 
16017
 
        ax_mpi_save_F77="$F77"
16018
 
        F77="$MPIF77"
16019
 
        
16020
 
 
16021
 
 
16022
 
if test x = x"$MPILIBS"; then
16023
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init" >&5
16024
 
$as_echo_n "checking for MPI_Init... " >&6; }
16025
 
                        cat > conftest.$ac_ext <<_ACEOF
16026
 
      program main
16027
 
      call MPI_Init
16028
 
      end
16029
 
_ACEOF
16030
 
if ac_fn_f77_try_link "$LINENO"; then :
16031
 
  MPILIBS=" "
16032
 
                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16033
 
$as_echo "yes" >&6; }
16034
 
else
16035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16036
 
$as_echo "no" >&6; }
16037
 
fi
16038
 
rm -f core conftest.err conftest.$ac_objext \
16039
 
    conftest$ac_exeext conftest.$ac_ext
16040
 
fi
16041
 
 
16042
 
        if test x = x"$MPILIBS"; then
16043
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lfmpi" >&5
16044
 
$as_echo_n "checking for MPI_Init in -lfmpi... " >&6; }
16045
 
if ${ac_cv_lib_fmpi_MPI_Init+:} false; then :
16046
 
  $as_echo_n "(cached) " >&6
16047
 
else
16048
 
  ac_check_lib_save_LIBS=$LIBS
16049
 
LIBS="-lfmpi  $LIBS"
16050
 
cat > conftest.$ac_ext <<_ACEOF
16051
 
      program main
16052
 
      call MPI_Init
16053
 
      end
16054
 
_ACEOF
16055
 
if ac_fn_f77_try_link "$LINENO"; then :
16056
 
  ac_cv_lib_fmpi_MPI_Init=yes
16057
 
else
16058
 
  ac_cv_lib_fmpi_MPI_Init=no
16059
 
fi
16060
 
rm -f core conftest.err conftest.$ac_objext \
16061
 
    conftest$ac_exeext conftest.$ac_ext
16062
 
LIBS=$ac_check_lib_save_LIBS
16063
 
fi
16064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fmpi_MPI_Init" >&5
16065
 
$as_echo "$ac_cv_lib_fmpi_MPI_Init" >&6; }
16066
 
if test "x$ac_cv_lib_fmpi_MPI_Init" = xyes; then :
16067
 
  MPILIBS="-lfmpi"
16068
 
fi
16069
 
 
16070
 
        fi
16071
 
        if test x = x"$MPILIBS"; then
16072
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lfmpich" >&5
16073
 
$as_echo_n "checking for MPI_Init in -lfmpich... " >&6; }
16074
 
if ${ac_cv_lib_fmpich_MPI_Init+:} false; then :
16075
 
  $as_echo_n "(cached) " >&6
16076
 
else
16077
 
  ac_check_lib_save_LIBS=$LIBS
16078
 
LIBS="-lfmpich  $LIBS"
16079
 
cat > conftest.$ac_ext <<_ACEOF
16080
 
      program main
16081
 
      call MPI_Init
16082
 
      end
16083
 
_ACEOF
16084
 
if ac_fn_f77_try_link "$LINENO"; then :
16085
 
  ac_cv_lib_fmpich_MPI_Init=yes
16086
 
else
16087
 
  ac_cv_lib_fmpich_MPI_Init=no
16088
 
fi
16089
 
rm -f core conftest.err conftest.$ac_objext \
16090
 
    conftest$ac_exeext conftest.$ac_ext
16091
 
LIBS=$ac_check_lib_save_LIBS
16092
 
fi
16093
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fmpich_MPI_Init" >&5
16094
 
$as_echo "$ac_cv_lib_fmpich_MPI_Init" >&6; }
16095
 
if test "x$ac_cv_lib_fmpich_MPI_Init" = xyes; then :
16096
 
  MPILIBS="-lfmpich"
16097
 
fi
16098
 
 
16099
 
        fi
16100
 
 
16101
 
if test x = x"$MPILIBS"; then
16102
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5
16103
 
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; }
16104
 
if ${ac_cv_lib_mpi_MPI_Init+:} false; then :
16105
 
  $as_echo_n "(cached) " >&6
16106
 
else
16107
 
  ac_check_lib_save_LIBS=$LIBS
16108
 
LIBS="-lmpi  $LIBS"
16109
 
cat > conftest.$ac_ext <<_ACEOF
16110
 
      program main
16111
 
      call MPI_Init
16112
 
      end
16113
 
_ACEOF
16114
 
if ac_fn_f77_try_link "$LINENO"; then :
16115
 
  ac_cv_lib_mpi_MPI_Init=yes
16116
 
else
16117
 
  ac_cv_lib_mpi_MPI_Init=no
16118
 
fi
16119
 
rm -f core conftest.err conftest.$ac_objext \
16120
 
    conftest$ac_exeext conftest.$ac_ext
16121
 
LIBS=$ac_check_lib_save_LIBS
16122
 
fi
16123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5
16124
 
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; }
16125
 
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then :
16126
 
  MPILIBS="-lmpi"
16127
 
fi
16128
 
 
16129
 
fi
16130
 
if test x = x"$MPILIBS"; then
16131
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5
16132
 
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; }
16133
 
if ${ac_cv_lib_mpich_MPI_Init+:} false; then :
16134
 
  $as_echo_n "(cached) " >&6
16135
 
else
16136
 
  ac_check_lib_save_LIBS=$LIBS
16137
 
LIBS="-lmpich  $LIBS"
16138
 
cat > conftest.$ac_ext <<_ACEOF
16139
 
      program main
16140
 
      call MPI_Init
16141
 
      end
16142
 
_ACEOF
16143
 
if ac_fn_f77_try_link "$LINENO"; then :
16144
 
  ac_cv_lib_mpich_MPI_Init=yes
16145
 
else
16146
 
  ac_cv_lib_mpich_MPI_Init=no
16147
 
fi
16148
 
rm -f core conftest.err conftest.$ac_objext \
16149
 
    conftest$ac_exeext conftest.$ac_ext
16150
 
LIBS=$ac_check_lib_save_LIBS
16151
 
fi
16152
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5
16153
 
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; }
16154
 
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then :
16155
 
  MPILIBS="-lmpich"
16156
 
fi
16157
 
 
16158
 
fi
16159
 
 
16160
 
if test x != x"$MPILIBS"; then
16161
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpif.h" >&5
16162
 
$as_echo_n "checking for mpif.h... " >&6; }
16163
 
        cat > conftest.$ac_ext <<_ACEOF
16164
 
      program main
16165
 
      include 'mpif.h'
16166
 
      end
16167
 
_ACEOF
16168
 
if ac_fn_f77_try_compile "$LINENO"; then :
16169
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16170
 
$as_echo "yes" >&6; }
16171
 
else
16172
 
  MPILIBS=""
16173
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16174
 
$as_echo "no" >&6; }
16175
 
fi
16176
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16177
 
fi
16178
 
 
16179
 
F77="$ax_mpi_save_F77"
16180
 
 
16181
 
 
16182
 
 
16183
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16184
 
if test x = x"$MPILIBS"; then
16185
 
        as_fn_error $? "could not compile a MPI test program" "$LINENO" 5
16186
 
        :
16187
 
else
16188
 
        
16189
 
$as_echo "@%:@define HAVE_MPI 1" >>confdefs.h
16190
 
 
16191
 
        :
16192
 
fi
16193
 
 
16194
 
  ac_ext=c
16195
 
ac_cpp='$CPP $CPPFLAGS'
16196
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16197
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16198
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16199
 
 
16200
 
fi
16201
 
 
16202
 
if test x"$enable_mpi" = x"yes"; then
16203
 
   MPIDIR=PARPACK
16204
 
fi
16205
 
 
16206
 
 
16207
 
#       LAPACK/Makefile
16208
 
 
16209
 
ac_config_files="$ac_config_files Makefile SRC/Makefile UTIL/Makefile PARPACK/Makefile PARPACK/SRC/Makefile PARPACK/SRC/MPI/Makefile PARPACK/UTIL/Makefile PARPACK/UTIL/MPI/Makefile"
16210
 
 
16211
 
cat >confcache <<\_ACEOF
16212
 
# This file is a shell script that caches the results of configure
16213
 
# tests run on this system so they can be shared between configure
16214
 
# scripts and configure runs, see configure's option --config-cache.
16215
 
# It is not useful on other systems.  If it contains results you don't
16216
 
# want to keep, you may remove or edit it.
16217
 
#
16218
 
# config.status only pays attention to the cache file if you give it
16219
 
# the --recheck option to rerun configure.
16220
 
#
16221
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16222
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16223
 
# following values.
16224
 
 
16225
 
_ACEOF
16226
 
 
16227
 
# The following way of writing the cache mishandles newlines in values,
16228
 
# but we know of no workaround that is simple, portable, and efficient.
16229
 
# So, we kill variables containing newlines.
16230
 
# Ultrix sh set writes to stderr and can't be redirected directly,
16231
 
# and sets the high bit in the cache file unless we assign to the vars.
16232
 
(
16233
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16234
 
    eval ac_val=\$$ac_var
16235
 
    case $ac_val in #(
16236
 
    *${as_nl}*)
16237
 
      case $ac_var in #(
16238
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16239
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16240
 
      esac
16241
 
      case $ac_var in #(
16242
 
      _ | IFS | as_nl) ;; #(
16243
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16244
 
      *) { eval $ac_var=; unset $ac_var;} ;;
16245
 
      esac ;;
16246
 
    esac
16247
 
  done
16248
 
 
16249
 
  (set) 2>&1 |
16250
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16251
 
    *${as_nl}ac_space=\ *)
16252
 
      # `set' does not quote correctly, so add quotes: double-quote
16253
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16254
 
      sed -n \
16255
 
        "s/'/'\\\\''/g;
16256
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16257
 
      ;; #(
16258
 
    *)
16259
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
16260
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16261
 
      ;;
16262
 
    esac |
16263
 
    sort
16264
 
) |
16265
 
  sed '
16266
 
     /^ac_cv_env_/b end
16267
 
     t clear
16268
 
     :clear
16269
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16270
 
     t end
16271
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16272
 
     :end' >>confcache
16273
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16274
 
  if test -w "$cache_file"; then
16275
 
    if test "x$cache_file" != "x/dev/null"; then
16276
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16277
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
16278
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
16279
 
        cat confcache >"$cache_file"
16280
 
      else
16281
 
        case $cache_file in #(
16282
 
        */* | ?:*)
16283
 
          mv -f confcache "$cache_file"$$ &&
16284
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
16285
 
        *)
16286
 
          mv -f confcache "$cache_file" ;;
16287
 
        esac
16288
 
      fi
16289
 
    fi
16290
 
  else
16291
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16292
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16293
 
  fi
16294
 
fi
16295
 
rm -f confcache
16296
 
 
16297
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16298
 
# Let make expand exec_prefix.
16299
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16300
 
 
16301
 
# Transform confdefs.h into DEFS.
16302
 
# Protect against shell expansion while executing Makefile rules.
16303
 
# Protect against Makefile macro expansion.
16304
 
#
16305
 
# If the first sed substitution is executed (which looks for macros that
16306
 
# take arguments), then branch to the quote section.  Otherwise,
16307
 
# look for a macro that doesn't take arguments.
16308
 
ac_script='
16309
 
:mline
16310
 
/\\$/{
16311
 
 N
16312
 
 s,\\\n,,
16313
 
 b mline
16314
 
}
16315
 
t clear
16316
 
:clear
16317
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
16318
 
t quote
16319
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
16320
 
t quote
16321
 
b any
16322
 
:quote
16323
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16324
 
s/\[/\\&/g
16325
 
s/\]/\\&/g
16326
 
s/\$/$$/g
16327
 
H
16328
 
:any
16329
 
${
16330
 
        g
16331
 
        s/^\n//
16332
 
        s/\n/ /g
16333
 
        p
16334
 
}
16335
 
'
16336
 
DEFS=`sed -n "$ac_script" confdefs.h`
16337
 
 
16338
 
 
16339
 
ac_libobjs=
16340
 
ac_ltlibobjs=
16341
 
U=
16342
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
16343
 
  # 1. Remove the extension, and $U if already installed.
16344
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16345
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16346
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16347
 
  #    will be set to the directory where LIBOBJS objects are built.
16348
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16349
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16350
 
done
16351
 
LIB@&t@OBJS=$ac_libobjs
16352
 
 
16353
 
LTLIBOBJS=$ac_ltlibobjs
16354
 
 
16355
 
 
16356
 
 if test -n "$EXEEXT"; then
16357
 
  am__EXEEXT_TRUE=
16358
 
  am__EXEEXT_FALSE='#'
16359
 
else
16360
 
  am__EXEEXT_TRUE='#'
16361
 
  am__EXEEXT_FALSE=
16362
 
fi
16363
 
 
16364
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16365
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
16366
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16367
 
fi
16368
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16369
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16370
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16371
 
fi
16372
 
 
16373
 
: "${CONFIG_STATUS=./config.status}"
16374
 
ac_write_fail=0
16375
 
ac_clean_files_save=$ac_clean_files
16376
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16378
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16379
 
as_write_fail=0
16380
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16381
 
#! $SHELL
16382
 
# Generated by $as_me.
16383
 
# Run this file to recreate the current configuration.
16384
 
# Compiler output produced by configure, useful for debugging
16385
 
# configure, is in config.log if it exists.
16386
 
 
16387
 
debug=false
16388
 
ac_cs_recheck=false
16389
 
ac_cs_silent=false
16390
 
 
16391
 
SHELL=\${CONFIG_SHELL-$SHELL}
16392
 
export SHELL
16393
 
_ASEOF
16394
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16395
 
## -------------------- ##
16396
 
## M4sh Initialization. ##
16397
 
## -------------------- ##
16398
 
 
16399
 
# Be more Bourne compatible
16400
 
DUALCASE=1; export DUALCASE # for MKS sh
16401
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16402
 
  emulate sh
16403
 
  NULLCMD=:
16404
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16405
 
  # is contrary to our usage.  Disable this feature.
16406
 
  alias -g '${1+"$@"}'='"$@"'
16407
 
  setopt NO_GLOB_SUBST
16408
 
else
16409
 
  case `(set -o) 2>/dev/null` in @%:@(
16410
 
  *posix*) :
16411
 
    set -o posix ;; @%:@(
16412
 
  *) :
16413
 
     ;;
16414
 
esac
16415
 
fi
16416
 
 
16417
 
 
16418
 
as_nl='
16419
 
'
16420
 
export as_nl
16421
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16422
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16423
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16424
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16425
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
16426
 
# but without wasting forks for bash or zsh.
16427
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
16428
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16429
 
  as_echo='print -r --'
16430
 
  as_echo_n='print -rn --'
16431
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16432
 
  as_echo='printf %s\n'
16433
 
  as_echo_n='printf %s'
16434
 
else
16435
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16436
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16437
 
    as_echo_n='/usr/ucb/echo -n'
16438
 
  else
16439
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16440
 
    as_echo_n_body='eval
16441
 
      arg=$1;
16442
 
      case $arg in @%:@(
16443
 
      *"$as_nl"*)
16444
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
16445
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16446
 
      esac;
16447
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16448
 
    '
16449
 
    export as_echo_n_body
16450
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
16451
 
  fi
16452
 
  export as_echo_body
16453
 
  as_echo='sh -c $as_echo_body as_echo'
16454
 
fi
16455
 
 
16456
 
# The user is always right.
16457
 
if test "${PATH_SEPARATOR+set}" != set; then
16458
 
  PATH_SEPARATOR=:
16459
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16460
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16461
 
      PATH_SEPARATOR=';'
16462
 
  }
16463
 
fi
16464
 
 
16465
 
 
16466
 
# IFS
16467
 
# We need space, tab and new line, in precisely that order.  Quoting is
16468
 
# there to prevent editors from complaining about space-tab.
16469
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16470
 
# splitting by setting IFS to empty value.)
16471
 
IFS=" ""        $as_nl"
16472
 
 
16473
 
# Find who we are.  Look in the path if we contain no directory separator.
16474
 
as_myself=
16475
 
case $0 in @%:@((
16476
 
  *[\\/]* ) as_myself=$0 ;;
16477
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16478
 
for as_dir in $PATH
16479
 
do
16480
 
  IFS=$as_save_IFS
16481
 
  test -z "$as_dir" && as_dir=.
16482
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16483
 
  done
16484
 
IFS=$as_save_IFS
16485
 
 
16486
 
     ;;
16487
 
esac
16488
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
16489
 
# in which case we are not to be found in the path.
16490
 
if test "x$as_myself" = x; then
16491
 
  as_myself=$0
16492
 
fi
16493
 
if test ! -f "$as_myself"; then
16494
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16495
 
  exit 1
16496
 
fi
16497
 
 
16498
 
# Unset variables that we do not need and which cause bugs (e.g. in
16499
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16500
 
# suppresses any "Segmentation fault" message there.  '((' could
16501
 
# trigger a bug in pdksh 5.2.14.
16502
 
for as_var in BASH_ENV ENV MAIL MAILPATH
16503
 
do eval test x\${$as_var+set} = xset \
16504
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16505
 
done
16506
 
PS1='$ '
16507
 
PS2='> '
16508
 
PS4='+ '
16509
 
 
16510
 
# NLS nuisances.
16511
 
LC_ALL=C
16512
 
export LC_ALL
16513
 
LANGUAGE=C
16514
 
export LANGUAGE
16515
 
 
16516
 
# CDPATH.
16517
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16518
 
 
16519
 
 
16520
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
16521
 
@%:@ ----------------------------------------
16522
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16523
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16524
 
@%:@ script with STATUS, using 1 if that was 0.
16525
 
as_fn_error ()
16526
 
{
16527
 
  as_status=$1; test $as_status -eq 0 && as_status=1
16528
 
  if test "$4"; then
16529
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16530
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16531
 
  fi
16532
 
  $as_echo "$as_me: error: $2" >&2
16533
 
  as_fn_exit $as_status
16534
 
} @%:@ as_fn_error
16535
 
 
16536
 
 
16537
 
@%:@ as_fn_set_status STATUS
16538
 
@%:@ -----------------------
16539
 
@%:@ Set @S|@? to STATUS, without forking.
16540
 
as_fn_set_status ()
16541
 
{
16542
 
  return $1
16543
 
} @%:@ as_fn_set_status
16544
 
 
16545
 
@%:@ as_fn_exit STATUS
16546
 
@%:@ -----------------
16547
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16548
 
as_fn_exit ()
16549
 
{
16550
 
  set +e
16551
 
  as_fn_set_status $1
16552
 
  exit $1
16553
 
} @%:@ as_fn_exit
16554
 
 
16555
 
@%:@ as_fn_unset VAR
16556
 
@%:@ ---------------
16557
 
@%:@ Portably unset VAR.
16558
 
as_fn_unset ()
16559
 
{
16560
 
  { eval $1=; unset $1;}
16561
 
}
16562
 
as_unset=as_fn_unset
16563
 
@%:@ as_fn_append VAR VALUE
16564
 
@%:@ ----------------------
16565
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16566
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
16567
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
16568
 
@%:@ implementations.
16569
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16570
 
  eval 'as_fn_append ()
16571
 
  {
16572
 
    eval $1+=\$2
16573
 
  }'
16574
 
else
16575
 
  as_fn_append ()
16576
 
  {
16577
 
    eval $1=\$$1\$2
16578
 
  }
16579
 
fi # as_fn_append
16580
 
 
16581
 
@%:@ as_fn_arith ARG...
16582
 
@%:@ ------------------
16583
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16584
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16585
 
@%:@ must be portable across @S|@(()) and expr.
16586
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16587
 
  eval 'as_fn_arith ()
16588
 
  {
16589
 
    as_val=$(( $* ))
16590
 
  }'
16591
 
else
16592
 
  as_fn_arith ()
16593
 
  {
16594
 
    as_val=`expr "$@" || test $? -eq 1`
16595
 
  }
16596
 
fi # as_fn_arith
16597
 
 
16598
 
 
16599
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
16600
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16601
 
  as_expr=expr
16602
 
else
16603
 
  as_expr=false
16604
 
fi
16605
 
 
16606
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16607
 
  as_basename=basename
16608
 
else
16609
 
  as_basename=false
16610
 
fi
16611
 
 
16612
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16613
 
  as_dirname=dirname
16614
 
else
16615
 
  as_dirname=false
16616
 
fi
16617
 
 
16618
 
as_me=`$as_basename -- "$0" ||
16619
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16620
 
         X"$0" : 'X\(//\)$' \| \
16621
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16622
 
$as_echo X/"$0" |
16623
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
16624
 
            s//\1/
16625
 
            q
16626
 
          }
16627
 
          /^X\/\(\/\/\)$/{
16628
 
            s//\1/
16629
 
            q
16630
 
          }
16631
 
          /^X\/\(\/\).*/{
16632
 
            s//\1/
16633
 
            q
16634
 
          }
16635
 
          s/.*/./; q'`
16636
 
 
16637
 
# Avoid depending upon Character Ranges.
16638
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16639
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16640
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16641
 
as_cr_digits='0123456789'
16642
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16643
 
 
16644
 
ECHO_C= ECHO_N= ECHO_T=
16645
 
case `echo -n x` in @%:@(((((
16646
 
-n*)
16647
 
  case `echo 'xy\c'` in
16648
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16649
 
  xy)  ECHO_C='\c';;
16650
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16651
 
       ECHO_T=' ';;
16652
 
  esac;;
16653
 
*)
16654
 
  ECHO_N='-n';;
16655
 
esac
16656
 
 
16657
 
rm -f conf$$ conf$$.exe conf$$.file
16658
 
if test -d conf$$.dir; then
16659
 
  rm -f conf$$.dir/conf$$.file
16660
 
else
16661
 
  rm -f conf$$.dir
16662
 
  mkdir conf$$.dir 2>/dev/null
16663
 
fi
16664
 
if (echo >conf$$.file) 2>/dev/null; then
16665
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
16666
 
    as_ln_s='ln -s'
16667
 
    # ... but there are two gotchas:
16668
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16669
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16670
 
    # In both cases, we have to default to `cp -p'.
16671
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16672
 
      as_ln_s='cp -p'
16673
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
16674
 
    as_ln_s=ln
16675
 
  else
16676
 
    as_ln_s='cp -p'
16677
 
  fi
16678
 
else
16679
 
  as_ln_s='cp -p'
16680
 
fi
16681
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16682
 
rmdir conf$$.dir 2>/dev/null
16683
 
 
16684
 
 
16685
 
@%:@ as_fn_mkdir_p
16686
 
@%:@ -------------
16687
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
16688
 
as_fn_mkdir_p ()
16689
 
{
16690
 
 
16691
 
  case $as_dir in #(
16692
 
  -*) as_dir=./$as_dir;;
16693
 
  esac
16694
 
  test -d "$as_dir" || eval $as_mkdir_p || {
16695
 
    as_dirs=
16696
 
    while :; do
16697
 
      case $as_dir in #(
16698
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16699
 
      *) as_qdir=$as_dir;;
16700
 
      esac
16701
 
      as_dirs="'$as_qdir' $as_dirs"
16702
 
      as_dir=`$as_dirname -- "$as_dir" ||
16703
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16704
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16705
 
         X"$as_dir" : 'X\(//\)$' \| \
16706
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16707
 
$as_echo X"$as_dir" |
16708
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16709
 
            s//\1/
16710
 
            q
16711
 
          }
16712
 
          /^X\(\/\/\)[^/].*/{
16713
 
            s//\1/
16714
 
            q
16715
 
          }
16716
 
          /^X\(\/\/\)$/{
16717
 
            s//\1/
16718
 
            q
16719
 
          }
16720
 
          /^X\(\/\).*/{
16721
 
            s//\1/
16722
 
            q
16723
 
          }
16724
 
          s/.*/./; q'`
16725
 
      test -d "$as_dir" && break
16726
 
    done
16727
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16728
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16729
 
 
16730
 
 
16731
 
} @%:@ as_fn_mkdir_p
16732
 
if mkdir -p . 2>/dev/null; then
16733
 
  as_mkdir_p='mkdir -p "$as_dir"'
16734
 
else
16735
 
  test -d ./-p && rmdir ./-p
16736
 
  as_mkdir_p=false
16737
 
fi
16738
 
 
16739
 
if test -x / >/dev/null 2>&1; then
16740
 
  as_test_x='test -x'
16741
 
else
16742
 
  if ls -dL / >/dev/null 2>&1; then
16743
 
    as_ls_L_option=L
16744
 
  else
16745
 
    as_ls_L_option=
16746
 
  fi
16747
 
  as_test_x='
16748
 
    eval sh -c '\''
16749
 
      if test -d "$1"; then
16750
 
        test -d "$1/.";
16751
 
      else
16752
 
        case $1 in @%:@(
16753
 
        -*)set "./$1";;
16754
 
        esac;
16755
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
16756
 
        ???[sx]*):;;*)false;;esac;fi
16757
 
    '\'' sh
16758
 
  '
16759
 
fi
16760
 
as_executable_p=$as_test_x
16761
 
 
16762
 
# Sed expression to map a string onto a valid CPP name.
16763
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16764
 
 
16765
 
# Sed expression to map a string onto a valid variable name.
16766
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16767
 
 
16768
 
 
16769
 
exec 6>&1
16770
 
## ----------------------------------- ##
16771
 
## Main body of $CONFIG_STATUS script. ##
16772
 
## ----------------------------------- ##
16773
 
_ASEOF
16774
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16775
 
 
16776
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16777
 
# Save the log message, to keep $0 and so on meaningful, and to
16778
 
# report actual input values of CONFIG_FILES etc. instead of their
16779
 
# values after options handling.
16780
 
ac_log="
16781
 
This file was extended by arpack $as_me 96, which was
16782
 
generated by GNU Autoconf 2.68.  Invocation command line was
16783
 
 
16784
 
  CONFIG_FILES    = $CONFIG_FILES
16785
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
16786
 
  CONFIG_LINKS    = $CONFIG_LINKS
16787
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16788
 
  $ $0 $@
16789
 
 
16790
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16791
 
"
16792
 
 
16793
 
_ACEOF
16794
 
 
16795
 
case $ac_config_files in *"
16796
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16797
 
esac
16798
 
 
16799
 
 
16800
 
 
16801
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16802
 
# Files that config.status was made for.
16803
 
config_files="$ac_config_files"
16804
 
config_commands="$ac_config_commands"
16805
 
 
16806
 
_ACEOF
16807
 
 
16808
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16809
 
ac_cs_usage="\
16810
 
\`$as_me' instantiates files and other configuration actions
16811
 
from templates according to the current configuration.  Unless the files
16812
 
and actions are specified as TAGs, all are instantiated by default.
16813
 
 
16814
 
Usage: $0 [OPTION]... [TAG]...
16815
 
 
16816
 
  -h, --help       print this help, then exit
16817
 
  -V, --version    print version number and configuration settings, then exit
16818
 
      --config     print configuration, then exit
16819
 
  -q, --quiet, --silent
16820
 
                   do not print progress messages
16821
 
  -d, --debug      don't remove temporary files
16822
 
      --recheck    update $as_me by reconfiguring in the same conditions
16823
 
      --file=FILE[:TEMPLATE] 
16824
 
                   instantiate the configuration file FILE
16825
 
 
16826
 
Configuration files:
16827
 
$config_files
16828
 
 
16829
 
Configuration commands:
16830
 
$config_commands
16831
 
 
16832
 
Report bugs to <arpack@caam.rice.edu>."
16833
 
 
16834
 
_ACEOF
16835
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16836
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16837
 
ac_cs_version="\\
16838
 
arpack config.status 96
16839
 
configured by $0, generated by GNU Autoconf 2.68,
16840
 
  with options \\"\$ac_cs_config\\"
16841
 
 
16842
 
Copyright (C) 2010 Free Software Foundation, Inc.
16843
 
This config.status script is free software; the Free Software Foundation
16844
 
gives unlimited permission to copy, distribute and modify it."
16845
 
 
16846
 
ac_pwd='$ac_pwd'
16847
 
srcdir='$srcdir'
16848
 
INSTALL='$INSTALL'
16849
 
MKDIR_P='$MKDIR_P'
16850
 
AWK='$AWK'
16851
 
test -n "\$AWK" || AWK=awk
16852
 
_ACEOF
16853
 
 
16854
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16855
 
# The default lists apply if the user does not specify any file.
16856
 
ac_need_defaults=:
16857
 
while test $# != 0
16858
 
do
16859
 
  case $1 in
16860
 
  --*=?*)
16861
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16862
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16863
 
    ac_shift=:
16864
 
    ;;
16865
 
  --*=)
16866
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16867
 
    ac_optarg=
16868
 
    ac_shift=:
16869
 
    ;;
16870
 
  *)
16871
 
    ac_option=$1
16872
 
    ac_optarg=$2
16873
 
    ac_shift=shift
16874
 
    ;;
16875
 
  esac
16876
 
 
16877
 
  case $ac_option in
16878
 
  # Handling of the options.
16879
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16880
 
    ac_cs_recheck=: ;;
16881
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16882
 
    $as_echo "$ac_cs_version"; exit ;;
16883
 
  --config | --confi | --conf | --con | --co | --c )
16884
 
    $as_echo "$ac_cs_config"; exit ;;
16885
 
  --debug | --debu | --deb | --de | --d | -d )
16886
 
    debug=: ;;
16887
 
  --file | --fil | --fi | --f )
16888
 
    $ac_shift
16889
 
    case $ac_optarg in
16890
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16891
 
    '') as_fn_error $? "missing file argument" ;;
16892
 
    esac
16893
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16894
 
    ac_need_defaults=false;;
16895
 
  --he | --h |  --help | --hel | -h )
16896
 
    $as_echo "$ac_cs_usage"; exit ;;
16897
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16898
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16899
 
    ac_cs_silent=: ;;
16900
 
 
16901
 
  # This is an error.
16902
 
  -*) as_fn_error $? "unrecognized option: \`$1'
16903
 
Try \`$0 --help' for more information." ;;
16904
 
 
16905
 
  *) as_fn_append ac_config_targets " $1"
16906
 
     ac_need_defaults=false ;;
16907
 
 
16908
 
  esac
16909
 
  shift
16910
 
done
16911
 
 
16912
 
ac_configure_extra_args=
16913
 
 
16914
 
if $ac_cs_silent; then
16915
 
  exec 6>/dev/null
16916
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16917
 
fi
16918
 
 
16919
 
_ACEOF
16920
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16921
 
if \$ac_cs_recheck; then
16922
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16923
 
  shift
16924
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16925
 
  CONFIG_SHELL='$SHELL'
16926
 
  export CONFIG_SHELL
16927
 
  exec "\$@"
16928
 
fi
16929
 
 
16930
 
_ACEOF
16931
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16932
 
exec 5>>config.log
16933
 
{
16934
 
  echo
16935
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16936
 
@%:@@%:@ Running $as_me. @%:@@%:@
16937
 
_ASBOX
16938
 
  $as_echo "$ac_log"
16939
 
} >&5
16940
 
 
16941
 
_ACEOF
16942
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16943
 
#
16944
 
# INIT-COMMANDS
16945
 
#
16946
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16947
 
 
16948
 
 
16949
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
16950
 
# if CDPATH is set.
16951
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16952
 
 
16953
 
sed_quote_subst='$sed_quote_subst'
16954
 
double_quote_subst='$double_quote_subst'
16955
 
delay_variable_subst='$delay_variable_subst'
16956
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16957
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16958
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16959
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16960
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16961
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16962
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16963
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16964
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16965
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16966
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16967
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16968
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16969
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16970
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16971
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16972
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16973
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16974
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16975
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16976
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16977
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16978
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16979
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16980
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16981
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16982
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16983
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16984
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16985
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16986
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16987
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16988
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16989
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16990
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16991
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16992
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16993
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16994
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16995
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16996
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16997
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16998
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16999
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17000
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17001
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17002
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17003
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17004
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17005
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17006
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17007
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17008
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17009
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17010
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17011
 
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"`'
17012
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17013
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17014
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17015
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17016
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17017
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17018
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17019
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17020
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17021
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17022
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17023
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17024
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17025
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17026
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17027
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17028
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17029
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17030
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17031
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17032
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17033
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17034
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17035
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17036
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17037
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17038
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17039
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17040
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17041
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17042
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17043
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17044
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17045
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17046
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17047
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17048
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17049
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17050
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17051
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17052
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17053
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17054
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17055
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17056
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17057
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17058
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17059
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17060
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17061
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17062
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17063
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17064
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17065
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17066
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17067
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17068
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17069
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17070
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17071
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17072
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17073
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17074
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17075
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17076
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17077
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17078
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17079
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17080
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17081
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17082
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17083
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17084
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17085
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17086
 
LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
17087
 
reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
17088
 
reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
17089
 
old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
17090
 
compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
17091
 
GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
17092
 
lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
17093
 
lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
17094
 
lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
17095
 
lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
17096
 
lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
17097
 
archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
17098
 
enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
17099
 
export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
17100
 
whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
17101
 
compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
17102
 
old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
17103
 
old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
17104
 
archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
17105
 
archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
17106
 
module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
17107
 
module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
17108
 
with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
17109
 
allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
17110
 
no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
17111
 
hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
17112
 
hardcode_libdir_flag_spec_ld_F77='`$ECHO "$hardcode_libdir_flag_spec_ld_F77" | $SED "$delay_single_quote_subst"`'
17113
 
hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
17114
 
hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
17115
 
hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
17116
 
hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
17117
 
hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
17118
 
hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
17119
 
inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
17120
 
link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
17121
 
always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
17122
 
export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
17123
 
exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
17124
 
include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
17125
 
prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
17126
 
postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
17127
 
file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
17128
 
hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
17129
 
 
17130
 
LTCC='$LTCC'
17131
 
LTCFLAGS='$LTCFLAGS'
17132
 
compiler='$compiler_DEFAULT'
17133
 
 
17134
 
# A function that is used when there is no print builtin or printf.
17135
 
func_fallback_echo ()
17136
 
{
17137
 
  eval 'cat <<_LTECHO_EOF
17138
 
\$1
17139
 
_LTECHO_EOF'
17140
 
}
17141
 
 
17142
 
# Quote evaled strings.
17143
 
for var in SHELL \
17144
 
ECHO \
17145
 
SED \
17146
 
GREP \
17147
 
EGREP \
17148
 
FGREP \
17149
 
LD \
17150
 
NM \
17151
 
LN_S \
17152
 
lt_SP2NL \
17153
 
lt_NL2SP \
17154
 
reload_flag \
17155
 
OBJDUMP \
17156
 
deplibs_check_method \
17157
 
file_magic_cmd \
17158
 
file_magic_glob \
17159
 
want_nocaseglob \
17160
 
DLLTOOL \
17161
 
sharedlib_from_linklib_cmd \
17162
 
AR \
17163
 
AR_FLAGS \
17164
 
archiver_list_spec \
17165
 
STRIP \
17166
 
RANLIB \
17167
 
CC \
17168
 
CFLAGS \
17169
 
compiler \
17170
 
lt_cv_sys_global_symbol_pipe \
17171
 
lt_cv_sys_global_symbol_to_cdecl \
17172
 
lt_cv_sys_global_symbol_to_c_name_address \
17173
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17174
 
nm_file_list_spec \
17175
 
lt_prog_compiler_no_builtin_flag \
17176
 
lt_prog_compiler_pic \
17177
 
lt_prog_compiler_wl \
17178
 
lt_prog_compiler_static \
17179
 
lt_cv_prog_compiler_c_o \
17180
 
need_locks \
17181
 
MANIFEST_TOOL \
17182
 
DSYMUTIL \
17183
 
NMEDIT \
17184
 
LIPO \
17185
 
OTOOL \
17186
 
OTOOL64 \
17187
 
shrext_cmds \
17188
 
export_dynamic_flag_spec \
17189
 
whole_archive_flag_spec \
17190
 
compiler_needs_object \
17191
 
with_gnu_ld \
17192
 
allow_undefined_flag \
17193
 
no_undefined_flag \
17194
 
hardcode_libdir_flag_spec \
17195
 
hardcode_libdir_flag_spec_ld \
17196
 
hardcode_libdir_separator \
17197
 
exclude_expsyms \
17198
 
include_expsyms \
17199
 
file_list_spec \
17200
 
variables_saved_for_relink \
17201
 
libname_spec \
17202
 
library_names_spec \
17203
 
soname_spec \
17204
 
install_override_mode \
17205
 
finish_eval \
17206
 
old_striplib \
17207
 
striplib \
17208
 
LD_F77 \
17209
 
reload_flag_F77 \
17210
 
compiler_F77 \
17211
 
lt_prog_compiler_no_builtin_flag_F77 \
17212
 
lt_prog_compiler_pic_F77 \
17213
 
lt_prog_compiler_wl_F77 \
17214
 
lt_prog_compiler_static_F77 \
17215
 
lt_cv_prog_compiler_c_o_F77 \
17216
 
export_dynamic_flag_spec_F77 \
17217
 
whole_archive_flag_spec_F77 \
17218
 
compiler_needs_object_F77 \
17219
 
with_gnu_ld_F77 \
17220
 
allow_undefined_flag_F77 \
17221
 
no_undefined_flag_F77 \
17222
 
hardcode_libdir_flag_spec_F77 \
17223
 
hardcode_libdir_flag_spec_ld_F77 \
17224
 
hardcode_libdir_separator_F77 \
17225
 
exclude_expsyms_F77 \
17226
 
include_expsyms_F77 \
17227
 
file_list_spec_F77; do
17228
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17229
 
    *[\\\\\\\`\\"\\\$]*)
17230
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17231
 
      ;;
17232
 
    *)
17233
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17234
 
      ;;
17235
 
    esac
17236
 
done
17237
 
 
17238
 
# Double-quote double-evaled strings.
17239
 
for var in reload_cmds \
17240
 
old_postinstall_cmds \
17241
 
old_postuninstall_cmds \
17242
 
old_archive_cmds \
17243
 
extract_expsyms_cmds \
17244
 
old_archive_from_new_cmds \
17245
 
old_archive_from_expsyms_cmds \
17246
 
archive_cmds \
17247
 
archive_expsym_cmds \
17248
 
module_cmds \
17249
 
module_expsym_cmds \
17250
 
export_symbols_cmds \
17251
 
prelink_cmds \
17252
 
postlink_cmds \
17253
 
postinstall_cmds \
17254
 
postuninstall_cmds \
17255
 
finish_cmds \
17256
 
sys_lib_search_path_spec \
17257
 
sys_lib_dlsearch_path_spec \
17258
 
reload_cmds_F77 \
17259
 
old_archive_cmds_F77 \
17260
 
old_archive_from_new_cmds_F77 \
17261
 
old_archive_from_expsyms_cmds_F77 \
17262
 
archive_cmds_F77 \
17263
 
archive_expsym_cmds_F77 \
17264
 
module_cmds_F77 \
17265
 
module_expsym_cmds_F77 \
17266
 
export_symbols_cmds_F77 \
17267
 
prelink_cmds_F77 \
17268
 
postlink_cmds_F77; do
17269
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17270
 
    *[\\\\\\\`\\"\\\$]*)
17271
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17272
 
      ;;
17273
 
    *)
17274
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17275
 
      ;;
17276
 
    esac
17277
 
done
17278
 
 
17279
 
ac_aux_dir='$ac_aux_dir'
17280
 
xsi_shell='$xsi_shell'
17281
 
lt_shell_append='$lt_shell_append'
17282
 
 
17283
 
# See if we are running on zsh, and set the options which allow our
17284
 
# commands through without removal of \ escapes INIT.
17285
 
if test -n "\${ZSH_VERSION+set}" ; then
17286
 
   setopt NO_GLOB_SUBST
17287
 
fi
17288
 
 
17289
 
 
17290
 
    PACKAGE='$PACKAGE'
17291
 
    VERSION='$VERSION'
17292
 
    TIMESTAMP='$TIMESTAMP'
17293
 
    RM='$RM'
17294
 
    ofile='$ofile'
17295
 
 
17296
 
 
17297
 
 
17298
 
 
17299
 
 
17300
 
 
17301
 
_ACEOF
17302
 
 
17303
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17304
 
 
17305
 
# Handling of arguments.
17306
 
for ac_config_target in $ac_config_targets
17307
 
do
17308
 
  case $ac_config_target in
17309
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17310
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17311
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17312
 
    "SRC/Makefile") CONFIG_FILES="$CONFIG_FILES SRC/Makefile" ;;
17313
 
    "UTIL/Makefile") CONFIG_FILES="$CONFIG_FILES UTIL/Makefile" ;;
17314
 
    "PARPACK/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/Makefile" ;;
17315
 
    "PARPACK/SRC/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/SRC/Makefile" ;;
17316
 
    "PARPACK/SRC/MPI/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/SRC/MPI/Makefile" ;;
17317
 
    "PARPACK/UTIL/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/UTIL/Makefile" ;;
17318
 
    "PARPACK/UTIL/MPI/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/UTIL/MPI/Makefile" ;;
17319
 
 
17320
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17321
 
  esac
17322
 
done
17323
 
 
17324
 
 
17325
 
# If the user did not use the arguments to specify the items to instantiate,
17326
 
# then the envvar interface is used.  Set only those that are not.
17327
 
# We use the long form for the default assignment because of an extremely
17328
 
# bizarre bug on SunOS 4.1.3.
17329
 
if $ac_need_defaults; then
17330
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17331
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17332
 
fi
17333
 
 
17334
 
# Have a temporary directory for convenience.  Make it in the build tree
17335
 
# simply because there is no reason against having it here, and in addition,
17336
 
# creating and moving files from /tmp can sometimes cause problems.
17337
 
# Hook for its removal unless debugging.
17338
 
# Note that there is a small window in which the directory will not be cleaned:
17339
 
# after its creation but before its name has been assigned to `$tmp'.
17340
 
$debug ||
17341
 
{
17342
 
  tmp= ac_tmp=
17343
 
  trap 'exit_status=$?
17344
 
  : "${ac_tmp:=$tmp}"
17345
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17346
 
' 0
17347
 
  trap 'as_fn_exit 1' 1 2 13 15
17348
 
}
17349
 
# Create a (secure) tmp directory for tmp files.
17350
 
 
17351
 
{
17352
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17353
 
  test -d "$tmp"
17354
 
}  ||
17355
 
{
17356
 
  tmp=./conf$$-$RANDOM
17357
 
  (umask 077 && mkdir "$tmp")
17358
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17359
 
ac_tmp=$tmp
17360
 
 
17361
 
# Set up the scripts for CONFIG_FILES section.
17362
 
# No need to generate them if there are no CONFIG_FILES.
17363
 
# This happens for instance with `./config.status config.h'.
17364
 
if test -n "$CONFIG_FILES"; then
17365
 
 
17366
 
 
17367
 
ac_cr=`echo X | tr X '\015'`
17368
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17369
 
# But we know of no other shell where ac_cr would be empty at this
17370
 
# point, so we can use a bashism as a fallback.
17371
 
if test "x$ac_cr" = x; then
17372
 
  eval ac_cr=\$\'\\r\'
17373
 
fi
17374
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17375
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17376
 
  ac_cs_awk_cr='\\r'
17377
 
else
17378
 
  ac_cs_awk_cr=$ac_cr
17379
 
fi
17380
 
 
17381
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17382
 
_ACEOF
17383
 
 
17384
 
 
17385
 
{
17386
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
17387
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17388
 
  echo "_ACEOF"
17389
 
} >conf$$subs.sh ||
17390
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17391
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17392
 
ac_delim='%!_!# '
17393
 
for ac_last_try in false false false false false :; do
17394
 
  . ./conf$$subs.sh ||
17395
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17396
 
 
17397
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17398
 
  if test $ac_delim_n = $ac_delim_num; then
17399
 
    break
17400
 
  elif $ac_last_try; then
17401
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17402
 
  else
17403
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17404
 
  fi
17405
 
done
17406
 
rm -f conf$$subs.sh
17407
 
 
17408
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17409
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17410
 
_ACEOF
17411
 
sed -n '
17412
 
h
17413
 
s/^/S["/; s/!.*/"]=/
17414
 
p
17415
 
g
17416
 
s/^[^!]*!//
17417
 
:repl
17418
 
t repl
17419
 
s/'"$ac_delim"'$//
17420
 
t delim
17421
 
:nl
17422
 
h
17423
 
s/\(.\{148\}\)..*/\1/
17424
 
t more1
17425
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17426
 
p
17427
 
n
17428
 
b repl
17429
 
:more1
17430
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17431
 
p
17432
 
g
17433
 
s/.\{148\}//
17434
 
t nl
17435
 
:delim
17436
 
h
17437
 
s/\(.\{148\}\)..*/\1/
17438
 
t more2
17439
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
17440
 
p
17441
 
b
17442
 
:more2
17443
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17444
 
p
17445
 
g
17446
 
s/.\{148\}//
17447
 
t delim
17448
 
' <conf$$subs.awk | sed '
17449
 
/^[^""]/{
17450
 
  N
17451
 
  s/\n//
17452
 
}
17453
 
' >>$CONFIG_STATUS || ac_write_fail=1
17454
 
rm -f conf$$subs.awk
17455
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17456
 
_ACAWK
17457
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17458
 
  for (key in S) S_is_set[key] = 1
17459
 
  FS = ""
17460
 
 
17461
 
}
17462
 
{
17463
 
  line = $ 0
17464
 
  nfields = split(line, field, "@")
17465
 
  substed = 0
17466
 
  len = length(field[1])
17467
 
  for (i = 2; i < nfields; i++) {
17468
 
    key = field[i]
17469
 
    keylen = length(key)
17470
 
    if (S_is_set[key]) {
17471
 
      value = S[key]
17472
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17473
 
      len += length(value) + length(field[++i])
17474
 
      substed = 1
17475
 
    } else
17476
 
      len += 1 + keylen
17477
 
  }
17478
 
 
17479
 
  print line
17480
 
}
17481
 
 
17482
 
_ACAWK
17483
 
_ACEOF
17484
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17485
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17486
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17487
 
else
17488
 
  cat
17489
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17490
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17491
 
_ACEOF
17492
 
 
17493
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17494
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17495
 
# trailing colons and then remove the whole line if VPATH becomes empty
17496
 
# (actually we leave an empty line to preserve line numbers).
17497
 
if test "x$srcdir" = x.; then
17498
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17499
 
h
17500
 
s///
17501
 
s/^/:/
17502
 
s/[      ]*$/:/
17503
 
s/:\$(srcdir):/:/g
17504
 
s/:\${srcdir}:/:/g
17505
 
s/:@srcdir@:/:/g
17506
 
s/^:*//
17507
 
s/:*$//
17508
 
x
17509
 
s/\(=[   ]*\).*/\1/
17510
 
G
17511
 
s/\n//
17512
 
s/^[^=]*=[       ]*$//
17513
 
}'
17514
 
fi
17515
 
 
17516
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17517
 
fi # test -n "$CONFIG_FILES"
17518
 
 
17519
 
 
17520
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
17521
 
shift
17522
 
for ac_tag
17523
 
do
17524
 
  case $ac_tag in
17525
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
17526
 
  esac
17527
 
  case $ac_mode$ac_tag in
17528
 
  :[FHL]*:*);;
17529
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17530
 
  :[FH]-) ac_tag=-:-;;
17531
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17532
 
  esac
17533
 
  ac_save_IFS=$IFS
17534
 
  IFS=:
17535
 
  set x $ac_tag
17536
 
  IFS=$ac_save_IFS
17537
 
  shift
17538
 
  ac_file=$1
17539
 
  shift
17540
 
 
17541
 
  case $ac_mode in
17542
 
  :L) ac_source=$1;;
17543
 
  :[FH])
17544
 
    ac_file_inputs=
17545
 
    for ac_f
17546
 
    do
17547
 
      case $ac_f in
17548
 
      -) ac_f="$ac_tmp/stdin";;
17549
 
      *) # Look for the file first in the build tree, then in the source tree
17550
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
17551
 
         # because $ac_f cannot contain `:'.
17552
 
         test -f "$ac_f" ||
17553
 
           case $ac_f in
17554
 
           [\\/$]*) false;;
17555
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17556
 
           esac ||
17557
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17558
 
      esac
17559
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17560
 
      as_fn_append ac_file_inputs " '$ac_f'"
17561
 
    done
17562
 
 
17563
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
17564
 
    # use $as_me), people would be surprised to read:
17565
 
    #    /* config.h.  Generated by config.status.  */
17566
 
    configure_input='Generated from '`
17567
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17568
 
        `' by configure.'
17569
 
    if test x"$ac_file" != x-; then
17570
 
      configure_input="$ac_file.  $configure_input"
17571
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17572
 
$as_echo "$as_me: creating $ac_file" >&6;}
17573
 
    fi
17574
 
    # Neutralize special characters interpreted by sed in replacement strings.
17575
 
    case $configure_input in #(
17576
 
    *\&* | *\|* | *\\* )
17577
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
17578
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17579
 
    *) ac_sed_conf_input=$configure_input;;
17580
 
    esac
17581
 
 
17582
 
    case $ac_tag in
17583
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17584
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17585
 
    esac
17586
 
    ;;
17587
 
  esac
17588
 
 
17589
 
  ac_dir=`$as_dirname -- "$ac_file" ||
17590
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17591
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
17592
 
         X"$ac_file" : 'X\(//\)$' \| \
17593
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17594
 
$as_echo X"$ac_file" |
17595
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17596
 
            s//\1/
17597
 
            q
17598
 
          }
17599
 
          /^X\(\/\/\)[^/].*/{
17600
 
            s//\1/
17601
 
            q
17602
 
          }
17603
 
          /^X\(\/\/\)$/{
17604
 
            s//\1/
17605
 
            q
17606
 
          }
17607
 
          /^X\(\/\).*/{
17608
 
            s//\1/
17609
 
            q
17610
 
          }
17611
 
          s/.*/./; q'`
17612
 
  as_dir="$ac_dir"; as_fn_mkdir_p
17613
 
  ac_builddir=.
17614
 
 
17615
 
case "$ac_dir" in
17616
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17617
 
*)
17618
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17619
 
  # A ".." for each directory in $ac_dir_suffix.
17620
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17621
 
  case $ac_top_builddir_sub in
17622
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17623
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17624
 
  esac ;;
17625
 
esac
17626
 
ac_abs_top_builddir=$ac_pwd
17627
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17628
 
# for backward compatibility:
17629
 
ac_top_builddir=$ac_top_build_prefix
17630
 
 
17631
 
case $srcdir in
17632
 
  .)  # We are building in place.
17633
 
    ac_srcdir=.
17634
 
    ac_top_srcdir=$ac_top_builddir_sub
17635
 
    ac_abs_top_srcdir=$ac_pwd ;;
17636
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
17637
 
    ac_srcdir=$srcdir$ac_dir_suffix;
17638
 
    ac_top_srcdir=$srcdir
17639
 
    ac_abs_top_srcdir=$srcdir ;;
17640
 
  *) # Relative name.
17641
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17642
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
17643
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17644
 
esac
17645
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17646
 
 
17647
 
 
17648
 
  case $ac_mode in
17649
 
  :F)
17650
 
  #
17651
 
  # CONFIG_FILE
17652
 
  #
17653
 
 
17654
 
  case $INSTALL in
17655
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17656
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17657
 
  esac
17658
 
  ac_MKDIR_P=$MKDIR_P
17659
 
  case $MKDIR_P in
17660
 
  [\\/$]* | ?:[\\/]* ) ;;
17661
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17662
 
  esac
17663
 
_ACEOF
17664
 
 
17665
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17666
 
# If the template does not know about datarootdir, expand it.
17667
 
# FIXME: This hack should be removed a few years after 2.60.
17668
 
ac_datarootdir_hack=; ac_datarootdir_seen=
17669
 
ac_sed_dataroot='
17670
 
/datarootdir/ {
17671
 
  p
17672
 
  q
17673
 
}
17674
 
/@datadir@/p
17675
 
/@docdir@/p
17676
 
/@infodir@/p
17677
 
/@localedir@/p
17678
 
/@mandir@/p'
17679
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17680
 
*datarootdir*) ac_datarootdir_seen=yes;;
17681
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17683
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17684
 
_ACEOF
17685
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17686
 
  ac_datarootdir_hack='
17687
 
  s&@datadir@&$datadir&g
17688
 
  s&@docdir@&$docdir&g
17689
 
  s&@infodir@&$infodir&g
17690
 
  s&@localedir@&$localedir&g
17691
 
  s&@mandir@&$mandir&g
17692
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
17693
 
esac
17694
 
_ACEOF
17695
 
 
17696
 
# Neutralize VPATH when `$srcdir' = `.'.
17697
 
# Shell code in configure.ac might set extrasub.
17698
 
# FIXME: do we really want to maintain this feature?
17699
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17700
 
ac_sed_extra="$ac_vpsub
17701
 
$extrasub
17702
 
_ACEOF
17703
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17704
 
:t
17705
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17706
 
s|@configure_input@|$ac_sed_conf_input|;t t
17707
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
17708
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17709
 
s&@srcdir@&$ac_srcdir&;t t
17710
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17711
 
s&@top_srcdir@&$ac_top_srcdir&;t t
17712
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17713
 
s&@builddir@&$ac_builddir&;t t
17714
 
s&@abs_builddir@&$ac_abs_builddir&;t t
17715
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17716
 
s&@INSTALL@&$ac_INSTALL&;t t
17717
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17718
 
$ac_datarootdir_hack
17719
 
"
17720
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17721
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17722
 
 
17723
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17724
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17725
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17726
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17728
 
which seems to be undefined.  Please make sure it is defined" >&5
17729
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17730
 
which seems to be undefined.  Please make sure it is defined" >&2;}
17731
 
 
17732
 
  rm -f "$ac_tmp/stdin"
17733
 
  case $ac_file in
17734
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17735
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17736
 
  esac \
17737
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17738
 
 ;;
17739
 
  
17740
 
  
17741
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17742
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
17743
 
 ;;
17744
 
  esac
17745
 
 
17746
 
 
17747
 
  case $ac_file$ac_mode in
17748
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17749
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17750
 
  # are listed without --file.  Let's play safe and only enable the eval
17751
 
  # if we detect the quoting.
17752
 
  case $CONFIG_FILES in
17753
 
  *\'*) eval set x "$CONFIG_FILES" ;;
17754
 
  *)   set x $CONFIG_FILES ;;
17755
 
  esac
17756
 
  shift
17757
 
  for mf
17758
 
  do
17759
 
    # Strip MF so we end up with the name of the file.
17760
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17761
 
    # Check whether this is an Automake generated Makefile or not.
17762
 
    # We used to match only the files named `Makefile.in', but
17763
 
    # some people rename them; so instead we look at the file content.
17764
 
    # Grep'ing the first line is not enough: some people post-process
17765
 
    # each Makefile.in and add a new line on top of each file to say so.
17766
 
    # Grep'ing the whole file is not good either: AIX grep has a line
17767
 
    # limit of 2048, but all sed's we know have understand at least 4000.
17768
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17769
 
      dirpart=`$as_dirname -- "$mf" ||
17770
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17771
 
         X"$mf" : 'X\(//\)[^/]' \| \
17772
 
         X"$mf" : 'X\(//\)$' \| \
17773
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17774
 
$as_echo X"$mf" |
17775
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17776
 
            s//\1/
17777
 
            q
17778
 
          }
17779
 
          /^X\(\/\/\)[^/].*/{
17780
 
            s//\1/
17781
 
            q
17782
 
          }
17783
 
          /^X\(\/\/\)$/{
17784
 
            s//\1/
17785
 
            q
17786
 
          }
17787
 
          /^X\(\/\).*/{
17788
 
            s//\1/
17789
 
            q
17790
 
          }
17791
 
          s/.*/./; q'`
17792
 
    else
17793
 
      continue
17794
 
    fi
17795
 
    # Extract the definition of DEPDIR, am__include, and am__quote
17796
 
    # from the Makefile without running `make'.
17797
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17798
 
    test -z "$DEPDIR" && continue
17799
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17800
 
    test -z "am__include" && continue
17801
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17802
 
    # When using ansi2knr, U may be empty or an underscore; expand it
17803
 
    U=`sed -n 's/^U = //p' < "$mf"`
17804
 
    # Find all dependency output files, they are included files with
17805
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17806
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
17807
 
    # expansion.
17808
 
    for file in `sed -n "
17809
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17810
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17811
 
      # Make sure the directory exists.
17812
 
      test -f "$dirpart/$file" && continue
17813
 
      fdir=`$as_dirname -- "$file" ||
17814
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17815
 
         X"$file" : 'X\(//\)[^/]' \| \
17816
 
         X"$file" : 'X\(//\)$' \| \
17817
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17818
 
$as_echo X"$file" |
17819
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17820
 
            s//\1/
17821
 
            q
17822
 
          }
17823
 
          /^X\(\/\/\)[^/].*/{
17824
 
            s//\1/
17825
 
            q
17826
 
          }
17827
 
          /^X\(\/\/\)$/{
17828
 
            s//\1/
17829
 
            q
17830
 
          }
17831
 
          /^X\(\/\).*/{
17832
 
            s//\1/
17833
 
            q
17834
 
          }
17835
 
          s/.*/./; q'`
17836
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17837
 
      # echo "creating $dirpart/$file"
17838
 
      echo '# dummy' > "$dirpart/$file"
17839
 
    done
17840
 
  done
17841
 
}
17842
 
 ;;
17843
 
    "libtool":C) 
17844
 
    
17845
 
    # See if we are running on zsh, and set the options which allow our
17846
 
    # commands through without removal of \ escapes.
17847
 
    if test -n "${ZSH_VERSION+set}" ; then
17848
 
      setopt NO_GLOB_SUBST
17849
 
    fi
17850
 
 
17851
 
    cfgfile="${ofile}T"
17852
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17853
 
    $RM "$cfgfile"
17854
 
 
17855
 
    cat <<_LT_EOF >> "$cfgfile"
17856
 
#! $SHELL
17857
 
 
17858
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17859
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17860
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17861
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17862
 
#
17863
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17864
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17865
 
#                 Inc.
17866
 
#   Written by Gordon Matzigkeit, 1996
17867
 
#
17868
 
#   This file is part of GNU Libtool.
17869
 
#
17870
 
# GNU Libtool is free software; you can redistribute it and/or
17871
 
# modify it under the terms of the GNU General Public License as
17872
 
# published by the Free Software Foundation; either version 2 of
17873
 
# the License, or (at your option) any later version.
17874
 
#
17875
 
# As a special exception to the GNU General Public License,
17876
 
# if you distribute this file as part of a program or library that
17877
 
# is built using GNU Libtool, you may include this file under the
17878
 
# same distribution terms that you use for the rest of that program.
17879
 
#
17880
 
# GNU Libtool is distributed in the hope that it will be useful,
17881
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17882
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17883
 
# GNU General Public License for more details.
17884
 
#
17885
 
# You should have received a copy of the GNU General Public License
17886
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
17887
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17888
 
# obtained by writing to the Free Software Foundation, Inc.,
17889
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17890
 
 
17891
 
 
17892
 
# The names of the tagged configurations supported by this script.
17893
 
available_tags="F77 "
17894
 
 
17895
 
# ### BEGIN LIBTOOL CONFIG
17896
 
 
17897
 
# Which release of libtool.m4 was used?
17898
 
macro_version=$macro_version
17899
 
macro_revision=$macro_revision
17900
 
 
17901
 
# Whether or not to build shared libraries.
17902
 
build_libtool_libs=$enable_shared
17903
 
 
17904
 
# Whether or not to build static libraries.
17905
 
build_old_libs=$enable_static
17906
 
 
17907
 
# What type of objects to build.
17908
 
pic_mode=$pic_mode
17909
 
 
17910
 
# Whether or not to optimize for fast installation.
17911
 
fast_install=$enable_fast_install
17912
 
 
17913
 
# Shell to use when invoking shell scripts.
17914
 
SHELL=$lt_SHELL
17915
 
 
17916
 
# An echo program that protects backslashes.
17917
 
ECHO=$lt_ECHO
17918
 
 
17919
 
# The host system.
17920
 
host_alias=$host_alias
17921
 
host=$host
17922
 
host_os=$host_os
17923
 
 
17924
 
# The build system.
17925
 
build_alias=$build_alias
17926
 
build=$build
17927
 
build_os=$build_os
17928
 
 
17929
 
# A sed program that does not truncate output.
17930
 
SED=$lt_SED
17931
 
 
17932
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17933
 
Xsed="\$SED -e 1s/^X//"
17934
 
 
17935
 
# A grep program that handles long lines.
17936
 
GREP=$lt_GREP
17937
 
 
17938
 
# An ERE matcher.
17939
 
EGREP=$lt_EGREP
17940
 
 
17941
 
# A literal string matcher.
17942
 
FGREP=$lt_FGREP
17943
 
 
17944
 
# A BSD- or MS-compatible name lister.
17945
 
NM=$lt_NM
17946
 
 
17947
 
# Whether we need soft or hard links.
17948
 
LN_S=$lt_LN_S
17949
 
 
17950
 
# What is the maximum length of a command?
17951
 
max_cmd_len=$max_cmd_len
17952
 
 
17953
 
# Object file suffix (normally "o").
17954
 
objext=$ac_objext
17955
 
 
17956
 
# Executable file suffix (normally "").
17957
 
exeext=$exeext
17958
 
 
17959
 
# whether the shell understands "unset".
17960
 
lt_unset=$lt_unset
17961
 
 
17962
 
# turn spaces into newlines.
17963
 
SP2NL=$lt_lt_SP2NL
17964
 
 
17965
 
# turn newlines into spaces.
17966
 
NL2SP=$lt_lt_NL2SP
17967
 
 
17968
 
# convert \$build file names to \$host format.
17969
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
17970
 
 
17971
 
# convert \$build files to toolchain format.
17972
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17973
 
 
17974
 
# An object symbol dumper.
17975
 
OBJDUMP=$lt_OBJDUMP
17976
 
 
17977
 
# Method to check whether dependent libraries are shared objects.
17978
 
deplibs_check_method=$lt_deplibs_check_method
17979
 
 
17980
 
# Command to use when deplibs_check_method = "file_magic".
17981
 
file_magic_cmd=$lt_file_magic_cmd
17982
 
 
17983
 
# How to find potential files when deplibs_check_method = "file_magic".
17984
 
file_magic_glob=$lt_file_magic_glob
17985
 
 
17986
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17987
 
want_nocaseglob=$lt_want_nocaseglob
17988
 
 
17989
 
# DLL creation program.
17990
 
DLLTOOL=$lt_DLLTOOL
17991
 
 
17992
 
# Command to associate shared and link libraries.
17993
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17994
 
 
17995
 
# The archiver.
17996
 
AR=$lt_AR
17997
 
 
17998
 
# Flags to create an archive.
17999
 
AR_FLAGS=$lt_AR_FLAGS
18000
 
 
18001
 
# How to feed a file listing to the archiver.
18002
 
archiver_list_spec=$lt_archiver_list_spec
18003
 
 
18004
 
# A symbol stripping program.
18005
 
STRIP=$lt_STRIP
18006
 
 
18007
 
# Commands used to install an old-style archive.
18008
 
RANLIB=$lt_RANLIB
18009
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18010
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18011
 
 
18012
 
# Whether to use a lock for old archive extraction.
18013
 
lock_old_archive_extraction=$lock_old_archive_extraction
18014
 
 
18015
 
# A C compiler.
18016
 
LTCC=$lt_CC
18017
 
 
18018
 
# LTCC compiler flags.
18019
 
LTCFLAGS=$lt_CFLAGS
18020
 
 
18021
 
# Take the output of nm and produce a listing of raw symbols and C names.
18022
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18023
 
 
18024
 
# Transform the output of nm in a proper C declaration.
18025
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18026
 
 
18027
 
# Transform the output of nm in a C name address pair.
18028
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18029
 
 
18030
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
18031
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18032
 
 
18033
 
# Specify filename containing input files for \$NM.
18034
 
nm_file_list_spec=$lt_nm_file_list_spec
18035
 
 
18036
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
18037
 
lt_sysroot=$lt_sysroot
18038
 
 
18039
 
# The name of the directory that contains temporary libtool files.
18040
 
objdir=$objdir
18041
 
 
18042
 
# Used to examine libraries when file_magic_cmd begins with "file".
18043
 
MAGIC_CMD=$MAGIC_CMD
18044
 
 
18045
 
# Must we lock files when doing compilation?
18046
 
need_locks=$lt_need_locks
18047
 
 
18048
 
# Manifest tool.
18049
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
18050
 
 
18051
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18052
 
DSYMUTIL=$lt_DSYMUTIL
18053
 
 
18054
 
# Tool to change global to local symbols on Mac OS X.
18055
 
NMEDIT=$lt_NMEDIT
18056
 
 
18057
 
# Tool to manipulate fat objects and archives on Mac OS X.
18058
 
LIPO=$lt_LIPO
18059
 
 
18060
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18061
 
OTOOL=$lt_OTOOL
18062
 
 
18063
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18064
 
OTOOL64=$lt_OTOOL64
18065
 
 
18066
 
# Old archive suffix (normally "a").
18067
 
libext=$libext
18068
 
 
18069
 
# Shared library suffix (normally ".so").
18070
 
shrext_cmds=$lt_shrext_cmds
18071
 
 
18072
 
# The commands to extract the exported symbol list from a shared archive.
18073
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18074
 
 
18075
 
# Variables whose values should be saved in libtool wrapper scripts and
18076
 
# restored at link time.
18077
 
variables_saved_for_relink=$lt_variables_saved_for_relink
18078
 
 
18079
 
# Do we need the "lib" prefix for modules?
18080
 
need_lib_prefix=$need_lib_prefix
18081
 
 
18082
 
# Do we need a version for libraries?
18083
 
need_version=$need_version
18084
 
 
18085
 
# Library versioning type.
18086
 
version_type=$version_type
18087
 
 
18088
 
# Shared library runtime path variable.
18089
 
runpath_var=$runpath_var
18090
 
 
18091
 
# Shared library path variable.
18092
 
shlibpath_var=$shlibpath_var
18093
 
 
18094
 
# Is shlibpath searched before the hard-coded library search path?
18095
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18096
 
 
18097
 
# Format of library name prefix.
18098
 
libname_spec=$lt_libname_spec
18099
 
 
18100
 
# List of archive names.  First name is the real one, the rest are links.
18101
 
# The last name is the one that the linker finds with -lNAME
18102
 
library_names_spec=$lt_library_names_spec
18103
 
 
18104
 
# The coded name of the library, if different from the real name.
18105
 
soname_spec=$lt_soname_spec
18106
 
 
18107
 
# Permission mode override for installation of shared libraries.
18108
 
install_override_mode=$lt_install_override_mode
18109
 
 
18110
 
# Command to use after installation of a shared archive.
18111
 
postinstall_cmds=$lt_postinstall_cmds
18112
 
 
18113
 
# Command to use after uninstallation of a shared archive.
18114
 
postuninstall_cmds=$lt_postuninstall_cmds
18115
 
 
18116
 
# Commands used to finish a libtool library installation in a directory.
18117
 
finish_cmds=$lt_finish_cmds
18118
 
 
18119
 
# As "finish_cmds", except a single script fragment to be evaled but
18120
 
# not shown.
18121
 
finish_eval=$lt_finish_eval
18122
 
 
18123
 
# Whether we should hardcode library paths into libraries.
18124
 
hardcode_into_libs=$hardcode_into_libs
18125
 
 
18126
 
# Compile-time system search path for libraries.
18127
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18128
 
 
18129
 
# Run-time system search path for libraries.
18130
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18131
 
 
18132
 
# Whether dlopen is supported.
18133
 
dlopen_support=$enable_dlopen
18134
 
 
18135
 
# Whether dlopen of programs is supported.
18136
 
dlopen_self=$enable_dlopen_self
18137
 
 
18138
 
# Whether dlopen of statically linked programs is supported.
18139
 
dlopen_self_static=$enable_dlopen_self_static
18140
 
 
18141
 
# Commands to strip libraries.
18142
 
old_striplib=$lt_old_striplib
18143
 
striplib=$lt_striplib
18144
 
 
18145
 
 
18146
 
# The linker used to build libraries.
18147
 
LD=$lt_LD
18148
 
 
18149
 
# How to create reloadable object files.
18150
 
reload_flag=$lt_reload_flag
18151
 
reload_cmds=$lt_reload_cmds
18152
 
 
18153
 
# Commands used to build an old-style archive.
18154
 
old_archive_cmds=$lt_old_archive_cmds
18155
 
 
18156
 
# A language specific compiler.
18157
 
CC=$lt_compiler
18158
 
 
18159
 
# Is the compiler the GNU compiler?
18160
 
with_gcc=$GCC
18161
 
 
18162
 
# Compiler flag to turn off builtin functions.
18163
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18164
 
 
18165
 
# Additional compiler flags for building library objects.
18166
 
pic_flag=$lt_lt_prog_compiler_pic
18167
 
 
18168
 
# How to pass a linker flag through the compiler.
18169
 
wl=$lt_lt_prog_compiler_wl
18170
 
 
18171
 
# Compiler flag to prevent dynamic linking.
18172
 
link_static_flag=$lt_lt_prog_compiler_static
18173
 
 
18174
 
# Does compiler simultaneously support -c and -o options?
18175
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18176
 
 
18177
 
# Whether or not to add -lc for building shared libraries.
18178
 
build_libtool_need_lc=$archive_cmds_need_lc
18179
 
 
18180
 
# Whether or not to disallow shared libs when runtime libs are static.
18181
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18182
 
 
18183
 
# Compiler flag to allow reflexive dlopens.
18184
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18185
 
 
18186
 
# Compiler flag to generate shared objects directly from archives.
18187
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18188
 
 
18189
 
# Whether the compiler copes with passing no objects directly.
18190
 
compiler_needs_object=$lt_compiler_needs_object
18191
 
 
18192
 
# Create an old-style archive from a shared archive.
18193
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18194
 
 
18195
 
# Create a temporary old-style archive to link instead of a shared archive.
18196
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18197
 
 
18198
 
# Commands used to build a shared archive.
18199
 
archive_cmds=$lt_archive_cmds
18200
 
archive_expsym_cmds=$lt_archive_expsym_cmds
18201
 
 
18202
 
# Commands used to build a loadable module if different from building
18203
 
# a shared archive.
18204
 
module_cmds=$lt_module_cmds
18205
 
module_expsym_cmds=$lt_module_expsym_cmds
18206
 
 
18207
 
# Whether we are building with GNU ld or not.
18208
 
with_gnu_ld=$lt_with_gnu_ld
18209
 
 
18210
 
# Flag that allows shared libraries with undefined symbols to be built.
18211
 
allow_undefined_flag=$lt_allow_undefined_flag
18212
 
 
18213
 
# Flag that enforces no undefined symbols.
18214
 
no_undefined_flag=$lt_no_undefined_flag
18215
 
 
18216
 
# Flag to hardcode \$libdir into a binary during linking.
18217
 
# This must work even if \$libdir does not exist
18218
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18219
 
 
18220
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18221
 
# during linking.  This must work even if \$libdir does not exist.
18222
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18223
 
 
18224
 
# Whether we need a single "-rpath" flag with a separated argument.
18225
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18226
 
 
18227
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18228
 
# DIR into the resulting binary.
18229
 
hardcode_direct=$hardcode_direct
18230
 
 
18231
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18232
 
# DIR into the resulting binary and the resulting library dependency is
18233
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18234
 
# library is relocated.
18235
 
hardcode_direct_absolute=$hardcode_direct_absolute
18236
 
 
18237
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18238
 
# into the resulting binary.
18239
 
hardcode_minus_L=$hardcode_minus_L
18240
 
 
18241
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18242
 
# into the resulting binary.
18243
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
18244
 
 
18245
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18246
 
# into the library and all subsequent libraries and executables linked
18247
 
# against it.
18248
 
hardcode_automatic=$hardcode_automatic
18249
 
 
18250
 
# Set to yes if linker adds runtime paths of dependent libraries
18251
 
# to runtime path list.
18252
 
inherit_rpath=$inherit_rpath
18253
 
 
18254
 
# Whether libtool must link a program against all its dependency libraries.
18255
 
link_all_deplibs=$link_all_deplibs
18256
 
 
18257
 
# Set to "yes" if exported symbols are required.
18258
 
always_export_symbols=$always_export_symbols
18259
 
 
18260
 
# The commands to list exported symbols.
18261
 
export_symbols_cmds=$lt_export_symbols_cmds
18262
 
 
18263
 
# Symbols that should not be listed in the preloaded symbols.
18264
 
exclude_expsyms=$lt_exclude_expsyms
18265
 
 
18266
 
# Symbols that must always be exported.
18267
 
include_expsyms=$lt_include_expsyms
18268
 
 
18269
 
# Commands necessary for linking programs (against libraries) with templates.
18270
 
prelink_cmds=$lt_prelink_cmds
18271
 
 
18272
 
# Commands necessary for finishing linking programs.
18273
 
postlink_cmds=$lt_postlink_cmds
18274
 
 
18275
 
# Specify filename containing input files.
18276
 
file_list_spec=$lt_file_list_spec
18277
 
 
18278
 
# How to hardcode a shared library path into an executable.
18279
 
hardcode_action=$hardcode_action
18280
 
 
18281
 
# ### END LIBTOOL CONFIG
18282
 
 
18283
 
_LT_EOF
18284
 
 
18285
 
  case $host_os in
18286
 
  aix3*)
18287
 
    cat <<\_LT_EOF >> "$cfgfile"
18288
 
# AIX sometimes has problems with the GCC collect2 program.  For some
18289
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
18290
 
# vanish in a puff of smoke.
18291
 
if test "X${COLLECT_NAMES+set}" != Xset; then
18292
 
  COLLECT_NAMES=
18293
 
  export COLLECT_NAMES
18294
 
fi
18295
 
_LT_EOF
18296
 
    ;;
18297
 
  esac
18298
 
 
18299
 
  
18300
 
ltmain="$ac_aux_dir/ltmain.sh"
18301
 
 
18302
 
 
18303
 
  # We use sed instead of cat because bash on DJGPP gets confused if
18304
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18305
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
18306
 
  # is reportedly fixed, but why not run on old versions too?
18307
 
  sed '$q' "$ltmain" >> "$cfgfile" \
18308
 
     || (rm -f "$cfgfile"; exit 1)
18309
 
 
18310
 
  if test x"$xsi_shell" = xyes; then
18311
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18312
 
func_dirname ()\
18313
 
{\
18314
 
\    case ${1} in\
18315
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
18316
 
\      *  ) func_dirname_result="${3}" ;;\
18317
 
\    esac\
18318
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18319
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18320
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18321
 
test 0 -eq $? || _lt_function_replace_fail=:
18322
 
 
18323
 
 
18324
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18325
 
func_basename ()\
18326
 
{\
18327
 
\    func_basename_result="${1##*/}"\
18328
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18329
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18330
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18331
 
test 0 -eq $? || _lt_function_replace_fail=:
18332
 
 
18333
 
 
18334
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18335
 
func_dirname_and_basename ()\
18336
 
{\
18337
 
\    case ${1} in\
18338
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
18339
 
\      *  ) func_dirname_result="${3}" ;;\
18340
 
\    esac\
18341
 
\    func_basename_result="${1##*/}"\
18342
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18343
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18344
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18345
 
test 0 -eq $? || _lt_function_replace_fail=:
18346
 
 
18347
 
 
18348
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18349
 
func_stripname ()\
18350
 
{\
18351
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18352
 
\    # positional parameters, so assign one to ordinary parameter first.\
18353
 
\    func_stripname_result=${3}\
18354
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
18355
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
18356
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18357
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18358
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18359
 
test 0 -eq $? || _lt_function_replace_fail=:
18360
 
 
18361
 
 
18362
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18363
 
func_split_long_opt ()\
18364
 
{\
18365
 
\    func_split_long_opt_name=${1%%=*}\
18366
 
\    func_split_long_opt_arg=${1#*=}\
18367
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18368
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18369
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18370
 
test 0 -eq $? || _lt_function_replace_fail=:
18371
 
 
18372
 
 
18373
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18374
 
func_split_short_opt ()\
18375
 
{\
18376
 
\    func_split_short_opt_arg=${1#??}\
18377
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18378
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18379
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18380
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18381
 
test 0 -eq $? || _lt_function_replace_fail=:
18382
 
 
18383
 
 
18384
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18385
 
func_lo2o ()\
18386
 
{\
18387
 
\    case ${1} in\
18388
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18389
 
\      *)    func_lo2o_result=${1} ;;\
18390
 
\    esac\
18391
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18392
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18393
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18394
 
test 0 -eq $? || _lt_function_replace_fail=:
18395
 
 
18396
 
 
18397
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18398
 
func_xform ()\
18399
 
{\
18400
 
    func_xform_result=${1%.*}.lo\
18401
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18402
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18403
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18404
 
test 0 -eq $? || _lt_function_replace_fail=:
18405
 
 
18406
 
 
18407
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18408
 
func_arith ()\
18409
 
{\
18410
 
    func_arith_result=$(( $* ))\
18411
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18412
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18413
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18414
 
test 0 -eq $? || _lt_function_replace_fail=:
18415
 
 
18416
 
 
18417
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
18418
 
func_len ()\
18419
 
{\
18420
 
    func_len_result=${#1}\
18421
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18422
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18423
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18424
 
test 0 -eq $? || _lt_function_replace_fail=:
18425
 
 
18426
 
fi
18427
 
 
18428
 
if test x"$lt_shell_append" = xyes; then
18429
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
18430
 
func_append ()\
18431
 
{\
18432
 
    eval "${1}+=\\${2}"\
18433
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18434
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18435
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18436
 
test 0 -eq $? || _lt_function_replace_fail=:
18437
 
 
18438
 
 
18439
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18440
 
func_append_quoted ()\
18441
 
{\
18442
 
\    func_quote_for_eval "${2}"\
18443
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18444
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18445
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18446
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18447
 
test 0 -eq $? || _lt_function_replace_fail=:
18448
 
 
18449
 
 
18450
 
  # Save a `func_append' function call where possible by direct use of '+='
18451
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18452
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
18453
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18454
 
  test 0 -eq $? || _lt_function_replace_fail=:
18455
 
else
18456
 
  # Save a `func_append' function call even when '+=' is not available
18457
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18458
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
18459
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18460
 
  test 0 -eq $? || _lt_function_replace_fail=:
18461
 
fi
18462
 
 
18463
 
if test x"$_lt_function_replace_fail" = x":"; then
18464
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18465
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18466
 
fi
18467
 
 
18468
 
 
18469
 
   mv -f "$cfgfile" "$ofile" ||
18470
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18471
 
  chmod +x "$ofile"
18472
 
 
18473
 
 
18474
 
    cat <<_LT_EOF >> "$ofile"
18475
 
 
18476
 
# ### BEGIN LIBTOOL TAG CONFIG: F77
18477
 
 
18478
 
# The linker used to build libraries.
18479
 
LD=$lt_LD_F77
18480
 
 
18481
 
# How to create reloadable object files.
18482
 
reload_flag=$lt_reload_flag_F77
18483
 
reload_cmds=$lt_reload_cmds_F77
18484
 
 
18485
 
# Commands used to build an old-style archive.
18486
 
old_archive_cmds=$lt_old_archive_cmds_F77
18487
 
 
18488
 
# A language specific compiler.
18489
 
CC=$lt_compiler_F77
18490
 
 
18491
 
# Is the compiler the GNU compiler?
18492
 
with_gcc=$GCC_F77
18493
 
 
18494
 
# Compiler flag to turn off builtin functions.
18495
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18496
 
 
18497
 
# Additional compiler flags for building library objects.
18498
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18499
 
 
18500
 
# How to pass a linker flag through the compiler.
18501
 
wl=$lt_lt_prog_compiler_wl_F77
18502
 
 
18503
 
# Compiler flag to prevent dynamic linking.
18504
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18505
 
 
18506
 
# Does compiler simultaneously support -c and -o options?
18507
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18508
 
 
18509
 
# Whether or not to add -lc for building shared libraries.
18510
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18511
 
 
18512
 
# Whether or not to disallow shared libs when runtime libs are static.
18513
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18514
 
 
18515
 
# Compiler flag to allow reflexive dlopens.
18516
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18517
 
 
18518
 
# Compiler flag to generate shared objects directly from archives.
18519
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18520
 
 
18521
 
# Whether the compiler copes with passing no objects directly.
18522
 
compiler_needs_object=$lt_compiler_needs_object_F77
18523
 
 
18524
 
# Create an old-style archive from a shared archive.
18525
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18526
 
 
18527
 
# Create a temporary old-style archive to link instead of a shared archive.
18528
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18529
 
 
18530
 
# Commands used to build a shared archive.
18531
 
archive_cmds=$lt_archive_cmds_F77
18532
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18533
 
 
18534
 
# Commands used to build a loadable module if different from building
18535
 
# a shared archive.
18536
 
module_cmds=$lt_module_cmds_F77
18537
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18538
 
 
18539
 
# Whether we are building with GNU ld or not.
18540
 
with_gnu_ld=$lt_with_gnu_ld_F77
18541
 
 
18542
 
# Flag that allows shared libraries with undefined symbols to be built.
18543
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18544
 
 
18545
 
# Flag that enforces no undefined symbols.
18546
 
no_undefined_flag=$lt_no_undefined_flag_F77
18547
 
 
18548
 
# Flag to hardcode \$libdir into a binary during linking.
18549
 
# This must work even if \$libdir does not exist
18550
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18551
 
 
18552
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18553
 
# during linking.  This must work even if \$libdir does not exist.
18554
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18555
 
 
18556
 
# Whether we need a single "-rpath" flag with a separated argument.
18557
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18558
 
 
18559
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18560
 
# DIR into the resulting binary.
18561
 
hardcode_direct=$hardcode_direct_F77
18562
 
 
18563
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18564
 
# DIR into the resulting binary and the resulting library dependency is
18565
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18566
 
# library is relocated.
18567
 
hardcode_direct_absolute=$hardcode_direct_absolute_F77
18568
 
 
18569
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18570
 
# into the resulting binary.
18571
 
hardcode_minus_L=$hardcode_minus_L_F77
18572
 
 
18573
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18574
 
# into the resulting binary.
18575
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18576
 
 
18577
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18578
 
# into the library and all subsequent libraries and executables linked
18579
 
# against it.
18580
 
hardcode_automatic=$hardcode_automatic_F77
18581
 
 
18582
 
# Set to yes if linker adds runtime paths of dependent libraries
18583
 
# to runtime path list.
18584
 
inherit_rpath=$inherit_rpath_F77
18585
 
 
18586
 
# Whether libtool must link a program against all its dependency libraries.
18587
 
link_all_deplibs=$link_all_deplibs_F77
18588
 
 
18589
 
# Set to "yes" if exported symbols are required.
18590
 
always_export_symbols=$always_export_symbols_F77
18591
 
 
18592
 
# The commands to list exported symbols.
18593
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
18594
 
 
18595
 
# Symbols that should not be listed in the preloaded symbols.
18596
 
exclude_expsyms=$lt_exclude_expsyms_F77
18597
 
 
18598
 
# Symbols that must always be exported.
18599
 
include_expsyms=$lt_include_expsyms_F77
18600
 
 
18601
 
# Commands necessary for linking programs (against libraries) with templates.
18602
 
prelink_cmds=$lt_prelink_cmds_F77
18603
 
 
18604
 
# Commands necessary for finishing linking programs.
18605
 
postlink_cmds=$lt_postlink_cmds_F77
18606
 
 
18607
 
# Specify filename containing input files.
18608
 
file_list_spec=$lt_file_list_spec_F77
18609
 
 
18610
 
# How to hardcode a shared library path into an executable.
18611
 
hardcode_action=$hardcode_action_F77
18612
 
 
18613
 
# ### END LIBTOOL TAG CONFIG: F77
18614
 
_LT_EOF
18615
 
 
18616
 
 ;;
18617
 
 
18618
 
  esac
18619
 
done # for ac_tag
18620
 
 
18621
 
 
18622
 
as_fn_exit 0
18623
 
_ACEOF
18624
 
ac_clean_files=$ac_clean_files_save
18625
 
 
18626
 
test $ac_write_fail = 0 ||
18627
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18628
 
 
18629
 
 
18630
 
# configure is writing to config.log, and then calls config.status.
18631
 
# config.status does its own redirection, appending to config.log.
18632
 
# Unfortunately, on DOS this fails, as config.log is still kept open
18633
 
# by configure, so config.status won't be able to write to it; its
18634
 
# output is simply discarded.  So we exec the FD to /dev/null,
18635
 
# effectively closing config.log, so it can be properly (re)opened and
18636
 
# appended to by config.status.  When coming back to configure, we
18637
 
# need to make the FD available again.
18638
 
if test "$no_create" != yes; then
18639
 
  ac_cs_success=:
18640
 
  ac_config_status_args=
18641
 
  test "$silent" = yes &&
18642
 
    ac_config_status_args="$ac_config_status_args --quiet"
18643
 
  exec 5>/dev/null
18644
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18645
 
  exec 5>>config.log
18646
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18647
 
  # would make configure fail if this is the last instruction.
18648
 
  $ac_cs_success || as_fn_exit 1
18649
 
fi
18650
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18651
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18652
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18653
 
fi
18654