~ubuntu-branches/ubuntu/vivid/tidy/vivid

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2008-01-20 21:46:03 UTC
  • mfrom: (0.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080120214603-oqicq5jwr1exrm55
Tags: 20080116cvs-2
* debian/control: build depends on xsltproc
  (closes: #461608)
* debian/tidy.preinst,postinst: add code to move old config file
  (closes: #461623)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
@%:@! /bin/sh
2
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.59.
 
3
@%:@ Generated by GNU Autoconf 2.61.
4
4
@%:@ 
5
 
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
 
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
@%:@ This configure script is free software; the Free Software Foundation
7
8
@%:@ gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
    
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIB@&t@OBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
726
# Identity of this package.
422
727
PACKAGE_NAME=
423
728
PACKAGE_TARNAME=
429
734
# Factoring default headers for most tests.
430
735
ac_includes_default="\
431
736
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
737
#ifdef HAVE_SYS_TYPES_H
433
738
# include <sys/types.h>
434
739
#endif
435
 
#if HAVE_SYS_STAT_H
 
740
#ifdef HAVE_SYS_STAT_H
436
741
# include <sys/stat.h>
437
742
#endif
438
 
#if STDC_HEADERS
 
743
#ifdef STDC_HEADERS
439
744
# include <stdlib.h>
440
745
# include <stddef.h>
441
746
#else
442
 
# if HAVE_STDLIB_H
 
747
# ifdef HAVE_STDLIB_H
443
748
#  include <stdlib.h>
444
749
# endif
445
750
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
751
#ifdef HAVE_STRING_H
 
752
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
753
#  include <memory.h>
449
754
# endif
450
755
# include <string.h>
451
756
#endif
452
 
#if HAVE_STRINGS_H
 
757
#ifdef HAVE_STRINGS_H
453
758
# include <strings.h>
454
759
#endif
455
 
#if HAVE_INTTYPES_H
 
760
#ifdef HAVE_INTTYPES_H
456
761
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
762
#endif
 
763
#ifdef HAVE_STDINT_H
 
764
# include <stdint.h>
 
765
#endif
 
766
#ifdef HAVE_UNISTD_H
463
767
# include <unistd.h>
464
768
#endif"
465
769
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LIBTIDY_VERSION LT_RELEASE LT_CURRENT LT_REVISION LT_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE WARNING_CFLAGS CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LN_S build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIB@&t@OBJS LTLIBOBJS'
 
770
ac_subst_vars='SHELL
 
771
PATH_SEPARATOR
 
772
PACKAGE_NAME
 
773
PACKAGE_TARNAME
 
774
PACKAGE_VERSION
 
775
PACKAGE_STRING
 
776
PACKAGE_BUGREPORT
 
777
exec_prefix
 
778
prefix
 
779
program_transform_name
 
780
bindir
 
781
sbindir
 
782
libexecdir
 
783
datarootdir
 
784
datadir
 
785
sysconfdir
 
786
sharedstatedir
 
787
localstatedir
 
788
includedir
 
789
oldincludedir
 
790
docdir
 
791
infodir
 
792
htmldir
 
793
dvidir
 
794
pdfdir
 
795
psdir
 
796
libdir
 
797
localedir
 
798
mandir
 
799
DEFS
 
800
ECHO_C
 
801
ECHO_N
 
802
ECHO_T
 
803
LIBS
 
804
build_alias
 
805
host_alias
 
806
target_alias
 
807
LIBTIDY_VERSION
 
808
LT_RELEASE
 
809
LT_CURRENT
 
810
LT_REVISION
 
811
LT_AGE
 
812
INSTALL_PROGRAM
 
813
INSTALL_SCRIPT
 
814
INSTALL_DATA
 
815
CYGPATH_W
 
816
PACKAGE
 
817
VERSION
 
818
ACLOCAL
 
819
AUTOCONF
 
820
AUTOMAKE
 
821
AUTOHEADER
 
822
MAKEINFO
 
823
install_sh
 
824
STRIP
 
825
INSTALL_STRIP_PROGRAM
 
826
mkdir_p
 
827
AWK
 
828
SET_MAKE
 
829
am__leading_dot
 
830
AMTAR
 
831
am__tar
 
832
am__untar
 
833
CC
 
834
CFLAGS
 
835
LDFLAGS
 
836
CPPFLAGS
 
837
ac_ct_CC
 
838
EXEEXT
 
839
OBJEXT
 
840
DEPDIR
 
841
am__include
 
842
am__quote
 
843
AMDEP_TRUE
 
844
AMDEP_FALSE
 
845
AMDEPBACKSLASH
 
846
CCDEPMODE
 
847
am__fastdepCC_TRUE
 
848
am__fastdepCC_FALSE
 
849
WARNING_CFLAGS
 
850
CPP
 
851
CXX
 
852
CXXFLAGS
 
853
ac_ct_CXX
 
854
CXXDEPMODE
 
855
am__fastdepCXX_TRUE
 
856
am__fastdepCXX_FALSE
 
857
LN_S
 
858
build
 
859
build_cpu
 
860
build_vendor
 
861
build_os
 
862
host
 
863
host_cpu
 
864
host_vendor
 
865
host_os
 
866
SED
 
867
GREP
 
868
EGREP
 
869
ECHO
 
870
AR
 
871
RANLIB
 
872
CXXCPP
 
873
F77
 
874
FFLAGS
 
875
ac_ct_F77
 
876
LIBTOOL
 
877
LIB@&t@OBJS
 
878
LTLIBOBJS'
467
879
ac_subst_files=''
 
880
      ac_precious_vars='build_alias
 
881
host_alias
 
882
target_alias
 
883
CC
 
884
CFLAGS
 
885
LDFLAGS
 
886
LIBS
 
887
CPPFLAGS
 
888
CPP
 
889
CXX
 
890
CXXFLAGS
 
891
CCC
 
892
CXXCPP
 
893
F77
 
894
FFLAGS'
 
895
 
468
896
 
469
897
# Initialize some variables set by options.
470
898
ac_init_help=
491
919
# and all the variables that are supposed to be based on exec_prefix
492
920
# by default will actually change.
493
921
# Use braces instead of parens because sh, perl, etc. also accept them.
 
922
# (The list follows the same order as the GNU Coding Standards.)
494
923
bindir='${exec_prefix}/bin'
495
924
sbindir='${exec_prefix}/sbin'
496
925
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
 
926
datarootdir='${prefix}/share'
 
927
datadir='${datarootdir}'
498
928
sysconfdir='${prefix}/etc'
499
929
sharedstatedir='${prefix}/com'
500
930
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
931
includedir='${prefix}/include'
503
932
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
 
933
docdir='${datarootdir}/doc/${PACKAGE}'
 
934
infodir='${datarootdir}/info'
 
935
htmldir='${docdir}'
 
936
dvidir='${docdir}'
 
937
pdfdir='${docdir}'
 
938
psdir='${docdir}'
 
939
libdir='${exec_prefix}/lib'
 
940
localedir='${datarootdir}/locale'
 
941
mandir='${datarootdir}/man'
506
942
 
507
943
ac_prev=
 
944
ac_dashdash=
508
945
for ac_option
509
946
do
510
947
  # If the previous option needs an argument, assign it.
511
948
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
 
949
    eval $ac_prev=\$ac_option
513
950
    ac_prev=
514
951
    continue
515
952
  fi
516
953
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
954
  case $ac_option in
 
955
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
956
  *)    ac_optarg=yes ;;
 
957
  esac
518
958
 
519
959
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
960
 
521
 
  case $ac_option in
 
961
  case $ac_dashdash$ac_option in
 
962
  --)
 
963
    ac_dashdash=yes ;;
522
964
 
523
965
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
966
    ac_prev=bindir ;;
540
982
  --config-cache | -C)
541
983
    cache_file=config.cache ;;
542
984
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
985
  -datadir | --datadir | --datadi | --datad)
544
986
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
 
987
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547
988
    datadir=$ac_optarg ;;
548
989
 
 
990
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
991
  | --dataroo | --dataro | --datar)
 
992
    ac_prev=datarootdir ;;
 
993
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
994
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
995
    datarootdir=$ac_optarg ;;
 
996
 
549
997
  -disable-* | --disable-*)
550
998
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
999
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1000
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
1001
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554
1002
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
 
1003
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1004
    eval enable_$ac_feature=no ;;
 
1005
 
 
1006
  -docdir | --docdir | --docdi | --doc | --do)
 
1007
    ac_prev=docdir ;;
 
1008
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1009
    docdir=$ac_optarg ;;
 
1010
 
 
1011
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1012
    ac_prev=dvidir ;;
 
1013
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1014
    dvidir=$ac_optarg ;;
557
1015
 
558
1016
  -enable-* | --enable-*)
559
1017
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
1018
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1019
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
562
1020
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563
1021
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
568
 
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1022
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1023
    eval enable_$ac_feature=\$ac_optarg ;;
570
1024
 
571
1025
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
1026
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
593
1047
  -host=* | --host=* | --hos=* | --ho=*)
594
1048
    host_alias=$ac_optarg ;;
595
1049
 
 
1050
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1051
    ac_prev=htmldir ;;
 
1052
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1053
  | --ht=*)
 
1054
    htmldir=$ac_optarg ;;
 
1055
 
596
1056
  -includedir | --includedir | --includedi | --included | --include \
597
1057
  | --includ | --inclu | --incl | --inc)
598
1058
    ac_prev=includedir ;;
617
1077
  | --libexe=* | --libex=* | --libe=*)
618
1078
    libexecdir=$ac_optarg ;;
619
1079
 
 
1080
  -localedir | --localedir | --localedi | --localed | --locale)
 
1081
    ac_prev=localedir ;;
 
1082
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1083
    localedir=$ac_optarg ;;
 
1084
 
620
1085
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
 
1086
  | --localstate | --localstat | --localsta | --localst | --locals)
623
1087
    ac_prev=localstatedir ;;
624
1088
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1089
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627
1090
    localstatedir=$ac_optarg ;;
628
1091
 
629
1092
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688
1151
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
1152
    program_transform_name=$ac_optarg ;;
690
1153
 
 
1154
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1155
    ac_prev=pdfdir ;;
 
1156
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1157
    pdfdir=$ac_optarg ;;
 
1158
 
 
1159
  -psdir | --psdir | --psdi | --psd | --ps)
 
1160
    ac_prev=psdir ;;
 
1161
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1162
    psdir=$ac_optarg ;;
 
1163
 
691
1164
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
1165
  | -silent | --silent | --silen | --sile | --sil)
693
1166
    silent=yes ;;
740
1213
  -with-* | --with-*)
741
1214
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
1215
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1216
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744
1217
      { echo "$as_me: error: invalid package name: $ac_package" >&2
745
1218
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
750
 
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1219
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1220
    eval with_$ac_package=\$ac_optarg ;;
752
1221
 
753
1222
  -without-* | --without-*)
754
1223
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
1224
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1225
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757
1226
      { echo "$as_me: error: invalid package name: $ac_package" >&2
758
1227
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
 
1228
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1229
    eval with_$ac_package=no ;;
761
1230
 
762
1231
  --x)
763
1232
    # Obsolete; use --with-x.
788
1257
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
1258
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
1259
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
 
1260
    eval $ac_envvar=\$ac_optarg
793
1261
    export $ac_envvar ;;
794
1262
 
795
1263
  *)
809
1277
   { (exit 1); exit 1; }; }
810
1278
fi
811
1279
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
 
1280
# Be sure to have absolute directory names.
 
1281
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1282
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1283
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1284
                libdir localedir mandir
 
1285
do
 
1286
  eval ac_val=\$$ac_var
 
1287
  case $ac_val in
 
1288
    [\\/$]* | ?:[\\/]* )  continue;;
 
1289
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1290
  esac
 
1291
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1292
   { (exit 1); exit 1; }; }
833
1293
done
834
1294
 
835
1295
# There might be people who depend on the old broken behavior: `$host'
856
1316
test "$silent" = yes && exec 6>/dev/null
857
1317
 
858
1318
 
 
1319
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1320
ac_ls_di=`ls -di .` &&
 
1321
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1322
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1323
   { (exit 1); exit 1; }; }
 
1324
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1325
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1326
   { (exit 1); exit 1; }; }
 
1327
 
 
1328
 
859
1329
# Find the source files, if location was not specified.
860
1330
if test -z "$srcdir"; then
861
1331
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1332
  # Try the directory containing this script, then the parent directory.
 
1333
  ac_confdir=`$as_dirname -- "$0" ||
864
1334
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
1335
         X"$0" : 'X\(//\)[^/]' \| \
866
1336
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
 
1337
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869
1338
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
 
1339
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1340
            s//\1/
 
1341
            q
 
1342
          }
 
1343
          /^X\(\/\/\)[^/].*/{
 
1344
            s//\1/
 
1345
            q
 
1346
          }
 
1347
          /^X\(\/\/\)$/{
 
1348
            s//\1/
 
1349
            q
 
1350
          }
 
1351
          /^X\(\/\).*/{
 
1352
            s//\1/
 
1353
            q
 
1354
          }
 
1355
          s/.*/./; q'`
875
1356
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1357
  if test ! -r "$srcdir/$ac_unique_file"; then
877
1358
    srcdir=..
878
1359
  fi
879
1360
else
880
1361
  ac_srcdir_defaulted=no
881
1362
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CPP_set=${CPP+set}
924
 
ac_env_CPP_value=$CPP
925
 
ac_cv_env_CPP_set=${CPP+set}
926
 
ac_cv_env_CPP_value=$CPP
927
 
ac_env_CXX_set=${CXX+set}
928
 
ac_env_CXX_value=$CXX
929
 
ac_cv_env_CXX_set=${CXX+set}
930
 
ac_cv_env_CXX_value=$CXX
931
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
 
ac_env_CXXFLAGS_value=$CXXFLAGS
933
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_env_CXXCPP_set=${CXXCPP+set}
936
 
ac_env_CXXCPP_value=$CXXCPP
937
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_cv_env_CXXCPP_value=$CXXCPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1363
if test ! -r "$srcdir/$ac_unique_file"; then
 
1364
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1365
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1366
   { (exit 1); exit 1; }; }
 
1367
fi
 
1368
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1369
ac_abs_confdir=`(
 
1370
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1371
   { (exit 1); exit 1; }; }
 
1372
        pwd)`
 
1373
# When building in place, set srcdir=.
 
1374
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1375
  srcdir=.
 
1376
fi
 
1377
# Remove unnecessary trailing slashes from srcdir.
 
1378
# Double slashes in file names in object file debugging info
 
1379
# mess up M-x gdb in Emacs.
 
1380
case $srcdir in
 
1381
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1382
esac
 
1383
for ac_var in $ac_precious_vars; do
 
1384
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1385
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1386
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1387
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1388
done
947
1389
 
948
1390
#
949
1391
# Report the --help message.
972
1414
  -n, --no-create         do not create output files
973
1415
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
974
1416
 
975
 
_ACEOF
976
 
 
977
 
  cat <<_ACEOF
978
1417
Installation directories:
979
1418
  --prefix=PREFIX         install architecture-independent files in PREFIX
980
1419
                          [$ac_default_prefix]
992
1431
  --bindir=DIR           user executables [EPREFIX/bin]
993
1432
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
994
1433
  --libexecdir=DIR       program executables [EPREFIX/libexec]
995
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996
1434
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997
1435
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998
1436
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999
1437
  --libdir=DIR           object code libraries [EPREFIX/lib]
1000
1438
  --includedir=DIR       C header files [PREFIX/include]
1001
1439
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002
 
  --infodir=DIR          info documentation [PREFIX/info]
1003
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1440
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1441
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1442
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1443
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1444
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1445
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
 
1446
  --htmldir=DIR          html documentation [DOCDIR]
 
1447
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1448
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1449
  --psdir=DIR            ps documentation [DOCDIR]
1004
1450
_ACEOF
1005
1451
 
1006
1452
  cat <<\_ACEOF
1026
1472
  --disable-dependency-tracking  speeds up one-time build
1027
1473
  --enable-dependency-tracking   do not reject slow dependency extractors
1028
1474
  --enable-debug          add -g (instead of -O2) to CFLAGS
1029
 
  --enable-shared@<:@=PKGS@:>@ 
1030
 
                          build shared libraries @<:@default=yes@:>@
1031
 
  --enable-static@<:@=PKGS@:>@ 
1032
 
                          build static libraries @<:@default=yes@:>@
 
1475
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1476
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1033
1477
  --enable-fast-install@<:@=PKGS@:>@ 
1034
1478
                          optimize for fast installation @<:@default=yes@:>@
1035
1479
  --disable-libtool-lock  avoid locking (might break parallel builds)
1043
1487
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1044
1488
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1045
1489
                          both@:>@
1046
 
  --with-tags@<:@=TAGS@:>@ 
1047
 
                          include additional configurations @<:@automatic@:>@
 
1490
  --with-tags@<:@=TAGS@:>@      include additional configurations @<:@automatic@:>@
1048
1491
  --with-dmalloc          use dmalloc, as in
1049
1492
                          http://www.dmalloc.com/dmalloc.tar.gz
1050
1493
 
1053
1496
  CFLAGS      C compiler flags
1054
1497
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1055
1498
              nonstandard directory <lib dir>
1056
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1057
 
              headers in a nonstandard directory <include dir>
 
1499
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1500
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1501
              you have headers in a nonstandard directory <include dir>
1058
1502
  CPP         C preprocessor
1059
1503
  CXX         C++ compiler command
1060
1504
  CXXFLAGS    C++ compiler flags
1066
1510
it to find libraries and programs with nonstandard names/locations.
1067
1511
 
1068
1512
_ACEOF
 
1513
ac_status=$?
1069
1514
fi
1070
1515
 
1071
1516
if test "$ac_init_help" = "recursive"; then
1072
1517
  # If there are subdirs, report their specific --help.
1073
 
  ac_popdir=`pwd`
1074
1518
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075
 
    test -d $ac_dir || continue
 
1519
    test -d "$ac_dir" || continue
1076
1520
    ac_builddir=.
1077
1521
 
1078
 
if test "$ac_dir" != .; then
 
1522
case "$ac_dir" in
 
1523
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1524
*)
1079
1525
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1080
 
  # A "../" for each directory in $ac_dir_suffix.
1081
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1082
 
else
1083
 
  ac_dir_suffix= ac_top_builddir=
1084
 
fi
 
1526
  # A ".." for each directory in $ac_dir_suffix.
 
1527
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1528
  case $ac_top_builddir_sub in
 
1529
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1530
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1531
  esac ;;
 
1532
esac
 
1533
ac_abs_top_builddir=$ac_pwd
 
1534
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1535
# for backward compatibility:
 
1536
ac_top_builddir=$ac_top_build_prefix
1085
1537
 
1086
1538
case $srcdir in
1087
 
  .)  # No --srcdir option.  We are building in place.
 
1539
  .)  # We are building in place.
1088
1540
    ac_srcdir=.
1089
 
    if test -z "$ac_top_builddir"; then
1090
 
       ac_top_srcdir=.
1091
 
    else
1092
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1093
 
    fi ;;
1094
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1541
    ac_top_srcdir=$ac_top_builddir_sub
 
1542
    ac_abs_top_srcdir=$ac_pwd ;;
 
1543
  [\\/]* | ?:[\\/]* )  # Absolute name.
1095
1544
    ac_srcdir=$srcdir$ac_dir_suffix;
1096
 
    ac_top_srcdir=$srcdir ;;
1097
 
  *) # Relative path.
1098
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1100
 
esac
1101
 
 
1102
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1103
 
# the directories may not exist.
1104
 
case `pwd` in
1105
 
.) ac_abs_builddir="$ac_dir";;
1106
 
*)
1107
 
  case "$ac_dir" in
1108
 
  .) ac_abs_builddir=`pwd`;;
1109
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1111
 
  esac;;
1112
 
esac
1113
 
case $ac_abs_builddir in
1114
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1115
 
*)
1116
 
  case ${ac_top_builddir}. in
1117
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1118
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1120
 
  esac;;
1121
 
esac
1122
 
case $ac_abs_builddir in
1123
 
.) ac_abs_srcdir=$ac_srcdir;;
1124
 
*)
1125
 
  case $ac_srcdir in
1126
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1127
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1129
 
  esac;;
1130
 
esac
1131
 
case $ac_abs_builddir in
1132
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1133
 
*)
1134
 
  case $ac_top_srcdir in
1135
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1136
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1138
 
  esac;;
1139
 
esac
1140
 
 
1141
 
    cd $ac_dir
1142
 
    # Check for guested configure; otherwise get Cygnus style configure.
1143
 
    if test -f $ac_srcdir/configure.gnu; then
1144
 
      echo
1145
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1146
 
    elif test -f $ac_srcdir/configure; then
1147
 
      echo
1148
 
      $SHELL $ac_srcdir/configure  --help=recursive
1149
 
    elif test -f $ac_srcdir/configure.ac ||
1150
 
           test -f $ac_srcdir/configure.in; then
1151
 
      echo
1152
 
      $ac_configure --help
 
1545
    ac_top_srcdir=$srcdir
 
1546
    ac_abs_top_srcdir=$srcdir ;;
 
1547
  *) # Relative name.
 
1548
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1549
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1550
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1551
esac
 
1552
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1553
 
 
1554
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1555
    # Check for guested configure.
 
1556
    if test -f "$ac_srcdir/configure.gnu"; then
 
1557
      echo &&
 
1558
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1559
    elif test -f "$ac_srcdir/configure"; then
 
1560
      echo &&
 
1561
      $SHELL "$ac_srcdir/configure" --help=recursive
1153
1562
    else
1154
1563
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1155
 
    fi
1156
 
    cd "$ac_popdir"
 
1564
    fi || ac_status=$?
 
1565
    cd "$ac_pwd" || { ac_status=$?; break; }
1157
1566
  done
1158
1567
fi
1159
1568
 
1160
 
test -n "$ac_init_help" && exit 0
 
1569
test -n "$ac_init_help" && exit $ac_status
1161
1570
if $ac_init_version; then
1162
1571
  cat <<\_ACEOF
 
1572
configure
 
1573
generated by GNU Autoconf 2.61
1163
1574
 
1164
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1575
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1576
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1165
1577
This configure script is free software; the Free Software Foundation
1166
1578
gives unlimited permission to copy, distribute and modify it.
1167
1579
_ACEOF
1168
 
  exit 0
 
1580
  exit
1169
1581
fi
1170
 
exec 5>config.log
1171
 
cat >&5 <<_ACEOF
 
1582
cat >config.log <<_ACEOF
1172
1583
This file contains any messages produced by compilers while
1173
1584
running configure, to aid debugging if configure makes a mistake.
1174
1585
 
1175
1586
It was created by $as_me, which was
1176
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1587
generated by GNU Autoconf 2.61.  Invocation command line was
1177
1588
 
1178
1589
  $ $0 $@
1179
1590
 
1180
1591
_ACEOF
 
1592
exec 5>>config.log
1181
1593
{
1182
1594
cat <<_ASUNAME
1183
1595
@%:@@%:@ --------- @%:@@%:@
1196
1608
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1197
1609
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1198
1610
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1199
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1611
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1200
1612
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1201
1613
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1202
1614
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1210
1622
  test -z "$as_dir" && as_dir=.
1211
1623
  echo "PATH: $as_dir"
1212
1624
done
 
1625
IFS=$as_save_IFS
1213
1626
 
1214
1627
} >&5
1215
1628
 
1231
1644
ac_configure_args=
1232
1645
ac_configure_args0=
1233
1646
ac_configure_args1=
1234
 
ac_sep=
1235
1647
ac_must_keep_next=false
1236
1648
for ac_pass in 1 2
1237
1649
do
1242
1654
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243
1655
    | -silent | --silent | --silen | --sile | --sil)
1244
1656
      continue ;;
1245
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1657
    *\'*)
1246
1658
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1247
1659
    esac
1248
1660
    case $ac_pass in
1264
1676
          -* ) ac_must_keep_next=true ;;
1265
1677
        esac
1266
1678
      fi
1267
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1268
 
      # Get rid of the leading space.
1269
 
      ac_sep=" "
 
1679
      ac_configure_args="$ac_configure_args '$ac_arg'"
1270
1680
      ;;
1271
1681
    esac
1272
1682
  done
1277
1687
# When interrupted or exit'd, cleanup temporary files, and complete
1278
1688
# config.log.  We remove comments because anyway the quotes in there
1279
1689
# would cause problems or look ugly.
1280
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1281
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1690
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1691
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1282
1692
trap 'exit_status=$?
1283
1693
  # Save into config.log some information that might help in debugging.
1284
1694
  {
1291
1701
_ASBOX
1292
1702
    echo
1293
1703
    # The following way of writing the cache mishandles newlines in values,
1294
 
{
 
1704
(
 
1705
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1706
    eval ac_val=\$$ac_var
 
1707
    case $ac_val in #(
 
1708
    *${as_nl}*)
 
1709
      case $ac_var in #(
 
1710
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1711
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1712
      esac
 
1713
      case $ac_var in #(
 
1714
      _ | IFS | as_nl) ;; #(
 
1715
      *) $as_unset $ac_var ;;
 
1716
      esac ;;
 
1717
    esac
 
1718
  done
1295
1719
  (set) 2>&1 |
1296
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1297
 
    *ac_space=\ *)
 
1720
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1721
    *${as_nl}ac_space=\ *)
1298
1722
      sed -n \
1299
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1300
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1301
 
      ;;
 
1723
        "s/'\''/'\''\\\\'\'''\''/g;
 
1724
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1725
      ;; #(
1302
1726
    *)
1303
 
      sed -n \
1304
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1727
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1305
1728
      ;;
1306
 
    esac;
1307
 
}
 
1729
    esac |
 
1730
    sort
 
1731
)
1308
1732
    echo
1309
1733
 
1310
1734
    cat <<\_ASBOX
1315
1739
    echo
1316
1740
    for ac_var in $ac_subst_vars
1317
1741
    do
1318
 
      eval ac_val=$`echo $ac_var`
1319
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1742
      eval ac_val=\$$ac_var
 
1743
      case $ac_val in
 
1744
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1745
      esac
 
1746
      echo "$ac_var='\''$ac_val'\''"
1320
1747
    done | sort
1321
1748
    echo
1322
1749
 
1323
1750
    if test -n "$ac_subst_files"; then
1324
1751
      cat <<\_ASBOX
1325
 
@%:@@%:@ ------------- @%:@@%:@
1326
 
@%:@@%:@ Output files. @%:@@%:@
1327
 
@%:@@%:@ ------------- @%:@@%:@
 
1752
@%:@@%:@ ------------------- @%:@@%:@
 
1753
@%:@@%:@ File substitutions. @%:@@%:@
 
1754
@%:@@%:@ ------------------- @%:@@%:@
1328
1755
_ASBOX
1329
1756
      echo
1330
1757
      for ac_var in $ac_subst_files
1331
1758
      do
1332
 
        eval ac_val=$`echo $ac_var`
1333
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1759
        eval ac_val=\$$ac_var
 
1760
        case $ac_val in
 
1761
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1762
        esac
 
1763
        echo "$ac_var='\''$ac_val'\''"
1334
1764
      done | sort
1335
1765
      echo
1336
1766
    fi
1342
1772
@%:@@%:@ ----------- @%:@@%:@
1343
1773
_ASBOX
1344
1774
      echo
1345
 
      sed "/^$/d" confdefs.h | sort
 
1775
      cat confdefs.h
1346
1776
      echo
1347
1777
    fi
1348
1778
    test "$ac_signal" != 0 &&
1349
1779
      echo "$as_me: caught signal $ac_signal"
1350
1780
    echo "$as_me: exit $exit_status"
1351
1781
  } >&5
1352
 
  rm -f core *.core &&
1353
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1782
  rm -f core *.core core.conftest.* &&
 
1783
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1354
1784
    exit $exit_status
1355
 
     ' 0
 
1785
' 0
1356
1786
for ac_signal in 1 2 13 15; do
1357
1787
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1358
1788
done
1359
1789
ac_signal=0
1360
1790
 
1361
1791
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1362
 
rm -rf conftest* confdefs.h
1363
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1364
 
echo >confdefs.h
 
1792
rm -f -r conftest* confdefs.h
1365
1793
 
1366
1794
# Predefined preprocessor variables.
1367
1795
 
1392
1820
 
1393
1821
# Let the site file select an alternate cache file if it wants to.
1394
1822
# Prefer explicitly selected file to automatically selected ones.
1395
 
if test -z "$CONFIG_SITE"; then
1396
 
  if test "x$prefix" != xNONE; then
1397
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1398
 
  else
1399
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1400
 
  fi
 
1823
if test -n "$CONFIG_SITE"; then
 
1824
  set x "$CONFIG_SITE"
 
1825
elif test "x$prefix" != xNONE; then
 
1826
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1827
else
 
1828
  set x "$ac_default_prefix/share/config.site" \
 
1829
        "$ac_default_prefix/etc/config.site"
1401
1830
fi
1402
 
for ac_site_file in $CONFIG_SITE; do
 
1831
shift
 
1832
for ac_site_file
 
1833
do
1403
1834
  if test -r "$ac_site_file"; then
1404
1835
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1405
1836
echo "$as_me: loading site script $ac_site_file" >&6;}
1415
1846
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1416
1847
echo "$as_me: loading cache $cache_file" >&6;}
1417
1848
    case $cache_file in
1418
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1419
 
      *)                      . ./$cache_file;;
 
1849
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1850
      *)                      . "./$cache_file";;
1420
1851
    esac
1421
1852
  fi
1422
1853
else
1428
1859
# Check that the precious variables saved in the cache have kept the same
1429
1860
# value.
1430
1861
ac_cache_corrupted=false
1431
 
for ac_var in `(set) 2>&1 |
1432
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1862
for ac_var in $ac_precious_vars; do
1433
1863
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1434
1864
  eval ac_new_set=\$ac_env_${ac_var}_set
1435
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1436
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1865
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1866
  eval ac_new_val=\$ac_env_${ac_var}_value
1437
1867
  case $ac_old_set,$ac_new_set in
1438
1868
    set,)
1439
1869
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1458
1888
  # Pass precious variables to config.status.
1459
1889
  if test "$ac_new_set" = set; then
1460
1890
    case $ac_new_val in
1461
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1462
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1891
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1463
1892
    *) ac_arg=$ac_var=$ac_new_val ;;
1464
1893
    esac
1465
1894
    case " $ac_configure_args " in
1476
1905
   { (exit 1); exit 1; }; }
1477
1906
fi
1478
1907
 
 
1908
 
 
1909
 
 
1910
 
 
1911
 
 
1912
 
 
1913
 
 
1914
 
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
1479
1924
ac_ext=c
1480
1925
ac_cpp='$CPP $CPPFLAGS'
1481
1926
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1484
1929
 
1485
1930
 
1486
1931
 
1487
 
 
1488
 
 
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
1932
# Making releases:
1505
1933
1506
1934
#   TIDY_MICRO_VERSION += 1;
1535
1963
 
1536
1964
am__api_version="1.9"
1537
1965
ac_aux_dir=
1538
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1539
 
  if test -f $ac_dir/install-sh; then
 
1966
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1967
  if test -f "$ac_dir/install-sh"; then
1540
1968
    ac_aux_dir=$ac_dir
1541
1969
    ac_install_sh="$ac_aux_dir/install-sh -c"
1542
1970
    break
1543
 
  elif test -f $ac_dir/install.sh; then
 
1971
  elif test -f "$ac_dir/install.sh"; then
1544
1972
    ac_aux_dir=$ac_dir
1545
1973
    ac_install_sh="$ac_aux_dir/install.sh -c"
1546
1974
    break
1547
 
  elif test -f $ac_dir/shtool; then
 
1975
  elif test -f "$ac_dir/shtool"; then
1548
1976
    ac_aux_dir=$ac_dir
1549
1977
    ac_install_sh="$ac_aux_dir/shtool install -c"
1550
1978
    break
1551
1979
  fi
1552
1980
done
1553
1981
if test -z "$ac_aux_dir"; then
1554
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1555
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1982
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1983
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1556
1984
   { (exit 1); exit 1; }; }
1557
1985
fi
1558
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1559
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1560
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1986
 
 
1987
# These three variables are undocumented and unsupported,
 
1988
# and are intended to be withdrawn in a future Autoconf release.
 
1989
# They can cause serious problems if a builder's source tree is in a directory
 
1990
# whose full name contains unusual characters.
 
1991
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1992
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1993
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1994
 
1561
1995
 
1562
1996
# Find a good install program.  We prefer a C program (faster),
1563
1997
# so one script is as good as another.  But avoid the broken or
1572
2006
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573
2007
# OS/2's system install, which has a completely different semantic
1574
2008
# ./install, which can be erroneously created by make from ./install.sh.
1575
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2009
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2010
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1577
2011
if test -z "$INSTALL"; then
1578
2012
if test "${ac_cv_path_install+set}" = set; then
1579
2013
  echo $ECHO_N "(cached) $ECHO_C" >&6
1595
2029
    # by default.
1596
2030
    for ac_prog in ginstall scoinst install; do
1597
2031
      for ac_exec_ext in '' $ac_executable_extensions; do
1598
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2032
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1599
2033
          if test $ac_prog = install &&
1600
2034
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601
2035
            # AIX install.  It has an incompatible calling convention.
1614
2048
    ;;
1615
2049
esac
1616
2050
done
 
2051
IFS=$as_save_IFS
1617
2052
 
1618
2053
 
1619
2054
fi
1620
2055
  if test "${ac_cv_path_install+set}" = set; then
1621
2056
    INSTALL=$ac_cv_path_install
1622
2057
  else
1623
 
    # As a last resort, use the slow shell script.  We don't cache a
1624
 
    # path for INSTALL within a source directory, because that will
 
2058
    # As a last resort, use the slow shell script.  Don't cache a
 
2059
    # value for INSTALL within a source directory, because that will
1625
2060
    # break other packages using the cache if that directory is
1626
 
    # removed, or if the path is relative.
 
2061
    # removed, or if the value is a relative name.
1627
2062
    INSTALL=$ac_install_sh
1628
2063
  fi
1629
2064
fi
1630
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1631
 
echo "${ECHO_T}$INSTALL" >&6
 
2065
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2066
echo "${ECHO_T}$INSTALL" >&6; }
1632
2067
 
1633
2068
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634
2069
# It thinks the first close brace ends the variable substitution.
1638
2073
 
1639
2074
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
2075
 
1641
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2076
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2077
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1643
2078
# Just in case
1644
2079
sleep 1
1645
2080
echo timestamp > conftest.file
1681
2116
Check your system clock" >&2;}
1682
2117
   { (exit 1); exit 1; }; }
1683
2118
fi
1684
 
echo "$as_me:$LINENO: result: yes" >&5
1685
 
echo "${ECHO_T}yes" >&6
 
2119
{ echo "$as_me:$LINENO: result: yes" >&5
 
2120
echo "${ECHO_T}yes" >&6; }
1686
2121
test "$program_prefix" != NONE &&
1687
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2122
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1688
2123
# Use a double $ so make ignores it.
1689
2124
test "$program_suffix" != NONE &&
1690
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2125
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1691
2126
# Double any \ or $.  echo might interpret backslashes.
1692
2127
# By default was `s,x,x', remove it if useless.
1693
2128
cat <<\_ACEOF >conftest.sed
1694
2129
s/[\\$]/&&/g;s/;s,x,x,$//
1695
2130
_ACEOF
1696
2131
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697
 
rm conftest.sed
 
2132
rm -f conftest.sed
1698
2133
 
1699
2134
# expand $ac_aux_dir to an absolute path
1700
2135
am_aux_dir=`cd $ac_aux_dir && pwd`
1746
2181
do
1747
2182
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1748
2183
set dummy $ac_prog; ac_word=$2
1749
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1750
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2184
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2185
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1751
2186
if test "${ac_cv_prog_AWK+set}" = set; then
1752
2187
  echo $ECHO_N "(cached) $ECHO_C" >&6
1753
2188
else
1760
2195
  IFS=$as_save_IFS
1761
2196
  test -z "$as_dir" && as_dir=.
1762
2197
  for ac_exec_ext in '' $ac_executable_extensions; do
1763
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1764
2199
    ac_cv_prog_AWK="$ac_prog"
1765
2200
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766
2201
    break 2
1767
2202
  fi
1768
2203
done
1769
2204
done
 
2205
IFS=$as_save_IFS
1770
2206
 
1771
2207
fi
1772
2208
fi
1773
2209
AWK=$ac_cv_prog_AWK
1774
2210
if test -n "$AWK"; then
1775
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1776
 
echo "${ECHO_T}$AWK" >&6
 
2211
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2212
echo "${ECHO_T}$AWK" >&6; }
1777
2213
else
1778
 
  echo "$as_me:$LINENO: result: no" >&5
1779
 
echo "${ECHO_T}no" >&6
 
2214
  { echo "$as_me:$LINENO: result: no" >&5
 
2215
echo "${ECHO_T}no" >&6; }
1780
2216
fi
1781
2217
 
 
2218
 
1782
2219
  test -n "$AWK" && break
1783
2220
done
1784
2221
 
1785
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2222
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2223
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2224
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2225
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1789
2226
  echo $ECHO_N "(cached) $ECHO_C" >&6
1790
2227
else
1791
2228
  cat >conftest.make <<\_ACEOF
 
2229
SHELL = /bin/sh
1792
2230
all:
1793
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2231
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1794
2232
_ACEOF
1795
2233
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797
 
if test -n "$ac_maketemp"; then
1798
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1799
 
else
1800
 
  eval ac_cv_prog_make_${ac_make}_set=no
1801
 
fi
 
2234
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2235
  *@@@%%%=?*=@@@%%%*)
 
2236
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2237
  *)
 
2238
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2239
esac
1802
2240
rm -f conftest.make
1803
2241
fi
1804
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805
 
  echo "$as_me:$LINENO: result: yes" >&5
1806
 
echo "${ECHO_T}yes" >&6
 
2242
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2243
  { echo "$as_me:$LINENO: result: yes" >&5
 
2244
echo "${ECHO_T}yes" >&6; }
1807
2245
  SET_MAKE=
1808
2246
else
1809
 
  echo "$as_me:$LINENO: result: no" >&5
1810
 
echo "${ECHO_T}no" >&6
 
2247
  { echo "$as_me:$LINENO: result: no" >&5
 
2248
echo "${ECHO_T}no" >&6; }
1811
2249
  SET_MAKE="MAKE=${MAKE-make}"
1812
2250
fi
1813
2251
 
1878
2316
  if test -n "$ac_tool_prefix"; then
1879
2317
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1880
2318
set dummy ${ac_tool_prefix}strip; ac_word=$2
1881
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1882
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2319
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2320
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1883
2321
if test "${ac_cv_prog_STRIP+set}" = set; then
1884
2322
  echo $ECHO_N "(cached) $ECHO_C" >&6
1885
2323
else
1892
2330
  IFS=$as_save_IFS
1893
2331
  test -z "$as_dir" && as_dir=.
1894
2332
  for ac_exec_ext in '' $ac_executable_extensions; do
1895
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2333
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1896
2334
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1897
2335
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898
2336
    break 2
1899
2337
  fi
1900
2338
done
1901
2339
done
 
2340
IFS=$as_save_IFS
1902
2341
 
1903
2342
fi
1904
2343
fi
1905
2344
STRIP=$ac_cv_prog_STRIP
1906
2345
if test -n "$STRIP"; then
1907
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1908
 
echo "${ECHO_T}$STRIP" >&6
 
2346
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2347
echo "${ECHO_T}$STRIP" >&6; }
1909
2348
else
1910
 
  echo "$as_me:$LINENO: result: no" >&5
1911
 
echo "${ECHO_T}no" >&6
 
2349
  { echo "$as_me:$LINENO: result: no" >&5
 
2350
echo "${ECHO_T}no" >&6; }
1912
2351
fi
 
2352
 
1913
2353
 
1914
2354
fi
1915
2355
if test -z "$ac_cv_prog_STRIP"; then
1916
2356
  ac_ct_STRIP=$STRIP
1917
2357
  # Extract the first word of "strip", so it can be a program name with args.
1918
2358
set dummy strip; ac_word=$2
1919
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1920
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2359
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2360
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1921
2361
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1922
2362
  echo $ECHO_N "(cached) $ECHO_C" >&6
1923
2363
else
1930
2370
  IFS=$as_save_IFS
1931
2371
  test -z "$as_dir" && as_dir=.
1932
2372
  for ac_exec_ext in '' $ac_executable_extensions; do
1933
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2373
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1934
2374
    ac_cv_prog_ac_ct_STRIP="strip"
1935
2375
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936
2376
    break 2
1937
2377
  fi
1938
2378
done
1939
2379
done
 
2380
IFS=$as_save_IFS
1940
2381
 
1941
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1942
2382
fi
1943
2383
fi
1944
2384
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1945
2385
if test -n "$ac_ct_STRIP"; then
1946
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1947
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2386
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2387
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1948
2388
else
1949
 
  echo "$as_me:$LINENO: result: no" >&5
1950
 
echo "${ECHO_T}no" >&6
 
2389
  { echo "$as_me:$LINENO: result: no" >&5
 
2390
echo "${ECHO_T}no" >&6; }
1951
2391
fi
1952
2392
 
1953
 
  STRIP=$ac_ct_STRIP
 
2393
  if test "x$ac_ct_STRIP" = x; then
 
2394
    STRIP=":"
 
2395
  else
 
2396
    case $cross_compiling:$ac_tool_warned in
 
2397
yes:)
 
2398
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2399
whose name does not start with the host triplet.  If you think this
 
2400
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2401
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2402
whose name does not start with the host triplet.  If you think this
 
2403
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2404
ac_tool_warned=yes ;;
 
2405
esac
 
2406
    STRIP=$ac_ct_STRIP
 
2407
  fi
1954
2408
else
1955
2409
  STRIP="$ac_cv_prog_STRIP"
1956
2410
fi
1986
2440
if test -n "$ac_tool_prefix"; then
1987
2441
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1988
2442
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1989
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1990
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2443
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2444
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1991
2445
if test "${ac_cv_prog_CC+set}" = set; then
1992
2446
  echo $ECHO_N "(cached) $ECHO_C" >&6
1993
2447
else
2000
2454
  IFS=$as_save_IFS
2001
2455
  test -z "$as_dir" && as_dir=.
2002
2456
  for ac_exec_ext in '' $ac_executable_extensions; do
2003
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2004
2458
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2005
2459
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006
2460
    break 2
2007
2461
  fi
2008
2462
done
2009
2463
done
 
2464
IFS=$as_save_IFS
2010
2465
 
2011
2466
fi
2012
2467
fi
2013
2468
CC=$ac_cv_prog_CC
2014
2469
if test -n "$CC"; then
2015
 
  echo "$as_me:$LINENO: result: $CC" >&5
2016
 
echo "${ECHO_T}$CC" >&6
 
2470
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2471
echo "${ECHO_T}$CC" >&6; }
2017
2472
else
2018
 
  echo "$as_me:$LINENO: result: no" >&5
2019
 
echo "${ECHO_T}no" >&6
 
2473
  { echo "$as_me:$LINENO: result: no" >&5
 
2474
echo "${ECHO_T}no" >&6; }
2020
2475
fi
 
2476
 
2021
2477
 
2022
2478
fi
2023
2479
if test -z "$ac_cv_prog_CC"; then
2024
2480
  ac_ct_CC=$CC
2025
2481
  # Extract the first word of "gcc", so it can be a program name with args.
2026
2482
set dummy gcc; ac_word=$2
2027
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2028
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2483
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2484
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2029
2485
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2030
2486
  echo $ECHO_N "(cached) $ECHO_C" >&6
2031
2487
else
2038
2494
  IFS=$as_save_IFS
2039
2495
  test -z "$as_dir" && as_dir=.
2040
2496
  for ac_exec_ext in '' $ac_executable_extensions; do
2041
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042
2498
    ac_cv_prog_ac_ct_CC="gcc"
2043
2499
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044
2500
    break 2
2045
2501
  fi
2046
2502
done
2047
2503
done
 
2504
IFS=$as_save_IFS
2048
2505
 
2049
2506
fi
2050
2507
fi
2051
2508
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2052
2509
if test -n "$ac_ct_CC"; then
2053
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2054
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2510
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2511
echo "${ECHO_T}$ac_ct_CC" >&6; }
2055
2512
else
2056
 
  echo "$as_me:$LINENO: result: no" >&5
2057
 
echo "${ECHO_T}no" >&6
 
2513
  { echo "$as_me:$LINENO: result: no" >&5
 
2514
echo "${ECHO_T}no" >&6; }
2058
2515
fi
2059
2516
 
2060
 
  CC=$ac_ct_CC
 
2517
  if test "x$ac_ct_CC" = x; then
 
2518
    CC=""
 
2519
  else
 
2520
    case $cross_compiling:$ac_tool_warned in
 
2521
yes:)
 
2522
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2523
whose name does not start with the host triplet.  If you think this
 
2524
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2525
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2526
whose name does not start with the host triplet.  If you think this
 
2527
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2528
ac_tool_warned=yes ;;
 
2529
esac
 
2530
    CC=$ac_ct_CC
 
2531
  fi
2061
2532
else
2062
2533
  CC="$ac_cv_prog_CC"
2063
2534
fi
2064
2535
 
2065
2536
if test -z "$CC"; then
2066
 
  if test -n "$ac_tool_prefix"; then
2067
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2537
          if test -n "$ac_tool_prefix"; then
 
2538
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2068
2539
set dummy ${ac_tool_prefix}cc; ac_word=$2
2069
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2070
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2540
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2541
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071
2542
if test "${ac_cv_prog_CC+set}" = set; then
2072
2543
  echo $ECHO_N "(cached) $ECHO_C" >&6
2073
2544
else
2080
2551
  IFS=$as_save_IFS
2081
2552
  test -z "$as_dir" && as_dir=.
2082
2553
  for ac_exec_ext in '' $ac_executable_extensions; do
2083
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2554
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084
2555
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2085
2556
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086
2557
    break 2
2087
2558
  fi
2088
2559
done
2089
2560
done
 
2561
IFS=$as_save_IFS
2090
2562
 
2091
2563
fi
2092
2564
fi
2093
2565
CC=$ac_cv_prog_CC
2094
2566
if test -n "$CC"; then
2095
 
  echo "$as_me:$LINENO: result: $CC" >&5
2096
 
echo "${ECHO_T}$CC" >&6
2097
 
else
2098
 
  echo "$as_me:$LINENO: result: no" >&5
2099
 
echo "${ECHO_T}no" >&6
2100
 
fi
2101
 
 
2102
 
fi
2103
 
if test -z "$ac_cv_prog_CC"; then
2104
 
  ac_ct_CC=$CC
2105
 
  # Extract the first word of "cc", so it can be a program name with args.
2106
 
set dummy cc; ac_word=$2
2107
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2108
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2111
 
else
2112
 
  if test -n "$ac_ct_CC"; then
2113
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114
 
else
2115
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116
 
for as_dir in $PATH
2117
 
do
2118
 
  IFS=$as_save_IFS
2119
 
  test -z "$as_dir" && as_dir=.
2120
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2121
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122
 
    ac_cv_prog_ac_ct_CC="cc"
2123
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124
 
    break 2
 
2567
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2568
echo "${ECHO_T}$CC" >&6; }
 
2569
else
 
2570
  { echo "$as_me:$LINENO: result: no" >&5
 
2571
echo "${ECHO_T}no" >&6; }
 
2572
fi
 
2573
 
 
2574
 
2125
2575
  fi
2126
 
done
2127
 
done
2128
 
 
2129
 
fi
2130
 
fi
2131
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2132
 
if test -n "$ac_ct_CC"; then
2133
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2134
 
echo "${ECHO_T}$ac_ct_CC" >&6
2135
 
else
2136
 
  echo "$as_me:$LINENO: result: no" >&5
2137
 
echo "${ECHO_T}no" >&6
2138
 
fi
2139
 
 
2140
 
  CC=$ac_ct_CC
2141
 
else
2142
 
  CC="$ac_cv_prog_CC"
2143
 
fi
2144
 
 
2145
2576
fi
2146
2577
if test -z "$CC"; then
2147
2578
  # Extract the first word of "cc", so it can be a program name with args.
2148
2579
set dummy cc; ac_word=$2
2149
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2150
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2580
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2581
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2151
2582
if test "${ac_cv_prog_CC+set}" = set; then
2152
2583
  echo $ECHO_N "(cached) $ECHO_C" >&6
2153
2584
else
2161
2592
  IFS=$as_save_IFS
2162
2593
  test -z "$as_dir" && as_dir=.
2163
2594
  for ac_exec_ext in '' $ac_executable_extensions; do
2164
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2595
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165
2596
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2166
2597
       ac_prog_rejected=yes
2167
2598
       continue
2172
2603
  fi
2173
2604
done
2174
2605
done
 
2606
IFS=$as_save_IFS
2175
2607
 
2176
2608
if test $ac_prog_rejected = yes; then
2177
2609
  # We found a bogon in the path, so make sure we never use it.
2189
2621
fi
2190
2622
CC=$ac_cv_prog_CC
2191
2623
if test -n "$CC"; then
2192
 
  echo "$as_me:$LINENO: result: $CC" >&5
2193
 
echo "${ECHO_T}$CC" >&6
 
2624
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2625
echo "${ECHO_T}$CC" >&6; }
2194
2626
else
2195
 
  echo "$as_me:$LINENO: result: no" >&5
2196
 
echo "${ECHO_T}no" >&6
 
2627
  { echo "$as_me:$LINENO: result: no" >&5
 
2628
echo "${ECHO_T}no" >&6; }
2197
2629
fi
 
2630
 
2198
2631
 
2199
2632
fi
2200
2633
if test -z "$CC"; then
2201
2634
  if test -n "$ac_tool_prefix"; then
2202
 
  for ac_prog in cl
 
2635
  for ac_prog in cl.exe
2203
2636
  do
2204
2637
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2205
2638
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2206
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2207
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2639
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2640
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208
2641
if test "${ac_cv_prog_CC+set}" = set; then
2209
2642
  echo $ECHO_N "(cached) $ECHO_C" >&6
2210
2643
else
2217
2650
  IFS=$as_save_IFS
2218
2651
  test -z "$as_dir" && as_dir=.
2219
2652
  for ac_exec_ext in '' $ac_executable_extensions; do
2220
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2653
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221
2654
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2222
2655
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223
2656
    break 2
2224
2657
  fi
2225
2658
done
2226
2659
done
 
2660
IFS=$as_save_IFS
2227
2661
 
2228
2662
fi
2229
2663
fi
2230
2664
CC=$ac_cv_prog_CC
2231
2665
if test -n "$CC"; then
2232
 
  echo "$as_me:$LINENO: result: $CC" >&5
2233
 
echo "${ECHO_T}$CC" >&6
 
2666
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2667
echo "${ECHO_T}$CC" >&6; }
2234
2668
else
2235
 
  echo "$as_me:$LINENO: result: no" >&5
2236
 
echo "${ECHO_T}no" >&6
 
2669
  { echo "$as_me:$LINENO: result: no" >&5
 
2670
echo "${ECHO_T}no" >&6; }
2237
2671
fi
2238
2672
 
 
2673
 
2239
2674
    test -n "$CC" && break
2240
2675
  done
2241
2676
fi
2242
2677
if test -z "$CC"; then
2243
2678
  ac_ct_CC=$CC
2244
 
  for ac_prog in cl
 
2679
  for ac_prog in cl.exe
2245
2680
do
2246
2681
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2247
2682
set dummy $ac_prog; ac_word=$2
2248
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2249
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2683
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2684
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2250
2685
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2251
2686
  echo $ECHO_N "(cached) $ECHO_C" >&6
2252
2687
else
2259
2694
  IFS=$as_save_IFS
2260
2695
  test -z "$as_dir" && as_dir=.
2261
2696
  for ac_exec_ext in '' $ac_executable_extensions; do
2262
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263
2698
    ac_cv_prog_ac_ct_CC="$ac_prog"
2264
2699
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265
2700
    break 2
2266
2701
  fi
2267
2702
done
2268
2703
done
 
2704
IFS=$as_save_IFS
2269
2705
 
2270
2706
fi
2271
2707
fi
2272
2708
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2273
2709
if test -n "$ac_ct_CC"; then
2274
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2275
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2710
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2711
echo "${ECHO_T}$ac_ct_CC" >&6; }
2276
2712
else
2277
 
  echo "$as_me:$LINENO: result: no" >&5
2278
 
echo "${ECHO_T}no" >&6
 
2713
  { echo "$as_me:$LINENO: result: no" >&5
 
2714
echo "${ECHO_T}no" >&6; }
2279
2715
fi
2280
2716
 
 
2717
 
2281
2718
  test -n "$ac_ct_CC" && break
2282
2719
done
2283
2720
 
2284
 
  CC=$ac_ct_CC
 
2721
  if test "x$ac_ct_CC" = x; then
 
2722
    CC=""
 
2723
  else
 
2724
    case $cross_compiling:$ac_tool_warned in
 
2725
yes:)
 
2726
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2727
whose name does not start with the host triplet.  If you think this
 
2728
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2729
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2730
whose name does not start with the host triplet.  If you think this
 
2731
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2732
ac_tool_warned=yes ;;
 
2733
esac
 
2734
    CC=$ac_ct_CC
 
2735
  fi
2285
2736
fi
2286
2737
 
2287
2738
fi
2294
2745
   { (exit 1); exit 1; }; }
2295
2746
 
2296
2747
# Provide some information about the compiler.
2297
 
echo "$as_me:$LINENO:" \
2298
 
     "checking for C compiler version" >&5
 
2748
echo "$as_me:$LINENO: checking for C compiler version" >&5
2299
2749
ac_compiler=`set X $ac_compile; echo $2`
2300
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2301
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2302
 
  ac_status=$?
2303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304
 
  (exit $ac_status); }
2305
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2306
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2307
 
  ac_status=$?
2308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309
 
  (exit $ac_status); }
2310
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2311
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2750
{ (ac_try="$ac_compiler --version >&5"
 
2751
case "(($ac_try" in
 
2752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2753
  *) ac_try_echo=$ac_try;;
 
2754
esac
 
2755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2756
  (eval "$ac_compiler --version >&5") 2>&5
 
2757
  ac_status=$?
 
2758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2759
  (exit $ac_status); }
 
2760
{ (ac_try="$ac_compiler -v >&5"
 
2761
case "(($ac_try" in
 
2762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2763
  *) ac_try_echo=$ac_try;;
 
2764
esac
 
2765
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2766
  (eval "$ac_compiler -v >&5") 2>&5
 
2767
  ac_status=$?
 
2768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2769
  (exit $ac_status); }
 
2770
{ (ac_try="$ac_compiler -V >&5"
 
2771
case "(($ac_try" in
 
2772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2773
  *) ac_try_echo=$ac_try;;
 
2774
esac
 
2775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2776
  (eval "$ac_compiler -V >&5") 2>&5
2312
2777
  ac_status=$?
2313
2778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314
2779
  (exit $ac_status); }
2333
2798
# Try to create an executable without -o first, disregard a.out.
2334
2799
# It will help us diagnose broken compilers, and finding out an intuition
2335
2800
# of exeext.
2336
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2337
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2801
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2802
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2338
2803
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2339
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2340
 
  (eval $ac_link_default) 2>&5
 
2804
#
 
2805
# List of possible output files, starting from the most likely.
 
2806
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2807
# only as a last resort.  b.out is created by i960 compilers.
 
2808
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2809
#
 
2810
# The IRIX 6 linker writes into existing files which may not be
 
2811
# executable, retaining their permissions.  Remove them first so a
 
2812
# subsequent execution test works.
 
2813
ac_rmfiles=
 
2814
for ac_file in $ac_files
 
2815
do
 
2816
  case $ac_file in
 
2817
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2818
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2819
  esac
 
2820
done
 
2821
rm -f $ac_rmfiles
 
2822
 
 
2823
if { (ac_try="$ac_link_default"
 
2824
case "(($ac_try" in
 
2825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2826
  *) ac_try_echo=$ac_try;;
 
2827
esac
 
2828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2829
  (eval "$ac_link_default") 2>&5
2341
2830
  ac_status=$?
2342
2831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343
2832
  (exit $ac_status); }; then
2344
 
  # Find the output, starting from the most likely.  This scheme is
2345
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2346
 
# resort.
2347
 
 
2348
 
# Be careful to initialize this variable, since it used to be cached.
2349
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2350
 
ac_cv_exeext=
2351
 
# b.out is created by i960 compilers.
2352
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2833
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2834
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2835
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2836
# so that the user can short-circuit this test for compilers unknown to
 
2837
# Autoconf.
 
2838
for ac_file in $ac_files ''
2353
2839
do
2354
2840
  test -f "$ac_file" || continue
2355
2841
  case $ac_file in
2356
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2357
 
        ;;
2358
 
    conftest.$ac_ext )
2359
 
        # This is the source file.
 
2842
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2360
2843
        ;;
2361
2844
    [ab].out )
2362
2845
        # We found the default executable, but exeext='' is most
2363
2846
        # certainly right.
2364
2847
        break;;
2365
2848
    *.* )
2366
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2367
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2368
 
        # but it would be cool to find out if it's true.  Does anybody
2369
 
        # maintain Libtool? --akim.
2370
 
        export ac_cv_exeext
 
2849
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2850
        then :; else
 
2851
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2852
        fi
 
2853
        # We set ac_cv_exeext here because the later test for it is not
 
2854
        # safe: cross compilers may not add the suffix if given an `-o'
 
2855
        # argument, so we may need to know it at that point already.
 
2856
        # Even if this section looks crufty: it has the advantage of
 
2857
        # actually working.
2371
2858
        break;;
2372
2859
    * )
2373
2860
        break;;
2374
2861
  esac
2375
2862
done
 
2863
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2864
 
2376
2865
else
 
2866
  ac_file=''
 
2867
fi
 
2868
 
 
2869
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2870
echo "${ECHO_T}$ac_file" >&6; }
 
2871
if test -z "$ac_file"; then
2377
2872
  echo "$as_me: failed program was:" >&5
2378
2873
sed 's/^/| /' conftest.$ac_ext >&5
2379
2874
 
2385
2880
fi
2386
2881
 
2387
2882
ac_exeext=$ac_cv_exeext
2388
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2389
 
echo "${ECHO_T}$ac_file" >&6
2390
2883
 
2391
 
# Check the compiler produces executables we can run.  If not, either
 
2884
# Check that the compiler produces executables we can run.  If not, either
2392
2885
# the compiler is broken, or we cross compile.
2393
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2394
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2886
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2887
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2395
2888
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2396
2889
# If not cross compiling, check that we can run a simple program.
2397
2890
if test "$cross_compiling" != yes; then
2398
2891
  if { ac_try='./$ac_file'
2399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400
 
  (eval $ac_try) 2>&5
 
2892
  { (case "(($ac_try" in
 
2893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2894
  *) ac_try_echo=$ac_try;;
 
2895
esac
 
2896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2897
  (eval "$ac_try") 2>&5
2401
2898
  ac_status=$?
2402
2899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403
2900
  (exit $ac_status); }; }; then
2416
2913
    fi
2417
2914
  fi
2418
2915
fi
2419
 
echo "$as_me:$LINENO: result: yes" >&5
2420
 
echo "${ECHO_T}yes" >&6
 
2916
{ echo "$as_me:$LINENO: result: yes" >&5
 
2917
echo "${ECHO_T}yes" >&6; }
2421
2918
 
2422
2919
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2423
2920
ac_clean_files=$ac_clean_files_save
2424
 
# Check the compiler produces executables we can run.  If not, either
 
2921
# Check that the compiler produces executables we can run.  If not, either
2425
2922
# the compiler is broken, or we cross compile.
2426
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2427
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2428
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2429
 
echo "${ECHO_T}$cross_compiling" >&6
 
2923
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2924
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2925
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2926
echo "${ECHO_T}$cross_compiling" >&6; }
2430
2927
 
2431
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2432
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2433
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2434
 
  (eval $ac_link) 2>&5
 
2928
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2929
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2930
if { (ac_try="$ac_link"
 
2931
case "(($ac_try" in
 
2932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2933
  *) ac_try_echo=$ac_try;;
 
2934
esac
 
2935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2936
  (eval "$ac_link") 2>&5
2435
2937
  ac_status=$?
2436
2938
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437
2939
  (exit $ac_status); }; then
2442
2944
for ac_file in conftest.exe conftest conftest.*; do
2443
2945
  test -f "$ac_file" || continue
2444
2946
  case $ac_file in
2445
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2947
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2446
2948
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2447
 
          export ac_cv_exeext
2448
2949
          break;;
2449
2950
    * ) break;;
2450
2951
  esac
2458
2959
fi
2459
2960
 
2460
2961
rm -f conftest$ac_cv_exeext
2461
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2462
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2962
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2963
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2463
2964
 
2464
2965
rm -f conftest.$ac_ext
2465
2966
EXEEXT=$ac_cv_exeext
2466
2967
ac_exeext=$EXEEXT
2467
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2468
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2968
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2969
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2469
2970
if test "${ac_cv_objext+set}" = set; then
2470
2971
  echo $ECHO_N "(cached) $ECHO_C" >&6
2471
2972
else
2485
2986
}
2486
2987
_ACEOF
2487
2988
rm -f conftest.o conftest.obj
2488
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489
 
  (eval $ac_compile) 2>&5
 
2989
if { (ac_try="$ac_compile"
 
2990
case "(($ac_try" in
 
2991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2992
  *) ac_try_echo=$ac_try;;
 
2993
esac
 
2994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2995
  (eval "$ac_compile") 2>&5
2490
2996
  ac_status=$?
2491
2997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492
2998
  (exit $ac_status); }; then
2493
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2999
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3000
  test -f "$ac_file" || continue;
2494
3001
  case $ac_file in
2495
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3002
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2496
3003
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2497
3004
       break;;
2498
3005
  esac
2510
3017
 
2511
3018
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2512
3019
fi
2513
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2514
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3020
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3021
echo "${ECHO_T}$ac_cv_objext" >&6; }
2515
3022
OBJEXT=$ac_cv_objext
2516
3023
ac_objext=$OBJEXT
2517
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2518
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3024
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3025
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2519
3026
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2520
3027
  echo $ECHO_N "(cached) $ECHO_C" >&6
2521
3028
else
2538
3045
}
2539
3046
_ACEOF
2540
3047
rm -f conftest.$ac_objext
2541
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542
 
  (eval $ac_compile) 2>conftest.er1
 
3048
if { (ac_try="$ac_compile"
 
3049
case "(($ac_try" in
 
3050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3051
  *) ac_try_echo=$ac_try;;
 
3052
esac
 
3053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3054
  (eval "$ac_compile") 2>conftest.er1
2543
3055
  ac_status=$?
2544
3056
  grep -v '^ *+' conftest.er1 >conftest.err
2545
3057
  rm -f conftest.er1
2546
3058
  cat conftest.err >&5
2547
3059
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
 
  (exit $ac_status); } &&
2549
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551
 
  (eval $ac_try) 2>&5
2552
 
  ac_status=$?
2553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
 
  (exit $ac_status); }; } &&
2555
 
         { ac_try='test -s conftest.$ac_objext'
2556
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557
 
  (eval $ac_try) 2>&5
2558
 
  ac_status=$?
2559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560
 
  (exit $ac_status); }; }; then
 
3060
  (exit $ac_status); } && {
 
3061
         test -z "$ac_c_werror_flag" ||
 
3062
         test ! -s conftest.err
 
3063
       } && test -s conftest.$ac_objext; then
2561
3064
  ac_compiler_gnu=yes
2562
3065
else
2563
3066
  echo "$as_me: failed program was:" >&5
2564
3067
sed 's/^/| /' conftest.$ac_ext >&5
2565
3068
 
2566
 
ac_compiler_gnu=no
 
3069
        ac_compiler_gnu=no
2567
3070
fi
2568
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3071
 
 
3072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569
3073
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2570
3074
 
2571
3075
fi
2572
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2573
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3076
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3077
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2574
3078
GCC=`test $ac_compiler_gnu = yes && echo yes`
2575
3079
ac_test_CFLAGS=${CFLAGS+set}
2576
3080
ac_save_CFLAGS=$CFLAGS
2577
 
CFLAGS="-g"
2578
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2579
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3081
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3082
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2580
3083
if test "${ac_cv_prog_cc_g+set}" = set; then
2581
3084
  echo $ECHO_N "(cached) $ECHO_C" >&6
2582
3085
else
2583
 
  cat >conftest.$ac_ext <<_ACEOF
2584
 
/* confdefs.h.  */
2585
 
_ACEOF
2586
 
cat confdefs.h >>conftest.$ac_ext
2587
 
cat >>conftest.$ac_ext <<_ACEOF
2588
 
/* end confdefs.h.  */
2589
 
 
2590
 
int
2591
 
main ()
2592
 
{
2593
 
 
2594
 
  ;
2595
 
  return 0;
2596
 
}
2597
 
_ACEOF
2598
 
rm -f conftest.$ac_objext
2599
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2600
 
  (eval $ac_compile) 2>conftest.er1
2601
 
  ac_status=$?
2602
 
  grep -v '^ *+' conftest.er1 >conftest.err
2603
 
  rm -f conftest.er1
2604
 
  cat conftest.err >&5
2605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
 
  (exit $ac_status); } &&
2607
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609
 
  (eval $ac_try) 2>&5
2610
 
  ac_status=$?
2611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
 
  (exit $ac_status); }; } &&
2613
 
         { ac_try='test -s conftest.$ac_objext'
2614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615
 
  (eval $ac_try) 2>&5
2616
 
  ac_status=$?
2617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618
 
  (exit $ac_status); }; }; then
2619
 
  ac_cv_prog_cc_g=yes
2620
 
else
2621
 
  echo "$as_me: failed program was:" >&5
2622
 
sed 's/^/| /' conftest.$ac_ext >&5
2623
 
 
2624
 
ac_cv_prog_cc_g=no
2625
 
fi
2626
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2627
 
fi
2628
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2629
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3086
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3087
   ac_c_werror_flag=yes
 
3088
   ac_cv_prog_cc_g=no
 
3089
   CFLAGS="-g"
 
3090
   cat >conftest.$ac_ext <<_ACEOF
 
3091
/* confdefs.h.  */
 
3092
_ACEOF
 
3093
cat confdefs.h >>conftest.$ac_ext
 
3094
cat >>conftest.$ac_ext <<_ACEOF
 
3095
/* end confdefs.h.  */
 
3096
 
 
3097
int
 
3098
main ()
 
3099
{
 
3100
 
 
3101
  ;
 
3102
  return 0;
 
3103
}
 
3104
_ACEOF
 
3105
rm -f conftest.$ac_objext
 
3106
if { (ac_try="$ac_compile"
 
3107
case "(($ac_try" in
 
3108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3109
  *) ac_try_echo=$ac_try;;
 
3110
esac
 
3111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3112
  (eval "$ac_compile") 2>conftest.er1
 
3113
  ac_status=$?
 
3114
  grep -v '^ *+' conftest.er1 >conftest.err
 
3115
  rm -f conftest.er1
 
3116
  cat conftest.err >&5
 
3117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3118
  (exit $ac_status); } && {
 
3119
         test -z "$ac_c_werror_flag" ||
 
3120
         test ! -s conftest.err
 
3121
       } && test -s conftest.$ac_objext; then
 
3122
  ac_cv_prog_cc_g=yes
 
3123
else
 
3124
  echo "$as_me: failed program was:" >&5
 
3125
sed 's/^/| /' conftest.$ac_ext >&5
 
3126
 
 
3127
        CFLAGS=""
 
3128
      cat >conftest.$ac_ext <<_ACEOF
 
3129
/* confdefs.h.  */
 
3130
_ACEOF
 
3131
cat confdefs.h >>conftest.$ac_ext
 
3132
cat >>conftest.$ac_ext <<_ACEOF
 
3133
/* end confdefs.h.  */
 
3134
 
 
3135
int
 
3136
main ()
 
3137
{
 
3138
 
 
3139
  ;
 
3140
  return 0;
 
3141
}
 
3142
_ACEOF
 
3143
rm -f conftest.$ac_objext
 
3144
if { (ac_try="$ac_compile"
 
3145
case "(($ac_try" in
 
3146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3147
  *) ac_try_echo=$ac_try;;
 
3148
esac
 
3149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3150
  (eval "$ac_compile") 2>conftest.er1
 
3151
  ac_status=$?
 
3152
  grep -v '^ *+' conftest.er1 >conftest.err
 
3153
  rm -f conftest.er1
 
3154
  cat conftest.err >&5
 
3155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3156
  (exit $ac_status); } && {
 
3157
         test -z "$ac_c_werror_flag" ||
 
3158
         test ! -s conftest.err
 
3159
       } && test -s conftest.$ac_objext; then
 
3160
  :
 
3161
else
 
3162
  echo "$as_me: failed program was:" >&5
 
3163
sed 's/^/| /' conftest.$ac_ext >&5
 
3164
 
 
3165
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3166
         CFLAGS="-g"
 
3167
         cat >conftest.$ac_ext <<_ACEOF
 
3168
/* confdefs.h.  */
 
3169
_ACEOF
 
3170
cat confdefs.h >>conftest.$ac_ext
 
3171
cat >>conftest.$ac_ext <<_ACEOF
 
3172
/* end confdefs.h.  */
 
3173
 
 
3174
int
 
3175
main ()
 
3176
{
 
3177
 
 
3178
  ;
 
3179
  return 0;
 
3180
}
 
3181
_ACEOF
 
3182
rm -f conftest.$ac_objext
 
3183
if { (ac_try="$ac_compile"
 
3184
case "(($ac_try" in
 
3185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3186
  *) ac_try_echo=$ac_try;;
 
3187
esac
 
3188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3189
  (eval "$ac_compile") 2>conftest.er1
 
3190
  ac_status=$?
 
3191
  grep -v '^ *+' conftest.er1 >conftest.err
 
3192
  rm -f conftest.er1
 
3193
  cat conftest.err >&5
 
3194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3195
  (exit $ac_status); } && {
 
3196
         test -z "$ac_c_werror_flag" ||
 
3197
         test ! -s conftest.err
 
3198
       } && test -s conftest.$ac_objext; then
 
3199
  ac_cv_prog_cc_g=yes
 
3200
else
 
3201
  echo "$as_me: failed program was:" >&5
 
3202
sed 's/^/| /' conftest.$ac_ext >&5
 
3203
 
 
3204
        
 
3205
fi
 
3206
 
 
3207
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3208
fi
 
3209
 
 
3210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3211
fi
 
3212
 
 
3213
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3214
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3215
fi
 
3216
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3217
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2630
3218
if test "$ac_test_CFLAGS" = set; then
2631
3219
  CFLAGS=$ac_save_CFLAGS
2632
3220
elif test $ac_cv_prog_cc_g = yes; then
2642
3230
    CFLAGS=
2643
3231
  fi
2644
3232
fi
2645
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2646
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2647
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3233
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3234
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3235
if test "${ac_cv_prog_cc_c89+set}" = set; then
2648
3236
  echo $ECHO_N "(cached) $ECHO_C" >&6
2649
3237
else
2650
 
  ac_cv_prog_cc_stdc=no
 
3238
  ac_cv_prog_cc_c89=no
2651
3239
ac_save_CC=$CC
2652
3240
cat >conftest.$ac_ext <<_ACEOF
2653
3241
/* confdefs.h.  */
2681
3269
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2682
3270
   function prototypes and stuff, but not '\xHH' hex character constants.
2683
3271
   These don't provoke an error unfortunately, instead are silently treated
2684
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3272
   as 'x'.  The following induces an error, until -std is added to get
2685
3273
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2686
3274
   array size at least.  It's necessary to write '\x00'==0 to get something
2687
 
   that's true only with -std1.  */
 
3275
   that's true only with -std.  */
2688
3276
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2689
3277
 
 
3278
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3279
   inside strings and character constants.  */
 
3280
#define FOO(x) 'x'
 
3281
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3282
 
2690
3283
int test (int i, double x);
2691
3284
struct s1 {int (*f) (int a);};
2692
3285
struct s2 {int (*f) (double a);};
2701
3294
  return 0;
2702
3295
}
2703
3296
_ACEOF
2704
 
# Don't try gcc -ansi; that turns off useful extensions and
2705
 
# breaks some systems' header files.
2706
 
# AIX                   -qlanglvl=ansi
2707
 
# Ultrix and OSF/1      -std1
2708
 
# HP-UX 10.20 and later -Ae
2709
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2710
 
# SVR4                  -Xc -D__EXTENSIONS__
2711
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3297
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3298
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2712
3299
do
2713
3300
  CC="$ac_save_CC $ac_arg"
2714
3301
  rm -f conftest.$ac_objext
2715
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716
 
  (eval $ac_compile) 2>conftest.er1
 
3302
if { (ac_try="$ac_compile"
 
3303
case "(($ac_try" in
 
3304
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3305
  *) ac_try_echo=$ac_try;;
 
3306
esac
 
3307
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3308
  (eval "$ac_compile") 2>conftest.er1
2717
3309
  ac_status=$?
2718
3310
  grep -v '^ *+' conftest.er1 >conftest.err
2719
3311
  rm -f conftest.er1
2720
3312
  cat conftest.err >&5
2721
3313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
 
  (exit $ac_status); } &&
2723
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2724
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725
 
  (eval $ac_try) 2>&5
2726
 
  ac_status=$?
2727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728
 
  (exit $ac_status); }; } &&
2729
 
         { ac_try='test -s conftest.$ac_objext'
2730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731
 
  (eval $ac_try) 2>&5
2732
 
  ac_status=$?
2733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734
 
  (exit $ac_status); }; }; then
2735
 
  ac_cv_prog_cc_stdc=$ac_arg
2736
 
break
 
3314
  (exit $ac_status); } && {
 
3315
         test -z "$ac_c_werror_flag" ||
 
3316
         test ! -s conftest.err
 
3317
       } && test -s conftest.$ac_objext; then
 
3318
  ac_cv_prog_cc_c89=$ac_arg
2737
3319
else
2738
3320
  echo "$as_me: failed program was:" >&5
2739
3321
sed 's/^/| /' conftest.$ac_ext >&5
2740
3322
 
 
3323
        
2741
3324
fi
2742
 
rm -f conftest.err conftest.$ac_objext 
 
3325
 
 
3326
rm -f core conftest.err conftest.$ac_objext 
 
3327
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2743
3328
done
2744
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3329
rm -f conftest.$ac_ext
2745
3330
CC=$ac_save_CC
2746
3331
 
2747
3332
fi
2748
 
 
2749
 
case "x$ac_cv_prog_cc_stdc" in
2750
 
  x|xno)
2751
 
    echo "$as_me:$LINENO: result: none needed" >&5
2752
 
echo "${ECHO_T}none needed" >&6 ;;
 
3333
# AC_CACHE_VAL
 
3334
case "x$ac_cv_prog_cc_c89" in
 
3335
  x)
 
3336
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3337
echo "${ECHO_T}none needed" >&6; } ;;
 
3338
  xno)
 
3339
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3340
echo "${ECHO_T}unsupported" >&6; } ;;
2753
3341
  *)
2754
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2755
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2756
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3342
    CC="$CC $ac_cv_prog_cc_c89"
 
3343
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3344
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2757
3345
esac
2758
3346
 
2759
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2760
 
# in C++ we need to declare it.  In case someone uses the same compiler
2761
 
# for both compiling C and C++ we need to have the C++ compiler decide
2762
 
# the declaration of exit, since it's the most demanding environment.
2763
 
cat >conftest.$ac_ext <<_ACEOF
2764
 
@%:@ifndef __cplusplus
2765
 
  choke me
2766
 
@%:@endif
2767
 
_ACEOF
2768
 
rm -f conftest.$ac_objext
2769
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770
 
  (eval $ac_compile) 2>conftest.er1
2771
 
  ac_status=$?
2772
 
  grep -v '^ *+' conftest.er1 >conftest.err
2773
 
  rm -f conftest.er1
2774
 
  cat conftest.err >&5
2775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
 
  (exit $ac_status); } &&
2777
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779
 
  (eval $ac_try) 2>&5
2780
 
  ac_status=$?
2781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
 
  (exit $ac_status); }; } &&
2783
 
         { ac_try='test -s conftest.$ac_objext'
2784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785
 
  (eval $ac_try) 2>&5
2786
 
  ac_status=$?
2787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788
 
  (exit $ac_status); }; }; then
2789
 
  for ac_declaration in \
2790
 
   '' \
2791
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2792
 
   'extern "C" void std::exit (int); using std::exit;' \
2793
 
   'extern "C" void exit (int) throw ();' \
2794
 
   'extern "C" void exit (int);' \
2795
 
   'void exit (int);'
2796
 
do
2797
 
  cat >conftest.$ac_ext <<_ACEOF
2798
 
/* confdefs.h.  */
2799
 
_ACEOF
2800
 
cat confdefs.h >>conftest.$ac_ext
2801
 
cat >>conftest.$ac_ext <<_ACEOF
2802
 
/* end confdefs.h.  */
2803
 
$ac_declaration
2804
 
@%:@include <stdlib.h>
2805
 
int
2806
 
main ()
2807
 
{
2808
 
exit (42);
2809
 
  ;
2810
 
  return 0;
2811
 
}
2812
 
_ACEOF
2813
 
rm -f conftest.$ac_objext
2814
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2815
 
  (eval $ac_compile) 2>conftest.er1
2816
 
  ac_status=$?
2817
 
  grep -v '^ *+' conftest.er1 >conftest.err
2818
 
  rm -f conftest.er1
2819
 
  cat conftest.err >&5
2820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821
 
  (exit $ac_status); } &&
2822
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824
 
  (eval $ac_try) 2>&5
2825
 
  ac_status=$?
2826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827
 
  (exit $ac_status); }; } &&
2828
 
         { ac_try='test -s conftest.$ac_objext'
2829
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830
 
  (eval $ac_try) 2>&5
2831
 
  ac_status=$?
2832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
 
  (exit $ac_status); }; }; then
2834
 
  :
2835
 
else
2836
 
  echo "$as_me: failed program was:" >&5
2837
 
sed 's/^/| /' conftest.$ac_ext >&5
2838
 
 
2839
 
continue
2840
 
fi
2841
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2842
 
  cat >conftest.$ac_ext <<_ACEOF
2843
 
/* confdefs.h.  */
2844
 
_ACEOF
2845
 
cat confdefs.h >>conftest.$ac_ext
2846
 
cat >>conftest.$ac_ext <<_ACEOF
2847
 
/* end confdefs.h.  */
2848
 
$ac_declaration
2849
 
int
2850
 
main ()
2851
 
{
2852
 
exit (42);
2853
 
  ;
2854
 
  return 0;
2855
 
}
2856
 
_ACEOF
2857
 
rm -f conftest.$ac_objext
2858
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859
 
  (eval $ac_compile) 2>conftest.er1
2860
 
  ac_status=$?
2861
 
  grep -v '^ *+' conftest.er1 >conftest.err
2862
 
  rm -f conftest.er1
2863
 
  cat conftest.err >&5
2864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865
 
  (exit $ac_status); } &&
2866
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2867
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868
 
  (eval $ac_try) 2>&5
2869
 
  ac_status=$?
2870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871
 
  (exit $ac_status); }; } &&
2872
 
         { ac_try='test -s conftest.$ac_objext'
2873
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874
 
  (eval $ac_try) 2>&5
2875
 
  ac_status=$?
2876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877
 
  (exit $ac_status); }; }; then
2878
 
  break
2879
 
else
2880
 
  echo "$as_me: failed program was:" >&5
2881
 
sed 's/^/| /' conftest.$ac_ext >&5
2882
 
 
2883
 
fi
2884
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2885
 
done
2886
 
rm -f conftest*
2887
 
if test -n "$ac_declaration"; then
2888
 
  echo '#ifdef __cplusplus' >>confdefs.h
2889
 
  echo $ac_declaration      >>confdefs.h
2890
 
  echo '#endif'             >>confdefs.h
2891
 
fi
2892
 
 
2893
 
else
2894
 
  echo "$as_me: failed program was:" >&5
2895
 
sed 's/^/| /' conftest.$ac_ext >&5
2896
 
 
2897
 
fi
2898
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3347
 
2899
3348
ac_ext=c
2900
3349
ac_cpp='$CPP $CPPFLAGS'
2901
3350
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903
3352
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2904
3353
DEPDIR="${am__leading_dot}deps"
2905
3354
 
2906
 
          ac_config_commands="$ac_config_commands depfiles"
 
3355
ac_config_commands="$ac_config_commands depfiles"
2907
3356
 
2908
3357
 
2909
3358
am_make=${MAKE-make}
2913
3362
.PHONY: am__doit
2914
3363
END
2915
3364
# If we don't find an include directive, just comment out the code.
2916
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2917
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3365
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3366
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2918
3367
am__include="#"
2919
3368
am__quote=
2920
3369
_am_result=none
2941
3390
fi
2942
3391
 
2943
3392
 
2944
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2945
 
echo "${ECHO_T}$_am_result" >&6
 
3393
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3394
echo "${ECHO_T}$_am_result" >&6; }
2946
3395
rm -f confinc confmf
2947
3396
 
2948
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3397
# Check whether --enable-dependency-tracking was given.
2949
3398
if test "${enable_dependency_tracking+set}" = set; then
2950
 
  enableval="$enable_dependency_tracking"
2951
 
  
2952
 
fi; 
 
3399
  enableval=$enable_dependency_tracking; 
 
3400
fi
 
3401
 
2953
3402
if test "x$enable_dependency_tracking" != xno; then
2954
3403
  am_depcomp="$ac_aux_dir/depcomp"
2955
3404
  AMDEPBACKSLASH='\'
2969
3418
 
2970
3419
depcc="$CC"   am_compiler_list=
2971
3420
 
2972
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2973
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3421
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3422
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2974
3423
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2975
3424
  echo $ECHO_N "(cached) $ECHO_C" >&6
2976
3425
else
3059
3508
fi
3060
3509
 
3061
3510
fi
3062
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3063
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3511
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3512
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3064
3513
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3065
3514
 
3066
3515
 
3084
3533
 
3085
3534
 
3086
3535
debug_build=no
3087
 
# Check whether --enable-debug or --disable-debug was given.
 
3536
# Check whether --enable-debug was given.
3088
3537
if test "${enable_debug+set}" = set; then
3089
 
  enableval="$enable_debug"
3090
 
  
 
3538
  enableval=$enable_debug; 
3091
3539
        if test "x$enableval" = "xyes"; then
3092
3540
                debug_build=yes
3093
3541
        fi
3094
3542
 
3095
 
fi; 
 
3543
fi
 
3544
 
3096
3545
if test $debug_build = yes; then
3097
3546
        CFLAGS="$save_cflags -g"
3098
3547
else
3106
3555
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3107
3556
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3108
3557
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3110
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3558
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3559
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3111
3560
# On Suns, sometimes $CPP names a directory.
3112
3561
if test -n "$CPP" && test -d "$CPP"; then
3113
3562
  CPP=
3141
3590
@%:@endif
3142
3591
                     Syntax error
3143
3592
_ACEOF
3144
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3145
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3593
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3594
case "(($ac_try" in
 
3595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3596
  *) ac_try_echo=$ac_try;;
 
3597
esac
 
3598
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3599
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3146
3600
  ac_status=$?
3147
3601
  grep -v '^ *+' conftest.er1 >conftest.err
3148
3602
  rm -f conftest.er1
3149
3603
  cat conftest.err >&5
3150
3604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151
 
  (exit $ac_status); } >/dev/null; then
3152
 
  if test -s conftest.err; then
3153
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3154
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3155
 
  else
3156
 
    ac_cpp_err=
3157
 
  fi
3158
 
else
3159
 
  ac_cpp_err=yes
3160
 
fi
3161
 
if test -z "$ac_cpp_err"; then
 
3605
  (exit $ac_status); } >/dev/null && {
 
3606
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3607
         test ! -s conftest.err
 
3608
       }; then
3162
3609
  :
3163
3610
else
3164
3611
  echo "$as_me: failed program was:" >&5
3167
3614
  # Broken: fails on valid input.
3168
3615
continue
3169
3616
fi
 
3617
 
3170
3618
rm -f conftest.err conftest.$ac_ext
3171
3619
 
3172
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3620
  # OK, works on sane cases.  Now check whether nonexistent headers
3173
3621
  # can be detected and how.
3174
3622
  cat >conftest.$ac_ext <<_ACEOF
3175
3623
/* confdefs.h.  */
3179
3627
/* end confdefs.h.  */
3180
3628
@%:@include <ac_nonexistent.h>
3181
3629
_ACEOF
3182
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3183
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3630
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3631
case "(($ac_try" in
 
3632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3633
  *) ac_try_echo=$ac_try;;
 
3634
esac
 
3635
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3636
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3184
3637
  ac_status=$?
3185
3638
  grep -v '^ *+' conftest.er1 >conftest.err
3186
3639
  rm -f conftest.er1
3187
3640
  cat conftest.err >&5
3188
3641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
 
  (exit $ac_status); } >/dev/null; then
3190
 
  if test -s conftest.err; then
3191
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3192
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3193
 
  else
3194
 
    ac_cpp_err=
3195
 
  fi
3196
 
else
3197
 
  ac_cpp_err=yes
3198
 
fi
3199
 
if test -z "$ac_cpp_err"; then
 
3642
  (exit $ac_status); } >/dev/null && {
 
3643
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3644
         test ! -s conftest.err
 
3645
       }; then
3200
3646
  # Broken: success on invalid input.
3201
3647
continue
3202
3648
else
3207
3653
ac_preproc_ok=:
3208
3654
break
3209
3655
fi
 
3656
 
3210
3657
rm -f conftest.err conftest.$ac_ext
3211
3658
 
3212
3659
done
3224
3671
else
3225
3672
  ac_cv_prog_CPP=$CPP
3226
3673
fi
3227
 
echo "$as_me:$LINENO: result: $CPP" >&5
3228
 
echo "${ECHO_T}$CPP" >&6
 
3674
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3675
echo "${ECHO_T}$CPP" >&6; }
3229
3676
ac_preproc_ok=false
3230
3677
for ac_c_preproc_warn_flag in '' yes
3231
3678
do
3248
3695
@%:@endif
3249
3696
                     Syntax error
3250
3697
_ACEOF
3251
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3252
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3698
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3699
case "(($ac_try" in
 
3700
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3701
  *) ac_try_echo=$ac_try;;
 
3702
esac
 
3703
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3704
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3253
3705
  ac_status=$?
3254
3706
  grep -v '^ *+' conftest.er1 >conftest.err
3255
3707
  rm -f conftest.er1
3256
3708
  cat conftest.err >&5
3257
3709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
 
  (exit $ac_status); } >/dev/null; then
3259
 
  if test -s conftest.err; then
3260
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3261
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3262
 
  else
3263
 
    ac_cpp_err=
3264
 
  fi
3265
 
else
3266
 
  ac_cpp_err=yes
3267
 
fi
3268
 
if test -z "$ac_cpp_err"; then
 
3710
  (exit $ac_status); } >/dev/null && {
 
3711
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3712
         test ! -s conftest.err
 
3713
       }; then
3269
3714
  :
3270
3715
else
3271
3716
  echo "$as_me: failed program was:" >&5
3274
3719
  # Broken: fails on valid input.
3275
3720
continue
3276
3721
fi
 
3722
 
3277
3723
rm -f conftest.err conftest.$ac_ext
3278
3724
 
3279
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3725
  # OK, works on sane cases.  Now check whether nonexistent headers
3280
3726
  # can be detected and how.
3281
3727
  cat >conftest.$ac_ext <<_ACEOF
3282
3728
/* confdefs.h.  */
3286
3732
/* end confdefs.h.  */
3287
3733
@%:@include <ac_nonexistent.h>
3288
3734
_ACEOF
3289
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3290
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3735
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3736
case "(($ac_try" in
 
3737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3738
  *) ac_try_echo=$ac_try;;
 
3739
esac
 
3740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3741
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3291
3742
  ac_status=$?
3292
3743
  grep -v '^ *+' conftest.er1 >conftest.err
3293
3744
  rm -f conftest.er1
3294
3745
  cat conftest.err >&5
3295
3746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
 
  (exit $ac_status); } >/dev/null; then
3297
 
  if test -s conftest.err; then
3298
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3299
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3300
 
  else
3301
 
    ac_cpp_err=
3302
 
  fi
3303
 
else
3304
 
  ac_cpp_err=yes
3305
 
fi
3306
 
if test -z "$ac_cpp_err"; then
 
3747
  (exit $ac_status); } >/dev/null && {
 
3748
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3749
         test ! -s conftest.err
 
3750
       }; then
3307
3751
  # Broken: success on invalid input.
3308
3752
continue
3309
3753
else
3314
3758
ac_preproc_ok=:
3315
3759
break
3316
3760
fi
 
3761
 
3317
3762
rm -f conftest.err conftest.$ac_ext
3318
3763
 
3319
3764
done
3335
3780
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336
3781
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3337
3782
 
3338
 
ac_ext=cc
 
3783
ac_ext=cpp
3339
3784
ac_cpp='$CXXCPP $CPPFLAGS'
3340
3785
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341
3786
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342
3787
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3343
 
if test -n "$ac_tool_prefix"; then
3344
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3788
if test -z "$CXX"; then
 
3789
  if test -n "$CCC"; then
 
3790
    CXX=$CCC
 
3791
  else
 
3792
    if test -n "$ac_tool_prefix"; then
 
3793
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3345
3794
  do
3346
3795
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3347
3796
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3348
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3349
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3797
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3798
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3350
3799
if test "${ac_cv_prog_CXX+set}" = set; then
3351
3800
  echo $ECHO_N "(cached) $ECHO_C" >&6
3352
3801
else
3359
3808
  IFS=$as_save_IFS
3360
3809
  test -z "$as_dir" && as_dir=.
3361
3810
  for ac_exec_ext in '' $ac_executable_extensions; do
3362
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3811
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3363
3812
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3364
3813
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3365
3814
    break 2
3366
3815
  fi
3367
3816
done
3368
3817
done
 
3818
IFS=$as_save_IFS
3369
3819
 
3370
3820
fi
3371
3821
fi
3372
3822
CXX=$ac_cv_prog_CXX
3373
3823
if test -n "$CXX"; then
3374
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3375
 
echo "${ECHO_T}$CXX" >&6
 
3824
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
3825
echo "${ECHO_T}$CXX" >&6; }
3376
3826
else
3377
 
  echo "$as_me:$LINENO: result: no" >&5
3378
 
echo "${ECHO_T}no" >&6
 
3827
  { echo "$as_me:$LINENO: result: no" >&5
 
3828
echo "${ECHO_T}no" >&6; }
3379
3829
fi
3380
3830
 
 
3831
 
3381
3832
    test -n "$CXX" && break
3382
3833
  done
3383
3834
fi
3384
3835
if test -z "$CXX"; then
3385
3836
  ac_ct_CXX=$CXX
3386
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3837
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3387
3838
do
3388
3839
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3389
3840
set dummy $ac_prog; ac_word=$2
3390
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3391
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3841
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3842
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3392
3843
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3393
3844
  echo $ECHO_N "(cached) $ECHO_C" >&6
3394
3845
else
3401
3852
  IFS=$as_save_IFS
3402
3853
  test -z "$as_dir" && as_dir=.
3403
3854
  for ac_exec_ext in '' $ac_executable_extensions; do
3404
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3855
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3405
3856
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3406
3857
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3407
3858
    break 2
3408
3859
  fi
3409
3860
done
3410
3861
done
 
3862
IFS=$as_save_IFS
3411
3863
 
3412
3864
fi
3413
3865
fi
3414
3866
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3415
3867
if test -n "$ac_ct_CXX"; then
3416
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3417
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
3868
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3869
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3418
3870
else
3419
 
  echo "$as_me:$LINENO: result: no" >&5
3420
 
echo "${ECHO_T}no" >&6
 
3871
  { echo "$as_me:$LINENO: result: no" >&5
 
3872
echo "${ECHO_T}no" >&6; }
3421
3873
fi
3422
3874
 
 
3875
 
3423
3876
  test -n "$ac_ct_CXX" && break
3424
3877
done
3425
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3426
 
 
3427
 
  CXX=$ac_ct_CXX
3428
 
fi
3429
 
 
3430
 
 
 
3878
 
 
3879
  if test "x$ac_ct_CXX" = x; then
 
3880
    CXX="g++"
 
3881
  else
 
3882
    case $cross_compiling:$ac_tool_warned in
 
3883
yes:)
 
3884
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3885
whose name does not start with the host triplet.  If you think this
 
3886
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3887
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3888
whose name does not start with the host triplet.  If you think this
 
3889
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3890
ac_tool_warned=yes ;;
 
3891
esac
 
3892
    CXX=$ac_ct_CXX
 
3893
  fi
 
3894
fi
 
3895
 
 
3896
  fi
 
3897
fi
3431
3898
# Provide some information about the compiler.
3432
 
echo "$as_me:$LINENO:" \
3433
 
     "checking for C++ compiler version" >&5
 
3899
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3434
3900
ac_compiler=`set X $ac_compile; echo $2`
3435
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3436
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3437
 
  ac_status=$?
3438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439
 
  (exit $ac_status); }
3440
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3441
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3442
 
  ac_status=$?
3443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444
 
  (exit $ac_status); }
3445
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3446
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3901
{ (ac_try="$ac_compiler --version >&5"
 
3902
case "(($ac_try" in
 
3903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3904
  *) ac_try_echo=$ac_try;;
 
3905
esac
 
3906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3907
  (eval "$ac_compiler --version >&5") 2>&5
 
3908
  ac_status=$?
 
3909
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3910
  (exit $ac_status); }
 
3911
{ (ac_try="$ac_compiler -v >&5"
 
3912
case "(($ac_try" in
 
3913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3914
  *) ac_try_echo=$ac_try;;
 
3915
esac
 
3916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3917
  (eval "$ac_compiler -v >&5") 2>&5
 
3918
  ac_status=$?
 
3919
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3920
  (exit $ac_status); }
 
3921
{ (ac_try="$ac_compiler -V >&5"
 
3922
case "(($ac_try" in
 
3923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3924
  *) ac_try_echo=$ac_try;;
 
3925
esac
 
3926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3927
  (eval "$ac_compiler -V >&5") 2>&5
3447
3928
  ac_status=$?
3448
3929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449
3930
  (exit $ac_status); }
3450
3931
 
3451
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3452
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
3932
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3933
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3453
3934
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3454
3935
  echo $ECHO_N "(cached) $ECHO_C" >&6
3455
3936
else
3472
3953
}
3473
3954
_ACEOF
3474
3955
rm -f conftest.$ac_objext
3475
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3476
 
  (eval $ac_compile) 2>conftest.er1
 
3956
if { (ac_try="$ac_compile"
 
3957
case "(($ac_try" in
 
3958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3959
  *) ac_try_echo=$ac_try;;
 
3960
esac
 
3961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3962
  (eval "$ac_compile") 2>conftest.er1
3477
3963
  ac_status=$?
3478
3964
  grep -v '^ *+' conftest.er1 >conftest.err
3479
3965
  rm -f conftest.er1
3480
3966
  cat conftest.err >&5
3481
3967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
 
  (exit $ac_status); } &&
3483
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485
 
  (eval $ac_try) 2>&5
3486
 
  ac_status=$?
3487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488
 
  (exit $ac_status); }; } &&
3489
 
         { ac_try='test -s conftest.$ac_objext'
3490
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491
 
  (eval $ac_try) 2>&5
3492
 
  ac_status=$?
3493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
 
  (exit $ac_status); }; }; then
 
3968
  (exit $ac_status); } && {
 
3969
         test -z "$ac_cxx_werror_flag" ||
 
3970
         test ! -s conftest.err
 
3971
       } && test -s conftest.$ac_objext; then
3495
3972
  ac_compiler_gnu=yes
3496
3973
else
3497
3974
  echo "$as_me: failed program was:" >&5
3498
3975
sed 's/^/| /' conftest.$ac_ext >&5
3499
3976
 
3500
 
ac_compiler_gnu=no
 
3977
        ac_compiler_gnu=no
3501
3978
fi
3502
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3979
 
 
3980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503
3981
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3504
3982
 
3505
3983
fi
3506
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3507
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
3984
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3985
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3508
3986
GXX=`test $ac_compiler_gnu = yes && echo yes`
3509
3987
ac_test_CXXFLAGS=${CXXFLAGS+set}
3510
3988
ac_save_CXXFLAGS=$CXXFLAGS
3511
 
CXXFLAGS="-g"
3512
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3513
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
3989
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3990
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3514
3991
if test "${ac_cv_prog_cxx_g+set}" = set; then
3515
3992
  echo $ECHO_N "(cached) $ECHO_C" >&6
3516
3993
else
3517
 
  cat >conftest.$ac_ext <<_ACEOF
3518
 
/* confdefs.h.  */
3519
 
_ACEOF
3520
 
cat confdefs.h >>conftest.$ac_ext
3521
 
cat >>conftest.$ac_ext <<_ACEOF
3522
 
/* end confdefs.h.  */
3523
 
 
3524
 
int
3525
 
main ()
3526
 
{
3527
 
 
3528
 
  ;
3529
 
  return 0;
3530
 
}
3531
 
_ACEOF
3532
 
rm -f conftest.$ac_objext
3533
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534
 
  (eval $ac_compile) 2>conftest.er1
3535
 
  ac_status=$?
3536
 
  grep -v '^ *+' conftest.er1 >conftest.err
3537
 
  rm -f conftest.er1
3538
 
  cat conftest.err >&5
3539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540
 
  (exit $ac_status); } &&
3541
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543
 
  (eval $ac_try) 2>&5
3544
 
  ac_status=$?
3545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546
 
  (exit $ac_status); }; } &&
3547
 
         { ac_try='test -s conftest.$ac_objext'
3548
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549
 
  (eval $ac_try) 2>&5
3550
 
  ac_status=$?
3551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
 
  (exit $ac_status); }; }; then
3553
 
  ac_cv_prog_cxx_g=yes
3554
 
else
3555
 
  echo "$as_me: failed program was:" >&5
3556
 
sed 's/^/| /' conftest.$ac_ext >&5
3557
 
 
3558
 
ac_cv_prog_cxx_g=no
3559
 
fi
3560
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3561
 
fi
3562
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3563
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
3994
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3995
   ac_cxx_werror_flag=yes
 
3996
   ac_cv_prog_cxx_g=no
 
3997
   CXXFLAGS="-g"
 
3998
   cat >conftest.$ac_ext <<_ACEOF
 
3999
/* confdefs.h.  */
 
4000
_ACEOF
 
4001
cat confdefs.h >>conftest.$ac_ext
 
4002
cat >>conftest.$ac_ext <<_ACEOF
 
4003
/* end confdefs.h.  */
 
4004
 
 
4005
int
 
4006
main ()
 
4007
{
 
4008
 
 
4009
  ;
 
4010
  return 0;
 
4011
}
 
4012
_ACEOF
 
4013
rm -f conftest.$ac_objext
 
4014
if { (ac_try="$ac_compile"
 
4015
case "(($ac_try" in
 
4016
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4017
  *) ac_try_echo=$ac_try;;
 
4018
esac
 
4019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4020
  (eval "$ac_compile") 2>conftest.er1
 
4021
  ac_status=$?
 
4022
  grep -v '^ *+' conftest.er1 >conftest.err
 
4023
  rm -f conftest.er1
 
4024
  cat conftest.err >&5
 
4025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4026
  (exit $ac_status); } && {
 
4027
         test -z "$ac_cxx_werror_flag" ||
 
4028
         test ! -s conftest.err
 
4029
       } && test -s conftest.$ac_objext; then
 
4030
  ac_cv_prog_cxx_g=yes
 
4031
else
 
4032
  echo "$as_me: failed program was:" >&5
 
4033
sed 's/^/| /' conftest.$ac_ext >&5
 
4034
 
 
4035
        CXXFLAGS=""
 
4036
      cat >conftest.$ac_ext <<_ACEOF
 
4037
/* confdefs.h.  */
 
4038
_ACEOF
 
4039
cat confdefs.h >>conftest.$ac_ext
 
4040
cat >>conftest.$ac_ext <<_ACEOF
 
4041
/* end confdefs.h.  */
 
4042
 
 
4043
int
 
4044
main ()
 
4045
{
 
4046
 
 
4047
  ;
 
4048
  return 0;
 
4049
}
 
4050
_ACEOF
 
4051
rm -f conftest.$ac_objext
 
4052
if { (ac_try="$ac_compile"
 
4053
case "(($ac_try" in
 
4054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4055
  *) ac_try_echo=$ac_try;;
 
4056
esac
 
4057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4058
  (eval "$ac_compile") 2>conftest.er1
 
4059
  ac_status=$?
 
4060
  grep -v '^ *+' conftest.er1 >conftest.err
 
4061
  rm -f conftest.er1
 
4062
  cat conftest.err >&5
 
4063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4064
  (exit $ac_status); } && {
 
4065
         test -z "$ac_cxx_werror_flag" ||
 
4066
         test ! -s conftest.err
 
4067
       } && test -s conftest.$ac_objext; then
 
4068
  :
 
4069
else
 
4070
  echo "$as_me: failed program was:" >&5
 
4071
sed 's/^/| /' conftest.$ac_ext >&5
 
4072
 
 
4073
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4074
         CXXFLAGS="-g"
 
4075
         cat >conftest.$ac_ext <<_ACEOF
 
4076
/* confdefs.h.  */
 
4077
_ACEOF
 
4078
cat confdefs.h >>conftest.$ac_ext
 
4079
cat >>conftest.$ac_ext <<_ACEOF
 
4080
/* end confdefs.h.  */
 
4081
 
 
4082
int
 
4083
main ()
 
4084
{
 
4085
 
 
4086
  ;
 
4087
  return 0;
 
4088
}
 
4089
_ACEOF
 
4090
rm -f conftest.$ac_objext
 
4091
if { (ac_try="$ac_compile"
 
4092
case "(($ac_try" in
 
4093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4094
  *) ac_try_echo=$ac_try;;
 
4095
esac
 
4096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4097
  (eval "$ac_compile") 2>conftest.er1
 
4098
  ac_status=$?
 
4099
  grep -v '^ *+' conftest.er1 >conftest.err
 
4100
  rm -f conftest.er1
 
4101
  cat conftest.err >&5
 
4102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4103
  (exit $ac_status); } && {
 
4104
         test -z "$ac_cxx_werror_flag" ||
 
4105
         test ! -s conftest.err
 
4106
       } && test -s conftest.$ac_objext; then
 
4107
  ac_cv_prog_cxx_g=yes
 
4108
else
 
4109
  echo "$as_me: failed program was:" >&5
 
4110
sed 's/^/| /' conftest.$ac_ext >&5
 
4111
 
 
4112
        
 
4113
fi
 
4114
 
 
4115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4116
fi
 
4117
 
 
4118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4119
fi
 
4120
 
 
4121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4122
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4123
fi
 
4124
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4125
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3564
4126
if test "$ac_test_CXXFLAGS" = set; then
3565
4127
  CXXFLAGS=$ac_save_CXXFLAGS
3566
4128
elif test $ac_cv_prog_cxx_g = yes; then
3576
4138
    CXXFLAGS=
3577
4139
  fi
3578
4140
fi
3579
 
for ac_declaration in \
3580
 
   '' \
3581
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3582
 
   'extern "C" void std::exit (int); using std::exit;' \
3583
 
   'extern "C" void exit (int) throw ();' \
3584
 
   'extern "C" void exit (int);' \
3585
 
   'void exit (int);'
3586
 
do
3587
 
  cat >conftest.$ac_ext <<_ACEOF
3588
 
/* confdefs.h.  */
3589
 
_ACEOF
3590
 
cat confdefs.h >>conftest.$ac_ext
3591
 
cat >>conftest.$ac_ext <<_ACEOF
3592
 
/* end confdefs.h.  */
3593
 
$ac_declaration
3594
 
@%:@include <stdlib.h>
3595
 
int
3596
 
main ()
3597
 
{
3598
 
exit (42);
3599
 
  ;
3600
 
  return 0;
3601
 
}
3602
 
_ACEOF
3603
 
rm -f conftest.$ac_objext
3604
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3605
 
  (eval $ac_compile) 2>conftest.er1
3606
 
  ac_status=$?
3607
 
  grep -v '^ *+' conftest.er1 >conftest.err
3608
 
  rm -f conftest.er1
3609
 
  cat conftest.err >&5
3610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611
 
  (exit $ac_status); } &&
3612
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3613
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614
 
  (eval $ac_try) 2>&5
3615
 
  ac_status=$?
3616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
 
  (exit $ac_status); }; } &&
3618
 
         { ac_try='test -s conftest.$ac_objext'
3619
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620
 
  (eval $ac_try) 2>&5
3621
 
  ac_status=$?
3622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623
 
  (exit $ac_status); }; }; then
3624
 
  :
3625
 
else
3626
 
  echo "$as_me: failed program was:" >&5
3627
 
sed 's/^/| /' conftest.$ac_ext >&5
3628
 
 
3629
 
continue
3630
 
fi
3631
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3632
 
  cat >conftest.$ac_ext <<_ACEOF
3633
 
/* confdefs.h.  */
3634
 
_ACEOF
3635
 
cat confdefs.h >>conftest.$ac_ext
3636
 
cat >>conftest.$ac_ext <<_ACEOF
3637
 
/* end confdefs.h.  */
3638
 
$ac_declaration
3639
 
int
3640
 
main ()
3641
 
{
3642
 
exit (42);
3643
 
  ;
3644
 
  return 0;
3645
 
}
3646
 
_ACEOF
3647
 
rm -f conftest.$ac_objext
3648
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649
 
  (eval $ac_compile) 2>conftest.er1
3650
 
  ac_status=$?
3651
 
  grep -v '^ *+' conftest.er1 >conftest.err
3652
 
  rm -f conftest.er1
3653
 
  cat conftest.err >&5
3654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655
 
  (exit $ac_status); } &&
3656
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3657
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658
 
  (eval $ac_try) 2>&5
3659
 
  ac_status=$?
3660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661
 
  (exit $ac_status); }; } &&
3662
 
         { ac_try='test -s conftest.$ac_objext'
3663
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664
 
  (eval $ac_try) 2>&5
3665
 
  ac_status=$?
3666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667
 
  (exit $ac_status); }; }; then
3668
 
  break
3669
 
else
3670
 
  echo "$as_me: failed program was:" >&5
3671
 
sed 's/^/| /' conftest.$ac_ext >&5
3672
 
 
3673
 
fi
3674
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3675
 
done
3676
 
rm -f conftest*
3677
 
if test -n "$ac_declaration"; then
3678
 
  echo '#ifdef __cplusplus' >>confdefs.h
3679
 
  echo $ac_declaration      >>confdefs.h
3680
 
  echo '#endif'             >>confdefs.h
3681
 
fi
3682
 
 
3683
4141
ac_ext=c
3684
4142
ac_cpp='$CPP $CPPFLAGS'
3685
4143
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688
4146
 
3689
4147
depcc="$CXX"  am_compiler_list=
3690
4148
 
3691
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3692
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4149
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4150
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3693
4151
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3694
4152
  echo $ECHO_N "(cached) $ECHO_C" >&6
3695
4153
else
3778
4236
fi
3779
4237
 
3780
4238
fi
3781
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3782
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4239
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4240
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3783
4241
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3784
4242
 
3785
4243
 
3808
4266
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3809
4267
# OS/2's system install, which has a completely different semantic
3810
4268
# ./install, which can be erroneously created by make from ./install.sh.
3811
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3812
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
4269
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4270
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3813
4271
if test -z "$INSTALL"; then
3814
4272
if test "${ac_cv_path_install+set}" = set; then
3815
4273
  echo $ECHO_N "(cached) $ECHO_C" >&6
3831
4289
    # by default.
3832
4290
    for ac_prog in ginstall scoinst install; do
3833
4291
      for ac_exec_ext in '' $ac_executable_extensions; do
3834
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4292
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3835
4293
          if test $ac_prog = install &&
3836
4294
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3837
4295
            # AIX install.  It has an incompatible calling convention.
3850
4308
    ;;
3851
4309
esac
3852
4310
done
 
4311
IFS=$as_save_IFS
3853
4312
 
3854
4313
 
3855
4314
fi
3856
4315
  if test "${ac_cv_path_install+set}" = set; then
3857
4316
    INSTALL=$ac_cv_path_install
3858
4317
  else
3859
 
    # As a last resort, use the slow shell script.  We don't cache a
3860
 
    # path for INSTALL within a source directory, because that will
 
4318
    # As a last resort, use the slow shell script.  Don't cache a
 
4319
    # value for INSTALL within a source directory, because that will
3861
4320
    # break other packages using the cache if that directory is
3862
 
    # removed, or if the path is relative.
 
4321
    # removed, or if the value is a relative name.
3863
4322
    INSTALL=$ac_install_sh
3864
4323
  fi
3865
4324
fi
3866
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3867
 
echo "${ECHO_T}$INSTALL" >&6
 
4325
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4326
echo "${ECHO_T}$INSTALL" >&6; }
3868
4327
 
3869
4328
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3870
4329
# It thinks the first close brace ends the variable substitution.
3874
4333
 
3875
4334
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3876
4335
 
3877
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3878
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4336
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4337
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3879
4338
LN_S=$as_ln_s
3880
4339
if test "$LN_S" = "ln -s"; then
3881
 
  echo "$as_me:$LINENO: result: yes" >&5
3882
 
echo "${ECHO_T}yes" >&6
 
4340
  { echo "$as_me:$LINENO: result: yes" >&5
 
4341
echo "${ECHO_T}yes" >&6; }
3883
4342
else
3884
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3885
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4343
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4344
echo "${ECHO_T}no, using $LN_S" >&6; }
3886
4345
fi
3887
4346
 
3888
 
# Check whether --enable-shared or --disable-shared was given.
 
4347
# Check whether --enable-shared was given.
3889
4348
if test "${enable_shared+set}" = set; then
3890
 
  enableval="$enable_shared"
3891
 
  p=${PACKAGE-default}
 
4349
  enableval=$enable_shared; p=${PACKAGE-default}
3892
4350
    case $enableval in
3893
4351
    yes) enable_shared=yes ;;
3894
4352
    no) enable_shared=no ;;
3907
4365
    esac
3908
4366
else
3909
4367
  enable_shared=yes
3910
 
fi; 
3911
 
 
3912
 
# Check whether --enable-static or --disable-static was given.
 
4368
fi
 
4369
 
 
4370
 
 
4371
# Check whether --enable-static was given.
3913
4372
if test "${enable_static+set}" = set; then
3914
 
  enableval="$enable_static"
3915
 
  p=${PACKAGE-default}
 
4373
  enableval=$enable_static; p=${PACKAGE-default}
3916
4374
    case $enableval in
3917
4375
    yes) enable_static=yes ;;
3918
4376
    no) enable_static=no ;;
3931
4389
    esac
3932
4390
else
3933
4391
  enable_static=yes
3934
 
fi; 
3935
 
 
3936
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4392
fi
 
4393
 
 
4394
 
 
4395
# Check whether --enable-fast-install was given.
3937
4396
if test "${enable_fast_install+set}" = set; then
3938
 
  enableval="$enable_fast_install"
3939
 
  p=${PACKAGE-default}
 
4397
  enableval=$enable_fast_install; p=${PACKAGE-default}
3940
4398
    case $enableval in
3941
4399
    yes) enable_fast_install=yes ;;
3942
4400
    no) enable_fast_install=no ;;
3955
4413
    esac
3956
4414
else
3957
4415
  enable_fast_install=yes
3958
 
fi; 
 
4416
fi
 
4417
 
3959
4418
 
3960
4419
# Make sure we can run config.sub.
3961
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3962
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3963
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4420
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4421
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4422
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3964
4423
   { (exit 1); exit 1; }; }
3965
4424
 
3966
 
echo "$as_me:$LINENO: checking build system type" >&5
3967
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4425
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4426
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3968
4427
if test "${ac_cv_build+set}" = set; then
3969
4428
  echo $ECHO_N "(cached) $ECHO_C" >&6
3970
4429
else
3971
 
  ac_cv_build_alias=$build_alias
3972
 
test -z "$ac_cv_build_alias" &&
3973
 
  ac_cv_build_alias=`$ac_config_guess`
3974
 
test -z "$ac_cv_build_alias" &&
 
4430
  ac_build_alias=$build_alias
 
4431
test "x$ac_build_alias" = x &&
 
4432
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4433
test "x$ac_build_alias" = x &&
3975
4434
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3976
4435
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3977
4436
   { (exit 1); exit 1; }; }
3978
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3979
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3980
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4437
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4438
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4439
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3981
4440
   { (exit 1); exit 1; }; }
3982
4441
 
3983
4442
fi
3984
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3985
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4443
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4444
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4445
case $ac_cv_build in
 
4446
*-*-*) ;;
 
4447
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4448
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4449
   { (exit 1); exit 1; }; };;
 
4450
esac
3986
4451
build=$ac_cv_build
3987
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3988
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3989
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3990
 
 
3991
 
 
3992
 
echo "$as_me:$LINENO: checking host system type" >&5
3993
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4452
ac_save_IFS=$IFS; IFS='-'
 
4453
set x $ac_cv_build
 
4454
shift
 
4455
build_cpu=$1
 
4456
build_vendor=$2
 
4457
shift; shift
 
4458
# Remember, the first character of IFS is used to create $*,
 
4459
# except with old shells:
 
4460
build_os=$*
 
4461
IFS=$ac_save_IFS
 
4462
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4463
 
 
4464
 
 
4465
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4466
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3994
4467
if test "${ac_cv_host+set}" = set; then
3995
4468
  echo $ECHO_N "(cached) $ECHO_C" >&6
3996
4469
else
3997
 
  ac_cv_host_alias=$host_alias
3998
 
test -z "$ac_cv_host_alias" &&
3999
 
  ac_cv_host_alias=$ac_cv_build_alias
4000
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4001
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4002
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4470
  if test "x$host_alias" = x; then
 
4471
  ac_cv_host=$ac_cv_build
 
4472
else
 
4473
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4474
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4475
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4003
4476
   { (exit 1); exit 1; }; }
 
4477
fi
4004
4478
 
4005
4479
fi
4006
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4007
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4480
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4481
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4482
case $ac_cv_host in
 
4483
*-*-*) ;;
 
4484
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4485
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4486
   { (exit 1); exit 1; }; };;
 
4487
esac
4008
4488
host=$ac_cv_host
4009
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4010
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4011
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4012
 
 
4013
 
 
4014
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4015
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4489
ac_save_IFS=$IFS; IFS='-'
 
4490
set x $ac_cv_host
 
4491
shift
 
4492
host_cpu=$1
 
4493
host_vendor=$2
 
4494
shift; shift
 
4495
# Remember, the first character of IFS is used to create $*,
 
4496
# except with old shells:
 
4497
host_os=$*
 
4498
IFS=$ac_save_IFS
 
4499
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4500
 
 
4501
 
 
4502
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4503
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4016
4504
if test "${lt_cv_path_SED+set}" = set; then
4017
4505
  echo $ECHO_N "(cached) $ECHO_C" >&6
4018
4506
else
4025
4513
  test -z "$as_dir" && as_dir=.
4026
4514
  for lt_ac_prog in sed gsed; do
4027
4515
    for ac_exec_ext in '' $ac_executable_extensions; do
4028
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4516
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4029
4517
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4030
4518
      fi
4031
4519
    done
4032
4520
  done
4033
4521
done
 
4522
IFS=$as_save_IFS
4034
4523
lt_ac_max=0
4035
4524
lt_ac_count=0
4036
4525
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4065
4554
fi
4066
4555
 
4067
4556
SED=$lt_cv_path_SED
4068
 
echo "$as_me:$LINENO: result: $SED" >&5
4069
 
echo "${ECHO_T}$SED" >&6
4070
 
 
4071
 
echo "$as_me:$LINENO: checking for egrep" >&5
4072
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4073
 
if test "${ac_cv_prog_egrep+set}" = set; then
4074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4075
 
else
4076
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4077
 
    then ac_cv_prog_egrep='grep -E'
4078
 
    else ac_cv_prog_egrep='egrep'
4079
 
    fi
4080
 
fi
4081
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4082
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4083
 
 EGREP=$ac_cv_prog_egrep
4084
 
 
4085
 
 
4086
 
 
4087
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4557
 
 
4558
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4559
echo "${ECHO_T}$SED" >&6; }
 
4560
 
 
4561
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4562
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4563
if test "${ac_cv_path_GREP+set}" = set; then
 
4564
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4565
else
 
4566
  # Extract the first word of "grep ggrep" to use in msg output
 
4567
if test -z "$GREP"; then
 
4568
set dummy grep ggrep; ac_prog_name=$2
 
4569
if test "${ac_cv_path_GREP+set}" = set; then
 
4570
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4571
else
 
4572
  ac_path_GREP_found=false
 
4573
# Loop through the user's path and test for each of PROGNAME-LIST
 
4574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4575
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4576
do
 
4577
  IFS=$as_save_IFS
 
4578
  test -z "$as_dir" && as_dir=.
 
4579
  for ac_prog in grep ggrep; do
 
4580
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4581
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4582
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4583
    # Check for GNU ac_path_GREP and select it if it is found.
 
4584
  # Check for GNU $ac_path_GREP
 
4585
case `"$ac_path_GREP" --version 2>&1` in
 
4586
*GNU*)
 
4587
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4588
*)
 
4589
  ac_count=0
 
4590
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4591
  while :
 
4592
  do
 
4593
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4594
    mv "conftest.tmp" "conftest.in"
 
4595
    cp "conftest.in" "conftest.nl"
 
4596
    echo 'GREP' >> "conftest.nl"
 
4597
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4598
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4599
    ac_count=`expr $ac_count + 1`
 
4600
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4601
      # Best one so far, save it but keep looking for a better one
 
4602
      ac_cv_path_GREP="$ac_path_GREP"
 
4603
      ac_path_GREP_max=$ac_count
 
4604
    fi
 
4605
    # 10*(2^10) chars as input seems more than enough
 
4606
    test $ac_count -gt 10 && break
 
4607
  done
 
4608
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4609
esac
 
4610
 
 
4611
 
 
4612
    $ac_path_GREP_found && break 3
 
4613
  done
 
4614
done
 
4615
 
 
4616
done
 
4617
IFS=$as_save_IFS
 
4618
 
 
4619
 
 
4620
fi
 
4621
 
 
4622
GREP="$ac_cv_path_GREP"
 
4623
if test -z "$GREP"; then
 
4624
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4625
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4626
   { (exit 1); exit 1; }; }
 
4627
fi
 
4628
 
 
4629
else
 
4630
  ac_cv_path_GREP=$GREP
 
4631
fi
 
4632
 
 
4633
 
 
4634
fi
 
4635
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4636
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4637
 GREP="$ac_cv_path_GREP"
 
4638
 
 
4639
 
 
4640
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4641
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4642
if test "${ac_cv_path_EGREP+set}" = set; then
 
4643
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4644
else
 
4645
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4646
   then ac_cv_path_EGREP="$GREP -E"
 
4647
   else
 
4648
     # Extract the first word of "egrep" to use in msg output
 
4649
if test -z "$EGREP"; then
 
4650
set dummy egrep; ac_prog_name=$2
 
4651
if test "${ac_cv_path_EGREP+set}" = set; then
 
4652
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4653
else
 
4654
  ac_path_EGREP_found=false
 
4655
# Loop through the user's path and test for each of PROGNAME-LIST
 
4656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4657
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4658
do
 
4659
  IFS=$as_save_IFS
 
4660
  test -z "$as_dir" && as_dir=.
 
4661
  for ac_prog in egrep; do
 
4662
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4663
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4664
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4665
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4666
  # Check for GNU $ac_path_EGREP
 
4667
case `"$ac_path_EGREP" --version 2>&1` in
 
4668
*GNU*)
 
4669
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4670
*)
 
4671
  ac_count=0
 
4672
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4673
  while :
 
4674
  do
 
4675
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4676
    mv "conftest.tmp" "conftest.in"
 
4677
    cp "conftest.in" "conftest.nl"
 
4678
    echo 'EGREP' >> "conftest.nl"
 
4679
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4680
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4681
    ac_count=`expr $ac_count + 1`
 
4682
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4683
      # Best one so far, save it but keep looking for a better one
 
4684
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4685
      ac_path_EGREP_max=$ac_count
 
4686
    fi
 
4687
    # 10*(2^10) chars as input seems more than enough
 
4688
    test $ac_count -gt 10 && break
 
4689
  done
 
4690
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4691
esac
 
4692
 
 
4693
 
 
4694
    $ac_path_EGREP_found && break 3
 
4695
  done
 
4696
done
 
4697
 
 
4698
done
 
4699
IFS=$as_save_IFS
 
4700
 
 
4701
 
 
4702
fi
 
4703
 
 
4704
EGREP="$ac_cv_path_EGREP"
 
4705
if test -z "$EGREP"; then
 
4706
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4707
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4708
   { (exit 1); exit 1; }; }
 
4709
fi
 
4710
 
 
4711
else
 
4712
  ac_cv_path_EGREP=$EGREP
 
4713
fi
 
4714
 
 
4715
 
 
4716
   fi
 
4717
fi
 
4718
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4719
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4720
 EGREP="$ac_cv_path_EGREP"
 
4721
 
 
4722
 
 
4723
 
 
4724
# Check whether --with-gnu-ld was given.
4088
4725
if test "${with_gnu_ld+set}" = set; then
4089
 
  withval="$with_gnu_ld"
4090
 
  test "$withval" = no || with_gnu_ld=yes
 
4726
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4091
4727
else
4092
4728
  with_gnu_ld=no
4093
 
fi; 
 
4729
fi
 
4730
 
4094
4731
ac_prog=ld
4095
4732
if test "$GCC" = yes; then
4096
4733
  # Check if gcc -print-prog-name=ld gives a path.
4097
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4098
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4734
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4735
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4099
4736
  case $host in
4100
4737
  *-*-mingw*)
4101
4738
    # gcc leaves a trailing carriage return which upsets mingw
4124
4761
    ;;
4125
4762
  esac
4126
4763
elif test "$with_gnu_ld" = yes; then
4127
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
4128
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4764
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4765
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4129
4766
else
4130
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4131
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4767
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4768
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4132
4769
fi
4133
4770
if test "${lt_cv_path_LD+set}" = set; then
4134
4771
  echo $ECHO_N "(cached) $ECHO_C" >&6
4161
4798
 
4162
4799
LD="$lt_cv_path_LD"
4163
4800
if test -n "$LD"; then
4164
 
  echo "$as_me:$LINENO: result: $LD" >&5
4165
 
echo "${ECHO_T}$LD" >&6
 
4801
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4802
echo "${ECHO_T}$LD" >&6; }
4166
4803
else
4167
 
  echo "$as_me:$LINENO: result: no" >&5
4168
 
echo "${ECHO_T}no" >&6
 
4804
  { echo "$as_me:$LINENO: result: no" >&5
 
4805
echo "${ECHO_T}no" >&6; }
4169
4806
fi
4170
4807
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4171
4808
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4172
4809
   { (exit 1); exit 1; }; }
4173
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4174
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4810
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4811
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4175
4812
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4176
4813
  echo $ECHO_N "(cached) $ECHO_C" >&6
4177
4814
else
4185
4822
  ;;
4186
4823
esac
4187
4824
fi
4188
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4189
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4825
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4826
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4190
4827
with_gnu_ld=$lt_cv_prog_gnu_ld
4191
4828
 
4192
4829
 
4193
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4194
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4830
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4831
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4195
4832
if test "${lt_cv_ld_reload_flag+set}" = set; then
4196
4833
  echo $ECHO_N "(cached) $ECHO_C" >&6
4197
4834
else
4198
4835
  lt_cv_ld_reload_flag='-r'
4199
4836
fi
4200
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4201
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4837
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4838
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4202
4839
reload_flag=$lt_cv_ld_reload_flag
4203
4840
case $reload_flag in
4204
4841
"" | " "*) ;;
4208
4845
case $host_os in
4209
4846
  darwin*)
4210
4847
    if test "$GCC" = yes; then
4211
 
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
4848
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4212
4849
    else
4213
4850
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4214
4851
    fi
4215
4852
    ;;
4216
4853
esac
4217
4854
 
4218
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4219
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4855
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4856
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4220
4857
if test "${lt_cv_path_NM+set}" = set; then
4221
4858
  echo $ECHO_N "(cached) $ECHO_C" >&6
4222
4859
else
4224
4861
  # Let the user override the test.
4225
4862
  lt_cv_path_NM="$NM"
4226
4863
else
4227
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4228
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4229
 
    IFS="$lt_save_ifs"
4230
 
    test -z "$ac_dir" && ac_dir=.
4231
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4232
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4233
 
      # Check to see if the nm accepts a BSD-compat flag.
4234
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4235
 
      #   nm: unknown option "B" ignored
4236
 
      # Tru64's nm complains that /dev/null is an invalid object file
4237
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4238
 
      */dev/null* | *'Invalid file or object type'*)
4239
 
        lt_cv_path_NM="$tmp_nm -B"
4240
 
        break
4241
 
        ;;
4242
 
      *)
4243
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4244
 
        */dev/null*)
4245
 
          lt_cv_path_NM="$tmp_nm -p"
 
4864
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4865
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4866
    lt_nm_to_check="$lt_nm_to_check nm"
 
4867
  fi
 
4868
  for lt_tmp_nm in $lt_nm_to_check; do
 
4869
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4870
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4871
      IFS="$lt_save_ifs"
 
4872
      test -z "$ac_dir" && ac_dir=.
 
4873
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4874
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4875
        # Check to see if the nm accepts a BSD-compat flag.
 
4876
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4877
        #   nm: unknown option "B" ignored
 
4878
        # Tru64's nm complains that /dev/null is an invalid object file
 
4879
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4880
        */dev/null* | *'Invalid file or object type'*)
 
4881
          lt_cv_path_NM="$tmp_nm -B"
4246
4882
          break
4247
4883
          ;;
4248
4884
        *)
4249
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4250
 
          continue # so that we can try to find one that supports BSD flags
 
4885
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4886
          */dev/null*)
 
4887
            lt_cv_path_NM="$tmp_nm -p"
 
4888
            break
 
4889
            ;;
 
4890
          *)
 
4891
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4892
            continue # so that we can try to find one that supports BSD flags
 
4893
            ;;
 
4894
          esac
4251
4895
          ;;
4252
4896
        esac
4253
 
      esac
4254
 
    fi
 
4897
      fi
 
4898
    done
 
4899
    IFS="$lt_save_ifs"
4255
4900
  done
4256
 
  IFS="$lt_save_ifs"
4257
4901
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4258
4902
fi
4259
4903
fi
4260
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4261
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4904
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4905
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4262
4906
NM="$lt_cv_path_NM"
4263
4907
 
4264
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4265
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4908
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4909
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4266
4910
if test "${lt_cv_deplibs_check_method+set}" = set; then
4267
4911
  echo $ECHO_N "(cached) $ECHO_C" >&6
4268
4912
else
4303
4947
 
4304
4948
mingw* | pw32*)
4305
4949
  # Base MSYS/MinGW do not provide the 'file' command needed by
4306
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4307
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4308
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4950
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4951
  # unless we find 'file', for example because we are cross-compiling.
 
4952
  if ( file / ) >/dev/null 2>&1; then
 
4953
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4954
    lt_cv_file_magic_cmd='func_win32_libid'
 
4955
  else
 
4956
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4957
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4958
  fi
4309
4959
  ;;
4310
4960
 
4311
4961
darwin* | rhapsody*)
4312
4962
  lt_cv_deplibs_check_method=pass_all
4313
4963
  ;;
4314
4964
 
4315
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4965
freebsd* | dragonfly*)
4316
4966
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4317
4967
    case $host_cpu in
4318
4968
    i*86 )
4350
5000
  esac
4351
5001
  ;;
4352
5002
 
 
5003
interix[3-9]*)
 
5004
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5005
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5006
  ;;
 
5007
 
4353
5008
irix5* | irix6* | nonstopux*)
4354
5009
  case $LD in
4355
5010
  *-32|*"-32 ") libmagic=32-bit;;
4361
5016
  ;;
4362
5017
 
4363
5018
# This must be Linux ELF.
4364
 
linux*)
 
5019
linux* | k*bsd*-gnu)
4365
5020
  lt_cv_deplibs_check_method=pass_all
4366
5021
  ;;
4367
5022
 
4368
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5023
netbsd* | netbsdelf*-gnu)
4369
5024
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4370
5025
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4371
5026
  else
4395
5050
  lt_cv_deplibs_check_method=pass_all
4396
5051
  ;;
4397
5052
 
4398
 
sco3.2v5*)
 
5053
rdos*)
4399
5054
  lt_cv_deplibs_check_method=pass_all
4400
5055
  ;;
4401
5056
 
4403
5058
  lt_cv_deplibs_check_method=pass_all
4404
5059
  ;;
4405
5060
 
4406
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
5061
sysv4 | sysv4.3*)
4407
5062
  case $host_vendor in
4408
5063
  motorola)
4409
5064
    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]'
4424
5079
  siemens)
4425
5080
    lt_cv_deplibs_check_method=pass_all
4426
5081
    ;;
 
5082
  pc)
 
5083
    lt_cv_deplibs_check_method=pass_all
 
5084
    ;;
4427
5085
  esac
4428
5086
  ;;
4429
5087
 
4430
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
5088
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4431
5089
  lt_cv_deplibs_check_method=pass_all
4432
5090
  ;;
4433
5091
esac
4434
5092
 
4435
5093
fi
4436
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4437
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
5094
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5095
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4438
5096
file_magic_cmd=$lt_cv_file_magic_cmd
4439
5097
deplibs_check_method=$lt_cv_deplibs_check_method
4440
5098
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4445
5103
# If no C compiler was specified, use CC.
4446
5104
LTCC=${LTCC-"$CC"}
4447
5105
 
 
5106
# If no C compiler flags were specified, use CFLAGS.
 
5107
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5108
 
4448
5109
# Allow CC to be a program name with arguments.
4449
5110
compiler=$CC
4450
5111
 
4451
5112
 
4452
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
5113
# Check whether --enable-libtool-lock was given.
4453
5114
if test "${enable_libtool_lock+set}" = set; then
4454
 
  enableval="$enable_libtool_lock"
4455
 
  
4456
 
fi; 
 
5115
  enableval=$enable_libtool_lock; 
 
5116
fi
 
5117
 
4457
5118
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4458
5119
 
4459
5120
# Some flags need to be propagated to the compiler or linker for good
4515
5176
  rm -rf conftest*
4516
5177
  ;;
4517
5178
 
4518
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
5179
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5180
s390*-*linux*|sparc*-*linux*)
4519
5181
  # Find out which ABI we are using.
4520
5182
  echo 'int i;' > conftest.$ac_ext
4521
5183
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4526
5188
    case `/usr/bin/file conftest.o` in
4527
5189
    *32-bit*)
4528
5190
      case $host in
 
5191
        x86_64-*kfreebsd*-gnu)
 
5192
          LD="${LD-ld} -m elf_i386_fbsd"
 
5193
          ;;
4529
5194
        x86_64-*linux*)
4530
5195
          LD="${LD-ld} -m elf_i386"
4531
5196
          ;;
4542
5207
      ;;
4543
5208
    *64-bit*)
4544
5209
      case $host in
 
5210
        x86_64-*kfreebsd*-gnu)
 
5211
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
5212
          ;;
4545
5213
        x86_64-*linux*)
4546
5214
          LD="${LD-ld} -m elf_x86_64"
4547
5215
          ;;
4565
5233
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4566
5234
  SAVE_CFLAGS="$CFLAGS"
4567
5235
  CFLAGS="$CFLAGS -belf"
4568
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4569
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5236
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5237
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4570
5238
if test "${lt_cv_cc_needs_belf+set}" = set; then
4571
5239
  echo $ECHO_N "(cached) $ECHO_C" >&6
4572
5240
else
4592
5260
}
4593
5261
_ACEOF
4594
5262
rm -f conftest.$ac_objext conftest$ac_exeext
4595
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4596
 
  (eval $ac_link) 2>conftest.er1
 
5263
if { (ac_try="$ac_link"
 
5264
case "(($ac_try" in
 
5265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5266
  *) ac_try_echo=$ac_try;;
 
5267
esac
 
5268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5269
  (eval "$ac_link") 2>conftest.er1
4597
5270
  ac_status=$?
4598
5271
  grep -v '^ *+' conftest.er1 >conftest.err
4599
5272
  rm -f conftest.er1
4600
5273
  cat conftest.err >&5
4601
5274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
 
  (exit $ac_status); } &&
4603
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605
 
  (eval $ac_try) 2>&5
4606
 
  ac_status=$?
4607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608
 
  (exit $ac_status); }; } &&
4609
 
         { ac_try='test -s conftest$ac_exeext'
4610
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611
 
  (eval $ac_try) 2>&5
4612
 
  ac_status=$?
4613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
 
  (exit $ac_status); }; }; then
 
5275
  (exit $ac_status); } && {
 
5276
         test -z "$ac_c_werror_flag" ||
 
5277
         test ! -s conftest.err
 
5278
       } && test -s conftest$ac_exeext &&
 
5279
       $as_test_x conftest$ac_exeext; then
4615
5280
  lt_cv_cc_needs_belf=yes
4616
5281
else
4617
5282
  echo "$as_me: failed program was:" >&5
4618
5283
sed 's/^/| /' conftest.$ac_ext >&5
4619
5284
 
4620
 
lt_cv_cc_needs_belf=no
 
5285
        lt_cv_cc_needs_belf=no
4621
5286
fi
4622
 
rm -f conftest.err conftest.$ac_objext \
 
5287
 
 
5288
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623
5289
      conftest$ac_exeext conftest.$ac_ext
4624
5290
     ac_ext=c
4625
5291
ac_cpp='$CPP $CPPFLAGS'
4628
5294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4629
5295
 
4630
5296
fi
4631
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4632
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5297
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5298
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4633
5299
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4634
5300
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4635
5301
    CFLAGS="$SAVE_CFLAGS"
4636
5302
  fi
4637
5303
  ;;
 
5304
sparc*-*solaris*)
 
5305
  # Find out which ABI we are using.
 
5306
  echo 'int i;' > conftest.$ac_ext
 
5307
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5308
  (eval $ac_compile) 2>&5
 
5309
  ac_status=$?
 
5310
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5311
  (exit $ac_status); }; then
 
5312
    case `/usr/bin/file conftest.o` in
 
5313
    *64-bit*)
 
5314
      case $lt_cv_prog_gnu_ld in
 
5315
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5316
      *)    LD="${LD-ld} -64" ;;
 
5317
      esac
 
5318
      ;;
 
5319
    esac
 
5320
  fi
 
5321
  rm -rf conftest*
 
5322
  ;;
 
5323
 
4638
5324
 
4639
5325
esac
4640
5326
 
4642
5328
 
4643
5329
 
4644
5330
 
4645
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4646
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5331
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5332
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4647
5333
if test "${ac_cv_header_stdc+set}" = set; then
4648
5334
  echo $ECHO_N "(cached) $ECHO_C" >&6
4649
5335
else
4667
5353
}
4668
5354
_ACEOF
4669
5355
rm -f conftest.$ac_objext
4670
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4671
 
  (eval $ac_compile) 2>conftest.er1
 
5356
if { (ac_try="$ac_compile"
 
5357
case "(($ac_try" in
 
5358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5359
  *) ac_try_echo=$ac_try;;
 
5360
esac
 
5361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5362
  (eval "$ac_compile") 2>conftest.er1
4672
5363
  ac_status=$?
4673
5364
  grep -v '^ *+' conftest.er1 >conftest.err
4674
5365
  rm -f conftest.er1
4675
5366
  cat conftest.err >&5
4676
5367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677
 
  (exit $ac_status); } &&
4678
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4679
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680
 
  (eval $ac_try) 2>&5
4681
 
  ac_status=$?
4682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
 
  (exit $ac_status); }; } &&
4684
 
         { ac_try='test -s conftest.$ac_objext'
4685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686
 
  (eval $ac_try) 2>&5
4687
 
  ac_status=$?
4688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689
 
  (exit $ac_status); }; }; then
 
5368
  (exit $ac_status); } && {
 
5369
         test -z "$ac_c_werror_flag" ||
 
5370
         test ! -s conftest.err
 
5371
       } && test -s conftest.$ac_objext; then
4690
5372
  ac_cv_header_stdc=yes
4691
5373
else
4692
5374
  echo "$as_me: failed program was:" >&5
4693
5375
sed 's/^/| /' conftest.$ac_ext >&5
4694
5376
 
4695
 
ac_cv_header_stdc=no
 
5377
        ac_cv_header_stdc=no
4696
5378
fi
4697
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5379
 
 
5380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698
5381
 
4699
5382
if test $ac_cv_header_stdc = yes; then
4700
5383
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4750
5433
cat >>conftest.$ac_ext <<_ACEOF
4751
5434
/* end confdefs.h.  */
4752
5435
#include <ctype.h>
 
5436
#include <stdlib.h>
4753
5437
#if ((' ' & 0x0FF) == 0x020)
4754
5438
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4755
5439
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4769
5453
  for (i = 0; i < 256; i++)
4770
5454
    if (XOR (islower (i), ISLOWER (i))
4771
5455
        || toupper (i) != TOUPPER (i))
4772
 
      exit(2);
4773
 
  exit (0);
 
5456
      return 2;
 
5457
  return 0;
4774
5458
}
4775
5459
_ACEOF
4776
5460
rm -f conftest$ac_exeext
4777
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4778
 
  (eval $ac_link) 2>&5
 
5461
if { (ac_try="$ac_link"
 
5462
case "(($ac_try" in
 
5463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5464
  *) ac_try_echo=$ac_try;;
 
5465
esac
 
5466
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5467
  (eval "$ac_link") 2>&5
4779
5468
  ac_status=$?
4780
5469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781
5470
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4782
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783
 
  (eval $ac_try) 2>&5
 
5471
  { (case "(($ac_try" in
 
5472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5473
  *) ac_try_echo=$ac_try;;
 
5474
esac
 
5475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5476
  (eval "$ac_try") 2>&5
4784
5477
  ac_status=$?
4785
5478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786
5479
  (exit $ac_status); }; }; then
4793
5486
( exit $ac_status )
4794
5487
ac_cv_header_stdc=no
4795
5488
fi
4796
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4797
 
fi
4798
 
fi
4799
 
fi
4800
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4801
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5489
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5490
fi
 
5491
 
 
5492
 
 
5493
fi
 
5494
fi
 
5495
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5496
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4802
5497
if test $ac_cv_header_stdc = yes; then
4803
5498
  
4804
5499
cat >>confdefs.h <<\_ACEOF
4821
5516
                  inttypes.h stdint.h unistd.h
4822
5517
do
4823
5518
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4824
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4825
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4826
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5519
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5520
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5521
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4827
5522
  echo $ECHO_N "(cached) $ECHO_C" >&6
4828
5523
else
4829
5524
  cat >conftest.$ac_ext <<_ACEOF
4837
5532
@%:@include <$ac_header>
4838
5533
_ACEOF
4839
5534
rm -f conftest.$ac_objext
4840
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841
 
  (eval $ac_compile) 2>conftest.er1
 
5535
if { (ac_try="$ac_compile"
 
5536
case "(($ac_try" in
 
5537
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5538
  *) ac_try_echo=$ac_try;;
 
5539
esac
 
5540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5541
  (eval "$ac_compile") 2>conftest.er1
4842
5542
  ac_status=$?
4843
5543
  grep -v '^ *+' conftest.er1 >conftest.err
4844
5544
  rm -f conftest.er1
4845
5545
  cat conftest.err >&5
4846
5546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847
 
  (exit $ac_status); } &&
4848
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850
 
  (eval $ac_try) 2>&5
4851
 
  ac_status=$?
4852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853
 
  (exit $ac_status); }; } &&
4854
 
         { ac_try='test -s conftest.$ac_objext'
4855
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856
 
  (eval $ac_try) 2>&5
4857
 
  ac_status=$?
4858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859
 
  (exit $ac_status); }; }; then
 
5547
  (exit $ac_status); } && {
 
5548
         test -z "$ac_c_werror_flag" ||
 
5549
         test ! -s conftest.err
 
5550
       } && test -s conftest.$ac_objext; then
4860
5551
  eval "$as_ac_Header=yes"
4861
5552
else
4862
5553
  echo "$as_me: failed program was:" >&5
4863
5554
sed 's/^/| /' conftest.$ac_ext >&5
4864
5555
 
4865
 
eval "$as_ac_Header=no"
4866
 
fi
4867
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4868
 
fi
4869
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4870
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5556
        eval "$as_ac_Header=no"
 
5557
fi
 
5558
 
 
5559
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5560
fi
 
5561
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5562
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5563
echo "${ECHO_T}$ac_res" >&6; }
4871
5564
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4872
5565
  cat >>confdefs.h <<_ACEOF
4873
5566
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4882
5575
for ac_header in dlfcn.h
4883
5576
do
4884
5577
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4885
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4886
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4887
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4888
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5578
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5579
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5580
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5581
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4889
5582
  echo $ECHO_N "(cached) $ECHO_C" >&6
4890
5583
fi
4891
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4892
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5584
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5585
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5586
echo "${ECHO_T}$ac_res" >&6; }
4893
5587
else
4894
5588
  # Is the header compilable?
4895
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4896
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5589
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5590
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4897
5591
cat >conftest.$ac_ext <<_ACEOF
4898
5592
/* confdefs.h.  */
4899
5593
_ACEOF
4904
5598
@%:@include <$ac_header>
4905
5599
_ACEOF
4906
5600
rm -f conftest.$ac_objext
4907
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4908
 
  (eval $ac_compile) 2>conftest.er1
 
5601
if { (ac_try="$ac_compile"
 
5602
case "(($ac_try" in
 
5603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5604
  *) ac_try_echo=$ac_try;;
 
5605
esac
 
5606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5607
  (eval "$ac_compile") 2>conftest.er1
4909
5608
  ac_status=$?
4910
5609
  grep -v '^ *+' conftest.er1 >conftest.err
4911
5610
  rm -f conftest.er1
4912
5611
  cat conftest.err >&5
4913
5612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914
 
  (exit $ac_status); } &&
4915
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917
 
  (eval $ac_try) 2>&5
4918
 
  ac_status=$?
4919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920
 
  (exit $ac_status); }; } &&
4921
 
         { ac_try='test -s conftest.$ac_objext'
4922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923
 
  (eval $ac_try) 2>&5
4924
 
  ac_status=$?
4925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
 
  (exit $ac_status); }; }; then
 
5613
  (exit $ac_status); } && {
 
5614
         test -z "$ac_c_werror_flag" ||
 
5615
         test ! -s conftest.err
 
5616
       } && test -s conftest.$ac_objext; then
4927
5617
  ac_header_compiler=yes
4928
5618
else
4929
5619
  echo "$as_me: failed program was:" >&5
4930
5620
sed 's/^/| /' conftest.$ac_ext >&5
4931
5621
 
4932
 
ac_header_compiler=no
 
5622
        ac_header_compiler=no
4933
5623
fi
4934
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4935
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4936
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5624
 
 
5625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5626
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5627
echo "${ECHO_T}$ac_header_compiler" >&6; }
4937
5628
 
4938
5629
# Is the header present?
4939
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4940
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5630
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5631
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4941
5632
cat >conftest.$ac_ext <<_ACEOF
4942
5633
/* confdefs.h.  */
4943
5634
_ACEOF
4946
5637
/* end confdefs.h.  */
4947
5638
@%:@include <$ac_header>
4948
5639
_ACEOF
4949
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4950
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5640
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5641
case "(($ac_try" in
 
5642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5643
  *) ac_try_echo=$ac_try;;
 
5644
esac
 
5645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5646
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4951
5647
  ac_status=$?
4952
5648
  grep -v '^ *+' conftest.er1 >conftest.err
4953
5649
  rm -f conftest.er1
4954
5650
  cat conftest.err >&5
4955
5651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956
 
  (exit $ac_status); } >/dev/null; then
4957
 
  if test -s conftest.err; then
4958
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4959
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4960
 
  else
4961
 
    ac_cpp_err=
4962
 
  fi
4963
 
else
4964
 
  ac_cpp_err=yes
4965
 
fi
4966
 
if test -z "$ac_cpp_err"; then
 
5652
  (exit $ac_status); } >/dev/null && {
 
5653
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5654
         test ! -s conftest.err
 
5655
       }; then
4967
5656
  ac_header_preproc=yes
4968
5657
else
4969
5658
  echo "$as_me: failed program was:" >&5
4971
5660
 
4972
5661
  ac_header_preproc=no
4973
5662
fi
 
5663
 
4974
5664
rm -f conftest.err conftest.$ac_ext
4975
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4976
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5665
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5666
echo "${ECHO_T}$ac_header_preproc" >&6; }
4977
5667
 
4978
5668
# So?  What about this header?
4979
5669
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4997
5687
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4998
5688
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4999
5689
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5000
 
    (
5001
 
      cat <<\_ASBOX
5002
 
@%:@@%:@ ------------------------------------------ @%:@@%:@
5003
 
@%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
5004
 
@%:@@%:@ ------------------------------------------ @%:@@%:@
5005
 
_ASBOX
5006
 
    ) |
5007
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5690
    
5008
5691
    ;;
5009
5692
esac
5010
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5011
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5012
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5693
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5694
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5695
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5013
5696
  echo $ECHO_N "(cached) $ECHO_C" >&6
5014
5697
else
5015
5698
  eval "$as_ac_Header=\$ac_header_preproc"
5016
5699
fi
5017
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5018
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5700
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5701
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5702
echo "${ECHO_T}$ac_res" >&6; }
5019
5703
 
5020
5704
fi
5021
5705
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5032
5716
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5033
5717
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5034
5718
    (test "X$CXX" != "Xg++"))) ; then
5035
 
  ac_ext=cc
 
5719
  ac_ext=cpp
5036
5720
ac_cpp='$CXXCPP $CPPFLAGS'
5037
5721
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038
5722
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039
5723
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5040
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5041
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5724
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5725
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5042
5726
if test -z "$CXXCPP"; then
5043
5727
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5044
5728
  echo $ECHO_N "(cached) $ECHO_C" >&6
5068
5752
@%:@endif
5069
5753
                     Syntax error
5070
5754
_ACEOF
5071
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5072
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5755
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5756
case "(($ac_try" in
 
5757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5758
  *) ac_try_echo=$ac_try;;
 
5759
esac
 
5760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5761
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5073
5762
  ac_status=$?
5074
5763
  grep -v '^ *+' conftest.er1 >conftest.err
5075
5764
  rm -f conftest.er1
5076
5765
  cat conftest.err >&5
5077
5766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078
 
  (exit $ac_status); } >/dev/null; then
5079
 
  if test -s conftest.err; then
5080
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5081
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5082
 
  else
5083
 
    ac_cpp_err=
5084
 
  fi
5085
 
else
5086
 
  ac_cpp_err=yes
5087
 
fi
5088
 
if test -z "$ac_cpp_err"; then
 
5767
  (exit $ac_status); } >/dev/null && {
 
5768
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5769
         test ! -s conftest.err
 
5770
       }; then
5089
5771
  :
5090
5772
else
5091
5773
  echo "$as_me: failed program was:" >&5
5094
5776
  # Broken: fails on valid input.
5095
5777
continue
5096
5778
fi
 
5779
 
5097
5780
rm -f conftest.err conftest.$ac_ext
5098
5781
 
5099
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5782
  # OK, works on sane cases.  Now check whether nonexistent headers
5100
5783
  # can be detected and how.
5101
5784
  cat >conftest.$ac_ext <<_ACEOF
5102
5785
/* confdefs.h.  */
5106
5789
/* end confdefs.h.  */
5107
5790
@%:@include <ac_nonexistent.h>
5108
5791
_ACEOF
5109
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5110
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5792
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5793
case "(($ac_try" in
 
5794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5795
  *) ac_try_echo=$ac_try;;
 
5796
esac
 
5797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5798
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5111
5799
  ac_status=$?
5112
5800
  grep -v '^ *+' conftest.er1 >conftest.err
5113
5801
  rm -f conftest.er1
5114
5802
  cat conftest.err >&5
5115
5803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116
 
  (exit $ac_status); } >/dev/null; then
5117
 
  if test -s conftest.err; then
5118
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5119
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5120
 
  else
5121
 
    ac_cpp_err=
5122
 
  fi
5123
 
else
5124
 
  ac_cpp_err=yes
5125
 
fi
5126
 
if test -z "$ac_cpp_err"; then
 
5804
  (exit $ac_status); } >/dev/null && {
 
5805
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5806
         test ! -s conftest.err
 
5807
       }; then
5127
5808
  # Broken: success on invalid input.
5128
5809
continue
5129
5810
else
5134
5815
ac_preproc_ok=:
5135
5816
break
5136
5817
fi
 
5818
 
5137
5819
rm -f conftest.err conftest.$ac_ext
5138
5820
 
5139
5821
done
5151
5833
else
5152
5834
  ac_cv_prog_CXXCPP=$CXXCPP
5153
5835
fi
5154
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5155
 
echo "${ECHO_T}$CXXCPP" >&6
 
5836
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5837
echo "${ECHO_T}$CXXCPP" >&6; }
5156
5838
ac_preproc_ok=false
5157
5839
for ac_cxx_preproc_warn_flag in '' yes
5158
5840
do
5175
5857
@%:@endif
5176
5858
                     Syntax error
5177
5859
_ACEOF
5178
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5179
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5860
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5861
case "(($ac_try" in
 
5862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5863
  *) ac_try_echo=$ac_try;;
 
5864
esac
 
5865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5866
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5180
5867
  ac_status=$?
5181
5868
  grep -v '^ *+' conftest.er1 >conftest.err
5182
5869
  rm -f conftest.er1
5183
5870
  cat conftest.err >&5
5184
5871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185
 
  (exit $ac_status); } >/dev/null; then
5186
 
  if test -s conftest.err; then
5187
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5188
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5189
 
  else
5190
 
    ac_cpp_err=
5191
 
  fi
5192
 
else
5193
 
  ac_cpp_err=yes
5194
 
fi
5195
 
if test -z "$ac_cpp_err"; then
 
5872
  (exit $ac_status); } >/dev/null && {
 
5873
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5874
         test ! -s conftest.err
 
5875
       }; then
5196
5876
  :
5197
5877
else
5198
5878
  echo "$as_me: failed program was:" >&5
5201
5881
  # Broken: fails on valid input.
5202
5882
continue
5203
5883
fi
 
5884
 
5204
5885
rm -f conftest.err conftest.$ac_ext
5205
5886
 
5206
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5887
  # OK, works on sane cases.  Now check whether nonexistent headers
5207
5888
  # can be detected and how.
5208
5889
  cat >conftest.$ac_ext <<_ACEOF
5209
5890
/* confdefs.h.  */
5213
5894
/* end confdefs.h.  */
5214
5895
@%:@include <ac_nonexistent.h>
5215
5896
_ACEOF
5216
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5217
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5897
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5898
case "(($ac_try" in
 
5899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5900
  *) ac_try_echo=$ac_try;;
 
5901
esac
 
5902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5903
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5218
5904
  ac_status=$?
5219
5905
  grep -v '^ *+' conftest.er1 >conftest.err
5220
5906
  rm -f conftest.er1
5221
5907
  cat conftest.err >&5
5222
5908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223
 
  (exit $ac_status); } >/dev/null; then
5224
 
  if test -s conftest.err; then
5225
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5226
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5227
 
  else
5228
 
    ac_cpp_err=
5229
 
  fi
5230
 
else
5231
 
  ac_cpp_err=yes
5232
 
fi
5233
 
if test -z "$ac_cpp_err"; then
 
5909
  (exit $ac_status); } >/dev/null && {
 
5910
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5911
         test ! -s conftest.err
 
5912
       }; then
5234
5913
  # Broken: success on invalid input.
5235
5914
continue
5236
5915
else
5241
5920
ac_preproc_ok=:
5242
5921
break
5243
5922
fi
 
5923
 
5244
5924
rm -f conftest.err conftest.$ac_ext
5245
5925
 
5246
5926
done
5256
5936
   { (exit 1); exit 1; }; }
5257
5937
fi
5258
5938
 
5259
 
ac_ext=cc
 
5939
ac_ext=cpp
5260
5940
ac_cpp='$CXXCPP $CPPFLAGS'
5261
5941
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5262
5942
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270
5950
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271
5951
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5272
5952
if test -n "$ac_tool_prefix"; then
5273
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5953
  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 pgf95 lf95 ftn
5274
5954
  do
5275
5955
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5276
5956
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5277
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5278
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5957
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5958
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5279
5959
if test "${ac_cv_prog_F77+set}" = set; then
5280
5960
  echo $ECHO_N "(cached) $ECHO_C" >&6
5281
5961
else
5288
5968
  IFS=$as_save_IFS
5289
5969
  test -z "$as_dir" && as_dir=.
5290
5970
  for ac_exec_ext in '' $ac_executable_extensions; do
5291
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5971
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5292
5972
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5293
5973
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294
5974
    break 2
5295
5975
  fi
5296
5976
done
5297
5977
done
 
5978
IFS=$as_save_IFS
5298
5979
 
5299
5980
fi
5300
5981
fi
5301
5982
F77=$ac_cv_prog_F77
5302
5983
if test -n "$F77"; then
5303
 
  echo "$as_me:$LINENO: result: $F77" >&5
5304
 
echo "${ECHO_T}$F77" >&6
 
5984
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5985
echo "${ECHO_T}$F77" >&6; }
5305
5986
else
5306
 
  echo "$as_me:$LINENO: result: no" >&5
5307
 
echo "${ECHO_T}no" >&6
 
5987
  { echo "$as_me:$LINENO: result: no" >&5
 
5988
echo "${ECHO_T}no" >&6; }
5308
5989
fi
5309
5990
 
 
5991
 
5310
5992
    test -n "$F77" && break
5311
5993
  done
5312
5994
fi
5313
5995
if test -z "$F77"; then
5314
5996
  ac_ct_F77=$F77
5315
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5997
  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 pgf95 lf95 ftn
5316
5998
do
5317
5999
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5318
6000
set dummy $ac_prog; ac_word=$2
5319
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5320
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6001
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6002
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321
6003
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5322
6004
  echo $ECHO_N "(cached) $ECHO_C" >&6
5323
6005
else
5330
6012
  IFS=$as_save_IFS
5331
6013
  test -z "$as_dir" && as_dir=.
5332
6014
  for ac_exec_ext in '' $ac_executable_extensions; do
5333
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6015
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334
6016
    ac_cv_prog_ac_ct_F77="$ac_prog"
5335
6017
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336
6018
    break 2
5337
6019
  fi
5338
6020
done
5339
6021
done
 
6022
IFS=$as_save_IFS
5340
6023
 
5341
6024
fi
5342
6025
fi
5343
6026
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5344
6027
if test -n "$ac_ct_F77"; then
5345
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5346
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6028
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6029
echo "${ECHO_T}$ac_ct_F77" >&6; }
5347
6030
else
5348
 
  echo "$as_me:$LINENO: result: no" >&5
5349
 
echo "${ECHO_T}no" >&6
 
6031
  { echo "$as_me:$LINENO: result: no" >&5
 
6032
echo "${ECHO_T}no" >&6; }
5350
6033
fi
5351
6034
 
 
6035
 
5352
6036
  test -n "$ac_ct_F77" && break
5353
6037
done
5354
6038
 
5355
 
  F77=$ac_ct_F77
 
6039
  if test "x$ac_ct_F77" = x; then
 
6040
    F77=""
 
6041
  else
 
6042
    case $cross_compiling:$ac_tool_warned in
 
6043
yes:)
 
6044
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6045
whose name does not start with the host triplet.  If you think this
 
6046
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6047
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6048
whose name does not start with the host triplet.  If you think this
 
6049
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6050
ac_tool_warned=yes ;;
 
6051
esac
 
6052
    F77=$ac_ct_F77
 
6053
  fi
5356
6054
fi
5357
6055
 
5358
6056
 
5359
6057
# Provide some information about the compiler.
5360
 
echo "$as_me:__oline__:" \
5361
 
     "checking for Fortran 77 compiler version" >&5
 
6058
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5362
6059
ac_compiler=`set X $ac_compile; echo $2`
5363
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5364
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5365
 
  ac_status=$?
5366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
 
  (exit $ac_status); }
5368
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5369
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5370
 
  ac_status=$?
5371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372
 
  (exit $ac_status); }
5373
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5374
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6060
{ (ac_try="$ac_compiler --version >&5"
 
6061
case "(($ac_try" in
 
6062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6063
  *) ac_try_echo=$ac_try;;
 
6064
esac
 
6065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6066
  (eval "$ac_compiler --version >&5") 2>&5
 
6067
  ac_status=$?
 
6068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6069
  (exit $ac_status); }
 
6070
{ (ac_try="$ac_compiler -v >&5"
 
6071
case "(($ac_try" in
 
6072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6073
  *) ac_try_echo=$ac_try;;
 
6074
esac
 
6075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6076
  (eval "$ac_compiler -v >&5") 2>&5
 
6077
  ac_status=$?
 
6078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6079
  (exit $ac_status); }
 
6080
{ (ac_try="$ac_compiler -V >&5"
 
6081
case "(($ac_try" in
 
6082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6083
  *) ac_try_echo=$ac_try;;
 
6084
esac
 
6085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6086
  (eval "$ac_compiler -V >&5") 2>&5
5375
6087
  ac_status=$?
5376
6088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377
6089
  (exit $ac_status); }
5381
6093
# input file.  (Note that this only needs to work for GNU compilers.)
5382
6094
ac_save_ext=$ac_ext
5383
6095
ac_ext=F
5384
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5385
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6096
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6097
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5386
6098
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5387
6099
  echo $ECHO_N "(cached) $ECHO_C" >&6
5388
6100
else
5395
6107
      end
5396
6108
_ACEOF
5397
6109
rm -f conftest.$ac_objext
5398
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5399
 
  (eval $ac_compile) 2>conftest.er1
 
6110
if { (ac_try="$ac_compile"
 
6111
case "(($ac_try" in
 
6112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6113
  *) ac_try_echo=$ac_try;;
 
6114
esac
 
6115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6116
  (eval "$ac_compile") 2>conftest.er1
5400
6117
  ac_status=$?
5401
6118
  grep -v '^ *+' conftest.er1 >conftest.err
5402
6119
  rm -f conftest.er1
5403
6120
  cat conftest.err >&5
5404
6121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405
 
  (exit $ac_status); } &&
5406
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408
 
  (eval $ac_try) 2>&5
5409
 
  ac_status=$?
5410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411
 
  (exit $ac_status); }; } &&
5412
 
         { ac_try='test -s conftest.$ac_objext'
5413
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414
 
  (eval $ac_try) 2>&5
5415
 
  ac_status=$?
5416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); }; }; then
 
6122
  (exit $ac_status); } && {
 
6123
         test -z "$ac_f77_werror_flag" ||
 
6124
         test ! -s conftest.err
 
6125
       } && test -s conftest.$ac_objext; then
5418
6126
  ac_compiler_gnu=yes
5419
6127
else
5420
6128
  echo "$as_me: failed program was:" >&5
5421
6129
sed 's/^/| /' conftest.$ac_ext >&5
5422
6130
 
5423
 
ac_compiler_gnu=no
 
6131
        ac_compiler_gnu=no
5424
6132
fi
5425
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6133
 
 
6134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426
6135
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5427
6136
 
5428
6137
fi
5429
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5430
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6138
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6139
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5431
6140
ac_ext=$ac_save_ext
5432
6141
ac_test_FFLAGS=${FFLAGS+set}
5433
6142
ac_save_FFLAGS=$FFLAGS
5434
6143
FFLAGS=
5435
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5436
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6144
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6145
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5437
6146
if test "${ac_cv_prog_f77_g+set}" = set; then
5438
6147
  echo $ECHO_N "(cached) $ECHO_C" >&6
5439
6148
else
5444
6153
      end
5445
6154
_ACEOF
5446
6155
rm -f conftest.$ac_objext
5447
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448
 
  (eval $ac_compile) 2>conftest.er1
 
6156
if { (ac_try="$ac_compile"
 
6157
case "(($ac_try" in
 
6158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6159
  *) ac_try_echo=$ac_try;;
 
6160
esac
 
6161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6162
  (eval "$ac_compile") 2>conftest.er1
5449
6163
  ac_status=$?
5450
6164
  grep -v '^ *+' conftest.er1 >conftest.err
5451
6165
  rm -f conftest.er1
5452
6166
  cat conftest.err >&5
5453
6167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
 
  (exit $ac_status); } &&
5455
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457
 
  (eval $ac_try) 2>&5
5458
 
  ac_status=$?
5459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460
 
  (exit $ac_status); }; } &&
5461
 
         { ac_try='test -s conftest.$ac_objext'
5462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463
 
  (eval $ac_try) 2>&5
5464
 
  ac_status=$?
5465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466
 
  (exit $ac_status); }; }; then
 
6168
  (exit $ac_status); } && {
 
6169
         test -z "$ac_f77_werror_flag" ||
 
6170
         test ! -s conftest.err
 
6171
       } && test -s conftest.$ac_objext; then
5467
6172
  ac_cv_prog_f77_g=yes
5468
6173
else
5469
6174
  echo "$as_me: failed program was:" >&5
5470
6175
sed 's/^/| /' conftest.$ac_ext >&5
5471
6176
 
5472
 
ac_cv_prog_f77_g=no
5473
 
fi
5474
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5475
 
 
5476
 
fi
5477
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5478
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6177
        ac_cv_prog_f77_g=no
 
6178
fi
 
6179
 
 
6180
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6181
 
 
6182
fi
 
6183
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6184
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5479
6185
if test "$ac_test_FFLAGS" = set; then
5480
6186
  FFLAGS=$ac_save_FFLAGS
5481
6187
elif test $ac_cv_prog_f77_g = yes; then
5504
6210
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5505
6211
 
5506
6212
# find the maximum length of command line arguments
5507
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5508
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6213
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6214
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5509
6215
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5510
6216
  echo $ECHO_N "(cached) $ECHO_C" >&6
5511
6217
else
5558
6264
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5559
6265
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5560
6266
    ;;
 
6267
 
 
6268
  interix*)
 
6269
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6270
    lt_cv_sys_max_cmd_len=196608
 
6271
    ;;
 
6272
 
5561
6273
  osf*)
5562
6274
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5563
6275
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5571
6283
      esac
5572
6284
    fi
5573
6285
    ;;
 
6286
  sco3.2v5*)
 
6287
    lt_cv_sys_max_cmd_len=102400
 
6288
    ;;
 
6289
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6290
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6291
    if test -n "$kargmax"; then
 
6292
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6293
    else
 
6294
      lt_cv_sys_max_cmd_len=32768
 
6295
    fi
 
6296
    ;;
5574
6297
  *)
5575
 
    # If test is not a shell built-in, we'll probably end up computing a
5576
 
    # maximum length that is only half of the actual maximum length, but
5577
 
    # we can't tell.
5578
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5579
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6298
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6299
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6300
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6301
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6302
    else
 
6303
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6304
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5580
6305
               = "XX$teststring") >/dev/null 2>&1 &&
5581
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5582
 
            lt_cv_sys_max_cmd_len=$new_result &&
5583
 
            test $i != 17 # 1/2 MB should be enough
5584
 
    do
5585
 
      i=`expr $i + 1`
5586
 
      teststring=$teststring$teststring
5587
 
    done
5588
 
    teststring=
5589
 
    # Add a significant safety factor because C++ compilers can tack on massive
5590
 
    # amounts of additional arguments before passing them to the linker.
5591
 
    # It appears as though 1/2 is a usable value.
5592
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6306
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6307
              lt_cv_sys_max_cmd_len=$new_result &&
 
6308
              test $i != 17 # 1/2 MB should be enough
 
6309
      do
 
6310
        i=`expr $i + 1`
 
6311
        teststring=$teststring$teststring
 
6312
      done
 
6313
      teststring=
 
6314
      # Add a significant safety factor because C++ compilers can tack on massive
 
6315
      # amounts of additional arguments before passing them to the linker.
 
6316
      # It appears as though 1/2 is a usable value.
 
6317
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6318
    fi
5593
6319
    ;;
5594
6320
  esac
5595
6321
 
5596
6322
fi
5597
6323
 
5598
6324
if test -n $lt_cv_sys_max_cmd_len ; then
5599
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5600
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6325
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6326
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5601
6327
else
5602
 
  echo "$as_me:$LINENO: result: none" >&5
5603
 
echo "${ECHO_T}none" >&6
 
6328
  { echo "$as_me:$LINENO: result: none" >&5
 
6329
echo "${ECHO_T}none" >&6; }
5604
6330
fi
5605
6331
 
5606
6332
 
5607
6333
 
5608
6334
 
 
6335
 
5609
6336
# Check for command to grab the raw symbol name followed by C symbol from nm.
5610
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5611
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6337
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6338
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5612
6339
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5613
6340
  echo $ECHO_N "(cached) $ECHO_C" >&6
5614
6341
else
5643
6370
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5644
6371
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5645
6372
  ;;
5646
 
linux*)
 
6373
linux* | k*bsd*-gnu)
5647
6374
  if test "$host_cpu" = ia64; then
5648
6375
    symcode='[ABCDGIRSTW]'
5649
6376
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5656
6383
osf*)
5657
6384
  symcode='[BCDEGQRST]'
5658
6385
  ;;
5659
 
solaris* | sysv5*)
 
6386
solaris*)
5660
6387
  symcode='[BDRT]'
5661
6388
  ;;
 
6389
sco3.2v5*)
 
6390
  symcode='[DT]'
 
6391
  ;;
 
6392
sysv4.2uw2*)
 
6393
  symcode='[DT]'
 
6394
  ;;
 
6395
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6396
  symcode='[ABDT]'
 
6397
  ;;
5662
6398
sysv4)
5663
6399
  symcode='[DFNSTU]'
5664
6400
  ;;
5803
6539
  lt_cv_sys_global_symbol_to_cdecl=
5804
6540
fi
5805
6541
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5806
 
  echo "$as_me:$LINENO: result: failed" >&5
5807
 
echo "${ECHO_T}failed" >&6
 
6542
  { echo "$as_me:$LINENO: result: failed" >&5
 
6543
echo "${ECHO_T}failed" >&6; }
5808
6544
else
5809
 
  echo "$as_me:$LINENO: result: ok" >&5
5810
 
echo "${ECHO_T}ok" >&6
 
6545
  { echo "$as_me:$LINENO: result: ok" >&5
 
6546
echo "${ECHO_T}ok" >&6; }
5811
6547
fi
5812
6548
 
5813
 
echo "$as_me:$LINENO: checking for objdir" >&5
5814
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6549
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6550
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5815
6551
if test "${lt_cv_objdir+set}" = set; then
5816
6552
  echo $ECHO_N "(cached) $ECHO_C" >&6
5817
6553
else
5825
6561
fi
5826
6562
rmdir .libs 2>/dev/null
5827
6563
fi
5828
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5829
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6564
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6565
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5830
6566
objdir=$lt_cv_objdir
5831
6567
 
5832
6568
 
5877
6613
if test -n "$ac_tool_prefix"; then
5878
6614
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5879
6615
set dummy ${ac_tool_prefix}ar; ac_word=$2
5880
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5881
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6616
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6617
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5882
6618
if test "${ac_cv_prog_AR+set}" = set; then
5883
6619
  echo $ECHO_N "(cached) $ECHO_C" >&6
5884
6620
else
5891
6627
  IFS=$as_save_IFS
5892
6628
  test -z "$as_dir" && as_dir=.
5893
6629
  for ac_exec_ext in '' $ac_executable_extensions; do
5894
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5895
6631
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5896
6632
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5897
6633
    break 2
5898
6634
  fi
5899
6635
done
5900
6636
done
 
6637
IFS=$as_save_IFS
5901
6638
 
5902
6639
fi
5903
6640
fi
5904
6641
AR=$ac_cv_prog_AR
5905
6642
if test -n "$AR"; then
5906
 
  echo "$as_me:$LINENO: result: $AR" >&5
5907
 
echo "${ECHO_T}$AR" >&6
 
6643
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6644
echo "${ECHO_T}$AR" >&6; }
5908
6645
else
5909
 
  echo "$as_me:$LINENO: result: no" >&5
5910
 
echo "${ECHO_T}no" >&6
 
6646
  { echo "$as_me:$LINENO: result: no" >&5
 
6647
echo "${ECHO_T}no" >&6; }
5911
6648
fi
 
6649
 
5912
6650
 
5913
6651
fi
5914
6652
if test -z "$ac_cv_prog_AR"; then
5915
6653
  ac_ct_AR=$AR
5916
6654
  # Extract the first word of "ar", so it can be a program name with args.
5917
6655
set dummy ar; ac_word=$2
5918
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5919
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6656
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6657
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5920
6658
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5921
6659
  echo $ECHO_N "(cached) $ECHO_C" >&6
5922
6660
else
5929
6667
  IFS=$as_save_IFS
5930
6668
  test -z "$as_dir" && as_dir=.
5931
6669
  for ac_exec_ext in '' $ac_executable_extensions; do
5932
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933
6671
    ac_cv_prog_ac_ct_AR="ar"
5934
6672
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5935
6673
    break 2
5936
6674
  fi
5937
6675
done
5938
6676
done
 
6677
IFS=$as_save_IFS
5939
6678
 
5940
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5941
6679
fi
5942
6680
fi
5943
6681
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5944
6682
if test -n "$ac_ct_AR"; then
5945
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5946
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6683
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6684
echo "${ECHO_T}$ac_ct_AR" >&6; }
5947
6685
else
5948
 
  echo "$as_me:$LINENO: result: no" >&5
5949
 
echo "${ECHO_T}no" >&6
 
6686
  { echo "$as_me:$LINENO: result: no" >&5
 
6687
echo "${ECHO_T}no" >&6; }
5950
6688
fi
5951
6689
 
5952
 
  AR=$ac_ct_AR
 
6690
  if test "x$ac_ct_AR" = x; then
 
6691
    AR="false"
 
6692
  else
 
6693
    case $cross_compiling:$ac_tool_warned in
 
6694
yes:)
 
6695
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6696
whose name does not start with the host triplet.  If you think this
 
6697
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6698
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6699
whose name does not start with the host triplet.  If you think this
 
6700
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6701
ac_tool_warned=yes ;;
 
6702
esac
 
6703
    AR=$ac_ct_AR
 
6704
  fi
5953
6705
else
5954
6706
  AR="$ac_cv_prog_AR"
5955
6707
fi
5957
6709
if test -n "$ac_tool_prefix"; then
5958
6710
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5959
6711
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5960
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5961
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6712
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6713
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5962
6714
if test "${ac_cv_prog_RANLIB+set}" = set; then
5963
6715
  echo $ECHO_N "(cached) $ECHO_C" >&6
5964
6716
else
5971
6723
  IFS=$as_save_IFS
5972
6724
  test -z "$as_dir" && as_dir=.
5973
6725
  for ac_exec_ext in '' $ac_executable_extensions; do
5974
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6726
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975
6727
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5976
6728
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977
6729
    break 2
5978
6730
  fi
5979
6731
done
5980
6732
done
 
6733
IFS=$as_save_IFS
5981
6734
 
5982
6735
fi
5983
6736
fi
5984
6737
RANLIB=$ac_cv_prog_RANLIB
5985
6738
if test -n "$RANLIB"; then
5986
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5987
 
echo "${ECHO_T}$RANLIB" >&6
 
6739
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6740
echo "${ECHO_T}$RANLIB" >&6; }
5988
6741
else
5989
 
  echo "$as_me:$LINENO: result: no" >&5
5990
 
echo "${ECHO_T}no" >&6
 
6742
  { echo "$as_me:$LINENO: result: no" >&5
 
6743
echo "${ECHO_T}no" >&6; }
5991
6744
fi
 
6745
 
5992
6746
 
5993
6747
fi
5994
6748
if test -z "$ac_cv_prog_RANLIB"; then
5995
6749
  ac_ct_RANLIB=$RANLIB
5996
6750
  # Extract the first word of "ranlib", so it can be a program name with args.
5997
6751
set dummy ranlib; ac_word=$2
5998
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5999
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6752
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000
6754
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6001
6755
  echo $ECHO_N "(cached) $ECHO_C" >&6
6002
6756
else
6009
6763
  IFS=$as_save_IFS
6010
6764
  test -z "$as_dir" && as_dir=.
6011
6765
  for ac_exec_ext in '' $ac_executable_extensions; do
6012
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6766
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013
6767
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6014
6768
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015
6769
    break 2
6016
6770
  fi
6017
6771
done
6018
6772
done
 
6773
IFS=$as_save_IFS
6019
6774
 
6020
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6021
6775
fi
6022
6776
fi
6023
6777
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6024
6778
if test -n "$ac_ct_RANLIB"; then
6025
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6026
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6779
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6780
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6027
6781
else
6028
 
  echo "$as_me:$LINENO: result: no" >&5
6029
 
echo "${ECHO_T}no" >&6
 
6782
  { echo "$as_me:$LINENO: result: no" >&5
 
6783
echo "${ECHO_T}no" >&6; }
6030
6784
fi
6031
6785
 
6032
 
  RANLIB=$ac_ct_RANLIB
 
6786
  if test "x$ac_ct_RANLIB" = x; then
 
6787
    RANLIB=":"
 
6788
  else
 
6789
    case $cross_compiling:$ac_tool_warned in
 
6790
yes:)
 
6791
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6792
whose name does not start with the host triplet.  If you think this
 
6793
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6794
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6795
whose name does not start with the host triplet.  If you think this
 
6796
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6797
ac_tool_warned=yes ;;
 
6798
esac
 
6799
    RANLIB=$ac_ct_RANLIB
 
6800
  fi
6033
6801
else
6034
6802
  RANLIB="$ac_cv_prog_RANLIB"
6035
6803
fi
6037
6805
if test -n "$ac_tool_prefix"; then
6038
6806
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6039
6807
set dummy ${ac_tool_prefix}strip; ac_word=$2
6040
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6041
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6808
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6809
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6042
6810
if test "${ac_cv_prog_STRIP+set}" = set; then
6043
6811
  echo $ECHO_N "(cached) $ECHO_C" >&6
6044
6812
else
6051
6819
  IFS=$as_save_IFS
6052
6820
  test -z "$as_dir" && as_dir=.
6053
6821
  for ac_exec_ext in '' $ac_executable_extensions; do
6054
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055
6823
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6056
6824
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6057
6825
    break 2
6058
6826
  fi
6059
6827
done
6060
6828
done
 
6829
IFS=$as_save_IFS
6061
6830
 
6062
6831
fi
6063
6832
fi
6064
6833
STRIP=$ac_cv_prog_STRIP
6065
6834
if test -n "$STRIP"; then
6066
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6067
 
echo "${ECHO_T}$STRIP" >&6
 
6835
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6836
echo "${ECHO_T}$STRIP" >&6; }
6068
6837
else
6069
 
  echo "$as_me:$LINENO: result: no" >&5
6070
 
echo "${ECHO_T}no" >&6
 
6838
  { echo "$as_me:$LINENO: result: no" >&5
 
6839
echo "${ECHO_T}no" >&6; }
6071
6840
fi
 
6841
 
6072
6842
 
6073
6843
fi
6074
6844
if test -z "$ac_cv_prog_STRIP"; then
6075
6845
  ac_ct_STRIP=$STRIP
6076
6846
  # Extract the first word of "strip", so it can be a program name with args.
6077
6847
set dummy strip; ac_word=$2
6078
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6079
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6848
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6849
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6080
6850
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6081
6851
  echo $ECHO_N "(cached) $ECHO_C" >&6
6082
6852
else
6089
6859
  IFS=$as_save_IFS
6090
6860
  test -z "$as_dir" && as_dir=.
6091
6861
  for ac_exec_ext in '' $ac_executable_extensions; do
6092
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6093
6863
    ac_cv_prog_ac_ct_STRIP="strip"
6094
6864
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6095
6865
    break 2
6096
6866
  fi
6097
6867
done
6098
6868
done
 
6869
IFS=$as_save_IFS
6099
6870
 
6100
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6101
6871
fi
6102
6872
fi
6103
6873
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6104
6874
if test -n "$ac_ct_STRIP"; then
6105
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6106
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6875
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6876
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6107
6877
else
6108
 
  echo "$as_me:$LINENO: result: no" >&5
6109
 
echo "${ECHO_T}no" >&6
 
6878
  { echo "$as_me:$LINENO: result: no" >&5
 
6879
echo "${ECHO_T}no" >&6; }
6110
6880
fi
6111
6881
 
6112
 
  STRIP=$ac_ct_STRIP
 
6882
  if test "x$ac_ct_STRIP" = x; then
 
6883
    STRIP=":"
 
6884
  else
 
6885
    case $cross_compiling:$ac_tool_warned in
 
6886
yes:)
 
6887
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6888
whose name does not start with the host triplet.  If you think this
 
6889
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6890
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6891
whose name does not start with the host triplet.  If you think this
 
6892
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6893
ac_tool_warned=yes ;;
 
6894
esac
 
6895
    STRIP=$ac_ct_STRIP
 
6896
  fi
6113
6897
else
6114
6898
  STRIP="$ac_cv_prog_STRIP"
6115
6899
fi
6124
6908
test -z "$AS" && AS=as
6125
6909
test -z "$CC" && CC=cc
6126
6910
test -z "$LTCC" && LTCC=$CC
 
6911
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6127
6912
test -z "$DLLTOOL" && DLLTOOL=dlltool
6128
6913
test -z "$LD" && LD=ld
6129
6914
test -z "$LN_S" && LN_S="ln -s"
6136
6921
test -z "$ac_objext" && ac_objext=o
6137
6922
 
6138
6923
# Determine commands to create old-style static archives.
6139
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
6924
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6140
6925
old_postinstall_cmds='chmod 644 $oldlib'
6141
6926
old_postuninstall_cmds=
6142
6927
 
6143
6928
if test -n "$RANLIB"; then
6144
6929
  case $host_os in
6145
6930
  openbsd*)
6146
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
6931
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6147
6932
    ;;
6148
6933
  *)
6149
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
6934
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6150
6935
    ;;
6151
6936
  esac
6152
6937
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6167
6952
case $deplibs_check_method in
6168
6953
file_magic*)
6169
6954
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6170
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6171
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6955
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6956
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6172
6957
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6173
6958
  echo $ECHO_N "(cached) $ECHO_C" >&6
6174
6959
else
6220
7005
 
6221
7006
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6222
7007
if test -n "$MAGIC_CMD"; then
6223
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6224
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7008
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7009
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6225
7010
else
6226
 
  echo "$as_me:$LINENO: result: no" >&5
6227
 
echo "${ECHO_T}no" >&6
 
7011
  { echo "$as_me:$LINENO: result: no" >&5
 
7012
echo "${ECHO_T}no" >&6; }
6228
7013
fi
6229
7014
 
6230
7015
if test -z "$lt_cv_path_MAGIC_CMD"; then
6231
7016
  if test -n "$ac_tool_prefix"; then
6232
 
    echo "$as_me:$LINENO: checking for file" >&5
6233
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7017
    { echo "$as_me:$LINENO: checking for file" >&5
 
7018
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6234
7019
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6235
7020
  echo $ECHO_N "(cached) $ECHO_C" >&6
6236
7021
else
6282
7067
 
6283
7068
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6284
7069
if test -n "$MAGIC_CMD"; then
6285
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6286
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7070
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7071
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6287
7072
else
6288
 
  echo "$as_me:$LINENO: result: no" >&5
6289
 
echo "${ECHO_T}no" >&6
 
7073
  { echo "$as_me:$LINENO: result: no" >&5
 
7074
echo "${ECHO_T}no" >&6; }
6290
7075
fi
6291
7076
 
6292
7077
  else
6301
7086
enable_dlopen=no
6302
7087
enable_win32_dll=no
6303
7088
 
6304
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7089
# Check whether --enable-libtool-lock was given.
6305
7090
if test "${enable_libtool_lock+set}" = set; then
6306
 
  enableval="$enable_libtool_lock"
6307
 
  
6308
 
fi; 
 
7091
  enableval=$enable_libtool_lock; 
 
7092
fi
 
7093
 
6309
7094
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6310
7095
 
6311
7096
 
6312
 
# Check whether --with-pic or --without-pic was given.
 
7097
# Check whether --with-pic was given.
6313
7098
if test "${with_pic+set}" = set; then
6314
 
  withval="$with_pic"
6315
 
  pic_mode="$withval"
 
7099
  withval=$with_pic; pic_mode="$withval"
6316
7100
else
6317
7101
  pic_mode=default
6318
 
fi; 
 
7102
fi
 
7103
 
6319
7104
test -z "$pic_mode" && pic_mode=default
6320
7105
 
6321
7106
# Use C for the default configuration in the libtool script
6336
7121
objext=$objext
6337
7122
 
6338
7123
# Code to be used in simple compile tests
6339
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7124
lt_simple_compile_test_code="int some_variable = 0;"
6340
7125
 
6341
7126
# Code to be used in simple link tests
6342
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7127
lt_simple_link_test_code='int main(){return(0);}'
6343
7128
 
6344
7129
 
6345
7130
# If no C compiler was specified, use CC.
6346
7131
LTCC=${LTCC-"$CC"}
6347
7132
 
 
7133
# If no C compiler flags were specified, use CFLAGS.
 
7134
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7135
 
6348
7136
# Allow CC to be a program name with arguments.
6349
7137
compiler=$CC
6350
7138
 
6351
7139
 
6352
7140
# save warnings/boilerplate of simple test code
6353
7141
ac_outfile=conftest.$ac_objext
6354
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6355
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7142
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7143
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6356
7144
_lt_compiler_boilerplate=`cat conftest.err`
6357
7145
$rm conftest*
6358
7146
 
6359
7147
ac_outfile=conftest.$ac_objext
6360
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6361
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7148
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7149
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6362
7150
_lt_linker_boilerplate=`cat conftest.err`
6363
7151
$rm conftest*
6364
7152
 
6365
7153
 
6366
 
#
6367
 
# Check for any special shared library compilation flags.
6368
 
#
6369
 
lt_prog_cc_shlib=
6370
 
if test "$GCC" = no; then
6371
 
  case $host_os in
6372
 
  sco3.2v5*)
6373
 
    lt_prog_cc_shlib='-belf'
6374
 
    ;;
6375
 
  esac
6376
 
fi
6377
 
if test -n "$lt_prog_cc_shlib"; then
6378
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6379
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6380
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6381
 
  else
6382
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6383
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6384
 
    lt_cv_prog_cc_can_build_shared=no
6385
 
  fi
6386
 
fi
6387
 
 
6388
 
 
6389
 
#
6390
 
# Check to make sure the static flag actually works.
6391
 
#
6392
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6393
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6394
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6395
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6396
 
else
6397
 
  lt_prog_compiler_static_works=no
6398
 
   save_LDFLAGS="$LDFLAGS"
6399
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6400
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6401
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6402
 
     # The linker can only warn and ignore the option if not recognized
6403
 
     # So say no if there are warnings
6404
 
     if test -s conftest.err; then
6405
 
       # Append any errors to the config.log.
6406
 
       cat conftest.err 1>&5
6407
 
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6408
 
       $SED '/^$/d' conftest.err >conftest.er2
6409
 
       if diff conftest.exp conftest.er2 >/dev/null; then
6410
 
         lt_prog_compiler_static_works=yes
6411
 
       fi
6412
 
     else
6413
 
       lt_prog_compiler_static_works=yes
6414
 
     fi
6415
 
   fi
6416
 
   $rm conftest*
6417
 
   LDFLAGS="$save_LDFLAGS"
6418
 
 
6419
 
fi
6420
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6421
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6422
 
 
6423
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6424
 
    :
6425
 
else
6426
 
    lt_prog_compiler_static=
6427
 
fi
6428
 
 
6429
 
 
6430
 
 
6431
7154
 
6432
7155
lt_prog_compiler_no_builtin_flag=
6433
7156
 
6435
7158
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6436
7159
 
6437
7160
  
6438
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6439
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7161
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7162
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6440
7163
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6441
7164
  echo $ECHO_N "(cached) $ECHO_C" >&6
6442
7165
else
6443
7166
  lt_cv_prog_compiler_rtti_exceptions=no
6444
7167
  ac_outfile=conftest.$ac_objext
6445
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7168
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6446
7169
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6447
7170
   # Insert the option either (1) after the last *FLAGS variable, or
6448
7171
   # (2) before a word containing "conftest.", or (3) at the end.
6461
7184
   if (exit $ac_status) && test -s "$ac_outfile"; then
6462
7185
     # The compiler can only warn and ignore the option if not recognized
6463
7186
     # So say no if there are warnings other than the usual output.
6464
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6465
 
     $SED '/^$/d' conftest.err >conftest.er2
6466
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7187
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7188
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7189
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6467
7190
       lt_cv_prog_compiler_rtti_exceptions=yes
6468
7191
     fi
6469
7192
   fi
6470
7193
   $rm conftest*
6471
7194
 
6472
7195
fi
6473
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6474
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7196
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7197
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6475
7198
 
6476
7199
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6477
7200
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6485
7208
lt_prog_compiler_pic=
6486
7209
lt_prog_compiler_static=
6487
7210
 
6488
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6489
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7211
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7212
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6490
7213
 
6491
7214
  if test "$GCC" = yes; then
6492
7215
    lt_prog_compiler_wl='-Wl,'
6508
7231
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6509
7232
      ;;
6510
7233
 
6511
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7234
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6512
7235
      # PIC is the default for these OSes.
6513
7236
      ;;
6514
7237
 
6515
 
    mingw* | pw32* | os2*)
 
7238
    mingw* | cygwin* | pw32* | os2*)
6516
7239
      # This hack is so that the source file can tell whether it is being
6517
7240
      # built for inclusion in a dll (and should export symbols for example).
 
7241
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7242
      # (--disable-auto-import) libraries
6518
7243
      lt_prog_compiler_pic='-DDLL_EXPORT'
6519
7244
      ;;
6520
7245
 
6524
7249
      lt_prog_compiler_pic='-fno-common'
6525
7250
      ;;
6526
7251
 
 
7252
    interix[3-9]*)
 
7253
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7254
      # Instead, we relocate shared libraries at runtime.
 
7255
      ;;
 
7256
 
6527
7257
    msdosdjgpp*)
6528
7258
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6529
7259
      # on systems that don't support them.
6577
7307
       esac
6578
7308
       ;;
6579
7309
 
6580
 
    mingw* | pw32* | os2*)
 
7310
    mingw* | cygwin* | pw32* | os2*)
6581
7311
      # This hack is so that the source file can tell whether it is being
6582
7312
      # built for inclusion in a dll (and should export symbols for example).
6583
7313
      lt_prog_compiler_pic='-DDLL_EXPORT'
6610
7340
      lt_prog_compiler_static='-Bstatic'
6611
7341
      ;;
6612
7342
 
6613
 
    linux*)
 
7343
    linux* | k*bsd*-gnu)
6614
7344
      case $cc_basename in
6615
7345
      icc* | ecc*)
6616
7346
        lt_prog_compiler_wl='-Wl,'
6629
7359
        # All Alpha code is PIC.
6630
7360
        lt_prog_compiler_static='-non_shared'
6631
7361
        ;;
 
7362
      *)
 
7363
        case `$CC -V 2>&1 | sed 5q` in
 
7364
        *Sun\ C*)
 
7365
          # Sun C 5.9
 
7366
          lt_prog_compiler_pic='-KPIC'
 
7367
          lt_prog_compiler_static='-Bstatic'
 
7368
          lt_prog_compiler_wl='-Wl,'
 
7369
          ;;
 
7370
        *Sun\ F*)
 
7371
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7372
          lt_prog_compiler_pic='-KPIC'
 
7373
          lt_prog_compiler_static='-Bstatic'
 
7374
          lt_prog_compiler_wl=''
 
7375
          ;;
 
7376
        esac
 
7377
        ;;
6632
7378
      esac
6633
7379
      ;;
6634
7380
 
6638
7384
      lt_prog_compiler_static='-non_shared'
6639
7385
      ;;
6640
7386
 
6641
 
    sco3.2v5*)
6642
 
      lt_prog_compiler_pic='-Kpic'
6643
 
      lt_prog_compiler_static='-dn'
 
7387
    rdos*)
 
7388
      lt_prog_compiler_static='-non_shared'
6644
7389
      ;;
6645
7390
 
6646
7391
    solaris*)
6660
7405
      lt_prog_compiler_static='-Bstatic'
6661
7406
      ;;
6662
7407
 
6663
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7408
    sysv4 | sysv4.2uw2* | sysv4.3*)
6664
7409
      lt_prog_compiler_wl='-Wl,'
6665
7410
      lt_prog_compiler_pic='-KPIC'
6666
7411
      lt_prog_compiler_static='-Bstatic'
6673
7418
      fi
6674
7419
      ;;
6675
7420
 
 
7421
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7422
      lt_prog_compiler_wl='-Wl,'
 
7423
      lt_prog_compiler_pic='-KPIC'
 
7424
      lt_prog_compiler_static='-Bstatic'
 
7425
      ;;
 
7426
 
6676
7427
    unicos*)
6677
7428
      lt_prog_compiler_wl='-Wl,'
6678
7429
      lt_prog_compiler_can_build_shared=no
6689
7440
    esac
6690
7441
  fi
6691
7442
 
6692
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6693
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7443
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7444
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6694
7445
 
6695
7446
#
6696
7447
# Check to make sure the PIC flag actually works.
6697
7448
#
6698
7449
if test -n "$lt_prog_compiler_pic"; then
6699
7450
  
6700
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6701
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7451
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7452
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6702
7453
if test "${lt_prog_compiler_pic_works+set}" = set; then
6703
7454
  echo $ECHO_N "(cached) $ECHO_C" >&6
6704
7455
else
6705
7456
  lt_prog_compiler_pic_works=no
6706
7457
  ac_outfile=conftest.$ac_objext
6707
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7458
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6708
7459
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6709
7460
   # Insert the option either (1) after the last *FLAGS variable, or
6710
7461
   # (2) before a word containing "conftest.", or (3) at the end.
6723
7474
   if (exit $ac_status) && test -s "$ac_outfile"; then
6724
7475
     # The compiler can only warn and ignore the option if not recognized
6725
7476
     # So say no if there are warnings other than the usual output.
6726
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6727
 
     $SED '/^$/d' conftest.err >conftest.er2
6728
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7477
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7478
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7479
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6729
7480
       lt_prog_compiler_pic_works=yes
6730
7481
     fi
6731
7482
   fi
6732
7483
   $rm conftest*
6733
7484
 
6734
7485
fi
6735
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6736
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7486
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7487
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6737
7488
 
6738
7489
if test x"$lt_prog_compiler_pic_works" = xyes; then
6739
7490
    case $lt_prog_compiler_pic in
6756
7507
    ;;
6757
7508
esac
6758
7509
 
6759
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6760
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7510
#
 
7511
# Check to make sure the static flag actually works.
 
7512
#
 
7513
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7514
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7515
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
7516
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7517
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7518
else
 
7519
  lt_prog_compiler_static_works=no
 
7520
   save_LDFLAGS="$LDFLAGS"
 
7521
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7522
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
7523
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7524
     # The linker can only warn and ignore the option if not recognized
 
7525
     # So say no if there are warnings
 
7526
     if test -s conftest.err; then
 
7527
       # Append any errors to the config.log.
 
7528
       cat conftest.err 1>&5
 
7529
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7530
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7531
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7532
         lt_prog_compiler_static_works=yes
 
7533
       fi
 
7534
     else
 
7535
       lt_prog_compiler_static_works=yes
 
7536
     fi
 
7537
   fi
 
7538
   $rm conftest*
 
7539
   LDFLAGS="$save_LDFLAGS"
 
7540
 
 
7541
fi
 
7542
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7543
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7544
 
 
7545
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7546
    :
 
7547
else
 
7548
    lt_prog_compiler_static=
 
7549
fi
 
7550
 
 
7551
 
 
7552
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7553
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6761
7554
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6762
7555
  echo $ECHO_N "(cached) $ECHO_C" >&6
6763
7556
else
6766
7559
   mkdir conftest
6767
7560
   cd conftest
6768
7561
   mkdir out
6769
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7562
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6770
7563
 
6771
7564
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6772
7565
   # Insert the option either (1) after the last *FLAGS variable, or
6786
7579
   then
6787
7580
     # The compiler can only warn and ignore the option if not recognized
6788
7581
     # So say no if there are warnings
6789
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6790
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
6791
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7582
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7583
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7584
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6792
7585
       lt_cv_prog_compiler_c_o=yes
6793
7586
     fi
6794
7587
   fi
6803
7596
   $rm conftest*
6804
7597
 
6805
7598
fi
6806
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6807
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7599
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7600
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6808
7601
 
6809
7602
 
6810
7603
hard_links="nottested"
6811
7604
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6812
7605
  # do not overwrite the value of need_locks provided by the user
6813
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6814
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7606
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7607
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6815
7608
  hard_links=yes
6816
7609
  $rm conftest*
6817
7610
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6818
7611
  touch conftest.a
6819
7612
  ln conftest.a conftest.b 2>&5 || hard_links=no
6820
7613
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6821
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6822
 
echo "${ECHO_T}$hard_links" >&6
 
7614
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7615
echo "${ECHO_T}$hard_links" >&6; }
6823
7616
  if test "$hard_links" = no; then
6824
7617
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6825
7618
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6829
7622
  need_locks=no
6830
7623
fi
6831
7624
 
6832
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6833
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7625
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7626
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6834
7627
 
6835
7628
  runpath_var=
6836
7629
  allow_undefined_flag=
6888
7681
      with_gnu_ld=no
6889
7682
    fi
6890
7683
    ;;
 
7684
  interix*)
 
7685
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7686
    with_gnu_ld=yes
 
7687
    ;;
6891
7688
  openbsd*)
6892
7689
    with_gnu_ld=no
6893
7690
    ;;
6969
7766
      allow_undefined_flag=unsupported
6970
7767
      always_export_symbols=no
6971
7768
      enable_shared_with_static_runtimes=yes
6972
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7769
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6973
7770
 
6974
7771
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6975
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
7772
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6976
7773
        # If the export-symbols file already is a .def file (1st line
6977
7774
        # is EXPORTS), use it as is; otherwise, prepend...
6978
7775
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6981
7778
          echo EXPORTS > $output_objdir/$soname.def;
6982
7779
          cat $export_symbols >> $output_objdir/$soname.def;
6983
7780
        fi~
6984
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
7781
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6985
7782
      else
6986
7783
        ld_shlibs=no
6987
7784
      fi
6988
7785
      ;;
6989
7786
 
6990
 
    linux*)
 
7787
    interix[3-9]*)
 
7788
      hardcode_direct=no
 
7789
      hardcode_shlibpath_var=no
 
7790
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
7791
      export_dynamic_flag_spec='${wl}-E'
 
7792
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
7793
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
7794
      # default) and relocated if they conflict, which is a slow very memory
 
7795
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
7796
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
7797
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
7798
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
7799
      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'
 
7800
      ;;
 
7801
 
 
7802
    gnu* | linux* | k*bsd*-gnu)
6991
7803
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6992
7804
        tmp_addflag=
6993
7805
        case $cc_basename,$host_cpu in
7005
7817
        ifc* | ifort*)                  # Intel Fortran compiler
7006
7818
          tmp_addflag=' -nofor_main' ;;
7007
7819
        esac
7008
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7820
        case `$CC -V 2>&1 | sed 5q` in
 
7821
        *Sun\ C*)                       # Sun C 5.9
 
7822
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7823
          tmp_sharedflag='-G' ;;
 
7824
        *Sun\ F*)                       # Sun Fortran 8.3
 
7825
          tmp_sharedflag='-G' ;;
 
7826
        *)
 
7827
          tmp_sharedflag='-shared' ;;
 
7828
        esac
 
7829
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7009
7830
 
7010
7831
        if test $supports_anon_versioning = yes; then
7011
7832
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7012
7833
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7013
7834
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7014
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7835
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7015
7836
        fi
7016
7837
        link_all_deplibs=no
7017
7838
      else
7019
7840
      fi
7020
7841
      ;;
7021
7842
 
7022
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7843
    netbsd* | netbsdelf*-gnu)
7023
7844
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7024
7845
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7025
7846
        wlarc=
7029
7850
      fi
7030
7851
      ;;
7031
7852
 
7032
 
    solaris* | sysv5*)
 
7853
    solaris*)
7033
7854
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7034
7855
        ld_shlibs=no
7035
7856
        cat <<EOF 1>&2
7050
7871
      fi
7051
7872
      ;;
7052
7873
 
 
7874
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
7875
      case `$LD -v 2>&1` in
 
7876
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
7877
        ld_shlibs=no
 
7878
        cat <<_LT_EOF 1>&2
 
7879
 
 
7880
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
7881
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
7882
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
7883
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
7884
*** your PATH or compiler configuration so that the native linker is
 
7885
*** used, and then restart.
 
7886
 
 
7887
_LT_EOF
 
7888
        ;;
 
7889
        *)
 
7890
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7891
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
7892
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
7893
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
7894
          else
 
7895
            ld_shlibs=no
 
7896
          fi
 
7897
        ;;
 
7898
      esac
 
7899
      ;;
 
7900
 
7053
7901
    sunos4*)
7054
7902
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7055
7903
      wlarc=
7083
7931
      # Note: this linker hardcodes the directories in LIBPATH if there
7084
7932
      # are no directories specified by -L.
7085
7933
      hardcode_minus_L=yes
7086
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
7934
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7087
7935
        # Neither direct hardcoding nor static linking is supported with a
7088
7936
        # broken collect2.
7089
7937
        hardcode_direct=unsupported
7117
7965
            break
7118
7966
          fi
7119
7967
          done
 
7968
          ;;
7120
7969
        esac
7121
7970
 
7122
7971
        exp_sym_flag='-bexport'
7143
7992
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7144
7993
          then
7145
7994
          # We have reworked collect2
7146
 
          hardcode_direct=yes
 
7995
          :
7147
7996
          else
7148
7997
          # We have old collect2
7149
7998
          hardcode_direct=unsupported
7154
8003
          hardcode_libdir_flag_spec='-L$libdir'
7155
8004
          hardcode_libdir_separator=
7156
8005
          fi
 
8006
          ;;
7157
8007
        esac
7158
8008
        shared_flag='-shared'
7159
8009
        if test "$aix_use_runtimelinking" = yes; then
7166
8016
        # chokes on -Wl,-G. The following line is correct:
7167
8017
          shared_flag='-G'
7168
8018
        else
7169
 
        if test "$aix_use_runtimelinking" = yes; then
 
8019
          if test "$aix_use_runtimelinking" = yes; then
7170
8020
            shared_flag='${wl}-G'
7171
8021
          else
7172
8022
            shared_flag='${wl}-bM:SRE'
7173
 
        fi
 
8023
          fi
7174
8024
        fi
7175
8025
      fi
7176
8026
 
7198
8048
}
7199
8049
_ACEOF
7200
8050
rm -f conftest.$ac_objext conftest$ac_exeext
7201
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7202
 
  (eval $ac_link) 2>conftest.er1
 
8051
if { (ac_try="$ac_link"
 
8052
case "(($ac_try" in
 
8053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8054
  *) ac_try_echo=$ac_try;;
 
8055
esac
 
8056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8057
  (eval "$ac_link") 2>conftest.er1
7203
8058
  ac_status=$?
7204
8059
  grep -v '^ *+' conftest.er1 >conftest.err
7205
8060
  rm -f conftest.er1
7206
8061
  cat conftest.err >&5
7207
8062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208
 
  (exit $ac_status); } &&
7209
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211
 
  (eval $ac_try) 2>&5
7212
 
  ac_status=$?
7213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214
 
  (exit $ac_status); }; } &&
7215
 
         { ac_try='test -s conftest$ac_exeext'
7216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7217
 
  (eval $ac_try) 2>&5
7218
 
  ac_status=$?
7219
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220
 
  (exit $ac_status); }; }; then
 
8063
  (exit $ac_status); } && {
 
8064
         test -z "$ac_c_werror_flag" ||
 
8065
         test ! -s conftest.err
 
8066
       } && test -s conftest$ac_exeext &&
 
8067
       $as_test_x conftest$ac_exeext; then
7221
8068
  
7222
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7223
 
}'`
 
8069
lt_aix_libpath_sed='
 
8070
    /Import File Strings/,/^$/ {
 
8071
        /^0/ {
 
8072
            s/^0  *\(.*\)$/\1/
 
8073
            p
 
8074
        }
 
8075
    }'
 
8076
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7224
8077
# Check for a 64-bit object if we didn't find anything.
7225
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7226
 
}'`; fi
 
8078
if test -z "$aix_libpath"; then
 
8079
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8080
fi
7227
8081
else
7228
8082
  echo "$as_me: failed program was:" >&5
7229
8083
sed 's/^/| /' conftest.$ac_ext >&5
7230
8084
 
 
8085
        
7231
8086
fi
7232
 
rm -f conftest.err conftest.$ac_objext \
 
8087
 
 
8088
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7233
8089
      conftest$ac_exeext conftest.$ac_ext
7234
8090
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7235
8091
 
7236
8092
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7237
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8093
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7238
8094
       else
7239
8095
        if test "$host_cpu" = ia64; then
7240
8096
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7241
8097
          allow_undefined_flag="-z nodefs"
7242
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8098
          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"
7243
8099
        else
7244
8100
         # Determine the default libpath from the value encoded in an empty executable.
7245
8101
         cat >conftest.$ac_ext <<_ACEOF
7258
8114
}
7259
8115
_ACEOF
7260
8116
rm -f conftest.$ac_objext conftest$ac_exeext
7261
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7262
 
  (eval $ac_link) 2>conftest.er1
 
8117
if { (ac_try="$ac_link"
 
8118
case "(($ac_try" in
 
8119
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8120
  *) ac_try_echo=$ac_try;;
 
8121
esac
 
8122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8123
  (eval "$ac_link") 2>conftest.er1
7263
8124
  ac_status=$?
7264
8125
  grep -v '^ *+' conftest.er1 >conftest.err
7265
8126
  rm -f conftest.er1
7266
8127
  cat conftest.err >&5
7267
8128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268
 
  (exit $ac_status); } &&
7269
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271
 
  (eval $ac_try) 2>&5
7272
 
  ac_status=$?
7273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274
 
  (exit $ac_status); }; } &&
7275
 
         { ac_try='test -s conftest$ac_exeext'
7276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277
 
  (eval $ac_try) 2>&5
7278
 
  ac_status=$?
7279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280
 
  (exit $ac_status); }; }; then
 
8129
  (exit $ac_status); } && {
 
8130
         test -z "$ac_c_werror_flag" ||
 
8131
         test ! -s conftest.err
 
8132
       } && test -s conftest$ac_exeext &&
 
8133
       $as_test_x conftest$ac_exeext; then
7281
8134
  
7282
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7283
 
}'`
 
8135
lt_aix_libpath_sed='
 
8136
    /Import File Strings/,/^$/ {
 
8137
        /^0/ {
 
8138
            s/^0  *\(.*\)$/\1/
 
8139
            p
 
8140
        }
 
8141
    }'
 
8142
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7284
8143
# Check for a 64-bit object if we didn't find anything.
7285
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7286
 
}'`; fi
 
8144
if test -z "$aix_libpath"; then
 
8145
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8146
fi
7287
8147
else
7288
8148
  echo "$as_me: failed program was:" >&5
7289
8149
sed 's/^/| /' conftest.$ac_ext >&5
7290
8150
 
 
8151
        
7291
8152
fi
7292
 
rm -f conftest.err conftest.$ac_objext \
 
8153
 
 
8154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7293
8155
      conftest$ac_exeext conftest.$ac_ext
7294
8156
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7295
8157
 
7298
8160
          # -berok will link without error, but may produce a broken library.
7299
8161
          no_undefined_flag=' ${wl}-bernotok'
7300
8162
          allow_undefined_flag=' ${wl}-berok'
7301
 
          # -bexpall does not export symbols beginning with underscore (_)
7302
 
          always_export_symbols=yes
7303
8163
          # Exported symbols can be pulled into shared objects from archives
7304
 
          whole_archive_flag_spec=' '
 
8164
          whole_archive_flag_spec='$convenience'
7305
8165
          archive_cmds_need_lc=yes
7306
8166
          # This is similar to how AIX traditionally builds its shared libraries.
7307
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8167
          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'
7308
8168
        fi
7309
8169
      fi
7310
8170
      ;;
7337
8197
      # The linker will automatically build a .lib file if we build a DLL.
7338
8198
      old_archive_From_new_cmds='true'
7339
8199
      # FIXME: Should let the user specify the lib program.
7340
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8200
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7341
8201
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7342
8202
      enable_shared_with_static_runtimes=yes
7343
8203
      ;;
7379
8239
      case $cc_basename in
7380
8240
        xlc*)
7381
8241
         output_verbose_link_cmd='echo'
7382
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8242
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7383
8243
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7384
8244
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7385
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8245
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7386
8246
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7387
8247
          ;;
7388
8248
       *)
7422
8282
      ;;
7423
8283
 
7424
8284
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7425
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8285
    freebsd* | dragonfly*)
7426
8286
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7427
8287
      hardcode_libdir_flag_spec='-R$libdir'
7428
8288
      hardcode_direct=yes
7445
8305
      export_dynamic_flag_spec='${wl}-E'
7446
8306
      ;;
7447
8307
 
7448
 
    hpux10* | hpux11*)
 
8308
    hpux10*)
 
8309
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8310
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8311
      else
 
8312
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8313
      fi
 
8314
      if test "$with_gnu_ld" = no; then
 
8315
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8316
        hardcode_libdir_separator=:
 
8317
 
 
8318
        hardcode_direct=yes
 
8319
        export_dynamic_flag_spec='${wl}-E'
 
8320
 
 
8321
        # hardcode_minus_L: Not really in the search PATH,
 
8322
        # but as the default location of the library.
 
8323
        hardcode_minus_L=yes
 
8324
      fi
 
8325
      ;;
 
8326
 
 
8327
    hpux11*)
7449
8328
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7450
8329
        case $host_cpu in
7451
 
        hppa*64*|ia64*)
 
8330
        hppa*64*)
7452
8331
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7453
8332
          ;;
 
8333
        ia64*)
 
8334
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8335
          ;;
7454
8336
        *)
7455
8337
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7456
8338
          ;;
7457
8339
        esac
7458
8340
      else
7459
8341
        case $host_cpu in
7460
 
        hppa*64*|ia64*)
7461
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8342
        hppa*64*)
 
8343
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8344
          ;;
 
8345
        ia64*)
 
8346
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7462
8347
          ;;
7463
8348
        *)
7464
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8349
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7465
8350
          ;;
7466
8351
        esac
7467
8352
      fi
7468
8353
      if test "$with_gnu_ld" = no; then
 
8354
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8355
        hardcode_libdir_separator=:
 
8356
 
7469
8357
        case $host_cpu in
7470
 
        hppa*64*)
7471
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8358
        hppa*64*|ia64*)
7472
8359
          hardcode_libdir_flag_spec_ld='+b $libdir'
7473
 
          hardcode_libdir_separator=:
7474
 
          hardcode_direct=no
7475
 
          hardcode_shlibpath_var=no
7476
 
          ;;
7477
 
        ia64*)
7478
 
          hardcode_libdir_flag_spec='-L$libdir'
7479
 
          hardcode_direct=no
7480
 
          hardcode_shlibpath_var=no
7481
 
 
7482
 
          # hardcode_minus_L: Not really in the search PATH,
7483
 
          # but as the default location of the library.
7484
 
          hardcode_minus_L=yes
 
8360
          hardcode_direct=no
 
8361
          hardcode_shlibpath_var=no
7485
8362
          ;;
7486
8363
        *)
7487
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7488
 
          hardcode_libdir_separator=:
7489
8364
          hardcode_direct=yes
7490
8365
          export_dynamic_flag_spec='${wl}-E'
7491
8366
 
7509
8384
      link_all_deplibs=yes
7510
8385
      ;;
7511
8386
 
7512
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8387
    netbsd* | netbsdelf*-gnu)
7513
8388
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7514
8389
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7515
8390
      else
7529
8404
      ;;
7530
8405
 
7531
8406
    openbsd*)
7532
 
      hardcode_direct=yes
7533
 
      hardcode_shlibpath_var=no
7534
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7535
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7536
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7537
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7538
 
        export_dynamic_flag_spec='${wl}-E'
 
8407
      if test -f /usr/libexec/ld.so; then
 
8408
        hardcode_direct=yes
 
8409
        hardcode_shlibpath_var=no
 
8410
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8411
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8412
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8413
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8414
          export_dynamic_flag_spec='${wl}-E'
 
8415
        else
 
8416
          case $host_os in
 
8417
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8418
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8419
             hardcode_libdir_flag_spec='-R$libdir'
 
8420
             ;;
 
8421
           *)
 
8422
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8423
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8424
             ;;
 
8425
          esac
 
8426
        fi
7539
8427
      else
7540
 
       case $host_os in
7541
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7542
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7543
 
           hardcode_libdir_flag_spec='-R$libdir'
7544
 
           ;;
7545
 
         *)
7546
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7547
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7548
 
           ;;
7549
 
       esac
 
8428
        ld_shlibs=no
7550
8429
      fi
7551
8430
      ;;
7552
8431
 
7587
8466
      hardcode_libdir_separator=:
7588
8467
      ;;
7589
8468
 
7590
 
    sco3.2v5*)
7591
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7592
 
      hardcode_shlibpath_var=no
7593
 
      export_dynamic_flag_spec='${wl}-Bexport'
7594
 
      runpath_var=LD_RUN_PATH
7595
 
      hardcode_runpath_var=yes
7596
 
      ;;
7597
 
 
7598
8469
    solaris*)
7599
8470
      no_undefined_flag=' -z text'
7600
8471
      if test "$GCC" = yes; then
7613
8484
      case $host_os in
7614
8485
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7615
8486
      *)
7616
 
        # The compiler driver will combine linker options so we
7617
 
        # cannot just pass the convience library names through
7618
 
        # without $wl, iff we do not link with $LD.
7619
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8487
        # The compiler driver will combine and reorder linker options,
 
8488
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8489
        # but is careful enough not to reorder.
7620
8490
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7621
 
        case $wlarc in
7622
 
        '')
7623
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7624
 
        *)
7625
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7626
 
        esac ;;
 
8491
        if test "$GCC" = yes; then
 
8492
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8493
        else
 
8494
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8495
        fi
 
8496
        ;;
7627
8497
      esac
7628
8498
      link_all_deplibs=yes
7629
8499
      ;;
7680
8550
      fi
7681
8551
      ;;
7682
8552
 
7683
 
    sysv4.2uw2*)
7684
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7685
 
      hardcode_direct=yes
7686
 
      hardcode_minus_L=no
7687
 
      hardcode_shlibpath_var=no
7688
 
      hardcode_runpath_var=yes
7689
 
      runpath_var=LD_RUN_PATH
7690
 
      ;;
7691
 
 
7692
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7693
 
      no_undefined_flag='${wl}-z ${wl}text'
7694
 
      if test "$GCC" = yes; then
7695
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7696
 
      else
7697
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7698
 
      fi
7699
 
      runpath_var='LD_RUN_PATH'
7700
 
      hardcode_shlibpath_var=no
7701
 
      ;;
7702
 
 
7703
 
    sysv5*)
7704
 
      no_undefined_flag=' -z text'
7705
 
      # $CC -shared without GNU ld will not create a library from C++
7706
 
      # object files and a static libstdc++, better avoid it by now
7707
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7708
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7709
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7710
 
      hardcode_libdir_flag_spec=
7711
 
      hardcode_shlibpath_var=no
7712
 
      runpath_var='LD_RUN_PATH'
 
8553
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
8554
      no_undefined_flag='${wl}-z,text'
 
8555
      archive_cmds_need_lc=no
 
8556
      hardcode_shlibpath_var=no
 
8557
      runpath_var='LD_RUN_PATH'
 
8558
 
 
8559
      if test "$GCC" = yes; then
 
8560
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8561
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8562
      else
 
8563
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8564
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8565
      fi
 
8566
      ;;
 
8567
 
 
8568
    sysv5* | sco3.2v5* | sco5v6*)
 
8569
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8570
      # link with -lc, and that would cause any symbols used from libc to
 
8571
      # always be unresolved, which means just about no library would
 
8572
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8573
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8574
      # as -z defs.
 
8575
      no_undefined_flag='${wl}-z,text'
 
8576
      allow_undefined_flag='${wl}-z,nodefs'
 
8577
      archive_cmds_need_lc=no
 
8578
      hardcode_shlibpath_var=no
 
8579
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8580
      hardcode_libdir_separator=':'
 
8581
      link_all_deplibs=yes
 
8582
      export_dynamic_flag_spec='${wl}-Bexport'
 
8583
      runpath_var='LD_RUN_PATH'
 
8584
 
 
8585
      if test "$GCC" = yes; then
 
8586
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8587
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8588
      else
 
8589
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8590
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8591
      fi
7713
8592
      ;;
7714
8593
 
7715
8594
    uts4*)
7724
8603
    esac
7725
8604
  fi
7726
8605
 
7727
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7728
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8606
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8607
echo "${ECHO_T}$ld_shlibs" >&6; }
7729
8608
test "$ld_shlibs" = no && can_build_shared=no
7730
8609
 
7731
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7732
 
if test "$GCC" = yes; then
7733
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7734
 
fi
7735
 
 
7736
8610
#
7737
8611
# Do we need to explicitly link libc?
7738
8612
#
7750
8624
      # Test whether the compiler implicitly links with -lc since on some
7751
8625
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7752
8626
      # to ld, don't add -lc before -lgcc.
7753
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7754
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8627
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8628
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7755
8629
      $rm conftest*
7756
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8630
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7757
8631
 
7758
8632
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7759
8633
  (eval $ac_compile) 2>&5
7765
8639
        libobjs=conftest.$ac_objext
7766
8640
        deplibs=
7767
8641
        wl=$lt_prog_compiler_wl
 
8642
        pic_flag=$lt_prog_compiler_pic
7768
8643
        compiler_flags=-v
7769
8644
        linker_flags=-v
7770
8645
        verstring=
7787
8662
        cat conftest.err 1>&5
7788
8663
      fi
7789
8664
      $rm conftest*
7790
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7791
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8665
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8666
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7792
8667
      ;;
7793
8668
    esac
7794
8669
  fi
7795
8670
  ;;
7796
8671
esac
7797
8672
 
7798
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7799
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8673
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8674
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7800
8675
library_names_spec=
7801
8676
libname_spec='lib$name'
7802
8677
soname_spec=
7810
8685
version_type=none
7811
8686
dynamic_linker="$host_os ld.so"
7812
8687
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8688
 
7813
8689
if test "$GCC" = yes; then
7814
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7815
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8690
  case $host_os in
 
8691
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8692
    *) lt_awk_arg="/^libraries:/" ;;
 
8693
  esac
 
8694
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8695
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7816
8696
    # if the path contains ";" then we assume it to be the separator
7817
8697
    # otherwise default to the standard path separator (i.e. ":") - it is
7818
8698
    # assumed that no part of a normal pathname contains ";" but that should
7819
8699
    # okay in the real world where ";" in dirpaths is itself problematic.
7820
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8700
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7821
8701
  else
7822
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8702
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7823
8703
  fi
 
8704
  # Ok, now we have the path, separated by spaces, we can step through it
 
8705
  # and add multilib dir if necessary.
 
8706
  lt_tmp_lt_search_path_spec=
 
8707
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8708
  for lt_sys_path in $lt_search_path_spec; do
 
8709
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8710
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8711
    else
 
8712
      test -d "$lt_sys_path" && \
 
8713
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8714
    fi
 
8715
  done
 
8716
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8717
BEGIN {RS=" "; FS="/|\n";} {
 
8718
  lt_foo="";
 
8719
  lt_count=0;
 
8720
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
8721
    if ($lt_i != "" && $lt_i != ".") {
 
8722
      if ($lt_i == "..") {
 
8723
        lt_count++;
 
8724
      } else {
 
8725
        if (lt_count == 0) {
 
8726
          lt_foo="/" $lt_i lt_foo;
 
8727
        } else {
 
8728
          lt_count--;
 
8729
        }
 
8730
      }
 
8731
    }
 
8732
  }
 
8733
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
8734
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
8735
}'`
 
8736
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7824
8737
else
7825
8738
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7826
8739
fi
7980
8893
  shlibpath_overrides_runpath=yes
7981
8894
  shlibpath_var=DYLD_LIBRARY_PATH
7982
8895
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7983
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7984
 
  if test "$GCC" = yes; then
7985
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7986
 
  else
7987
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7988
 
  fi
 
8896
  
 
8897
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 
7989
8898
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7990
8899
  ;;
7991
8900
 
8002
8911
  dynamic_linker=no
8003
8912
  ;;
8004
8913
 
8005
 
kfreebsd*-gnu)
8006
 
  version_type=linux
8007
 
  need_lib_prefix=no
8008
 
  need_version=no
8009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8010
 
  soname_spec='${libname}${release}${shared_ext}$major'
8011
 
  shlibpath_var=LD_LIBRARY_PATH
8012
 
  shlibpath_overrides_runpath=no
8013
 
  hardcode_into_libs=yes
8014
 
  dynamic_linker='GNU ld.so'
8015
 
  ;;
8016
 
 
8017
8914
freebsd* | dragonfly*)
8018
8915
  # DragonFly does not have aout.  When/if they implement a new
8019
8916
  # versioning mechanism, adjust this.
8046
8943
    shlibpath_overrides_runpath=yes
8047
8944
    hardcode_into_libs=yes
8048
8945
    ;;
8049
 
  *) # from 3.2 on
 
8946
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
8947
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8050
8948
    shlibpath_overrides_runpath=no
8051
8949
    hardcode_into_libs=yes
8052
8950
    ;;
 
8951
  *) # from 4.6 on, and DragonFly
 
8952
    shlibpath_overrides_runpath=yes
 
8953
    hardcode_into_libs=yes
 
8954
    ;;
8053
8955
  esac
8054
8956
  ;;
8055
8957
 
8109
9011
  postinstall_cmds='chmod 555 $lib'
8110
9012
  ;;
8111
9013
 
 
9014
interix[3-9]*)
 
9015
  version_type=linux
 
9016
  need_lib_prefix=no
 
9017
  need_version=no
 
9018
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9019
  soname_spec='${libname}${release}${shared_ext}$major'
 
9020
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9021
  shlibpath_var=LD_LIBRARY_PATH
 
9022
  shlibpath_overrides_runpath=no
 
9023
  hardcode_into_libs=yes
 
9024
  ;;
 
9025
 
8112
9026
irix5* | irix6* | nonstopux*)
8113
9027
  case $host_os in
8114
9028
    nonstopux*) version_type=nonstopux ;;
8152
9066
  ;;
8153
9067
 
8154
9068
# This must be Linux ELF.
8155
 
linux*)
 
9069
linux* | k*bsd*-gnu)
8156
9070
  version_type=linux
8157
9071
  need_lib_prefix=no
8158
9072
  need_version=no
8168
9082
 
8169
9083
  # Append ld.so.conf contents to the search path
8170
9084
  if test -f /etc/ld.so.conf; then
8171
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9085
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8172
9086
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8173
9087
  fi
8174
9088
 
8193
9107
  dynamic_linker='NetBSD ld.elf_so'
8194
9108
  ;;
8195
9109
 
8196
 
knetbsd*-gnu)
8197
 
  version_type=linux
8198
 
  need_lib_prefix=no
8199
 
  need_version=no
8200
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8201
 
  soname_spec='${libname}${release}${shared_ext}$major'
8202
 
  shlibpath_var=LD_LIBRARY_PATH
8203
 
  shlibpath_overrides_runpath=no
8204
 
  hardcode_into_libs=yes
8205
 
  dynamic_linker='GNU ld.so'
8206
 
  ;;
8207
 
 
8208
9110
netbsd*)
8209
9111
  version_type=sunos
8210
9112
  need_lib_prefix=no
8242
9144
 
8243
9145
openbsd*)
8244
9146
  version_type=sunos
 
9147
  sys_lib_dlsearch_path_spec="/usr/lib"
8245
9148
  need_lib_prefix=no
8246
9149
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8247
9150
  case $host_os in
8285
9188
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8286
9189
  ;;
8287
9190
 
8288
 
sco3.2v5*)
8289
 
  version_type=osf
8290
 
  soname_spec='${libname}${release}${shared_ext}$major'
8291
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8292
 
  shlibpath_var=LD_LIBRARY_PATH
 
9191
rdos*)
 
9192
  dynamic_linker=no
8293
9193
  ;;
8294
9194
 
8295
9195
solaris*)
8317
9217
  need_version=yes
8318
9218
  ;;
8319
9219
 
8320
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9220
sysv4 | sysv4.3*)
8321
9221
  version_type=linux
8322
9222
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8323
9223
  soname_spec='${libname}${release}${shared_ext}$major'
8350
9250
  fi
8351
9251
  ;;
8352
9252
 
 
9253
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9254
  version_type=freebsd-elf
 
9255
  need_lib_prefix=no
 
9256
  need_version=no
 
9257
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9258
  soname_spec='${libname}${release}${shared_ext}$major'
 
9259
  shlibpath_var=LD_LIBRARY_PATH
 
9260
  hardcode_into_libs=yes
 
9261
  if test "$with_gnu_ld" = yes; then
 
9262
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9263
    shlibpath_overrides_runpath=no
 
9264
  else
 
9265
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9266
    shlibpath_overrides_runpath=yes
 
9267
    case $host_os in
 
9268
      sco3.2v5*)
 
9269
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9270
        ;;
 
9271
    esac
 
9272
  fi
 
9273
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9274
  ;;
 
9275
 
8353
9276
uts4*)
8354
9277
  version_type=linux
8355
9278
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8361
9284
  dynamic_linker=no
8362
9285
  ;;
8363
9286
esac
8364
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8365
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9287
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9288
echo "${ECHO_T}$dynamic_linker" >&6; }
8366
9289
test "$dynamic_linker" = no && can_build_shared=no
8367
9290
 
8368
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8369
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9291
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9292
if test "$GCC" = yes; then
 
9293
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9294
fi
 
9295
 
 
9296
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9297
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8370
9298
hardcode_action=
8371
9299
if test -n "$hardcode_libdir_flag_spec" || \
8372
9300
   test -n "$runpath_var" || \
8390
9318
  # directories.
8391
9319
  hardcode_action=unsupported
8392
9320
fi
8393
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8394
 
echo "${ECHO_T}$hardcode_action" >&6
 
9321
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9322
echo "${ECHO_T}$hardcode_action" >&6; }
8395
9323
 
8396
9324
if test "$hardcode_action" = relink; then
8397
9325
  # Fast installation is not supported
8404
9332
 
8405
9333
striplib=
8406
9334
old_striplib=
8407
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8408
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9335
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9336
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8409
9337
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8410
9338
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8411
9339
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8412
 
  echo "$as_me:$LINENO: result: yes" >&5
8413
 
echo "${ECHO_T}yes" >&6
 
9340
  { echo "$as_me:$LINENO: result: yes" >&5
 
9341
echo "${ECHO_T}yes" >&6; }
8414
9342
else
8415
9343
# FIXME - insert some real tests, host_os isn't really good enough
8416
9344
  case $host_os in
8417
9345
   darwin*)
8418
9346
       if test -n "$STRIP" ; then
8419
9347
         striplib="$STRIP -x"
8420
 
         echo "$as_me:$LINENO: result: yes" >&5
8421
 
echo "${ECHO_T}yes" >&6
 
9348
         old_striplib="$STRIP -S"
 
9349
         { echo "$as_me:$LINENO: result: yes" >&5
 
9350
echo "${ECHO_T}yes" >&6; }
8422
9351
       else
8423
 
  echo "$as_me:$LINENO: result: no" >&5
8424
 
echo "${ECHO_T}no" >&6
 
9352
  { echo "$as_me:$LINENO: result: no" >&5
 
9353
echo "${ECHO_T}no" >&6; }
8425
9354
fi
8426
9355
       ;;
8427
9356
   *)
8428
 
  echo "$as_me:$LINENO: result: no" >&5
8429
 
echo "${ECHO_T}no" >&6
 
9357
  { echo "$as_me:$LINENO: result: no" >&5
 
9358
echo "${ECHO_T}no" >&6; }
8430
9359
    ;;
8431
9360
  esac
8432
9361
fi
8458
9387
 
8459
9388
  darwin*)
8460
9389
  # if libdl is installed we need to link against it
8461
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8462
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9390
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9391
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8463
9392
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8464
9393
  echo $ECHO_N "(cached) $ECHO_C" >&6
8465
9394
else
8472
9401
cat >>conftest.$ac_ext <<_ACEOF
8473
9402
/* end confdefs.h.  */
8474
9403
 
8475
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9404
/* Override any GCC internal prototype to avoid an error.
 
9405
   Use char because int might match the return type of a GCC
 
9406
   builtin and then its argument prototype would still apply.  */
8476
9407
#ifdef __cplusplus
8477
9408
extern "C"
8478
9409
#endif
8479
 
/* We use char because int might match the return type of a gcc2
8480
 
   builtin and then its argument prototype would still apply.  */
8481
9410
char dlopen ();
8482
9411
int
8483
9412
main ()
8484
9413
{
8485
 
dlopen ();
 
9414
return dlopen ();
8486
9415
  ;
8487
9416
  return 0;
8488
9417
}
8489
9418
_ACEOF
8490
9419
rm -f conftest.$ac_objext conftest$ac_exeext
8491
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8492
 
  (eval $ac_link) 2>conftest.er1
 
9420
if { (ac_try="$ac_link"
 
9421
case "(($ac_try" in
 
9422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9423
  *) ac_try_echo=$ac_try;;
 
9424
esac
 
9425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9426
  (eval "$ac_link") 2>conftest.er1
8493
9427
  ac_status=$?
8494
9428
  grep -v '^ *+' conftest.er1 >conftest.err
8495
9429
  rm -f conftest.er1
8496
9430
  cat conftest.err >&5
8497
9431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498
 
  (exit $ac_status); } &&
8499
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501
 
  (eval $ac_try) 2>&5
8502
 
  ac_status=$?
8503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504
 
  (exit $ac_status); }; } &&
8505
 
         { ac_try='test -s conftest$ac_exeext'
8506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507
 
  (eval $ac_try) 2>&5
8508
 
  ac_status=$?
8509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510
 
  (exit $ac_status); }; }; then
 
9432
  (exit $ac_status); } && {
 
9433
         test -z "$ac_c_werror_flag" ||
 
9434
         test ! -s conftest.err
 
9435
       } && test -s conftest$ac_exeext &&
 
9436
       $as_test_x conftest$ac_exeext; then
8511
9437
  ac_cv_lib_dl_dlopen=yes
8512
9438
else
8513
9439
  echo "$as_me: failed program was:" >&5
8514
9440
sed 's/^/| /' conftest.$ac_ext >&5
8515
9441
 
8516
 
ac_cv_lib_dl_dlopen=no
 
9442
        ac_cv_lib_dl_dlopen=no
8517
9443
fi
8518
 
rm -f conftest.err conftest.$ac_objext \
 
9444
 
 
9445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8519
9446
      conftest$ac_exeext conftest.$ac_ext
8520
9447
LIBS=$ac_check_lib_save_LIBS
8521
9448
fi
8522
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8523
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9449
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9450
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8524
9451
if test $ac_cv_lib_dl_dlopen = yes; then
8525
9452
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8526
9453
else
8534
9461
   ;;
8535
9462
 
8536
9463
  *)
8537
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8538
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9464
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9465
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8539
9466
if test "${ac_cv_func_shl_load+set}" = set; then
8540
9467
  echo $ECHO_N "(cached) $ECHO_C" >&6
8541
9468
else
8562
9489
 
8563
9490
#undef shl_load
8564
9491
 
8565
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9492
/* Override any GCC internal prototype to avoid an error.
 
9493
   Use char because int might match the return type of a GCC
 
9494
   builtin and then its argument prototype would still apply.  */
8566
9495
#ifdef __cplusplus
8567
9496
extern "C"
8568
 
{
8569
9497
#endif
8570
 
/* We use char because int might match the return type of a gcc2
8571
 
   builtin and then its argument prototype would still apply.  */
8572
9498
char shl_load ();
8573
9499
/* The GNU C library defines this for functions which it implements
8574
9500
    to always fail with ENOSYS.  Some functions are actually named
8575
9501
    something starting with __ and the normal name is an alias.  */
8576
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9502
#if defined __stub_shl_load || defined __stub___shl_load
8577
9503
choke me
8578
 
#else
8579
 
char (*f) () = shl_load;
8580
 
#endif
8581
 
#ifdef __cplusplus
8582
 
}
8583
9504
#endif
8584
9505
 
8585
9506
int
8586
9507
main ()
8587
9508
{
8588
 
return f != shl_load;
 
9509
return shl_load ();
8589
9510
  ;
8590
9511
  return 0;
8591
9512
}
8592
9513
_ACEOF
8593
9514
rm -f conftest.$ac_objext conftest$ac_exeext
8594
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8595
 
  (eval $ac_link) 2>conftest.er1
 
9515
if { (ac_try="$ac_link"
 
9516
case "(($ac_try" in
 
9517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9518
  *) ac_try_echo=$ac_try;;
 
9519
esac
 
9520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9521
  (eval "$ac_link") 2>conftest.er1
8596
9522
  ac_status=$?
8597
9523
  grep -v '^ *+' conftest.er1 >conftest.err
8598
9524
  rm -f conftest.er1
8599
9525
  cat conftest.err >&5
8600
9526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601
 
  (exit $ac_status); } &&
8602
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604
 
  (eval $ac_try) 2>&5
8605
 
  ac_status=$?
8606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607
 
  (exit $ac_status); }; } &&
8608
 
         { ac_try='test -s conftest$ac_exeext'
8609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610
 
  (eval $ac_try) 2>&5
8611
 
  ac_status=$?
8612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613
 
  (exit $ac_status); }; }; then
 
9527
  (exit $ac_status); } && {
 
9528
         test -z "$ac_c_werror_flag" ||
 
9529
         test ! -s conftest.err
 
9530
       } && test -s conftest$ac_exeext &&
 
9531
       $as_test_x conftest$ac_exeext; then
8614
9532
  ac_cv_func_shl_load=yes
8615
9533
else
8616
9534
  echo "$as_me: failed program was:" >&5
8617
9535
sed 's/^/| /' conftest.$ac_ext >&5
8618
9536
 
8619
 
ac_cv_func_shl_load=no
 
9537
        ac_cv_func_shl_load=no
8620
9538
fi
8621
 
rm -f conftest.err conftest.$ac_objext \
 
9539
 
 
9540
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8622
9541
      conftest$ac_exeext conftest.$ac_ext
8623
9542
fi
8624
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8625
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9543
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9544
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8626
9545
if test $ac_cv_func_shl_load = yes; then
8627
9546
  lt_cv_dlopen="shl_load"
8628
9547
else
8629
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8630
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9548
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9549
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8631
9550
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8632
9551
  echo $ECHO_N "(cached) $ECHO_C" >&6
8633
9552
else
8640
9559
cat >>conftest.$ac_ext <<_ACEOF
8641
9560
/* end confdefs.h.  */
8642
9561
 
8643
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9562
/* Override any GCC internal prototype to avoid an error.
 
9563
   Use char because int might match the return type of a GCC
 
9564
   builtin and then its argument prototype would still apply.  */
8644
9565
#ifdef __cplusplus
8645
9566
extern "C"
8646
9567
#endif
8647
 
/* We use char because int might match the return type of a gcc2
8648
 
   builtin and then its argument prototype would still apply.  */
8649
9568
char shl_load ();
8650
9569
int
8651
9570
main ()
8652
9571
{
8653
 
shl_load ();
 
9572
return shl_load ();
8654
9573
  ;
8655
9574
  return 0;
8656
9575
}
8657
9576
_ACEOF
8658
9577
rm -f conftest.$ac_objext conftest$ac_exeext
8659
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8660
 
  (eval $ac_link) 2>conftest.er1
 
9578
if { (ac_try="$ac_link"
 
9579
case "(($ac_try" in
 
9580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9581
  *) ac_try_echo=$ac_try;;
 
9582
esac
 
9583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9584
  (eval "$ac_link") 2>conftest.er1
8661
9585
  ac_status=$?
8662
9586
  grep -v '^ *+' conftest.er1 >conftest.err
8663
9587
  rm -f conftest.er1
8664
9588
  cat conftest.err >&5
8665
9589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666
 
  (exit $ac_status); } &&
8667
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669
 
  (eval $ac_try) 2>&5
8670
 
  ac_status=$?
8671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672
 
  (exit $ac_status); }; } &&
8673
 
         { ac_try='test -s conftest$ac_exeext'
8674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675
 
  (eval $ac_try) 2>&5
8676
 
  ac_status=$?
8677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678
 
  (exit $ac_status); }; }; then
 
9590
  (exit $ac_status); } && {
 
9591
         test -z "$ac_c_werror_flag" ||
 
9592
         test ! -s conftest.err
 
9593
       } && test -s conftest$ac_exeext &&
 
9594
       $as_test_x conftest$ac_exeext; then
8679
9595
  ac_cv_lib_dld_shl_load=yes
8680
9596
else
8681
9597
  echo "$as_me: failed program was:" >&5
8682
9598
sed 's/^/| /' conftest.$ac_ext >&5
8683
9599
 
8684
 
ac_cv_lib_dld_shl_load=no
 
9600
        ac_cv_lib_dld_shl_load=no
8685
9601
fi
8686
 
rm -f conftest.err conftest.$ac_objext \
 
9602
 
 
9603
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8687
9604
      conftest$ac_exeext conftest.$ac_ext
8688
9605
LIBS=$ac_check_lib_save_LIBS
8689
9606
fi
8690
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8691
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9607
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9608
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8692
9609
if test $ac_cv_lib_dld_shl_load = yes; then
8693
9610
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8694
9611
else
8695
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8696
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9612
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9613
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8697
9614
if test "${ac_cv_func_dlopen+set}" = set; then
8698
9615
  echo $ECHO_N "(cached) $ECHO_C" >&6
8699
9616
else
8720
9637
 
8721
9638
#undef dlopen
8722
9639
 
8723
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9640
/* Override any GCC internal prototype to avoid an error.
 
9641
   Use char because int might match the return type of a GCC
 
9642
   builtin and then its argument prototype would still apply.  */
8724
9643
#ifdef __cplusplus
8725
9644
extern "C"
8726
 
{
8727
9645
#endif
8728
 
/* We use char because int might match the return type of a gcc2
8729
 
   builtin and then its argument prototype would still apply.  */
8730
9646
char dlopen ();
8731
9647
/* The GNU C library defines this for functions which it implements
8732
9648
    to always fail with ENOSYS.  Some functions are actually named
8733
9649
    something starting with __ and the normal name is an alias.  */
8734
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9650
#if defined __stub_dlopen || defined __stub___dlopen
8735
9651
choke me
8736
 
#else
8737
 
char (*f) () = dlopen;
8738
 
#endif
8739
 
#ifdef __cplusplus
8740
 
}
8741
9652
#endif
8742
9653
 
8743
9654
int
8744
9655
main ()
8745
9656
{
8746
 
return f != dlopen;
 
9657
return dlopen ();
8747
9658
  ;
8748
9659
  return 0;
8749
9660
}
8750
9661
_ACEOF
8751
9662
rm -f conftest.$ac_objext conftest$ac_exeext
8752
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8753
 
  (eval $ac_link) 2>conftest.er1
 
9663
if { (ac_try="$ac_link"
 
9664
case "(($ac_try" in
 
9665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9666
  *) ac_try_echo=$ac_try;;
 
9667
esac
 
9668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9669
  (eval "$ac_link") 2>conftest.er1
8754
9670
  ac_status=$?
8755
9671
  grep -v '^ *+' conftest.er1 >conftest.err
8756
9672
  rm -f conftest.er1
8757
9673
  cat conftest.err >&5
8758
9674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759
 
  (exit $ac_status); } &&
8760
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762
 
  (eval $ac_try) 2>&5
8763
 
  ac_status=$?
8764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765
 
  (exit $ac_status); }; } &&
8766
 
         { ac_try='test -s conftest$ac_exeext'
8767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768
 
  (eval $ac_try) 2>&5
8769
 
  ac_status=$?
8770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
 
  (exit $ac_status); }; }; then
 
9675
  (exit $ac_status); } && {
 
9676
         test -z "$ac_c_werror_flag" ||
 
9677
         test ! -s conftest.err
 
9678
       } && test -s conftest$ac_exeext &&
 
9679
       $as_test_x conftest$ac_exeext; then
8772
9680
  ac_cv_func_dlopen=yes
8773
9681
else
8774
9682
  echo "$as_me: failed program was:" >&5
8775
9683
sed 's/^/| /' conftest.$ac_ext >&5
8776
9684
 
8777
 
ac_cv_func_dlopen=no
 
9685
        ac_cv_func_dlopen=no
8778
9686
fi
8779
 
rm -f conftest.err conftest.$ac_objext \
 
9687
 
 
9688
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780
9689
      conftest$ac_exeext conftest.$ac_ext
8781
9690
fi
8782
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8783
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9691
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9692
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8784
9693
if test $ac_cv_func_dlopen = yes; then
8785
9694
  lt_cv_dlopen="dlopen"
8786
9695
else
8787
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8788
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9696
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9697
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8789
9698
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8790
9699
  echo $ECHO_N "(cached) $ECHO_C" >&6
8791
9700
else
8798
9707
cat >>conftest.$ac_ext <<_ACEOF
8799
9708
/* end confdefs.h.  */
8800
9709
 
8801
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9710
/* Override any GCC internal prototype to avoid an error.
 
9711
   Use char because int might match the return type of a GCC
 
9712
   builtin and then its argument prototype would still apply.  */
8802
9713
#ifdef __cplusplus
8803
9714
extern "C"
8804
9715
#endif
8805
 
/* We use char because int might match the return type of a gcc2
8806
 
   builtin and then its argument prototype would still apply.  */
8807
9716
char dlopen ();
8808
9717
int
8809
9718
main ()
8810
9719
{
8811
 
dlopen ();
 
9720
return dlopen ();
8812
9721
  ;
8813
9722
  return 0;
8814
9723
}
8815
9724
_ACEOF
8816
9725
rm -f conftest.$ac_objext conftest$ac_exeext
8817
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8818
 
  (eval $ac_link) 2>conftest.er1
 
9726
if { (ac_try="$ac_link"
 
9727
case "(($ac_try" in
 
9728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9729
  *) ac_try_echo=$ac_try;;
 
9730
esac
 
9731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9732
  (eval "$ac_link") 2>conftest.er1
8819
9733
  ac_status=$?
8820
9734
  grep -v '^ *+' conftest.er1 >conftest.err
8821
9735
  rm -f conftest.er1
8822
9736
  cat conftest.err >&5
8823
9737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824
 
  (exit $ac_status); } &&
8825
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827
 
  (eval $ac_try) 2>&5
8828
 
  ac_status=$?
8829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830
 
  (exit $ac_status); }; } &&
8831
 
         { ac_try='test -s conftest$ac_exeext'
8832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833
 
  (eval $ac_try) 2>&5
8834
 
  ac_status=$?
8835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836
 
  (exit $ac_status); }; }; then
 
9738
  (exit $ac_status); } && {
 
9739
         test -z "$ac_c_werror_flag" ||
 
9740
         test ! -s conftest.err
 
9741
       } && test -s conftest$ac_exeext &&
 
9742
       $as_test_x conftest$ac_exeext; then
8837
9743
  ac_cv_lib_dl_dlopen=yes
8838
9744
else
8839
9745
  echo "$as_me: failed program was:" >&5
8840
9746
sed 's/^/| /' conftest.$ac_ext >&5
8841
9747
 
8842
 
ac_cv_lib_dl_dlopen=no
 
9748
        ac_cv_lib_dl_dlopen=no
8843
9749
fi
8844
 
rm -f conftest.err conftest.$ac_objext \
 
9750
 
 
9751
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8845
9752
      conftest$ac_exeext conftest.$ac_ext
8846
9753
LIBS=$ac_check_lib_save_LIBS
8847
9754
fi
8848
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8849
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9755
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9756
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8850
9757
if test $ac_cv_lib_dl_dlopen = yes; then
8851
9758
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8852
9759
else
8853
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8854
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9760
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9761
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8855
9762
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8856
9763
  echo $ECHO_N "(cached) $ECHO_C" >&6
8857
9764
else
8864
9771
cat >>conftest.$ac_ext <<_ACEOF
8865
9772
/* end confdefs.h.  */
8866
9773
 
8867
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9774
/* Override any GCC internal prototype to avoid an error.
 
9775
   Use char because int might match the return type of a GCC
 
9776
   builtin and then its argument prototype would still apply.  */
8868
9777
#ifdef __cplusplus
8869
9778
extern "C"
8870
9779
#endif
8871
 
/* We use char because int might match the return type of a gcc2
8872
 
   builtin and then its argument prototype would still apply.  */
8873
9780
char dlopen ();
8874
9781
int
8875
9782
main ()
8876
9783
{
8877
 
dlopen ();
 
9784
return dlopen ();
8878
9785
  ;
8879
9786
  return 0;
8880
9787
}
8881
9788
_ACEOF
8882
9789
rm -f conftest.$ac_objext conftest$ac_exeext
8883
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8884
 
  (eval $ac_link) 2>conftest.er1
 
9790
if { (ac_try="$ac_link"
 
9791
case "(($ac_try" in
 
9792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9793
  *) ac_try_echo=$ac_try;;
 
9794
esac
 
9795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9796
  (eval "$ac_link") 2>conftest.er1
8885
9797
  ac_status=$?
8886
9798
  grep -v '^ *+' conftest.er1 >conftest.err
8887
9799
  rm -f conftest.er1
8888
9800
  cat conftest.err >&5
8889
9801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890
 
  (exit $ac_status); } &&
8891
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8892
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893
 
  (eval $ac_try) 2>&5
8894
 
  ac_status=$?
8895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896
 
  (exit $ac_status); }; } &&
8897
 
         { ac_try='test -s conftest$ac_exeext'
8898
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899
 
  (eval $ac_try) 2>&5
8900
 
  ac_status=$?
8901
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902
 
  (exit $ac_status); }; }; then
 
9802
  (exit $ac_status); } && {
 
9803
         test -z "$ac_c_werror_flag" ||
 
9804
         test ! -s conftest.err
 
9805
       } && test -s conftest$ac_exeext &&
 
9806
       $as_test_x conftest$ac_exeext; then
8903
9807
  ac_cv_lib_svld_dlopen=yes
8904
9808
else
8905
9809
  echo "$as_me: failed program was:" >&5
8906
9810
sed 's/^/| /' conftest.$ac_ext >&5
8907
9811
 
8908
 
ac_cv_lib_svld_dlopen=no
 
9812
        ac_cv_lib_svld_dlopen=no
8909
9813
fi
8910
 
rm -f conftest.err conftest.$ac_objext \
 
9814
 
 
9815
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8911
9816
      conftest$ac_exeext conftest.$ac_ext
8912
9817
LIBS=$ac_check_lib_save_LIBS
8913
9818
fi
8914
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8915
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9819
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9820
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8916
9821
if test $ac_cv_lib_svld_dlopen = yes; then
8917
9822
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8918
9823
else
8919
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8920
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9824
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9825
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8921
9826
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8922
9827
  echo $ECHO_N "(cached) $ECHO_C" >&6
8923
9828
else
8930
9835
cat >>conftest.$ac_ext <<_ACEOF
8931
9836
/* end confdefs.h.  */
8932
9837
 
8933
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9838
/* Override any GCC internal prototype to avoid an error.
 
9839
   Use char because int might match the return type of a GCC
 
9840
   builtin and then its argument prototype would still apply.  */
8934
9841
#ifdef __cplusplus
8935
9842
extern "C"
8936
9843
#endif
8937
 
/* We use char because int might match the return type of a gcc2
8938
 
   builtin and then its argument prototype would still apply.  */
8939
9844
char dld_link ();
8940
9845
int
8941
9846
main ()
8942
9847
{
8943
 
dld_link ();
 
9848
return dld_link ();
8944
9849
  ;
8945
9850
  return 0;
8946
9851
}
8947
9852
_ACEOF
8948
9853
rm -f conftest.$ac_objext conftest$ac_exeext
8949
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8950
 
  (eval $ac_link) 2>conftest.er1
 
9854
if { (ac_try="$ac_link"
 
9855
case "(($ac_try" in
 
9856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9857
  *) ac_try_echo=$ac_try;;
 
9858
esac
 
9859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9860
  (eval "$ac_link") 2>conftest.er1
8951
9861
  ac_status=$?
8952
9862
  grep -v '^ *+' conftest.er1 >conftest.err
8953
9863
  rm -f conftest.er1
8954
9864
  cat conftest.err >&5
8955
9865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956
 
  (exit $ac_status); } &&
8957
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8958
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959
 
  (eval $ac_try) 2>&5
8960
 
  ac_status=$?
8961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962
 
  (exit $ac_status); }; } &&
8963
 
         { ac_try='test -s conftest$ac_exeext'
8964
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965
 
  (eval $ac_try) 2>&5
8966
 
  ac_status=$?
8967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968
 
  (exit $ac_status); }; }; then
 
9866
  (exit $ac_status); } && {
 
9867
         test -z "$ac_c_werror_flag" ||
 
9868
         test ! -s conftest.err
 
9869
       } && test -s conftest$ac_exeext &&
 
9870
       $as_test_x conftest$ac_exeext; then
8969
9871
  ac_cv_lib_dld_dld_link=yes
8970
9872
else
8971
9873
  echo "$as_me: failed program was:" >&5
8972
9874
sed 's/^/| /' conftest.$ac_ext >&5
8973
9875
 
8974
 
ac_cv_lib_dld_dld_link=no
 
9876
        ac_cv_lib_dld_dld_link=no
8975
9877
fi
8976
 
rm -f conftest.err conftest.$ac_objext \
 
9878
 
 
9879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8977
9880
      conftest$ac_exeext conftest.$ac_ext
8978
9881
LIBS=$ac_check_lib_save_LIBS
8979
9882
fi
8980
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8981
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9883
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9884
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8982
9885
if test $ac_cv_lib_dld_dld_link = yes; then
8983
9886
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8984
9887
fi
9013
9916
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9014
9917
 
9015
9918
    save_LDFLAGS="$LDFLAGS"
9016
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
9919
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9017
9920
 
9018
9921
    save_LIBS="$LIBS"
9019
9922
    LIBS="$lt_cv_dlopen_libs $LIBS"
9020
9923
 
9021
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9022
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9924
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9925
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9023
9926
if test "${lt_cv_dlopen_self+set}" = set; then
9024
9927
  echo $ECHO_N "(cached) $ECHO_C" >&6
9025
9928
else
9086
9989
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9087
9990
      /* dlclose (self); */
9088
9991
    }
 
9992
  else
 
9993
    puts (dlerror ());
9089
9994
 
9090
9995
    exit (status);
9091
9996
}
9100
10005
    case x$lt_status in
9101
10006
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9102
10007
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9103
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10008
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9104
10009
    esac
9105
10010
  else :
9106
10011
    # compilation failed
9111
10016
 
9112
10017
    
9113
10018
fi
9114
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9115
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10019
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10020
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9116
10021
 
9117
10022
    if test "x$lt_cv_dlopen_self" = xyes; then
9118
 
      LDFLAGS="$LDFLAGS $link_static_flag"
9119
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9120
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10023
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10024
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10025
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9121
10026
if test "${lt_cv_dlopen_self_static+set}" = set; then
9122
10027
  echo $ECHO_N "(cached) $ECHO_C" >&6
9123
10028
else
9184
10089
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9185
10090
      /* dlclose (self); */
9186
10091
    }
 
10092
  else
 
10093
    puts (dlerror ());
9187
10094
 
9188
10095
    exit (status);
9189
10096
}
9198
10105
    case x$lt_status in
9199
10106
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9200
10107
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9201
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10108
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9202
10109
    esac
9203
10110
  else :
9204
10111
    # compilation failed
9209
10116
 
9210
10117
      
9211
10118
fi
9212
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9213
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10119
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10120
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9214
10121
    fi
9215
10122
 
9216
10123
    CPPFLAGS="$save_CPPFLAGS"
9231
10138
fi
9232
10139
 
9233
10140
 
9234
 
# Report which librarie types wil actually be built
9235
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9236
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9237
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9238
 
echo "${ECHO_T}$can_build_shared" >&6
 
10141
# Report which library types will actually be built
 
10142
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10143
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10144
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10145
echo "${ECHO_T}$can_build_shared" >&6; }
9239
10146
 
9240
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9241
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10147
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10148
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9242
10149
test "$can_build_shared" = "no" && enable_shared=no
9243
10150
 
9244
10151
# On AIX, shared libraries and static libraries use the same namespace, and
9258
10165
  fi
9259
10166
    ;;
9260
10167
esac
9261
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9262
 
echo "${ECHO_T}$enable_shared" >&6
 
10168
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10169
echo "${ECHO_T}$enable_shared" >&6; }
9263
10170
 
9264
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9265
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10171
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10172
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9266
10173
# Make sure either enable_shared or enable_static is yes.
9267
10174
test "$enable_shared" = yes || enable_static=yes
9268
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9269
 
echo "${ECHO_T}$enable_static" >&6
 
10175
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10176
echo "${ECHO_T}$enable_static" >&6; }
9270
10177
 
9271
10178
# The else clause should only fire when bootstrapping the
9272
10179
# libtool distribution, otherwise you forgot to ship ltmain.sh
9281
10188
  # Now quote all the things that may contain metacharacters while being
9282
10189
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9283
10190
  # variables and quote the copies for generation of the libtool script.
9284
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10191
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9285
10192
    SED SHELL STRIP \
9286
10193
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9287
10194
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9323
10230
    module_cmds \
9324
10231
    module_expsym_cmds \
9325
10232
    lt_cv_prog_compiler_c_o \
 
10233
    fix_srcfile_path \
9326
10234
    exclude_expsyms \
9327
10235
    include_expsyms; do
9328
10236
 
9367
10275
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9368
10276
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9369
10277
#
9370
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10278
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9371
10279
# Free Software Foundation, Inc.
9372
10280
#
9373
10281
# This file is part of GNU Libtool:
9447
10355
# A C compiler.
9448
10356
LTCC=$lt_LTCC
9449
10357
 
 
10358
# LTCC compiler flags.
 
10359
LTCFLAGS=$lt_LTCFLAGS
 
10360
 
9450
10361
# A language-specific compiler.
9451
10362
CC=$lt_compiler
9452
10363
 
9688
10599
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9689
10600
 
9690
10601
# Fix the shell variable \$srcfile for the compiler.
9691
 
fix_srcfile_path="$fix_srcfile_path"
 
10602
fix_srcfile_path=$lt_fix_srcfile_path
9692
10603
 
9693
10604
# Set to yes if exported symbols are required.
9694
10605
always_export_symbols=$always_export_symbols
9755
10666
CC="$lt_save_CC"
9756
10667
 
9757
10668
 
9758
 
# Check whether --with-tags or --without-tags was given.
 
10669
# Check whether --with-tags was given.
9759
10670
if test "${with_tags+set}" = set; then
9760
 
  withval="$with_tags"
9761
 
  tagnames="$withval"
9762
 
fi; 
 
10671
  withval=$with_tags; tagnames="$withval"
 
10672
fi
 
10673
 
9763
10674
 
9764
10675
if test -f "$ltmain" && test -n "$tagnames"; then
9765
10676
  if test ! -f "${ofile}"; then
9777
10688
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9778
10689
    fi
9779
10690
  fi
 
10691
  if test -z "$LTCFLAGS"; then
 
10692
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
10693
  fi
9780
10694
 
9781
10695
  # Extract list of available tagged configurations in $ofile.
9782
10696
  # Note that this assumes the entire list is on one line.
9810
10724
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9811
10725
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9812
10726
            (test "X$CXX" != "Xg++"))) ; then
9813
 
          ac_ext=cc
 
10727
          ac_ext=cpp
9814
10728
ac_cpp='$CXXCPP $CPPFLAGS'
9815
10729
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9816
10730
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9829
10743
hardcode_libdir_flag_spec_ld_CXX=
9830
10744
hardcode_libdir_separator_CXX=
9831
10745
hardcode_minus_L_CXX=no
 
10746
hardcode_shlibpath_var_CXX=unsupported
9832
10747
hardcode_automatic_CXX=no
9833
10748
module_cmds_CXX=
9834
10749
module_expsym_cmds_CXX=
9853
10768
objext_CXX=$objext
9854
10769
 
9855
10770
# Code to be used in simple compile tests
9856
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
10771
lt_simple_compile_test_code="int some_variable = 0;"
9857
10772
 
9858
10773
# Code to be used in simple link tests
9859
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
10774
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
9860
10775
 
9861
10776
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9862
10777
 
9863
10778
# If no C compiler was specified, use CC.
9864
10779
LTCC=${LTCC-"$CC"}
9865
10780
 
 
10781
# If no C compiler flags were specified, use CFLAGS.
 
10782
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10783
 
9866
10784
# Allow CC to be a program name with arguments.
9867
10785
compiler=$CC
9868
10786
 
9869
10787
 
9870
10788
# save warnings/boilerplate of simple test code
9871
10789
ac_outfile=conftest.$ac_objext
9872
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
9873
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10790
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10791
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9874
10792
_lt_compiler_boilerplate=`cat conftest.err`
9875
10793
$rm conftest*
9876
10794
 
9877
10795
ac_outfile=conftest.$ac_objext
9878
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
9879
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10796
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
10797
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9880
10798
_lt_linker_boilerplate=`cat conftest.err`
9881
10799
$rm conftest*
9882
10800
 
9891
10809
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9892
10810
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9893
10811
else
9894
 
  unset lt_cv_prog_gnu_ld
 
10812
  $as_unset lt_cv_prog_gnu_ld
9895
10813
fi
9896
10814
if test -n "${lt_cv_path_LDCXX+set}"; then
9897
10815
  lt_cv_path_LD=$lt_cv_path_LDCXX
9898
10816
else
9899
 
  unset lt_cv_path_LD
 
10817
  $as_unset lt_cv_path_LD
9900
10818
fi
9901
10819
test -z "${LDCXX+set}" || LD=$LDCXX
9902
10820
CC=${CXX-"c++"}
9925
10843
  # Set up default GNU C++ configuration
9926
10844
 
9927
10845
  
9928
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10846
# Check whether --with-gnu-ld was given.
9929
10847
if test "${with_gnu_ld+set}" = set; then
9930
 
  withval="$with_gnu_ld"
9931
 
  test "$withval" = no || with_gnu_ld=yes
 
10848
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9932
10849
else
9933
10850
  with_gnu_ld=no
9934
 
fi; 
 
10851
fi
 
10852
 
9935
10853
ac_prog=ld
9936
10854
if test "$GCC" = yes; then
9937
10855
  # Check if gcc -print-prog-name=ld gives a path.
9938
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9939
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10856
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10857
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9940
10858
  case $host in
9941
10859
  *-*-mingw*)
9942
10860
    # gcc leaves a trailing carriage return which upsets mingw
9965
10883
    ;;
9966
10884
  esac
9967
10885
elif test "$with_gnu_ld" = yes; then
9968
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9969
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10886
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10887
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9970
10888
else
9971
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9972
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10889
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10890
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9973
10891
fi
9974
10892
if test "${lt_cv_path_LD+set}" = set; then
9975
10893
  echo $ECHO_N "(cached) $ECHO_C" >&6
10002
10920
 
10003
10921
LD="$lt_cv_path_LD"
10004
10922
if test -n "$LD"; then
10005
 
  echo "$as_me:$LINENO: result: $LD" >&5
10006
 
echo "${ECHO_T}$LD" >&6
 
10923
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10924
echo "${ECHO_T}$LD" >&6; }
10007
10925
else
10008
 
  echo "$as_me:$LINENO: result: no" >&5
10009
 
echo "${ECHO_T}no" >&6
 
10926
  { echo "$as_me:$LINENO: result: no" >&5
 
10927
echo "${ECHO_T}no" >&6; }
10010
10928
fi
10011
10929
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10012
10930
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10013
10931
   { (exit 1); exit 1; }; }
10014
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10015
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10932
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10933
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10016
10934
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10017
10935
  echo $ECHO_N "(cached) $ECHO_C" >&6
10018
10936
else
10026
10944
  ;;
10027
10945
esac
10028
10946
fi
10029
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10030
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10947
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10948
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10031
10949
with_gnu_ld=$lt_cv_prog_gnu_ld
10032
10950
 
10033
10951
 
10077
10995
fi
10078
10996
 
10079
10997
# PORTME: fill in a description of your system's C++ link characteristics
10080
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10081
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10998
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10999
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10082
11000
ld_shlibs_CXX=yes
10083
11001
case $host_os in
10084
11002
  aix3*)
10107
11025
            ;;
10108
11026
          esac
10109
11027
        done
 
11028
        ;;
10110
11029
      esac
10111
11030
 
10112
11031
      exp_sym_flag='-bexport'
10133
11052
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10134
11053
        then
10135
11054
          # We have reworked collect2
10136
 
          hardcode_direct_CXX=yes
 
11055
          :
10137
11056
        else
10138
11057
          # We have old collect2
10139
11058
          hardcode_direct_CXX=unsupported
10144
11063
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10145
11064
          hardcode_libdir_separator_CXX=
10146
11065
        fi
 
11066
        ;;
10147
11067
      esac
10148
11068
      shared_flag='-shared'
10149
11069
      if test "$aix_use_runtimelinking" = yes; then
10188
11108
}
10189
11109
_ACEOF
10190
11110
rm -f conftest.$ac_objext conftest$ac_exeext
10191
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10192
 
  (eval $ac_link) 2>conftest.er1
 
11111
if { (ac_try="$ac_link"
 
11112
case "(($ac_try" in
 
11113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11114
  *) ac_try_echo=$ac_try;;
 
11115
esac
 
11116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11117
  (eval "$ac_link") 2>conftest.er1
10193
11118
  ac_status=$?
10194
11119
  grep -v '^ *+' conftest.er1 >conftest.err
10195
11120
  rm -f conftest.er1
10196
11121
  cat conftest.err >&5
10197
11122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198
 
  (exit $ac_status); } &&
10199
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201
 
  (eval $ac_try) 2>&5
10202
 
  ac_status=$?
10203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204
 
  (exit $ac_status); }; } &&
10205
 
         { ac_try='test -s conftest$ac_exeext'
10206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207
 
  (eval $ac_try) 2>&5
10208
 
  ac_status=$?
10209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210
 
  (exit $ac_status); }; }; then
 
11123
  (exit $ac_status); } && {
 
11124
         test -z "$ac_cxx_werror_flag" ||
 
11125
         test ! -s conftest.err
 
11126
       } && test -s conftest$ac_exeext &&
 
11127
       $as_test_x conftest$ac_exeext; then
10211
11128
  
10212
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10213
 
}'`
 
11129
lt_aix_libpath_sed='
 
11130
    /Import File Strings/,/^$/ {
 
11131
        /^0/ {
 
11132
            s/^0  *\(.*\)$/\1/
 
11133
            p
 
11134
        }
 
11135
    }'
 
11136
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10214
11137
# Check for a 64-bit object if we didn't find anything.
10215
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10216
 
}'`; fi
 
11138
if test -z "$aix_libpath"; then
 
11139
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11140
fi
10217
11141
else
10218
11142
  echo "$as_me: failed program was:" >&5
10219
11143
sed 's/^/| /' conftest.$ac_ext >&5
10220
11144
 
 
11145
        
10221
11146
fi
10222
 
rm -f conftest.err conftest.$ac_objext \
 
11147
 
 
11148
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10223
11149
      conftest$ac_exeext conftest.$ac_ext
10224
11150
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10225
11151
 
10226
11152
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10227
11153
 
10228
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11154
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10229
11155
     else
10230
11156
      if test "$host_cpu" = ia64; then
10231
11157
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10232
11158
        allow_undefined_flag_CXX="-z nodefs"
10233
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11159
        archive_expsym_cmds_CXX="\$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"
10234
11160
      else
10235
11161
        # Determine the default libpath from the value encoded in an empty executable.
10236
11162
        cat >conftest.$ac_ext <<_ACEOF
10249
11175
}
10250
11176
_ACEOF
10251
11177
rm -f conftest.$ac_objext conftest$ac_exeext
10252
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10253
 
  (eval $ac_link) 2>conftest.er1
 
11178
if { (ac_try="$ac_link"
 
11179
case "(($ac_try" in
 
11180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11181
  *) ac_try_echo=$ac_try;;
 
11182
esac
 
11183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11184
  (eval "$ac_link") 2>conftest.er1
10254
11185
  ac_status=$?
10255
11186
  grep -v '^ *+' conftest.er1 >conftest.err
10256
11187
  rm -f conftest.er1
10257
11188
  cat conftest.err >&5
10258
11189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259
 
  (exit $ac_status); } &&
10260
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262
 
  (eval $ac_try) 2>&5
10263
 
  ac_status=$?
10264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265
 
  (exit $ac_status); }; } &&
10266
 
         { ac_try='test -s conftest$ac_exeext'
10267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268
 
  (eval $ac_try) 2>&5
10269
 
  ac_status=$?
10270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271
 
  (exit $ac_status); }; }; then
 
11190
  (exit $ac_status); } && {
 
11191
         test -z "$ac_cxx_werror_flag" ||
 
11192
         test ! -s conftest.err
 
11193
       } && test -s conftest$ac_exeext &&
 
11194
       $as_test_x conftest$ac_exeext; then
10272
11195
  
10273
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10274
 
}'`
 
11196
lt_aix_libpath_sed='
 
11197
    /Import File Strings/,/^$/ {
 
11198
        /^0/ {
 
11199
            s/^0  *\(.*\)$/\1/
 
11200
            p
 
11201
        }
 
11202
    }'
 
11203
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10275
11204
# Check for a 64-bit object if we didn't find anything.
10276
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10277
 
}'`; fi
 
11205
if test -z "$aix_libpath"; then
 
11206
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11207
fi
10278
11208
else
10279
11209
  echo "$as_me: failed program was:" >&5
10280
11210
sed 's/^/| /' conftest.$ac_ext >&5
10281
11211
 
 
11212
        
10282
11213
fi
10283
 
rm -f conftest.err conftest.$ac_objext \
 
11214
 
 
11215
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10284
11216
      conftest$ac_exeext conftest.$ac_ext
10285
11217
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10286
11218
 
10289
11221
        # -berok will link without error, but may produce a broken library.
10290
11222
        no_undefined_flag_CXX=' ${wl}-bernotok'
10291
11223
        allow_undefined_flag_CXX=' ${wl}-berok'
10292
 
        # -bexpall does not export symbols beginning with underscore (_)
10293
 
        always_export_symbols_CXX=yes
10294
11224
        # Exported symbols can be pulled into shared objects from archives
10295
 
        whole_archive_flag_spec_CXX=' '
 
11225
        whole_archive_flag_spec_CXX='$convenience'
10296
11226
        archive_cmds_need_lc_CXX=yes
10297
11227
        # This is similar to how AIX traditionally builds its shared libraries.
10298
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11228
        archive_expsym_cmds_CXX="\$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'
10299
11229
      fi
10300
11230
    fi
10301
11231
    ;;
 
11232
 
 
11233
  beos*)
 
11234
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11235
      allow_undefined_flag_CXX=unsupported
 
11236
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11237
      # support --undefined.  This deserves some investigation.  FIXME
 
11238
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11239
    else
 
11240
      ld_shlibs_CXX=no
 
11241
    fi
 
11242
    ;;
 
11243
 
10302
11244
  chorus*)
10303
11245
    case $cc_basename in
10304
11246
      *)
10308
11250
    esac
10309
11251
    ;;
10310
11252
 
10311
 
 
10312
11253
  cygwin* | mingw* | pw32*)
10313
11254
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10314
11255
    # as there is no search path for DLLs.
10318
11259
    enable_shared_with_static_runtimes_CXX=yes
10319
11260
 
10320
11261
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10321
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11262
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10322
11263
      # If the export-symbols file already is a .def file (1st line
10323
11264
      # is EXPORTS), use it as is; otherwise, prepend...
10324
11265
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10327
11268
        echo EXPORTS > $output_objdir/$soname.def;
10328
11269
        cat $export_symbols >> $output_objdir/$soname.def;
10329
11270
      fi~
10330
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11271
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10331
11272
    else
10332
11273
      ld_shlibs_CXX=no
10333
11274
    fi
10382
11323
      case $cc_basename in
10383
11324
        xlc*)
10384
11325
         output_verbose_link_cmd='echo'
10385
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
11326
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10386
11327
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10387
11328
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10388
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11329
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10389
11330
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10390
11331
          ;;
10391
11332
       *)
10419
11360
  freebsd-elf*)
10420
11361
    archive_cmds_need_lc_CXX=no
10421
11362
    ;;
10422
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11363
  freebsd* | dragonfly*)
10423
11364
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10424
11365
    # conventions
10425
11366
    ld_shlibs_CXX=yes
10464
11405
    ;;
10465
11406
  hpux10*|hpux11*)
10466
11407
    if test $with_gnu_ld = no; then
 
11408
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11409
      hardcode_libdir_separator_CXX=:
 
11410
 
10467
11411
      case $host_cpu in
10468
 
      hppa*64*)
10469
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10470
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10471
 
        hardcode_libdir_separator_CXX=:
10472
 
        ;;
10473
 
      ia64*)
10474
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10475
 
        ;;
 
11412
      hppa*64*|ia64*) ;;
10476
11413
      *)
10477
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10478
 
        hardcode_libdir_separator_CXX=:
10479
11414
        export_dynamic_flag_spec_CXX='${wl}-E'
10480
11415
        ;;
10481
11416
      esac
10482
11417
    fi
10483
11418
    case $host_cpu in
10484
 
    hppa*64*)
10485
 
      hardcode_direct_CXX=no
10486
 
      hardcode_shlibpath_var_CXX=no
10487
 
      ;;
10488
 
    ia64*)
10489
 
      hardcode_direct_CXX=no
10490
 
      hardcode_shlibpath_var_CXX=no
10491
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10492
 
                                              # but as the default
10493
 
                                              # location of the library.
 
11419
    hppa*64*|ia64*)
 
11420
      hardcode_direct_CXX=no
 
11421
      hardcode_shlibpath_var_CXX=no
10494
11422
      ;;
10495
11423
    *)
10496
11424
      hardcode_direct_CXX=yes
10507
11435
        ;;
10508
11436
      aCC*)
10509
11437
        case $host_cpu in
10510
 
        hppa*64*|ia64*)
10511
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11438
        hppa*64*)
 
11439
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11440
          ;;
 
11441
        ia64*)
 
11442
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10512
11443
          ;;
10513
11444
        *)
10514
11445
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10528
11459
        if test "$GXX" = yes; then
10529
11460
          if test $with_gnu_ld = no; then
10530
11461
            case $host_cpu in
10531
 
            ia64*|hppa*64*)
10532
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11462
            hppa*64*)
 
11463
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11464
              ;;
 
11465
            ia64*)
 
11466
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10533
11467
              ;;
10534
11468
            *)
10535
11469
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10543
11477
        ;;
10544
11478
    esac
10545
11479
    ;;
 
11480
  interix[3-9]*)
 
11481
    hardcode_direct_CXX=no
 
11482
    hardcode_shlibpath_var_CXX=no
 
11483
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11484
    export_dynamic_flag_spec_CXX='${wl}-E'
 
11485
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11486
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11487
    # default) and relocated if they conflict, which is a slow very memory
 
11488
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
11489
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11490
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11491
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11492
    archive_expsym_cmds_CXX='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'
 
11493
    ;;
10546
11494
  irix5* | irix6*)
10547
11495
    case $cc_basename in
10548
11496
      CC*)
10569
11517
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10570
11518
    hardcode_libdir_separator_CXX=:
10571
11519
    ;;
10572
 
  linux*)
 
11520
  linux* | k*bsd*-gnu)
10573
11521
    case $cc_basename in
10574
11522
      KCC*)
10575
11523
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10649
11597
        # dependencies.
10650
11598
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10651
11599
        ;;
 
11600
      *)
 
11601
        case `$CC -V 2>&1 | sed 5q` in
 
11602
        *Sun\ C*)
 
11603
          # Sun C++ 5.9
 
11604
          no_undefined_flag_CXX=' -zdefs'
 
11605
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11606
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11607
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11608
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11609
 
 
11610
          # Not sure whether something based on
 
11611
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11612
          # would be better.
 
11613
          output_verbose_link_cmd='echo'
 
11614
 
 
11615
          # Archives containing C++ object files must be created using
 
11616
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11617
          # necessary to make sure instantiated templates are included
 
11618
          # in the archive.
 
11619
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11620
          ;;
 
11621
        esac
 
11622
        ;;
10652
11623
    esac
10653
11624
    ;;
10654
11625
  lynxos*)
10671
11642
        ;;
10672
11643
    esac
10673
11644
    ;;
10674
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11645
  netbsd* | netbsdelf*-gnu)
10675
11646
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10676
11647
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10677
11648
      wlarc=
10687
11658
    ld_shlibs_CXX=no
10688
11659
    ;;
10689
11660
  openbsd*)
10690
 
    hardcode_direct_CXX=yes
10691
 
    hardcode_shlibpath_var_CXX=no
10692
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10693
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10694
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10695
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10696
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10697
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11661
    if test -f /usr/libexec/ld.so; then
 
11662
      hardcode_direct_CXX=yes
 
11663
      hardcode_shlibpath_var_CXX=no
 
11664
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11665
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11666
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11667
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11668
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11669
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11670
      fi
 
11671
      output_verbose_link_cmd='echo'
 
11672
    else
 
11673
      ld_shlibs_CXX=no
10698
11674
    fi
10699
 
    output_verbose_link_cmd='echo'
10700
11675
    ;;
10701
11676
  osf3*)
10702
11677
    case $cc_basename in
10825
11800
    # FIXME: insert proper C++ library support
10826
11801
    ld_shlibs_CXX=no
10827
11802
    ;;
10828
 
  sco*)
10829
 
    archive_cmds_need_lc_CXX=no
10830
 
    case $cc_basename in
10831
 
      CC*)
10832
 
        # FIXME: insert proper C++ library support
10833
 
        ld_shlibs_CXX=no
10834
 
        ;;
10835
 
      *)
10836
 
        # FIXME: insert proper C++ library support
10837
 
        ld_shlibs_CXX=no
10838
 
        ;;
10839
 
    esac
10840
 
    ;;
10841
11803
  sunos4*)
10842
11804
    case $cc_basename in
10843
11805
      CC*)
10871
11833
        case $host_os in
10872
11834
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10873
11835
          *)
10874
 
            # The C++ compiler is used as linker so we must use $wl
10875
 
            # flag to pass the commands to the underlying system
10876
 
            # linker. We must also pass each convience library through
10877
 
            # to the system linker between allextract/defaultextract.
10878
 
            # The C++ compiler will combine linker options so we
10879
 
            # cannot just pass the convience library names through
10880
 
            # without $wl.
 
11836
            # The compiler driver will combine and reorder linker options,
 
11837
            # but understands `-z linker_flag'.
10881
11838
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10882
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
11839
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
10883
11840
            ;;
10884
11841
        esac
10885
11842
        link_all_deplibs_CXX=yes
10926
11883
          fi
10927
11884
 
10928
11885
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
11886
          case $host_os in
 
11887
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11888
          *)
 
11889
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11890
            ;;
 
11891
          esac
10929
11892
        fi
10930
11893
        ;;
10931
11894
    esac
10932
11895
    ;;
10933
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10934
 
    archive_cmds_need_lc_CXX=no
 
11896
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11897
    no_undefined_flag_CXX='${wl}-z,text'
 
11898
    archive_cmds_need_lc_CXX=no
 
11899
    hardcode_shlibpath_var_CXX=no
 
11900
    runpath_var='LD_RUN_PATH'
 
11901
 
 
11902
    case $cc_basename in
 
11903
      CC*)
 
11904
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11905
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11906
        ;;
 
11907
      *)
 
11908
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11909
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11910
        ;;
 
11911
    esac
 
11912
    ;;
 
11913
  sysv5* | sco3.2v5* | sco5v6*)
 
11914
    # Note: We can NOT use -z defs as we might desire, because we do not
 
11915
    # link with -lc, and that would cause any symbols used from libc to
 
11916
    # always be unresolved, which means just about no library would
 
11917
    # ever link correctly.  If we're not using GNU ld we use -z text
 
11918
    # though, which does catch some bad symbols but isn't as heavy-handed
 
11919
    # as -z defs.
 
11920
    # For security reasons, it is highly recommended that you always
 
11921
    # use absolute paths for naming shared libraries, and exclude the
 
11922
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
11923
    # requires that you compile everything twice, which is a pain.
 
11924
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
11925
    # non-empty value in the environment.  Most likely only useful for
 
11926
    # creating official distributions of packages.
 
11927
    # This is a hack until libtool officially supports absolute path
 
11928
    # names for shared libraries.
 
11929
    no_undefined_flag_CXX='${wl}-z,text'
 
11930
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
11931
    archive_cmds_need_lc_CXX=no
 
11932
    hardcode_shlibpath_var_CXX=no
 
11933
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
11934
    hardcode_libdir_separator_CXX=':'
 
11935
    link_all_deplibs_CXX=yes
 
11936
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
11937
    runpath_var='LD_RUN_PATH'
 
11938
 
 
11939
    case $cc_basename in
 
11940
      CC*)
 
11941
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11942
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11943
        ;;
 
11944
      *)
 
11945
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11946
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11947
        ;;
 
11948
    esac
10935
11949
    ;;
10936
11950
  tandem*)
10937
11951
    case $cc_basename in
10955
11969
    ld_shlibs_CXX=no
10956
11970
    ;;
10957
11971
esac
10958
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10959
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11972
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11973
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10960
11974
test "$ld_shlibs_CXX" = no && can_build_shared=no
10961
11975
 
10962
11976
GCC_CXX="$GXX"
11066
12080
 
11067
12081
# PORTME: override above test on systems where it is broken
11068
12082
case $host_os in
 
12083
interix[3-9]*)
 
12084
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12085
  # hack all around it, let's just trust "g++" to DTRT.
 
12086
  predep_objects_CXX=
 
12087
  postdep_objects_CXX=
 
12088
  postdeps_CXX=
 
12089
  ;;
 
12090
 
 
12091
linux*)
 
12092
  case `$CC -V 2>&1 | sed 5q` in
 
12093
  *Sun\ C*)
 
12094
    # Sun C++ 5.9
 
12095
    #
 
12096
    # The more standards-conforming stlport4 library is
 
12097
    # incompatible with the Cstd library. Avoid specifying
 
12098
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12099
    # -library=stlport4 depends on it.
 
12100
    case " $CXX $CXXFLAGS " in
 
12101
    *" -library=stlport4 "*)
 
12102
      solaris_use_stlport4=yes
 
12103
      ;;
 
12104
    esac
 
12105
    if test "$solaris_use_stlport4" != yes; then
 
12106
      postdeps_CXX='-library=Cstd -library=Crun'
 
12107
    fi
 
12108
    ;;
 
12109
  esac
 
12110
  ;;
 
12111
 
11069
12112
solaris*)
11070
12113
  case $cc_basename in
11071
12114
  CC*)
 
12115
    # The more standards-conforming stlport4 library is
 
12116
    # incompatible with the Cstd library. Avoid specifying
 
12117
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12118
    # -library=stlport4 depends on it.
 
12119
    case " $CXX $CXXFLAGS " in
 
12120
    *" -library=stlport4 "*)
 
12121
      solaris_use_stlport4=yes
 
12122
      ;;
 
12123
    esac
 
12124
 
11072
12125
    # Adding this requires a known-good setup of shared libraries for
11073
12126
    # Sun compiler versions before 5.6, else PIC objects from an old
11074
12127
    # archive will be linked into the output, leading to subtle bugs.
11075
 
    postdeps_CXX='-lCstd -lCrun'
 
12128
    if test "$solaris_use_stlport4" != yes; then
 
12129
      postdeps_CXX='-library=Cstd -library=Crun'
 
12130
    fi
11076
12131
    ;;
11077
12132
  esac
 
12133
  ;;
11078
12134
esac
11079
12135
 
11080
12136
 
11086
12142
lt_prog_compiler_pic_CXX=
11087
12143
lt_prog_compiler_static_CXX=
11088
12144
 
11089
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11090
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12145
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12146
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11091
12147
 
11092
12148
  # C++ specific cases for pic, static, wl, etc.
11093
12149
  if test "$GXX" = yes; then
11108
12164
      # like `-m68040'.
11109
12165
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11110
12166
      ;;
11111
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12167
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11112
12168
      # PIC is the default for these OSes.
11113
12169
      ;;
11114
 
    mingw* | os2* | pw32*)
 
12170
    mingw* | cygwin* | os2* | pw32*)
11115
12171
      # This hack is so that the source file can tell whether it is being
11116
12172
      # built for inclusion in a dll (and should export symbols for example).
 
12173
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12174
      # (--disable-auto-import) libraries
11117
12175
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11118
12176
      ;;
11119
12177
    darwin* | rhapsody*)
11125
12183
      # DJGPP does not support shared libraries at all
11126
12184
      lt_prog_compiler_pic_CXX=
11127
12185
      ;;
 
12186
    interix[3-9]*)
 
12187
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12188
      # Instead, we relocate shared libraries at runtime.
 
12189
      ;;
11128
12190
    sysv4*MP*)
11129
12191
      if test -d /usr/nec; then
11130
12192
        lt_prog_compiler_pic_CXX=-Kconform_pic
11187
12249
            ;;
11188
12250
        esac
11189
12251
        ;;
11190
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12252
      freebsd* | dragonfly*)
11191
12253
        # FreeBSD uses GNU C++
11192
12254
        ;;
11193
12255
      hpux9* | hpux10* | hpux11*)
11194
12256
        case $cc_basename in
11195
12257
          CC*)
11196
12258
            lt_prog_compiler_wl_CXX='-Wl,'
11197
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12259
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11198
12260
            if test "$host_cpu" != ia64; then
11199
12261
              lt_prog_compiler_pic_CXX='+Z'
11200
12262
            fi
11201
12263
            ;;
11202
12264
          aCC*)
11203
12265
            lt_prog_compiler_wl_CXX='-Wl,'
11204
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12266
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11205
12267
            case $host_cpu in
11206
12268
            hppa*64*|ia64*)
11207
12269
              # +Z the default
11215
12277
            ;;
11216
12278
        esac
11217
12279
        ;;
 
12280
      interix*)
 
12281
        # This is c89, which is MS Visual C++ (no shared libs)
 
12282
        # Anyone wants to do a port?
 
12283
        ;;
11218
12284
      irix5* | irix6* | nonstopux*)
11219
12285
        case $cc_basename in
11220
12286
          CC*)
11226
12292
            ;;
11227
12293
        esac
11228
12294
        ;;
11229
 
      linux*)
 
12295
      linux* | k*bsd*-gnu)
11230
12296
        case $cc_basename in
11231
12297
          KCC*)
11232
12298
            # KAI C++ Compiler
11253
12319
            lt_prog_compiler_static_CXX='-non_shared'
11254
12320
            ;;
11255
12321
          *)
 
12322
            case `$CC -V 2>&1 | sed 5q` in
 
12323
            *Sun\ C*)
 
12324
              # Sun C++ 5.9
 
12325
              lt_prog_compiler_pic_CXX='-KPIC'
 
12326
              lt_prog_compiler_static_CXX='-Bstatic'
 
12327
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12328
              ;;
 
12329
            esac
11256
12330
            ;;
11257
12331
        esac
11258
12332
        ;;
11269
12343
            ;;
11270
12344
        esac
11271
12345
        ;;
11272
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12346
      netbsd* | netbsdelf*-gnu)
11273
12347
        ;;
11274
12348
      osf3* | osf4* | osf5*)
11275
12349
        case $cc_basename in
11294
12368
        ;;
11295
12369
      psos*)
11296
12370
        ;;
11297
 
      sco*)
11298
 
        case $cc_basename in
11299
 
          CC*)
11300
 
            lt_prog_compiler_pic_CXX='-fPIC'
11301
 
            ;;
11302
 
          *)
11303
 
            ;;
11304
 
        esac
11305
 
        ;;
11306
12371
      solaris*)
11307
12372
        case $cc_basename in
11308
12373
          CC*)
11344
12409
            ;;
11345
12410
        esac
11346
12411
        ;;
11347
 
      unixware*)
 
12412
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12413
        case $cc_basename in
 
12414
          CC*)
 
12415
            lt_prog_compiler_wl_CXX='-Wl,'
 
12416
            lt_prog_compiler_pic_CXX='-KPIC'
 
12417
            lt_prog_compiler_static_CXX='-Bstatic'
 
12418
            ;;
 
12419
        esac
11348
12420
        ;;
11349
12421
      vxworks*)
11350
12422
        ;;
11354
12426
    esac
11355
12427
  fi
11356
12428
 
11357
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11358
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12429
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12430
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11359
12431
 
11360
12432
#
11361
12433
# Check to make sure the PIC flag actually works.
11362
12434
#
11363
12435
if test -n "$lt_prog_compiler_pic_CXX"; then
11364
12436
  
11365
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11366
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12437
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12438
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11367
12439
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11368
12440
  echo $ECHO_N "(cached) $ECHO_C" >&6
11369
12441
else
11370
12442
  lt_prog_compiler_pic_works_CXX=no
11371
12443
  ac_outfile=conftest.$ac_objext
11372
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12444
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11373
12445
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11374
12446
   # Insert the option either (1) after the last *FLAGS variable, or
11375
12447
   # (2) before a word containing "conftest.", or (3) at the end.
11388
12460
   if (exit $ac_status) && test -s "$ac_outfile"; then
11389
12461
     # The compiler can only warn and ignore the option if not recognized
11390
12462
     # So say no if there are warnings other than the usual output.
11391
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11392
 
     $SED '/^$/d' conftest.err >conftest.er2
11393
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
12463
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12464
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12465
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11394
12466
       lt_prog_compiler_pic_works_CXX=yes
11395
12467
     fi
11396
12468
   fi
11397
12469
   $rm conftest*
11398
12470
 
11399
12471
fi
11400
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11401
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12472
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12473
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11402
12474
 
11403
12475
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11404
12476
    case $lt_prog_compiler_pic_CXX in
11421
12493
    ;;
11422
12494
esac
11423
12495
 
11424
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11425
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12496
#
 
12497
# Check to make sure the static flag actually works.
 
12498
#
 
12499
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12500
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12501
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12502
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12503
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12504
else
 
12505
  lt_prog_compiler_static_works_CXX=no
 
12506
   save_LDFLAGS="$LDFLAGS"
 
12507
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12508
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
12509
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12510
     # The linker can only warn and ignore the option if not recognized
 
12511
     # So say no if there are warnings
 
12512
     if test -s conftest.err; then
 
12513
       # Append any errors to the config.log.
 
12514
       cat conftest.err 1>&5
 
12515
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12516
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12517
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12518
         lt_prog_compiler_static_works_CXX=yes
 
12519
       fi
 
12520
     else
 
12521
       lt_prog_compiler_static_works_CXX=yes
 
12522
     fi
 
12523
   fi
 
12524
   $rm conftest*
 
12525
   LDFLAGS="$save_LDFLAGS"
 
12526
 
 
12527
fi
 
12528
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12529
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12530
 
 
12531
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12532
    :
 
12533
else
 
12534
    lt_prog_compiler_static_CXX=
 
12535
fi
 
12536
 
 
12537
 
 
12538
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12539
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11426
12540
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11427
12541
  echo $ECHO_N "(cached) $ECHO_C" >&6
11428
12542
else
11431
12545
   mkdir conftest
11432
12546
   cd conftest
11433
12547
   mkdir out
11434
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12548
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11435
12549
 
11436
12550
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11437
12551
   # Insert the option either (1) after the last *FLAGS variable, or
11451
12565
   then
11452
12566
     # The compiler can only warn and ignore the option if not recognized
11453
12567
     # So say no if there are warnings
11454
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11455
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
11456
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12568
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12569
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12570
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11457
12571
       lt_cv_prog_compiler_c_o_CXX=yes
11458
12572
     fi
11459
12573
   fi
11468
12582
   $rm conftest*
11469
12583
 
11470
12584
fi
11471
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11472
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12585
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12586
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11473
12587
 
11474
12588
 
11475
12589
hard_links="nottested"
11476
12590
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11477
12591
  # do not overwrite the value of need_locks provided by the user
11478
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11479
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12592
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12593
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11480
12594
  hard_links=yes
11481
12595
  $rm conftest*
11482
12596
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11483
12597
  touch conftest.a
11484
12598
  ln conftest.a conftest.b 2>&5 || hard_links=no
11485
12599
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11486
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11487
 
echo "${ECHO_T}$hard_links" >&6
 
12600
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12601
echo "${ECHO_T}$hard_links" >&6; }
11488
12602
  if test "$hard_links" = no; then
11489
12603
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11490
12604
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11494
12608
  need_locks=no
11495
12609
fi
11496
12610
 
11497
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11498
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12611
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12612
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11499
12613
 
11500
12614
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11501
12615
  case $host_os in
11512
12626
    export_symbols_cmds_CXX="$ltdll_cmds"
11513
12627
  ;;
11514
12628
  cygwin* | mingw*)
11515
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
12629
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11516
12630
  ;;
11517
 
  linux*)
 
12631
  linux* | k*bsd*-gnu)
11518
12632
    link_all_deplibs_CXX=no
11519
12633
  ;;
11520
12634
  *)
11522
12636
  ;;
11523
12637
  esac
11524
12638
 
11525
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11526
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12639
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12640
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11527
12641
test "$ld_shlibs_CXX" = no && can_build_shared=no
11528
12642
 
11529
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11530
 
if test "$GCC" = yes; then
11531
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11532
 
fi
11533
 
 
11534
12643
#
11535
12644
# Do we need to explicitly link libc?
11536
12645
#
11548
12657
      # Test whether the compiler implicitly links with -lc since on some
11549
12658
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11550
12659
      # to ld, don't add -lc before -lgcc.
11551
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11552
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12660
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12661
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11553
12662
      $rm conftest*
11554
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12663
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11555
12664
 
11556
12665
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557
12666
  (eval $ac_compile) 2>&5
11563
12672
        libobjs=conftest.$ac_objext
11564
12673
        deplibs=
11565
12674
        wl=$lt_prog_compiler_wl_CXX
 
12675
        pic_flag=$lt_prog_compiler_pic_CXX
11566
12676
        compiler_flags=-v
11567
12677
        linker_flags=-v
11568
12678
        verstring=
11585
12695
        cat conftest.err 1>&5
11586
12696
      fi
11587
12697
      $rm conftest*
11588
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11589
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12698
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12699
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11590
12700
      ;;
11591
12701
    esac
11592
12702
  fi
11593
12703
  ;;
11594
12704
esac
11595
12705
 
11596
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11597
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12706
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12707
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11598
12708
library_names_spec=
11599
12709
libname_spec='lib$name'
11600
12710
soname_spec=
11608
12718
version_type=none
11609
12719
dynamic_linker="$host_os ld.so"
11610
12720
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11611
 
if test "$GCC" = yes; then
11612
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11613
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11614
 
    # if the path contains ";" then we assume it to be the separator
11615
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11616
 
    # assumed that no part of a normal pathname contains ";" but that should
11617
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11618
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11619
 
  else
11620
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11621
 
  fi
11622
 
else
11623
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11624
 
fi
 
12721
 
11625
12722
need_lib_prefix=unknown
11626
12723
hardcode_into_libs=no
11627
12724
 
11778
12875
  shlibpath_overrides_runpath=yes
11779
12876
  shlibpath_var=DYLD_LIBRARY_PATH
11780
12877
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11781
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11782
 
  if test "$GCC" = yes; then
11783
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11784
 
  else
11785
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11786
 
  fi
 
12878
   
11787
12879
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11788
12880
  ;;
11789
12881
 
11800
12892
  dynamic_linker=no
11801
12893
  ;;
11802
12894
 
11803
 
kfreebsd*-gnu)
11804
 
  version_type=linux
11805
 
  need_lib_prefix=no
11806
 
  need_version=no
11807
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11808
 
  soname_spec='${libname}${release}${shared_ext}$major'
11809
 
  shlibpath_var=LD_LIBRARY_PATH
11810
 
  shlibpath_overrides_runpath=no
11811
 
  hardcode_into_libs=yes
11812
 
  dynamic_linker='GNU ld.so'
11813
 
  ;;
11814
 
 
11815
12895
freebsd* | dragonfly*)
11816
12896
  # DragonFly does not have aout.  When/if they implement a new
11817
12897
  # versioning mechanism, adjust this.
11844
12924
    shlibpath_overrides_runpath=yes
11845
12925
    hardcode_into_libs=yes
11846
12926
    ;;
11847
 
  *) # from 3.2 on
 
12927
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12928
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11848
12929
    shlibpath_overrides_runpath=no
11849
12930
    hardcode_into_libs=yes
11850
12931
    ;;
 
12932
  *) # from 4.6 on, and DragonFly
 
12933
    shlibpath_overrides_runpath=yes
 
12934
    hardcode_into_libs=yes
 
12935
    ;;
11851
12936
  esac
11852
12937
  ;;
11853
12938
 
11907
12992
  postinstall_cmds='chmod 555 $lib'
11908
12993
  ;;
11909
12994
 
 
12995
interix[3-9]*)
 
12996
  version_type=linux
 
12997
  need_lib_prefix=no
 
12998
  need_version=no
 
12999
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13000
  soname_spec='${libname}${release}${shared_ext}$major'
 
13001
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13002
  shlibpath_var=LD_LIBRARY_PATH
 
13003
  shlibpath_overrides_runpath=no
 
13004
  hardcode_into_libs=yes
 
13005
  ;;
 
13006
 
11910
13007
irix5* | irix6* | nonstopux*)
11911
13008
  case $host_os in
11912
13009
    nonstopux*) version_type=nonstopux ;;
11950
13047
  ;;
11951
13048
 
11952
13049
# This must be Linux ELF.
11953
 
linux*)
 
13050
linux* | k*bsd*-gnu)
11954
13051
  version_type=linux
11955
13052
  need_lib_prefix=no
11956
13053
  need_version=no
11966
13063
 
11967
13064
  # Append ld.so.conf contents to the search path
11968
13065
  if test -f /etc/ld.so.conf; then
11969
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13066
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11970
13067
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11971
13068
  fi
11972
13069
 
11991
13088
  dynamic_linker='NetBSD ld.elf_so'
11992
13089
  ;;
11993
13090
 
11994
 
knetbsd*-gnu)
11995
 
  version_type=linux
11996
 
  need_lib_prefix=no
11997
 
  need_version=no
11998
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11999
 
  soname_spec='${libname}${release}${shared_ext}$major'
12000
 
  shlibpath_var=LD_LIBRARY_PATH
12001
 
  shlibpath_overrides_runpath=no
12002
 
  hardcode_into_libs=yes
12003
 
  dynamic_linker='GNU ld.so'
12004
 
  ;;
12005
 
 
12006
13091
netbsd*)
12007
13092
  version_type=sunos
12008
13093
  need_lib_prefix=no
12040
13125
 
12041
13126
openbsd*)
12042
13127
  version_type=sunos
 
13128
  sys_lib_dlsearch_path_spec="/usr/lib"
12043
13129
  need_lib_prefix=no
12044
13130
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12045
13131
  case $host_os in
12083
13169
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12084
13170
  ;;
12085
13171
 
12086
 
sco3.2v5*)
12087
 
  version_type=osf
12088
 
  soname_spec='${libname}${release}${shared_ext}$major'
12089
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12090
 
  shlibpath_var=LD_LIBRARY_PATH
 
13172
rdos*)
 
13173
  dynamic_linker=no
12091
13174
  ;;
12092
13175
 
12093
13176
solaris*)
12115
13198
  need_version=yes
12116
13199
  ;;
12117
13200
 
12118
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13201
sysv4 | sysv4.3*)
12119
13202
  version_type=linux
12120
13203
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12121
13204
  soname_spec='${libname}${release}${shared_ext}$major'
12148
13231
  fi
12149
13232
  ;;
12150
13233
 
 
13234
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13235
  version_type=freebsd-elf
 
13236
  need_lib_prefix=no
 
13237
  need_version=no
 
13238
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13239
  soname_spec='${libname}${release}${shared_ext}$major'
 
13240
  shlibpath_var=LD_LIBRARY_PATH
 
13241
  hardcode_into_libs=yes
 
13242
  if test "$with_gnu_ld" = yes; then
 
13243
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13244
    shlibpath_overrides_runpath=no
 
13245
  else
 
13246
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13247
    shlibpath_overrides_runpath=yes
 
13248
    case $host_os in
 
13249
      sco3.2v5*)
 
13250
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13251
        ;;
 
13252
    esac
 
13253
  fi
 
13254
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13255
  ;;
 
13256
 
12151
13257
uts4*)
12152
13258
  version_type=linux
12153
13259
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12159
13265
  dynamic_linker=no
12160
13266
  ;;
12161
13267
esac
12162
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12163
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13268
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13269
echo "${ECHO_T}$dynamic_linker" >&6; }
12164
13270
test "$dynamic_linker" = no && can_build_shared=no
12165
13271
 
12166
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12167
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13272
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13273
if test "$GCC" = yes; then
 
13274
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13275
fi
 
13276
 
 
13277
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13278
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12168
13279
hardcode_action_CXX=
12169
13280
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12170
13281
   test -n "$runpath_var_CXX" || \
12188
13299
  # directories.
12189
13300
  hardcode_action_CXX=unsupported
12190
13301
fi
12191
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12192
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13302
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13303
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12193
13304
 
12194
13305
if test "$hardcode_action_CXX" = relink; then
12195
13306
  # Fast installation is not supported
12200
13311
  enable_fast_install=needless
12201
13312
fi
12202
13313
 
12203
 
striplib=
12204
 
old_striplib=
12205
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12206
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12207
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12208
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12209
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12210
 
  echo "$as_me:$LINENO: result: yes" >&5
12211
 
echo "${ECHO_T}yes" >&6
12212
 
else
12213
 
# FIXME - insert some real tests, host_os isn't really good enough
12214
 
  case $host_os in
12215
 
   darwin*)
12216
 
       if test -n "$STRIP" ; then
12217
 
         striplib="$STRIP -x"
12218
 
         echo "$as_me:$LINENO: result: yes" >&5
12219
 
echo "${ECHO_T}yes" >&6
12220
 
       else
12221
 
  echo "$as_me:$LINENO: result: no" >&5
12222
 
echo "${ECHO_T}no" >&6
12223
 
fi
12224
 
       ;;
12225
 
   *)
12226
 
  echo "$as_me:$LINENO: result: no" >&5
12227
 
echo "${ECHO_T}no" >&6
12228
 
    ;;
12229
 
  esac
12230
 
fi
12231
 
 
12232
 
if test "x$enable_dlopen" != xyes; then
12233
 
  enable_dlopen=unknown
12234
 
  enable_dlopen_self=unknown
12235
 
  enable_dlopen_self_static=unknown
12236
 
else
12237
 
  lt_cv_dlopen=no
12238
 
  lt_cv_dlopen_libs=
12239
 
 
12240
 
  case $host_os in
12241
 
  beos*)
12242
 
    lt_cv_dlopen="load_add_on"
12243
 
    lt_cv_dlopen_libs=
12244
 
    lt_cv_dlopen_self=yes
12245
 
    ;;
12246
 
 
12247
 
  mingw* | pw32*)
12248
 
    lt_cv_dlopen="LoadLibrary"
12249
 
    lt_cv_dlopen_libs=
12250
 
   ;;
12251
 
 
12252
 
  cygwin*)
12253
 
    lt_cv_dlopen="dlopen"
12254
 
    lt_cv_dlopen_libs=
12255
 
   ;;
12256
 
 
12257
 
  darwin*)
12258
 
  # if libdl is installed we need to link against it
12259
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12260
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12261
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12262
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12263
 
else
12264
 
  ac_check_lib_save_LIBS=$LIBS
12265
 
LIBS="-ldl  $LIBS"
12266
 
cat >conftest.$ac_ext <<_ACEOF
12267
 
/* confdefs.h.  */
12268
 
_ACEOF
12269
 
cat confdefs.h >>conftest.$ac_ext
12270
 
cat >>conftest.$ac_ext <<_ACEOF
12271
 
/* end confdefs.h.  */
12272
 
 
12273
 
/* Override any gcc2 internal prototype to avoid an error.  */
12274
 
#ifdef __cplusplus
12275
 
extern "C"
12276
 
#endif
12277
 
/* We use char because int might match the return type of a gcc2
12278
 
   builtin and then its argument prototype would still apply.  */
12279
 
char dlopen ();
12280
 
int
12281
 
main ()
12282
 
{
12283
 
dlopen ();
12284
 
  ;
12285
 
  return 0;
12286
 
}
12287
 
_ACEOF
12288
 
rm -f conftest.$ac_objext conftest$ac_exeext
12289
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290
 
  (eval $ac_link) 2>conftest.er1
12291
 
  ac_status=$?
12292
 
  grep -v '^ *+' conftest.er1 >conftest.err
12293
 
  rm -f conftest.er1
12294
 
  cat conftest.err >&5
12295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296
 
  (exit $ac_status); } &&
12297
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299
 
  (eval $ac_try) 2>&5
12300
 
  ac_status=$?
12301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302
 
  (exit $ac_status); }; } &&
12303
 
         { ac_try='test -s conftest$ac_exeext'
12304
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305
 
  (eval $ac_try) 2>&5
12306
 
  ac_status=$?
12307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308
 
  (exit $ac_status); }; }; then
12309
 
  ac_cv_lib_dl_dlopen=yes
12310
 
else
12311
 
  echo "$as_me: failed program was:" >&5
12312
 
sed 's/^/| /' conftest.$ac_ext >&5
12313
 
 
12314
 
ac_cv_lib_dl_dlopen=no
12315
 
fi
12316
 
rm -f conftest.err conftest.$ac_objext \
12317
 
      conftest$ac_exeext conftest.$ac_ext
12318
 
LIBS=$ac_check_lib_save_LIBS
12319
 
fi
12320
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12321
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12322
 
if test $ac_cv_lib_dl_dlopen = yes; then
12323
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12324
 
else
12325
 
  
12326
 
    lt_cv_dlopen="dyld"
12327
 
    lt_cv_dlopen_libs=
12328
 
    lt_cv_dlopen_self=yes
12329
 
    
12330
 
fi
12331
 
 
12332
 
   ;;
12333
 
 
12334
 
  *)
12335
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12336
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12337
 
if test "${ac_cv_func_shl_load+set}" = set; then
12338
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12339
 
else
12340
 
  cat >conftest.$ac_ext <<_ACEOF
12341
 
/* confdefs.h.  */
12342
 
_ACEOF
12343
 
cat confdefs.h >>conftest.$ac_ext
12344
 
cat >>conftest.$ac_ext <<_ACEOF
12345
 
/* end confdefs.h.  */
12346
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12347
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12348
 
#define shl_load innocuous_shl_load
12349
 
 
12350
 
/* System header to define __stub macros and hopefully few prototypes,
12351
 
    which can conflict with char shl_load (); below.
12352
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12353
 
    <limits.h> exists even on freestanding compilers.  */
12354
 
 
12355
 
#ifdef __STDC__
12356
 
# include <limits.h>
12357
 
#else
12358
 
# include <assert.h>
12359
 
#endif
12360
 
 
12361
 
#undef shl_load
12362
 
 
12363
 
/* Override any gcc2 internal prototype to avoid an error.  */
12364
 
#ifdef __cplusplus
12365
 
extern "C"
12366
 
{
12367
 
#endif
12368
 
/* We use char because int might match the return type of a gcc2
12369
 
   builtin and then its argument prototype would still apply.  */
12370
 
char shl_load ();
12371
 
/* The GNU C library defines this for functions which it implements
12372
 
    to always fail with ENOSYS.  Some functions are actually named
12373
 
    something starting with __ and the normal name is an alias.  */
12374
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12375
 
choke me
12376
 
#else
12377
 
char (*f) () = shl_load;
12378
 
#endif
12379
 
#ifdef __cplusplus
12380
 
}
12381
 
#endif
12382
 
 
12383
 
int
12384
 
main ()
12385
 
{
12386
 
return f != shl_load;
12387
 
  ;
12388
 
  return 0;
12389
 
}
12390
 
_ACEOF
12391
 
rm -f conftest.$ac_objext conftest$ac_exeext
12392
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12393
 
  (eval $ac_link) 2>conftest.er1
12394
 
  ac_status=$?
12395
 
  grep -v '^ *+' conftest.er1 >conftest.err
12396
 
  rm -f conftest.er1
12397
 
  cat conftest.err >&5
12398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399
 
  (exit $ac_status); } &&
12400
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402
 
  (eval $ac_try) 2>&5
12403
 
  ac_status=$?
12404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405
 
  (exit $ac_status); }; } &&
12406
 
         { ac_try='test -s conftest$ac_exeext'
12407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408
 
  (eval $ac_try) 2>&5
12409
 
  ac_status=$?
12410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411
 
  (exit $ac_status); }; }; then
12412
 
  ac_cv_func_shl_load=yes
12413
 
else
12414
 
  echo "$as_me: failed program was:" >&5
12415
 
sed 's/^/| /' conftest.$ac_ext >&5
12416
 
 
12417
 
ac_cv_func_shl_load=no
12418
 
fi
12419
 
rm -f conftest.err conftest.$ac_objext \
12420
 
      conftest$ac_exeext conftest.$ac_ext
12421
 
fi
12422
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12423
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12424
 
if test $ac_cv_func_shl_load = yes; then
12425
 
  lt_cv_dlopen="shl_load"
12426
 
else
12427
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12428
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12429
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12430
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12431
 
else
12432
 
  ac_check_lib_save_LIBS=$LIBS
12433
 
LIBS="-ldld  $LIBS"
12434
 
cat >conftest.$ac_ext <<_ACEOF
12435
 
/* confdefs.h.  */
12436
 
_ACEOF
12437
 
cat confdefs.h >>conftest.$ac_ext
12438
 
cat >>conftest.$ac_ext <<_ACEOF
12439
 
/* end confdefs.h.  */
12440
 
 
12441
 
/* Override any gcc2 internal prototype to avoid an error.  */
12442
 
#ifdef __cplusplus
12443
 
extern "C"
12444
 
#endif
12445
 
/* We use char because int might match the return type of a gcc2
12446
 
   builtin and then its argument prototype would still apply.  */
12447
 
char shl_load ();
12448
 
int
12449
 
main ()
12450
 
{
12451
 
shl_load ();
12452
 
  ;
12453
 
  return 0;
12454
 
}
12455
 
_ACEOF
12456
 
rm -f conftest.$ac_objext conftest$ac_exeext
12457
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458
 
  (eval $ac_link) 2>conftest.er1
12459
 
  ac_status=$?
12460
 
  grep -v '^ *+' conftest.er1 >conftest.err
12461
 
  rm -f conftest.er1
12462
 
  cat conftest.err >&5
12463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464
 
  (exit $ac_status); } &&
12465
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12466
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467
 
  (eval $ac_try) 2>&5
12468
 
  ac_status=$?
12469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470
 
  (exit $ac_status); }; } &&
12471
 
         { ac_try='test -s conftest$ac_exeext'
12472
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473
 
  (eval $ac_try) 2>&5
12474
 
  ac_status=$?
12475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476
 
  (exit $ac_status); }; }; then
12477
 
  ac_cv_lib_dld_shl_load=yes
12478
 
else
12479
 
  echo "$as_me: failed program was:" >&5
12480
 
sed 's/^/| /' conftest.$ac_ext >&5
12481
 
 
12482
 
ac_cv_lib_dld_shl_load=no
12483
 
fi
12484
 
rm -f conftest.err conftest.$ac_objext \
12485
 
      conftest$ac_exeext conftest.$ac_ext
12486
 
LIBS=$ac_check_lib_save_LIBS
12487
 
fi
12488
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12489
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12490
 
if test $ac_cv_lib_dld_shl_load = yes; then
12491
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12492
 
else
12493
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12494
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12495
 
if test "${ac_cv_func_dlopen+set}" = set; then
12496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12497
 
else
12498
 
  cat >conftest.$ac_ext <<_ACEOF
12499
 
/* confdefs.h.  */
12500
 
_ACEOF
12501
 
cat confdefs.h >>conftest.$ac_ext
12502
 
cat >>conftest.$ac_ext <<_ACEOF
12503
 
/* end confdefs.h.  */
12504
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12505
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12506
 
#define dlopen innocuous_dlopen
12507
 
 
12508
 
/* System header to define __stub macros and hopefully few prototypes,
12509
 
    which can conflict with char dlopen (); below.
12510
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12511
 
    <limits.h> exists even on freestanding compilers.  */
12512
 
 
12513
 
#ifdef __STDC__
12514
 
# include <limits.h>
12515
 
#else
12516
 
# include <assert.h>
12517
 
#endif
12518
 
 
12519
 
#undef dlopen
12520
 
 
12521
 
/* Override any gcc2 internal prototype to avoid an error.  */
12522
 
#ifdef __cplusplus
12523
 
extern "C"
12524
 
{
12525
 
#endif
12526
 
/* We use char because int might match the return type of a gcc2
12527
 
   builtin and then its argument prototype would still apply.  */
12528
 
char dlopen ();
12529
 
/* The GNU C library defines this for functions which it implements
12530
 
    to always fail with ENOSYS.  Some functions are actually named
12531
 
    something starting with __ and the normal name is an alias.  */
12532
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12533
 
choke me
12534
 
#else
12535
 
char (*f) () = dlopen;
12536
 
#endif
12537
 
#ifdef __cplusplus
12538
 
}
12539
 
#endif
12540
 
 
12541
 
int
12542
 
main ()
12543
 
{
12544
 
return f != dlopen;
12545
 
  ;
12546
 
  return 0;
12547
 
}
12548
 
_ACEOF
12549
 
rm -f conftest.$ac_objext conftest$ac_exeext
12550
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12551
 
  (eval $ac_link) 2>conftest.er1
12552
 
  ac_status=$?
12553
 
  grep -v '^ *+' conftest.er1 >conftest.err
12554
 
  rm -f conftest.er1
12555
 
  cat conftest.err >&5
12556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557
 
  (exit $ac_status); } &&
12558
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12559
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12560
 
  (eval $ac_try) 2>&5
12561
 
  ac_status=$?
12562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563
 
  (exit $ac_status); }; } &&
12564
 
         { ac_try='test -s conftest$ac_exeext'
12565
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566
 
  (eval $ac_try) 2>&5
12567
 
  ac_status=$?
12568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569
 
  (exit $ac_status); }; }; then
12570
 
  ac_cv_func_dlopen=yes
12571
 
else
12572
 
  echo "$as_me: failed program was:" >&5
12573
 
sed 's/^/| /' conftest.$ac_ext >&5
12574
 
 
12575
 
ac_cv_func_dlopen=no
12576
 
fi
12577
 
rm -f conftest.err conftest.$ac_objext \
12578
 
      conftest$ac_exeext conftest.$ac_ext
12579
 
fi
12580
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12581
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12582
 
if test $ac_cv_func_dlopen = yes; then
12583
 
  lt_cv_dlopen="dlopen"
12584
 
else
12585
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12586
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12587
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12589
 
else
12590
 
  ac_check_lib_save_LIBS=$LIBS
12591
 
LIBS="-ldl  $LIBS"
12592
 
cat >conftest.$ac_ext <<_ACEOF
12593
 
/* confdefs.h.  */
12594
 
_ACEOF
12595
 
cat confdefs.h >>conftest.$ac_ext
12596
 
cat >>conftest.$ac_ext <<_ACEOF
12597
 
/* end confdefs.h.  */
12598
 
 
12599
 
/* Override any gcc2 internal prototype to avoid an error.  */
12600
 
#ifdef __cplusplus
12601
 
extern "C"
12602
 
#endif
12603
 
/* We use char because int might match the return type of a gcc2
12604
 
   builtin and then its argument prototype would still apply.  */
12605
 
char dlopen ();
12606
 
int
12607
 
main ()
12608
 
{
12609
 
dlopen ();
12610
 
  ;
12611
 
  return 0;
12612
 
}
12613
 
_ACEOF
12614
 
rm -f conftest.$ac_objext conftest$ac_exeext
12615
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12616
 
  (eval $ac_link) 2>conftest.er1
12617
 
  ac_status=$?
12618
 
  grep -v '^ *+' conftest.er1 >conftest.err
12619
 
  rm -f conftest.er1
12620
 
  cat conftest.err >&5
12621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622
 
  (exit $ac_status); } &&
12623
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625
 
  (eval $ac_try) 2>&5
12626
 
  ac_status=$?
12627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628
 
  (exit $ac_status); }; } &&
12629
 
         { ac_try='test -s conftest$ac_exeext'
12630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631
 
  (eval $ac_try) 2>&5
12632
 
  ac_status=$?
12633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634
 
  (exit $ac_status); }; }; then
12635
 
  ac_cv_lib_dl_dlopen=yes
12636
 
else
12637
 
  echo "$as_me: failed program was:" >&5
12638
 
sed 's/^/| /' conftest.$ac_ext >&5
12639
 
 
12640
 
ac_cv_lib_dl_dlopen=no
12641
 
fi
12642
 
rm -f conftest.err conftest.$ac_objext \
12643
 
      conftest$ac_exeext conftest.$ac_ext
12644
 
LIBS=$ac_check_lib_save_LIBS
12645
 
fi
12646
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12647
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12648
 
if test $ac_cv_lib_dl_dlopen = yes; then
12649
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12650
 
else
12651
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12652
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12653
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12655
 
else
12656
 
  ac_check_lib_save_LIBS=$LIBS
12657
 
LIBS="-lsvld  $LIBS"
12658
 
cat >conftest.$ac_ext <<_ACEOF
12659
 
/* confdefs.h.  */
12660
 
_ACEOF
12661
 
cat confdefs.h >>conftest.$ac_ext
12662
 
cat >>conftest.$ac_ext <<_ACEOF
12663
 
/* end confdefs.h.  */
12664
 
 
12665
 
/* Override any gcc2 internal prototype to avoid an error.  */
12666
 
#ifdef __cplusplus
12667
 
extern "C"
12668
 
#endif
12669
 
/* We use char because int might match the return type of a gcc2
12670
 
   builtin and then its argument prototype would still apply.  */
12671
 
char dlopen ();
12672
 
int
12673
 
main ()
12674
 
{
12675
 
dlopen ();
12676
 
  ;
12677
 
  return 0;
12678
 
}
12679
 
_ACEOF
12680
 
rm -f conftest.$ac_objext conftest$ac_exeext
12681
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12682
 
  (eval $ac_link) 2>conftest.er1
12683
 
  ac_status=$?
12684
 
  grep -v '^ *+' conftest.er1 >conftest.err
12685
 
  rm -f conftest.er1
12686
 
  cat conftest.err >&5
12687
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688
 
  (exit $ac_status); } &&
12689
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691
 
  (eval $ac_try) 2>&5
12692
 
  ac_status=$?
12693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694
 
  (exit $ac_status); }; } &&
12695
 
         { ac_try='test -s conftest$ac_exeext'
12696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697
 
  (eval $ac_try) 2>&5
12698
 
  ac_status=$?
12699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700
 
  (exit $ac_status); }; }; then
12701
 
  ac_cv_lib_svld_dlopen=yes
12702
 
else
12703
 
  echo "$as_me: failed program was:" >&5
12704
 
sed 's/^/| /' conftest.$ac_ext >&5
12705
 
 
12706
 
ac_cv_lib_svld_dlopen=no
12707
 
fi
12708
 
rm -f conftest.err conftest.$ac_objext \
12709
 
      conftest$ac_exeext conftest.$ac_ext
12710
 
LIBS=$ac_check_lib_save_LIBS
12711
 
fi
12712
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12713
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12714
 
if test $ac_cv_lib_svld_dlopen = yes; then
12715
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12716
 
else
12717
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12718
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12719
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12720
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12721
 
else
12722
 
  ac_check_lib_save_LIBS=$LIBS
12723
 
LIBS="-ldld  $LIBS"
12724
 
cat >conftest.$ac_ext <<_ACEOF
12725
 
/* confdefs.h.  */
12726
 
_ACEOF
12727
 
cat confdefs.h >>conftest.$ac_ext
12728
 
cat >>conftest.$ac_ext <<_ACEOF
12729
 
/* end confdefs.h.  */
12730
 
 
12731
 
/* Override any gcc2 internal prototype to avoid an error.  */
12732
 
#ifdef __cplusplus
12733
 
extern "C"
12734
 
#endif
12735
 
/* We use char because int might match the return type of a gcc2
12736
 
   builtin and then its argument prototype would still apply.  */
12737
 
char dld_link ();
12738
 
int
12739
 
main ()
12740
 
{
12741
 
dld_link ();
12742
 
  ;
12743
 
  return 0;
12744
 
}
12745
 
_ACEOF
12746
 
rm -f conftest.$ac_objext conftest$ac_exeext
12747
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12748
 
  (eval $ac_link) 2>conftest.er1
12749
 
  ac_status=$?
12750
 
  grep -v '^ *+' conftest.er1 >conftest.err
12751
 
  rm -f conftest.er1
12752
 
  cat conftest.err >&5
12753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754
 
  (exit $ac_status); } &&
12755
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12756
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757
 
  (eval $ac_try) 2>&5
12758
 
  ac_status=$?
12759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760
 
  (exit $ac_status); }; } &&
12761
 
         { ac_try='test -s conftest$ac_exeext'
12762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763
 
  (eval $ac_try) 2>&5
12764
 
  ac_status=$?
12765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766
 
  (exit $ac_status); }; }; then
12767
 
  ac_cv_lib_dld_dld_link=yes
12768
 
else
12769
 
  echo "$as_me: failed program was:" >&5
12770
 
sed 's/^/| /' conftest.$ac_ext >&5
12771
 
 
12772
 
ac_cv_lib_dld_dld_link=no
12773
 
fi
12774
 
rm -f conftest.err conftest.$ac_objext \
12775
 
      conftest$ac_exeext conftest.$ac_ext
12776
 
LIBS=$ac_check_lib_save_LIBS
12777
 
fi
12778
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12779
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12780
 
if test $ac_cv_lib_dld_dld_link = yes; then
12781
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12782
 
fi
12783
 
 
12784
 
              
12785
 
fi
12786
 
 
12787
 
            
12788
 
fi
12789
 
 
12790
 
          
12791
 
fi
12792
 
 
12793
 
        
12794
 
fi
12795
 
 
12796
 
      
12797
 
fi
12798
 
 
12799
 
    ;;
12800
 
  esac
12801
 
 
12802
 
  if test "x$lt_cv_dlopen" != xno; then
12803
 
    enable_dlopen=yes
12804
 
  else
12805
 
    enable_dlopen=no
12806
 
  fi
12807
 
 
12808
 
  case $lt_cv_dlopen in
12809
 
  dlopen)
12810
 
    save_CPPFLAGS="$CPPFLAGS"
12811
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12812
 
 
12813
 
    save_LDFLAGS="$LDFLAGS"
12814
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12815
 
 
12816
 
    save_LIBS="$LIBS"
12817
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12818
 
 
12819
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12820
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12821
 
if test "${lt_cv_dlopen_self+set}" = set; then
12822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12823
 
else
12824
 
          if test "$cross_compiling" = yes; then :
12825
 
  lt_cv_dlopen_self=cross
12826
 
else
12827
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12828
 
  lt_status=$lt_dlunknown
12829
 
  cat > conftest.$ac_ext <<EOF
12830
 
#line __oline__ "configure"
12831
 
#include "confdefs.h"
12832
 
 
12833
 
#if HAVE_DLFCN_H
12834
 
#include <dlfcn.h>
12835
 
#endif
12836
 
 
12837
 
#include <stdio.h>
12838
 
 
12839
 
#ifdef RTLD_GLOBAL
12840
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12841
 
#else
12842
 
#  ifdef DL_GLOBAL
12843
 
#    define LT_DLGLOBAL         DL_GLOBAL
12844
 
#  else
12845
 
#    define LT_DLGLOBAL         0
12846
 
#  endif
12847
 
#endif
12848
 
 
12849
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12850
 
   find out it does not work in some platform. */
12851
 
#ifndef LT_DLLAZY_OR_NOW
12852
 
#  ifdef RTLD_LAZY
12853
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12854
 
#  else
12855
 
#    ifdef DL_LAZY
12856
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12857
 
#    else
12858
 
#      ifdef RTLD_NOW
12859
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12860
 
#      else
12861
 
#        ifdef DL_NOW
12862
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12863
 
#        else
12864
 
#          define LT_DLLAZY_OR_NOW      0
12865
 
#        endif
12866
 
#      endif
12867
 
#    endif
12868
 
#  endif
12869
 
#endif
12870
 
 
12871
 
#ifdef __cplusplus
12872
 
extern "C" void exit (int);
12873
 
#endif
12874
 
 
12875
 
void fnord() { int i=42;}
12876
 
int main ()
12877
 
{
12878
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12879
 
  int status = $lt_dlunknown;
12880
 
 
12881
 
  if (self)
12882
 
    {
12883
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12884
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12885
 
      /* dlclose (self); */
12886
 
    }
12887
 
 
12888
 
    exit (status);
12889
 
}
12890
 
EOF
12891
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12892
 
  (eval $ac_link) 2>&5
12893
 
  ac_status=$?
12894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12896
 
    (./conftest; exit; ) >&5 2>/dev/null
12897
 
    lt_status=$?
12898
 
    case x$lt_status in
12899
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12900
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12901
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12902
 
    esac
12903
 
  else :
12904
 
    # compilation failed
12905
 
    lt_cv_dlopen_self=no
12906
 
  fi
12907
 
fi
12908
 
rm -fr conftest*
12909
 
 
12910
 
    
12911
 
fi
12912
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12913
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12914
 
 
12915
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12916
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12917
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12918
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12919
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12921
 
else
12922
 
          if test "$cross_compiling" = yes; then :
12923
 
  lt_cv_dlopen_self_static=cross
12924
 
else
12925
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12926
 
  lt_status=$lt_dlunknown
12927
 
  cat > conftest.$ac_ext <<EOF
12928
 
#line __oline__ "configure"
12929
 
#include "confdefs.h"
12930
 
 
12931
 
#if HAVE_DLFCN_H
12932
 
#include <dlfcn.h>
12933
 
#endif
12934
 
 
12935
 
#include <stdio.h>
12936
 
 
12937
 
#ifdef RTLD_GLOBAL
12938
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12939
 
#else
12940
 
#  ifdef DL_GLOBAL
12941
 
#    define LT_DLGLOBAL         DL_GLOBAL
12942
 
#  else
12943
 
#    define LT_DLGLOBAL         0
12944
 
#  endif
12945
 
#endif
12946
 
 
12947
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12948
 
   find out it does not work in some platform. */
12949
 
#ifndef LT_DLLAZY_OR_NOW
12950
 
#  ifdef RTLD_LAZY
12951
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12952
 
#  else
12953
 
#    ifdef DL_LAZY
12954
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12955
 
#    else
12956
 
#      ifdef RTLD_NOW
12957
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12958
 
#      else
12959
 
#        ifdef DL_NOW
12960
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12961
 
#        else
12962
 
#          define LT_DLLAZY_OR_NOW      0
12963
 
#        endif
12964
 
#      endif
12965
 
#    endif
12966
 
#  endif
12967
 
#endif
12968
 
 
12969
 
#ifdef __cplusplus
12970
 
extern "C" void exit (int);
12971
 
#endif
12972
 
 
12973
 
void fnord() { int i=42;}
12974
 
int main ()
12975
 
{
12976
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12977
 
  int status = $lt_dlunknown;
12978
 
 
12979
 
  if (self)
12980
 
    {
12981
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12982
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12983
 
      /* dlclose (self); */
12984
 
    }
12985
 
 
12986
 
    exit (status);
12987
 
}
12988
 
EOF
12989
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12990
 
  (eval $ac_link) 2>&5
12991
 
  ac_status=$?
12992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12994
 
    (./conftest; exit; ) >&5 2>/dev/null
12995
 
    lt_status=$?
12996
 
    case x$lt_status in
12997
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12998
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12999
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13000
 
    esac
13001
 
  else :
13002
 
    # compilation failed
13003
 
    lt_cv_dlopen_self_static=no
13004
 
  fi
13005
 
fi
13006
 
rm -fr conftest*
13007
 
 
13008
 
      
13009
 
fi
13010
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13011
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13012
 
    fi
13013
 
 
13014
 
    CPPFLAGS="$save_CPPFLAGS"
13015
 
    LDFLAGS="$save_LDFLAGS"
13016
 
    LIBS="$save_LIBS"
13017
 
    ;;
13018
 
  esac
13019
 
 
13020
 
  case $lt_cv_dlopen_self in
13021
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13022
 
  *) enable_dlopen_self=unknown ;;
13023
 
  esac
13024
 
 
13025
 
  case $lt_cv_dlopen_self_static in
13026
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13027
 
  *) enable_dlopen_self_static=unknown ;;
13028
 
  esac
13029
 
fi
13030
 
 
13031
13314
 
13032
13315
# The else clause should only fire when bootstrapping the
13033
13316
# libtool distribution, otherwise you forgot to ship ltmain.sh
13042
13325
  # Now quote all the things that may contain metacharacters while being
13043
13326
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13044
13327
  # variables and quote the copies for generation of the libtool script.
13045
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13328
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13046
13329
    SED SHELL STRIP \
13047
13330
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13048
13331
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13084
13367
    module_cmds_CXX \
13085
13368
    module_expsym_cmds_CXX \
13086
13369
    lt_cv_prog_compiler_c_o_CXX \
 
13370
    fix_srcfile_path_CXX \
13087
13371
    exclude_expsyms_CXX \
13088
13372
    include_expsyms_CXX; do
13089
13373
 
13160
13444
# A C compiler.
13161
13445
LTCC=$lt_LTCC
13162
13446
 
 
13447
# LTCC compiler flags.
 
13448
LTCFLAGS=$lt_LTCFLAGS
 
13449
 
13163
13450
# A language-specific compiler.
13164
13451
CC=$lt_compiler_CXX
13165
13452
 
13401
13688
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13402
13689
 
13403
13690
# Fix the shell variable \$srcfile for the compiler.
13404
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13691
fix_srcfile_path=$lt_fix_srcfile_path
13405
13692
 
13406
13693
# Set to yes if exported symbols are required.
13407
13694
always_export_symbols=$always_export_symbols_CXX
13492
13779
objext_F77=$objext
13493
13780
 
13494
13781
# Code to be used in simple compile tests
13495
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
13782
lt_simple_compile_test_code="\
 
13783
      subroutine t
 
13784
      return
 
13785
      end
 
13786
"
13496
13787
 
13497
13788
# Code to be used in simple link tests
13498
 
lt_simple_link_test_code="      program t\n      end\n"
 
13789
lt_simple_link_test_code="\
 
13790
      program t
 
13791
      end
 
13792
"
13499
13793
 
13500
13794
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13501
13795
 
13502
13796
# If no C compiler was specified, use CC.
13503
13797
LTCC=${LTCC-"$CC"}
13504
13798
 
 
13799
# If no C compiler flags were specified, use CFLAGS.
 
13800
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
13801
 
13505
13802
# Allow CC to be a program name with arguments.
13506
13803
compiler=$CC
13507
13804
 
13508
13805
 
13509
13806
# save warnings/boilerplate of simple test code
13510
13807
ac_outfile=conftest.$ac_objext
13511
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13512
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13808
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13809
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13513
13810
_lt_compiler_boilerplate=`cat conftest.err`
13514
13811
$rm conftest*
13515
13812
 
13516
13813
ac_outfile=conftest.$ac_objext
13517
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13518
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13814
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
13815
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13519
13816
_lt_linker_boilerplate=`cat conftest.err`
13520
13817
$rm conftest*
13521
13818
 
13536
13833
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13537
13834
 
13538
13835
 
13539
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13540
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13541
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13542
 
echo "${ECHO_T}$can_build_shared" >&6
 
13836
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13837
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13838
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13839
echo "${ECHO_T}$can_build_shared" >&6; }
13543
13840
 
13544
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13545
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13841
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13842
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13546
13843
test "$can_build_shared" = "no" && enable_shared=no
13547
13844
 
13548
13845
# On AIX, shared libraries and static libraries use the same namespace, and
13561
13858
  fi
13562
13859
  ;;
13563
13860
esac
13564
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13565
 
echo "${ECHO_T}$enable_shared" >&6
 
13861
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13862
echo "${ECHO_T}$enable_shared" >&6; }
13566
13863
 
13567
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13568
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13864
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13865
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13569
13866
# Make sure either enable_shared or enable_static is yes.
13570
13867
test "$enable_shared" = yes || enable_static=yes
13571
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13572
 
echo "${ECHO_T}$enable_static" >&6
13573
 
 
13574
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
13868
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13869
echo "${ECHO_T}$enable_static" >&6; }
13575
13870
 
13576
13871
GCC_F77="$G77"
13577
13872
LD_F77="$LD"
13580
13875
lt_prog_compiler_pic_F77=
13581
13876
lt_prog_compiler_static_F77=
13582
13877
 
13583
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13584
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
13878
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13879
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13585
13880
 
13586
13881
  if test "$GCC" = yes; then
13587
13882
    lt_prog_compiler_wl_F77='-Wl,'
13603
13898
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13604
13899
      ;;
13605
13900
 
13606
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13901
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13607
13902
      # PIC is the default for these OSes.
13608
13903
      ;;
13609
13904
 
13610
 
    mingw* | pw32* | os2*)
 
13905
    mingw* | cygwin* | pw32* | os2*)
13611
13906
      # This hack is so that the source file can tell whether it is being
13612
13907
      # built for inclusion in a dll (and should export symbols for example).
 
13908
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13909
      # (--disable-auto-import) libraries
13613
13910
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13614
13911
      ;;
13615
13912
 
13619
13916
      lt_prog_compiler_pic_F77='-fno-common'
13620
13917
      ;;
13621
13918
 
 
13919
    interix[3-9]*)
 
13920
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13921
      # Instead, we relocate shared libraries at runtime.
 
13922
      ;;
 
13923
 
13622
13924
    msdosdjgpp*)
13623
13925
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13624
13926
      # on systems that don't support them.
13672
13974
       esac
13673
13975
       ;;
13674
13976
 
13675
 
    mingw* | pw32* | os2*)
 
13977
    mingw* | cygwin* | pw32* | os2*)
13676
13978
      # This hack is so that the source file can tell whether it is being
13677
13979
      # built for inclusion in a dll (and should export symbols for example).
13678
13980
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13705
14007
      lt_prog_compiler_static_F77='-Bstatic'
13706
14008
      ;;
13707
14009
 
13708
 
    linux*)
 
14010
    linux* | k*bsd*-gnu)
13709
14011
      case $cc_basename in
13710
14012
      icc* | ecc*)
13711
14013
        lt_prog_compiler_wl_F77='-Wl,'
13724
14026
        # All Alpha code is PIC.
13725
14027
        lt_prog_compiler_static_F77='-non_shared'
13726
14028
        ;;
 
14029
      *)
 
14030
        case `$CC -V 2>&1 | sed 5q` in
 
14031
        *Sun\ C*)
 
14032
          # Sun C 5.9
 
14033
          lt_prog_compiler_pic_F77='-KPIC'
 
14034
          lt_prog_compiler_static_F77='-Bstatic'
 
14035
          lt_prog_compiler_wl_F77='-Wl,'
 
14036
          ;;
 
14037
        *Sun\ F*)
 
14038
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14039
          lt_prog_compiler_pic_F77='-KPIC'
 
14040
          lt_prog_compiler_static_F77='-Bstatic'
 
14041
          lt_prog_compiler_wl_F77=''
 
14042
          ;;
 
14043
        esac
 
14044
        ;;
13727
14045
      esac
13728
14046
      ;;
13729
14047
 
13733
14051
      lt_prog_compiler_static_F77='-non_shared'
13734
14052
      ;;
13735
14053
 
13736
 
    sco3.2v5*)
13737
 
      lt_prog_compiler_pic_F77='-Kpic'
13738
 
      lt_prog_compiler_static_F77='-dn'
 
14054
    rdos*)
 
14055
      lt_prog_compiler_static_F77='-non_shared'
13739
14056
      ;;
13740
14057
 
13741
14058
    solaris*)
13755
14072
      lt_prog_compiler_static_F77='-Bstatic'
13756
14073
      ;;
13757
14074
 
13758
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14075
    sysv4 | sysv4.2uw2* | sysv4.3*)
13759
14076
      lt_prog_compiler_wl_F77='-Wl,'
13760
14077
      lt_prog_compiler_pic_F77='-KPIC'
13761
14078
      lt_prog_compiler_static_F77='-Bstatic'
13768
14085
      fi
13769
14086
      ;;
13770
14087
 
 
14088
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14089
      lt_prog_compiler_wl_F77='-Wl,'
 
14090
      lt_prog_compiler_pic_F77='-KPIC'
 
14091
      lt_prog_compiler_static_F77='-Bstatic'
 
14092
      ;;
 
14093
 
13771
14094
    unicos*)
13772
14095
      lt_prog_compiler_wl_F77='-Wl,'
13773
14096
      lt_prog_compiler_can_build_shared_F77=no
13784
14107
    esac
13785
14108
  fi
13786
14109
 
13787
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13788
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14110
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14111
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13789
14112
 
13790
14113
#
13791
14114
# Check to make sure the PIC flag actually works.
13792
14115
#
13793
14116
if test -n "$lt_prog_compiler_pic_F77"; then
13794
14117
  
13795
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13796
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14118
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14119
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13797
14120
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13798
14121
  echo $ECHO_N "(cached) $ECHO_C" >&6
13799
14122
else
13800
14123
  lt_prog_compiler_pic_works_F77=no
13801
14124
  ac_outfile=conftest.$ac_objext
13802
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14125
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13803
14126
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13804
14127
   # Insert the option either (1) after the last *FLAGS variable, or
13805
14128
   # (2) before a word containing "conftest.", or (3) at the end.
13818
14141
   if (exit $ac_status) && test -s "$ac_outfile"; then
13819
14142
     # The compiler can only warn and ignore the option if not recognized
13820
14143
     # So say no if there are warnings other than the usual output.
13821
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13822
 
     $SED '/^$/d' conftest.err >conftest.er2
13823
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
14144
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14145
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14146
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13824
14147
       lt_prog_compiler_pic_works_F77=yes
13825
14148
     fi
13826
14149
   fi
13827
14150
   $rm conftest*
13828
14151
 
13829
14152
fi
13830
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13831
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14153
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14154
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13832
14155
 
13833
14156
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13834
14157
    case $lt_prog_compiler_pic_F77 in
13851
14174
    ;;
13852
14175
esac
13853
14176
 
13854
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13855
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14177
#
 
14178
# Check to make sure the static flag actually works.
 
14179
#
 
14180
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14181
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14182
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14183
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14184
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14185
else
 
14186
  lt_prog_compiler_static_works_F77=no
 
14187
   save_LDFLAGS="$LDFLAGS"
 
14188
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14189
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
14190
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14191
     # The linker can only warn and ignore the option if not recognized
 
14192
     # So say no if there are warnings
 
14193
     if test -s conftest.err; then
 
14194
       # Append any errors to the config.log.
 
14195
       cat conftest.err 1>&5
 
14196
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14197
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14198
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14199
         lt_prog_compiler_static_works_F77=yes
 
14200
       fi
 
14201
     else
 
14202
       lt_prog_compiler_static_works_F77=yes
 
14203
     fi
 
14204
   fi
 
14205
   $rm conftest*
 
14206
   LDFLAGS="$save_LDFLAGS"
 
14207
 
 
14208
fi
 
14209
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14210
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14211
 
 
14212
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14213
    :
 
14214
else
 
14215
    lt_prog_compiler_static_F77=
 
14216
fi
 
14217
 
 
14218
 
 
14219
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14220
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13856
14221
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13857
14222
  echo $ECHO_N "(cached) $ECHO_C" >&6
13858
14223
else
13861
14226
   mkdir conftest
13862
14227
   cd conftest
13863
14228
   mkdir out
13864
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14229
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13865
14230
 
13866
14231
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13867
14232
   # Insert the option either (1) after the last *FLAGS variable, or
13881
14246
   then
13882
14247
     # The compiler can only warn and ignore the option if not recognized
13883
14248
     # So say no if there are warnings
13884
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13885
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
13886
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14249
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14250
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14251
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13887
14252
       lt_cv_prog_compiler_c_o_F77=yes
13888
14253
     fi
13889
14254
   fi
13898
14263
   $rm conftest*
13899
14264
 
13900
14265
fi
13901
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13902
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14266
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14267
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13903
14268
 
13904
14269
 
13905
14270
hard_links="nottested"
13906
14271
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13907
14272
  # do not overwrite the value of need_locks provided by the user
13908
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13909
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14273
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14274
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13910
14275
  hard_links=yes
13911
14276
  $rm conftest*
13912
14277
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13913
14278
  touch conftest.a
13914
14279
  ln conftest.a conftest.b 2>&5 || hard_links=no
13915
14280
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13916
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13917
 
echo "${ECHO_T}$hard_links" >&6
 
14281
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14282
echo "${ECHO_T}$hard_links" >&6; }
13918
14283
  if test "$hard_links" = no; then
13919
14284
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13920
14285
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13924
14289
  need_locks=no
13925
14290
fi
13926
14291
 
13927
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13928
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14292
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14293
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13929
14294
 
13930
14295
  runpath_var=
13931
14296
  allow_undefined_flag_F77=
13983
14348
      with_gnu_ld=no
13984
14349
    fi
13985
14350
    ;;
 
14351
  interix*)
 
14352
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14353
    with_gnu_ld=yes
 
14354
    ;;
13986
14355
  openbsd*)
13987
14356
    with_gnu_ld=no
13988
14357
    ;;
14064
14433
      allow_undefined_flag_F77=unsupported
14065
14434
      always_export_symbols_F77=no
14066
14435
      enable_shared_with_static_runtimes_F77=yes
14067
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14436
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14068
14437
 
14069
14438
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14070
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
14439
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14071
14440
        # If the export-symbols file already is a .def file (1st line
14072
14441
        # is EXPORTS), use it as is; otherwise, prepend...
14073
14442
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14076
14445
          echo EXPORTS > $output_objdir/$soname.def;
14077
14446
          cat $export_symbols >> $output_objdir/$soname.def;
14078
14447
        fi~
14079
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
14448
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14080
14449
      else
14081
14450
        ld_shlibs_F77=no
14082
14451
      fi
14083
14452
      ;;
14084
14453
 
14085
 
    linux*)
 
14454
    interix[3-9]*)
 
14455
      hardcode_direct_F77=no
 
14456
      hardcode_shlibpath_var_F77=no
 
14457
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14458
      export_dynamic_flag_spec_F77='${wl}-E'
 
14459
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14460
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14461
      # default) and relocated if they conflict, which is a slow very memory
 
14462
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
14463
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14464
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14465
      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'
 
14466
      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'
 
14467
      ;;
 
14468
 
 
14469
    gnu* | linux* | k*bsd*-gnu)
14086
14470
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14087
14471
        tmp_addflag=
14088
14472
        case $cc_basename,$host_cpu in
14100
14484
        ifc* | ifort*)                  # Intel Fortran compiler
14101
14485
          tmp_addflag=' -nofor_main' ;;
14102
14486
        esac
14103
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14487
        case `$CC -V 2>&1 | sed 5q` in
 
14488
        *Sun\ C*)                       # Sun C 5.9
 
14489
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14490
          tmp_sharedflag='-G' ;;
 
14491
        *Sun\ F*)                       # Sun Fortran 8.3
 
14492
          tmp_sharedflag='-G' ;;
 
14493
        *)
 
14494
          tmp_sharedflag='-shared' ;;
 
14495
        esac
 
14496
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14104
14497
 
14105
14498
        if test $supports_anon_versioning = yes; then
14106
14499
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14107
14500
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14108
14501
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14109
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14502
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14110
14503
        fi
14111
14504
        link_all_deplibs_F77=no
14112
14505
      else
14114
14507
      fi
14115
14508
      ;;
14116
14509
 
14117
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14510
    netbsd* | netbsdelf*-gnu)
14118
14511
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14119
14512
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14120
14513
        wlarc=
14124
14517
      fi
14125
14518
      ;;
14126
14519
 
14127
 
    solaris* | sysv5*)
 
14520
    solaris*)
14128
14521
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14129
14522
        ld_shlibs_F77=no
14130
14523
        cat <<EOF 1>&2
14145
14538
      fi
14146
14539
      ;;
14147
14540
 
 
14541
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14542
      case `$LD -v 2>&1` in
 
14543
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14544
        ld_shlibs_F77=no
 
14545
        cat <<_LT_EOF 1>&2
 
14546
 
 
14547
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14548
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14549
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14550
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14551
*** your PATH or compiler configuration so that the native linker is
 
14552
*** used, and then restart.
 
14553
 
 
14554
_LT_EOF
 
14555
        ;;
 
14556
        *)
 
14557
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14558
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
14559
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
14560
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
14561
          else
 
14562
            ld_shlibs_F77=no
 
14563
          fi
 
14564
        ;;
 
14565
      esac
 
14566
      ;;
 
14567
 
14148
14568
    sunos4*)
14149
14569
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14150
14570
      wlarc=
14178
14598
      # Note: this linker hardcodes the directories in LIBPATH if there
14179
14599
      # are no directories specified by -L.
14180
14600
      hardcode_minus_L_F77=yes
14181
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
14601
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14182
14602
        # Neither direct hardcoding nor static linking is supported with a
14183
14603
        # broken collect2.
14184
14604
        hardcode_direct_F77=unsupported
14212
14632
            break
14213
14633
          fi
14214
14634
          done
 
14635
          ;;
14215
14636
        esac
14216
14637
 
14217
14638
        exp_sym_flag='-bexport'
14238
14659
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14239
14660
          then
14240
14661
          # We have reworked collect2
14241
 
          hardcode_direct_F77=yes
 
14662
          :
14242
14663
          else
14243
14664
          # We have old collect2
14244
14665
          hardcode_direct_F77=unsupported
14249
14670
          hardcode_libdir_flag_spec_F77='-L$libdir'
14250
14671
          hardcode_libdir_separator_F77=
14251
14672
          fi
 
14673
          ;;
14252
14674
        esac
14253
14675
        shared_flag='-shared'
14254
14676
        if test "$aix_use_runtimelinking" = yes; then
14261
14683
        # chokes on -Wl,-G. The following line is correct:
14262
14684
          shared_flag='-G'
14263
14685
        else
14264
 
        if test "$aix_use_runtimelinking" = yes; then
 
14686
          if test "$aix_use_runtimelinking" = yes; then
14265
14687
            shared_flag='${wl}-G'
14266
14688
          else
14267
14689
            shared_flag='${wl}-bM:SRE'
14268
 
        fi
 
14690
          fi
14269
14691
        fi
14270
14692
      fi
14271
14693
 
14283
14705
      end
14284
14706
_ACEOF
14285
14707
rm -f conftest.$ac_objext conftest$ac_exeext
14286
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14287
 
  (eval $ac_link) 2>conftest.er1
 
14708
if { (ac_try="$ac_link"
 
14709
case "(($ac_try" in
 
14710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14711
  *) ac_try_echo=$ac_try;;
 
14712
esac
 
14713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14714
  (eval "$ac_link") 2>conftest.er1
14288
14715
  ac_status=$?
14289
14716
  grep -v '^ *+' conftest.er1 >conftest.err
14290
14717
  rm -f conftest.er1
14291
14718
  cat conftest.err >&5
14292
14719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293
 
  (exit $ac_status); } &&
14294
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296
 
  (eval $ac_try) 2>&5
14297
 
  ac_status=$?
14298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299
 
  (exit $ac_status); }; } &&
14300
 
         { ac_try='test -s conftest$ac_exeext'
14301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302
 
  (eval $ac_try) 2>&5
14303
 
  ac_status=$?
14304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305
 
  (exit $ac_status); }; }; then
 
14720
  (exit $ac_status); } && {
 
14721
         test -z "$ac_f77_werror_flag" ||
 
14722
         test ! -s conftest.err
 
14723
       } && test -s conftest$ac_exeext &&
 
14724
       $as_test_x conftest$ac_exeext; then
14306
14725
  
14307
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14308
 
}'`
 
14726
lt_aix_libpath_sed='
 
14727
    /Import File Strings/,/^$/ {
 
14728
        /^0/ {
 
14729
            s/^0  *\(.*\)$/\1/
 
14730
            p
 
14731
        }
 
14732
    }'
 
14733
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14309
14734
# Check for a 64-bit object if we didn't find anything.
14310
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14311
 
}'`; fi
 
14735
if test -z "$aix_libpath"; then
 
14736
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14737
fi
14312
14738
else
14313
14739
  echo "$as_me: failed program was:" >&5
14314
14740
sed 's/^/| /' conftest.$ac_ext >&5
14315
14741
 
 
14742
        
14316
14743
fi
14317
 
rm -f conftest.err conftest.$ac_objext \
 
14744
 
 
14745
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14318
14746
      conftest$ac_exeext conftest.$ac_ext
14319
14747
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14320
14748
 
14321
14749
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14322
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
14750
        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 echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14323
14751
       else
14324
14752
        if test "$host_cpu" = ia64; then
14325
14753
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14326
14754
          allow_undefined_flag_F77="-z nodefs"
14327
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
14755
          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"
14328
14756
        else
14329
14757
         # Determine the default libpath from the value encoded in an empty executable.
14330
14758
         cat >conftest.$ac_ext <<_ACEOF
14333
14761
      end
14334
14762
_ACEOF
14335
14763
rm -f conftest.$ac_objext conftest$ac_exeext
14336
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14337
 
  (eval $ac_link) 2>conftest.er1
 
14764
if { (ac_try="$ac_link"
 
14765
case "(($ac_try" in
 
14766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14767
  *) ac_try_echo=$ac_try;;
 
14768
esac
 
14769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14770
  (eval "$ac_link") 2>conftest.er1
14338
14771
  ac_status=$?
14339
14772
  grep -v '^ *+' conftest.er1 >conftest.err
14340
14773
  rm -f conftest.er1
14341
14774
  cat conftest.err >&5
14342
14775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343
 
  (exit $ac_status); } &&
14344
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14345
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346
 
  (eval $ac_try) 2>&5
14347
 
  ac_status=$?
14348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349
 
  (exit $ac_status); }; } &&
14350
 
         { ac_try='test -s conftest$ac_exeext'
14351
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352
 
  (eval $ac_try) 2>&5
14353
 
  ac_status=$?
14354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355
 
  (exit $ac_status); }; }; then
 
14776
  (exit $ac_status); } && {
 
14777
         test -z "$ac_f77_werror_flag" ||
 
14778
         test ! -s conftest.err
 
14779
       } && test -s conftest$ac_exeext &&
 
14780
       $as_test_x conftest$ac_exeext; then
14356
14781
  
14357
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14358
 
}'`
 
14782
lt_aix_libpath_sed='
 
14783
    /Import File Strings/,/^$/ {
 
14784
        /^0/ {
 
14785
            s/^0  *\(.*\)$/\1/
 
14786
            p
 
14787
        }
 
14788
    }'
 
14789
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14359
14790
# Check for a 64-bit object if we didn't find anything.
14360
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14361
 
}'`; fi
 
14791
if test -z "$aix_libpath"; then
 
14792
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14793
fi
14362
14794
else
14363
14795
  echo "$as_me: failed program was:" >&5
14364
14796
sed 's/^/| /' conftest.$ac_ext >&5
14365
14797
 
 
14798
        
14366
14799
fi
14367
 
rm -f conftest.err conftest.$ac_objext \
 
14800
 
 
14801
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14368
14802
      conftest$ac_exeext conftest.$ac_ext
14369
14803
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14370
14804
 
14373
14807
          # -berok will link without error, but may produce a broken library.
14374
14808
          no_undefined_flag_F77=' ${wl}-bernotok'
14375
14809
          allow_undefined_flag_F77=' ${wl}-berok'
14376
 
          # -bexpall does not export symbols beginning with underscore (_)
14377
 
          always_export_symbols_F77=yes
14378
14810
          # Exported symbols can be pulled into shared objects from archives
14379
 
          whole_archive_flag_spec_F77=' '
 
14811
          whole_archive_flag_spec_F77='$convenience'
14380
14812
          archive_cmds_need_lc_F77=yes
14381
14813
          # This is similar to how AIX traditionally builds its shared libraries.
14382
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
14814
          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'
14383
14815
        fi
14384
14816
      fi
14385
14817
      ;;
14412
14844
      # The linker will automatically build a .lib file if we build a DLL.
14413
14845
      old_archive_From_new_cmds_F77='true'
14414
14846
      # FIXME: Should let the user specify the lib program.
14415
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
14847
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14416
14848
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14417
14849
      enable_shared_with_static_runtimes_F77=yes
14418
14850
      ;;
14454
14886
      case $cc_basename in
14455
14887
        xlc*)
14456
14888
         output_verbose_link_cmd='echo'
14457
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
14889
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14458
14890
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14459
14891
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14460
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14892
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14461
14893
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14462
14894
          ;;
14463
14895
       *)
14497
14929
      ;;
14498
14930
 
14499
14931
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14500
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
14932
    freebsd* | dragonfly*)
14501
14933
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14502
14934
      hardcode_libdir_flag_spec_F77='-R$libdir'
14503
14935
      hardcode_direct_F77=yes
14520
14952
      export_dynamic_flag_spec_F77='${wl}-E'
14521
14953
      ;;
14522
14954
 
14523
 
    hpux10* | hpux11*)
 
14955
    hpux10*)
 
14956
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
14957
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
14958
      else
 
14959
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14960
      fi
 
14961
      if test "$with_gnu_ld" = no; then
 
14962
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14963
        hardcode_libdir_separator_F77=:
 
14964
 
 
14965
        hardcode_direct_F77=yes
 
14966
        export_dynamic_flag_spec_F77='${wl}-E'
 
14967
 
 
14968
        # hardcode_minus_L: Not really in the search PATH,
 
14969
        # but as the default location of the library.
 
14970
        hardcode_minus_L_F77=yes
 
14971
      fi
 
14972
      ;;
 
14973
 
 
14974
    hpux11*)
14524
14975
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14525
14976
        case $host_cpu in
14526
 
        hppa*64*|ia64*)
 
14977
        hppa*64*)
14527
14978
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14528
14979
          ;;
 
14980
        ia64*)
 
14981
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
14982
          ;;
14529
14983
        *)
14530
14984
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14531
14985
          ;;
14532
14986
        esac
14533
14987
      else
14534
14988
        case $host_cpu in
14535
 
        hppa*64*|ia64*)
14536
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
14989
        hppa*64*)
 
14990
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14991
          ;;
 
14992
        ia64*)
 
14993
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14537
14994
          ;;
14538
14995
        *)
14539
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14996
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14540
14997
          ;;
14541
14998
        esac
14542
14999
      fi
14543
15000
      if test "$with_gnu_ld" = no; then
 
15001
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15002
        hardcode_libdir_separator_F77=:
 
15003
 
14544
15004
        case $host_cpu in
14545
 
        hppa*64*)
14546
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15005
        hppa*64*|ia64*)
14547
15006
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14548
 
          hardcode_libdir_separator_F77=:
14549
 
          hardcode_direct_F77=no
14550
 
          hardcode_shlibpath_var_F77=no
14551
 
          ;;
14552
 
        ia64*)
14553
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14554
 
          hardcode_direct_F77=no
14555
 
          hardcode_shlibpath_var_F77=no
14556
 
 
14557
 
          # hardcode_minus_L: Not really in the search PATH,
14558
 
          # but as the default location of the library.
14559
 
          hardcode_minus_L_F77=yes
 
15007
          hardcode_direct_F77=no
 
15008
          hardcode_shlibpath_var_F77=no
14560
15009
          ;;
14561
15010
        *)
14562
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14563
 
          hardcode_libdir_separator_F77=:
14564
15011
          hardcode_direct_F77=yes
14565
15012
          export_dynamic_flag_spec_F77='${wl}-E'
14566
15013
 
14584
15031
      link_all_deplibs_F77=yes
14585
15032
      ;;
14586
15033
 
14587
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15034
    netbsd* | netbsdelf*-gnu)
14588
15035
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14589
15036
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14590
15037
      else
14604
15051
      ;;
14605
15052
 
14606
15053
    openbsd*)
14607
 
      hardcode_direct_F77=yes
14608
 
      hardcode_shlibpath_var_F77=no
14609
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14611
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14612
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14613
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15054
      if test -f /usr/libexec/ld.so; then
 
15055
        hardcode_direct_F77=yes
 
15056
        hardcode_shlibpath_var_F77=no
 
15057
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15058
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15059
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15060
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15061
          export_dynamic_flag_spec_F77='${wl}-E'
 
15062
        else
 
15063
          case $host_os in
 
15064
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15065
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15066
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15067
             ;;
 
15068
           *)
 
15069
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15070
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15071
             ;;
 
15072
          esac
 
15073
        fi
14614
15074
      else
14615
 
       case $host_os in
14616
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14617
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14618
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14619
 
           ;;
14620
 
         *)
14621
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14622
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14623
 
           ;;
14624
 
       esac
 
15075
        ld_shlibs_F77=no
14625
15076
      fi
14626
15077
      ;;
14627
15078
 
14662
15113
      hardcode_libdir_separator_F77=:
14663
15114
      ;;
14664
15115
 
14665
 
    sco3.2v5*)
14666
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14667
 
      hardcode_shlibpath_var_F77=no
14668
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14669
 
      runpath_var=LD_RUN_PATH
14670
 
      hardcode_runpath_var=yes
14671
 
      ;;
14672
 
 
14673
15116
    solaris*)
14674
15117
      no_undefined_flag_F77=' -z text'
14675
15118
      if test "$GCC" = yes; then
14688
15131
      case $host_os in
14689
15132
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14690
15133
      *)
14691
 
        # The compiler driver will combine linker options so we
14692
 
        # cannot just pass the convience library names through
14693
 
        # without $wl, iff we do not link with $LD.
14694
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15134
        # The compiler driver will combine and reorder linker options,
 
15135
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15136
        # but is careful enough not to reorder.
14695
15137
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14696
 
        case $wlarc in
14697
 
        '')
14698
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14699
 
        *)
14700
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14701
 
        esac ;;
 
15138
        if test "$GCC" = yes; then
 
15139
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15140
        else
 
15141
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15142
        fi
 
15143
        ;;
14702
15144
      esac
14703
15145
      link_all_deplibs_F77=yes
14704
15146
      ;;
14755
15197
      fi
14756
15198
      ;;
14757
15199
 
14758
 
    sysv4.2uw2*)
14759
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14760
 
      hardcode_direct_F77=yes
14761
 
      hardcode_minus_L_F77=no
14762
 
      hardcode_shlibpath_var_F77=no
14763
 
      hardcode_runpath_var=yes
14764
 
      runpath_var=LD_RUN_PATH
14765
 
      ;;
14766
 
 
14767
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14768
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14769
 
      if test "$GCC" = yes; then
14770
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14771
 
      else
14772
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14773
 
      fi
14774
 
      runpath_var='LD_RUN_PATH'
14775
 
      hardcode_shlibpath_var_F77=no
14776
 
      ;;
14777
 
 
14778
 
    sysv5*)
14779
 
      no_undefined_flag_F77=' -z text'
14780
 
      # $CC -shared without GNU ld will not create a library from C++
14781
 
      # object files and a static libstdc++, better avoid it by now
14782
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14783
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14784
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14785
 
      hardcode_libdir_flag_spec_F77=
14786
 
      hardcode_shlibpath_var_F77=no
14787
 
      runpath_var='LD_RUN_PATH'
 
15200
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15201
      no_undefined_flag_F77='${wl}-z,text'
 
15202
      archive_cmds_need_lc_F77=no
 
15203
      hardcode_shlibpath_var_F77=no
 
15204
      runpath_var='LD_RUN_PATH'
 
15205
 
 
15206
      if test "$GCC" = yes; then
 
15207
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15208
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15209
      else
 
15210
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15211
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15212
      fi
 
15213
      ;;
 
15214
 
 
15215
    sysv5* | sco3.2v5* | sco5v6*)
 
15216
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15217
      # link with -lc, and that would cause any symbols used from libc to
 
15218
      # always be unresolved, which means just about no library would
 
15219
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15220
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15221
      # as -z defs.
 
15222
      no_undefined_flag_F77='${wl}-z,text'
 
15223
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15224
      archive_cmds_need_lc_F77=no
 
15225
      hardcode_shlibpath_var_F77=no
 
15226
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15227
      hardcode_libdir_separator_F77=':'
 
15228
      link_all_deplibs_F77=yes
 
15229
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15230
      runpath_var='LD_RUN_PATH'
 
15231
 
 
15232
      if test "$GCC" = yes; then
 
15233
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15234
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15235
      else
 
15236
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15237
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15238
      fi
14788
15239
      ;;
14789
15240
 
14790
15241
    uts4*)
14799
15250
    esac
14800
15251
  fi
14801
15252
 
14802
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14803
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15253
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15254
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14804
15255
test "$ld_shlibs_F77" = no && can_build_shared=no
14805
15256
 
14806
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14807
 
if test "$GCC" = yes; then
14808
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14809
 
fi
14810
 
 
14811
15257
#
14812
15258
# Do we need to explicitly link libc?
14813
15259
#
14825
15271
      # Test whether the compiler implicitly links with -lc since on some
14826
15272
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14827
15273
      # to ld, don't add -lc before -lgcc.
14828
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14829
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15274
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15275
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14830
15276
      $rm conftest*
14831
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15277
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14832
15278
 
14833
15279
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834
15280
  (eval $ac_compile) 2>&5
14840
15286
        libobjs=conftest.$ac_objext
14841
15287
        deplibs=
14842
15288
        wl=$lt_prog_compiler_wl_F77
 
15289
        pic_flag=$lt_prog_compiler_pic_F77
14843
15290
        compiler_flags=-v
14844
15291
        linker_flags=-v
14845
15292
        verstring=
14862
15309
        cat conftest.err 1>&5
14863
15310
      fi
14864
15311
      $rm conftest*
14865
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14866
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15312
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15313
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14867
15314
      ;;
14868
15315
    esac
14869
15316
  fi
14870
15317
  ;;
14871
15318
esac
14872
15319
 
14873
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14874
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15320
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15321
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14875
15322
library_names_spec=
14876
15323
libname_spec='lib$name'
14877
15324
soname_spec=
14885
15332
version_type=none
14886
15333
dynamic_linker="$host_os ld.so"
14887
15334
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14888
 
if test "$GCC" = yes; then
14889
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14890
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14891
 
    # if the path contains ";" then we assume it to be the separator
14892
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14893
 
    # assumed that no part of a normal pathname contains ";" but that should
14894
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14895
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14896
 
  else
14897
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14898
 
  fi
14899
 
else
14900
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14901
 
fi
 
15335
 
14902
15336
need_lib_prefix=unknown
14903
15337
hardcode_into_libs=no
14904
15338
 
15055
15489
  shlibpath_overrides_runpath=yes
15056
15490
  shlibpath_var=DYLD_LIBRARY_PATH
15057
15491
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15058
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15059
 
  if test "$GCC" = yes; then
15060
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15061
 
  else
15062
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15063
 
  fi
 
15492
   
15064
15493
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15065
15494
  ;;
15066
15495
 
15077
15506
  dynamic_linker=no
15078
15507
  ;;
15079
15508
 
15080
 
kfreebsd*-gnu)
15081
 
  version_type=linux
15082
 
  need_lib_prefix=no
15083
 
  need_version=no
15084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15085
 
  soname_spec='${libname}${release}${shared_ext}$major'
15086
 
  shlibpath_var=LD_LIBRARY_PATH
15087
 
  shlibpath_overrides_runpath=no
15088
 
  hardcode_into_libs=yes
15089
 
  dynamic_linker='GNU ld.so'
15090
 
  ;;
15091
 
 
15092
15509
freebsd* | dragonfly*)
15093
15510
  # DragonFly does not have aout.  When/if they implement a new
15094
15511
  # versioning mechanism, adjust this.
15121
15538
    shlibpath_overrides_runpath=yes
15122
15539
    hardcode_into_libs=yes
15123
15540
    ;;
15124
 
  *) # from 3.2 on
 
15541
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15542
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15125
15543
    shlibpath_overrides_runpath=no
15126
15544
    hardcode_into_libs=yes
15127
15545
    ;;
 
15546
  *) # from 4.6 on, and DragonFly
 
15547
    shlibpath_overrides_runpath=yes
 
15548
    hardcode_into_libs=yes
 
15549
    ;;
15128
15550
  esac
15129
15551
  ;;
15130
15552
 
15184
15606
  postinstall_cmds='chmod 555 $lib'
15185
15607
  ;;
15186
15608
 
 
15609
interix[3-9]*)
 
15610
  version_type=linux
 
15611
  need_lib_prefix=no
 
15612
  need_version=no
 
15613
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15614
  soname_spec='${libname}${release}${shared_ext}$major'
 
15615
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15616
  shlibpath_var=LD_LIBRARY_PATH
 
15617
  shlibpath_overrides_runpath=no
 
15618
  hardcode_into_libs=yes
 
15619
  ;;
 
15620
 
15187
15621
irix5* | irix6* | nonstopux*)
15188
15622
  case $host_os in
15189
15623
    nonstopux*) version_type=nonstopux ;;
15227
15661
  ;;
15228
15662
 
15229
15663
# This must be Linux ELF.
15230
 
linux*)
 
15664
linux* | k*bsd*-gnu)
15231
15665
  version_type=linux
15232
15666
  need_lib_prefix=no
15233
15667
  need_version=no
15243
15677
 
15244
15678
  # Append ld.so.conf contents to the search path
15245
15679
  if test -f /etc/ld.so.conf; then
15246
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15680
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15247
15681
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15248
15682
  fi
15249
15683
 
15268
15702
  dynamic_linker='NetBSD ld.elf_so'
15269
15703
  ;;
15270
15704
 
15271
 
knetbsd*-gnu)
15272
 
  version_type=linux
15273
 
  need_lib_prefix=no
15274
 
  need_version=no
15275
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15276
 
  soname_spec='${libname}${release}${shared_ext}$major'
15277
 
  shlibpath_var=LD_LIBRARY_PATH
15278
 
  shlibpath_overrides_runpath=no
15279
 
  hardcode_into_libs=yes
15280
 
  dynamic_linker='GNU ld.so'
15281
 
  ;;
15282
 
 
15283
15705
netbsd*)
15284
15706
  version_type=sunos
15285
15707
  need_lib_prefix=no
15317
15739
 
15318
15740
openbsd*)
15319
15741
  version_type=sunos
 
15742
  sys_lib_dlsearch_path_spec="/usr/lib"
15320
15743
  need_lib_prefix=no
15321
15744
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15322
15745
  case $host_os in
15360
15783
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15361
15784
  ;;
15362
15785
 
15363
 
sco3.2v5*)
15364
 
  version_type=osf
15365
 
  soname_spec='${libname}${release}${shared_ext}$major'
15366
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367
 
  shlibpath_var=LD_LIBRARY_PATH
 
15786
rdos*)
 
15787
  dynamic_linker=no
15368
15788
  ;;
15369
15789
 
15370
15790
solaris*)
15392
15812
  need_version=yes
15393
15813
  ;;
15394
15814
 
15395
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
15815
sysv4 | sysv4.3*)
15396
15816
  version_type=linux
15397
15817
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398
15818
  soname_spec='${libname}${release}${shared_ext}$major'
15425
15845
  fi
15426
15846
  ;;
15427
15847
 
 
15848
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15849
  version_type=freebsd-elf
 
15850
  need_lib_prefix=no
 
15851
  need_version=no
 
15852
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15853
  soname_spec='${libname}${release}${shared_ext}$major'
 
15854
  shlibpath_var=LD_LIBRARY_PATH
 
15855
  hardcode_into_libs=yes
 
15856
  if test "$with_gnu_ld" = yes; then
 
15857
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15858
    shlibpath_overrides_runpath=no
 
15859
  else
 
15860
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15861
    shlibpath_overrides_runpath=yes
 
15862
    case $host_os in
 
15863
      sco3.2v5*)
 
15864
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15865
        ;;
 
15866
    esac
 
15867
  fi
 
15868
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15869
  ;;
 
15870
 
15428
15871
uts4*)
15429
15872
  version_type=linux
15430
15873
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15436
15879
  dynamic_linker=no
15437
15880
  ;;
15438
15881
esac
15439
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15440
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15882
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15883
echo "${ECHO_T}$dynamic_linker" >&6; }
15441
15884
test "$dynamic_linker" = no && can_build_shared=no
15442
15885
 
15443
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15444
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15886
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15887
if test "$GCC" = yes; then
 
15888
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15889
fi
 
15890
 
 
15891
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15892
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15445
15893
hardcode_action_F77=
15446
15894
if test -n "$hardcode_libdir_flag_spec_F77" || \
15447
15895
   test -n "$runpath_var_F77" || \
15465
15913
  # directories.
15466
15914
  hardcode_action_F77=unsupported
15467
15915
fi
15468
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15469
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
15916
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15917
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15470
15918
 
15471
15919
if test "$hardcode_action_F77" = relink; then
15472
15920
  # Fast installation is not supported
15477
15925
  enable_fast_install=needless
15478
15926
fi
15479
15927
 
15480
 
striplib=
15481
 
old_striplib=
15482
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15483
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15484
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15485
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15486
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15487
 
  echo "$as_me:$LINENO: result: yes" >&5
15488
 
echo "${ECHO_T}yes" >&6
15489
 
else
15490
 
# FIXME - insert some real tests, host_os isn't really good enough
15491
 
  case $host_os in
15492
 
   darwin*)
15493
 
       if test -n "$STRIP" ; then
15494
 
         striplib="$STRIP -x"
15495
 
         echo "$as_me:$LINENO: result: yes" >&5
15496
 
echo "${ECHO_T}yes" >&6
15497
 
       else
15498
 
  echo "$as_me:$LINENO: result: no" >&5
15499
 
echo "${ECHO_T}no" >&6
15500
 
fi
15501
 
       ;;
15502
 
   *)
15503
 
  echo "$as_me:$LINENO: result: no" >&5
15504
 
echo "${ECHO_T}no" >&6
15505
 
    ;;
15506
 
  esac
15507
 
fi
15508
 
 
15509
 
 
15510
15928
 
15511
15929
# The else clause should only fire when bootstrapping the
15512
15930
# libtool distribution, otherwise you forgot to ship ltmain.sh
15521
15939
  # Now quote all the things that may contain metacharacters while being
15522
15940
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15523
15941
  # variables and quote the copies for generation of the libtool script.
15524
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
15942
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15525
15943
    SED SHELL STRIP \
15526
15944
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15527
15945
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15563
15981
    module_cmds_F77 \
15564
15982
    module_expsym_cmds_F77 \
15565
15983
    lt_cv_prog_compiler_c_o_F77 \
 
15984
    fix_srcfile_path_F77 \
15566
15985
    exclude_expsyms_F77 \
15567
15986
    include_expsyms_F77; do
15568
15987
 
15639
16058
# A C compiler.
15640
16059
LTCC=$lt_LTCC
15641
16060
 
 
16061
# LTCC compiler flags.
 
16062
LTCFLAGS=$lt_LTCFLAGS
 
16063
 
15642
16064
# A language-specific compiler.
15643
16065
CC=$lt_compiler_F77
15644
16066
 
15880
16302
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15881
16303
 
15882
16304
# Fix the shell variable \$srcfile for the compiler.
15883
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16305
fix_srcfile_path=$lt_fix_srcfile_path
15884
16306
 
15885
16307
# Set to yes if exported symbols are required.
15886
16308
always_export_symbols=$always_export_symbols_F77
15930
16352
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15931
16353
          
15932
16354
 
15933
 
 
15934
16355
# Source file extension for Java test sources.
15935
16356
ac_ext=java
15936
16357
 
15939
16360
objext_GCJ=$objext
15940
16361
 
15941
16362
# Code to be used in simple compile tests
15942
 
lt_simple_compile_test_code="class foo {}\n"
 
16363
lt_simple_compile_test_code="class foo {}"
15943
16364
 
15944
16365
# Code to be used in simple link tests
15945
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16366
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15946
16367
 
15947
16368
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15948
16369
 
15949
16370
# If no C compiler was specified, use CC.
15950
16371
LTCC=${LTCC-"$CC"}
15951
16372
 
 
16373
# If no C compiler flags were specified, use CFLAGS.
 
16374
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16375
 
15952
16376
# Allow CC to be a program name with arguments.
15953
16377
compiler=$CC
15954
16378
 
15955
16379
 
15956
16380
# save warnings/boilerplate of simple test code
15957
16381
ac_outfile=conftest.$ac_objext
15958
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15959
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16382
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16383
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15960
16384
_lt_compiler_boilerplate=`cat conftest.err`
15961
16385
$rm conftest*
15962
16386
 
15963
16387
ac_outfile=conftest.$ac_objext
15964
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15965
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16388
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
16389
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15966
16390
_lt_linker_boilerplate=`cat conftest.err`
15967
16391
$rm conftest*
15968
16392
 
15995
16419
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15996
16420
 
15997
16421
  
15998
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15999
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16422
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16423
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16000
16424
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16001
16425
  echo $ECHO_N "(cached) $ECHO_C" >&6
16002
16426
else
16003
16427
  lt_cv_prog_compiler_rtti_exceptions=no
16004
16428
  ac_outfile=conftest.$ac_objext
16005
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16429
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16006
16430
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16007
16431
   # Insert the option either (1) after the last *FLAGS variable, or
16008
16432
   # (2) before a word containing "conftest.", or (3) at the end.
16021
16445
   if (exit $ac_status) && test -s "$ac_outfile"; then
16022
16446
     # The compiler can only warn and ignore the option if not recognized
16023
16447
     # So say no if there are warnings other than the usual output.
16024
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16025
 
     $SED '/^$/d' conftest.err >conftest.er2
16026
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16448
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16449
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16450
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16027
16451
       lt_cv_prog_compiler_rtti_exceptions=yes
16028
16452
     fi
16029
16453
   fi
16030
16454
   $rm conftest*
16031
16455
 
16032
16456
fi
16033
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16034
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16457
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16458
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16035
16459
 
16036
16460
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16037
16461
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16045
16469
lt_prog_compiler_pic_GCJ=
16046
16470
lt_prog_compiler_static_GCJ=
16047
16471
 
16048
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16049
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16472
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16473
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16050
16474
 
16051
16475
  if test "$GCC" = yes; then
16052
16476
    lt_prog_compiler_wl_GCJ='-Wl,'
16068
16492
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16069
16493
      ;;
16070
16494
 
16071
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16495
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16072
16496
      # PIC is the default for these OSes.
16073
16497
      ;;
16074
16498
 
16075
 
    mingw* | pw32* | os2*)
 
16499
    mingw* | cygwin* | pw32* | os2*)
16076
16500
      # This hack is so that the source file can tell whether it is being
16077
16501
      # built for inclusion in a dll (and should export symbols for example).
 
16502
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16503
      # (--disable-auto-import) libraries
16078
16504
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16079
16505
      ;;
16080
16506
 
16084
16510
      lt_prog_compiler_pic_GCJ='-fno-common'
16085
16511
      ;;
16086
16512
 
 
16513
    interix[3-9]*)
 
16514
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16515
      # Instead, we relocate shared libraries at runtime.
 
16516
      ;;
 
16517
 
16087
16518
    msdosdjgpp*)
16088
16519
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16089
16520
      # on systems that don't support them.
16137
16568
       esac
16138
16569
       ;;
16139
16570
 
16140
 
    mingw* | pw32* | os2*)
 
16571
    mingw* | cygwin* | pw32* | os2*)
16141
16572
      # This hack is so that the source file can tell whether it is being
16142
16573
      # built for inclusion in a dll (and should export symbols for example).
16143
16574
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16170
16601
      lt_prog_compiler_static_GCJ='-Bstatic'
16171
16602
      ;;
16172
16603
 
16173
 
    linux*)
 
16604
    linux* | k*bsd*-gnu)
16174
16605
      case $cc_basename in
16175
16606
      icc* | ecc*)
16176
16607
        lt_prog_compiler_wl_GCJ='-Wl,'
16189
16620
        # All Alpha code is PIC.
16190
16621
        lt_prog_compiler_static_GCJ='-non_shared'
16191
16622
        ;;
 
16623
      *)
 
16624
        case `$CC -V 2>&1 | sed 5q` in
 
16625
        *Sun\ C*)
 
16626
          # Sun C 5.9
 
16627
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16628
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16629
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16630
          ;;
 
16631
        *Sun\ F*)
 
16632
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16633
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16634
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16635
          lt_prog_compiler_wl_GCJ=''
 
16636
          ;;
 
16637
        esac
 
16638
        ;;
16192
16639
      esac
16193
16640
      ;;
16194
16641
 
16198
16645
      lt_prog_compiler_static_GCJ='-non_shared'
16199
16646
      ;;
16200
16647
 
16201
 
    sco3.2v5*)
16202
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16203
 
      lt_prog_compiler_static_GCJ='-dn'
 
16648
    rdos*)
 
16649
      lt_prog_compiler_static_GCJ='-non_shared'
16204
16650
      ;;
16205
16651
 
16206
16652
    solaris*)
16220
16666
      lt_prog_compiler_static_GCJ='-Bstatic'
16221
16667
      ;;
16222
16668
 
16223
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16669
    sysv4 | sysv4.2uw2* | sysv4.3*)
16224
16670
      lt_prog_compiler_wl_GCJ='-Wl,'
16225
16671
      lt_prog_compiler_pic_GCJ='-KPIC'
16226
16672
      lt_prog_compiler_static_GCJ='-Bstatic'
16233
16679
      fi
16234
16680
      ;;
16235
16681
 
 
16682
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16683
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16684
      lt_prog_compiler_pic_GCJ='-KPIC'
 
16685
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16686
      ;;
 
16687
 
16236
16688
    unicos*)
16237
16689
      lt_prog_compiler_wl_GCJ='-Wl,'
16238
16690
      lt_prog_compiler_can_build_shared_GCJ=no
16249
16701
    esac
16250
16702
  fi
16251
16703
 
16252
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16253
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16704
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16705
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16254
16706
 
16255
16707
#
16256
16708
# Check to make sure the PIC flag actually works.
16257
16709
#
16258
16710
if test -n "$lt_prog_compiler_pic_GCJ"; then
16259
16711
  
16260
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16261
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16712
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16713
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16262
16714
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16263
16715
  echo $ECHO_N "(cached) $ECHO_C" >&6
16264
16716
else
16265
16717
  lt_prog_compiler_pic_works_GCJ=no
16266
16718
  ac_outfile=conftest.$ac_objext
16267
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16719
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16268
16720
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16269
16721
   # Insert the option either (1) after the last *FLAGS variable, or
16270
16722
   # (2) before a word containing "conftest.", or (3) at the end.
16283
16735
   if (exit $ac_status) && test -s "$ac_outfile"; then
16284
16736
     # The compiler can only warn and ignore the option if not recognized
16285
16737
     # So say no if there are warnings other than the usual output.
16286
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16287
 
     $SED '/^$/d' conftest.err >conftest.er2
16288
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16738
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16739
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16740
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16289
16741
       lt_prog_compiler_pic_works_GCJ=yes
16290
16742
     fi
16291
16743
   fi
16292
16744
   $rm conftest*
16293
16745
 
16294
16746
fi
16295
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16296
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16747
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16748
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16297
16749
 
16298
16750
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16299
16751
    case $lt_prog_compiler_pic_GCJ in
16316
16768
    ;;
16317
16769
esac
16318
16770
 
16319
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16320
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16771
#
 
16772
# Check to make sure the static flag actually works.
 
16773
#
 
16774
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
16775
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16776
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
16777
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
16778
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16779
else
 
16780
  lt_prog_compiler_static_works_GCJ=no
 
16781
   save_LDFLAGS="$LDFLAGS"
 
16782
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16783
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
16784
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16785
     # The linker can only warn and ignore the option if not recognized
 
16786
     # So say no if there are warnings
 
16787
     if test -s conftest.err; then
 
16788
       # Append any errors to the config.log.
 
16789
       cat conftest.err 1>&5
 
16790
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16791
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16792
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16793
         lt_prog_compiler_static_works_GCJ=yes
 
16794
       fi
 
16795
     else
 
16796
       lt_prog_compiler_static_works_GCJ=yes
 
16797
     fi
 
16798
   fi
 
16799
   $rm conftest*
 
16800
   LDFLAGS="$save_LDFLAGS"
 
16801
 
 
16802
fi
 
16803
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
16804
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
16805
 
 
16806
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
16807
    :
 
16808
else
 
16809
    lt_prog_compiler_static_GCJ=
 
16810
fi
 
16811
 
 
16812
 
 
16813
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16814
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16321
16815
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16322
16816
  echo $ECHO_N "(cached) $ECHO_C" >&6
16323
16817
else
16326
16820
   mkdir conftest
16327
16821
   cd conftest
16328
16822
   mkdir out
16329
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16823
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16330
16824
 
16331
16825
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16332
16826
   # Insert the option either (1) after the last *FLAGS variable, or
16346
16840
   then
16347
16841
     # The compiler can only warn and ignore the option if not recognized
16348
16842
     # So say no if there are warnings
16349
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16350
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
16351
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16843
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16844
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16845
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16352
16846
       lt_cv_prog_compiler_c_o_GCJ=yes
16353
16847
     fi
16354
16848
   fi
16363
16857
   $rm conftest*
16364
16858
 
16365
16859
fi
16366
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16367
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16860
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16861
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16368
16862
 
16369
16863
 
16370
16864
hard_links="nottested"
16371
16865
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16372
16866
  # do not overwrite the value of need_locks provided by the user
16373
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16374
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16867
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16868
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16375
16869
  hard_links=yes
16376
16870
  $rm conftest*
16377
16871
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16378
16872
  touch conftest.a
16379
16873
  ln conftest.a conftest.b 2>&5 || hard_links=no
16380
16874
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16381
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16382
 
echo "${ECHO_T}$hard_links" >&6
 
16875
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16876
echo "${ECHO_T}$hard_links" >&6; }
16383
16877
  if test "$hard_links" = no; then
16384
16878
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16385
16879
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16389
16883
  need_locks=no
16390
16884
fi
16391
16885
 
16392
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16393
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16886
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16887
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16394
16888
 
16395
16889
  runpath_var=
16396
16890
  allow_undefined_flag_GCJ=
16448
16942
      with_gnu_ld=no
16449
16943
    fi
16450
16944
    ;;
 
16945
  interix*)
 
16946
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
16947
    with_gnu_ld=yes
 
16948
    ;;
16451
16949
  openbsd*)
16452
16950
    with_gnu_ld=no
16453
16951
    ;;
16529
17027
      allow_undefined_flag_GCJ=unsupported
16530
17028
      always_export_symbols_GCJ=no
16531
17029
      enable_shared_with_static_runtimes_GCJ=yes
16532
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17030
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16533
17031
 
16534
17032
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16535
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17033
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16536
17034
        # If the export-symbols file already is a .def file (1st line
16537
17035
        # is EXPORTS), use it as is; otherwise, prepend...
16538
17036
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16541
17039
          echo EXPORTS > $output_objdir/$soname.def;
16542
17040
          cat $export_symbols >> $output_objdir/$soname.def;
16543
17041
        fi~
16544
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
17042
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16545
17043
      else
16546
17044
        ld_shlibs_GCJ=no
16547
17045
      fi
16548
17046
      ;;
16549
17047
 
16550
 
    linux*)
 
17048
    interix[3-9]*)
 
17049
      hardcode_direct_GCJ=no
 
17050
      hardcode_shlibpath_var_GCJ=no
 
17051
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17052
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17053
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17054
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17055
      # default) and relocated if they conflict, which is a slow very memory
 
17056
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17057
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17058
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17059
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
17060
      archive_expsym_cmds_GCJ='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'
 
17061
      ;;
 
17062
 
 
17063
    gnu* | linux* | k*bsd*-gnu)
16551
17064
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16552
17065
        tmp_addflag=
16553
17066
        case $cc_basename,$host_cpu in
16565
17078
        ifc* | ifort*)                  # Intel Fortran compiler
16566
17079
          tmp_addflag=' -nofor_main' ;;
16567
17080
        esac
16568
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17081
        case `$CC -V 2>&1 | sed 5q` in
 
17082
        *Sun\ C*)                       # Sun C 5.9
 
17083
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17084
          tmp_sharedflag='-G' ;;
 
17085
        *Sun\ F*)                       # Sun Fortran 8.3
 
17086
          tmp_sharedflag='-G' ;;
 
17087
        *)
 
17088
          tmp_sharedflag='-shared' ;;
 
17089
        esac
 
17090
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16569
17091
 
16570
17092
        if test $supports_anon_versioning = yes; then
16571
17093
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16572
17094
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16573
17095
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16574
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17096
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16575
17097
        fi
16576
17098
        link_all_deplibs_GCJ=no
16577
17099
      else
16579
17101
      fi
16580
17102
      ;;
16581
17103
 
16582
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17104
    netbsd* | netbsdelf*-gnu)
16583
17105
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16584
17106
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16585
17107
        wlarc=
16589
17111
      fi
16590
17112
      ;;
16591
17113
 
16592
 
    solaris* | sysv5*)
 
17114
    solaris*)
16593
17115
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16594
17116
        ld_shlibs_GCJ=no
16595
17117
        cat <<EOF 1>&2
16610
17132
      fi
16611
17133
      ;;
16612
17134
 
 
17135
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17136
      case `$LD -v 2>&1` in
 
17137
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17138
        ld_shlibs_GCJ=no
 
17139
        cat <<_LT_EOF 1>&2
 
17140
 
 
17141
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17142
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17143
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17144
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17145
*** your PATH or compiler configuration so that the native linker is
 
17146
*** used, and then restart.
 
17147
 
 
17148
_LT_EOF
 
17149
        ;;
 
17150
        *)
 
17151
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17152
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17153
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17154
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17155
          else
 
17156
            ld_shlibs_GCJ=no
 
17157
          fi
 
17158
        ;;
 
17159
      esac
 
17160
      ;;
 
17161
 
16613
17162
    sunos4*)
16614
17163
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16615
17164
      wlarc=
16643
17192
      # Note: this linker hardcodes the directories in LIBPATH if there
16644
17193
      # are no directories specified by -L.
16645
17194
      hardcode_minus_L_GCJ=yes
16646
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17195
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16647
17196
        # Neither direct hardcoding nor static linking is supported with a
16648
17197
        # broken collect2.
16649
17198
        hardcode_direct_GCJ=unsupported
16677
17226
            break
16678
17227
          fi
16679
17228
          done
 
17229
          ;;
16680
17230
        esac
16681
17231
 
16682
17232
        exp_sym_flag='-bexport'
16703
17253
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16704
17254
          then
16705
17255
          # We have reworked collect2
16706
 
          hardcode_direct_GCJ=yes
 
17256
          :
16707
17257
          else
16708
17258
          # We have old collect2
16709
17259
          hardcode_direct_GCJ=unsupported
16714
17264
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16715
17265
          hardcode_libdir_separator_GCJ=
16716
17266
          fi
 
17267
          ;;
16717
17268
        esac
16718
17269
        shared_flag='-shared'
16719
17270
        if test "$aix_use_runtimelinking" = yes; then
16726
17277
        # chokes on -Wl,-G. The following line is correct:
16727
17278
          shared_flag='-G'
16728
17279
        else
16729
 
        if test "$aix_use_runtimelinking" = yes; then
 
17280
          if test "$aix_use_runtimelinking" = yes; then
16730
17281
            shared_flag='${wl}-G'
16731
17282
          else
16732
17283
            shared_flag='${wl}-bM:SRE'
16733
 
        fi
 
17284
          fi
16734
17285
        fi
16735
17286
      fi
16736
17287
 
16758
17309
}
16759
17310
_ACEOF
16760
17311
rm -f conftest.$ac_objext conftest$ac_exeext
16761
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16762
 
  (eval $ac_link) 2>conftest.er1
 
17312
if { (ac_try="$ac_link"
 
17313
case "(($ac_try" in
 
17314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17315
  *) ac_try_echo=$ac_try;;
 
17316
esac
 
17317
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17318
  (eval "$ac_link") 2>conftest.er1
16763
17319
  ac_status=$?
16764
17320
  grep -v '^ *+' conftest.er1 >conftest.err
16765
17321
  rm -f conftest.er1
16766
17322
  cat conftest.err >&5
16767
17323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768
 
  (exit $ac_status); } &&
16769
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771
 
  (eval $ac_try) 2>&5
16772
 
  ac_status=$?
16773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774
 
  (exit $ac_status); }; } &&
16775
 
         { ac_try='test -s conftest$ac_exeext'
16776
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777
 
  (eval $ac_try) 2>&5
16778
 
  ac_status=$?
16779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780
 
  (exit $ac_status); }; }; then
 
17324
  (exit $ac_status); } && {
 
17325
         test -z "$ac_c_werror_flag" ||
 
17326
         test ! -s conftest.err
 
17327
       } && test -s conftest$ac_exeext &&
 
17328
       $as_test_x conftest$ac_exeext; then
16781
17329
  
16782
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16783
 
}'`
 
17330
lt_aix_libpath_sed='
 
17331
    /Import File Strings/,/^$/ {
 
17332
        /^0/ {
 
17333
            s/^0  *\(.*\)$/\1/
 
17334
            p
 
17335
        }
 
17336
    }'
 
17337
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16784
17338
# Check for a 64-bit object if we didn't find anything.
16785
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16786
 
}'`; fi
 
17339
if test -z "$aix_libpath"; then
 
17340
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17341
fi
16787
17342
else
16788
17343
  echo "$as_me: failed program was:" >&5
16789
17344
sed 's/^/| /' conftest.$ac_ext >&5
16790
17345
 
 
17346
        
16791
17347
fi
16792
 
rm -f conftest.err conftest.$ac_objext \
 
17348
 
 
17349
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16793
17350
      conftest$ac_exeext conftest.$ac_ext
16794
17351
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16795
17352
 
16796
17353
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16797
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17354
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16798
17355
       else
16799
17356
        if test "$host_cpu" = ia64; then
16800
17357
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16801
17358
          allow_undefined_flag_GCJ="-z nodefs"
16802
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17359
          archive_expsym_cmds_GCJ="\$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"
16803
17360
        else
16804
17361
         # Determine the default libpath from the value encoded in an empty executable.
16805
17362
         cat >conftest.$ac_ext <<_ACEOF
16818
17375
}
16819
17376
_ACEOF
16820
17377
rm -f conftest.$ac_objext conftest$ac_exeext
16821
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16822
 
  (eval $ac_link) 2>conftest.er1
 
17378
if { (ac_try="$ac_link"
 
17379
case "(($ac_try" in
 
17380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17381
  *) ac_try_echo=$ac_try;;
 
17382
esac
 
17383
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17384
  (eval "$ac_link") 2>conftest.er1
16823
17385
  ac_status=$?
16824
17386
  grep -v '^ *+' conftest.er1 >conftest.err
16825
17387
  rm -f conftest.er1
16826
17388
  cat conftest.err >&5
16827
17389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828
 
  (exit $ac_status); } &&
16829
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16830
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831
 
  (eval $ac_try) 2>&5
16832
 
  ac_status=$?
16833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834
 
  (exit $ac_status); }; } &&
16835
 
         { ac_try='test -s conftest$ac_exeext'
16836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837
 
  (eval $ac_try) 2>&5
16838
 
  ac_status=$?
16839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840
 
  (exit $ac_status); }; }; then
 
17390
  (exit $ac_status); } && {
 
17391
         test -z "$ac_c_werror_flag" ||
 
17392
         test ! -s conftest.err
 
17393
       } && test -s conftest$ac_exeext &&
 
17394
       $as_test_x conftest$ac_exeext; then
16841
17395
  
16842
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16843
 
}'`
 
17396
lt_aix_libpath_sed='
 
17397
    /Import File Strings/,/^$/ {
 
17398
        /^0/ {
 
17399
            s/^0  *\(.*\)$/\1/
 
17400
            p
 
17401
        }
 
17402
    }'
 
17403
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16844
17404
# Check for a 64-bit object if we didn't find anything.
16845
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16846
 
}'`; fi
 
17405
if test -z "$aix_libpath"; then
 
17406
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17407
fi
16847
17408
else
16848
17409
  echo "$as_me: failed program was:" >&5
16849
17410
sed 's/^/| /' conftest.$ac_ext >&5
16850
17411
 
 
17412
        
16851
17413
fi
16852
 
rm -f conftest.err conftest.$ac_objext \
 
17414
 
 
17415
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16853
17416
      conftest$ac_exeext conftest.$ac_ext
16854
17417
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16855
17418
 
16858
17421
          # -berok will link without error, but may produce a broken library.
16859
17422
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16860
17423
          allow_undefined_flag_GCJ=' ${wl}-berok'
16861
 
          # -bexpall does not export symbols beginning with underscore (_)
16862
 
          always_export_symbols_GCJ=yes
16863
17424
          # Exported symbols can be pulled into shared objects from archives
16864
 
          whole_archive_flag_spec_GCJ=' '
 
17425
          whole_archive_flag_spec_GCJ='$convenience'
16865
17426
          archive_cmds_need_lc_GCJ=yes
16866
17427
          # This is similar to how AIX traditionally builds its shared libraries.
16867
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
17428
          archive_expsym_cmds_GCJ="\$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'
16868
17429
        fi
16869
17430
      fi
16870
17431
      ;;
16897
17458
      # The linker will automatically build a .lib file if we build a DLL.
16898
17459
      old_archive_From_new_cmds_GCJ='true'
16899
17460
      # FIXME: Should let the user specify the lib program.
16900
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17461
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16901
17462
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16902
17463
      enable_shared_with_static_runtimes_GCJ=yes
16903
17464
      ;;
16939
17500
      case $cc_basename in
16940
17501
        xlc*)
16941
17502
         output_verbose_link_cmd='echo'
16942
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17503
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16943
17504
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16944
17505
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16945
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17506
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16946
17507
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16947
17508
          ;;
16948
17509
       *)
16982
17543
      ;;
16983
17544
 
16984
17545
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16985
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17546
    freebsd* | dragonfly*)
16986
17547
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16987
17548
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16988
17549
      hardcode_direct_GCJ=yes
17005
17566
      export_dynamic_flag_spec_GCJ='${wl}-E'
17006
17567
      ;;
17007
17568
 
17008
 
    hpux10* | hpux11*)
 
17569
    hpux10*)
 
17570
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17571
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17572
      else
 
17573
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17574
      fi
 
17575
      if test "$with_gnu_ld" = no; then
 
17576
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17577
        hardcode_libdir_separator_GCJ=:
 
17578
 
 
17579
        hardcode_direct_GCJ=yes
 
17580
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17581
 
 
17582
        # hardcode_minus_L: Not really in the search PATH,
 
17583
        # but as the default location of the library.
 
17584
        hardcode_minus_L_GCJ=yes
 
17585
      fi
 
17586
      ;;
 
17587
 
 
17588
    hpux11*)
17009
17589
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17010
17590
        case $host_cpu in
17011
 
        hppa*64*|ia64*)
 
17591
        hppa*64*)
17012
17592
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17013
17593
          ;;
 
17594
        ia64*)
 
17595
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17596
          ;;
17014
17597
        *)
17015
17598
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17016
17599
          ;;
17017
17600
        esac
17018
17601
      else
17019
17602
        case $host_cpu in
17020
 
        hppa*64*|ia64*)
17021
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17603
        hppa*64*)
 
17604
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17605
          ;;
 
17606
        ia64*)
 
17607
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17022
17608
          ;;
17023
17609
        *)
17024
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17610
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17025
17611
          ;;
17026
17612
        esac
17027
17613
      fi
17028
17614
      if test "$with_gnu_ld" = no; then
 
17615
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17616
        hardcode_libdir_separator_GCJ=:
 
17617
 
17029
17618
        case $host_cpu in
17030
 
        hppa*64*)
17031
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17619
        hppa*64*|ia64*)
17032
17620
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17033
 
          hardcode_libdir_separator_GCJ=:
17034
 
          hardcode_direct_GCJ=no
17035
 
          hardcode_shlibpath_var_GCJ=no
17036
 
          ;;
17037
 
        ia64*)
17038
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17039
 
          hardcode_direct_GCJ=no
17040
 
          hardcode_shlibpath_var_GCJ=no
17041
 
 
17042
 
          # hardcode_minus_L: Not really in the search PATH,
17043
 
          # but as the default location of the library.
17044
 
          hardcode_minus_L_GCJ=yes
 
17621
          hardcode_direct_GCJ=no
 
17622
          hardcode_shlibpath_var_GCJ=no
17045
17623
          ;;
17046
17624
        *)
17047
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17048
 
          hardcode_libdir_separator_GCJ=:
17049
17625
          hardcode_direct_GCJ=yes
17050
17626
          export_dynamic_flag_spec_GCJ='${wl}-E'
17051
17627
 
17069
17645
      link_all_deplibs_GCJ=yes
17070
17646
      ;;
17071
17647
 
17072
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17648
    netbsd* | netbsdelf*-gnu)
17073
17649
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17074
17650
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17075
17651
      else
17089
17665
      ;;
17090
17666
 
17091
17667
    openbsd*)
17092
 
      hardcode_direct_GCJ=yes
17093
 
      hardcode_shlibpath_var_GCJ=no
17094
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17095
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17096
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17097
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17098
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17668
      if test -f /usr/libexec/ld.so; then
 
17669
        hardcode_direct_GCJ=yes
 
17670
        hardcode_shlibpath_var_GCJ=no
 
17671
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17672
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17673
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17674
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17675
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17676
        else
 
17677
          case $host_os in
 
17678
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17679
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17680
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17681
             ;;
 
17682
           *)
 
17683
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17684
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17685
             ;;
 
17686
          esac
 
17687
        fi
17099
17688
      else
17100
 
       case $host_os in
17101
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17102
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17103
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17104
 
           ;;
17105
 
         *)
17106
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17107
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17108
 
           ;;
17109
 
       esac
 
17689
        ld_shlibs_GCJ=no
17110
17690
      fi
17111
17691
      ;;
17112
17692
 
17147
17727
      hardcode_libdir_separator_GCJ=:
17148
17728
      ;;
17149
17729
 
17150
 
    sco3.2v5*)
17151
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17152
 
      hardcode_shlibpath_var_GCJ=no
17153
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17154
 
      runpath_var=LD_RUN_PATH
17155
 
      hardcode_runpath_var=yes
17156
 
      ;;
17157
 
 
17158
17730
    solaris*)
17159
17731
      no_undefined_flag_GCJ=' -z text'
17160
17732
      if test "$GCC" = yes; then
17173
17745
      case $host_os in
17174
17746
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17175
17747
      *)
17176
 
        # The compiler driver will combine linker options so we
17177
 
        # cannot just pass the convience library names through
17178
 
        # without $wl, iff we do not link with $LD.
17179
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17748
        # The compiler driver will combine and reorder linker options,
 
17749
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17750
        # but is careful enough not to reorder.
17180
17751
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17181
 
        case $wlarc in
17182
 
        '')
17183
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17184
 
        *)
17185
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17186
 
        esac ;;
 
17752
        if test "$GCC" = yes; then
 
17753
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17754
        else
 
17755
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
17756
        fi
 
17757
        ;;
17187
17758
      esac
17188
17759
      link_all_deplibs_GCJ=yes
17189
17760
      ;;
17240
17811
      fi
17241
17812
      ;;
17242
17813
 
17243
 
    sysv4.2uw2*)
17244
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17245
 
      hardcode_direct_GCJ=yes
17246
 
      hardcode_minus_L_GCJ=no
17247
 
      hardcode_shlibpath_var_GCJ=no
17248
 
      hardcode_runpath_var=yes
17249
 
      runpath_var=LD_RUN_PATH
17250
 
      ;;
17251
 
 
17252
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17253
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17254
 
      if test "$GCC" = yes; then
17255
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17256
 
      else
17257
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17258
 
      fi
17259
 
      runpath_var='LD_RUN_PATH'
17260
 
      hardcode_shlibpath_var_GCJ=no
17261
 
      ;;
17262
 
 
17263
 
    sysv5*)
17264
 
      no_undefined_flag_GCJ=' -z text'
17265
 
      # $CC -shared without GNU ld will not create a library from C++
17266
 
      # object files and a static libstdc++, better avoid it by now
17267
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17268
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17269
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17270
 
      hardcode_libdir_flag_spec_GCJ=
17271
 
      hardcode_shlibpath_var_GCJ=no
17272
 
      runpath_var='LD_RUN_PATH'
 
17814
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
17815
      no_undefined_flag_GCJ='${wl}-z,text'
 
17816
      archive_cmds_need_lc_GCJ=no
 
17817
      hardcode_shlibpath_var_GCJ=no
 
17818
      runpath_var='LD_RUN_PATH'
 
17819
 
 
17820
      if test "$GCC" = yes; then
 
17821
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17822
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17823
      else
 
17824
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17825
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17826
      fi
 
17827
      ;;
 
17828
 
 
17829
    sysv5* | sco3.2v5* | sco5v6*)
 
17830
      # Note: We can NOT use -z defs as we might desire, because we do not
 
17831
      # link with -lc, and that would cause any symbols used from libc to
 
17832
      # always be unresolved, which means just about no library would
 
17833
      # ever link correctly.  If we're not using GNU ld we use -z text
 
17834
      # though, which does catch some bad symbols but isn't as heavy-handed
 
17835
      # as -z defs.
 
17836
      no_undefined_flag_GCJ='${wl}-z,text'
 
17837
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
17838
      archive_cmds_need_lc_GCJ=no
 
17839
      hardcode_shlibpath_var_GCJ=no
 
17840
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
17841
      hardcode_libdir_separator_GCJ=':'
 
17842
      link_all_deplibs_GCJ=yes
 
17843
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
17844
      runpath_var='LD_RUN_PATH'
 
17845
 
 
17846
      if test "$GCC" = yes; then
 
17847
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17848
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17849
      else
 
17850
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17851
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17852
      fi
17273
17853
      ;;
17274
17854
 
17275
17855
    uts4*)
17284
17864
    esac
17285
17865
  fi
17286
17866
 
17287
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17288
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17867
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17868
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17289
17869
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17290
17870
 
17291
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17292
 
if test "$GCC" = yes; then
17293
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17294
 
fi
17295
 
 
17296
17871
#
17297
17872
# Do we need to explicitly link libc?
17298
17873
#
17310
17885
      # Test whether the compiler implicitly links with -lc since on some
17311
17886
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17312
17887
      # to ld, don't add -lc before -lgcc.
17313
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17314
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17888
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17889
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17315
17890
      $rm conftest*
17316
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17891
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17317
17892
 
17318
17893
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17319
17894
  (eval $ac_compile) 2>&5
17325
17900
        libobjs=conftest.$ac_objext
17326
17901
        deplibs=
17327
17902
        wl=$lt_prog_compiler_wl_GCJ
 
17903
        pic_flag=$lt_prog_compiler_pic_GCJ
17328
17904
        compiler_flags=-v
17329
17905
        linker_flags=-v
17330
17906
        verstring=
17347
17923
        cat conftest.err 1>&5
17348
17924
      fi
17349
17925
      $rm conftest*
17350
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17351
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17926
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17927
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17352
17928
      ;;
17353
17929
    esac
17354
17930
  fi
17355
17931
  ;;
17356
17932
esac
17357
17933
 
17358
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17359
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17934
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17935
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17360
17936
library_names_spec=
17361
17937
libname_spec='lib$name'
17362
17938
soname_spec=
17370
17946
version_type=none
17371
17947
dynamic_linker="$host_os ld.so"
17372
17948
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17373
 
if test "$GCC" = yes; then
17374
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17375
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17376
 
    # if the path contains ";" then we assume it to be the separator
17377
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17378
 
    # assumed that no part of a normal pathname contains ";" but that should
17379
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17380
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17381
 
  else
17382
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17383
 
  fi
17384
 
else
17385
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17386
 
fi
 
17949
 
17387
17950
need_lib_prefix=unknown
17388
17951
hardcode_into_libs=no
17389
17952
 
17540
18103
  shlibpath_overrides_runpath=yes
17541
18104
  shlibpath_var=DYLD_LIBRARY_PATH
17542
18105
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17543
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17544
 
  if test "$GCC" = yes; then
17545
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17546
 
  else
17547
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17548
 
  fi
 
18106
   
17549
18107
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17550
18108
  ;;
17551
18109
 
17562
18120
  dynamic_linker=no
17563
18121
  ;;
17564
18122
 
17565
 
kfreebsd*-gnu)
17566
 
  version_type=linux
17567
 
  need_lib_prefix=no
17568
 
  need_version=no
17569
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17570
 
  soname_spec='${libname}${release}${shared_ext}$major'
17571
 
  shlibpath_var=LD_LIBRARY_PATH
17572
 
  shlibpath_overrides_runpath=no
17573
 
  hardcode_into_libs=yes
17574
 
  dynamic_linker='GNU ld.so'
17575
 
  ;;
17576
 
 
17577
18123
freebsd* | dragonfly*)
17578
18124
  # DragonFly does not have aout.  When/if they implement a new
17579
18125
  # versioning mechanism, adjust this.
17606
18152
    shlibpath_overrides_runpath=yes
17607
18153
    hardcode_into_libs=yes
17608
18154
    ;;
17609
 
  *) # from 3.2 on
 
18155
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18156
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17610
18157
    shlibpath_overrides_runpath=no
17611
18158
    hardcode_into_libs=yes
17612
18159
    ;;
 
18160
  *) # from 4.6 on, and DragonFly
 
18161
    shlibpath_overrides_runpath=yes
 
18162
    hardcode_into_libs=yes
 
18163
    ;;
17613
18164
  esac
17614
18165
  ;;
17615
18166
 
17669
18220
  postinstall_cmds='chmod 555 $lib'
17670
18221
  ;;
17671
18222
 
 
18223
interix[3-9]*)
 
18224
  version_type=linux
 
18225
  need_lib_prefix=no
 
18226
  need_version=no
 
18227
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18228
  soname_spec='${libname}${release}${shared_ext}$major'
 
18229
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18230
  shlibpath_var=LD_LIBRARY_PATH
 
18231
  shlibpath_overrides_runpath=no
 
18232
  hardcode_into_libs=yes
 
18233
  ;;
 
18234
 
17672
18235
irix5* | irix6* | nonstopux*)
17673
18236
  case $host_os in
17674
18237
    nonstopux*) version_type=nonstopux ;;
17712
18275
  ;;
17713
18276
 
17714
18277
# This must be Linux ELF.
17715
 
linux*)
 
18278
linux* | k*bsd*-gnu)
17716
18279
  version_type=linux
17717
18280
  need_lib_prefix=no
17718
18281
  need_version=no
17728
18291
 
17729
18292
  # Append ld.so.conf contents to the search path
17730
18293
  if test -f /etc/ld.so.conf; then
17731
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18294
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17732
18295
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17733
18296
  fi
17734
18297
 
17753
18316
  dynamic_linker='NetBSD ld.elf_so'
17754
18317
  ;;
17755
18318
 
17756
 
knetbsd*-gnu)
17757
 
  version_type=linux
17758
 
  need_lib_prefix=no
17759
 
  need_version=no
17760
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17761
 
  soname_spec='${libname}${release}${shared_ext}$major'
17762
 
  shlibpath_var=LD_LIBRARY_PATH
17763
 
  shlibpath_overrides_runpath=no
17764
 
  hardcode_into_libs=yes
17765
 
  dynamic_linker='GNU ld.so'
17766
 
  ;;
17767
 
 
17768
18319
netbsd*)
17769
18320
  version_type=sunos
17770
18321
  need_lib_prefix=no
17802
18353
 
17803
18354
openbsd*)
17804
18355
  version_type=sunos
 
18356
  sys_lib_dlsearch_path_spec="/usr/lib"
17805
18357
  need_lib_prefix=no
17806
18358
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17807
18359
  case $host_os in
17845
18397
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17846
18398
  ;;
17847
18399
 
17848
 
sco3.2v5*)
17849
 
  version_type=osf
17850
 
  soname_spec='${libname}${release}${shared_ext}$major'
17851
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17852
 
  shlibpath_var=LD_LIBRARY_PATH
 
18400
rdos*)
 
18401
  dynamic_linker=no
17853
18402
  ;;
17854
18403
 
17855
18404
solaris*)
17877
18426
  need_version=yes
17878
18427
  ;;
17879
18428
 
17880
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18429
sysv4 | sysv4.3*)
17881
18430
  version_type=linux
17882
18431
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17883
18432
  soname_spec='${libname}${release}${shared_ext}$major'
17910
18459
  fi
17911
18460
  ;;
17912
18461
 
 
18462
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
18463
  version_type=freebsd-elf
 
18464
  need_lib_prefix=no
 
18465
  need_version=no
 
18466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
18467
  soname_spec='${libname}${release}${shared_ext}$major'
 
18468
  shlibpath_var=LD_LIBRARY_PATH
 
18469
  hardcode_into_libs=yes
 
18470
  if test "$with_gnu_ld" = yes; then
 
18471
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
18472
    shlibpath_overrides_runpath=no
 
18473
  else
 
18474
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
18475
    shlibpath_overrides_runpath=yes
 
18476
    case $host_os in
 
18477
      sco3.2v5*)
 
18478
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
18479
        ;;
 
18480
    esac
 
18481
  fi
 
18482
  sys_lib_dlsearch_path_spec='/usr/lib'
 
18483
  ;;
 
18484
 
17913
18485
uts4*)
17914
18486
  version_type=linux
17915
18487
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17921
18493
  dynamic_linker=no
17922
18494
  ;;
17923
18495
esac
17924
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17925
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18496
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18497
echo "${ECHO_T}$dynamic_linker" >&6; }
17926
18498
test "$dynamic_linker" = no && can_build_shared=no
17927
18499
 
17928
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17929
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18500
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18501
if test "$GCC" = yes; then
 
18502
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18503
fi
 
18504
 
 
18505
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18506
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17930
18507
hardcode_action_GCJ=
17931
18508
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17932
18509
   test -n "$runpath_var_GCJ" || \
17950
18527
  # directories.
17951
18528
  hardcode_action_GCJ=unsupported
17952
18529
fi
17953
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17954
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18530
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18531
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17955
18532
 
17956
18533
if test "$hardcode_action_GCJ" = relink; then
17957
18534
  # Fast installation is not supported
17962
18539
  enable_fast_install=needless
17963
18540
fi
17964
18541
 
17965
 
striplib=
17966
 
old_striplib=
17967
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17968
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17969
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17970
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17971
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17972
 
  echo "$as_me:$LINENO: result: yes" >&5
17973
 
echo "${ECHO_T}yes" >&6
17974
 
else
17975
 
# FIXME - insert some real tests, host_os isn't really good enough
17976
 
  case $host_os in
17977
 
   darwin*)
17978
 
       if test -n "$STRIP" ; then
17979
 
         striplib="$STRIP -x"
17980
 
         echo "$as_me:$LINENO: result: yes" >&5
17981
 
echo "${ECHO_T}yes" >&6
17982
 
       else
17983
 
  echo "$as_me:$LINENO: result: no" >&5
17984
 
echo "${ECHO_T}no" >&6
17985
 
fi
17986
 
       ;;
17987
 
   *)
17988
 
  echo "$as_me:$LINENO: result: no" >&5
17989
 
echo "${ECHO_T}no" >&6
17990
 
    ;;
17991
 
  esac
17992
 
fi
17993
 
 
17994
 
if test "x$enable_dlopen" != xyes; then
17995
 
  enable_dlopen=unknown
17996
 
  enable_dlopen_self=unknown
17997
 
  enable_dlopen_self_static=unknown
17998
 
else
17999
 
  lt_cv_dlopen=no
18000
 
  lt_cv_dlopen_libs=
18001
 
 
18002
 
  case $host_os in
18003
 
  beos*)
18004
 
    lt_cv_dlopen="load_add_on"
18005
 
    lt_cv_dlopen_libs=
18006
 
    lt_cv_dlopen_self=yes
18007
 
    ;;
18008
 
 
18009
 
  mingw* | pw32*)
18010
 
    lt_cv_dlopen="LoadLibrary"
18011
 
    lt_cv_dlopen_libs=
18012
 
   ;;
18013
 
 
18014
 
  cygwin*)
18015
 
    lt_cv_dlopen="dlopen"
18016
 
    lt_cv_dlopen_libs=
18017
 
   ;;
18018
 
 
18019
 
  darwin*)
18020
 
  # if libdl is installed we need to link against it
18021
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18022
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18023
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18025
 
else
18026
 
  ac_check_lib_save_LIBS=$LIBS
18027
 
LIBS="-ldl  $LIBS"
18028
 
cat >conftest.$ac_ext <<_ACEOF
18029
 
/* confdefs.h.  */
18030
 
_ACEOF
18031
 
cat confdefs.h >>conftest.$ac_ext
18032
 
cat >>conftest.$ac_ext <<_ACEOF
18033
 
/* end confdefs.h.  */
18034
 
 
18035
 
/* Override any gcc2 internal prototype to avoid an error.  */
18036
 
#ifdef __cplusplus
18037
 
extern "C"
18038
 
#endif
18039
 
/* We use char because int might match the return type of a gcc2
18040
 
   builtin and then its argument prototype would still apply.  */
18041
 
char dlopen ();
18042
 
int
18043
 
main ()
18044
 
{
18045
 
dlopen ();
18046
 
  ;
18047
 
  return 0;
18048
 
}
18049
 
_ACEOF
18050
 
rm -f conftest.$ac_objext conftest$ac_exeext
18051
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18052
 
  (eval $ac_link) 2>conftest.er1
18053
 
  ac_status=$?
18054
 
  grep -v '^ *+' conftest.er1 >conftest.err
18055
 
  rm -f conftest.er1
18056
 
  cat conftest.err >&5
18057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058
 
  (exit $ac_status); } &&
18059
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18060
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061
 
  (eval $ac_try) 2>&5
18062
 
  ac_status=$?
18063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064
 
  (exit $ac_status); }; } &&
18065
 
         { ac_try='test -s conftest$ac_exeext'
18066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067
 
  (eval $ac_try) 2>&5
18068
 
  ac_status=$?
18069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070
 
  (exit $ac_status); }; }; then
18071
 
  ac_cv_lib_dl_dlopen=yes
18072
 
else
18073
 
  echo "$as_me: failed program was:" >&5
18074
 
sed 's/^/| /' conftest.$ac_ext >&5
18075
 
 
18076
 
ac_cv_lib_dl_dlopen=no
18077
 
fi
18078
 
rm -f conftest.err conftest.$ac_objext \
18079
 
      conftest$ac_exeext conftest.$ac_ext
18080
 
LIBS=$ac_check_lib_save_LIBS
18081
 
fi
18082
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18083
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18084
 
if test $ac_cv_lib_dl_dlopen = yes; then
18085
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18086
 
else
18087
 
  
18088
 
    lt_cv_dlopen="dyld"
18089
 
    lt_cv_dlopen_libs=
18090
 
    lt_cv_dlopen_self=yes
18091
 
    
18092
 
fi
18093
 
 
18094
 
   ;;
18095
 
 
18096
 
  *)
18097
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
18098
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18099
 
if test "${ac_cv_func_shl_load+set}" = set; then
18100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18101
 
else
18102
 
  cat >conftest.$ac_ext <<_ACEOF
18103
 
/* confdefs.h.  */
18104
 
_ACEOF
18105
 
cat confdefs.h >>conftest.$ac_ext
18106
 
cat >>conftest.$ac_ext <<_ACEOF
18107
 
/* end confdefs.h.  */
18108
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18109
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18110
 
#define shl_load innocuous_shl_load
18111
 
 
18112
 
/* System header to define __stub macros and hopefully few prototypes,
18113
 
    which can conflict with char shl_load (); below.
18114
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18115
 
    <limits.h> exists even on freestanding compilers.  */
18116
 
 
18117
 
#ifdef __STDC__
18118
 
# include <limits.h>
18119
 
#else
18120
 
# include <assert.h>
18121
 
#endif
18122
 
 
18123
 
#undef shl_load
18124
 
 
18125
 
/* Override any gcc2 internal prototype to avoid an error.  */
18126
 
#ifdef __cplusplus
18127
 
extern "C"
18128
 
{
18129
 
#endif
18130
 
/* We use char because int might match the return type of a gcc2
18131
 
   builtin and then its argument prototype would still apply.  */
18132
 
char shl_load ();
18133
 
/* The GNU C library defines this for functions which it implements
18134
 
    to always fail with ENOSYS.  Some functions are actually named
18135
 
    something starting with __ and the normal name is an alias.  */
18136
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18137
 
choke me
18138
 
#else
18139
 
char (*f) () = shl_load;
18140
 
#endif
18141
 
#ifdef __cplusplus
18142
 
}
18143
 
#endif
18144
 
 
18145
 
int
18146
 
main ()
18147
 
{
18148
 
return f != shl_load;
18149
 
  ;
18150
 
  return 0;
18151
 
}
18152
 
_ACEOF
18153
 
rm -f conftest.$ac_objext conftest$ac_exeext
18154
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18155
 
  (eval $ac_link) 2>conftest.er1
18156
 
  ac_status=$?
18157
 
  grep -v '^ *+' conftest.er1 >conftest.err
18158
 
  rm -f conftest.er1
18159
 
  cat conftest.err >&5
18160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161
 
  (exit $ac_status); } &&
18162
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164
 
  (eval $ac_try) 2>&5
18165
 
  ac_status=$?
18166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167
 
  (exit $ac_status); }; } &&
18168
 
         { ac_try='test -s conftest$ac_exeext'
18169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170
 
  (eval $ac_try) 2>&5
18171
 
  ac_status=$?
18172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173
 
  (exit $ac_status); }; }; then
18174
 
  ac_cv_func_shl_load=yes
18175
 
else
18176
 
  echo "$as_me: failed program was:" >&5
18177
 
sed 's/^/| /' conftest.$ac_ext >&5
18178
 
 
18179
 
ac_cv_func_shl_load=no
18180
 
fi
18181
 
rm -f conftest.err conftest.$ac_objext \
18182
 
      conftest$ac_exeext conftest.$ac_ext
18183
 
fi
18184
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18185
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18186
 
if test $ac_cv_func_shl_load = yes; then
18187
 
  lt_cv_dlopen="shl_load"
18188
 
else
18189
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18190
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18191
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18193
 
else
18194
 
  ac_check_lib_save_LIBS=$LIBS
18195
 
LIBS="-ldld  $LIBS"
18196
 
cat >conftest.$ac_ext <<_ACEOF
18197
 
/* confdefs.h.  */
18198
 
_ACEOF
18199
 
cat confdefs.h >>conftest.$ac_ext
18200
 
cat >>conftest.$ac_ext <<_ACEOF
18201
 
/* end confdefs.h.  */
18202
 
 
18203
 
/* Override any gcc2 internal prototype to avoid an error.  */
18204
 
#ifdef __cplusplus
18205
 
extern "C"
18206
 
#endif
18207
 
/* We use char because int might match the return type of a gcc2
18208
 
   builtin and then its argument prototype would still apply.  */
18209
 
char shl_load ();
18210
 
int
18211
 
main ()
18212
 
{
18213
 
shl_load ();
18214
 
  ;
18215
 
  return 0;
18216
 
}
18217
 
_ACEOF
18218
 
rm -f conftest.$ac_objext conftest$ac_exeext
18219
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220
 
  (eval $ac_link) 2>conftest.er1
18221
 
  ac_status=$?
18222
 
  grep -v '^ *+' conftest.er1 >conftest.err
18223
 
  rm -f conftest.er1
18224
 
  cat conftest.err >&5
18225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226
 
  (exit $ac_status); } &&
18227
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18228
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229
 
  (eval $ac_try) 2>&5
18230
 
  ac_status=$?
18231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232
 
  (exit $ac_status); }; } &&
18233
 
         { ac_try='test -s conftest$ac_exeext'
18234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235
 
  (eval $ac_try) 2>&5
18236
 
  ac_status=$?
18237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238
 
  (exit $ac_status); }; }; then
18239
 
  ac_cv_lib_dld_shl_load=yes
18240
 
else
18241
 
  echo "$as_me: failed program was:" >&5
18242
 
sed 's/^/| /' conftest.$ac_ext >&5
18243
 
 
18244
 
ac_cv_lib_dld_shl_load=no
18245
 
fi
18246
 
rm -f conftest.err conftest.$ac_objext \
18247
 
      conftest$ac_exeext conftest.$ac_ext
18248
 
LIBS=$ac_check_lib_save_LIBS
18249
 
fi
18250
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18251
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18252
 
if test $ac_cv_lib_dld_shl_load = yes; then
18253
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18254
 
else
18255
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18256
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18257
 
if test "${ac_cv_func_dlopen+set}" = set; then
18258
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18259
 
else
18260
 
  cat >conftest.$ac_ext <<_ACEOF
18261
 
/* confdefs.h.  */
18262
 
_ACEOF
18263
 
cat confdefs.h >>conftest.$ac_ext
18264
 
cat >>conftest.$ac_ext <<_ACEOF
18265
 
/* end confdefs.h.  */
18266
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18267
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18268
 
#define dlopen innocuous_dlopen
18269
 
 
18270
 
/* System header to define __stub macros and hopefully few prototypes,
18271
 
    which can conflict with char dlopen (); below.
18272
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18273
 
    <limits.h> exists even on freestanding compilers.  */
18274
 
 
18275
 
#ifdef __STDC__
18276
 
# include <limits.h>
18277
 
#else
18278
 
# include <assert.h>
18279
 
#endif
18280
 
 
18281
 
#undef dlopen
18282
 
 
18283
 
/* Override any gcc2 internal prototype to avoid an error.  */
18284
 
#ifdef __cplusplus
18285
 
extern "C"
18286
 
{
18287
 
#endif
18288
 
/* We use char because int might match the return type of a gcc2
18289
 
   builtin and then its argument prototype would still apply.  */
18290
 
char dlopen ();
18291
 
/* The GNU C library defines this for functions which it implements
18292
 
    to always fail with ENOSYS.  Some functions are actually named
18293
 
    something starting with __ and the normal name is an alias.  */
18294
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18295
 
choke me
18296
 
#else
18297
 
char (*f) () = dlopen;
18298
 
#endif
18299
 
#ifdef __cplusplus
18300
 
}
18301
 
#endif
18302
 
 
18303
 
int
18304
 
main ()
18305
 
{
18306
 
return f != dlopen;
18307
 
  ;
18308
 
  return 0;
18309
 
}
18310
 
_ACEOF
18311
 
rm -f conftest.$ac_objext conftest$ac_exeext
18312
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18313
 
  (eval $ac_link) 2>conftest.er1
18314
 
  ac_status=$?
18315
 
  grep -v '^ *+' conftest.er1 >conftest.err
18316
 
  rm -f conftest.er1
18317
 
  cat conftest.err >&5
18318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319
 
  (exit $ac_status); } &&
18320
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322
 
  (eval $ac_try) 2>&5
18323
 
  ac_status=$?
18324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325
 
  (exit $ac_status); }; } &&
18326
 
         { ac_try='test -s conftest$ac_exeext'
18327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328
 
  (eval $ac_try) 2>&5
18329
 
  ac_status=$?
18330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331
 
  (exit $ac_status); }; }; then
18332
 
  ac_cv_func_dlopen=yes
18333
 
else
18334
 
  echo "$as_me: failed program was:" >&5
18335
 
sed 's/^/| /' conftest.$ac_ext >&5
18336
 
 
18337
 
ac_cv_func_dlopen=no
18338
 
fi
18339
 
rm -f conftest.err conftest.$ac_objext \
18340
 
      conftest$ac_exeext conftest.$ac_ext
18341
 
fi
18342
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18343
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18344
 
if test $ac_cv_func_dlopen = yes; then
18345
 
  lt_cv_dlopen="dlopen"
18346
 
else
18347
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18348
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18349
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18350
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18351
 
else
18352
 
  ac_check_lib_save_LIBS=$LIBS
18353
 
LIBS="-ldl  $LIBS"
18354
 
cat >conftest.$ac_ext <<_ACEOF
18355
 
/* confdefs.h.  */
18356
 
_ACEOF
18357
 
cat confdefs.h >>conftest.$ac_ext
18358
 
cat >>conftest.$ac_ext <<_ACEOF
18359
 
/* end confdefs.h.  */
18360
 
 
18361
 
/* Override any gcc2 internal prototype to avoid an error.  */
18362
 
#ifdef __cplusplus
18363
 
extern "C"
18364
 
#endif
18365
 
/* We use char because int might match the return type of a gcc2
18366
 
   builtin and then its argument prototype would still apply.  */
18367
 
char dlopen ();
18368
 
int
18369
 
main ()
18370
 
{
18371
 
dlopen ();
18372
 
  ;
18373
 
  return 0;
18374
 
}
18375
 
_ACEOF
18376
 
rm -f conftest.$ac_objext conftest$ac_exeext
18377
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378
 
  (eval $ac_link) 2>conftest.er1
18379
 
  ac_status=$?
18380
 
  grep -v '^ *+' conftest.er1 >conftest.err
18381
 
  rm -f conftest.er1
18382
 
  cat conftest.err >&5
18383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384
 
  (exit $ac_status); } &&
18385
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387
 
  (eval $ac_try) 2>&5
18388
 
  ac_status=$?
18389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390
 
  (exit $ac_status); }; } &&
18391
 
         { ac_try='test -s conftest$ac_exeext'
18392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393
 
  (eval $ac_try) 2>&5
18394
 
  ac_status=$?
18395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396
 
  (exit $ac_status); }; }; then
18397
 
  ac_cv_lib_dl_dlopen=yes
18398
 
else
18399
 
  echo "$as_me: failed program was:" >&5
18400
 
sed 's/^/| /' conftest.$ac_ext >&5
18401
 
 
18402
 
ac_cv_lib_dl_dlopen=no
18403
 
fi
18404
 
rm -f conftest.err conftest.$ac_objext \
18405
 
      conftest$ac_exeext conftest.$ac_ext
18406
 
LIBS=$ac_check_lib_save_LIBS
18407
 
fi
18408
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18409
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18410
 
if test $ac_cv_lib_dl_dlopen = yes; then
18411
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18412
 
else
18413
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18414
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18415
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18417
 
else
18418
 
  ac_check_lib_save_LIBS=$LIBS
18419
 
LIBS="-lsvld  $LIBS"
18420
 
cat >conftest.$ac_ext <<_ACEOF
18421
 
/* confdefs.h.  */
18422
 
_ACEOF
18423
 
cat confdefs.h >>conftest.$ac_ext
18424
 
cat >>conftest.$ac_ext <<_ACEOF
18425
 
/* end confdefs.h.  */
18426
 
 
18427
 
/* Override any gcc2 internal prototype to avoid an error.  */
18428
 
#ifdef __cplusplus
18429
 
extern "C"
18430
 
#endif
18431
 
/* We use char because int might match the return type of a gcc2
18432
 
   builtin and then its argument prototype would still apply.  */
18433
 
char dlopen ();
18434
 
int
18435
 
main ()
18436
 
{
18437
 
dlopen ();
18438
 
  ;
18439
 
  return 0;
18440
 
}
18441
 
_ACEOF
18442
 
rm -f conftest.$ac_objext conftest$ac_exeext
18443
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18444
 
  (eval $ac_link) 2>conftest.er1
18445
 
  ac_status=$?
18446
 
  grep -v '^ *+' conftest.er1 >conftest.err
18447
 
  rm -f conftest.er1
18448
 
  cat conftest.err >&5
18449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450
 
  (exit $ac_status); } &&
18451
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453
 
  (eval $ac_try) 2>&5
18454
 
  ac_status=$?
18455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456
 
  (exit $ac_status); }; } &&
18457
 
         { ac_try='test -s conftest$ac_exeext'
18458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459
 
  (eval $ac_try) 2>&5
18460
 
  ac_status=$?
18461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462
 
  (exit $ac_status); }; }; then
18463
 
  ac_cv_lib_svld_dlopen=yes
18464
 
else
18465
 
  echo "$as_me: failed program was:" >&5
18466
 
sed 's/^/| /' conftest.$ac_ext >&5
18467
 
 
18468
 
ac_cv_lib_svld_dlopen=no
18469
 
fi
18470
 
rm -f conftest.err conftest.$ac_objext \
18471
 
      conftest$ac_exeext conftest.$ac_ext
18472
 
LIBS=$ac_check_lib_save_LIBS
18473
 
fi
18474
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18475
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18476
 
if test $ac_cv_lib_svld_dlopen = yes; then
18477
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18478
 
else
18479
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18480
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18481
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18482
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18483
 
else
18484
 
  ac_check_lib_save_LIBS=$LIBS
18485
 
LIBS="-ldld  $LIBS"
18486
 
cat >conftest.$ac_ext <<_ACEOF
18487
 
/* confdefs.h.  */
18488
 
_ACEOF
18489
 
cat confdefs.h >>conftest.$ac_ext
18490
 
cat >>conftest.$ac_ext <<_ACEOF
18491
 
/* end confdefs.h.  */
18492
 
 
18493
 
/* Override any gcc2 internal prototype to avoid an error.  */
18494
 
#ifdef __cplusplus
18495
 
extern "C"
18496
 
#endif
18497
 
/* We use char because int might match the return type of a gcc2
18498
 
   builtin and then its argument prototype would still apply.  */
18499
 
char dld_link ();
18500
 
int
18501
 
main ()
18502
 
{
18503
 
dld_link ();
18504
 
  ;
18505
 
  return 0;
18506
 
}
18507
 
_ACEOF
18508
 
rm -f conftest.$ac_objext conftest$ac_exeext
18509
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18510
 
  (eval $ac_link) 2>conftest.er1
18511
 
  ac_status=$?
18512
 
  grep -v '^ *+' conftest.er1 >conftest.err
18513
 
  rm -f conftest.er1
18514
 
  cat conftest.err >&5
18515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516
 
  (exit $ac_status); } &&
18517
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18518
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519
 
  (eval $ac_try) 2>&5
18520
 
  ac_status=$?
18521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522
 
  (exit $ac_status); }; } &&
18523
 
         { ac_try='test -s conftest$ac_exeext'
18524
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525
 
  (eval $ac_try) 2>&5
18526
 
  ac_status=$?
18527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528
 
  (exit $ac_status); }; }; then
18529
 
  ac_cv_lib_dld_dld_link=yes
18530
 
else
18531
 
  echo "$as_me: failed program was:" >&5
18532
 
sed 's/^/| /' conftest.$ac_ext >&5
18533
 
 
18534
 
ac_cv_lib_dld_dld_link=no
18535
 
fi
18536
 
rm -f conftest.err conftest.$ac_objext \
18537
 
      conftest$ac_exeext conftest.$ac_ext
18538
 
LIBS=$ac_check_lib_save_LIBS
18539
 
fi
18540
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18541
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18542
 
if test $ac_cv_lib_dld_dld_link = yes; then
18543
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18544
 
fi
18545
 
 
18546
 
              
18547
 
fi
18548
 
 
18549
 
            
18550
 
fi
18551
 
 
18552
 
          
18553
 
fi
18554
 
 
18555
 
        
18556
 
fi
18557
 
 
18558
 
      
18559
 
fi
18560
 
 
18561
 
    ;;
18562
 
  esac
18563
 
 
18564
 
  if test "x$lt_cv_dlopen" != xno; then
18565
 
    enable_dlopen=yes
18566
 
  else
18567
 
    enable_dlopen=no
18568
 
  fi
18569
 
 
18570
 
  case $lt_cv_dlopen in
18571
 
  dlopen)
18572
 
    save_CPPFLAGS="$CPPFLAGS"
18573
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18574
 
 
18575
 
    save_LDFLAGS="$LDFLAGS"
18576
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18577
 
 
18578
 
    save_LIBS="$LIBS"
18579
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18580
 
 
18581
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18582
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18583
 
if test "${lt_cv_dlopen_self+set}" = set; then
18584
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18585
 
else
18586
 
          if test "$cross_compiling" = yes; then :
18587
 
  lt_cv_dlopen_self=cross
18588
 
else
18589
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18590
 
  lt_status=$lt_dlunknown
18591
 
  cat > conftest.$ac_ext <<EOF
18592
 
#line __oline__ "configure"
18593
 
#include "confdefs.h"
18594
 
 
18595
 
#if HAVE_DLFCN_H
18596
 
#include <dlfcn.h>
18597
 
#endif
18598
 
 
18599
 
#include <stdio.h>
18600
 
 
18601
 
#ifdef RTLD_GLOBAL
18602
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18603
 
#else
18604
 
#  ifdef DL_GLOBAL
18605
 
#    define LT_DLGLOBAL         DL_GLOBAL
18606
 
#  else
18607
 
#    define LT_DLGLOBAL         0
18608
 
#  endif
18609
 
#endif
18610
 
 
18611
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18612
 
   find out it does not work in some platform. */
18613
 
#ifndef LT_DLLAZY_OR_NOW
18614
 
#  ifdef RTLD_LAZY
18615
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18616
 
#  else
18617
 
#    ifdef DL_LAZY
18618
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18619
 
#    else
18620
 
#      ifdef RTLD_NOW
18621
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18622
 
#      else
18623
 
#        ifdef DL_NOW
18624
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18625
 
#        else
18626
 
#          define LT_DLLAZY_OR_NOW      0
18627
 
#        endif
18628
 
#      endif
18629
 
#    endif
18630
 
#  endif
18631
 
#endif
18632
 
 
18633
 
#ifdef __cplusplus
18634
 
extern "C" void exit (int);
18635
 
#endif
18636
 
 
18637
 
void fnord() { int i=42;}
18638
 
int main ()
18639
 
{
18640
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18641
 
  int status = $lt_dlunknown;
18642
 
 
18643
 
  if (self)
18644
 
    {
18645
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18646
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18647
 
      /* dlclose (self); */
18648
 
    }
18649
 
 
18650
 
    exit (status);
18651
 
}
18652
 
EOF
18653
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18654
 
  (eval $ac_link) 2>&5
18655
 
  ac_status=$?
18656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18658
 
    (./conftest; exit; ) >&5 2>/dev/null
18659
 
    lt_status=$?
18660
 
    case x$lt_status in
18661
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18662
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18663
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18664
 
    esac
18665
 
  else :
18666
 
    # compilation failed
18667
 
    lt_cv_dlopen_self=no
18668
 
  fi
18669
 
fi
18670
 
rm -fr conftest*
18671
 
 
18672
 
    
18673
 
fi
18674
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18675
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18676
 
 
18677
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18678
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18679
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18680
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18681
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18683
 
else
18684
 
          if test "$cross_compiling" = yes; then :
18685
 
  lt_cv_dlopen_self_static=cross
18686
 
else
18687
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18688
 
  lt_status=$lt_dlunknown
18689
 
  cat > conftest.$ac_ext <<EOF
18690
 
#line __oline__ "configure"
18691
 
#include "confdefs.h"
18692
 
 
18693
 
#if HAVE_DLFCN_H
18694
 
#include <dlfcn.h>
18695
 
#endif
18696
 
 
18697
 
#include <stdio.h>
18698
 
 
18699
 
#ifdef RTLD_GLOBAL
18700
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18701
 
#else
18702
 
#  ifdef DL_GLOBAL
18703
 
#    define LT_DLGLOBAL         DL_GLOBAL
18704
 
#  else
18705
 
#    define LT_DLGLOBAL         0
18706
 
#  endif
18707
 
#endif
18708
 
 
18709
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18710
 
   find out it does not work in some platform. */
18711
 
#ifndef LT_DLLAZY_OR_NOW
18712
 
#  ifdef RTLD_LAZY
18713
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18714
 
#  else
18715
 
#    ifdef DL_LAZY
18716
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18717
 
#    else
18718
 
#      ifdef RTLD_NOW
18719
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18720
 
#      else
18721
 
#        ifdef DL_NOW
18722
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18723
 
#        else
18724
 
#          define LT_DLLAZY_OR_NOW      0
18725
 
#        endif
18726
 
#      endif
18727
 
#    endif
18728
 
#  endif
18729
 
#endif
18730
 
 
18731
 
#ifdef __cplusplus
18732
 
extern "C" void exit (int);
18733
 
#endif
18734
 
 
18735
 
void fnord() { int i=42;}
18736
 
int main ()
18737
 
{
18738
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18739
 
  int status = $lt_dlunknown;
18740
 
 
18741
 
  if (self)
18742
 
    {
18743
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18744
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18745
 
      /* dlclose (self); */
18746
 
    }
18747
 
 
18748
 
    exit (status);
18749
 
}
18750
 
EOF
18751
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18752
 
  (eval $ac_link) 2>&5
18753
 
  ac_status=$?
18754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18756
 
    (./conftest; exit; ) >&5 2>/dev/null
18757
 
    lt_status=$?
18758
 
    case x$lt_status in
18759
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18760
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18761
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18762
 
    esac
18763
 
  else :
18764
 
    # compilation failed
18765
 
    lt_cv_dlopen_self_static=no
18766
 
  fi
18767
 
fi
18768
 
rm -fr conftest*
18769
 
 
18770
 
      
18771
 
fi
18772
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18773
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18774
 
    fi
18775
 
 
18776
 
    CPPFLAGS="$save_CPPFLAGS"
18777
 
    LDFLAGS="$save_LDFLAGS"
18778
 
    LIBS="$save_LIBS"
18779
 
    ;;
18780
 
  esac
18781
 
 
18782
 
  case $lt_cv_dlopen_self in
18783
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18784
 
  *) enable_dlopen_self=unknown ;;
18785
 
  esac
18786
 
 
18787
 
  case $lt_cv_dlopen_self_static in
18788
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18789
 
  *) enable_dlopen_self_static=unknown ;;
18790
 
  esac
18791
 
fi
18792
 
 
18793
18542
 
18794
18543
# The else clause should only fire when bootstrapping the
18795
18544
# libtool distribution, otherwise you forgot to ship ltmain.sh
18804
18553
  # Now quote all the things that may contain metacharacters while being
18805
18554
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18806
18555
  # variables and quote the copies for generation of the libtool script.
18807
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18556
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18808
18557
    SED SHELL STRIP \
18809
18558
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18810
18559
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18846
18595
    module_cmds_GCJ \
18847
18596
    module_expsym_cmds_GCJ \
18848
18597
    lt_cv_prog_compiler_c_o_GCJ \
 
18598
    fix_srcfile_path_GCJ \
18849
18599
    exclude_expsyms_GCJ \
18850
18600
    include_expsyms_GCJ; do
18851
18601
 
18922
18672
# A C compiler.
18923
18673
LTCC=$lt_LTCC
18924
18674
 
 
18675
# LTCC compiler flags.
 
18676
LTCFLAGS=$lt_LTCFLAGS
 
18677
 
18925
18678
# A language-specific compiler.
18926
18679
CC=$lt_compiler_GCJ
18927
18680
 
19163
18916
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19164
18917
 
19165
18918
# Fix the shell variable \$srcfile for the compiler.
19166
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
18919
fix_srcfile_path=$lt_fix_srcfile_path
19167
18920
 
19168
18921
# Set to yes if exported symbols are required.
19169
18922
always_export_symbols=$always_export_symbols_GCJ
19212
18965
      RC)
19213
18966
        
19214
18967
 
19215
 
 
19216
18968
# Source file extension for RC test sources.
19217
18969
ac_ext=rc
19218
18970
 
19221
18973
objext_RC=$objext
19222
18974
 
19223
18975
# Code to be used in simple compile tests
19224
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
18976
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19225
18977
 
19226
18978
# Code to be used in simple link tests
19227
18979
lt_simple_link_test_code="$lt_simple_compile_test_code"
19231
18983
# If no C compiler was specified, use CC.
19232
18984
LTCC=${LTCC-"$CC"}
19233
18985
 
 
18986
# If no C compiler flags were specified, use CFLAGS.
 
18987
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18988
 
19234
18989
# Allow CC to be a program name with arguments.
19235
18990
compiler=$CC
19236
18991
 
19237
18992
 
19238
18993
# save warnings/boilerplate of simple test code
19239
18994
ac_outfile=conftest.$ac_objext
19240
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19241
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18995
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18996
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19242
18997
_lt_compiler_boilerplate=`cat conftest.err`
19243
18998
$rm conftest*
19244
18999
 
19245
19000
ac_outfile=conftest.$ac_objext
19246
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19247
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19001
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
19002
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19248
19003
_lt_linker_boilerplate=`cat conftest.err`
19249
19004
$rm conftest*
19250
19005
 
19279
19034
  # Now quote all the things that may contain metacharacters while being
19280
19035
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19281
19036
  # variables and quote the copies for generation of the libtool script.
19282
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19037
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19283
19038
    SED SHELL STRIP \
19284
19039
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19285
19040
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19321
19076
    module_cmds_RC \
19322
19077
    module_expsym_cmds_RC \
19323
19078
    lt_cv_prog_compiler_c_o_RC \
 
19079
    fix_srcfile_path_RC \
19324
19080
    exclude_expsyms_RC \
19325
19081
    include_expsyms_RC; do
19326
19082
 
19397
19153
# A C compiler.
19398
19154
LTCC=$lt_LTCC
19399
19155
 
 
19156
# LTCC compiler flags.
 
19157
LTCFLAGS=$lt_LTCFLAGS
 
19158
 
19400
19159
# A language-specific compiler.
19401
19160
CC=$lt_compiler_RC
19402
19161
 
19638
19397
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19639
19398
 
19640
19399
# Fix the shell variable \$srcfile for the compiler.
19641
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19400
fix_srcfile_path=$lt_fix_srcfile_path
19642
19401
 
19643
19402
# Set to yes if exported symbols are required.
19644
19403
always_export_symbols=$always_export_symbols_RC
19737
19496
       
19738
19497
       
19739
19498
 
19740
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19741
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
19742
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
19743
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
19499
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
19500
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
19501
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
19502
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
19744
19503
  echo $ECHO_N "(cached) $ECHO_C" >&6
19745
19504
else
19746
19505
  cat >conftest.make <<\_ACEOF
 
19506
SHELL = /bin/sh
19747
19507
all:
19748
 
        @echo 'ac_maketemp="$(MAKE)"'
 
19508
        @echo '@@@%%%=$(MAKE)=@@@%%%'
19749
19509
_ACEOF
19750
19510
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19751
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
19752
 
if test -n "$ac_maketemp"; then
19753
 
  eval ac_cv_prog_make_${ac_make}_set=yes
19754
 
else
19755
 
  eval ac_cv_prog_make_${ac_make}_set=no
19756
 
fi
 
19511
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
19512
  *@@@%%%=?*=@@@%%%*)
 
19513
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
19514
  *)
 
19515
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
19516
esac
19757
19517
rm -f conftest.make
19758
19518
fi
19759
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19760
 
  echo "$as_me:$LINENO: result: yes" >&5
19761
 
echo "${ECHO_T}yes" >&6
 
19519
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
19520
  { echo "$as_me:$LINENO: result: yes" >&5
 
19521
echo "${ECHO_T}yes" >&6; }
19762
19522
  SET_MAKE=
19763
19523
else
19764
 
  echo "$as_me:$LINENO: result: no" >&5
19765
 
echo "${ECHO_T}no" >&6
 
19524
  { echo "$as_me:$LINENO: result: no" >&5
 
19525
echo "${ECHO_T}no" >&6; }
19766
19526
  SET_MAKE="MAKE=${MAKE-make}"
19767
19527
fi
19768
19528
 
19769
19529
 
19770
19530
support_access=yes
19771
 
# Check whether --enable-access or --disable-access was given.
 
19531
# Check whether --enable-access was given.
19772
19532
if test "${enable_access+set}" = set; then
19773
 
  enableval="$enable_access"
19774
 
  
 
19533
  enableval=$enable_access; 
19775
19534
        if test "x$enableval" = "xno"; then
19776
19535
                support_access=no
19777
19536
        fi
19778
19537
 
19779
 
fi; 
 
19538
fi
 
19539
 
19780
19540
if test $support_access = yes; then
19781
19541
        cat >>confdefs.h <<\_ACEOF
19782
19542
@%:@define SUPPORT_ACCESSIBILITY_CHECKS 1
19790
19550
fi
19791
19551
 
19792
19552
support_utf16=yes
19793
 
# Check whether --enable-utf16 or --disable-utf16 was given.
 
19553
# Check whether --enable-utf16 was given.
19794
19554
if test "${enable_utf16+set}" = set; then
19795
 
  enableval="$enable_utf16"
19796
 
  
 
19555
  enableval=$enable_utf16; 
19797
19556
        if test "x$enableval" = "xno"; then
19798
19557
                support_utf16=no
19799
19558
        fi
19800
19559
 
19801
 
fi; 
 
19560
fi
 
19561
 
19802
19562
if test $support_utf16 = yes; then
19803
19563
        cat >>confdefs.h <<\_ACEOF
19804
19564
@%:@define SUPPORT_UTF16_ENCODINGS 1
19812
19572
fi
19813
19573
 
19814
19574
support_asian=yes
19815
 
# Check whether --enable-asian or --disable-asian was given.
 
19575
# Check whether --enable-asian was given.
19816
19576
if test "${enable_asian+set}" = set; then
19817
 
  enableval="$enable_asian"
19818
 
  
 
19577
  enableval=$enable_asian; 
19819
19578
        if test "x$enableval" = "xno"; then
19820
19579
                support_asian=no
19821
19580
        fi
19822
19581
 
19823
 
fi; 
 
19582
fi
 
19583
 
19824
19584
if test $support_asian = yes; then
19825
19585
        cat >>confdefs.h <<\_ACEOF
19826
19586
@%:@define SUPPORT_ASIAN_ENCODINGS 1
19836
19596
# TODO: this defines "WITH_DMALLOC" but tidy expects "DMALLOC"
19837
19597
#       need to do: #if defined(DMALLOC) || defined(WITH_DMALLOC)
19838
19598
19839
 
echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
19840
 
echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
 
19599
{ echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
 
19600
echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
19841
19601
 
19842
 
# Check whether --with-dmalloc or --without-dmalloc was given.
 
19602
# Check whether --with-dmalloc was given.
19843
19603
if test "${with_dmalloc+set}" = set; then
19844
 
  withval="$with_dmalloc"
19845
 
  if test "$withval" = yes; then
19846
 
  echo "$as_me:$LINENO: result: yes" >&5
19847
 
echo "${ECHO_T}yes" >&6
 
19604
  withval=$with_dmalloc; if test "$withval" = yes; then
 
19605
  { echo "$as_me:$LINENO: result: yes" >&5
 
19606
echo "${ECHO_T}yes" >&6; }
19848
19607
  
19849
19608
cat >>confdefs.h <<\_ACEOF
19850
19609
@%:@define WITH_DMALLOC 1
19853
19612
  LIBS="$LIBS -ldmalloc"
19854
19613
  LDFLAGS="$LDFLAGS -g"
19855
19614
else
19856
 
  echo "$as_me:$LINENO: result: no" >&5
19857
 
echo "${ECHO_T}no" >&6
 
19615
  { echo "$as_me:$LINENO: result: no" >&5
 
19616
echo "${ECHO_T}no" >&6; }
19858
19617
fi
19859
19618
else
19860
 
  echo "$as_me:$LINENO: result: no" >&5
19861
 
echo "${ECHO_T}no" >&6
19862
 
fi; 
19863
 
 
19864
 
 
19865
 
                                        ac_config_files="$ac_config_files Makefile src/Makefile console/Makefile include/Makefile"
 
19619
  { echo "$as_me:$LINENO: result: no" >&5
 
19620
echo "${ECHO_T}no" >&6; }
 
19621
fi
 
19622
 
 
19623
 
 
19624
 
 
19625
ac_config_files="$ac_config_files Makefile src/Makefile console/Makefile include/Makefile"
 
19626
 
19866
19627
cat >confcache <<\_ACEOF
19867
19628
# This file is a shell script that caches the results of configure
19868
19629
# tests run on this system so they can be shared between configure
19881
19642
 
19882
19643
# The following way of writing the cache mishandles newlines in values,
19883
19644
# but we know of no workaround that is simple, portable, and efficient.
19884
 
# So, don't put newlines in cache variables' values.
 
19645
# So, we kill variables containing newlines.
19885
19646
# Ultrix sh set writes to stderr and can't be redirected directly,
19886
19647
# and sets the high bit in the cache file unless we assign to the vars.
19887
 
{
 
19648
(
 
19649
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
19650
    eval ac_val=\$$ac_var
 
19651
    case $ac_val in #(
 
19652
    *${as_nl}*)
 
19653
      case $ac_var in #(
 
19654
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
19655
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
19656
      esac
 
19657
      case $ac_var in #(
 
19658
      _ | IFS | as_nl) ;; #(
 
19659
      *) $as_unset $ac_var ;;
 
19660
      esac ;;
 
19661
    esac
 
19662
  done
 
19663
 
19888
19664
  (set) 2>&1 |
19889
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
19890
 
    *ac_space=\ *)
 
19665
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
19666
    *${as_nl}ac_space=\ *)
19891
19667
      # `set' does not quote correctly, so add quotes (double-quote
19892
19668
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19893
19669
      sed -n \
19894
19670
        "s/'/'\\\\''/g;
19895
19671
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19896
 
      ;;
 
19672
      ;; #(
19897
19673
    *)
19898
19674
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19899
 
      sed -n \
19900
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
19675
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19901
19676
      ;;
19902
 
    esac;
19903
 
} |
 
19677
    esac |
 
19678
    sort
 
19679
) |
19904
19680
  sed '
 
19681
     /^ac_cv_env_/b end
19905
19682
     t clear
19906
 
     : clear
 
19683
     :clear
19907
19684
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19908
19685
     t end
19909
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19910
 
     : end' >>confcache
19911
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
19912
 
  if test -w $cache_file; then
19913
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
19686
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
19687
     :end' >>confcache
 
19688
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
19689
  if test -w "$cache_file"; then
 
19690
    test "x$cache_file" != "x/dev/null" &&
 
19691
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
19692
echo "$as_me: updating cache $cache_file" >&6;}
19914
19693
    cat confcache >$cache_file
19915
19694
  else
19916
 
    echo "not updating unwritable cache $cache_file"
 
19695
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
19696
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19917
19697
  fi
19918
19698
fi
19919
19699
rm -f confcache
19922
19702
# Let make expand exec_prefix.
19923
19703
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19924
19704
 
19925
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19926
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19927
 
# trailing colons and then remove the whole line if VPATH becomes empty
19928
 
# (actually we leave an empty line to preserve line numbers).
19929
 
if test "x$srcdir" = x.; then
19930
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
19931
 
s/:*\$(srcdir):*/:/;
19932
 
s/:*\${srcdir}:*/:/;
19933
 
s/:*@srcdir@:*/:/;
19934
 
s/^\([^=]*=[     ]*\):*/\1/;
19935
 
s/:*$//;
19936
 
s/^[^=]*=[       ]*$//;
19937
 
}'
19938
 
fi
19939
 
 
19940
19705
# Transform confdefs.h into DEFS.
19941
19706
# Protect against shell expansion while executing Makefile rules.
19942
19707
# Protect against Makefile macro expansion.
19943
19708
#
19944
19709
# If the first sed substitution is executed (which looks for macros that
19945
 
# take arguments), then we branch to the quote section.  Otherwise,
 
19710
# take arguments), then branch to the quote section.  Otherwise,
19946
19711
# look for a macro that doesn't take arguments.
19947
 
cat >confdef2opt.sed <<\_ACEOF
 
19712
ac_script='
19948
19713
t clear
19949
 
: clear
19950
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
19951
 
t quote
19952
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
19953
 
t quote
19954
 
d
19955
 
: quote
19956
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
19957
 
s,\[,\\&,g
19958
 
s,\],\\&,g
19959
 
s,\$,$$,g
19960
 
p
19961
 
_ACEOF
19962
 
# We use echo to avoid assuming a particular line-breaking character.
19963
 
# The extra dot is to prevent the shell from consuming trailing
19964
 
# line-breaks from the sub-command output.  A line-break within
19965
 
# single-quotes doesn't work because, if this script is created in a
19966
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
19967
 
# would break.
19968
 
ac_LF_and_DOT=`echo; echo .`
19969
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
19970
 
rm -f confdef2opt.sed
 
19714
:clear
 
19715
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
19716
t quote
 
19717
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
19718
t quote
 
19719
b any
 
19720
:quote
 
19721
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
19722
s/\[/\\&/g
 
19723
s/\]/\\&/g
 
19724
s/\$/$$/g
 
19725
H
 
19726
:any
 
19727
${
 
19728
        g
 
19729
        s/^\n//
 
19730
        s/\n/ /g
 
19731
        p
 
19732
}
 
19733
'
 
19734
DEFS=`sed -n "$ac_script" confdefs.h`
19971
19735
 
19972
19736
 
19973
19737
ac_libobjs=
19974
19738
ac_ltlibobjs=
19975
19739
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
19976
19740
  # 1. Remove the extension, and $U if already installed.
19977
 
  ac_i=`echo "$ac_i" |
19978
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19979
 
  # 2. Add them.
19980
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19981
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
19741
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
19742
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
19743
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
19744
  #    will be set to the directory where LIBOBJS objects are built.
 
19745
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
19746
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19982
19747
done
19983
19748
LIB@&t@OBJS=$ac_libobjs
19984
19749
 
20030
19795
## M4sh Initialization.  ##
20031
19796
## --------------------- ##
20032
19797
 
20033
 
# Be Bourne compatible
 
19798
# Be more Bourne compatible
 
19799
DUALCASE=1; export DUALCASE # for MKS sh
20034
19800
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20035
19801
  emulate sh
20036
19802
  NULLCMD=:
20037
19803
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20038
19804
  # is contrary to our usage.  Disable this feature.
20039
19805
  alias -g '${1+"$@"}'='"$@"'
20040
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20041
 
  set -o posix
20042
 
fi
20043
 
DUALCASE=1; export DUALCASE # for MKS sh
 
19806
  setopt NO_GLOB_SUBST
 
19807
else
 
19808
  case `(set -o) 2>/dev/null` in
 
19809
  *posix*) set -o posix ;;
 
19810
esac
 
19811
 
 
19812
fi
 
19813
 
 
19814
 
 
19815
 
 
19816
 
 
19817
# PATH needs CR
 
19818
# Avoid depending upon Character Ranges.
 
19819
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
19820
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
19821
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
19822
as_cr_digits='0123456789'
 
19823
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
19824
 
 
19825
# The user is always right.
 
19826
if test "${PATH_SEPARATOR+set}" != set; then
 
19827
  echo "#! /bin/sh" >conf$$.sh
 
19828
  echo  "exit 0"   >>conf$$.sh
 
19829
  chmod +x conf$$.sh
 
19830
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
19831
    PATH_SEPARATOR=';'
 
19832
  else
 
19833
    PATH_SEPARATOR=:
 
19834
  fi
 
19835
  rm -f conf$$.sh
 
19836
fi
20044
19837
 
20045
19838
# Support unset when possible.
20046
19839
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20050
19843
fi
20051
19844
 
20052
19845
 
 
19846
# IFS
 
19847
# We need space, tab and new line, in precisely that order.  Quoting is
 
19848
# there to prevent editors from complaining about space-tab.
 
19849
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
19850
# splitting by setting IFS to empty value.)
 
19851
as_nl='
 
19852
'
 
19853
IFS=" ""        $as_nl"
 
19854
 
 
19855
# Find who we are.  Look in the path if we contain no directory separator.
 
19856
case $0 in
 
19857
  *[\\/]* ) as_myself=$0 ;;
 
19858
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19859
for as_dir in $PATH
 
19860
do
 
19861
  IFS=$as_save_IFS
 
19862
  test -z "$as_dir" && as_dir=.
 
19863
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
19864
done
 
19865
IFS=$as_save_IFS
 
19866
 
 
19867
     ;;
 
19868
esac
 
19869
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
19870
# in which case we are not to be found in the path.
 
19871
if test "x$as_myself" = x; then
 
19872
  as_myself=$0
 
19873
fi
 
19874
if test ! -f "$as_myself"; then
 
19875
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
19876
  { (exit 1); exit 1; }
 
19877
fi
 
19878
 
20053
19879
# Work around bugs in pre-3.0 UWIN ksh.
20054
 
$as_unset ENV MAIL MAILPATH
 
19880
for as_var in ENV MAIL MAILPATH
 
19881
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
19882
done
20055
19883
PS1='$ '
20056
19884
PS2='> '
20057
19885
PS4='+ '
20065
19893
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20066
19894
    eval $as_var=C; export $as_var
20067
19895
  else
20068
 
    $as_unset $as_var
 
19896
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20069
19897
  fi
20070
19898
done
20071
19899
 
20072
19900
# Required to use basename.
20073
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
19901
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
19902
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20074
19903
  as_expr=expr
20075
19904
else
20076
19905
  as_expr=false
20077
19906
fi
20078
19907
 
20079
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
19908
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20080
19909
  as_basename=basename
20081
19910
else
20082
19911
  as_basename=false
20084
19913
 
20085
19914
 
20086
19915
# Name of the executable.
20087
 
as_me=`$as_basename "$0" ||
 
19916
as_me=`$as_basename -- "$0" ||
20088
19917
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20089
19918
         X"$0" : 'X\(//\)$' \| \
20090
 
         X"$0" : 'X\(/\)$' \| \
20091
 
         .     : '\(.\)' 2>/dev/null ||
 
19919
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20092
19920
echo X/"$0" |
20093
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20094
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
20095
 
          /^X\/\(\/\).*/{ s//\1/; q; }
20096
 
          s/.*/./; q'`
20097
 
 
20098
 
 
20099
 
# PATH needs CR, and LINENO needs CR and PATH.
20100
 
# Avoid depending upon Character Ranges.
20101
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20102
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20103
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20104
 
as_cr_digits='0123456789'
20105
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
20106
 
 
20107
 
# The user is always right.
20108
 
if test "${PATH_SEPARATOR+set}" != set; then
20109
 
  echo "#! /bin/sh" >conf$$.sh
20110
 
  echo  "exit 0"   >>conf$$.sh
20111
 
  chmod +x conf$$.sh
20112
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20113
 
    PATH_SEPARATOR=';'
20114
 
  else
20115
 
    PATH_SEPARATOR=:
20116
 
  fi
20117
 
  rm -f conf$$.sh
20118
 
fi
20119
 
 
20120
 
 
20121
 
  as_lineno_1=$LINENO
20122
 
  as_lineno_2=$LINENO
20123
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20124
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20125
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
20126
 
  # Find who we are.  Look in the path if we contain no path at all
20127
 
  # relative or not.
20128
 
  case $0 in
20129
 
    *[\\/]* ) as_myself=$0 ;;
20130
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20131
 
for as_dir in $PATH
20132
 
do
20133
 
  IFS=$as_save_IFS
20134
 
  test -z "$as_dir" && as_dir=.
20135
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20136
 
done
20137
 
 
20138
 
       ;;
20139
 
  esac
20140
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
20141
 
  # in which case we are not to be found in the path.
20142
 
  if test "x$as_myself" = x; then
20143
 
    as_myself=$0
20144
 
  fi
20145
 
  if test ! -f "$as_myself"; then
20146
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20147
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20148
 
   { (exit 1); exit 1; }; }
20149
 
  fi
20150
 
  case $CONFIG_SHELL in
20151
 
  '')
20152
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20153
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20154
 
do
20155
 
  IFS=$as_save_IFS
20156
 
  test -z "$as_dir" && as_dir=.
20157
 
  for as_base in sh bash ksh sh5; do
20158
 
         case $as_dir in
20159
 
         /*)
20160
 
           if ("$as_dir/$as_base" -c '
20161
 
  as_lineno_1=$LINENO
20162
 
  as_lineno_2=$LINENO
20163
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20164
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20165
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
20166
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20167
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20168
 
             CONFIG_SHELL=$as_dir/$as_base
20169
 
             export CONFIG_SHELL
20170
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20171
 
           fi;;
20172
 
         esac
20173
 
       done
20174
 
done
20175
 
;;
20176
 
  esac
 
19921
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
19922
            s//\1/
 
19923
            q
 
19924
          }
 
19925
          /^X\/\(\/\/\)$/{
 
19926
            s//\1/
 
19927
            q
 
19928
          }
 
19929
          /^X\/\(\/\).*/{
 
19930
            s//\1/
 
19931
            q
 
19932
          }
 
19933
          s/.*/./; q'`
 
19934
 
 
19935
# CDPATH.
 
19936
$as_unset CDPATH
 
19937
 
 
19938
 
 
19939
 
 
19940
  as_lineno_1=$LINENO
 
19941
  as_lineno_2=$LINENO
 
19942
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
19943
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20177
19944
 
20178
19945
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20179
19946
  # uniformly replaced by the line number.  The first 'sed' inserts a
20180
 
  # line-number line before each line; the second 'sed' does the real
20181
 
  # work.  The second script uses 'N' to pair each line-number line
20182
 
  # with the numbered line, and appends trailing '-' during
20183
 
  # substitution so that $LINENO is not a special case at line end.
 
19947
  # line-number line after each line using $LINENO; the second 'sed'
 
19948
  # does the real work.  The second script uses 'N' to pair each
 
19949
  # line-number line with the line containing $LINENO, and appends
 
19950
  # trailing '-' during substitution so that $LINENO is not a special
 
19951
  # case at line end.
20184
19952
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20185
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
20186
 
  sed '=' <$as_myself |
 
19953
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
19954
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
19955
  sed -n '
 
19956
    p
 
19957
    /[$]LINENO/=
 
19958
  ' <$as_myself |
20187
19959
    sed '
 
19960
      s/[$]LINENO.*/&-/
 
19961
      t lineno
 
19962
      b
 
19963
      :lineno
20188
19964
      N
20189
 
      s,$,-,
20190
 
      : loop
20191
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
19965
      :loop
 
19966
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20192
19967
      t loop
20193
 
      s,-$,,
20194
 
      s,^['$as_cr_digits']*\n,,
 
19968
      s/-\n.*//
20195
19969
    ' >$as_me.lineno &&
20196
 
  chmod +x $as_me.lineno ||
20197
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20198
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
19970
  chmod +x "$as_me.lineno" ||
 
19971
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20199
19972
   { (exit 1); exit 1; }; }
20200
19973
 
20201
19974
  # Don't try to exec as it changes $[0], causing all sort of problems
20202
19975
  # (the dirname of $[0] is not the place where we might find the
20203
 
  # original and so on.  Autoconf is especially sensible to this).
20204
 
  . ./$as_me.lineno
 
19976
  # original and so on.  Autoconf is especially sensitive to this).
 
19977
  . "./$as_me.lineno"
20205
19978
  # Exit status is that of the last command.
20206
19979
  exit
20207
19980
}
20208
19981
 
20209
19982
 
20210
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20211
 
  *c*,-n*) ECHO_N= ECHO_C='
20212
 
' ECHO_T='      ' ;;
20213
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20214
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
19983
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
19984
  as_dirname=dirname
 
19985
else
 
19986
  as_dirname=false
 
19987
fi
 
19988
 
 
19989
ECHO_C= ECHO_N= ECHO_T=
 
19990
case `echo -n x` in
 
19991
-n*)
 
19992
  case `echo 'x\c'` in
 
19993
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
19994
  *)   ECHO_C='\c';;
 
19995
  esac;;
 
19996
*)
 
19997
  ECHO_N='-n';;
20215
19998
esac
20216
19999
 
20217
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
20000
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
20001
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20218
20002
  as_expr=expr
20219
20003
else
20220
20004
  as_expr=false
20221
20005
fi
20222
20006
 
20223
20007
rm -f conf$$ conf$$.exe conf$$.file
 
20008
if test -d conf$$.dir; then
 
20009
  rm -f conf$$.dir/conf$$.file
 
20010
else
 
20011
  rm -f conf$$.dir
 
20012
  mkdir conf$$.dir
 
20013
fi
20224
20014
echo >conf$$.file
20225
20015
if ln -s conf$$.file conf$$ 2>/dev/null; then
20226
 
  # We could just check for DJGPP; but this test a) works b) is more generic
20227
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20228
 
  if test -f conf$$.exe; then
20229
 
    # Don't use ln at all; we don't have any links
 
20016
  as_ln_s='ln -s'
 
20017
  # ... but there are two gotchas:
 
20018
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
20019
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
20020
  # In both cases, we have to default to `cp -p'.
 
20021
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20230
20022
    as_ln_s='cp -p'
20231
 
  else
20232
 
    as_ln_s='ln -s'
20233
 
  fi
20234
20023
elif ln conf$$.file conf$$ 2>/dev/null; then
20235
20024
  as_ln_s=ln
20236
20025
else
20237
20026
  as_ln_s='cp -p'
20238
20027
fi
20239
 
rm -f conf$$ conf$$.exe conf$$.file
 
20028
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
20029
rmdir conf$$.dir 2>/dev/null
20240
20030
 
20241
20031
if mkdir -p . 2>/dev/null; then
20242
20032
  as_mkdir_p=:
20245
20035
  as_mkdir_p=false
20246
20036
fi
20247
20037
 
20248
 
as_executable_p="test -f"
 
20038
if test -x / >/dev/null 2>&1; then
 
20039
  as_test_x='test -x'
 
20040
else
 
20041
  if ls -dL / >/dev/null 2>&1; then
 
20042
    as_ls_L_option=L
 
20043
  else
 
20044
    as_ls_L_option=
 
20045
  fi
 
20046
  as_test_x='
 
20047
    eval sh -c '\''
 
20048
      if test -d "$1"; then
 
20049
        test -d "$1/.";
 
20050
      else
 
20051
        case $1 in
 
20052
        -*)set "./$1";;
 
20053
        esac;
 
20054
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
20055
        ???[sx]*):;;*)false;;esac;fi
 
20056
    '\'' sh
 
20057
  '
 
20058
fi
 
20059
as_executable_p=$as_test_x
20249
20060
 
20250
20061
# Sed expression to map a string onto a valid CPP name.
20251
20062
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20254
20065
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20255
20066
 
20256
20067
 
20257
 
# IFS
20258
 
# We need space, tab and new line, in precisely that order.
20259
 
as_nl='
20260
 
'
20261
 
IFS="   $as_nl"
20262
 
 
20263
 
# CDPATH.
20264
 
$as_unset CDPATH
20265
 
 
20266
20068
exec 6>&1
20267
20069
 
20268
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
20070
# Save the log message, to keep $[0] and so on meaningful, and to
20269
20071
# report actual input values of CONFIG_FILES etc. instead of their
20270
 
# values after options handling.  Logging --version etc. is OK.
20271
 
exec 5>>config.log
20272
 
{
20273
 
  echo
20274
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
20275
 
@%:@@%:@ Running $as_me. @%:@@%:@
20276
 
_ASBOX
20277
 
} >&5
20278
 
cat >&5 <<_CSEOF
20279
 
 
 
20072
# values after options handling.
 
20073
ac_log="
20280
20074
This file was extended by $as_me, which was
20281
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
20075
generated by GNU Autoconf 2.61.  Invocation command line was
20282
20076
 
20283
20077
  CONFIG_FILES    = $CONFIG_FILES
20284
20078
  CONFIG_HEADERS  = $CONFIG_HEADERS
20286
20080
  CONFIG_COMMANDS = $CONFIG_COMMANDS
20287
20081
  $ $0 $@
20288
20082
 
20289
 
_CSEOF
20290
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20291
 
echo >&5
 
20083
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
20084
"
 
20085
 
20292
20086
_ACEOF
20293
20087
 
 
20088
cat >>$CONFIG_STATUS <<_ACEOF
20294
20089
# Files that config.status was made for.
20295
 
if test -n "$ac_config_files"; then
20296
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20297
 
fi
20298
 
 
20299
 
if test -n "$ac_config_headers"; then
20300
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20301
 
fi
20302
 
 
20303
 
if test -n "$ac_config_links"; then
20304
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20305
 
fi
20306
 
 
20307
 
if test -n "$ac_config_commands"; then
20308
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20309
 
fi
 
20090
config_files="$ac_config_files"
 
20091
config_commands="$ac_config_commands"
 
20092
 
 
20093
_ACEOF
20310
20094
 
20311
20095
cat >>$CONFIG_STATUS <<\_ACEOF
20312
 
 
20313
20096
ac_cs_usage="\
20314
20097
\`$as_me' instantiates files from templates according to the
20315
20098
current configuration.
20317
20100
Usage: $0 [OPTIONS] [FILE]...
20318
20101
 
20319
20102
  -h, --help       print this help, then exit
20320
 
  -V, --version    print version number, then exit
 
20103
  -V, --version    print version number and configuration settings, then exit
20321
20104
  -q, --quiet      do not print progress messages
20322
20105
  -d, --debug      don't remove temporary files
20323
20106
      --recheck    update $as_me by reconfiguring in the same conditions
20331
20114
$config_commands
20332
20115
 
20333
20116
Report bugs to <bug-autoconf@gnu.org>."
 
20117
 
20334
20118
_ACEOF
20335
 
 
20336
20119
cat >>$CONFIG_STATUS <<_ACEOF
20337
20120
ac_cs_version="\\
20338
20121
config.status
20339
 
configured by $0, generated by GNU Autoconf 2.59,
20340
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
20122
configured by $0, generated by GNU Autoconf 2.61,
 
20123
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20341
20124
 
20342
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
20125
Copyright (C) 2006 Free Software Foundation, Inc.
20343
20126
This config.status script is free software; the Free Software Foundation
20344
20127
gives unlimited permission to copy, distribute and modify it."
20345
 
srcdir=$srcdir
20346
 
INSTALL="$INSTALL"
 
20128
 
 
20129
ac_pwd='$ac_pwd'
 
20130
srcdir='$srcdir'
 
20131
INSTALL='$INSTALL'
20347
20132
_ACEOF
20348
20133
 
20349
20134
cat >>$CONFIG_STATUS <<\_ACEOF
20354
20139
do
20355
20140
  case $1 in
20356
20141
  --*=*)
20357
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
20358
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
20142
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
20143
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20359
20144
    ac_shift=:
20360
20145
    ;;
20361
 
  -*)
 
20146
  *)
20362
20147
    ac_option=$1
20363
20148
    ac_optarg=$2
20364
20149
    ac_shift=shift
20365
20150
    ;;
20366
 
  *) # This is not an option, so the user has probably given explicit
20367
 
     # arguments.
20368
 
     ac_option=$1
20369
 
     ac_need_defaults=false;;
20370
20151
  esac
20371
20152
 
20372
20153
  case $ac_option in
20373
20154
  # Handling of the options.
20374
 
_ACEOF
20375
 
cat >>$CONFIG_STATUS <<\_ACEOF
20376
20155
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20377
20156
    ac_cs_recheck=: ;;
20378
 
  --version | --vers* | -V )
20379
 
    echo "$ac_cs_version"; exit 0 ;;
20380
 
  --he | --h)
20381
 
    # Conflict between --help and --header
20382
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
20383
 
Try \`$0 --help' for more information." >&5
20384
 
echo "$as_me: error: ambiguous option: $1
20385
 
Try \`$0 --help' for more information." >&2;}
20386
 
   { (exit 1); exit 1; }; };;
20387
 
  --help | --hel | -h )
20388
 
    echo "$ac_cs_usage"; exit 0 ;;
20389
 
  --debug | --d* | -d )
 
20157
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
20158
    echo "$ac_cs_version"; exit ;;
 
20159
  --debug | --debu | --deb | --de | --d | -d )
20390
20160
    debug=: ;;
20391
20161
  --file | --fil | --fi | --f )
20392
20162
    $ac_shift
20393
20163
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20394
20164
    ac_need_defaults=false;;
20395
 
  --header | --heade | --head | --hea )
20396
 
    $ac_shift
20397
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20398
 
    ac_need_defaults=false;;
 
20165
  --he | --h |  --help | --hel | -h )
 
20166
    echo "$ac_cs_usage"; exit ;;
20399
20167
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20400
20168
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20401
20169
    ac_cs_silent=: ;;
20402
20170
 
20403
20171
  # This is an error.
20404
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20405
 
Try \`$0 --help' for more information." >&5
20406
 
echo "$as_me: error: unrecognized option: $1
20407
 
Try \`$0 --help' for more information." >&2;}
 
20172
  -*) { echo "$as_me: error: unrecognized option: $1
 
20173
Try \`$0 --help' for more information." >&2
20408
20174
   { (exit 1); exit 1; }; } ;;
20409
20175
 
20410
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
20176
  *) ac_config_targets="$ac_config_targets $1"
 
20177
     ac_need_defaults=false ;;
20411
20178
 
20412
20179
  esac
20413
20180
  shift
20423
20190
_ACEOF
20424
20191
cat >>$CONFIG_STATUS <<_ACEOF
20425
20192
if \$ac_cs_recheck; then
20426
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20427
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20193
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
20194
  CONFIG_SHELL=$SHELL
 
20195
  export CONFIG_SHELL
 
20196
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20428
20197
fi
20429
20198
 
20430
20199
_ACEOF
 
20200
cat >>$CONFIG_STATUS <<\_ACEOF
 
20201
exec 5>>config.log
 
20202
{
 
20203
  echo
 
20204
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
20205
@%:@@%:@ Running $as_me. @%:@@%:@
 
20206
_ASBOX
 
20207
  echo "$ac_log"
 
20208
} >&5
20431
20209
 
 
20210
_ACEOF
20432
20211
cat >>$CONFIG_STATUS <<_ACEOF
20433
20212
#
20434
 
# INIT-COMMANDS section.
 
20213
# INIT-COMMANDS
20435
20214
#
20436
 
 
20437
20215
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20438
20216
 
20439
20217
_ACEOF
20440
20218
 
20441
 
 
20442
 
 
20443
20219
cat >>$CONFIG_STATUS <<\_ACEOF
 
20220
 
 
20221
# Handling of arguments.
20444
20222
for ac_config_target in $ac_config_targets
20445
20223
do
20446
 
  case "$ac_config_target" in
20447
 
  # Handling of arguments.
20448
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20449
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20450
 
  "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;;
20451
 
  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20452
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
20224
  case $ac_config_target in
 
20225
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
20226
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
20227
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
20228
    "console/Makefile") CONFIG_FILES="$CONFIG_FILES console/Makefile" ;;
 
20229
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
20230
 
20453
20231
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20454
20232
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20455
20233
   { (exit 1); exit 1; }; };;
20456
20234
  esac
20457
20235
done
20458
20236
 
 
20237
 
20459
20238
# If the user did not use the arguments to specify the items to instantiate,
20460
20239
# then the envvar interface is used.  Set only those that are not.
20461
20240
# We use the long form for the default assignment because of an extremely
20466
20245
fi
20467
20246
 
20468
20247
# Have a temporary directory for convenience.  Make it in the build tree
20469
 
# simply because there is no reason to put it here, and in addition,
 
20248
# simply because there is no reason against having it here, and in addition,
20470
20249
# creating and moving files from /tmp can sometimes cause problems.
20471
 
# Create a temporary directory, and hook for its removal unless debugging.
 
20250
# Hook for its removal unless debugging.
 
20251
# Note that there is a small window in which the directory will not be cleaned:
 
20252
# after its creation but before its name has been assigned to `$tmp'.
20472
20253
$debug ||
20473
20254
{
20474
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
20255
  tmp=
 
20256
  trap 'exit_status=$?
 
20257
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
20258
' 0
20475
20259
  trap '{ (exit 1); exit 1; }' 1 2 13 15
20476
20260
}
20477
 
 
20478
20261
# Create a (secure) tmp directory for tmp files.
20479
20262
 
20480
20263
{
20481
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
20264
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20482
20265
  test -n "$tmp" && test -d "$tmp"
20483
20266
}  ||
20484
20267
{
20485
 
  tmp=./confstat$$-$RANDOM
20486
 
  (umask 077 && mkdir $tmp)
 
20268
  tmp=./conf$$-$RANDOM
 
20269
  (umask 077 && mkdir "$tmp")
20487
20270
} ||
20488
20271
{
20489
20272
   echo "$me: cannot create a temporary directory in ." >&2
20490
20273
   { (exit 1); exit 1; }
20491
20274
}
20492
20275
 
20493
 
_ACEOF
20494
 
 
20495
 
cat >>$CONFIG_STATUS <<_ACEOF
20496
 
 
20497
20276
#
20498
 
# CONFIG_FILES section.
 
20277
# Set up the sed scripts for CONFIG_FILES section.
20499
20278
#
20500
20279
 
20501
20280
# No need to generate the scripts if there are no CONFIG_FILES.
20502
20281
# This happens for instance when ./config.status config.h
20503
 
if test -n "\$CONFIG_FILES"; then
20504
 
  # Protect against being on the right side of a sed subst in config.status.
20505
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20506
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20507
 
s,@SHELL@,$SHELL,;t t
20508
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20509
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20510
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20511
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20512
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20513
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20514
 
s,@exec_prefix@,$exec_prefix,;t t
20515
 
s,@prefix@,$prefix,;t t
20516
 
s,@program_transform_name@,$program_transform_name,;t t
20517
 
s,@bindir@,$bindir,;t t
20518
 
s,@sbindir@,$sbindir,;t t
20519
 
s,@libexecdir@,$libexecdir,;t t
20520
 
s,@datadir@,$datadir,;t t
20521
 
s,@sysconfdir@,$sysconfdir,;t t
20522
 
s,@sharedstatedir@,$sharedstatedir,;t t
20523
 
s,@localstatedir@,$localstatedir,;t t
20524
 
s,@libdir@,$libdir,;t t
20525
 
s,@includedir@,$includedir,;t t
20526
 
s,@oldincludedir@,$oldincludedir,;t t
20527
 
s,@infodir@,$infodir,;t t
20528
 
s,@mandir@,$mandir,;t t
20529
 
s,@build_alias@,$build_alias,;t t
20530
 
s,@host_alias@,$host_alias,;t t
20531
 
s,@target_alias@,$target_alias,;t t
20532
 
s,@DEFS@,$DEFS,;t t
20533
 
s,@ECHO_C@,$ECHO_C,;t t
20534
 
s,@ECHO_N@,$ECHO_N,;t t
20535
 
s,@ECHO_T@,$ECHO_T,;t t
20536
 
s,@LIBS@,$LIBS,;t t
20537
 
s,@LIBTIDY_VERSION@,$LIBTIDY_VERSION,;t t
20538
 
s,@LT_RELEASE@,$LT_RELEASE,;t t
20539
 
s,@LT_CURRENT@,$LT_CURRENT,;t t
20540
 
s,@LT_REVISION@,$LT_REVISION,;t t
20541
 
s,@LT_AGE@,$LT_AGE,;t t
20542
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20543
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20544
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20545
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
20546
 
s,@PACKAGE@,$PACKAGE,;t t
20547
 
s,@VERSION@,$VERSION,;t t
20548
 
s,@ACLOCAL@,$ACLOCAL,;t t
20549
 
s,@AUTOCONF@,$AUTOCONF,;t t
20550
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
20551
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
20552
 
s,@MAKEINFO@,$MAKEINFO,;t t
20553
 
s,@install_sh@,$install_sh,;t t
20554
 
s,@STRIP@,$STRIP,;t t
20555
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20556
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20557
 
s,@mkdir_p@,$mkdir_p,;t t
20558
 
s,@AWK@,$AWK,;t t
20559
 
s,@SET_MAKE@,$SET_MAKE,;t t
20560
 
s,@am__leading_dot@,$am__leading_dot,;t t
20561
 
s,@AMTAR@,$AMTAR,;t t
20562
 
s,@am__tar@,$am__tar,;t t
20563
 
s,@am__untar@,$am__untar,;t t
20564
 
s,@CC@,$CC,;t t
20565
 
s,@CFLAGS@,$CFLAGS,;t t
20566
 
s,@LDFLAGS@,$LDFLAGS,;t t
20567
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
20568
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
20569
 
s,@EXEEXT@,$EXEEXT,;t t
20570
 
s,@OBJEXT@,$OBJEXT,;t t
20571
 
s,@DEPDIR@,$DEPDIR,;t t
20572
 
s,@am__include@,$am__include,;t t
20573
 
s,@am__quote@,$am__quote,;t t
20574
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20575
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20576
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20577
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
20578
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20579
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20580
 
s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
20581
 
s,@CPP@,$CPP,;t t
20582
 
s,@CXX@,$CXX,;t t
20583
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
20584
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20585
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20586
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20587
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20588
 
s,@LN_S@,$LN_S,;t t
20589
 
s,@build@,$build,;t t
20590
 
s,@build_cpu@,$build_cpu,;t t
20591
 
s,@build_vendor@,$build_vendor,;t t
20592
 
s,@build_os@,$build_os,;t t
20593
 
s,@host@,$host,;t t
20594
 
s,@host_cpu@,$host_cpu,;t t
20595
 
s,@host_vendor@,$host_vendor,;t t
20596
 
s,@host_os@,$host_os,;t t
20597
 
s,@EGREP@,$EGREP,;t t
20598
 
s,@ECHO@,$ECHO,;t t
20599
 
s,@AR@,$AR,;t t
20600
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
20601
 
s,@RANLIB@,$RANLIB,;t t
20602
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20603
 
s,@CXXCPP@,$CXXCPP,;t t
20604
 
s,@F77@,$F77,;t t
20605
 
s,@FFLAGS@,$FFLAGS,;t t
20606
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
20607
 
s,@LIBTOOL@,$LIBTOOL,;t t
20608
 
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
20609
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20610
 
CEOF
20611
 
 
20612
 
_ACEOF
20613
 
 
20614
 
  cat >>$CONFIG_STATUS <<\_ACEOF
20615
 
  # Split the substitutions into bite-sized pieces for seds with
20616
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
20617
 
  ac_max_sed_lines=48
20618
 
  ac_sed_frag=1 # Number of current file.
20619
 
  ac_beg=1 # First line for current file.
20620
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
20621
 
  ac_more_lines=:
20622
 
  ac_sed_cmds=
20623
 
  while $ac_more_lines; do
20624
 
    if test $ac_beg -gt 1; then
20625
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20626
 
    else
20627
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20628
 
    fi
20629
 
    if test ! -s $tmp/subs.frag; then
20630
 
      ac_more_lines=false
20631
 
    else
20632
 
      # The purpose of the label and of the branching condition is to
20633
 
      # speed up the sed processing (if there are no `@' at all, there
20634
 
      # is no need to browse any of the substitutions).
20635
 
      # These are the two extra sed commands mentioned above.
20636
 
      (echo ':t
20637
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20638
 
      if test -z "$ac_sed_cmds"; then
20639
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20640
 
      else
20641
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20642
 
      fi
20643
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
20644
 
      ac_beg=$ac_end
20645
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
20646
 
    fi
20647
 
  done
20648
 
  if test -z "$ac_sed_cmds"; then
20649
 
    ac_sed_cmds=cat
20650
 
  fi
 
20282
if test -n "$CONFIG_FILES"; then
 
20283
 
 
20284
_ACEOF
 
20285
 
 
20286
 
 
20287
 
 
20288
ac_delim='%!_!# '
 
20289
for ac_last_try in false false false false false :; do
 
20290
  cat >conf$$subs.sed <<_ACEOF
 
20291
SHELL!$SHELL$ac_delim
 
20292
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
20293
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
20294
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
20295
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
20296
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
20297
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
20298
exec_prefix!$exec_prefix$ac_delim
 
20299
prefix!$prefix$ac_delim
 
20300
program_transform_name!$program_transform_name$ac_delim
 
20301
bindir!$bindir$ac_delim
 
20302
sbindir!$sbindir$ac_delim
 
20303
libexecdir!$libexecdir$ac_delim
 
20304
datarootdir!$datarootdir$ac_delim
 
20305
datadir!$datadir$ac_delim
 
20306
sysconfdir!$sysconfdir$ac_delim
 
20307
sharedstatedir!$sharedstatedir$ac_delim
 
20308
localstatedir!$localstatedir$ac_delim
 
20309
includedir!$includedir$ac_delim
 
20310
oldincludedir!$oldincludedir$ac_delim
 
20311
docdir!$docdir$ac_delim
 
20312
infodir!$infodir$ac_delim
 
20313
htmldir!$htmldir$ac_delim
 
20314
dvidir!$dvidir$ac_delim
 
20315
pdfdir!$pdfdir$ac_delim
 
20316
psdir!$psdir$ac_delim
 
20317
libdir!$libdir$ac_delim
 
20318
localedir!$localedir$ac_delim
 
20319
mandir!$mandir$ac_delim
 
20320
DEFS!$DEFS$ac_delim
 
20321
ECHO_C!$ECHO_C$ac_delim
 
20322
ECHO_N!$ECHO_N$ac_delim
 
20323
ECHO_T!$ECHO_T$ac_delim
 
20324
LIBS!$LIBS$ac_delim
 
20325
build_alias!$build_alias$ac_delim
 
20326
host_alias!$host_alias$ac_delim
 
20327
target_alias!$target_alias$ac_delim
 
20328
LIBTIDY_VERSION!$LIBTIDY_VERSION$ac_delim
 
20329
LT_RELEASE!$LT_RELEASE$ac_delim
 
20330
LT_CURRENT!$LT_CURRENT$ac_delim
 
20331
LT_REVISION!$LT_REVISION$ac_delim
 
20332
LT_AGE!$LT_AGE$ac_delim
 
20333
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
20334
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
20335
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
20336
CYGPATH_W!$CYGPATH_W$ac_delim
 
20337
PACKAGE!$PACKAGE$ac_delim
 
20338
VERSION!$VERSION$ac_delim
 
20339
ACLOCAL!$ACLOCAL$ac_delim
 
20340
AUTOCONF!$AUTOCONF$ac_delim
 
20341
AUTOMAKE!$AUTOMAKE$ac_delim
 
20342
AUTOHEADER!$AUTOHEADER$ac_delim
 
20343
MAKEINFO!$MAKEINFO$ac_delim
 
20344
install_sh!$install_sh$ac_delim
 
20345
STRIP!$STRIP$ac_delim
 
20346
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
20347
mkdir_p!$mkdir_p$ac_delim
 
20348
AWK!$AWK$ac_delim
 
20349
SET_MAKE!$SET_MAKE$ac_delim
 
20350
am__leading_dot!$am__leading_dot$ac_delim
 
20351
AMTAR!$AMTAR$ac_delim
 
20352
am__tar!$am__tar$ac_delim
 
20353
am__untar!$am__untar$ac_delim
 
20354
CC!$CC$ac_delim
 
20355
CFLAGS!$CFLAGS$ac_delim
 
20356
LDFLAGS!$LDFLAGS$ac_delim
 
20357
CPPFLAGS!$CPPFLAGS$ac_delim
 
20358
ac_ct_CC!$ac_ct_CC$ac_delim
 
20359
EXEEXT!$EXEEXT$ac_delim
 
20360
OBJEXT!$OBJEXT$ac_delim
 
20361
DEPDIR!$DEPDIR$ac_delim
 
20362
am__include!$am__include$ac_delim
 
20363
am__quote!$am__quote$ac_delim
 
20364
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
20365
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
20366
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
20367
CCDEPMODE!$CCDEPMODE$ac_delim
 
20368
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
20369
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
20370
WARNING_CFLAGS!$WARNING_CFLAGS$ac_delim
 
20371
CPP!$CPP$ac_delim
 
20372
CXX!$CXX$ac_delim
 
20373
CXXFLAGS!$CXXFLAGS$ac_delim
 
20374
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
20375
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
20376
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
20377
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
20378
LN_S!$LN_S$ac_delim
 
20379
build!$build$ac_delim
 
20380
build_cpu!$build_cpu$ac_delim
 
20381
build_vendor!$build_vendor$ac_delim
 
20382
build_os!$build_os$ac_delim
 
20383
host!$host$ac_delim
 
20384
host_cpu!$host_cpu$ac_delim
 
20385
host_vendor!$host_vendor$ac_delim
 
20386
host_os!$host_os$ac_delim
 
20387
SED!$SED$ac_delim
 
20388
_ACEOF
 
20389
 
 
20390
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
20391
    break
 
20392
  elif $ac_last_try; then
 
20393
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
20394
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
20395
   { (exit 1); exit 1; }; }
 
20396
  else
 
20397
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20398
  fi
 
20399
done
 
20400
 
 
20401
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
20402
if test -n "$ac_eof"; then
 
20403
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
20404
  ac_eof=`expr $ac_eof + 1`
 
20405
fi
 
20406
 
 
20407
cat >>$CONFIG_STATUS <<_ACEOF
 
20408
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
20409
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
20410
_ACEOF
 
20411
sed '
 
20412
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
20413
s/^/s,@/; s/!/@,|#_!!_#|/
 
20414
:n
 
20415
t n
 
20416
s/'"$ac_delim"'$/,g/; t
 
20417
s/$/\\/; p
 
20418
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
20419
' >>$CONFIG_STATUS <conf$$subs.sed
 
20420
rm -f conf$$subs.sed
 
20421
cat >>$CONFIG_STATUS <<_ACEOF
 
20422
CEOF$ac_eof
 
20423
_ACEOF
 
20424
 
 
20425
 
 
20426
ac_delim='%!_!# '
 
20427
for ac_last_try in false false false false false :; do
 
20428
  cat >conf$$subs.sed <<_ACEOF
 
20429
GREP!$GREP$ac_delim
 
20430
EGREP!$EGREP$ac_delim
 
20431
ECHO!$ECHO$ac_delim
 
20432
AR!$AR$ac_delim
 
20433
RANLIB!$RANLIB$ac_delim
 
20434
CXXCPP!$CXXCPP$ac_delim
 
20435
F77!$F77$ac_delim
 
20436
FFLAGS!$FFLAGS$ac_delim
 
20437
ac_ct_F77!$ac_ct_F77$ac_delim
 
20438
LIBTOOL!$LIBTOOL$ac_delim
 
20439
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
 
20440
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
20441
_ACEOF
 
20442
 
 
20443
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
 
20444
    break
 
20445
  elif $ac_last_try; then
 
20446
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
20447
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
20448
   { (exit 1); exit 1; }; }
 
20449
  else
 
20450
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20451
  fi
 
20452
done
 
20453
 
 
20454
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
20455
if test -n "$ac_eof"; then
 
20456
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
20457
  ac_eof=`expr $ac_eof + 1`
 
20458
fi
 
20459
 
 
20460
cat >>$CONFIG_STATUS <<_ACEOF
 
20461
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
20462
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
20463
_ACEOF
 
20464
sed '
 
20465
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
20466
s/^/s,@/; s/!/@,|#_!!_#|/
 
20467
:n
 
20468
t n
 
20469
s/'"$ac_delim"'$/,g/; t
 
20470
s/$/\\/; p
 
20471
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
20472
' >>$CONFIG_STATUS <conf$$subs.sed
 
20473
rm -f conf$$subs.sed
 
20474
cat >>$CONFIG_STATUS <<_ACEOF
 
20475
:end
 
20476
s/|#_!!_#|//g
 
20477
CEOF$ac_eof
 
20478
_ACEOF
 
20479
 
 
20480
 
 
20481
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
20482
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
20483
# trailing colons and then remove the whole line if VPATH becomes empty
 
20484
# (actually we leave an empty line to preserve line numbers).
 
20485
if test "x$srcdir" = x.; then
 
20486
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
20487
s/:*\$(srcdir):*/:/
 
20488
s/:*\${srcdir}:*/:/
 
20489
s/:*@srcdir@:*/:/
 
20490
s/^\([^=]*=[     ]*\):*/\1/
 
20491
s/:*$//
 
20492
s/^[^=]*=[       ]*$//
 
20493
}'
 
20494
fi
 
20495
 
 
20496
cat >>$CONFIG_STATUS <<\_ACEOF
20651
20497
fi # test -n "$CONFIG_FILES"
20652
20498
 
20653
 
_ACEOF
20654
 
cat >>$CONFIG_STATUS <<\_ACEOF
20655
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20656
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20657
 
  case $ac_file in
20658
 
  - | *:- | *:-:* ) # input from stdin
20659
 
        cat >$tmp/stdin
20660
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20661
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20662
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20663
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20664
 
  * )   ac_file_in=$ac_file.in ;;
20665
 
  esac
20666
 
 
20667
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20668
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
20499
 
 
20500
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
 
20501
do
 
20502
  case $ac_tag in
 
20503
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
20504
  esac
 
20505
  case $ac_mode$ac_tag in
 
20506
  :[FHL]*:*);;
 
20507
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
20508
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
20509
   { (exit 1); exit 1; }; };;
 
20510
  :[FH]-) ac_tag=-:-;;
 
20511
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
20512
  esac
 
20513
  ac_save_IFS=$IFS
 
20514
  IFS=:
 
20515
  set x $ac_tag
 
20516
  IFS=$ac_save_IFS
 
20517
  shift
 
20518
  ac_file=$1
 
20519
  shift
 
20520
 
 
20521
  case $ac_mode in
 
20522
  :L) ac_source=$1;;
 
20523
  :[FH])
 
20524
    ac_file_inputs=
 
20525
    for ac_f
 
20526
    do
 
20527
      case $ac_f in
 
20528
      -) ac_f="$tmp/stdin";;
 
20529
      *) # Look for the file first in the build tree, then in the source tree
 
20530
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
20531
         # because $ac_f cannot contain `:'.
 
20532
         test -f "$ac_f" ||
 
20533
           case $ac_f in
 
20534
           [\\/$]*) false;;
 
20535
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
20536
           esac ||
 
20537
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
20538
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
20539
   { (exit 1); exit 1; }; };;
 
20540
      esac
 
20541
      ac_file_inputs="$ac_file_inputs $ac_f"
 
20542
    done
 
20543
 
 
20544
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
20545
    # use $as_me), people would be surprised to read:
 
20546
    #    /* config.h.  Generated by config.status.  */
 
20547
    configure_input="Generated from "`IFS=:
 
20548
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
20549
    if test x"$ac_file" != x-; then
 
20550
      configure_input="$ac_file.  $configure_input"
 
20551
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
20552
echo "$as_me: creating $ac_file" >&6;}
 
20553
    fi
 
20554
 
 
20555
    case $ac_tag in
 
20556
    *:-:* | *:-) cat >"$tmp/stdin";;
 
20557
    esac
 
20558
    ;;
 
20559
  esac
 
20560
 
 
20561
  ac_dir=`$as_dirname -- "$ac_file" ||
20669
20562
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20670
20563
         X"$ac_file" : 'X\(//\)[^/]' \| \
20671
20564
         X"$ac_file" : 'X\(//\)$' \| \
20672
 
         X"$ac_file" : 'X\(/\)' \| \
20673
 
         .     : '\(.\)' 2>/dev/null ||
 
20565
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20674
20566
echo X"$ac_file" |
20675
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20676
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20677
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20678
 
          /^X\(\/\).*/{ s//\1/; q; }
20679
 
          s/.*/./; q'`
20680
 
  { if $as_mkdir_p; then
20681
 
    mkdir -p "$ac_dir"
20682
 
  else
20683
 
    as_dir="$ac_dir"
 
20567
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20568
            s//\1/
 
20569
            q
 
20570
          }
 
20571
          /^X\(\/\/\)[^/].*/{
 
20572
            s//\1/
 
20573
            q
 
20574
          }
 
20575
          /^X\(\/\/\)$/{
 
20576
            s//\1/
 
20577
            q
 
20578
          }
 
20579
          /^X\(\/\).*/{
 
20580
            s//\1/
 
20581
            q
 
20582
          }
 
20583
          s/.*/./; q'`
 
20584
  { as_dir="$ac_dir"
 
20585
  case $as_dir in #(
 
20586
  -*) as_dir=./$as_dir;;
 
20587
  esac
 
20588
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20684
20589
    as_dirs=
20685
 
    while test ! -d "$as_dir"; do
20686
 
      as_dirs="$as_dir $as_dirs"
20687
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
20590
    while :; do
 
20591
      case $as_dir in #(
 
20592
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
20593
      *) as_qdir=$as_dir;;
 
20594
      esac
 
20595
      as_dirs="'$as_qdir' $as_dirs"
 
20596
      as_dir=`$as_dirname -- "$as_dir" ||
20688
20597
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20689
20598
         X"$as_dir" : 'X\(//\)[^/]' \| \
20690
20599
         X"$as_dir" : 'X\(//\)$' \| \
20691
 
         X"$as_dir" : 'X\(/\)' \| \
20692
 
         .     : '\(.\)' 2>/dev/null ||
 
20600
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20693
20601
echo X"$as_dir" |
20694
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20695
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20696
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20697
 
          /^X\(\/\).*/{ s//\1/; q; }
20698
 
          s/.*/./; q'`
 
20602
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20603
            s//\1/
 
20604
            q
 
20605
          }
 
20606
          /^X\(\/\/\)[^/].*/{
 
20607
            s//\1/
 
20608
            q
 
20609
          }
 
20610
          /^X\(\/\/\)$/{
 
20611
            s//\1/
 
20612
            q
 
20613
          }
 
20614
          /^X\(\/\).*/{
 
20615
            s//\1/
 
20616
            q
 
20617
          }
 
20618
          s/.*/./; q'`
 
20619
      test -d "$as_dir" && break
20699
20620
    done
20700
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20701
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20702
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
20621
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
20622
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
20623
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20703
20624
   { (exit 1); exit 1; }; }; }
20704
 
 
20705
20625
  ac_builddir=.
20706
20626
 
20707
 
if test "$ac_dir" != .; then
 
20627
case "$ac_dir" in
 
20628
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
20629
*)
20708
20630
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20709
 
  # A "../" for each directory in $ac_dir_suffix.
20710
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20711
 
else
20712
 
  ac_dir_suffix= ac_top_builddir=
20713
 
fi
 
20631
  # A ".." for each directory in $ac_dir_suffix.
 
20632
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
20633
  case $ac_top_builddir_sub in
 
20634
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
20635
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
20636
  esac ;;
 
20637
esac
 
20638
ac_abs_top_builddir=$ac_pwd
 
20639
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
20640
# for backward compatibility:
 
20641
ac_top_builddir=$ac_top_build_prefix
20714
20642
 
20715
20643
case $srcdir in
20716
 
  .)  # No --srcdir option.  We are building in place.
 
20644
  .)  # We are building in place.
20717
20645
    ac_srcdir=.
20718
 
    if test -z "$ac_top_builddir"; then
20719
 
       ac_top_srcdir=.
20720
 
    else
20721
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20722
 
    fi ;;
20723
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
20646
    ac_top_srcdir=$ac_top_builddir_sub
 
20647
    ac_abs_top_srcdir=$ac_pwd ;;
 
20648
  [\\/]* | ?:[\\/]* )  # Absolute name.
20724
20649
    ac_srcdir=$srcdir$ac_dir_suffix;
20725
 
    ac_top_srcdir=$srcdir ;;
20726
 
  *) # Relative path.
20727
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20728
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20729
 
esac
20730
 
 
20731
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20732
 
# the directories may not exist.
20733
 
case `pwd` in
20734
 
.) ac_abs_builddir="$ac_dir";;
20735
 
*)
20736
 
  case "$ac_dir" in
20737
 
  .) ac_abs_builddir=`pwd`;;
20738
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20739
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20740
 
  esac;;
20741
 
esac
20742
 
case $ac_abs_builddir in
20743
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20744
 
*)
20745
 
  case ${ac_top_builddir}. in
20746
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20747
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20748
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20749
 
  esac;;
20750
 
esac
20751
 
case $ac_abs_builddir in
20752
 
.) ac_abs_srcdir=$ac_srcdir;;
20753
 
*)
20754
 
  case $ac_srcdir in
20755
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20756
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20757
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20758
 
  esac;;
20759
 
esac
20760
 
case $ac_abs_builddir in
20761
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20762
 
*)
20763
 
  case $ac_top_srcdir in
20764
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20765
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20766
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20767
 
  esac;;
20768
 
esac
20769
 
 
 
20650
    ac_top_srcdir=$srcdir
 
20651
    ac_abs_top_srcdir=$srcdir ;;
 
20652
  *) # Relative name.
 
20653
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
20654
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
20655
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
20656
esac
 
20657
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
20658
 
 
20659
 
 
20660
  case $ac_mode in
 
20661
  :F)
 
20662
  #
 
20663
  # CONFIG_FILE
 
20664
  #
20770
20665
 
20771
20666
  case $INSTALL in
20772
20667
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20773
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
20668
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20774
20669
  esac
20775
 
 
20776
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20777
 
  # use $as_me), people would be surprised to read:
20778
 
  #    /* config.h.  Generated by config.status.  */
20779
 
  if test x"$ac_file" = x-; then
20780
 
    configure_input=
20781
 
  else
20782
 
    configure_input="$ac_file.  "
20783
 
  fi
20784
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
20785
 
                                     sed 's,.*/,,'` by configure."
20786
 
 
20787
 
  # First look for the input files in the build tree, otherwise in the
20788
 
  # src tree.
20789
 
  ac_file_inputs=`IFS=:
20790
 
    for f in $ac_file_in; do
20791
 
      case $f in
20792
 
      -) echo $tmp/stdin ;;
20793
 
      [\\/$]*)
20794
 
         # Absolute (can't be DOS-style, as IFS=:)
20795
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20796
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20797
 
   { (exit 1); exit 1; }; }
20798
 
         echo "$f";;
20799
 
      *) # Relative
20800
 
         if test -f "$f"; then
20801
 
           # Build tree
20802
 
           echo "$f"
20803
 
         elif test -f "$srcdir/$f"; then
20804
 
           # Source tree
20805
 
           echo "$srcdir/$f"
20806
 
         else
20807
 
           # /dev/null tree
20808
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20809
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20810
 
   { (exit 1); exit 1; }; }
20811
 
         fi;;
20812
 
      esac
20813
 
    done` || { (exit 1); exit 1; }
20814
 
 
20815
 
  if test x"$ac_file" != x-; then
20816
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
20817
 
echo "$as_me: creating $ac_file" >&6;}
20818
 
    rm -f "$ac_file"
20819
 
  fi
20820
 
_ACEOF
 
20670
_ACEOF
 
20671
 
 
20672
cat >>$CONFIG_STATUS <<\_ACEOF
 
20673
# If the template does not know about datarootdir, expand it.
 
20674
# FIXME: This hack should be removed a few years after 2.60.
 
20675
ac_datarootdir_hack=; ac_datarootdir_seen=
 
20676
 
 
20677
case `sed -n '/datarootdir/ {
 
20678
  p
 
20679
  q
 
20680
}
 
20681
/@datadir@/p
 
20682
/@docdir@/p
 
20683
/@infodir@/p
 
20684
/@localedir@/p
 
20685
/@mandir@/p
 
20686
' $ac_file_inputs` in
 
20687
*datarootdir*) ac_datarootdir_seen=yes;;
 
20688
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
20689
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
20690
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
20691
_ACEOF
 
20692
cat >>$CONFIG_STATUS <<_ACEOF
 
20693
  ac_datarootdir_hack='
 
20694
  s&@datadir@&$datadir&g
 
20695
  s&@docdir@&$docdir&g
 
20696
  s&@infodir@&$infodir&g
 
20697
  s&@localedir@&$localedir&g
 
20698
  s&@mandir@&$mandir&g
 
20699
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
20700
esac
 
20701
_ACEOF
 
20702
 
 
20703
# Neutralize VPATH when `$srcdir' = `.'.
 
20704
# Shell code in configure.ac might set extrasub.
 
20705
# FIXME: do we really want to maintain this feature?
20821
20706
cat >>$CONFIG_STATUS <<_ACEOF
20822
20707
  sed "$ac_vpsub
20823
20708
$extrasub
20825
20710
cat >>$CONFIG_STATUS <<\_ACEOF
20826
20711
:t
20827
20712
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20828
 
s,@configure_input@,$configure_input,;t t
20829
 
s,@srcdir@,$ac_srcdir,;t t
20830
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20831
 
s,@top_srcdir@,$ac_top_srcdir,;t t
20832
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20833
 
s,@builddir@,$ac_builddir,;t t
20834
 
s,@abs_builddir@,$ac_abs_builddir,;t t
20835
 
s,@top_builddir@,$ac_top_builddir,;t t
20836
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20837
 
s,@INSTALL@,$ac_INSTALL,;t t
20838
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20839
 
  rm -f $tmp/stdin
20840
 
  if test x"$ac_file" != x-; then
20841
 
    mv $tmp/out $ac_file
20842
 
  else
20843
 
    cat $tmp/out
20844
 
    rm -f $tmp/out
20845
 
  fi
20846
 
 
20847
 
done
20848
 
_ACEOF
20849
 
cat >>$CONFIG_STATUS <<\_ACEOF
20850
 
 
20851
 
#
20852
 
# CONFIG_COMMANDS section.
20853
 
#
20854
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20855
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20856
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20857
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20858
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20859
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
20860
 
         X"$ac_dest" : 'X\(//\)$' \| \
20861
 
         X"$ac_dest" : 'X\(/\)' \| \
20862
 
         .     : '\(.\)' 2>/dev/null ||
20863
 
echo X"$ac_dest" |
20864
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20865
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20866
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20867
 
          /^X\(\/\).*/{ s//\1/; q; }
20868
 
          s/.*/./; q'`
20869
 
  { if $as_mkdir_p; then
20870
 
    mkdir -p "$ac_dir"
20871
 
  else
20872
 
    as_dir="$ac_dir"
20873
 
    as_dirs=
20874
 
    while test ! -d "$as_dir"; do
20875
 
      as_dirs="$as_dir $as_dirs"
20876
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20877
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20878
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20879
 
         X"$as_dir" : 'X\(//\)$' \| \
20880
 
         X"$as_dir" : 'X\(/\)' \| \
20881
 
         .     : '\(.\)' 2>/dev/null ||
20882
 
echo X"$as_dir" |
20883
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20884
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20885
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20886
 
          /^X\(\/\).*/{ s//\1/; q; }
20887
 
          s/.*/./; q'`
20888
 
    done
20889
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20890
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20891
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20892
 
   { (exit 1); exit 1; }; }; }
20893
 
 
20894
 
  ac_builddir=.
20895
 
 
20896
 
if test "$ac_dir" != .; then
20897
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20898
 
  # A "../" for each directory in $ac_dir_suffix.
20899
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20900
 
else
20901
 
  ac_dir_suffix= ac_top_builddir=
20902
 
fi
20903
 
 
20904
 
case $srcdir in
20905
 
  .)  # No --srcdir option.  We are building in place.
20906
 
    ac_srcdir=.
20907
 
    if test -z "$ac_top_builddir"; then
20908
 
       ac_top_srcdir=.
20909
 
    else
20910
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20911
 
    fi ;;
20912
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
20913
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20914
 
    ac_top_srcdir=$srcdir ;;
20915
 
  *) # Relative path.
20916
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20917
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20918
 
esac
20919
 
 
20920
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20921
 
# the directories may not exist.
20922
 
case `pwd` in
20923
 
.) ac_abs_builddir="$ac_dir";;
20924
 
*)
20925
 
  case "$ac_dir" in
20926
 
  .) ac_abs_builddir=`pwd`;;
20927
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20928
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20929
 
  esac;;
20930
 
esac
20931
 
case $ac_abs_builddir in
20932
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20933
 
*)
20934
 
  case ${ac_top_builddir}. in
20935
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20936
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20937
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20938
 
  esac;;
20939
 
esac
20940
 
case $ac_abs_builddir in
20941
 
.) ac_abs_srcdir=$ac_srcdir;;
20942
 
*)
20943
 
  case $ac_srcdir in
20944
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20945
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20946
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20947
 
  esac;;
20948
 
esac
20949
 
case $ac_abs_builddir in
20950
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20951
 
*)
20952
 
  case $ac_top_srcdir in
20953
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20954
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20955
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20956
 
  esac;;
20957
 
esac
20958
 
 
20959
 
 
20960
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20961
 
echo "$as_me: executing $ac_dest commands" >&6;}
20962
 
  case $ac_dest in
20963
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
20713
s&@configure_input@&$configure_input&;t t
 
20714
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
20715
s&@srcdir@&$ac_srcdir&;t t
 
20716
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
20717
s&@top_srcdir@&$ac_top_srcdir&;t t
 
20718
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
20719
s&@builddir@&$ac_builddir&;t t
 
20720
s&@abs_builddir@&$ac_abs_builddir&;t t
 
20721
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
20722
s&@INSTALL@&$ac_INSTALL&;t t
 
20723
$ac_datarootdir_hack
 
20724
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
20725
 
 
20726
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
20727
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
20728
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
20729
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
20730
which seems to be undefined.  Please make sure it is defined." >&5
 
20731
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
20732
which seems to be undefined.  Please make sure it is defined." >&2;}
 
20733
 
 
20734
  rm -f "$tmp/stdin"
 
20735
  case $ac_file in
 
20736
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
20737
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
20738
  esac
 
20739
 ;;
 
20740
  
 
20741
  
 
20742
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
20743
echo "$as_me: executing $ac_file commands" >&6;}
 
20744
 ;;
 
20745
  esac
 
20746
 
 
20747
 
 
20748
  case $ac_file$ac_mode in
 
20749
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20964
20750
  # Strip MF so we end up with the name of the file.
20965
20751
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20966
20752
  # Check whether this is an Automake generated Makefile or not.
20970
20756
  # each Makefile.in and add a new line on top of each file to say so.
20971
20757
  # So let's grep whole file.
20972
20758
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20973
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
20759
    dirpart=`$as_dirname -- "$mf" ||
20974
20760
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20975
20761
         X"$mf" : 'X\(//\)[^/]' \| \
20976
20762
         X"$mf" : 'X\(//\)$' \| \
20977
 
         X"$mf" : 'X\(/\)' \| \
20978
 
         .     : '\(.\)' 2>/dev/null ||
 
20763
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20979
20764
echo X"$mf" |
20980
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20981
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20982
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20983
 
          /^X\(\/\).*/{ s//\1/; q; }
20984
 
          s/.*/./; q'`
 
20765
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20766
            s//\1/
 
20767
            q
 
20768
          }
 
20769
          /^X\(\/\/\)[^/].*/{
 
20770
            s//\1/
 
20771
            q
 
20772
          }
 
20773
          /^X\(\/\/\)$/{
 
20774
            s//\1/
 
20775
            q
 
20776
          }
 
20777
          /^X\(\/\).*/{
 
20778
            s//\1/
 
20779
            q
 
20780
          }
 
20781
          s/.*/./; q'`
20985
20782
  else
20986
20783
    continue
20987
20784
  fi
21003
20800
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21004
20801
    # Make sure the directory exists.
21005
20802
    test -f "$dirpart/$file" && continue
21006
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
20803
    fdir=`$as_dirname -- "$file" ||
21007
20804
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21008
20805
         X"$file" : 'X\(//\)[^/]' \| \
21009
20806
         X"$file" : 'X\(//\)$' \| \
21010
 
         X"$file" : 'X\(/\)' \| \
21011
 
         .     : '\(.\)' 2>/dev/null ||
 
20807
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21012
20808
echo X"$file" |
21013
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21014
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21015
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21016
 
          /^X\(\/\).*/{ s//\1/; q; }
21017
 
          s/.*/./; q'`
21018
 
    { if $as_mkdir_p; then
21019
 
    mkdir -p $dirpart/$fdir
21020
 
  else
21021
 
    as_dir=$dirpart/$fdir
 
20809
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20810
            s//\1/
 
20811
            q
 
20812
          }
 
20813
          /^X\(\/\/\)[^/].*/{
 
20814
            s//\1/
 
20815
            q
 
20816
          }
 
20817
          /^X\(\/\/\)$/{
 
20818
            s//\1/
 
20819
            q
 
20820
          }
 
20821
          /^X\(\/\).*/{
 
20822
            s//\1/
 
20823
            q
 
20824
          }
 
20825
          s/.*/./; q'`
 
20826
    { as_dir=$dirpart/$fdir
 
20827
  case $as_dir in #(
 
20828
  -*) as_dir=./$as_dir;;
 
20829
  esac
 
20830
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21022
20831
    as_dirs=
21023
 
    while test ! -d "$as_dir"; do
21024
 
      as_dirs="$as_dir $as_dirs"
21025
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
20832
    while :; do
 
20833
      case $as_dir in #(
 
20834
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
20835
      *) as_qdir=$as_dir;;
 
20836
      esac
 
20837
      as_dirs="'$as_qdir' $as_dirs"
 
20838
      as_dir=`$as_dirname -- "$as_dir" ||
21026
20839
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21027
20840
         X"$as_dir" : 'X\(//\)[^/]' \| \
21028
20841
         X"$as_dir" : 'X\(//\)$' \| \
21029
 
         X"$as_dir" : 'X\(/\)' \| \
21030
 
         .     : '\(.\)' 2>/dev/null ||
 
20842
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21031
20843
echo X"$as_dir" |
21032
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21033
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21034
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21035
 
          /^X\(\/\).*/{ s//\1/; q; }
21036
 
          s/.*/./; q'`
 
20844
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20845
            s//\1/
 
20846
            q
 
20847
          }
 
20848
          /^X\(\/\/\)[^/].*/{
 
20849
            s//\1/
 
20850
            q
 
20851
          }
 
20852
          /^X\(\/\/\)$/{
 
20853
            s//\1/
 
20854
            q
 
20855
          }
 
20856
          /^X\(\/\).*/{
 
20857
            s//\1/
 
20858
            q
 
20859
          }
 
20860
          s/.*/./; q'`
 
20861
      test -d "$as_dir" && break
21037
20862
    done
21038
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21039
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21040
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
20863
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
20864
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
20865
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21041
20866
   { (exit 1); exit 1; }; }; }
21042
 
 
21043
20867
    # echo "creating $dirpart/$file"
21044
20868
    echo '# dummy' > "$dirpart/$file"
21045
20869
  done
21046
20870
done
21047
20871
 ;;
 
20872
 
21048
20873
  esac
21049
 
done
21050
 
_ACEOF
 
20874
done # for ac_tag
21051
20875
 
21052
 
cat >>$CONFIG_STATUS <<\_ACEOF
21053
20876
 
21054
20877
{ (exit 0); exit 0; }
21055
20878
_ACEOF