~ubuntu-branches/ubuntu/lucid/libdebian-installer/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank, Bastian Blank, Martin Michlmayr, Colin Watson, Joey Hess
  • Date: 2006-05-31 23:02:10 UTC
  • Revision ID: james.westby@ubuntu.com-20060531230210-z3sc8766e7j7n9ci
Tags: 0.42
[ Bastian Blank ]
* Bump shared library revision to 6.
* Add small AVL tree implementation.

[ Martin Michlmayr ]
* Remove (incomplete) BAST and LAST support.
* Drop Riscstation since it's no longer supported in 2.6 kernels.
* Rename arm/riscpc to arm/rpc for consistency.

[ Colin Watson ]
* Fix Hurd detection at build time.

[ Joey Hess ]
* Move more resolver debug logging into ENABLE_EXTENSIVE_DEBUG ifdefs.

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 for libdebian-installer 0.36.
 
3
# Generated by GNU Autoconf 2.59d for libdebian-installer 0.42.
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
## --------------------- ##
16
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
18
  # is contrary to our usage.  Disable this feature.
18
19
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
 
20
  setopt NO_GLOB_SUBST
 
21
else
 
22
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21
23
fi
 
24
BIN_SH=xpg4; export BIN_SH # for Tru64
22
25
DUALCASE=1; export DUALCASE # for MKS sh
23
26
 
 
27
 
 
28
# PATH needs CR
 
29
# Avoid depending upon Character Ranges.
 
30
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
31
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
32
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
33
as_cr_digits='0123456789'
 
34
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
35
 
 
36
# The user is always right.
 
37
if test "${PATH_SEPARATOR+set}" != set; then
 
38
  echo "#! /bin/sh" >conf$$.sh
 
39
  echo  "exit 0"   >>conf$$.sh
 
40
  chmod +x conf$$.sh
 
41
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
42
    PATH_SEPARATOR=';'
 
43
  else
 
44
    PATH_SEPARATOR=:
 
45
  fi
 
46
  rm -f conf$$.sh
 
47
fi
 
48
 
24
49
# Support unset when possible.
25
50
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
51
  as_unset=unset
29
54
fi
30
55
 
31
56
 
 
57
# IFS
 
58
# We need space, tab and new line, in precisely that order.  Quoting is
 
59
# there to prevent editors from complaining about space-tab.
 
60
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
61
# splitting by setting IFS to empty value.)
 
62
as_nl='
 
63
'
 
64
IFS=" ""        $as_nl"
 
65
 
 
66
# Find who we are.  Look in the path if we contain no directory separator.
 
67
case $0 in
 
68
  *[\\/]* ) as_myself=$0 ;;
 
69
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
70
for as_dir in $PATH
 
71
do
 
72
  IFS=$as_save_IFS
 
73
  test -z "$as_dir" && as_dir=.
 
74
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
75
done
 
76
IFS=$as_save_IFS
 
77
 
 
78
     ;;
 
79
esac
 
80
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
81
# in which case we are not to be found in the path.
 
82
if test "x$as_myself" = x; then
 
83
  as_myself=$0
 
84
fi
 
85
if test ! -f "$as_myself"; then
 
86
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
87
  { (exit 1); exit 1; }
 
88
fi
 
89
 
32
90
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
91
for as_var in ENV MAIL MAILPATH
 
92
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
93
done
34
94
PS1='$ '
35
95
PS2='> '
36
96
PS4='+ '
44
104
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
105
    eval $as_var=C; export $as_var
46
106
  else
47
 
    $as_unset $as_var
 
107
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
108
  fi
49
109
done
50
110
 
51
111
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
112
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
113
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
114
  as_expr=expr
54
115
else
55
116
  as_expr=false
56
117
fi
57
118
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
119
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
120
  as_basename=basename
60
121
else
61
122
  as_basename=false
63
124
 
64
125
 
65
126
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
127
as_me=`$as_basename -- "$0" ||
67
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
129
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
130
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
131
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
 
  '')
 
132
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
133
            s//\1/
 
134
            q
 
135
          }
 
136
          /^X\/\(\/\/\)$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\).*/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          s/.*/./; q'`
 
145
 
 
146
# CDPATH.
 
147
$as_unset CDPATH
 
148
 
 
149
 
 
150
if test "x$CONFIG_SHELL" = x; then
 
151
  if (eval ":") 2>/dev/null; then
 
152
  as_have_required=yes
 
153
else
 
154
  as_have_required=no
 
155
fi
 
156
 
 
157
  if test $as_have_required = yes &&     (eval ":
 
158
(as_func_return () {
 
159
  (exit \$1)
 
160
}
 
161
as_func_success () {
 
162
  as_func_return 0
 
163
}
 
164
as_func_failure () {
 
165
  as_func_return 1
 
166
}
 
167
as_func_ret_success () {
 
168
  return 0
 
169
}
 
170
as_func_ret_failure () {
 
171
  return 1
 
172
}
 
173
 
 
174
exitcode=0
 
175
if as_func_success; then
 
176
  :
 
177
else
 
178
  exitcode=1
 
179
  echo as_func_success failed.
 
180
fi
 
181
 
 
182
if as_func_failure; then
 
183
  exitcode=1
 
184
  echo as_func_failure succeeded.
 
185
fi
 
186
 
 
187
if as_func_ret_success; then
 
188
  :
 
189
else
 
190
  exitcode=1
 
191
  echo as_func_ret_success failed.
 
192
fi
 
193
 
 
194
if as_func_ret_failure; then
 
195
  exitcode=1
 
196
  echo as_func_ret_failure succeeded.
 
197
fi
 
198
 
 
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
200
  :
 
201
else
 
202
  exitcode=1
 
203
  echo positional parameters were not saved.
 
204
fi
 
205
 
 
206
test \$exitcode = 0) || { (exit 1); exit 1; }
 
207
 
 
208
(
 
209
  as_lineno_1=\$LINENO
 
210
  as_lineno_2=\$LINENO
 
211
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
212
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
213
") 2> /dev/null; then
 
214
  :
 
215
else
 
216
  as_candidate_shells=
130
217
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
219
do
133
220
  IFS=$as_save_IFS
134
221
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
222
  case $as_dir in
137
223
         /*)
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
 
224
           for as_base in sh bash ksh sh5; do
 
225
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
226
           done;;
 
227
       esac
152
228
done
153
 
;;
154
 
  esac
 
229
IFS=$as_save_IFS
 
230
 
 
231
 
 
232
      for as_shell in $as_candidate_shells $SHELL; do
 
233
         # Try only shells which exist, to save several forks.
 
234
         if test -f "$as_shell" &&
 
235
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
236
# Be Bourne compatible
 
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
238
  emulate sh
 
239
  NULLCMD=:
 
240
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
241
  # is contrary to our usage.  Disable this feature.
 
242
  alias -g '${1+"$@"}'='"$@"'
 
243
  setopt NO_GLOB_SUBST
 
244
else
 
245
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
246
fi
 
247
BIN_SH=xpg4; export BIN_SH # for Tru64
 
248
DUALCASE=1; export DUALCASE # for MKS sh
 
249
 
 
250
:
 
251
_ASEOF
 
252
}; then
 
253
  CONFIG_SHELL=$as_shell
 
254
               as_have_required=yes
 
255
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
256
# Be Bourne compatible
 
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
258
  emulate sh
 
259
  NULLCMD=:
 
260
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
261
  # is contrary to our usage.  Disable this feature.
 
262
  alias -g '${1+"$@"}'='"$@"'
 
263
  setopt NO_GLOB_SUBST
 
264
else
 
265
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
266
fi
 
267
BIN_SH=xpg4; export BIN_SH # for Tru64
 
268
DUALCASE=1; export DUALCASE # for MKS sh
 
269
 
 
270
:
 
271
(as_func_return () {
 
272
  (exit $1)
 
273
}
 
274
as_func_success () {
 
275
  as_func_return 0
 
276
}
 
277
as_func_failure () {
 
278
  as_func_return 1
 
279
}
 
280
as_func_ret_success () {
 
281
  return 0
 
282
}
 
283
as_func_ret_failure () {
 
284
  return 1
 
285
}
 
286
 
 
287
exitcode=0
 
288
if as_func_success; then
 
289
  :
 
290
else
 
291
  exitcode=1
 
292
  echo as_func_success failed.
 
293
fi
 
294
 
 
295
if as_func_failure; then
 
296
  exitcode=1
 
297
  echo as_func_failure succeeded.
 
298
fi
 
299
 
 
300
if as_func_ret_success; then
 
301
  :
 
302
else
 
303
  exitcode=1
 
304
  echo as_func_ret_success failed.
 
305
fi
 
306
 
 
307
if as_func_ret_failure; then
 
308
  exitcode=1
 
309
  echo as_func_ret_failure succeeded.
 
310
fi
 
311
 
 
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
313
  :
 
314
else
 
315
  exitcode=1
 
316
  echo positional parameters were not saved.
 
317
fi
 
318
 
 
319
test $exitcode = 0) || { (exit 1); exit 1; }
 
320
 
 
321
(
 
322
  as_lineno_1=$LINENO
 
323
  as_lineno_2=$LINENO
 
324
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
325
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
326
 
 
327
_ASEOF
 
328
}; then
 
329
  break
 
330
fi
 
331
 
 
332
fi
 
333
 
 
334
      done
 
335
 
 
336
      if test "x$CONFIG_SHELL" != x; then
 
337
  for as_var in BASH_ENV ENV
 
338
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
339
        done
 
340
        export CONFIG_SHELL
 
341
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
342
fi
 
343
 
 
344
 
 
345
    if test $as_have_required = no; then
 
346
  echo This script requires a shell more modern than all the
 
347
      echo shells that I found on your system.  Please install a
 
348
      echo modern shell, or manually run the script under such a
 
349
      echo shell if you do have one.
 
350
      { (exit 1); exit 1; }
 
351
fi
 
352
 
 
353
 
 
354
fi
 
355
 
 
356
fi
 
357
 
 
358
 
 
359
 
 
360
(eval "as_func_return () {
 
361
  (exit \$1)
 
362
}
 
363
as_func_success () {
 
364
  as_func_return 0
 
365
}
 
366
as_func_failure () {
 
367
  as_func_return 1
 
368
}
 
369
as_func_ret_success () {
 
370
  return 0
 
371
}
 
372
as_func_ret_failure () {
 
373
  return 1
 
374
}
 
375
 
 
376
exitcode=0
 
377
if as_func_success; then
 
378
  :
 
379
else
 
380
  exitcode=1
 
381
  echo as_func_success failed.
 
382
fi
 
383
 
 
384
if as_func_failure; then
 
385
  exitcode=1
 
386
  echo as_func_failure succeeded.
 
387
fi
 
388
 
 
389
if as_func_ret_success; then
 
390
  :
 
391
else
 
392
  exitcode=1
 
393
  echo as_func_ret_success failed.
 
394
fi
 
395
 
 
396
if as_func_ret_failure; then
 
397
  exitcode=1
 
398
  echo as_func_ret_failure succeeded.
 
399
fi
 
400
 
 
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
402
  :
 
403
else
 
404
  exitcode=1
 
405
  echo positional parameters were not saved.
 
406
fi
 
407
 
 
408
test \$exitcode = 0") || {
 
409
  echo No shell found that supports shell functions.
 
410
  echo Please tell autoconf@gnu.org about your system,
 
411
  echo including any error possibly output before this
 
412
  echo message
 
413
}
 
414
 
 
415
 
 
416
 
 
417
  as_lineno_1=$LINENO
 
418
  as_lineno_2=$LINENO
 
419
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
420
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
421
 
156
422
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
423
  # 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.
 
424
  # line-number line after each line using $LINENO; the second 'sed'
 
425
  # does the real work.  The second script uses 'N' to pair each
 
426
  # line-number line with the line containing $LINENO, and appends
 
427
  # trailing '-' during substitution so that $LINENO is not a special
 
428
  # case at line end.
162
429
  # (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 |
 
430
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
431
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
432
  sed -n '
 
433
    p
 
434
    /[$]LINENO/=
 
435
  ' <$as_myself |
165
436
    sed '
 
437
      s/[$]LINENO.*/&-/
 
438
      t lineno
 
439
      b
 
440
      :lineno
166
441
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
442
      :loop
 
443
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
444
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
445
      s/-\n.*//
173
446
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
447
  chmod +x "$as_me.lineno" ||
175
448
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
449
   { (exit 1); exit 1; }; }
177
450
 
178
451
  # Don't try to exec as it changes $[0], causing all sort of problems
179
452
  # (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
 
453
  # original and so on.  Autoconf is especially sensitive to this).
 
454
  . "./$as_me.lineno"
182
455
  # Exit status is that of the last command.
183
456
  exit
184
457
}
185
458
 
186
459
 
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= ;;
 
460
if (dirname -- /) >/dev/null 2>&1; then
 
461
  as_dirname=dirname
 
462
else
 
463
  as_dirname=false
 
464
fi
 
465
 
 
466
ECHO_C= ECHO_N= ECHO_T=
 
467
case `echo -n x` in
 
468
-n*)
 
469
  case `echo 'x\c'` in
 
470
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
471
  *)   ECHO_C='\c';;
 
472
  esac;;
 
473
*)
 
474
  ECHO_N='-n';;
192
475
esac
193
476
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
478
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
479
  as_expr=expr
196
480
else
197
481
  as_expr=false
198
482
fi
199
483
 
200
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir
 
490
fi
201
491
echo >conf$$.file
202
492
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
 
493
  as_ln_s='ln -s'
 
494
  # ... but there are two gotchas:
 
495
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
  # In both cases, we have to default to `cp -p'.
 
498
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
499
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
500
elif ln conf$$.file conf$$ 2>/dev/null; then
212
501
  as_ln_s=ln
213
502
else
214
503
  as_ln_s='cp -p'
215
504
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
506
rmdir conf$$.dir 2>/dev/null
217
507
 
218
508
if mkdir -p . 2>/dev/null; then
219
509
  as_mkdir_p=:
222
512
  as_mkdir_p=false
223
513
fi
224
514
 
225
 
as_executable_p="test -f"
 
515
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
516
# systems may use methods other than mode bits to determine executability.
 
517
cat >conf$$.file <<_ASEOF
 
518
#! /bin/sh
 
519
exit 0
 
520
_ASEOF
 
521
chmod +x conf$$.file
 
522
if test -x conf$$.file >/dev/null 2>&1; then
 
523
  as_executable_p="test -x"
 
524
else
 
525
  as_executable_p=:
 
526
fi
 
527
rm -f conf$$.file
226
528
 
227
529
# Sed expression to map a string onto a valid CPP name.
228
530
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
533
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
534
 
233
535
 
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
536
 
244
537
 
245
538
# Check that we are running under the correct shell.
395
688
 
396
689
tagnames=${tagnames+${tagnames},}F77
397
690
 
 
691
exec 7<&0 </dev/null 6>&1
 
692
 
398
693
# Name of the host.
399
694
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
695
# so uname gets run too.
401
696
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
697
 
403
 
exec 6>&1
404
 
 
405
698
#
406
699
# Initializations.
407
700
#
408
701
ac_default_prefix=/usr/local
 
702
ac_clean_files=
409
703
ac_config_libobj_dir=.
 
704
LIBOBJS=
410
705
cross_compiling=no
411
706
subdirs=
412
707
MFLAGS=
413
708
MAKEFLAGS=
414
709
SHELL=${CONFIG_SHELL-/bin/sh}
415
710
 
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
711
# Identity of this package.
422
712
PACKAGE_NAME='libdebian-installer'
423
713
PACKAGE_TARNAME='libdebian-installer'
424
 
PACKAGE_VERSION='0.36'
425
 
PACKAGE_STRING='libdebian-installer 0.36'
 
714
PACKAGE_VERSION='0.42'
 
715
PACKAGE_STRING='libdebian-installer 0.42'
426
716
PACKAGE_BUGREPORT=''
427
717
 
428
718
# Factoring default headers for most tests.
453
743
#endif
454
744
#if HAVE_INTTYPES_H
455
745
# include <inttypes.h>
456
 
#else
457
 
# if HAVE_STDINT_H
458
 
#  include <stdint.h>
459
 
# endif
 
746
#endif
 
747
#if HAVE_STDINT_H
 
748
# include <stdint.h>
460
749
#endif
461
750
#if HAVE_UNISTD_H
462
751
# include <unistd.h>
463
752
#endif"
464
753
 
465
 
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DOXYGEN LIBRARY_VERSION_LIBTOOL LIBRARY_VERSION_MAJOR SUBARCH_SYSTEM LIBOBJS LTLIBOBJS'
 
754
ac_subst_vars='SHELL
 
755
PATH_SEPARATOR
 
756
PACKAGE_NAME
 
757
PACKAGE_TARNAME
 
758
PACKAGE_VERSION
 
759
PACKAGE_STRING
 
760
PACKAGE_BUGREPORT
 
761
exec_prefix
 
762
prefix
 
763
program_transform_name
 
764
bindir
 
765
sbindir
 
766
libexecdir
 
767
datarootdir
 
768
datadir
 
769
sysconfdir
 
770
sharedstatedir
 
771
localstatedir
 
772
includedir
 
773
oldincludedir
 
774
docdir
 
775
infodir
 
776
htmldir
 
777
dvidir
 
778
pdfdir
 
779
psdir
 
780
libdir
 
781
localedir
 
782
mandir
 
783
DEFS
 
784
ECHO_C
 
785
ECHO_N
 
786
ECHO_T
 
787
LIBS
 
788
build_alias
 
789
host_alias
 
790
target_alias
 
791
INSTALL_PROGRAM
 
792
INSTALL_SCRIPT
 
793
INSTALL_DATA
 
794
CYGPATH_W
 
795
PACKAGE
 
796
VERSION
 
797
ACLOCAL
 
798
AUTOCONF
 
799
AUTOMAKE
 
800
AUTOHEADER
 
801
MAKEINFO
 
802
AMTAR
 
803
install_sh
 
804
STRIP
 
805
INSTALL_STRIP_PROGRAM
 
806
mkdir_p
 
807
AWK
 
808
SET_MAKE
 
809
am__leading_dot
 
810
MAINTAINER_MODE_TRUE
 
811
MAINTAINER_MODE_FALSE
 
812
MAINT
 
813
CC
 
814
CFLAGS
 
815
LDFLAGS
 
816
CPPFLAGS
 
817
ac_ct_CC
 
818
EXEEXT
 
819
OBJEXT
 
820
DEPDIR
 
821
am__include
 
822
am__quote
 
823
AMDEP_TRUE
 
824
AMDEP_FALSE
 
825
AMDEPBACKSLASH
 
826
CCDEPMODE
 
827
am__fastdepCC_TRUE
 
828
am__fastdepCC_FALSE
 
829
build
 
830
build_cpu
 
831
build_vendor
 
832
build_os
 
833
host
 
834
host_cpu
 
835
host_vendor
 
836
host_os
 
837
GREP
 
838
EGREP
 
839
LN_S
 
840
ECHO
 
841
AR
 
842
RANLIB
 
843
CPP
 
844
CXX
 
845
CXXFLAGS
 
846
ac_ct_CXX
 
847
CXXDEPMODE
 
848
am__fastdepCXX_TRUE
 
849
am__fastdepCXX_FALSE
 
850
CXXCPP
 
851
F77
 
852
FFLAGS
 
853
ac_ct_F77
 
854
LIBTOOL
 
855
DOXYGEN
 
856
LIBRARY_VERSION_LIBTOOL
 
857
LIBRARY_VERSION_MAJOR
 
858
SUBARCH_SYSTEM
 
859
LIBOBJS
 
860
LTLIBOBJS'
466
861
ac_subst_files=''
 
862
      ac_precious_vars='build_alias
 
863
host_alias
 
864
target_alias
 
865
CC
 
866
CFLAGS
 
867
LDFLAGS
 
868
CPPFLAGS
 
869
CPP
 
870
CXX
 
871
CXXFLAGS
 
872
CCC
 
873
CXXCPP
 
874
F77
 
875
FFLAGS'
 
876
 
467
877
 
468
878
# Initialize some variables set by options.
469
879
ac_init_help=
490
900
# and all the variables that are supposed to be based on exec_prefix
491
901
# by default will actually change.
492
902
# Use braces instead of parens because sh, perl, etc. also accept them.
 
903
# (The list follows the same order as the GNU Coding Standards.)
493
904
bindir='${exec_prefix}/bin'
494
905
sbindir='${exec_prefix}/sbin'
495
906
libexecdir='${exec_prefix}/libexec'
496
 
datadir='${prefix}/share'
 
907
datarootdir='${prefix}/share'
 
908
datadir='${datarootdir}'
497
909
sysconfdir='${prefix}/etc'
498
910
sharedstatedir='${prefix}/com'
499
911
localstatedir='${prefix}/var'
500
 
libdir='${exec_prefix}/lib'
501
912
includedir='${prefix}/include'
502
913
oldincludedir='/usr/include'
503
 
infodir='${prefix}/info'
504
 
mandir='${prefix}/man'
 
914
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
915
infodir='${datarootdir}/info'
 
916
htmldir='${docdir}'
 
917
dvidir='${docdir}'
 
918
pdfdir='${docdir}'
 
919
psdir='${docdir}'
 
920
libdir='${exec_prefix}/lib'
 
921
localedir='${datarootdir}/locale'
 
922
mandir='${datarootdir}/man'
505
923
 
506
924
ac_prev=
 
925
ac_dashdash=
507
926
for ac_option
508
927
do
509
928
  # If the previous option needs an argument, assign it.
510
929
  if test -n "$ac_prev"; then
511
 
    eval "$ac_prev=\$ac_option"
 
930
    eval $ac_prev=\$ac_option
512
931
    ac_prev=
513
932
    continue
514
933
  fi
515
934
 
516
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
935
  case $ac_option in
 
936
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
937
  *)    ac_optarg=yes ;;
 
938
  esac
517
939
 
518
940
  # Accept the important Cygnus configure options, so we can diagnose typos.
519
941
 
520
 
  case $ac_option in
 
942
  case $ac_dashdash$ac_option in
 
943
  --)
 
944
    ac_dashdash=yes ;;
521
945
 
522
946
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
523
947
    ac_prev=bindir ;;
539
963
  --config-cache | -C)
540
964
    cache_file=config.cache ;;
541
965
 
542
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
966
  -datadir | --datadir | --datadi | --datad)
543
967
    ac_prev=datadir ;;
544
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
545
 
  | --da=*)
 
968
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
546
969
    datadir=$ac_optarg ;;
547
970
 
 
971
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
972
  | --dataroo | --dataro | --datar)
 
973
    ac_prev=datarootdir ;;
 
974
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
975
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
976
    datarootdir=$ac_optarg ;;
 
977
 
548
978
  -disable-* | --disable-*)
549
979
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
550
980
    # Reject names that are not valid shell variable names.
552
982
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553
983
   { (exit 1); exit 1; }; }
554
984
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
555
 
    eval "enable_$ac_feature=no" ;;
 
985
    eval enable_$ac_feature=no ;;
 
986
 
 
987
  -docdir | --docdir | --docdi | --doc | --do)
 
988
    ac_prev=docdir ;;
 
989
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
990
    docdir=$ac_optarg ;;
 
991
 
 
992
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
993
    ac_prev=dvidir ;;
 
994
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
995
    dvidir=$ac_optarg ;;
556
996
 
557
997
  -enable-* | --enable-*)
558
998
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1001
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562
1002
   { (exit 1); exit 1; }; }
563
1003
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
564
 
    case $ac_option in
565
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566
 
      *) ac_optarg=yes ;;
567
 
    esac
568
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1004
    eval enable_$ac_feature=\$ac_optarg ;;
569
1005
 
570
1006
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
571
1007
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
592
1028
  -host=* | --host=* | --hos=* | --ho=*)
593
1029
    host_alias=$ac_optarg ;;
594
1030
 
 
1031
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1032
    ac_prev=htmldir ;;
 
1033
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1034
  | --ht=*)
 
1035
    htmldir=$ac_optarg ;;
 
1036
 
595
1037
  -includedir | --includedir | --includedi | --included | --include \
596
1038
  | --includ | --inclu | --incl | --inc)
597
1039
    ac_prev=includedir ;;
616
1058
  | --libexe=* | --libex=* | --libe=*)
617
1059
    libexecdir=$ac_optarg ;;
618
1060
 
 
1061
  -localedir | --localedir | --localedi | --localed | --locale)
 
1062
    ac_prev=localedir ;;
 
1063
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1064
    localedir=$ac_optarg ;;
 
1065
 
619
1066
  -localstatedir | --localstatedir | --localstatedi | --localstated \
620
 
  | --localstate | --localstat | --localsta | --localst \
621
 
  | --locals | --local | --loca | --loc | --lo)
 
1067
  | --localstate | --localstat | --localsta | --localst | --locals)
622
1068
    ac_prev=localstatedir ;;
623
1069
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
624
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
625
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1070
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
626
1071
    localstatedir=$ac_optarg ;;
627
1072
 
628
1073
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
687
1132
  | --progr-tra=* | --program-tr=* | --program-t=*)
688
1133
    program_transform_name=$ac_optarg ;;
689
1134
 
 
1135
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1136
    ac_prev=pdfdir ;;
 
1137
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1138
    pdfdir=$ac_optarg ;;
 
1139
 
 
1140
  -psdir | --psdir | --psdi | --psd | --ps)
 
1141
    ac_prev=psdir ;;
 
1142
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1143
    psdir=$ac_optarg ;;
 
1144
 
690
1145
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
691
1146
  | -silent | --silent | --silen | --sile | --sil)
692
1147
    silent=yes ;;
743
1198
      { echo "$as_me: error: invalid package name: $ac_package" >&2
744
1199
   { (exit 1); exit 1; }; }
745
1200
    ac_package=`echo $ac_package| sed 's/-/_/g'`
746
 
    case $ac_option in
747
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748
 
      *) ac_optarg=yes ;;
749
 
    esac
750
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1201
    eval with_$ac_package=\$ac_optarg ;;
751
1202
 
752
1203
  -without-* | --without-*)
753
1204
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1207
      { echo "$as_me: error: invalid package name: $ac_package" >&2
757
1208
   { (exit 1); exit 1; }; }
758
1209
    ac_package=`echo $ac_package | sed 's/-/_/g'`
759
 
    eval "with_$ac_package=no" ;;
 
1210
    eval with_$ac_package=no ;;
760
1211
 
761
1212
  --x)
762
1213
    # Obsolete; use --with-x.
787
1238
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
788
1239
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789
1240
   { (exit 1); exit 1; }; }
790
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791
 
    eval "$ac_envvar='$ac_optarg'"
 
1241
    eval $ac_envvar=\$ac_optarg
792
1242
    export $ac_envvar ;;
793
1243
 
794
1244
  *)
808
1258
   { (exit 1); exit 1; }; }
809
1259
fi
810
1260
 
811
 
# Be sure to have absolute paths.
812
 
for ac_var in exec_prefix prefix
813
 
do
814
 
  eval ac_val=$`echo $ac_var`
815
 
  case $ac_val in
816
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
817
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818
 
   { (exit 1); exit 1; }; };;
819
 
  esac
820
 
done
821
 
 
822
 
# Be sure to have absolute paths.
823
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824
 
              localstatedir libdir includedir oldincludedir infodir mandir
825
 
do
826
 
  eval ac_val=$`echo $ac_var`
827
 
  case $ac_val in
828
 
    [\\/$]* | ?:[\\/]* ) ;;
829
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830
 
   { (exit 1); exit 1; }; };;
831
 
  esac
 
1261
# Be sure to have absolute directory names.
 
1262
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1263
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1264
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1265
                libdir localedir mandir
 
1266
do
 
1267
  eval ac_val=\$$ac_var
 
1268
  case $ac_val in
 
1269
    [\\/$]* | ?:[\\/]* )  continue;;
 
1270
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1271
  esac
 
1272
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1273
   { (exit 1); exit 1; }; }
832
1274
done
833
1275
 
834
1276
# There might be people who depend on the old broken behavior: `$host'
855
1297
test "$silent" = yes && exec 6>/dev/null
856
1298
 
857
1299
 
 
1300
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1301
ac_ls_di=`ls -di .` &&
 
1302
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1303
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1304
   { (exit 1); exit 1; }; }
 
1305
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1306
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1307
   { (exit 1); exit 1; }; }
 
1308
 
 
1309
 
858
1310
# Find the source files, if location was not specified.
859
1311
if test -z "$srcdir"; then
860
1312
  ac_srcdir_defaulted=yes
861
 
  # Try the directory containing this script, then its parent.
862
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1313
  # Try the directory containing this script, then the parent directory.
 
1314
  ac_confdir=`$as_dirname -- "$0" ||
863
1315
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864
1316
         X"$0" : 'X\(//\)[^/]' \| \
865
1317
         X"$0" : 'X\(//\)$' \| \
866
 
         X"$0" : 'X\(/\)' \| \
867
 
         .     : '\(.\)' 2>/dev/null ||
 
1318
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
868
1319
echo X"$0" |
869
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871
 
          /^X\(\/\/\)$/{ s//\1/; q; }
872
 
          /^X\(\/\).*/{ s//\1/; q; }
873
 
          s/.*/./; q'`
 
1320
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1321
            s//\1/
 
1322
            q
 
1323
          }
 
1324
          /^X\(\/\/\)[^/].*/{
 
1325
            s//\1/
 
1326
            q
 
1327
          }
 
1328
          /^X\(\/\/\)$/{
 
1329
            s//\1/
 
1330
            q
 
1331
          }
 
1332
          /^X\(\/\).*/{
 
1333
            s//\1/
 
1334
            q
 
1335
          }
 
1336
          s/.*/./; q'`
874
1337
  srcdir=$ac_confdir
875
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1338
  if test ! -r "$srcdir/$ac_unique_file"; then
876
1339
    srcdir=..
877
1340
  fi
878
1341
else
879
1342
  ac_srcdir_defaulted=no
880
1343
fi
881
 
if test ! -r $srcdir/$ac_unique_file; then
882
 
  if test "$ac_srcdir_defaulted" = yes; then
883
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884
 
   { (exit 1); exit 1; }; }
885
 
  else
886
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887
 
   { (exit 1); exit 1; }; }
888
 
  fi
889
 
fi
890
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
891
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892
 
   { (exit 1); exit 1; }; }
893
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894
 
ac_env_build_alias_set=${build_alias+set}
895
 
ac_env_build_alias_value=$build_alias
896
 
ac_cv_env_build_alias_set=${build_alias+set}
897
 
ac_cv_env_build_alias_value=$build_alias
898
 
ac_env_host_alias_set=${host_alias+set}
899
 
ac_env_host_alias_value=$host_alias
900
 
ac_cv_env_host_alias_set=${host_alias+set}
901
 
ac_cv_env_host_alias_value=$host_alias
902
 
ac_env_target_alias_set=${target_alias+set}
903
 
ac_env_target_alias_value=$target_alias
904
 
ac_cv_env_target_alias_set=${target_alias+set}
905
 
ac_cv_env_target_alias_value=$target_alias
906
 
ac_env_CC_set=${CC+set}
907
 
ac_env_CC_value=$CC
908
 
ac_cv_env_CC_set=${CC+set}
909
 
ac_cv_env_CC_value=$CC
910
 
ac_env_CFLAGS_set=${CFLAGS+set}
911
 
ac_env_CFLAGS_value=$CFLAGS
912
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_cv_env_CFLAGS_value=$CFLAGS
914
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
915
 
ac_env_LDFLAGS_value=$LDFLAGS
916
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
918
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
919
 
ac_env_CPPFLAGS_value=$CPPFLAGS
920
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_env_CPP_set=${CPP+set}
923
 
ac_env_CPP_value=$CPP
924
 
ac_cv_env_CPP_set=${CPP+set}
925
 
ac_cv_env_CPP_value=$CPP
926
 
ac_env_CXX_set=${CXX+set}
927
 
ac_env_CXX_value=$CXX
928
 
ac_cv_env_CXX_set=${CXX+set}
929
 
ac_cv_env_CXX_value=$CXX
930
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
931
 
ac_env_CXXFLAGS_value=$CXXFLAGS
932
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_env_CXXCPP_set=${CXXCPP+set}
935
 
ac_env_CXXCPP_value=$CXXCPP
936
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_cv_env_CXXCPP_value=$CXXCPP
938
 
ac_env_F77_set=${F77+set}
939
 
ac_env_F77_value=$F77
940
 
ac_cv_env_F77_set=${F77+set}
941
 
ac_cv_env_F77_value=$F77
942
 
ac_env_FFLAGS_set=${FFLAGS+set}
943
 
ac_env_FFLAGS_value=$FFLAGS
944
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1344
if test ! -r "$srcdir/$ac_unique_file"; then
 
1345
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1346
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1347
   { (exit 1); exit 1; }; }
 
1348
fi
 
1349
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1350
ac_abs_confdir=`(
 
1351
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1352
   { (exit 1); exit 1; }; }
 
1353
        pwd)`
 
1354
# When building in place, set srcdir=.
 
1355
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1356
  srcdir=.
 
1357
fi
 
1358
# Remove unnecessary trailing slashes from srcdir.
 
1359
# Double slashes in file names in object file debugging info
 
1360
# mess up M-x gdb in Emacs.
 
1361
case $srcdir in
 
1362
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1363
esac
 
1364
for ac_var in $ac_precious_vars; do
 
1365
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1366
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1367
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1368
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1369
done
946
1370
 
947
1371
#
948
1372
# Report the --help message.
951
1375
  # Omit some internal or obsolete options to make the list less imposing.
952
1376
  # This message is too long to be a string in the A/UX 3.1 sh.
953
1377
  cat <<_ACEOF
954
 
\`configure' configures libdebian-installer 0.36 to adapt to many kinds of systems.
 
1378
\`configure' configures libdebian-installer 0.42 to adapt to many kinds of systems.
955
1379
 
956
1380
Usage: $0 [OPTION]... [VAR=VALUE]...
957
1381
 
971
1395
  -n, --no-create         do not create output files
972
1396
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
973
1397
 
974
 
_ACEOF
975
 
 
976
 
  cat <<_ACEOF
977
1398
Installation directories:
978
1399
  --prefix=PREFIX         install architecture-independent files in PREFIX
979
1400
                          [$ac_default_prefix]
991
1412
  --bindir=DIR           user executables [EPREFIX/bin]
992
1413
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
993
1414
  --libexecdir=DIR       program executables [EPREFIX/libexec]
994
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
995
1415
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
996
1416
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
997
1417
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
998
1418
  --libdir=DIR           object code libraries [EPREFIX/lib]
999
1419
  --includedir=DIR       C header files [PREFIX/include]
1000
1420
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1001
 
  --infodir=DIR          info documentation [PREFIX/info]
1002
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1421
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1422
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1423
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1424
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1425
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1426
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libdebian-installer]
 
1427
  --htmldir=DIR          html documentation [DOCDIR]
 
1428
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1429
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1430
  --psdir=DIR            ps documentation [DOCDIR]
1003
1431
_ACEOF
1004
1432
 
1005
1433
  cat <<\_ACEOF
1017
1445
 
1018
1446
if test -n "$ac_init_help"; then
1019
1447
  case $ac_init_help in
1020
 
     short | recursive ) echo "Configuration of libdebian-installer 0.36:";;
 
1448
     short | recursive ) echo "Configuration of libdebian-installer 0.42:";;
1021
1449
   esac
1022
1450
  cat <<\_ACEOF
1023
1451
 
1028
1456
                          (and sometimes confusing) to the casual installer
1029
1457
  --disable-dependency-tracking  speeds up one-time build
1030
1458
  --enable-dependency-tracking   do not reject slow dependency extractors
1031
 
  --enable-shared[=PKGS]
1032
 
                          build shared libraries [default=yes]
1033
 
  --enable-static[=PKGS]
1034
 
                          build static libraries [default=yes]
 
1459
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1460
  --enable-static[=PKGS]  build static libraries [default=yes]
1035
1461
  --enable-fast-install[=PKGS]
1036
1462
                          optimize for fast installation [default=yes]
1037
1463
  --disable-libtool-lock  avoid locking (might break parallel builds)
1044
1470
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1045
1471
  --with-pic              try to use only PIC/non-PIC objects [default=use
1046
1472
                          both]
1047
 
  --with-tags[=TAGS]
1048
 
                          include additional configurations [automatic]
 
1473
  --with-tags[=TAGS]      include additional configurations [automatic]
1049
1474
 
1050
1475
Some influential environment variables:
1051
1476
  CC          C compiler command
1052
1477
  CFLAGS      C compiler flags
1053
1478
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1054
1479
              nonstandard directory <lib dir>
1055
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1056
 
              headers in a nonstandard directory <include dir>
 
1480
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1481
              you have headers in a nonstandard directory <include dir>
1057
1482
  CPP         C preprocessor
1058
1483
  CXX         C++ compiler command
1059
1484
  CXXFLAGS    C++ compiler flags
1065
1490
it to find libraries and programs with nonstandard names/locations.
1066
1491
 
1067
1492
_ACEOF
 
1493
ac_status=$?
1068
1494
fi
1069
1495
 
1070
1496
if test "$ac_init_help" = "recursive"; then
1071
1497
  # If there are subdirs, report their specific --help.
1072
 
  ac_popdir=`pwd`
1073
1498
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1074
 
    test -d $ac_dir || continue
 
1499
    test -d "$ac_dir" || continue
1075
1500
    ac_builddir=.
1076
1501
 
1077
 
if test "$ac_dir" != .; then
 
1502
case "$ac_dir" in
 
1503
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1504
*)
1078
1505
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1079
 
  # A "../" for each directory in $ac_dir_suffix.
1080
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1081
 
else
1082
 
  ac_dir_suffix= ac_top_builddir=
1083
 
fi
 
1506
  # A ".." for each directory in $ac_dir_suffix.
 
1507
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1508
  case $ac_top_builddir_sub in
 
1509
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1510
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1511
  esac ;;
 
1512
esac
 
1513
ac_abs_top_builddir=$ac_pwd
 
1514
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1515
# for backward compatibility:
 
1516
ac_top_builddir=$ac_top_build_prefix
1084
1517
 
1085
1518
case $srcdir in
1086
 
  .)  # No --srcdir option.  We are building in place.
 
1519
  .)  # We are building in place.
1087
1520
    ac_srcdir=.
1088
 
    if test -z "$ac_top_builddir"; then
1089
 
       ac_top_srcdir=.
1090
 
    else
1091
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1092
 
    fi ;;
1093
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1521
    ac_top_srcdir=$ac_top_builddir_sub
 
1522
    ac_abs_top_srcdir=$ac_pwd ;;
 
1523
  [\\/]* | ?:[\\/]* )  # Absolute name.
1094
1524
    ac_srcdir=$srcdir$ac_dir_suffix;
1095
 
    ac_top_srcdir=$srcdir ;;
1096
 
  *) # Relative path.
1097
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1098
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1099
 
esac
1100
 
 
1101
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1102
 
# the directories may not exist.
1103
 
case `pwd` in
1104
 
.) ac_abs_builddir="$ac_dir";;
1105
 
*)
1106
 
  case "$ac_dir" in
1107
 
  .) ac_abs_builddir=`pwd`;;
1108
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1109
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1110
 
  esac;;
1111
 
esac
1112
 
case $ac_abs_builddir in
1113
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1114
 
*)
1115
 
  case ${ac_top_builddir}. in
1116
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1117
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1118
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1119
 
  esac;;
1120
 
esac
1121
 
case $ac_abs_builddir in
1122
 
.) ac_abs_srcdir=$ac_srcdir;;
1123
 
*)
1124
 
  case $ac_srcdir in
1125
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1126
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1127
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1128
 
  esac;;
1129
 
esac
1130
 
case $ac_abs_builddir in
1131
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1132
 
*)
1133
 
  case $ac_top_srcdir in
1134
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1135
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1136
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1137
 
  esac;;
1138
 
esac
1139
 
 
1140
 
    cd $ac_dir
1141
 
    # Check for guested configure; otherwise get Cygnus style configure.
1142
 
    if test -f $ac_srcdir/configure.gnu; then
1143
 
      echo
1144
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1145
 
    elif test -f $ac_srcdir/configure; then
1146
 
      echo
1147
 
      $SHELL $ac_srcdir/configure  --help=recursive
1148
 
    elif test -f $ac_srcdir/configure.ac ||
1149
 
           test -f $ac_srcdir/configure.in; then
1150
 
      echo
1151
 
      $ac_configure --help
 
1525
    ac_top_srcdir=$srcdir
 
1526
    ac_abs_top_srcdir=$srcdir ;;
 
1527
  *) # Relative name.
 
1528
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1529
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1530
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1531
esac
 
1532
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1533
 
 
1534
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1535
    # Check for guested configure.
 
1536
    if test -f "$ac_srcdir/configure.gnu"; then
 
1537
      echo &&
 
1538
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1539
    elif test -f "$ac_srcdir/configure"; then
 
1540
      echo &&
 
1541
      $SHELL "$ac_srcdir/configure" --help=recursive
1152
1542
    else
1153
1543
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154
 
    fi
1155
 
    cd "$ac_popdir"
 
1544
    fi || ac_status=$?
 
1545
    cd "$ac_pwd" || { ac_status=$?; break; }
1156
1546
  done
1157
1547
fi
1158
1548
 
1159
 
test -n "$ac_init_help" && exit 0
 
1549
test -n "$ac_init_help" && exit $ac_status
1160
1550
if $ac_init_version; then
1161
1551
  cat <<\_ACEOF
1162
 
libdebian-installer configure 0.36
1163
 
generated by GNU Autoconf 2.59
 
1552
libdebian-installer configure 0.42
 
1553
generated by GNU Autoconf 2.59d
1164
1554
 
1165
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1555
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1556
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1166
1557
This configure script is free software; the Free Software Foundation
1167
1558
gives unlimited permission to copy, distribute and modify it.
1168
1559
_ACEOF
1169
 
  exit 0
 
1560
  exit
1170
1561
fi
1171
 
exec 5>config.log
1172
 
cat >&5 <<_ACEOF
 
1562
cat >config.log <<_ACEOF
1173
1563
This file contains any messages produced by compilers while
1174
1564
running configure, to aid debugging if configure makes a mistake.
1175
1565
 
1176
 
It was created by libdebian-installer $as_me 0.36, which was
1177
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1566
It was created by libdebian-installer $as_me 0.42, which was
 
1567
generated by GNU Autoconf 2.59d.  Invocation command line was
1178
1568
 
1179
1569
  $ $0 $@
1180
1570
 
1181
1571
_ACEOF
 
1572
exec 5>>config.log
1182
1573
{
1183
1574
cat <<_ASUNAME
1184
1575
## --------- ##
1197
1588
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1198
1589
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1199
1590
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1200
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1591
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1201
1592
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1202
1593
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1203
1594
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1211
1602
  test -z "$as_dir" && as_dir=.
1212
1603
  echo "PATH: $as_dir"
1213
1604
done
 
1605
IFS=$as_save_IFS
1214
1606
 
1215
1607
} >&5
1216
1608
 
1243
1635
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244
1636
    | -silent | --silent | --silen | --sile | --sil)
1245
1637
      continue ;;
1246
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1638
    *\'*)
1247
1639
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1248
1640
    esac
1249
1641
    case $ac_pass in
1278
1670
# When interrupted or exit'd, cleanup temporary files, and complete
1279
1671
# config.log.  We remove comments because anyway the quotes in there
1280
1672
# would cause problems or look ugly.
1281
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1282
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1673
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1674
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1283
1675
trap 'exit_status=$?
1284
1676
  # Save into config.log some information that might help in debugging.
1285
1677
  {
1292
1684
_ASBOX
1293
1685
    echo
1294
1686
    # The following way of writing the cache mishandles newlines in values,
1295
 
{
 
1687
(
 
1688
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1689
    eval ac_val=\$$ac_var
 
1690
    case $ac_val in #(
 
1691
    *${as_nl}*)
 
1692
      case $ac_var in #(
 
1693
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1694
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1695
      esac
 
1696
      case $ac_var in #(
 
1697
      _ | IFS | as_nl) ;; #(
 
1698
      *) $as_unset $ac_var ;;
 
1699
      esac ;;
 
1700
    esac
 
1701
  done
1296
1702
  (set) 2>&1 |
1297
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1298
 
    *ac_space=\ *)
 
1703
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1704
    *${as_nl}ac_space=\ *)
1299
1705
      sed -n \
1300
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1301
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1302
 
      ;;
 
1706
        "s/'\''/'\''\\\\'\'''\''/g;
 
1707
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1708
      ;; #(
1303
1709
    *)
1304
 
      sed -n \
1305
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1710
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1306
1711
      ;;
1307
 
    esac;
1308
 
}
 
1712
    esac |
 
1713
    sort
 
1714
)
1309
1715
    echo
1310
1716
 
1311
1717
    cat <<\_ASBOX
1316
1722
    echo
1317
1723
    for ac_var in $ac_subst_vars
1318
1724
    do
1319
 
      eval ac_val=$`echo $ac_var`
1320
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1725
      eval ac_val=\$$ac_var
 
1726
      echo "$ac_var='\''$ac_val'\''"
1321
1727
    done | sort
1322
1728
    echo
1323
1729
 
1324
1730
    if test -n "$ac_subst_files"; then
1325
1731
      cat <<\_ASBOX
1326
 
## ------------- ##
1327
 
## Output files. ##
1328
 
## ------------- ##
 
1732
## ------------------- ##
 
1733
## File substitutions. ##
 
1734
## ------------------- ##
1329
1735
_ASBOX
1330
1736
      echo
1331
1737
      for ac_var in $ac_subst_files
1332
1738
      do
1333
 
        eval ac_val=$`echo $ac_var`
1334
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1739
        eval ac_val=\$$ac_var
 
1740
        echo "$ac_var='\''$ac_val'\''"
1335
1741
      done | sort
1336
1742
      echo
1337
1743
    fi
1343
1749
## ----------- ##
1344
1750
_ASBOX
1345
1751
      echo
1346
 
      sed "/^$/d" confdefs.h | sort
 
1752
      cat confdefs.h
1347
1753
      echo
1348
1754
    fi
1349
1755
    test "$ac_signal" != 0 &&
1350
1756
      echo "$as_me: caught signal $ac_signal"
1351
1757
    echo "$as_me: exit $exit_status"
1352
1758
  } >&5
1353
 
  rm -f core *.core &&
1354
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1759
  rm -f core *.core core.conftest.* &&
 
1760
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1355
1761
    exit $exit_status
1356
 
     ' 0
 
1762
' 0
1357
1763
for ac_signal in 1 2 13 15; do
1358
1764
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1359
1765
done
1360
1766
ac_signal=0
1361
1767
 
1362
1768
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1363
 
rm -rf conftest* confdefs.h
1364
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1365
 
echo >confdefs.h
 
1769
rm -f -r conftest* confdefs.h
1366
1770
 
1367
1771
# Predefined preprocessor variables.
1368
1772
 
1393
1797
 
1394
1798
# Let the site file select an alternate cache file if it wants to.
1395
1799
# Prefer explicitly selected file to automatically selected ones.
1396
 
if test -z "$CONFIG_SITE"; then
1397
 
  if test "x$prefix" != xNONE; then
1398
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1399
 
  else
1400
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1401
 
  fi
 
1800
if test -n "$CONFIG_SITE"; then
 
1801
  set x "$CONFIG_SITE"
 
1802
elif test "x$prefix" != xNONE; then
 
1803
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1804
else
 
1805
  set x "$ac_default_prefix/share/config.site" \
 
1806
        "$ac_default_prefix/etc/config.site"
1402
1807
fi
1403
 
for ac_site_file in $CONFIG_SITE; do
 
1808
shift
 
1809
for ac_site_file
 
1810
do
1404
1811
  if test -r "$ac_site_file"; then
1405
1812
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1406
1813
echo "$as_me: loading site script $ac_site_file" >&6;}
1416
1823
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1417
1824
echo "$as_me: loading cache $cache_file" >&6;}
1418
1825
    case $cache_file in
1419
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1420
 
      *)                      . ./$cache_file;;
 
1826
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1827
      *)                      . "./$cache_file";;
1421
1828
    esac
1422
1829
  fi
1423
1830
else
1429
1836
# Check that the precious variables saved in the cache have kept the same
1430
1837
# value.
1431
1838
ac_cache_corrupted=false
1432
 
for ac_var in `(set) 2>&1 |
1433
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1839
for ac_var in $ac_precious_vars; do
1434
1840
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1435
1841
  eval ac_new_set=\$ac_env_${ac_var}_set
1436
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1437
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1842
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1843
  eval ac_new_val=\$ac_env_${ac_var}_value
1438
1844
  case $ac_old_set,$ac_new_set in
1439
1845
    set,)
1440
1846
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1459
1865
  # Pass precious variables to config.status.
1460
1866
  if test "$ac_new_set" = set; then
1461
1867
    case $ac_new_val in
1462
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1463
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1868
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1464
1869
    *) ac_arg=$ac_var=$ac_new_val ;;
1465
1870
    esac
1466
1871
    case " $ac_configure_args " in
1477
1882
   { (exit 1); exit 1; }; }
1478
1883
fi
1479
1884
 
 
1885
 
 
1886
 
 
1887
 
 
1888
 
 
1889
 
 
1890
 
 
1891
 
 
1892
 
 
1893
 
 
1894
 
 
1895
 
 
1896
 
 
1897
 
 
1898
 
 
1899
 
 
1900
 
 
1901
 
 
1902
 
 
1903
 
 
1904
 
 
1905
 
 
1906
 
 
1907
 
 
1908
 
1480
1909
ac_ext=c
1481
1910
ac_cpp='$CPP $CPPFLAGS'
1482
1911
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1484
1913
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1485
1914
 
1486
1915
 
1487
 
 
1488
 
 
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
1916
am__api_version="1.8"
1513
1917
ac_aux_dir=
1514
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1515
 
  if test -f $ac_dir/install-sh; then
 
1918
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1919
  if test -f "$ac_dir/install-sh"; then
1516
1920
    ac_aux_dir=$ac_dir
1517
1921
    ac_install_sh="$ac_aux_dir/install-sh -c"
1518
1922
    break
1519
 
  elif test -f $ac_dir/install.sh; then
 
1923
  elif test -f "$ac_dir/install.sh"; then
1520
1924
    ac_aux_dir=$ac_dir
1521
1925
    ac_install_sh="$ac_aux_dir/install.sh -c"
1522
1926
    break
1523
 
  elif test -f $ac_dir/shtool; then
 
1927
  elif test -f "$ac_dir/shtool"; then
1524
1928
    ac_aux_dir=$ac_dir
1525
1929
    ac_install_sh="$ac_aux_dir/shtool install -c"
1526
1930
    break
1527
1931
  fi
1528
1932
done
1529
1933
if test -z "$ac_aux_dir"; then
1530
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1531
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1934
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1935
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1532
1936
   { (exit 1); exit 1; }; }
1533
1937
fi
1534
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1535
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1536
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1938
 
 
1939
# These three variables are undocumented and unsupported,
 
1940
# and are intended to be withdrawn in a future Autoconf release.
 
1941
# They can cause serious problems if a builder's source tree is in a directory
 
1942
# whose full name contains unusual characters.
 
1943
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1944
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1945
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1946
 
1537
1947
 
1538
1948
# Find a good install program.  We prefer a C program (faster),
1539
1949
# so one script is as good as another.  But avoid the broken or
1548
1958
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1549
1959
# OS/2's system install, which has a completely different semantic
1550
1960
# ./install, which can be erroneously created by make from ./install.sh.
1551
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1552
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1961
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1962
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1553
1963
if test -z "$INSTALL"; then
1554
1964
if test "${ac_cv_path_install+set}" = set; then
1555
1965
  echo $ECHO_N "(cached) $ECHO_C" >&6
1571
1981
    # by default.
1572
1982
    for ac_prog in ginstall scoinst install; do
1573
1983
      for ac_exec_ext in '' $ac_executable_extensions; do
1574
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1984
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1575
1985
          if test $ac_prog = install &&
1576
1986
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1577
1987
            # AIX install.  It has an incompatible calling convention.
1590
2000
    ;;
1591
2001
esac
1592
2002
done
 
2003
IFS=$as_save_IFS
1593
2004
 
1594
2005
 
1595
2006
fi
1596
2007
  if test "${ac_cv_path_install+set}" = set; then
1597
2008
    INSTALL=$ac_cv_path_install
1598
2009
  else
1599
 
    # As a last resort, use the slow shell script.  We don't cache a
1600
 
    # path for INSTALL within a source directory, because that will
 
2010
    # As a last resort, use the slow shell script.  Don't cache a
 
2011
    # value for INSTALL within a source directory, because that will
1601
2012
    # break other packages using the cache if that directory is
1602
 
    # removed, or if the path is relative.
 
2013
    # removed, or if the value is a relative name.
1603
2014
    INSTALL=$ac_install_sh
1604
2015
  fi
1605
2016
fi
1606
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1607
 
echo "${ECHO_T}$INSTALL" >&6
 
2017
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2018
echo "${ECHO_T}$INSTALL" >&6; }
1608
2019
 
1609
2020
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1610
2021
# It thinks the first close brace ends the variable substitution.
1614
2025
 
1615
2026
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1616
2027
 
1617
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1618
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2028
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2029
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1619
2030
# Just in case
1620
2031
sleep 1
1621
2032
echo timestamp > conftest.file
1657
2068
Check your system clock" >&2;}
1658
2069
   { (exit 1); exit 1; }; }
1659
2070
fi
1660
 
echo "$as_me:$LINENO: result: yes" >&5
1661
 
echo "${ECHO_T}yes" >&6
 
2071
{ echo "$as_me:$LINENO: result: yes" >&5
 
2072
echo "${ECHO_T}yes" >&6; }
1662
2073
test "$program_prefix" != NONE &&
1663
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2074
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1664
2075
# Use a double $ so make ignores it.
1665
2076
test "$program_suffix" != NONE &&
1666
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2077
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1667
2078
# Double any \ or $.  echo might interpret backslashes.
1668
2079
# By default was `s,x,x', remove it if useless.
1669
2080
cat <<\_ACEOF >conftest.sed
1670
2081
s/[\\$]/&&/g;s/;s,x,x,$//
1671
2082
_ACEOF
1672
2083
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1673
 
rm conftest.sed
 
2084
rm -f conftest.sed
1674
2085
 
1675
2086
# expand $ac_aux_dir to an absolute path
1676
2087
am_aux_dir=`cd $ac_aux_dir && pwd`
1714
2125
do
1715
2126
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1716
2127
set dummy $ac_prog; ac_word=$2
1717
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1718
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2128
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2129
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1719
2130
if test "${ac_cv_prog_AWK+set}" = set; then
1720
2131
  echo $ECHO_N "(cached) $ECHO_C" >&6
1721
2132
else
1728
2139
  IFS=$as_save_IFS
1729
2140
  test -z "$as_dir" && as_dir=.
1730
2141
  for ac_exec_ext in '' $ac_executable_extensions; do
1731
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2142
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1732
2143
    ac_cv_prog_AWK="$ac_prog"
1733
2144
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734
2145
    break 2
1735
2146
  fi
1736
2147
done
1737
2148
done
 
2149
IFS=$as_save_IFS
1738
2150
 
1739
2151
fi
1740
2152
fi
1741
2153
AWK=$ac_cv_prog_AWK
1742
2154
if test -n "$AWK"; then
1743
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1744
 
echo "${ECHO_T}$AWK" >&6
 
2155
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2156
echo "${ECHO_T}$AWK" >&6; }
1745
2157
else
1746
 
  echo "$as_me:$LINENO: result: no" >&5
1747
 
echo "${ECHO_T}no" >&6
 
2158
  { echo "$as_me:$LINENO: result: no" >&5
 
2159
echo "${ECHO_T}no" >&6; }
1748
2160
fi
1749
2161
 
 
2162
 
1750
2163
  test -n "$AWK" && break
1751
2164
done
1752
2165
 
1753
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1754
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
2166
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2167
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1755
2168
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1756
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2169
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1757
2170
  echo $ECHO_N "(cached) $ECHO_C" >&6
1758
2171
else
1759
2172
  cat >conftest.make <<\_ACEOF
 
2173
SHELL = /bin/sh
1760
2174
all:
1761
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2175
        @echo 'ac_maketemp=X"$(MAKE)"'
1762
2176
_ACEOF
1763
2177
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1764
2178
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1765
 
if test -n "$ac_maketemp"; then
 
2179
if test "$ac_maketemp" != X ; then
1766
2180
  eval ac_cv_prog_make_${ac_make}_set=yes
1767
2181
else
1768
2182
  eval ac_cv_prog_make_${ac_make}_set=no
1770
2184
rm -f conftest.make
1771
2185
fi
1772
2186
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1773
 
  echo "$as_me:$LINENO: result: yes" >&5
1774
 
echo "${ECHO_T}yes" >&6
 
2187
  { echo "$as_me:$LINENO: result: yes" >&5
 
2188
echo "${ECHO_T}yes" >&6; }
1775
2189
  SET_MAKE=
1776
2190
else
1777
 
  echo "$as_me:$LINENO: result: no" >&5
1778
 
echo "${ECHO_T}no" >&6
 
2191
  { echo "$as_me:$LINENO: result: no" >&5
 
2192
echo "${ECHO_T}no" >&6; }
1779
2193
  SET_MAKE="MAKE=${MAKE-make}"
1780
2194
fi
1781
2195
 
1808
2222
 
1809
2223
# Define the identity of the package.
1810
2224
 PACKAGE='libdebian-installer'
1811
 
 VERSION='0.36'
 
2225
 VERSION='0.42'
1812
2226
 
1813
2227
 
1814
2228
cat >>confdefs.h <<_ACEOF
1849
2263
  if test -n "$ac_tool_prefix"; then
1850
2264
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1851
2265
set dummy ${ac_tool_prefix}strip; ac_word=$2
1852
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1853
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2266
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2267
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1854
2268
if test "${ac_cv_prog_STRIP+set}" = set; then
1855
2269
  echo $ECHO_N "(cached) $ECHO_C" >&6
1856
2270
else
1863
2277
  IFS=$as_save_IFS
1864
2278
  test -z "$as_dir" && as_dir=.
1865
2279
  for ac_exec_ext in '' $ac_executable_extensions; do
1866
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1867
2281
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1868
2282
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869
2283
    break 2
1870
2284
  fi
1871
2285
done
1872
2286
done
 
2287
IFS=$as_save_IFS
1873
2288
 
1874
2289
fi
1875
2290
fi
1876
2291
STRIP=$ac_cv_prog_STRIP
1877
2292
if test -n "$STRIP"; then
1878
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1879
 
echo "${ECHO_T}$STRIP" >&6
 
2293
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2294
echo "${ECHO_T}$STRIP" >&6; }
1880
2295
else
1881
 
  echo "$as_me:$LINENO: result: no" >&5
1882
 
echo "${ECHO_T}no" >&6
 
2296
  { echo "$as_me:$LINENO: result: no" >&5
 
2297
echo "${ECHO_T}no" >&6; }
1883
2298
fi
 
2299
 
1884
2300
 
1885
2301
fi
1886
2302
if test -z "$ac_cv_prog_STRIP"; then
1887
2303
  ac_ct_STRIP=$STRIP
1888
2304
  # Extract the first word of "strip", so it can be a program name with args.
1889
2305
set dummy strip; ac_word=$2
1890
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1891
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2306
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2307
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1892
2308
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1893
2309
  echo $ECHO_N "(cached) $ECHO_C" >&6
1894
2310
else
1901
2317
  IFS=$as_save_IFS
1902
2318
  test -z "$as_dir" && as_dir=.
1903
2319
  for ac_exec_ext in '' $ac_executable_extensions; do
1904
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2320
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1905
2321
    ac_cv_prog_ac_ct_STRIP="strip"
1906
2322
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907
2323
    break 2
1908
2324
  fi
1909
2325
done
1910
2326
done
 
2327
IFS=$as_save_IFS
1911
2328
 
1912
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1913
2329
fi
1914
2330
fi
1915
2331
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1916
2332
if test -n "$ac_ct_STRIP"; then
1917
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1918
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2333
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2334
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1919
2335
else
1920
 
  echo "$as_me:$LINENO: result: no" >&5
1921
 
echo "${ECHO_T}no" >&6
 
2336
  { echo "$as_me:$LINENO: result: no" >&5
 
2337
echo "${ECHO_T}no" >&6; }
1922
2338
fi
1923
2339
 
1924
 
  STRIP=$ac_ct_STRIP
 
2340
  if test "x$ac_ct_STRIP" = x; then
 
2341
    STRIP=":"
 
2342
  else
 
2343
    case $cross_compiling:$ac_tool_warned in
 
2344
yes:)
 
2345
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2346
whose name does not start with the host triplet.  If you think this
 
2347
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2348
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2349
whose name does not start with the host triplet.  If you think this
 
2350
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2351
ac_tool_warned=yes ;;
 
2352
esac
 
2353
    STRIP=$ac_ct_STRIP
 
2354
  fi
1925
2355
else
1926
2356
  STRIP="$ac_cv_prog_STRIP"
1927
2357
fi
1934
2364
 
1935
2365
 
1936
2366
 
1937
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1938
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1939
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2367
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2368
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2369
    # Check whether --enable-maintainer-mode was given.
1940
2370
if test "${enable_maintainer_mode+set}" = set; then
1941
 
  enableval="$enable_maintainer_mode"
1942
 
  USE_MAINTAINER_MODE=$enableval
 
2371
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1943
2372
else
1944
2373
  USE_MAINTAINER_MODE=no
1945
 
fi;
1946
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1947
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2374
fi
 
2375
 
 
2376
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2377
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1948
2378
 
1949
2379
 
1950
2380
if test $USE_MAINTAINER_MODE = yes; then
1967
2397
if test -n "$ac_tool_prefix"; then
1968
2398
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1969
2399
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1970
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1971
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2400
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2401
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1972
2402
if test "${ac_cv_prog_CC+set}" = set; then
1973
2403
  echo $ECHO_N "(cached) $ECHO_C" >&6
1974
2404
else
1981
2411
  IFS=$as_save_IFS
1982
2412
  test -z "$as_dir" && as_dir=.
1983
2413
  for ac_exec_ext in '' $ac_executable_extensions; do
1984
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2414
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1985
2415
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1986
2416
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987
2417
    break 2
1988
2418
  fi
1989
2419
done
1990
2420
done
 
2421
IFS=$as_save_IFS
1991
2422
 
1992
2423
fi
1993
2424
fi
1994
2425
CC=$ac_cv_prog_CC
1995
2426
if test -n "$CC"; then
1996
 
  echo "$as_me:$LINENO: result: $CC" >&5
1997
 
echo "${ECHO_T}$CC" >&6
 
2427
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2428
echo "${ECHO_T}$CC" >&6; }
1998
2429
else
1999
 
  echo "$as_me:$LINENO: result: no" >&5
2000
 
echo "${ECHO_T}no" >&6
 
2430
  { echo "$as_me:$LINENO: result: no" >&5
 
2431
echo "${ECHO_T}no" >&6; }
2001
2432
fi
 
2433
 
2002
2434
 
2003
2435
fi
2004
2436
if test -z "$ac_cv_prog_CC"; then
2005
2437
  ac_ct_CC=$CC
2006
2438
  # Extract the first word of "gcc", so it can be a program name with args.
2007
2439
set dummy gcc; ac_word=$2
2008
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2009
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2440
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2441
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2010
2442
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2011
2443
  echo $ECHO_N "(cached) $ECHO_C" >&6
2012
2444
else
2019
2451
  IFS=$as_save_IFS
2020
2452
  test -z "$as_dir" && as_dir=.
2021
2453
  for ac_exec_ext in '' $ac_executable_extensions; do
2022
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2023
2455
    ac_cv_prog_ac_ct_CC="gcc"
2024
2456
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025
2457
    break 2
2026
2458
  fi
2027
2459
done
2028
2460
done
 
2461
IFS=$as_save_IFS
2029
2462
 
2030
2463
fi
2031
2464
fi
2032
2465
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2033
2466
if test -n "$ac_ct_CC"; then
2034
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2035
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2467
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2468
echo "${ECHO_T}$ac_ct_CC" >&6; }
2036
2469
else
2037
 
  echo "$as_me:$LINENO: result: no" >&5
2038
 
echo "${ECHO_T}no" >&6
 
2470
  { echo "$as_me:$LINENO: result: no" >&5
 
2471
echo "${ECHO_T}no" >&6; }
2039
2472
fi
2040
2473
 
2041
 
  CC=$ac_ct_CC
 
2474
  if test "x$ac_ct_CC" = x; then
 
2475
    CC=""
 
2476
  else
 
2477
    case $cross_compiling:$ac_tool_warned in
 
2478
yes:)
 
2479
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2480
whose name does not start with the host triplet.  If you think this
 
2481
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2482
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2483
whose name does not start with the host triplet.  If you think this
 
2484
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2485
ac_tool_warned=yes ;;
 
2486
esac
 
2487
    CC=$ac_ct_CC
 
2488
  fi
2042
2489
else
2043
2490
  CC="$ac_cv_prog_CC"
2044
2491
fi
2045
2492
 
2046
2493
if test -z "$CC"; then
2047
 
  if test -n "$ac_tool_prefix"; then
2048
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2494
          if test -n "$ac_tool_prefix"; then
 
2495
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2049
2496
set dummy ${ac_tool_prefix}cc; ac_word=$2
2050
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2051
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2497
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2498
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2052
2499
if test "${ac_cv_prog_CC+set}" = set; then
2053
2500
  echo $ECHO_N "(cached) $ECHO_C" >&6
2054
2501
else
2061
2508
  IFS=$as_save_IFS
2062
2509
  test -z "$as_dir" && as_dir=.
2063
2510
  for ac_exec_ext in '' $ac_executable_extensions; do
2064
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2065
2512
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2066
2513
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067
2514
    break 2
2068
2515
  fi
2069
2516
done
2070
2517
done
 
2518
IFS=$as_save_IFS
2071
2519
 
2072
2520
fi
2073
2521
fi
2074
2522
CC=$ac_cv_prog_CC
2075
2523
if test -n "$CC"; then
2076
 
  echo "$as_me:$LINENO: result: $CC" >&5
2077
 
echo "${ECHO_T}$CC" >&6
2078
 
else
2079
 
  echo "$as_me:$LINENO: result: no" >&5
2080
 
echo "${ECHO_T}no" >&6
2081
 
fi
2082
 
 
2083
 
fi
2084
 
if test -z "$ac_cv_prog_CC"; then
2085
 
  ac_ct_CC=$CC
2086
 
  # Extract the first word of "cc", so it can be a program name with args.
2087
 
set dummy cc; ac_word=$2
2088
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2089
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2092
 
else
2093
 
  if test -n "$ac_ct_CC"; then
2094
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095
 
else
2096
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097
 
for as_dir in $PATH
2098
 
do
2099
 
  IFS=$as_save_IFS
2100
 
  test -z "$as_dir" && as_dir=.
2101
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2102
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103
 
    ac_cv_prog_ac_ct_CC="cc"
2104
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105
 
    break 2
 
2524
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2525
echo "${ECHO_T}$CC" >&6; }
 
2526
else
 
2527
  { echo "$as_me:$LINENO: result: no" >&5
 
2528
echo "${ECHO_T}no" >&6; }
 
2529
fi
 
2530
 
 
2531
 
2106
2532
  fi
2107
 
done
2108
 
done
2109
 
 
2110
 
fi
2111
 
fi
2112
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113
 
if test -n "$ac_ct_CC"; then
2114
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115
 
echo "${ECHO_T}$ac_ct_CC" >&6
2116
 
else
2117
 
  echo "$as_me:$LINENO: result: no" >&5
2118
 
echo "${ECHO_T}no" >&6
2119
 
fi
2120
 
 
2121
 
  CC=$ac_ct_CC
2122
 
else
2123
 
  CC="$ac_cv_prog_CC"
2124
 
fi
2125
 
 
2126
2533
fi
2127
2534
if test -z "$CC"; then
2128
2535
  # Extract the first word of "cc", so it can be a program name with args.
2129
2536
set dummy cc; ac_word=$2
2130
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2131
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2537
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2538
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132
2539
if test "${ac_cv_prog_CC+set}" = set; then
2133
2540
  echo $ECHO_N "(cached) $ECHO_C" >&6
2134
2541
else
2142
2549
  IFS=$as_save_IFS
2143
2550
  test -z "$as_dir" && as_dir=.
2144
2551
  for ac_exec_ext in '' $ac_executable_extensions; do
2145
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2552
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2146
2553
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2147
2554
       ac_prog_rejected=yes
2148
2555
       continue
2153
2560
  fi
2154
2561
done
2155
2562
done
 
2563
IFS=$as_save_IFS
2156
2564
 
2157
2565
if test $ac_prog_rejected = yes; then
2158
2566
  # We found a bogon in the path, so make sure we never use it.
2170
2578
fi
2171
2579
CC=$ac_cv_prog_CC
2172
2580
if test -n "$CC"; then
2173
 
  echo "$as_me:$LINENO: result: $CC" >&5
2174
 
echo "${ECHO_T}$CC" >&6
 
2581
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2582
echo "${ECHO_T}$CC" >&6; }
2175
2583
else
2176
 
  echo "$as_me:$LINENO: result: no" >&5
2177
 
echo "${ECHO_T}no" >&6
 
2584
  { echo "$as_me:$LINENO: result: no" >&5
 
2585
echo "${ECHO_T}no" >&6; }
2178
2586
fi
 
2587
 
2179
2588
 
2180
2589
fi
2181
2590
if test -z "$CC"; then
2182
2591
  if test -n "$ac_tool_prefix"; then
2183
 
  for ac_prog in cl
 
2592
  for ac_prog in cl.exe
2184
2593
  do
2185
2594
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2186
2595
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2187
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2188
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2596
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2597
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189
2598
if test "${ac_cv_prog_CC+set}" = set; then
2190
2599
  echo $ECHO_N "(cached) $ECHO_C" >&6
2191
2600
else
2198
2607
  IFS=$as_save_IFS
2199
2608
  test -z "$as_dir" && as_dir=.
2200
2609
  for ac_exec_ext in '' $ac_executable_extensions; do
2201
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2610
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2202
2611
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2203
2612
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204
2613
    break 2
2205
2614
  fi
2206
2615
done
2207
2616
done
 
2617
IFS=$as_save_IFS
2208
2618
 
2209
2619
fi
2210
2620
fi
2211
2621
CC=$ac_cv_prog_CC
2212
2622
if test -n "$CC"; then
2213
 
  echo "$as_me:$LINENO: result: $CC" >&5
2214
 
echo "${ECHO_T}$CC" >&6
 
2623
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2624
echo "${ECHO_T}$CC" >&6; }
2215
2625
else
2216
 
  echo "$as_me:$LINENO: result: no" >&5
2217
 
echo "${ECHO_T}no" >&6
 
2626
  { echo "$as_me:$LINENO: result: no" >&5
 
2627
echo "${ECHO_T}no" >&6; }
2218
2628
fi
2219
2629
 
 
2630
 
2220
2631
    test -n "$CC" && break
2221
2632
  done
2222
2633
fi
2223
2634
if test -z "$CC"; then
2224
2635
  ac_ct_CC=$CC
2225
 
  for ac_prog in cl
 
2636
  for ac_prog in cl.exe
2226
2637
do
2227
2638
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2228
2639
set dummy $ac_prog; ac_word=$2
2229
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2230
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2640
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2641
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231
2642
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2232
2643
  echo $ECHO_N "(cached) $ECHO_C" >&6
2233
2644
else
2240
2651
  IFS=$as_save_IFS
2241
2652
  test -z "$as_dir" && as_dir=.
2242
2653
  for ac_exec_ext in '' $ac_executable_extensions; do
2243
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2244
2655
    ac_cv_prog_ac_ct_CC="$ac_prog"
2245
2656
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246
2657
    break 2
2247
2658
  fi
2248
2659
done
2249
2660
done
 
2661
IFS=$as_save_IFS
2250
2662
 
2251
2663
fi
2252
2664
fi
2253
2665
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2254
2666
if test -n "$ac_ct_CC"; then
2255
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2256
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2667
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2668
echo "${ECHO_T}$ac_ct_CC" >&6; }
2257
2669
else
2258
 
  echo "$as_me:$LINENO: result: no" >&5
2259
 
echo "${ECHO_T}no" >&6
 
2670
  { echo "$as_me:$LINENO: result: no" >&5
 
2671
echo "${ECHO_T}no" >&6; }
2260
2672
fi
2261
2673
 
 
2674
 
2262
2675
  test -n "$ac_ct_CC" && break
2263
2676
done
2264
2677
 
2265
 
  CC=$ac_ct_CC
 
2678
  if test "x$ac_ct_CC" = x; then
 
2679
    CC=""
 
2680
  else
 
2681
    case $cross_compiling:$ac_tool_warned in
 
2682
yes:)
 
2683
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2684
whose name does not start with the host triplet.  If you think this
 
2685
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2686
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2687
whose name does not start with the host triplet.  If you think this
 
2688
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2689
ac_tool_warned=yes ;;
 
2690
esac
 
2691
    CC=$ac_ct_CC
 
2692
  fi
2266
2693
fi
2267
2694
 
2268
2695
fi
2275
2702
   { (exit 1); exit 1; }; }
2276
2703
 
2277
2704
# Provide some information about the compiler.
2278
 
echo "$as_me:$LINENO:" \
2279
 
     "checking for C compiler version" >&5
 
2705
echo "$as_me:$LINENO: checking for C compiler version" >&5
2280
2706
ac_compiler=`set X $ac_compile; echo $2`
2281
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2282
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2283
 
  ac_status=$?
2284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285
 
  (exit $ac_status); }
2286
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2287
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2288
 
  ac_status=$?
2289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290
 
  (exit $ac_status); }
2291
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2292
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2293
 
  ac_status=$?
2294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295
 
  (exit $ac_status); }
 
2707
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
 
2708
  (eval $ac_compiler --version >&5) 2>&5
 
2709
  ac_status=$?
 
2710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2711
  (exit $ac_status); }
 
2712
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
 
2713
  (eval $ac_compiler -v >&5) 2>&5
 
2714
  ac_status=$?
 
2715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2716
  (exit $ac_status); }
 
2717
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
 
2718
  (eval $ac_compiler -V >&5) 2>&5
 
2719
  ac_status=$?
 
2720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2721
  (exit $ac_status); }
 
2722
 
 
2723
 
 
2724
# List of possible output files.  We want to start from the most likely,
 
2725
# but we have to check foo.exe before foo, because Cygwin `test -f' looks
 
2726
# also for foo.exe.  b.out is created by i960 compilers.
 
2727
# As a last resort, we also try wildcards: `conftest.*' and `a.*'.
 
2728
# But we are not allowed to rm a.*, and we do not want always remove
 
2729
# conftest.*, so we will list them literally, when appropriate.
 
2730
ac_outfiles="a_out.exe a.out conftest.exe conftest a.exe b.out"
 
2731
 
 
2732
# The IRIX 6 linker writes into existing files which may not be
 
2733
# executable, retaining their permissions.  Remove them first so a
 
2734
# subsequent execution test works.
 
2735
rm -f $ac_outfiles conftest.*
2296
2736
 
2297
2737
cat >conftest.$ac_ext <<_ACEOF
2298
2738
/* confdefs.h.  */
2309
2749
  return 0;
2310
2750
}
2311
2751
_ACEOF
 
2752
 
2312
2753
ac_clean_files_save=$ac_clean_files
2313
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2754
ac_clean_files="$ac_clean_files $ac_outfiles"
 
2755
 
 
2756
# The following tests should remove their output except files matching conftest.*.
2314
2757
# Try to create an executable without -o first, disregard a.out.
2315
2758
# It will help us diagnose broken compilers, and finding out an intuition
2316
2759
# of exeext.
2317
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2318
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2760
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2761
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2319
2762
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2763
 
2320
2764
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2321
2765
  (eval $ac_link_default) 2>&5
2322
2766
  ac_status=$?
2323
2767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324
2768
  (exit $ac_status); }; then
2325
 
  # Find the output, starting from the most likely.  This scheme is
2326
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2327
 
# resort.
2328
 
 
2329
 
# Be careful to initialize this variable, since it used to be cached.
2330
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2331
 
ac_cv_exeext=
2332
 
# b.out is created by i960 compilers.
2333
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2769
  for ac_file in $ac_outfiles a.* conftest.* NO
2334
2770
do
2335
2771
  test -f "$ac_file" || continue
2336
2772
  case $ac_file in
2337
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2338
 
        ;;
2339
 
    conftest.$ac_ext )
2340
 
        # This is the source file.
2341
 
        ;;
2342
 
    [ab].out )
2343
 
        # We found the default executable, but exeext='' is most
2344
 
        # certainly right.
2345
 
        break;;
2346
 
    *.* )
2347
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2348
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2349
 
        # but it would be cool to find out if it's true.  Does anybody
2350
 
        # maintain Libtool? --akim.
2351
 
        export ac_cv_exeext
2352
 
        break;;
2353
 
    * )
2354
 
        break;;
 
2773
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2774
    * ) break;;
2355
2775
  esac
2356
2776
done
 
2777
if test "$ac_file" = NO; then
 
2778
  { { echo "$as_me:$LINENO: error: no output file found
 
2779
See \`config.log' for more details." >&5
 
2780
echo "$as_me: error: no output file found
 
2781
See \`config.log' for more details." >&2;}
 
2782
   { (exit 1); exit 1; }; }
 
2783
fi
 
2784
 
 
2785
 
2357
2786
else
2358
2787
  echo "$as_me: failed program was:" >&5
2359
2788
sed 's/^/| /' conftest.$ac_ext >&5
2365
2794
   { (exit 77); exit 77; }; }
2366
2795
fi
2367
2796
 
2368
 
ac_exeext=$ac_cv_exeext
2369
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2370
 
echo "${ECHO_T}$ac_file" >&6
2371
 
 
2372
 
# Check the compiler produces executables we can run.  If not, either
 
2797
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2798
echo "${ECHO_T}$ac_file" >&6; }
 
2799
# Check that the compiler produces executables we can run.  If not, either
2373
2800
# the compiler is broken, or we cross compile.
2374
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2375
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2801
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2802
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2376
2803
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2377
2804
# If not cross compiling, check that we can run a simple program.
2378
2805
if test "$cross_compiling" != yes; then
2397
2824
    fi
2398
2825
  fi
2399
2826
fi
2400
 
echo "$as_me:$LINENO: result: yes" >&5
2401
 
echo "${ECHO_T}yes" >&6
2402
 
 
2403
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2404
 
ac_clean_files=$ac_clean_files_save
2405
 
# Check the compiler produces executables we can run.  If not, either
2406
 
# the compiler is broken, or we cross compile.
2407
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2408
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2409
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2410
 
echo "${ECHO_T}$cross_compiling" >&6
2411
 
 
2412
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2413
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2414
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2827
{ echo "$as_me:$LINENO: result: yes" >&5
 
2828
echo "${ECHO_T}yes" >&6; }
 
2829
 
 
2830
# Clean up; list also $ac_file, in case it matched a wildcard entry.
 
2831
rm -f $ac_outfiles $ac_file
 
2832
 
 
2833
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2834
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2835
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2836
echo "${ECHO_T}$cross_compiling" >&6; }
 
2837
 
 
2838
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2839
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2840
if test "${ac_cv_exeext+set}" = set; then
 
2841
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2842
else
 
2843
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2415
2844
  (eval $ac_link) 2>&5
2416
2845
  ac_status=$?
2417
2846
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418
2847
  (exit $ac_status); }; then
2419
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2420
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2421
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2422
 
# `rm'.
2423
 
for ac_file in conftest.exe conftest conftest.*; do
2424
 
  test -f "$ac_file" || continue
2425
 
  case $ac_file in
2426
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2427
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2428
 
          export ac_cv_exeext
2429
 
          break;;
2430
 
    * ) break;;
2431
 
  esac
2432
 
done
 
2848
  # If both `conftest.exe' and `conftest' are `present' (well, observable),
 
2849
    # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2850
    # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
 
2851
    for ac_file in conftest.exe conftest conftest.* NO; do
 
2852
      test -f "$ac_file" || continue
 
2853
      case $ac_file in
 
2854
        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2855
        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2856
              break;;
 
2857
        * ) break;;
 
2858
      esac
 
2859
    done
 
2860
    if test "$ac_file" = NO; then
 
2861
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
 
2862
See \`config.log' for more details." >&5
 
2863
echo "$as_me: error: cannot compute suffix of executables: no output file found
 
2864
See \`config.log' for more details." >&2;}
 
2865
   { (exit 1); exit 1; }; }
 
2866
fi
 
2867
 
 
2868
    # Clean up; list also $ac_file, in case it matched conftest.*.
 
2869
    rm -f $ac_outfiles $ac_file
 
2870
 
2433
2871
else
2434
2872
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2435
2873
See \`config.log' for more details." >&5
2436
2874
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2437
2875
See \`config.log' for more details." >&2;}
2438
2876
   { (exit 1); exit 1; }; }
2439
 
fi
2440
 
 
2441
 
rm -f conftest$ac_cv_exeext
2442
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2443
 
echo "${ECHO_T}$ac_cv_exeext" >&6
2444
 
 
2445
 
rm -f conftest.$ac_ext
 
2877
 
 
2878
fi
 
2879
 
 
2880
 
 
2881
fi
 
2882
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2883
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2446
2884
EXEEXT=$ac_cv_exeext
2447
2885
ac_exeext=$EXEEXT
2448
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2449
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2886
 
 
2887
 
 
2888
ac_clean_files=$ac_clean_files_save
 
2889
 
 
2890
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2891
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2450
2892
if test "${ac_cv_objext+set}" = set; then
2451
2893
  echo $ECHO_N "(cached) $ECHO_C" >&6
2452
2894
else
2453
 
  cat >conftest.$ac_ext <<_ACEOF
2454
 
/* confdefs.h.  */
2455
 
_ACEOF
2456
 
cat confdefs.h >>conftest.$ac_ext
2457
 
cat >>conftest.$ac_ext <<_ACEOF
2458
 
/* end confdefs.h.  */
2459
 
 
2460
 
int
2461
 
main ()
2462
 
{
2463
 
 
2464
 
  ;
2465
 
  return 0;
2466
 
}
2467
 
_ACEOF
2468
 
rm -f conftest.o conftest.obj
 
2895
  rm -f conftest.o conftest.obj
2469
2896
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2470
2897
  (eval $ac_compile) 2>&5
2471
2898
  ac_status=$?
2472
2899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473
2900
  (exit $ac_status); }; then
2474
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2901
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2902
  test -f "$ac_file" || continue;
2475
2903
  case $ac_file in
2476
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2904
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2477
2905
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2478
2906
       break;;
2479
2907
  esac
2489
2917
   { (exit 1); exit 1; }; }
2490
2918
fi
2491
2919
 
2492
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2493
2920
fi
2494
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2495
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2921
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2922
echo "${ECHO_T}$ac_cv_objext" >&6; }
2496
2923
OBJEXT=$ac_cv_objext
2497
2924
ac_objext=$OBJEXT
2498
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2499
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2925
 
 
2926
 
 
2927
rm -f conftest.*
 
2928
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2929
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2500
2930
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2501
2931
  echo $ECHO_N "(cached) $ECHO_C" >&6
2502
2932
else
2527
2957
  cat conftest.err >&5
2528
2958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529
2959
  (exit $ac_status); } &&
2530
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2960
         { ac_try='test -z "$ac_c_werror_flag"
 
2961
                         || test ! -s conftest.err'
2531
2962
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532
2963
  (eval $ac_try) 2>&5
2533
2964
  ac_status=$?
2544
2975
  echo "$as_me: failed program was:" >&5
2545
2976
sed 's/^/| /' conftest.$ac_ext >&5
2546
2977
 
2547
 
ac_compiler_gnu=no
 
2978
        ac_compiler_gnu=no
2548
2979
fi
 
2980
 
2549
2981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2550
2982
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2551
2983
 
2552
2984
fi
2553
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2554
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2985
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2986
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2555
2987
GCC=`test $ac_compiler_gnu = yes && echo yes`
2556
2988
ac_test_CFLAGS=${CFLAGS+set}
2557
2989
ac_save_CFLAGS=$CFLAGS
2558
 
CFLAGS="-g"
2559
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2560
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2990
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2991
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2561
2992
if test "${ac_cv_prog_cc_g+set}" = set; then
2562
2993
  echo $ECHO_N "(cached) $ECHO_C" >&6
2563
2994
else
2564
 
  cat >conftest.$ac_ext <<_ACEOF
2565
 
/* confdefs.h.  */
2566
 
_ACEOF
2567
 
cat confdefs.h >>conftest.$ac_ext
2568
 
cat >>conftest.$ac_ext <<_ACEOF
2569
 
/* end confdefs.h.  */
2570
 
 
2571
 
int
2572
 
main ()
2573
 
{
2574
 
 
2575
 
  ;
2576
 
  return 0;
2577
 
}
2578
 
_ACEOF
2579
 
rm -f conftest.$ac_objext
2580
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2581
 
  (eval $ac_compile) 2>conftest.er1
2582
 
  ac_status=$?
2583
 
  grep -v '^ *+' conftest.er1 >conftest.err
2584
 
  rm -f conftest.er1
2585
 
  cat conftest.err >&5
2586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587
 
  (exit $ac_status); } &&
2588
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590
 
  (eval $ac_try) 2>&5
2591
 
  ac_status=$?
2592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593
 
  (exit $ac_status); }; } &&
2594
 
         { ac_try='test -s conftest.$ac_objext'
2595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596
 
  (eval $ac_try) 2>&5
2597
 
  ac_status=$?
2598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
 
  (exit $ac_status); }; }; then
2600
 
  ac_cv_prog_cc_g=yes
2601
 
else
2602
 
  echo "$as_me: failed program was:" >&5
2603
 
sed 's/^/| /' conftest.$ac_ext >&5
2604
 
 
2605
 
ac_cv_prog_cc_g=no
2606
 
fi
2607
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2608
 
fi
2609
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2610
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2995
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2996
   ac_c_werror_flag=yes
 
2997
   ac_cv_prog_cc_g=no
 
2998
   CFLAGS="-g"
 
2999
   cat >conftest.$ac_ext <<_ACEOF
 
3000
/* confdefs.h.  */
 
3001
_ACEOF
 
3002
cat confdefs.h >>conftest.$ac_ext
 
3003
cat >>conftest.$ac_ext <<_ACEOF
 
3004
/* end confdefs.h.  */
 
3005
 
 
3006
int
 
3007
main ()
 
3008
{
 
3009
 
 
3010
  ;
 
3011
  return 0;
 
3012
}
 
3013
_ACEOF
 
3014
rm -f conftest.$ac_objext
 
3015
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3016
  (eval $ac_compile) 2>conftest.er1
 
3017
  ac_status=$?
 
3018
  grep -v '^ *+' conftest.er1 >conftest.err
 
3019
  rm -f conftest.er1
 
3020
  cat conftest.err >&5
 
3021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3022
  (exit $ac_status); } &&
 
3023
         { ac_try='test -z "$ac_c_werror_flag"
 
3024
                         || test ! -s conftest.err'
 
3025
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3026
  (eval $ac_try) 2>&5
 
3027
  ac_status=$?
 
3028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3029
  (exit $ac_status); }; } &&
 
3030
         { ac_try='test -s conftest.$ac_objext'
 
3031
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3032
  (eval $ac_try) 2>&5
 
3033
  ac_status=$?
 
3034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3035
  (exit $ac_status); }; }; then
 
3036
  ac_cv_prog_cc_g=yes
 
3037
else
 
3038
  echo "$as_me: failed program was:" >&5
 
3039
sed 's/^/| /' conftest.$ac_ext >&5
 
3040
 
 
3041
        CFLAGS=""
 
3042
      cat >conftest.$ac_ext <<_ACEOF
 
3043
/* confdefs.h.  */
 
3044
_ACEOF
 
3045
cat confdefs.h >>conftest.$ac_ext
 
3046
cat >>conftest.$ac_ext <<_ACEOF
 
3047
/* end confdefs.h.  */
 
3048
 
 
3049
int
 
3050
main ()
 
3051
{
 
3052
 
 
3053
  ;
 
3054
  return 0;
 
3055
}
 
3056
_ACEOF
 
3057
rm -f conftest.$ac_objext
 
3058
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3059
  (eval $ac_compile) 2>conftest.er1
 
3060
  ac_status=$?
 
3061
  grep -v '^ *+' conftest.er1 >conftest.err
 
3062
  rm -f conftest.er1
 
3063
  cat conftest.err >&5
 
3064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3065
  (exit $ac_status); } &&
 
3066
         { ac_try='test -z "$ac_c_werror_flag"
 
3067
                         || test ! -s conftest.err'
 
3068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3069
  (eval $ac_try) 2>&5
 
3070
  ac_status=$?
 
3071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3072
  (exit $ac_status); }; } &&
 
3073
         { ac_try='test -s conftest.$ac_objext'
 
3074
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3075
  (eval $ac_try) 2>&5
 
3076
  ac_status=$?
 
3077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3078
  (exit $ac_status); }; }; then
 
3079
  :
 
3080
else
 
3081
  echo "$as_me: failed program was:" >&5
 
3082
sed 's/^/| /' conftest.$ac_ext >&5
 
3083
 
 
3084
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3085
         CFLAGS="-g"
 
3086
         cat >conftest.$ac_ext <<_ACEOF
 
3087
/* confdefs.h.  */
 
3088
_ACEOF
 
3089
cat confdefs.h >>conftest.$ac_ext
 
3090
cat >>conftest.$ac_ext <<_ACEOF
 
3091
/* end confdefs.h.  */
 
3092
 
 
3093
int
 
3094
main ()
 
3095
{
 
3096
 
 
3097
  ;
 
3098
  return 0;
 
3099
}
 
3100
_ACEOF
 
3101
rm -f conftest.$ac_objext
 
3102
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3103
  (eval $ac_compile) 2>conftest.er1
 
3104
  ac_status=$?
 
3105
  grep -v '^ *+' conftest.er1 >conftest.err
 
3106
  rm -f conftest.er1
 
3107
  cat conftest.err >&5
 
3108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3109
  (exit $ac_status); } &&
 
3110
         { ac_try='test -z "$ac_c_werror_flag"
 
3111
                         || test ! -s conftest.err'
 
3112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3113
  (eval $ac_try) 2>&5
 
3114
  ac_status=$?
 
3115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3116
  (exit $ac_status); }; } &&
 
3117
         { ac_try='test -s conftest.$ac_objext'
 
3118
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3119
  (eval $ac_try) 2>&5
 
3120
  ac_status=$?
 
3121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3122
  (exit $ac_status); }; }; then
 
3123
  ac_cv_prog_cc_g=yes
 
3124
else
 
3125
  echo "$as_me: failed program was:" >&5
 
3126
sed 's/^/| /' conftest.$ac_ext >&5
 
3127
 
 
3128
 
 
3129
fi
 
3130
 
 
3131
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3132
fi
 
3133
 
 
3134
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3135
fi
 
3136
 
 
3137
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3138
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3139
fi
 
3140
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3141
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2611
3142
if test "$ac_test_CFLAGS" = set; then
2612
3143
  CFLAGS=$ac_save_CFLAGS
2613
3144
elif test $ac_cv_prog_cc_g = yes; then
2623
3154
    CFLAGS=
2624
3155
  fi
2625
3156
fi
2626
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2627
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2628
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3157
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3158
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3159
if test "${ac_cv_prog_cc_c89+set}" = set; then
2629
3160
  echo $ECHO_N "(cached) $ECHO_C" >&6
2630
3161
else
2631
 
  ac_cv_prog_cc_stdc=no
 
3162
  ac_cv_prog_cc_c89=no
2632
3163
ac_save_CC=$CC
2633
3164
cat >conftest.$ac_ext <<_ACEOF
2634
3165
/* confdefs.h.  */
2662
3193
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2663
3194
   function prototypes and stuff, but not '\xHH' hex character constants.
2664
3195
   These don't provoke an error unfortunately, instead are silently treated
2665
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3196
   as 'x'.  The following induces an error, until -std is added to get
2666
3197
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2667
3198
   array size at least.  It's necessary to write '\x00'==0 to get something
2668
 
   that's true only with -std1.  */
 
3199
   that's true only with -std.  */
2669
3200
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2670
3201
 
2671
3202
int test (int i, double x);
2682
3213
  return 0;
2683
3214
}
2684
3215
_ACEOF
2685
 
# Don't try gcc -ansi; that turns off useful extensions and
2686
 
# breaks some systems' header files.
2687
 
# AIX                   -qlanglvl=ansi
2688
 
# Ultrix and OSF/1      -std1
2689
 
# HP-UX 10.20 and later -Ae
2690
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2691
 
# SVR4                  -Xc -D__EXTENSIONS__
2692
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3216
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3217
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2693
3218
do
2694
3219
  CC="$ac_save_CC $ac_arg"
2695
3220
  rm -f conftest.$ac_objext
2701
3226
  cat conftest.err >&5
2702
3227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703
3228
  (exit $ac_status); } &&
2704
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3229
         { ac_try='test -z "$ac_c_werror_flag"
 
3230
                         || test ! -s conftest.err'
2705
3231
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706
3232
  (eval $ac_try) 2>&5
2707
3233
  ac_status=$?
2713
3239
  ac_status=$?
2714
3240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715
3241
  (exit $ac_status); }; }; then
2716
 
  ac_cv_prog_cc_stdc=$ac_arg
2717
 
break
 
3242
  ac_cv_prog_cc_c89=$ac_arg
2718
3243
else
2719
3244
  echo "$as_me: failed program was:" >&5
2720
3245
sed 's/^/| /' conftest.$ac_ext >&5
2721
3246
 
 
3247
 
2722
3248
fi
 
3249
 
2723
3250
rm -f conftest.err conftest.$ac_objext
 
3251
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2724
3252
done
2725
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3253
rm -f conftest.$ac_ext
2726
3254
CC=$ac_save_CC
2727
3255
 
2728
3256
fi
2729
 
 
2730
 
case "x$ac_cv_prog_cc_stdc" in
2731
 
  x|xno)
2732
 
    echo "$as_me:$LINENO: result: none needed" >&5
2733
 
echo "${ECHO_T}none needed" >&6 ;;
 
3257
# AC_CACHE_VAL
 
3258
case "x$ac_cv_prog_cc_c89" in
 
3259
  x)
 
3260
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3261
echo "${ECHO_T}none needed" >&6; } ;;
 
3262
  xno)
 
3263
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3264
echo "${ECHO_T}unsupported" >&6; } ;;
2734
3265
  *)
2735
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2736
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2737
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3266
    CC="$CC $ac_cv_prog_cc_c89"
 
3267
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3268
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2738
3269
esac
2739
3270
 
2740
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2741
 
# in C++ we need to declare it.  In case someone uses the same compiler
2742
 
# for both compiling C and C++ we need to have the C++ compiler decide
2743
 
# the declaration of exit, since it's the most demanding environment.
2744
 
cat >conftest.$ac_ext <<_ACEOF
2745
 
#ifndef __cplusplus
2746
 
  choke me
2747
 
#endif
2748
 
_ACEOF
2749
 
rm -f conftest.$ac_objext
2750
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751
 
  (eval $ac_compile) 2>conftest.er1
2752
 
  ac_status=$?
2753
 
  grep -v '^ *+' conftest.er1 >conftest.err
2754
 
  rm -f conftest.er1
2755
 
  cat conftest.err >&5
2756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757
 
  (exit $ac_status); } &&
2758
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760
 
  (eval $ac_try) 2>&5
2761
 
  ac_status=$?
2762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763
 
  (exit $ac_status); }; } &&
2764
 
         { ac_try='test -s conftest.$ac_objext'
2765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766
 
  (eval $ac_try) 2>&5
2767
 
  ac_status=$?
2768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769
 
  (exit $ac_status); }; }; then
2770
 
  for ac_declaration in \
2771
 
   '' \
2772
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2773
 
   'extern "C" void std::exit (int); using std::exit;' \
2774
 
   'extern "C" void exit (int) throw ();' \
2775
 
   'extern "C" void exit (int);' \
2776
 
   'void exit (int);'
2777
 
do
2778
 
  cat >conftest.$ac_ext <<_ACEOF
2779
 
/* confdefs.h.  */
2780
 
_ACEOF
2781
 
cat confdefs.h >>conftest.$ac_ext
2782
 
cat >>conftest.$ac_ext <<_ACEOF
2783
 
/* end confdefs.h.  */
2784
 
$ac_declaration
2785
 
#include <stdlib.h>
2786
 
int
2787
 
main ()
2788
 
{
2789
 
exit (42);
2790
 
  ;
2791
 
  return 0;
2792
 
}
2793
 
_ACEOF
2794
 
rm -f conftest.$ac_objext
2795
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2796
 
  (eval $ac_compile) 2>conftest.er1
2797
 
  ac_status=$?
2798
 
  grep -v '^ *+' conftest.er1 >conftest.err
2799
 
  rm -f conftest.er1
2800
 
  cat conftest.err >&5
2801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
 
  (exit $ac_status); } &&
2803
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805
 
  (eval $ac_try) 2>&5
2806
 
  ac_status=$?
2807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808
 
  (exit $ac_status); }; } &&
2809
 
         { ac_try='test -s conftest.$ac_objext'
2810
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811
 
  (eval $ac_try) 2>&5
2812
 
  ac_status=$?
2813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814
 
  (exit $ac_status); }; }; then
2815
 
  :
2816
 
else
2817
 
  echo "$as_me: failed program was:" >&5
2818
 
sed 's/^/| /' conftest.$ac_ext >&5
2819
 
 
2820
 
continue
2821
 
fi
2822
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2823
 
  cat >conftest.$ac_ext <<_ACEOF
2824
 
/* confdefs.h.  */
2825
 
_ACEOF
2826
 
cat confdefs.h >>conftest.$ac_ext
2827
 
cat >>conftest.$ac_ext <<_ACEOF
2828
 
/* end confdefs.h.  */
2829
 
$ac_declaration
2830
 
int
2831
 
main ()
2832
 
{
2833
 
exit (42);
2834
 
  ;
2835
 
  return 0;
2836
 
}
2837
 
_ACEOF
2838
 
rm -f conftest.$ac_objext
2839
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840
 
  (eval $ac_compile) 2>conftest.er1
2841
 
  ac_status=$?
2842
 
  grep -v '^ *+' conftest.er1 >conftest.err
2843
 
  rm -f conftest.er1
2844
 
  cat conftest.err >&5
2845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
 
  (exit $ac_status); } &&
2847
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849
 
  (eval $ac_try) 2>&5
2850
 
  ac_status=$?
2851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852
 
  (exit $ac_status); }; } &&
2853
 
         { ac_try='test -s conftest.$ac_objext'
2854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855
 
  (eval $ac_try) 2>&5
2856
 
  ac_status=$?
2857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858
 
  (exit $ac_status); }; }; then
2859
 
  break
2860
 
else
2861
 
  echo "$as_me: failed program was:" >&5
2862
 
sed 's/^/| /' conftest.$ac_ext >&5
2863
 
 
2864
 
fi
2865
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2866
 
done
2867
 
rm -f conftest*
2868
 
if test -n "$ac_declaration"; then
2869
 
  echo '#ifdef __cplusplus' >>confdefs.h
2870
 
  echo $ac_declaration      >>confdefs.h
2871
 
  echo '#endif'             >>confdefs.h
2872
 
fi
2873
 
 
2874
 
else
2875
 
  echo "$as_me: failed program was:" >&5
2876
 
sed 's/^/| /' conftest.$ac_ext >&5
2877
 
 
2878
 
fi
2879
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3271
 
2880
3272
ac_ext=c
2881
3273
ac_cpp='$CPP $CPPFLAGS'
2882
3274
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2884
3276
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2885
3277
DEPDIR="${am__leading_dot}deps"
2886
3278
 
2887
 
          ac_config_commands="$ac_config_commands depfiles"
 
3279
ac_config_commands="$ac_config_commands depfiles"
2888
3280
 
2889
3281
 
2890
3282
am_make=${MAKE-make}
2894
3286
.PHONY: am__doit
2895
3287
END
2896
3288
# If we don't find an include directive, just comment out the code.
2897
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2898
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3289
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3290
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2899
3291
am__include="#"
2900
3292
am__quote=
2901
3293
_am_result=none
2922
3314
fi
2923
3315
 
2924
3316
 
2925
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2926
 
echo "${ECHO_T}$_am_result" >&6
 
3317
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3318
echo "${ECHO_T}$_am_result" >&6; }
2927
3319
rm -f confinc confmf
2928
3320
 
2929
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3321
# Check whether --enable-dependency-tracking was given.
2930
3322
if test "${enable_dependency_tracking+set}" = set; then
2931
 
  enableval="$enable_dependency_tracking"
 
3323
  enableval=$enable_dependency_tracking;
 
3324
fi
2932
3325
 
2933
 
fi;
2934
3326
if test "x$enable_dependency_tracking" != xno; then
2935
3327
  am_depcomp="$ac_aux_dir/depcomp"
2936
3328
  AMDEPBACKSLASH='\'
2950
3342
 
2951
3343
depcc="$CC"   am_compiler_list=
2952
3344
 
2953
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2954
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3345
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3346
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2955
3347
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2956
3348
  echo $ECHO_N "(cached) $ECHO_C" >&6
2957
3349
else
3040
3432
fi
3041
3433
 
3042
3434
fi
3043
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3044
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3435
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3436
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3045
3437
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3046
3438
 
3047
3439
 
3057
3449
fi
3058
3450
 
3059
3451
 
3060
 
# Check whether --enable-shared or --disable-shared was given.
 
3452
# Check whether --enable-shared was given.
3061
3453
if test "${enable_shared+set}" = set; then
3062
 
  enableval="$enable_shared"
3063
 
  p=${PACKAGE-default}
 
3454
  enableval=$enable_shared; p=${PACKAGE-default}
3064
3455
    case $enableval in
3065
3456
    yes) enable_shared=yes ;;
3066
3457
    no) enable_shared=no ;;
3079
3470
    esac
3080
3471
else
3081
3472
  enable_shared=yes
3082
 
fi;
3083
 
 
3084
 
# Check whether --enable-static or --disable-static was given.
 
3473
fi
 
3474
 
 
3475
 
 
3476
# Check whether --enable-static was given.
3085
3477
if test "${enable_static+set}" = set; then
3086
 
  enableval="$enable_static"
3087
 
  p=${PACKAGE-default}
 
3478
  enableval=$enable_static; p=${PACKAGE-default}
3088
3479
    case $enableval in
3089
3480
    yes) enable_static=yes ;;
3090
3481
    no) enable_static=no ;;
3103
3494
    esac
3104
3495
else
3105
3496
  enable_static=yes
3106
 
fi;
3107
 
 
3108
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
3497
fi
 
3498
 
 
3499
 
 
3500
# Check whether --enable-fast-install was given.
3109
3501
if test "${enable_fast_install+set}" = set; then
3110
 
  enableval="$enable_fast_install"
3111
 
  p=${PACKAGE-default}
 
3502
  enableval=$enable_fast_install; p=${PACKAGE-default}
3112
3503
    case $enableval in
3113
3504
    yes) enable_fast_install=yes ;;
3114
3505
    no) enable_fast_install=no ;;
3127
3518
    esac
3128
3519
else
3129
3520
  enable_fast_install=yes
3130
 
fi;
 
3521
fi
 
3522
 
3131
3523
 
3132
3524
# Make sure we can run config.sub.
3133
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3134
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3135
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
3525
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3526
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3527
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3136
3528
   { (exit 1); exit 1; }; }
3137
3529
 
3138
 
echo "$as_me:$LINENO: checking build system type" >&5
3139
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
3530
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3531
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3140
3532
if test "${ac_cv_build+set}" = set; then
3141
3533
  echo $ECHO_N "(cached) $ECHO_C" >&6
3142
3534
else
3143
 
  ac_cv_build_alias=$build_alias
3144
 
test -z "$ac_cv_build_alias" &&
3145
 
  ac_cv_build_alias=`$ac_config_guess`
3146
 
test -z "$ac_cv_build_alias" &&
 
3535
  ac_build_alias=$build_alias
 
3536
test "x$ac_build_alias" = x &&
 
3537
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3538
test "x$ac_build_alias" = x &&
3147
3539
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3148
3540
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3149
3541
   { (exit 1); exit 1; }; }
3150
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3151
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3152
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
3542
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3543
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3544
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3153
3545
   { (exit 1); exit 1; }; }
3154
3546
 
3155
3547
fi
3156
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3157
 
echo "${ECHO_T}$ac_cv_build" >&6
 
3548
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3549
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3550
case $ac_cv_build in
 
3551
*-*-*) ;;
 
3552
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3553
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3554
   { (exit 1); exit 1; }; };;
 
3555
esac
3158
3556
build=$ac_cv_build
3159
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3160
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3161
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3162
 
 
3163
 
 
3164
 
echo "$as_me:$LINENO: checking host system type" >&5
3165
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
3557
ac_save_IFS=$IFS; IFS='-'
 
3558
set x $ac_cv_build
 
3559
shift
 
3560
build_cpu=$1
 
3561
build_vendor=$2
 
3562
shift; shift
 
3563
# Remember, the first character of IFS is used to create $*,
 
3564
# except with old shells:
 
3565
build_os=$*
 
3566
IFS=$ac_save_IFS
 
3567
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3568
 
 
3569
 
 
3570
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3571
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3166
3572
if test "${ac_cv_host+set}" = set; then
3167
3573
  echo $ECHO_N "(cached) $ECHO_C" >&6
3168
3574
else
3169
 
  ac_cv_host_alias=$host_alias
3170
 
test -z "$ac_cv_host_alias" &&
3171
 
  ac_cv_host_alias=$ac_cv_build_alias
3172
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3173
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3174
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
3575
  if test "x$host_alias" = x; then
 
3576
  ac_cv_host=$ac_cv_build
 
3577
else
 
3578
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3579
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3580
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3175
3581
   { (exit 1); exit 1; }; }
 
3582
fi
3176
3583
 
3177
3584
fi
3178
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3179
 
echo "${ECHO_T}$ac_cv_host" >&6
 
3585
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3586
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3587
case $ac_cv_host in
 
3588
*-*-*) ;;
 
3589
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3590
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3591
   { (exit 1); exit 1; }; };;
 
3592
esac
3180
3593
host=$ac_cv_host
3181
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3182
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3183
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3184
 
 
3185
 
 
3186
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3187
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3594
ac_save_IFS=$IFS; IFS='-'
 
3595
set x $ac_cv_host
 
3596
shift
 
3597
host_cpu=$1
 
3598
host_vendor=$2
 
3599
shift; shift
 
3600
# Remember, the first character of IFS is used to create $*,
 
3601
# except with old shells:
 
3602
host_os=$*
 
3603
IFS=$ac_save_IFS
 
3604
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3605
 
 
3606
 
 
3607
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3608
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3188
3609
if test "${lt_cv_path_SED+set}" = set; then
3189
3610
  echo $ECHO_N "(cached) $ECHO_C" >&6
3190
3611
else
3237
3658
fi
3238
3659
 
3239
3660
SED=$lt_cv_path_SED
3240
 
echo "$as_me:$LINENO: result: $SED" >&5
3241
 
echo "${ECHO_T}$SED" >&6
3242
 
 
3243
 
echo "$as_me:$LINENO: checking for egrep" >&5
3244
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3245
 
if test "${ac_cv_prog_egrep+set}" = set; then
3246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3247
 
else
3248
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3249
 
    then ac_cv_prog_egrep='grep -E'
3250
 
    else ac_cv_prog_egrep='egrep'
3251
 
    fi
3252
 
fi
3253
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3254
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3255
 
 EGREP=$ac_cv_prog_egrep
3256
 
 
3257
 
 
3258
 
 
3259
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3661
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3662
echo "${ECHO_T}$SED" >&6; }
 
3663
 
 
3664
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3665
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3666
if test "${ac_cv_path_GREP+set}" = set; then
 
3667
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3668
else
 
3669
  # Extract the first word of "grep ggrep" to use in msg output
 
3670
if test -z "$GREP"; then
 
3671
set dummy grep ggrep; ac_prog_name=$2
 
3672
if test "${ac_cv_path_GREP+set}" = set; then
 
3673
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3674
else
 
3675
  ac_path_GREP_found=false
 
3676
# Loop through the user's path and test for each of PROGNAME-LIST
 
3677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3678
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3679
do
 
3680
  IFS=$as_save_IFS
 
3681
  test -z "$as_dir" && as_dir=.
 
3682
  for ac_prog in grep ggrep; do
 
3683
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3684
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3685
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3686
    # Check for GNU ac_path_GREP and select it if it is found.
 
3687
  # Check for GNU $ac_path_GREP
 
3688
case `"$ac_path_GREP" --version 2>&1` in
 
3689
*GNU*)
 
3690
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3691
*)
 
3692
  ac_count=0
 
3693
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3694
  while :
 
3695
  do
 
3696
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3697
    mv "conftest.tmp" "conftest.in"
 
3698
    cp "conftest.in" "conftest.nl"
 
3699
    echo 'GREP' >> "conftest.nl"
 
3700
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3701
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3702
    ac_count=`expr $ac_count + 1`
 
3703
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3704
      # Best one so far, save it but keep looking for a better one
 
3705
      ac_cv_path_GREP="$ac_path_GREP"
 
3706
      ac_path_GREP_max=$ac_count
 
3707
    fi
 
3708
    # 10*(2^10) chars as input seems more than enough
 
3709
    test $ac_count -gt 10 && break
 
3710
  done
 
3711
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3712
esac
 
3713
 
 
3714
 
 
3715
    $ac_path_GREP_found && break 3
 
3716
  done
 
3717
done
 
3718
 
 
3719
done
 
3720
IFS=$as_save_IFS
 
3721
 
 
3722
 
 
3723
fi
 
3724
 
 
3725
GREP="$ac_cv_path_GREP"
 
3726
if test -z "$GREP"; then
 
3727
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3728
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3729
   { (exit 1); exit 1; }; }
 
3730
fi
 
3731
 
 
3732
else
 
3733
  ac_cv_path_GREP=$GREP
 
3734
fi
 
3735
 
 
3736
 
 
3737
fi
 
3738
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3739
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3740
 GREP="$ac_cv_path_GREP"
 
3741
 
 
3742
 
 
3743
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3744
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3745
if test "${ac_cv_path_EGREP+set}" = set; then
 
3746
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3747
else
 
3748
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3749
   then ac_cv_path_EGREP="$GREP -E"
 
3750
   else
 
3751
     # Extract the first word of "egrep" to use in msg output
 
3752
if test -z "$EGREP"; then
 
3753
set dummy egrep; ac_prog_name=$2
 
3754
if test "${ac_cv_path_EGREP+set}" = set; then
 
3755
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3756
else
 
3757
  ac_path_EGREP_found=false
 
3758
# Loop through the user's path and test for each of PROGNAME-LIST
 
3759
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3760
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3761
do
 
3762
  IFS=$as_save_IFS
 
3763
  test -z "$as_dir" && as_dir=.
 
3764
  for ac_prog in egrep; do
 
3765
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3766
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3767
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
3768
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3769
  # Check for GNU $ac_path_EGREP
 
3770
case `"$ac_path_EGREP" --version 2>&1` in
 
3771
*GNU*)
 
3772
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3773
*)
 
3774
  ac_count=0
 
3775
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3776
  while :
 
3777
  do
 
3778
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3779
    mv "conftest.tmp" "conftest.in"
 
3780
    cp "conftest.in" "conftest.nl"
 
3781
    echo 'EGREP' >> "conftest.nl"
 
3782
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3783
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3784
    ac_count=`expr $ac_count + 1`
 
3785
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3786
      # Best one so far, save it but keep looking for a better one
 
3787
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3788
      ac_path_EGREP_max=$ac_count
 
3789
    fi
 
3790
    # 10*(2^10) chars as input seems more than enough
 
3791
    test $ac_count -gt 10 && break
 
3792
  done
 
3793
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3794
esac
 
3795
 
 
3796
 
 
3797
    $ac_path_EGREP_found && break 3
 
3798
  done
 
3799
done
 
3800
 
 
3801
done
 
3802
IFS=$as_save_IFS
 
3803
 
 
3804
 
 
3805
fi
 
3806
 
 
3807
EGREP="$ac_cv_path_EGREP"
 
3808
if test -z "$EGREP"; then
 
3809
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3810
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3811
   { (exit 1); exit 1; }; }
 
3812
fi
 
3813
 
 
3814
else
 
3815
  ac_cv_path_EGREP=$EGREP
 
3816
fi
 
3817
 
 
3818
 
 
3819
   fi
 
3820
fi
 
3821
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3822
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3823
 EGREP="$ac_cv_path_EGREP"
 
3824
 
 
3825
 
 
3826
 
 
3827
# Check whether --with-gnu-ld was given.
3260
3828
if test "${with_gnu_ld+set}" = set; then
3261
 
  withval="$with_gnu_ld"
3262
 
  test "$withval" = no || with_gnu_ld=yes
 
3829
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3263
3830
else
3264
3831
  with_gnu_ld=no
3265
 
fi;
 
3832
fi
 
3833
 
3266
3834
ac_prog=ld
3267
3835
if test "$GCC" = yes; then
3268
3836
  # Check if gcc -print-prog-name=ld gives a path.
3269
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3270
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
3837
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3838
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3271
3839
  case $host in
3272
3840
  *-*-mingw*)
3273
3841
    # gcc leaves a trailing carriage return which upsets mingw
3296
3864
    ;;
3297
3865
  esac
3298
3866
elif test "$with_gnu_ld" = yes; then
3299
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3300
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
3867
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
3868
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3301
3869
else
3302
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3303
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
3870
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
3871
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3304
3872
fi
3305
3873
if test "${lt_cv_path_LD+set}" = set; then
3306
3874
  echo $ECHO_N "(cached) $ECHO_C" >&6
3333
3901
 
3334
3902
LD="$lt_cv_path_LD"
3335
3903
if test -n "$LD"; then
3336
 
  echo "$as_me:$LINENO: result: $LD" >&5
3337
 
echo "${ECHO_T}$LD" >&6
 
3904
  { echo "$as_me:$LINENO: result: $LD" >&5
 
3905
echo "${ECHO_T}$LD" >&6; }
3338
3906
else
3339
 
  echo "$as_me:$LINENO: result: no" >&5
3340
 
echo "${ECHO_T}no" >&6
 
3907
  { echo "$as_me:$LINENO: result: no" >&5
 
3908
echo "${ECHO_T}no" >&6; }
3341
3909
fi
3342
3910
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3343
3911
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3344
3912
   { (exit 1); exit 1; }; }
3345
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3346
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
3913
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
3914
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3347
3915
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3348
3916
  echo $ECHO_N "(cached) $ECHO_C" >&6
3349
3917
else
3357
3925
  ;;
3358
3926
esac
3359
3927
fi
3360
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3361
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
3928
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
3929
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3362
3930
with_gnu_ld=$lt_cv_prog_gnu_ld
3363
3931
 
3364
3932
 
3365
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3366
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
3933
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
3934
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3367
3935
if test "${lt_cv_ld_reload_flag+set}" = set; then
3368
3936
  echo $ECHO_N "(cached) $ECHO_C" >&6
3369
3937
else
3370
3938
  lt_cv_ld_reload_flag='-r'
3371
3939
fi
3372
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3373
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
3940
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
3941
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3374
3942
reload_flag=$lt_cv_ld_reload_flag
3375
3943
case $reload_flag in
3376
3944
"" | " "*) ;;
3380
3948
case $host_os in
3381
3949
  darwin*)
3382
3950
    if test "$GCC" = yes; then
3383
 
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
3951
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3384
3952
    else
3385
3953
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
3386
3954
    fi
3387
3955
    ;;
3388
3956
esac
3389
3957
 
3390
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3391
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
3958
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
3959
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3392
3960
if test "${lt_cv_path_NM+set}" = set; then
3393
3961
  echo $ECHO_N "(cached) $ECHO_C" >&6
3394
3962
else
3396
3964
  # Let the user override the test.
3397
3965
  lt_cv_path_NM="$NM"
3398
3966
else
3399
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3400
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3401
 
    IFS="$lt_save_ifs"
3402
 
    test -z "$ac_dir" && ac_dir=.
3403
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3404
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3405
 
      # Check to see if the nm accepts a BSD-compat flag.
3406
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3407
 
      #   nm: unknown option "B" ignored
3408
 
      # Tru64's nm complains that /dev/null is an invalid object file
3409
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3410
 
      */dev/null* | *'Invalid file or object type'*)
3411
 
        lt_cv_path_NM="$tmp_nm -B"
3412
 
        break
3413
 
        ;;
3414
 
      *)
3415
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3416
 
        */dev/null*)
3417
 
          lt_cv_path_NM="$tmp_nm -p"
 
3967
  lt_nm_to_check="${ac_tool_prefix}nm"
 
3968
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
3969
    lt_nm_to_check="$lt_nm_to_check nm"
 
3970
  fi
 
3971
  for lt_tmp_nm in $lt_nm_to_check; do
 
3972
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
3973
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
3974
      IFS="$lt_save_ifs"
 
3975
      test -z "$ac_dir" && ac_dir=.
 
3976
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
3977
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
3978
        # Check to see if the nm accepts a BSD-compat flag.
 
3979
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
3980
        #   nm: unknown option "B" ignored
 
3981
        # Tru64's nm complains that /dev/null is an invalid object file
 
3982
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
3983
        */dev/null* | *'Invalid file or object type'*)
 
3984
          lt_cv_path_NM="$tmp_nm -B"
3418
3985
          break
3419
3986
          ;;
3420
3987
        *)
3421
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3422
 
          continue # so that we can try to find one that supports BSD flags
 
3988
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
3989
          */dev/null*)
 
3990
            lt_cv_path_NM="$tmp_nm -p"
 
3991
            break
 
3992
            ;;
 
3993
          *)
 
3994
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
3995
            continue # so that we can try to find one that supports BSD flags
 
3996
            ;;
 
3997
          esac
3423
3998
          ;;
3424
3999
        esac
3425
 
      esac
3426
 
    fi
 
4000
      fi
 
4001
    done
 
4002
    IFS="$lt_save_ifs"
3427
4003
  done
3428
 
  IFS="$lt_save_ifs"
3429
4004
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3430
4005
fi
3431
4006
fi
3432
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3433
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4007
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4008
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3434
4009
NM="$lt_cv_path_NM"
3435
4010
 
3436
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3437
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4011
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4012
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3438
4013
LN_S=$as_ln_s
3439
4014
if test "$LN_S" = "ln -s"; then
3440
 
  echo "$as_me:$LINENO: result: yes" >&5
3441
 
echo "${ECHO_T}yes" >&6
 
4015
  { echo "$as_me:$LINENO: result: yes" >&5
 
4016
echo "${ECHO_T}yes" >&6; }
3442
4017
else
3443
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3444
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4018
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4019
echo "${ECHO_T}no, using $LN_S" >&6; }
3445
4020
fi
3446
4021
 
3447
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3448
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4022
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4023
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3449
4024
if test "${lt_cv_deplibs_check_method+set}" = set; then
3450
4025
  echo $ECHO_N "(cached) $ECHO_C" >&6
3451
4026
else
3495
4070
  lt_cv_deplibs_check_method=pass_all
3496
4071
  ;;
3497
4072
 
3498
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4073
freebsd* | dragonfly*)
3499
4074
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3500
4075
    case $host_cpu in
3501
4076
    i*86 )
3533
4108
  esac
3534
4109
  ;;
3535
4110
 
 
4111
interix3*)
 
4112
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4113
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4114
  ;;
 
4115
 
3536
4116
irix5* | irix6* | nonstopux*)
3537
4117
  case $LD in
3538
4118
  *-32|*"-32 ") libmagic=32-bit;;
3544
4124
  ;;
3545
4125
 
3546
4126
# This must be Linux ELF.
3547
 
linux*)
 
4127
linux* | k*bsd*-gnu)
3548
4128
  lt_cv_deplibs_check_method=pass_all
3549
4129
  ;;
3550
4130
 
3551
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
4131
netbsd* | netbsdelf*-gnu)
3552
4132
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3553
4133
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3554
4134
  else
3578
4158
  lt_cv_deplibs_check_method=pass_all
3579
4159
  ;;
3580
4160
 
3581
 
sco3.2v5*)
3582
 
  lt_cv_deplibs_check_method=pass_all
3583
 
  ;;
3584
 
 
3585
4161
solaris*)
3586
4162
  lt_cv_deplibs_check_method=pass_all
3587
4163
  ;;
3588
4164
 
3589
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
4165
sysv4 | sysv4.3*)
3590
4166
  case $host_vendor in
3591
4167
  motorola)
3592
4168
    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]'
3607
4183
  siemens)
3608
4184
    lt_cv_deplibs_check_method=pass_all
3609
4185
    ;;
 
4186
  pc)
 
4187
    lt_cv_deplibs_check_method=pass_all
 
4188
    ;;
3610
4189
  esac
3611
4190
  ;;
3612
4191
 
3613
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
4192
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3614
4193
  lt_cv_deplibs_check_method=pass_all
3615
4194
  ;;
3616
4195
esac
3617
4196
 
3618
4197
fi
3619
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3620
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4198
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4199
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3621
4200
file_magic_cmd=$lt_cv_file_magic_cmd
3622
4201
deplibs_check_method=$lt_cv_deplibs_check_method
3623
4202
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3628
4207
# If no C compiler was specified, use CC.
3629
4208
LTCC=${LTCC-"$CC"}
3630
4209
 
 
4210
# If no C compiler flags were specified, use CFLAGS.
 
4211
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4212
 
3631
4213
# Allow CC to be a program name with arguments.
3632
4214
compiler=$CC
3633
4215
 
3634
4216
 
3635
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4217
# Check whether --enable-libtool-lock was given.
3636
4218
if test "${enable_libtool_lock+set}" = set; then
3637
 
  enableval="$enable_libtool_lock"
 
4219
  enableval=$enable_libtool_lock;
 
4220
fi
3638
4221
 
3639
 
fi;
3640
4222
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3641
4223
 
3642
4224
# Some flags need to be propagated to the compiler or linker for good
3663
4245
  ;;
3664
4246
*-*-irix6*)
3665
4247
  # Find out which ABI we are using.
3666
 
  echo '#line 3666 "configure"' > conftest.$ac_ext
 
4248
  echo '#line 4248 "configure"' > conftest.$ac_ext
3667
4249
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668
4250
  (eval $ac_compile) 2>&5
3669
4251
  ac_status=$?
3748
4330
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3749
4331
  SAVE_CFLAGS="$CFLAGS"
3750
4332
  CFLAGS="$CFLAGS -belf"
3751
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3752
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4333
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4334
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3753
4335
if test "${lt_cv_cc_needs_belf+set}" = set; then
3754
4336
  echo $ECHO_N "(cached) $ECHO_C" >&6
3755
4337
else
3783
4365
  cat conftest.err >&5
3784
4366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785
4367
  (exit $ac_status); } &&
3786
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4368
         { ac_try='test -z "$ac_c_werror_flag"
 
4369
                         || test ! -s conftest.err'
3787
4370
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788
4371
  (eval $ac_try) 2>&5
3789
4372
  ac_status=$?
3800
4383
  echo "$as_me: failed program was:" >&5
3801
4384
sed 's/^/| /' conftest.$ac_ext >&5
3802
4385
 
3803
 
lt_cv_cc_needs_belf=no
 
4386
        lt_cv_cc_needs_belf=no
3804
4387
fi
 
4388
 
3805
4389
rm -f conftest.err conftest.$ac_objext \
3806
4390
      conftest$ac_exeext conftest.$ac_ext
3807
4391
     ac_ext=c
3811
4395
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812
4396
 
3813
4397
fi
3814
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3815
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4398
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4399
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3816
4400
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3817
4401
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3818
4402
    CFLAGS="$SAVE_CFLAGS"
3819
4403
  fi
3820
4404
  ;;
 
4405
sparc*-*solaris*)
 
4406
  # Find out which ABI we are using.
 
4407
  echo 'int i;' > conftest.$ac_ext
 
4408
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4409
  (eval $ac_compile) 2>&5
 
4410
  ac_status=$?
 
4411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4412
  (exit $ac_status); }; then
 
4413
    case `/usr/bin/file conftest.o` in
 
4414
    *64-bit*)
 
4415
      case $lt_cv_prog_gnu_ld in
 
4416
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
4417
      *)    LD="${LD-ld} -64" ;;
 
4418
      esac
 
4419
      ;;
 
4420
    esac
 
4421
  fi
 
4422
  rm -rf conftest*
 
4423
  ;;
 
4424
 
3821
4425
 
3822
4426
esac
3823
4427
 
3829
4433
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830
4434
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831
4435
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3833
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4436
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4437
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3834
4438
# On Suns, sometimes $CPP names a directory.
3835
4439
if test -n "$CPP" && test -d "$CPP"; then
3836
4440
  CPP=
3890
4494
  # Broken: fails on valid input.
3891
4495
continue
3892
4496
fi
 
4497
 
3893
4498
rm -f conftest.err conftest.$ac_ext
3894
4499
 
3895
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4500
  # OK, works on sane cases.  Now check whether nonexistent headers
3896
4501
  # can be detected and how.
3897
4502
  cat >conftest.$ac_ext <<_ACEOF
3898
4503
/* confdefs.h.  */
3930
4535
ac_preproc_ok=:
3931
4536
break
3932
4537
fi
 
4538
 
3933
4539
rm -f conftest.err conftest.$ac_ext
3934
4540
 
3935
4541
done
3947
4553
else
3948
4554
  ac_cv_prog_CPP=$CPP
3949
4555
fi
3950
 
echo "$as_me:$LINENO: result: $CPP" >&5
3951
 
echo "${ECHO_T}$CPP" >&6
 
4556
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4557
echo "${ECHO_T}$CPP" >&6; }
3952
4558
ac_preproc_ok=false
3953
4559
for ac_c_preproc_warn_flag in '' yes
3954
4560
do
3997
4603
  # Broken: fails on valid input.
3998
4604
continue
3999
4605
fi
 
4606
 
4000
4607
rm -f conftest.err conftest.$ac_ext
4001
4608
 
4002
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4609
  # OK, works on sane cases.  Now check whether nonexistent headers
4003
4610
  # can be detected and how.
4004
4611
  cat >conftest.$ac_ext <<_ACEOF
4005
4612
/* confdefs.h.  */
4037
4644
ac_preproc_ok=:
4038
4645
break
4039
4646
fi
 
4647
 
4040
4648
rm -f conftest.err conftest.$ac_ext
4041
4649
 
4042
4650
done
4059
4667
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4060
4668
 
4061
4669
 
4062
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4063
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4670
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4671
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4064
4672
if test "${ac_cv_header_stdc+set}" = set; then
4065
4673
  echo $ECHO_N "(cached) $ECHO_C" >&6
4066
4674
else
4092
4700
  cat conftest.err >&5
4093
4701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094
4702
  (exit $ac_status); } &&
4095
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4703
         { ac_try='test -z "$ac_c_werror_flag"
 
4704
                         || test ! -s conftest.err'
4096
4705
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097
4706
  (eval $ac_try) 2>&5
4098
4707
  ac_status=$?
4109
4718
  echo "$as_me: failed program was:" >&5
4110
4719
sed 's/^/| /' conftest.$ac_ext >&5
4111
4720
 
4112
 
ac_cv_header_stdc=no
 
4721
        ac_cv_header_stdc=no
4113
4722
fi
 
4723
 
4114
4724
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4115
4725
 
4116
4726
if test $ac_cv_header_stdc = yes; then
4167
4777
cat >>conftest.$ac_ext <<_ACEOF
4168
4778
/* end confdefs.h.  */
4169
4779
#include <ctype.h>
 
4780
#include <stdlib.h>
4170
4781
#if ((' ' & 0x0FF) == 0x020)
4171
4782
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4172
4783
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4186
4797
  for (i = 0; i < 256; i++)
4187
4798
    if (XOR (islower (i), ISLOWER (i))
4188
4799
        || toupper (i) != TOUPPER (i))
4189
 
      exit(2);
4190
 
  exit (0);
 
4800
      return 2;
 
4801
  return 0;
4191
4802
}
4192
4803
_ACEOF
4193
4804
rm -f conftest$ac_exeext
4210
4821
( exit $ac_status )
4211
4822
ac_cv_header_stdc=no
4212
4823
fi
4213
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4214
 
fi
4215
 
fi
4216
 
fi
4217
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4218
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4824
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4825
fi
 
4826
 
 
4827
 
 
4828
fi
 
4829
fi
 
4830
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4831
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4219
4832
if test $ac_cv_header_stdc = yes; then
4220
4833
 
4221
4834
cat >>confdefs.h <<\_ACEOF
4238
4851
                  inttypes.h stdint.h unistd.h
4239
4852
do
4240
4853
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4241
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4242
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4243
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4854
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4855
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4856
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4244
4857
  echo $ECHO_N "(cached) $ECHO_C" >&6
4245
4858
else
4246
4859
  cat >conftest.$ac_ext <<_ACEOF
4262
4875
  cat conftest.err >&5
4263
4876
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264
4877
  (exit $ac_status); } &&
4265
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4878
         { ac_try='test -z "$ac_c_werror_flag"
 
4879
                         || test ! -s conftest.err'
4266
4880
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267
4881
  (eval $ac_try) 2>&5
4268
4882
  ac_status=$?
4279
4893
  echo "$as_me: failed program was:" >&5
4280
4894
sed 's/^/| /' conftest.$ac_ext >&5
4281
4895
 
4282
 
eval "$as_ac_Header=no"
 
4896
        eval "$as_ac_Header=no"
4283
4897
fi
 
4898
 
4284
4899
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4285
4900
fi
4286
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4287
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4901
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4902
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4903
echo "${ECHO_T}$ac_res" >&6; }
4288
4904
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4289
4905
  cat >>confdefs.h <<_ACEOF
4290
4906
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4299
4915
for ac_header in dlfcn.h
4300
4916
do
4301
4917
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4302
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4303
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4304
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4305
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4918
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4919
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4920
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4921
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4306
4922
  echo $ECHO_N "(cached) $ECHO_C" >&6
4307
4923
fi
4308
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4309
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4924
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4925
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4926
echo "${ECHO_T}$ac_res" >&6; }
4310
4927
else
4311
4928
  # Is the header compilable?
4312
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4313
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
4929
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4930
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4314
4931
cat >conftest.$ac_ext <<_ACEOF
4315
4932
/* confdefs.h.  */
4316
4933
_ACEOF
4329
4946
  cat conftest.err >&5
4330
4947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331
4948
  (exit $ac_status); } &&
4332
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4949
         { ac_try='test -z "$ac_c_werror_flag"
 
4950
                         || test ! -s conftest.err'
4333
4951
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334
4952
  (eval $ac_try) 2>&5
4335
4953
  ac_status=$?
4346
4964
  echo "$as_me: failed program was:" >&5
4347
4965
sed 's/^/| /' conftest.$ac_ext >&5
4348
4966
 
4349
 
ac_header_compiler=no
 
4967
        ac_header_compiler=no
4350
4968
fi
 
4969
 
4351
4970
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4352
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4353
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
4971
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4972
echo "${ECHO_T}$ac_header_compiler" >&6; }
4354
4973
 
4355
4974
# Is the header present?
4356
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4357
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
4975
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4976
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4358
4977
cat >conftest.$ac_ext <<_ACEOF
4359
4978
/* confdefs.h.  */
4360
4979
_ACEOF
4388
5007
 
4389
5008
  ac_header_preproc=no
4390
5009
fi
 
5010
 
4391
5011
rm -f conftest.err conftest.$ac_ext
4392
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4393
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5012
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5013
echo "${ECHO_T}$ac_header_preproc" >&6; }
4394
5014
 
4395
5015
# So?  What about this header?
4396
5016
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4414
5034
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4415
5035
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4416
5036
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4417
 
    (
4418
 
      cat <<\_ASBOX
4419
 
## ---------------------------------------------- ##
4420
 
## Report this to the libdebian-installer lists.  ##
4421
 
## ---------------------------------------------- ##
4422
 
_ASBOX
4423
 
    ) |
4424
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5037
 
4425
5038
    ;;
4426
5039
esac
4427
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4428
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4429
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5040
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5041
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5042
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4430
5043
  echo $ECHO_N "(cached) $ECHO_C" >&6
4431
5044
else
4432
5045
  eval "$as_ac_Header=\$ac_header_preproc"
4433
5046
fi
4434
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4435
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5047
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5048
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5049
echo "${ECHO_T}$ac_res" >&6; }
4436
5050
 
4437
5051
fi
4438
5052
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4444
5058
 
4445
5059
done
4446
5060
 
4447
 
ac_ext=cc
 
5061
ac_ext=cpp
4448
5062
ac_cpp='$CXXCPP $CPPFLAGS'
4449
5063
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4450
5064
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4451
5065
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4452
 
if test -n "$ac_tool_prefix"; then
4453
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5066
if test -z "$CXX"; then
 
5067
  if test -n "$CCC"; then
 
5068
    CXX=$CCC
 
5069
  else
 
5070
    if test -n "$ac_tool_prefix"; then
 
5071
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4454
5072
  do
4455
5073
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4456
5074
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4457
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4458
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5075
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5076
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4459
5077
if test "${ac_cv_prog_CXX+set}" = set; then
4460
5078
  echo $ECHO_N "(cached) $ECHO_C" >&6
4461
5079
else
4468
5086
  IFS=$as_save_IFS
4469
5087
  test -z "$as_dir" && as_dir=.
4470
5088
  for ac_exec_ext in '' $ac_executable_extensions; do
4471
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5089
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4472
5090
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4473
5091
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474
5092
    break 2
4475
5093
  fi
4476
5094
done
4477
5095
done
 
5096
IFS=$as_save_IFS
4478
5097
 
4479
5098
fi
4480
5099
fi
4481
5100
CXX=$ac_cv_prog_CXX
4482
5101
if test -n "$CXX"; then
4483
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4484
 
echo "${ECHO_T}$CXX" >&6
 
5102
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5103
echo "${ECHO_T}$CXX" >&6; }
4485
5104
else
4486
 
  echo "$as_me:$LINENO: result: no" >&5
4487
 
echo "${ECHO_T}no" >&6
 
5105
  { echo "$as_me:$LINENO: result: no" >&5
 
5106
echo "${ECHO_T}no" >&6; }
4488
5107
fi
4489
5108
 
 
5109
 
4490
5110
    test -n "$CXX" && break
4491
5111
  done
4492
5112
fi
4493
5113
if test -z "$CXX"; then
4494
5114
  ac_ct_CXX=$CXX
4495
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5115
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4496
5116
do
4497
5117
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4498
5118
set dummy $ac_prog; ac_word=$2
4499
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4500
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5119
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5120
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4501
5121
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4502
5122
  echo $ECHO_N "(cached) $ECHO_C" >&6
4503
5123
else
4510
5130
  IFS=$as_save_IFS
4511
5131
  test -z "$as_dir" && as_dir=.
4512
5132
  for ac_exec_ext in '' $ac_executable_extensions; do
4513
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4514
5134
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4515
5135
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4516
5136
    break 2
4517
5137
  fi
4518
5138
done
4519
5139
done
 
5140
IFS=$as_save_IFS
4520
5141
 
4521
5142
fi
4522
5143
fi
4523
5144
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4524
5145
if test -n "$ac_ct_CXX"; then
4525
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4526
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5146
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5147
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4527
5148
else
4528
 
  echo "$as_me:$LINENO: result: no" >&5
4529
 
echo "${ECHO_T}no" >&6
 
5149
  { echo "$as_me:$LINENO: result: no" >&5
 
5150
echo "${ECHO_T}no" >&6; }
4530
5151
fi
4531
5152
 
 
5153
 
4532
5154
  test -n "$ac_ct_CXX" && break
4533
5155
done
4534
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4535
 
 
4536
 
  CXX=$ac_ct_CXX
4537
 
fi
4538
 
 
4539
 
 
 
5156
 
 
5157
  if test "x$ac_ct_CXX" = x; then
 
5158
    CXX="g++"
 
5159
  else
 
5160
    case $cross_compiling:$ac_tool_warned in
 
5161
yes:)
 
5162
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5163
whose name does not start with the host triplet.  If you think this
 
5164
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5165
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5166
whose name does not start with the host triplet.  If you think this
 
5167
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5168
ac_tool_warned=yes ;;
 
5169
esac
 
5170
    CXX=$ac_ct_CXX
 
5171
  fi
 
5172
fi
 
5173
 
 
5174
  fi
 
5175
fi
4540
5176
# Provide some information about the compiler.
4541
 
echo "$as_me:$LINENO:" \
4542
 
     "checking for C++ compiler version" >&5
 
5177
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4543
5178
ac_compiler=`set X $ac_compile; echo $2`
4544
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4545
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4546
 
  ac_status=$?
4547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548
 
  (exit $ac_status); }
4549
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4550
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4551
 
  ac_status=$?
4552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553
 
  (exit $ac_status); }
4554
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4555
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5179
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
 
5180
  (eval $ac_compiler --version >&5) 2>&5
 
5181
  ac_status=$?
 
5182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5183
  (exit $ac_status); }
 
5184
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
 
5185
  (eval $ac_compiler -v >&5) 2>&5
 
5186
  ac_status=$?
 
5187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5188
  (exit $ac_status); }
 
5189
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
 
5190
  (eval $ac_compiler -V >&5) 2>&5
4556
5191
  ac_status=$?
4557
5192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558
5193
  (exit $ac_status); }
4559
5194
 
4560
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4561
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5195
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5196
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4562
5197
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4563
5198
  echo $ECHO_N "(cached) $ECHO_C" >&6
4564
5199
else
4589
5224
  cat conftest.err >&5
4590
5225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591
5226
  (exit $ac_status); } &&
4592
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
5227
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5228
                         || test ! -s conftest.err'
4593
5229
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594
5230
  (eval $ac_try) 2>&5
4595
5231
  ac_status=$?
4606
5242
  echo "$as_me: failed program was:" >&5
4607
5243
sed 's/^/| /' conftest.$ac_ext >&5
4608
5244
 
4609
 
ac_compiler_gnu=no
 
5245
        ac_compiler_gnu=no
4610
5246
fi
 
5247
 
4611
5248
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4612
5249
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4613
5250
 
4614
5251
fi
4615
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4616
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5252
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5253
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4617
5254
GXX=`test $ac_compiler_gnu = yes && echo yes`
4618
5255
ac_test_CXXFLAGS=${CXXFLAGS+set}
4619
5256
ac_save_CXXFLAGS=$CXXFLAGS
4620
 
CXXFLAGS="-g"
4621
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4622
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5257
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5258
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4623
5259
if test "${ac_cv_prog_cxx_g+set}" = set; then
4624
5260
  echo $ECHO_N "(cached) $ECHO_C" >&6
4625
5261
else
4626
 
  cat >conftest.$ac_ext <<_ACEOF
4627
 
/* confdefs.h.  */
4628
 
_ACEOF
4629
 
cat confdefs.h >>conftest.$ac_ext
4630
 
cat >>conftest.$ac_ext <<_ACEOF
4631
 
/* end confdefs.h.  */
4632
 
 
4633
 
int
4634
 
main ()
4635
 
{
4636
 
 
4637
 
  ;
4638
 
  return 0;
4639
 
}
4640
 
_ACEOF
4641
 
rm -f conftest.$ac_objext
4642
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643
 
  (eval $ac_compile) 2>conftest.er1
4644
 
  ac_status=$?
4645
 
  grep -v '^ *+' conftest.er1 >conftest.err
4646
 
  rm -f conftest.er1
4647
 
  cat conftest.err >&5
4648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649
 
  (exit $ac_status); } &&
4650
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652
 
  (eval $ac_try) 2>&5
4653
 
  ac_status=$?
4654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655
 
  (exit $ac_status); }; } &&
4656
 
         { ac_try='test -s conftest.$ac_objext'
4657
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658
 
  (eval $ac_try) 2>&5
4659
 
  ac_status=$?
4660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661
 
  (exit $ac_status); }; }; then
4662
 
  ac_cv_prog_cxx_g=yes
4663
 
else
4664
 
  echo "$as_me: failed program was:" >&5
4665
 
sed 's/^/| /' conftest.$ac_ext >&5
4666
 
 
4667
 
ac_cv_prog_cxx_g=no
4668
 
fi
4669
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4670
 
fi
4671
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4672
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5262
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5263
   ac_cxx_werror_flag=yes
 
5264
   ac_cv_prog_cxx_g=no
 
5265
   CXXFLAGS="-g"
 
5266
   cat >conftest.$ac_ext <<_ACEOF
 
5267
/* confdefs.h.  */
 
5268
_ACEOF
 
5269
cat confdefs.h >>conftest.$ac_ext
 
5270
cat >>conftest.$ac_ext <<_ACEOF
 
5271
/* end confdefs.h.  */
 
5272
 
 
5273
int
 
5274
main ()
 
5275
{
 
5276
 
 
5277
  ;
 
5278
  return 0;
 
5279
}
 
5280
_ACEOF
 
5281
rm -f conftest.$ac_objext
 
5282
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5283
  (eval $ac_compile) 2>conftest.er1
 
5284
  ac_status=$?
 
5285
  grep -v '^ *+' conftest.er1 >conftest.err
 
5286
  rm -f conftest.er1
 
5287
  cat conftest.err >&5
 
5288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5289
  (exit $ac_status); } &&
 
5290
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5291
                         || test ! -s conftest.err'
 
5292
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5293
  (eval $ac_try) 2>&5
 
5294
  ac_status=$?
 
5295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5296
  (exit $ac_status); }; } &&
 
5297
         { ac_try='test -s conftest.$ac_objext'
 
5298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5299
  (eval $ac_try) 2>&5
 
5300
  ac_status=$?
 
5301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5302
  (exit $ac_status); }; }; then
 
5303
  ac_cv_prog_cxx_g=yes
 
5304
else
 
5305
  echo "$as_me: failed program was:" >&5
 
5306
sed 's/^/| /' conftest.$ac_ext >&5
 
5307
 
 
5308
        CXXFLAGS=""
 
5309
      cat >conftest.$ac_ext <<_ACEOF
 
5310
/* confdefs.h.  */
 
5311
_ACEOF
 
5312
cat confdefs.h >>conftest.$ac_ext
 
5313
cat >>conftest.$ac_ext <<_ACEOF
 
5314
/* end confdefs.h.  */
 
5315
 
 
5316
int
 
5317
main ()
 
5318
{
 
5319
 
 
5320
  ;
 
5321
  return 0;
 
5322
}
 
5323
_ACEOF
 
5324
rm -f conftest.$ac_objext
 
5325
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5326
  (eval $ac_compile) 2>conftest.er1
 
5327
  ac_status=$?
 
5328
  grep -v '^ *+' conftest.er1 >conftest.err
 
5329
  rm -f conftest.er1
 
5330
  cat conftest.err >&5
 
5331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5332
  (exit $ac_status); } &&
 
5333
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5334
                         || test ! -s conftest.err'
 
5335
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5336
  (eval $ac_try) 2>&5
 
5337
  ac_status=$?
 
5338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5339
  (exit $ac_status); }; } &&
 
5340
         { ac_try='test -s conftest.$ac_objext'
 
5341
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5342
  (eval $ac_try) 2>&5
 
5343
  ac_status=$?
 
5344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5345
  (exit $ac_status); }; }; then
 
5346
  :
 
5347
else
 
5348
  echo "$as_me: failed program was:" >&5
 
5349
sed 's/^/| /' conftest.$ac_ext >&5
 
5350
 
 
5351
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5352
         CXXFLAGS="-g"
 
5353
         cat >conftest.$ac_ext <<_ACEOF
 
5354
/* confdefs.h.  */
 
5355
_ACEOF
 
5356
cat confdefs.h >>conftest.$ac_ext
 
5357
cat >>conftest.$ac_ext <<_ACEOF
 
5358
/* end confdefs.h.  */
 
5359
 
 
5360
int
 
5361
main ()
 
5362
{
 
5363
 
 
5364
  ;
 
5365
  return 0;
 
5366
}
 
5367
_ACEOF
 
5368
rm -f conftest.$ac_objext
 
5369
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5370
  (eval $ac_compile) 2>conftest.er1
 
5371
  ac_status=$?
 
5372
  grep -v '^ *+' conftest.er1 >conftest.err
 
5373
  rm -f conftest.er1
 
5374
  cat conftest.err >&5
 
5375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5376
  (exit $ac_status); } &&
 
5377
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5378
                         || test ! -s conftest.err'
 
5379
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5380
  (eval $ac_try) 2>&5
 
5381
  ac_status=$?
 
5382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5383
  (exit $ac_status); }; } &&
 
5384
         { ac_try='test -s conftest.$ac_objext'
 
5385
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5386
  (eval $ac_try) 2>&5
 
5387
  ac_status=$?
 
5388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5389
  (exit $ac_status); }; }; then
 
5390
  ac_cv_prog_cxx_g=yes
 
5391
else
 
5392
  echo "$as_me: failed program was:" >&5
 
5393
sed 's/^/| /' conftest.$ac_ext >&5
 
5394
 
 
5395
 
 
5396
fi
 
5397
 
 
5398
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5399
fi
 
5400
 
 
5401
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5402
fi
 
5403
 
 
5404
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5405
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5406
fi
 
5407
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5408
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4673
5409
if test "$ac_test_CXXFLAGS" = set; then
4674
5410
  CXXFLAGS=$ac_save_CXXFLAGS
4675
5411
elif test $ac_cv_prog_cxx_g = yes; then
4685
5421
    CXXFLAGS=
4686
5422
  fi
4687
5423
fi
4688
 
for ac_declaration in \
4689
 
   '' \
4690
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4691
 
   'extern "C" void std::exit (int); using std::exit;' \
4692
 
   'extern "C" void exit (int) throw ();' \
4693
 
   'extern "C" void exit (int);' \
4694
 
   'void exit (int);'
4695
 
do
4696
 
  cat >conftest.$ac_ext <<_ACEOF
4697
 
/* confdefs.h.  */
4698
 
_ACEOF
4699
 
cat confdefs.h >>conftest.$ac_ext
4700
 
cat >>conftest.$ac_ext <<_ACEOF
4701
 
/* end confdefs.h.  */
4702
 
$ac_declaration
4703
 
#include <stdlib.h>
4704
 
int
4705
 
main ()
4706
 
{
4707
 
exit (42);
4708
 
  ;
4709
 
  return 0;
4710
 
}
4711
 
_ACEOF
4712
 
rm -f conftest.$ac_objext
4713
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4714
 
  (eval $ac_compile) 2>conftest.er1
4715
 
  ac_status=$?
4716
 
  grep -v '^ *+' conftest.er1 >conftest.err
4717
 
  rm -f conftest.er1
4718
 
  cat conftest.err >&5
4719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720
 
  (exit $ac_status); } &&
4721
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4722
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723
 
  (eval $ac_try) 2>&5
4724
 
  ac_status=$?
4725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726
 
  (exit $ac_status); }; } &&
4727
 
         { ac_try='test -s conftest.$ac_objext'
4728
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729
 
  (eval $ac_try) 2>&5
4730
 
  ac_status=$?
4731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
 
  (exit $ac_status); }; }; then
4733
 
  :
4734
 
else
4735
 
  echo "$as_me: failed program was:" >&5
4736
 
sed 's/^/| /' conftest.$ac_ext >&5
4737
 
 
4738
 
continue
4739
 
fi
4740
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4741
 
  cat >conftest.$ac_ext <<_ACEOF
4742
 
/* confdefs.h.  */
4743
 
_ACEOF
4744
 
cat confdefs.h >>conftest.$ac_ext
4745
 
cat >>conftest.$ac_ext <<_ACEOF
4746
 
/* end confdefs.h.  */
4747
 
$ac_declaration
4748
 
int
4749
 
main ()
4750
 
{
4751
 
exit (42);
4752
 
  ;
4753
 
  return 0;
4754
 
}
4755
 
_ACEOF
4756
 
rm -f conftest.$ac_objext
4757
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4758
 
  (eval $ac_compile) 2>conftest.er1
4759
 
  ac_status=$?
4760
 
  grep -v '^ *+' conftest.er1 >conftest.err
4761
 
  rm -f conftest.er1
4762
 
  cat conftest.err >&5
4763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764
 
  (exit $ac_status); } &&
4765
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767
 
  (eval $ac_try) 2>&5
4768
 
  ac_status=$?
4769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
 
  (exit $ac_status); }; } &&
4771
 
         { ac_try='test -s conftest.$ac_objext'
4772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773
 
  (eval $ac_try) 2>&5
4774
 
  ac_status=$?
4775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776
 
  (exit $ac_status); }; }; then
4777
 
  break
4778
 
else
4779
 
  echo "$as_me: failed program was:" >&5
4780
 
sed 's/^/| /' conftest.$ac_ext >&5
4781
 
 
4782
 
fi
4783
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4784
 
done
4785
 
rm -f conftest*
4786
 
if test -n "$ac_declaration"; then
4787
 
  echo '#ifdef __cplusplus' >>confdefs.h
4788
 
  echo $ac_declaration      >>confdefs.h
4789
 
  echo '#endif'             >>confdefs.h
4790
 
fi
4791
 
 
4792
 
ac_ext=cc
 
5424
ac_ext=cpp
4793
5425
ac_cpp='$CXXCPP $CPPFLAGS'
4794
5426
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795
5427
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4797
5429
 
4798
5430
depcc="$CXX"  am_compiler_list=
4799
5431
 
4800
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4801
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5432
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5433
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4802
5434
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4803
5435
  echo $ECHO_N "(cached) $ECHO_C" >&6
4804
5436
else
4887
5519
fi
4888
5520
 
4889
5521
fi
4890
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4891
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5522
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5523
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4892
5524
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4893
5525
 
4894
5526
 
4909
5541
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4910
5542
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4911
5543
    (test "X$CXX" != "Xg++"))) ; then
4912
 
  ac_ext=cc
 
5544
  ac_ext=cpp
4913
5545
ac_cpp='$CXXCPP $CPPFLAGS'
4914
5546
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915
5547
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916
5548
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4917
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4918
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5549
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5550
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4919
5551
if test -z "$CXXCPP"; then
4920
5552
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4921
5553
  echo $ECHO_N "(cached) $ECHO_C" >&6
4971
5603
  # Broken: fails on valid input.
4972
5604
continue
4973
5605
fi
 
5606
 
4974
5607
rm -f conftest.err conftest.$ac_ext
4975
5608
 
4976
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5609
  # OK, works on sane cases.  Now check whether nonexistent headers
4977
5610
  # can be detected and how.
4978
5611
  cat >conftest.$ac_ext <<_ACEOF
4979
5612
/* confdefs.h.  */
5011
5644
ac_preproc_ok=:
5012
5645
break
5013
5646
fi
 
5647
 
5014
5648
rm -f conftest.err conftest.$ac_ext
5015
5649
 
5016
5650
done
5028
5662
else
5029
5663
  ac_cv_prog_CXXCPP=$CXXCPP
5030
5664
fi
5031
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5032
 
echo "${ECHO_T}$CXXCPP" >&6
 
5665
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5666
echo "${ECHO_T}$CXXCPP" >&6; }
5033
5667
ac_preproc_ok=false
5034
5668
for ac_cxx_preproc_warn_flag in '' yes
5035
5669
do
5078
5712
  # Broken: fails on valid input.
5079
5713
continue
5080
5714
fi
 
5715
 
5081
5716
rm -f conftest.err conftest.$ac_ext
5082
5717
 
5083
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5718
  # OK, works on sane cases.  Now check whether nonexistent headers
5084
5719
  # can be detected and how.
5085
5720
  cat >conftest.$ac_ext <<_ACEOF
5086
5721
/* confdefs.h.  */
5118
5753
ac_preproc_ok=:
5119
5754
break
5120
5755
fi
 
5756
 
5121
5757
rm -f conftest.err conftest.$ac_ext
5122
5758
 
5123
5759
done
5133
5769
   { (exit 1); exit 1; }; }
5134
5770
fi
5135
5771
 
5136
 
ac_ext=cc
 
5772
ac_ext=cpp
5137
5773
ac_cpp='$CXXCPP $CPPFLAGS'
5138
5774
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139
5775
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147
5783
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148
5784
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5149
5785
if test -n "$ac_tool_prefix"; then
5150
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5786
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5151
5787
  do
5152
5788
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153
5789
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5155
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5790
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5791
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5156
5792
if test "${ac_cv_prog_F77+set}" = set; then
5157
5793
  echo $ECHO_N "(cached) $ECHO_C" >&6
5158
5794
else
5165
5801
  IFS=$as_save_IFS
5166
5802
  test -z "$as_dir" && as_dir=.
5167
5803
  for ac_exec_ext in '' $ac_executable_extensions; do
5168
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5169
5805
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5170
5806
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171
5807
    break 2
5172
5808
  fi
5173
5809
done
5174
5810
done
 
5811
IFS=$as_save_IFS
5175
5812
 
5176
5813
fi
5177
5814
fi
5178
5815
F77=$ac_cv_prog_F77
5179
5816
if test -n "$F77"; then
5180
 
  echo "$as_me:$LINENO: result: $F77" >&5
5181
 
echo "${ECHO_T}$F77" >&6
 
5817
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5818
echo "${ECHO_T}$F77" >&6; }
5182
5819
else
5183
 
  echo "$as_me:$LINENO: result: no" >&5
5184
 
echo "${ECHO_T}no" >&6
 
5820
  { echo "$as_me:$LINENO: result: no" >&5
 
5821
echo "${ECHO_T}no" >&6; }
5185
5822
fi
5186
5823
 
 
5824
 
5187
5825
    test -n "$F77" && break
5188
5826
  done
5189
5827
fi
5190
5828
if test -z "$F77"; then
5191
5829
  ac_ct_F77=$F77
5192
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5830
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5193
5831
do
5194
5832
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5195
5833
set dummy $ac_prog; ac_word=$2
5196
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5197
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5834
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5835
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5198
5836
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5199
5837
  echo $ECHO_N "(cached) $ECHO_C" >&6
5200
5838
else
5207
5845
  IFS=$as_save_IFS
5208
5846
  test -z "$as_dir" && as_dir=.
5209
5847
  for ac_exec_ext in '' $ac_executable_extensions; do
5210
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5848
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5211
5849
    ac_cv_prog_ac_ct_F77="$ac_prog"
5212
5850
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5213
5851
    break 2
5214
5852
  fi
5215
5853
done
5216
5854
done
 
5855
IFS=$as_save_IFS
5217
5856
 
5218
5857
fi
5219
5858
fi
5220
5859
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5221
5860
if test -n "$ac_ct_F77"; then
5222
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5223
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
5861
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
5862
echo "${ECHO_T}$ac_ct_F77" >&6; }
5224
5863
else
5225
 
  echo "$as_me:$LINENO: result: no" >&5
5226
 
echo "${ECHO_T}no" >&6
 
5864
  { echo "$as_me:$LINENO: result: no" >&5
 
5865
echo "${ECHO_T}no" >&6; }
5227
5866
fi
5228
5867
 
 
5868
 
5229
5869
  test -n "$ac_ct_F77" && break
5230
5870
done
5231
5871
 
5232
 
  F77=$ac_ct_F77
 
5872
  if test "x$ac_ct_F77" = x; then
 
5873
    F77=""
 
5874
  else
 
5875
    case $cross_compiling:$ac_tool_warned in
 
5876
yes:)
 
5877
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5878
whose name does not start with the host triplet.  If you think this
 
5879
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5880
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5881
whose name does not start with the host triplet.  If you think this
 
5882
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5883
ac_tool_warned=yes ;;
 
5884
esac
 
5885
    F77=$ac_ct_F77
 
5886
  fi
5233
5887
fi
5234
5888
 
5235
5889
 
5236
5890
# Provide some information about the compiler.
5237
 
echo "$as_me:5237:" \
5238
 
     "checking for Fortran 77 compiler version" >&5
 
5891
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5239
5892
ac_compiler=`set X $ac_compile; echo $2`
5240
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5241
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5242
 
  ac_status=$?
5243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244
 
  (exit $ac_status); }
5245
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5246
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5247
 
  ac_status=$?
5248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249
 
  (exit $ac_status); }
5250
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5251
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5893
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
 
5894
  (eval $ac_compiler --version >&5) 2>&5
 
5895
  ac_status=$?
 
5896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5897
  (exit $ac_status); }
 
5898
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
 
5899
  (eval $ac_compiler -v >&5) 2>&5
 
5900
  ac_status=$?
 
5901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5902
  (exit $ac_status); }
 
5903
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
 
5904
  (eval $ac_compiler -V >&5) 2>&5
5252
5905
  ac_status=$?
5253
5906
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254
5907
  (exit $ac_status); }
5258
5911
# input file.  (Note that this only needs to work for GNU compilers.)
5259
5912
ac_save_ext=$ac_ext
5260
5913
ac_ext=F
5261
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5262
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
5914
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
5915
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5263
5916
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5264
5917
  echo $ECHO_N "(cached) $ECHO_C" >&6
5265
5918
else
5280
5933
  cat conftest.err >&5
5281
5934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282
5935
  (exit $ac_status); } &&
5283
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
5936
         { ac_try='test -z "$ac_f77_werror_flag"
 
5937
                         || test ! -s conftest.err'
5284
5938
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285
5939
  (eval $ac_try) 2>&5
5286
5940
  ac_status=$?
5297
5951
  echo "$as_me: failed program was:" >&5
5298
5952
sed 's/^/| /' conftest.$ac_ext >&5
5299
5953
 
5300
 
ac_compiler_gnu=no
 
5954
        ac_compiler_gnu=no
5301
5955
fi
 
5956
 
5302
5957
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5303
5958
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5304
5959
 
5305
5960
fi
5306
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5307
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
5961
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
5962
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5308
5963
ac_ext=$ac_save_ext
5309
5964
ac_test_FFLAGS=${FFLAGS+set}
5310
5965
ac_save_FFLAGS=$FFLAGS
5311
5966
FFLAGS=
5312
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5313
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
5967
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
5968
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5314
5969
if test "${ac_cv_prog_f77_g+set}" = set; then
5315
5970
  echo $ECHO_N "(cached) $ECHO_C" >&6
5316
5971
else
5329
5984
  cat conftest.err >&5
5330
5985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331
5986
  (exit $ac_status); } &&
5332
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
5987
         { ac_try='test -z "$ac_f77_werror_flag"
 
5988
                         || test ! -s conftest.err'
5333
5989
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334
5990
  (eval $ac_try) 2>&5
5335
5991
  ac_status=$?
5346
6002
  echo "$as_me: failed program was:" >&5
5347
6003
sed 's/^/| /' conftest.$ac_ext >&5
5348
6004
 
5349
 
ac_cv_prog_f77_g=no
 
6005
        ac_cv_prog_f77_g=no
5350
6006
fi
 
6007
 
5351
6008
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5352
6009
 
5353
6010
fi
5354
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5355
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6011
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6012
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5356
6013
if test "$ac_test_FFLAGS" = set; then
5357
6014
  FFLAGS=$ac_save_FFLAGS
5358
6015
elif test $ac_cv_prog_f77_g = yes; then
5381
6038
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5382
6039
 
5383
6040
# find the maximum length of command line arguments
5384
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5385
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6041
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6042
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5386
6043
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5387
6044
  echo $ECHO_N "(cached) $ECHO_C" >&6
5388
6045
else
5435
6092
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5436
6093
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5437
6094
    ;;
 
6095
 
 
6096
  interix*)
 
6097
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6098
    lt_cv_sys_max_cmd_len=196608
 
6099
    ;;
 
6100
 
5438
6101
  osf*)
5439
6102
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5440
6103
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5448
6111
      esac
5449
6112
    fi
5450
6113
    ;;
 
6114
  sco3.2v5*)
 
6115
    lt_cv_sys_max_cmd_len=102400
 
6116
    ;;
 
6117
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6118
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6119
    if test -n "$kargmax"; then
 
6120
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6121
    else
 
6122
      lt_cv_sys_max_cmd_len=32768
 
6123
    fi
 
6124
    ;;
5451
6125
  *)
5452
6126
    # If test is not a shell built-in, we'll probably end up computing a
5453
6127
    # maximum length that is only half of the actual maximum length, but
5473
6147
fi
5474
6148
 
5475
6149
if test -n $lt_cv_sys_max_cmd_len ; then
5476
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5477
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6150
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6151
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5478
6152
else
5479
 
  echo "$as_me:$LINENO: result: none" >&5
5480
 
echo "${ECHO_T}none" >&6
 
6153
  { echo "$as_me:$LINENO: result: none" >&5
 
6154
echo "${ECHO_T}none" >&6; }
5481
6155
fi
5482
6156
 
5483
6157
 
5484
6158
 
5485
6159
 
5486
6160
# Check for command to grab the raw symbol name followed by C symbol from nm.
5487
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5488
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6161
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6162
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5489
6163
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5490
6164
  echo $ECHO_N "(cached) $ECHO_C" >&6
5491
6165
else
5520
6194
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5521
6195
  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'"
5522
6196
  ;;
5523
 
linux*)
 
6197
linux* | k*bsd*-gnu)
5524
6198
  if test "$host_cpu" = ia64; then
5525
6199
    symcode='[ABCDGIRSTW]'
5526
6200
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5533
6207
osf*)
5534
6208
  symcode='[BCDEGQRST]'
5535
6209
  ;;
5536
 
solaris* | sysv5*)
 
6210
solaris*)
5537
6211
  symcode='[BDRT]'
5538
6212
  ;;
 
6213
sco3.2v5*)
 
6214
  symcode='[DT]'
 
6215
  ;;
 
6216
sysv4.2uw2*)
 
6217
  symcode='[DT]'
 
6218
  ;;
 
6219
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6220
  symcode='[ABDT]'
 
6221
  ;;
5539
6222
sysv4)
5540
6223
  symcode='[DFNSTU]'
5541
6224
  ;;
5680
6363
  lt_cv_sys_global_symbol_to_cdecl=
5681
6364
fi
5682
6365
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5683
 
  echo "$as_me:$LINENO: result: failed" >&5
5684
 
echo "${ECHO_T}failed" >&6
 
6366
  { echo "$as_me:$LINENO: result: failed" >&5
 
6367
echo "${ECHO_T}failed" >&6; }
5685
6368
else
5686
 
  echo "$as_me:$LINENO: result: ok" >&5
5687
 
echo "${ECHO_T}ok" >&6
 
6369
  { echo "$as_me:$LINENO: result: ok" >&5
 
6370
echo "${ECHO_T}ok" >&6; }
5688
6371
fi
5689
6372
 
5690
 
echo "$as_me:$LINENO: checking for objdir" >&5
5691
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6373
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6374
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5692
6375
if test "${lt_cv_objdir+set}" = set; then
5693
6376
  echo $ECHO_N "(cached) $ECHO_C" >&6
5694
6377
else
5702
6385
fi
5703
6386
rmdir .libs 2>/dev/null
5704
6387
fi
5705
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5706
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6388
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6389
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5707
6390
objdir=$lt_cv_objdir
5708
6391
 
5709
6392
 
5754
6437
if test -n "$ac_tool_prefix"; then
5755
6438
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5756
6439
set dummy ${ac_tool_prefix}ar; ac_word=$2
5757
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5758
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6440
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6441
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5759
6442
if test "${ac_cv_prog_AR+set}" = set; then
5760
6443
  echo $ECHO_N "(cached) $ECHO_C" >&6
5761
6444
else
5768
6451
  IFS=$as_save_IFS
5769
6452
  test -z "$as_dir" && as_dir=.
5770
6453
  for ac_exec_ext in '' $ac_executable_extensions; do
5771
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5772
6455
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5773
6456
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774
6457
    break 2
5775
6458
  fi
5776
6459
done
5777
6460
done
 
6461
IFS=$as_save_IFS
5778
6462
 
5779
6463
fi
5780
6464
fi
5781
6465
AR=$ac_cv_prog_AR
5782
6466
if test -n "$AR"; then
5783
 
  echo "$as_me:$LINENO: result: $AR" >&5
5784
 
echo "${ECHO_T}$AR" >&6
 
6467
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6468
echo "${ECHO_T}$AR" >&6; }
5785
6469
else
5786
 
  echo "$as_me:$LINENO: result: no" >&5
5787
 
echo "${ECHO_T}no" >&6
 
6470
  { echo "$as_me:$LINENO: result: no" >&5
 
6471
echo "${ECHO_T}no" >&6; }
5788
6472
fi
 
6473
 
5789
6474
 
5790
6475
fi
5791
6476
if test -z "$ac_cv_prog_AR"; then
5792
6477
  ac_ct_AR=$AR
5793
6478
  # Extract the first word of "ar", so it can be a program name with args.
5794
6479
set dummy ar; ac_word=$2
5795
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5796
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6480
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6481
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5797
6482
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5798
6483
  echo $ECHO_N "(cached) $ECHO_C" >&6
5799
6484
else
5806
6491
  IFS=$as_save_IFS
5807
6492
  test -z "$as_dir" && as_dir=.
5808
6493
  for ac_exec_ext in '' $ac_executable_extensions; do
5809
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6494
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5810
6495
    ac_cv_prog_ac_ct_AR="ar"
5811
6496
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5812
6497
    break 2
5813
6498
  fi
5814
6499
done
5815
6500
done
 
6501
IFS=$as_save_IFS
5816
6502
 
5817
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5818
6503
fi
5819
6504
fi
5820
6505
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5821
6506
if test -n "$ac_ct_AR"; then
5822
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5823
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6507
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6508
echo "${ECHO_T}$ac_ct_AR" >&6; }
5824
6509
else
5825
 
  echo "$as_me:$LINENO: result: no" >&5
5826
 
echo "${ECHO_T}no" >&6
 
6510
  { echo "$as_me:$LINENO: result: no" >&5
 
6511
echo "${ECHO_T}no" >&6; }
5827
6512
fi
5828
6513
 
5829
 
  AR=$ac_ct_AR
 
6514
  if test "x$ac_ct_AR" = x; then
 
6515
    AR="false"
 
6516
  else
 
6517
    case $cross_compiling:$ac_tool_warned in
 
6518
yes:)
 
6519
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6520
whose name does not start with the host triplet.  If you think this
 
6521
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6522
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6523
whose name does not start with the host triplet.  If you think this
 
6524
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6525
ac_tool_warned=yes ;;
 
6526
esac
 
6527
    AR=$ac_ct_AR
 
6528
  fi
5830
6529
else
5831
6530
  AR="$ac_cv_prog_AR"
5832
6531
fi
5834
6533
if test -n "$ac_tool_prefix"; then
5835
6534
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5836
6535
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5837
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5838
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6536
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6537
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5839
6538
if test "${ac_cv_prog_RANLIB+set}" = set; then
5840
6539
  echo $ECHO_N "(cached) $ECHO_C" >&6
5841
6540
else
5848
6547
  IFS=$as_save_IFS
5849
6548
  test -z "$as_dir" && as_dir=.
5850
6549
  for ac_exec_ext in '' $ac_executable_extensions; do
5851
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6550
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5852
6551
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5853
6552
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854
6553
    break 2
5855
6554
  fi
5856
6555
done
5857
6556
done
 
6557
IFS=$as_save_IFS
5858
6558
 
5859
6559
fi
5860
6560
fi
5861
6561
RANLIB=$ac_cv_prog_RANLIB
5862
6562
if test -n "$RANLIB"; then
5863
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5864
 
echo "${ECHO_T}$RANLIB" >&6
 
6563
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6564
echo "${ECHO_T}$RANLIB" >&6; }
5865
6565
else
5866
 
  echo "$as_me:$LINENO: result: no" >&5
5867
 
echo "${ECHO_T}no" >&6
 
6566
  { echo "$as_me:$LINENO: result: no" >&5
 
6567
echo "${ECHO_T}no" >&6; }
5868
6568
fi
 
6569
 
5869
6570
 
5870
6571
fi
5871
6572
if test -z "$ac_cv_prog_RANLIB"; then
5872
6573
  ac_ct_RANLIB=$RANLIB
5873
6574
  # Extract the first word of "ranlib", so it can be a program name with args.
5874
6575
set dummy ranlib; ac_word=$2
5875
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5876
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6576
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6577
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877
6578
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5878
6579
  echo $ECHO_N "(cached) $ECHO_C" >&6
5879
6580
else
5886
6587
  IFS=$as_save_IFS
5887
6588
  test -z "$as_dir" && as_dir=.
5888
6589
  for ac_exec_ext in '' $ac_executable_extensions; do
5889
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6590
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5890
6591
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5891
6592
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892
6593
    break 2
5893
6594
  fi
5894
6595
done
5895
6596
done
 
6597
IFS=$as_save_IFS
5896
6598
 
5897
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5898
6599
fi
5899
6600
fi
5900
6601
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5901
6602
if test -n "$ac_ct_RANLIB"; then
5902
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5903
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6603
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6604
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5904
6605
else
5905
 
  echo "$as_me:$LINENO: result: no" >&5
5906
 
echo "${ECHO_T}no" >&6
 
6606
  { echo "$as_me:$LINENO: result: no" >&5
 
6607
echo "${ECHO_T}no" >&6; }
5907
6608
fi
5908
6609
 
5909
 
  RANLIB=$ac_ct_RANLIB
 
6610
  if test "x$ac_ct_RANLIB" = x; then
 
6611
    RANLIB=":"
 
6612
  else
 
6613
    case $cross_compiling:$ac_tool_warned in
 
6614
yes:)
 
6615
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6616
whose name does not start with the host triplet.  If you think this
 
6617
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6618
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6619
whose name does not start with the host triplet.  If you think this
 
6620
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6621
ac_tool_warned=yes ;;
 
6622
esac
 
6623
    RANLIB=$ac_ct_RANLIB
 
6624
  fi
5910
6625
else
5911
6626
  RANLIB="$ac_cv_prog_RANLIB"
5912
6627
fi
5914
6629
if test -n "$ac_tool_prefix"; then
5915
6630
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5916
6631
set dummy ${ac_tool_prefix}strip; ac_word=$2
5917
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5918
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6632
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6633
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5919
6634
if test "${ac_cv_prog_STRIP+set}" = set; then
5920
6635
  echo $ECHO_N "(cached) $ECHO_C" >&6
5921
6636
else
5928
6643
  IFS=$as_save_IFS
5929
6644
  test -z "$as_dir" && as_dir=.
5930
6645
  for ac_exec_ext in '' $ac_executable_extensions; do
5931
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5932
6647
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5933
6648
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934
6649
    break 2
5935
6650
  fi
5936
6651
done
5937
6652
done
 
6653
IFS=$as_save_IFS
5938
6654
 
5939
6655
fi
5940
6656
fi
5941
6657
STRIP=$ac_cv_prog_STRIP
5942
6658
if test -n "$STRIP"; then
5943
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
5944
 
echo "${ECHO_T}$STRIP" >&6
 
6659
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6660
echo "${ECHO_T}$STRIP" >&6; }
5945
6661
else
5946
 
  echo "$as_me:$LINENO: result: no" >&5
5947
 
echo "${ECHO_T}no" >&6
 
6662
  { echo "$as_me:$LINENO: result: no" >&5
 
6663
echo "${ECHO_T}no" >&6; }
5948
6664
fi
 
6665
 
5949
6666
 
5950
6667
fi
5951
6668
if test -z "$ac_cv_prog_STRIP"; then
5952
6669
  ac_ct_STRIP=$STRIP
5953
6670
  # Extract the first word of "strip", so it can be a program name with args.
5954
6671
set dummy strip; ac_word=$2
5955
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5956
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6672
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6673
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5957
6674
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5958
6675
  echo $ECHO_N "(cached) $ECHO_C" >&6
5959
6676
else
5966
6683
  IFS=$as_save_IFS
5967
6684
  test -z "$as_dir" && as_dir=.
5968
6685
  for ac_exec_ext in '' $ac_executable_extensions; do
5969
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6686
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5970
6687
    ac_cv_prog_ac_ct_STRIP="strip"
5971
6688
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
6689
    break 2
5973
6690
  fi
5974
6691
done
5975
6692
done
 
6693
IFS=$as_save_IFS
5976
6694
 
5977
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5978
6695
fi
5979
6696
fi
5980
6697
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5981
6698
if test -n "$ac_ct_STRIP"; then
5982
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5983
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6699
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6700
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5984
6701
else
5985
 
  echo "$as_me:$LINENO: result: no" >&5
5986
 
echo "${ECHO_T}no" >&6
 
6702
  { echo "$as_me:$LINENO: result: no" >&5
 
6703
echo "${ECHO_T}no" >&6; }
5987
6704
fi
5988
6705
 
5989
 
  STRIP=$ac_ct_STRIP
 
6706
  if test "x$ac_ct_STRIP" = x; then
 
6707
    STRIP=":"
 
6708
  else
 
6709
    case $cross_compiling:$ac_tool_warned in
 
6710
yes:)
 
6711
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6712
whose name does not start with the host triplet.  If you think this
 
6713
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6714
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6715
whose name does not start with the host triplet.  If you think this
 
6716
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6717
ac_tool_warned=yes ;;
 
6718
esac
 
6719
    STRIP=$ac_ct_STRIP
 
6720
  fi
5990
6721
else
5991
6722
  STRIP="$ac_cv_prog_STRIP"
5992
6723
fi
6001
6732
test -z "$AS" && AS=as
6002
6733
test -z "$CC" && CC=cc
6003
6734
test -z "$LTCC" && LTCC=$CC
 
6735
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6004
6736
test -z "$DLLTOOL" && DLLTOOL=dlltool
6005
6737
test -z "$LD" && LD=ld
6006
6738
test -z "$LN_S" && LN_S="ln -s"
6020
6752
if test -n "$RANLIB"; then
6021
6753
  case $host_os in
6022
6754
  openbsd*)
6023
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
6755
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6024
6756
    ;;
6025
6757
  *)
6026
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
6758
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6027
6759
    ;;
6028
6760
  esac
6029
6761
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6044
6776
case $deplibs_check_method in
6045
6777
file_magic*)
6046
6778
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6047
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6048
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6779
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6780
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6049
6781
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6050
6782
  echo $ECHO_N "(cached) $ECHO_C" >&6
6051
6783
else
6097
6829
 
6098
6830
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6099
6831
if test -n "$MAGIC_CMD"; then
6100
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6101
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6832
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6833
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6102
6834
else
6103
 
  echo "$as_me:$LINENO: result: no" >&5
6104
 
echo "${ECHO_T}no" >&6
 
6835
  { echo "$as_me:$LINENO: result: no" >&5
 
6836
echo "${ECHO_T}no" >&6; }
6105
6837
fi
6106
6838
 
6107
6839
if test -z "$lt_cv_path_MAGIC_CMD"; then
6108
6840
  if test -n "$ac_tool_prefix"; then
6109
 
    echo "$as_me:$LINENO: checking for file" >&5
6110
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
6841
    { echo "$as_me:$LINENO: checking for file" >&5
 
6842
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6111
6843
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6112
6844
  echo $ECHO_N "(cached) $ECHO_C" >&6
6113
6845
else
6159
6891
 
6160
6892
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6161
6893
if test -n "$MAGIC_CMD"; then
6162
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6163
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6894
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6895
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6164
6896
else
6165
 
  echo "$as_me:$LINENO: result: no" >&5
6166
 
echo "${ECHO_T}no" >&6
 
6897
  { echo "$as_me:$LINENO: result: no" >&5
 
6898
echo "${ECHO_T}no" >&6; }
6167
6899
fi
6168
6900
 
6169
6901
  else
6178
6910
enable_dlopen=no
6179
6911
enable_win32_dll=no
6180
6912
 
6181
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
6913
# Check whether --enable-libtool-lock was given.
6182
6914
if test "${enable_libtool_lock+set}" = set; then
6183
 
  enableval="$enable_libtool_lock"
 
6915
  enableval=$enable_libtool_lock;
 
6916
fi
6184
6917
 
6185
 
fi;
6186
6918
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6187
6919
 
6188
6920
 
6189
 
# Check whether --with-pic or --without-pic was given.
 
6921
# Check whether --with-pic was given.
6190
6922
if test "${with_pic+set}" = set; then
6191
 
  withval="$with_pic"
6192
 
  pic_mode="$withval"
 
6923
  withval=$with_pic; pic_mode="$withval"
6193
6924
else
6194
6925
  pic_mode=default
6195
 
fi;
 
6926
fi
 
6927
 
6196
6928
test -z "$pic_mode" && pic_mode=default
6197
6929
 
6198
6930
# Use C for the default configuration in the libtool script
6222
6954
# If no C compiler was specified, use CC.
6223
6955
LTCC=${LTCC-"$CC"}
6224
6956
 
 
6957
# If no C compiler flags were specified, use CFLAGS.
 
6958
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6959
 
6225
6960
# Allow CC to be a program name with arguments.
6226
6961
compiler=$CC
6227
6962
 
6229
6964
# save warnings/boilerplate of simple test code
6230
6965
ac_outfile=conftest.$ac_objext
6231
6966
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6232
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
6967
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6233
6968
_lt_compiler_boilerplate=`cat conftest.err`
6234
6969
$rm conftest*
6235
6970
 
6236
6971
ac_outfile=conftest.$ac_objext
6237
6972
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6238
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
6973
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6239
6974
_lt_linker_boilerplate=`cat conftest.err`
6240
6975
$rm conftest*
6241
6976
 
6242
6977
 
6243
 
#
6244
 
# Check for any special shared library compilation flags.
6245
 
#
6246
 
lt_prog_cc_shlib=
6247
 
if test "$GCC" = no; then
6248
 
  case $host_os in
6249
 
  sco3.2v5*)
6250
 
    lt_prog_cc_shlib='-belf'
6251
 
    ;;
6252
 
  esac
6253
 
fi
6254
 
if test -n "$lt_prog_cc_shlib"; then
6255
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6256
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6257
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6258
 
  else
6259
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6260
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6261
 
    lt_cv_prog_cc_can_build_shared=no
6262
 
  fi
6263
 
fi
6264
 
 
6265
 
 
6266
 
#
6267
 
# Check to make sure the static flag actually works.
6268
 
#
6269
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6270
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6271
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6273
 
else
6274
 
  lt_prog_compiler_static_works=no
6275
 
   save_LDFLAGS="$LDFLAGS"
6276
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6277
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6278
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6279
 
     # The linker can only warn and ignore the option if not recognized
6280
 
     # So say no if there are warnings
6281
 
     if test -s conftest.err; then
6282
 
       # Append any errors to the config.log.
6283
 
       cat conftest.err 1>&5
6284
 
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6285
 
       $SED '/^$/d' conftest.err >conftest.er2
6286
 
       if diff conftest.exp conftest.er2 >/dev/null; then
6287
 
         lt_prog_compiler_static_works=yes
6288
 
       fi
6289
 
     else
6290
 
       lt_prog_compiler_static_works=yes
6291
 
     fi
6292
 
   fi
6293
 
   $rm conftest*
6294
 
   LDFLAGS="$save_LDFLAGS"
6295
 
 
6296
 
fi
6297
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6298
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6299
 
 
6300
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6301
 
    :
6302
 
else
6303
 
    lt_prog_compiler_static=
6304
 
fi
6305
 
 
6306
 
 
6307
 
 
6308
6978
 
6309
6979
lt_prog_compiler_no_builtin_flag=
6310
6980
 
6312
6982
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6313
6983
 
6314
6984
 
6315
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6316
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
6985
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
6986
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6317
6987
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6318
6988
  echo $ECHO_N "(cached) $ECHO_C" >&6
6319
6989
else
6330
7000
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6331
7001
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6332
7002
   -e 's:$: $lt_compiler_flag:'`
6333
 
   (eval echo "\"\$as_me:6333: $lt_compile\"" >&5)
 
7003
   (eval echo "\"\$as_me:7003: $lt_compile\"" >&5)
6334
7004
   (eval "$lt_compile" 2>conftest.err)
6335
7005
   ac_status=$?
6336
7006
   cat conftest.err >&5
6337
 
   echo "$as_me:6337: \$? = $ac_status" >&5
 
7007
   echo "$as_me:7007: \$? = $ac_status" >&5
6338
7008
   if (exit $ac_status) && test -s "$ac_outfile"; then
6339
7009
     # The compiler can only warn and ignore the option if not recognized
6340
7010
     # So say no if there are warnings other than the usual output.
6341
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6342
 
     $SED '/^$/d' conftest.err >conftest.er2
6343
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7011
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7012
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7013
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6344
7014
       lt_cv_prog_compiler_rtti_exceptions=yes
6345
7015
     fi
6346
7016
   fi
6347
7017
   $rm conftest*
6348
7018
 
6349
7019
fi
6350
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6351
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7020
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7021
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6352
7022
 
6353
7023
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6354
7024
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6362
7032
lt_prog_compiler_pic=
6363
7033
lt_prog_compiler_static=
6364
7034
 
6365
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6366
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7035
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7036
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6367
7037
 
6368
7038
  if test "$GCC" = yes; then
6369
7039
    lt_prog_compiler_wl='-Wl,'
6401
7071
      lt_prog_compiler_pic='-fno-common'
6402
7072
      ;;
6403
7073
 
 
7074
    interix3*)
 
7075
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7076
      # Instead, we relocate shared libraries at runtime.
 
7077
      ;;
 
7078
 
6404
7079
    msdosdjgpp*)
6405
7080
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6406
7081
      # on systems that don't support them.
6487
7162
      lt_prog_compiler_static='-Bstatic'
6488
7163
      ;;
6489
7164
 
6490
 
    linux*)
 
7165
    linux* | k*bsd*-gnu)
6491
7166
      case $cc_basename in
6492
7167
      icc* | ecc*)
6493
7168
        lt_prog_compiler_wl='-Wl,'
6515
7190
      lt_prog_compiler_static='-non_shared'
6516
7191
      ;;
6517
7192
 
6518
 
    sco3.2v5*)
6519
 
      lt_prog_compiler_pic='-Kpic'
6520
 
      lt_prog_compiler_static='-dn'
6521
 
      ;;
6522
 
 
6523
7193
    solaris*)
6524
7194
      lt_prog_compiler_pic='-KPIC'
6525
7195
      lt_prog_compiler_static='-Bstatic'
6537
7207
      lt_prog_compiler_static='-Bstatic'
6538
7208
      ;;
6539
7209
 
6540
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7210
    sysv4 | sysv4.2uw2* | sysv4.3*)
6541
7211
      lt_prog_compiler_wl='-Wl,'
6542
7212
      lt_prog_compiler_pic='-KPIC'
6543
7213
      lt_prog_compiler_static='-Bstatic'
6550
7220
      fi
6551
7221
      ;;
6552
7222
 
 
7223
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7224
      lt_prog_compiler_wl='-Wl,'
 
7225
      lt_prog_compiler_pic='-KPIC'
 
7226
      lt_prog_compiler_static='-Bstatic'
 
7227
      ;;
 
7228
 
6553
7229
    unicos*)
6554
7230
      lt_prog_compiler_wl='-Wl,'
6555
7231
      lt_prog_compiler_can_build_shared=no
6566
7242
    esac
6567
7243
  fi
6568
7244
 
6569
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6570
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7245
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7246
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6571
7247
 
6572
7248
#
6573
7249
# Check to make sure the PIC flag actually works.
6574
7250
#
6575
7251
if test -n "$lt_prog_compiler_pic"; then
6576
7252
 
6577
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6578
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7253
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7254
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6579
7255
if test "${lt_prog_compiler_pic_works+set}" = set; then
6580
7256
  echo $ECHO_N "(cached) $ECHO_C" >&6
6581
7257
else
6592
7268
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6593
7269
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6594
7270
   -e 's:$: $lt_compiler_flag:'`
6595
 
   (eval echo "\"\$as_me:6595: $lt_compile\"" >&5)
 
7271
   (eval echo "\"\$as_me:7271: $lt_compile\"" >&5)
6596
7272
   (eval "$lt_compile" 2>conftest.err)
6597
7273
   ac_status=$?
6598
7274
   cat conftest.err >&5
6599
 
   echo "$as_me:6599: \$? = $ac_status" >&5
 
7275
   echo "$as_me:7275: \$? = $ac_status" >&5
6600
7276
   if (exit $ac_status) && test -s "$ac_outfile"; then
6601
7277
     # The compiler can only warn and ignore the option if not recognized
6602
7278
     # So say no if there are warnings other than the usual output.
6603
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6604
 
     $SED '/^$/d' conftest.err >conftest.er2
6605
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7279
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7280
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7281
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6606
7282
       lt_prog_compiler_pic_works=yes
6607
7283
     fi
6608
7284
   fi
6609
7285
   $rm conftest*
6610
7286
 
6611
7287
fi
6612
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6613
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7288
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7289
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6614
7290
 
6615
7291
if test x"$lt_prog_compiler_pic_works" = xyes; then
6616
7292
    case $lt_prog_compiler_pic in
6633
7309
    ;;
6634
7310
esac
6635
7311
 
6636
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6637
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7312
#
 
7313
# Check to make sure the static flag actually works.
 
7314
#
 
7315
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7316
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7317
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
7318
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7319
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7320
else
 
7321
  lt_prog_compiler_static_works=no
 
7322
   save_LDFLAGS="$LDFLAGS"
 
7323
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7324
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7325
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7326
     # The linker can only warn and ignore the option if not recognized
 
7327
     # So say no if there are warnings
 
7328
     if test -s conftest.err; then
 
7329
       # Append any errors to the config.log.
 
7330
       cat conftest.err 1>&5
 
7331
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7332
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7333
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7334
         lt_prog_compiler_static_works=yes
 
7335
       fi
 
7336
     else
 
7337
       lt_prog_compiler_static_works=yes
 
7338
     fi
 
7339
   fi
 
7340
   $rm conftest*
 
7341
   LDFLAGS="$save_LDFLAGS"
 
7342
 
 
7343
fi
 
7344
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7345
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7346
 
 
7347
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7348
    :
 
7349
else
 
7350
    lt_prog_compiler_static=
 
7351
fi
 
7352
 
 
7353
 
 
7354
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7355
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6638
7356
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6639
7357
  echo $ECHO_N "(cached) $ECHO_C" >&6
6640
7358
else
6654
7372
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6655
7373
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6656
7374
   -e 's:$: $lt_compiler_flag:'`
6657
 
   (eval echo "\"\$as_me:6657: $lt_compile\"" >&5)
 
7375
   (eval echo "\"\$as_me:7375: $lt_compile\"" >&5)
6658
7376
   (eval "$lt_compile" 2>out/conftest.err)
6659
7377
   ac_status=$?
6660
7378
   cat out/conftest.err >&5
6661
 
   echo "$as_me:6661: \$? = $ac_status" >&5
 
7379
   echo "$as_me:7379: \$? = $ac_status" >&5
6662
7380
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6663
7381
   then
6664
7382
     # The compiler can only warn and ignore the option if not recognized
6665
7383
     # So say no if there are warnings
6666
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6667
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
6668
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7384
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7385
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7386
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6669
7387
       lt_cv_prog_compiler_c_o=yes
6670
7388
     fi
6671
7389
   fi
6680
7398
   $rm conftest*
6681
7399
 
6682
7400
fi
6683
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6684
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7401
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7402
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6685
7403
 
6686
7404
 
6687
7405
hard_links="nottested"
6688
7406
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6689
7407
  # do not overwrite the value of need_locks provided by the user
6690
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6691
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7408
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7409
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6692
7410
  hard_links=yes
6693
7411
  $rm conftest*
6694
7412
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6695
7413
  touch conftest.a
6696
7414
  ln conftest.a conftest.b 2>&5 || hard_links=no
6697
7415
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6698
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6699
 
echo "${ECHO_T}$hard_links" >&6
 
7416
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7417
echo "${ECHO_T}$hard_links" >&6; }
6700
7418
  if test "$hard_links" = no; then
6701
7419
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6702
7420
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6706
7424
  need_locks=no
6707
7425
fi
6708
7426
 
6709
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6710
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7427
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7428
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6711
7429
 
6712
7430
  runpath_var=
6713
7431
  allow_undefined_flag=
6765
7483
      with_gnu_ld=no
6766
7484
    fi
6767
7485
    ;;
 
7486
  interix*)
 
7487
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7488
    with_gnu_ld=yes
 
7489
    ;;
6768
7490
  openbsd*)
6769
7491
    with_gnu_ld=no
6770
7492
    ;;
6849
7571
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6850
7572
 
6851
7573
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6852
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
7574
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6853
7575
        # If the export-symbols file already is a .def file (1st line
6854
7576
        # is EXPORTS), use it as is; otherwise, prepend...
6855
7577
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6858
7580
          echo EXPORTS > $output_objdir/$soname.def;
6859
7581
          cat $export_symbols >> $output_objdir/$soname.def;
6860
7582
        fi~
6861
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
7583
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6862
7584
      else
6863
7585
        ld_shlibs=no
6864
7586
      fi
6865
7587
      ;;
6866
7588
 
6867
 
    linux*)
 
7589
    interix3*)
 
7590
      hardcode_direct=no
 
7591
      hardcode_shlibpath_var=no
 
7592
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
7593
      export_dynamic_flag_spec='${wl}-E'
 
7594
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
7595
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
7596
      # default) and relocated if they conflict, which is a slow very memory
 
7597
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
7598
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
7599
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
7600
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
7601
      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'
 
7602
      ;;
 
7603
 
 
7604
    linux* | k*bsd*-gnu)
6868
7605
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6869
7606
        tmp_addflag=
6870
7607
        case $cc_basename,$host_cpu in
6896
7633
      fi
6897
7634
      ;;
6898
7635
 
6899
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7636
    netbsd* | netbsdelf*-gnu)
6900
7637
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6901
7638
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6902
7639
        wlarc=
6906
7643
      fi
6907
7644
      ;;
6908
7645
 
6909
 
    solaris* | sysv5*)
 
7646
    solaris*)
6910
7647
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6911
7648
        ld_shlibs=no
6912
7649
        cat <<EOF 1>&2
6927
7664
      fi
6928
7665
      ;;
6929
7666
 
 
7667
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
7668
      case `$LD -v 2>&1` in
 
7669
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
7670
        ld_shlibs=no
 
7671
        cat <<_LT_EOF 1>&2
 
7672
 
 
7673
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
7674
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
7675
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
7676
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
7677
*** your PATH or compiler configuration so that the native linker is
 
7678
*** used, and then restart.
 
7679
 
 
7680
_LT_EOF
 
7681
        ;;
 
7682
        *)
 
7683
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7684
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
7685
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
7686
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
7687
          else
 
7688
            ld_shlibs=no
 
7689
          fi
 
7690
        ;;
 
7691
      esac
 
7692
      ;;
 
7693
 
6930
7694
    sunos4*)
6931
7695
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6932
7696
      wlarc=
6960
7724
      # Note: this linker hardcodes the directories in LIBPATH if there
6961
7725
      # are no directories specified by -L.
6962
7726
      hardcode_minus_L=yes
6963
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
7727
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6964
7728
        # Neither direct hardcoding nor static linking is supported with a
6965
7729
        # broken collect2.
6966
7730
        hardcode_direct=unsupported
6994
7758
            break
6995
7759
          fi
6996
7760
          done
 
7761
          ;;
6997
7762
        esac
6998
7763
 
6999
7764
        exp_sym_flag='-bexport'
7031
7796
          hardcode_libdir_flag_spec='-L$libdir'
7032
7797
          hardcode_libdir_separator=
7033
7798
          fi
 
7799
          ;;
7034
7800
        esac
7035
7801
        shared_flag='-shared'
7036
7802
        if test "$aix_use_runtimelinking" = yes; then
7043
7809
        # chokes on -Wl,-G. The following line is correct:
7044
7810
          shared_flag='-G'
7045
7811
        else
7046
 
        if test "$aix_use_runtimelinking" = yes; then
 
7812
          if test "$aix_use_runtimelinking" = yes; then
7047
7813
            shared_flag='${wl}-G'
7048
7814
          else
7049
7815
            shared_flag='${wl}-bM:SRE'
7050
 
        fi
 
7816
          fi
7051
7817
        fi
7052
7818
      fi
7053
7819
 
7083
7849
  cat conftest.err >&5
7084
7850
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085
7851
  (exit $ac_status); } &&
7086
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7852
         { ac_try='test -z "$ac_c_werror_flag"
 
7853
                         || test ! -s conftest.err'
7087
7854
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088
7855
  (eval $ac_try) 2>&5
7089
7856
  ac_status=$?
7105
7872
  echo "$as_me: failed program was:" >&5
7106
7873
sed 's/^/| /' conftest.$ac_ext >&5
7107
7874
 
 
7875
 
7108
7876
fi
 
7877
 
7109
7878
rm -f conftest.err conftest.$ac_objext \
7110
7879
      conftest$ac_exeext conftest.$ac_ext
7111
7880
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7112
7881
 
7113
7882
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7114
 
        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"
 
7883
        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"
7115
7884
       else
7116
7885
        if test "$host_cpu" = ia64; then
7117
7886
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7118
7887
          allow_undefined_flag="-z nodefs"
7119
 
          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"
 
7888
          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"
7120
7889
        else
7121
7890
         # Determine the default libpath from the value encoded in an empty executable.
7122
7891
         cat >conftest.$ac_ext <<_ACEOF
7143
7912
  cat conftest.err >&5
7144
7913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145
7914
  (exit $ac_status); } &&
7146
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7915
         { ac_try='test -z "$ac_c_werror_flag"
 
7916
                         || test ! -s conftest.err'
7147
7917
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148
7918
  (eval $ac_try) 2>&5
7149
7919
  ac_status=$?
7165
7935
  echo "$as_me: failed program was:" >&5
7166
7936
sed 's/^/| /' conftest.$ac_ext >&5
7167
7937
 
 
7938
 
7168
7939
fi
 
7940
 
7169
7941
rm -f conftest.err conftest.$ac_objext \
7170
7942
      conftest$ac_exeext conftest.$ac_ext
7171
7943
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7175
7947
          # -berok will link without error, but may produce a broken library.
7176
7948
          no_undefined_flag=' ${wl}-bernotok'
7177
7949
          allow_undefined_flag=' ${wl}-berok'
7178
 
          # -bexpall does not export symbols beginning with underscore (_)
7179
 
          always_export_symbols=yes
7180
7950
          # Exported symbols can be pulled into shared objects from archives
7181
 
          whole_archive_flag_spec=' '
 
7951
          whole_archive_flag_spec='$convenience'
7182
7952
          archive_cmds_need_lc=yes
7183
7953
          # This is similar to how AIX traditionally builds its shared libraries.
7184
 
          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'
 
7954
          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'
7185
7955
        fi
7186
7956
      fi
7187
7957
      ;;
7299
8069
      ;;
7300
8070
 
7301
8071
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7302
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8072
    freebsd* | dragonfly*)
7303
8073
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7304
8074
      hardcode_libdir_flag_spec='-R$libdir'
7305
8075
      hardcode_direct=yes
7322
8092
      export_dynamic_flag_spec='${wl}-E'
7323
8093
      ;;
7324
8094
 
7325
 
    hpux10* | hpux11*)
 
8095
    hpux10*)
 
8096
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8097
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8098
      else
 
8099
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8100
      fi
 
8101
      if test "$with_gnu_ld" = no; then
 
8102
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8103
        hardcode_libdir_separator=:
 
8104
 
 
8105
        hardcode_direct=yes
 
8106
        export_dynamic_flag_spec='${wl}-E'
 
8107
 
 
8108
        # hardcode_minus_L: Not really in the search PATH,
 
8109
        # but as the default location of the library.
 
8110
        hardcode_minus_L=yes
 
8111
      fi
 
8112
      ;;
 
8113
 
 
8114
    hpux11*)
7326
8115
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7327
8116
        case $host_cpu in
7328
 
        hppa*64*|ia64*)
 
8117
        hppa*64*)
7329
8118
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7330
8119
          ;;
 
8120
        ia64*)
 
8121
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8122
          ;;
7331
8123
        *)
7332
8124
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7333
8125
          ;;
7334
8126
        esac
7335
8127
      else
7336
8128
        case $host_cpu in
7337
 
        hppa*64*|ia64*)
7338
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8129
        hppa*64*)
 
8130
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8131
          ;;
 
8132
        ia64*)
 
8133
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7339
8134
          ;;
7340
8135
        *)
7341
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8136
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7342
8137
          ;;
7343
8138
        esac
7344
8139
      fi
7345
8140
      if test "$with_gnu_ld" = no; then
 
8141
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8142
        hardcode_libdir_separator=:
 
8143
 
7346
8144
        case $host_cpu in
7347
 
        hppa*64*)
7348
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8145
        hppa*64*|ia64*)
7349
8146
          hardcode_libdir_flag_spec_ld='+b $libdir'
7350
 
          hardcode_libdir_separator=:
7351
 
          hardcode_direct=no
7352
 
          hardcode_shlibpath_var=no
7353
 
          ;;
7354
 
        ia64*)
7355
 
          hardcode_libdir_flag_spec='-L$libdir'
7356
 
          hardcode_direct=no
7357
 
          hardcode_shlibpath_var=no
7358
 
 
7359
 
          # hardcode_minus_L: Not really in the search PATH,
7360
 
          # but as the default location of the library.
7361
 
          hardcode_minus_L=yes
 
8147
          hardcode_direct=no
 
8148
          hardcode_shlibpath_var=no
7362
8149
          ;;
7363
8150
        *)
7364
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7365
 
          hardcode_libdir_separator=:
7366
8151
          hardcode_direct=yes
7367
8152
          export_dynamic_flag_spec='${wl}-E'
7368
8153
 
7386
8171
      link_all_deplibs=yes
7387
8172
      ;;
7388
8173
 
7389
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8174
    netbsd* | netbsdelf*-gnu)
7390
8175
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7391
8176
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7392
8177
      else
7464
8249
      hardcode_libdir_separator=:
7465
8250
      ;;
7466
8251
 
7467
 
    sco3.2v5*)
7468
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7469
 
      hardcode_shlibpath_var=no
7470
 
      export_dynamic_flag_spec='${wl}-Bexport'
7471
 
      runpath_var=LD_RUN_PATH
7472
 
      hardcode_runpath_var=yes
7473
 
      ;;
7474
 
 
7475
8252
    solaris*)
7476
8253
      no_undefined_flag=' -z text'
7477
8254
      if test "$GCC" = yes; then
7557
8334
      fi
7558
8335
      ;;
7559
8336
 
7560
 
    sysv4.2uw2*)
7561
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7562
 
      hardcode_direct=yes
7563
 
      hardcode_minus_L=no
7564
 
      hardcode_shlibpath_var=no
7565
 
      hardcode_runpath_var=yes
7566
 
      runpath_var=LD_RUN_PATH
7567
 
      ;;
7568
 
 
7569
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7570
 
      no_undefined_flag='${wl}-z ${wl}text'
7571
 
      if test "$GCC" = yes; then
7572
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7573
 
      else
7574
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7575
 
      fi
7576
 
      runpath_var='LD_RUN_PATH'
7577
 
      hardcode_shlibpath_var=no
7578
 
      ;;
7579
 
 
7580
 
    sysv5*)
7581
 
      no_undefined_flag=' -z text'
7582
 
      # $CC -shared without GNU ld will not create a library from C++
7583
 
      # object files and a static libstdc++, better avoid it by now
7584
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7585
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7586
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7587
 
      hardcode_libdir_flag_spec=
7588
 
      hardcode_shlibpath_var=no
7589
 
      runpath_var='LD_RUN_PATH'
 
8337
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8338
      no_undefined_flag='${wl}-z,text'
 
8339
      archive_cmds_need_lc=no
 
8340
      hardcode_shlibpath_var=no
 
8341
      runpath_var='LD_RUN_PATH'
 
8342
 
 
8343
      if test "$GCC" = yes; then
 
8344
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8345
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8346
      else
 
8347
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8348
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8349
      fi
 
8350
      ;;
 
8351
 
 
8352
    sysv5* | sco3.2v5* | sco5v6*)
 
8353
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8354
      # link with -lc, and that would cause any symbols used from libc to
 
8355
      # always be unresolved, which means just about no library would
 
8356
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8357
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8358
      # as -z defs.
 
8359
      no_undefined_flag='${wl}-z,text'
 
8360
      allow_undefined_flag='${wl}-z,nodefs'
 
8361
      archive_cmds_need_lc=no
 
8362
      hardcode_shlibpath_var=no
 
8363
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8364
      hardcode_libdir_separator=':'
 
8365
      link_all_deplibs=yes
 
8366
      export_dynamic_flag_spec='${wl}-Bexport'
 
8367
      runpath_var='LD_RUN_PATH'
 
8368
 
 
8369
      if test "$GCC" = yes; then
 
8370
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8371
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8372
      else
 
8373
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8374
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8375
      fi
7590
8376
      ;;
7591
8377
 
7592
8378
    uts4*)
7601
8387
    esac
7602
8388
  fi
7603
8389
 
7604
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7605
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8390
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8391
echo "${ECHO_T}$ld_shlibs" >&6; }
7606
8392
test "$ld_shlibs" = no && can_build_shared=no
7607
8393
 
7608
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7609
 
if test "$GCC" = yes; then
7610
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7611
 
fi
7612
 
 
7613
8394
#
7614
8395
# Do we need to explicitly link libc?
7615
8396
#
7627
8408
      # Test whether the compiler implicitly links with -lc since on some
7628
8409
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7629
8410
      # to ld, don't add -lc before -lgcc.
7630
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7631
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8411
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8412
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7632
8413
      $rm conftest*
7633
8414
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7634
8415
 
7642
8423
        libobjs=conftest.$ac_objext
7643
8424
        deplibs=
7644
8425
        wl=$lt_prog_compiler_wl
 
8426
        pic_flag=$lt_prog_compiler_pic
7645
8427
        compiler_flags=-v
7646
8428
        linker_flags=-v
7647
8429
        verstring=
7664
8446
        cat conftest.err 1>&5
7665
8447
      fi
7666
8448
      $rm conftest*
7667
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7668
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8449
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8450
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7669
8451
      ;;
7670
8452
    esac
7671
8453
  fi
7672
8454
  ;;
7673
8455
esac
7674
8456
 
7675
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7676
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8457
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8458
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7677
8459
library_names_spec=
7678
8460
libname_spec='lib$name'
7679
8461
soname_spec=
7879
8661
  dynamic_linker=no
7880
8662
  ;;
7881
8663
 
7882
 
kfreebsd*-gnu)
7883
 
  version_type=linux
7884
 
  need_lib_prefix=no
7885
 
  need_version=no
7886
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7887
 
  soname_spec='${libname}${release}${shared_ext}$major'
7888
 
  shlibpath_var=LD_LIBRARY_PATH
7889
 
  shlibpath_overrides_runpath=no
7890
 
  hardcode_into_libs=yes
7891
 
  dynamic_linker='GNU ld.so'
7892
 
  ;;
7893
 
 
7894
8664
freebsd* | dragonfly*)
7895
8665
  # DragonFly does not have aout.  When/if they implement a new
7896
8666
  # versioning mechanism, adjust this.
7923
8693
    shlibpath_overrides_runpath=yes
7924
8694
    hardcode_into_libs=yes
7925
8695
    ;;
7926
 
  *) # from 3.2 on
 
8696
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
8697
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7927
8698
    shlibpath_overrides_runpath=no
7928
8699
    hardcode_into_libs=yes
7929
8700
    ;;
 
8701
  freebsd*) # from 4.6 on
 
8702
    shlibpath_overrides_runpath=yes
 
8703
    hardcode_into_libs=yes
 
8704
    ;;
7930
8705
  esac
7931
8706
  ;;
7932
8707
 
7986
8761
  postinstall_cmds='chmod 555 $lib'
7987
8762
  ;;
7988
8763
 
 
8764
interix3*)
 
8765
  version_type=linux
 
8766
  need_lib_prefix=no
 
8767
  need_version=no
 
8768
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
8769
  soname_spec='${libname}${release}${shared_ext}$major'
 
8770
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
8771
  shlibpath_var=LD_LIBRARY_PATH
 
8772
  shlibpath_overrides_runpath=no
 
8773
  hardcode_into_libs=yes
 
8774
  ;;
 
8775
 
7989
8776
irix5* | irix6* | nonstopux*)
7990
8777
  case $host_os in
7991
8778
    nonstopux*) version_type=nonstopux ;;
8029
8816
  ;;
8030
8817
 
8031
8818
# This must be Linux ELF.
8032
 
linux*)
 
8819
linux* | k*bsd*-gnu)
8033
8820
  version_type=linux
8034
8821
  need_lib_prefix=no
8035
8822
  need_version=no
8070
8857
  dynamic_linker='NetBSD ld.elf_so'
8071
8858
  ;;
8072
8859
 
8073
 
knetbsd*-gnu)
8074
 
  version_type=linux
8075
 
  need_lib_prefix=no
8076
 
  need_version=no
8077
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8078
 
  soname_spec='${libname}${release}${shared_ext}$major'
8079
 
  shlibpath_var=LD_LIBRARY_PATH
8080
 
  shlibpath_overrides_runpath=no
8081
 
  hardcode_into_libs=yes
8082
 
  dynamic_linker='GNU ld.so'
8083
 
  ;;
8084
 
 
8085
8860
netbsd*)
8086
8861
  version_type=sunos
8087
8862
  need_lib_prefix=no
8119
8894
 
8120
8895
openbsd*)
8121
8896
  version_type=sunos
 
8897
  sys_lib_dlsearch_path_spec="/usr/lib"
8122
8898
  need_lib_prefix=no
8123
8899
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8124
8900
  case $host_os in
8162
8938
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8163
8939
  ;;
8164
8940
 
8165
 
sco3.2v5*)
8166
 
  version_type=osf
8167
 
  soname_spec='${libname}${release}${shared_ext}$major'
8168
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8169
 
  shlibpath_var=LD_LIBRARY_PATH
8170
 
  ;;
8171
 
 
8172
8941
solaris*)
8173
8942
  version_type=linux
8174
8943
  need_lib_prefix=no
8194
8963
  need_version=yes
8195
8964
  ;;
8196
8965
 
8197
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8966
sysv4 | sysv4.3*)
8198
8967
  version_type=linux
8199
8968
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8200
8969
  soname_spec='${libname}${release}${shared_ext}$major'
8227
8996
  fi
8228
8997
  ;;
8229
8998
 
 
8999
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9000
  version_type=freebsd-elf
 
9001
  need_lib_prefix=no
 
9002
  need_version=no
 
9003
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9004
  soname_spec='${libname}${release}${shared_ext}$major'
 
9005
  shlibpath_var=LD_LIBRARY_PATH
 
9006
  hardcode_into_libs=yes
 
9007
  if test "$with_gnu_ld" = yes; then
 
9008
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9009
    shlibpath_overrides_runpath=no
 
9010
  else
 
9011
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9012
    shlibpath_overrides_runpath=yes
 
9013
    case $host_os in
 
9014
      sco3.2v5*)
 
9015
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9016
        ;;
 
9017
    esac
 
9018
  fi
 
9019
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9020
  ;;
 
9021
 
8230
9022
uts4*)
8231
9023
  version_type=linux
8232
9024
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8238
9030
  dynamic_linker=no
8239
9031
  ;;
8240
9032
esac
8241
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8242
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9033
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9034
echo "${ECHO_T}$dynamic_linker" >&6; }
8243
9035
test "$dynamic_linker" = no && can_build_shared=no
8244
9036
 
8245
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8246
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9037
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9038
if test "$GCC" = yes; then
 
9039
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9040
fi
 
9041
 
 
9042
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9043
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8247
9044
hardcode_action=
8248
9045
if test -n "$hardcode_libdir_flag_spec" || \
8249
9046
   test -n "$runpath_var" || \
8267
9064
  # directories.
8268
9065
  hardcode_action=unsupported
8269
9066
fi
8270
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8271
 
echo "${ECHO_T}$hardcode_action" >&6
 
9067
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9068
echo "${ECHO_T}$hardcode_action" >&6; }
8272
9069
 
8273
9070
if test "$hardcode_action" = relink; then
8274
9071
  # Fast installation is not supported
8281
9078
 
8282
9079
striplib=
8283
9080
old_striplib=
8284
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8285
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9081
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9082
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8286
9083
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8287
9084
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8288
9085
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8289
 
  echo "$as_me:$LINENO: result: yes" >&5
8290
 
echo "${ECHO_T}yes" >&6
 
9086
  { echo "$as_me:$LINENO: result: yes" >&5
 
9087
echo "${ECHO_T}yes" >&6; }
8291
9088
else
8292
9089
# FIXME - insert some real tests, host_os isn't really good enough
8293
9090
  case $host_os in
8294
9091
   darwin*)
8295
9092
       if test -n "$STRIP" ; then
8296
9093
         striplib="$STRIP -x"
8297
 
         echo "$as_me:$LINENO: result: yes" >&5
8298
 
echo "${ECHO_T}yes" >&6
 
9094
         { echo "$as_me:$LINENO: result: yes" >&5
 
9095
echo "${ECHO_T}yes" >&6; }
8299
9096
       else
8300
 
  echo "$as_me:$LINENO: result: no" >&5
8301
 
echo "${ECHO_T}no" >&6
 
9097
  { echo "$as_me:$LINENO: result: no" >&5
 
9098
echo "${ECHO_T}no" >&6; }
8302
9099
fi
8303
9100
       ;;
8304
9101
   *)
8305
 
  echo "$as_me:$LINENO: result: no" >&5
8306
 
echo "${ECHO_T}no" >&6
 
9102
  { echo "$as_me:$LINENO: result: no" >&5
 
9103
echo "${ECHO_T}no" >&6; }
8307
9104
    ;;
8308
9105
  esac
8309
9106
fi
8335
9132
 
8336
9133
  darwin*)
8337
9134
  # if libdl is installed we need to link against it
8338
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8339
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9135
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9136
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8340
9137
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8341
9138
  echo $ECHO_N "(cached) $ECHO_C" >&6
8342
9139
else
8349
9146
cat >>conftest.$ac_ext <<_ACEOF
8350
9147
/* end confdefs.h.  */
8351
9148
 
8352
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9149
/* Override any GCC internal prototype to avoid an error.
 
9150
   Use char because int might match the return type of a GCC
 
9151
   builtin and then its argument prototype would still apply.  */
8353
9152
#ifdef __cplusplus
8354
9153
extern "C"
8355
9154
#endif
8356
 
/* We use char because int might match the return type of a gcc2
8357
 
   builtin and then its argument prototype would still apply.  */
8358
9155
char dlopen ();
8359
9156
int
8360
9157
main ()
8361
9158
{
8362
 
dlopen ();
 
9159
return dlopen ();
8363
9160
  ;
8364
9161
  return 0;
8365
9162
}
8373
9170
  cat conftest.err >&5
8374
9171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375
9172
  (exit $ac_status); } &&
8376
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9173
         { ac_try='test -z "$ac_c_werror_flag"
 
9174
                         || test ! -s conftest.err'
8377
9175
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8378
9176
  (eval $ac_try) 2>&5
8379
9177
  ac_status=$?
8390
9188
  echo "$as_me: failed program was:" >&5
8391
9189
sed 's/^/| /' conftest.$ac_ext >&5
8392
9190
 
8393
 
ac_cv_lib_dl_dlopen=no
 
9191
        ac_cv_lib_dl_dlopen=no
8394
9192
fi
 
9193
 
8395
9194
rm -f conftest.err conftest.$ac_objext \
8396
9195
      conftest$ac_exeext conftest.$ac_ext
8397
9196
LIBS=$ac_check_lib_save_LIBS
8398
9197
fi
8399
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8400
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9198
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9199
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8401
9200
if test $ac_cv_lib_dl_dlopen = yes; then
8402
9201
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8403
9202
else
8411
9210
   ;;
8412
9211
 
8413
9212
  *)
8414
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8415
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9213
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9214
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8416
9215
if test "${ac_cv_func_shl_load+set}" = set; then
8417
9216
  echo $ECHO_N "(cached) $ECHO_C" >&6
8418
9217
else
8439
9238
 
8440
9239
#undef shl_load
8441
9240
 
8442
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9241
/* Override any GCC internal prototype to avoid an error.
 
9242
   Use char because int might match the return type of a GCC
 
9243
   builtin and then its argument prototype would still apply.  */
8443
9244
#ifdef __cplusplus
8444
9245
extern "C"
8445
 
{
8446
9246
#endif
8447
 
/* We use char because int might match the return type of a gcc2
8448
 
   builtin and then its argument prototype would still apply.  */
8449
9247
char shl_load ();
8450
9248
/* The GNU C library defines this for functions which it implements
8451
9249
    to always fail with ENOSYS.  Some functions are actually named
8452
9250
    something starting with __ and the normal name is an alias.  */
8453
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9251
#if defined __stub_shl_load || defined __stub___shl_load
8454
9252
choke me
8455
 
#else
8456
 
char (*f) () = shl_load;
8457
 
#endif
8458
 
#ifdef __cplusplus
8459
 
}
8460
9253
#endif
8461
9254
 
8462
9255
int
8463
9256
main ()
8464
9257
{
8465
 
return f != shl_load;
 
9258
return shl_load ();
8466
9259
  ;
8467
9260
  return 0;
8468
9261
}
8476
9269
  cat conftest.err >&5
8477
9270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478
9271
  (exit $ac_status); } &&
8479
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9272
         { ac_try='test -z "$ac_c_werror_flag"
 
9273
                         || test ! -s conftest.err'
8480
9274
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481
9275
  (eval $ac_try) 2>&5
8482
9276
  ac_status=$?
8493
9287
  echo "$as_me: failed program was:" >&5
8494
9288
sed 's/^/| /' conftest.$ac_ext >&5
8495
9289
 
8496
 
ac_cv_func_shl_load=no
 
9290
        ac_cv_func_shl_load=no
8497
9291
fi
 
9292
 
8498
9293
rm -f conftest.err conftest.$ac_objext \
8499
9294
      conftest$ac_exeext conftest.$ac_ext
8500
9295
fi
8501
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8502
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9296
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9297
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8503
9298
if test $ac_cv_func_shl_load = yes; then
8504
9299
  lt_cv_dlopen="shl_load"
8505
9300
else
8506
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8507
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9301
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9302
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8508
9303
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8509
9304
  echo $ECHO_N "(cached) $ECHO_C" >&6
8510
9305
else
8517
9312
cat >>conftest.$ac_ext <<_ACEOF
8518
9313
/* end confdefs.h.  */
8519
9314
 
8520
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9315
/* Override any GCC internal prototype to avoid an error.
 
9316
   Use char because int might match the return type of a GCC
 
9317
   builtin and then its argument prototype would still apply.  */
8521
9318
#ifdef __cplusplus
8522
9319
extern "C"
8523
9320
#endif
8524
 
/* We use char because int might match the return type of a gcc2
8525
 
   builtin and then its argument prototype would still apply.  */
8526
9321
char shl_load ();
8527
9322
int
8528
9323
main ()
8529
9324
{
8530
 
shl_load ();
 
9325
return shl_load ();
8531
9326
  ;
8532
9327
  return 0;
8533
9328
}
8541
9336
  cat conftest.err >&5
8542
9337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543
9338
  (exit $ac_status); } &&
8544
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9339
         { ac_try='test -z "$ac_c_werror_flag"
 
9340
                         || test ! -s conftest.err'
8545
9341
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546
9342
  (eval $ac_try) 2>&5
8547
9343
  ac_status=$?
8558
9354
  echo "$as_me: failed program was:" >&5
8559
9355
sed 's/^/| /' conftest.$ac_ext >&5
8560
9356
 
8561
 
ac_cv_lib_dld_shl_load=no
 
9357
        ac_cv_lib_dld_shl_load=no
8562
9358
fi
 
9359
 
8563
9360
rm -f conftest.err conftest.$ac_objext \
8564
9361
      conftest$ac_exeext conftest.$ac_ext
8565
9362
LIBS=$ac_check_lib_save_LIBS
8566
9363
fi
8567
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8568
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9364
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9365
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8569
9366
if test $ac_cv_lib_dld_shl_load = yes; then
8570
9367
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8571
9368
else
8572
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8573
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9369
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9370
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8574
9371
if test "${ac_cv_func_dlopen+set}" = set; then
8575
9372
  echo $ECHO_N "(cached) $ECHO_C" >&6
8576
9373
else
8597
9394
 
8598
9395
#undef dlopen
8599
9396
 
8600
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9397
/* Override any GCC internal prototype to avoid an error.
 
9398
   Use char because int might match the return type of a GCC
 
9399
   builtin and then its argument prototype would still apply.  */
8601
9400
#ifdef __cplusplus
8602
9401
extern "C"
8603
 
{
8604
9402
#endif
8605
 
/* We use char because int might match the return type of a gcc2
8606
 
   builtin and then its argument prototype would still apply.  */
8607
9403
char dlopen ();
8608
9404
/* The GNU C library defines this for functions which it implements
8609
9405
    to always fail with ENOSYS.  Some functions are actually named
8610
9406
    something starting with __ and the normal name is an alias.  */
8611
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9407
#if defined __stub_dlopen || defined __stub___dlopen
8612
9408
choke me
8613
 
#else
8614
 
char (*f) () = dlopen;
8615
 
#endif
8616
 
#ifdef __cplusplus
8617
 
}
8618
9409
#endif
8619
9410
 
8620
9411
int
8621
9412
main ()
8622
9413
{
8623
 
return f != dlopen;
 
9414
return dlopen ();
8624
9415
  ;
8625
9416
  return 0;
8626
9417
}
8634
9425
  cat conftest.err >&5
8635
9426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636
9427
  (exit $ac_status); } &&
8637
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9428
         { ac_try='test -z "$ac_c_werror_flag"
 
9429
                         || test ! -s conftest.err'
8638
9430
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639
9431
  (eval $ac_try) 2>&5
8640
9432
  ac_status=$?
8651
9443
  echo "$as_me: failed program was:" >&5
8652
9444
sed 's/^/| /' conftest.$ac_ext >&5
8653
9445
 
8654
 
ac_cv_func_dlopen=no
 
9446
        ac_cv_func_dlopen=no
8655
9447
fi
 
9448
 
8656
9449
rm -f conftest.err conftest.$ac_objext \
8657
9450
      conftest$ac_exeext conftest.$ac_ext
8658
9451
fi
8659
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8660
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9452
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9453
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8661
9454
if test $ac_cv_func_dlopen = yes; then
8662
9455
  lt_cv_dlopen="dlopen"
8663
9456
else
8664
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8665
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9457
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9458
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8666
9459
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8667
9460
  echo $ECHO_N "(cached) $ECHO_C" >&6
8668
9461
else
8675
9468
cat >>conftest.$ac_ext <<_ACEOF
8676
9469
/* end confdefs.h.  */
8677
9470
 
8678
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9471
/* Override any GCC internal prototype to avoid an error.
 
9472
   Use char because int might match the return type of a GCC
 
9473
   builtin and then its argument prototype would still apply.  */
8679
9474
#ifdef __cplusplus
8680
9475
extern "C"
8681
9476
#endif
8682
 
/* We use char because int might match the return type of a gcc2
8683
 
   builtin and then its argument prototype would still apply.  */
8684
9477
char dlopen ();
8685
9478
int
8686
9479
main ()
8687
9480
{
8688
 
dlopen ();
 
9481
return dlopen ();
8689
9482
  ;
8690
9483
  return 0;
8691
9484
}
8699
9492
  cat conftest.err >&5
8700
9493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701
9494
  (exit $ac_status); } &&
8702
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9495
         { ac_try='test -z "$ac_c_werror_flag"
 
9496
                         || test ! -s conftest.err'
8703
9497
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704
9498
  (eval $ac_try) 2>&5
8705
9499
  ac_status=$?
8716
9510
  echo "$as_me: failed program was:" >&5
8717
9511
sed 's/^/| /' conftest.$ac_ext >&5
8718
9512
 
8719
 
ac_cv_lib_dl_dlopen=no
 
9513
        ac_cv_lib_dl_dlopen=no
8720
9514
fi
 
9515
 
8721
9516
rm -f conftest.err conftest.$ac_objext \
8722
9517
      conftest$ac_exeext conftest.$ac_ext
8723
9518
LIBS=$ac_check_lib_save_LIBS
8724
9519
fi
8725
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8726
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9520
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9521
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8727
9522
if test $ac_cv_lib_dl_dlopen = yes; then
8728
9523
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8729
9524
else
8730
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8731
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9525
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9526
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8732
9527
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8733
9528
  echo $ECHO_N "(cached) $ECHO_C" >&6
8734
9529
else
8741
9536
cat >>conftest.$ac_ext <<_ACEOF
8742
9537
/* end confdefs.h.  */
8743
9538
 
8744
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9539
/* Override any GCC internal prototype to avoid an error.
 
9540
   Use char because int might match the return type of a GCC
 
9541
   builtin and then its argument prototype would still apply.  */
8745
9542
#ifdef __cplusplus
8746
9543
extern "C"
8747
9544
#endif
8748
 
/* We use char because int might match the return type of a gcc2
8749
 
   builtin and then its argument prototype would still apply.  */
8750
9545
char dlopen ();
8751
9546
int
8752
9547
main ()
8753
9548
{
8754
 
dlopen ();
 
9549
return dlopen ();
8755
9550
  ;
8756
9551
  return 0;
8757
9552
}
8765
9560
  cat conftest.err >&5
8766
9561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767
9562
  (exit $ac_status); } &&
8768
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9563
         { ac_try='test -z "$ac_c_werror_flag"
 
9564
                         || test ! -s conftest.err'
8769
9565
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770
9566
  (eval $ac_try) 2>&5
8771
9567
  ac_status=$?
8782
9578
  echo "$as_me: failed program was:" >&5
8783
9579
sed 's/^/| /' conftest.$ac_ext >&5
8784
9580
 
8785
 
ac_cv_lib_svld_dlopen=no
 
9581
        ac_cv_lib_svld_dlopen=no
8786
9582
fi
 
9583
 
8787
9584
rm -f conftest.err conftest.$ac_objext \
8788
9585
      conftest$ac_exeext conftest.$ac_ext
8789
9586
LIBS=$ac_check_lib_save_LIBS
8790
9587
fi
8791
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8792
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9588
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9589
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8793
9590
if test $ac_cv_lib_svld_dlopen = yes; then
8794
9591
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8795
9592
else
8796
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8797
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9593
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9594
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8798
9595
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8799
9596
  echo $ECHO_N "(cached) $ECHO_C" >&6
8800
9597
else
8807
9604
cat >>conftest.$ac_ext <<_ACEOF
8808
9605
/* end confdefs.h.  */
8809
9606
 
8810
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9607
/* Override any GCC internal prototype to avoid an error.
 
9608
   Use char because int might match the return type of a GCC
 
9609
   builtin and then its argument prototype would still apply.  */
8811
9610
#ifdef __cplusplus
8812
9611
extern "C"
8813
9612
#endif
8814
 
/* We use char because int might match the return type of a gcc2
8815
 
   builtin and then its argument prototype would still apply.  */
8816
9613
char dld_link ();
8817
9614
int
8818
9615
main ()
8819
9616
{
8820
 
dld_link ();
 
9617
return dld_link ();
8821
9618
  ;
8822
9619
  return 0;
8823
9620
}
8831
9628
  cat conftest.err >&5
8832
9629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833
9630
  (exit $ac_status); } &&
8834
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9631
         { ac_try='test -z "$ac_c_werror_flag"
 
9632
                         || test ! -s conftest.err'
8835
9633
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836
9634
  (eval $ac_try) 2>&5
8837
9635
  ac_status=$?
8848
9646
  echo "$as_me: failed program was:" >&5
8849
9647
sed 's/^/| /' conftest.$ac_ext >&5
8850
9648
 
8851
 
ac_cv_lib_dld_dld_link=no
 
9649
        ac_cv_lib_dld_dld_link=no
8852
9650
fi
 
9651
 
8853
9652
rm -f conftest.err conftest.$ac_objext \
8854
9653
      conftest$ac_exeext conftest.$ac_ext
8855
9654
LIBS=$ac_check_lib_save_LIBS
8856
9655
fi
8857
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8858
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9656
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9657
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8859
9658
if test $ac_cv_lib_dld_dld_link = yes; then
8860
9659
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8861
9660
fi
8890
9689
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8891
9690
 
8892
9691
    save_LDFLAGS="$LDFLAGS"
8893
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
9692
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8894
9693
 
8895
9694
    save_LIBS="$LIBS"
8896
9695
    LIBS="$lt_cv_dlopen_libs $LIBS"
8897
9696
 
8898
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8899
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9697
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9698
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8900
9699
if test "${lt_cv_dlopen_self+set}" = set; then
8901
9700
  echo $ECHO_N "(cached) $ECHO_C" >&6
8902
9701
else
8906
9705
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8907
9706
  lt_status=$lt_dlunknown
8908
9707
  cat > conftest.$ac_ext <<EOF
8909
 
#line 8909 "configure"
 
9708
#line 9708 "configure"
8910
9709
#include "confdefs.h"
8911
9710
 
8912
9711
#if HAVE_DLFCN_H
8963
9762
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8964
9763
      /* dlclose (self); */
8965
9764
    }
 
9765
  else
 
9766
    puts (dlerror ());
8966
9767
 
8967
9768
    exit (status);
8968
9769
}
8977
9778
    case x$lt_status in
8978
9779
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8979
9780
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8980
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
9781
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
8981
9782
    esac
8982
9783
  else :
8983
9784
    # compilation failed
8988
9789
 
8989
9790
 
8990
9791
fi
8991
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8992
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
9792
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
9793
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8993
9794
 
8994
9795
    if test "x$lt_cv_dlopen_self" = xyes; then
8995
 
      LDFLAGS="$LDFLAGS $link_static_flag"
8996
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8997
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
9796
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
9797
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
9798
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8998
9799
if test "${lt_cv_dlopen_self_static+set}" = set; then
8999
9800
  echo $ECHO_N "(cached) $ECHO_C" >&6
9000
9801
else
9004
9805
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9005
9806
  lt_status=$lt_dlunknown
9006
9807
  cat > conftest.$ac_ext <<EOF
9007
 
#line 9007 "configure"
 
9808
#line 9808 "configure"
9008
9809
#include "confdefs.h"
9009
9810
 
9010
9811
#if HAVE_DLFCN_H
9061
9862
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9062
9863
      /* dlclose (self); */
9063
9864
    }
 
9865
  else
 
9866
    puts (dlerror ());
9064
9867
 
9065
9868
    exit (status);
9066
9869
}
9075
9878
    case x$lt_status in
9076
9879
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9077
9880
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9078
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
9881
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9079
9882
    esac
9080
9883
  else :
9081
9884
    # compilation failed
9086
9889
 
9087
9890
 
9088
9891
fi
9089
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9090
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
9892
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
9893
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9091
9894
    fi
9092
9895
 
9093
9896
    CPPFLAGS="$save_CPPFLAGS"
9108
9911
fi
9109
9912
 
9110
9913
 
9111
 
# Report which librarie types wil actually be built
9112
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9113
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9114
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9115
 
echo "${ECHO_T}$can_build_shared" >&6
 
9914
# Report which library types will actually be built
 
9915
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
9916
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
9917
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
9918
echo "${ECHO_T}$can_build_shared" >&6; }
9116
9919
 
9117
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9118
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
9920
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
9921
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9119
9922
test "$can_build_shared" = "no" && enable_shared=no
9120
9923
 
9121
9924
# On AIX, shared libraries and static libraries use the same namespace, and
9135
9938
  fi
9136
9939
    ;;
9137
9940
esac
9138
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9139
 
echo "${ECHO_T}$enable_shared" >&6
 
9941
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
9942
echo "${ECHO_T}$enable_shared" >&6; }
9140
9943
 
9141
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9142
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
9944
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
9945
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9143
9946
# Make sure either enable_shared or enable_static is yes.
9144
9947
test "$enable_shared" = yes || enable_static=yes
9145
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9146
 
echo "${ECHO_T}$enable_static" >&6
 
9948
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
9949
echo "${ECHO_T}$enable_static" >&6; }
9147
9950
 
9148
9951
# The else clause should only fire when bootstrapping the
9149
9952
# libtool distribution, otherwise you forgot to ship ltmain.sh
9158
9961
  # Now quote all the things that may contain metacharacters while being
9159
9962
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9160
9963
  # variables and quote the copies for generation of the libtool script.
9161
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
9964
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9162
9965
    SED SHELL STRIP \
9163
9966
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9164
9967
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9324
10127
# A C compiler.
9325
10128
LTCC=$lt_LTCC
9326
10129
 
 
10130
# LTCC compiler flags.
 
10131
LTCFLAGS=$lt_LTCFLAGS
 
10132
 
9327
10133
# A language-specific compiler.
9328
10134
CC=$lt_compiler
9329
10135
 
9632
10438
CC="$lt_save_CC"
9633
10439
 
9634
10440
 
9635
 
# Check whether --with-tags or --without-tags was given.
 
10441
# Check whether --with-tags was given.
9636
10442
if test "${with_tags+set}" = set; then
9637
 
  withval="$with_tags"
9638
 
  tagnames="$withval"
9639
 
fi;
 
10443
  withval=$with_tags; tagnames="$withval"
 
10444
fi
 
10445
 
9640
10446
 
9641
10447
if test -f "$ltmain" && test -n "$tagnames"; then
9642
10448
  if test ! -f "${ofile}"; then
9654
10460
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9655
10461
    fi
9656
10462
  fi
 
10463
  if test -z "$LTCFLAGS"; then
 
10464
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
10465
  fi
9657
10466
 
9658
10467
  # Extract list of available tagged configurations in $ofile.
9659
10468
  # Note that this assumes the entire list is on one line.
9687
10496
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9688
10497
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9689
10498
            (test "X$CXX" != "Xg++"))) ; then
9690
 
          ac_ext=cc
 
10499
          ac_ext=cpp
9691
10500
ac_cpp='$CXXCPP $CPPFLAGS'
9692
10501
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9693
10502
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9706
10515
hardcode_libdir_flag_spec_ld_CXX=
9707
10516
hardcode_libdir_separator_CXX=
9708
10517
hardcode_minus_L_CXX=no
 
10518
hardcode_shlibpath_var_CXX=unsupported
9709
10519
hardcode_automatic_CXX=no
9710
10520
module_cmds_CXX=
9711
10521
module_expsym_cmds_CXX=
9733
10543
lt_simple_compile_test_code="int some_variable = 0;\n"
9734
10544
 
9735
10545
# Code to be used in simple link tests
9736
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
10546
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9737
10547
 
9738
10548
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9739
10549
 
9740
10550
# If no C compiler was specified, use CC.
9741
10551
LTCC=${LTCC-"$CC"}
9742
10552
 
 
10553
# If no C compiler flags were specified, use CFLAGS.
 
10554
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10555
 
9743
10556
# Allow CC to be a program name with arguments.
9744
10557
compiler=$CC
9745
10558
 
9747
10560
# save warnings/boilerplate of simple test code
9748
10561
ac_outfile=conftest.$ac_objext
9749
10562
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
9750
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10563
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9751
10564
_lt_compiler_boilerplate=`cat conftest.err`
9752
10565
$rm conftest*
9753
10566
 
9754
10567
ac_outfile=conftest.$ac_objext
9755
10568
printf "$lt_simple_link_test_code" >conftest.$ac_ext
9756
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10569
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9757
10570
_lt_linker_boilerplate=`cat conftest.err`
9758
10571
$rm conftest*
9759
10572
 
9768
10581
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9769
10582
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9770
10583
else
9771
 
  unset lt_cv_prog_gnu_ld
 
10584
  $as_unset lt_cv_prog_gnu_ld
9772
10585
fi
9773
10586
if test -n "${lt_cv_path_LDCXX+set}"; then
9774
10587
  lt_cv_path_LD=$lt_cv_path_LDCXX
9775
10588
else
9776
 
  unset lt_cv_path_LD
 
10589
  $as_unset lt_cv_path_LD
9777
10590
fi
9778
10591
test -z "${LDCXX+set}" || LD=$LDCXX
9779
10592
CC=${CXX-"c++"}
9802
10615
  # Set up default GNU C++ configuration
9803
10616
 
9804
10617
 
9805
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10618
# Check whether --with-gnu-ld was given.
9806
10619
if test "${with_gnu_ld+set}" = set; then
9807
 
  withval="$with_gnu_ld"
9808
 
  test "$withval" = no || with_gnu_ld=yes
 
10620
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9809
10621
else
9810
10622
  with_gnu_ld=no
9811
 
fi;
 
10623
fi
 
10624
 
9812
10625
ac_prog=ld
9813
10626
if test "$GCC" = yes; then
9814
10627
  # Check if gcc -print-prog-name=ld gives a path.
9815
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9816
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10628
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10629
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9817
10630
  case $host in
9818
10631
  *-*-mingw*)
9819
10632
    # gcc leaves a trailing carriage return which upsets mingw
9842
10655
    ;;
9843
10656
  esac
9844
10657
elif test "$with_gnu_ld" = yes; then
9845
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9846
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10658
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10659
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9847
10660
else
9848
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9849
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10661
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10662
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9850
10663
fi
9851
10664
if test "${lt_cv_path_LD+set}" = set; then
9852
10665
  echo $ECHO_N "(cached) $ECHO_C" >&6
9879
10692
 
9880
10693
LD="$lt_cv_path_LD"
9881
10694
if test -n "$LD"; then
9882
 
  echo "$as_me:$LINENO: result: $LD" >&5
9883
 
echo "${ECHO_T}$LD" >&6
 
10695
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10696
echo "${ECHO_T}$LD" >&6; }
9884
10697
else
9885
 
  echo "$as_me:$LINENO: result: no" >&5
9886
 
echo "${ECHO_T}no" >&6
 
10698
  { echo "$as_me:$LINENO: result: no" >&5
 
10699
echo "${ECHO_T}no" >&6; }
9887
10700
fi
9888
10701
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9889
10702
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9890
10703
   { (exit 1); exit 1; }; }
9891
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9892
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10704
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10705
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9893
10706
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9894
10707
  echo $ECHO_N "(cached) $ECHO_C" >&6
9895
10708
else
9903
10716
  ;;
9904
10717
esac
9905
10718
fi
9906
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9907
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10719
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10720
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9908
10721
with_gnu_ld=$lt_cv_prog_gnu_ld
9909
10722
 
9910
10723
 
9954
10767
fi
9955
10768
 
9956
10769
# PORTME: fill in a description of your system's C++ link characteristics
9957
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9958
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10770
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10771
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9959
10772
ld_shlibs_CXX=yes
9960
10773
case $host_os in
9961
10774
  aix3*)
9984
10797
            ;;
9985
10798
          esac
9986
10799
        done
 
10800
        ;;
9987
10801
      esac
9988
10802
 
9989
10803
      exp_sym_flag='-bexport'
10021
10835
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10022
10836
          hardcode_libdir_separator_CXX=
10023
10837
        fi
 
10838
        ;;
10024
10839
      esac
10025
10840
      shared_flag='-shared'
10026
10841
      if test "$aix_use_runtimelinking" = yes; then
10073
10888
  cat conftest.err >&5
10074
10889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075
10890
  (exit $ac_status); } &&
10076
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
10891
         { ac_try='test -z "$ac_cxx_werror_flag"
 
10892
                         || test ! -s conftest.err'
10077
10893
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078
10894
  (eval $ac_try) 2>&5
10079
10895
  ac_status=$?
10095
10911
  echo "$as_me: failed program was:" >&5
10096
10912
sed 's/^/| /' conftest.$ac_ext >&5
10097
10913
 
 
10914
 
10098
10915
fi
 
10916
 
10099
10917
rm -f conftest.err conftest.$ac_objext \
10100
10918
      conftest$ac_exeext conftest.$ac_ext
10101
10919
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10102
10920
 
10103
10921
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10104
10922
 
10105
 
      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"
 
10923
      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"
10106
10924
     else
10107
10925
      if test "$host_cpu" = ia64; then
10108
10926
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10109
10927
        allow_undefined_flag_CXX="-z nodefs"
10110
 
        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"
 
10928
        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"
10111
10929
      else
10112
10930
        # Determine the default libpath from the value encoded in an empty executable.
10113
10931
        cat >conftest.$ac_ext <<_ACEOF
10134
10952
  cat conftest.err >&5
10135
10953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136
10954
  (exit $ac_status); } &&
10137
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
10955
         { ac_try='test -z "$ac_cxx_werror_flag"
 
10956
                         || test ! -s conftest.err'
10138
10957
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139
10958
  (eval $ac_try) 2>&5
10140
10959
  ac_status=$?
10156
10975
  echo "$as_me: failed program was:" >&5
10157
10976
sed 's/^/| /' conftest.$ac_ext >&5
10158
10977
 
 
10978
 
10159
10979
fi
 
10980
 
10160
10981
rm -f conftest.err conftest.$ac_objext \
10161
10982
      conftest$ac_exeext conftest.$ac_ext
10162
10983
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10166
10987
        # -berok will link without error, but may produce a broken library.
10167
10988
        no_undefined_flag_CXX=' ${wl}-bernotok'
10168
10989
        allow_undefined_flag_CXX=' ${wl}-berok'
10169
 
        # -bexpall does not export symbols beginning with underscore (_)
10170
 
        always_export_symbols_CXX=yes
10171
10990
        # Exported symbols can be pulled into shared objects from archives
10172
 
        whole_archive_flag_spec_CXX=' '
 
10991
        whole_archive_flag_spec_CXX='$convenience'
10173
10992
        archive_cmds_need_lc_CXX=yes
10174
10993
        # This is similar to how AIX traditionally builds its shared libraries.
10175
 
        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'
 
10994
        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'
10176
10995
      fi
10177
10996
    fi
10178
10997
    ;;
 
10998
 
 
10999
  beos*)
 
11000
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11001
      allow_undefined_flag_CXX=unsupported
 
11002
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11003
      # support --undefined.  This deserves some investigation.  FIXME
 
11004
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11005
    else
 
11006
      ld_shlibs_CXX=no
 
11007
    fi
 
11008
    ;;
 
11009
 
10179
11010
  chorus*)
10180
11011
    case $cc_basename in
10181
11012
      *)
10185
11016
    esac
10186
11017
    ;;
10187
11018
 
10188
 
 
10189
11019
  cygwin* | mingw* | pw32*)
10190
11020
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10191
11021
    # as there is no search path for DLLs.
10195
11025
    enable_shared_with_static_runtimes_CXX=yes
10196
11026
 
10197
11027
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10198
 
      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'
 
11028
      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'
10199
11029
      # If the export-symbols file already is a .def file (1st line
10200
11030
      # is EXPORTS), use it as is; otherwise, prepend...
10201
11031
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10204
11034
        echo EXPORTS > $output_objdir/$soname.def;
10205
11035
        cat $export_symbols >> $output_objdir/$soname.def;
10206
11036
      fi~
10207
 
      $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'
 
11037
      $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'
10208
11038
    else
10209
11039
      ld_shlibs_CXX=no
10210
11040
    fi
10296
11126
  freebsd-elf*)
10297
11127
    archive_cmds_need_lc_CXX=no
10298
11128
    ;;
10299
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11129
  freebsd* | dragonfly*)
10300
11130
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10301
11131
    # conventions
10302
11132
    ld_shlibs_CXX=yes
10341
11171
    ;;
10342
11172
  hpux10*|hpux11*)
10343
11173
    if test $with_gnu_ld = no; then
 
11174
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11175
      hardcode_libdir_separator_CXX=:
 
11176
 
10344
11177
      case $host_cpu in
10345
 
      hppa*64*)
10346
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11178
      hppa*64*|ia64*)
10347
11179
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10348
 
        hardcode_libdir_separator_CXX=:
10349
 
        ;;
10350
 
      ia64*)
10351
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10352
11180
        ;;
10353
11181
      *)
10354
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10355
 
        hardcode_libdir_separator_CXX=:
10356
11182
        export_dynamic_flag_spec_CXX='${wl}-E'
10357
11183
        ;;
10358
11184
      esac
10359
11185
    fi
10360
11186
    case $host_cpu in
10361
 
    hppa*64*)
10362
 
      hardcode_direct_CXX=no
10363
 
      hardcode_shlibpath_var_CXX=no
10364
 
      ;;
10365
 
    ia64*)
10366
 
      hardcode_direct_CXX=no
10367
 
      hardcode_shlibpath_var_CXX=no
10368
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10369
 
                                              # but as the default
10370
 
                                              # location of the library.
 
11187
    hppa*64*|ia64*)
 
11188
      hardcode_direct_CXX=no
 
11189
      hardcode_shlibpath_var_CXX=no
10371
11190
      ;;
10372
11191
    *)
10373
11192
      hardcode_direct_CXX=yes
10384
11203
        ;;
10385
11204
      aCC*)
10386
11205
        case $host_cpu in
10387
 
        hppa*64*|ia64*)
10388
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11206
        hppa*64*)
 
11207
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11208
          ;;
 
11209
        ia64*)
 
11210
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10389
11211
          ;;
10390
11212
        *)
10391
11213
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10405
11227
        if test "$GXX" = yes; then
10406
11228
          if test $with_gnu_ld = no; then
10407
11229
            case $host_cpu in
10408
 
            ia64*|hppa*64*)
10409
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11230
            hppa*64*)
 
11231
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11232
              ;;
 
11233
            ia64*)
 
11234
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10410
11235
              ;;
10411
11236
            *)
10412
11237
              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'
10420
11245
        ;;
10421
11246
    esac
10422
11247
    ;;
 
11248
  interix3*)
 
11249
    hardcode_direct_CXX=no
 
11250
    hardcode_shlibpath_var_CXX=no
 
11251
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11252
    export_dynamic_flag_spec_CXX='${wl}-E'
 
11253
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11254
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11255
    # default) and relocated if they conflict, which is a slow very memory
 
11256
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
11257
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11258
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11259
    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'
 
11260
    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'
 
11261
    ;;
10423
11262
  irix5* | irix6*)
10424
11263
    case $cc_basename in
10425
11264
      CC*)
10446
11285
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10447
11286
    hardcode_libdir_separator_CXX=:
10448
11287
    ;;
10449
 
  linux*)
 
11288
  linux* | k*bsd*-gnu)
10450
11289
    case $cc_basename in
10451
11290
      KCC*)
10452
11291
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10548
11387
        ;;
10549
11388
    esac
10550
11389
    ;;
10551
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11390
  netbsd* | netbsdelf*-gnu)
10552
11391
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10553
11392
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10554
11393
      wlarc=
10702
11541
    # FIXME: insert proper C++ library support
10703
11542
    ld_shlibs_CXX=no
10704
11543
    ;;
10705
 
  sco*)
10706
 
    archive_cmds_need_lc_CXX=no
10707
 
    case $cc_basename in
10708
 
      CC*)
10709
 
        # FIXME: insert proper C++ library support
10710
 
        ld_shlibs_CXX=no
10711
 
        ;;
10712
 
      *)
10713
 
        # FIXME: insert proper C++ library support
10714
 
        ld_shlibs_CXX=no
10715
 
        ;;
10716
 
    esac
10717
 
    ;;
10718
11544
  sunos4*)
10719
11545
    case $cc_basename in
10720
11546
      CC*)
10807
11633
        ;;
10808
11634
    esac
10809
11635
    ;;
10810
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10811
 
    archive_cmds_need_lc_CXX=no
 
11636
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11637
    no_undefined_flag_CXX='${wl}-z,text'
 
11638
    archive_cmds_need_lc_CXX=no
 
11639
    hardcode_shlibpath_var_CXX=no
 
11640
    runpath_var='LD_RUN_PATH'
 
11641
 
 
11642
    case $cc_basename in
 
11643
      CC*)
 
11644
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11645
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11646
        ;;
 
11647
      *)
 
11648
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11649
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11650
        ;;
 
11651
    esac
 
11652
    ;;
 
11653
  sysv5* | sco3.2v5* | sco5v6*)
 
11654
    # Note: We can NOT use -z defs as we might desire, because we do not
 
11655
    # link with -lc, and that would cause any symbols used from libc to
 
11656
    # always be unresolved, which means just about no library would
 
11657
    # ever link correctly.  If we're not using GNU ld we use -z text
 
11658
    # though, which does catch some bad symbols but isn't as heavy-handed
 
11659
    # as -z defs.
 
11660
    # For security reasons, it is highly recommended that you always
 
11661
    # use absolute paths for naming shared libraries, and exclude the
 
11662
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
11663
    # requires that you compile everything twice, which is a pain.
 
11664
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
11665
    # non-empty value in the environment.  Most likely only useful for
 
11666
    # creating official distributions of packages.
 
11667
    # This is a hack until libtool officially supports absolute path
 
11668
    # names for shared libraries.
 
11669
    no_undefined_flag_CXX='${wl}-z,text'
 
11670
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
11671
    archive_cmds_need_lc_CXX=no
 
11672
    hardcode_shlibpath_var_CXX=no
 
11673
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
11674
    hardcode_libdir_separator_CXX=':'
 
11675
    link_all_deplibs_CXX=yes
 
11676
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
11677
    runpath_var='LD_RUN_PATH'
 
11678
 
 
11679
    case $cc_basename in
 
11680
      CC*)
 
11681
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11682
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11683
        ;;
 
11684
      *)
 
11685
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11686
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11687
        ;;
 
11688
    esac
10812
11689
    ;;
10813
11690
  tandem*)
10814
11691
    case $cc_basename in
10832
11709
    ld_shlibs_CXX=no
10833
11710
    ;;
10834
11711
esac
10835
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10836
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11712
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11713
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10837
11714
test "$ld_shlibs_CXX" = no && can_build_shared=no
10838
11715
 
10839
11716
GCC_CXX="$GXX"
10943
11820
 
10944
11821
# PORTME: override above test on systems where it is broken
10945
11822
case $host_os in
 
11823
interix3*)
 
11824
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
11825
  # hack all around it, let's just trust "g++" to DTRT.
 
11826
  predep_objects_CXX=
 
11827
  postdep_objects_CXX=
 
11828
  postdeps_CXX=
 
11829
  ;;
 
11830
 
10946
11831
solaris*)
10947
11832
  case $cc_basename in
10948
11833
  CC*)
10952
11837
    postdeps_CXX='-lCstd -lCrun'
10953
11838
    ;;
10954
11839
  esac
 
11840
  ;;
10955
11841
esac
10956
11842
 
10957
11843
 
10963
11849
lt_prog_compiler_pic_CXX=
10964
11850
lt_prog_compiler_static_CXX=
10965
11851
 
10966
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10967
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
11852
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11853
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10968
11854
 
10969
11855
  # C++ specific cases for pic, static, wl, etc.
10970
11856
  if test "$GXX" = yes; then
11002
11888
      # DJGPP does not support shared libraries at all
11003
11889
      lt_prog_compiler_pic_CXX=
11004
11890
      ;;
 
11891
    interix3*)
 
11892
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
11893
      # Instead, we relocate shared libraries at runtime.
 
11894
      ;;
11005
11895
    sysv4*MP*)
11006
11896
      if test -d /usr/nec; then
11007
11897
        lt_prog_compiler_pic_CXX=-Kconform_pic
11064
11954
            ;;
11065
11955
        esac
11066
11956
        ;;
11067
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
11957
      freebsd* | dragonfly*)
11068
11958
        # FreeBSD uses GNU C++
11069
11959
        ;;
11070
11960
      hpux9* | hpux10* | hpux11*)
11071
11961
        case $cc_basename in
11072
11962
          CC*)
11073
11963
            lt_prog_compiler_wl_CXX='-Wl,'
11074
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
11964
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11075
11965
            if test "$host_cpu" != ia64; then
11076
11966
              lt_prog_compiler_pic_CXX='+Z'
11077
11967
            fi
11078
11968
            ;;
11079
11969
          aCC*)
11080
11970
            lt_prog_compiler_wl_CXX='-Wl,'
11081
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
11971
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11082
11972
            case $host_cpu in
11083
11973
            hppa*64*|ia64*)
11084
11974
              # +Z the default
11092
11982
            ;;
11093
11983
        esac
11094
11984
        ;;
 
11985
      interix*)
 
11986
        # This is c89, which is MS Visual C++ (no shared libs)
 
11987
        # Anyone wants to do a port?
 
11988
        ;;
11095
11989
      irix5* | irix6* | nonstopux*)
11096
11990
        case $cc_basename in
11097
11991
          CC*)
11103
11997
            ;;
11104
11998
        esac
11105
11999
        ;;
11106
 
      linux*)
 
12000
      linux* | k*bsd*-gnu)
11107
12001
        case $cc_basename in
11108
12002
          KCC*)
11109
12003
            # KAI C++ Compiler
11146
12040
            ;;
11147
12041
        esac
11148
12042
        ;;
11149
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12043
      netbsd* | netbsdelf*-gnu)
11150
12044
        ;;
11151
12045
      osf3* | osf4* | osf5*)
11152
12046
        case $cc_basename in
11171
12065
        ;;
11172
12066
      psos*)
11173
12067
        ;;
11174
 
      sco*)
11175
 
        case $cc_basename in
11176
 
          CC*)
11177
 
            lt_prog_compiler_pic_CXX='-fPIC'
11178
 
            ;;
11179
 
          *)
11180
 
            ;;
11181
 
        esac
11182
 
        ;;
11183
12068
      solaris*)
11184
12069
        case $cc_basename in
11185
12070
          CC*)
11221
12106
            ;;
11222
12107
        esac
11223
12108
        ;;
11224
 
      unixware*)
 
12109
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12110
        case $cc_basename in
 
12111
          CC*)
 
12112
            lt_prog_compiler_wl_CXX='-Wl,'
 
12113
            lt_prog_compiler_pic_CXX='-KPIC'
 
12114
            lt_prog_compiler_static_CXX='-Bstatic'
 
12115
            ;;
 
12116
        esac
11225
12117
        ;;
11226
12118
      vxworks*)
11227
12119
        ;;
11231
12123
    esac
11232
12124
  fi
11233
12125
 
11234
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11235
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12126
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12127
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11236
12128
 
11237
12129
#
11238
12130
# Check to make sure the PIC flag actually works.
11239
12131
#
11240
12132
if test -n "$lt_prog_compiler_pic_CXX"; then
11241
12133
 
11242
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11243
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12134
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12135
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11244
12136
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11245
12137
  echo $ECHO_N "(cached) $ECHO_C" >&6
11246
12138
else
11257
12149
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11258
12150
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11259
12151
   -e 's:$: $lt_compiler_flag:'`
11260
 
   (eval echo "\"\$as_me:11260: $lt_compile\"" >&5)
 
12152
   (eval echo "\"\$as_me:12152: $lt_compile\"" >&5)
11261
12153
   (eval "$lt_compile" 2>conftest.err)
11262
12154
   ac_status=$?
11263
12155
   cat conftest.err >&5
11264
 
   echo "$as_me:11264: \$? = $ac_status" >&5
 
12156
   echo "$as_me:12156: \$? = $ac_status" >&5
11265
12157
   if (exit $ac_status) && test -s "$ac_outfile"; then
11266
12158
     # The compiler can only warn and ignore the option if not recognized
11267
12159
     # So say no if there are warnings other than the usual output.
11268
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11269
 
     $SED '/^$/d' conftest.err >conftest.er2
11270
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
12160
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12161
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12162
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11271
12163
       lt_prog_compiler_pic_works_CXX=yes
11272
12164
     fi
11273
12165
   fi
11274
12166
   $rm conftest*
11275
12167
 
11276
12168
fi
11277
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11278
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12169
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12170
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11279
12171
 
11280
12172
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11281
12173
    case $lt_prog_compiler_pic_CXX in
11298
12190
    ;;
11299
12191
esac
11300
12192
 
11301
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11302
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12193
#
 
12194
# Check to make sure the static flag actually works.
 
12195
#
 
12196
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12197
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12198
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12199
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12200
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12201
else
 
12202
  lt_prog_compiler_static_works_CXX=no
 
12203
   save_LDFLAGS="$LDFLAGS"
 
12204
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12205
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12206
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12207
     # The linker can only warn and ignore the option if not recognized
 
12208
     # So say no if there are warnings
 
12209
     if test -s conftest.err; then
 
12210
       # Append any errors to the config.log.
 
12211
       cat conftest.err 1>&5
 
12212
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12213
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12214
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12215
         lt_prog_compiler_static_works_CXX=yes
 
12216
       fi
 
12217
     else
 
12218
       lt_prog_compiler_static_works_CXX=yes
 
12219
     fi
 
12220
   fi
 
12221
   $rm conftest*
 
12222
   LDFLAGS="$save_LDFLAGS"
 
12223
 
 
12224
fi
 
12225
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12226
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12227
 
 
12228
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12229
    :
 
12230
else
 
12231
    lt_prog_compiler_static_CXX=
 
12232
fi
 
12233
 
 
12234
 
 
12235
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12236
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11303
12237
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11304
12238
  echo $ECHO_N "(cached) $ECHO_C" >&6
11305
12239
else
11319
12253
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11320
12254
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11321
12255
   -e 's:$: $lt_compiler_flag:'`
11322
 
   (eval echo "\"\$as_me:11322: $lt_compile\"" >&5)
 
12256
   (eval echo "\"\$as_me:12256: $lt_compile\"" >&5)
11323
12257
   (eval "$lt_compile" 2>out/conftest.err)
11324
12258
   ac_status=$?
11325
12259
   cat out/conftest.err >&5
11326
 
   echo "$as_me:11326: \$? = $ac_status" >&5
 
12260
   echo "$as_me:12260: \$? = $ac_status" >&5
11327
12261
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11328
12262
   then
11329
12263
     # The compiler can only warn and ignore the option if not recognized
11330
12264
     # So say no if there are warnings
11331
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11332
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
11333
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12265
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12266
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12267
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11334
12268
       lt_cv_prog_compiler_c_o_CXX=yes
11335
12269
     fi
11336
12270
   fi
11345
12279
   $rm conftest*
11346
12280
 
11347
12281
fi
11348
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11349
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12282
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12283
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11350
12284
 
11351
12285
 
11352
12286
hard_links="nottested"
11353
12287
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11354
12288
  # do not overwrite the value of need_locks provided by the user
11355
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11356
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12289
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12290
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11357
12291
  hard_links=yes
11358
12292
  $rm conftest*
11359
12293
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11360
12294
  touch conftest.a
11361
12295
  ln conftest.a conftest.b 2>&5 || hard_links=no
11362
12296
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11363
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11364
 
echo "${ECHO_T}$hard_links" >&6
 
12297
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12298
echo "${ECHO_T}$hard_links" >&6; }
11365
12299
  if test "$hard_links" = no; then
11366
12300
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11367
12301
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11371
12305
  need_locks=no
11372
12306
fi
11373
12307
 
11374
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11375
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12308
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12309
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11376
12310
 
11377
12311
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11378
12312
  case $host_os in
11391
12325
  cygwin* | mingw*)
11392
12326
    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'
11393
12327
  ;;
11394
 
  linux*)
 
12328
  linux* | k*bsd*-gnu)
11395
12329
    link_all_deplibs_CXX=no
11396
12330
  ;;
11397
12331
  *)
11399
12333
  ;;
11400
12334
  esac
11401
12335
 
11402
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11403
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12336
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12337
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11404
12338
test "$ld_shlibs_CXX" = no && can_build_shared=no
11405
12339
 
11406
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11407
 
if test "$GCC" = yes; then
11408
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11409
 
fi
11410
 
 
11411
12340
#
11412
12341
# Do we need to explicitly link libc?
11413
12342
#
11425
12354
      # Test whether the compiler implicitly links with -lc since on some
11426
12355
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11427
12356
      # to ld, don't add -lc before -lgcc.
11428
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11429
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12357
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12358
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11430
12359
      $rm conftest*
11431
12360
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11432
12361
 
11440
12369
        libobjs=conftest.$ac_objext
11441
12370
        deplibs=
11442
12371
        wl=$lt_prog_compiler_wl_CXX
 
12372
        pic_flag=$lt_prog_compiler_pic_CXX
11443
12373
        compiler_flags=-v
11444
12374
        linker_flags=-v
11445
12375
        verstring=
11462
12392
        cat conftest.err 1>&5
11463
12393
      fi
11464
12394
      $rm conftest*
11465
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11466
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12395
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12396
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11467
12397
      ;;
11468
12398
    esac
11469
12399
  fi
11470
12400
  ;;
11471
12401
esac
11472
12402
 
11473
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11474
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12403
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12404
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11475
12405
library_names_spec=
11476
12406
libname_spec='lib$name'
11477
12407
soname_spec=
11677
12607
  dynamic_linker=no
11678
12608
  ;;
11679
12609
 
11680
 
kfreebsd*-gnu)
11681
 
  version_type=linux
11682
 
  need_lib_prefix=no
11683
 
  need_version=no
11684
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11685
 
  soname_spec='${libname}${release}${shared_ext}$major'
11686
 
  shlibpath_var=LD_LIBRARY_PATH
11687
 
  shlibpath_overrides_runpath=no
11688
 
  hardcode_into_libs=yes
11689
 
  dynamic_linker='GNU ld.so'
11690
 
  ;;
11691
 
 
11692
12610
freebsd* | dragonfly*)
11693
12611
  # DragonFly does not have aout.  When/if they implement a new
11694
12612
  # versioning mechanism, adjust this.
11721
12639
    shlibpath_overrides_runpath=yes
11722
12640
    hardcode_into_libs=yes
11723
12641
    ;;
11724
 
  *) # from 3.2 on
 
12642
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12643
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11725
12644
    shlibpath_overrides_runpath=no
11726
12645
    hardcode_into_libs=yes
11727
12646
    ;;
 
12647
  freebsd*) # from 4.6 on
 
12648
    shlibpath_overrides_runpath=yes
 
12649
    hardcode_into_libs=yes
 
12650
    ;;
11728
12651
  esac
11729
12652
  ;;
11730
12653
 
11784
12707
  postinstall_cmds='chmod 555 $lib'
11785
12708
  ;;
11786
12709
 
 
12710
interix3*)
 
12711
  version_type=linux
 
12712
  need_lib_prefix=no
 
12713
  need_version=no
 
12714
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12715
  soname_spec='${libname}${release}${shared_ext}$major'
 
12716
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12717
  shlibpath_var=LD_LIBRARY_PATH
 
12718
  shlibpath_overrides_runpath=no
 
12719
  hardcode_into_libs=yes
 
12720
  ;;
 
12721
 
11787
12722
irix5* | irix6* | nonstopux*)
11788
12723
  case $host_os in
11789
12724
    nonstopux*) version_type=nonstopux ;;
11827
12762
  ;;
11828
12763
 
11829
12764
# This must be Linux ELF.
11830
 
linux*)
 
12765
linux* | k*bsd*-gnu)
11831
12766
  version_type=linux
11832
12767
  need_lib_prefix=no
11833
12768
  need_version=no
11868
12803
  dynamic_linker='NetBSD ld.elf_so'
11869
12804
  ;;
11870
12805
 
11871
 
knetbsd*-gnu)
11872
 
  version_type=linux
11873
 
  need_lib_prefix=no
11874
 
  need_version=no
11875
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11876
 
  soname_spec='${libname}${release}${shared_ext}$major'
11877
 
  shlibpath_var=LD_LIBRARY_PATH
11878
 
  shlibpath_overrides_runpath=no
11879
 
  hardcode_into_libs=yes
11880
 
  dynamic_linker='GNU ld.so'
11881
 
  ;;
11882
 
 
11883
12806
netbsd*)
11884
12807
  version_type=sunos
11885
12808
  need_lib_prefix=no
11917
12840
 
11918
12841
openbsd*)
11919
12842
  version_type=sunos
 
12843
  sys_lib_dlsearch_path_spec="/usr/lib"
11920
12844
  need_lib_prefix=no
11921
12845
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11922
12846
  case $host_os in
11960
12884
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11961
12885
  ;;
11962
12886
 
11963
 
sco3.2v5*)
11964
 
  version_type=osf
11965
 
  soname_spec='${libname}${release}${shared_ext}$major'
11966
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11967
 
  shlibpath_var=LD_LIBRARY_PATH
11968
 
  ;;
11969
 
 
11970
12887
solaris*)
11971
12888
  version_type=linux
11972
12889
  need_lib_prefix=no
11992
12909
  need_version=yes
11993
12910
  ;;
11994
12911
 
11995
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12912
sysv4 | sysv4.3*)
11996
12913
  version_type=linux
11997
12914
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11998
12915
  soname_spec='${libname}${release}${shared_ext}$major'
12025
12942
  fi
12026
12943
  ;;
12027
12944
 
 
12945
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12946
  version_type=freebsd-elf
 
12947
  need_lib_prefix=no
 
12948
  need_version=no
 
12949
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12950
  soname_spec='${libname}${release}${shared_ext}$major'
 
12951
  shlibpath_var=LD_LIBRARY_PATH
 
12952
  hardcode_into_libs=yes
 
12953
  if test "$with_gnu_ld" = yes; then
 
12954
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12955
    shlibpath_overrides_runpath=no
 
12956
  else
 
12957
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12958
    shlibpath_overrides_runpath=yes
 
12959
    case $host_os in
 
12960
      sco3.2v5*)
 
12961
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12962
        ;;
 
12963
    esac
 
12964
  fi
 
12965
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12966
  ;;
 
12967
 
12028
12968
uts4*)
12029
12969
  version_type=linux
12030
12970
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12036
12976
  dynamic_linker=no
12037
12977
  ;;
12038
12978
esac
12039
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12040
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12979
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12980
echo "${ECHO_T}$dynamic_linker" >&6; }
12041
12981
test "$dynamic_linker" = no && can_build_shared=no
12042
12982
 
12043
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12044
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12983
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12984
if test "$GCC" = yes; then
 
12985
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12986
fi
 
12987
 
 
12988
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12989
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12045
12990
hardcode_action_CXX=
12046
12991
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12047
12992
   test -n "$runpath_var_CXX" || \
12065
13010
  # directories.
12066
13011
  hardcode_action_CXX=unsupported
12067
13012
fi
12068
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12069
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13013
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13014
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12070
13015
 
12071
13016
if test "$hardcode_action_CXX" = relink; then
12072
13017
  # Fast installation is not supported
12077
13022
  enable_fast_install=needless
12078
13023
fi
12079
13024
 
12080
 
striplib=
12081
 
old_striplib=
12082
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12083
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12084
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12085
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12086
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12087
 
  echo "$as_me:$LINENO: result: yes" >&5
12088
 
echo "${ECHO_T}yes" >&6
12089
 
else
12090
 
# FIXME - insert some real tests, host_os isn't really good enough
12091
 
  case $host_os in
12092
 
   darwin*)
12093
 
       if test -n "$STRIP" ; then
12094
 
         striplib="$STRIP -x"
12095
 
         echo "$as_me:$LINENO: result: yes" >&5
12096
 
echo "${ECHO_T}yes" >&6
12097
 
       else
12098
 
  echo "$as_me:$LINENO: result: no" >&5
12099
 
echo "${ECHO_T}no" >&6
12100
 
fi
12101
 
       ;;
12102
 
   *)
12103
 
  echo "$as_me:$LINENO: result: no" >&5
12104
 
echo "${ECHO_T}no" >&6
12105
 
    ;;
12106
 
  esac
12107
 
fi
12108
 
 
12109
 
if test "x$enable_dlopen" != xyes; then
12110
 
  enable_dlopen=unknown
12111
 
  enable_dlopen_self=unknown
12112
 
  enable_dlopen_self_static=unknown
12113
 
else
12114
 
  lt_cv_dlopen=no
12115
 
  lt_cv_dlopen_libs=
12116
 
 
12117
 
  case $host_os in
12118
 
  beos*)
12119
 
    lt_cv_dlopen="load_add_on"
12120
 
    lt_cv_dlopen_libs=
12121
 
    lt_cv_dlopen_self=yes
12122
 
    ;;
12123
 
 
12124
 
  mingw* | pw32*)
12125
 
    lt_cv_dlopen="LoadLibrary"
12126
 
    lt_cv_dlopen_libs=
12127
 
   ;;
12128
 
 
12129
 
  cygwin*)
12130
 
    lt_cv_dlopen="dlopen"
12131
 
    lt_cv_dlopen_libs=
12132
 
   ;;
12133
 
 
12134
 
  darwin*)
12135
 
  # if libdl is installed we need to link against it
12136
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12137
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12138
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12140
 
else
12141
 
  ac_check_lib_save_LIBS=$LIBS
12142
 
LIBS="-ldl  $LIBS"
12143
 
cat >conftest.$ac_ext <<_ACEOF
12144
 
/* confdefs.h.  */
12145
 
_ACEOF
12146
 
cat confdefs.h >>conftest.$ac_ext
12147
 
cat >>conftest.$ac_ext <<_ACEOF
12148
 
/* end confdefs.h.  */
12149
 
 
12150
 
/* Override any gcc2 internal prototype to avoid an error.  */
12151
 
#ifdef __cplusplus
12152
 
extern "C"
12153
 
#endif
12154
 
/* We use char because int might match the return type of a gcc2
12155
 
   builtin and then its argument prototype would still apply.  */
12156
 
char dlopen ();
12157
 
int
12158
 
main ()
12159
 
{
12160
 
dlopen ();
12161
 
  ;
12162
 
  return 0;
12163
 
}
12164
 
_ACEOF
12165
 
rm -f conftest.$ac_objext conftest$ac_exeext
12166
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12167
 
  (eval $ac_link) 2>conftest.er1
12168
 
  ac_status=$?
12169
 
  grep -v '^ *+' conftest.er1 >conftest.err
12170
 
  rm -f conftest.er1
12171
 
  cat conftest.err >&5
12172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173
 
  (exit $ac_status); } &&
12174
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12176
 
  (eval $ac_try) 2>&5
12177
 
  ac_status=$?
12178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179
 
  (exit $ac_status); }; } &&
12180
 
         { ac_try='test -s conftest$ac_exeext'
12181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182
 
  (eval $ac_try) 2>&5
12183
 
  ac_status=$?
12184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185
 
  (exit $ac_status); }; }; then
12186
 
  ac_cv_lib_dl_dlopen=yes
12187
 
else
12188
 
  echo "$as_me: failed program was:" >&5
12189
 
sed 's/^/| /' conftest.$ac_ext >&5
12190
 
 
12191
 
ac_cv_lib_dl_dlopen=no
12192
 
fi
12193
 
rm -f conftest.err conftest.$ac_objext \
12194
 
      conftest$ac_exeext conftest.$ac_ext
12195
 
LIBS=$ac_check_lib_save_LIBS
12196
 
fi
12197
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12198
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12199
 
if test $ac_cv_lib_dl_dlopen = yes; then
12200
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12201
 
else
12202
 
 
12203
 
    lt_cv_dlopen="dyld"
12204
 
    lt_cv_dlopen_libs=
12205
 
    lt_cv_dlopen_self=yes
12206
 
 
12207
 
fi
12208
 
 
12209
 
   ;;
12210
 
 
12211
 
  *)
12212
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12213
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12214
 
if test "${ac_cv_func_shl_load+set}" = set; then
12215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12216
 
else
12217
 
  cat >conftest.$ac_ext <<_ACEOF
12218
 
/* confdefs.h.  */
12219
 
_ACEOF
12220
 
cat confdefs.h >>conftest.$ac_ext
12221
 
cat >>conftest.$ac_ext <<_ACEOF
12222
 
/* end confdefs.h.  */
12223
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12224
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12225
 
#define shl_load innocuous_shl_load
12226
 
 
12227
 
/* System header to define __stub macros and hopefully few prototypes,
12228
 
    which can conflict with char shl_load (); below.
12229
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12230
 
    <limits.h> exists even on freestanding compilers.  */
12231
 
 
12232
 
#ifdef __STDC__
12233
 
# include <limits.h>
12234
 
#else
12235
 
# include <assert.h>
12236
 
#endif
12237
 
 
12238
 
#undef shl_load
12239
 
 
12240
 
/* Override any gcc2 internal prototype to avoid an error.  */
12241
 
#ifdef __cplusplus
12242
 
extern "C"
12243
 
{
12244
 
#endif
12245
 
/* We use char because int might match the return type of a gcc2
12246
 
   builtin and then its argument prototype would still apply.  */
12247
 
char shl_load ();
12248
 
/* The GNU C library defines this for functions which it implements
12249
 
    to always fail with ENOSYS.  Some functions are actually named
12250
 
    something starting with __ and the normal name is an alias.  */
12251
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12252
 
choke me
12253
 
#else
12254
 
char (*f) () = shl_load;
12255
 
#endif
12256
 
#ifdef __cplusplus
12257
 
}
12258
 
#endif
12259
 
 
12260
 
int
12261
 
main ()
12262
 
{
12263
 
return f != shl_load;
12264
 
  ;
12265
 
  return 0;
12266
 
}
12267
 
_ACEOF
12268
 
rm -f conftest.$ac_objext conftest$ac_exeext
12269
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12270
 
  (eval $ac_link) 2>conftest.er1
12271
 
  ac_status=$?
12272
 
  grep -v '^ *+' conftest.er1 >conftest.err
12273
 
  rm -f conftest.er1
12274
 
  cat conftest.err >&5
12275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276
 
  (exit $ac_status); } &&
12277
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12278
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279
 
  (eval $ac_try) 2>&5
12280
 
  ac_status=$?
12281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282
 
  (exit $ac_status); }; } &&
12283
 
         { ac_try='test -s conftest$ac_exeext'
12284
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285
 
  (eval $ac_try) 2>&5
12286
 
  ac_status=$?
12287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288
 
  (exit $ac_status); }; }; then
12289
 
  ac_cv_func_shl_load=yes
12290
 
else
12291
 
  echo "$as_me: failed program was:" >&5
12292
 
sed 's/^/| /' conftest.$ac_ext >&5
12293
 
 
12294
 
ac_cv_func_shl_load=no
12295
 
fi
12296
 
rm -f conftest.err conftest.$ac_objext \
12297
 
      conftest$ac_exeext conftest.$ac_ext
12298
 
fi
12299
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12300
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12301
 
if test $ac_cv_func_shl_load = yes; then
12302
 
  lt_cv_dlopen="shl_load"
12303
 
else
12304
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12305
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12306
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12308
 
else
12309
 
  ac_check_lib_save_LIBS=$LIBS
12310
 
LIBS="-ldld  $LIBS"
12311
 
cat >conftest.$ac_ext <<_ACEOF
12312
 
/* confdefs.h.  */
12313
 
_ACEOF
12314
 
cat confdefs.h >>conftest.$ac_ext
12315
 
cat >>conftest.$ac_ext <<_ACEOF
12316
 
/* end confdefs.h.  */
12317
 
 
12318
 
/* Override any gcc2 internal prototype to avoid an error.  */
12319
 
#ifdef __cplusplus
12320
 
extern "C"
12321
 
#endif
12322
 
/* We use char because int might match the return type of a gcc2
12323
 
   builtin and then its argument prototype would still apply.  */
12324
 
char shl_load ();
12325
 
int
12326
 
main ()
12327
 
{
12328
 
shl_load ();
12329
 
  ;
12330
 
  return 0;
12331
 
}
12332
 
_ACEOF
12333
 
rm -f conftest.$ac_objext conftest$ac_exeext
12334
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12335
 
  (eval $ac_link) 2>conftest.er1
12336
 
  ac_status=$?
12337
 
  grep -v '^ *+' conftest.er1 >conftest.err
12338
 
  rm -f conftest.er1
12339
 
  cat conftest.err >&5
12340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341
 
  (exit $ac_status); } &&
12342
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344
 
  (eval $ac_try) 2>&5
12345
 
  ac_status=$?
12346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347
 
  (exit $ac_status); }; } &&
12348
 
         { ac_try='test -s conftest$ac_exeext'
12349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350
 
  (eval $ac_try) 2>&5
12351
 
  ac_status=$?
12352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353
 
  (exit $ac_status); }; }; then
12354
 
  ac_cv_lib_dld_shl_load=yes
12355
 
else
12356
 
  echo "$as_me: failed program was:" >&5
12357
 
sed 's/^/| /' conftest.$ac_ext >&5
12358
 
 
12359
 
ac_cv_lib_dld_shl_load=no
12360
 
fi
12361
 
rm -f conftest.err conftest.$ac_objext \
12362
 
      conftest$ac_exeext conftest.$ac_ext
12363
 
LIBS=$ac_check_lib_save_LIBS
12364
 
fi
12365
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12366
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12367
 
if test $ac_cv_lib_dld_shl_load = yes; then
12368
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12369
 
else
12370
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12371
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12372
 
if test "${ac_cv_func_dlopen+set}" = set; then
12373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12374
 
else
12375
 
  cat >conftest.$ac_ext <<_ACEOF
12376
 
/* confdefs.h.  */
12377
 
_ACEOF
12378
 
cat confdefs.h >>conftest.$ac_ext
12379
 
cat >>conftest.$ac_ext <<_ACEOF
12380
 
/* end confdefs.h.  */
12381
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12382
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12383
 
#define dlopen innocuous_dlopen
12384
 
 
12385
 
/* System header to define __stub macros and hopefully few prototypes,
12386
 
    which can conflict with char dlopen (); below.
12387
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12388
 
    <limits.h> exists even on freestanding compilers.  */
12389
 
 
12390
 
#ifdef __STDC__
12391
 
# include <limits.h>
12392
 
#else
12393
 
# include <assert.h>
12394
 
#endif
12395
 
 
12396
 
#undef dlopen
12397
 
 
12398
 
/* Override any gcc2 internal prototype to avoid an error.  */
12399
 
#ifdef __cplusplus
12400
 
extern "C"
12401
 
{
12402
 
#endif
12403
 
/* We use char because int might match the return type of a gcc2
12404
 
   builtin and then its argument prototype would still apply.  */
12405
 
char dlopen ();
12406
 
/* The GNU C library defines this for functions which it implements
12407
 
    to always fail with ENOSYS.  Some functions are actually named
12408
 
    something starting with __ and the normal name is an alias.  */
12409
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12410
 
choke me
12411
 
#else
12412
 
char (*f) () = dlopen;
12413
 
#endif
12414
 
#ifdef __cplusplus
12415
 
}
12416
 
#endif
12417
 
 
12418
 
int
12419
 
main ()
12420
 
{
12421
 
return f != dlopen;
12422
 
  ;
12423
 
  return 0;
12424
 
}
12425
 
_ACEOF
12426
 
rm -f conftest.$ac_objext conftest$ac_exeext
12427
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12428
 
  (eval $ac_link) 2>conftest.er1
12429
 
  ac_status=$?
12430
 
  grep -v '^ *+' conftest.er1 >conftest.err
12431
 
  rm -f conftest.er1
12432
 
  cat conftest.err >&5
12433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434
 
  (exit $ac_status); } &&
12435
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12437
 
  (eval $ac_try) 2>&5
12438
 
  ac_status=$?
12439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440
 
  (exit $ac_status); }; } &&
12441
 
         { ac_try='test -s conftest$ac_exeext'
12442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443
 
  (eval $ac_try) 2>&5
12444
 
  ac_status=$?
12445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446
 
  (exit $ac_status); }; }; then
12447
 
  ac_cv_func_dlopen=yes
12448
 
else
12449
 
  echo "$as_me: failed program was:" >&5
12450
 
sed 's/^/| /' conftest.$ac_ext >&5
12451
 
 
12452
 
ac_cv_func_dlopen=no
12453
 
fi
12454
 
rm -f conftest.err conftest.$ac_objext \
12455
 
      conftest$ac_exeext conftest.$ac_ext
12456
 
fi
12457
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12458
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12459
 
if test $ac_cv_func_dlopen = yes; then
12460
 
  lt_cv_dlopen="dlopen"
12461
 
else
12462
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12463
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12464
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12466
 
else
12467
 
  ac_check_lib_save_LIBS=$LIBS
12468
 
LIBS="-ldl  $LIBS"
12469
 
cat >conftest.$ac_ext <<_ACEOF
12470
 
/* confdefs.h.  */
12471
 
_ACEOF
12472
 
cat confdefs.h >>conftest.$ac_ext
12473
 
cat >>conftest.$ac_ext <<_ACEOF
12474
 
/* end confdefs.h.  */
12475
 
 
12476
 
/* Override any gcc2 internal prototype to avoid an error.  */
12477
 
#ifdef __cplusplus
12478
 
extern "C"
12479
 
#endif
12480
 
/* We use char because int might match the return type of a gcc2
12481
 
   builtin and then its argument prototype would still apply.  */
12482
 
char dlopen ();
12483
 
int
12484
 
main ()
12485
 
{
12486
 
dlopen ();
12487
 
  ;
12488
 
  return 0;
12489
 
}
12490
 
_ACEOF
12491
 
rm -f conftest.$ac_objext conftest$ac_exeext
12492
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12493
 
  (eval $ac_link) 2>conftest.er1
12494
 
  ac_status=$?
12495
 
  grep -v '^ *+' conftest.er1 >conftest.err
12496
 
  rm -f conftest.er1
12497
 
  cat conftest.err >&5
12498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499
 
  (exit $ac_status); } &&
12500
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12501
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502
 
  (eval $ac_try) 2>&5
12503
 
  ac_status=$?
12504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505
 
  (exit $ac_status); }; } &&
12506
 
         { ac_try='test -s conftest$ac_exeext'
12507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508
 
  (eval $ac_try) 2>&5
12509
 
  ac_status=$?
12510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511
 
  (exit $ac_status); }; }; then
12512
 
  ac_cv_lib_dl_dlopen=yes
12513
 
else
12514
 
  echo "$as_me: failed program was:" >&5
12515
 
sed 's/^/| /' conftest.$ac_ext >&5
12516
 
 
12517
 
ac_cv_lib_dl_dlopen=no
12518
 
fi
12519
 
rm -f conftest.err conftest.$ac_objext \
12520
 
      conftest$ac_exeext conftest.$ac_ext
12521
 
LIBS=$ac_check_lib_save_LIBS
12522
 
fi
12523
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12524
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12525
 
if test $ac_cv_lib_dl_dlopen = yes; then
12526
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12527
 
else
12528
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12529
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12530
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12532
 
else
12533
 
  ac_check_lib_save_LIBS=$LIBS
12534
 
LIBS="-lsvld  $LIBS"
12535
 
cat >conftest.$ac_ext <<_ACEOF
12536
 
/* confdefs.h.  */
12537
 
_ACEOF
12538
 
cat confdefs.h >>conftest.$ac_ext
12539
 
cat >>conftest.$ac_ext <<_ACEOF
12540
 
/* end confdefs.h.  */
12541
 
 
12542
 
/* Override any gcc2 internal prototype to avoid an error.  */
12543
 
#ifdef __cplusplus
12544
 
extern "C"
12545
 
#endif
12546
 
/* We use char because int might match the return type of a gcc2
12547
 
   builtin and then its argument prototype would still apply.  */
12548
 
char dlopen ();
12549
 
int
12550
 
main ()
12551
 
{
12552
 
dlopen ();
12553
 
  ;
12554
 
  return 0;
12555
 
}
12556
 
_ACEOF
12557
 
rm -f conftest.$ac_objext conftest$ac_exeext
12558
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12559
 
  (eval $ac_link) 2>conftest.er1
12560
 
  ac_status=$?
12561
 
  grep -v '^ *+' conftest.er1 >conftest.err
12562
 
  rm -f conftest.er1
12563
 
  cat conftest.err >&5
12564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565
 
  (exit $ac_status); } &&
12566
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568
 
  (eval $ac_try) 2>&5
12569
 
  ac_status=$?
12570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571
 
  (exit $ac_status); }; } &&
12572
 
         { ac_try='test -s conftest$ac_exeext'
12573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574
 
  (eval $ac_try) 2>&5
12575
 
  ac_status=$?
12576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577
 
  (exit $ac_status); }; }; then
12578
 
  ac_cv_lib_svld_dlopen=yes
12579
 
else
12580
 
  echo "$as_me: failed program was:" >&5
12581
 
sed 's/^/| /' conftest.$ac_ext >&5
12582
 
 
12583
 
ac_cv_lib_svld_dlopen=no
12584
 
fi
12585
 
rm -f conftest.err conftest.$ac_objext \
12586
 
      conftest$ac_exeext conftest.$ac_ext
12587
 
LIBS=$ac_check_lib_save_LIBS
12588
 
fi
12589
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12590
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12591
 
if test $ac_cv_lib_svld_dlopen = yes; then
12592
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12593
 
else
12594
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12595
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12596
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12598
 
else
12599
 
  ac_check_lib_save_LIBS=$LIBS
12600
 
LIBS="-ldld  $LIBS"
12601
 
cat >conftest.$ac_ext <<_ACEOF
12602
 
/* confdefs.h.  */
12603
 
_ACEOF
12604
 
cat confdefs.h >>conftest.$ac_ext
12605
 
cat >>conftest.$ac_ext <<_ACEOF
12606
 
/* end confdefs.h.  */
12607
 
 
12608
 
/* Override any gcc2 internal prototype to avoid an error.  */
12609
 
#ifdef __cplusplus
12610
 
extern "C"
12611
 
#endif
12612
 
/* We use char because int might match the return type of a gcc2
12613
 
   builtin and then its argument prototype would still apply.  */
12614
 
char dld_link ();
12615
 
int
12616
 
main ()
12617
 
{
12618
 
dld_link ();
12619
 
  ;
12620
 
  return 0;
12621
 
}
12622
 
_ACEOF
12623
 
rm -f conftest.$ac_objext conftest$ac_exeext
12624
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625
 
  (eval $ac_link) 2>conftest.er1
12626
 
  ac_status=$?
12627
 
  grep -v '^ *+' conftest.er1 >conftest.err
12628
 
  rm -f conftest.er1
12629
 
  cat conftest.err >&5
12630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631
 
  (exit $ac_status); } &&
12632
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634
 
  (eval $ac_try) 2>&5
12635
 
  ac_status=$?
12636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637
 
  (exit $ac_status); }; } &&
12638
 
         { ac_try='test -s conftest$ac_exeext'
12639
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640
 
  (eval $ac_try) 2>&5
12641
 
  ac_status=$?
12642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643
 
  (exit $ac_status); }; }; then
12644
 
  ac_cv_lib_dld_dld_link=yes
12645
 
else
12646
 
  echo "$as_me: failed program was:" >&5
12647
 
sed 's/^/| /' conftest.$ac_ext >&5
12648
 
 
12649
 
ac_cv_lib_dld_dld_link=no
12650
 
fi
12651
 
rm -f conftest.err conftest.$ac_objext \
12652
 
      conftest$ac_exeext conftest.$ac_ext
12653
 
LIBS=$ac_check_lib_save_LIBS
12654
 
fi
12655
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12656
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12657
 
if test $ac_cv_lib_dld_dld_link = yes; then
12658
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12659
 
fi
12660
 
 
12661
 
 
12662
 
fi
12663
 
 
12664
 
 
12665
 
fi
12666
 
 
12667
 
 
12668
 
fi
12669
 
 
12670
 
 
12671
 
fi
12672
 
 
12673
 
 
12674
 
fi
12675
 
 
12676
 
    ;;
12677
 
  esac
12678
 
 
12679
 
  if test "x$lt_cv_dlopen" != xno; then
12680
 
    enable_dlopen=yes
12681
 
  else
12682
 
    enable_dlopen=no
12683
 
  fi
12684
 
 
12685
 
  case $lt_cv_dlopen in
12686
 
  dlopen)
12687
 
    save_CPPFLAGS="$CPPFLAGS"
12688
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12689
 
 
12690
 
    save_LDFLAGS="$LDFLAGS"
12691
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12692
 
 
12693
 
    save_LIBS="$LIBS"
12694
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12695
 
 
12696
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12697
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12698
 
if test "${lt_cv_dlopen_self+set}" = set; then
12699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12700
 
else
12701
 
          if test "$cross_compiling" = yes; then :
12702
 
  lt_cv_dlopen_self=cross
12703
 
else
12704
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12705
 
  lt_status=$lt_dlunknown
12706
 
  cat > conftest.$ac_ext <<EOF
12707
 
#line 12707 "configure"
12708
 
#include "confdefs.h"
12709
 
 
12710
 
#if HAVE_DLFCN_H
12711
 
#include <dlfcn.h>
12712
 
#endif
12713
 
 
12714
 
#include <stdio.h>
12715
 
 
12716
 
#ifdef RTLD_GLOBAL
12717
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12718
 
#else
12719
 
#  ifdef DL_GLOBAL
12720
 
#    define LT_DLGLOBAL         DL_GLOBAL
12721
 
#  else
12722
 
#    define LT_DLGLOBAL         0
12723
 
#  endif
12724
 
#endif
12725
 
 
12726
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12727
 
   find out it does not work in some platform. */
12728
 
#ifndef LT_DLLAZY_OR_NOW
12729
 
#  ifdef RTLD_LAZY
12730
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12731
 
#  else
12732
 
#    ifdef DL_LAZY
12733
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12734
 
#    else
12735
 
#      ifdef RTLD_NOW
12736
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12737
 
#      else
12738
 
#        ifdef DL_NOW
12739
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12740
 
#        else
12741
 
#          define LT_DLLAZY_OR_NOW      0
12742
 
#        endif
12743
 
#      endif
12744
 
#    endif
12745
 
#  endif
12746
 
#endif
12747
 
 
12748
 
#ifdef __cplusplus
12749
 
extern "C" void exit (int);
12750
 
#endif
12751
 
 
12752
 
void fnord() { int i=42;}
12753
 
int main ()
12754
 
{
12755
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12756
 
  int status = $lt_dlunknown;
12757
 
 
12758
 
  if (self)
12759
 
    {
12760
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12761
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12762
 
      /* dlclose (self); */
12763
 
    }
12764
 
 
12765
 
    exit (status);
12766
 
}
12767
 
EOF
12768
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12769
 
  (eval $ac_link) 2>&5
12770
 
  ac_status=$?
12771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12773
 
    (./conftest; exit; ) >&5 2>/dev/null
12774
 
    lt_status=$?
12775
 
    case x$lt_status in
12776
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12777
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12778
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12779
 
    esac
12780
 
  else :
12781
 
    # compilation failed
12782
 
    lt_cv_dlopen_self=no
12783
 
  fi
12784
 
fi
12785
 
rm -fr conftest*
12786
 
 
12787
 
 
12788
 
fi
12789
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12790
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12791
 
 
12792
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12793
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12794
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12795
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12796
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12797
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12798
 
else
12799
 
          if test "$cross_compiling" = yes; then :
12800
 
  lt_cv_dlopen_self_static=cross
12801
 
else
12802
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12803
 
  lt_status=$lt_dlunknown
12804
 
  cat > conftest.$ac_ext <<EOF
12805
 
#line 12805 "configure"
12806
 
#include "confdefs.h"
12807
 
 
12808
 
#if HAVE_DLFCN_H
12809
 
#include <dlfcn.h>
12810
 
#endif
12811
 
 
12812
 
#include <stdio.h>
12813
 
 
12814
 
#ifdef RTLD_GLOBAL
12815
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12816
 
#else
12817
 
#  ifdef DL_GLOBAL
12818
 
#    define LT_DLGLOBAL         DL_GLOBAL
12819
 
#  else
12820
 
#    define LT_DLGLOBAL         0
12821
 
#  endif
12822
 
#endif
12823
 
 
12824
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12825
 
   find out it does not work in some platform. */
12826
 
#ifndef LT_DLLAZY_OR_NOW
12827
 
#  ifdef RTLD_LAZY
12828
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12829
 
#  else
12830
 
#    ifdef DL_LAZY
12831
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12832
 
#    else
12833
 
#      ifdef RTLD_NOW
12834
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12835
 
#      else
12836
 
#        ifdef DL_NOW
12837
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12838
 
#        else
12839
 
#          define LT_DLLAZY_OR_NOW      0
12840
 
#        endif
12841
 
#      endif
12842
 
#    endif
12843
 
#  endif
12844
 
#endif
12845
 
 
12846
 
#ifdef __cplusplus
12847
 
extern "C" void exit (int);
12848
 
#endif
12849
 
 
12850
 
void fnord() { int i=42;}
12851
 
int main ()
12852
 
{
12853
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12854
 
  int status = $lt_dlunknown;
12855
 
 
12856
 
  if (self)
12857
 
    {
12858
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12859
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12860
 
      /* dlclose (self); */
12861
 
    }
12862
 
 
12863
 
    exit (status);
12864
 
}
12865
 
EOF
12866
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12867
 
  (eval $ac_link) 2>&5
12868
 
  ac_status=$?
12869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12871
 
    (./conftest; exit; ) >&5 2>/dev/null
12872
 
    lt_status=$?
12873
 
    case x$lt_status in
12874
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12875
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12876
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12877
 
    esac
12878
 
  else :
12879
 
    # compilation failed
12880
 
    lt_cv_dlopen_self_static=no
12881
 
  fi
12882
 
fi
12883
 
rm -fr conftest*
12884
 
 
12885
 
 
12886
 
fi
12887
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12888
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12889
 
    fi
12890
 
 
12891
 
    CPPFLAGS="$save_CPPFLAGS"
12892
 
    LDFLAGS="$save_LDFLAGS"
12893
 
    LIBS="$save_LIBS"
12894
 
    ;;
12895
 
  esac
12896
 
 
12897
 
  case $lt_cv_dlopen_self in
12898
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12899
 
  *) enable_dlopen_self=unknown ;;
12900
 
  esac
12901
 
 
12902
 
  case $lt_cv_dlopen_self_static in
12903
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12904
 
  *) enable_dlopen_self_static=unknown ;;
12905
 
  esac
12906
 
fi
12907
 
 
12908
13025
 
12909
13026
# The else clause should only fire when bootstrapping the
12910
13027
# libtool distribution, otherwise you forgot to ship ltmain.sh
12919
13036
  # Now quote all the things that may contain metacharacters while being
12920
13037
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12921
13038
  # variables and quote the copies for generation of the libtool script.
12922
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13039
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12923
13040
    SED SHELL STRIP \
12924
13041
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12925
13042
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13037
13154
# A C compiler.
13038
13155
LTCC=$lt_LTCC
13039
13156
 
 
13157
# LTCC compiler flags.
 
13158
LTCFLAGS=$lt_LTCFLAGS
 
13159
 
13040
13160
# A language-specific compiler.
13041
13161
CC=$lt_compiler_CXX
13042
13162
 
13379
13499
# If no C compiler was specified, use CC.
13380
13500
LTCC=${LTCC-"$CC"}
13381
13501
 
 
13502
# If no C compiler flags were specified, use CFLAGS.
 
13503
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
13504
 
13382
13505
# Allow CC to be a program name with arguments.
13383
13506
compiler=$CC
13384
13507
 
13386
13509
# save warnings/boilerplate of simple test code
13387
13510
ac_outfile=conftest.$ac_objext
13388
13511
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13389
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13512
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13390
13513
_lt_compiler_boilerplate=`cat conftest.err`
13391
13514
$rm conftest*
13392
13515
 
13393
13516
ac_outfile=conftest.$ac_objext
13394
13517
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13395
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13518
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13396
13519
_lt_linker_boilerplate=`cat conftest.err`
13397
13520
$rm conftest*
13398
13521
 
13413
13536
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13414
13537
 
13415
13538
 
13416
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13417
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13418
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13419
 
echo "${ECHO_T}$can_build_shared" >&6
 
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; }
13420
13543
 
13421
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13422
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
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; }
13423
13546
test "$can_build_shared" = "no" && enable_shared=no
13424
13547
 
13425
13548
# On AIX, shared libraries and static libraries use the same namespace, and
13438
13561
  fi
13439
13562
  ;;
13440
13563
esac
13441
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13442
 
echo "${ECHO_T}$enable_shared" >&6
 
13564
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13565
echo "${ECHO_T}$enable_shared" >&6; }
13443
13566
 
13444
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13445
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
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; }
13446
13569
# Make sure either enable_shared or enable_static is yes.
13447
13570
test "$enable_shared" = yes || enable_static=yes
13448
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13449
 
echo "${ECHO_T}$enable_static" >&6
13450
 
 
13451
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
13571
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13572
echo "${ECHO_T}$enable_static" >&6; }
13452
13573
 
13453
13574
GCC_F77="$G77"
13454
13575
LD_F77="$LD"
13457
13578
lt_prog_compiler_pic_F77=
13458
13579
lt_prog_compiler_static_F77=
13459
13580
 
13460
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13461
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
13581
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13582
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13462
13583
 
13463
13584
  if test "$GCC" = yes; then
13464
13585
    lt_prog_compiler_wl_F77='-Wl,'
13496
13617
      lt_prog_compiler_pic_F77='-fno-common'
13497
13618
      ;;
13498
13619
 
 
13620
    interix3*)
 
13621
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13622
      # Instead, we relocate shared libraries at runtime.
 
13623
      ;;
 
13624
 
13499
13625
    msdosdjgpp*)
13500
13626
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13501
13627
      # on systems that don't support them.
13582
13708
      lt_prog_compiler_static_F77='-Bstatic'
13583
13709
      ;;
13584
13710
 
13585
 
    linux*)
 
13711
    linux* | k*bsd*-gnu)
13586
13712
      case $cc_basename in
13587
13713
      icc* | ecc*)
13588
13714
        lt_prog_compiler_wl_F77='-Wl,'
13610
13736
      lt_prog_compiler_static_F77='-non_shared'
13611
13737
      ;;
13612
13738
 
13613
 
    sco3.2v5*)
13614
 
      lt_prog_compiler_pic_F77='-Kpic'
13615
 
      lt_prog_compiler_static_F77='-dn'
13616
 
      ;;
13617
 
 
13618
13739
    solaris*)
13619
13740
      lt_prog_compiler_pic_F77='-KPIC'
13620
13741
      lt_prog_compiler_static_F77='-Bstatic'
13632
13753
      lt_prog_compiler_static_F77='-Bstatic'
13633
13754
      ;;
13634
13755
 
13635
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13756
    sysv4 | sysv4.2uw2* | sysv4.3*)
13636
13757
      lt_prog_compiler_wl_F77='-Wl,'
13637
13758
      lt_prog_compiler_pic_F77='-KPIC'
13638
13759
      lt_prog_compiler_static_F77='-Bstatic'
13645
13766
      fi
13646
13767
      ;;
13647
13768
 
 
13769
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13770
      lt_prog_compiler_wl_F77='-Wl,'
 
13771
      lt_prog_compiler_pic_F77='-KPIC'
 
13772
      lt_prog_compiler_static_F77='-Bstatic'
 
13773
      ;;
 
13774
 
13648
13775
    unicos*)
13649
13776
      lt_prog_compiler_wl_F77='-Wl,'
13650
13777
      lt_prog_compiler_can_build_shared_F77=no
13661
13788
    esac
13662
13789
  fi
13663
13790
 
13664
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13665
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
13791
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
13792
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13666
13793
 
13667
13794
#
13668
13795
# Check to make sure the PIC flag actually works.
13669
13796
#
13670
13797
if test -n "$lt_prog_compiler_pic_F77"; then
13671
13798
 
13672
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13673
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
13799
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
13800
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13674
13801
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13675
13802
  echo $ECHO_N "(cached) $ECHO_C" >&6
13676
13803
else
13687
13814
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13688
13815
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13689
13816
   -e 's:$: $lt_compiler_flag:'`
13690
 
   (eval echo "\"\$as_me:13690: $lt_compile\"" >&5)
 
13817
   (eval echo "\"\$as_me:13817: $lt_compile\"" >&5)
13691
13818
   (eval "$lt_compile" 2>conftest.err)
13692
13819
   ac_status=$?
13693
13820
   cat conftest.err >&5
13694
 
   echo "$as_me:13694: \$? = $ac_status" >&5
 
13821
   echo "$as_me:13821: \$? = $ac_status" >&5
13695
13822
   if (exit $ac_status) && test -s "$ac_outfile"; then
13696
13823
     # The compiler can only warn and ignore the option if not recognized
13697
13824
     # So say no if there are warnings other than the usual output.
13698
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13699
 
     $SED '/^$/d' conftest.err >conftest.er2
13700
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
13825
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13826
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13827
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13701
13828
       lt_prog_compiler_pic_works_F77=yes
13702
13829
     fi
13703
13830
   fi
13704
13831
   $rm conftest*
13705
13832
 
13706
13833
fi
13707
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13708
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
13834
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
13835
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13709
13836
 
13710
13837
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13711
13838
    case $lt_prog_compiler_pic_F77 in
13728
13855
    ;;
13729
13856
esac
13730
13857
 
13731
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13732
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13858
#
 
13859
# Check to make sure the static flag actually works.
 
13860
#
 
13861
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
13862
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13863
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
13864
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
13865
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13866
else
 
13867
  lt_prog_compiler_static_works_F77=no
 
13868
   save_LDFLAGS="$LDFLAGS"
 
13869
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13870
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13871
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13872
     # The linker can only warn and ignore the option if not recognized
 
13873
     # So say no if there are warnings
 
13874
     if test -s conftest.err; then
 
13875
       # Append any errors to the config.log.
 
13876
       cat conftest.err 1>&5
 
13877
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13878
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13879
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13880
         lt_prog_compiler_static_works_F77=yes
 
13881
       fi
 
13882
     else
 
13883
       lt_prog_compiler_static_works_F77=yes
 
13884
     fi
 
13885
   fi
 
13886
   $rm conftest*
 
13887
   LDFLAGS="$save_LDFLAGS"
 
13888
 
 
13889
fi
 
13890
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
13891
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
13892
 
 
13893
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
13894
    :
 
13895
else
 
13896
    lt_prog_compiler_static_F77=
 
13897
fi
 
13898
 
 
13899
 
 
13900
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13901
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13733
13902
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13734
13903
  echo $ECHO_N "(cached) $ECHO_C" >&6
13735
13904
else
13749
13918
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13750
13919
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13751
13920
   -e 's:$: $lt_compiler_flag:'`
13752
 
   (eval echo "\"\$as_me:13752: $lt_compile\"" >&5)
 
13921
   (eval echo "\"\$as_me:13921: $lt_compile\"" >&5)
13753
13922
   (eval "$lt_compile" 2>out/conftest.err)
13754
13923
   ac_status=$?
13755
13924
   cat out/conftest.err >&5
13756
 
   echo "$as_me:13756: \$? = $ac_status" >&5
 
13925
   echo "$as_me:13925: \$? = $ac_status" >&5
13757
13926
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13758
13927
   then
13759
13928
     # The compiler can only warn and ignore the option if not recognized
13760
13929
     # So say no if there are warnings
13761
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13762
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
13763
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13930
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13931
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13932
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13764
13933
       lt_cv_prog_compiler_c_o_F77=yes
13765
13934
     fi
13766
13935
   fi
13775
13944
   $rm conftest*
13776
13945
 
13777
13946
fi
13778
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13779
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
13947
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
13948
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13780
13949
 
13781
13950
 
13782
13951
hard_links="nottested"
13783
13952
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13784
13953
  # do not overwrite the value of need_locks provided by the user
13785
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13786
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13954
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13955
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13787
13956
  hard_links=yes
13788
13957
  $rm conftest*
13789
13958
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13790
13959
  touch conftest.a
13791
13960
  ln conftest.a conftest.b 2>&5 || hard_links=no
13792
13961
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13793
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13794
 
echo "${ECHO_T}$hard_links" >&6
 
13962
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13963
echo "${ECHO_T}$hard_links" >&6; }
13795
13964
  if test "$hard_links" = no; then
13796
13965
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13797
13966
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13801
13970
  need_locks=no
13802
13971
fi
13803
13972
 
13804
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13805
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13973
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13974
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13806
13975
 
13807
13976
  runpath_var=
13808
13977
  allow_undefined_flag_F77=
13860
14029
      with_gnu_ld=no
13861
14030
    fi
13862
14031
    ;;
 
14032
  interix*)
 
14033
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14034
    with_gnu_ld=yes
 
14035
    ;;
13863
14036
  openbsd*)
13864
14037
    with_gnu_ld=no
13865
14038
    ;;
13944
14117
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13945
14118
 
13946
14119
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13947
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
14120
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13948
14121
        # If the export-symbols file already is a .def file (1st line
13949
14122
        # is EXPORTS), use it as is; otherwise, prepend...
13950
14123
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13953
14126
          echo EXPORTS > $output_objdir/$soname.def;
13954
14127
          cat $export_symbols >> $output_objdir/$soname.def;
13955
14128
        fi~
13956
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
14129
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13957
14130
      else
13958
14131
        ld_shlibs_F77=no
13959
14132
      fi
13960
14133
      ;;
13961
14134
 
13962
 
    linux*)
 
14135
    interix3*)
 
14136
      hardcode_direct_F77=no
 
14137
      hardcode_shlibpath_var_F77=no
 
14138
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14139
      export_dynamic_flag_spec_F77='${wl}-E'
 
14140
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14141
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14142
      # default) and relocated if they conflict, which is a slow very memory
 
14143
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
14144
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14145
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14146
      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'
 
14147
      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'
 
14148
      ;;
 
14149
 
 
14150
    linux* | k*bsd*-gnu)
13963
14151
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13964
14152
        tmp_addflag=
13965
14153
        case $cc_basename,$host_cpu in
13991
14179
      fi
13992
14180
      ;;
13993
14181
 
13994
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14182
    netbsd* | netbsdelf*-gnu)
13995
14183
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13996
14184
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13997
14185
        wlarc=
14001
14189
      fi
14002
14190
      ;;
14003
14191
 
14004
 
    solaris* | sysv5*)
 
14192
    solaris*)
14005
14193
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14006
14194
        ld_shlibs_F77=no
14007
14195
        cat <<EOF 1>&2
14022
14210
      fi
14023
14211
      ;;
14024
14212
 
 
14213
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14214
      case `$LD -v 2>&1` in
 
14215
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14216
        ld_shlibs_F77=no
 
14217
        cat <<_LT_EOF 1>&2
 
14218
 
 
14219
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14220
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14221
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14222
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14223
*** your PATH or compiler configuration so that the native linker is
 
14224
*** used, and then restart.
 
14225
 
 
14226
_LT_EOF
 
14227
        ;;
 
14228
        *)
 
14229
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14230
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
14231
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
14232
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
14233
          else
 
14234
            ld_shlibs_F77=no
 
14235
          fi
 
14236
        ;;
 
14237
      esac
 
14238
      ;;
 
14239
 
14025
14240
    sunos4*)
14026
14241
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14027
14242
      wlarc=
14055
14270
      # Note: this linker hardcodes the directories in LIBPATH if there
14056
14271
      # are no directories specified by -L.
14057
14272
      hardcode_minus_L_F77=yes
14058
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
14273
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14059
14274
        # Neither direct hardcoding nor static linking is supported with a
14060
14275
        # broken collect2.
14061
14276
        hardcode_direct_F77=unsupported
14089
14304
            break
14090
14305
          fi
14091
14306
          done
 
14307
          ;;
14092
14308
        esac
14093
14309
 
14094
14310
        exp_sym_flag='-bexport'
14126
14342
          hardcode_libdir_flag_spec_F77='-L$libdir'
14127
14343
          hardcode_libdir_separator_F77=
14128
14344
          fi
 
14345
          ;;
14129
14346
        esac
14130
14347
        shared_flag='-shared'
14131
14348
        if test "$aix_use_runtimelinking" = yes; then
14138
14355
        # chokes on -Wl,-G. The following line is correct:
14139
14356
          shared_flag='-G'
14140
14357
        else
14141
 
        if test "$aix_use_runtimelinking" = yes; then
 
14358
          if test "$aix_use_runtimelinking" = yes; then
14142
14359
            shared_flag='${wl}-G'
14143
14360
          else
14144
14361
            shared_flag='${wl}-bM:SRE'
14145
 
        fi
 
14362
          fi
14146
14363
        fi
14147
14364
      fi
14148
14365
 
14168
14385
  cat conftest.err >&5
14169
14386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170
14387
  (exit $ac_status); } &&
14171
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
14388
         { ac_try='test -z "$ac_f77_werror_flag"
 
14389
                         || test ! -s conftest.err'
14172
14390
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173
14391
  (eval $ac_try) 2>&5
14174
14392
  ac_status=$?
14190
14408
  echo "$as_me: failed program was:" >&5
14191
14409
sed 's/^/| /' conftest.$ac_ext >&5
14192
14410
 
 
14411
 
14193
14412
fi
 
14413
 
14194
14414
rm -f conftest.err conftest.$ac_objext \
14195
14415
      conftest$ac_exeext conftest.$ac_ext
14196
14416
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14197
14417
 
14198
14418
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14199
 
        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"
 
14419
        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"
14200
14420
       else
14201
14421
        if test "$host_cpu" = ia64; then
14202
14422
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14203
14423
          allow_undefined_flag_F77="-z nodefs"
14204
 
          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"
 
14424
          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"
14205
14425
        else
14206
14426
         # Determine the default libpath from the value encoded in an empty executable.
14207
14427
         cat >conftest.$ac_ext <<_ACEOF
14218
14438
  cat conftest.err >&5
14219
14439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220
14440
  (exit $ac_status); } &&
14221
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
14441
         { ac_try='test -z "$ac_f77_werror_flag"
 
14442
                         || test ! -s conftest.err'
14222
14443
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223
14444
  (eval $ac_try) 2>&5
14224
14445
  ac_status=$?
14240
14461
  echo "$as_me: failed program was:" >&5
14241
14462
sed 's/^/| /' conftest.$ac_ext >&5
14242
14463
 
 
14464
 
14243
14465
fi
 
14466
 
14244
14467
rm -f conftest.err conftest.$ac_objext \
14245
14468
      conftest$ac_exeext conftest.$ac_ext
14246
14469
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14250
14473
          # -berok will link without error, but may produce a broken library.
14251
14474
          no_undefined_flag_F77=' ${wl}-bernotok'
14252
14475
          allow_undefined_flag_F77=' ${wl}-berok'
14253
 
          # -bexpall does not export symbols beginning with underscore (_)
14254
 
          always_export_symbols_F77=yes
14255
14476
          # Exported symbols can be pulled into shared objects from archives
14256
 
          whole_archive_flag_spec_F77=' '
 
14477
          whole_archive_flag_spec_F77='$convenience'
14257
14478
          archive_cmds_need_lc_F77=yes
14258
14479
          # This is similar to how AIX traditionally builds its shared libraries.
14259
 
          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'
 
14480
          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'
14260
14481
        fi
14261
14482
      fi
14262
14483
      ;;
14374
14595
      ;;
14375
14596
 
14376
14597
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14377
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
14598
    freebsd* | dragonfly*)
14378
14599
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14379
14600
      hardcode_libdir_flag_spec_F77='-R$libdir'
14380
14601
      hardcode_direct_F77=yes
14397
14618
      export_dynamic_flag_spec_F77='${wl}-E'
14398
14619
      ;;
14399
14620
 
14400
 
    hpux10* | hpux11*)
 
14621
    hpux10*)
 
14622
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
14623
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
14624
      else
 
14625
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14626
      fi
 
14627
      if test "$with_gnu_ld" = no; then
 
14628
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14629
        hardcode_libdir_separator_F77=:
 
14630
 
 
14631
        hardcode_direct_F77=yes
 
14632
        export_dynamic_flag_spec_F77='${wl}-E'
 
14633
 
 
14634
        # hardcode_minus_L: Not really in the search PATH,
 
14635
        # but as the default location of the library.
 
14636
        hardcode_minus_L_F77=yes
 
14637
      fi
 
14638
      ;;
 
14639
 
 
14640
    hpux11*)
14401
14641
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14402
14642
        case $host_cpu in
14403
 
        hppa*64*|ia64*)
 
14643
        hppa*64*)
14404
14644
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14405
14645
          ;;
 
14646
        ia64*)
 
14647
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
14648
          ;;
14406
14649
        *)
14407
14650
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14408
14651
          ;;
14409
14652
        esac
14410
14653
      else
14411
14654
        case $host_cpu in
14412
 
        hppa*64*|ia64*)
14413
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
14655
        hppa*64*)
 
14656
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14657
          ;;
 
14658
        ia64*)
 
14659
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14414
14660
          ;;
14415
14661
        *)
14416
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14662
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14417
14663
          ;;
14418
14664
        esac
14419
14665
      fi
14420
14666
      if test "$with_gnu_ld" = no; then
 
14667
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14668
        hardcode_libdir_separator_F77=:
 
14669
 
14421
14670
        case $host_cpu in
14422
 
        hppa*64*)
14423
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14671
        hppa*64*|ia64*)
14424
14672
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14425
 
          hardcode_libdir_separator_F77=:
14426
 
          hardcode_direct_F77=no
14427
 
          hardcode_shlibpath_var_F77=no
14428
 
          ;;
14429
 
        ia64*)
14430
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14431
 
          hardcode_direct_F77=no
14432
 
          hardcode_shlibpath_var_F77=no
14433
 
 
14434
 
          # hardcode_minus_L: Not really in the search PATH,
14435
 
          # but as the default location of the library.
14436
 
          hardcode_minus_L_F77=yes
 
14673
          hardcode_direct_F77=no
 
14674
          hardcode_shlibpath_var_F77=no
14437
14675
          ;;
14438
14676
        *)
14439
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14440
 
          hardcode_libdir_separator_F77=:
14441
14677
          hardcode_direct_F77=yes
14442
14678
          export_dynamic_flag_spec_F77='${wl}-E'
14443
14679
 
14461
14697
      link_all_deplibs_F77=yes
14462
14698
      ;;
14463
14699
 
14464
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14700
    netbsd* | netbsdelf*-gnu)
14465
14701
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14466
14702
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14467
14703
      else
14539
14775
      hardcode_libdir_separator_F77=:
14540
14776
      ;;
14541
14777
 
14542
 
    sco3.2v5*)
14543
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14544
 
      hardcode_shlibpath_var_F77=no
14545
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14546
 
      runpath_var=LD_RUN_PATH
14547
 
      hardcode_runpath_var=yes
14548
 
      ;;
14549
 
 
14550
14778
    solaris*)
14551
14779
      no_undefined_flag_F77=' -z text'
14552
14780
      if test "$GCC" = yes; then
14632
14860
      fi
14633
14861
      ;;
14634
14862
 
14635
 
    sysv4.2uw2*)
14636
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14637
 
      hardcode_direct_F77=yes
14638
 
      hardcode_minus_L_F77=no
14639
 
      hardcode_shlibpath_var_F77=no
14640
 
      hardcode_runpath_var=yes
14641
 
      runpath_var=LD_RUN_PATH
14642
 
      ;;
14643
 
 
14644
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14645
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14646
 
      if test "$GCC" = yes; then
14647
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14648
 
      else
14649
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14650
 
      fi
14651
 
      runpath_var='LD_RUN_PATH'
14652
 
      hardcode_shlibpath_var_F77=no
14653
 
      ;;
14654
 
 
14655
 
    sysv5*)
14656
 
      no_undefined_flag_F77=' -z text'
14657
 
      # $CC -shared without GNU ld will not create a library from C++
14658
 
      # object files and a static libstdc++, better avoid it by now
14659
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14660
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14661
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14662
 
      hardcode_libdir_flag_spec_F77=
14663
 
      hardcode_shlibpath_var_F77=no
14664
 
      runpath_var='LD_RUN_PATH'
 
14863
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
14864
      no_undefined_flag_F77='${wl}-z,text'
 
14865
      archive_cmds_need_lc_F77=no
 
14866
      hardcode_shlibpath_var_F77=no
 
14867
      runpath_var='LD_RUN_PATH'
 
14868
 
 
14869
      if test "$GCC" = yes; then
 
14870
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14871
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14872
      else
 
14873
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14874
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14875
      fi
 
14876
      ;;
 
14877
 
 
14878
    sysv5* | sco3.2v5* | sco5v6*)
 
14879
      # Note: We can NOT use -z defs as we might desire, because we do not
 
14880
      # link with -lc, and that would cause any symbols used from libc to
 
14881
      # always be unresolved, which means just about no library would
 
14882
      # ever link correctly.  If we're not using GNU ld we use -z text
 
14883
      # though, which does catch some bad symbols but isn't as heavy-handed
 
14884
      # as -z defs.
 
14885
      no_undefined_flag_F77='${wl}-z,text'
 
14886
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
14887
      archive_cmds_need_lc_F77=no
 
14888
      hardcode_shlibpath_var_F77=no
 
14889
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
14890
      hardcode_libdir_separator_F77=':'
 
14891
      link_all_deplibs_F77=yes
 
14892
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
14893
      runpath_var='LD_RUN_PATH'
 
14894
 
 
14895
      if test "$GCC" = yes; then
 
14896
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14897
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14898
      else
 
14899
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14900
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14901
      fi
14665
14902
      ;;
14666
14903
 
14667
14904
    uts4*)
14676
14913
    esac
14677
14914
  fi
14678
14915
 
14679
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14680
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
14916
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
14917
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14681
14918
test "$ld_shlibs_F77" = no && can_build_shared=no
14682
14919
 
14683
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14684
 
if test "$GCC" = yes; then
14685
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14686
 
fi
14687
 
 
14688
14920
#
14689
14921
# Do we need to explicitly link libc?
14690
14922
#
14702
14934
      # Test whether the compiler implicitly links with -lc since on some
14703
14935
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14704
14936
      # to ld, don't add -lc before -lgcc.
14705
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14706
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
14937
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14938
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14707
14939
      $rm conftest*
14708
14940
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14709
14941
 
14717
14949
        libobjs=conftest.$ac_objext
14718
14950
        deplibs=
14719
14951
        wl=$lt_prog_compiler_wl_F77
 
14952
        pic_flag=$lt_prog_compiler_pic_F77
14720
14953
        compiler_flags=-v
14721
14954
        linker_flags=-v
14722
14955
        verstring=
14739
14972
        cat conftest.err 1>&5
14740
14973
      fi
14741
14974
      $rm conftest*
14742
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14743
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
14975
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
14976
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14744
14977
      ;;
14745
14978
    esac
14746
14979
  fi
14747
14980
  ;;
14748
14981
esac
14749
14982
 
14750
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14751
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
14983
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14984
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14752
14985
library_names_spec=
14753
14986
libname_spec='lib$name'
14754
14987
soname_spec=
14954
15187
  dynamic_linker=no
14955
15188
  ;;
14956
15189
 
14957
 
kfreebsd*-gnu)
14958
 
  version_type=linux
14959
 
  need_lib_prefix=no
14960
 
  need_version=no
14961
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14962
 
  soname_spec='${libname}${release}${shared_ext}$major'
14963
 
  shlibpath_var=LD_LIBRARY_PATH
14964
 
  shlibpath_overrides_runpath=no
14965
 
  hardcode_into_libs=yes
14966
 
  dynamic_linker='GNU ld.so'
14967
 
  ;;
14968
 
 
14969
15190
freebsd* | dragonfly*)
14970
15191
  # DragonFly does not have aout.  When/if they implement a new
14971
15192
  # versioning mechanism, adjust this.
14998
15219
    shlibpath_overrides_runpath=yes
14999
15220
    hardcode_into_libs=yes
15000
15221
    ;;
15001
 
  *) # from 3.2 on
 
15222
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15223
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15002
15224
    shlibpath_overrides_runpath=no
15003
15225
    hardcode_into_libs=yes
15004
15226
    ;;
 
15227
  freebsd*) # from 4.6 on
 
15228
    shlibpath_overrides_runpath=yes
 
15229
    hardcode_into_libs=yes
 
15230
    ;;
15005
15231
  esac
15006
15232
  ;;
15007
15233
 
15061
15287
  postinstall_cmds='chmod 555 $lib'
15062
15288
  ;;
15063
15289
 
 
15290
interix3*)
 
15291
  version_type=linux
 
15292
  need_lib_prefix=no
 
15293
  need_version=no
 
15294
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15295
  soname_spec='${libname}${release}${shared_ext}$major'
 
15296
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15297
  shlibpath_var=LD_LIBRARY_PATH
 
15298
  shlibpath_overrides_runpath=no
 
15299
  hardcode_into_libs=yes
 
15300
  ;;
 
15301
 
15064
15302
irix5* | irix6* | nonstopux*)
15065
15303
  case $host_os in
15066
15304
    nonstopux*) version_type=nonstopux ;;
15104
15342
  ;;
15105
15343
 
15106
15344
# This must be Linux ELF.
15107
 
linux*)
 
15345
linux* | k*bsd*-gnu)
15108
15346
  version_type=linux
15109
15347
  need_lib_prefix=no
15110
15348
  need_version=no
15145
15383
  dynamic_linker='NetBSD ld.elf_so'
15146
15384
  ;;
15147
15385
 
15148
 
knetbsd*-gnu)
15149
 
  version_type=linux
15150
 
  need_lib_prefix=no
15151
 
  need_version=no
15152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15153
 
  soname_spec='${libname}${release}${shared_ext}$major'
15154
 
  shlibpath_var=LD_LIBRARY_PATH
15155
 
  shlibpath_overrides_runpath=no
15156
 
  hardcode_into_libs=yes
15157
 
  dynamic_linker='GNU ld.so'
15158
 
  ;;
15159
 
 
15160
15386
netbsd*)
15161
15387
  version_type=sunos
15162
15388
  need_lib_prefix=no
15194
15420
 
15195
15421
openbsd*)
15196
15422
  version_type=sunos
 
15423
  sys_lib_dlsearch_path_spec="/usr/lib"
15197
15424
  need_lib_prefix=no
15198
15425
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15199
15426
  case $host_os in
15237
15464
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15238
15465
  ;;
15239
15466
 
15240
 
sco3.2v5*)
15241
 
  version_type=osf
15242
 
  soname_spec='${libname}${release}${shared_ext}$major'
15243
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15244
 
  shlibpath_var=LD_LIBRARY_PATH
15245
 
  ;;
15246
 
 
15247
15467
solaris*)
15248
15468
  version_type=linux
15249
15469
  need_lib_prefix=no
15269
15489
  need_version=yes
15270
15490
  ;;
15271
15491
 
15272
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
15492
sysv4 | sysv4.3*)
15273
15493
  version_type=linux
15274
15494
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15275
15495
  soname_spec='${libname}${release}${shared_ext}$major'
15302
15522
  fi
15303
15523
  ;;
15304
15524
 
 
15525
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15526
  version_type=freebsd-elf
 
15527
  need_lib_prefix=no
 
15528
  need_version=no
 
15529
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15530
  soname_spec='${libname}${release}${shared_ext}$major'
 
15531
  shlibpath_var=LD_LIBRARY_PATH
 
15532
  hardcode_into_libs=yes
 
15533
  if test "$with_gnu_ld" = yes; then
 
15534
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15535
    shlibpath_overrides_runpath=no
 
15536
  else
 
15537
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15538
    shlibpath_overrides_runpath=yes
 
15539
    case $host_os in
 
15540
      sco3.2v5*)
 
15541
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15542
        ;;
 
15543
    esac
 
15544
  fi
 
15545
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15546
  ;;
 
15547
 
15305
15548
uts4*)
15306
15549
  version_type=linux
15307
15550
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15313
15556
  dynamic_linker=no
15314
15557
  ;;
15315
15558
esac
15316
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15317
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15559
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15560
echo "${ECHO_T}$dynamic_linker" >&6; }
15318
15561
test "$dynamic_linker" = no && can_build_shared=no
15319
15562
 
15320
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15321
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15563
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15564
if test "$GCC" = yes; then
 
15565
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15566
fi
 
15567
 
 
15568
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15569
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15322
15570
hardcode_action_F77=
15323
15571
if test -n "$hardcode_libdir_flag_spec_F77" || \
15324
15572
   test -n "$runpath_var_F77" || \
15342
15590
  # directories.
15343
15591
  hardcode_action_F77=unsupported
15344
15592
fi
15345
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15346
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
15593
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15594
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15347
15595
 
15348
15596
if test "$hardcode_action_F77" = relink; then
15349
15597
  # Fast installation is not supported
15354
15602
  enable_fast_install=needless
15355
15603
fi
15356
15604
 
15357
 
striplib=
15358
 
old_striplib=
15359
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15360
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15361
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15362
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15363
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15364
 
  echo "$as_me:$LINENO: result: yes" >&5
15365
 
echo "${ECHO_T}yes" >&6
15366
 
else
15367
 
# FIXME - insert some real tests, host_os isn't really good enough
15368
 
  case $host_os in
15369
 
   darwin*)
15370
 
       if test -n "$STRIP" ; then
15371
 
         striplib="$STRIP -x"
15372
 
         echo "$as_me:$LINENO: result: yes" >&5
15373
 
echo "${ECHO_T}yes" >&6
15374
 
       else
15375
 
  echo "$as_me:$LINENO: result: no" >&5
15376
 
echo "${ECHO_T}no" >&6
15377
 
fi
15378
 
       ;;
15379
 
   *)
15380
 
  echo "$as_me:$LINENO: result: no" >&5
15381
 
echo "${ECHO_T}no" >&6
15382
 
    ;;
15383
 
  esac
15384
 
fi
15385
 
 
15386
 
 
15387
15605
 
15388
15606
# The else clause should only fire when bootstrapping the
15389
15607
# libtool distribution, otherwise you forgot to ship ltmain.sh
15398
15616
  # Now quote all the things that may contain metacharacters while being
15399
15617
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15400
15618
  # variables and quote the copies for generation of the libtool script.
15401
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
15619
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15402
15620
    SED SHELL STRIP \
15403
15621
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15404
15622
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15516
15734
# A C compiler.
15517
15735
LTCC=$lt_LTCC
15518
15736
 
 
15737
# LTCC compiler flags.
 
15738
LTCFLAGS=$lt_LTCFLAGS
 
15739
 
15519
15740
# A language-specific compiler.
15520
15741
CC=$lt_compiler_F77
15521
15742
 
15807
16028
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15808
16029
 
15809
16030
 
15810
 
 
15811
16031
# Source file extension for Java test sources.
15812
16032
ac_ext=java
15813
16033
 
15826
16046
# If no C compiler was specified, use CC.
15827
16047
LTCC=${LTCC-"$CC"}
15828
16048
 
 
16049
# If no C compiler flags were specified, use CFLAGS.
 
16050
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16051
 
15829
16052
# Allow CC to be a program name with arguments.
15830
16053
compiler=$CC
15831
16054
 
15833
16056
# save warnings/boilerplate of simple test code
15834
16057
ac_outfile=conftest.$ac_objext
15835
16058
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15836
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16059
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15837
16060
_lt_compiler_boilerplate=`cat conftest.err`
15838
16061
$rm conftest*
15839
16062
 
15840
16063
ac_outfile=conftest.$ac_objext
15841
16064
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15842
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16065
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15843
16066
_lt_linker_boilerplate=`cat conftest.err`
15844
16067
$rm conftest*
15845
16068
 
15872
16095
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15873
16096
 
15874
16097
 
15875
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15876
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16098
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16099
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15877
16100
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15878
16101
  echo $ECHO_N "(cached) $ECHO_C" >&6
15879
16102
else
15890
16113
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15891
16114
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15892
16115
   -e 's:$: $lt_compiler_flag:'`
15893
 
   (eval echo "\"\$as_me:15893: $lt_compile\"" >&5)
 
16116
   (eval echo "\"\$as_me:16116: $lt_compile\"" >&5)
15894
16117
   (eval "$lt_compile" 2>conftest.err)
15895
16118
   ac_status=$?
15896
16119
   cat conftest.err >&5
15897
 
   echo "$as_me:15897: \$? = $ac_status" >&5
 
16120
   echo "$as_me:16120: \$? = $ac_status" >&5
15898
16121
   if (exit $ac_status) && test -s "$ac_outfile"; then
15899
16122
     # The compiler can only warn and ignore the option if not recognized
15900
16123
     # So say no if there are warnings other than the usual output.
15901
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15902
 
     $SED '/^$/d' conftest.err >conftest.er2
15903
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16124
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16125
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16126
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15904
16127
       lt_cv_prog_compiler_rtti_exceptions=yes
15905
16128
     fi
15906
16129
   fi
15907
16130
   $rm conftest*
15908
16131
 
15909
16132
fi
15910
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15911
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16133
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16134
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15912
16135
 
15913
16136
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15914
16137
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15922
16145
lt_prog_compiler_pic_GCJ=
15923
16146
lt_prog_compiler_static_GCJ=
15924
16147
 
15925
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15926
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16148
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16149
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15927
16150
 
15928
16151
  if test "$GCC" = yes; then
15929
16152
    lt_prog_compiler_wl_GCJ='-Wl,'
15961
16184
      lt_prog_compiler_pic_GCJ='-fno-common'
15962
16185
      ;;
15963
16186
 
 
16187
    interix3*)
 
16188
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16189
      # Instead, we relocate shared libraries at runtime.
 
16190
      ;;
 
16191
 
15964
16192
    msdosdjgpp*)
15965
16193
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15966
16194
      # on systems that don't support them.
16047
16275
      lt_prog_compiler_static_GCJ='-Bstatic'
16048
16276
      ;;
16049
16277
 
16050
 
    linux*)
 
16278
    linux* | k*bsd*-gnu)
16051
16279
      case $cc_basename in
16052
16280
      icc* | ecc*)
16053
16281
        lt_prog_compiler_wl_GCJ='-Wl,'
16075
16303
      lt_prog_compiler_static_GCJ='-non_shared'
16076
16304
      ;;
16077
16305
 
16078
 
    sco3.2v5*)
16079
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16080
 
      lt_prog_compiler_static_GCJ='-dn'
16081
 
      ;;
16082
 
 
16083
16306
    solaris*)
16084
16307
      lt_prog_compiler_pic_GCJ='-KPIC'
16085
16308
      lt_prog_compiler_static_GCJ='-Bstatic'
16097
16320
      lt_prog_compiler_static_GCJ='-Bstatic'
16098
16321
      ;;
16099
16322
 
16100
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16323
    sysv4 | sysv4.2uw2* | sysv4.3*)
16101
16324
      lt_prog_compiler_wl_GCJ='-Wl,'
16102
16325
      lt_prog_compiler_pic_GCJ='-KPIC'
16103
16326
      lt_prog_compiler_static_GCJ='-Bstatic'
16110
16333
      fi
16111
16334
      ;;
16112
16335
 
 
16336
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16337
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16338
      lt_prog_compiler_pic_GCJ='-KPIC'
 
16339
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16340
      ;;
 
16341
 
16113
16342
    unicos*)
16114
16343
      lt_prog_compiler_wl_GCJ='-Wl,'
16115
16344
      lt_prog_compiler_can_build_shared_GCJ=no
16126
16355
    esac
16127
16356
  fi
16128
16357
 
16129
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16130
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16358
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16359
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16131
16360
 
16132
16361
#
16133
16362
# Check to make sure the PIC flag actually works.
16134
16363
#
16135
16364
if test -n "$lt_prog_compiler_pic_GCJ"; then
16136
16365
 
16137
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16138
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16366
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16367
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16139
16368
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16140
16369
  echo $ECHO_N "(cached) $ECHO_C" >&6
16141
16370
else
16152
16381
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16153
16382
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16154
16383
   -e 's:$: $lt_compiler_flag:'`
16155
 
   (eval echo "\"\$as_me:16155: $lt_compile\"" >&5)
 
16384
   (eval echo "\"\$as_me:16384: $lt_compile\"" >&5)
16156
16385
   (eval "$lt_compile" 2>conftest.err)
16157
16386
   ac_status=$?
16158
16387
   cat conftest.err >&5
16159
 
   echo "$as_me:16159: \$? = $ac_status" >&5
 
16388
   echo "$as_me:16388: \$? = $ac_status" >&5
16160
16389
   if (exit $ac_status) && test -s "$ac_outfile"; then
16161
16390
     # The compiler can only warn and ignore the option if not recognized
16162
16391
     # So say no if there are warnings other than the usual output.
16163
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16164
 
     $SED '/^$/d' conftest.err >conftest.er2
16165
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16392
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16393
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16394
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16166
16395
       lt_prog_compiler_pic_works_GCJ=yes
16167
16396
     fi
16168
16397
   fi
16169
16398
   $rm conftest*
16170
16399
 
16171
16400
fi
16172
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16173
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16401
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16402
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16174
16403
 
16175
16404
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16176
16405
    case $lt_prog_compiler_pic_GCJ in
16193
16422
    ;;
16194
16423
esac
16195
16424
 
16196
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16197
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16425
#
 
16426
# Check to make sure the static flag actually works.
 
16427
#
 
16428
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
16429
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16430
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
16431
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
16432
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16433
else
 
16434
  lt_prog_compiler_static_works_GCJ=no
 
16435
   save_LDFLAGS="$LDFLAGS"
 
16436
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16437
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16438
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16439
     # The linker can only warn and ignore the option if not recognized
 
16440
     # So say no if there are warnings
 
16441
     if test -s conftest.err; then
 
16442
       # Append any errors to the config.log.
 
16443
       cat conftest.err 1>&5
 
16444
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16445
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16446
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16447
         lt_prog_compiler_static_works_GCJ=yes
 
16448
       fi
 
16449
     else
 
16450
       lt_prog_compiler_static_works_GCJ=yes
 
16451
     fi
 
16452
   fi
 
16453
   $rm conftest*
 
16454
   LDFLAGS="$save_LDFLAGS"
 
16455
 
 
16456
fi
 
16457
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
16458
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
16459
 
 
16460
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
16461
    :
 
16462
else
 
16463
    lt_prog_compiler_static_GCJ=
 
16464
fi
 
16465
 
 
16466
 
 
16467
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16468
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16198
16469
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16199
16470
  echo $ECHO_N "(cached) $ECHO_C" >&6
16200
16471
else
16214
16485
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16215
16486
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16216
16487
   -e 's:$: $lt_compiler_flag:'`
16217
 
   (eval echo "\"\$as_me:16217: $lt_compile\"" >&5)
 
16488
   (eval echo "\"\$as_me:16488: $lt_compile\"" >&5)
16218
16489
   (eval "$lt_compile" 2>out/conftest.err)
16219
16490
   ac_status=$?
16220
16491
   cat out/conftest.err >&5
16221
 
   echo "$as_me:16221: \$? = $ac_status" >&5
 
16492
   echo "$as_me:16492: \$? = $ac_status" >&5
16222
16493
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16223
16494
   then
16224
16495
     # The compiler can only warn and ignore the option if not recognized
16225
16496
     # So say no if there are warnings
16226
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16227
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
16228
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16497
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16498
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16499
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16229
16500
       lt_cv_prog_compiler_c_o_GCJ=yes
16230
16501
     fi
16231
16502
   fi
16240
16511
   $rm conftest*
16241
16512
 
16242
16513
fi
16243
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16244
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16514
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16515
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16245
16516
 
16246
16517
 
16247
16518
hard_links="nottested"
16248
16519
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16249
16520
  # do not overwrite the value of need_locks provided by the user
16250
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16251
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16521
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16522
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16252
16523
  hard_links=yes
16253
16524
  $rm conftest*
16254
16525
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16255
16526
  touch conftest.a
16256
16527
  ln conftest.a conftest.b 2>&5 || hard_links=no
16257
16528
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16258
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16259
 
echo "${ECHO_T}$hard_links" >&6
 
16529
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16530
echo "${ECHO_T}$hard_links" >&6; }
16260
16531
  if test "$hard_links" = no; then
16261
16532
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16262
16533
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16266
16537
  need_locks=no
16267
16538
fi
16268
16539
 
16269
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16270
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16540
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16541
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16271
16542
 
16272
16543
  runpath_var=
16273
16544
  allow_undefined_flag_GCJ=
16325
16596
      with_gnu_ld=no
16326
16597
    fi
16327
16598
    ;;
 
16599
  interix*)
 
16600
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
16601
    with_gnu_ld=yes
 
16602
    ;;
16328
16603
  openbsd*)
16329
16604
    with_gnu_ld=no
16330
16605
    ;;
16409
16684
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16410
16685
 
16411
16686
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16412
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
16687
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16413
16688
        # If the export-symbols file already is a .def file (1st line
16414
16689
        # is EXPORTS), use it as is; otherwise, prepend...
16415
16690
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16418
16693
          echo EXPORTS > $output_objdir/$soname.def;
16419
16694
          cat $export_symbols >> $output_objdir/$soname.def;
16420
16695
        fi~
16421
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
16696
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16422
16697
      else
16423
16698
        ld_shlibs_GCJ=no
16424
16699
      fi
16425
16700
      ;;
16426
16701
 
16427
 
    linux*)
 
16702
    interix3*)
 
16703
      hardcode_direct_GCJ=no
 
16704
      hardcode_shlibpath_var_GCJ=no
 
16705
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
16706
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
16707
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
16708
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
16709
      # default) and relocated if they conflict, which is a slow very memory
 
16710
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
16711
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
16712
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
16713
      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'
 
16714
      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'
 
16715
      ;;
 
16716
 
 
16717
    linux* | k*bsd*-gnu)
16428
16718
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16429
16719
        tmp_addflag=
16430
16720
        case $cc_basename,$host_cpu in
16456
16746
      fi
16457
16747
      ;;
16458
16748
 
16459
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
16749
    netbsd* | netbsdelf*-gnu)
16460
16750
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16461
16751
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16462
16752
        wlarc=
16466
16756
      fi
16467
16757
      ;;
16468
16758
 
16469
 
    solaris* | sysv5*)
 
16759
    solaris*)
16470
16760
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16471
16761
        ld_shlibs_GCJ=no
16472
16762
        cat <<EOF 1>&2
16487
16777
      fi
16488
16778
      ;;
16489
16779
 
 
16780
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
16781
      case `$LD -v 2>&1` in
 
16782
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
16783
        ld_shlibs_GCJ=no
 
16784
        cat <<_LT_EOF 1>&2
 
16785
 
 
16786
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
16787
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
16788
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
16789
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
16790
*** your PATH or compiler configuration so that the native linker is
 
16791
*** used, and then restart.
 
16792
 
 
16793
_LT_EOF
 
16794
        ;;
 
16795
        *)
 
16796
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16797
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
16798
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
16799
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
16800
          else
 
16801
            ld_shlibs_GCJ=no
 
16802
          fi
 
16803
        ;;
 
16804
      esac
 
16805
      ;;
 
16806
 
16490
16807
    sunos4*)
16491
16808
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16492
16809
      wlarc=
16520
16837
      # Note: this linker hardcodes the directories in LIBPATH if there
16521
16838
      # are no directories specified by -L.
16522
16839
      hardcode_minus_L_GCJ=yes
16523
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
16840
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16524
16841
        # Neither direct hardcoding nor static linking is supported with a
16525
16842
        # broken collect2.
16526
16843
        hardcode_direct_GCJ=unsupported
16554
16871
            break
16555
16872
          fi
16556
16873
          done
 
16874
          ;;
16557
16875
        esac
16558
16876
 
16559
16877
        exp_sym_flag='-bexport'
16591
16909
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16592
16910
          hardcode_libdir_separator_GCJ=
16593
16911
          fi
 
16912
          ;;
16594
16913
        esac
16595
16914
        shared_flag='-shared'
16596
16915
        if test "$aix_use_runtimelinking" = yes; then
16603
16922
        # chokes on -Wl,-G. The following line is correct:
16604
16923
          shared_flag='-G'
16605
16924
        else
16606
 
        if test "$aix_use_runtimelinking" = yes; then
 
16925
          if test "$aix_use_runtimelinking" = yes; then
16607
16926
            shared_flag='${wl}-G'
16608
16927
          else
16609
16928
            shared_flag='${wl}-bM:SRE'
16610
 
        fi
 
16929
          fi
16611
16930
        fi
16612
16931
      fi
16613
16932
 
16643
16962
  cat conftest.err >&5
16644
16963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645
16964
  (exit $ac_status); } &&
16646
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16965
         { ac_try='test -z "$ac_c_werror_flag"
 
16966
                         || test ! -s conftest.err'
16647
16967
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648
16968
  (eval $ac_try) 2>&5
16649
16969
  ac_status=$?
16665
16985
  echo "$as_me: failed program was:" >&5
16666
16986
sed 's/^/| /' conftest.$ac_ext >&5
16667
16987
 
 
16988
 
16668
16989
fi
 
16990
 
16669
16991
rm -f conftest.err conftest.$ac_objext \
16670
16992
      conftest$ac_exeext conftest.$ac_ext
16671
16993
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16672
16994
 
16673
16995
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16674
 
        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"
 
16996
        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"
16675
16997
       else
16676
16998
        if test "$host_cpu" = ia64; then
16677
16999
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16678
17000
          allow_undefined_flag_GCJ="-z nodefs"
16679
 
          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"
 
17001
          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"
16680
17002
        else
16681
17003
         # Determine the default libpath from the value encoded in an empty executable.
16682
17004
         cat >conftest.$ac_ext <<_ACEOF
16703
17025
  cat conftest.err >&5
16704
17026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705
17027
  (exit $ac_status); } &&
16706
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17028
         { ac_try='test -z "$ac_c_werror_flag"
 
17029
                         || test ! -s conftest.err'
16707
17030
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708
17031
  (eval $ac_try) 2>&5
16709
17032
  ac_status=$?
16725
17048
  echo "$as_me: failed program was:" >&5
16726
17049
sed 's/^/| /' conftest.$ac_ext >&5
16727
17050
 
 
17051
 
16728
17052
fi
 
17053
 
16729
17054
rm -f conftest.err conftest.$ac_objext \
16730
17055
      conftest$ac_exeext conftest.$ac_ext
16731
17056
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16735
17060
          # -berok will link without error, but may produce a broken library.
16736
17061
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16737
17062
          allow_undefined_flag_GCJ=' ${wl}-berok'
16738
 
          # -bexpall does not export symbols beginning with underscore (_)
16739
 
          always_export_symbols_GCJ=yes
16740
17063
          # Exported symbols can be pulled into shared objects from archives
16741
 
          whole_archive_flag_spec_GCJ=' '
 
17064
          whole_archive_flag_spec_GCJ='$convenience'
16742
17065
          archive_cmds_need_lc_GCJ=yes
16743
17066
          # This is similar to how AIX traditionally builds its shared libraries.
16744
 
          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'
 
17067
          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'
16745
17068
        fi
16746
17069
      fi
16747
17070
      ;;
16859
17182
      ;;
16860
17183
 
16861
17184
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16862
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17185
    freebsd* | dragonfly*)
16863
17186
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16864
17187
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16865
17188
      hardcode_direct_GCJ=yes
16882
17205
      export_dynamic_flag_spec_GCJ='${wl}-E'
16883
17206
      ;;
16884
17207
 
16885
 
    hpux10* | hpux11*)
 
17208
    hpux10*)
 
17209
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17210
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17211
      else
 
17212
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17213
      fi
 
17214
      if test "$with_gnu_ld" = no; then
 
17215
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17216
        hardcode_libdir_separator_GCJ=:
 
17217
 
 
17218
        hardcode_direct_GCJ=yes
 
17219
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17220
 
 
17221
        # hardcode_minus_L: Not really in the search PATH,
 
17222
        # but as the default location of the library.
 
17223
        hardcode_minus_L_GCJ=yes
 
17224
      fi
 
17225
      ;;
 
17226
 
 
17227
    hpux11*)
16886
17228
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16887
17229
        case $host_cpu in
16888
 
        hppa*64*|ia64*)
 
17230
        hppa*64*)
16889
17231
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16890
17232
          ;;
 
17233
        ia64*)
 
17234
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17235
          ;;
16891
17236
        *)
16892
17237
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16893
17238
          ;;
16894
17239
        esac
16895
17240
      else
16896
17241
        case $host_cpu in
16897
 
        hppa*64*|ia64*)
16898
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17242
        hppa*64*)
 
17243
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17244
          ;;
 
17245
        ia64*)
 
17246
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16899
17247
          ;;
16900
17248
        *)
16901
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17249
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16902
17250
          ;;
16903
17251
        esac
16904
17252
      fi
16905
17253
      if test "$with_gnu_ld" = no; then
 
17254
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17255
        hardcode_libdir_separator_GCJ=:
 
17256
 
16906
17257
        case $host_cpu in
16907
 
        hppa*64*)
16908
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17258
        hppa*64*|ia64*)
16909
17259
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16910
 
          hardcode_libdir_separator_GCJ=:
16911
 
          hardcode_direct_GCJ=no
16912
 
          hardcode_shlibpath_var_GCJ=no
16913
 
          ;;
16914
 
        ia64*)
16915
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16916
 
          hardcode_direct_GCJ=no
16917
 
          hardcode_shlibpath_var_GCJ=no
16918
 
 
16919
 
          # hardcode_minus_L: Not really in the search PATH,
16920
 
          # but as the default location of the library.
16921
 
          hardcode_minus_L_GCJ=yes
 
17260
          hardcode_direct_GCJ=no
 
17261
          hardcode_shlibpath_var_GCJ=no
16922
17262
          ;;
16923
17263
        *)
16924
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16925
 
          hardcode_libdir_separator_GCJ=:
16926
17264
          hardcode_direct_GCJ=yes
16927
17265
          export_dynamic_flag_spec_GCJ='${wl}-E'
16928
17266
 
16946
17284
      link_all_deplibs_GCJ=yes
16947
17285
      ;;
16948
17286
 
16949
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17287
    netbsd* | netbsdelf*-gnu)
16950
17288
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16951
17289
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16952
17290
      else
17024
17362
      hardcode_libdir_separator_GCJ=:
17025
17363
      ;;
17026
17364
 
17027
 
    sco3.2v5*)
17028
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17029
 
      hardcode_shlibpath_var_GCJ=no
17030
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17031
 
      runpath_var=LD_RUN_PATH
17032
 
      hardcode_runpath_var=yes
17033
 
      ;;
17034
 
 
17035
17365
    solaris*)
17036
17366
      no_undefined_flag_GCJ=' -z text'
17037
17367
      if test "$GCC" = yes; then
17117
17447
      fi
17118
17448
      ;;
17119
17449
 
17120
 
    sysv4.2uw2*)
17121
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17122
 
      hardcode_direct_GCJ=yes
17123
 
      hardcode_minus_L_GCJ=no
17124
 
      hardcode_shlibpath_var_GCJ=no
17125
 
      hardcode_runpath_var=yes
17126
 
      runpath_var=LD_RUN_PATH
17127
 
      ;;
17128
 
 
17129
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17130
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17131
 
      if test "$GCC" = yes; then
17132
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17133
 
      else
17134
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17135
 
      fi
17136
 
      runpath_var='LD_RUN_PATH'
17137
 
      hardcode_shlibpath_var_GCJ=no
17138
 
      ;;
17139
 
 
17140
 
    sysv5*)
17141
 
      no_undefined_flag_GCJ=' -z text'
17142
 
      # $CC -shared without GNU ld will not create a library from C++
17143
 
      # object files and a static libstdc++, better avoid it by now
17144
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17145
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17146
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17147
 
      hardcode_libdir_flag_spec_GCJ=
17148
 
      hardcode_shlibpath_var_GCJ=no
17149
 
      runpath_var='LD_RUN_PATH'
 
17450
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17451
      no_undefined_flag_GCJ='${wl}-z,text'
 
17452
      archive_cmds_need_lc_GCJ=no
 
17453
      hardcode_shlibpath_var_GCJ=no
 
17454
      runpath_var='LD_RUN_PATH'
 
17455
 
 
17456
      if test "$GCC" = yes; then
 
17457
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17458
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17459
      else
 
17460
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17461
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17462
      fi
 
17463
      ;;
 
17464
 
 
17465
    sysv5* | sco3.2v5* | sco5v6*)
 
17466
      # Note: We can NOT use -z defs as we might desire, because we do not
 
17467
      # link with -lc, and that would cause any symbols used from libc to
 
17468
      # always be unresolved, which means just about no library would
 
17469
      # ever link correctly.  If we're not using GNU ld we use -z text
 
17470
      # though, which does catch some bad symbols but isn't as heavy-handed
 
17471
      # as -z defs.
 
17472
      no_undefined_flag_GCJ='${wl}-z,text'
 
17473
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
17474
      archive_cmds_need_lc_GCJ=no
 
17475
      hardcode_shlibpath_var_GCJ=no
 
17476
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
17477
      hardcode_libdir_separator_GCJ=':'
 
17478
      link_all_deplibs_GCJ=yes
 
17479
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
17480
      runpath_var='LD_RUN_PATH'
 
17481
 
 
17482
      if test "$GCC" = yes; then
 
17483
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17484
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17485
      else
 
17486
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17487
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17488
      fi
17150
17489
      ;;
17151
17490
 
17152
17491
    uts4*)
17161
17500
    esac
17162
17501
  fi
17163
17502
 
17164
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17165
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17503
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17504
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17166
17505
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17167
17506
 
17168
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17169
 
if test "$GCC" = yes; then
17170
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17171
 
fi
17172
 
 
17173
17507
#
17174
17508
# Do we need to explicitly link libc?
17175
17509
#
17187
17521
      # Test whether the compiler implicitly links with -lc since on some
17188
17522
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17189
17523
      # to ld, don't add -lc before -lgcc.
17190
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17191
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17524
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17525
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17192
17526
      $rm conftest*
17193
17527
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17194
17528
 
17202
17536
        libobjs=conftest.$ac_objext
17203
17537
        deplibs=
17204
17538
        wl=$lt_prog_compiler_wl_GCJ
 
17539
        pic_flag=$lt_prog_compiler_pic_GCJ
17205
17540
        compiler_flags=-v
17206
17541
        linker_flags=-v
17207
17542
        verstring=
17224
17559
        cat conftest.err 1>&5
17225
17560
      fi
17226
17561
      $rm conftest*
17227
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17228
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17562
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17563
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17229
17564
      ;;
17230
17565
    esac
17231
17566
  fi
17232
17567
  ;;
17233
17568
esac
17234
17569
 
17235
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17236
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17570
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17571
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17237
17572
library_names_spec=
17238
17573
libname_spec='lib$name'
17239
17574
soname_spec=
17439
17774
  dynamic_linker=no
17440
17775
  ;;
17441
17776
 
17442
 
kfreebsd*-gnu)
17443
 
  version_type=linux
17444
 
  need_lib_prefix=no
17445
 
  need_version=no
17446
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17447
 
  soname_spec='${libname}${release}${shared_ext}$major'
17448
 
  shlibpath_var=LD_LIBRARY_PATH
17449
 
  shlibpath_overrides_runpath=no
17450
 
  hardcode_into_libs=yes
17451
 
  dynamic_linker='GNU ld.so'
17452
 
  ;;
17453
 
 
17454
17777
freebsd* | dragonfly*)
17455
17778
  # DragonFly does not have aout.  When/if they implement a new
17456
17779
  # versioning mechanism, adjust this.
17483
17806
    shlibpath_overrides_runpath=yes
17484
17807
    hardcode_into_libs=yes
17485
17808
    ;;
17486
 
  *) # from 3.2 on
 
17809
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
17810
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17487
17811
    shlibpath_overrides_runpath=no
17488
17812
    hardcode_into_libs=yes
17489
17813
    ;;
 
17814
  freebsd*) # from 4.6 on
 
17815
    shlibpath_overrides_runpath=yes
 
17816
    hardcode_into_libs=yes
 
17817
    ;;
17490
17818
  esac
17491
17819
  ;;
17492
17820
 
17546
17874
  postinstall_cmds='chmod 555 $lib'
17547
17875
  ;;
17548
17876
 
 
17877
interix3*)
 
17878
  version_type=linux
 
17879
  need_lib_prefix=no
 
17880
  need_version=no
 
17881
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17882
  soname_spec='${libname}${release}${shared_ext}$major'
 
17883
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
17884
  shlibpath_var=LD_LIBRARY_PATH
 
17885
  shlibpath_overrides_runpath=no
 
17886
  hardcode_into_libs=yes
 
17887
  ;;
 
17888
 
17549
17889
irix5* | irix6* | nonstopux*)
17550
17890
  case $host_os in
17551
17891
    nonstopux*) version_type=nonstopux ;;
17589
17929
  ;;
17590
17930
 
17591
17931
# This must be Linux ELF.
17592
 
linux*)
 
17932
linux* | k*bsd*-gnu)
17593
17933
  version_type=linux
17594
17934
  need_lib_prefix=no
17595
17935
  need_version=no
17630
17970
  dynamic_linker='NetBSD ld.elf_so'
17631
17971
  ;;
17632
17972
 
17633
 
knetbsd*-gnu)
17634
 
  version_type=linux
17635
 
  need_lib_prefix=no
17636
 
  need_version=no
17637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17638
 
  soname_spec='${libname}${release}${shared_ext}$major'
17639
 
  shlibpath_var=LD_LIBRARY_PATH
17640
 
  shlibpath_overrides_runpath=no
17641
 
  hardcode_into_libs=yes
17642
 
  dynamic_linker='GNU ld.so'
17643
 
  ;;
17644
 
 
17645
17973
netbsd*)
17646
17974
  version_type=sunos
17647
17975
  need_lib_prefix=no
17679
18007
 
17680
18008
openbsd*)
17681
18009
  version_type=sunos
 
18010
  sys_lib_dlsearch_path_spec="/usr/lib"
17682
18011
  need_lib_prefix=no
17683
18012
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17684
18013
  case $host_os in
17722
18051
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17723
18052
  ;;
17724
18053
 
17725
 
sco3.2v5*)
17726
 
  version_type=osf
17727
 
  soname_spec='${libname}${release}${shared_ext}$major'
17728
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17729
 
  shlibpath_var=LD_LIBRARY_PATH
17730
 
  ;;
17731
 
 
17732
18054
solaris*)
17733
18055
  version_type=linux
17734
18056
  need_lib_prefix=no
17754
18076
  need_version=yes
17755
18077
  ;;
17756
18078
 
17757
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18079
sysv4 | sysv4.3*)
17758
18080
  version_type=linux
17759
18081
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17760
18082
  soname_spec='${libname}${release}${shared_ext}$major'
17787
18109
  fi
17788
18110
  ;;
17789
18111
 
 
18112
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
18113
  version_type=freebsd-elf
 
18114
  need_lib_prefix=no
 
18115
  need_version=no
 
18116
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
18117
  soname_spec='${libname}${release}${shared_ext}$major'
 
18118
  shlibpath_var=LD_LIBRARY_PATH
 
18119
  hardcode_into_libs=yes
 
18120
  if test "$with_gnu_ld" = yes; then
 
18121
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
18122
    shlibpath_overrides_runpath=no
 
18123
  else
 
18124
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
18125
    shlibpath_overrides_runpath=yes
 
18126
    case $host_os in
 
18127
      sco3.2v5*)
 
18128
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
18129
        ;;
 
18130
    esac
 
18131
  fi
 
18132
  sys_lib_dlsearch_path_spec='/usr/lib'
 
18133
  ;;
 
18134
 
17790
18135
uts4*)
17791
18136
  version_type=linux
17792
18137
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17798
18143
  dynamic_linker=no
17799
18144
  ;;
17800
18145
esac
17801
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17802
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18146
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18147
echo "${ECHO_T}$dynamic_linker" >&6; }
17803
18148
test "$dynamic_linker" = no && can_build_shared=no
17804
18149
 
17805
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17806
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18150
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18151
if test "$GCC" = yes; then
 
18152
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18153
fi
 
18154
 
 
18155
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18156
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17807
18157
hardcode_action_GCJ=
17808
18158
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17809
18159
   test -n "$runpath_var_GCJ" || \
17827
18177
  # directories.
17828
18178
  hardcode_action_GCJ=unsupported
17829
18179
fi
17830
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17831
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18180
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18181
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17832
18182
 
17833
18183
if test "$hardcode_action_GCJ" = relink; then
17834
18184
  # Fast installation is not supported
17839
18189
  enable_fast_install=needless
17840
18190
fi
17841
18191
 
17842
 
striplib=
17843
 
old_striplib=
17844
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17845
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17846
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17847
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17848
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17849
 
  echo "$as_me:$LINENO: result: yes" >&5
17850
 
echo "${ECHO_T}yes" >&6
17851
 
else
17852
 
# FIXME - insert some real tests, host_os isn't really good enough
17853
 
  case $host_os in
17854
 
   darwin*)
17855
 
       if test -n "$STRIP" ; then
17856
 
         striplib="$STRIP -x"
17857
 
         echo "$as_me:$LINENO: result: yes" >&5
17858
 
echo "${ECHO_T}yes" >&6
17859
 
       else
17860
 
  echo "$as_me:$LINENO: result: no" >&5
17861
 
echo "${ECHO_T}no" >&6
17862
 
fi
17863
 
       ;;
17864
 
   *)
17865
 
  echo "$as_me:$LINENO: result: no" >&5
17866
 
echo "${ECHO_T}no" >&6
17867
 
    ;;
17868
 
  esac
17869
 
fi
17870
 
 
17871
 
if test "x$enable_dlopen" != xyes; then
17872
 
  enable_dlopen=unknown
17873
 
  enable_dlopen_self=unknown
17874
 
  enable_dlopen_self_static=unknown
17875
 
else
17876
 
  lt_cv_dlopen=no
17877
 
  lt_cv_dlopen_libs=
17878
 
 
17879
 
  case $host_os in
17880
 
  beos*)
17881
 
    lt_cv_dlopen="load_add_on"
17882
 
    lt_cv_dlopen_libs=
17883
 
    lt_cv_dlopen_self=yes
17884
 
    ;;
17885
 
 
17886
 
  mingw* | pw32*)
17887
 
    lt_cv_dlopen="LoadLibrary"
17888
 
    lt_cv_dlopen_libs=
17889
 
   ;;
17890
 
 
17891
 
  cygwin*)
17892
 
    lt_cv_dlopen="dlopen"
17893
 
    lt_cv_dlopen_libs=
17894
 
   ;;
17895
 
 
17896
 
  darwin*)
17897
 
  # if libdl is installed we need to link against it
17898
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17899
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17900
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17901
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17902
 
else
17903
 
  ac_check_lib_save_LIBS=$LIBS
17904
 
LIBS="-ldl  $LIBS"
17905
 
cat >conftest.$ac_ext <<_ACEOF
17906
 
/* confdefs.h.  */
17907
 
_ACEOF
17908
 
cat confdefs.h >>conftest.$ac_ext
17909
 
cat >>conftest.$ac_ext <<_ACEOF
17910
 
/* end confdefs.h.  */
17911
 
 
17912
 
/* Override any gcc2 internal prototype to avoid an error.  */
17913
 
#ifdef __cplusplus
17914
 
extern "C"
17915
 
#endif
17916
 
/* We use char because int might match the return type of a gcc2
17917
 
   builtin and then its argument prototype would still apply.  */
17918
 
char dlopen ();
17919
 
int
17920
 
main ()
17921
 
{
17922
 
dlopen ();
17923
 
  ;
17924
 
  return 0;
17925
 
}
17926
 
_ACEOF
17927
 
rm -f conftest.$ac_objext conftest$ac_exeext
17928
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17929
 
  (eval $ac_link) 2>conftest.er1
17930
 
  ac_status=$?
17931
 
  grep -v '^ *+' conftest.er1 >conftest.err
17932
 
  rm -f conftest.er1
17933
 
  cat conftest.err >&5
17934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935
 
  (exit $ac_status); } &&
17936
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17937
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938
 
  (eval $ac_try) 2>&5
17939
 
  ac_status=$?
17940
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941
 
  (exit $ac_status); }; } &&
17942
 
         { ac_try='test -s conftest$ac_exeext'
17943
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944
 
  (eval $ac_try) 2>&5
17945
 
  ac_status=$?
17946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947
 
  (exit $ac_status); }; }; then
17948
 
  ac_cv_lib_dl_dlopen=yes
17949
 
else
17950
 
  echo "$as_me: failed program was:" >&5
17951
 
sed 's/^/| /' conftest.$ac_ext >&5
17952
 
 
17953
 
ac_cv_lib_dl_dlopen=no
17954
 
fi
17955
 
rm -f conftest.err conftest.$ac_objext \
17956
 
      conftest$ac_exeext conftest.$ac_ext
17957
 
LIBS=$ac_check_lib_save_LIBS
17958
 
fi
17959
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17960
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17961
 
if test $ac_cv_lib_dl_dlopen = yes; then
17962
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17963
 
else
17964
 
 
17965
 
    lt_cv_dlopen="dyld"
17966
 
    lt_cv_dlopen_libs=
17967
 
    lt_cv_dlopen_self=yes
17968
 
 
17969
 
fi
17970
 
 
17971
 
   ;;
17972
 
 
17973
 
  *)
17974
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17975
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17976
 
if test "${ac_cv_func_shl_load+set}" = set; then
17977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17978
 
else
17979
 
  cat >conftest.$ac_ext <<_ACEOF
17980
 
/* confdefs.h.  */
17981
 
_ACEOF
17982
 
cat confdefs.h >>conftest.$ac_ext
17983
 
cat >>conftest.$ac_ext <<_ACEOF
17984
 
/* end confdefs.h.  */
17985
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17986
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17987
 
#define shl_load innocuous_shl_load
17988
 
 
17989
 
/* System header to define __stub macros and hopefully few prototypes,
17990
 
    which can conflict with char shl_load (); below.
17991
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17992
 
    <limits.h> exists even on freestanding compilers.  */
17993
 
 
17994
 
#ifdef __STDC__
17995
 
# include <limits.h>
17996
 
#else
17997
 
# include <assert.h>
17998
 
#endif
17999
 
 
18000
 
#undef shl_load
18001
 
 
18002
 
/* Override any gcc2 internal prototype to avoid an error.  */
18003
 
#ifdef __cplusplus
18004
 
extern "C"
18005
 
{
18006
 
#endif
18007
 
/* We use char because int might match the return type of a gcc2
18008
 
   builtin and then its argument prototype would still apply.  */
18009
 
char shl_load ();
18010
 
/* The GNU C library defines this for functions which it implements
18011
 
    to always fail with ENOSYS.  Some functions are actually named
18012
 
    something starting with __ and the normal name is an alias.  */
18013
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18014
 
choke me
18015
 
#else
18016
 
char (*f) () = shl_load;
18017
 
#endif
18018
 
#ifdef __cplusplus
18019
 
}
18020
 
#endif
18021
 
 
18022
 
int
18023
 
main ()
18024
 
{
18025
 
return f != shl_load;
18026
 
  ;
18027
 
  return 0;
18028
 
}
18029
 
_ACEOF
18030
 
rm -f conftest.$ac_objext conftest$ac_exeext
18031
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18032
 
  (eval $ac_link) 2>conftest.er1
18033
 
  ac_status=$?
18034
 
  grep -v '^ *+' conftest.er1 >conftest.err
18035
 
  rm -f conftest.er1
18036
 
  cat conftest.err >&5
18037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038
 
  (exit $ac_status); } &&
18039
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18041
 
  (eval $ac_try) 2>&5
18042
 
  ac_status=$?
18043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044
 
  (exit $ac_status); }; } &&
18045
 
         { ac_try='test -s conftest$ac_exeext'
18046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047
 
  (eval $ac_try) 2>&5
18048
 
  ac_status=$?
18049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050
 
  (exit $ac_status); }; }; then
18051
 
  ac_cv_func_shl_load=yes
18052
 
else
18053
 
  echo "$as_me: failed program was:" >&5
18054
 
sed 's/^/| /' conftest.$ac_ext >&5
18055
 
 
18056
 
ac_cv_func_shl_load=no
18057
 
fi
18058
 
rm -f conftest.err conftest.$ac_objext \
18059
 
      conftest$ac_exeext conftest.$ac_ext
18060
 
fi
18061
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18062
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18063
 
if test $ac_cv_func_shl_load = yes; then
18064
 
  lt_cv_dlopen="shl_load"
18065
 
else
18066
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18067
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18068
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18070
 
else
18071
 
  ac_check_lib_save_LIBS=$LIBS
18072
 
LIBS="-ldld  $LIBS"
18073
 
cat >conftest.$ac_ext <<_ACEOF
18074
 
/* confdefs.h.  */
18075
 
_ACEOF
18076
 
cat confdefs.h >>conftest.$ac_ext
18077
 
cat >>conftest.$ac_ext <<_ACEOF
18078
 
/* end confdefs.h.  */
18079
 
 
18080
 
/* Override any gcc2 internal prototype to avoid an error.  */
18081
 
#ifdef __cplusplus
18082
 
extern "C"
18083
 
#endif
18084
 
/* We use char because int might match the return type of a gcc2
18085
 
   builtin and then its argument prototype would still apply.  */
18086
 
char shl_load ();
18087
 
int
18088
 
main ()
18089
 
{
18090
 
shl_load ();
18091
 
  ;
18092
 
  return 0;
18093
 
}
18094
 
_ACEOF
18095
 
rm -f conftest.$ac_objext conftest$ac_exeext
18096
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18097
 
  (eval $ac_link) 2>conftest.er1
18098
 
  ac_status=$?
18099
 
  grep -v '^ *+' conftest.er1 >conftest.err
18100
 
  rm -f conftest.er1
18101
 
  cat conftest.err >&5
18102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103
 
  (exit $ac_status); } &&
18104
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18105
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106
 
  (eval $ac_try) 2>&5
18107
 
  ac_status=$?
18108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109
 
  (exit $ac_status); }; } &&
18110
 
         { ac_try='test -s conftest$ac_exeext'
18111
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18112
 
  (eval $ac_try) 2>&5
18113
 
  ac_status=$?
18114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115
 
  (exit $ac_status); }; }; then
18116
 
  ac_cv_lib_dld_shl_load=yes
18117
 
else
18118
 
  echo "$as_me: failed program was:" >&5
18119
 
sed 's/^/| /' conftest.$ac_ext >&5
18120
 
 
18121
 
ac_cv_lib_dld_shl_load=no
18122
 
fi
18123
 
rm -f conftest.err conftest.$ac_objext \
18124
 
      conftest$ac_exeext conftest.$ac_ext
18125
 
LIBS=$ac_check_lib_save_LIBS
18126
 
fi
18127
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18128
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18129
 
if test $ac_cv_lib_dld_shl_load = yes; then
18130
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18131
 
else
18132
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18133
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18134
 
if test "${ac_cv_func_dlopen+set}" = set; then
18135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18136
 
else
18137
 
  cat >conftest.$ac_ext <<_ACEOF
18138
 
/* confdefs.h.  */
18139
 
_ACEOF
18140
 
cat confdefs.h >>conftest.$ac_ext
18141
 
cat >>conftest.$ac_ext <<_ACEOF
18142
 
/* end confdefs.h.  */
18143
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18144
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18145
 
#define dlopen innocuous_dlopen
18146
 
 
18147
 
/* System header to define __stub macros and hopefully few prototypes,
18148
 
    which can conflict with char dlopen (); below.
18149
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18150
 
    <limits.h> exists even on freestanding compilers.  */
18151
 
 
18152
 
#ifdef __STDC__
18153
 
# include <limits.h>
18154
 
#else
18155
 
# include <assert.h>
18156
 
#endif
18157
 
 
18158
 
#undef dlopen
18159
 
 
18160
 
/* Override any gcc2 internal prototype to avoid an error.  */
18161
 
#ifdef __cplusplus
18162
 
extern "C"
18163
 
{
18164
 
#endif
18165
 
/* We use char because int might match the return type of a gcc2
18166
 
   builtin and then its argument prototype would still apply.  */
18167
 
char dlopen ();
18168
 
/* The GNU C library defines this for functions which it implements
18169
 
    to always fail with ENOSYS.  Some functions are actually named
18170
 
    something starting with __ and the normal name is an alias.  */
18171
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18172
 
choke me
18173
 
#else
18174
 
char (*f) () = dlopen;
18175
 
#endif
18176
 
#ifdef __cplusplus
18177
 
}
18178
 
#endif
18179
 
 
18180
 
int
18181
 
main ()
18182
 
{
18183
 
return f != dlopen;
18184
 
  ;
18185
 
  return 0;
18186
 
}
18187
 
_ACEOF
18188
 
rm -f conftest.$ac_objext conftest$ac_exeext
18189
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18190
 
  (eval $ac_link) 2>conftest.er1
18191
 
  ac_status=$?
18192
 
  grep -v '^ *+' conftest.er1 >conftest.err
18193
 
  rm -f conftest.er1
18194
 
  cat conftest.err >&5
18195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196
 
  (exit $ac_status); } &&
18197
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199
 
  (eval $ac_try) 2>&5
18200
 
  ac_status=$?
18201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202
 
  (exit $ac_status); }; } &&
18203
 
         { ac_try='test -s conftest$ac_exeext'
18204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205
 
  (eval $ac_try) 2>&5
18206
 
  ac_status=$?
18207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208
 
  (exit $ac_status); }; }; then
18209
 
  ac_cv_func_dlopen=yes
18210
 
else
18211
 
  echo "$as_me: failed program was:" >&5
18212
 
sed 's/^/| /' conftest.$ac_ext >&5
18213
 
 
18214
 
ac_cv_func_dlopen=no
18215
 
fi
18216
 
rm -f conftest.err conftest.$ac_objext \
18217
 
      conftest$ac_exeext conftest.$ac_ext
18218
 
fi
18219
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18220
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18221
 
if test $ac_cv_func_dlopen = yes; then
18222
 
  lt_cv_dlopen="dlopen"
18223
 
else
18224
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18225
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18226
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18228
 
else
18229
 
  ac_check_lib_save_LIBS=$LIBS
18230
 
LIBS="-ldl  $LIBS"
18231
 
cat >conftest.$ac_ext <<_ACEOF
18232
 
/* confdefs.h.  */
18233
 
_ACEOF
18234
 
cat confdefs.h >>conftest.$ac_ext
18235
 
cat >>conftest.$ac_ext <<_ACEOF
18236
 
/* end confdefs.h.  */
18237
 
 
18238
 
/* Override any gcc2 internal prototype to avoid an error.  */
18239
 
#ifdef __cplusplus
18240
 
extern "C"
18241
 
#endif
18242
 
/* We use char because int might match the return type of a gcc2
18243
 
   builtin and then its argument prototype would still apply.  */
18244
 
char dlopen ();
18245
 
int
18246
 
main ()
18247
 
{
18248
 
dlopen ();
18249
 
  ;
18250
 
  return 0;
18251
 
}
18252
 
_ACEOF
18253
 
rm -f conftest.$ac_objext conftest$ac_exeext
18254
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18255
 
  (eval $ac_link) 2>conftest.er1
18256
 
  ac_status=$?
18257
 
  grep -v '^ *+' conftest.er1 >conftest.err
18258
 
  rm -f conftest.er1
18259
 
  cat conftest.err >&5
18260
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261
 
  (exit $ac_status); } &&
18262
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18263
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264
 
  (eval $ac_try) 2>&5
18265
 
  ac_status=$?
18266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267
 
  (exit $ac_status); }; } &&
18268
 
         { ac_try='test -s conftest$ac_exeext'
18269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270
 
  (eval $ac_try) 2>&5
18271
 
  ac_status=$?
18272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273
 
  (exit $ac_status); }; }; then
18274
 
  ac_cv_lib_dl_dlopen=yes
18275
 
else
18276
 
  echo "$as_me: failed program was:" >&5
18277
 
sed 's/^/| /' conftest.$ac_ext >&5
18278
 
 
18279
 
ac_cv_lib_dl_dlopen=no
18280
 
fi
18281
 
rm -f conftest.err conftest.$ac_objext \
18282
 
      conftest$ac_exeext conftest.$ac_ext
18283
 
LIBS=$ac_check_lib_save_LIBS
18284
 
fi
18285
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18286
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18287
 
if test $ac_cv_lib_dl_dlopen = yes; then
18288
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18289
 
else
18290
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18291
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18292
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18294
 
else
18295
 
  ac_check_lib_save_LIBS=$LIBS
18296
 
LIBS="-lsvld  $LIBS"
18297
 
cat >conftest.$ac_ext <<_ACEOF
18298
 
/* confdefs.h.  */
18299
 
_ACEOF
18300
 
cat confdefs.h >>conftest.$ac_ext
18301
 
cat >>conftest.$ac_ext <<_ACEOF
18302
 
/* end confdefs.h.  */
18303
 
 
18304
 
/* Override any gcc2 internal prototype to avoid an error.  */
18305
 
#ifdef __cplusplus
18306
 
extern "C"
18307
 
#endif
18308
 
/* We use char because int might match the return type of a gcc2
18309
 
   builtin and then its argument prototype would still apply.  */
18310
 
char dlopen ();
18311
 
int
18312
 
main ()
18313
 
{
18314
 
dlopen ();
18315
 
  ;
18316
 
  return 0;
18317
 
}
18318
 
_ACEOF
18319
 
rm -f conftest.$ac_objext conftest$ac_exeext
18320
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18321
 
  (eval $ac_link) 2>conftest.er1
18322
 
  ac_status=$?
18323
 
  grep -v '^ *+' conftest.er1 >conftest.err
18324
 
  rm -f conftest.er1
18325
 
  cat conftest.err >&5
18326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327
 
  (exit $ac_status); } &&
18328
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18329
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330
 
  (eval $ac_try) 2>&5
18331
 
  ac_status=$?
18332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333
 
  (exit $ac_status); }; } &&
18334
 
         { ac_try='test -s conftest$ac_exeext'
18335
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336
 
  (eval $ac_try) 2>&5
18337
 
  ac_status=$?
18338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339
 
  (exit $ac_status); }; }; then
18340
 
  ac_cv_lib_svld_dlopen=yes
18341
 
else
18342
 
  echo "$as_me: failed program was:" >&5
18343
 
sed 's/^/| /' conftest.$ac_ext >&5
18344
 
 
18345
 
ac_cv_lib_svld_dlopen=no
18346
 
fi
18347
 
rm -f conftest.err conftest.$ac_objext \
18348
 
      conftest$ac_exeext conftest.$ac_ext
18349
 
LIBS=$ac_check_lib_save_LIBS
18350
 
fi
18351
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18352
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18353
 
if test $ac_cv_lib_svld_dlopen = yes; then
18354
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18355
 
else
18356
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18357
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18358
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18360
 
else
18361
 
  ac_check_lib_save_LIBS=$LIBS
18362
 
LIBS="-ldld  $LIBS"
18363
 
cat >conftest.$ac_ext <<_ACEOF
18364
 
/* confdefs.h.  */
18365
 
_ACEOF
18366
 
cat confdefs.h >>conftest.$ac_ext
18367
 
cat >>conftest.$ac_ext <<_ACEOF
18368
 
/* end confdefs.h.  */
18369
 
 
18370
 
/* Override any gcc2 internal prototype to avoid an error.  */
18371
 
#ifdef __cplusplus
18372
 
extern "C"
18373
 
#endif
18374
 
/* We use char because int might match the return type of a gcc2
18375
 
   builtin and then its argument prototype would still apply.  */
18376
 
char dld_link ();
18377
 
int
18378
 
main ()
18379
 
{
18380
 
dld_link ();
18381
 
  ;
18382
 
  return 0;
18383
 
}
18384
 
_ACEOF
18385
 
rm -f conftest.$ac_objext conftest$ac_exeext
18386
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18387
 
  (eval $ac_link) 2>conftest.er1
18388
 
  ac_status=$?
18389
 
  grep -v '^ *+' conftest.er1 >conftest.err
18390
 
  rm -f conftest.er1
18391
 
  cat conftest.err >&5
18392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393
 
  (exit $ac_status); } &&
18394
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18395
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396
 
  (eval $ac_try) 2>&5
18397
 
  ac_status=$?
18398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399
 
  (exit $ac_status); }; } &&
18400
 
         { ac_try='test -s conftest$ac_exeext'
18401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18402
 
  (eval $ac_try) 2>&5
18403
 
  ac_status=$?
18404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405
 
  (exit $ac_status); }; }; then
18406
 
  ac_cv_lib_dld_dld_link=yes
18407
 
else
18408
 
  echo "$as_me: failed program was:" >&5
18409
 
sed 's/^/| /' conftest.$ac_ext >&5
18410
 
 
18411
 
ac_cv_lib_dld_dld_link=no
18412
 
fi
18413
 
rm -f conftest.err conftest.$ac_objext \
18414
 
      conftest$ac_exeext conftest.$ac_ext
18415
 
LIBS=$ac_check_lib_save_LIBS
18416
 
fi
18417
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18418
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18419
 
if test $ac_cv_lib_dld_dld_link = yes; then
18420
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18421
 
fi
18422
 
 
18423
 
 
18424
 
fi
18425
 
 
18426
 
 
18427
 
fi
18428
 
 
18429
 
 
18430
 
fi
18431
 
 
18432
 
 
18433
 
fi
18434
 
 
18435
 
 
18436
 
fi
18437
 
 
18438
 
    ;;
18439
 
  esac
18440
 
 
18441
 
  if test "x$lt_cv_dlopen" != xno; then
18442
 
    enable_dlopen=yes
18443
 
  else
18444
 
    enable_dlopen=no
18445
 
  fi
18446
 
 
18447
 
  case $lt_cv_dlopen in
18448
 
  dlopen)
18449
 
    save_CPPFLAGS="$CPPFLAGS"
18450
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18451
 
 
18452
 
    save_LDFLAGS="$LDFLAGS"
18453
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18454
 
 
18455
 
    save_LIBS="$LIBS"
18456
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18457
 
 
18458
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18459
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18460
 
if test "${lt_cv_dlopen_self+set}" = set; then
18461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18462
 
else
18463
 
          if test "$cross_compiling" = yes; then :
18464
 
  lt_cv_dlopen_self=cross
18465
 
else
18466
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18467
 
  lt_status=$lt_dlunknown
18468
 
  cat > conftest.$ac_ext <<EOF
18469
 
#line 18469 "configure"
18470
 
#include "confdefs.h"
18471
 
 
18472
 
#if HAVE_DLFCN_H
18473
 
#include <dlfcn.h>
18474
 
#endif
18475
 
 
18476
 
#include <stdio.h>
18477
 
 
18478
 
#ifdef RTLD_GLOBAL
18479
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18480
 
#else
18481
 
#  ifdef DL_GLOBAL
18482
 
#    define LT_DLGLOBAL         DL_GLOBAL
18483
 
#  else
18484
 
#    define LT_DLGLOBAL         0
18485
 
#  endif
18486
 
#endif
18487
 
 
18488
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18489
 
   find out it does not work in some platform. */
18490
 
#ifndef LT_DLLAZY_OR_NOW
18491
 
#  ifdef RTLD_LAZY
18492
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18493
 
#  else
18494
 
#    ifdef DL_LAZY
18495
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18496
 
#    else
18497
 
#      ifdef RTLD_NOW
18498
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18499
 
#      else
18500
 
#        ifdef DL_NOW
18501
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18502
 
#        else
18503
 
#          define LT_DLLAZY_OR_NOW      0
18504
 
#        endif
18505
 
#      endif
18506
 
#    endif
18507
 
#  endif
18508
 
#endif
18509
 
 
18510
 
#ifdef __cplusplus
18511
 
extern "C" void exit (int);
18512
 
#endif
18513
 
 
18514
 
void fnord() { int i=42;}
18515
 
int main ()
18516
 
{
18517
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18518
 
  int status = $lt_dlunknown;
18519
 
 
18520
 
  if (self)
18521
 
    {
18522
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18523
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18524
 
      /* dlclose (self); */
18525
 
    }
18526
 
 
18527
 
    exit (status);
18528
 
}
18529
 
EOF
18530
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18531
 
  (eval $ac_link) 2>&5
18532
 
  ac_status=$?
18533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18535
 
    (./conftest; exit; ) >&5 2>/dev/null
18536
 
    lt_status=$?
18537
 
    case x$lt_status in
18538
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18539
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18540
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18541
 
    esac
18542
 
  else :
18543
 
    # compilation failed
18544
 
    lt_cv_dlopen_self=no
18545
 
  fi
18546
 
fi
18547
 
rm -fr conftest*
18548
 
 
18549
 
 
18550
 
fi
18551
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18552
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18553
 
 
18554
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18555
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18556
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18557
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18558
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18559
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18560
 
else
18561
 
          if test "$cross_compiling" = yes; then :
18562
 
  lt_cv_dlopen_self_static=cross
18563
 
else
18564
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18565
 
  lt_status=$lt_dlunknown
18566
 
  cat > conftest.$ac_ext <<EOF
18567
 
#line 18567 "configure"
18568
 
#include "confdefs.h"
18569
 
 
18570
 
#if HAVE_DLFCN_H
18571
 
#include <dlfcn.h>
18572
 
#endif
18573
 
 
18574
 
#include <stdio.h>
18575
 
 
18576
 
#ifdef RTLD_GLOBAL
18577
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18578
 
#else
18579
 
#  ifdef DL_GLOBAL
18580
 
#    define LT_DLGLOBAL         DL_GLOBAL
18581
 
#  else
18582
 
#    define LT_DLGLOBAL         0
18583
 
#  endif
18584
 
#endif
18585
 
 
18586
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18587
 
   find out it does not work in some platform. */
18588
 
#ifndef LT_DLLAZY_OR_NOW
18589
 
#  ifdef RTLD_LAZY
18590
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18591
 
#  else
18592
 
#    ifdef DL_LAZY
18593
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18594
 
#    else
18595
 
#      ifdef RTLD_NOW
18596
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18597
 
#      else
18598
 
#        ifdef DL_NOW
18599
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18600
 
#        else
18601
 
#          define LT_DLLAZY_OR_NOW      0
18602
 
#        endif
18603
 
#      endif
18604
 
#    endif
18605
 
#  endif
18606
 
#endif
18607
 
 
18608
 
#ifdef __cplusplus
18609
 
extern "C" void exit (int);
18610
 
#endif
18611
 
 
18612
 
void fnord() { int i=42;}
18613
 
int main ()
18614
 
{
18615
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18616
 
  int status = $lt_dlunknown;
18617
 
 
18618
 
  if (self)
18619
 
    {
18620
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18621
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18622
 
      /* dlclose (self); */
18623
 
    }
18624
 
 
18625
 
    exit (status);
18626
 
}
18627
 
EOF
18628
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18629
 
  (eval $ac_link) 2>&5
18630
 
  ac_status=$?
18631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18633
 
    (./conftest; exit; ) >&5 2>/dev/null
18634
 
    lt_status=$?
18635
 
    case x$lt_status in
18636
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18637
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18638
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18639
 
    esac
18640
 
  else :
18641
 
    # compilation failed
18642
 
    lt_cv_dlopen_self_static=no
18643
 
  fi
18644
 
fi
18645
 
rm -fr conftest*
18646
 
 
18647
 
 
18648
 
fi
18649
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18650
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18651
 
    fi
18652
 
 
18653
 
    CPPFLAGS="$save_CPPFLAGS"
18654
 
    LDFLAGS="$save_LDFLAGS"
18655
 
    LIBS="$save_LIBS"
18656
 
    ;;
18657
 
  esac
18658
 
 
18659
 
  case $lt_cv_dlopen_self in
18660
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18661
 
  *) enable_dlopen_self=unknown ;;
18662
 
  esac
18663
 
 
18664
 
  case $lt_cv_dlopen_self_static in
18665
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18666
 
  *) enable_dlopen_self_static=unknown ;;
18667
 
  esac
18668
 
fi
18669
 
 
18670
18192
 
18671
18193
# The else clause should only fire when bootstrapping the
18672
18194
# libtool distribution, otherwise you forgot to ship ltmain.sh
18681
18203
  # Now quote all the things that may contain metacharacters while being
18682
18204
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18683
18205
  # variables and quote the copies for generation of the libtool script.
18684
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18206
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18685
18207
    SED SHELL STRIP \
18686
18208
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18687
18209
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18799
18321
# A C compiler.
18800
18322
LTCC=$lt_LTCC
18801
18323
 
 
18324
# LTCC compiler flags.
 
18325
LTCFLAGS=$lt_LTCFLAGS
 
18326
 
18802
18327
# A language-specific compiler.
18803
18328
CC=$lt_compiler_GCJ
18804
18329
 
19089
18614
      RC)
19090
18615
 
19091
18616
 
19092
 
 
19093
18617
# Source file extension for RC test sources.
19094
18618
ac_ext=rc
19095
18619
 
19108
18632
# If no C compiler was specified, use CC.
19109
18633
LTCC=${LTCC-"$CC"}
19110
18634
 
 
18635
# If no C compiler flags were specified, use CFLAGS.
 
18636
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18637
 
19111
18638
# Allow CC to be a program name with arguments.
19112
18639
compiler=$CC
19113
18640
 
19115
18642
# save warnings/boilerplate of simple test code
19116
18643
ac_outfile=conftest.$ac_objext
19117
18644
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19118
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18645
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19119
18646
_lt_compiler_boilerplate=`cat conftest.err`
19120
18647
$rm conftest*
19121
18648
 
19122
18649
ac_outfile=conftest.$ac_objext
19123
18650
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19124
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18651
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19125
18652
_lt_linker_boilerplate=`cat conftest.err`
19126
18653
$rm conftest*
19127
18654
 
19156
18683
  # Now quote all the things that may contain metacharacters while being
19157
18684
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19158
18685
  # variables and quote the copies for generation of the libtool script.
19159
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18686
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19160
18687
    SED SHELL STRIP \
19161
18688
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19162
18689
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19274
18801
# A C compiler.
19275
18802
LTCC=$lt_LTCC
19276
18803
 
 
18804
# LTCC compiler flags.
 
18805
LTCFLAGS=$lt_LTCFLAGS
 
18806
 
19277
18807
# A language-specific compiler.
19278
18808
CC=$lt_compiler_RC
19279
18809
 
19619
19149
for ac_func in memrchr
19620
19150
do
19621
19151
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19622
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19623
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19624
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
19152
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
19153
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
19154
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19625
19155
  echo $ECHO_N "(cached) $ECHO_C" >&6
19626
19156
else
19627
19157
  cat >conftest.$ac_ext <<_ACEOF
19647
19177
 
19648
19178
#undef $ac_func
19649
19179
 
19650
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19180
/* Override any GCC internal prototype to avoid an error.
 
19181
   Use char because int might match the return type of a GCC
 
19182
   builtin and then its argument prototype would still apply.  */
19651
19183
#ifdef __cplusplus
19652
19184
extern "C"
19653
 
{
19654
19185
#endif
19655
 
/* We use char because int might match the return type of a gcc2
19656
 
   builtin and then its argument prototype would still apply.  */
19657
19186
char $ac_func ();
19658
19187
/* The GNU C library defines this for functions which it implements
19659
19188
    to always fail with ENOSYS.  Some functions are actually named
19660
19189
    something starting with __ and the normal name is an alias.  */
19661
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
19190
#if defined __stub_$ac_func || defined __stub___$ac_func
19662
19191
choke me
19663
 
#else
19664
 
char (*f) () = $ac_func;
19665
 
#endif
19666
 
#ifdef __cplusplus
19667
 
}
19668
19192
#endif
19669
19193
 
19670
19194
int
19671
19195
main ()
19672
19196
{
19673
 
return f != $ac_func;
 
19197
return $ac_func ();
19674
19198
  ;
19675
19199
  return 0;
19676
19200
}
19684
19208
  cat conftest.err >&5
19685
19209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686
19210
  (exit $ac_status); } &&
19687
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19211
         { ac_try='test -z "$ac_c_werror_flag"
 
19212
                         || test ! -s conftest.err'
19688
19213
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689
19214
  (eval $ac_try) 2>&5
19690
19215
  ac_status=$?
19701
19226
  echo "$as_me: failed program was:" >&5
19702
19227
sed 's/^/| /' conftest.$ac_ext >&5
19703
19228
 
19704
 
eval "$as_ac_var=no"
 
19229
        eval "$as_ac_var=no"
19705
19230
fi
 
19231
 
19706
19232
rm -f conftest.err conftest.$ac_objext \
19707
19233
      conftest$ac_exeext conftest.$ac_ext
19708
19234
fi
19709
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19710
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
19235
ac_res=`eval echo '${'$as_ac_var'}'`
 
19236
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
19237
echo "${ECHO_T}$ac_res" >&6; }
19711
19238
if test `eval echo '${'$as_ac_var'}'` = yes; then
19712
19239
  cat >>confdefs.h <<_ACEOF
19713
19240
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19721
19248
do
19722
19249
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19723
19250
set dummy $ac_prog; ac_word=$2
19724
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19725
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19251
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19252
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19726
19253
if test "${ac_cv_prog_DOXYGEN+set}" = set; then
19727
19254
  echo $ECHO_N "(cached) $ECHO_C" >&6
19728
19255
else
19735
19262
  IFS=$as_save_IFS
19736
19263
  test -z "$as_dir" && as_dir=.
19737
19264
  for ac_exec_ext in '' $ac_executable_extensions; do
19738
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19739
19266
    ac_cv_prog_DOXYGEN="$ac_prog"
19740
19267
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19741
19268
    break 2
19742
19269
  fi
19743
19270
done
19744
19271
done
 
19272
IFS=$as_save_IFS
19745
19273
 
19746
19274
fi
19747
19275
fi
19748
19276
DOXYGEN=$ac_cv_prog_DOXYGEN
19749
19277
if test -n "$DOXYGEN"; then
19750
 
  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
19751
 
echo "${ECHO_T}$DOXYGEN" >&6
 
19278
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
19279
echo "${ECHO_T}$DOXYGEN" >&6; }
19752
19280
else
19753
 
  echo "$as_me:$LINENO: result: no" >&5
19754
 
echo "${ECHO_T}no" >&6
 
19281
  { echo "$as_me:$LINENO: result: no" >&5
 
19282
echo "${ECHO_T}no" >&6; }
19755
19283
fi
19756
19284
 
 
19285
 
19757
19286
  test -n "$DOXYGEN" && break
19758
19287
done
19759
19288
test -n "$DOXYGEN" || DOXYGEN="false"
19761
19290
 
19762
19291
LIBRARY_VERSION_MAJOR=4
19763
19292
LIBRARY_VERSION_MINOR=0
19764
 
LIBRARY_VERSION_REVISION=5
 
19293
LIBRARY_VERSION_REVISION=6
19765
19294
LIBRARY_VERSION="$LIBRARY_VERSION_MAJOR.$LIBRARY_VERSION_MINOR.$LIBRARY_VERSION_REVISION"
19766
19295
LIBRARY_VERSION_LIBTOOL="$LIBRARY_VERSION_MAJOR:$LIBRARY_VERSION_MINOR:$LIBRARY_VERSION_REVISION"
19767
19296
 
19789
19318
_ACEOF
19790
19319
 
19791
19320
 
19792
 
echo "$as_me:$LINENO: checking whether $CC supports __attribute__((alias))" >&5
19793
 
echo $ECHO_N "checking whether $CC supports __attribute__((alias))... $ECHO_C" >&6
 
19321
{ echo "$as_me:$LINENO: checking whether $CC supports __attribute__((alias))" >&5
 
19322
echo $ECHO_N "checking whether $CC supports __attribute__((alias))... $ECHO_C" >&6; }
19794
19323
if test "${di_cv_support_cc_attribute_alias+set}" = set; then
19795
19324
  echo $ECHO_N "(cached) $ECHO_C" >&6
19796
19325
else
19820
19349
  cat conftest.err >&5
19821
19350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822
19351
  (exit $ac_status); } &&
19823
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19352
         { ac_try='test -z "$ac_c_werror_flag"
 
19353
                         || test ! -s conftest.err'
19824
19354
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825
19355
  (eval $ac_try) 2>&5
19826
19356
  ac_status=$?
19837
19367
  echo "$as_me: failed program was:" >&5
19838
19368
sed 's/^/| /' conftest.$ac_ext >&5
19839
19369
 
19840
 
di_cv_support_cc_attribute_alias=no
 
19370
        di_cv_support_cc_attribute_alias=no
19841
19371
fi
 
19372
 
19842
19373
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19843
19374
fi
19844
 
echo "$as_me:$LINENO: result: $di_cv_support_cc_attribute_alias" >&5
19845
 
echo "${ECHO_T}$di_cv_support_cc_attribute_alias" >&6
 
19375
{ echo "$as_me:$LINENO: result: $di_cv_support_cc_attribute_alias" >&5
 
19376
echo "${ECHO_T}$di_cv_support_cc_attribute_alias" >&6; }
19846
19377
if test $di_cv_support_cc_attribute_alias = yes; then
19847
19378
        HAVE_ATTRIBUTE_ALIAS=1
19848
19379
 
19855
19386
 
19856
19387
 
19857
19388
 
19858
 
echo "$as_me:$LINENO: checking whether PATH_MAX is declared" >&5
19859
 
echo $ECHO_N "checking whether PATH_MAX is declared... $ECHO_C" >&6
 
19389
{ echo "$as_me:$LINENO: checking whether PATH_MAX is declared" >&5
 
19390
echo $ECHO_N "checking whether PATH_MAX is declared... $ECHO_C" >&6; }
19860
19391
if test "${ac_cv_have_decl_PATH_MAX+set}" = set; then
19861
19392
  echo $ECHO_N "(cached) $ECHO_C" >&6
19862
19393
else
19875
19406
{
19876
19407
#ifndef PATH_MAX
19877
19408
  char *p = (char *) PATH_MAX;
 
19409
  return !p;
19878
19410
#endif
19879
19411
 
19880
19412
  ;
19890
19422
  cat conftest.err >&5
19891
19423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
19424
  (exit $ac_status); } &&
19893
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19425
         { ac_try='test -z "$ac_c_werror_flag"
 
19426
                         || test ! -s conftest.err'
19894
19427
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895
19428
  (eval $ac_try) 2>&5
19896
19429
  ac_status=$?
19907
19440
  echo "$as_me: failed program was:" >&5
19908
19441
sed 's/^/| /' conftest.$ac_ext >&5
19909
19442
 
19910
 
ac_cv_have_decl_PATH_MAX=no
 
19443
        ac_cv_have_decl_PATH_MAX=no
19911
19444
fi
 
19445
 
19912
19446
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19913
19447
fi
19914
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_PATH_MAX" >&5
19915
 
echo "${ECHO_T}$ac_cv_have_decl_PATH_MAX" >&6
 
19448
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PATH_MAX" >&5
 
19449
echo "${ECHO_T}$ac_cv_have_decl_PATH_MAX" >&6; }
19916
19450
if test $ac_cv_have_decl_PATH_MAX = yes; then
19917
19451
 
19918
19452
cat >>confdefs.h <<_ACEOF
19933
19467
 
19934
19468
 
19935
19469
 
19936
 
# Check whether --enable-extensive-debug or --disable-extensive-debug was given.
 
19470
# Check whether --enable-extensive-debug was given.
19937
19471
if test "${enable_extensive_debug+set}" = set; then
19938
 
  enableval="$enable_extensive_debug"
 
19472
  enableval=$enable_extensive_debug;
 
19473
fi
19939
19474
 
19940
 
fi;
19941
19475
if test "$enable_extensive_debug" = yes; then
19942
19476
 
19943
19477
cat >>confdefs.h <<_ACEOF
19946
19480
 
19947
19481
fi
19948
19482
 
19949
 
echo "$as_me:$LINENO: checking Debian CPU name" >&5
19950
 
echo $ECHO_N "checking Debian CPU name... $ECHO_C" >&6
 
19483
{ echo "$as_me:$LINENO: checking Debian CPU name" >&5
 
19484
echo $ECHO_N "checking Debian CPU name... $ECHO_C" >&6; }
19951
19485
DEB_HOST_ARCH_CPU="`dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null`"
19952
19486
# Take account of old dpkg-architecture output.
19953
19487
if test -z "$DEB_HOST_ARCH_CPU"; then
19956
19490
                DEB_HOST_ARCH_CPU=amd64
19957
19491
        fi
19958
19492
fi
19959
 
echo "$as_me:$LINENO: result: $DEB_HOST_ARCH_CPU" >&5
19960
 
echo "${ECHO_T}$DEB_HOST_ARCH_CPU" >&6
 
19493
{ echo "$as_me:$LINENO: result: $DEB_HOST_ARCH_CPU" >&5
 
19494
echo "${ECHO_T}$DEB_HOST_ARCH_CPU" >&6; }
19961
19495
 
19962
 
echo "$as_me:$LINENO: checking Debian system name" >&5
19963
 
echo $ECHO_N "checking Debian system name... $ECHO_C" >&6
 
19496
{ echo "$as_me:$LINENO: checking Debian system name" >&5
 
19497
echo $ECHO_N "checking Debian system name... $ECHO_C" >&6; }
19964
19498
DEB_HOST_ARCH_OS="`dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null`"
19965
19499
# Take account of old dpkg-architecture output.
19966
19500
if test -z "$DEB_HOST_ARCH_OS"; then
19969
19503
                DEB_HOST_ARCH_OS=hurd
19970
19504
        fi
19971
19505
fi
19972
 
echo "$as_me:$LINENO: result: $DEB_HOST_ARCH_OS" >&5
19973
 
echo "${ECHO_T}$DEB_HOST_ARCH_OS" >&6
 
19506
{ echo "$as_me:$LINENO: result: $DEB_HOST_ARCH_OS" >&5
 
19507
echo "${ECHO_T}$DEB_HOST_ARCH_OS" >&6; }
19974
19508
 
19975
19509
if test -f "$srcdir/src/system/subarch-$DEB_HOST_ARCH_CPU-$DEB_HOST_ARCH_OS.c"; then
19976
19510
        SUBARCH_SYSTEM="subarch-$DEB_HOST_ARCH_CPU-$DEB_HOST_ARCH_OS.lo"
19979
19513
fi
19980
19514
 
19981
19515
 
19982
 
                    ac_config_headers="$ac_config_headers config.h include/debian-installer/config.h"
19983
 
 
19984
 
 
19985
 
                                                                                                    ac_config_files="$ac_config_files Makefile doc/Doxyfile doc/Makefile include/Makefile include/debian-installer/Makefile include/debian-installer/system/Makefile src/Makefile src/system/Makefile libdebian-installer.pc libdebian-installer-extra.pc"
 
19516
ac_config_headers="$ac_config_headers config.h include/debian-installer/config.h"
 
19517
 
 
19518
 
 
19519
ac_config_files="$ac_config_files Makefile doc/Doxyfile doc/Makefile include/Makefile include/debian-installer/Makefile include/debian-installer/system/Makefile src/Makefile src/system/Makefile libdebian-installer.pc libdebian-installer-extra.pc"
19986
19520
 
19987
19521
 
19988
19522
cat >confcache <<\_ACEOF
20003
19537
 
20004
19538
# The following way of writing the cache mishandles newlines in values,
20005
19539
# but we know of no workaround that is simple, portable, and efficient.
20006
 
# So, don't put newlines in cache variables' values.
 
19540
# So, we kill variables containing newlines.
20007
19541
# Ultrix sh set writes to stderr and can't be redirected directly,
20008
19542
# and sets the high bit in the cache file unless we assign to the vars.
20009
 
{
 
19543
(
 
19544
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
19545
    eval ac_val=\$$ac_var
 
19546
    case $ac_val in #(
 
19547
    *${as_nl}*)
 
19548
      case $ac_var in #(
 
19549
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
19550
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
19551
      esac
 
19552
      case $ac_var in #(
 
19553
      _ | IFS | as_nl) ;; #(
 
19554
      *) $as_unset $ac_var ;;
 
19555
      esac ;;
 
19556
    esac
 
19557
  done
 
19558
 
20010
19559
  (set) 2>&1 |
20011
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20012
 
    *ac_space=\ *)
 
19560
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
19561
    *${as_nl}ac_space=\ *)
20013
19562
      # `set' does not quote correctly, so add quotes (double-quote
20014
19563
      # substitution turns \\\\ into \\, and sed turns \\ into \).
20015
19564
      sed -n \
20016
19565
        "s/'/'\\\\''/g;
20017
19566
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20018
 
      ;;
 
19567
      ;; #(
20019
19568
    *)
20020
19569
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20021
 
      sed -n \
20022
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
19570
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20023
19571
      ;;
20024
 
    esac;
20025
 
} |
 
19572
    esac |
 
19573
    sort
 
19574
) |
20026
19575
  sed '
 
19576
     /^ac_cv_env_/b end
20027
19577
     t clear
20028
 
     : clear
 
19578
     :clear
20029
19579
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20030
19580
     t end
20031
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20032
 
     : end' >>confcache
20033
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20034
 
  if test -w $cache_file; then
20035
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
19581
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
19582
     :end' >>confcache
 
19583
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
19584
  if test -w "$cache_file"; then
 
19585
    test "x$cache_file" != "x/dev/null" &&
 
19586
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
19587
echo "$as_me: updating cache $cache_file" >&6;}
20036
19588
    cat confcache >$cache_file
20037
19589
  else
20038
 
    echo "not updating unwritable cache $cache_file"
 
19590
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
19591
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20039
19592
  fi
20040
19593
fi
20041
19594
rm -f confcache
20044
19597
# Let make expand exec_prefix.
20045
19598
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20046
19599
 
20047
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20048
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20049
 
# trailing colons and then remove the whole line if VPATH becomes empty
20050
 
# (actually we leave an empty line to preserve line numbers).
20051
 
if test "x$srcdir" = x.; then
20052
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20053
 
s/:*\$(srcdir):*/:/;
20054
 
s/:*\${srcdir}:*/:/;
20055
 
s/:*@srcdir@:*/:/;
20056
 
s/^\([^=]*=[     ]*\):*/\1/;
20057
 
s/:*$//;
20058
 
s/^[^=]*=[       ]*$//;
20059
 
}'
20060
 
fi
20061
 
 
20062
19600
DEFS=-DHAVE_CONFIG_H
20063
19601
 
20064
19602
ac_libobjs=
20065
19603
ac_ltlibobjs=
20066
19604
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20067
19605
  # 1. Remove the extension, and $U if already installed.
20068
 
  ac_i=`echo "$ac_i" |
20069
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20070
 
  # 2. Add them.
20071
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20072
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
19606
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
19607
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
19608
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
19609
  #    will be set to the directory where LIBOBJS objects are built.
 
19610
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
19611
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20073
19612
done
20074
19613
LIBOBJS=$ac_libobjs
20075
19614
 
20135
19674
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20136
19675
  # is contrary to our usage.  Disable this feature.
20137
19676
  alias -g '${1+"$@"}'='"$@"'
20138
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20139
 
  set -o posix
 
19677
  setopt NO_GLOB_SUBST
 
19678
else
 
19679
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
20140
19680
fi
 
19681
BIN_SH=xpg4; export BIN_SH # for Tru64
20141
19682
DUALCASE=1; export DUALCASE # for MKS sh
20142
19683
 
 
19684
 
 
19685
# PATH needs CR
 
19686
# Avoid depending upon Character Ranges.
 
19687
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
19688
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
19689
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
19690
as_cr_digits='0123456789'
 
19691
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
19692
 
 
19693
# The user is always right.
 
19694
if test "${PATH_SEPARATOR+set}" != set; then
 
19695
  echo "#! /bin/sh" >conf$$.sh
 
19696
  echo  "exit 0"   >>conf$$.sh
 
19697
  chmod +x conf$$.sh
 
19698
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
19699
    PATH_SEPARATOR=';'
 
19700
  else
 
19701
    PATH_SEPARATOR=:
 
19702
  fi
 
19703
  rm -f conf$$.sh
 
19704
fi
 
19705
 
20143
19706
# Support unset when possible.
20144
19707
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20145
19708
  as_unset=unset
20148
19711
fi
20149
19712
 
20150
19713
 
 
19714
# IFS
 
19715
# We need space, tab and new line, in precisely that order.  Quoting is
 
19716
# there to prevent editors from complaining about space-tab.
 
19717
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
19718
# splitting by setting IFS to empty value.)
 
19719
as_nl='
 
19720
'
 
19721
IFS=" ""        $as_nl"
 
19722
 
 
19723
# Find who we are.  Look in the path if we contain no directory separator.
 
19724
case $0 in
 
19725
  *[\\/]* ) as_myself=$0 ;;
 
19726
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19727
for as_dir in $PATH
 
19728
do
 
19729
  IFS=$as_save_IFS
 
19730
  test -z "$as_dir" && as_dir=.
 
19731
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
19732
done
 
19733
IFS=$as_save_IFS
 
19734
 
 
19735
     ;;
 
19736
esac
 
19737
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
19738
# in which case we are not to be found in the path.
 
19739
if test "x$as_myself" = x; then
 
19740
  as_myself=$0
 
19741
fi
 
19742
if test ! -f "$as_myself"; then
 
19743
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
19744
  { (exit 1); exit 1; }
 
19745
fi
 
19746
 
20151
19747
# Work around bugs in pre-3.0 UWIN ksh.
20152
 
$as_unset ENV MAIL MAILPATH
 
19748
for as_var in ENV MAIL MAILPATH
 
19749
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
19750
done
20153
19751
PS1='$ '
20154
19752
PS2='> '
20155
19753
PS4='+ '
20163
19761
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20164
19762
    eval $as_var=C; export $as_var
20165
19763
  else
20166
 
    $as_unset $as_var
 
19764
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20167
19765
  fi
20168
19766
done
20169
19767
 
20170
19768
# Required to use basename.
20171
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
19769
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
19770
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20172
19771
  as_expr=expr
20173
19772
else
20174
19773
  as_expr=false
20175
19774
fi
20176
19775
 
20177
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
19776
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20178
19777
  as_basename=basename
20179
19778
else
20180
19779
  as_basename=false
20182
19781
 
20183
19782
 
20184
19783
# Name of the executable.
20185
 
as_me=`$as_basename "$0" ||
 
19784
as_me=`$as_basename -- "$0" ||
20186
19785
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20187
19786
         X"$0" : 'X\(//\)$' \| \
20188
 
         X"$0" : 'X\(/\)$' \| \
20189
 
         .     : '\(.\)' 2>/dev/null ||
 
19787
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20190
19788
echo X/"$0" |
20191
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20192
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
20193
 
          /^X\/\(\/\).*/{ s//\1/; q; }
20194
 
          s/.*/./; q'`
20195
 
 
20196
 
 
20197
 
# PATH needs CR, and LINENO needs CR and PATH.
20198
 
# Avoid depending upon Character Ranges.
20199
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20200
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20201
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20202
 
as_cr_digits='0123456789'
20203
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
20204
 
 
20205
 
# The user is always right.
20206
 
if test "${PATH_SEPARATOR+set}" != set; then
20207
 
  echo "#! /bin/sh" >conf$$.sh
20208
 
  echo  "exit 0"   >>conf$$.sh
20209
 
  chmod +x conf$$.sh
20210
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20211
 
    PATH_SEPARATOR=';'
20212
 
  else
20213
 
    PATH_SEPARATOR=:
20214
 
  fi
20215
 
  rm -f conf$$.sh
20216
 
fi
20217
 
 
20218
 
 
20219
 
  as_lineno_1=$LINENO
20220
 
  as_lineno_2=$LINENO
20221
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20222
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20223
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
20224
 
  # Find who we are.  Look in the path if we contain no path at all
20225
 
  # relative or not.
20226
 
  case $0 in
20227
 
    *[\\/]* ) as_myself=$0 ;;
20228
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20229
 
for as_dir in $PATH
20230
 
do
20231
 
  IFS=$as_save_IFS
20232
 
  test -z "$as_dir" && as_dir=.
20233
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20234
 
done
20235
 
 
20236
 
       ;;
20237
 
  esac
20238
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
20239
 
  # in which case we are not to be found in the path.
20240
 
  if test "x$as_myself" = x; then
20241
 
    as_myself=$0
20242
 
  fi
20243
 
  if test ! -f "$as_myself"; then
20244
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20245
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20246
 
   { (exit 1); exit 1; }; }
20247
 
  fi
20248
 
  case $CONFIG_SHELL in
20249
 
  '')
20250
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20251
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20252
 
do
20253
 
  IFS=$as_save_IFS
20254
 
  test -z "$as_dir" && as_dir=.
20255
 
  for as_base in sh bash ksh sh5; do
20256
 
         case $as_dir in
20257
 
         /*)
20258
 
           if ("$as_dir/$as_base" -c '
20259
 
  as_lineno_1=$LINENO
20260
 
  as_lineno_2=$LINENO
20261
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20262
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20263
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
20264
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20265
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20266
 
             CONFIG_SHELL=$as_dir/$as_base
20267
 
             export CONFIG_SHELL
20268
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20269
 
           fi;;
20270
 
         esac
20271
 
       done
20272
 
done
20273
 
;;
20274
 
  esac
 
19789
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
19790
            s//\1/
 
19791
            q
 
19792
          }
 
19793
          /^X\/\(\/\/\)$/{
 
19794
            s//\1/
 
19795
            q
 
19796
          }
 
19797
          /^X\/\(\/\).*/{
 
19798
            s//\1/
 
19799
            q
 
19800
          }
 
19801
          s/.*/./; q'`
 
19802
 
 
19803
# CDPATH.
 
19804
$as_unset CDPATH
 
19805
 
 
19806
 
 
19807
 
 
19808
  as_lineno_1=$LINENO
 
19809
  as_lineno_2=$LINENO
 
19810
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
19811
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20275
19812
 
20276
19813
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20277
19814
  # uniformly replaced by the line number.  The first 'sed' inserts a
20278
 
  # line-number line before each line; the second 'sed' does the real
20279
 
  # work.  The second script uses 'N' to pair each line-number line
20280
 
  # with the numbered line, and appends trailing '-' during
20281
 
  # substitution so that $LINENO is not a special case at line end.
 
19815
  # line-number line after each line using $LINENO; the second 'sed'
 
19816
  # does the real work.  The second script uses 'N' to pair each
 
19817
  # line-number line with the line containing $LINENO, and appends
 
19818
  # trailing '-' during substitution so that $LINENO is not a special
 
19819
  # case at line end.
20282
19820
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20283
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
20284
 
  sed '=' <$as_myself |
 
19821
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
19822
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
19823
  sed -n '
 
19824
    p
 
19825
    /[$]LINENO/=
 
19826
  ' <$as_myself |
20285
19827
    sed '
 
19828
      s/[$]LINENO.*/&-/
 
19829
      t lineno
 
19830
      b
 
19831
      :lineno
20286
19832
      N
20287
 
      s,$,-,
20288
 
      : loop
20289
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
19833
      :loop
 
19834
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20290
19835
      t loop
20291
 
      s,-$,,
20292
 
      s,^['$as_cr_digits']*\n,,
 
19836
      s/-\n.*//
20293
19837
    ' >$as_me.lineno &&
20294
 
  chmod +x $as_me.lineno ||
20295
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20296
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
19838
  chmod +x "$as_me.lineno" ||
 
19839
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20297
19840
   { (exit 1); exit 1; }; }
20298
19841
 
20299
19842
  # Don't try to exec as it changes $[0], causing all sort of problems
20300
19843
  # (the dirname of $[0] is not the place where we might find the
20301
 
  # original and so on.  Autoconf is especially sensible to this).
20302
 
  . ./$as_me.lineno
 
19844
  # original and so on.  Autoconf is especially sensitive to this).
 
19845
  . "./$as_me.lineno"
20303
19846
  # Exit status is that of the last command.
20304
19847
  exit
20305
19848
}
20306
19849
 
20307
19850
 
20308
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20309
 
  *c*,-n*) ECHO_N= ECHO_C='
20310
 
' ECHO_T='      ' ;;
20311
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20312
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
19851
if (dirname -- /) >/dev/null 2>&1; then
 
19852
  as_dirname=dirname
 
19853
else
 
19854
  as_dirname=false
 
19855
fi
 
19856
 
 
19857
ECHO_C= ECHO_N= ECHO_T=
 
19858
case `echo -n x` in
 
19859
-n*)
 
19860
  case `echo 'x\c'` in
 
19861
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
19862
  *)   ECHO_C='\c';;
 
19863
  esac;;
 
19864
*)
 
19865
  ECHO_N='-n';;
20313
19866
esac
20314
19867
 
20315
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
19868
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
19869
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20316
19870
  as_expr=expr
20317
19871
else
20318
19872
  as_expr=false
20319
19873
fi
20320
19874
 
20321
19875
rm -f conf$$ conf$$.exe conf$$.file
 
19876
if test -d conf$$.dir; then
 
19877
  rm -f conf$$.dir/conf$$.file
 
19878
else
 
19879
  rm -f conf$$.dir
 
19880
  mkdir conf$$.dir
 
19881
fi
20322
19882
echo >conf$$.file
20323
19883
if ln -s conf$$.file conf$$ 2>/dev/null; then
20324
 
  # We could just check for DJGPP; but this test a) works b) is more generic
20325
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20326
 
  if test -f conf$$.exe; then
20327
 
    # Don't use ln at all; we don't have any links
 
19884
  as_ln_s='ln -s'
 
19885
  # ... but there are two gotchas:
 
19886
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
19887
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
19888
  # In both cases, we have to default to `cp -p'.
 
19889
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20328
19890
    as_ln_s='cp -p'
20329
 
  else
20330
 
    as_ln_s='ln -s'
20331
 
  fi
20332
19891
elif ln conf$$.file conf$$ 2>/dev/null; then
20333
19892
  as_ln_s=ln
20334
19893
else
20335
19894
  as_ln_s='cp -p'
20336
19895
fi
20337
 
rm -f conf$$ conf$$.exe conf$$.file
 
19896
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
19897
rmdir conf$$.dir 2>/dev/null
20338
19898
 
20339
19899
if mkdir -p . 2>/dev/null; then
20340
19900
  as_mkdir_p=:
20343
19903
  as_mkdir_p=false
20344
19904
fi
20345
19905
 
20346
 
as_executable_p="test -f"
 
19906
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
19907
# systems may use methods other than mode bits to determine executability.
 
19908
cat >conf$$.file <<_ASEOF
 
19909
#! /bin/sh
 
19910
exit 0
 
19911
_ASEOF
 
19912
chmod +x conf$$.file
 
19913
if test -x conf$$.file >/dev/null 2>&1; then
 
19914
  as_executable_p="test -x"
 
19915
else
 
19916
  as_executable_p=:
 
19917
fi
 
19918
rm -f conf$$.file
20347
19919
 
20348
19920
# Sed expression to map a string onto a valid CPP name.
20349
19921
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20352
19924
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20353
19925
 
20354
19926
 
20355
 
# IFS
20356
 
# We need space, tab and new line, in precisely that order.
20357
 
as_nl='
20358
 
'
20359
 
IFS="   $as_nl"
20360
 
 
20361
 
# CDPATH.
20362
 
$as_unset CDPATH
20363
 
 
20364
19927
exec 6>&1
20365
19928
 
20366
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
19929
# Save the log message, to keep $[0] and so on meaningful, and to
20367
19930
# report actual input values of CONFIG_FILES etc. instead of their
20368
 
# values after options handling.  Logging --version etc. is OK.
20369
 
exec 5>>config.log
20370
 
{
20371
 
  echo
20372
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20373
 
## Running $as_me. ##
20374
 
_ASBOX
20375
 
} >&5
20376
 
cat >&5 <<_CSEOF
20377
 
 
20378
 
This file was extended by libdebian-installer $as_me 0.36, which was
20379
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
19931
# values after options handling.
 
19932
ac_log="
 
19933
This file was extended by libdebian-installer $as_me 0.42, which was
 
19934
generated by GNU Autoconf 2.59d.  Invocation command line was
20380
19935
 
20381
19936
  CONFIG_FILES    = $CONFIG_FILES
20382
19937
  CONFIG_HEADERS  = $CONFIG_HEADERS
20384
19939
  CONFIG_COMMANDS = $CONFIG_COMMANDS
20385
19940
  $ $0 $@
20386
19941
 
20387
 
_CSEOF
20388
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20389
 
echo >&5
 
19942
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
19943
"
 
19944
 
20390
19945
_ACEOF
20391
19946
 
 
19947
cat >>$CONFIG_STATUS <<_ACEOF
20392
19948
# Files that config.status was made for.
20393
 
if test -n "$ac_config_files"; then
20394
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20395
 
fi
20396
 
 
20397
 
if test -n "$ac_config_headers"; then
20398
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20399
 
fi
20400
 
 
20401
 
if test -n "$ac_config_links"; then
20402
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20403
 
fi
20404
 
 
20405
 
if test -n "$ac_config_commands"; then
20406
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20407
 
fi
 
19949
config_files="$ac_config_files"
 
19950
config_headers="$ac_config_headers"
 
19951
config_commands="$ac_config_commands"
 
19952
 
 
19953
_ACEOF
20408
19954
 
20409
19955
cat >>$CONFIG_STATUS <<\_ACEOF
20410
 
 
20411
19956
ac_cs_usage="\
20412
19957
\`$as_me' instantiates files from templates according to the
20413
19958
current configuration.
20434
19979
$config_commands
20435
19980
 
20436
19981
Report bugs to <bug-autoconf@gnu.org>."
 
19982
 
20437
19983
_ACEOF
20438
 
 
20439
19984
cat >>$CONFIG_STATUS <<_ACEOF
20440
19985
ac_cs_version="\\
20441
 
libdebian-installer config.status 0.36
20442
 
configured by $0, generated by GNU Autoconf 2.59,
 
19986
libdebian-installer config.status 0.42
 
19987
configured by $0, generated by GNU Autoconf 2.59d,
20443
19988
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20444
19989
 
20445
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
19990
Copyright (C) 2006 Free Software Foundation, Inc.
20446
19991
This config.status script is free software; the Free Software Foundation
20447
19992
gives unlimited permission to copy, distribute and modify it."
20448
 
srcdir=$srcdir
20449
 
INSTALL="$INSTALL"
 
19993
 
 
19994
ac_pwd='$ac_pwd'
 
19995
srcdir='$srcdir'
 
19996
INSTALL='$INSTALL'
20450
19997
_ACEOF
20451
19998
 
20452
19999
cat >>$CONFIG_STATUS <<\_ACEOF
20457
20004
do
20458
20005
  case $1 in
20459
20006
  --*=*)
20460
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
20461
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
20007
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
20008
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20462
20009
    ac_shift=:
20463
20010
    ;;
20464
 
  -*)
 
20011
  *)
20465
20012
    ac_option=$1
20466
20013
    ac_optarg=$2
20467
20014
    ac_shift=shift
20468
20015
    ;;
20469
 
  *) # This is not an option, so the user has probably given explicit
20470
 
     # arguments.
20471
 
     ac_option=$1
20472
 
     ac_need_defaults=false;;
20473
20016
  esac
20474
20017
 
20475
20018
  case $ac_option in
20476
20019
  # Handling of the options.
20477
 
_ACEOF
20478
 
cat >>$CONFIG_STATUS <<\_ACEOF
20479
20020
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20480
20021
    ac_cs_recheck=: ;;
20481
 
  --version | --vers* | -V )
20482
 
    echo "$ac_cs_version"; exit 0 ;;
20483
 
  --he | --h)
20484
 
    # Conflict between --help and --header
20485
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
20486
 
Try \`$0 --help' for more information." >&5
20487
 
echo "$as_me: error: ambiguous option: $1
20488
 
Try \`$0 --help' for more information." >&2;}
20489
 
   { (exit 1); exit 1; }; };;
20490
 
  --help | --hel | -h )
20491
 
    echo "$ac_cs_usage"; exit 0 ;;
20492
 
  --debug | --d* | -d )
 
20022
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
20023
    echo "$ac_cs_version"; exit ;;
 
20024
  --debug | --debu | --deb | --de | --d | -d )
20493
20025
    debug=: ;;
20494
20026
  --file | --fil | --fi | --f )
20495
20027
    $ac_shift
20499
20031
    $ac_shift
20500
20032
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20501
20033
    ac_need_defaults=false;;
 
20034
  --he | --h)
 
20035
    # Conflict between --help and --header
 
20036
    { echo "$as_me: error: ambiguous option: $1
 
20037
Try \`$0 --help' for more information." >&2
 
20038
   { (exit 1); exit 1; }; };;
 
20039
  --help | --hel | -h )
 
20040
    echo "$ac_cs_usage"; exit ;;
20502
20041
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20503
20042
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20504
20043
    ac_cs_silent=: ;;
20505
20044
 
20506
20045
  # This is an error.
20507
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20508
 
Try \`$0 --help' for more information." >&5
20509
 
echo "$as_me: error: unrecognized option: $1
20510
 
Try \`$0 --help' for more information." >&2;}
 
20046
  -*) { echo "$as_me: error: unrecognized option: $1
 
20047
Try \`$0 --help' for more information." >&2
20511
20048
   { (exit 1); exit 1; }; } ;;
20512
20049
 
20513
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
20050
  *) ac_config_targets="$ac_config_targets $1"
 
20051
     ac_need_defaults=false ;;
20514
20052
 
20515
20053
  esac
20516
20054
  shift
20526
20064
_ACEOF
20527
20065
cat >>$CONFIG_STATUS <<_ACEOF
20528
20066
if \$ac_cs_recheck; then
20529
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20530
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20067
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
20068
  CONFIG_SHELL=$SHELL
 
20069
  export CONFIG_SHELL
 
20070
  exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20531
20071
fi
20532
20072
 
20533
20073
_ACEOF
 
20074
cat >>$CONFIG_STATUS <<\_ACEOF
 
20075
exec 5>>config.log
 
20076
{
 
20077
  echo
 
20078
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
20079
## Running $as_me. ##
 
20080
_ASBOX
 
20081
  echo "$ac_log"
 
20082
} >&5
20534
20083
 
 
20084
_ACEOF
20535
20085
cat >>$CONFIG_STATUS <<_ACEOF
20536
20086
#
20537
 
# INIT-COMMANDS section.
 
20087
# INIT-COMMANDS
20538
20088
#
20539
 
 
20540
20089
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20541
20090
 
20542
20091
_ACEOF
20543
20092
 
20544
 
 
20545
 
 
20546
20093
cat >>$CONFIG_STATUS <<\_ACEOF
 
20094
 
 
20095
# Handling of arguments.
20547
20096
for ac_config_target in $ac_config_targets
20548
20097
do
20549
 
  case "$ac_config_target" in
20550
 
  # Handling of arguments.
20551
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20552
 
  "doc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
20553
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20554
 
  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20555
 
  "include/debian-installer/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/debian-installer/Makefile" ;;
20556
 
  "include/debian-installer/system/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/debian-installer/system/Makefile" ;;
20557
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20558
 
  "src/system/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/system/Makefile" ;;
20559
 
  "libdebian-installer.pc" ) CONFIG_FILES="$CONFIG_FILES libdebian-installer.pc" ;;
20560
 
  "libdebian-installer-extra.pc" ) CONFIG_FILES="$CONFIG_FILES libdebian-installer-extra.pc" ;;
20561
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20562
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20563
 
  "include/debian-installer/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/debian-installer/config.h" ;;
 
20098
  case $ac_config_target in
 
20099
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
20100
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
20101
    "include/debian-installer/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/debian-installer/config.h" ;;
 
20102
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
20103
    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
 
20104
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
20105
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
20106
    "include/debian-installer/Makefile") CONFIG_FILES="$CONFIG_FILES include/debian-installer/Makefile" ;;
 
20107
    "include/debian-installer/system/Makefile") CONFIG_FILES="$CONFIG_FILES include/debian-installer/system/Makefile" ;;
 
20108
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
20109
    "src/system/Makefile") CONFIG_FILES="$CONFIG_FILES src/system/Makefile" ;;
 
20110
    "libdebian-installer.pc") CONFIG_FILES="$CONFIG_FILES libdebian-installer.pc" ;;
 
20111
    "libdebian-installer-extra.pc") CONFIG_FILES="$CONFIG_FILES libdebian-installer-extra.pc" ;;
 
20112
 
20564
20113
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20565
20114
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20566
20115
   { (exit 1); exit 1; }; };;
20567
20116
  esac
20568
20117
done
20569
20118
 
 
20119
 
20570
20120
# If the user did not use the arguments to specify the items to instantiate,
20571
20121
# then the envvar interface is used.  Set only those that are not.
20572
20122
# We use the long form for the default assignment because of an extremely
20578
20128
fi
20579
20129
 
20580
20130
# Have a temporary directory for convenience.  Make it in the build tree
20581
 
# simply because there is no reason to put it here, and in addition,
 
20131
# simply because there is no reason against having it here, and in addition,
20582
20132
# creating and moving files from /tmp can sometimes cause problems.
20583
 
# Create a temporary directory, and hook for its removal unless debugging.
 
20133
# Hook for its removal unless debugging.
 
20134
# Note that there is a small window in which the directory will not be cleaned:
 
20135
# after its creation but before its name has been assigned to `$tmp'.
20584
20136
$debug ||
20585
20137
{
20586
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
20138
  tmp=
 
20139
  trap 'exit_status=$?
 
20140
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
20141
' 0
20587
20142
  trap '{ (exit 1); exit 1; }' 1 2 13 15
20588
20143
}
20589
 
 
20590
20144
# Create a (secure) tmp directory for tmp files.
20591
20145
 
20592
20146
{
20593
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
20147
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20594
20148
  test -n "$tmp" && test -d "$tmp"
20595
20149
}  ||
20596
20150
{
20597
 
  tmp=./confstat$$-$RANDOM
20598
 
  (umask 077 && mkdir $tmp)
 
20151
  tmp=./conf$$-$RANDOM
 
20152
  (umask 077 && mkdir "$tmp")
20599
20153
} ||
20600
20154
{
20601
20155
   echo "$me: cannot create a temporary directory in ." >&2
20602
20156
   { (exit 1); exit 1; }
20603
20157
}
20604
20158
 
20605
 
_ACEOF
20606
 
 
20607
 
cat >>$CONFIG_STATUS <<_ACEOF
20608
 
 
20609
20159
#
20610
 
# CONFIG_FILES section.
 
20160
# Set up the sed scripts for CONFIG_FILES section.
20611
20161
#
20612
20162
 
20613
20163
# No need to generate the scripts if there are no CONFIG_FILES.
20614
20164
# This happens for instance when ./config.status config.h
20615
 
if test -n "\$CONFIG_FILES"; then
20616
 
  # Protect against being on the right side of a sed subst in config.status.
20617
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20618
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20619
 
s,@SHELL@,$SHELL,;t t
20620
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20621
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20622
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20623
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20624
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20625
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20626
 
s,@exec_prefix@,$exec_prefix,;t t
20627
 
s,@prefix@,$prefix,;t t
20628
 
s,@program_transform_name@,$program_transform_name,;t t
20629
 
s,@bindir@,$bindir,;t t
20630
 
s,@sbindir@,$sbindir,;t t
20631
 
s,@libexecdir@,$libexecdir,;t t
20632
 
s,@datadir@,$datadir,;t t
20633
 
s,@sysconfdir@,$sysconfdir,;t t
20634
 
s,@sharedstatedir@,$sharedstatedir,;t t
20635
 
s,@localstatedir@,$localstatedir,;t t
20636
 
s,@libdir@,$libdir,;t t
20637
 
s,@includedir@,$includedir,;t t
20638
 
s,@oldincludedir@,$oldincludedir,;t t
20639
 
s,@infodir@,$infodir,;t t
20640
 
s,@mandir@,$mandir,;t t
20641
 
s,@build_alias@,$build_alias,;t t
20642
 
s,@host_alias@,$host_alias,;t t
20643
 
s,@target_alias@,$target_alias,;t t
20644
 
s,@DEFS@,$DEFS,;t t
20645
 
s,@ECHO_C@,$ECHO_C,;t t
20646
 
s,@ECHO_N@,$ECHO_N,;t t
20647
 
s,@ECHO_T@,$ECHO_T,;t t
20648
 
s,@LIBS@,$LIBS,;t t
20649
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20650
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20651
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20652
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
20653
 
s,@PACKAGE@,$PACKAGE,;t t
20654
 
s,@VERSION@,$VERSION,;t t
20655
 
s,@ACLOCAL@,$ACLOCAL,;t t
20656
 
s,@AUTOCONF@,$AUTOCONF,;t t
20657
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
20658
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
20659
 
s,@MAKEINFO@,$MAKEINFO,;t t
20660
 
s,@AMTAR@,$AMTAR,;t t
20661
 
s,@install_sh@,$install_sh,;t t
20662
 
s,@STRIP@,$STRIP,;t t
20663
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20664
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20665
 
s,@mkdir_p@,$mkdir_p,;t t
20666
 
s,@AWK@,$AWK,;t t
20667
 
s,@SET_MAKE@,$SET_MAKE,;t t
20668
 
s,@am__leading_dot@,$am__leading_dot,;t t
20669
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20670
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20671
 
s,@MAINT@,$MAINT,;t t
20672
 
s,@CC@,$CC,;t t
20673
 
s,@CFLAGS@,$CFLAGS,;t t
20674
 
s,@LDFLAGS@,$LDFLAGS,;t t
20675
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
20676
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
20677
 
s,@EXEEXT@,$EXEEXT,;t t
20678
 
s,@OBJEXT@,$OBJEXT,;t t
20679
 
s,@DEPDIR@,$DEPDIR,;t t
20680
 
s,@am__include@,$am__include,;t t
20681
 
s,@am__quote@,$am__quote,;t t
20682
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20683
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20684
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20685
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
20686
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20687
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20688
 
s,@build@,$build,;t t
20689
 
s,@build_cpu@,$build_cpu,;t t
20690
 
s,@build_vendor@,$build_vendor,;t t
20691
 
s,@build_os@,$build_os,;t t
20692
 
s,@host@,$host,;t t
20693
 
s,@host_cpu@,$host_cpu,;t t
20694
 
s,@host_vendor@,$host_vendor,;t t
20695
 
s,@host_os@,$host_os,;t t
20696
 
s,@EGREP@,$EGREP,;t t
20697
 
s,@LN_S@,$LN_S,;t t
20698
 
s,@ECHO@,$ECHO,;t t
20699
 
s,@AR@,$AR,;t t
20700
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
20701
 
s,@RANLIB@,$RANLIB,;t t
20702
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20703
 
s,@CPP@,$CPP,;t t
20704
 
s,@CXX@,$CXX,;t t
20705
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
20706
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20707
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20708
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20709
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20710
 
s,@CXXCPP@,$CXXCPP,;t t
20711
 
s,@F77@,$F77,;t t
20712
 
s,@FFLAGS@,$FFLAGS,;t t
20713
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
20714
 
s,@LIBTOOL@,$LIBTOOL,;t t
20715
 
s,@DOXYGEN@,$DOXYGEN,;t t
20716
 
s,@LIBRARY_VERSION_LIBTOOL@,$LIBRARY_VERSION_LIBTOOL,;t t
20717
 
s,@LIBRARY_VERSION_MAJOR@,$LIBRARY_VERSION_MAJOR,;t t
20718
 
s,@SUBARCH_SYSTEM@,$SUBARCH_SYSTEM,;t t
20719
 
s,@LIBOBJS@,$LIBOBJS,;t t
20720
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20721
 
CEOF
20722
 
 
20723
 
_ACEOF
20724
 
 
20725
 
  cat >>$CONFIG_STATUS <<\_ACEOF
20726
 
  # Split the substitutions into bite-sized pieces for seds with
20727
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
20728
 
  ac_max_sed_lines=48
20729
 
  ac_sed_frag=1 # Number of current file.
20730
 
  ac_beg=1 # First line for current file.
20731
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
20732
 
  ac_more_lines=:
20733
 
  ac_sed_cmds=
20734
 
  while $ac_more_lines; do
20735
 
    if test $ac_beg -gt 1; then
20736
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20737
 
    else
20738
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20739
 
    fi
20740
 
    if test ! -s $tmp/subs.frag; then
20741
 
      ac_more_lines=false
20742
 
    else
20743
 
      # The purpose of the label and of the branching condition is to
20744
 
      # speed up the sed processing (if there are no `@' at all, there
20745
 
      # is no need to browse any of the substitutions).
20746
 
      # These are the two extra sed commands mentioned above.
20747
 
      (echo ':t
20748
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20749
 
      if test -z "$ac_sed_cmds"; then
20750
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20751
 
      else
20752
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20753
 
      fi
20754
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
20755
 
      ac_beg=$ac_end
20756
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
20757
 
    fi
20758
 
  done
20759
 
  if test -z "$ac_sed_cmds"; then
20760
 
    ac_sed_cmds=cat
20761
 
  fi
 
20165
if test -n "$CONFIG_FILES"; then
 
20166
 
 
20167
_ACEOF
 
20168
 
 
20169
 
 
20170
 
 
20171
ac_delim='%!_!# '
 
20172
for ac_last_try in false false false false false :; do
 
20173
  cat >conf$$subs.sed <<_ACEOF
 
20174
SHELL!$SHELL$ac_delim
 
20175
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
20176
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
20177
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
20178
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
20179
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
20180
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
20181
exec_prefix!$exec_prefix$ac_delim
 
20182
prefix!$prefix$ac_delim
 
20183
program_transform_name!$program_transform_name$ac_delim
 
20184
bindir!$bindir$ac_delim
 
20185
sbindir!$sbindir$ac_delim
 
20186
libexecdir!$libexecdir$ac_delim
 
20187
datarootdir!$datarootdir$ac_delim
 
20188
datadir!$datadir$ac_delim
 
20189
sysconfdir!$sysconfdir$ac_delim
 
20190
sharedstatedir!$sharedstatedir$ac_delim
 
20191
localstatedir!$localstatedir$ac_delim
 
20192
includedir!$includedir$ac_delim
 
20193
oldincludedir!$oldincludedir$ac_delim
 
20194
docdir!$docdir$ac_delim
 
20195
infodir!$infodir$ac_delim
 
20196
htmldir!$htmldir$ac_delim
 
20197
dvidir!$dvidir$ac_delim
 
20198
pdfdir!$pdfdir$ac_delim
 
20199
psdir!$psdir$ac_delim
 
20200
libdir!$libdir$ac_delim
 
20201
localedir!$localedir$ac_delim
 
20202
mandir!$mandir$ac_delim
 
20203
DEFS!$DEFS$ac_delim
 
20204
ECHO_C!$ECHO_C$ac_delim
 
20205
ECHO_N!$ECHO_N$ac_delim
 
20206
ECHO_T!$ECHO_T$ac_delim
 
20207
LIBS!$LIBS$ac_delim
 
20208
build_alias!$build_alias$ac_delim
 
20209
host_alias!$host_alias$ac_delim
 
20210
target_alias!$target_alias$ac_delim
 
20211
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
20212
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
20213
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
20214
CYGPATH_W!$CYGPATH_W$ac_delim
 
20215
PACKAGE!$PACKAGE$ac_delim
 
20216
VERSION!$VERSION$ac_delim
 
20217
ACLOCAL!$ACLOCAL$ac_delim
 
20218
AUTOCONF!$AUTOCONF$ac_delim
 
20219
AUTOMAKE!$AUTOMAKE$ac_delim
 
20220
AUTOHEADER!$AUTOHEADER$ac_delim
 
20221
MAKEINFO!$MAKEINFO$ac_delim
 
20222
AMTAR!$AMTAR$ac_delim
 
20223
install_sh!$install_sh$ac_delim
 
20224
STRIP!$STRIP$ac_delim
 
20225
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
20226
mkdir_p!$mkdir_p$ac_delim
 
20227
AWK!$AWK$ac_delim
 
20228
SET_MAKE!$SET_MAKE$ac_delim
 
20229
am__leading_dot!$am__leading_dot$ac_delim
 
20230
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
20231
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
20232
MAINT!$MAINT$ac_delim
 
20233
CC!$CC$ac_delim
 
20234
CFLAGS!$CFLAGS$ac_delim
 
20235
LDFLAGS!$LDFLAGS$ac_delim
 
20236
CPPFLAGS!$CPPFLAGS$ac_delim
 
20237
ac_ct_CC!$ac_ct_CC$ac_delim
 
20238
EXEEXT!$EXEEXT$ac_delim
 
20239
OBJEXT!$OBJEXT$ac_delim
 
20240
DEPDIR!$DEPDIR$ac_delim
 
20241
am__include!$am__include$ac_delim
 
20242
am__quote!$am__quote$ac_delim
 
20243
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
20244
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
20245
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
20246
CCDEPMODE!$CCDEPMODE$ac_delim
 
20247
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
20248
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
20249
build!$build$ac_delim
 
20250
build_cpu!$build_cpu$ac_delim
 
20251
build_vendor!$build_vendor$ac_delim
 
20252
build_os!$build_os$ac_delim
 
20253
host!$host$ac_delim
 
20254
host_cpu!$host_cpu$ac_delim
 
20255
host_vendor!$host_vendor$ac_delim
 
20256
host_os!$host_os$ac_delim
 
20257
GREP!$GREP$ac_delim
 
20258
EGREP!$EGREP$ac_delim
 
20259
LN_S!$LN_S$ac_delim
 
20260
ECHO!$ECHO$ac_delim
 
20261
AR!$AR$ac_delim
 
20262
RANLIB!$RANLIB$ac_delim
 
20263
CPP!$CPP$ac_delim
 
20264
CXX!$CXX$ac_delim
 
20265
CXXFLAGS!$CXXFLAGS$ac_delim
 
20266
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
20267
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
20268
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
20269
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
20270
CXXCPP!$CXXCPP$ac_delim
 
20271
_ACEOF
 
20272
 
 
20273
  if test `grep -c "$ac_delim\$" conf$$subs.sed` = 97; then
 
20274
    break
 
20275
  elif $ac_last_try; then
 
20276
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
20277
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
20278
   { (exit 1); exit 1; }; }
 
20279
  else
 
20280
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20281
  fi
 
20282
done
 
20283
 
 
20284
ac_eof=
 
20285
if grep '^CEOF$' conf$$subs.sed >/dev/null; then
 
20286
  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
 
20287
  ac_eof=`expr 0$ac_eof + 1`
 
20288
fi
 
20289
 
 
20290
cat >>$CONFIG_STATUS <<_ACEOF
 
20291
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
20292
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
20293
_ACEOF
 
20294
sed '
 
20295
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
20296
s/^/s,@/; s/!/@,|#_!!_#|/
 
20297
:n
 
20298
t n
 
20299
s/'"$ac_delim"'$/,g/; t
 
20300
s/$/\\/; p
 
20301
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
20302
' >>$CONFIG_STATUS <conf$$subs.sed
 
20303
rm -f conf$$subs.sed
 
20304
cat >>$CONFIG_STATUS <<_ACEOF
 
20305
CEOF$ac_eof
 
20306
_ACEOF
 
20307
 
 
20308
 
 
20309
ac_delim='%!_!# '
 
20310
for ac_last_try in false false false false false :; do
 
20311
  cat >conf$$subs.sed <<_ACEOF
 
20312
F77!$F77$ac_delim
 
20313
FFLAGS!$FFLAGS$ac_delim
 
20314
ac_ct_F77!$ac_ct_F77$ac_delim
 
20315
LIBTOOL!$LIBTOOL$ac_delim
 
20316
DOXYGEN!$DOXYGEN$ac_delim
 
20317
LIBRARY_VERSION_LIBTOOL!$LIBRARY_VERSION_LIBTOOL$ac_delim
 
20318
LIBRARY_VERSION_MAJOR!$LIBRARY_VERSION_MAJOR$ac_delim
 
20319
SUBARCH_SYSTEM!$SUBARCH_SYSTEM$ac_delim
 
20320
LIBOBJS!$LIBOBJS$ac_delim
 
20321
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
20322
_ACEOF
 
20323
 
 
20324
  if test `grep -c "$ac_delim\$" conf$$subs.sed` = 10; then
 
20325
    break
 
20326
  elif $ac_last_try; then
 
20327
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
20328
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
20329
   { (exit 1); exit 1; }; }
 
20330
  else
 
20331
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20332
  fi
 
20333
done
 
20334
 
 
20335
ac_eof=
 
20336
if grep '^CEOF$' conf$$subs.sed >/dev/null; then
 
20337
  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
 
20338
  ac_eof=`expr 0$ac_eof + 1`
 
20339
fi
 
20340
 
 
20341
cat >>$CONFIG_STATUS <<_ACEOF
 
20342
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
20343
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
20344
_ACEOF
 
20345
sed '
 
20346
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
20347
s/^/s,@/; s/!/@,|#_!!_#|/
 
20348
:n
 
20349
t n
 
20350
s/'"$ac_delim"'$/,g/; t
 
20351
s/$/\\/; p
 
20352
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
20353
' >>$CONFIG_STATUS <conf$$subs.sed
 
20354
rm -f conf$$subs.sed
 
20355
cat >>$CONFIG_STATUS <<_ACEOF
 
20356
:end
 
20357
s/|#_!!_#|//g
 
20358
CEOF$ac_eof
 
20359
_ACEOF
 
20360
 
 
20361
 
 
20362
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
20363
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
20364
# trailing colons and then remove the whole line if VPATH becomes empty
 
20365
# (actually we leave an empty line to preserve line numbers).
 
20366
if test "x$srcdir" = x.; then
 
20367
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
20368
s/:*\$(srcdir):*/:/
 
20369
s/:*\${srcdir}:*/:/
 
20370
s/:*@srcdir@:*/:/
 
20371
s/^\([^=]*=[     ]*\):*/\1/
 
20372
s/:*$//
 
20373
s/^[^=]*=[       ]*$//
 
20374
}'
 
20375
fi
 
20376
 
 
20377
cat >>$CONFIG_STATUS <<\_ACEOF
20762
20378
fi # test -n "$CONFIG_FILES"
20763
20379
 
20764
 
_ACEOF
20765
 
cat >>$CONFIG_STATUS <<\_ACEOF
20766
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20767
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20768
 
  case $ac_file in
20769
 
  - | *:- | *:-:* ) # input from stdin
20770
 
        cat >$tmp/stdin
20771
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20772
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20773
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20774
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20775
 
  * )   ac_file_in=$ac_file.in ;;
20776
 
  esac
20777
 
 
20778
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20779
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
20380
 
 
20381
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
20382
do
 
20383
  case $ac_tag in
 
20384
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
20385
  esac
 
20386
  case $ac_mode$ac_tag in
 
20387
  :[FHL]*:*);;
 
20388
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
20389
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
20390
   { (exit 1); exit 1; }; };;
 
20391
  :[FH]-) ac_tag=-:-;;
 
20392
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
20393
  esac
 
20394
  ac_save_IFS=$IFS
 
20395
  IFS=:
 
20396
  set x $ac_tag
 
20397
  IFS=$ac_save_IFS
 
20398
  shift
 
20399
  ac_file=$1
 
20400
  shift
 
20401
 
 
20402
  case $ac_mode in
 
20403
  :L) ac_source=$1;;
 
20404
  :[FH])
 
20405
    ac_file_inputs=
 
20406
    for ac_f
 
20407
    do
 
20408
      case $ac_f in
 
20409
      -) ac_f="$tmp/stdin";;
 
20410
      *) # Look for the file first in the build tree, then in the source tree
 
20411
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
20412
         # because $ac_f cannot contain `:'.
 
20413
         test -f "$ac_f" ||
 
20414
           case $ac_f in
 
20415
           [\\/$]*) false;;
 
20416
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
20417
           esac ||
 
20418
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
20419
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
20420
   { (exit 1); exit 1; }; };;
 
20421
      esac
 
20422
      ac_file_inputs="$ac_file_inputs $ac_f"
 
20423
    done
 
20424
 
 
20425
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
20426
    # use $as_me), people would be surprised to read:
 
20427
    #    /* config.h.  Generated by config.status.  */
 
20428
    configure_input="Generated from "`IFS=:
 
20429
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
20430
    if test x"$ac_file" != x-; then
 
20431
      configure_input="$ac_file.  $configure_input"
 
20432
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
20433
echo "$as_me: creating $ac_file" >&6;}
 
20434
    fi
 
20435
 
 
20436
    case $ac_tag in
 
20437
    *:-:* | *:-) cat >"$tmp/stdin";;
 
20438
    esac
 
20439
    ;;
 
20440
  esac
 
20441
 
 
20442
  ac_dir=`$as_dirname -- "$ac_file" ||
20780
20443
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20781
20444
         X"$ac_file" : 'X\(//\)[^/]' \| \
20782
20445
         X"$ac_file" : 'X\(//\)$' \| \
20783
 
         X"$ac_file" : 'X\(/\)' \| \
20784
 
         .     : '\(.\)' 2>/dev/null ||
 
20446
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20785
20447
echo X"$ac_file" |
20786
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20787
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20788
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20789
 
          /^X\(\/\).*/{ s//\1/; q; }
20790
 
          s/.*/./; q'`
20791
 
  { if $as_mkdir_p; then
20792
 
    mkdir -p "$ac_dir"
20793
 
  else
20794
 
    as_dir="$ac_dir"
 
20448
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20449
            s//\1/
 
20450
            q
 
20451
          }
 
20452
          /^X\(\/\/\)[^/].*/{
 
20453
            s//\1/
 
20454
            q
 
20455
          }
 
20456
          /^X\(\/\/\)$/{
 
20457
            s//\1/
 
20458
            q
 
20459
          }
 
20460
          /^X\(\/\).*/{
 
20461
            s//\1/
 
20462
            q
 
20463
          }
 
20464
          s/.*/./; q'`
 
20465
  { as_dir="$ac_dir"
 
20466
  case $as_dir in #(
 
20467
  -*) as_dir=./$as_dir;;
 
20468
  esac
 
20469
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20795
20470
    as_dirs=
20796
 
    while test ! -d "$as_dir"; do
20797
 
      as_dirs="$as_dir $as_dirs"
20798
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
20471
    while :; do
 
20472
      case $as_dir in #(
 
20473
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
20474
      *) as_qdir=$as_dir;;
 
20475
      esac
 
20476
      as_dirs="'$as_qdir' $as_dirs"
 
20477
      as_dir=`$as_dirname -- "$as_dir" ||
20799
20478
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20800
20479
         X"$as_dir" : 'X\(//\)[^/]' \| \
20801
20480
         X"$as_dir" : 'X\(//\)$' \| \
20802
 
         X"$as_dir" : 'X\(/\)' \| \
20803
 
         .     : '\(.\)' 2>/dev/null ||
 
20481
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20804
20482
echo X"$as_dir" |
20805
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20806
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20807
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20808
 
          /^X\(\/\).*/{ s//\1/; q; }
20809
 
          s/.*/./; q'`
 
20483
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20484
            s//\1/
 
20485
            q
 
20486
          }
 
20487
          /^X\(\/\/\)[^/].*/{
 
20488
            s//\1/
 
20489
            q
 
20490
          }
 
20491
          /^X\(\/\/\)$/{
 
20492
            s//\1/
 
20493
            q
 
20494
          }
 
20495
          /^X\(\/\).*/{
 
20496
            s//\1/
 
20497
            q
 
20498
          }
 
20499
          s/.*/./; q'`
 
20500
      test -d "$as_dir" && break
20810
20501
    done
20811
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20812
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20813
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
20502
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
20503
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
20504
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20814
20505
   { (exit 1); exit 1; }; }; }
20815
 
 
20816
20506
  ac_builddir=.
20817
20507
 
20818
 
if test "$ac_dir" != .; then
 
20508
case "$ac_dir" in
 
20509
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
20510
*)
20819
20511
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20820
 
  # A "../" for each directory in $ac_dir_suffix.
20821
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20822
 
else
20823
 
  ac_dir_suffix= ac_top_builddir=
20824
 
fi
 
20512
  # A ".." for each directory in $ac_dir_suffix.
 
20513
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
20514
  case $ac_top_builddir_sub in
 
20515
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
20516
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
20517
  esac ;;
 
20518
esac
 
20519
ac_abs_top_builddir=$ac_pwd
 
20520
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
20521
# for backward compatibility:
 
20522
ac_top_builddir=$ac_top_build_prefix
20825
20523
 
20826
20524
case $srcdir in
20827
 
  .)  # No --srcdir option.  We are building in place.
 
20525
  .)  # We are building in place.
20828
20526
    ac_srcdir=.
20829
 
    if test -z "$ac_top_builddir"; then
20830
 
       ac_top_srcdir=.
20831
 
    else
20832
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20833
 
    fi ;;
20834
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
20527
    ac_top_srcdir=$ac_top_builddir_sub
 
20528
    ac_abs_top_srcdir=$ac_pwd ;;
 
20529
  [\\/]* | ?:[\\/]* )  # Absolute name.
20835
20530
    ac_srcdir=$srcdir$ac_dir_suffix;
20836
 
    ac_top_srcdir=$srcdir ;;
20837
 
  *) # Relative path.
20838
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20839
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20840
 
esac
20841
 
 
20842
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20843
 
# the directories may not exist.
20844
 
case `pwd` in
20845
 
.) ac_abs_builddir="$ac_dir";;
20846
 
*)
20847
 
  case "$ac_dir" in
20848
 
  .) ac_abs_builddir=`pwd`;;
20849
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20850
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20851
 
  esac;;
20852
 
esac
20853
 
case $ac_abs_builddir in
20854
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20855
 
*)
20856
 
  case ${ac_top_builddir}. in
20857
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20858
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20859
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20860
 
  esac;;
20861
 
esac
20862
 
case $ac_abs_builddir in
20863
 
.) ac_abs_srcdir=$ac_srcdir;;
20864
 
*)
20865
 
  case $ac_srcdir in
20866
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20867
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20868
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20869
 
  esac;;
20870
 
esac
20871
 
case $ac_abs_builddir in
20872
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20873
 
*)
20874
 
  case $ac_top_srcdir in
20875
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20876
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20877
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20878
 
  esac;;
20879
 
esac
20880
 
 
 
20531
    ac_top_srcdir=$srcdir
 
20532
    ac_abs_top_srcdir=$srcdir ;;
 
20533
  *) # Relative name.
 
20534
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
20535
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
20536
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
20537
esac
 
20538
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
20539
 
 
20540
 
 
20541
  case $ac_mode in
 
20542
  :F)
 
20543
  #
 
20544
  # CONFIG_FILE
 
20545
  #
20881
20546
 
20882
20547
  case $INSTALL in
20883
20548
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20884
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
20549
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20885
20550
  esac
20886
 
 
20887
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20888
 
  # use $as_me), people would be surprised to read:
20889
 
  #    /* config.h.  Generated by config.status.  */
20890
 
  if test x"$ac_file" = x-; then
20891
 
    configure_input=
20892
 
  else
20893
 
    configure_input="$ac_file.  "
20894
 
  fi
20895
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
20896
 
                                     sed 's,.*/,,'` by configure."
20897
 
 
20898
 
  # First look for the input files in the build tree, otherwise in the
20899
 
  # src tree.
20900
 
  ac_file_inputs=`IFS=:
20901
 
    for f in $ac_file_in; do
20902
 
      case $f in
20903
 
      -) echo $tmp/stdin ;;
20904
 
      [\\/$]*)
20905
 
         # Absolute (can't be DOS-style, as IFS=:)
20906
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20907
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20908
 
   { (exit 1); exit 1; }; }
20909
 
         echo "$f";;
20910
 
      *) # Relative
20911
 
         if test -f "$f"; then
20912
 
           # Build tree
20913
 
           echo "$f"
20914
 
         elif test -f "$srcdir/$f"; then
20915
 
           # Source tree
20916
 
           echo "$srcdir/$f"
20917
 
         else
20918
 
           # /dev/null tree
20919
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20920
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20921
 
   { (exit 1); exit 1; }; }
20922
 
         fi;;
20923
 
      esac
20924
 
    done` || { (exit 1); exit 1; }
20925
 
 
20926
 
  if test x"$ac_file" != x-; then
20927
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
20928
 
echo "$as_me: creating $ac_file" >&6;}
20929
 
    rm -f "$ac_file"
20930
 
  fi
20931
 
_ACEOF
 
20551
_ACEOF
 
20552
 
 
20553
cat >>$CONFIG_STATUS <<\_ACEOF
 
20554
# If the template does not know about datarootdir, expand it.
 
20555
# FIXME: This hack should be removed a few years after 2.60.
 
20556
ac_datarootdir_hack=
 
20557
 
 
20558
case `sed -n '/datarootdir/ {
 
20559
  p
 
20560
  q
 
20561
}
 
20562
/@datadir@/p
 
20563
/@docdir@/p
 
20564
/@infodir@/p
 
20565
/@localedir@/p
 
20566
/@mandir@/p
 
20567
' $ac_file_inputs` in
 
20568
*datarootdir*) ;;
 
20569
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
20570
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
20571
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
20572
_ACEOF
 
20573
cat >>$CONFIG_STATUS <<_ACEOF
 
20574
  ac_datarootdir_hack='
 
20575
  s&@datadir@&$datadir&g
 
20576
  s&@docdir@&$docdir&g
 
20577
  s&@infodir@&$infodir&g
 
20578
  s&@localedir@&$localedir&g
 
20579
  s&@mandir@&$mandir&g
 
20580
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
20581
esac
 
20582
_ACEOF
 
20583
 
 
20584
# Neutralize VPATH when `$srcdir' = `.'.
 
20585
# Shell code in configure.ac might set extrasub.
 
20586
# FIXME: do we really want to maintain this feature?
20932
20587
cat >>$CONFIG_STATUS <<_ACEOF
20933
20588
  sed "$ac_vpsub
20934
20589
$extrasub
20936
20591
cat >>$CONFIG_STATUS <<\_ACEOF
20937
20592
:t
20938
20593
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20939
 
s,@configure_input@,$configure_input,;t t
20940
 
s,@srcdir@,$ac_srcdir,;t t
20941
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20942
 
s,@top_srcdir@,$ac_top_srcdir,;t t
20943
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20944
 
s,@builddir@,$ac_builddir,;t t
20945
 
s,@abs_builddir@,$ac_abs_builddir,;t t
20946
 
s,@top_builddir@,$ac_top_builddir,;t t
20947
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20948
 
s,@INSTALL@,$ac_INSTALL,;t t
20949
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20950
 
  rm -f $tmp/stdin
20951
 
  if test x"$ac_file" != x-; then
20952
 
    mv $tmp/out $ac_file
20953
 
  else
20954
 
    cat $tmp/out
20955
 
    rm -f $tmp/out
20956
 
  fi
 
20594
s&@configure_input@&$configure_input&;t t
 
20595
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
20596
s&@srcdir@&$ac_srcdir&;t t
 
20597
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
20598
s&@top_srcdir@&$ac_top_srcdir&;t t
 
20599
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
20600
s&@builddir@&$ac_builddir&;t t
 
20601
s&@abs_builddir@&$ac_abs_builddir&;t t
 
20602
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
20603
s&@INSTALL@&$ac_INSTALL&;t t
 
20604
$ac_datarootdir_hack
 
20605
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
20957
20606
 
20958
 
done
 
20607
  rm -f "$tmp/stdin"
 
20608
  case $ac_file in
 
20609
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
20610
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
20611
  esac
 
20612
 ;;
 
20613
  :H)
 
20614
  #
 
20615
  # CONFIG_HEADER
 
20616
  #
20959
20617
_ACEOF
20960
 
cat >>$CONFIG_STATUS <<\_ACEOF
20961
 
 
20962
 
#
20963
 
# CONFIG_HEADER section.
20964
 
#
20965
 
 
20966
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20967
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
20968
 
#
20969
 
# ac_d sets the value in "#define NAME VALUE" lines.
20970
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
20971
 
ac_dB='[         ].*$,\1#\2'
 
20618
 
 
20619
# Transform confdefs.h into a sed script `conftest.defines', that
 
20620
# substitutes the proper values into config.h.in to produce config.h.
 
20621
rm -f conftest.defines conftest.tail
 
20622
# First, append a space to every undef/define line, to ease matching.
 
20623
echo 's/$/ /' >conftest.defines
 
20624
# Then, protect against being on the right side of a sed subst, or in
 
20625
# an unquoted here document, in config.status.  If some macros were
 
20626
# called several times there might be several #defines for the same
 
20627
# symbol, which is useless.  But do not sort them, since the last
 
20628
# AC_DEFINE must be honored.
 
20629
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
20630
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
20631
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
20632
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
20633
# just an empty string.
 
20634
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
20635
ac_dB='\\)[      (].*,\\1define\\2'
20972
20636
ac_dC=' '
20973
 
ac_dD=',;t'
20974
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20975
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
20976
 
ac_uB='$,\1#\2define\3'
20977
 
ac_uC=' '
20978
 
ac_uD=',;t'
20979
 
 
20980
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20981
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20982
 
  case $ac_file in
20983
 
  - | *:- | *:-:* ) # input from stdin
20984
 
        cat >$tmp/stdin
20985
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20986
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20987
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20988
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20989
 
  * )   ac_file_in=$ac_file.in ;;
20990
 
  esac
20991
 
 
20992
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20993
 
echo "$as_me: creating $ac_file" >&6;}
20994
 
 
20995
 
  # First look for the input files in the build tree, otherwise in the
20996
 
  # src tree.
20997
 
  ac_file_inputs=`IFS=:
20998
 
    for f in $ac_file_in; do
20999
 
      case $f in
21000
 
      -) echo $tmp/stdin ;;
21001
 
      [\\/$]*)
21002
 
         # Absolute (can't be DOS-style, as IFS=:)
21003
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21004
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21005
 
   { (exit 1); exit 1; }; }
21006
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
21007
 
         echo "$f";;
21008
 
      *) # Relative
21009
 
         if test -f "$f"; then
21010
 
           # Build tree
21011
 
           echo "$f"
21012
 
         elif test -f "$srcdir/$f"; then
21013
 
           # Source tree
21014
 
           echo "$srcdir/$f"
21015
 
         else
21016
 
           # /dev/null tree
21017
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21018
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21019
 
   { (exit 1); exit 1; }; }
21020
 
         fi;;
21021
 
      esac
21022
 
    done` || { (exit 1); exit 1; }
21023
 
  # Remove the trailing spaces.
21024
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21025
 
 
21026
 
_ACEOF
21027
 
 
21028
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21029
 
# `conftest.undefs', that substitutes the proper values into
21030
 
# config.h.in to produce config.h.  The first handles `#define'
21031
 
# templates, and the second `#undef' templates.
21032
 
# And first: Protect against being on the right side of a sed subst in
21033
 
# config.status.  Protect against being in an unquoted here document
21034
 
# in config.status.
21035
 
rm -f conftest.defines conftest.undefs
21036
 
# Using a here document instead of a string reduces the quoting nightmare.
21037
 
# Putting comments in sed scripts is not portable.
21038
 
#
21039
 
# `end' is used to avoid that the second main sed command (meant for
21040
 
# 0-ary CPP macros) applies to n-ary macro definitions.
21041
 
# See the Autoconf documentation for `clear'.
21042
 
cat >confdef2sed.sed <<\_ACEOF
21043
 
s/[\\&,]/\\&/g
21044
 
s,[\\$`],\\&,g
21045
 
t clear
21046
 
: clear
21047
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21048
 
t end
21049
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21050
 
: end
21051
 
_ACEOF
21052
 
# If some macros were called several times there might be several times
21053
 
# the same #defines, which is useless.  Nevertheless, we may not want to
21054
 
# sort them, since we want the *last* AC-DEFINE to be honored.
21055
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21056
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21057
 
rm -f confdef2sed.sed
21058
 
 
21059
 
# This sed command replaces #undef with comments.  This is necessary, for
 
20637
ac_dD=' ,'
 
20638
 
 
20639
uniq confdefs.h |
 
20640
  sed -n '
 
20641
        t rset
 
20642
        :rset
 
20643
        s/^[     ]*#[    ]*define[       ][      ]*//
 
20644
        t ok
 
20645
        d
 
20646
        :ok
 
20647
        s/[\\&,]/\\&/g
 
20648
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
20649
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
20650
  ' >>conftest.defines
 
20651
 
 
20652
# Remove the space that was appended to ease matching.
 
20653
# Then replace #undef with comments.  This is necessary, for
21060
20654
# example, in the case of _POSIX_SOURCE, which is predefined and required
21061
20655
# on some systems where configure will not decide to define it.
21062
 
cat >>conftest.undefs <<\_ACEOF
21063
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
20656
# (The regexp can be short, since the line contains either #define or #undef.)
 
20657
echo 's/ $//
 
20658
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
20659
 
 
20660
# Break up conftest.defines:
 
20661
ac_max_sed_lines=50
 
20662
 
 
20663
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
20664
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
20665
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
20666
# et cetera.
 
20667
ac_in='$ac_file_inputs'
 
20668
ac_out='"$tmp/out1"'
 
20669
ac_nxt='"$tmp/out2"'
 
20670
 
 
20671
while :
 
20672
do
 
20673
  # Write a here document:
 
20674
    cat >>$CONFIG_STATUS <<_ACEOF
 
20675
    # First, check the format of the line:
 
20676
    cat >"\$tmp/defines.sed" <<\\CEOF
 
20677
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
20678
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
20679
b
 
20680
:def
21064
20681
_ACEOF
21065
 
 
21066
 
# Break up conftest.defines because some shells have a limit on the size
21067
 
# of here documents, and old seds have small limits too (100 cmds).
21068
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21069
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21070
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21071
 
echo '  :' >>$CONFIG_STATUS
21072
 
rm -f conftest.tail
21073
 
while grep . conftest.defines >/dev/null
21074
 
do
21075
 
  # Write a limited-size here document to $tmp/defines.sed.
21076
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21077
 
  # Speed up: don't consider the non `#define' lines.
21078
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21079
 
  # Work around the forget-to-reset-the-flag bug.
21080
 
  echo 't clr' >>$CONFIG_STATUS
21081
 
  echo ': clr' >>$CONFIG_STATUS
21082
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
20682
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21083
20683
  echo 'CEOF
21084
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
21085
 
  rm -f $tmp/in
21086
 
  mv $tmp/out $tmp/in
21087
 
' >>$CONFIG_STATUS
21088
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
20684
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
20685
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
20686
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
20687
  grep . conftest.tail >/dev/null || break
21089
20688
  rm -f conftest.defines
21090
20689
  mv conftest.tail conftest.defines
21091
20690
done
21092
 
rm -f conftest.defines
21093
 
echo '  fi # grep' >>$CONFIG_STATUS
21094
 
echo >>$CONFIG_STATUS
21095
 
 
21096
 
# Break up conftest.undefs because some shells have a limit on the size
21097
 
# of here documents, and old seds have small limits too (100 cmds).
21098
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21099
 
rm -f conftest.tail
21100
 
while grep . conftest.undefs >/dev/null
21101
 
do
21102
 
  # Write a limited-size here document to $tmp/undefs.sed.
21103
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21104
 
  # Speed up: don't consider the non `#undef'
21105
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21106
 
  # Work around the forget-to-reset-the-flag bug.
21107
 
  echo 't clr' >>$CONFIG_STATUS
21108
 
  echo ': clr' >>$CONFIG_STATUS
21109
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21110
 
  echo 'CEOF
21111
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21112
 
  rm -f $tmp/in
21113
 
  mv $tmp/out $tmp/in
21114
 
' >>$CONFIG_STATUS
21115
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21116
 
  rm -f conftest.undefs
21117
 
  mv conftest.tail conftest.undefs
21118
 
done
21119
 
rm -f conftest.undefs
21120
 
 
 
20691
rm -f conftest.defines conftest.tail
 
20692
 
 
20693
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21121
20694
cat >>$CONFIG_STATUS <<\_ACEOF
21122
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21123
 
  # use $as_me), people would be surprised to read:
21124
 
  #    /* config.h.  Generated by config.status.  */
21125
 
  if test x"$ac_file" = x-; then
21126
 
    echo "/* Generated by configure.  */" >$tmp/config.h
21127
 
  else
21128
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21129
 
  fi
21130
 
  cat $tmp/in >>$tmp/config.h
21131
 
  rm -f $tmp/in
21132
20695
  if test x"$ac_file" != x-; then
21133
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
20696
    echo "/* $configure_input  */" >"$tmp/config.h"
 
20697
    cat "$ac_result" >>"$tmp/config.h"
 
20698
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21134
20699
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21135
20700
echo "$as_me: $ac_file is unchanged" >&6;}
21136
20701
    else
21137
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21138
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21139
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
21140
 
         X"$ac_file" : 'X\(//\)$' \| \
21141
 
         X"$ac_file" : 'X\(/\)' \| \
21142
 
         .     : '\(.\)' 2>/dev/null ||
21143
 
echo X"$ac_file" |
21144
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21145
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21146
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21147
 
          /^X\(\/\).*/{ s//\1/; q; }
21148
 
          s/.*/./; q'`
21149
 
      { if $as_mkdir_p; then
21150
 
    mkdir -p "$ac_dir"
21151
 
  else
21152
 
    as_dir="$ac_dir"
21153
 
    as_dirs=
21154
 
    while test ! -d "$as_dir"; do
21155
 
      as_dirs="$as_dir $as_dirs"
21156
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21157
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21158
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21159
 
         X"$as_dir" : 'X\(//\)$' \| \
21160
 
         X"$as_dir" : 'X\(/\)' \| \
21161
 
         .     : '\(.\)' 2>/dev/null ||
21162
 
echo X"$as_dir" |
21163
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21164
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21165
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21166
 
          /^X\(\/\).*/{ s//\1/; q; }
21167
 
          s/.*/./; q'`
21168
 
    done
21169
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21170
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21171
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21172
 
   { (exit 1); exit 1; }; }; }
21173
 
 
21174
20702
      rm -f $ac_file
21175
 
      mv $tmp/config.h $ac_file
 
20703
      mv "$tmp/config.h" $ac_file
21176
20704
    fi
21177
20705
  else
21178
 
    cat $tmp/config.h
21179
 
    rm -f $tmp/config.h
 
20706
    echo "/* $configure_input  */"
 
20707
    cat "$ac_result"
21180
20708
  fi
 
20709
  rm -f "$tmp/out12"
21181
20710
# Compute $ac_file's index in $config_headers.
21182
20711
_am_stamp_count=1
21183
20712
for _am_header in $config_headers :; do
21188
20717
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21189
20718
  esac
21190
20719
done
21191
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
20720
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21192
20721
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21193
20722
         X$ac_file : 'X\(//\)[^/]' \| \
21194
20723
         X$ac_file : 'X\(//\)$' \| \
21195
 
         X$ac_file : 'X\(/\)' \| \
21196
 
         .     : '\(.\)' 2>/dev/null ||
 
20724
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21197
20725
echo X$ac_file |
21198
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21199
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21200
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21201
 
          /^X\(\/\).*/{ s//\1/; q; }
21202
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
21203
 
done
21204
 
_ACEOF
21205
 
cat >>$CONFIG_STATUS <<\_ACEOF
21206
 
 
21207
 
#
21208
 
# CONFIG_COMMANDS section.
21209
 
#
21210
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21211
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21212
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21213
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21214
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21215
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
21216
 
         X"$ac_dest" : 'X\(//\)$' \| \
21217
 
         X"$ac_dest" : 'X\(/\)' \| \
21218
 
         .     : '\(.\)' 2>/dev/null ||
21219
 
echo X"$ac_dest" |
21220
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21221
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21222
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21223
 
          /^X\(\/\).*/{ s//\1/; q; }
21224
 
          s/.*/./; q'`
21225
 
  { if $as_mkdir_p; then
21226
 
    mkdir -p "$ac_dir"
21227
 
  else
21228
 
    as_dir="$ac_dir"
21229
 
    as_dirs=
21230
 
    while test ! -d "$as_dir"; do
21231
 
      as_dirs="$as_dir $as_dirs"
21232
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21233
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21234
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21235
 
         X"$as_dir" : 'X\(//\)$' \| \
21236
 
         X"$as_dir" : 'X\(/\)' \| \
21237
 
         .     : '\(.\)' 2>/dev/null ||
21238
 
echo X"$as_dir" |
21239
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21240
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21241
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21242
 
          /^X\(\/\).*/{ s//\1/; q; }
21243
 
          s/.*/./; q'`
21244
 
    done
21245
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21246
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21247
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21248
 
   { (exit 1); exit 1; }; }; }
21249
 
 
21250
 
  ac_builddir=.
21251
 
 
21252
 
if test "$ac_dir" != .; then
21253
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21254
 
  # A "../" for each directory in $ac_dir_suffix.
21255
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21256
 
else
21257
 
  ac_dir_suffix= ac_top_builddir=
21258
 
fi
21259
 
 
21260
 
case $srcdir in
21261
 
  .)  # No --srcdir option.  We are building in place.
21262
 
    ac_srcdir=.
21263
 
    if test -z "$ac_top_builddir"; then
21264
 
       ac_top_srcdir=.
21265
 
    else
21266
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21267
 
    fi ;;
21268
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
21269
 
    ac_srcdir=$srcdir$ac_dir_suffix;
21270
 
    ac_top_srcdir=$srcdir ;;
21271
 
  *) # Relative path.
21272
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21273
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21274
 
esac
21275
 
 
21276
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21277
 
# the directories may not exist.
21278
 
case `pwd` in
21279
 
.) ac_abs_builddir="$ac_dir";;
21280
 
*)
21281
 
  case "$ac_dir" in
21282
 
  .) ac_abs_builddir=`pwd`;;
21283
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21284
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21285
 
  esac;;
21286
 
esac
21287
 
case $ac_abs_builddir in
21288
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21289
 
*)
21290
 
  case ${ac_top_builddir}. in
21291
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21292
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21293
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21294
 
  esac;;
21295
 
esac
21296
 
case $ac_abs_builddir in
21297
 
.) ac_abs_srcdir=$ac_srcdir;;
21298
 
*)
21299
 
  case $ac_srcdir in
21300
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21301
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21302
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21303
 
  esac;;
21304
 
esac
21305
 
case $ac_abs_builddir in
21306
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21307
 
*)
21308
 
  case $ac_top_srcdir in
21309
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21310
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21311
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21312
 
  esac;;
21313
 
esac
21314
 
 
21315
 
 
21316
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21317
 
echo "$as_me: executing $ac_dest commands" >&6;}
21318
 
  case $ac_dest in
21319
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
20726
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20727
            s//\1/
 
20728
            q
 
20729
          }
 
20730
          /^X\(\/\/\)[^/].*/{
 
20731
            s//\1/
 
20732
            q
 
20733
          }
 
20734
          /^X\(\/\/\)$/{
 
20735
            s//\1/
 
20736
            q
 
20737
          }
 
20738
          /^X\(\/\).*/{
 
20739
            s//\1/
 
20740
            q
 
20741
          }
 
20742
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
20743
 ;;
 
20744
 
 
20745
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
20746
echo "$as_me: executing $ac_file commands" >&6;}
 
20747
 ;;
 
20748
  esac
 
20749
 
 
20750
 
 
20751
  case $ac_file$ac_mode in
 
20752
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21320
20753
  # Strip MF so we end up with the name of the file.
21321
20754
  mf=`echo "$mf" | sed -e 's/:.*$//'`
21322
20755
  # Check whether this is an Automake generated Makefile or not.
21326
20759
  # each Makefile.in and add a new line on top of each file to say so.
21327
20760
  # So let's grep whole file.
21328
20761
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21329
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
20762
    dirpart=`$as_dirname -- "$mf" ||
21330
20763
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21331
20764
         X"$mf" : 'X\(//\)[^/]' \| \
21332
20765
         X"$mf" : 'X\(//\)$' \| \
21333
 
         X"$mf" : 'X\(/\)' \| \
21334
 
         .     : '\(.\)' 2>/dev/null ||
 
20766
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21335
20767
echo X"$mf" |
21336
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21337
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21338
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21339
 
          /^X\(\/\).*/{ s//\1/; q; }
21340
 
          s/.*/./; q'`
 
20768
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20769
            s//\1/
 
20770
            q
 
20771
          }
 
20772
          /^X\(\/\/\)[^/].*/{
 
20773
            s//\1/
 
20774
            q
 
20775
          }
 
20776
          /^X\(\/\/\)$/{
 
20777
            s//\1/
 
20778
            q
 
20779
          }
 
20780
          /^X\(\/\).*/{
 
20781
            s//\1/
 
20782
            q
 
20783
          }
 
20784
          s/.*/./; q'`
21341
20785
  else
21342
20786
    continue
21343
20787
  fi
21365
20809
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21366
20810
    # Make sure the directory exists.
21367
20811
    test -f "$dirpart/$file" && continue
21368
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
20812
    fdir=`$as_dirname -- "$file" ||
21369
20813
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21370
20814
         X"$file" : 'X\(//\)[^/]' \| \
21371
20815
         X"$file" : 'X\(//\)$' \| \
21372
 
         X"$file" : 'X\(/\)' \| \
21373
 
         .     : '\(.\)' 2>/dev/null ||
 
20816
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21374
20817
echo X"$file" |
21375
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21376
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21377
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21378
 
          /^X\(\/\).*/{ s//\1/; q; }
21379
 
          s/.*/./; q'`
21380
 
    { if $as_mkdir_p; then
21381
 
    mkdir -p $dirpart/$fdir
21382
 
  else
21383
 
    as_dir=$dirpart/$fdir
 
20818
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20819
            s//\1/
 
20820
            q
 
20821
          }
 
20822
          /^X\(\/\/\)[^/].*/{
 
20823
            s//\1/
 
20824
            q
 
20825
          }
 
20826
          /^X\(\/\/\)$/{
 
20827
            s//\1/
 
20828
            q
 
20829
          }
 
20830
          /^X\(\/\).*/{
 
20831
            s//\1/
 
20832
            q
 
20833
          }
 
20834
          s/.*/./; q'`
 
20835
    { as_dir=$dirpart/$fdir
 
20836
  case $as_dir in #(
 
20837
  -*) as_dir=./$as_dir;;
 
20838
  esac
 
20839
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21384
20840
    as_dirs=
21385
 
    while test ! -d "$as_dir"; do
21386
 
      as_dirs="$as_dir $as_dirs"
21387
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
20841
    while :; do
 
20842
      case $as_dir in #(
 
20843
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
20844
      *) as_qdir=$as_dir;;
 
20845
      esac
 
20846
      as_dirs="'$as_qdir' $as_dirs"
 
20847
      as_dir=`$as_dirname -- "$as_dir" ||
21388
20848
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21389
20849
         X"$as_dir" : 'X\(//\)[^/]' \| \
21390
20850
         X"$as_dir" : 'X\(//\)$' \| \
21391
 
         X"$as_dir" : 'X\(/\)' \| \
21392
 
         .     : '\(.\)' 2>/dev/null ||
 
20851
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21393
20852
echo X"$as_dir" |
21394
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21395
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21396
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21397
 
          /^X\(\/\).*/{ s//\1/; q; }
21398
 
          s/.*/./; q'`
 
20853
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20854
            s//\1/
 
20855
            q
 
20856
          }
 
20857
          /^X\(\/\/\)[^/].*/{
 
20858
            s//\1/
 
20859
            q
 
20860
          }
 
20861
          /^X\(\/\/\)$/{
 
20862
            s//\1/
 
20863
            q
 
20864
          }
 
20865
          /^X\(\/\).*/{
 
20866
            s//\1/
 
20867
            q
 
20868
          }
 
20869
          s/.*/./; q'`
 
20870
      test -d "$as_dir" && break
21399
20871
    done
21400
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21401
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21402
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
20872
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
20873
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
20874
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21403
20875
   { (exit 1); exit 1; }; }; }
21404
 
 
21405
20876
    # echo "creating $dirpart/$file"
21406
20877
    echo '# dummy' > "$dirpart/$file"
21407
20878
  done
21408
20879
done
21409
20880
 ;;
 
20881
 
21410
20882
  esac
21411
 
done
21412
 
_ACEOF
 
20883
done # for ac_tag
21413
20884
 
21414
 
cat >>$CONFIG_STATUS <<\_ACEOF
21415
20885
 
21416
20886
{ (exit 0); exit 0; }
21417
20887
_ACEOF