~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to lib-src/portaudio-v19/configure

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59.
 
3
# Generated by GNU Autoconf 2.61.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIBOBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
726
# Identity of this package.
422
727
PACKAGE_NAME=
423
728
PACKAGE_TARNAME=
429
734
# Factoring default headers for most tests.
430
735
ac_includes_default="\
431
736
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
737
#ifdef HAVE_SYS_TYPES_H
433
738
# include <sys/types.h>
434
739
#endif
435
 
#if HAVE_SYS_STAT_H
 
740
#ifdef HAVE_SYS_STAT_H
436
741
# include <sys/stat.h>
437
742
#endif
438
 
#if STDC_HEADERS
 
743
#ifdef STDC_HEADERS
439
744
# include <stdlib.h>
440
745
# include <stddef.h>
441
746
#else
442
 
# if HAVE_STDLIB_H
 
747
# ifdef HAVE_STDLIB_H
443
748
#  include <stdlib.h>
444
749
# endif
445
750
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
751
#ifdef HAVE_STRING_H
 
752
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
753
#  include <memory.h>
449
754
# endif
450
755
# include <string.h>
451
756
#endif
452
 
#if HAVE_STRINGS_H
 
757
#ifdef HAVE_STRINGS_H
453
758
# include <strings.h>
454
759
#endif
455
 
#if HAVE_INTTYPES_H
 
760
#ifdef HAVE_INTTYPES_H
456
761
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
762
#endif
 
763
#ifdef HAVE_STDINT_H
 
764
# include <stdint.h>
 
765
#endif
 
766
#ifdef HAVE_UNISTD_H
463
767
# include <unistd.h>
464
768
#endif"
465
769
 
466
 
ac_subdirs_all="$ac_subdirs_all bindings/cpp"
467
 
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 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 STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PKG_CONFIG ac_pt_PKG_CONFIG JACK_CFLAGS JACK_LIBS LT_CURRENT LT_REVISION LT_AGE OTHER_OBJS PADLL SHARED_FLAGS THREAD_CFLAGS DLL_LIBS NASM NASMOPT subdirs ENABLE_CXX_TRUE ENABLE_CXX_FALSE LIBOBJS LTLIBOBJS'
 
770
ac_subst_vars='SHELL
 
771
PATH_SEPARATOR
 
772
PACKAGE_NAME
 
773
PACKAGE_TARNAME
 
774
PACKAGE_VERSION
 
775
PACKAGE_STRING
 
776
PACKAGE_BUGREPORT
 
777
exec_prefix
 
778
prefix
 
779
program_transform_name
 
780
bindir
 
781
sbindir
 
782
libexecdir
 
783
datarootdir
 
784
datadir
 
785
sysconfdir
 
786
sharedstatedir
 
787
localstatedir
 
788
includedir
 
789
oldincludedir
 
790
docdir
 
791
infodir
 
792
htmldir
 
793
dvidir
 
794
pdfdir
 
795
psdir
 
796
libdir
 
797
localedir
 
798
mandir
 
799
DEFS
 
800
ECHO_C
 
801
ECHO_N
 
802
ECHO_T
 
803
LIBS
 
804
build_alias
 
805
host_alias
 
806
target_alias
 
807
CC
 
808
CFLAGS
 
809
LDFLAGS
 
810
CPPFLAGS
 
811
ac_ct_CC
 
812
EXEEXT
 
813
OBJEXT
 
814
build
 
815
build_cpu
 
816
build_vendor
 
817
build_os
 
818
host
 
819
host_cpu
 
820
host_vendor
 
821
host_os
 
822
SED
 
823
GREP
 
824
EGREP
 
825
LN_S
 
826
ECHO
 
827
AR
 
828
RANLIB
 
829
STRIP
 
830
DLLTOOL
 
831
AS
 
832
OBJDUMP
 
833
CPP
 
834
CXX
 
835
CXXFLAGS
 
836
ac_ct_CXX
 
837
CXXCPP
 
838
F77
 
839
FFLAGS
 
840
ac_ct_F77
 
841
LIBTOOL
 
842
INSTALL_PROGRAM
 
843
INSTALL_SCRIPT
 
844
INSTALL_DATA
 
845
PKG_CONFIG
 
846
JACK_CFLAGS
 
847
JACK_LIBS
 
848
LT_CURRENT
 
849
LT_REVISION
 
850
LT_AGE
 
851
OTHER_OBJS
 
852
PADLL
 
853
SHARED_FLAGS
 
854
THREAD_CFLAGS
 
855
DLL_LIBS
 
856
NASM
 
857
NASMOPT
 
858
subdirs
 
859
ENABLE_CXX_TRUE
 
860
ENABLE_CXX_FALSE
 
861
LIBOBJS
 
862
LTLIBOBJS'
468
863
ac_subst_files=''
 
864
      ac_precious_vars='build_alias
 
865
host_alias
 
866
target_alias
 
867
CC
 
868
CFLAGS
 
869
LDFLAGS
 
870
LIBS
 
871
CPPFLAGS
 
872
CPP
 
873
CXX
 
874
CXXFLAGS
 
875
CCC
 
876
CXXCPP
 
877
F77
 
878
FFLAGS
 
879
PKG_CONFIG
 
880
JACK_CFLAGS
 
881
JACK_LIBS'
 
882
ac_subdirs_all='bindings/cpp'
469
883
 
470
884
# Initialize some variables set by options.
471
885
ac_init_help=
492
906
# and all the variables that are supposed to be based on exec_prefix
493
907
# by default will actually change.
494
908
# Use braces instead of parens because sh, perl, etc. also accept them.
 
909
# (The list follows the same order as the GNU Coding Standards.)
495
910
bindir='${exec_prefix}/bin'
496
911
sbindir='${exec_prefix}/sbin'
497
912
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
913
datarootdir='${prefix}/share'
 
914
datadir='${datarootdir}'
499
915
sysconfdir='${prefix}/etc'
500
916
sharedstatedir='${prefix}/com'
501
917
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
918
includedir='${prefix}/include'
504
919
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
920
docdir='${datarootdir}/doc/${PACKAGE}'
 
921
infodir='${datarootdir}/info'
 
922
htmldir='${docdir}'
 
923
dvidir='${docdir}'
 
924
pdfdir='${docdir}'
 
925
psdir='${docdir}'
 
926
libdir='${exec_prefix}/lib'
 
927
localedir='${datarootdir}/locale'
 
928
mandir='${datarootdir}/man'
507
929
 
508
930
ac_prev=
 
931
ac_dashdash=
509
932
for ac_option
510
933
do
511
934
  # If the previous option needs an argument, assign it.
512
935
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
936
    eval $ac_prev=\$ac_option
514
937
    ac_prev=
515
938
    continue
516
939
  fi
517
940
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
941
  case $ac_option in
 
942
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
943
  *)    ac_optarg=yes ;;
 
944
  esac
519
945
 
520
946
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
947
 
522
 
  case $ac_option in
 
948
  case $ac_dashdash$ac_option in
 
949
  --)
 
950
    ac_dashdash=yes ;;
523
951
 
524
952
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
953
    ac_prev=bindir ;;
541
969
  --config-cache | -C)
542
970
    cache_file=config.cache ;;
543
971
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
972
  -datadir | --datadir | --datadi | --datad)
545
973
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
974
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
975
    datadir=$ac_optarg ;;
549
976
 
 
977
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
978
  | --dataroo | --dataro | --datar)
 
979
    ac_prev=datarootdir ;;
 
980
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
981
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
982
    datarootdir=$ac_optarg ;;
 
983
 
550
984
  -disable-* | --disable-*)
551
985
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
986
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
987
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554
988
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
989
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
990
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
991
    eval enable_$ac_feature=no ;;
 
992
 
 
993
  -docdir | --docdir | --docdi | --doc | --do)
 
994
    ac_prev=docdir ;;
 
995
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
996
    docdir=$ac_optarg ;;
 
997
 
 
998
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
999
    ac_prev=dvidir ;;
 
1000
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1001
    dvidir=$ac_optarg ;;
558
1002
 
559
1003
  -enable-* | --enable-*)
560
1004
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1005
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1006
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563
1007
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1008
   { (exit 1); exit 1; }; }
565
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1009
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1010
    eval enable_$ac_feature=\$ac_optarg ;;
571
1011
 
572
1012
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1013
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1034
  -host=* | --host=* | --hos=* | --ho=*)
595
1035
    host_alias=$ac_optarg ;;
596
1036
 
 
1037
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1038
    ac_prev=htmldir ;;
 
1039
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1040
  | --ht=*)
 
1041
    htmldir=$ac_optarg ;;
 
1042
 
597
1043
  -includedir | --includedir | --includedi | --included | --include \
598
1044
  | --includ | --inclu | --incl | --inc)
599
1045
    ac_prev=includedir ;;
618
1064
  | --libexe=* | --libex=* | --libe=*)
619
1065
    libexecdir=$ac_optarg ;;
620
1066
 
 
1067
  -localedir | --localedir | --localedi | --localed | --locale)
 
1068
    ac_prev=localedir ;;
 
1069
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1070
    localedir=$ac_optarg ;;
 
1071
 
621
1072
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1073
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1074
    ac_prev=localstatedir ;;
625
1075
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1076
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1077
    localstatedir=$ac_optarg ;;
629
1078
 
630
1079
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1138
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1139
    program_transform_name=$ac_optarg ;;
691
1140
 
 
1141
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1142
    ac_prev=pdfdir ;;
 
1143
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1144
    pdfdir=$ac_optarg ;;
 
1145
 
 
1146
  -psdir | --psdir | --psdi | --psd | --ps)
 
1147
    ac_prev=psdir ;;
 
1148
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1149
    psdir=$ac_optarg ;;
 
1150
 
692
1151
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1152
  | -silent | --silent | --silen | --sile | --sil)
694
1153
    silent=yes ;;
741
1200
  -with-* | --with-*)
742
1201
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1202
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1203
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745
1204
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1205
   { (exit 1); exit 1; }; }
747
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1206
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1207
    eval with_$ac_package=\$ac_optarg ;;
753
1208
 
754
1209
  -without-* | --without-*)
755
1210
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1211
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1212
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758
1213
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1214
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1215
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1216
    eval with_$ac_package=no ;;
762
1217
 
763
1218
  --x)
764
1219
    # Obsolete; use --with-x.
789
1244
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1245
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1246
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1247
    eval $ac_envvar=\$ac_optarg
794
1248
    export $ac_envvar ;;
795
1249
 
796
1250
  *)
810
1264
   { (exit 1); exit 1; }; }
811
1265
fi
812
1266
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1267
# Be sure to have absolute directory names.
 
1268
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1269
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1270
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1271
                libdir localedir mandir
 
1272
do
 
1273
  eval ac_val=\$$ac_var
 
1274
  case $ac_val in
 
1275
    [\\/$]* | ?:[\\/]* )  continue;;
 
1276
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1277
  esac
 
1278
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1279
   { (exit 1); exit 1; }; }
834
1280
done
835
1281
 
836
1282
# There might be people who depend on the old broken behavior: `$host'
857
1303
test "$silent" = yes && exec 6>/dev/null
858
1304
 
859
1305
 
 
1306
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1307
ac_ls_di=`ls -di .` &&
 
1308
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1309
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1310
   { (exit 1); exit 1; }; }
 
1311
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1312
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1313
   { (exit 1); exit 1; }; }
 
1314
 
 
1315
 
860
1316
# Find the source files, if location was not specified.
861
1317
if test -z "$srcdir"; then
862
1318
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1319
  # Try the directory containing this script, then the parent directory.
 
1320
  ac_confdir=`$as_dirname -- "$0" ||
865
1321
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1322
         X"$0" : 'X\(//\)[^/]' \| \
867
1323
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1324
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1325
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1326
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1327
            s//\1/
 
1328
            q
 
1329
          }
 
1330
          /^X\(\/\/\)[^/].*/{
 
1331
            s//\1/
 
1332
            q
 
1333
          }
 
1334
          /^X\(\/\/\)$/{
 
1335
            s//\1/
 
1336
            q
 
1337
          }
 
1338
          /^X\(\/\).*/{
 
1339
            s//\1/
 
1340
            q
 
1341
          }
 
1342
          s/.*/./; q'`
876
1343
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1344
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1345
    srcdir=..
879
1346
  fi
880
1347
else
881
1348
  ac_srcdir_defaulted=no
882
1349
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
948
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
949
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
950
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
951
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
952
 
ac_env_JACK_CFLAGS_set=${JACK_CFLAGS+set}
953
 
ac_env_JACK_CFLAGS_value=$JACK_CFLAGS
954
 
ac_cv_env_JACK_CFLAGS_set=${JACK_CFLAGS+set}
955
 
ac_cv_env_JACK_CFLAGS_value=$JACK_CFLAGS
956
 
ac_env_JACK_LIBS_set=${JACK_LIBS+set}
957
 
ac_env_JACK_LIBS_value=$JACK_LIBS
958
 
ac_cv_env_JACK_LIBS_set=${JACK_LIBS+set}
959
 
ac_cv_env_JACK_LIBS_value=$JACK_LIBS
 
1350
if test ! -r "$srcdir/$ac_unique_file"; then
 
1351
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1352
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1353
   { (exit 1); exit 1; }; }
 
1354
fi
 
1355
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1356
ac_abs_confdir=`(
 
1357
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1358
   { (exit 1); exit 1; }; }
 
1359
        pwd)`
 
1360
# When building in place, set srcdir=.
 
1361
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1362
  srcdir=.
 
1363
fi
 
1364
# Remove unnecessary trailing slashes from srcdir.
 
1365
# Double slashes in file names in object file debugging info
 
1366
# mess up M-x gdb in Emacs.
 
1367
case $srcdir in
 
1368
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1369
esac
 
1370
for ac_var in $ac_precious_vars; do
 
1371
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1372
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1373
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1374
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1375
done
960
1376
 
961
1377
#
962
1378
# Report the --help message.
985
1401
  -n, --no-create         do not create output files
986
1402
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
987
1403
 
988
 
_ACEOF
989
 
 
990
 
  cat <<_ACEOF
991
1404
Installation directories:
992
1405
  --prefix=PREFIX         install architecture-independent files in PREFIX
993
1406
                          [$ac_default_prefix]
1005
1418
  --bindir=DIR           user executables [EPREFIX/bin]
1006
1419
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1007
1420
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1008
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1009
1421
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1010
1422
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1011
1423
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1012
1424
  --libdir=DIR           object code libraries [EPREFIX/lib]
1013
1425
  --includedir=DIR       C header files [PREFIX/include]
1014
1426
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1015
 
  --infodir=DIR          info documentation [PREFIX/info]
1016
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1427
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1428
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1429
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1430
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1431
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1432
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1433
  --htmldir=DIR          html documentation [DOCDIR]
 
1434
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1435
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1436
  --psdir=DIR            ps documentation [DOCDIR]
1017
1437
_ACEOF
1018
1438
 
1019
1439
  cat <<\_ACEOF
1033
1453
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1034
1454
  --enable-debug-output
1035
1455
  --enable-cxx (default=no)
1036
 
  --enable-shared[=PKGS]
1037
 
                          build shared libraries [default=yes]
1038
 
  --enable-static[=PKGS]
1039
 
                          build static libraries [default=yes]
 
1456
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1457
  --enable-static[=PKGS]  build static libraries [default=yes]
1040
1458
  --enable-fast-install[=PKGS]
1041
1459
                          optimize for fast installation [default=yes]
1042
1460
  --disable-libtool-lock  avoid locking (might break parallel builds)
1051
1469
  --with-host_os (no default)
1052
1470
  --with-winapi ((wmme/directx/asio) default=wmme)
1053
1471
  --with-macapi ((asio/core/sm) default=core)
 
1472
  --with-universal-binary (Both Mac PPC and Intel, default=no)
1054
1473
  --with-asiodir (default=/usr/local/asiosdk2)
1055
1474
  --with-dxdir (default=/usr/local/dx7sdk)
1056
1475
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1057
1476
  --with-pic              try to use only PIC/non-PIC objects [default=use
1058
1477
                          both]
1059
 
  --with-tags[=TAGS]
1060
 
                          include additional configurations [automatic]
 
1478
  --with-tags[=TAGS]      include additional configurations [automatic]
1061
1479
 
1062
1480
Some influential environment variables:
1063
1481
  CC          C compiler command
1064
1482
  CFLAGS      C compiler flags
1065
1483
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1066
1484
              nonstandard directory <lib dir>
1067
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068
 
              headers in a nonstandard directory <include dir>
 
1485
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1486
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1487
              you have headers in a nonstandard directory <include dir>
1069
1488
  CPP         C preprocessor
1070
1489
  CXX         C++ compiler command
1071
1490
  CXXFLAGS    C++ compiler flags
1080
1499
it to find libraries and programs with nonstandard names/locations.
1081
1500
 
1082
1501
_ACEOF
 
1502
ac_status=$?
1083
1503
fi
1084
1504
 
1085
1505
if test "$ac_init_help" = "recursive"; then
1086
1506
  # If there are subdirs, report their specific --help.
1087
 
  ac_popdir=`pwd`
1088
1507
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1089
 
    test -d $ac_dir || continue
 
1508
    test -d "$ac_dir" || continue
1090
1509
    ac_builddir=.
1091
1510
 
1092
 
if test "$ac_dir" != .; then
 
1511
case "$ac_dir" in
 
1512
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1513
*)
1093
1514
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1094
 
  # A "../" for each directory in $ac_dir_suffix.
1095
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1096
 
else
1097
 
  ac_dir_suffix= ac_top_builddir=
1098
 
fi
 
1515
  # A ".." for each directory in $ac_dir_suffix.
 
1516
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1517
  case $ac_top_builddir_sub in
 
1518
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1519
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1520
  esac ;;
 
1521
esac
 
1522
ac_abs_top_builddir=$ac_pwd
 
1523
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1524
# for backward compatibility:
 
1525
ac_top_builddir=$ac_top_build_prefix
1099
1526
 
1100
1527
case $srcdir in
1101
 
  .)  # No --srcdir option.  We are building in place.
 
1528
  .)  # We are building in place.
1102
1529
    ac_srcdir=.
1103
 
    if test -z "$ac_top_builddir"; then
1104
 
       ac_top_srcdir=.
1105
 
    else
1106
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1107
 
    fi ;;
1108
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1530
    ac_top_srcdir=$ac_top_builddir_sub
 
1531
    ac_abs_top_srcdir=$ac_pwd ;;
 
1532
  [\\/]* | ?:[\\/]* )  # Absolute name.
1109
1533
    ac_srcdir=$srcdir$ac_dir_suffix;
1110
 
    ac_top_srcdir=$srcdir ;;
1111
 
  *) # Relative path.
1112
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1113
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1114
 
esac
1115
 
 
1116
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1117
 
# the directories may not exist.
1118
 
case `pwd` in
1119
 
.) ac_abs_builddir="$ac_dir";;
1120
 
*)
1121
 
  case "$ac_dir" in
1122
 
  .) ac_abs_builddir=`pwd`;;
1123
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1124
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1125
 
  esac;;
1126
 
esac
1127
 
case $ac_abs_builddir in
1128
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1129
 
*)
1130
 
  case ${ac_top_builddir}. in
1131
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1132
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1133
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1134
 
  esac;;
1135
 
esac
1136
 
case $ac_abs_builddir in
1137
 
.) ac_abs_srcdir=$ac_srcdir;;
1138
 
*)
1139
 
  case $ac_srcdir in
1140
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1141
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1142
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1143
 
  esac;;
1144
 
esac
1145
 
case $ac_abs_builddir in
1146
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1147
 
*)
1148
 
  case $ac_top_srcdir in
1149
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1150
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1151
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1152
 
  esac;;
1153
 
esac
1154
 
 
1155
 
    cd $ac_dir
1156
 
    # Check for guested configure; otherwise get Cygnus style configure.
1157
 
    if test -f $ac_srcdir/configure.gnu; then
1158
 
      echo
1159
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1160
 
    elif test -f $ac_srcdir/configure; then
1161
 
      echo
1162
 
      $SHELL $ac_srcdir/configure  --help=recursive
1163
 
    elif test -f $ac_srcdir/configure.ac ||
1164
 
           test -f $ac_srcdir/configure.in; then
1165
 
      echo
1166
 
      $ac_configure --help
 
1534
    ac_top_srcdir=$srcdir
 
1535
    ac_abs_top_srcdir=$srcdir ;;
 
1536
  *) # Relative name.
 
1537
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1538
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1539
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1540
esac
 
1541
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1542
 
 
1543
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1544
    # Check for guested configure.
 
1545
    if test -f "$ac_srcdir/configure.gnu"; then
 
1546
      echo &&
 
1547
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1548
    elif test -f "$ac_srcdir/configure"; then
 
1549
      echo &&
 
1550
      $SHELL "$ac_srcdir/configure" --help=recursive
1167
1551
    else
1168
1552
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1169
 
    fi
1170
 
    cd "$ac_popdir"
 
1553
    fi || ac_status=$?
 
1554
    cd "$ac_pwd" || { ac_status=$?; break; }
1171
1555
  done
1172
1556
fi
1173
1557
 
1174
 
test -n "$ac_init_help" && exit 0
 
1558
test -n "$ac_init_help" && exit $ac_status
1175
1559
if $ac_init_version; then
1176
1560
  cat <<\_ACEOF
 
1561
configure
 
1562
generated by GNU Autoconf 2.61
1177
1563
 
1178
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1564
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1565
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1179
1566
This configure script is free software; the Free Software Foundation
1180
1567
gives unlimited permission to copy, distribute and modify it.
1181
1568
_ACEOF
1182
 
  exit 0
 
1569
  exit
1183
1570
fi
1184
 
exec 5>config.log
1185
 
cat >&5 <<_ACEOF
 
1571
cat >config.log <<_ACEOF
1186
1572
This file contains any messages produced by compilers while
1187
1573
running configure, to aid debugging if configure makes a mistake.
1188
1574
 
1189
1575
It was created by $as_me, which was
1190
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1576
generated by GNU Autoconf 2.61.  Invocation command line was
1191
1577
 
1192
1578
  $ $0 $@
1193
1579
 
1194
1580
_ACEOF
 
1581
exec 5>>config.log
1195
1582
{
1196
1583
cat <<_ASUNAME
1197
1584
## --------- ##
1210
1597
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1211
1598
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1212
1599
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1213
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1600
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1214
1601
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1215
1602
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1216
1603
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1224
1611
  test -z "$as_dir" && as_dir=.
1225
1612
  echo "PATH: $as_dir"
1226
1613
done
 
1614
IFS=$as_save_IFS
1227
1615
 
1228
1616
} >&5
1229
1617
 
1245
1633
ac_configure_args=
1246
1634
ac_configure_args0=
1247
1635
ac_configure_args1=
1248
 
ac_sep=
1249
1636
ac_must_keep_next=false
1250
1637
for ac_pass in 1 2
1251
1638
do
1256
1643
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257
1644
    | -silent | --silent | --silen | --sile | --sil)
1258
1645
      continue ;;
1259
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1646
    *\'*)
1260
1647
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1261
1648
    esac
1262
1649
    case $ac_pass in
1278
1665
          -* ) ac_must_keep_next=true ;;
1279
1666
        esac
1280
1667
      fi
1281
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1282
 
      # Get rid of the leading space.
1283
 
      ac_sep=" "
 
1668
      ac_configure_args="$ac_configure_args '$ac_arg'"
1284
1669
      ;;
1285
1670
    esac
1286
1671
  done
1291
1676
# When interrupted or exit'd, cleanup temporary files, and complete
1292
1677
# config.log.  We remove comments because anyway the quotes in there
1293
1678
# would cause problems or look ugly.
1294
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1295
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1679
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1680
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1296
1681
trap 'exit_status=$?
1297
1682
  # Save into config.log some information that might help in debugging.
1298
1683
  {
1305
1690
_ASBOX
1306
1691
    echo
1307
1692
    # The following way of writing the cache mishandles newlines in values,
1308
 
{
 
1693
(
 
1694
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1695
    eval ac_val=\$$ac_var
 
1696
    case $ac_val in #(
 
1697
    *${as_nl}*)
 
1698
      case $ac_var in #(
 
1699
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1700
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1701
      esac
 
1702
      case $ac_var in #(
 
1703
      _ | IFS | as_nl) ;; #(
 
1704
      *) $as_unset $ac_var ;;
 
1705
      esac ;;
 
1706
    esac
 
1707
  done
1309
1708
  (set) 2>&1 |
1310
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1311
 
    *ac_space=\ *)
 
1709
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1710
    *${as_nl}ac_space=\ *)
1312
1711
      sed -n \
1313
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1314
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1315
 
      ;;
 
1712
        "s/'\''/'\''\\\\'\'''\''/g;
 
1713
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1714
      ;; #(
1316
1715
    *)
1317
 
      sed -n \
1318
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1716
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1319
1717
      ;;
1320
 
    esac;
1321
 
}
 
1718
    esac |
 
1719
    sort
 
1720
)
1322
1721
    echo
1323
1722
 
1324
1723
    cat <<\_ASBOX
1329
1728
    echo
1330
1729
    for ac_var in $ac_subst_vars
1331
1730
    do
1332
 
      eval ac_val=$`echo $ac_var`
1333
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1731
      eval ac_val=\$$ac_var
 
1732
      case $ac_val in
 
1733
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1734
      esac
 
1735
      echo "$ac_var='\''$ac_val'\''"
1334
1736
    done | sort
1335
1737
    echo
1336
1738
 
1337
1739
    if test -n "$ac_subst_files"; then
1338
1740
      cat <<\_ASBOX
1339
 
## ------------- ##
1340
 
## Output files. ##
1341
 
## ------------- ##
 
1741
## ------------------- ##
 
1742
## File substitutions. ##
 
1743
## ------------------- ##
1342
1744
_ASBOX
1343
1745
      echo
1344
1746
      for ac_var in $ac_subst_files
1345
1747
      do
1346
 
        eval ac_val=$`echo $ac_var`
1347
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1748
        eval ac_val=\$$ac_var
 
1749
        case $ac_val in
 
1750
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1751
        esac
 
1752
        echo "$ac_var='\''$ac_val'\''"
1348
1753
      done | sort
1349
1754
      echo
1350
1755
    fi
1356
1761
## ----------- ##
1357
1762
_ASBOX
1358
1763
      echo
1359
 
      sed "/^$/d" confdefs.h | sort
 
1764
      cat confdefs.h
1360
1765
      echo
1361
1766
    fi
1362
1767
    test "$ac_signal" != 0 &&
1363
1768
      echo "$as_me: caught signal $ac_signal"
1364
1769
    echo "$as_me: exit $exit_status"
1365
1770
  } >&5
1366
 
  rm -f core *.core &&
1367
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1771
  rm -f core *.core core.conftest.* &&
 
1772
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1368
1773
    exit $exit_status
1369
 
     ' 0
 
1774
' 0
1370
1775
for ac_signal in 1 2 13 15; do
1371
1776
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1372
1777
done
1373
1778
ac_signal=0
1374
1779
 
1375
1780
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1376
 
rm -rf conftest* confdefs.h
1377
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1378
 
echo >confdefs.h
 
1781
rm -f -r conftest* confdefs.h
1379
1782
 
1380
1783
# Predefined preprocessor variables.
1381
1784
 
1406
1809
 
1407
1810
# Let the site file select an alternate cache file if it wants to.
1408
1811
# Prefer explicitly selected file to automatically selected ones.
1409
 
if test -z "$CONFIG_SITE"; then
1410
 
  if test "x$prefix" != xNONE; then
1411
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1412
 
  else
1413
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1414
 
  fi
 
1812
if test -n "$CONFIG_SITE"; then
 
1813
  set x "$CONFIG_SITE"
 
1814
elif test "x$prefix" != xNONE; then
 
1815
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1816
else
 
1817
  set x "$ac_default_prefix/share/config.site" \
 
1818
        "$ac_default_prefix/etc/config.site"
1415
1819
fi
1416
 
for ac_site_file in $CONFIG_SITE; do
 
1820
shift
 
1821
for ac_site_file
 
1822
do
1417
1823
  if test -r "$ac_site_file"; then
1418
1824
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1419
1825
echo "$as_me: loading site script $ac_site_file" >&6;}
1429
1835
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1430
1836
echo "$as_me: loading cache $cache_file" >&6;}
1431
1837
    case $cache_file in
1432
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1433
 
      *)                      . ./$cache_file;;
 
1838
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1839
      *)                      . "./$cache_file";;
1434
1840
    esac
1435
1841
  fi
1436
1842
else
1442
1848
# Check that the precious variables saved in the cache have kept the same
1443
1849
# value.
1444
1850
ac_cache_corrupted=false
1445
 
for ac_var in `(set) 2>&1 |
1446
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1851
for ac_var in $ac_precious_vars; do
1447
1852
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1448
1853
  eval ac_new_set=\$ac_env_${ac_var}_set
1449
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1450
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1854
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1855
  eval ac_new_val=\$ac_env_${ac_var}_value
1451
1856
  case $ac_old_set,$ac_new_set in
1452
1857
    set,)
1453
1858
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472
1877
  # Pass precious variables to config.status.
1473
1878
  if test "$ac_new_set" = set; then
1474
1879
    case $ac_new_val in
1475
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1476
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1880
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1477
1881
    *) ac_arg=$ac_var=$ac_new_val ;;
1478
1882
    esac
1479
1883
    case " $ac_configure_args " in
1490
1894
   { (exit 1); exit 1; }; }
1491
1895
fi
1492
1896
 
 
1897
 
 
1898
 
 
1899
 
 
1900
 
 
1901
 
 
1902
 
 
1903
 
 
1904
 
 
1905
 
 
1906
 
 
1907
 
 
1908
 
 
1909
 
 
1910
 
 
1911
 
 
1912
 
1493
1913
ac_ext=c
1494
1914
ac_cpp='$CPP $CPPFLAGS'
1495
1915
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1500
1920
 
1501
1921
 
1502
1922
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
# Check whether --with-alsa or --without-alsa was given.
 
1923
# Check whether --with-alsa was given.
1521
1924
if test "${with_alsa+set}" = set; then
1522
 
  withval="$with_alsa"
1523
 
  with_alsa=$withval
 
1925
  withval=$with_alsa; with_alsa=$withval
1524
1926
else
1525
1927
  with_alsa="yes"
1526
 
fi;
1527
 
 
1528
 
 
1529
 
# Check whether --with-jack or --without-jack was given.
 
1928
fi
 
1929
 
 
1930
 
 
1931
 
 
1932
# Check whether --with-jack was given.
1530
1933
if test "${with_jack+set}" = set; then
1531
 
  withval="$with_jack"
1532
 
  with_jack=$withval
 
1934
  withval=$with_jack; with_jack=$withval
1533
1935
else
1534
1936
  with_jack="yes"
1535
 
fi;
1536
 
 
1537
 
 
1538
 
# Check whether --with-oss or --without-oss was given.
 
1937
fi
 
1938
 
 
1939
 
 
1940
 
 
1941
# Check whether --with-oss was given.
1539
1942
if test "${with_oss+set}" = set; then
1540
 
  withval="$with_oss"
1541
 
  with_oss=$withval
 
1943
  withval=$with_oss; with_oss=$withval
1542
1944
else
1543
1945
  with_oss="yes"
1544
 
fi;
1545
 
 
1546
 
 
1547
 
# Check whether --with-asihpi or --without-asihpi was given.
 
1946
fi
 
1947
 
 
1948
 
 
1949
 
 
1950
# Check whether --with-asihpi was given.
1548
1951
if test "${with_asihpi+set}" = set; then
1549
 
  withval="$with_asihpi"
1550
 
  with_asihpi=$withval
 
1952
  withval=$with_asihpi; with_asihpi=$withval
1551
1953
else
1552
1954
  with_asihpi="yes"
1553
 
fi;
1554
 
 
1555
 
 
1556
 
# Check whether --with-host_os or --without-host_os was given.
 
1955
fi
 
1956
 
 
1957
 
 
1958
 
 
1959
# Check whether --with-host_os was given.
1557
1960
if test "${with_host_os+set}" = set; then
1558
 
  withval="$with_host_os"
1559
 
  host_os=$withval
1560
 
fi;
1561
 
 
1562
 
 
1563
 
# Check whether --with-winapi or --without-winapi was given.
 
1961
  withval=$with_host_os; host_os=$withval
 
1962
fi
 
1963
 
 
1964
 
 
1965
 
 
1966
# Check whether --with-winapi was given.
1564
1967
if test "${with_winapi+set}" = set; then
1565
 
  withval="$with_winapi"
1566
 
  with_winapi=$withval
 
1968
  withval=$with_winapi; with_winapi=$withval
1567
1969
else
1568
1970
  with_winapi="wmme"
1569
 
fi;
1570
 
 
1571
 
 
1572
 
# Check whether --with-macapi or --without-macapi was given.
 
1971
fi
 
1972
 
 
1973
 
 
1974
 
 
1975
# Check whether --with-macapi was given.
1573
1976
if test "${with_macapi+set}" = set; then
1574
 
  withval="$with_macapi"
1575
 
  with_macapi=$withval
 
1977
  withval=$with_macapi; with_macapi=$withval
1576
1978
else
1577
1979
  with_macapi="core"
1578
 
fi;
1579
 
 
1580
 
 
1581
 
# Check whether --with-asiodir or --without-asiodir was given.
 
1980
fi
 
1981
 
 
1982
 
 
1983
 
 
1984
# Check whether --with-universal_binary was given.
 
1985
if test "${with_universal_binary+set}" = set; then
 
1986
  withval=$with_universal_binary; with_universal_binary=$withval
 
1987
else
 
1988
  with_universal_binary="no"
 
1989
fi
 
1990
 
 
1991
 
 
1992
 
 
1993
# Check whether --with-asiodir was given.
1582
1994
if test "${with_asiodir+set}" = set; then
1583
 
  withval="$with_asiodir"
1584
 
  with_asiodir=$withval
 
1995
  withval=$with_asiodir; with_asiodir=$withval
1585
1996
else
1586
1997
  with_asiodir="/usr/local/asiosdk2"
1587
 
fi;
1588
 
 
1589
 
 
1590
 
# Check whether --with-dxdir or --without-dxdir was given.
 
1998
fi
 
1999
 
 
2000
 
 
2001
 
 
2002
# Check whether --with-dxdir was given.
1591
2003
if test "${with_dxdir+set}" = set; then
1592
 
  withval="$with_dxdir"
1593
 
  with_dxdir=$withval
 
2004
  withval=$with_dxdir; with_dxdir=$withval
1594
2005
else
1595
2006
  with_dxdir="/usr/local/dx7sdk"
1596
 
fi;
1597
 
 
1598
 
# Check whether --enable-debug-output or --disable-debug-output was given.
 
2007
fi
 
2008
 
 
2009
 
 
2010
# Check whether --enable-debug-output was given.
1599
2011
if test "${enable_debug_output+set}" = set; then
1600
 
  enableval="$enable_debug_output"
1601
 
  if test x$enableval != xno ; then
 
2012
  enableval=$enable_debug_output; if test x$enableval != xno ; then
1602
2013
 
1603
2014
cat >>confdefs.h <<\_ACEOF
1604
2015
#define PA_ENABLE_DEBUG_OUTPUT
1606
2017
 
1607
2018
          fi
1608
2019
 
1609
 
fi;
1610
 
 
1611
 
# Check whether --enable-cxx or --disable-cxx was given.
 
2020
fi
 
2021
 
 
2022
 
 
2023
# Check whether --enable-cxx was given.
1612
2024
if test "${enable_cxx+set}" = set; then
1613
 
  enableval="$enable_cxx"
1614
 
  enable_cxx=$enableval
 
2025
  enableval=$enable_cxx; enable_cxx=$enableval
1615
2026
else
1616
2027
  enable_cxx="no"
1617
 
fi;
 
2028
fi
 
2029
 
1618
2030
 
1619
2031
 
1620
2032
ac_ext=c
1625
2037
if test -n "$ac_tool_prefix"; then
1626
2038
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1627
2039
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1628
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1629
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2040
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2041
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1630
2042
if test "${ac_cv_prog_CC+set}" = set; then
1631
2043
  echo $ECHO_N "(cached) $ECHO_C" >&6
1632
2044
else
1639
2051
  IFS=$as_save_IFS
1640
2052
  test -z "$as_dir" && as_dir=.
1641
2053
  for ac_exec_ext in '' $ac_executable_extensions; do
1642
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2054
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1643
2055
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1644
2056
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645
2057
    break 2
1646
2058
  fi
1647
2059
done
1648
2060
done
 
2061
IFS=$as_save_IFS
1649
2062
 
1650
2063
fi
1651
2064
fi
1652
2065
CC=$ac_cv_prog_CC
1653
2066
if test -n "$CC"; then
1654
 
  echo "$as_me:$LINENO: result: $CC" >&5
1655
 
echo "${ECHO_T}$CC" >&6
 
2067
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2068
echo "${ECHO_T}$CC" >&6; }
1656
2069
else
1657
 
  echo "$as_me:$LINENO: result: no" >&5
1658
 
echo "${ECHO_T}no" >&6
 
2070
  { echo "$as_me:$LINENO: result: no" >&5
 
2071
echo "${ECHO_T}no" >&6; }
1659
2072
fi
 
2073
 
1660
2074
 
1661
2075
fi
1662
2076
if test -z "$ac_cv_prog_CC"; then
1663
2077
  ac_ct_CC=$CC
1664
2078
  # Extract the first word of "gcc", so it can be a program name with args.
1665
2079
set dummy gcc; ac_word=$2
1666
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1667
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2080
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2081
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1668
2082
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1669
2083
  echo $ECHO_N "(cached) $ECHO_C" >&6
1670
2084
else
1677
2091
  IFS=$as_save_IFS
1678
2092
  test -z "$as_dir" && as_dir=.
1679
2093
  for ac_exec_ext in '' $ac_executable_extensions; do
1680
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2094
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1681
2095
    ac_cv_prog_ac_ct_CC="gcc"
1682
2096
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683
2097
    break 2
1684
2098
  fi
1685
2099
done
1686
2100
done
 
2101
IFS=$as_save_IFS
1687
2102
 
1688
2103
fi
1689
2104
fi
1690
2105
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1691
2106
if test -n "$ac_ct_CC"; then
1692
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1693
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2107
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2108
echo "${ECHO_T}$ac_ct_CC" >&6; }
1694
2109
else
1695
 
  echo "$as_me:$LINENO: result: no" >&5
1696
 
echo "${ECHO_T}no" >&6
 
2110
  { echo "$as_me:$LINENO: result: no" >&5
 
2111
echo "${ECHO_T}no" >&6; }
1697
2112
fi
1698
2113
 
1699
 
  CC=$ac_ct_CC
 
2114
  if test "x$ac_ct_CC" = x; then
 
2115
    CC=""
 
2116
  else
 
2117
    case $cross_compiling:$ac_tool_warned in
 
2118
yes:)
 
2119
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2120
whose name does not start with the host triplet.  If you think this
 
2121
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2122
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2123
whose name does not start with the host triplet.  If you think this
 
2124
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2125
ac_tool_warned=yes ;;
 
2126
esac
 
2127
    CC=$ac_ct_CC
 
2128
  fi
1700
2129
else
1701
2130
  CC="$ac_cv_prog_CC"
1702
2131
fi
1703
2132
 
1704
2133
if test -z "$CC"; then
1705
 
  if test -n "$ac_tool_prefix"; then
1706
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2134
          if test -n "$ac_tool_prefix"; then
 
2135
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1707
2136
set dummy ${ac_tool_prefix}cc; ac_word=$2
1708
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2137
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2138
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1710
2139
if test "${ac_cv_prog_CC+set}" = set; then
1711
2140
  echo $ECHO_N "(cached) $ECHO_C" >&6
1712
2141
else
1719
2148
  IFS=$as_save_IFS
1720
2149
  test -z "$as_dir" && as_dir=.
1721
2150
  for ac_exec_ext in '' $ac_executable_extensions; do
1722
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1723
2152
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1724
2153
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725
2154
    break 2
1726
2155
  fi
1727
2156
done
1728
2157
done
 
2158
IFS=$as_save_IFS
1729
2159
 
1730
2160
fi
1731
2161
fi
1732
2162
CC=$ac_cv_prog_CC
1733
2163
if test -n "$CC"; then
1734
 
  echo "$as_me:$LINENO: result: $CC" >&5
1735
 
echo "${ECHO_T}$CC" >&6
1736
 
else
1737
 
  echo "$as_me:$LINENO: result: no" >&5
1738
 
echo "${ECHO_T}no" >&6
1739
 
fi
1740
 
 
1741
 
fi
1742
 
if test -z "$ac_cv_prog_CC"; then
1743
 
  ac_ct_CC=$CC
1744
 
  # Extract the first word of "cc", so it can be a program name with args.
1745
 
set dummy cc; ac_word=$2
1746
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1750
 
else
1751
 
  if test -n "$ac_ct_CC"; then
1752
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1753
 
else
1754
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1755
 
for as_dir in $PATH
1756
 
do
1757
 
  IFS=$as_save_IFS
1758
 
  test -z "$as_dir" && as_dir=.
1759
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1760
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761
 
    ac_cv_prog_ac_ct_CC="cc"
1762
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763
 
    break 2
 
2164
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2165
echo "${ECHO_T}$CC" >&6; }
 
2166
else
 
2167
  { echo "$as_me:$LINENO: result: no" >&5
 
2168
echo "${ECHO_T}no" >&6; }
 
2169
fi
 
2170
 
 
2171
 
1764
2172
  fi
1765
 
done
1766
 
done
1767
 
 
1768
 
fi
1769
 
fi
1770
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1771
 
if test -n "$ac_ct_CC"; then
1772
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1773
 
echo "${ECHO_T}$ac_ct_CC" >&6
1774
 
else
1775
 
  echo "$as_me:$LINENO: result: no" >&5
1776
 
echo "${ECHO_T}no" >&6
1777
 
fi
1778
 
 
1779
 
  CC=$ac_ct_CC
1780
 
else
1781
 
  CC="$ac_cv_prog_CC"
1782
 
fi
1783
 
 
1784
2173
fi
1785
2174
if test -z "$CC"; then
1786
2175
  # Extract the first word of "cc", so it can be a program name with args.
1787
2176
set dummy cc; ac_word=$2
1788
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1789
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2177
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2178
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1790
2179
if test "${ac_cv_prog_CC+set}" = set; then
1791
2180
  echo $ECHO_N "(cached) $ECHO_C" >&6
1792
2181
else
1800
2189
  IFS=$as_save_IFS
1801
2190
  test -z "$as_dir" && as_dir=.
1802
2191
  for ac_exec_ext in '' $ac_executable_extensions; do
1803
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2192
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1804
2193
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1805
2194
       ac_prog_rejected=yes
1806
2195
       continue
1811
2200
  fi
1812
2201
done
1813
2202
done
 
2203
IFS=$as_save_IFS
1814
2204
 
1815
2205
if test $ac_prog_rejected = yes; then
1816
2206
  # We found a bogon in the path, so make sure we never use it.
1828
2218
fi
1829
2219
CC=$ac_cv_prog_CC
1830
2220
if test -n "$CC"; then
1831
 
  echo "$as_me:$LINENO: result: $CC" >&5
1832
 
echo "${ECHO_T}$CC" >&6
 
2221
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2222
echo "${ECHO_T}$CC" >&6; }
1833
2223
else
1834
 
  echo "$as_me:$LINENO: result: no" >&5
1835
 
echo "${ECHO_T}no" >&6
 
2224
  { echo "$as_me:$LINENO: result: no" >&5
 
2225
echo "${ECHO_T}no" >&6; }
1836
2226
fi
 
2227
 
1837
2228
 
1838
2229
fi
1839
2230
if test -z "$CC"; then
1840
2231
  if test -n "$ac_tool_prefix"; then
1841
 
  for ac_prog in cl
 
2232
  for ac_prog in cl.exe
1842
2233
  do
1843
2234
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1844
2235
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1845
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1846
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2236
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2237
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1847
2238
if test "${ac_cv_prog_CC+set}" = set; then
1848
2239
  echo $ECHO_N "(cached) $ECHO_C" >&6
1849
2240
else
1856
2247
  IFS=$as_save_IFS
1857
2248
  test -z "$as_dir" && as_dir=.
1858
2249
  for ac_exec_ext in '' $ac_executable_extensions; do
1859
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1860
2251
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1861
2252
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862
2253
    break 2
1863
2254
  fi
1864
2255
done
1865
2256
done
 
2257
IFS=$as_save_IFS
1866
2258
 
1867
2259
fi
1868
2260
fi
1869
2261
CC=$ac_cv_prog_CC
1870
2262
if test -n "$CC"; then
1871
 
  echo "$as_me:$LINENO: result: $CC" >&5
1872
 
echo "${ECHO_T}$CC" >&6
 
2263
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2264
echo "${ECHO_T}$CC" >&6; }
1873
2265
else
1874
 
  echo "$as_me:$LINENO: result: no" >&5
1875
 
echo "${ECHO_T}no" >&6
 
2266
  { echo "$as_me:$LINENO: result: no" >&5
 
2267
echo "${ECHO_T}no" >&6; }
1876
2268
fi
1877
2269
 
 
2270
 
1878
2271
    test -n "$CC" && break
1879
2272
  done
1880
2273
fi
1881
2274
if test -z "$CC"; then
1882
2275
  ac_ct_CC=$CC
1883
 
  for ac_prog in cl
 
2276
  for ac_prog in cl.exe
1884
2277
do
1885
2278
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1886
2279
set dummy $ac_prog; ac_word=$2
1887
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1888
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2280
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2281
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889
2282
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1890
2283
  echo $ECHO_N "(cached) $ECHO_C" >&6
1891
2284
else
1898
2291
  IFS=$as_save_IFS
1899
2292
  test -z "$as_dir" && as_dir=.
1900
2293
  for ac_exec_ext in '' $ac_executable_extensions; do
1901
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2294
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1902
2295
    ac_cv_prog_ac_ct_CC="$ac_prog"
1903
2296
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904
2297
    break 2
1905
2298
  fi
1906
2299
done
1907
2300
done
 
2301
IFS=$as_save_IFS
1908
2302
 
1909
2303
fi
1910
2304
fi
1911
2305
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1912
2306
if test -n "$ac_ct_CC"; then
1913
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1914
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2307
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2308
echo "${ECHO_T}$ac_ct_CC" >&6; }
1915
2309
else
1916
 
  echo "$as_me:$LINENO: result: no" >&5
1917
 
echo "${ECHO_T}no" >&6
 
2310
  { echo "$as_me:$LINENO: result: no" >&5
 
2311
echo "${ECHO_T}no" >&6; }
1918
2312
fi
1919
2313
 
 
2314
 
1920
2315
  test -n "$ac_ct_CC" && break
1921
2316
done
1922
2317
 
1923
 
  CC=$ac_ct_CC
 
2318
  if test "x$ac_ct_CC" = x; then
 
2319
    CC=""
 
2320
  else
 
2321
    case $cross_compiling:$ac_tool_warned in
 
2322
yes:)
 
2323
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2324
whose name does not start with the host triplet.  If you think this
 
2325
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2326
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2327
whose name does not start with the host triplet.  If you think this
 
2328
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2329
ac_tool_warned=yes ;;
 
2330
esac
 
2331
    CC=$ac_ct_CC
 
2332
  fi
1924
2333
fi
1925
2334
 
1926
2335
fi
1933
2342
   { (exit 1); exit 1; }; }
1934
2343
 
1935
2344
# Provide some information about the compiler.
1936
 
echo "$as_me:$LINENO:" \
1937
 
     "checking for C compiler version" >&5
 
2345
echo "$as_me:$LINENO: checking for C compiler version" >&5
1938
2346
ac_compiler=`set X $ac_compile; echo $2`
1939
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1940
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1941
 
  ac_status=$?
1942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943
 
  (exit $ac_status); }
1944
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1945
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1946
 
  ac_status=$?
1947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948
 
  (exit $ac_status); }
1949
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1950
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2347
{ (ac_try="$ac_compiler --version >&5"
 
2348
case "(($ac_try" in
 
2349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2350
  *) ac_try_echo=$ac_try;;
 
2351
esac
 
2352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2353
  (eval "$ac_compiler --version >&5") 2>&5
 
2354
  ac_status=$?
 
2355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2356
  (exit $ac_status); }
 
2357
{ (ac_try="$ac_compiler -v >&5"
 
2358
case "(($ac_try" in
 
2359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2360
  *) ac_try_echo=$ac_try;;
 
2361
esac
 
2362
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2363
  (eval "$ac_compiler -v >&5") 2>&5
 
2364
  ac_status=$?
 
2365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2366
  (exit $ac_status); }
 
2367
{ (ac_try="$ac_compiler -V >&5"
 
2368
case "(($ac_try" in
 
2369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2370
  *) ac_try_echo=$ac_try;;
 
2371
esac
 
2372
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2373
  (eval "$ac_compiler -V >&5") 2>&5
1951
2374
  ac_status=$?
1952
2375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953
2376
  (exit $ac_status); }
1972
2395
# Try to create an executable without -o first, disregard a.out.
1973
2396
# It will help us diagnose broken compilers, and finding out an intuition
1974
2397
# of exeext.
1975
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1976
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2398
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2399
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1977
2400
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1978
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1979
 
  (eval $ac_link_default) 2>&5
 
2401
#
 
2402
# List of possible output files, starting from the most likely.
 
2403
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2404
# only as a last resort.  b.out is created by i960 compilers.
 
2405
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2406
#
 
2407
# The IRIX 6 linker writes into existing files which may not be
 
2408
# executable, retaining their permissions.  Remove them first so a
 
2409
# subsequent execution test works.
 
2410
ac_rmfiles=
 
2411
for ac_file in $ac_files
 
2412
do
 
2413
  case $ac_file in
 
2414
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2415
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2416
  esac
 
2417
done
 
2418
rm -f $ac_rmfiles
 
2419
 
 
2420
if { (ac_try="$ac_link_default"
 
2421
case "(($ac_try" in
 
2422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2423
  *) ac_try_echo=$ac_try;;
 
2424
esac
 
2425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2426
  (eval "$ac_link_default") 2>&5
1980
2427
  ac_status=$?
1981
2428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982
2429
  (exit $ac_status); }; then
1983
 
  # Find the output, starting from the most likely.  This scheme is
1984
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1985
 
# resort.
1986
 
 
1987
 
# Be careful to initialize this variable, since it used to be cached.
1988
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1989
 
ac_cv_exeext=
1990
 
# b.out is created by i960 compilers.
1991
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2430
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2431
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2432
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2433
# so that the user can short-circuit this test for compilers unknown to
 
2434
# Autoconf.
 
2435
for ac_file in $ac_files ''
1992
2436
do
1993
2437
  test -f "$ac_file" || continue
1994
2438
  case $ac_file in
1995
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1996
 
        ;;
1997
 
    conftest.$ac_ext )
1998
 
        # This is the source file.
 
2439
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1999
2440
        ;;
2000
2441
    [ab].out )
2001
2442
        # We found the default executable, but exeext='' is most
2002
2443
        # certainly right.
2003
2444
        break;;
2004
2445
    *.* )
2005
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2006
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2007
 
        # but it would be cool to find out if it's true.  Does anybody
2008
 
        # maintain Libtool? --akim.
2009
 
        export ac_cv_exeext
 
2446
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2447
        then :; else
 
2448
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2449
        fi
 
2450
        # We set ac_cv_exeext here because the later test for it is not
 
2451
        # safe: cross compilers may not add the suffix if given an `-o'
 
2452
        # argument, so we may need to know it at that point already.
 
2453
        # Even if this section looks crufty: it has the advantage of
 
2454
        # actually working.
2010
2455
        break;;
2011
2456
    * )
2012
2457
        break;;
2013
2458
  esac
2014
2459
done
 
2460
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2461
 
2015
2462
else
 
2463
  ac_file=''
 
2464
fi
 
2465
 
 
2466
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2467
echo "${ECHO_T}$ac_file" >&6; }
 
2468
if test -z "$ac_file"; then
2016
2469
  echo "$as_me: failed program was:" >&5
2017
2470
sed 's/^/| /' conftest.$ac_ext >&5
2018
2471
 
2024
2477
fi
2025
2478
 
2026
2479
ac_exeext=$ac_cv_exeext
2027
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2028
 
echo "${ECHO_T}$ac_file" >&6
2029
2480
 
2030
 
# Check the compiler produces executables we can run.  If not, either
 
2481
# Check that the compiler produces executables we can run.  If not, either
2031
2482
# the compiler is broken, or we cross compile.
2032
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2033
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2483
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2484
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2034
2485
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2035
2486
# If not cross compiling, check that we can run a simple program.
2036
2487
if test "$cross_compiling" != yes; then
2037
2488
  if { ac_try='./$ac_file'
2038
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039
 
  (eval $ac_try) 2>&5
 
2489
  { (case "(($ac_try" in
 
2490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2491
  *) ac_try_echo=$ac_try;;
 
2492
esac
 
2493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2494
  (eval "$ac_try") 2>&5
2040
2495
  ac_status=$?
2041
2496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042
2497
  (exit $ac_status); }; }; then
2055
2510
    fi
2056
2511
  fi
2057
2512
fi
2058
 
echo "$as_me:$LINENO: result: yes" >&5
2059
 
echo "${ECHO_T}yes" >&6
 
2513
{ echo "$as_me:$LINENO: result: yes" >&5
 
2514
echo "${ECHO_T}yes" >&6; }
2060
2515
 
2061
2516
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2062
2517
ac_clean_files=$ac_clean_files_save
2063
 
# Check the compiler produces executables we can run.  If not, either
 
2518
# Check that the compiler produces executables we can run.  If not, either
2064
2519
# the compiler is broken, or we cross compile.
2065
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2066
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2067
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2068
 
echo "${ECHO_T}$cross_compiling" >&6
 
2520
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2521
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2522
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2523
echo "${ECHO_T}$cross_compiling" >&6; }
2069
2524
 
2070
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2071
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2072
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2073
 
  (eval $ac_link) 2>&5
 
2525
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2526
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2527
if { (ac_try="$ac_link"
 
2528
case "(($ac_try" in
 
2529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2530
  *) ac_try_echo=$ac_try;;
 
2531
esac
 
2532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2533
  (eval "$ac_link") 2>&5
2074
2534
  ac_status=$?
2075
2535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076
2536
  (exit $ac_status); }; then
2081
2541
for ac_file in conftest.exe conftest conftest.*; do
2082
2542
  test -f "$ac_file" || continue
2083
2543
  case $ac_file in
2084
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2544
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2085
2545
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086
 
          export ac_cv_exeext
2087
2546
          break;;
2088
2547
    * ) break;;
2089
2548
  esac
2097
2556
fi
2098
2557
 
2099
2558
rm -f conftest$ac_cv_exeext
2100
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2101
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2559
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2560
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2102
2561
 
2103
2562
rm -f conftest.$ac_ext
2104
2563
EXEEXT=$ac_cv_exeext
2105
2564
ac_exeext=$EXEEXT
2106
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2107
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2565
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2566
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2108
2567
if test "${ac_cv_objext+set}" = set; then
2109
2568
  echo $ECHO_N "(cached) $ECHO_C" >&6
2110
2569
else
2124
2583
}
2125
2584
_ACEOF
2126
2585
rm -f conftest.o conftest.obj
2127
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2128
 
  (eval $ac_compile) 2>&5
 
2586
if { (ac_try="$ac_compile"
 
2587
case "(($ac_try" in
 
2588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2589
  *) ac_try_echo=$ac_try;;
 
2590
esac
 
2591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2592
  (eval "$ac_compile") 2>&5
2129
2593
  ac_status=$?
2130
2594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131
2595
  (exit $ac_status); }; then
2132
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2596
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2597
  test -f "$ac_file" || continue;
2133
2598
  case $ac_file in
2134
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2599
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2135
2600
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2136
2601
       break;;
2137
2602
  esac
2149
2614
 
2150
2615
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2151
2616
fi
2152
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2153
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2617
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2618
echo "${ECHO_T}$ac_cv_objext" >&6; }
2154
2619
OBJEXT=$ac_cv_objext
2155
2620
ac_objext=$OBJEXT
2156
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2157
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2621
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2622
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2158
2623
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2159
2624
  echo $ECHO_N "(cached) $ECHO_C" >&6
2160
2625
else
2177
2642
}
2178
2643
_ACEOF
2179
2644
rm -f conftest.$ac_objext
2180
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181
 
  (eval $ac_compile) 2>conftest.er1
 
2645
if { (ac_try="$ac_compile"
 
2646
case "(($ac_try" in
 
2647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2648
  *) ac_try_echo=$ac_try;;
 
2649
esac
 
2650
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2651
  (eval "$ac_compile") 2>conftest.er1
2182
2652
  ac_status=$?
2183
2653
  grep -v '^ *+' conftest.er1 >conftest.err
2184
2654
  rm -f conftest.er1
2185
2655
  cat conftest.err >&5
2186
2656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
 
  (exit $ac_status); } &&
2188
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2189
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190
 
  (eval $ac_try) 2>&5
2191
 
  ac_status=$?
2192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193
 
  (exit $ac_status); }; } &&
2194
 
         { ac_try='test -s conftest.$ac_objext'
2195
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196
 
  (eval $ac_try) 2>&5
2197
 
  ac_status=$?
2198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199
 
  (exit $ac_status); }; }; then
 
2657
  (exit $ac_status); } && {
 
2658
         test -z "$ac_c_werror_flag" ||
 
2659
         test ! -s conftest.err
 
2660
       } && test -s conftest.$ac_objext; then
2200
2661
  ac_compiler_gnu=yes
2201
2662
else
2202
2663
  echo "$as_me: failed program was:" >&5
2203
2664
sed 's/^/| /' conftest.$ac_ext >&5
2204
2665
 
2205
 
ac_compiler_gnu=no
 
2666
        ac_compiler_gnu=no
2206
2667
fi
2207
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2668
 
 
2669
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208
2670
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2209
2671
 
2210
2672
fi
2211
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2212
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2673
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2674
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2213
2675
GCC=`test $ac_compiler_gnu = yes && echo yes`
2214
2676
ac_test_CFLAGS=${CFLAGS+set}
2215
2677
ac_save_CFLAGS=$CFLAGS
2216
 
CFLAGS="-g"
2217
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2218
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2678
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2679
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2219
2680
if test "${ac_cv_prog_cc_g+set}" = set; then
2220
2681
  echo $ECHO_N "(cached) $ECHO_C" >&6
2221
2682
else
2222
 
  cat >conftest.$ac_ext <<_ACEOF
2223
 
/* confdefs.h.  */
2224
 
_ACEOF
2225
 
cat confdefs.h >>conftest.$ac_ext
2226
 
cat >>conftest.$ac_ext <<_ACEOF
2227
 
/* end confdefs.h.  */
2228
 
 
2229
 
int
2230
 
main ()
2231
 
{
2232
 
 
2233
 
  ;
2234
 
  return 0;
2235
 
}
2236
 
_ACEOF
2237
 
rm -f conftest.$ac_objext
2238
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2239
 
  (eval $ac_compile) 2>conftest.er1
2240
 
  ac_status=$?
2241
 
  grep -v '^ *+' conftest.er1 >conftest.err
2242
 
  rm -f conftest.er1
2243
 
  cat conftest.err >&5
2244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245
 
  (exit $ac_status); } &&
2246
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2248
 
  (eval $ac_try) 2>&5
2249
 
  ac_status=$?
2250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251
 
  (exit $ac_status); }; } &&
2252
 
         { ac_try='test -s conftest.$ac_objext'
2253
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254
 
  (eval $ac_try) 2>&5
2255
 
  ac_status=$?
2256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257
 
  (exit $ac_status); }; }; then
2258
 
  ac_cv_prog_cc_g=yes
2259
 
else
2260
 
  echo "$as_me: failed program was:" >&5
2261
 
sed 's/^/| /' conftest.$ac_ext >&5
2262
 
 
2263
 
ac_cv_prog_cc_g=no
2264
 
fi
2265
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2266
 
fi
2267
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2268
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2683
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2684
   ac_c_werror_flag=yes
 
2685
   ac_cv_prog_cc_g=no
 
2686
   CFLAGS="-g"
 
2687
   cat >conftest.$ac_ext <<_ACEOF
 
2688
/* confdefs.h.  */
 
2689
_ACEOF
 
2690
cat confdefs.h >>conftest.$ac_ext
 
2691
cat >>conftest.$ac_ext <<_ACEOF
 
2692
/* end confdefs.h.  */
 
2693
 
 
2694
int
 
2695
main ()
 
2696
{
 
2697
 
 
2698
  ;
 
2699
  return 0;
 
2700
}
 
2701
_ACEOF
 
2702
rm -f conftest.$ac_objext
 
2703
if { (ac_try="$ac_compile"
 
2704
case "(($ac_try" in
 
2705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2706
  *) ac_try_echo=$ac_try;;
 
2707
esac
 
2708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2709
  (eval "$ac_compile") 2>conftest.er1
 
2710
  ac_status=$?
 
2711
  grep -v '^ *+' conftest.er1 >conftest.err
 
2712
  rm -f conftest.er1
 
2713
  cat conftest.err >&5
 
2714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2715
  (exit $ac_status); } && {
 
2716
         test -z "$ac_c_werror_flag" ||
 
2717
         test ! -s conftest.err
 
2718
       } && test -s conftest.$ac_objext; then
 
2719
  ac_cv_prog_cc_g=yes
 
2720
else
 
2721
  echo "$as_me: failed program was:" >&5
 
2722
sed 's/^/| /' conftest.$ac_ext >&5
 
2723
 
 
2724
        CFLAGS=""
 
2725
      cat >conftest.$ac_ext <<_ACEOF
 
2726
/* confdefs.h.  */
 
2727
_ACEOF
 
2728
cat confdefs.h >>conftest.$ac_ext
 
2729
cat >>conftest.$ac_ext <<_ACEOF
 
2730
/* end confdefs.h.  */
 
2731
 
 
2732
int
 
2733
main ()
 
2734
{
 
2735
 
 
2736
  ;
 
2737
  return 0;
 
2738
}
 
2739
_ACEOF
 
2740
rm -f conftest.$ac_objext
 
2741
if { (ac_try="$ac_compile"
 
2742
case "(($ac_try" in
 
2743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2744
  *) ac_try_echo=$ac_try;;
 
2745
esac
 
2746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2747
  (eval "$ac_compile") 2>conftest.er1
 
2748
  ac_status=$?
 
2749
  grep -v '^ *+' conftest.er1 >conftest.err
 
2750
  rm -f conftest.er1
 
2751
  cat conftest.err >&5
 
2752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2753
  (exit $ac_status); } && {
 
2754
         test -z "$ac_c_werror_flag" ||
 
2755
         test ! -s conftest.err
 
2756
       } && test -s conftest.$ac_objext; then
 
2757
  :
 
2758
else
 
2759
  echo "$as_me: failed program was:" >&5
 
2760
sed 's/^/| /' conftest.$ac_ext >&5
 
2761
 
 
2762
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2763
         CFLAGS="-g"
 
2764
         cat >conftest.$ac_ext <<_ACEOF
 
2765
/* confdefs.h.  */
 
2766
_ACEOF
 
2767
cat confdefs.h >>conftest.$ac_ext
 
2768
cat >>conftest.$ac_ext <<_ACEOF
 
2769
/* end confdefs.h.  */
 
2770
 
 
2771
int
 
2772
main ()
 
2773
{
 
2774
 
 
2775
  ;
 
2776
  return 0;
 
2777
}
 
2778
_ACEOF
 
2779
rm -f conftest.$ac_objext
 
2780
if { (ac_try="$ac_compile"
 
2781
case "(($ac_try" in
 
2782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2783
  *) ac_try_echo=$ac_try;;
 
2784
esac
 
2785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2786
  (eval "$ac_compile") 2>conftest.er1
 
2787
  ac_status=$?
 
2788
  grep -v '^ *+' conftest.er1 >conftest.err
 
2789
  rm -f conftest.er1
 
2790
  cat conftest.err >&5
 
2791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2792
  (exit $ac_status); } && {
 
2793
         test -z "$ac_c_werror_flag" ||
 
2794
         test ! -s conftest.err
 
2795
       } && test -s conftest.$ac_objext; then
 
2796
  ac_cv_prog_cc_g=yes
 
2797
else
 
2798
  echo "$as_me: failed program was:" >&5
 
2799
sed 's/^/| /' conftest.$ac_ext >&5
 
2800
 
 
2801
 
 
2802
fi
 
2803
 
 
2804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2805
fi
 
2806
 
 
2807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2808
fi
 
2809
 
 
2810
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2811
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2812
fi
 
2813
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2814
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2269
2815
if test "$ac_test_CFLAGS" = set; then
2270
2816
  CFLAGS=$ac_save_CFLAGS
2271
2817
elif test $ac_cv_prog_cc_g = yes; then
2281
2827
    CFLAGS=
2282
2828
  fi
2283
2829
fi
2284
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2285
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2286
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2830
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2831
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2832
if test "${ac_cv_prog_cc_c89+set}" = set; then
2287
2833
  echo $ECHO_N "(cached) $ECHO_C" >&6
2288
2834
else
2289
 
  ac_cv_prog_cc_stdc=no
 
2835
  ac_cv_prog_cc_c89=no
2290
2836
ac_save_CC=$CC
2291
2837
cat >conftest.$ac_ext <<_ACEOF
2292
2838
/* confdefs.h.  */
2320
2866
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2321
2867
   function prototypes and stuff, but not '\xHH' hex character constants.
2322
2868
   These don't provoke an error unfortunately, instead are silently treated
2323
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
2869
   as 'x'.  The following induces an error, until -std is added to get
2324
2870
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2325
2871
   array size at least.  It's necessary to write '\x00'==0 to get something
2326
 
   that's true only with -std1.  */
 
2872
   that's true only with -std.  */
2327
2873
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2328
2874
 
 
2875
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
2876
   inside strings and character constants.  */
 
2877
#define FOO(x) 'x'
 
2878
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
2879
 
2329
2880
int test (int i, double x);
2330
2881
struct s1 {int (*f) (int a);};
2331
2882
struct s2 {int (*f) (double a);};
2340
2891
  return 0;
2341
2892
}
2342
2893
_ACEOF
2343
 
# Don't try gcc -ansi; that turns off useful extensions and
2344
 
# breaks some systems' header files.
2345
 
# AIX                   -qlanglvl=ansi
2346
 
# Ultrix and OSF/1      -std1
2347
 
# HP-UX 10.20 and later -Ae
2348
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2349
 
# SVR4                  -Xc -D__EXTENSIONS__
2350
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2894
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
2895
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2351
2896
do
2352
2897
  CC="$ac_save_CC $ac_arg"
2353
2898
  rm -f conftest.$ac_objext
2354
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355
 
  (eval $ac_compile) 2>conftest.er1
 
2899
if { (ac_try="$ac_compile"
 
2900
case "(($ac_try" in
 
2901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2902
  *) ac_try_echo=$ac_try;;
 
2903
esac
 
2904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2905
  (eval "$ac_compile") 2>conftest.er1
2356
2906
  ac_status=$?
2357
2907
  grep -v '^ *+' conftest.er1 >conftest.err
2358
2908
  rm -f conftest.er1
2359
2909
  cat conftest.err >&5
2360
2910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
 
  (exit $ac_status); } &&
2362
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364
 
  (eval $ac_try) 2>&5
2365
 
  ac_status=$?
2366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
 
  (exit $ac_status); }; } &&
2368
 
         { ac_try='test -s conftest.$ac_objext'
2369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370
 
  (eval $ac_try) 2>&5
2371
 
  ac_status=$?
2372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
 
  (exit $ac_status); }; }; then
2374
 
  ac_cv_prog_cc_stdc=$ac_arg
2375
 
break
 
2911
  (exit $ac_status); } && {
 
2912
         test -z "$ac_c_werror_flag" ||
 
2913
         test ! -s conftest.err
 
2914
       } && test -s conftest.$ac_objext; then
 
2915
  ac_cv_prog_cc_c89=$ac_arg
2376
2916
else
2377
2917
  echo "$as_me: failed program was:" >&5
2378
2918
sed 's/^/| /' conftest.$ac_ext >&5
2379
2919
 
 
2920
 
2380
2921
fi
2381
 
rm -f conftest.err conftest.$ac_objext
 
2922
 
 
2923
rm -f core conftest.err conftest.$ac_objext
 
2924
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2382
2925
done
2383
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
2926
rm -f conftest.$ac_ext
2384
2927
CC=$ac_save_CC
2385
2928
 
2386
2929
fi
2387
 
 
2388
 
case "x$ac_cv_prog_cc_stdc" in
2389
 
  x|xno)
2390
 
    echo "$as_me:$LINENO: result: none needed" >&5
2391
 
echo "${ECHO_T}none needed" >&6 ;;
 
2930
# AC_CACHE_VAL
 
2931
case "x$ac_cv_prog_cc_c89" in
 
2932
  x)
 
2933
    { echo "$as_me:$LINENO: result: none needed" >&5
 
2934
echo "${ECHO_T}none needed" >&6; } ;;
 
2935
  xno)
 
2936
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
2937
echo "${ECHO_T}unsupported" >&6; } ;;
2392
2938
  *)
2393
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2394
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2395
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2939
    CC="$CC $ac_cv_prog_cc_c89"
 
2940
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2941
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2396
2942
esac
2397
2943
 
2398
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2399
 
# in C++ we need to declare it.  In case someone uses the same compiler
2400
 
# for both compiling C and C++ we need to have the C++ compiler decide
2401
 
# the declaration of exit, since it's the most demanding environment.
2402
 
cat >conftest.$ac_ext <<_ACEOF
2403
 
#ifndef __cplusplus
2404
 
  choke me
2405
 
#endif
2406
 
_ACEOF
2407
 
rm -f conftest.$ac_objext
2408
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2409
 
  (eval $ac_compile) 2>conftest.er1
2410
 
  ac_status=$?
2411
 
  grep -v '^ *+' conftest.er1 >conftest.err
2412
 
  rm -f conftest.er1
2413
 
  cat conftest.err >&5
2414
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
 
  (exit $ac_status); } &&
2416
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2417
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418
 
  (eval $ac_try) 2>&5
2419
 
  ac_status=$?
2420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
 
  (exit $ac_status); }; } &&
2422
 
         { ac_try='test -s conftest.$ac_objext'
2423
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424
 
  (eval $ac_try) 2>&5
2425
 
  ac_status=$?
2426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427
 
  (exit $ac_status); }; }; then
2428
 
  for ac_declaration in \
2429
 
   '' \
2430
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2431
 
   'extern "C" void std::exit (int); using std::exit;' \
2432
 
   'extern "C" void exit (int) throw ();' \
2433
 
   'extern "C" void exit (int);' \
2434
 
   'void exit (int);'
2435
 
do
2436
 
  cat >conftest.$ac_ext <<_ACEOF
2437
 
/* confdefs.h.  */
2438
 
_ACEOF
2439
 
cat confdefs.h >>conftest.$ac_ext
2440
 
cat >>conftest.$ac_ext <<_ACEOF
2441
 
/* end confdefs.h.  */
2442
 
$ac_declaration
2443
 
#include <stdlib.h>
2444
 
int
2445
 
main ()
2446
 
{
2447
 
exit (42);
2448
 
  ;
2449
 
  return 0;
2450
 
}
2451
 
_ACEOF
2452
 
rm -f conftest.$ac_objext
2453
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2454
 
  (eval $ac_compile) 2>conftest.er1
2455
 
  ac_status=$?
2456
 
  grep -v '^ *+' conftest.er1 >conftest.err
2457
 
  rm -f conftest.er1
2458
 
  cat conftest.err >&5
2459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460
 
  (exit $ac_status); } &&
2461
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463
 
  (eval $ac_try) 2>&5
2464
 
  ac_status=$?
2465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
 
  (exit $ac_status); }; } &&
2467
 
         { ac_try='test -s conftest.$ac_objext'
2468
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469
 
  (eval $ac_try) 2>&5
2470
 
  ac_status=$?
2471
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
 
  (exit $ac_status); }; }; then
2473
 
  :
2474
 
else
2475
 
  echo "$as_me: failed program was:" >&5
2476
 
sed 's/^/| /' conftest.$ac_ext >&5
2477
 
 
2478
 
continue
2479
 
fi
2480
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2481
 
  cat >conftest.$ac_ext <<_ACEOF
2482
 
/* confdefs.h.  */
2483
 
_ACEOF
2484
 
cat confdefs.h >>conftest.$ac_ext
2485
 
cat >>conftest.$ac_ext <<_ACEOF
2486
 
/* end confdefs.h.  */
2487
 
$ac_declaration
2488
 
int
2489
 
main ()
2490
 
{
2491
 
exit (42);
2492
 
  ;
2493
 
  return 0;
2494
 
}
2495
 
_ACEOF
2496
 
rm -f conftest.$ac_objext
2497
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498
 
  (eval $ac_compile) 2>conftest.er1
2499
 
  ac_status=$?
2500
 
  grep -v '^ *+' conftest.er1 >conftest.err
2501
 
  rm -f conftest.er1
2502
 
  cat conftest.err >&5
2503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
 
  (exit $ac_status); } &&
2505
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507
 
  (eval $ac_try) 2>&5
2508
 
  ac_status=$?
2509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
 
  (exit $ac_status); }; } &&
2511
 
         { ac_try='test -s conftest.$ac_objext'
2512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513
 
  (eval $ac_try) 2>&5
2514
 
  ac_status=$?
2515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516
 
  (exit $ac_status); }; }; then
2517
 
  break
2518
 
else
2519
 
  echo "$as_me: failed program was:" >&5
2520
 
sed 's/^/| /' conftest.$ac_ext >&5
2521
 
 
2522
 
fi
2523
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2524
 
done
2525
 
rm -f conftest*
2526
 
if test -n "$ac_declaration"; then
2527
 
  echo '#ifdef __cplusplus' >>confdefs.h
2528
 
  echo $ac_declaration      >>confdefs.h
2529
 
  echo '#endif'             >>confdefs.h
2530
 
fi
2531
 
 
2532
 
else
2533
 
  echo "$as_me: failed program was:" >&5
2534
 
sed 's/^/| /' conftest.$ac_ext >&5
2535
 
 
2536
 
fi
2537
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2944
 
2538
2945
ac_ext=c
2539
2946
ac_cpp='$CPP $CPPFLAGS'
2540
2947
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2543
2950
 
2544
2951
 
2545
2952
 
2546
 
# Check whether --enable-shared or --disable-shared was given.
 
2953
# Check whether --enable-shared was given.
2547
2954
if test "${enable_shared+set}" = set; then
2548
 
  enableval="$enable_shared"
2549
 
  p=${PACKAGE-default}
 
2955
  enableval=$enable_shared; p=${PACKAGE-default}
2550
2956
    case $enableval in
2551
2957
    yes) enable_shared=yes ;;
2552
2958
    no) enable_shared=no ;;
2565
2971
    esac
2566
2972
else
2567
2973
  enable_shared=yes
2568
 
fi;
2569
 
 
2570
 
# Check whether --enable-static or --disable-static was given.
 
2974
fi
 
2975
 
 
2976
 
 
2977
# Check whether --enable-static was given.
2571
2978
if test "${enable_static+set}" = set; then
2572
 
  enableval="$enable_static"
2573
 
  p=${PACKAGE-default}
 
2979
  enableval=$enable_static; p=${PACKAGE-default}
2574
2980
    case $enableval in
2575
2981
    yes) enable_static=yes ;;
2576
2982
    no) enable_static=no ;;
2589
2995
    esac
2590
2996
else
2591
2997
  enable_static=yes
2592
 
fi;
2593
 
 
2594
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
2998
fi
 
2999
 
 
3000
 
 
3001
# Check whether --enable-fast-install was given.
2595
3002
if test "${enable_fast_install+set}" = set; then
2596
 
  enableval="$enable_fast_install"
2597
 
  p=${PACKAGE-default}
 
3003
  enableval=$enable_fast_install; p=${PACKAGE-default}
2598
3004
    case $enableval in
2599
3005
    yes) enable_fast_install=yes ;;
2600
3006
    no) enable_fast_install=no ;;
2613
3019
    esac
2614
3020
else
2615
3021
  enable_fast_install=yes
2616
 
fi;
 
3022
fi
 
3023
 
2617
3024
 
2618
3025
ac_aux_dir=
2619
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2620
 
  if test -f $ac_dir/install-sh; then
 
3026
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
3027
  if test -f "$ac_dir/install-sh"; then
2621
3028
    ac_aux_dir=$ac_dir
2622
3029
    ac_install_sh="$ac_aux_dir/install-sh -c"
2623
3030
    break
2624
 
  elif test -f $ac_dir/install.sh; then
 
3031
  elif test -f "$ac_dir/install.sh"; then
2625
3032
    ac_aux_dir=$ac_dir
2626
3033
    ac_install_sh="$ac_aux_dir/install.sh -c"
2627
3034
    break
2628
 
  elif test -f $ac_dir/shtool; then
 
3035
  elif test -f "$ac_dir/shtool"; then
2629
3036
    ac_aux_dir=$ac_dir
2630
3037
    ac_install_sh="$ac_aux_dir/shtool install -c"
2631
3038
    break
2632
3039
  fi
2633
3040
done
2634
3041
if test -z "$ac_aux_dir"; then
2635
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2636
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
3042
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
3043
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2637
3044
   { (exit 1); exit 1; }; }
2638
3045
fi
2639
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2640
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2641
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
3046
 
 
3047
# These three variables are undocumented and unsupported,
 
3048
# and are intended to be withdrawn in a future Autoconf release.
 
3049
# They can cause serious problems if a builder's source tree is in a directory
 
3050
# whose full name contains unusual characters.
 
3051
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
3052
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
3053
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
3054
 
2642
3055
 
2643
3056
# Make sure we can run config.sub.
2644
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2645
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2646
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
3057
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3058
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3059
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2647
3060
   { (exit 1); exit 1; }; }
2648
3061
 
2649
 
echo "$as_me:$LINENO: checking build system type" >&5
2650
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
3062
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3063
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2651
3064
if test "${ac_cv_build+set}" = set; then
2652
3065
  echo $ECHO_N "(cached) $ECHO_C" >&6
2653
3066
else
2654
 
  ac_cv_build_alias=$build_alias
2655
 
test -z "$ac_cv_build_alias" &&
2656
 
  ac_cv_build_alias=`$ac_config_guess`
2657
 
test -z "$ac_cv_build_alias" &&
 
3067
  ac_build_alias=$build_alias
 
3068
test "x$ac_build_alias" = x &&
 
3069
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3070
test "x$ac_build_alias" = x &&
2658
3071
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2659
3072
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2660
3073
   { (exit 1); exit 1; }; }
2661
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2662
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2663
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
3074
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3075
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3076
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2664
3077
   { (exit 1); exit 1; }; }
2665
3078
 
2666
3079
fi
2667
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2668
 
echo "${ECHO_T}$ac_cv_build" >&6
 
3080
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3081
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3082
case $ac_cv_build in
 
3083
*-*-*) ;;
 
3084
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3085
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3086
   { (exit 1); exit 1; }; };;
 
3087
esac
2669
3088
build=$ac_cv_build
2670
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2671
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2672
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2673
 
 
2674
 
 
2675
 
echo "$as_me:$LINENO: checking host system type" >&5
2676
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
3089
ac_save_IFS=$IFS; IFS='-'
 
3090
set x $ac_cv_build
 
3091
shift
 
3092
build_cpu=$1
 
3093
build_vendor=$2
 
3094
shift; shift
 
3095
# Remember, the first character of IFS is used to create $*,
 
3096
# except with old shells:
 
3097
build_os=$*
 
3098
IFS=$ac_save_IFS
 
3099
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3100
 
 
3101
 
 
3102
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3103
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2677
3104
if test "${ac_cv_host+set}" = set; then
2678
3105
  echo $ECHO_N "(cached) $ECHO_C" >&6
2679
3106
else
2680
 
  ac_cv_host_alias=$host_alias
2681
 
test -z "$ac_cv_host_alias" &&
2682
 
  ac_cv_host_alias=$ac_cv_build_alias
2683
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2684
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2685
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
3107
  if test "x$host_alias" = x; then
 
3108
  ac_cv_host=$ac_cv_build
 
3109
else
 
3110
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3111
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3112
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2686
3113
   { (exit 1); exit 1; }; }
 
3114
fi
2687
3115
 
2688
3116
fi
2689
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2690
 
echo "${ECHO_T}$ac_cv_host" >&6
 
3117
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3118
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3119
case $ac_cv_host in
 
3120
*-*-*) ;;
 
3121
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3122
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3123
   { (exit 1); exit 1; }; };;
 
3124
esac
2691
3125
host=$ac_cv_host
2692
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2693
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2694
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2695
 
 
2696
 
 
2697
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2698
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3126
ac_save_IFS=$IFS; IFS='-'
 
3127
set x $ac_cv_host
 
3128
shift
 
3129
host_cpu=$1
 
3130
host_vendor=$2
 
3131
shift; shift
 
3132
# Remember, the first character of IFS is used to create $*,
 
3133
# except with old shells:
 
3134
host_os=$*
 
3135
IFS=$ac_save_IFS
 
3136
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3137
 
 
3138
 
 
3139
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3140
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2699
3141
if test "${lt_cv_path_SED+set}" = set; then
2700
3142
  echo $ECHO_N "(cached) $ECHO_C" >&6
2701
3143
else
2708
3150
  test -z "$as_dir" && as_dir=.
2709
3151
  for lt_ac_prog in sed gsed; do
2710
3152
    for ac_exec_ext in '' $ac_executable_extensions; do
2711
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
3153
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
2712
3154
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2713
3155
      fi
2714
3156
    done
2715
3157
  done
2716
3158
done
 
3159
IFS=$as_save_IFS
2717
3160
lt_ac_max=0
2718
3161
lt_ac_count=0
2719
3162
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
2748
3191
fi
2749
3192
 
2750
3193
SED=$lt_cv_path_SED
2751
 
echo "$as_me:$LINENO: result: $SED" >&5
2752
 
echo "${ECHO_T}$SED" >&6
2753
 
 
2754
 
echo "$as_me:$LINENO: checking for egrep" >&5
2755
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2756
 
if test "${ac_cv_prog_egrep+set}" = set; then
2757
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2758
 
else
2759
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2760
 
    then ac_cv_prog_egrep='grep -E'
2761
 
    else ac_cv_prog_egrep='egrep'
2762
 
    fi
2763
 
fi
2764
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2765
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2766
 
 EGREP=$ac_cv_prog_egrep
2767
 
 
2768
 
 
2769
 
 
2770
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3194
 
 
3195
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3196
echo "${ECHO_T}$SED" >&6; }
 
3197
 
 
3198
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3199
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3200
if test "${ac_cv_path_GREP+set}" = set; then
 
3201
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3202
else
 
3203
  # Extract the first word of "grep ggrep" to use in msg output
 
3204
if test -z "$GREP"; then
 
3205
set dummy grep ggrep; ac_prog_name=$2
 
3206
if test "${ac_cv_path_GREP+set}" = set; then
 
3207
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3208
else
 
3209
  ac_path_GREP_found=false
 
3210
# Loop through the user's path and test for each of PROGNAME-LIST
 
3211
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3212
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3213
do
 
3214
  IFS=$as_save_IFS
 
3215
  test -z "$as_dir" && as_dir=.
 
3216
  for ac_prog in grep ggrep; do
 
3217
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3218
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3219
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3220
    # Check for GNU ac_path_GREP and select it if it is found.
 
3221
  # Check for GNU $ac_path_GREP
 
3222
case `"$ac_path_GREP" --version 2>&1` in
 
3223
*GNU*)
 
3224
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3225
*)
 
3226
  ac_count=0
 
3227
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3228
  while :
 
3229
  do
 
3230
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3231
    mv "conftest.tmp" "conftest.in"
 
3232
    cp "conftest.in" "conftest.nl"
 
3233
    echo 'GREP' >> "conftest.nl"
 
3234
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3235
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3236
    ac_count=`expr $ac_count + 1`
 
3237
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3238
      # Best one so far, save it but keep looking for a better one
 
3239
      ac_cv_path_GREP="$ac_path_GREP"
 
3240
      ac_path_GREP_max=$ac_count
 
3241
    fi
 
3242
    # 10*(2^10) chars as input seems more than enough
 
3243
    test $ac_count -gt 10 && break
 
3244
  done
 
3245
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3246
esac
 
3247
 
 
3248
 
 
3249
    $ac_path_GREP_found && break 3
 
3250
  done
 
3251
done
 
3252
 
 
3253
done
 
3254
IFS=$as_save_IFS
 
3255
 
 
3256
 
 
3257
fi
 
3258
 
 
3259
GREP="$ac_cv_path_GREP"
 
3260
if test -z "$GREP"; then
 
3261
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3262
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3263
   { (exit 1); exit 1; }; }
 
3264
fi
 
3265
 
 
3266
else
 
3267
  ac_cv_path_GREP=$GREP
 
3268
fi
 
3269
 
 
3270
 
 
3271
fi
 
3272
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3273
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3274
 GREP="$ac_cv_path_GREP"
 
3275
 
 
3276
 
 
3277
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3278
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3279
if test "${ac_cv_path_EGREP+set}" = set; then
 
3280
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3281
else
 
3282
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3283
   then ac_cv_path_EGREP="$GREP -E"
 
3284
   else
 
3285
     # Extract the first word of "egrep" to use in msg output
 
3286
if test -z "$EGREP"; then
 
3287
set dummy egrep; ac_prog_name=$2
 
3288
if test "${ac_cv_path_EGREP+set}" = set; then
 
3289
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3290
else
 
3291
  ac_path_EGREP_found=false
 
3292
# Loop through the user's path and test for each of PROGNAME-LIST
 
3293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3294
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3295
do
 
3296
  IFS=$as_save_IFS
 
3297
  test -z "$as_dir" && as_dir=.
 
3298
  for ac_prog in egrep; do
 
3299
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3300
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3301
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3302
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3303
  # Check for GNU $ac_path_EGREP
 
3304
case `"$ac_path_EGREP" --version 2>&1` in
 
3305
*GNU*)
 
3306
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3307
*)
 
3308
  ac_count=0
 
3309
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3310
  while :
 
3311
  do
 
3312
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3313
    mv "conftest.tmp" "conftest.in"
 
3314
    cp "conftest.in" "conftest.nl"
 
3315
    echo 'EGREP' >> "conftest.nl"
 
3316
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3317
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3318
    ac_count=`expr $ac_count + 1`
 
3319
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3320
      # Best one so far, save it but keep looking for a better one
 
3321
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3322
      ac_path_EGREP_max=$ac_count
 
3323
    fi
 
3324
    # 10*(2^10) chars as input seems more than enough
 
3325
    test $ac_count -gt 10 && break
 
3326
  done
 
3327
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3328
esac
 
3329
 
 
3330
 
 
3331
    $ac_path_EGREP_found && break 3
 
3332
  done
 
3333
done
 
3334
 
 
3335
done
 
3336
IFS=$as_save_IFS
 
3337
 
 
3338
 
 
3339
fi
 
3340
 
 
3341
EGREP="$ac_cv_path_EGREP"
 
3342
if test -z "$EGREP"; then
 
3343
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3344
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3345
   { (exit 1); exit 1; }; }
 
3346
fi
 
3347
 
 
3348
else
 
3349
  ac_cv_path_EGREP=$EGREP
 
3350
fi
 
3351
 
 
3352
 
 
3353
   fi
 
3354
fi
 
3355
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3356
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3357
 EGREP="$ac_cv_path_EGREP"
 
3358
 
 
3359
 
 
3360
 
 
3361
# Check whether --with-gnu-ld was given.
2771
3362
if test "${with_gnu_ld+set}" = set; then
2772
 
  withval="$with_gnu_ld"
2773
 
  test "$withval" = no || with_gnu_ld=yes
 
3363
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
2774
3364
else
2775
3365
  with_gnu_ld=no
2776
 
fi;
 
3366
fi
 
3367
 
2777
3368
ac_prog=ld
2778
3369
if test "$GCC" = yes; then
2779
3370
  # Check if gcc -print-prog-name=ld gives a path.
2780
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
2781
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
3371
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3372
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
2782
3373
  case $host in
2783
3374
  *-*-mingw*)
2784
3375
    # gcc leaves a trailing carriage return which upsets mingw
2807
3398
    ;;
2808
3399
  esac
2809
3400
elif test "$with_gnu_ld" = yes; then
2810
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
2811
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
3401
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
3402
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
2812
3403
else
2813
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2814
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
3404
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
3405
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
2815
3406
fi
2816
3407
if test "${lt_cv_path_LD+set}" = set; then
2817
3408
  echo $ECHO_N "(cached) $ECHO_C" >&6
2844
3435
 
2845
3436
LD="$lt_cv_path_LD"
2846
3437
if test -n "$LD"; then
2847
 
  echo "$as_me:$LINENO: result: $LD" >&5
2848
 
echo "${ECHO_T}$LD" >&6
 
3438
  { echo "$as_me:$LINENO: result: $LD" >&5
 
3439
echo "${ECHO_T}$LD" >&6; }
2849
3440
else
2850
 
  echo "$as_me:$LINENO: result: no" >&5
2851
 
echo "${ECHO_T}no" >&6
 
3441
  { echo "$as_me:$LINENO: result: no" >&5
 
3442
echo "${ECHO_T}no" >&6; }
2852
3443
fi
2853
3444
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2854
3445
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2855
3446
   { (exit 1); exit 1; }; }
2856
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2857
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
3447
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
3448
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
2858
3449
if test "${lt_cv_prog_gnu_ld+set}" = set; then
2859
3450
  echo $ECHO_N "(cached) $ECHO_C" >&6
2860
3451
else
2868
3459
  ;;
2869
3460
esac
2870
3461
fi
2871
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
2872
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
3462
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
3463
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
2873
3464
with_gnu_ld=$lt_cv_prog_gnu_ld
2874
3465
 
2875
3466
 
2876
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
2877
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
3467
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
3468
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
2878
3469
if test "${lt_cv_ld_reload_flag+set}" = set; then
2879
3470
  echo $ECHO_N "(cached) $ECHO_C" >&6
2880
3471
else
2881
3472
  lt_cv_ld_reload_flag='-r'
2882
3473
fi
2883
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
2884
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
3474
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
3475
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
2885
3476
reload_flag=$lt_cv_ld_reload_flag
2886
3477
case $reload_flag in
2887
3478
"" | " "*) ;;
2898
3489
    ;;
2899
3490
esac
2900
3491
 
2901
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
2902
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
3492
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
3493
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
2903
3494
if test "${lt_cv_path_NM+set}" = set; then
2904
3495
  echo $ECHO_N "(cached) $ECHO_C" >&6
2905
3496
else
2947
3538
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2948
3539
fi
2949
3540
fi
2950
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
2951
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
3541
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
3542
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
2952
3543
NM="$lt_cv_path_NM"
2953
3544
 
2954
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
2955
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
3545
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
3546
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2956
3547
LN_S=$as_ln_s
2957
3548
if test "$LN_S" = "ln -s"; then
2958
 
  echo "$as_me:$LINENO: result: yes" >&5
2959
 
echo "${ECHO_T}yes" >&6
 
3549
  { echo "$as_me:$LINENO: result: yes" >&5
 
3550
echo "${ECHO_T}yes" >&6; }
2960
3551
else
2961
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2962
 
echo "${ECHO_T}no, using $LN_S" >&6
 
3552
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
3553
echo "${ECHO_T}no, using $LN_S" >&6; }
2963
3554
fi
2964
3555
 
2965
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
2966
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
3556
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
3557
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
2967
3558
if test "${lt_cv_deplibs_check_method+set}" = set; then
2968
3559
  echo $ECHO_N "(cached) $ECHO_C" >&6
2969
3560
else
3004
3595
 
3005
3596
mingw* | pw32*)
3006
3597
  # Base MSYS/MinGW do not provide the 'file' command needed by
3007
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3008
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3009
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
3598
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
3599
  # unless we find 'file', for example because we are cross-compiling.
 
3600
  if ( file / ) >/dev/null 2>&1; then
 
3601
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
3602
    lt_cv_file_magic_cmd='func_win32_libid'
 
3603
  else
 
3604
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
3605
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
3606
  fi
3010
3607
  ;;
3011
3608
 
3012
3609
darwin* | rhapsody*)
3013
3610
  lt_cv_deplibs_check_method=pass_all
3014
3611
  ;;
3015
3612
 
3016
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
3613
freebsd* | dragonfly*)
3017
3614
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3018
3615
    case $host_cpu in
3019
3616
    i*86 )
3051
3648
  esac
3052
3649
  ;;
3053
3650
 
3054
 
interix3*)
 
3651
interix[3-9]*)
3055
3652
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3056
3653
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3057
3654
  ;;
3067
3664
  ;;
3068
3665
 
3069
3666
# This must be Linux ELF.
3070
 
linux*)
 
3667
linux* | k*bsd*-gnu)
3071
3668
  lt_cv_deplibs_check_method=pass_all
3072
3669
  ;;
3073
3670
 
3074
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
3671
netbsd* | netbsdelf*-gnu)
3075
3672
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3076
3673
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3077
3674
  else
3101
3698
  lt_cv_deplibs_check_method=pass_all
3102
3699
  ;;
3103
3700
 
 
3701
rdos*)
 
3702
  lt_cv_deplibs_check_method=pass_all
 
3703
  ;;
 
3704
 
3104
3705
solaris*)
3105
3706
  lt_cv_deplibs_check_method=pass_all
3106
3707
  ;;
3138
3739
esac
3139
3740
 
3140
3741
fi
3141
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3142
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
3742
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
3743
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3143
3744
file_magic_cmd=$lt_cv_file_magic_cmd
3144
3745
deplibs_check_method=$lt_cv_deplibs_check_method
3145
3746
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3157
3758
compiler=$CC
3158
3759
 
3159
3760
 
3160
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
3761
# Check whether --enable-libtool-lock was given.
3161
3762
if test "${enable_libtool_lock+set}" = set; then
3162
 
  enableval="$enable_libtool_lock"
 
3763
  enableval=$enable_libtool_lock;
 
3764
fi
3163
3765
 
3164
 
fi;
3165
3766
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3166
3767
 
3167
3768
# Some flags need to be propagated to the compiler or linker for good
3188
3789
  ;;
3189
3790
*-*-irix6*)
3190
3791
  # Find out which ABI we are using.
3191
 
  echo '#line 3191 "configure"' > conftest.$ac_ext
 
3792
  echo '#line 3792 "configure"' > conftest.$ac_ext
3192
3793
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193
3794
  (eval $ac_compile) 2>&5
3194
3795
  ac_status=$?
3223
3824
  rm -rf conftest*
3224
3825
  ;;
3225
3826
 
3226
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
3827
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
3828
s390*-*linux*|sparc*-*linux*)
3227
3829
  # Find out which ABI we are using.
3228
3830
  echo 'int i;' > conftest.$ac_ext
3229
3831
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3234
3836
    case `/usr/bin/file conftest.o` in
3235
3837
    *32-bit*)
3236
3838
      case $host in
 
3839
        x86_64-*kfreebsd*-gnu)
 
3840
          LD="${LD-ld} -m elf_i386_fbsd"
 
3841
          ;;
3237
3842
        x86_64-*linux*)
3238
3843
          LD="${LD-ld} -m elf_i386"
3239
3844
          ;;
3250
3855
      ;;
3251
3856
    *64-bit*)
3252
3857
      case $host in
 
3858
        x86_64-*kfreebsd*-gnu)
 
3859
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
3860
          ;;
3253
3861
        x86_64-*linux*)
3254
3862
          LD="${LD-ld} -m elf_x86_64"
3255
3863
          ;;
3273
3881
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3274
3882
  SAVE_CFLAGS="$CFLAGS"
3275
3883
  CFLAGS="$CFLAGS -belf"
3276
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3277
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
3884
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
3885
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3278
3886
if test "${lt_cv_cc_needs_belf+set}" = set; then
3279
3887
  echo $ECHO_N "(cached) $ECHO_C" >&6
3280
3888
else
3300
3908
}
3301
3909
_ACEOF
3302
3910
rm -f conftest.$ac_objext conftest$ac_exeext
3303
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3304
 
  (eval $ac_link) 2>conftest.er1
 
3911
if { (ac_try="$ac_link"
 
3912
case "(($ac_try" in
 
3913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3914
  *) ac_try_echo=$ac_try;;
 
3915
esac
 
3916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3917
  (eval "$ac_link") 2>conftest.er1
3305
3918
  ac_status=$?
3306
3919
  grep -v '^ *+' conftest.er1 >conftest.err
3307
3920
  rm -f conftest.er1
3308
3921
  cat conftest.err >&5
3309
3922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310
 
  (exit $ac_status); } &&
3311
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313
 
  (eval $ac_try) 2>&5
3314
 
  ac_status=$?
3315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316
 
  (exit $ac_status); }; } &&
3317
 
         { ac_try='test -s conftest$ac_exeext'
3318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319
 
  (eval $ac_try) 2>&5
3320
 
  ac_status=$?
3321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322
 
  (exit $ac_status); }; }; then
 
3923
  (exit $ac_status); } && {
 
3924
         test -z "$ac_c_werror_flag" ||
 
3925
         test ! -s conftest.err
 
3926
       } && test -s conftest$ac_exeext &&
 
3927
       $as_test_x conftest$ac_exeext; then
3323
3928
  lt_cv_cc_needs_belf=yes
3324
3929
else
3325
3930
  echo "$as_me: failed program was:" >&5
3326
3931
sed 's/^/| /' conftest.$ac_ext >&5
3327
3932
 
3328
 
lt_cv_cc_needs_belf=no
 
3933
        lt_cv_cc_needs_belf=no
3329
3934
fi
3330
 
rm -f conftest.err conftest.$ac_objext \
 
3935
 
 
3936
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3331
3937
      conftest$ac_exeext conftest.$ac_ext
3332
3938
     ac_ext=c
3333
3939
ac_cpp='$CPP $CPPFLAGS'
3336
3942
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3337
3943
 
3338
3944
fi
3339
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3340
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
3945
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
3946
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3341
3947
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3342
3948
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3343
3949
    CFLAGS="$SAVE_CFLAGS"
3367
3973
  if test -n "$ac_tool_prefix"; then
3368
3974
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3369
3975
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3370
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3371
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3976
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3977
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3372
3978
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3373
3979
  echo $ECHO_N "(cached) $ECHO_C" >&6
3374
3980
else
3381
3987
  IFS=$as_save_IFS
3382
3988
  test -z "$as_dir" && as_dir=.
3383
3989
  for ac_exec_ext in '' $ac_executable_extensions; do
3384
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385
3991
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3386
3992
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3387
3993
    break 2
3388
3994
  fi
3389
3995
done
3390
3996
done
 
3997
IFS=$as_save_IFS
3391
3998
 
3392
3999
fi
3393
4000
fi
3394
4001
DLLTOOL=$ac_cv_prog_DLLTOOL
3395
4002
if test -n "$DLLTOOL"; then
3396
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3397
 
echo "${ECHO_T}$DLLTOOL" >&6
 
4003
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
4004
echo "${ECHO_T}$DLLTOOL" >&6; }
3398
4005
else
3399
 
  echo "$as_me:$LINENO: result: no" >&5
3400
 
echo "${ECHO_T}no" >&6
 
4006
  { echo "$as_me:$LINENO: result: no" >&5
 
4007
echo "${ECHO_T}no" >&6; }
3401
4008
fi
 
4009
 
3402
4010
 
3403
4011
fi
3404
4012
if test -z "$ac_cv_prog_DLLTOOL"; then
3405
4013
  ac_ct_DLLTOOL=$DLLTOOL
3406
4014
  # Extract the first word of "dlltool", so it can be a program name with args.
3407
4015
set dummy dlltool; ac_word=$2
3408
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3409
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4016
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4017
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3410
4018
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3411
4019
  echo $ECHO_N "(cached) $ECHO_C" >&6
3412
4020
else
3419
4027
  IFS=$as_save_IFS
3420
4028
  test -z "$as_dir" && as_dir=.
3421
4029
  for ac_exec_ext in '' $ac_executable_extensions; do
3422
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3423
4031
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3424
4032
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3425
4033
    break 2
3426
4034
  fi
3427
4035
done
3428
4036
done
 
4037
IFS=$as_save_IFS
3429
4038
 
3430
 
  test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3431
4039
fi
3432
4040
fi
3433
4041
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3434
4042
if test -n "$ac_ct_DLLTOOL"; then
3435
 
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3436
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 
4043
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
4044
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
3437
4045
else
3438
 
  echo "$as_me:$LINENO: result: no" >&5
3439
 
echo "${ECHO_T}no" >&6
 
4046
  { echo "$as_me:$LINENO: result: no" >&5
 
4047
echo "${ECHO_T}no" >&6; }
3440
4048
fi
3441
4049
 
3442
 
  DLLTOOL=$ac_ct_DLLTOOL
 
4050
  if test "x$ac_ct_DLLTOOL" = x; then
 
4051
    DLLTOOL="false"
 
4052
  else
 
4053
    case $cross_compiling:$ac_tool_warned in
 
4054
yes:)
 
4055
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4056
whose name does not start with the host triplet.  If you think this
 
4057
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4058
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4059
whose name does not start with the host triplet.  If you think this
 
4060
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4061
ac_tool_warned=yes ;;
 
4062
esac
 
4063
    DLLTOOL=$ac_ct_DLLTOOL
 
4064
  fi
3443
4065
else
3444
4066
  DLLTOOL="$ac_cv_prog_DLLTOOL"
3445
4067
fi
3447
4069
  if test -n "$ac_tool_prefix"; then
3448
4070
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3449
4071
set dummy ${ac_tool_prefix}as; ac_word=$2
3450
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3451
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4072
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4073
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3452
4074
if test "${ac_cv_prog_AS+set}" = set; then
3453
4075
  echo $ECHO_N "(cached) $ECHO_C" >&6
3454
4076
else
3461
4083
  IFS=$as_save_IFS
3462
4084
  test -z "$as_dir" && as_dir=.
3463
4085
  for ac_exec_ext in '' $ac_executable_extensions; do
3464
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3465
4087
    ac_cv_prog_AS="${ac_tool_prefix}as"
3466
4088
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467
4089
    break 2
3468
4090
  fi
3469
4091
done
3470
4092
done
 
4093
IFS=$as_save_IFS
3471
4094
 
3472
4095
fi
3473
4096
fi
3474
4097
AS=$ac_cv_prog_AS
3475
4098
if test -n "$AS"; then
3476
 
  echo "$as_me:$LINENO: result: $AS" >&5
3477
 
echo "${ECHO_T}$AS" >&6
 
4099
  { echo "$as_me:$LINENO: result: $AS" >&5
 
4100
echo "${ECHO_T}$AS" >&6; }
3478
4101
else
3479
 
  echo "$as_me:$LINENO: result: no" >&5
3480
 
echo "${ECHO_T}no" >&6
 
4102
  { echo "$as_me:$LINENO: result: no" >&5
 
4103
echo "${ECHO_T}no" >&6; }
3481
4104
fi
 
4105
 
3482
4106
 
3483
4107
fi
3484
4108
if test -z "$ac_cv_prog_AS"; then
3485
4109
  ac_ct_AS=$AS
3486
4110
  # Extract the first word of "as", so it can be a program name with args.
3487
4111
set dummy as; ac_word=$2
3488
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3489
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4112
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3490
4114
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3491
4115
  echo $ECHO_N "(cached) $ECHO_C" >&6
3492
4116
else
3499
4123
  IFS=$as_save_IFS
3500
4124
  test -z "$as_dir" && as_dir=.
3501
4125
  for ac_exec_ext in '' $ac_executable_extensions; do
3502
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3503
4127
    ac_cv_prog_ac_ct_AS="as"
3504
4128
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505
4129
    break 2
3506
4130
  fi
3507
4131
done
3508
4132
done
 
4133
IFS=$as_save_IFS
3509
4134
 
3510
 
  test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3511
4135
fi
3512
4136
fi
3513
4137
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3514
4138
if test -n "$ac_ct_AS"; then
3515
 
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3516
 
echo "${ECHO_T}$ac_ct_AS" >&6
 
4139
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
4140
echo "${ECHO_T}$ac_ct_AS" >&6; }
3517
4141
else
3518
 
  echo "$as_me:$LINENO: result: no" >&5
3519
 
echo "${ECHO_T}no" >&6
 
4142
  { echo "$as_me:$LINENO: result: no" >&5
 
4143
echo "${ECHO_T}no" >&6; }
3520
4144
fi
3521
4145
 
3522
 
  AS=$ac_ct_AS
 
4146
  if test "x$ac_ct_AS" = x; then
 
4147
    AS="false"
 
4148
  else
 
4149
    case $cross_compiling:$ac_tool_warned in
 
4150
yes:)
 
4151
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4152
whose name does not start with the host triplet.  If you think this
 
4153
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4154
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4155
whose name does not start with the host triplet.  If you think this
 
4156
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4157
ac_tool_warned=yes ;;
 
4158
esac
 
4159
    AS=$ac_ct_AS
 
4160
  fi
3523
4161
else
3524
4162
  AS="$ac_cv_prog_AS"
3525
4163
fi
3527
4165
  if test -n "$ac_tool_prefix"; then
3528
4166
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3529
4167
set dummy ${ac_tool_prefix}objdump; ac_word=$2
3530
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3531
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4168
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4169
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3532
4170
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3533
4171
  echo $ECHO_N "(cached) $ECHO_C" >&6
3534
4172
else
3541
4179
  IFS=$as_save_IFS
3542
4180
  test -z "$as_dir" && as_dir=.
3543
4181
  for ac_exec_ext in '' $ac_executable_extensions; do
3544
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4182
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3545
4183
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3546
4184
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547
4185
    break 2
3548
4186
  fi
3549
4187
done
3550
4188
done
 
4189
IFS=$as_save_IFS
3551
4190
 
3552
4191
fi
3553
4192
fi
3554
4193
OBJDUMP=$ac_cv_prog_OBJDUMP
3555
4194
if test -n "$OBJDUMP"; then
3556
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3557
 
echo "${ECHO_T}$OBJDUMP" >&6
 
4195
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4196
echo "${ECHO_T}$OBJDUMP" >&6; }
3558
4197
else
3559
 
  echo "$as_me:$LINENO: result: no" >&5
3560
 
echo "${ECHO_T}no" >&6
 
4198
  { echo "$as_me:$LINENO: result: no" >&5
 
4199
echo "${ECHO_T}no" >&6; }
3561
4200
fi
 
4201
 
3562
4202
 
3563
4203
fi
3564
4204
if test -z "$ac_cv_prog_OBJDUMP"; then
3565
4205
  ac_ct_OBJDUMP=$OBJDUMP
3566
4206
  # Extract the first word of "objdump", so it can be a program name with args.
3567
4207
set dummy objdump; ac_word=$2
3568
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3569
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4208
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4209
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3570
4210
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3571
4211
  echo $ECHO_N "(cached) $ECHO_C" >&6
3572
4212
else
3579
4219
  IFS=$as_save_IFS
3580
4220
  test -z "$as_dir" && as_dir=.
3581
4221
  for ac_exec_ext in '' $ac_executable_extensions; do
3582
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4222
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583
4223
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
3584
4224
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3585
4225
    break 2
3586
4226
  fi
3587
4227
done
3588
4228
done
 
4229
IFS=$as_save_IFS
3589
4230
 
3590
 
  test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3591
4231
fi
3592
4232
fi
3593
4233
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3594
4234
if test -n "$ac_ct_OBJDUMP"; then
3595
 
  echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3596
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 
4235
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4236
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
3597
4237
else
3598
 
  echo "$as_me:$LINENO: result: no" >&5
3599
 
echo "${ECHO_T}no" >&6
 
4238
  { echo "$as_me:$LINENO: result: no" >&5
 
4239
echo "${ECHO_T}no" >&6; }
3600
4240
fi
3601
4241
 
3602
 
  OBJDUMP=$ac_ct_OBJDUMP
 
4242
  if test "x$ac_ct_OBJDUMP" = x; then
 
4243
    OBJDUMP="false"
 
4244
  else
 
4245
    case $cross_compiling:$ac_tool_warned in
 
4246
yes:)
 
4247
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4248
whose name does not start with the host triplet.  If you think this
 
4249
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4250
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4251
whose name does not start with the host triplet.  If you think this
 
4252
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4253
ac_tool_warned=yes ;;
 
4254
esac
 
4255
    OBJDUMP=$ac_ct_OBJDUMP
 
4256
  fi
3603
4257
else
3604
4258
  OBJDUMP="$ac_cv_prog_OBJDUMP"
3605
4259
fi
3616
4270
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617
4271
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618
4272
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3619
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3620
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4273
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4274
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3621
4275
# On Suns, sometimes $CPP names a directory.
3622
4276
if test -n "$CPP" && test -d "$CPP"; then
3623
4277
  CPP=
3651
4305
#endif
3652
4306
                     Syntax error
3653
4307
_ACEOF
3654
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3655
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4308
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4309
case "(($ac_try" in
 
4310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4311
  *) ac_try_echo=$ac_try;;
 
4312
esac
 
4313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4314
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3656
4315
  ac_status=$?
3657
4316
  grep -v '^ *+' conftest.er1 >conftest.err
3658
4317
  rm -f conftest.er1
3659
4318
  cat conftest.err >&5
3660
4319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661
 
  (exit $ac_status); } >/dev/null; then
3662
 
  if test -s conftest.err; then
3663
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3664
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3665
 
  else
3666
 
    ac_cpp_err=
3667
 
  fi
3668
 
else
3669
 
  ac_cpp_err=yes
3670
 
fi
3671
 
if test -z "$ac_cpp_err"; then
 
4320
  (exit $ac_status); } >/dev/null && {
 
4321
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4322
         test ! -s conftest.err
 
4323
       }; then
3672
4324
  :
3673
4325
else
3674
4326
  echo "$as_me: failed program was:" >&5
3677
4329
  # Broken: fails on valid input.
3678
4330
continue
3679
4331
fi
 
4332
 
3680
4333
rm -f conftest.err conftest.$ac_ext
3681
4334
 
3682
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4335
  # OK, works on sane cases.  Now check whether nonexistent headers
3683
4336
  # can be detected and how.
3684
4337
  cat >conftest.$ac_ext <<_ACEOF
3685
4338
/* confdefs.h.  */
3689
4342
/* end confdefs.h.  */
3690
4343
#include <ac_nonexistent.h>
3691
4344
_ACEOF
3692
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3693
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4345
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4346
case "(($ac_try" in
 
4347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4348
  *) ac_try_echo=$ac_try;;
 
4349
esac
 
4350
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4351
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3694
4352
  ac_status=$?
3695
4353
  grep -v '^ *+' conftest.er1 >conftest.err
3696
4354
  rm -f conftest.er1
3697
4355
  cat conftest.err >&5
3698
4356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699
 
  (exit $ac_status); } >/dev/null; then
3700
 
  if test -s conftest.err; then
3701
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3702
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3703
 
  else
3704
 
    ac_cpp_err=
3705
 
  fi
3706
 
else
3707
 
  ac_cpp_err=yes
3708
 
fi
3709
 
if test -z "$ac_cpp_err"; then
 
4357
  (exit $ac_status); } >/dev/null && {
 
4358
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4359
         test ! -s conftest.err
 
4360
       }; then
3710
4361
  # Broken: success on invalid input.
3711
4362
continue
3712
4363
else
3717
4368
ac_preproc_ok=:
3718
4369
break
3719
4370
fi
 
4371
 
3720
4372
rm -f conftest.err conftest.$ac_ext
3721
4373
 
3722
4374
done
3734
4386
else
3735
4387
  ac_cv_prog_CPP=$CPP
3736
4388
fi
3737
 
echo "$as_me:$LINENO: result: $CPP" >&5
3738
 
echo "${ECHO_T}$CPP" >&6
 
4389
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4390
echo "${ECHO_T}$CPP" >&6; }
3739
4391
ac_preproc_ok=false
3740
4392
for ac_c_preproc_warn_flag in '' yes
3741
4393
do
3758
4410
#endif
3759
4411
                     Syntax error
3760
4412
_ACEOF
3761
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3762
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4413
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4414
case "(($ac_try" in
 
4415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4416
  *) ac_try_echo=$ac_try;;
 
4417
esac
 
4418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4419
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3763
4420
  ac_status=$?
3764
4421
  grep -v '^ *+' conftest.er1 >conftest.err
3765
4422
  rm -f conftest.er1
3766
4423
  cat conftest.err >&5
3767
4424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768
 
  (exit $ac_status); } >/dev/null; then
3769
 
  if test -s conftest.err; then
3770
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3771
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3772
 
  else
3773
 
    ac_cpp_err=
3774
 
  fi
3775
 
else
3776
 
  ac_cpp_err=yes
3777
 
fi
3778
 
if test -z "$ac_cpp_err"; then
 
4425
  (exit $ac_status); } >/dev/null && {
 
4426
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4427
         test ! -s conftest.err
 
4428
       }; then
3779
4429
  :
3780
4430
else
3781
4431
  echo "$as_me: failed program was:" >&5
3784
4434
  # Broken: fails on valid input.
3785
4435
continue
3786
4436
fi
 
4437
 
3787
4438
rm -f conftest.err conftest.$ac_ext
3788
4439
 
3789
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4440
  # OK, works on sane cases.  Now check whether nonexistent headers
3790
4441
  # can be detected and how.
3791
4442
  cat >conftest.$ac_ext <<_ACEOF
3792
4443
/* confdefs.h.  */
3796
4447
/* end confdefs.h.  */
3797
4448
#include <ac_nonexistent.h>
3798
4449
_ACEOF
3799
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3800
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4450
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4451
case "(($ac_try" in
 
4452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4453
  *) ac_try_echo=$ac_try;;
 
4454
esac
 
4455
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4456
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3801
4457
  ac_status=$?
3802
4458
  grep -v '^ *+' conftest.er1 >conftest.err
3803
4459
  rm -f conftest.er1
3804
4460
  cat conftest.err >&5
3805
4461
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806
 
  (exit $ac_status); } >/dev/null; then
3807
 
  if test -s conftest.err; then
3808
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3809
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3810
 
  else
3811
 
    ac_cpp_err=
3812
 
  fi
3813
 
else
3814
 
  ac_cpp_err=yes
3815
 
fi
3816
 
if test -z "$ac_cpp_err"; then
 
4462
  (exit $ac_status); } >/dev/null && {
 
4463
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4464
         test ! -s conftest.err
 
4465
       }; then
3817
4466
  # Broken: success on invalid input.
3818
4467
continue
3819
4468
else
3824
4473
ac_preproc_ok=:
3825
4474
break
3826
4475
fi
 
4476
 
3827
4477
rm -f conftest.err conftest.$ac_ext
3828
4478
 
3829
4479
done
3846
4496
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847
4497
 
3848
4498
 
3849
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3850
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4499
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4500
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3851
4501
if test "${ac_cv_header_stdc+set}" = set; then
3852
4502
  echo $ECHO_N "(cached) $ECHO_C" >&6
3853
4503
else
3871
4521
}
3872
4522
_ACEOF
3873
4523
rm -f conftest.$ac_objext
3874
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3875
 
  (eval $ac_compile) 2>conftest.er1
 
4524
if { (ac_try="$ac_compile"
 
4525
case "(($ac_try" in
 
4526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4527
  *) ac_try_echo=$ac_try;;
 
4528
esac
 
4529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4530
  (eval "$ac_compile") 2>conftest.er1
3876
4531
  ac_status=$?
3877
4532
  grep -v '^ *+' conftest.er1 >conftest.err
3878
4533
  rm -f conftest.er1
3879
4534
  cat conftest.err >&5
3880
4535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881
 
  (exit $ac_status); } &&
3882
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3884
 
  (eval $ac_try) 2>&5
3885
 
  ac_status=$?
3886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887
 
  (exit $ac_status); }; } &&
3888
 
         { ac_try='test -s conftest.$ac_objext'
3889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890
 
  (eval $ac_try) 2>&5
3891
 
  ac_status=$?
3892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893
 
  (exit $ac_status); }; }; then
 
4536
  (exit $ac_status); } && {
 
4537
         test -z "$ac_c_werror_flag" ||
 
4538
         test ! -s conftest.err
 
4539
       } && test -s conftest.$ac_objext; then
3894
4540
  ac_cv_header_stdc=yes
3895
4541
else
3896
4542
  echo "$as_me: failed program was:" >&5
3897
4543
sed 's/^/| /' conftest.$ac_ext >&5
3898
4544
 
3899
 
ac_cv_header_stdc=no
 
4545
        ac_cv_header_stdc=no
3900
4546
fi
3901
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4547
 
 
4548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3902
4549
 
3903
4550
if test $ac_cv_header_stdc = yes; then
3904
4551
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3954
4601
cat >>conftest.$ac_ext <<_ACEOF
3955
4602
/* end confdefs.h.  */
3956
4603
#include <ctype.h>
 
4604
#include <stdlib.h>
3957
4605
#if ((' ' & 0x0FF) == 0x020)
3958
4606
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3959
4607
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3973
4621
  for (i = 0; i < 256; i++)
3974
4622
    if (XOR (islower (i), ISLOWER (i))
3975
4623
        || toupper (i) != TOUPPER (i))
3976
 
      exit(2);
3977
 
  exit (0);
 
4624
      return 2;
 
4625
  return 0;
3978
4626
}
3979
4627
_ACEOF
3980
4628
rm -f conftest$ac_exeext
3981
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3982
 
  (eval $ac_link) 2>&5
 
4629
if { (ac_try="$ac_link"
 
4630
case "(($ac_try" in
 
4631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4632
  *) ac_try_echo=$ac_try;;
 
4633
esac
 
4634
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4635
  (eval "$ac_link") 2>&5
3983
4636
  ac_status=$?
3984
4637
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985
4638
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987
 
  (eval $ac_try) 2>&5
 
4639
  { (case "(($ac_try" in
 
4640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4641
  *) ac_try_echo=$ac_try;;
 
4642
esac
 
4643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4644
  (eval "$ac_try") 2>&5
3988
4645
  ac_status=$?
3989
4646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990
4647
  (exit $ac_status); }; }; then
3997
4654
( exit $ac_status )
3998
4655
ac_cv_header_stdc=no
3999
4656
fi
4000
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4001
 
fi
4002
 
fi
4003
 
fi
4004
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4005
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4657
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4658
fi
 
4659
 
 
4660
 
 
4661
fi
 
4662
fi
 
4663
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4664
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4006
4665
if test $ac_cv_header_stdc = yes; then
4007
4666
 
4008
4667
cat >>confdefs.h <<\_ACEOF
4025
4684
                  inttypes.h stdint.h unistd.h
4026
4685
do
4027
4686
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4028
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4029
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4030
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4687
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4688
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4689
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4031
4690
  echo $ECHO_N "(cached) $ECHO_C" >&6
4032
4691
else
4033
4692
  cat >conftest.$ac_ext <<_ACEOF
4041
4700
#include <$ac_header>
4042
4701
_ACEOF
4043
4702
rm -f conftest.$ac_objext
4044
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4045
 
  (eval $ac_compile) 2>conftest.er1
 
4703
if { (ac_try="$ac_compile"
 
4704
case "(($ac_try" in
 
4705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4706
  *) ac_try_echo=$ac_try;;
 
4707
esac
 
4708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4709
  (eval "$ac_compile") 2>conftest.er1
4046
4710
  ac_status=$?
4047
4711
  grep -v '^ *+' conftest.er1 >conftest.err
4048
4712
  rm -f conftest.er1
4049
4713
  cat conftest.err >&5
4050
4714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051
 
  (exit $ac_status); } &&
4052
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4053
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054
 
  (eval $ac_try) 2>&5
4055
 
  ac_status=$?
4056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057
 
  (exit $ac_status); }; } &&
4058
 
         { ac_try='test -s conftest.$ac_objext'
4059
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060
 
  (eval $ac_try) 2>&5
4061
 
  ac_status=$?
4062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063
 
  (exit $ac_status); }; }; then
 
4715
  (exit $ac_status); } && {
 
4716
         test -z "$ac_c_werror_flag" ||
 
4717
         test ! -s conftest.err
 
4718
       } && test -s conftest.$ac_objext; then
4064
4719
  eval "$as_ac_Header=yes"
4065
4720
else
4066
4721
  echo "$as_me: failed program was:" >&5
4067
4722
sed 's/^/| /' conftest.$ac_ext >&5
4068
4723
 
4069
 
eval "$as_ac_Header=no"
4070
 
fi
4071
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4072
 
fi
4073
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4074
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4724
        eval "$as_ac_Header=no"
 
4725
fi
 
4726
 
 
4727
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4728
fi
 
4729
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4730
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4731
echo "${ECHO_T}$ac_res" >&6; }
4075
4732
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4076
4733
  cat >>confdefs.h <<_ACEOF
4077
4734
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4086
4743
for ac_header in dlfcn.h
4087
4744
do
4088
4745
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4089
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4090
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4091
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4092
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4746
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4747
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4748
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4749
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4093
4750
  echo $ECHO_N "(cached) $ECHO_C" >&6
4094
4751
fi
4095
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4096
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4752
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4753
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4754
echo "${ECHO_T}$ac_res" >&6; }
4097
4755
else
4098
4756
  # Is the header compilable?
4099
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4100
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
4757
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4758
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4101
4759
cat >conftest.$ac_ext <<_ACEOF
4102
4760
/* confdefs.h.  */
4103
4761
_ACEOF
4108
4766
#include <$ac_header>
4109
4767
_ACEOF
4110
4768
rm -f conftest.$ac_objext
4111
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4112
 
  (eval $ac_compile) 2>conftest.er1
 
4769
if { (ac_try="$ac_compile"
 
4770
case "(($ac_try" in
 
4771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4772
  *) ac_try_echo=$ac_try;;
 
4773
esac
 
4774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4775
  (eval "$ac_compile") 2>conftest.er1
4113
4776
  ac_status=$?
4114
4777
  grep -v '^ *+' conftest.er1 >conftest.err
4115
4778
  rm -f conftest.er1
4116
4779
  cat conftest.err >&5
4117
4780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118
 
  (exit $ac_status); } &&
4119
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4121
 
  (eval $ac_try) 2>&5
4122
 
  ac_status=$?
4123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124
 
  (exit $ac_status); }; } &&
4125
 
         { ac_try='test -s conftest.$ac_objext'
4126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127
 
  (eval $ac_try) 2>&5
4128
 
  ac_status=$?
4129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130
 
  (exit $ac_status); }; }; then
 
4781
  (exit $ac_status); } && {
 
4782
         test -z "$ac_c_werror_flag" ||
 
4783
         test ! -s conftest.err
 
4784
       } && test -s conftest.$ac_objext; then
4131
4785
  ac_header_compiler=yes
4132
4786
else
4133
4787
  echo "$as_me: failed program was:" >&5
4134
4788
sed 's/^/| /' conftest.$ac_ext >&5
4135
4789
 
4136
 
ac_header_compiler=no
 
4790
        ac_header_compiler=no
4137
4791
fi
4138
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4139
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4140
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
4792
 
 
4793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4794
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4795
echo "${ECHO_T}$ac_header_compiler" >&6; }
4141
4796
 
4142
4797
# Is the header present?
4143
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4144
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
4798
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4799
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4145
4800
cat >conftest.$ac_ext <<_ACEOF
4146
4801
/* confdefs.h.  */
4147
4802
_ACEOF
4150
4805
/* end confdefs.h.  */
4151
4806
#include <$ac_header>
4152
4807
_ACEOF
4153
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4154
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4808
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4809
case "(($ac_try" in
 
4810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4811
  *) ac_try_echo=$ac_try;;
 
4812
esac
 
4813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4814
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4155
4815
  ac_status=$?
4156
4816
  grep -v '^ *+' conftest.er1 >conftest.err
4157
4817
  rm -f conftest.er1
4158
4818
  cat conftest.err >&5
4159
4819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160
 
  (exit $ac_status); } >/dev/null; then
4161
 
  if test -s conftest.err; then
4162
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4163
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4164
 
  else
4165
 
    ac_cpp_err=
4166
 
  fi
4167
 
else
4168
 
  ac_cpp_err=yes
4169
 
fi
4170
 
if test -z "$ac_cpp_err"; then
 
4820
  (exit $ac_status); } >/dev/null && {
 
4821
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4822
         test ! -s conftest.err
 
4823
       }; then
4171
4824
  ac_header_preproc=yes
4172
4825
else
4173
4826
  echo "$as_me: failed program was:" >&5
4175
4828
 
4176
4829
  ac_header_preproc=no
4177
4830
fi
 
4831
 
4178
4832
rm -f conftest.err conftest.$ac_ext
4179
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4180
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
4833
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4834
echo "${ECHO_T}$ac_header_preproc" >&6; }
4181
4835
 
4182
4836
# So?  What about this header?
4183
4837
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4201
4855
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4202
4856
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4203
4857
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4204
 
    (
4205
 
      cat <<\_ASBOX
4206
 
## ------------------------------------------ ##
4207
 
## Report this to the AC_PACKAGE_NAME lists.  ##
4208
 
## ------------------------------------------ ##
4209
 
_ASBOX
4210
 
    ) |
4211
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
4858
 
4212
4859
    ;;
4213
4860
esac
4214
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4215
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4216
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4861
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4862
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4863
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4217
4864
  echo $ECHO_N "(cached) $ECHO_C" >&6
4218
4865
else
4219
4866
  eval "$as_ac_Header=\$ac_header_preproc"
4220
4867
fi
4221
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4222
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4868
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4869
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4870
echo "${ECHO_T}$ac_res" >&6; }
4223
4871
 
4224
4872
fi
4225
4873
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4231
4879
 
4232
4880
done
4233
4881
 
4234
 
ac_ext=cc
 
4882
ac_ext=cpp
4235
4883
ac_cpp='$CXXCPP $CPPFLAGS'
4236
4884
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237
4885
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238
4886
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4239
 
if test -n "$ac_tool_prefix"; then
4240
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4887
if test -z "$CXX"; then
 
4888
  if test -n "$CCC"; then
 
4889
    CXX=$CCC
 
4890
  else
 
4891
    if test -n "$ac_tool_prefix"; then
 
4892
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4241
4893
  do
4242
4894
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4243
4895
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4244
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4245
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4896
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4897
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4246
4898
if test "${ac_cv_prog_CXX+set}" = set; then
4247
4899
  echo $ECHO_N "(cached) $ECHO_C" >&6
4248
4900
else
4255
4907
  IFS=$as_save_IFS
4256
4908
  test -z "$as_dir" && as_dir=.
4257
4909
  for ac_exec_ext in '' $ac_executable_extensions; do
4258
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4910
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259
4911
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4260
4912
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4261
4913
    break 2
4262
4914
  fi
4263
4915
done
4264
4916
done
 
4917
IFS=$as_save_IFS
4265
4918
 
4266
4919
fi
4267
4920
fi
4268
4921
CXX=$ac_cv_prog_CXX
4269
4922
if test -n "$CXX"; then
4270
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4271
 
echo "${ECHO_T}$CXX" >&6
 
4923
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
4924
echo "${ECHO_T}$CXX" >&6; }
4272
4925
else
4273
 
  echo "$as_me:$LINENO: result: no" >&5
4274
 
echo "${ECHO_T}no" >&6
 
4926
  { echo "$as_me:$LINENO: result: no" >&5
 
4927
echo "${ECHO_T}no" >&6; }
4275
4928
fi
4276
4929
 
 
4930
 
4277
4931
    test -n "$CXX" && break
4278
4932
  done
4279
4933
fi
4280
4934
if test -z "$CXX"; then
4281
4935
  ac_ct_CXX=$CXX
4282
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4936
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4283
4937
do
4284
4938
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4285
4939
set dummy $ac_prog; ac_word=$2
4286
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4287
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4940
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4941
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4288
4942
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4289
4943
  echo $ECHO_N "(cached) $ECHO_C" >&6
4290
4944
else
4297
4951
  IFS=$as_save_IFS
4298
4952
  test -z "$as_dir" && as_dir=.
4299
4953
  for ac_exec_ext in '' $ac_executable_extensions; do
4300
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4954
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301
4955
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4302
4956
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4303
4957
    break 2
4304
4958
  fi
4305
4959
done
4306
4960
done
 
4961
IFS=$as_save_IFS
4307
4962
 
4308
4963
fi
4309
4964
fi
4310
4965
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4311
4966
if test -n "$ac_ct_CXX"; then
4312
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4313
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
4967
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
4968
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4314
4969
else
4315
 
  echo "$as_me:$LINENO: result: no" >&5
4316
 
echo "${ECHO_T}no" >&6
 
4970
  { echo "$as_me:$LINENO: result: no" >&5
 
4971
echo "${ECHO_T}no" >&6; }
4317
4972
fi
4318
4973
 
 
4974
 
4319
4975
  test -n "$ac_ct_CXX" && break
4320
4976
done
4321
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4322
 
 
4323
 
  CXX=$ac_ct_CXX
4324
 
fi
4325
 
 
4326
 
 
 
4977
 
 
4978
  if test "x$ac_ct_CXX" = x; then
 
4979
    CXX="g++"
 
4980
  else
 
4981
    case $cross_compiling:$ac_tool_warned in
 
4982
yes:)
 
4983
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4984
whose name does not start with the host triplet.  If you think this
 
4985
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4986
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4987
whose name does not start with the host triplet.  If you think this
 
4988
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4989
ac_tool_warned=yes ;;
 
4990
esac
 
4991
    CXX=$ac_ct_CXX
 
4992
  fi
 
4993
fi
 
4994
 
 
4995
  fi
 
4996
fi
4327
4997
# Provide some information about the compiler.
4328
 
echo "$as_me:$LINENO:" \
4329
 
     "checking for C++ compiler version" >&5
 
4998
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4330
4999
ac_compiler=`set X $ac_compile; echo $2`
4331
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4332
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4333
 
  ac_status=$?
4334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
 
  (exit $ac_status); }
4336
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4337
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4338
 
  ac_status=$?
4339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340
 
  (exit $ac_status); }
4341
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4342
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5000
{ (ac_try="$ac_compiler --version >&5"
 
5001
case "(($ac_try" in
 
5002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5003
  *) ac_try_echo=$ac_try;;
 
5004
esac
 
5005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5006
  (eval "$ac_compiler --version >&5") 2>&5
 
5007
  ac_status=$?
 
5008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5009
  (exit $ac_status); }
 
5010
{ (ac_try="$ac_compiler -v >&5"
 
5011
case "(($ac_try" in
 
5012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5013
  *) ac_try_echo=$ac_try;;
 
5014
esac
 
5015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5016
  (eval "$ac_compiler -v >&5") 2>&5
 
5017
  ac_status=$?
 
5018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5019
  (exit $ac_status); }
 
5020
{ (ac_try="$ac_compiler -V >&5"
 
5021
case "(($ac_try" in
 
5022
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5023
  *) ac_try_echo=$ac_try;;
 
5024
esac
 
5025
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5026
  (eval "$ac_compiler -V >&5") 2>&5
4343
5027
  ac_status=$?
4344
5028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345
5029
  (exit $ac_status); }
4346
5030
 
4347
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4348
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5031
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5032
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4349
5033
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4350
5034
  echo $ECHO_N "(cached) $ECHO_C" >&6
4351
5035
else
4368
5052
}
4369
5053
_ACEOF
4370
5054
rm -f conftest.$ac_objext
4371
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4372
 
  (eval $ac_compile) 2>conftest.er1
 
5055
if { (ac_try="$ac_compile"
 
5056
case "(($ac_try" in
 
5057
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5058
  *) ac_try_echo=$ac_try;;
 
5059
esac
 
5060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5061
  (eval "$ac_compile") 2>conftest.er1
4373
5062
  ac_status=$?
4374
5063
  grep -v '^ *+' conftest.er1 >conftest.err
4375
5064
  rm -f conftest.er1
4376
5065
  cat conftest.err >&5
4377
5066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378
 
  (exit $ac_status); } &&
4379
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381
 
  (eval $ac_try) 2>&5
4382
 
  ac_status=$?
4383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384
 
  (exit $ac_status); }; } &&
4385
 
         { ac_try='test -s conftest.$ac_objext'
4386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387
 
  (eval $ac_try) 2>&5
4388
 
  ac_status=$?
4389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390
 
  (exit $ac_status); }; }; then
 
5067
  (exit $ac_status); } && {
 
5068
         test -z "$ac_cxx_werror_flag" ||
 
5069
         test ! -s conftest.err
 
5070
       } && test -s conftest.$ac_objext; then
4391
5071
  ac_compiler_gnu=yes
4392
5072
else
4393
5073
  echo "$as_me: failed program was:" >&5
4394
5074
sed 's/^/| /' conftest.$ac_ext >&5
4395
5075
 
4396
 
ac_compiler_gnu=no
 
5076
        ac_compiler_gnu=no
4397
5077
fi
4398
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5078
 
 
5079
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399
5080
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4400
5081
 
4401
5082
fi
4402
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4403
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5083
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5084
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4404
5085
GXX=`test $ac_compiler_gnu = yes && echo yes`
4405
5086
ac_test_CXXFLAGS=${CXXFLAGS+set}
4406
5087
ac_save_CXXFLAGS=$CXXFLAGS
4407
 
CXXFLAGS="-g"
4408
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4409
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5088
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5089
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4410
5090
if test "${ac_cv_prog_cxx_g+set}" = set; then
4411
5091
  echo $ECHO_N "(cached) $ECHO_C" >&6
4412
5092
else
4413
 
  cat >conftest.$ac_ext <<_ACEOF
4414
 
/* confdefs.h.  */
4415
 
_ACEOF
4416
 
cat confdefs.h >>conftest.$ac_ext
4417
 
cat >>conftest.$ac_ext <<_ACEOF
4418
 
/* end confdefs.h.  */
4419
 
 
4420
 
int
4421
 
main ()
4422
 
{
4423
 
 
4424
 
  ;
4425
 
  return 0;
4426
 
}
4427
 
_ACEOF
4428
 
rm -f conftest.$ac_objext
4429
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430
 
  (eval $ac_compile) 2>conftest.er1
4431
 
  ac_status=$?
4432
 
  grep -v '^ *+' conftest.er1 >conftest.err
4433
 
  rm -f conftest.er1
4434
 
  cat conftest.err >&5
4435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436
 
  (exit $ac_status); } &&
4437
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4438
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439
 
  (eval $ac_try) 2>&5
4440
 
  ac_status=$?
4441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442
 
  (exit $ac_status); }; } &&
4443
 
         { ac_try='test -s conftest.$ac_objext'
4444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445
 
  (eval $ac_try) 2>&5
4446
 
  ac_status=$?
4447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448
 
  (exit $ac_status); }; }; then
4449
 
  ac_cv_prog_cxx_g=yes
4450
 
else
4451
 
  echo "$as_me: failed program was:" >&5
4452
 
sed 's/^/| /' conftest.$ac_ext >&5
4453
 
 
4454
 
ac_cv_prog_cxx_g=no
4455
 
fi
4456
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4457
 
fi
4458
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4459
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5093
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5094
   ac_cxx_werror_flag=yes
 
5095
   ac_cv_prog_cxx_g=no
 
5096
   CXXFLAGS="-g"
 
5097
   cat >conftest.$ac_ext <<_ACEOF
 
5098
/* confdefs.h.  */
 
5099
_ACEOF
 
5100
cat confdefs.h >>conftest.$ac_ext
 
5101
cat >>conftest.$ac_ext <<_ACEOF
 
5102
/* end confdefs.h.  */
 
5103
 
 
5104
int
 
5105
main ()
 
5106
{
 
5107
 
 
5108
  ;
 
5109
  return 0;
 
5110
}
 
5111
_ACEOF
 
5112
rm -f conftest.$ac_objext
 
5113
if { (ac_try="$ac_compile"
 
5114
case "(($ac_try" in
 
5115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5116
  *) ac_try_echo=$ac_try;;
 
5117
esac
 
5118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5119
  (eval "$ac_compile") 2>conftest.er1
 
5120
  ac_status=$?
 
5121
  grep -v '^ *+' conftest.er1 >conftest.err
 
5122
  rm -f conftest.er1
 
5123
  cat conftest.err >&5
 
5124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5125
  (exit $ac_status); } && {
 
5126
         test -z "$ac_cxx_werror_flag" ||
 
5127
         test ! -s conftest.err
 
5128
       } && test -s conftest.$ac_objext; then
 
5129
  ac_cv_prog_cxx_g=yes
 
5130
else
 
5131
  echo "$as_me: failed program was:" >&5
 
5132
sed 's/^/| /' conftest.$ac_ext >&5
 
5133
 
 
5134
        CXXFLAGS=""
 
5135
      cat >conftest.$ac_ext <<_ACEOF
 
5136
/* confdefs.h.  */
 
5137
_ACEOF
 
5138
cat confdefs.h >>conftest.$ac_ext
 
5139
cat >>conftest.$ac_ext <<_ACEOF
 
5140
/* end confdefs.h.  */
 
5141
 
 
5142
int
 
5143
main ()
 
5144
{
 
5145
 
 
5146
  ;
 
5147
  return 0;
 
5148
}
 
5149
_ACEOF
 
5150
rm -f conftest.$ac_objext
 
5151
if { (ac_try="$ac_compile"
 
5152
case "(($ac_try" in
 
5153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5154
  *) ac_try_echo=$ac_try;;
 
5155
esac
 
5156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5157
  (eval "$ac_compile") 2>conftest.er1
 
5158
  ac_status=$?
 
5159
  grep -v '^ *+' conftest.er1 >conftest.err
 
5160
  rm -f conftest.er1
 
5161
  cat conftest.err >&5
 
5162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5163
  (exit $ac_status); } && {
 
5164
         test -z "$ac_cxx_werror_flag" ||
 
5165
         test ! -s conftest.err
 
5166
       } && test -s conftest.$ac_objext; then
 
5167
  :
 
5168
else
 
5169
  echo "$as_me: failed program was:" >&5
 
5170
sed 's/^/| /' conftest.$ac_ext >&5
 
5171
 
 
5172
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5173
         CXXFLAGS="-g"
 
5174
         cat >conftest.$ac_ext <<_ACEOF
 
5175
/* confdefs.h.  */
 
5176
_ACEOF
 
5177
cat confdefs.h >>conftest.$ac_ext
 
5178
cat >>conftest.$ac_ext <<_ACEOF
 
5179
/* end confdefs.h.  */
 
5180
 
 
5181
int
 
5182
main ()
 
5183
{
 
5184
 
 
5185
  ;
 
5186
  return 0;
 
5187
}
 
5188
_ACEOF
 
5189
rm -f conftest.$ac_objext
 
5190
if { (ac_try="$ac_compile"
 
5191
case "(($ac_try" in
 
5192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5193
  *) ac_try_echo=$ac_try;;
 
5194
esac
 
5195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5196
  (eval "$ac_compile") 2>conftest.er1
 
5197
  ac_status=$?
 
5198
  grep -v '^ *+' conftest.er1 >conftest.err
 
5199
  rm -f conftest.er1
 
5200
  cat conftest.err >&5
 
5201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5202
  (exit $ac_status); } && {
 
5203
         test -z "$ac_cxx_werror_flag" ||
 
5204
         test ! -s conftest.err
 
5205
       } && test -s conftest.$ac_objext; then
 
5206
  ac_cv_prog_cxx_g=yes
 
5207
else
 
5208
  echo "$as_me: failed program was:" >&5
 
5209
sed 's/^/| /' conftest.$ac_ext >&5
 
5210
 
 
5211
 
 
5212
fi
 
5213
 
 
5214
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5215
fi
 
5216
 
 
5217
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5218
fi
 
5219
 
 
5220
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5221
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5222
fi
 
5223
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5224
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4460
5225
if test "$ac_test_CXXFLAGS" = set; then
4461
5226
  CXXFLAGS=$ac_save_CXXFLAGS
4462
5227
elif test $ac_cv_prog_cxx_g = yes; then
4472
5237
    CXXFLAGS=
4473
5238
  fi
4474
5239
fi
4475
 
for ac_declaration in \
4476
 
   '' \
4477
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4478
 
   'extern "C" void std::exit (int); using std::exit;' \
4479
 
   'extern "C" void exit (int) throw ();' \
4480
 
   'extern "C" void exit (int);' \
4481
 
   'void exit (int);'
4482
 
do
4483
 
  cat >conftest.$ac_ext <<_ACEOF
4484
 
/* confdefs.h.  */
4485
 
_ACEOF
4486
 
cat confdefs.h >>conftest.$ac_ext
4487
 
cat >>conftest.$ac_ext <<_ACEOF
4488
 
/* end confdefs.h.  */
4489
 
$ac_declaration
4490
 
#include <stdlib.h>
4491
 
int
4492
 
main ()
4493
 
{
4494
 
exit (42);
4495
 
  ;
4496
 
  return 0;
4497
 
}
4498
 
_ACEOF
4499
 
rm -f conftest.$ac_objext
4500
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501
 
  (eval $ac_compile) 2>conftest.er1
4502
 
  ac_status=$?
4503
 
  grep -v '^ *+' conftest.er1 >conftest.err
4504
 
  rm -f conftest.er1
4505
 
  cat conftest.err >&5
4506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507
 
  (exit $ac_status); } &&
4508
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4509
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510
 
  (eval $ac_try) 2>&5
4511
 
  ac_status=$?
4512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513
 
  (exit $ac_status); }; } &&
4514
 
         { ac_try='test -s conftest.$ac_objext'
4515
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516
 
  (eval $ac_try) 2>&5
4517
 
  ac_status=$?
4518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519
 
  (exit $ac_status); }; }; then
4520
 
  :
4521
 
else
4522
 
  echo "$as_me: failed program was:" >&5
4523
 
sed 's/^/| /' conftest.$ac_ext >&5
4524
 
 
4525
 
continue
4526
 
fi
4527
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4528
 
  cat >conftest.$ac_ext <<_ACEOF
4529
 
/* confdefs.h.  */
4530
 
_ACEOF
4531
 
cat confdefs.h >>conftest.$ac_ext
4532
 
cat >>conftest.$ac_ext <<_ACEOF
4533
 
/* end confdefs.h.  */
4534
 
$ac_declaration
4535
 
int
4536
 
main ()
4537
 
{
4538
 
exit (42);
4539
 
  ;
4540
 
  return 0;
4541
 
}
4542
 
_ACEOF
4543
 
rm -f conftest.$ac_objext
4544
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4545
 
  (eval $ac_compile) 2>conftest.er1
4546
 
  ac_status=$?
4547
 
  grep -v '^ *+' conftest.er1 >conftest.err
4548
 
  rm -f conftest.er1
4549
 
  cat conftest.err >&5
4550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551
 
  (exit $ac_status); } &&
4552
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4553
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554
 
  (eval $ac_try) 2>&5
4555
 
  ac_status=$?
4556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557
 
  (exit $ac_status); }; } &&
4558
 
         { ac_try='test -s conftest.$ac_objext'
4559
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560
 
  (eval $ac_try) 2>&5
4561
 
  ac_status=$?
4562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563
 
  (exit $ac_status); }; }; then
4564
 
  break
4565
 
else
4566
 
  echo "$as_me: failed program was:" >&5
4567
 
sed 's/^/| /' conftest.$ac_ext >&5
4568
 
 
4569
 
fi
4570
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4571
 
done
4572
 
rm -f conftest*
4573
 
if test -n "$ac_declaration"; then
4574
 
  echo '#ifdef __cplusplus' >>confdefs.h
4575
 
  echo $ac_declaration      >>confdefs.h
4576
 
  echo '#endif'             >>confdefs.h
4577
 
fi
4578
 
 
4579
 
ac_ext=cc
 
5240
ac_ext=cpp
4580
5241
ac_cpp='$CXXCPP $CPPFLAGS'
4581
5242
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582
5243
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587
5248
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4588
5249
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4589
5250
    (test "X$CXX" != "Xg++"))) ; then
4590
 
  ac_ext=cc
 
5251
  ac_ext=cpp
4591
5252
ac_cpp='$CXXCPP $CPPFLAGS'
4592
5253
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593
5254
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594
5255
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4595
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4596
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5256
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5257
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4597
5258
if test -z "$CXXCPP"; then
4598
5259
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4599
5260
  echo $ECHO_N "(cached) $ECHO_C" >&6
4623
5284
#endif
4624
5285
                     Syntax error
4625
5286
_ACEOF
4626
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4627
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5287
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5288
case "(($ac_try" in
 
5289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5290
  *) ac_try_echo=$ac_try;;
 
5291
esac
 
5292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5293
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4628
5294
  ac_status=$?
4629
5295
  grep -v '^ *+' conftest.er1 >conftest.err
4630
5296
  rm -f conftest.er1
4631
5297
  cat conftest.err >&5
4632
5298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
 
  (exit $ac_status); } >/dev/null; then
4634
 
  if test -s conftest.err; then
4635
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4636
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4637
 
  else
4638
 
    ac_cpp_err=
4639
 
  fi
4640
 
else
4641
 
  ac_cpp_err=yes
4642
 
fi
4643
 
if test -z "$ac_cpp_err"; then
 
5299
  (exit $ac_status); } >/dev/null && {
 
5300
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5301
         test ! -s conftest.err
 
5302
       }; then
4644
5303
  :
4645
5304
else
4646
5305
  echo "$as_me: failed program was:" >&5
4649
5308
  # Broken: fails on valid input.
4650
5309
continue
4651
5310
fi
 
5311
 
4652
5312
rm -f conftest.err conftest.$ac_ext
4653
5313
 
4654
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5314
  # OK, works on sane cases.  Now check whether nonexistent headers
4655
5315
  # can be detected and how.
4656
5316
  cat >conftest.$ac_ext <<_ACEOF
4657
5317
/* confdefs.h.  */
4661
5321
/* end confdefs.h.  */
4662
5322
#include <ac_nonexistent.h>
4663
5323
_ACEOF
4664
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4665
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5324
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5325
case "(($ac_try" in
 
5326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5327
  *) ac_try_echo=$ac_try;;
 
5328
esac
 
5329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5330
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4666
5331
  ac_status=$?
4667
5332
  grep -v '^ *+' conftest.er1 >conftest.err
4668
5333
  rm -f conftest.er1
4669
5334
  cat conftest.err >&5
4670
5335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671
 
  (exit $ac_status); } >/dev/null; then
4672
 
  if test -s conftest.err; then
4673
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4674
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4675
 
  else
4676
 
    ac_cpp_err=
4677
 
  fi
4678
 
else
4679
 
  ac_cpp_err=yes
4680
 
fi
4681
 
if test -z "$ac_cpp_err"; then
 
5336
  (exit $ac_status); } >/dev/null && {
 
5337
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5338
         test ! -s conftest.err
 
5339
       }; then
4682
5340
  # Broken: success on invalid input.
4683
5341
continue
4684
5342
else
4689
5347
ac_preproc_ok=:
4690
5348
break
4691
5349
fi
 
5350
 
4692
5351
rm -f conftest.err conftest.$ac_ext
4693
5352
 
4694
5353
done
4706
5365
else
4707
5366
  ac_cv_prog_CXXCPP=$CXXCPP
4708
5367
fi
4709
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
4710
 
echo "${ECHO_T}$CXXCPP" >&6
 
5368
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5369
echo "${ECHO_T}$CXXCPP" >&6; }
4711
5370
ac_preproc_ok=false
4712
5371
for ac_cxx_preproc_warn_flag in '' yes
4713
5372
do
4730
5389
#endif
4731
5390
                     Syntax error
4732
5391
_ACEOF
4733
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4734
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5392
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5393
case "(($ac_try" in
 
5394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5395
  *) ac_try_echo=$ac_try;;
 
5396
esac
 
5397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5398
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4735
5399
  ac_status=$?
4736
5400
  grep -v '^ *+' conftest.er1 >conftest.err
4737
5401
  rm -f conftest.er1
4738
5402
  cat conftest.err >&5
4739
5403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740
 
  (exit $ac_status); } >/dev/null; then
4741
 
  if test -s conftest.err; then
4742
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4743
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4744
 
  else
4745
 
    ac_cpp_err=
4746
 
  fi
4747
 
else
4748
 
  ac_cpp_err=yes
4749
 
fi
4750
 
if test -z "$ac_cpp_err"; then
 
5404
  (exit $ac_status); } >/dev/null && {
 
5405
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5406
         test ! -s conftest.err
 
5407
       }; then
4751
5408
  :
4752
5409
else
4753
5410
  echo "$as_me: failed program was:" >&5
4756
5413
  # Broken: fails on valid input.
4757
5414
continue
4758
5415
fi
 
5416
 
4759
5417
rm -f conftest.err conftest.$ac_ext
4760
5418
 
4761
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5419
  # OK, works on sane cases.  Now check whether nonexistent headers
4762
5420
  # can be detected and how.
4763
5421
  cat >conftest.$ac_ext <<_ACEOF
4764
5422
/* confdefs.h.  */
4768
5426
/* end confdefs.h.  */
4769
5427
#include <ac_nonexistent.h>
4770
5428
_ACEOF
4771
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4772
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5429
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5430
case "(($ac_try" in
 
5431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5432
  *) ac_try_echo=$ac_try;;
 
5433
esac
 
5434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5435
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4773
5436
  ac_status=$?
4774
5437
  grep -v '^ *+' conftest.er1 >conftest.err
4775
5438
  rm -f conftest.er1
4776
5439
  cat conftest.err >&5
4777
5440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778
 
  (exit $ac_status); } >/dev/null; then
4779
 
  if test -s conftest.err; then
4780
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
4781
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4782
 
  else
4783
 
    ac_cpp_err=
4784
 
  fi
4785
 
else
4786
 
  ac_cpp_err=yes
4787
 
fi
4788
 
if test -z "$ac_cpp_err"; then
 
5441
  (exit $ac_status); } >/dev/null && {
 
5442
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5443
         test ! -s conftest.err
 
5444
       }; then
4789
5445
  # Broken: success on invalid input.
4790
5446
continue
4791
5447
else
4796
5452
ac_preproc_ok=:
4797
5453
break
4798
5454
fi
 
5455
 
4799
5456
rm -f conftest.err conftest.$ac_ext
4800
5457
 
4801
5458
done
4811
5468
   { (exit 1); exit 1; }; }
4812
5469
fi
4813
5470
 
4814
 
ac_ext=cc
 
5471
ac_ext=cpp
4815
5472
ac_cpp='$CXXCPP $CPPFLAGS'
4816
5473
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4817
5474
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4825
5482
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826
5483
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4827
5484
if test -n "$ac_tool_prefix"; then
4828
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5485
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
4829
5486
  do
4830
5487
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831
5488
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4833
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5489
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5490
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4834
5491
if test "${ac_cv_prog_F77+set}" = set; then
4835
5492
  echo $ECHO_N "(cached) $ECHO_C" >&6
4836
5493
else
4843
5500
  IFS=$as_save_IFS
4844
5501
  test -z "$as_dir" && as_dir=.
4845
5502
  for ac_exec_ext in '' $ac_executable_extensions; do
4846
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4847
5504
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4848
5505
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4849
5506
    break 2
4850
5507
  fi
4851
5508
done
4852
5509
done
 
5510
IFS=$as_save_IFS
4853
5511
 
4854
5512
fi
4855
5513
fi
4856
5514
F77=$ac_cv_prog_F77
4857
5515
if test -n "$F77"; then
4858
 
  echo "$as_me:$LINENO: result: $F77" >&5
4859
 
echo "${ECHO_T}$F77" >&6
 
5516
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5517
echo "${ECHO_T}$F77" >&6; }
4860
5518
else
4861
 
  echo "$as_me:$LINENO: result: no" >&5
4862
 
echo "${ECHO_T}no" >&6
 
5519
  { echo "$as_me:$LINENO: result: no" >&5
 
5520
echo "${ECHO_T}no" >&6; }
4863
5521
fi
4864
5522
 
 
5523
 
4865
5524
    test -n "$F77" && break
4866
5525
  done
4867
5526
fi
4868
5527
if test -z "$F77"; then
4869
5528
  ac_ct_F77=$F77
4870
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5529
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
4871
5530
do
4872
5531
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4873
5532
set dummy $ac_prog; ac_word=$2
4874
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4875
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5533
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5534
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4876
5535
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4877
5536
  echo $ECHO_N "(cached) $ECHO_C" >&6
4878
5537
else
4885
5544
  IFS=$as_save_IFS
4886
5545
  test -z "$as_dir" && as_dir=.
4887
5546
  for ac_exec_ext in '' $ac_executable_extensions; do
4888
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5547
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4889
5548
    ac_cv_prog_ac_ct_F77="$ac_prog"
4890
5549
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4891
5550
    break 2
4892
5551
  fi
4893
5552
done
4894
5553
done
 
5554
IFS=$as_save_IFS
4895
5555
 
4896
5556
fi
4897
5557
fi
4898
5558
ac_ct_F77=$ac_cv_prog_ac_ct_F77
4899
5559
if test -n "$ac_ct_F77"; then
4900
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4901
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
5560
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
5561
echo "${ECHO_T}$ac_ct_F77" >&6; }
4902
5562
else
4903
 
  echo "$as_me:$LINENO: result: no" >&5
4904
 
echo "${ECHO_T}no" >&6
 
5563
  { echo "$as_me:$LINENO: result: no" >&5
 
5564
echo "${ECHO_T}no" >&6; }
4905
5565
fi
4906
5566
 
 
5567
 
4907
5568
  test -n "$ac_ct_F77" && break
4908
5569
done
4909
5570
 
4910
 
  F77=$ac_ct_F77
 
5571
  if test "x$ac_ct_F77" = x; then
 
5572
    F77=""
 
5573
  else
 
5574
    case $cross_compiling:$ac_tool_warned in
 
5575
yes:)
 
5576
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5577
whose name does not start with the host triplet.  If you think this
 
5578
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5579
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5580
whose name does not start with the host triplet.  If you think this
 
5581
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5582
ac_tool_warned=yes ;;
 
5583
esac
 
5584
    F77=$ac_ct_F77
 
5585
  fi
4911
5586
fi
4912
5587
 
4913
5588
 
4914
5589
# Provide some information about the compiler.
4915
 
echo "$as_me:4915:" \
4916
 
     "checking for Fortran 77 compiler version" >&5
 
5590
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
4917
5591
ac_compiler=`set X $ac_compile; echo $2`
4918
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4919
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4920
 
  ac_status=$?
4921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922
 
  (exit $ac_status); }
4923
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4924
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4925
 
  ac_status=$?
4926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927
 
  (exit $ac_status); }
4928
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4929
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5592
{ (ac_try="$ac_compiler --version >&5"
 
5593
case "(($ac_try" in
 
5594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5595
  *) ac_try_echo=$ac_try;;
 
5596
esac
 
5597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5598
  (eval "$ac_compiler --version >&5") 2>&5
 
5599
  ac_status=$?
 
5600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5601
  (exit $ac_status); }
 
5602
{ (ac_try="$ac_compiler -v >&5"
 
5603
case "(($ac_try" in
 
5604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5605
  *) ac_try_echo=$ac_try;;
 
5606
esac
 
5607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5608
  (eval "$ac_compiler -v >&5") 2>&5
 
5609
  ac_status=$?
 
5610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5611
  (exit $ac_status); }
 
5612
{ (ac_try="$ac_compiler -V >&5"
 
5613
case "(($ac_try" in
 
5614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5615
  *) ac_try_echo=$ac_try;;
 
5616
esac
 
5617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5618
  (eval "$ac_compiler -V >&5") 2>&5
4930
5619
  ac_status=$?
4931
5620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
5621
  (exit $ac_status); }
4936
5625
# input file.  (Note that this only needs to work for GNU compilers.)
4937
5626
ac_save_ext=$ac_ext
4938
5627
ac_ext=F
4939
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4940
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
5628
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
5629
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
4941
5630
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4942
5631
  echo $ECHO_N "(cached) $ECHO_C" >&6
4943
5632
else
4950
5639
      end
4951
5640
_ACEOF
4952
5641
rm -f conftest.$ac_objext
4953
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4954
 
  (eval $ac_compile) 2>conftest.er1
 
5642
if { (ac_try="$ac_compile"
 
5643
case "(($ac_try" in
 
5644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5645
  *) ac_try_echo=$ac_try;;
 
5646
esac
 
5647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5648
  (eval "$ac_compile") 2>conftest.er1
4955
5649
  ac_status=$?
4956
5650
  grep -v '^ *+' conftest.er1 >conftest.err
4957
5651
  rm -f conftest.er1
4958
5652
  cat conftest.err >&5
4959
5653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960
 
  (exit $ac_status); } &&
4961
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
4962
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4963
 
  (eval $ac_try) 2>&5
4964
 
  ac_status=$?
4965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966
 
  (exit $ac_status); }; } &&
4967
 
         { ac_try='test -s conftest.$ac_objext'
4968
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969
 
  (eval $ac_try) 2>&5
4970
 
  ac_status=$?
4971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972
 
  (exit $ac_status); }; }; then
 
5654
  (exit $ac_status); } && {
 
5655
         test -z "$ac_f77_werror_flag" ||
 
5656
         test ! -s conftest.err
 
5657
       } && test -s conftest.$ac_objext; then
4973
5658
  ac_compiler_gnu=yes
4974
5659
else
4975
5660
  echo "$as_me: failed program was:" >&5
4976
5661
sed 's/^/| /' conftest.$ac_ext >&5
4977
5662
 
4978
 
ac_compiler_gnu=no
 
5663
        ac_compiler_gnu=no
4979
5664
fi
4980
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5665
 
 
5666
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4981
5667
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4982
5668
 
4983
5669
fi
4984
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4985
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
5670
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
5671
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
4986
5672
ac_ext=$ac_save_ext
4987
5673
ac_test_FFLAGS=${FFLAGS+set}
4988
5674
ac_save_FFLAGS=$FFLAGS
4989
5675
FFLAGS=
4990
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4991
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
5676
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
5677
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
4992
5678
if test "${ac_cv_prog_f77_g+set}" = set; then
4993
5679
  echo $ECHO_N "(cached) $ECHO_C" >&6
4994
5680
else
4999
5685
      end
5000
5686
_ACEOF
5001
5687
rm -f conftest.$ac_objext
5002
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003
 
  (eval $ac_compile) 2>conftest.er1
 
5688
if { (ac_try="$ac_compile"
 
5689
case "(($ac_try" in
 
5690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5691
  *) ac_try_echo=$ac_try;;
 
5692
esac
 
5693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5694
  (eval "$ac_compile") 2>conftest.er1
5004
5695
  ac_status=$?
5005
5696
  grep -v '^ *+' conftest.er1 >conftest.err
5006
5697
  rm -f conftest.er1
5007
5698
  cat conftest.err >&5
5008
5699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009
 
  (exit $ac_status); } &&
5010
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012
 
  (eval $ac_try) 2>&5
5013
 
  ac_status=$?
5014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
 
  (exit $ac_status); }; } &&
5016
 
         { ac_try='test -s conftest.$ac_objext'
5017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018
 
  (eval $ac_try) 2>&5
5019
 
  ac_status=$?
5020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021
 
  (exit $ac_status); }; }; then
 
5700
  (exit $ac_status); } && {
 
5701
         test -z "$ac_f77_werror_flag" ||
 
5702
         test ! -s conftest.err
 
5703
       } && test -s conftest.$ac_objext; then
5022
5704
  ac_cv_prog_f77_g=yes
5023
5705
else
5024
5706
  echo "$as_me: failed program was:" >&5
5025
5707
sed 's/^/| /' conftest.$ac_ext >&5
5026
5708
 
5027
 
ac_cv_prog_f77_g=no
5028
 
fi
5029
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5030
 
 
5031
 
fi
5032
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5033
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
5709
        ac_cv_prog_f77_g=no
 
5710
fi
 
5711
 
 
5712
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5713
 
 
5714
fi
 
5715
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
5716
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5034
5717
if test "$ac_test_FFLAGS" = set; then
5035
5718
  FFLAGS=$ac_save_FFLAGS
5036
5719
elif test $ac_cv_prog_f77_g = yes; then
5059
5742
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5060
5743
 
5061
5744
# find the maximum length of command line arguments
5062
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5063
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
5745
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5746
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5064
5747
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5065
5748
  echo $ECHO_N "(cached) $ECHO_C" >&6
5066
5749
else
5144
5827
    fi
5145
5828
    ;;
5146
5829
  *)
5147
 
    # If test is not a shell built-in, we'll probably end up computing a
5148
 
    # maximum length that is only half of the actual maximum length, but
5149
 
    # we can't tell.
5150
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5151
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
5830
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5831
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5832
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5833
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5834
    else
 
5835
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5836
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5152
5837
               = "XX$teststring") >/dev/null 2>&1 &&
5153
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5154
 
            lt_cv_sys_max_cmd_len=$new_result &&
5155
 
            test $i != 17 # 1/2 MB should be enough
5156
 
    do
5157
 
      i=`expr $i + 1`
5158
 
      teststring=$teststring$teststring
5159
 
    done
5160
 
    teststring=
5161
 
    # Add a significant safety factor because C++ compilers can tack on massive
5162
 
    # amounts of additional arguments before passing them to the linker.
5163
 
    # It appears as though 1/2 is a usable value.
5164
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5838
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
5839
              lt_cv_sys_max_cmd_len=$new_result &&
 
5840
              test $i != 17 # 1/2 MB should be enough
 
5841
      do
 
5842
        i=`expr $i + 1`
 
5843
        teststring=$teststring$teststring
 
5844
      done
 
5845
      teststring=
 
5846
      # Add a significant safety factor because C++ compilers can tack on massive
 
5847
      # amounts of additional arguments before passing them to the linker.
 
5848
      # It appears as though 1/2 is a usable value.
 
5849
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5850
    fi
5165
5851
    ;;
5166
5852
  esac
5167
5853
 
5168
5854
fi
5169
5855
 
5170
5856
if test -n $lt_cv_sys_max_cmd_len ; then
5171
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5172
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
5857
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5858
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5173
5859
else
5174
 
  echo "$as_me:$LINENO: result: none" >&5
5175
 
echo "${ECHO_T}none" >&6
 
5860
  { echo "$as_me:$LINENO: result: none" >&5
 
5861
echo "${ECHO_T}none" >&6; }
5176
5862
fi
5177
5863
 
5178
5864
 
5179
5865
 
5180
5866
 
 
5867
 
5181
5868
# Check for command to grab the raw symbol name followed by C symbol from nm.
5182
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5183
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
5869
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5870
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5184
5871
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5185
5872
  echo $ECHO_N "(cached) $ECHO_C" >&6
5186
5873
else
5215
5902
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5216
5903
  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'"
5217
5904
  ;;
5218
 
linux*)
 
5905
linux* | k*bsd*-gnu)
5219
5906
  if test "$host_cpu" = ia64; then
5220
5907
    symcode='[ABCDGIRSTW]'
5221
5908
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5384
6071
  lt_cv_sys_global_symbol_to_cdecl=
5385
6072
fi
5386
6073
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5387
 
  echo "$as_me:$LINENO: result: failed" >&5
5388
 
echo "${ECHO_T}failed" >&6
 
6074
  { echo "$as_me:$LINENO: result: failed" >&5
 
6075
echo "${ECHO_T}failed" >&6; }
5389
6076
else
5390
 
  echo "$as_me:$LINENO: result: ok" >&5
5391
 
echo "${ECHO_T}ok" >&6
 
6077
  { echo "$as_me:$LINENO: result: ok" >&5
 
6078
echo "${ECHO_T}ok" >&6; }
5392
6079
fi
5393
6080
 
5394
 
echo "$as_me:$LINENO: checking for objdir" >&5
5395
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6081
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6082
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5396
6083
if test "${lt_cv_objdir+set}" = set; then
5397
6084
  echo $ECHO_N "(cached) $ECHO_C" >&6
5398
6085
else
5406
6093
fi
5407
6094
rmdir .libs 2>/dev/null
5408
6095
fi
5409
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5410
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6096
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6097
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5411
6098
objdir=$lt_cv_objdir
5412
6099
 
5413
6100
 
5458
6145
if test -n "$ac_tool_prefix"; then
5459
6146
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5460
6147
set dummy ${ac_tool_prefix}ar; ac_word=$2
5461
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5462
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6148
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6149
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5463
6150
if test "${ac_cv_prog_AR+set}" = set; then
5464
6151
  echo $ECHO_N "(cached) $ECHO_C" >&6
5465
6152
else
5472
6159
  IFS=$as_save_IFS
5473
6160
  test -z "$as_dir" && as_dir=.
5474
6161
  for ac_exec_ext in '' $ac_executable_extensions; do
5475
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6162
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5476
6163
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5477
6164
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5478
6165
    break 2
5479
6166
  fi
5480
6167
done
5481
6168
done
 
6169
IFS=$as_save_IFS
5482
6170
 
5483
6171
fi
5484
6172
fi
5485
6173
AR=$ac_cv_prog_AR
5486
6174
if test -n "$AR"; then
5487
 
  echo "$as_me:$LINENO: result: $AR" >&5
5488
 
echo "${ECHO_T}$AR" >&6
 
6175
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6176
echo "${ECHO_T}$AR" >&6; }
5489
6177
else
5490
 
  echo "$as_me:$LINENO: result: no" >&5
5491
 
echo "${ECHO_T}no" >&6
 
6178
  { echo "$as_me:$LINENO: result: no" >&5
 
6179
echo "${ECHO_T}no" >&6; }
5492
6180
fi
 
6181
 
5493
6182
 
5494
6183
fi
5495
6184
if test -z "$ac_cv_prog_AR"; then
5496
6185
  ac_ct_AR=$AR
5497
6186
  # Extract the first word of "ar", so it can be a program name with args.
5498
6187
set dummy ar; ac_word=$2
5499
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5500
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6188
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6189
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5501
6190
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5502
6191
  echo $ECHO_N "(cached) $ECHO_C" >&6
5503
6192
else
5510
6199
  IFS=$as_save_IFS
5511
6200
  test -z "$as_dir" && as_dir=.
5512
6201
  for ac_exec_ext in '' $ac_executable_extensions; do
5513
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6202
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514
6203
    ac_cv_prog_ac_ct_AR="ar"
5515
6204
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5516
6205
    break 2
5517
6206
  fi
5518
6207
done
5519
6208
done
 
6209
IFS=$as_save_IFS
5520
6210
 
5521
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5522
6211
fi
5523
6212
fi
5524
6213
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5525
6214
if test -n "$ac_ct_AR"; then
5526
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5527
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6215
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6216
echo "${ECHO_T}$ac_ct_AR" >&6; }
5528
6217
else
5529
 
  echo "$as_me:$LINENO: result: no" >&5
5530
 
echo "${ECHO_T}no" >&6
 
6218
  { echo "$as_me:$LINENO: result: no" >&5
 
6219
echo "${ECHO_T}no" >&6; }
5531
6220
fi
5532
6221
 
5533
 
  AR=$ac_ct_AR
 
6222
  if test "x$ac_ct_AR" = x; then
 
6223
    AR="false"
 
6224
  else
 
6225
    case $cross_compiling:$ac_tool_warned in
 
6226
yes:)
 
6227
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6228
whose name does not start with the host triplet.  If you think this
 
6229
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6230
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6231
whose name does not start with the host triplet.  If you think this
 
6232
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6233
ac_tool_warned=yes ;;
 
6234
esac
 
6235
    AR=$ac_ct_AR
 
6236
  fi
5534
6237
else
5535
6238
  AR="$ac_cv_prog_AR"
5536
6239
fi
5538
6241
if test -n "$ac_tool_prefix"; then
5539
6242
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5540
6243
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5541
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5542
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6244
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6245
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5543
6246
if test "${ac_cv_prog_RANLIB+set}" = set; then
5544
6247
  echo $ECHO_N "(cached) $ECHO_C" >&6
5545
6248
else
5552
6255
  IFS=$as_save_IFS
5553
6256
  test -z "$as_dir" && as_dir=.
5554
6257
  for ac_exec_ext in '' $ac_executable_extensions; do
5555
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556
6259
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5557
6260
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558
6261
    break 2
5559
6262
  fi
5560
6263
done
5561
6264
done
 
6265
IFS=$as_save_IFS
5562
6266
 
5563
6267
fi
5564
6268
fi
5565
6269
RANLIB=$ac_cv_prog_RANLIB
5566
6270
if test -n "$RANLIB"; then
5567
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5568
 
echo "${ECHO_T}$RANLIB" >&6
 
6271
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6272
echo "${ECHO_T}$RANLIB" >&6; }
5569
6273
else
5570
 
  echo "$as_me:$LINENO: result: no" >&5
5571
 
echo "${ECHO_T}no" >&6
 
6274
  { echo "$as_me:$LINENO: result: no" >&5
 
6275
echo "${ECHO_T}no" >&6; }
5572
6276
fi
 
6277
 
5573
6278
 
5574
6279
fi
5575
6280
if test -z "$ac_cv_prog_RANLIB"; then
5576
6281
  ac_ct_RANLIB=$RANLIB
5577
6282
  # Extract the first word of "ranlib", so it can be a program name with args.
5578
6283
set dummy ranlib; ac_word=$2
5579
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5580
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6284
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6285
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5581
6286
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5582
6287
  echo $ECHO_N "(cached) $ECHO_C" >&6
5583
6288
else
5590
6295
  IFS=$as_save_IFS
5591
6296
  test -z "$as_dir" && as_dir=.
5592
6297
  for ac_exec_ext in '' $ac_executable_extensions; do
5593
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6298
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5594
6299
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5595
6300
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5596
6301
    break 2
5597
6302
  fi
5598
6303
done
5599
6304
done
 
6305
IFS=$as_save_IFS
5600
6306
 
5601
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5602
6307
fi
5603
6308
fi
5604
6309
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5605
6310
if test -n "$ac_ct_RANLIB"; then
5606
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5607
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6311
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6312
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5608
6313
else
5609
 
  echo "$as_me:$LINENO: result: no" >&5
5610
 
echo "${ECHO_T}no" >&6
 
6314
  { echo "$as_me:$LINENO: result: no" >&5
 
6315
echo "${ECHO_T}no" >&6; }
5611
6316
fi
5612
6317
 
5613
 
  RANLIB=$ac_ct_RANLIB
 
6318
  if test "x$ac_ct_RANLIB" = x; then
 
6319
    RANLIB=":"
 
6320
  else
 
6321
    case $cross_compiling:$ac_tool_warned in
 
6322
yes:)
 
6323
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6324
whose name does not start with the host triplet.  If you think this
 
6325
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6326
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6327
whose name does not start with the host triplet.  If you think this
 
6328
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6329
ac_tool_warned=yes ;;
 
6330
esac
 
6331
    RANLIB=$ac_ct_RANLIB
 
6332
  fi
5614
6333
else
5615
6334
  RANLIB="$ac_cv_prog_RANLIB"
5616
6335
fi
5618
6337
if test -n "$ac_tool_prefix"; then
5619
6338
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5620
6339
set dummy ${ac_tool_prefix}strip; ac_word=$2
5621
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5622
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6340
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6341
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5623
6342
if test "${ac_cv_prog_STRIP+set}" = set; then
5624
6343
  echo $ECHO_N "(cached) $ECHO_C" >&6
5625
6344
else
5632
6351
  IFS=$as_save_IFS
5633
6352
  test -z "$as_dir" && as_dir=.
5634
6353
  for ac_exec_ext in '' $ac_executable_extensions; do
5635
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6354
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5636
6355
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5637
6356
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5638
6357
    break 2
5639
6358
  fi
5640
6359
done
5641
6360
done
 
6361
IFS=$as_save_IFS
5642
6362
 
5643
6363
fi
5644
6364
fi
5645
6365
STRIP=$ac_cv_prog_STRIP
5646
6366
if test -n "$STRIP"; then
5647
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
5648
 
echo "${ECHO_T}$STRIP" >&6
 
6367
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6368
echo "${ECHO_T}$STRIP" >&6; }
5649
6369
else
5650
 
  echo "$as_me:$LINENO: result: no" >&5
5651
 
echo "${ECHO_T}no" >&6
 
6370
  { echo "$as_me:$LINENO: result: no" >&5
 
6371
echo "${ECHO_T}no" >&6; }
5652
6372
fi
 
6373
 
5653
6374
 
5654
6375
fi
5655
6376
if test -z "$ac_cv_prog_STRIP"; then
5656
6377
  ac_ct_STRIP=$STRIP
5657
6378
  # Extract the first word of "strip", so it can be a program name with args.
5658
6379
set dummy strip; ac_word=$2
5659
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5660
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6380
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6381
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5661
6382
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5662
6383
  echo $ECHO_N "(cached) $ECHO_C" >&6
5663
6384
else
5670
6391
  IFS=$as_save_IFS
5671
6392
  test -z "$as_dir" && as_dir=.
5672
6393
  for ac_exec_ext in '' $ac_executable_extensions; do
5673
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5674
6395
    ac_cv_prog_ac_ct_STRIP="strip"
5675
6396
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5676
6397
    break 2
5677
6398
  fi
5678
6399
done
5679
6400
done
 
6401
IFS=$as_save_IFS
5680
6402
 
5681
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5682
6403
fi
5683
6404
fi
5684
6405
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5685
6406
if test -n "$ac_ct_STRIP"; then
5686
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5687
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6407
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6408
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5688
6409
else
5689
 
  echo "$as_me:$LINENO: result: no" >&5
5690
 
echo "${ECHO_T}no" >&6
 
6410
  { echo "$as_me:$LINENO: result: no" >&5
 
6411
echo "${ECHO_T}no" >&6; }
5691
6412
fi
5692
6413
 
5693
 
  STRIP=$ac_ct_STRIP
 
6414
  if test "x$ac_ct_STRIP" = x; then
 
6415
    STRIP=":"
 
6416
  else
 
6417
    case $cross_compiling:$ac_tool_warned in
 
6418
yes:)
 
6419
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6420
whose name does not start with the host triplet.  If you think this
 
6421
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6422
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6423
whose name does not start with the host triplet.  If you think this
 
6424
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6425
ac_tool_warned=yes ;;
 
6426
esac
 
6427
    STRIP=$ac_ct_STRIP
 
6428
  fi
5694
6429
else
5695
6430
  STRIP="$ac_cv_prog_STRIP"
5696
6431
fi
5718
6453
test -z "$ac_objext" && ac_objext=o
5719
6454
 
5720
6455
# Determine commands to create old-style static archives.
5721
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
6456
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5722
6457
old_postinstall_cmds='chmod 644 $oldlib'
5723
6458
old_postuninstall_cmds=
5724
6459
 
5749
6484
case $deplibs_check_method in
5750
6485
file_magic*)
5751
6486
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5752
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5753
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6487
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6488
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
5754
6489
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5755
6490
  echo $ECHO_N "(cached) $ECHO_C" >&6
5756
6491
else
5802
6537
 
5803
6538
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5804
6539
if test -n "$MAGIC_CMD"; then
5805
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5806
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6540
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6541
echo "${ECHO_T}$MAGIC_CMD" >&6; }
5807
6542
else
5808
 
  echo "$as_me:$LINENO: result: no" >&5
5809
 
echo "${ECHO_T}no" >&6
 
6543
  { echo "$as_me:$LINENO: result: no" >&5
 
6544
echo "${ECHO_T}no" >&6; }
5810
6545
fi
5811
6546
 
5812
6547
if test -z "$lt_cv_path_MAGIC_CMD"; then
5813
6548
  if test -n "$ac_tool_prefix"; then
5814
 
    echo "$as_me:$LINENO: checking for file" >&5
5815
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
6549
    { echo "$as_me:$LINENO: checking for file" >&5
 
6550
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
5816
6551
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5817
6552
  echo $ECHO_N "(cached) $ECHO_C" >&6
5818
6553
else
5864
6599
 
5865
6600
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5866
6601
if test -n "$MAGIC_CMD"; then
5867
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5868
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6602
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6603
echo "${ECHO_T}$MAGIC_CMD" >&6; }
5869
6604
else
5870
 
  echo "$as_me:$LINENO: result: no" >&5
5871
 
echo "${ECHO_T}no" >&6
 
6605
  { echo "$as_me:$LINENO: result: no" >&5
 
6606
echo "${ECHO_T}no" >&6; }
5872
6607
fi
5873
6608
 
5874
6609
  else
5883
6618
enable_dlopen=no
5884
6619
enable_win32_dll=yes
5885
6620
 
5886
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
6621
# Check whether --enable-libtool-lock was given.
5887
6622
if test "${enable_libtool_lock+set}" = set; then
5888
 
  enableval="$enable_libtool_lock"
 
6623
  enableval=$enable_libtool_lock;
 
6624
fi
5889
6625
 
5890
 
fi;
5891
6626
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5892
6627
 
5893
6628
 
5894
 
# Check whether --with-pic or --without-pic was given.
 
6629
# Check whether --with-pic was given.
5895
6630
if test "${with_pic+set}" = set; then
5896
 
  withval="$with_pic"
5897
 
  pic_mode="$withval"
 
6631
  withval=$with_pic; pic_mode="$withval"
5898
6632
else
5899
6633
  pic_mode=default
5900
 
fi;
 
6634
fi
 
6635
 
5901
6636
test -z "$pic_mode" && pic_mode=default
5902
6637
 
5903
6638
# Use C for the default configuration in the libtool script
5918
6653
objext=$objext
5919
6654
 
5920
6655
# Code to be used in simple compile tests
5921
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
6656
lt_simple_compile_test_code="int some_variable = 0;"
5922
6657
 
5923
6658
# Code to be used in simple link tests
5924
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
6659
lt_simple_link_test_code='int main(){return(0);}'
5925
6660
 
5926
6661
 
5927
6662
# If no C compiler was specified, use CC.
5936
6671
 
5937
6672
# save warnings/boilerplate of simple test code
5938
6673
ac_outfile=conftest.$ac_objext
5939
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
6674
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
5940
6675
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5941
6676
_lt_compiler_boilerplate=`cat conftest.err`
5942
6677
$rm conftest*
5943
6678
 
5944
6679
ac_outfile=conftest.$ac_objext
5945
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
6680
echo "$lt_simple_link_test_code" >conftest.$ac_ext
5946
6681
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5947
6682
_lt_linker_boilerplate=`cat conftest.err`
5948
6683
$rm conftest*
5955
6690
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5956
6691
 
5957
6692
 
5958
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5959
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
6693
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
6694
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
5960
6695
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5961
6696
  echo $ECHO_N "(cached) $ECHO_C" >&6
5962
6697
else
5963
6698
  lt_cv_prog_compiler_rtti_exceptions=no
5964
6699
  ac_outfile=conftest.$ac_objext
5965
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6700
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5966
6701
   lt_compiler_flag="-fno-rtti -fno-exceptions"
5967
6702
   # Insert the option either (1) after the last *FLAGS variable, or
5968
6703
   # (2) before a word containing "conftest.", or (3) at the end.
5973
6708
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5974
6709
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5975
6710
   -e 's:$: $lt_compiler_flag:'`
5976
 
   (eval echo "\"\$as_me:5976: $lt_compile\"" >&5)
 
6711
   (eval echo "\"\$as_me:6711: $lt_compile\"" >&5)
5977
6712
   (eval "$lt_compile" 2>conftest.err)
5978
6713
   ac_status=$?
5979
6714
   cat conftest.err >&5
5980
 
   echo "$as_me:5980: \$? = $ac_status" >&5
 
6715
   echo "$as_me:6715: \$? = $ac_status" >&5
5981
6716
   if (exit $ac_status) && test -s "$ac_outfile"; then
5982
6717
     # The compiler can only warn and ignore the option if not recognized
5983
6718
     # So say no if there are warnings other than the usual output.
5990
6725
   $rm conftest*
5991
6726
 
5992
6727
fi
5993
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5994
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
6728
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
6729
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
5995
6730
 
5996
6731
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5997
6732
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6005
6740
lt_prog_compiler_pic=
6006
6741
lt_prog_compiler_static=
6007
6742
 
6008
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6009
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
6743
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
6744
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6010
6745
 
6011
6746
  if test "$GCC" = yes; then
6012
6747
    lt_prog_compiler_wl='-Wl,'
6028
6763
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6029
6764
      ;;
6030
6765
 
6031
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
6766
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6032
6767
      # PIC is the default for these OSes.
6033
6768
      ;;
6034
6769
 
6035
 
    mingw* | pw32* | os2*)
 
6770
    mingw* | cygwin* | pw32* | os2*)
6036
6771
      # This hack is so that the source file can tell whether it is being
6037
6772
      # built for inclusion in a dll (and should export symbols for example).
 
6773
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
6774
      # (--disable-auto-import) libraries
6038
6775
      lt_prog_compiler_pic='-DDLL_EXPORT'
6039
6776
      ;;
6040
6777
 
6044
6781
      lt_prog_compiler_pic='-fno-common'
6045
6782
      ;;
6046
6783
 
6047
 
    interix3*)
 
6784
    interix[3-9]*)
6048
6785
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6049
6786
      # Instead, we relocate shared libraries at runtime.
6050
6787
      ;;
6102
6839
       esac
6103
6840
       ;;
6104
6841
 
6105
 
    mingw* | pw32* | os2*)
 
6842
    mingw* | cygwin* | pw32* | os2*)
6106
6843
      # This hack is so that the source file can tell whether it is being
6107
6844
      # built for inclusion in a dll (and should export symbols for example).
6108
6845
      lt_prog_compiler_pic='-DDLL_EXPORT'
6135
6872
      lt_prog_compiler_static='-Bstatic'
6136
6873
      ;;
6137
6874
 
6138
 
    linux*)
 
6875
    linux* | k*bsd*-gnu)
6139
6876
      case $cc_basename in
6140
6877
      icc* | ecc*)
6141
6878
        lt_prog_compiler_wl='-Wl,'
6154
6891
        # All Alpha code is PIC.
6155
6892
        lt_prog_compiler_static='-non_shared'
6156
6893
        ;;
 
6894
      *)
 
6895
        case `$CC -V 2>&1 | sed 5q` in
 
6896
        *Sun\ C*)
 
6897
          # Sun C 5.9
 
6898
          lt_prog_compiler_pic='-KPIC'
 
6899
          lt_prog_compiler_static='-Bstatic'
 
6900
          lt_prog_compiler_wl='-Wl,'
 
6901
          ;;
 
6902
        *Sun\ F*)
 
6903
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
6904
          lt_prog_compiler_pic='-KPIC'
 
6905
          lt_prog_compiler_static='-Bstatic'
 
6906
          lt_prog_compiler_wl=''
 
6907
          ;;
 
6908
        esac
 
6909
        ;;
6157
6910
      esac
6158
6911
      ;;
6159
6912
 
6163
6916
      lt_prog_compiler_static='-non_shared'
6164
6917
      ;;
6165
6918
 
 
6919
    rdos*)
 
6920
      lt_prog_compiler_static='-non_shared'
 
6921
      ;;
 
6922
 
6166
6923
    solaris*)
6167
6924
      lt_prog_compiler_pic='-KPIC'
6168
6925
      lt_prog_compiler_static='-Bstatic'
6215
6972
    esac
6216
6973
  fi
6217
6974
 
6218
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6219
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
6975
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
6976
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6220
6977
 
6221
6978
#
6222
6979
# Check to make sure the PIC flag actually works.
6223
6980
#
6224
6981
if test -n "$lt_prog_compiler_pic"; then
6225
6982
 
6226
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6227
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
6983
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
6984
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6228
6985
if test "${lt_prog_compiler_pic_works+set}" = set; then
6229
6986
  echo $ECHO_N "(cached) $ECHO_C" >&6
6230
6987
else
6231
6988
  lt_prog_compiler_pic_works=no
6232
6989
  ac_outfile=conftest.$ac_objext
6233
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6990
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6234
6991
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6235
6992
   # Insert the option either (1) after the last *FLAGS variable, or
6236
6993
   # (2) before a word containing "conftest.", or (3) at the end.
6241
6998
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6242
6999
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6243
7000
   -e 's:$: $lt_compiler_flag:'`
6244
 
   (eval echo "\"\$as_me:6244: $lt_compile\"" >&5)
 
7001
   (eval echo "\"\$as_me:7001: $lt_compile\"" >&5)
6245
7002
   (eval "$lt_compile" 2>conftest.err)
6246
7003
   ac_status=$?
6247
7004
   cat conftest.err >&5
6248
 
   echo "$as_me:6248: \$? = $ac_status" >&5
 
7005
   echo "$as_me:7005: \$? = $ac_status" >&5
6249
7006
   if (exit $ac_status) && test -s "$ac_outfile"; then
6250
7007
     # The compiler can only warn and ignore the option if not recognized
6251
7008
     # So say no if there are warnings other than the usual output.
6258
7015
   $rm conftest*
6259
7016
 
6260
7017
fi
6261
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6262
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7018
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7019
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6263
7020
 
6264
7021
if test x"$lt_prog_compiler_pic_works" = xyes; then
6265
7022
    case $lt_prog_compiler_pic in
6286
7043
# Check to make sure the static flag actually works.
6287
7044
#
6288
7045
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6289
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6290
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
7046
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7047
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6291
7048
if test "${lt_prog_compiler_static_works+set}" = set; then
6292
7049
  echo $ECHO_N "(cached) $ECHO_C" >&6
6293
7050
else
6294
7051
  lt_prog_compiler_static_works=no
6295
7052
   save_LDFLAGS="$LDFLAGS"
6296
7053
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6297
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7054
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6298
7055
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6299
7056
     # The linker can only warn and ignore the option if not recognized
6300
7057
     # So say no if there are warnings
6314
7071
   LDFLAGS="$save_LDFLAGS"
6315
7072
 
6316
7073
fi
6317
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6318
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7074
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7075
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6319
7076
 
6320
7077
if test x"$lt_prog_compiler_static_works" = xyes; then
6321
7078
    :
6324
7081
fi
6325
7082
 
6326
7083
 
6327
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6328
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7084
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7085
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6329
7086
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6330
7087
  echo $ECHO_N "(cached) $ECHO_C" >&6
6331
7088
else
6334
7091
   mkdir conftest
6335
7092
   cd conftest
6336
7093
   mkdir out
6337
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7094
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6338
7095
 
6339
7096
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6340
7097
   # Insert the option either (1) after the last *FLAGS variable, or
6345
7102
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6346
7103
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6347
7104
   -e 's:$: $lt_compiler_flag:'`
6348
 
   (eval echo "\"\$as_me:6348: $lt_compile\"" >&5)
 
7105
   (eval echo "\"\$as_me:7105: $lt_compile\"" >&5)
6349
7106
   (eval "$lt_compile" 2>out/conftest.err)
6350
7107
   ac_status=$?
6351
7108
   cat out/conftest.err >&5
6352
 
   echo "$as_me:6352: \$? = $ac_status" >&5
 
7109
   echo "$as_me:7109: \$? = $ac_status" >&5
6353
7110
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6354
7111
   then
6355
7112
     # The compiler can only warn and ignore the option if not recognized
6371
7128
   $rm conftest*
6372
7129
 
6373
7130
fi
6374
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6375
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7131
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7132
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6376
7133
 
6377
7134
 
6378
7135
hard_links="nottested"
6379
7136
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6380
7137
  # do not overwrite the value of need_locks provided by the user
6381
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6382
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7138
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7139
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6383
7140
  hard_links=yes
6384
7141
  $rm conftest*
6385
7142
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6386
7143
  touch conftest.a
6387
7144
  ln conftest.a conftest.b 2>&5 || hard_links=no
6388
7145
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6389
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6390
 
echo "${ECHO_T}$hard_links" >&6
 
7146
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7147
echo "${ECHO_T}$hard_links" >&6; }
6391
7148
  if test "$hard_links" = no; then
6392
7149
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6393
7150
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6397
7154
  need_locks=no
6398
7155
fi
6399
7156
 
6400
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6401
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7157
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7158
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6402
7159
 
6403
7160
  runpath_var=
6404
7161
  allow_undefined_flag=
6541
7298
      allow_undefined_flag=unsupported
6542
7299
      always_export_symbols=no
6543
7300
      enable_shared_with_static_runtimes=yes
6544
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7301
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6545
7302
 
6546
7303
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6547
7304
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6559
7316
      fi
6560
7317
      ;;
6561
7318
 
6562
 
    interix3*)
 
7319
    interix[3-9]*)
6563
7320
      hardcode_direct=no
6564
7321
      hardcode_shlibpath_var=no
6565
7322
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6574
7331
      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'
6575
7332
      ;;
6576
7333
 
6577
 
    linux*)
 
7334
    gnu* | linux* | k*bsd*-gnu)
6578
7335
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6579
7336
        tmp_addflag=
6580
7337
        case $cc_basename,$host_cpu in
6592
7349
        ifc* | ifort*)                  # Intel Fortran compiler
6593
7350
          tmp_addflag=' -nofor_main' ;;
6594
7351
        esac
6595
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7352
        case `$CC -V 2>&1 | sed 5q` in
 
7353
        *Sun\ C*)                       # Sun C 5.9
 
7354
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7355
          tmp_sharedflag='-G' ;;
 
7356
        *Sun\ F*)                       # Sun Fortran 8.3
 
7357
          tmp_sharedflag='-G' ;;
 
7358
        *)
 
7359
          tmp_sharedflag='-shared' ;;
 
7360
        esac
 
7361
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6596
7362
 
6597
7363
        if test $supports_anon_versioning = yes; then
6598
7364
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6599
7365
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6600
7366
  $echo "local: *; };" >> $output_objdir/$libname.ver~
6601
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7367
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6602
7368
        fi
6603
7369
        link_all_deplibs=no
6604
7370
      else
6606
7372
      fi
6607
7373
      ;;
6608
7374
 
6609
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7375
    netbsd* | netbsdelf*-gnu)
6610
7376
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6611
7377
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6612
7378
        wlarc=
6758
7524
           strings "$collect2name" | grep resolve_lib_name >/dev/null
6759
7525
          then
6760
7526
          # We have reworked collect2
6761
 
          hardcode_direct=yes
 
7527
          :
6762
7528
          else
6763
7529
          # We have old collect2
6764
7530
          hardcode_direct=unsupported
6814
7580
}
6815
7581
_ACEOF
6816
7582
rm -f conftest.$ac_objext conftest$ac_exeext
6817
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6818
 
  (eval $ac_link) 2>conftest.er1
 
7583
if { (ac_try="$ac_link"
 
7584
case "(($ac_try" in
 
7585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7586
  *) ac_try_echo=$ac_try;;
 
7587
esac
 
7588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7589
  (eval "$ac_link") 2>conftest.er1
6819
7590
  ac_status=$?
6820
7591
  grep -v '^ *+' conftest.er1 >conftest.err
6821
7592
  rm -f conftest.er1
6822
7593
  cat conftest.err >&5
6823
7594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824
 
  (exit $ac_status); } &&
6825
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827
 
  (eval $ac_try) 2>&5
6828
 
  ac_status=$?
6829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830
 
  (exit $ac_status); }; } &&
6831
 
         { ac_try='test -s conftest$ac_exeext'
6832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833
 
  (eval $ac_try) 2>&5
6834
 
  ac_status=$?
6835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836
 
  (exit $ac_status); }; }; then
 
7595
  (exit $ac_status); } && {
 
7596
         test -z "$ac_c_werror_flag" ||
 
7597
         test ! -s conftest.err
 
7598
       } && test -s conftest$ac_exeext &&
 
7599
       $as_test_x conftest$ac_exeext; then
6837
7600
 
6838
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
6839
 
}'`
 
7601
lt_aix_libpath_sed='
 
7602
    /Import File Strings/,/^$/ {
 
7603
        /^0/ {
 
7604
            s/^0  *\(.*\)$/\1/
 
7605
            p
 
7606
        }
 
7607
    }'
 
7608
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6840
7609
# Check for a 64-bit object if we didn't find anything.
6841
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
6842
 
}'`; fi
 
7610
if test -z "$aix_libpath"; then
 
7611
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
7612
fi
6843
7613
else
6844
7614
  echo "$as_me: failed program was:" >&5
6845
7615
sed 's/^/| /' conftest.$ac_ext >&5
6846
7616
 
 
7617
 
6847
7618
fi
6848
 
rm -f conftest.err conftest.$ac_objext \
 
7619
 
 
7620
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6849
7621
      conftest$ac_exeext conftest.$ac_ext
6850
7622
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6851
7623
 
6874
7646
}
6875
7647
_ACEOF
6876
7648
rm -f conftest.$ac_objext conftest$ac_exeext
6877
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6878
 
  (eval $ac_link) 2>conftest.er1
 
7649
if { (ac_try="$ac_link"
 
7650
case "(($ac_try" in
 
7651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7652
  *) ac_try_echo=$ac_try;;
 
7653
esac
 
7654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7655
  (eval "$ac_link") 2>conftest.er1
6879
7656
  ac_status=$?
6880
7657
  grep -v '^ *+' conftest.er1 >conftest.err
6881
7658
  rm -f conftest.er1
6882
7659
  cat conftest.err >&5
6883
7660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884
 
  (exit $ac_status); } &&
6885
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6886
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887
 
  (eval $ac_try) 2>&5
6888
 
  ac_status=$?
6889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890
 
  (exit $ac_status); }; } &&
6891
 
         { ac_try='test -s conftest$ac_exeext'
6892
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893
 
  (eval $ac_try) 2>&5
6894
 
  ac_status=$?
6895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896
 
  (exit $ac_status); }; }; then
 
7661
  (exit $ac_status); } && {
 
7662
         test -z "$ac_c_werror_flag" ||
 
7663
         test ! -s conftest.err
 
7664
       } && test -s conftest$ac_exeext &&
 
7665
       $as_test_x conftest$ac_exeext; then
6897
7666
 
6898
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
6899
 
}'`
 
7667
lt_aix_libpath_sed='
 
7668
    /Import File Strings/,/^$/ {
 
7669
        /^0/ {
 
7670
            s/^0  *\(.*\)$/\1/
 
7671
            p
 
7672
        }
 
7673
    }'
 
7674
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6900
7675
# Check for a 64-bit object if we didn't find anything.
6901
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
6902
 
}'`; fi
 
7676
if test -z "$aix_libpath"; then
 
7677
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
7678
fi
6903
7679
else
6904
7680
  echo "$as_me: failed program was:" >&5
6905
7681
sed 's/^/| /' conftest.$ac_ext >&5
6906
7682
 
 
7683
 
6907
7684
fi
6908
 
rm -f conftest.err conftest.$ac_objext \
 
7685
 
 
7686
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6909
7687
      conftest$ac_exeext conftest.$ac_ext
6910
7688
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6911
7689
 
6951
7729
      # The linker will automatically build a .lib file if we build a DLL.
6952
7730
      old_archive_From_new_cmds='true'
6953
7731
      # FIXME: Should let the user specify the lib program.
6954
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
7732
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
6955
7733
      fix_srcfile_path='`cygpath -w "$srcfile"`'
6956
7734
      enable_shared_with_static_runtimes=yes
6957
7735
      ;;
6993
7771
      case $cc_basename in
6994
7772
        xlc*)
6995
7773
         output_verbose_link_cmd='echo'
6996
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
7774
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
6997
7775
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6998
7776
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6999
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7777
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7000
7778
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7001
7779
          ;;
7002
7780
       *)
7043
7821
      hardcode_shlibpath_var=no
7044
7822
      ;;
7045
7823
 
7046
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
7047
 
    kfreebsd*-gnu)
7048
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7049
 
      hardcode_libdir_flag_spec='-R$libdir'
7050
 
      hardcode_direct=yes
7051
 
      hardcode_shlibpath_var=no
7052
 
      link_all_deplibs=no
7053
 
      ;;
7054
 
 
7055
7824
    hpux9*)
7056
7825
      if test "$GCC" = yes; then
7057
7826
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7147
7916
      link_all_deplibs=yes
7148
7917
      ;;
7149
7918
 
7150
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7919
    netbsd* | netbsdelf*-gnu)
7151
7920
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7152
7921
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7153
7922
      else
7167
7936
      ;;
7168
7937
 
7169
7938
    openbsd*)
7170
 
      hardcode_direct=yes
7171
 
      hardcode_shlibpath_var=no
7172
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7173
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7174
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7175
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7176
 
        export_dynamic_flag_spec='${wl}-E'
 
7939
      if test -f /usr/libexec/ld.so; then
 
7940
        hardcode_direct=yes
 
7941
        hardcode_shlibpath_var=no
 
7942
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7943
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
7944
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
7945
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
7946
          export_dynamic_flag_spec='${wl}-E'
 
7947
        else
 
7948
          case $host_os in
 
7949
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
7950
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
7951
             hardcode_libdir_flag_spec='-R$libdir'
 
7952
             ;;
 
7953
           *)
 
7954
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
7955
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
7956
             ;;
 
7957
          esac
 
7958
        fi
7177
7959
      else
7178
 
       case $host_os in
7179
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7180
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7181
 
           hardcode_libdir_flag_spec='-R$libdir'
7182
 
           ;;
7183
 
         *)
7184
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7185
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7186
 
           ;;
7187
 
       esac
 
7960
        ld_shlibs=no
7188
7961
      fi
7189
7962
      ;;
7190
7963
 
7243
8016
      case $host_os in
7244
8017
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7245
8018
      *)
7246
 
        # The compiler driver will combine linker options so we
7247
 
        # cannot just pass the convience library names through
7248
 
        # without $wl, iff we do not link with $LD.
7249
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8019
        # The compiler driver will combine and reorder linker options,
 
8020
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8021
        # but is careful enough not to reorder.
7250
8022
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7251
 
        case $wlarc in
7252
 
        '')
7253
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7254
 
        *)
7255
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7256
 
        esac ;;
 
8023
        if test "$GCC" = yes; then
 
8024
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8025
        else
 
8026
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8027
        fi
 
8028
        ;;
7257
8029
      esac
7258
8030
      link_all_deplibs=yes
7259
8031
      ;;
7310
8082
      fi
7311
8083
      ;;
7312
8084
 
7313
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8085
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7314
8086
      no_undefined_flag='${wl}-z,text'
7315
8087
      archive_cmds_need_lc=no
7316
8088
      hardcode_shlibpath_var=no
7363
8135
    esac
7364
8136
  fi
7365
8137
 
7366
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7367
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8138
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8139
echo "${ECHO_T}$ld_shlibs" >&6; }
7368
8140
test "$ld_shlibs" = no && can_build_shared=no
7369
8141
 
7370
8142
#
7384
8156
      # Test whether the compiler implicitly links with -lc since on some
7385
8157
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7386
8158
      # to ld, don't add -lc before -lgcc.
7387
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7388
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8159
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8160
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7389
8161
      $rm conftest*
7390
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8162
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7391
8163
 
7392
8164
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7393
8165
  (eval $ac_compile) 2>&5
7422
8194
        cat conftest.err 1>&5
7423
8195
      fi
7424
8196
      $rm conftest*
7425
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7426
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8197
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8198
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7427
8199
      ;;
7428
8200
    esac
7429
8201
  fi
7430
8202
  ;;
7431
8203
esac
7432
8204
 
7433
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7434
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8205
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8206
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7435
8207
library_names_spec=
7436
8208
libname_spec='lib$name'
7437
8209
soname_spec=
7445
8217
version_type=none
7446
8218
dynamic_linker="$host_os ld.so"
7447
8219
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8220
 
7448
8221
if test "$GCC" = yes; then
7449
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7450
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8222
  case $host_os in
 
8223
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8224
    *) lt_awk_arg="/^libraries:/" ;;
 
8225
  esac
 
8226
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8227
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7451
8228
    # if the path contains ";" then we assume it to be the separator
7452
8229
    # otherwise default to the standard path separator (i.e. ":") - it is
7453
8230
    # assumed that no part of a normal pathname contains ";" but that should
7454
8231
    # okay in the real world where ";" in dirpaths is itself problematic.
7455
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8232
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7456
8233
  else
7457
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8234
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7458
8235
  fi
 
8236
  # Ok, now we have the path, separated by spaces, we can step through it
 
8237
  # and add multilib dir if necessary.
 
8238
  lt_tmp_lt_search_path_spec=
 
8239
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8240
  for lt_sys_path in $lt_search_path_spec; do
 
8241
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8242
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8243
    else
 
8244
      test -d "$lt_sys_path" && \
 
8245
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8246
    fi
 
8247
  done
 
8248
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8249
BEGIN {RS=" "; FS="/|\n";} {
 
8250
  lt_foo="";
 
8251
  lt_count=0;
 
8252
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
8253
    if ($lt_i != "" && $lt_i != ".") {
 
8254
      if ($lt_i == "..") {
 
8255
        lt_count++;
 
8256
      } else {
 
8257
        if (lt_count == 0) {
 
8258
          lt_foo="/" $lt_i lt_foo;
 
8259
        } else {
 
8260
          lt_count--;
 
8261
        }
 
8262
      }
 
8263
    }
 
8264
  }
 
8265
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
8266
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
8267
}'`
 
8268
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7459
8269
else
7460
8270
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7461
8271
fi
7615
8425
  shlibpath_overrides_runpath=yes
7616
8426
  shlibpath_var=DYLD_LIBRARY_PATH
7617
8427
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7618
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7619
 
  if test "$GCC" = yes; then
7620
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7621
 
  else
7622
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7623
 
  fi
 
8428
 
 
8429
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7624
8430
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7625
8431
  ;;
7626
8432
 
7637
8443
  dynamic_linker=no
7638
8444
  ;;
7639
8445
 
7640
 
kfreebsd*-gnu)
7641
 
  version_type=linux
7642
 
  need_lib_prefix=no
7643
 
  need_version=no
7644
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7645
 
  soname_spec='${libname}${release}${shared_ext}$major'
7646
 
  shlibpath_var=LD_LIBRARY_PATH
7647
 
  shlibpath_overrides_runpath=no
7648
 
  hardcode_into_libs=yes
7649
 
  dynamic_linker='GNU ld.so'
7650
 
  ;;
7651
 
 
7652
8446
freebsd* | dragonfly*)
7653
8447
  # DragonFly does not have aout.  When/if they implement a new
7654
8448
  # versioning mechanism, adjust this.
7686
8480
    shlibpath_overrides_runpath=no
7687
8481
    hardcode_into_libs=yes
7688
8482
    ;;
7689
 
  freebsd*) # from 4.6 on
 
8483
  *) # from 4.6 on, and DragonFly
7690
8484
    shlibpath_overrides_runpath=yes
7691
8485
    hardcode_into_libs=yes
7692
8486
    ;;
7749
8543
  postinstall_cmds='chmod 555 $lib'
7750
8544
  ;;
7751
8545
 
7752
 
interix3*)
 
8546
interix[3-9]*)
7753
8547
  version_type=linux
7754
8548
  need_lib_prefix=no
7755
8549
  need_version=no
7804
8598
  ;;
7805
8599
 
7806
8600
# This must be Linux ELF.
7807
 
linux*)
 
8601
linux* | k*bsd*-gnu)
7808
8602
  version_type=linux
7809
8603
  need_lib_prefix=no
7810
8604
  need_version=no
7820
8614
 
7821
8615
  # Append ld.so.conf contents to the search path
7822
8616
  if test -f /etc/ld.so.conf; then
7823
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
8617
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7824
8618
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7825
8619
  fi
7826
8620
 
7845
8639
  dynamic_linker='NetBSD ld.elf_so'
7846
8640
  ;;
7847
8641
 
7848
 
knetbsd*-gnu)
7849
 
  version_type=linux
7850
 
  need_lib_prefix=no
7851
 
  need_version=no
7852
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7853
 
  soname_spec='${libname}${release}${shared_ext}$major'
7854
 
  shlibpath_var=LD_LIBRARY_PATH
7855
 
  shlibpath_overrides_runpath=no
7856
 
  hardcode_into_libs=yes
7857
 
  dynamic_linker='GNU ld.so'
7858
 
  ;;
7859
 
 
7860
8642
netbsd*)
7861
8643
  version_type=sunos
7862
8644
  need_lib_prefix=no
7938
8720
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7939
8721
  ;;
7940
8722
 
 
8723
rdos*)
 
8724
  dynamic_linker=no
 
8725
  ;;
 
8726
 
7941
8727
solaris*)
7942
8728
  version_type=linux
7943
8729
  need_lib_prefix=no
8030
8816
  dynamic_linker=no
8031
8817
  ;;
8032
8818
esac
8033
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8034
 
echo "${ECHO_T}$dynamic_linker" >&6
 
8819
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
8820
echo "${ECHO_T}$dynamic_linker" >&6; }
8035
8821
test "$dynamic_linker" = no && can_build_shared=no
8036
8822
 
8037
8823
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8039
8825
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8040
8826
fi
8041
8827
 
8042
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8043
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
8828
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
8829
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8044
8830
hardcode_action=
8045
8831
if test -n "$hardcode_libdir_flag_spec" || \
8046
8832
   test -n "$runpath_var" || \
8064
8850
  # directories.
8065
8851
  hardcode_action=unsupported
8066
8852
fi
8067
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8068
 
echo "${ECHO_T}$hardcode_action" >&6
 
8853
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
8854
echo "${ECHO_T}$hardcode_action" >&6; }
8069
8855
 
8070
8856
if test "$hardcode_action" = relink; then
8071
8857
  # Fast installation is not supported
8078
8864
 
8079
8865
striplib=
8080
8866
old_striplib=
8081
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8082
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
8867
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
8868
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8083
8869
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8084
8870
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8085
8871
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8086
 
  echo "$as_me:$LINENO: result: yes" >&5
8087
 
echo "${ECHO_T}yes" >&6
 
8872
  { echo "$as_me:$LINENO: result: yes" >&5
 
8873
echo "${ECHO_T}yes" >&6; }
8088
8874
else
8089
8875
# FIXME - insert some real tests, host_os isn't really good enough
8090
8876
  case $host_os in
8091
8877
   darwin*)
8092
8878
       if test -n "$STRIP" ; then
8093
8879
         striplib="$STRIP -x"
8094
 
         echo "$as_me:$LINENO: result: yes" >&5
8095
 
echo "${ECHO_T}yes" >&6
 
8880
         old_striplib="$STRIP -S"
 
8881
         { echo "$as_me:$LINENO: result: yes" >&5
 
8882
echo "${ECHO_T}yes" >&6; }
8096
8883
       else
8097
 
  echo "$as_me:$LINENO: result: no" >&5
8098
 
echo "${ECHO_T}no" >&6
 
8884
  { echo "$as_me:$LINENO: result: no" >&5
 
8885
echo "${ECHO_T}no" >&6; }
8099
8886
fi
8100
8887
       ;;
8101
8888
   *)
8102
 
  echo "$as_me:$LINENO: result: no" >&5
8103
 
echo "${ECHO_T}no" >&6
 
8889
  { echo "$as_me:$LINENO: result: no" >&5
 
8890
echo "${ECHO_T}no" >&6; }
8104
8891
    ;;
8105
8892
  esac
8106
8893
fi
8132
8919
 
8133
8920
  darwin*)
8134
8921
  # if libdl is installed we need to link against it
8135
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8136
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
8922
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
8923
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8137
8924
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8138
8925
  echo $ECHO_N "(cached) $ECHO_C" >&6
8139
8926
else
8146
8933
cat >>conftest.$ac_ext <<_ACEOF
8147
8934
/* end confdefs.h.  */
8148
8935
 
8149
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
8936
/* Override any GCC internal prototype to avoid an error.
 
8937
   Use char because int might match the return type of a GCC
 
8938
   builtin and then its argument prototype would still apply.  */
8150
8939
#ifdef __cplusplus
8151
8940
extern "C"
8152
8941
#endif
8153
 
/* We use char because int might match the return type of a gcc2
8154
 
   builtin and then its argument prototype would still apply.  */
8155
8942
char dlopen ();
8156
8943
int
8157
8944
main ()
8158
8945
{
8159
 
dlopen ();
 
8946
return dlopen ();
8160
8947
  ;
8161
8948
  return 0;
8162
8949
}
8163
8950
_ACEOF
8164
8951
rm -f conftest.$ac_objext conftest$ac_exeext
8165
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8166
 
  (eval $ac_link) 2>conftest.er1
 
8952
if { (ac_try="$ac_link"
 
8953
case "(($ac_try" in
 
8954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8955
  *) ac_try_echo=$ac_try;;
 
8956
esac
 
8957
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8958
  (eval "$ac_link") 2>conftest.er1
8167
8959
  ac_status=$?
8168
8960
  grep -v '^ *+' conftest.er1 >conftest.err
8169
8961
  rm -f conftest.er1
8170
8962
  cat conftest.err >&5
8171
8963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172
 
  (exit $ac_status); } &&
8173
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8174
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175
 
  (eval $ac_try) 2>&5
8176
 
  ac_status=$?
8177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178
 
  (exit $ac_status); }; } &&
8179
 
         { ac_try='test -s conftest$ac_exeext'
8180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181
 
  (eval $ac_try) 2>&5
8182
 
  ac_status=$?
8183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184
 
  (exit $ac_status); }; }; then
 
8964
  (exit $ac_status); } && {
 
8965
         test -z "$ac_c_werror_flag" ||
 
8966
         test ! -s conftest.err
 
8967
       } && test -s conftest$ac_exeext &&
 
8968
       $as_test_x conftest$ac_exeext; then
8185
8969
  ac_cv_lib_dl_dlopen=yes
8186
8970
else
8187
8971
  echo "$as_me: failed program was:" >&5
8188
8972
sed 's/^/| /' conftest.$ac_ext >&5
8189
8973
 
8190
 
ac_cv_lib_dl_dlopen=no
 
8974
        ac_cv_lib_dl_dlopen=no
8191
8975
fi
8192
 
rm -f conftest.err conftest.$ac_objext \
 
8976
 
 
8977
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8193
8978
      conftest$ac_exeext conftest.$ac_ext
8194
8979
LIBS=$ac_check_lib_save_LIBS
8195
8980
fi
8196
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8197
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
8981
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
8982
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8198
8983
if test $ac_cv_lib_dl_dlopen = yes; then
8199
8984
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8200
8985
else
8208
8993
   ;;
8209
8994
 
8210
8995
  *)
8211
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8212
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
8996
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
8997
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8213
8998
if test "${ac_cv_func_shl_load+set}" = set; then
8214
8999
  echo $ECHO_N "(cached) $ECHO_C" >&6
8215
9000
else
8236
9021
 
8237
9022
#undef shl_load
8238
9023
 
8239
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9024
/* Override any GCC internal prototype to avoid an error.
 
9025
   Use char because int might match the return type of a GCC
 
9026
   builtin and then its argument prototype would still apply.  */
8240
9027
#ifdef __cplusplus
8241
9028
extern "C"
8242
 
{
8243
9029
#endif
8244
 
/* We use char because int might match the return type of a gcc2
8245
 
   builtin and then its argument prototype would still apply.  */
8246
9030
char shl_load ();
8247
9031
/* The GNU C library defines this for functions which it implements
8248
9032
    to always fail with ENOSYS.  Some functions are actually named
8249
9033
    something starting with __ and the normal name is an alias.  */
8250
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9034
#if defined __stub_shl_load || defined __stub___shl_load
8251
9035
choke me
8252
 
#else
8253
 
char (*f) () = shl_load;
8254
 
#endif
8255
 
#ifdef __cplusplus
8256
 
}
8257
9036
#endif
8258
9037
 
8259
9038
int
8260
9039
main ()
8261
9040
{
8262
 
return f != shl_load;
 
9041
return shl_load ();
8263
9042
  ;
8264
9043
  return 0;
8265
9044
}
8266
9045
_ACEOF
8267
9046
rm -f conftest.$ac_objext conftest$ac_exeext
8268
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8269
 
  (eval $ac_link) 2>conftest.er1
 
9047
if { (ac_try="$ac_link"
 
9048
case "(($ac_try" in
 
9049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9050
  *) ac_try_echo=$ac_try;;
 
9051
esac
 
9052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9053
  (eval "$ac_link") 2>conftest.er1
8270
9054
  ac_status=$?
8271
9055
  grep -v '^ *+' conftest.er1 >conftest.err
8272
9056
  rm -f conftest.er1
8273
9057
  cat conftest.err >&5
8274
9058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275
 
  (exit $ac_status); } &&
8276
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8277
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278
 
  (eval $ac_try) 2>&5
8279
 
  ac_status=$?
8280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281
 
  (exit $ac_status); }; } &&
8282
 
         { ac_try='test -s conftest$ac_exeext'
8283
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284
 
  (eval $ac_try) 2>&5
8285
 
  ac_status=$?
8286
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287
 
  (exit $ac_status); }; }; then
 
9059
  (exit $ac_status); } && {
 
9060
         test -z "$ac_c_werror_flag" ||
 
9061
         test ! -s conftest.err
 
9062
       } && test -s conftest$ac_exeext &&
 
9063
       $as_test_x conftest$ac_exeext; then
8288
9064
  ac_cv_func_shl_load=yes
8289
9065
else
8290
9066
  echo "$as_me: failed program was:" >&5
8291
9067
sed 's/^/| /' conftest.$ac_ext >&5
8292
9068
 
8293
 
ac_cv_func_shl_load=no
 
9069
        ac_cv_func_shl_load=no
8294
9070
fi
8295
 
rm -f conftest.err conftest.$ac_objext \
 
9071
 
 
9072
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8296
9073
      conftest$ac_exeext conftest.$ac_ext
8297
9074
fi
8298
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8299
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9075
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9076
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8300
9077
if test $ac_cv_func_shl_load = yes; then
8301
9078
  lt_cv_dlopen="shl_load"
8302
9079
else
8303
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8304
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9080
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9081
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8305
9082
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8306
9083
  echo $ECHO_N "(cached) $ECHO_C" >&6
8307
9084
else
8314
9091
cat >>conftest.$ac_ext <<_ACEOF
8315
9092
/* end confdefs.h.  */
8316
9093
 
8317
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9094
/* Override any GCC internal prototype to avoid an error.
 
9095
   Use char because int might match the return type of a GCC
 
9096
   builtin and then its argument prototype would still apply.  */
8318
9097
#ifdef __cplusplus
8319
9098
extern "C"
8320
9099
#endif
8321
 
/* We use char because int might match the return type of a gcc2
8322
 
   builtin and then its argument prototype would still apply.  */
8323
9100
char shl_load ();
8324
9101
int
8325
9102
main ()
8326
9103
{
8327
 
shl_load ();
 
9104
return shl_load ();
8328
9105
  ;
8329
9106
  return 0;
8330
9107
}
8331
9108
_ACEOF
8332
9109
rm -f conftest.$ac_objext conftest$ac_exeext
8333
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8334
 
  (eval $ac_link) 2>conftest.er1
 
9110
if { (ac_try="$ac_link"
 
9111
case "(($ac_try" in
 
9112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9113
  *) ac_try_echo=$ac_try;;
 
9114
esac
 
9115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9116
  (eval "$ac_link") 2>conftest.er1
8335
9117
  ac_status=$?
8336
9118
  grep -v '^ *+' conftest.er1 >conftest.err
8337
9119
  rm -f conftest.er1
8338
9120
  cat conftest.err >&5
8339
9121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340
 
  (exit $ac_status); } &&
8341
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343
 
  (eval $ac_try) 2>&5
8344
 
  ac_status=$?
8345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346
 
  (exit $ac_status); }; } &&
8347
 
         { ac_try='test -s conftest$ac_exeext'
8348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8349
 
  (eval $ac_try) 2>&5
8350
 
  ac_status=$?
8351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352
 
  (exit $ac_status); }; }; then
 
9122
  (exit $ac_status); } && {
 
9123
         test -z "$ac_c_werror_flag" ||
 
9124
         test ! -s conftest.err
 
9125
       } && test -s conftest$ac_exeext &&
 
9126
       $as_test_x conftest$ac_exeext; then
8353
9127
  ac_cv_lib_dld_shl_load=yes
8354
9128
else
8355
9129
  echo "$as_me: failed program was:" >&5
8356
9130
sed 's/^/| /' conftest.$ac_ext >&5
8357
9131
 
8358
 
ac_cv_lib_dld_shl_load=no
 
9132
        ac_cv_lib_dld_shl_load=no
8359
9133
fi
8360
 
rm -f conftest.err conftest.$ac_objext \
 
9134
 
 
9135
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8361
9136
      conftest$ac_exeext conftest.$ac_ext
8362
9137
LIBS=$ac_check_lib_save_LIBS
8363
9138
fi
8364
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8365
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9139
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9140
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8366
9141
if test $ac_cv_lib_dld_shl_load = yes; then
8367
9142
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8368
9143
else
8369
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8370
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9144
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9145
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8371
9146
if test "${ac_cv_func_dlopen+set}" = set; then
8372
9147
  echo $ECHO_N "(cached) $ECHO_C" >&6
8373
9148
else
8394
9169
 
8395
9170
#undef dlopen
8396
9171
 
8397
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9172
/* Override any GCC internal prototype to avoid an error.
 
9173
   Use char because int might match the return type of a GCC
 
9174
   builtin and then its argument prototype would still apply.  */
8398
9175
#ifdef __cplusplus
8399
9176
extern "C"
8400
 
{
8401
9177
#endif
8402
 
/* We use char because int might match the return type of a gcc2
8403
 
   builtin and then its argument prototype would still apply.  */
8404
9178
char dlopen ();
8405
9179
/* The GNU C library defines this for functions which it implements
8406
9180
    to always fail with ENOSYS.  Some functions are actually named
8407
9181
    something starting with __ and the normal name is an alias.  */
8408
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9182
#if defined __stub_dlopen || defined __stub___dlopen
8409
9183
choke me
8410
 
#else
8411
 
char (*f) () = dlopen;
8412
 
#endif
8413
 
#ifdef __cplusplus
8414
 
}
8415
9184
#endif
8416
9185
 
8417
9186
int
8418
9187
main ()
8419
9188
{
8420
 
return f != dlopen;
 
9189
return dlopen ();
8421
9190
  ;
8422
9191
  return 0;
8423
9192
}
8424
9193
_ACEOF
8425
9194
rm -f conftest.$ac_objext conftest$ac_exeext
8426
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8427
 
  (eval $ac_link) 2>conftest.er1
 
9195
if { (ac_try="$ac_link"
 
9196
case "(($ac_try" in
 
9197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9198
  *) ac_try_echo=$ac_try;;
 
9199
esac
 
9200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9201
  (eval "$ac_link") 2>conftest.er1
8428
9202
  ac_status=$?
8429
9203
  grep -v '^ *+' conftest.er1 >conftest.err
8430
9204
  rm -f conftest.er1
8431
9205
  cat conftest.err >&5
8432
9206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433
 
  (exit $ac_status); } &&
8434
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436
 
  (eval $ac_try) 2>&5
8437
 
  ac_status=$?
8438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439
 
  (exit $ac_status); }; } &&
8440
 
         { ac_try='test -s conftest$ac_exeext'
8441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442
 
  (eval $ac_try) 2>&5
8443
 
  ac_status=$?
8444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445
 
  (exit $ac_status); }; }; then
 
9207
  (exit $ac_status); } && {
 
9208
         test -z "$ac_c_werror_flag" ||
 
9209
         test ! -s conftest.err
 
9210
       } && test -s conftest$ac_exeext &&
 
9211
       $as_test_x conftest$ac_exeext; then
8446
9212
  ac_cv_func_dlopen=yes
8447
9213
else
8448
9214
  echo "$as_me: failed program was:" >&5
8449
9215
sed 's/^/| /' conftest.$ac_ext >&5
8450
9216
 
8451
 
ac_cv_func_dlopen=no
 
9217
        ac_cv_func_dlopen=no
8452
9218
fi
8453
 
rm -f conftest.err conftest.$ac_objext \
 
9219
 
 
9220
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8454
9221
      conftest$ac_exeext conftest.$ac_ext
8455
9222
fi
8456
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8457
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9223
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9224
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8458
9225
if test $ac_cv_func_dlopen = yes; then
8459
9226
  lt_cv_dlopen="dlopen"
8460
9227
else
8461
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8462
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9228
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9229
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8463
9230
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8464
9231
  echo $ECHO_N "(cached) $ECHO_C" >&6
8465
9232
else
8472
9239
cat >>conftest.$ac_ext <<_ACEOF
8473
9240
/* end confdefs.h.  */
8474
9241
 
8475
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9242
/* Override any GCC internal prototype to avoid an error.
 
9243
   Use char because int might match the return type of a GCC
 
9244
   builtin and then its argument prototype would still apply.  */
8476
9245
#ifdef __cplusplus
8477
9246
extern "C"
8478
9247
#endif
8479
 
/* We use char because int might match the return type of a gcc2
8480
 
   builtin and then its argument prototype would still apply.  */
8481
9248
char dlopen ();
8482
9249
int
8483
9250
main ()
8484
9251
{
8485
 
dlopen ();
 
9252
return dlopen ();
8486
9253
  ;
8487
9254
  return 0;
8488
9255
}
8489
9256
_ACEOF
8490
9257
rm -f conftest.$ac_objext conftest$ac_exeext
8491
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8492
 
  (eval $ac_link) 2>conftest.er1
 
9258
if { (ac_try="$ac_link"
 
9259
case "(($ac_try" in
 
9260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9261
  *) ac_try_echo=$ac_try;;
 
9262
esac
 
9263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9264
  (eval "$ac_link") 2>conftest.er1
8493
9265
  ac_status=$?
8494
9266
  grep -v '^ *+' conftest.er1 >conftest.err
8495
9267
  rm -f conftest.er1
8496
9268
  cat conftest.err >&5
8497
9269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498
 
  (exit $ac_status); } &&
8499
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501
 
  (eval $ac_try) 2>&5
8502
 
  ac_status=$?
8503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504
 
  (exit $ac_status); }; } &&
8505
 
         { ac_try='test -s conftest$ac_exeext'
8506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507
 
  (eval $ac_try) 2>&5
8508
 
  ac_status=$?
8509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510
 
  (exit $ac_status); }; }; then
 
9270
  (exit $ac_status); } && {
 
9271
         test -z "$ac_c_werror_flag" ||
 
9272
         test ! -s conftest.err
 
9273
       } && test -s conftest$ac_exeext &&
 
9274
       $as_test_x conftest$ac_exeext; then
8511
9275
  ac_cv_lib_dl_dlopen=yes
8512
9276
else
8513
9277
  echo "$as_me: failed program was:" >&5
8514
9278
sed 's/^/| /' conftest.$ac_ext >&5
8515
9279
 
8516
 
ac_cv_lib_dl_dlopen=no
 
9280
        ac_cv_lib_dl_dlopen=no
8517
9281
fi
8518
 
rm -f conftest.err conftest.$ac_objext \
 
9282
 
 
9283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8519
9284
      conftest$ac_exeext conftest.$ac_ext
8520
9285
LIBS=$ac_check_lib_save_LIBS
8521
9286
fi
8522
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8523
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9287
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9288
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8524
9289
if test $ac_cv_lib_dl_dlopen = yes; then
8525
9290
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8526
9291
else
8527
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8528
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9292
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9293
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8529
9294
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8530
9295
  echo $ECHO_N "(cached) $ECHO_C" >&6
8531
9296
else
8538
9303
cat >>conftest.$ac_ext <<_ACEOF
8539
9304
/* end confdefs.h.  */
8540
9305
 
8541
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9306
/* Override any GCC internal prototype to avoid an error.
 
9307
   Use char because int might match the return type of a GCC
 
9308
   builtin and then its argument prototype would still apply.  */
8542
9309
#ifdef __cplusplus
8543
9310
extern "C"
8544
9311
#endif
8545
 
/* We use char because int might match the return type of a gcc2
8546
 
   builtin and then its argument prototype would still apply.  */
8547
9312
char dlopen ();
8548
9313
int
8549
9314
main ()
8550
9315
{
8551
 
dlopen ();
 
9316
return dlopen ();
8552
9317
  ;
8553
9318
  return 0;
8554
9319
}
8555
9320
_ACEOF
8556
9321
rm -f conftest.$ac_objext conftest$ac_exeext
8557
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8558
 
  (eval $ac_link) 2>conftest.er1
 
9322
if { (ac_try="$ac_link"
 
9323
case "(($ac_try" in
 
9324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9325
  *) ac_try_echo=$ac_try;;
 
9326
esac
 
9327
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9328
  (eval "$ac_link") 2>conftest.er1
8559
9329
  ac_status=$?
8560
9330
  grep -v '^ *+' conftest.er1 >conftest.err
8561
9331
  rm -f conftest.er1
8562
9332
  cat conftest.err >&5
8563
9333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564
 
  (exit $ac_status); } &&
8565
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567
 
  (eval $ac_try) 2>&5
8568
 
  ac_status=$?
8569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570
 
  (exit $ac_status); }; } &&
8571
 
         { ac_try='test -s conftest$ac_exeext'
8572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573
 
  (eval $ac_try) 2>&5
8574
 
  ac_status=$?
8575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576
 
  (exit $ac_status); }; }; then
 
9334
  (exit $ac_status); } && {
 
9335
         test -z "$ac_c_werror_flag" ||
 
9336
         test ! -s conftest.err
 
9337
       } && test -s conftest$ac_exeext &&
 
9338
       $as_test_x conftest$ac_exeext; then
8577
9339
  ac_cv_lib_svld_dlopen=yes
8578
9340
else
8579
9341
  echo "$as_me: failed program was:" >&5
8580
9342
sed 's/^/| /' conftest.$ac_ext >&5
8581
9343
 
8582
 
ac_cv_lib_svld_dlopen=no
 
9344
        ac_cv_lib_svld_dlopen=no
8583
9345
fi
8584
 
rm -f conftest.err conftest.$ac_objext \
 
9346
 
 
9347
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8585
9348
      conftest$ac_exeext conftest.$ac_ext
8586
9349
LIBS=$ac_check_lib_save_LIBS
8587
9350
fi
8588
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8589
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9351
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9352
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8590
9353
if test $ac_cv_lib_svld_dlopen = yes; then
8591
9354
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8592
9355
else
8593
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8594
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9356
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9357
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8595
9358
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8596
9359
  echo $ECHO_N "(cached) $ECHO_C" >&6
8597
9360
else
8604
9367
cat >>conftest.$ac_ext <<_ACEOF
8605
9368
/* end confdefs.h.  */
8606
9369
 
8607
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9370
/* Override any GCC internal prototype to avoid an error.
 
9371
   Use char because int might match the return type of a GCC
 
9372
   builtin and then its argument prototype would still apply.  */
8608
9373
#ifdef __cplusplus
8609
9374
extern "C"
8610
9375
#endif
8611
 
/* We use char because int might match the return type of a gcc2
8612
 
   builtin and then its argument prototype would still apply.  */
8613
9376
char dld_link ();
8614
9377
int
8615
9378
main ()
8616
9379
{
8617
 
dld_link ();
 
9380
return dld_link ();
8618
9381
  ;
8619
9382
  return 0;
8620
9383
}
8621
9384
_ACEOF
8622
9385
rm -f conftest.$ac_objext conftest$ac_exeext
8623
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8624
 
  (eval $ac_link) 2>conftest.er1
 
9386
if { (ac_try="$ac_link"
 
9387
case "(($ac_try" in
 
9388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9389
  *) ac_try_echo=$ac_try;;
 
9390
esac
 
9391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9392
  (eval "$ac_link") 2>conftest.er1
8625
9393
  ac_status=$?
8626
9394
  grep -v '^ *+' conftest.er1 >conftest.err
8627
9395
  rm -f conftest.er1
8628
9396
  cat conftest.err >&5
8629
9397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630
 
  (exit $ac_status); } &&
8631
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8632
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633
 
  (eval $ac_try) 2>&5
8634
 
  ac_status=$?
8635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636
 
  (exit $ac_status); }; } &&
8637
 
         { ac_try='test -s conftest$ac_exeext'
8638
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639
 
  (eval $ac_try) 2>&5
8640
 
  ac_status=$?
8641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642
 
  (exit $ac_status); }; }; then
 
9398
  (exit $ac_status); } && {
 
9399
         test -z "$ac_c_werror_flag" ||
 
9400
         test ! -s conftest.err
 
9401
       } && test -s conftest$ac_exeext &&
 
9402
       $as_test_x conftest$ac_exeext; then
8643
9403
  ac_cv_lib_dld_dld_link=yes
8644
9404
else
8645
9405
  echo "$as_me: failed program was:" >&5
8646
9406
sed 's/^/| /' conftest.$ac_ext >&5
8647
9407
 
8648
 
ac_cv_lib_dld_dld_link=no
 
9408
        ac_cv_lib_dld_dld_link=no
8649
9409
fi
8650
 
rm -f conftest.err conftest.$ac_objext \
 
9410
 
 
9411
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8651
9412
      conftest$ac_exeext conftest.$ac_ext
8652
9413
LIBS=$ac_check_lib_save_LIBS
8653
9414
fi
8654
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8655
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9415
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9416
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8656
9417
if test $ac_cv_lib_dld_dld_link = yes; then
8657
9418
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8658
9419
fi
8692
9453
    save_LIBS="$LIBS"
8693
9454
    LIBS="$lt_cv_dlopen_libs $LIBS"
8694
9455
 
8695
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8696
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9456
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9457
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8697
9458
if test "${lt_cv_dlopen_self+set}" = set; then
8698
9459
  echo $ECHO_N "(cached) $ECHO_C" >&6
8699
9460
else
8703
9464
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8704
9465
  lt_status=$lt_dlunknown
8705
9466
  cat > conftest.$ac_ext <<EOF
8706
 
#line 8706 "configure"
 
9467
#line 9467 "configure"
8707
9468
#include "confdefs.h"
8708
9469
 
8709
9470
#if HAVE_DLFCN_H
8787
9548
 
8788
9549
 
8789
9550
fi
8790
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8791
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
9551
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
9552
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8792
9553
 
8793
9554
    if test "x$lt_cv_dlopen_self" = xyes; then
8794
9555
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
8795
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8796
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
9556
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
9557
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8797
9558
if test "${lt_cv_dlopen_self_static+set}" = set; then
8798
9559
  echo $ECHO_N "(cached) $ECHO_C" >&6
8799
9560
else
8803
9564
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8804
9565
  lt_status=$lt_dlunknown
8805
9566
  cat > conftest.$ac_ext <<EOF
8806
 
#line 8806 "configure"
 
9567
#line 9567 "configure"
8807
9568
#include "confdefs.h"
8808
9569
 
8809
9570
#if HAVE_DLFCN_H
8887
9648
 
8888
9649
 
8889
9650
fi
8890
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8891
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
9651
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
9652
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
8892
9653
    fi
8893
9654
 
8894
9655
    CPPFLAGS="$save_CPPFLAGS"
8910
9671
 
8911
9672
 
8912
9673
# Report which library types will actually be built
8913
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8914
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8915
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
8916
 
echo "${ECHO_T}$can_build_shared" >&6
 
9674
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
9675
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
9676
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
9677
echo "${ECHO_T}$can_build_shared" >&6; }
8917
9678
 
8918
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8919
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
9679
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
9680
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
8920
9681
test "$can_build_shared" = "no" && enable_shared=no
8921
9682
 
8922
9683
# On AIX, shared libraries and static libraries use the same namespace, and
8936
9697
  fi
8937
9698
    ;;
8938
9699
esac
8939
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
8940
 
echo "${ECHO_T}$enable_shared" >&6
 
9700
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
9701
echo "${ECHO_T}$enable_shared" >&6; }
8941
9702
 
8942
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8943
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
9703
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
9704
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
8944
9705
# Make sure either enable_shared or enable_static is yes.
8945
9706
test "$enable_shared" = yes || enable_static=yes
8946
 
echo "$as_me:$LINENO: result: $enable_static" >&5
8947
 
echo "${ECHO_T}$enable_static" >&6
 
9707
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
9708
echo "${ECHO_T}$enable_static" >&6; }
8948
9709
 
8949
9710
# The else clause should only fire when bootstrapping the
8950
9711
# libtool distribution, otherwise you forgot to ship ltmain.sh
9001
9762
    module_cmds \
9002
9763
    module_expsym_cmds \
9003
9764
    lt_cv_prog_compiler_c_o \
 
9765
    fix_srcfile_path \
9004
9766
    exclude_expsyms \
9005
9767
    include_expsyms; do
9006
9768
 
9045
9807
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9046
9808
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9047
9809
#
9048
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
9810
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9049
9811
# Free Software Foundation, Inc.
9050
9812
#
9051
9813
# This file is part of GNU Libtool:
9369
10131
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9370
10132
 
9371
10133
# Fix the shell variable \$srcfile for the compiler.
9372
 
fix_srcfile_path="$fix_srcfile_path"
 
10134
fix_srcfile_path=$lt_fix_srcfile_path
9373
10135
 
9374
10136
# Set to yes if exported symbols are required.
9375
10137
always_export_symbols=$always_export_symbols
9436
10198
CC="$lt_save_CC"
9437
10199
 
9438
10200
 
9439
 
# Check whether --with-tags or --without-tags was given.
 
10201
# Check whether --with-tags was given.
9440
10202
if test "${with_tags+set}" = set; then
9441
 
  withval="$with_tags"
9442
 
  tagnames="$withval"
9443
 
fi;
 
10203
  withval=$with_tags; tagnames="$withval"
 
10204
fi
 
10205
 
9444
10206
 
9445
10207
if test -f "$ltmain" && test -n "$tagnames"; then
9446
10208
  if test ! -f "${ofile}"; then
9494
10256
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9495
10257
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9496
10258
            (test "X$CXX" != "Xg++"))) ; then
9497
 
          ac_ext=cc
 
10259
          ac_ext=cpp
9498
10260
ac_cpp='$CXXCPP $CPPFLAGS'
9499
10261
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9500
10262
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9538
10300
objext_CXX=$objext
9539
10301
 
9540
10302
# Code to be used in simple compile tests
9541
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
10303
lt_simple_compile_test_code="int some_variable = 0;"
9542
10304
 
9543
10305
# Code to be used in simple link tests
9544
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
10306
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
9545
10307
 
9546
10308
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9547
10309
 
9557
10319
 
9558
10320
# save warnings/boilerplate of simple test code
9559
10321
ac_outfile=conftest.$ac_objext
9560
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10322
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9561
10323
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9562
10324
_lt_compiler_boilerplate=`cat conftest.err`
9563
10325
$rm conftest*
9564
10326
 
9565
10327
ac_outfile=conftest.$ac_objext
9566
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10328
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9567
10329
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9568
10330
_lt_linker_boilerplate=`cat conftest.err`
9569
10331
$rm conftest*
9613
10375
  # Set up default GNU C++ configuration
9614
10376
 
9615
10377
 
9616
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10378
# Check whether --with-gnu-ld was given.
9617
10379
if test "${with_gnu_ld+set}" = set; then
9618
 
  withval="$with_gnu_ld"
9619
 
  test "$withval" = no || with_gnu_ld=yes
 
10380
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9620
10381
else
9621
10382
  with_gnu_ld=no
9622
 
fi;
 
10383
fi
 
10384
 
9623
10385
ac_prog=ld
9624
10386
if test "$GCC" = yes; then
9625
10387
  # Check if gcc -print-prog-name=ld gives a path.
9626
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9627
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10388
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10389
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9628
10390
  case $host in
9629
10391
  *-*-mingw*)
9630
10392
    # gcc leaves a trailing carriage return which upsets mingw
9653
10415
    ;;
9654
10416
  esac
9655
10417
elif test "$with_gnu_ld" = yes; then
9656
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9657
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10418
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10419
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9658
10420
else
9659
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9660
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10421
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10422
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9661
10423
fi
9662
10424
if test "${lt_cv_path_LD+set}" = set; then
9663
10425
  echo $ECHO_N "(cached) $ECHO_C" >&6
9690
10452
 
9691
10453
LD="$lt_cv_path_LD"
9692
10454
if test -n "$LD"; then
9693
 
  echo "$as_me:$LINENO: result: $LD" >&5
9694
 
echo "${ECHO_T}$LD" >&6
 
10455
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10456
echo "${ECHO_T}$LD" >&6; }
9695
10457
else
9696
 
  echo "$as_me:$LINENO: result: no" >&5
9697
 
echo "${ECHO_T}no" >&6
 
10458
  { echo "$as_me:$LINENO: result: no" >&5
 
10459
echo "${ECHO_T}no" >&6; }
9698
10460
fi
9699
10461
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9700
10462
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9701
10463
   { (exit 1); exit 1; }; }
9702
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9703
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10464
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10465
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9704
10466
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9705
10467
  echo $ECHO_N "(cached) $ECHO_C" >&6
9706
10468
else
9714
10476
  ;;
9715
10477
esac
9716
10478
fi
9717
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9718
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10479
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10480
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9719
10481
with_gnu_ld=$lt_cv_prog_gnu_ld
9720
10482
 
9721
10483
 
9765
10527
fi
9766
10528
 
9767
10529
# PORTME: fill in a description of your system's C++ link characteristics
9768
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9769
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10530
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10531
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9770
10532
ld_shlibs_CXX=yes
9771
10533
case $host_os in
9772
10534
  aix3*)
9822
10584
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9823
10585
        then
9824
10586
          # We have reworked collect2
9825
 
          hardcode_direct_CXX=yes
 
10587
          :
9826
10588
        else
9827
10589
          # We have old collect2
9828
10590
          hardcode_direct_CXX=unsupported
9878
10640
}
9879
10641
_ACEOF
9880
10642
rm -f conftest.$ac_objext conftest$ac_exeext
9881
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9882
 
  (eval $ac_link) 2>conftest.er1
 
10643
if { (ac_try="$ac_link"
 
10644
case "(($ac_try" in
 
10645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10646
  *) ac_try_echo=$ac_try;;
 
10647
esac
 
10648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10649
  (eval "$ac_link") 2>conftest.er1
9883
10650
  ac_status=$?
9884
10651
  grep -v '^ *+' conftest.er1 >conftest.err
9885
10652
  rm -f conftest.er1
9886
10653
  cat conftest.err >&5
9887
10654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888
 
  (exit $ac_status); } &&
9889
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
9890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891
 
  (eval $ac_try) 2>&5
9892
 
  ac_status=$?
9893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894
 
  (exit $ac_status); }; } &&
9895
 
         { ac_try='test -s conftest$ac_exeext'
9896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897
 
  (eval $ac_try) 2>&5
9898
 
  ac_status=$?
9899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900
 
  (exit $ac_status); }; }; then
 
10655
  (exit $ac_status); } && {
 
10656
         test -z "$ac_cxx_werror_flag" ||
 
10657
         test ! -s conftest.err
 
10658
       } && test -s conftest$ac_exeext &&
 
10659
       $as_test_x conftest$ac_exeext; then
9901
10660
 
9902
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9903
 
}'`
 
10661
lt_aix_libpath_sed='
 
10662
    /Import File Strings/,/^$/ {
 
10663
        /^0/ {
 
10664
            s/^0  *\(.*\)$/\1/
 
10665
            p
 
10666
        }
 
10667
    }'
 
10668
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9904
10669
# Check for a 64-bit object if we didn't find anything.
9905
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9906
 
}'`; fi
 
10670
if test -z "$aix_libpath"; then
 
10671
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10672
fi
9907
10673
else
9908
10674
  echo "$as_me: failed program was:" >&5
9909
10675
sed 's/^/| /' conftest.$ac_ext >&5
9910
10676
 
 
10677
 
9911
10678
fi
9912
 
rm -f conftest.err conftest.$ac_objext \
 
10679
 
 
10680
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9913
10681
      conftest$ac_exeext conftest.$ac_ext
9914
10682
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9915
10683
 
9939
10707
}
9940
10708
_ACEOF
9941
10709
rm -f conftest.$ac_objext conftest$ac_exeext
9942
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9943
 
  (eval $ac_link) 2>conftest.er1
 
10710
if { (ac_try="$ac_link"
 
10711
case "(($ac_try" in
 
10712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10713
  *) ac_try_echo=$ac_try;;
 
10714
esac
 
10715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10716
  (eval "$ac_link") 2>conftest.er1
9944
10717
  ac_status=$?
9945
10718
  grep -v '^ *+' conftest.er1 >conftest.err
9946
10719
  rm -f conftest.er1
9947
10720
  cat conftest.err >&5
9948
10721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949
 
  (exit $ac_status); } &&
9950
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
9951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9952
 
  (eval $ac_try) 2>&5
9953
 
  ac_status=$?
9954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955
 
  (exit $ac_status); }; } &&
9956
 
         { ac_try='test -s conftest$ac_exeext'
9957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958
 
  (eval $ac_try) 2>&5
9959
 
  ac_status=$?
9960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961
 
  (exit $ac_status); }; }; then
 
10722
  (exit $ac_status); } && {
 
10723
         test -z "$ac_cxx_werror_flag" ||
 
10724
         test ! -s conftest.err
 
10725
       } && test -s conftest$ac_exeext &&
 
10726
       $as_test_x conftest$ac_exeext; then
9962
10727
 
9963
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9964
 
}'`
 
10728
lt_aix_libpath_sed='
 
10729
    /Import File Strings/,/^$/ {
 
10730
        /^0/ {
 
10731
            s/^0  *\(.*\)$/\1/
 
10732
            p
 
10733
        }
 
10734
    }'
 
10735
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9965
10736
# Check for a 64-bit object if we didn't find anything.
9966
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9967
 
}'`; fi
 
10737
if test -z "$aix_libpath"; then
 
10738
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10739
fi
9968
10740
else
9969
10741
  echo "$as_me: failed program was:" >&5
9970
10742
sed 's/^/| /' conftest.$ac_ext >&5
9971
10743
 
 
10744
 
9972
10745
fi
9973
 
rm -f conftest.err conftest.$ac_objext \
 
10746
 
 
10747
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9974
10748
      conftest$ac_exeext conftest.$ac_ext
9975
10749
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9976
10750
 
10081
10855
      case $cc_basename in
10082
10856
        xlc*)
10083
10857
         output_verbose_link_cmd='echo'
10084
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
10858
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10085
10859
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10086
10860
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10087
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10861
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10088
10862
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10089
10863
          ;;
10090
10864
       *)
10118
10892
  freebsd-elf*)
10119
10893
    archive_cmds_need_lc_CXX=no
10120
10894
    ;;
10121
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
10895
  freebsd* | dragonfly*)
10122
10896
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10123
10897
    # conventions
10124
10898
    ld_shlibs_CXX=yes
10167
10941
      hardcode_libdir_separator_CXX=:
10168
10942
 
10169
10943
      case $host_cpu in
10170
 
      hppa*64*|ia64*)
10171
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10172
 
        ;;
 
10944
      hppa*64*|ia64*) ;;
10173
10945
      *)
10174
10946
        export_dynamic_flag_spec_CXX='${wl}-E'
10175
10947
        ;;
10237
11009
        ;;
10238
11010
    esac
10239
11011
    ;;
10240
 
  interix3*)
 
11012
  interix[3-9]*)
10241
11013
    hardcode_direct_CXX=no
10242
11014
    hardcode_shlibpath_var_CXX=no
10243
11015
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10277
11049
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10278
11050
    hardcode_libdir_separator_CXX=:
10279
11051
    ;;
10280
 
  linux*)
 
11052
  linux* | k*bsd*-gnu)
10281
11053
    case $cc_basename in
10282
11054
      KCC*)
10283
11055
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10357
11129
        # dependencies.
10358
11130
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10359
11131
        ;;
 
11132
      *)
 
11133
        case `$CC -V 2>&1 | sed 5q` in
 
11134
        *Sun\ C*)
 
11135
          # Sun C++ 5.9
 
11136
          no_undefined_flag_CXX=' -zdefs'
 
11137
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11138
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11139
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11140
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11141
 
 
11142
          # Not sure whether something based on
 
11143
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11144
          # would be better.
 
11145
          output_verbose_link_cmd='echo'
 
11146
 
 
11147
          # Archives containing C++ object files must be created using
 
11148
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11149
          # necessary to make sure instantiated templates are included
 
11150
          # in the archive.
 
11151
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11152
          ;;
 
11153
        esac
 
11154
        ;;
10360
11155
    esac
10361
11156
    ;;
10362
11157
  lynxos*)
10379
11174
        ;;
10380
11175
    esac
10381
11176
    ;;
10382
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11177
  netbsd* | netbsdelf*-gnu)
10383
11178
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10384
11179
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10385
11180
      wlarc=
10395
11190
    ld_shlibs_CXX=no
10396
11191
    ;;
10397
11192
  openbsd*)
10398
 
    hardcode_direct_CXX=yes
10399
 
    hardcode_shlibpath_var_CXX=no
10400
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10401
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10402
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10403
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10404
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10405
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11193
    if test -f /usr/libexec/ld.so; then
 
11194
      hardcode_direct_CXX=yes
 
11195
      hardcode_shlibpath_var_CXX=no
 
11196
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11197
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11198
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11199
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11200
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11201
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11202
      fi
 
11203
      output_verbose_link_cmd='echo'
 
11204
    else
 
11205
      ld_shlibs_CXX=no
10406
11206
    fi
10407
 
    output_verbose_link_cmd='echo'
10408
11207
    ;;
10409
11208
  osf3*)
10410
11209
    case $cc_basename in
10566
11365
        case $host_os in
10567
11366
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10568
11367
          *)
10569
 
            # The C++ compiler is used as linker so we must use $wl
10570
 
            # flag to pass the commands to the underlying system
10571
 
            # linker. We must also pass each convience library through
10572
 
            # to the system linker between allextract/defaultextract.
10573
 
            # The C++ compiler will combine linker options so we
10574
 
            # cannot just pass the convience library names through
10575
 
            # without $wl.
 
11368
            # The compiler driver will combine and reorder linker options,
 
11369
            # but understands `-z linker_flag'.
10576
11370
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10577
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
11371
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
10578
11372
            ;;
10579
11373
        esac
10580
11374
        link_all_deplibs_CXX=yes
10621
11415
          fi
10622
11416
 
10623
11417
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
11418
          case $host_os in
 
11419
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11420
          *)
 
11421
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11422
            ;;
 
11423
          esac
10624
11424
        fi
10625
11425
        ;;
10626
11426
    esac
10701
11501
    ld_shlibs_CXX=no
10702
11502
    ;;
10703
11503
esac
10704
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10705
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11504
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11505
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10706
11506
test "$ld_shlibs_CXX" = no && can_build_shared=no
10707
11507
 
10708
11508
GCC_CXX="$GXX"
10812
11612
 
10813
11613
# PORTME: override above test on systems where it is broken
10814
11614
case $host_os in
10815
 
interix3*)
 
11615
interix[3-9]*)
10816
11616
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
10817
11617
  # hack all around it, let's just trust "g++" to DTRT.
10818
11618
  predep_objects_CXX=
10820
11620
  postdeps_CXX=
10821
11621
  ;;
10822
11622
 
 
11623
linux*)
 
11624
  case `$CC -V 2>&1 | sed 5q` in
 
11625
  *Sun\ C*)
 
11626
    # Sun C++ 5.9
 
11627
    #
 
11628
    # The more standards-conforming stlport4 library is
 
11629
    # incompatible with the Cstd library. Avoid specifying
 
11630
    # it if it's in CXXFLAGS. Ignore libCrun as
 
11631
    # -library=stlport4 depends on it.
 
11632
    case " $CXX $CXXFLAGS " in
 
11633
    *" -library=stlport4 "*)
 
11634
      solaris_use_stlport4=yes
 
11635
      ;;
 
11636
    esac
 
11637
    if test "$solaris_use_stlport4" != yes; then
 
11638
      postdeps_CXX='-library=Cstd -library=Crun'
 
11639
    fi
 
11640
    ;;
 
11641
  esac
 
11642
  ;;
 
11643
 
10823
11644
solaris*)
10824
11645
  case $cc_basename in
10825
11646
  CC*)
 
11647
    # The more standards-conforming stlport4 library is
 
11648
    # incompatible with the Cstd library. Avoid specifying
 
11649
    # it if it's in CXXFLAGS. Ignore libCrun as
 
11650
    # -library=stlport4 depends on it.
 
11651
    case " $CXX $CXXFLAGS " in
 
11652
    *" -library=stlport4 "*)
 
11653
      solaris_use_stlport4=yes
 
11654
      ;;
 
11655
    esac
 
11656
 
10826
11657
    # Adding this requires a known-good setup of shared libraries for
10827
11658
    # Sun compiler versions before 5.6, else PIC objects from an old
10828
11659
    # archive will be linked into the output, leading to subtle bugs.
10829
 
    postdeps_CXX='-lCstd -lCrun'
 
11660
    if test "$solaris_use_stlport4" != yes; then
 
11661
      postdeps_CXX='-library=Cstd -library=Crun'
 
11662
    fi
10830
11663
    ;;
10831
11664
  esac
10832
11665
  ;;
10841
11674
lt_prog_compiler_pic_CXX=
10842
11675
lt_prog_compiler_static_CXX=
10843
11676
 
10844
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10845
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
11677
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11678
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10846
11679
 
10847
11680
  # C++ specific cases for pic, static, wl, etc.
10848
11681
  if test "$GXX" = yes; then
10863
11696
      # like `-m68040'.
10864
11697
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10865
11698
      ;;
10866
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
11699
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10867
11700
      # PIC is the default for these OSes.
10868
11701
      ;;
10869
 
    mingw* | os2* | pw32*)
 
11702
    mingw* | cygwin* | os2* | pw32*)
10870
11703
      # This hack is so that the source file can tell whether it is being
10871
11704
      # built for inclusion in a dll (and should export symbols for example).
 
11705
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
11706
      # (--disable-auto-import) libraries
10872
11707
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10873
11708
      ;;
10874
11709
    darwin* | rhapsody*)
10880
11715
      # DJGPP does not support shared libraries at all
10881
11716
      lt_prog_compiler_pic_CXX=
10882
11717
      ;;
10883
 
    interix3*)
 
11718
    interix[3-9]*)
10884
11719
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10885
11720
      # Instead, we relocate shared libraries at runtime.
10886
11721
      ;;
10946
11781
            ;;
10947
11782
        esac
10948
11783
        ;;
10949
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
11784
      freebsd* | dragonfly*)
10950
11785
        # FreeBSD uses GNU C++
10951
11786
        ;;
10952
11787
      hpux9* | hpux10* | hpux11*)
10989
11824
            ;;
10990
11825
        esac
10991
11826
        ;;
10992
 
      linux*)
 
11827
      linux* | k*bsd*-gnu)
10993
11828
        case $cc_basename in
10994
11829
          KCC*)
10995
11830
            # KAI C++ Compiler
11016
11851
            lt_prog_compiler_static_CXX='-non_shared'
11017
11852
            ;;
11018
11853
          *)
 
11854
            case `$CC -V 2>&1 | sed 5q` in
 
11855
            *Sun\ C*)
 
11856
              # Sun C++ 5.9
 
11857
              lt_prog_compiler_pic_CXX='-KPIC'
 
11858
              lt_prog_compiler_static_CXX='-Bstatic'
 
11859
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
11860
              ;;
 
11861
            esac
11019
11862
            ;;
11020
11863
        esac
11021
11864
        ;;
11032
11875
            ;;
11033
11876
        esac
11034
11877
        ;;
11035
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11878
      netbsd* | netbsdelf*-gnu)
11036
11879
        ;;
11037
11880
      osf3* | osf4* | osf5*)
11038
11881
        case $cc_basename in
11115
11958
    esac
11116
11959
  fi
11117
11960
 
11118
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11119
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
11961
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
11962
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11120
11963
 
11121
11964
#
11122
11965
# Check to make sure the PIC flag actually works.
11123
11966
#
11124
11967
if test -n "$lt_prog_compiler_pic_CXX"; then
11125
11968
 
11126
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11127
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
11969
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
11970
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11128
11971
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11129
11972
  echo $ECHO_N "(cached) $ECHO_C" >&6
11130
11973
else
11131
11974
  lt_prog_compiler_pic_works_CXX=no
11132
11975
  ac_outfile=conftest.$ac_objext
11133
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11976
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11134
11977
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11135
11978
   # Insert the option either (1) after the last *FLAGS variable, or
11136
11979
   # (2) before a word containing "conftest.", or (3) at the end.
11141
11984
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11142
11985
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11143
11986
   -e 's:$: $lt_compiler_flag:'`
11144
 
   (eval echo "\"\$as_me:11144: $lt_compile\"" >&5)
 
11987
   (eval echo "\"\$as_me:11987: $lt_compile\"" >&5)
11145
11988
   (eval "$lt_compile" 2>conftest.err)
11146
11989
   ac_status=$?
11147
11990
   cat conftest.err >&5
11148
 
   echo "$as_me:11148: \$? = $ac_status" >&5
 
11991
   echo "$as_me:11991: \$? = $ac_status" >&5
11149
11992
   if (exit $ac_status) && test -s "$ac_outfile"; then
11150
11993
     # The compiler can only warn and ignore the option if not recognized
11151
11994
     # So say no if there are warnings other than the usual output.
11158
12001
   $rm conftest*
11159
12002
 
11160
12003
fi
11161
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11162
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12004
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12005
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11163
12006
 
11164
12007
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11165
12008
    case $lt_prog_compiler_pic_CXX in
11186
12029
# Check to make sure the static flag actually works.
11187
12030
#
11188
12031
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11189
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11190
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
12032
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12033
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11191
12034
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11192
12035
  echo $ECHO_N "(cached) $ECHO_C" >&6
11193
12036
else
11194
12037
  lt_prog_compiler_static_works_CXX=no
11195
12038
   save_LDFLAGS="$LDFLAGS"
11196
12039
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11197
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12040
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11198
12041
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11199
12042
     # The linker can only warn and ignore the option if not recognized
11200
12043
     # So say no if there are warnings
11214
12057
   LDFLAGS="$save_LDFLAGS"
11215
12058
 
11216
12059
fi
11217
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11218
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12060
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12061
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11219
12062
 
11220
12063
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11221
12064
    :
11224
12067
fi
11225
12068
 
11226
12069
 
11227
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11228
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12070
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12071
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11229
12072
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11230
12073
  echo $ECHO_N "(cached) $ECHO_C" >&6
11231
12074
else
11234
12077
   mkdir conftest
11235
12078
   cd conftest
11236
12079
   mkdir out
11237
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12080
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11238
12081
 
11239
12082
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11240
12083
   # Insert the option either (1) after the last *FLAGS variable, or
11245
12088
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11246
12089
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11247
12090
   -e 's:$: $lt_compiler_flag:'`
11248
 
   (eval echo "\"\$as_me:11248: $lt_compile\"" >&5)
 
12091
   (eval echo "\"\$as_me:12091: $lt_compile\"" >&5)
11249
12092
   (eval "$lt_compile" 2>out/conftest.err)
11250
12093
   ac_status=$?
11251
12094
   cat out/conftest.err >&5
11252
 
   echo "$as_me:11252: \$? = $ac_status" >&5
 
12095
   echo "$as_me:12095: \$? = $ac_status" >&5
11253
12096
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11254
12097
   then
11255
12098
     # The compiler can only warn and ignore the option if not recognized
11271
12114
   $rm conftest*
11272
12115
 
11273
12116
fi
11274
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11275
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12117
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12118
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11276
12119
 
11277
12120
 
11278
12121
hard_links="nottested"
11279
12122
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11280
12123
  # do not overwrite the value of need_locks provided by the user
11281
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11282
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12124
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12125
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11283
12126
  hard_links=yes
11284
12127
  $rm conftest*
11285
12128
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11286
12129
  touch conftest.a
11287
12130
  ln conftest.a conftest.b 2>&5 || hard_links=no
11288
12131
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11289
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11290
 
echo "${ECHO_T}$hard_links" >&6
 
12132
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12133
echo "${ECHO_T}$hard_links" >&6; }
11291
12134
  if test "$hard_links" = no; then
11292
12135
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11293
12136
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11297
12140
  need_locks=no
11298
12141
fi
11299
12142
 
11300
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11301
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12143
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12144
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11302
12145
 
11303
12146
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11304
12147
  case $host_os in
11315
12158
    export_symbols_cmds_CXX="$ltdll_cmds"
11316
12159
  ;;
11317
12160
  cygwin* | mingw*)
11318
 
    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'
11319
 
  ;;
11320
 
  kfreebsd*-gnu)
11321
 
    link_all_deplibs_CXX=no
11322
 
  ;;
11323
 
  linux*)
 
12161
    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'
 
12162
  ;;
 
12163
  linux* | k*bsd*-gnu)
11324
12164
    link_all_deplibs_CXX=no
11325
12165
  ;;
11326
12166
  *)
11328
12168
  ;;
11329
12169
  esac
11330
12170
 
11331
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11332
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12171
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12172
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11333
12173
test "$ld_shlibs_CXX" = no && can_build_shared=no
11334
12174
 
11335
12175
#
11349
12189
      # Test whether the compiler implicitly links with -lc since on some
11350
12190
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11351
12191
      # to ld, don't add -lc before -lgcc.
11352
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11353
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12192
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12193
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11354
12194
      $rm conftest*
11355
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12195
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11356
12196
 
11357
12197
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11358
12198
  (eval $ac_compile) 2>&5
11387
12227
        cat conftest.err 1>&5
11388
12228
      fi
11389
12229
      $rm conftest*
11390
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11391
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12230
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12231
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11392
12232
      ;;
11393
12233
    esac
11394
12234
  fi
11395
12235
  ;;
11396
12236
esac
11397
12237
 
11398
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11399
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12238
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12239
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11400
12240
library_names_spec=
11401
12241
libname_spec='lib$name'
11402
12242
soname_spec=
11410
12250
version_type=none
11411
12251
dynamic_linker="$host_os ld.so"
11412
12252
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11413
 
if test "$GCC" = yes; then
11414
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11415
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11416
 
    # if the path contains ";" then we assume it to be the separator
11417
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11418
 
    # assumed that no part of a normal pathname contains ";" but that should
11419
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11420
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11421
 
  else
11422
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11423
 
  fi
11424
 
else
11425
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11426
 
fi
 
12253
 
11427
12254
need_lib_prefix=unknown
11428
12255
hardcode_into_libs=no
11429
12256
 
11580
12407
  shlibpath_overrides_runpath=yes
11581
12408
  shlibpath_var=DYLD_LIBRARY_PATH
11582
12409
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11583
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11584
 
  if test "$GCC" = yes; then
11585
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11586
 
  else
11587
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11588
 
  fi
 
12410
 
11589
12411
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11590
12412
  ;;
11591
12413
 
11602
12424
  dynamic_linker=no
11603
12425
  ;;
11604
12426
 
11605
 
kfreebsd*-gnu)
11606
 
  version_type=linux
11607
 
  need_lib_prefix=no
11608
 
  need_version=no
11609
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11610
 
  soname_spec='${libname}${release}${shared_ext}$major'
11611
 
  shlibpath_var=LD_LIBRARY_PATH
11612
 
  shlibpath_overrides_runpath=no
11613
 
  hardcode_into_libs=yes
11614
 
  dynamic_linker='GNU ld.so'
11615
 
  ;;
11616
 
 
11617
12427
freebsd* | dragonfly*)
11618
12428
  # DragonFly does not have aout.  When/if they implement a new
11619
12429
  # versioning mechanism, adjust this.
11651
12461
    shlibpath_overrides_runpath=no
11652
12462
    hardcode_into_libs=yes
11653
12463
    ;;
11654
 
  freebsd*) # from 4.6 on
 
12464
  *) # from 4.6 on, and DragonFly
11655
12465
    shlibpath_overrides_runpath=yes
11656
12466
    hardcode_into_libs=yes
11657
12467
    ;;
11714
12524
  postinstall_cmds='chmod 555 $lib'
11715
12525
  ;;
11716
12526
 
11717
 
interix3*)
 
12527
interix[3-9]*)
11718
12528
  version_type=linux
11719
12529
  need_lib_prefix=no
11720
12530
  need_version=no
11769
12579
  ;;
11770
12580
 
11771
12581
# This must be Linux ELF.
11772
 
linux*)
 
12582
linux* | k*bsd*-gnu)
11773
12583
  version_type=linux
11774
12584
  need_lib_prefix=no
11775
12585
  need_version=no
11785
12595
 
11786
12596
  # Append ld.so.conf contents to the search path
11787
12597
  if test -f /etc/ld.so.conf; then
11788
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
12598
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11789
12599
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11790
12600
  fi
11791
12601
 
11810
12620
  dynamic_linker='NetBSD ld.elf_so'
11811
12621
  ;;
11812
12622
 
11813
 
knetbsd*-gnu)
11814
 
  version_type=linux
11815
 
  need_lib_prefix=no
11816
 
  need_version=no
11817
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11818
 
  soname_spec='${libname}${release}${shared_ext}$major'
11819
 
  shlibpath_var=LD_LIBRARY_PATH
11820
 
  shlibpath_overrides_runpath=no
11821
 
  hardcode_into_libs=yes
11822
 
  dynamic_linker='GNU ld.so'
11823
 
  ;;
11824
 
 
11825
12623
netbsd*)
11826
12624
  version_type=sunos
11827
12625
  need_lib_prefix=no
11903
12701
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11904
12702
  ;;
11905
12703
 
 
12704
rdos*)
 
12705
  dynamic_linker=no
 
12706
  ;;
 
12707
 
11906
12708
solaris*)
11907
12709
  version_type=linux
11908
12710
  need_lib_prefix=no
11995
12797
  dynamic_linker=no
11996
12798
  ;;
11997
12799
esac
11998
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11999
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12800
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12801
echo "${ECHO_T}$dynamic_linker" >&6; }
12000
12802
test "$dynamic_linker" = no && can_build_shared=no
12001
12803
 
12002
12804
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12004
12806
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12005
12807
fi
12006
12808
 
12007
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12008
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12809
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12810
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12009
12811
hardcode_action_CXX=
12010
12812
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12011
12813
   test -n "$runpath_var_CXX" || \
12029
12831
  # directories.
12030
12832
  hardcode_action_CXX=unsupported
12031
12833
fi
12032
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12033
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
12834
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
12835
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12034
12836
 
12035
12837
if test "$hardcode_action_CXX" = relink; then
12036
12838
  # Fast installation is not supported
12097
12899
    module_cmds_CXX \
12098
12900
    module_expsym_cmds_CXX \
12099
12901
    lt_cv_prog_compiler_c_o_CXX \
 
12902
    fix_srcfile_path_CXX \
12100
12903
    exclude_expsyms_CXX \
12101
12904
    include_expsyms_CXX; do
12102
12905
 
12417
13220
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12418
13221
 
12419
13222
# Fix the shell variable \$srcfile for the compiler.
12420
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13223
fix_srcfile_path=$lt_fix_srcfile_path
12421
13224
 
12422
13225
# Set to yes if exported symbols are required.
12423
13226
always_export_symbols=$always_export_symbols_CXX
12508
13311
objext_F77=$objext
12509
13312
 
12510
13313
# Code to be used in simple compile tests
12511
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
13314
lt_simple_compile_test_code="\
 
13315
      subroutine t
 
13316
      return
 
13317
      end
 
13318
"
12512
13319
 
12513
13320
# Code to be used in simple link tests
12514
 
lt_simple_link_test_code="      program t\n      end\n"
 
13321
lt_simple_link_test_code="\
 
13322
      program t
 
13323
      end
 
13324
"
12515
13325
 
12516
13326
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12517
13327
 
12527
13337
 
12528
13338
# save warnings/boilerplate of simple test code
12529
13339
ac_outfile=conftest.$ac_objext
12530
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13340
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12531
13341
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12532
13342
_lt_compiler_boilerplate=`cat conftest.err`
12533
13343
$rm conftest*
12534
13344
 
12535
13345
ac_outfile=conftest.$ac_objext
12536
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13346
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12537
13347
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12538
13348
_lt_linker_boilerplate=`cat conftest.err`
12539
13349
$rm conftest*
12555
13365
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12556
13366
 
12557
13367
 
12558
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12559
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12560
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12561
 
echo "${ECHO_T}$can_build_shared" >&6
 
13368
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13369
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13370
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13371
echo "${ECHO_T}$can_build_shared" >&6; }
12562
13372
 
12563
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12564
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13373
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13374
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12565
13375
test "$can_build_shared" = "no" && enable_shared=no
12566
13376
 
12567
13377
# On AIX, shared libraries and static libraries use the same namespace, and
12580
13390
  fi
12581
13391
  ;;
12582
13392
esac
12583
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12584
 
echo "${ECHO_T}$enable_shared" >&6
 
13393
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13394
echo "${ECHO_T}$enable_shared" >&6; }
12585
13395
 
12586
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12587
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13396
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13397
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12588
13398
# Make sure either enable_shared or enable_static is yes.
12589
13399
test "$enable_shared" = yes || enable_static=yes
12590
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12591
 
echo "${ECHO_T}$enable_static" >&6
 
13400
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13401
echo "${ECHO_T}$enable_static" >&6; }
12592
13402
 
12593
13403
GCC_F77="$G77"
12594
13404
LD_F77="$LD"
12597
13407
lt_prog_compiler_pic_F77=
12598
13408
lt_prog_compiler_static_F77=
12599
13409
 
12600
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12601
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
13410
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13411
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12602
13412
 
12603
13413
  if test "$GCC" = yes; then
12604
13414
    lt_prog_compiler_wl_F77='-Wl,'
12620
13430
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12621
13431
      ;;
12622
13432
 
12623
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13433
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12624
13434
      # PIC is the default for these OSes.
12625
13435
      ;;
12626
13436
 
12627
 
    mingw* | pw32* | os2*)
 
13437
    mingw* | cygwin* | pw32* | os2*)
12628
13438
      # This hack is so that the source file can tell whether it is being
12629
13439
      # built for inclusion in a dll (and should export symbols for example).
 
13440
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13441
      # (--disable-auto-import) libraries
12630
13442
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12631
13443
      ;;
12632
13444
 
12636
13448
      lt_prog_compiler_pic_F77='-fno-common'
12637
13449
      ;;
12638
13450
 
12639
 
    interix3*)
 
13451
    interix[3-9]*)
12640
13452
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12641
13453
      # Instead, we relocate shared libraries at runtime.
12642
13454
      ;;
12694
13506
       esac
12695
13507
       ;;
12696
13508
 
12697
 
    mingw* | pw32* | os2*)
 
13509
    mingw* | cygwin* | pw32* | os2*)
12698
13510
      # This hack is so that the source file can tell whether it is being
12699
13511
      # built for inclusion in a dll (and should export symbols for example).
12700
13512
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12727
13539
      lt_prog_compiler_static_F77='-Bstatic'
12728
13540
      ;;
12729
13541
 
12730
 
    linux*)
 
13542
    linux* | k*bsd*-gnu)
12731
13543
      case $cc_basename in
12732
13544
      icc* | ecc*)
12733
13545
        lt_prog_compiler_wl_F77='-Wl,'
12746
13558
        # All Alpha code is PIC.
12747
13559
        lt_prog_compiler_static_F77='-non_shared'
12748
13560
        ;;
 
13561
      *)
 
13562
        case `$CC -V 2>&1 | sed 5q` in
 
13563
        *Sun\ C*)
 
13564
          # Sun C 5.9
 
13565
          lt_prog_compiler_pic_F77='-KPIC'
 
13566
          lt_prog_compiler_static_F77='-Bstatic'
 
13567
          lt_prog_compiler_wl_F77='-Wl,'
 
13568
          ;;
 
13569
        *Sun\ F*)
 
13570
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
13571
          lt_prog_compiler_pic_F77='-KPIC'
 
13572
          lt_prog_compiler_static_F77='-Bstatic'
 
13573
          lt_prog_compiler_wl_F77=''
 
13574
          ;;
 
13575
        esac
 
13576
        ;;
12749
13577
      esac
12750
13578
      ;;
12751
13579
 
12755
13583
      lt_prog_compiler_static_F77='-non_shared'
12756
13584
      ;;
12757
13585
 
 
13586
    rdos*)
 
13587
      lt_prog_compiler_static_F77='-non_shared'
 
13588
      ;;
 
13589
 
12758
13590
    solaris*)
12759
13591
      lt_prog_compiler_pic_F77='-KPIC'
12760
13592
      lt_prog_compiler_static_F77='-Bstatic'
12807
13639
    esac
12808
13640
  fi
12809
13641
 
12810
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12811
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
13642
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
13643
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
12812
13644
 
12813
13645
#
12814
13646
# Check to make sure the PIC flag actually works.
12815
13647
#
12816
13648
if test -n "$lt_prog_compiler_pic_F77"; then
12817
13649
 
12818
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12819
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
13650
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
13651
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
12820
13652
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12821
13653
  echo $ECHO_N "(cached) $ECHO_C" >&6
12822
13654
else
12823
13655
  lt_prog_compiler_pic_works_F77=no
12824
13656
  ac_outfile=conftest.$ac_objext
12825
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13657
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12826
13658
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
12827
13659
   # Insert the option either (1) after the last *FLAGS variable, or
12828
13660
   # (2) before a word containing "conftest.", or (3) at the end.
12833
13665
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12834
13666
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12835
13667
   -e 's:$: $lt_compiler_flag:'`
12836
 
   (eval echo "\"\$as_me:12836: $lt_compile\"" >&5)
 
13668
   (eval echo "\"\$as_me:13668: $lt_compile\"" >&5)
12837
13669
   (eval "$lt_compile" 2>conftest.err)
12838
13670
   ac_status=$?
12839
13671
   cat conftest.err >&5
12840
 
   echo "$as_me:12840: \$? = $ac_status" >&5
 
13672
   echo "$as_me:13672: \$? = $ac_status" >&5
12841
13673
   if (exit $ac_status) && test -s "$ac_outfile"; then
12842
13674
     # The compiler can only warn and ignore the option if not recognized
12843
13675
     # So say no if there are warnings other than the usual output.
12850
13682
   $rm conftest*
12851
13683
 
12852
13684
fi
12853
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
12854
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
13685
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
13686
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
12855
13687
 
12856
13688
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
12857
13689
    case $lt_prog_compiler_pic_F77 in
12878
13710
# Check to make sure the static flag actually works.
12879
13711
#
12880
13712
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
12881
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12882
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
13713
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13714
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12883
13715
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
12884
13716
  echo $ECHO_N "(cached) $ECHO_C" >&6
12885
13717
else
12886
13718
  lt_prog_compiler_static_works_F77=no
12887
13719
   save_LDFLAGS="$LDFLAGS"
12888
13720
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12889
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13721
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12890
13722
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12891
13723
     # The linker can only warn and ignore the option if not recognized
12892
13724
     # So say no if there are warnings
12906
13738
   LDFLAGS="$save_LDFLAGS"
12907
13739
 
12908
13740
fi
12909
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
12910
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
13741
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
13742
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
12911
13743
 
12912
13744
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
12913
13745
    :
12916
13748
fi
12917
13749
 
12918
13750
 
12919
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12920
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13751
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13752
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12921
13753
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
12922
13754
  echo $ECHO_N "(cached) $ECHO_C" >&6
12923
13755
else
12926
13758
   mkdir conftest
12927
13759
   cd conftest
12928
13760
   mkdir out
12929
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13761
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12930
13762
 
12931
13763
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12932
13764
   # Insert the option either (1) after the last *FLAGS variable, or
12937
13769
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12938
13770
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12939
13771
   -e 's:$: $lt_compiler_flag:'`
12940
 
   (eval echo "\"\$as_me:12940: $lt_compile\"" >&5)
 
13772
   (eval echo "\"\$as_me:13772: $lt_compile\"" >&5)
12941
13773
   (eval "$lt_compile" 2>out/conftest.err)
12942
13774
   ac_status=$?
12943
13775
   cat out/conftest.err >&5
12944
 
   echo "$as_me:12944: \$? = $ac_status" >&5
 
13776
   echo "$as_me:13776: \$? = $ac_status" >&5
12945
13777
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12946
13778
   then
12947
13779
     # The compiler can only warn and ignore the option if not recognized
12963
13795
   $rm conftest*
12964
13796
 
12965
13797
fi
12966
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
12967
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
13798
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
13799
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
12968
13800
 
12969
13801
 
12970
13802
hard_links="nottested"
12971
13803
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
12972
13804
  # do not overwrite the value of need_locks provided by the user
12973
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12974
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13805
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13806
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12975
13807
  hard_links=yes
12976
13808
  $rm conftest*
12977
13809
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12978
13810
  touch conftest.a
12979
13811
  ln conftest.a conftest.b 2>&5 || hard_links=no
12980
13812
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12981
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
12982
 
echo "${ECHO_T}$hard_links" >&6
 
13813
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13814
echo "${ECHO_T}$hard_links" >&6; }
12983
13815
  if test "$hard_links" = no; then
12984
13816
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12985
13817
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12989
13821
  need_locks=no
12990
13822
fi
12991
13823
 
12992
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12993
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13824
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13825
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12994
13826
 
12995
13827
  runpath_var=
12996
13828
  allow_undefined_flag_F77=
13133
13965
      allow_undefined_flag_F77=unsupported
13134
13966
      always_export_symbols_F77=no
13135
13967
      enable_shared_with_static_runtimes_F77=yes
13136
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13968
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13137
13969
 
13138
13970
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13139
13971
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13151
13983
      fi
13152
13984
      ;;
13153
13985
 
13154
 
    interix3*)
 
13986
    interix[3-9]*)
13155
13987
      hardcode_direct_F77=no
13156
13988
      hardcode_shlibpath_var_F77=no
13157
13989
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13166
13998
      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'
13167
13999
      ;;
13168
14000
 
13169
 
    linux*)
 
14001
    gnu* | linux* | k*bsd*-gnu)
13170
14002
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13171
14003
        tmp_addflag=
13172
14004
        case $cc_basename,$host_cpu in
13184
14016
        ifc* | ifort*)                  # Intel Fortran compiler
13185
14017
          tmp_addflag=' -nofor_main' ;;
13186
14018
        esac
13187
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14019
        case `$CC -V 2>&1 | sed 5q` in
 
14020
        *Sun\ C*)                       # Sun C 5.9
 
14021
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14022
          tmp_sharedflag='-G' ;;
 
14023
        *Sun\ F*)                       # Sun Fortran 8.3
 
14024
          tmp_sharedflag='-G' ;;
 
14025
        *)
 
14026
          tmp_sharedflag='-shared' ;;
 
14027
        esac
 
14028
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13188
14029
 
13189
14030
        if test $supports_anon_versioning = yes; then
13190
14031
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13191
14032
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13192
14033
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13193
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14034
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13194
14035
        fi
13195
14036
        link_all_deplibs_F77=no
13196
14037
      else
13198
14039
      fi
13199
14040
      ;;
13200
14041
 
13201
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14042
    netbsd* | netbsdelf*-gnu)
13202
14043
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13203
14044
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13204
14045
        wlarc=
13350
14191
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13351
14192
          then
13352
14193
          # We have reworked collect2
13353
 
          hardcode_direct_F77=yes
 
14194
          :
13354
14195
          else
13355
14196
          # We have old collect2
13356
14197
          hardcode_direct_F77=unsupported
13396
14237
      end
13397
14238
_ACEOF
13398
14239
rm -f conftest.$ac_objext conftest$ac_exeext
13399
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400
 
  (eval $ac_link) 2>conftest.er1
 
14240
if { (ac_try="$ac_link"
 
14241
case "(($ac_try" in
 
14242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14243
  *) ac_try_echo=$ac_try;;
 
14244
esac
 
14245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14246
  (eval "$ac_link") 2>conftest.er1
13401
14247
  ac_status=$?
13402
14248
  grep -v '^ *+' conftest.er1 >conftest.err
13403
14249
  rm -f conftest.er1
13404
14250
  cat conftest.err >&5
13405
14251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406
 
  (exit $ac_status); } &&
13407
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13408
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409
 
  (eval $ac_try) 2>&5
13410
 
  ac_status=$?
13411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412
 
  (exit $ac_status); }; } &&
13413
 
         { ac_try='test -s conftest$ac_exeext'
13414
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415
 
  (eval $ac_try) 2>&5
13416
 
  ac_status=$?
13417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418
 
  (exit $ac_status); }; }; then
 
14252
  (exit $ac_status); } && {
 
14253
         test -z "$ac_f77_werror_flag" ||
 
14254
         test ! -s conftest.err
 
14255
       } && test -s conftest$ac_exeext &&
 
14256
       $as_test_x conftest$ac_exeext; then
13419
14257
 
13420
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13421
 
}'`
 
14258
lt_aix_libpath_sed='
 
14259
    /Import File Strings/,/^$/ {
 
14260
        /^0/ {
 
14261
            s/^0  *\(.*\)$/\1/
 
14262
            p
 
14263
        }
 
14264
    }'
 
14265
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13422
14266
# Check for a 64-bit object if we didn't find anything.
13423
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13424
 
}'`; fi
 
14267
if test -z "$aix_libpath"; then
 
14268
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14269
fi
13425
14270
else
13426
14271
  echo "$as_me: failed program was:" >&5
13427
14272
sed 's/^/| /' conftest.$ac_ext >&5
13428
14273
 
 
14274
 
13429
14275
fi
13430
 
rm -f conftest.err conftest.$ac_objext \
 
14276
 
 
14277
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13431
14278
      conftest$ac_exeext conftest.$ac_ext
13432
14279
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13433
14280
 
13446
14293
      end
13447
14294
_ACEOF
13448
14295
rm -f conftest.$ac_objext conftest$ac_exeext
13449
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13450
 
  (eval $ac_link) 2>conftest.er1
 
14296
if { (ac_try="$ac_link"
 
14297
case "(($ac_try" in
 
14298
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14299
  *) ac_try_echo=$ac_try;;
 
14300
esac
 
14301
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14302
  (eval "$ac_link") 2>conftest.er1
13451
14303
  ac_status=$?
13452
14304
  grep -v '^ *+' conftest.er1 >conftest.err
13453
14305
  rm -f conftest.er1
13454
14306
  cat conftest.err >&5
13455
14307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456
 
  (exit $ac_status); } &&
13457
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459
 
  (eval $ac_try) 2>&5
13460
 
  ac_status=$?
13461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462
 
  (exit $ac_status); }; } &&
13463
 
         { ac_try='test -s conftest$ac_exeext'
13464
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465
 
  (eval $ac_try) 2>&5
13466
 
  ac_status=$?
13467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468
 
  (exit $ac_status); }; }; then
 
14308
  (exit $ac_status); } && {
 
14309
         test -z "$ac_f77_werror_flag" ||
 
14310
         test ! -s conftest.err
 
14311
       } && test -s conftest$ac_exeext &&
 
14312
       $as_test_x conftest$ac_exeext; then
13469
14313
 
13470
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13471
 
}'`
 
14314
lt_aix_libpath_sed='
 
14315
    /Import File Strings/,/^$/ {
 
14316
        /^0/ {
 
14317
            s/^0  *\(.*\)$/\1/
 
14318
            p
 
14319
        }
 
14320
    }'
 
14321
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13472
14322
# Check for a 64-bit object if we didn't find anything.
13473
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13474
 
}'`; fi
 
14323
if test -z "$aix_libpath"; then
 
14324
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14325
fi
13475
14326
else
13476
14327
  echo "$as_me: failed program was:" >&5
13477
14328
sed 's/^/| /' conftest.$ac_ext >&5
13478
14329
 
 
14330
 
13479
14331
fi
13480
 
rm -f conftest.err conftest.$ac_objext \
 
14332
 
 
14333
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13481
14334
      conftest$ac_exeext conftest.$ac_ext
13482
14335
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13483
14336
 
13523
14376
      # The linker will automatically build a .lib file if we build a DLL.
13524
14377
      old_archive_From_new_cmds_F77='true'
13525
14378
      # FIXME: Should let the user specify the lib program.
13526
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
14379
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
13527
14380
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13528
14381
      enable_shared_with_static_runtimes_F77=yes
13529
14382
      ;;
13565
14418
      case $cc_basename in
13566
14419
        xlc*)
13567
14420
         output_verbose_link_cmd='echo'
13568
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
14421
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13569
14422
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13570
14423
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13571
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14424
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13572
14425
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13573
14426
          ;;
13574
14427
       *)
13615
14468
      hardcode_shlibpath_var_F77=no
13616
14469
      ;;
13617
14470
 
13618
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
13619
 
    kfreebsd*-gnu)
13620
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13621
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13622
 
      hardcode_direct_F77=yes
13623
 
      hardcode_shlibpath_var_F77=no
13624
 
      link_all_deplibs_F77=no
13625
 
      ;;
13626
 
 
13627
14471
    hpux9*)
13628
14472
      if test "$GCC" = yes; then
13629
14473
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13719
14563
      link_all_deplibs_F77=yes
13720
14564
      ;;
13721
14565
 
13722
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14566
    netbsd* | netbsdelf*-gnu)
13723
14567
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13724
14568
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13725
14569
      else
13739
14583
      ;;
13740
14584
 
13741
14585
    openbsd*)
13742
 
      hardcode_direct_F77=yes
13743
 
      hardcode_shlibpath_var_F77=no
13744
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13745
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13746
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13747
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13748
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
14586
      if test -f /usr/libexec/ld.so; then
 
14587
        hardcode_direct_F77=yes
 
14588
        hardcode_shlibpath_var_F77=no
 
14589
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14590
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
14591
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
14592
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14593
          export_dynamic_flag_spec_F77='${wl}-E'
 
14594
        else
 
14595
          case $host_os in
 
14596
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
14597
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
14598
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
14599
             ;;
 
14600
           *)
 
14601
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
14602
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14603
             ;;
 
14604
          esac
 
14605
        fi
13749
14606
      else
13750
 
       case $host_os in
13751
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13752
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13753
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
13754
 
           ;;
13755
 
         *)
13756
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13757
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13758
 
           ;;
13759
 
       esac
 
14607
        ld_shlibs_F77=no
13760
14608
      fi
13761
14609
      ;;
13762
14610
 
13815
14663
      case $host_os in
13816
14664
      solaris2.[0-5] | solaris2.[0-5].*) ;;
13817
14665
      *)
13818
 
        # The compiler driver will combine linker options so we
13819
 
        # cannot just pass the convience library names through
13820
 
        # without $wl, iff we do not link with $LD.
13821
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
14666
        # The compiler driver will combine and reorder linker options,
 
14667
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
14668
        # but is careful enough not to reorder.
13822
14669
        # Supported since Solaris 2.6 (maybe 2.5.1?)
13823
 
        case $wlarc in
13824
 
        '')
13825
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13826
 
        *)
13827
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
13828
 
        esac ;;
 
14670
        if test "$GCC" = yes; then
 
14671
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
14672
        else
 
14673
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
14674
        fi
 
14675
        ;;
13829
14676
      esac
13830
14677
      link_all_deplibs_F77=yes
13831
14678
      ;;
13882
14729
      fi
13883
14730
      ;;
13884
14731
 
13885
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
14732
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13886
14733
      no_undefined_flag_F77='${wl}-z,text'
13887
14734
      archive_cmds_need_lc_F77=no
13888
14735
      hardcode_shlibpath_var_F77=no
13935
14782
    esac
13936
14783
  fi
13937
14784
 
13938
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13939
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
14785
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
14786
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
13940
14787
test "$ld_shlibs_F77" = no && can_build_shared=no
13941
14788
 
13942
14789
#
13956
14803
      # Test whether the compiler implicitly links with -lc since on some
13957
14804
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13958
14805
      # to ld, don't add -lc before -lgcc.
13959
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13960
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
14806
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14807
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13961
14808
      $rm conftest*
13962
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14809
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13963
14810
 
13964
14811
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13965
14812
  (eval $ac_compile) 2>&5
13994
14841
        cat conftest.err 1>&5
13995
14842
      fi
13996
14843
      $rm conftest*
13997
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13998
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
14844
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
14845
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
13999
14846
      ;;
14000
14847
    esac
14001
14848
  fi
14002
14849
  ;;
14003
14850
esac
14004
14851
 
14005
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14006
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
14852
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14853
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14007
14854
library_names_spec=
14008
14855
libname_spec='lib$name'
14009
14856
soname_spec=
14017
14864
version_type=none
14018
14865
dynamic_linker="$host_os ld.so"
14019
14866
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14020
 
if test "$GCC" = yes; then
14021
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14022
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14023
 
    # if the path contains ";" then we assume it to be the separator
14024
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14025
 
    # assumed that no part of a normal pathname contains ";" but that should
14026
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14027
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14028
 
  else
14029
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14030
 
  fi
14031
 
else
14032
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14033
 
fi
 
14867
 
14034
14868
need_lib_prefix=unknown
14035
14869
hardcode_into_libs=no
14036
14870
 
14187
15021
  shlibpath_overrides_runpath=yes
14188
15022
  shlibpath_var=DYLD_LIBRARY_PATH
14189
15023
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14190
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14191
 
  if test "$GCC" = yes; then
14192
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14193
 
  else
14194
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14195
 
  fi
 
15024
 
14196
15025
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14197
15026
  ;;
14198
15027
 
14209
15038
  dynamic_linker=no
14210
15039
  ;;
14211
15040
 
14212
 
kfreebsd*-gnu)
14213
 
  version_type=linux
14214
 
  need_lib_prefix=no
14215
 
  need_version=no
14216
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14217
 
  soname_spec='${libname}${release}${shared_ext}$major'
14218
 
  shlibpath_var=LD_LIBRARY_PATH
14219
 
  shlibpath_overrides_runpath=no
14220
 
  hardcode_into_libs=yes
14221
 
  dynamic_linker='GNU ld.so'
14222
 
  ;;
14223
 
 
14224
15041
freebsd* | dragonfly*)
14225
15042
  # DragonFly does not have aout.  When/if they implement a new
14226
15043
  # versioning mechanism, adjust this.
14258
15075
    shlibpath_overrides_runpath=no
14259
15076
    hardcode_into_libs=yes
14260
15077
    ;;
14261
 
  freebsd*) # from 4.6 on
 
15078
  *) # from 4.6 on, and DragonFly
14262
15079
    shlibpath_overrides_runpath=yes
14263
15080
    hardcode_into_libs=yes
14264
15081
    ;;
14321
15138
  postinstall_cmds='chmod 555 $lib'
14322
15139
  ;;
14323
15140
 
14324
 
interix3*)
 
15141
interix[3-9]*)
14325
15142
  version_type=linux
14326
15143
  need_lib_prefix=no
14327
15144
  need_version=no
14376
15193
  ;;
14377
15194
 
14378
15195
# This must be Linux ELF.
14379
 
linux*)
 
15196
linux* | k*bsd*-gnu)
14380
15197
  version_type=linux
14381
15198
  need_lib_prefix=no
14382
15199
  need_version=no
14392
15209
 
14393
15210
  # Append ld.so.conf contents to the search path
14394
15211
  if test -f /etc/ld.so.conf; then
14395
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15212
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14396
15213
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14397
15214
  fi
14398
15215
 
14417
15234
  dynamic_linker='NetBSD ld.elf_so'
14418
15235
  ;;
14419
15236
 
14420
 
knetbsd*-gnu)
14421
 
  version_type=linux
14422
 
  need_lib_prefix=no
14423
 
  need_version=no
14424
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14425
 
  soname_spec='${libname}${release}${shared_ext}$major'
14426
 
  shlibpath_var=LD_LIBRARY_PATH
14427
 
  shlibpath_overrides_runpath=no
14428
 
  hardcode_into_libs=yes
14429
 
  dynamic_linker='GNU ld.so'
14430
 
  ;;
14431
 
 
14432
15237
netbsd*)
14433
15238
  version_type=sunos
14434
15239
  need_lib_prefix=no
14510
15315
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14511
15316
  ;;
14512
15317
 
 
15318
rdos*)
 
15319
  dynamic_linker=no
 
15320
  ;;
 
15321
 
14513
15322
solaris*)
14514
15323
  version_type=linux
14515
15324
  need_lib_prefix=no
14602
15411
  dynamic_linker=no
14603
15412
  ;;
14604
15413
esac
14605
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14606
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15414
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15415
echo "${ECHO_T}$dynamic_linker" >&6; }
14607
15416
test "$dynamic_linker" = no && can_build_shared=no
14608
15417
 
14609
15418
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14611
15420
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14612
15421
fi
14613
15422
 
14614
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14615
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15423
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15424
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14616
15425
hardcode_action_F77=
14617
15426
if test -n "$hardcode_libdir_flag_spec_F77" || \
14618
15427
   test -n "$runpath_var_F77" || \
14636
15445
  # directories.
14637
15446
  hardcode_action_F77=unsupported
14638
15447
fi
14639
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14640
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
15448
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15449
echo "${ECHO_T}$hardcode_action_F77" >&6; }
14641
15450
 
14642
15451
if test "$hardcode_action_F77" = relink; then
14643
15452
  # Fast installation is not supported
14704
15513
    module_cmds_F77 \
14705
15514
    module_expsym_cmds_F77 \
14706
15515
    lt_cv_prog_compiler_c_o_F77 \
 
15516
    fix_srcfile_path_F77 \
14707
15517
    exclude_expsyms_F77 \
14708
15518
    include_expsyms_F77; do
14709
15519
 
15024
15834
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15025
15835
 
15026
15836
# Fix the shell variable \$srcfile for the compiler.
15027
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
15837
fix_srcfile_path=$lt_fix_srcfile_path
15028
15838
 
15029
15839
# Set to yes if exported symbols are required.
15030
15840
always_export_symbols=$always_export_symbols_F77
15074
15884
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15075
15885
 
15076
15886
 
15077
 
 
15078
15887
# Source file extension for Java test sources.
15079
15888
ac_ext=java
15080
15889
 
15083
15892
objext_GCJ=$objext
15084
15893
 
15085
15894
# Code to be used in simple compile tests
15086
 
lt_simple_compile_test_code="class foo {}\n"
 
15895
lt_simple_compile_test_code="class foo {}"
15087
15896
 
15088
15897
# Code to be used in simple link tests
15089
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
15898
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15090
15899
 
15091
15900
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15092
15901
 
15102
15911
 
15103
15912
# save warnings/boilerplate of simple test code
15104
15913
ac_outfile=conftest.$ac_objext
15105
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15914
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15106
15915
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15107
15916
_lt_compiler_boilerplate=`cat conftest.err`
15108
15917
$rm conftest*
15109
15918
 
15110
15919
ac_outfile=conftest.$ac_objext
15111
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
15920
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15112
15921
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15113
15922
_lt_linker_boilerplate=`cat conftest.err`
15114
15923
$rm conftest*
15142
15951
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15143
15952
 
15144
15953
 
15145
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15146
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
15954
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
15955
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15147
15956
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15148
15957
  echo $ECHO_N "(cached) $ECHO_C" >&6
15149
15958
else
15150
15959
  lt_cv_prog_compiler_rtti_exceptions=no
15151
15960
  ac_outfile=conftest.$ac_objext
15152
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15961
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15153
15962
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15154
15963
   # Insert the option either (1) after the last *FLAGS variable, or
15155
15964
   # (2) before a word containing "conftest.", or (3) at the end.
15160
15969
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15161
15970
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15162
15971
   -e 's:$: $lt_compiler_flag:'`
15163
 
   (eval echo "\"\$as_me:15163: $lt_compile\"" >&5)
 
15972
   (eval echo "\"\$as_me:15972: $lt_compile\"" >&5)
15164
15973
   (eval "$lt_compile" 2>conftest.err)
15165
15974
   ac_status=$?
15166
15975
   cat conftest.err >&5
15167
 
   echo "$as_me:15167: \$? = $ac_status" >&5
 
15976
   echo "$as_me:15976: \$? = $ac_status" >&5
15168
15977
   if (exit $ac_status) && test -s "$ac_outfile"; then
15169
15978
     # The compiler can only warn and ignore the option if not recognized
15170
15979
     # So say no if there are warnings other than the usual output.
15177
15986
   $rm conftest*
15178
15987
 
15179
15988
fi
15180
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15181
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
15989
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
15990
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15182
15991
 
15183
15992
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15184
15993
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15192
16001
lt_prog_compiler_pic_GCJ=
15193
16002
lt_prog_compiler_static_GCJ=
15194
16003
 
15195
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15196
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16004
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16005
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15197
16006
 
15198
16007
  if test "$GCC" = yes; then
15199
16008
    lt_prog_compiler_wl_GCJ='-Wl,'
15215
16024
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15216
16025
      ;;
15217
16026
 
15218
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16027
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15219
16028
      # PIC is the default for these OSes.
15220
16029
      ;;
15221
16030
 
15222
 
    mingw* | pw32* | os2*)
 
16031
    mingw* | cygwin* | pw32* | os2*)
15223
16032
      # This hack is so that the source file can tell whether it is being
15224
16033
      # built for inclusion in a dll (and should export symbols for example).
 
16034
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16035
      # (--disable-auto-import) libraries
15225
16036
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15226
16037
      ;;
15227
16038
 
15231
16042
      lt_prog_compiler_pic_GCJ='-fno-common'
15232
16043
      ;;
15233
16044
 
15234
 
    interix3*)
 
16045
    interix[3-9]*)
15235
16046
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15236
16047
      # Instead, we relocate shared libraries at runtime.
15237
16048
      ;;
15289
16100
       esac
15290
16101
       ;;
15291
16102
 
15292
 
    mingw* | pw32* | os2*)
 
16103
    mingw* | cygwin* | pw32* | os2*)
15293
16104
      # This hack is so that the source file can tell whether it is being
15294
16105
      # built for inclusion in a dll (and should export symbols for example).
15295
16106
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15322
16133
      lt_prog_compiler_static_GCJ='-Bstatic'
15323
16134
      ;;
15324
16135
 
15325
 
    linux*)
 
16136
    linux* | k*bsd*-gnu)
15326
16137
      case $cc_basename in
15327
16138
      icc* | ecc*)
15328
16139
        lt_prog_compiler_wl_GCJ='-Wl,'
15341
16152
        # All Alpha code is PIC.
15342
16153
        lt_prog_compiler_static_GCJ='-non_shared'
15343
16154
        ;;
 
16155
      *)
 
16156
        case `$CC -V 2>&1 | sed 5q` in
 
16157
        *Sun\ C*)
 
16158
          # Sun C 5.9
 
16159
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16160
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16161
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16162
          ;;
 
16163
        *Sun\ F*)
 
16164
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16165
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16166
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16167
          lt_prog_compiler_wl_GCJ=''
 
16168
          ;;
 
16169
        esac
 
16170
        ;;
15344
16171
      esac
15345
16172
      ;;
15346
16173
 
15350
16177
      lt_prog_compiler_static_GCJ='-non_shared'
15351
16178
      ;;
15352
16179
 
 
16180
    rdos*)
 
16181
      lt_prog_compiler_static_GCJ='-non_shared'
 
16182
      ;;
 
16183
 
15353
16184
    solaris*)
15354
16185
      lt_prog_compiler_pic_GCJ='-KPIC'
15355
16186
      lt_prog_compiler_static_GCJ='-Bstatic'
15402
16233
    esac
15403
16234
  fi
15404
16235
 
15405
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15406
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16236
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16237
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15407
16238
 
15408
16239
#
15409
16240
# Check to make sure the PIC flag actually works.
15410
16241
#
15411
16242
if test -n "$lt_prog_compiler_pic_GCJ"; then
15412
16243
 
15413
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15414
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16244
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16245
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15415
16246
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15416
16247
  echo $ECHO_N "(cached) $ECHO_C" >&6
15417
16248
else
15418
16249
  lt_prog_compiler_pic_works_GCJ=no
15419
16250
  ac_outfile=conftest.$ac_objext
15420
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16251
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15421
16252
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15422
16253
   # Insert the option either (1) after the last *FLAGS variable, or
15423
16254
   # (2) before a word containing "conftest.", or (3) at the end.
15428
16259
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15429
16260
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15430
16261
   -e 's:$: $lt_compiler_flag:'`
15431
 
   (eval echo "\"\$as_me:15431: $lt_compile\"" >&5)
 
16262
   (eval echo "\"\$as_me:16262: $lt_compile\"" >&5)
15432
16263
   (eval "$lt_compile" 2>conftest.err)
15433
16264
   ac_status=$?
15434
16265
   cat conftest.err >&5
15435
 
   echo "$as_me:15435: \$? = $ac_status" >&5
 
16266
   echo "$as_me:16266: \$? = $ac_status" >&5
15436
16267
   if (exit $ac_status) && test -s "$ac_outfile"; then
15437
16268
     # The compiler can only warn and ignore the option if not recognized
15438
16269
     # So say no if there are warnings other than the usual output.
15445
16276
   $rm conftest*
15446
16277
 
15447
16278
fi
15448
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15449
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16279
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16280
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15450
16281
 
15451
16282
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15452
16283
    case $lt_prog_compiler_pic_GCJ in
15473
16304
# Check to make sure the static flag actually works.
15474
16305
#
15475
16306
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15476
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15477
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
16307
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16308
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15478
16309
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15479
16310
  echo $ECHO_N "(cached) $ECHO_C" >&6
15480
16311
else
15481
16312
  lt_prog_compiler_static_works_GCJ=no
15482
16313
   save_LDFLAGS="$LDFLAGS"
15483
16314
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15484
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16315
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15485
16316
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15486
16317
     # The linker can only warn and ignore the option if not recognized
15487
16318
     # So say no if there are warnings
15501
16332
   LDFLAGS="$save_LDFLAGS"
15502
16333
 
15503
16334
fi
15504
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15505
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
16335
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
16336
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
15506
16337
 
15507
16338
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15508
16339
    :
15511
16342
fi
15512
16343
 
15513
16344
 
15514
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15515
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16345
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16346
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15516
16347
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15517
16348
  echo $ECHO_N "(cached) $ECHO_C" >&6
15518
16349
else
15521
16352
   mkdir conftest
15522
16353
   cd conftest
15523
16354
   mkdir out
15524
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16355
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15525
16356
 
15526
16357
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15527
16358
   # Insert the option either (1) after the last *FLAGS variable, or
15532
16363
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15533
16364
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15534
16365
   -e 's:$: $lt_compiler_flag:'`
15535
 
   (eval echo "\"\$as_me:15535: $lt_compile\"" >&5)
 
16366
   (eval echo "\"\$as_me:16366: $lt_compile\"" >&5)
15536
16367
   (eval "$lt_compile" 2>out/conftest.err)
15537
16368
   ac_status=$?
15538
16369
   cat out/conftest.err >&5
15539
 
   echo "$as_me:15539: \$? = $ac_status" >&5
 
16370
   echo "$as_me:16370: \$? = $ac_status" >&5
15540
16371
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15541
16372
   then
15542
16373
     # The compiler can only warn and ignore the option if not recognized
15558
16389
   $rm conftest*
15559
16390
 
15560
16391
fi
15561
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15562
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16392
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16393
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15563
16394
 
15564
16395
 
15565
16396
hard_links="nottested"
15566
16397
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15567
16398
  # do not overwrite the value of need_locks provided by the user
15568
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15569
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16399
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16400
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15570
16401
  hard_links=yes
15571
16402
  $rm conftest*
15572
16403
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15573
16404
  touch conftest.a
15574
16405
  ln conftest.a conftest.b 2>&5 || hard_links=no
15575
16406
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15576
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15577
 
echo "${ECHO_T}$hard_links" >&6
 
16407
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16408
echo "${ECHO_T}$hard_links" >&6; }
15578
16409
  if test "$hard_links" = no; then
15579
16410
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15580
16411
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15584
16415
  need_locks=no
15585
16416
fi
15586
16417
 
15587
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15588
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16418
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16419
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15589
16420
 
15590
16421
  runpath_var=
15591
16422
  allow_undefined_flag_GCJ=
15728
16559
      allow_undefined_flag_GCJ=unsupported
15729
16560
      always_export_symbols_GCJ=no
15730
16561
      enable_shared_with_static_runtimes_GCJ=yes
15731
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16562
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15732
16563
 
15733
16564
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15734
16565
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15746
16577
      fi
15747
16578
      ;;
15748
16579
 
15749
 
    interix3*)
 
16580
    interix[3-9]*)
15750
16581
      hardcode_direct_GCJ=no
15751
16582
      hardcode_shlibpath_var_GCJ=no
15752
16583
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15761
16592
      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'
15762
16593
      ;;
15763
16594
 
15764
 
    linux*)
 
16595
    gnu* | linux* | k*bsd*-gnu)
15765
16596
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15766
16597
        tmp_addflag=
15767
16598
        case $cc_basename,$host_cpu in
15779
16610
        ifc* | ifort*)                  # Intel Fortran compiler
15780
16611
          tmp_addflag=' -nofor_main' ;;
15781
16612
        esac
15782
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16613
        case `$CC -V 2>&1 | sed 5q` in
 
16614
        *Sun\ C*)                       # Sun C 5.9
 
16615
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16616
          tmp_sharedflag='-G' ;;
 
16617
        *Sun\ F*)                       # Sun Fortran 8.3
 
16618
          tmp_sharedflag='-G' ;;
 
16619
        *)
 
16620
          tmp_sharedflag='-shared' ;;
 
16621
        esac
 
16622
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15783
16623
 
15784
16624
        if test $supports_anon_versioning = yes; then
15785
16625
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15786
16626
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15787
16627
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15788
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16628
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15789
16629
        fi
15790
16630
        link_all_deplibs_GCJ=no
15791
16631
      else
15793
16633
      fi
15794
16634
      ;;
15795
16635
 
15796
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
16636
    netbsd* | netbsdelf*-gnu)
15797
16637
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15798
16638
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15799
16639
        wlarc=
15945
16785
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15946
16786
          then
15947
16787
          # We have reworked collect2
15948
 
          hardcode_direct_GCJ=yes
 
16788
          :
15949
16789
          else
15950
16790
          # We have old collect2
15951
16791
          hardcode_direct_GCJ=unsupported
16001
16841
}
16002
16842
_ACEOF
16003
16843
rm -f conftest.$ac_objext conftest$ac_exeext
16004
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16005
 
  (eval $ac_link) 2>conftest.er1
 
16844
if { (ac_try="$ac_link"
 
16845
case "(($ac_try" in
 
16846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16847
  *) ac_try_echo=$ac_try;;
 
16848
esac
 
16849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16850
  (eval "$ac_link") 2>conftest.er1
16006
16851
  ac_status=$?
16007
16852
  grep -v '^ *+' conftest.er1 >conftest.err
16008
16853
  rm -f conftest.er1
16009
16854
  cat conftest.err >&5
16010
16855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011
 
  (exit $ac_status); } &&
16012
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16013
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014
 
  (eval $ac_try) 2>&5
16015
 
  ac_status=$?
16016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017
 
  (exit $ac_status); }; } &&
16018
 
         { ac_try='test -s conftest$ac_exeext'
16019
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020
 
  (eval $ac_try) 2>&5
16021
 
  ac_status=$?
16022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023
 
  (exit $ac_status); }; }; then
 
16856
  (exit $ac_status); } && {
 
16857
         test -z "$ac_c_werror_flag" ||
 
16858
         test ! -s conftest.err
 
16859
       } && test -s conftest$ac_exeext &&
 
16860
       $as_test_x conftest$ac_exeext; then
16024
16861
 
16025
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16026
 
}'`
 
16862
lt_aix_libpath_sed='
 
16863
    /Import File Strings/,/^$/ {
 
16864
        /^0/ {
 
16865
            s/^0  *\(.*\)$/\1/
 
16866
            p
 
16867
        }
 
16868
    }'
 
16869
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16027
16870
# Check for a 64-bit object if we didn't find anything.
16028
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16029
 
}'`; fi
 
16871
if test -z "$aix_libpath"; then
 
16872
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16873
fi
16030
16874
else
16031
16875
  echo "$as_me: failed program was:" >&5
16032
16876
sed 's/^/| /' conftest.$ac_ext >&5
16033
16877
 
 
16878
 
16034
16879
fi
16035
 
rm -f conftest.err conftest.$ac_objext \
 
16880
 
 
16881
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16036
16882
      conftest$ac_exeext conftest.$ac_ext
16037
16883
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16038
16884
 
16061
16907
}
16062
16908
_ACEOF
16063
16909
rm -f conftest.$ac_objext conftest$ac_exeext
16064
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16065
 
  (eval $ac_link) 2>conftest.er1
 
16910
if { (ac_try="$ac_link"
 
16911
case "(($ac_try" in
 
16912
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16913
  *) ac_try_echo=$ac_try;;
 
16914
esac
 
16915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16916
  (eval "$ac_link") 2>conftest.er1
16066
16917
  ac_status=$?
16067
16918
  grep -v '^ *+' conftest.er1 >conftest.err
16068
16919
  rm -f conftest.er1
16069
16920
  cat conftest.err >&5
16070
16921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071
 
  (exit $ac_status); } &&
16072
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074
 
  (eval $ac_try) 2>&5
16075
 
  ac_status=$?
16076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077
 
  (exit $ac_status); }; } &&
16078
 
         { ac_try='test -s conftest$ac_exeext'
16079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080
 
  (eval $ac_try) 2>&5
16081
 
  ac_status=$?
16082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083
 
  (exit $ac_status); }; }; then
 
16922
  (exit $ac_status); } && {
 
16923
         test -z "$ac_c_werror_flag" ||
 
16924
         test ! -s conftest.err
 
16925
       } && test -s conftest$ac_exeext &&
 
16926
       $as_test_x conftest$ac_exeext; then
16084
16927
 
16085
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16086
 
}'`
 
16928
lt_aix_libpath_sed='
 
16929
    /Import File Strings/,/^$/ {
 
16930
        /^0/ {
 
16931
            s/^0  *\(.*\)$/\1/
 
16932
            p
 
16933
        }
 
16934
    }'
 
16935
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16087
16936
# Check for a 64-bit object if we didn't find anything.
16088
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16089
 
}'`; fi
 
16937
if test -z "$aix_libpath"; then
 
16938
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16939
fi
16090
16940
else
16091
16941
  echo "$as_me: failed program was:" >&5
16092
16942
sed 's/^/| /' conftest.$ac_ext >&5
16093
16943
 
 
16944
 
16094
16945
fi
16095
 
rm -f conftest.err conftest.$ac_objext \
 
16946
 
 
16947
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16096
16948
      conftest$ac_exeext conftest.$ac_ext
16097
16949
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16098
16950
 
16138
16990
      # The linker will automatically build a .lib file if we build a DLL.
16139
16991
      old_archive_From_new_cmds_GCJ='true'
16140
16992
      # FIXME: Should let the user specify the lib program.
16141
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
16993
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16142
16994
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16143
16995
      enable_shared_with_static_runtimes_GCJ=yes
16144
16996
      ;;
16180
17032
      case $cc_basename in
16181
17033
        xlc*)
16182
17034
         output_verbose_link_cmd='echo'
16183
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17035
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16184
17036
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16185
17037
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16186
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17038
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16187
17039
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16188
17040
          ;;
16189
17041
       *)
16230
17082
      hardcode_shlibpath_var_GCJ=no
16231
17083
      ;;
16232
17084
 
16233
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
16234
 
    kfreebsd*-gnu)
16235
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16236
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16237
 
      hardcode_direct_GCJ=yes
16238
 
      hardcode_shlibpath_var_GCJ=no
16239
 
      link_all_deplibs_GCJ=no
16240
 
      ;;
16241
 
 
16242
17085
    hpux9*)
16243
17086
      if test "$GCC" = yes; then
16244
17087
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16334
17177
      link_all_deplibs_GCJ=yes
16335
17178
      ;;
16336
17179
 
16337
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17180
    netbsd* | netbsdelf*-gnu)
16338
17181
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16339
17182
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16340
17183
      else
16354
17197
      ;;
16355
17198
 
16356
17199
    openbsd*)
16357
 
      hardcode_direct_GCJ=yes
16358
 
      hardcode_shlibpath_var_GCJ=no
16359
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16360
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16361
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16362
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16363
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17200
      if test -f /usr/libexec/ld.so; then
 
17201
        hardcode_direct_GCJ=yes
 
17202
        hardcode_shlibpath_var_GCJ=no
 
17203
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17204
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17205
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17206
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17207
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17208
        else
 
17209
          case $host_os in
 
17210
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17211
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17212
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17213
             ;;
 
17214
           *)
 
17215
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17216
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17217
             ;;
 
17218
          esac
 
17219
        fi
16364
17220
      else
16365
 
       case $host_os in
16366
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16367
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16368
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16369
 
           ;;
16370
 
         *)
16371
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16372
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16373
 
           ;;
16374
 
       esac
 
17221
        ld_shlibs_GCJ=no
16375
17222
      fi
16376
17223
      ;;
16377
17224
 
16430
17277
      case $host_os in
16431
17278
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16432
17279
      *)
16433
 
        # The compiler driver will combine linker options so we
16434
 
        # cannot just pass the convience library names through
16435
 
        # without $wl, iff we do not link with $LD.
16436
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17280
        # The compiler driver will combine and reorder linker options,
 
17281
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17282
        # but is careful enough not to reorder.
16437
17283
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16438
 
        case $wlarc in
16439
 
        '')
16440
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16441
 
        *)
16442
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16443
 
        esac ;;
 
17284
        if test "$GCC" = yes; then
 
17285
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17286
        else
 
17287
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
17288
        fi
 
17289
        ;;
16444
17290
      esac
16445
17291
      link_all_deplibs_GCJ=yes
16446
17292
      ;;
16497
17343
      fi
16498
17344
      ;;
16499
17345
 
16500
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17346
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16501
17347
      no_undefined_flag_GCJ='${wl}-z,text'
16502
17348
      archive_cmds_need_lc_GCJ=no
16503
17349
      hardcode_shlibpath_var_GCJ=no
16550
17396
    esac
16551
17397
  fi
16552
17398
 
16553
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16554
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17399
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17400
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16555
17401
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16556
17402
 
16557
17403
#
16571
17417
      # Test whether the compiler implicitly links with -lc since on some
16572
17418
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16573
17419
      # to ld, don't add -lc before -lgcc.
16574
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16575
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17420
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17421
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16576
17422
      $rm conftest*
16577
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17423
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16578
17424
 
16579
17425
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580
17426
  (eval $ac_compile) 2>&5
16609
17455
        cat conftest.err 1>&5
16610
17456
      fi
16611
17457
      $rm conftest*
16612
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16613
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17458
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17459
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16614
17460
      ;;
16615
17461
    esac
16616
17462
  fi
16617
17463
  ;;
16618
17464
esac
16619
17465
 
16620
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16621
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17466
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17467
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16622
17468
library_names_spec=
16623
17469
libname_spec='lib$name'
16624
17470
soname_spec=
16632
17478
version_type=none
16633
17479
dynamic_linker="$host_os ld.so"
16634
17480
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16635
 
if test "$GCC" = yes; then
16636
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16637
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16638
 
    # if the path contains ";" then we assume it to be the separator
16639
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16640
 
    # assumed that no part of a normal pathname contains ";" but that should
16641
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16642
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16643
 
  else
16644
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16645
 
  fi
16646
 
else
16647
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16648
 
fi
 
17481
 
16649
17482
need_lib_prefix=unknown
16650
17483
hardcode_into_libs=no
16651
17484
 
16802
17635
  shlibpath_overrides_runpath=yes
16803
17636
  shlibpath_var=DYLD_LIBRARY_PATH
16804
17637
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16805
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16806
 
  if test "$GCC" = yes; then
16807
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16808
 
  else
16809
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16810
 
  fi
 
17638
 
16811
17639
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16812
17640
  ;;
16813
17641
 
16824
17652
  dynamic_linker=no
16825
17653
  ;;
16826
17654
 
16827
 
kfreebsd*-gnu)
16828
 
  version_type=linux
16829
 
  need_lib_prefix=no
16830
 
  need_version=no
16831
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16832
 
  soname_spec='${libname}${release}${shared_ext}$major'
16833
 
  shlibpath_var=LD_LIBRARY_PATH
16834
 
  shlibpath_overrides_runpath=no
16835
 
  hardcode_into_libs=yes
16836
 
  dynamic_linker='GNU ld.so'
16837
 
  ;;
16838
 
 
16839
17655
freebsd* | dragonfly*)
16840
17656
  # DragonFly does not have aout.  When/if they implement a new
16841
17657
  # versioning mechanism, adjust this.
16873
17689
    shlibpath_overrides_runpath=no
16874
17690
    hardcode_into_libs=yes
16875
17691
    ;;
16876
 
  freebsd*) # from 4.6 on
 
17692
  *) # from 4.6 on, and DragonFly
16877
17693
    shlibpath_overrides_runpath=yes
16878
17694
    hardcode_into_libs=yes
16879
17695
    ;;
16936
17752
  postinstall_cmds='chmod 555 $lib'
16937
17753
  ;;
16938
17754
 
16939
 
interix3*)
 
17755
interix[3-9]*)
16940
17756
  version_type=linux
16941
17757
  need_lib_prefix=no
16942
17758
  need_version=no
16991
17807
  ;;
16992
17808
 
16993
17809
# This must be Linux ELF.
16994
 
linux*)
 
17810
linux* | k*bsd*-gnu)
16995
17811
  version_type=linux
16996
17812
  need_lib_prefix=no
16997
17813
  need_version=no
17007
17823
 
17008
17824
  # Append ld.so.conf contents to the search path
17009
17825
  if test -f /etc/ld.so.conf; then
17010
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
17826
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17011
17827
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17012
17828
  fi
17013
17829
 
17032
17848
  dynamic_linker='NetBSD ld.elf_so'
17033
17849
  ;;
17034
17850
 
17035
 
knetbsd*-gnu)
17036
 
  version_type=linux
17037
 
  need_lib_prefix=no
17038
 
  need_version=no
17039
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17040
 
  soname_spec='${libname}${release}${shared_ext}$major'
17041
 
  shlibpath_var=LD_LIBRARY_PATH
17042
 
  shlibpath_overrides_runpath=no
17043
 
  hardcode_into_libs=yes
17044
 
  dynamic_linker='GNU ld.so'
17045
 
  ;;
17046
 
 
17047
17851
netbsd*)
17048
17852
  version_type=sunos
17049
17853
  need_lib_prefix=no
17125
17929
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17126
17930
  ;;
17127
17931
 
 
17932
rdos*)
 
17933
  dynamic_linker=no
 
17934
  ;;
 
17935
 
17128
17936
solaris*)
17129
17937
  version_type=linux
17130
17938
  need_lib_prefix=no
17217
18025
  dynamic_linker=no
17218
18026
  ;;
17219
18027
esac
17220
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17221
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18028
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18029
echo "${ECHO_T}$dynamic_linker" >&6; }
17222
18030
test "$dynamic_linker" = no && can_build_shared=no
17223
18031
 
17224
18032
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17226
18034
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17227
18035
fi
17228
18036
 
17229
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17230
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18037
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18038
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17231
18039
hardcode_action_GCJ=
17232
18040
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17233
18041
   test -n "$runpath_var_GCJ" || \
17251
18059
  # directories.
17252
18060
  hardcode_action_GCJ=unsupported
17253
18061
fi
17254
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17255
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18062
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18063
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17256
18064
 
17257
18065
if test "$hardcode_action_GCJ" = relink; then
17258
18066
  # Fast installation is not supported
17319
18127
    module_cmds_GCJ \
17320
18128
    module_expsym_cmds_GCJ \
17321
18129
    lt_cv_prog_compiler_c_o_GCJ \
 
18130
    fix_srcfile_path_GCJ \
17322
18131
    exclude_expsyms_GCJ \
17323
18132
    include_expsyms_GCJ; do
17324
18133
 
17639
18448
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17640
18449
 
17641
18450
# Fix the shell variable \$srcfile for the compiler.
17642
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
18451
fix_srcfile_path=$lt_fix_srcfile_path
17643
18452
 
17644
18453
# Set to yes if exported symbols are required.
17645
18454
always_export_symbols=$always_export_symbols_GCJ
17688
18497
      RC)
17689
18498
 
17690
18499
 
17691
 
 
17692
18500
# Source file extension for RC test sources.
17693
18501
ac_ext=rc
17694
18502
 
17697
18505
objext_RC=$objext
17698
18506
 
17699
18507
# Code to be used in simple compile tests
17700
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
18508
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
17701
18509
 
17702
18510
# Code to be used in simple link tests
17703
18511
lt_simple_link_test_code="$lt_simple_compile_test_code"
17716
18524
 
17717
18525
# save warnings/boilerplate of simple test code
17718
18526
ac_outfile=conftest.$ac_objext
17719
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18527
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17720
18528
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17721
18529
_lt_compiler_boilerplate=`cat conftest.err`
17722
18530
$rm conftest*
17723
18531
 
17724
18532
ac_outfile=conftest.$ac_objext
17725
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18533
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17726
18534
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17727
18535
_lt_linker_boilerplate=`cat conftest.err`
17728
18536
$rm conftest*
17800
18608
    module_cmds_RC \
17801
18609
    module_expsym_cmds_RC \
17802
18610
    lt_cv_prog_compiler_c_o_RC \
 
18611
    fix_srcfile_path_RC \
17803
18612
    exclude_expsyms_RC \
17804
18613
    include_expsyms_RC; do
17805
18614
 
18120
18929
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18121
18930
 
18122
18931
# Fix the shell variable \$srcfile for the compiler.
18123
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
18932
fix_srcfile_path=$lt_fix_srcfile_path
18124
18933
 
18125
18934
# Set to yes if exported symbols are required.
18126
18935
always_export_symbols=$always_export_symbols_RC
18232
19041
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18233
19042
# OS/2's system install, which has a completely different semantic
18234
19043
# ./install, which can be erroneously created by make from ./install.sh.
18235
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18236
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
19044
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
19045
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
18237
19046
if test -z "$INSTALL"; then
18238
19047
if test "${ac_cv_path_install+set}" = set; then
18239
19048
  echo $ECHO_N "(cached) $ECHO_C" >&6
18255
19064
    # by default.
18256
19065
    for ac_prog in ginstall scoinst install; do
18257
19066
      for ac_exec_ext in '' $ac_executable_extensions; do
18258
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
19067
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18259
19068
          if test $ac_prog = install &&
18260
19069
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18261
19070
            # AIX install.  It has an incompatible calling convention.
18274
19083
    ;;
18275
19084
esac
18276
19085
done
 
19086
IFS=$as_save_IFS
18277
19087
 
18278
19088
 
18279
19089
fi
18280
19090
  if test "${ac_cv_path_install+set}" = set; then
18281
19091
    INSTALL=$ac_cv_path_install
18282
19092
  else
18283
 
    # As a last resort, use the slow shell script.  We don't cache a
18284
 
    # path for INSTALL within a source directory, because that will
 
19093
    # As a last resort, use the slow shell script.  Don't cache a
 
19094
    # value for INSTALL within a source directory, because that will
18285
19095
    # break other packages using the cache if that directory is
18286
 
    # removed, or if the path is relative.
 
19096
    # removed, or if the value is a relative name.
18287
19097
    INSTALL=$ac_install_sh
18288
19098
  fi
18289
19099
fi
18290
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
18291
 
echo "${ECHO_T}$INSTALL" >&6
 
19100
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
19101
echo "${ECHO_T}$INSTALL" >&6; }
18292
19102
 
18293
19103
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18294
19104
# It thinks the first close brace ends the variable substitution.
18298
19108
 
18299
19109
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18300
19110
 
18301
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
18302
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
19111
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
19112
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
18303
19113
LN_S=$as_ln_s
18304
19114
if test "$LN_S" = "ln -s"; then
18305
 
  echo "$as_me:$LINENO: result: yes" >&5
18306
 
echo "${ECHO_T}yes" >&6
 
19115
  { echo "$as_me:$LINENO: result: yes" >&5
 
19116
echo "${ECHO_T}yes" >&6; }
18307
19117
else
18308
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18309
 
echo "${ECHO_T}no, using $LN_S" >&6
 
19118
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
19119
echo "${ECHO_T}no, using $LN_S" >&6; }
18310
19120
fi
18311
19121
 
18312
19122
# Extract the first word of "ar", so it can be a program name with args.
18313
19123
set dummy ar; ac_word=$2
18314
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18315
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19124
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19125
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18316
19126
if test "${ac_cv_path_AR+set}" = set; then
18317
19127
  echo $ECHO_N "(cached) $ECHO_C" >&6
18318
19128
else
18327
19137
  IFS=$as_save_IFS
18328
19138
  test -z "$as_dir" && as_dir=.
18329
19139
  for ac_exec_ext in '' $ac_executable_extensions; do
18330
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19140
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18331
19141
    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18332
19142
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18333
19143
    break 2
18334
19144
  fi
18335
19145
done
18336
19146
done
 
19147
IFS=$as_save_IFS
18337
19148
 
18338
19149
  test -z "$ac_cv_path_AR" && ac_cv_path_AR="no"
18339
19150
  ;;
18340
19151
esac
18341
19152
fi
18342
19153
AR=$ac_cv_path_AR
18343
 
 
18344
19154
if test -n "$AR"; then
18345
 
  echo "$as_me:$LINENO: result: $AR" >&5
18346
 
echo "${ECHO_T}$AR" >&6
 
19155
  { echo "$as_me:$LINENO: result: $AR" >&5
 
19156
echo "${ECHO_T}$AR" >&6; }
18347
19157
else
18348
 
  echo "$as_me:$LINENO: result: no" >&5
18349
 
echo "${ECHO_T}no" >&6
 
19158
  { echo "$as_me:$LINENO: result: no" >&5
 
19159
echo "${ECHO_T}no" >&6; }
18350
19160
fi
18351
19161
 
 
19162
 
18352
19163
if [ $AR = "no" ] ; then
18353
19164
    { { echo "$as_me:$LINENO: error: \"Could not find ar - needed to create a library\"" >&5
18354
19165
echo "$as_me: error: \"Could not find ar - needed to create a library\"" >&2;}
18355
19166
   { (exit 1); exit 1; }; };
18356
19167
fi
18357
19168
 
18358
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18359
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
19169
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
19170
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
18360
19171
if test "${ac_cv_c_bigendian+set}" = set; then
18361
19172
  echo $ECHO_N "(cached) $ECHO_C" >&6
18362
19173
else
18373
19184
int
18374
19185
main ()
18375
19186
{
18376
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
19187
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
19188
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
18377
19189
 bogus endian macros
18378
19190
#endif
18379
19191
 
18382
19194
}
18383
19195
_ACEOF
18384
19196
rm -f conftest.$ac_objext
18385
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18386
 
  (eval $ac_compile) 2>conftest.er1
 
19197
if { (ac_try="$ac_compile"
 
19198
case "(($ac_try" in
 
19199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19200
  *) ac_try_echo=$ac_try;;
 
19201
esac
 
19202
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19203
  (eval "$ac_compile") 2>conftest.er1
18387
19204
  ac_status=$?
18388
19205
  grep -v '^ *+' conftest.er1 >conftest.err
18389
19206
  rm -f conftest.er1
18390
19207
  cat conftest.err >&5
18391
19208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392
 
  (exit $ac_status); } &&
18393
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395
 
  (eval $ac_try) 2>&5
18396
 
  ac_status=$?
18397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398
 
  (exit $ac_status); }; } &&
18399
 
         { ac_try='test -s conftest.$ac_objext'
18400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401
 
  (eval $ac_try) 2>&5
18402
 
  ac_status=$?
18403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404
 
  (exit $ac_status); }; }; then
 
19209
  (exit $ac_status); } && {
 
19210
         test -z "$ac_c_werror_flag" ||
 
19211
         test ! -s conftest.err
 
19212
       } && test -s conftest.$ac_objext; then
18405
19213
  # It does; now see whether it defined to BIG_ENDIAN or not.
18406
19214
cat >conftest.$ac_ext <<_ACEOF
18407
19215
/* confdefs.h.  */
18424
19232
}
18425
19233
_ACEOF
18426
19234
rm -f conftest.$ac_objext
18427
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428
 
  (eval $ac_compile) 2>conftest.er1
 
19235
if { (ac_try="$ac_compile"
 
19236
case "(($ac_try" in
 
19237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19238
  *) ac_try_echo=$ac_try;;
 
19239
esac
 
19240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19241
  (eval "$ac_compile") 2>conftest.er1
18429
19242
  ac_status=$?
18430
19243
  grep -v '^ *+' conftest.er1 >conftest.err
18431
19244
  rm -f conftest.er1
18432
19245
  cat conftest.err >&5
18433
19246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434
 
  (exit $ac_status); } &&
18435
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437
 
  (eval $ac_try) 2>&5
18438
 
  ac_status=$?
18439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440
 
  (exit $ac_status); }; } &&
18441
 
         { ac_try='test -s conftest.$ac_objext'
18442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443
 
  (eval $ac_try) 2>&5
18444
 
  ac_status=$?
18445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446
 
  (exit $ac_status); }; }; then
 
19247
  (exit $ac_status); } && {
 
19248
         test -z "$ac_c_werror_flag" ||
 
19249
         test ! -s conftest.err
 
19250
       } && test -s conftest.$ac_objext; then
18447
19251
  ac_cv_c_bigendian=yes
18448
19252
else
18449
19253
  echo "$as_me: failed program was:" >&5
18450
19254
sed 's/^/| /' conftest.$ac_ext >&5
18451
19255
 
18452
 
ac_cv_c_bigendian=no
 
19256
        ac_cv_c_bigendian=no
18453
19257
fi
18454
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19258
 
 
19259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455
19260
else
18456
19261
  echo "$as_me: failed program was:" >&5
18457
19262
sed 's/^/| /' conftest.$ac_ext >&5
18458
19263
 
18459
 
# It does not; compile a test program.
 
19264
        # It does not; compile a test program.
18460
19265
if test "$cross_compiling" = yes; then
18461
19266
  # try to guess the endianness by grepping values into an object file
18462
19267
  ac_cv_c_bigendian=unknown
18466
19271
cat confdefs.h >>conftest.$ac_ext
18467
19272
cat >>conftest.$ac_ext <<_ACEOF
18468
19273
/* end confdefs.h.  */
18469
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18470
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
19274
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
19275
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18471
19276
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
18472
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18473
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
19277
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
19278
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18474
19279
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
18475
19280
int
18476
19281
main ()
18481
19286
}
18482
19287
_ACEOF
18483
19288
rm -f conftest.$ac_objext
18484
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18485
 
  (eval $ac_compile) 2>conftest.er1
 
19289
if { (ac_try="$ac_compile"
 
19290
case "(($ac_try" in
 
19291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19292
  *) ac_try_echo=$ac_try;;
 
19293
esac
 
19294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19295
  (eval "$ac_compile") 2>conftest.er1
18486
19296
  ac_status=$?
18487
19297
  grep -v '^ *+' conftest.er1 >conftest.err
18488
19298
  rm -f conftest.er1
18489
19299
  cat conftest.err >&5
18490
19300
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491
 
  (exit $ac_status); } &&
18492
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18493
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494
 
  (eval $ac_try) 2>&5
18495
 
  ac_status=$?
18496
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497
 
  (exit $ac_status); }; } &&
18498
 
         { ac_try='test -s conftest.$ac_objext'
18499
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18500
 
  (eval $ac_try) 2>&5
18501
 
  ac_status=$?
18502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503
 
  (exit $ac_status); }; }; then
 
19301
  (exit $ac_status); } && {
 
19302
         test -z "$ac_c_werror_flag" ||
 
19303
         test ! -s conftest.err
 
19304
       } && test -s conftest.$ac_objext; then
18504
19305
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
18505
19306
  ac_cv_c_bigendian=yes
18506
19307
fi
18516
19317
  echo "$as_me: failed program was:" >&5
18517
19318
sed 's/^/| /' conftest.$ac_ext >&5
18518
19319
 
 
19320
 
18519
19321
fi
18520
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19322
 
 
19323
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18521
19324
else
18522
19325
  cat >conftest.$ac_ext <<_ACEOF
18523
19326
/* confdefs.h.  */
18525
19328
cat confdefs.h >>conftest.$ac_ext
18526
19329
cat >>conftest.$ac_ext <<_ACEOF
18527
19330
/* end confdefs.h.  */
 
19331
$ac_includes_default
18528
19332
int
18529
19333
main ()
18530
19334
{
 
19335
 
18531
19336
  /* Are we little or big endian?  From Harbison&Steele.  */
18532
19337
  union
18533
19338
  {
18534
 
    long l;
18535
 
    char c[sizeof (long)];
 
19339
    long int l;
 
19340
    char c[sizeof (long int)];
18536
19341
  } u;
18537
19342
  u.l = 1;
18538
 
  exit (u.c[sizeof (long) - 1] == 1);
 
19343
  return u.c[sizeof (long int) - 1] == 1;
 
19344
 
 
19345
  ;
 
19346
  return 0;
18539
19347
}
18540
19348
_ACEOF
18541
19349
rm -f conftest$ac_exeext
18542
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18543
 
  (eval $ac_link) 2>&5
 
19350
if { (ac_try="$ac_link"
 
19351
case "(($ac_try" in
 
19352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19353
  *) ac_try_echo=$ac_try;;
 
19354
esac
 
19355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19356
  (eval "$ac_link") 2>&5
18544
19357
  ac_status=$?
18545
19358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546
19359
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18547
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548
 
  (eval $ac_try) 2>&5
 
19360
  { (case "(($ac_try" in
 
19361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19362
  *) ac_try_echo=$ac_try;;
 
19363
esac
 
19364
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19365
  (eval "$ac_try") 2>&5
18549
19366
  ac_status=$?
18550
19367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551
19368
  (exit $ac_status); }; }; then
18558
19375
( exit $ac_status )
18559
19376
ac_cv_c_bigendian=yes
18560
19377
fi
18561
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18562
 
fi
18563
 
fi
18564
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18565
 
fi
18566
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18567
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
19378
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
19379
fi
 
19380
 
 
19381
 
 
19382
fi
 
19383
 
 
19384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19385
fi
 
19386
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
19387
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
18568
19388
case $ac_cv_c_bigendian in
18569
19389
  yes)
18570
19390
 
18584
19404
 
18585
19405
 
18586
19406
 
18587
 
echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
18588
 
echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
 
19407
{ echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
 
19408
echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6; }
18589
19409
if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
18590
19410
  echo $ECHO_N "(cached) $ECHO_C" >&6
18591
19411
else
18598
19418
cat >>conftest.$ac_ext <<_ACEOF
18599
19419
/* end confdefs.h.  */
18600
19420
 
18601
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19421
/* Override any GCC internal prototype to avoid an error.
 
19422
   Use char because int might match the return type of a GCC
 
19423
   builtin and then its argument prototype would still apply.  */
18602
19424
#ifdef __cplusplus
18603
19425
extern "C"
18604
19426
#endif
18605
 
/* We use char because int might match the return type of a gcc2
18606
 
   builtin and then its argument prototype would still apply.  */
18607
19427
char snd_pcm_open ();
18608
19428
int
18609
19429
main ()
18610
19430
{
18611
 
snd_pcm_open ();
 
19431
return snd_pcm_open ();
18612
19432
  ;
18613
19433
  return 0;
18614
19434
}
18615
19435
_ACEOF
18616
19436
rm -f conftest.$ac_objext conftest$ac_exeext
18617
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18618
 
  (eval $ac_link) 2>conftest.er1
 
19437
if { (ac_try="$ac_link"
 
19438
case "(($ac_try" in
 
19439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19440
  *) ac_try_echo=$ac_try;;
 
19441
esac
 
19442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19443
  (eval "$ac_link") 2>conftest.er1
18619
19444
  ac_status=$?
18620
19445
  grep -v '^ *+' conftest.er1 >conftest.err
18621
19446
  rm -f conftest.er1
18622
19447
  cat conftest.err >&5
18623
19448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624
 
  (exit $ac_status); } &&
18625
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18626
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627
 
  (eval $ac_try) 2>&5
18628
 
  ac_status=$?
18629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630
 
  (exit $ac_status); }; } &&
18631
 
         { ac_try='test -s conftest$ac_exeext'
18632
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633
 
  (eval $ac_try) 2>&5
18634
 
  ac_status=$?
18635
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636
 
  (exit $ac_status); }; }; then
 
19449
  (exit $ac_status); } && {
 
19450
         test -z "$ac_c_werror_flag" ||
 
19451
         test ! -s conftest.err
 
19452
       } && test -s conftest$ac_exeext &&
 
19453
       $as_test_x conftest$ac_exeext; then
18637
19454
  ac_cv_lib_asound_snd_pcm_open=yes
18638
19455
else
18639
19456
  echo "$as_me: failed program was:" >&5
18640
19457
sed 's/^/| /' conftest.$ac_ext >&5
18641
19458
 
18642
 
ac_cv_lib_asound_snd_pcm_open=no
 
19459
        ac_cv_lib_asound_snd_pcm_open=no
18643
19460
fi
18644
 
rm -f conftest.err conftest.$ac_objext \
 
19461
 
 
19462
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18645
19463
      conftest$ac_exeext conftest.$ac_ext
18646
19464
LIBS=$ac_check_lib_save_LIBS
18647
19465
fi
18648
 
echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
18649
 
echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
 
19466
{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
 
19467
echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6; }
18650
19468
if test $ac_cv_lib_asound_snd_pcm_open = yes; then
18651
19469
  have_alsa=yes
18652
19470
else
18653
19471
  have_alsa=no
18654
19472
fi
18655
19473
 
18656
 
echo "$as_me:$LINENO: checking for HPI_SubSysCreate in -lhpi" >&5
18657
 
echo $ECHO_N "checking for HPI_SubSysCreate in -lhpi... $ECHO_C" >&6
 
19474
{ echo "$as_me:$LINENO: checking for HPI_SubSysCreate in -lhpi" >&5
 
19475
echo $ECHO_N "checking for HPI_SubSysCreate in -lhpi... $ECHO_C" >&6; }
18658
19476
if test "${ac_cv_lib_hpi_HPI_SubSysCreate+set}" = set; then
18659
19477
  echo $ECHO_N "(cached) $ECHO_C" >&6
18660
19478
else
18667
19485
cat >>conftest.$ac_ext <<_ACEOF
18668
19486
/* end confdefs.h.  */
18669
19487
 
18670
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19488
/* Override any GCC internal prototype to avoid an error.
 
19489
   Use char because int might match the return type of a GCC
 
19490
   builtin and then its argument prototype would still apply.  */
18671
19491
#ifdef __cplusplus
18672
19492
extern "C"
18673
19493
#endif
18674
 
/* We use char because int might match the return type of a gcc2
18675
 
   builtin and then its argument prototype would still apply.  */
18676
19494
char HPI_SubSysCreate ();
18677
19495
int
18678
19496
main ()
18679
19497
{
18680
 
HPI_SubSysCreate ();
 
19498
return HPI_SubSysCreate ();
18681
19499
  ;
18682
19500
  return 0;
18683
19501
}
18684
19502
_ACEOF
18685
19503
rm -f conftest.$ac_objext conftest$ac_exeext
18686
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18687
 
  (eval $ac_link) 2>conftest.er1
 
19504
if { (ac_try="$ac_link"
 
19505
case "(($ac_try" in
 
19506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19507
  *) ac_try_echo=$ac_try;;
 
19508
esac
 
19509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19510
  (eval "$ac_link") 2>conftest.er1
18688
19511
  ac_status=$?
18689
19512
  grep -v '^ *+' conftest.er1 >conftest.err
18690
19513
  rm -f conftest.er1
18691
19514
  cat conftest.err >&5
18692
19515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693
 
  (exit $ac_status); } &&
18694
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696
 
  (eval $ac_try) 2>&5
18697
 
  ac_status=$?
18698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699
 
  (exit $ac_status); }; } &&
18700
 
         { ac_try='test -s conftest$ac_exeext'
18701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702
 
  (eval $ac_try) 2>&5
18703
 
  ac_status=$?
18704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705
 
  (exit $ac_status); }; }; then
 
19516
  (exit $ac_status); } && {
 
19517
         test -z "$ac_c_werror_flag" ||
 
19518
         test ! -s conftest.err
 
19519
       } && test -s conftest$ac_exeext &&
 
19520
       $as_test_x conftest$ac_exeext; then
18706
19521
  ac_cv_lib_hpi_HPI_SubSysCreate=yes
18707
19522
else
18708
19523
  echo "$as_me: failed program was:" >&5
18709
19524
sed 's/^/| /' conftest.$ac_ext >&5
18710
19525
 
18711
 
ac_cv_lib_hpi_HPI_SubSysCreate=no
 
19526
        ac_cv_lib_hpi_HPI_SubSysCreate=no
18712
19527
fi
18713
 
rm -f conftest.err conftest.$ac_objext \
 
19528
 
 
19529
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18714
19530
      conftest$ac_exeext conftest.$ac_ext
18715
19531
LIBS=$ac_check_lib_save_LIBS
18716
19532
fi
18717
 
echo "$as_me:$LINENO: result: $ac_cv_lib_hpi_HPI_SubSysCreate" >&5
18718
 
echo "${ECHO_T}$ac_cv_lib_hpi_HPI_SubSysCreate" >&6
 
19533
{ echo "$as_me:$LINENO: result: $ac_cv_lib_hpi_HPI_SubSysCreate" >&5
 
19534
echo "${ECHO_T}$ac_cv_lib_hpi_HPI_SubSysCreate" >&6; }
18719
19535
if test $ac_cv_lib_hpi_HPI_SubSysCreate = yes; then
18720
19536
  have_asihpi=yes
18721
19537
else
18730
19546
        if test -n "$ac_tool_prefix"; then
18731
19547
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18732
19548
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18733
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18734
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19549
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19550
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18735
19551
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18736
19552
  echo $ECHO_N "(cached) $ECHO_C" >&6
18737
19553
else
18746
19562
  IFS=$as_save_IFS
18747
19563
  test -z "$as_dir" && as_dir=.
18748
19564
  for ac_exec_ext in '' $ac_executable_extensions; do
18749
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19565
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18750
19566
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18751
19567
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18752
19568
    break 2
18753
19569
  fi
18754
19570
done
18755
19571
done
 
19572
IFS=$as_save_IFS
18756
19573
 
18757
19574
  ;;
18758
19575
esac
18759
19576
fi
18760
19577
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18761
 
 
18762
19578
if test -n "$PKG_CONFIG"; then
18763
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18764
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
19579
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
19580
echo "${ECHO_T}$PKG_CONFIG" >&6; }
18765
19581
else
18766
 
  echo "$as_me:$LINENO: result: no" >&5
18767
 
echo "${ECHO_T}no" >&6
 
19582
  { echo "$as_me:$LINENO: result: no" >&5
 
19583
echo "${ECHO_T}no" >&6; }
18768
19584
fi
 
19585
 
18769
19586
 
18770
19587
fi
18771
19588
if test -z "$ac_cv_path_PKG_CONFIG"; then
18772
19589
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18773
19590
  # Extract the first word of "pkg-config", so it can be a program name with args.
18774
19591
set dummy pkg-config; ac_word=$2
18775
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18776
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19592
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19593
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18777
19594
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18778
19595
  echo $ECHO_N "(cached) $ECHO_C" >&6
18779
19596
else
18788
19605
  IFS=$as_save_IFS
18789
19606
  test -z "$as_dir" && as_dir=.
18790
19607
  for ac_exec_ext in '' $ac_executable_extensions; do
18791
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19608
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18792
19609
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18793
19610
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18794
19611
    break 2
18795
19612
  fi
18796
19613
done
18797
19614
done
 
19615
IFS=$as_save_IFS
18798
19616
 
18799
19617
  ;;
18800
19618
esac
18801
19619
fi
18802
19620
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18803
 
 
18804
19621
if test -n "$ac_pt_PKG_CONFIG"; then
18805
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18806
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
19622
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
19623
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
18807
19624
else
18808
 
  echo "$as_me:$LINENO: result: no" >&5
18809
 
echo "${ECHO_T}no" >&6
 
19625
  { echo "$as_me:$LINENO: result: no" >&5
 
19626
echo "${ECHO_T}no" >&6; }
18810
19627
fi
18811
19628
 
18812
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19629
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
19630
    PKG_CONFIG=""
 
19631
  else
 
19632
    case $cross_compiling:$ac_tool_warned in
 
19633
yes:)
 
19634
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19635
whose name does not start with the host triplet.  If you think this
 
19636
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19637
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19638
whose name does not start with the host triplet.  If you think this
 
19639
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19640
ac_tool_warned=yes ;;
 
19641
esac
 
19642
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19643
  fi
18813
19644
else
18814
19645
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18815
19646
fi
18817
19648
fi
18818
19649
if test -n "$PKG_CONFIG"; then
18819
19650
        _pkg_min_version=0.9.0
18820
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18821
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
19651
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
19652
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
18822
19653
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18823
 
                echo "$as_me:$LINENO: result: yes" >&5
18824
 
echo "${ECHO_T}yes" >&6
 
19654
                { echo "$as_me:$LINENO: result: yes" >&5
 
19655
echo "${ECHO_T}yes" >&6; }
18825
19656
        else
18826
 
                echo "$as_me:$LINENO: result: no" >&5
18827
 
echo "${ECHO_T}no" >&6
 
19657
                { echo "$as_me:$LINENO: result: no" >&5
 
19658
echo "${ECHO_T}no" >&6; }
18828
19659
                PKG_CONFIG=""
18829
19660
        fi
18830
19661
 
18831
19662
fi
18832
19663
 
18833
19664
pkg_failed=no
18834
 
echo "$as_me:$LINENO: checking for JACK" >&5
18835
 
echo $ECHO_N "checking for JACK... $ECHO_C" >&6
 
19665
{ echo "$as_me:$LINENO: checking for JACK" >&5
 
19666
echo $ECHO_N "checking for JACK... $ECHO_C" >&6; }
18836
19667
 
18837
19668
if test -n "$PKG_CONFIG"; then
18838
19669
    if test -n "$JACK_CFLAGS"; then
18888
19719
        # Put the nasty error message in config.log where it belongs
18889
19720
        echo "$JACK_PKG_ERRORS" >&5
18890
19721
 
18891
 
        have_jack=no
 
19722
        { echo "$as_me:$LINENO: result: no" >&5
 
19723
echo "${ECHO_T}no" >&6; }
 
19724
                have_jack=no
18892
19725
elif test $pkg_failed = untried; then
18893
19726
        have_jack=no
18894
19727
else
18895
19728
        JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
18896
19729
        JACK_LIBS=$pkg_cv_JACK_LIBS
18897
 
        echo "$as_me:$LINENO: result: yes" >&5
18898
 
echo "${ECHO_T}yes" >&6
 
19730
        { echo "$as_me:$LINENO: result: yes" >&5
 
19731
echo "${ECHO_T}yes" >&6; }
18899
19732
        have_jack=yes
18900
19733
fi
18901
19734
 
18902
19735
 
18903
 
echo "$as_me:$LINENO: checking for short" >&5
18904
 
echo $ECHO_N "checking for short... $ECHO_C" >&6
 
19736
 
 
19737
 
 
19738
for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h
 
19739
do
 
19740
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19741
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19742
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19743
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
19744
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19745
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19746
fi
 
19747
ac_res=`eval echo '${'$as_ac_Header'}'`
 
19748
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
19749
echo "${ECHO_T}$ac_res" >&6; }
 
19750
else
 
19751
  # Is the header compilable?
 
19752
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19753
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
19754
cat >conftest.$ac_ext <<_ACEOF
 
19755
/* confdefs.h.  */
 
19756
_ACEOF
 
19757
cat confdefs.h >>conftest.$ac_ext
 
19758
cat >>conftest.$ac_ext <<_ACEOF
 
19759
/* end confdefs.h.  */
 
19760
$ac_includes_default
 
19761
#include <$ac_header>
 
19762
_ACEOF
 
19763
rm -f conftest.$ac_objext
 
19764
if { (ac_try="$ac_compile"
 
19765
case "(($ac_try" in
 
19766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19767
  *) ac_try_echo=$ac_try;;
 
19768
esac
 
19769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19770
  (eval "$ac_compile") 2>conftest.er1
 
19771
  ac_status=$?
 
19772
  grep -v '^ *+' conftest.er1 >conftest.err
 
19773
  rm -f conftest.er1
 
19774
  cat conftest.err >&5
 
19775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19776
  (exit $ac_status); } && {
 
19777
         test -z "$ac_c_werror_flag" ||
 
19778
         test ! -s conftest.err
 
19779
       } && test -s conftest.$ac_objext; then
 
19780
  ac_header_compiler=yes
 
19781
else
 
19782
  echo "$as_me: failed program was:" >&5
 
19783
sed 's/^/| /' conftest.$ac_ext >&5
 
19784
 
 
19785
        ac_header_compiler=no
 
19786
fi
 
19787
 
 
19788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19789
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19790
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
19791
 
 
19792
# Is the header present?
 
19793
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19794
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
19795
cat >conftest.$ac_ext <<_ACEOF
 
19796
/* confdefs.h.  */
 
19797
_ACEOF
 
19798
cat confdefs.h >>conftest.$ac_ext
 
19799
cat >>conftest.$ac_ext <<_ACEOF
 
19800
/* end confdefs.h.  */
 
19801
#include <$ac_header>
 
19802
_ACEOF
 
19803
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
19804
case "(($ac_try" in
 
19805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19806
  *) ac_try_echo=$ac_try;;
 
19807
esac
 
19808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19809
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
19810
  ac_status=$?
 
19811
  grep -v '^ *+' conftest.er1 >conftest.err
 
19812
  rm -f conftest.er1
 
19813
  cat conftest.err >&5
 
19814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19815
  (exit $ac_status); } >/dev/null && {
 
19816
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
19817
         test ! -s conftest.err
 
19818
       }; then
 
19819
  ac_header_preproc=yes
 
19820
else
 
19821
  echo "$as_me: failed program was:" >&5
 
19822
sed 's/^/| /' conftest.$ac_ext >&5
 
19823
 
 
19824
  ac_header_preproc=no
 
19825
fi
 
19826
 
 
19827
rm -f conftest.err conftest.$ac_ext
 
19828
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19829
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
19830
 
 
19831
# So?  What about this header?
 
19832
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
19833
  yes:no: )
 
19834
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19835
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19836
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19837
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
19838
    ac_header_preproc=yes
 
19839
    ;;
 
19840
  no:yes:* )
 
19841
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19842
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19843
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19844
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19845
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19846
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19847
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19848
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19849
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19850
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19851
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19852
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
19853
 
 
19854
    ;;
 
19855
esac
 
19856
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19857
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
19858
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19859
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19860
else
 
19861
  eval "$as_ac_Header=\$ac_header_preproc"
 
19862
fi
 
19863
ac_res=`eval echo '${'$as_ac_Header'}'`
 
19864
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
19865
echo "${ECHO_T}$ac_res" >&6; }
 
19866
 
 
19867
fi
 
19868
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
19869
  cat >>confdefs.h <<_ACEOF
 
19870
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19871
_ACEOF
 
19872
 
 
19873
fi
 
19874
 
 
19875
done
 
19876
 
 
19877
 
 
19878
 
 
19879
{ echo "$as_me:$LINENO: checking for short" >&5
 
19880
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18905
19881
if test "${ac_cv_type_short+set}" = set; then
18906
19882
  echo $ECHO_N "(cached) $ECHO_C" >&6
18907
19883
else
18912
19888
cat >>conftest.$ac_ext <<_ACEOF
18913
19889
/* end confdefs.h.  */
18914
19890
$ac_includes_default
 
19891
typedef short ac__type_new_;
18915
19892
int
18916
19893
main ()
18917
19894
{
18918
 
if ((short *) 0)
 
19895
if ((ac__type_new_ *) 0)
18919
19896
  return 0;
18920
 
if (sizeof (short))
 
19897
if (sizeof (ac__type_new_))
18921
19898
  return 0;
18922
19899
  ;
18923
19900
  return 0;
18924
19901
}
18925
19902
_ACEOF
18926
19903
rm -f conftest.$ac_objext
18927
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928
 
  (eval $ac_compile) 2>conftest.er1
 
19904
if { (ac_try="$ac_compile"
 
19905
case "(($ac_try" in
 
19906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19907
  *) ac_try_echo=$ac_try;;
 
19908
esac
 
19909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19910
  (eval "$ac_compile") 2>conftest.er1
18929
19911
  ac_status=$?
18930
19912
  grep -v '^ *+' conftest.er1 >conftest.err
18931
19913
  rm -f conftest.er1
18932
19914
  cat conftest.err >&5
18933
19915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934
 
  (exit $ac_status); } &&
18935
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937
 
  (eval $ac_try) 2>&5
18938
 
  ac_status=$?
18939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940
 
  (exit $ac_status); }; } &&
18941
 
         { ac_try='test -s conftest.$ac_objext'
18942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943
 
  (eval $ac_try) 2>&5
18944
 
  ac_status=$?
18945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946
 
  (exit $ac_status); }; }; then
 
19916
  (exit $ac_status); } && {
 
19917
         test -z "$ac_c_werror_flag" ||
 
19918
         test ! -s conftest.err
 
19919
       } && test -s conftest.$ac_objext; then
18947
19920
  ac_cv_type_short=yes
18948
19921
else
18949
19922
  echo "$as_me: failed program was:" >&5
18950
19923
sed 's/^/| /' conftest.$ac_ext >&5
18951
19924
 
18952
 
ac_cv_type_short=no
18953
 
fi
18954
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18955
 
fi
18956
 
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18957
 
echo "${ECHO_T}$ac_cv_type_short" >&6
18958
 
 
18959
 
echo "$as_me:$LINENO: checking size of short" >&5
18960
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6
 
19925
        ac_cv_type_short=no
 
19926
fi
 
19927
 
 
19928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19929
fi
 
19930
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 
19931
echo "${ECHO_T}$ac_cv_type_short" >&6; }
 
19932
 
 
19933
# The cast to long int works around a bug in the HP C Compiler
 
19934
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
19935
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
19936
# This bug is HP SR number 8606223364.
 
19937
{ echo "$as_me:$LINENO: checking size of short" >&5
 
19938
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18961
19939
if test "${ac_cv_sizeof_short+set}" = set; then
18962
19940
  echo $ECHO_N "(cached) $ECHO_C" >&6
18963
19941
else
18964
 
  if test "$ac_cv_type_short" = yes; then
18965
 
  # The cast to unsigned long works around a bug in the HP C Compiler
18966
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18967
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18968
 
  # This bug is HP SR number 8606223364.
18969
19942
  if test "$cross_compiling" = yes; then
18970
19943
  # Depending upon the size, compute the lo and hi bounds.
18971
19944
cat >conftest.$ac_ext <<_ACEOF
18975
19948
cat >>conftest.$ac_ext <<_ACEOF
18976
19949
/* end confdefs.h.  */
18977
19950
$ac_includes_default
 
19951
   typedef short ac__type_sizeof_;
18978
19952
int
18979
19953
main ()
18980
19954
{
18981
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 
19955
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18982
19956
test_array [0] = 0
18983
19957
 
18984
19958
  ;
18986
19960
}
18987
19961
_ACEOF
18988
19962
rm -f conftest.$ac_objext
18989
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18990
 
  (eval $ac_compile) 2>conftest.er1
 
19963
if { (ac_try="$ac_compile"
 
19964
case "(($ac_try" in
 
19965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19966
  *) ac_try_echo=$ac_try;;
 
19967
esac
 
19968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19969
  (eval "$ac_compile") 2>conftest.er1
18991
19970
  ac_status=$?
18992
19971
  grep -v '^ *+' conftest.er1 >conftest.err
18993
19972
  rm -f conftest.er1
18994
19973
  cat conftest.err >&5
18995
19974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996
 
  (exit $ac_status); } &&
18997
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18998
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999
 
  (eval $ac_try) 2>&5
19000
 
  ac_status=$?
19001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002
 
  (exit $ac_status); }; } &&
19003
 
         { ac_try='test -s conftest.$ac_objext'
19004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005
 
  (eval $ac_try) 2>&5
19006
 
  ac_status=$?
19007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008
 
  (exit $ac_status); }; }; then
 
19975
  (exit $ac_status); } && {
 
19976
         test -z "$ac_c_werror_flag" ||
 
19977
         test ! -s conftest.err
 
19978
       } && test -s conftest.$ac_objext; then
19009
19979
  ac_lo=0 ac_mid=0
19010
19980
  while :; do
19011
19981
    cat >conftest.$ac_ext <<_ACEOF
19015
19985
cat >>conftest.$ac_ext <<_ACEOF
19016
19986
/* end confdefs.h.  */
19017
19987
$ac_includes_default
 
19988
   typedef short ac__type_sizeof_;
19018
19989
int
19019
19990
main ()
19020
19991
{
19021
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
19992
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19022
19993
test_array [0] = 0
19023
19994
 
19024
19995
  ;
19026
19997
}
19027
19998
_ACEOF
19028
19999
rm -f conftest.$ac_objext
19029
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030
 
  (eval $ac_compile) 2>conftest.er1
 
20000
if { (ac_try="$ac_compile"
 
20001
case "(($ac_try" in
 
20002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20003
  *) ac_try_echo=$ac_try;;
 
20004
esac
 
20005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20006
  (eval "$ac_compile") 2>conftest.er1
19031
20007
  ac_status=$?
19032
20008
  grep -v '^ *+' conftest.er1 >conftest.err
19033
20009
  rm -f conftest.er1
19034
20010
  cat conftest.err >&5
19035
20011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036
 
  (exit $ac_status); } &&
19037
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19038
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039
 
  (eval $ac_try) 2>&5
19040
 
  ac_status=$?
19041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042
 
  (exit $ac_status); }; } &&
19043
 
         { ac_try='test -s conftest.$ac_objext'
19044
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045
 
  (eval $ac_try) 2>&5
19046
 
  ac_status=$?
19047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048
 
  (exit $ac_status); }; }; then
 
20012
  (exit $ac_status); } && {
 
20013
         test -z "$ac_c_werror_flag" ||
 
20014
         test ! -s conftest.err
 
20015
       } && test -s conftest.$ac_objext; then
19049
20016
  ac_hi=$ac_mid; break
19050
20017
else
19051
20018
  echo "$as_me: failed program was:" >&5
19052
20019
sed 's/^/| /' conftest.$ac_ext >&5
19053
20020
 
19054
 
ac_lo=`expr $ac_mid + 1`
19055
 
                    if test $ac_lo -le $ac_mid; then
19056
 
                      ac_lo= ac_hi=
19057
 
                      break
19058
 
                    fi
19059
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
20021
        ac_lo=`expr $ac_mid + 1`
 
20022
                        if test $ac_lo -le $ac_mid; then
 
20023
                          ac_lo= ac_hi=
 
20024
                          break
 
20025
                        fi
 
20026
                        ac_mid=`expr 2 '*' $ac_mid + 1`
19060
20027
fi
19061
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20028
 
 
20029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19062
20030
  done
19063
20031
else
19064
20032
  echo "$as_me: failed program was:" >&5
19065
20033
sed 's/^/| /' conftest.$ac_ext >&5
19066
20034
 
19067
 
cat >conftest.$ac_ext <<_ACEOF
 
20035
        cat >conftest.$ac_ext <<_ACEOF
19068
20036
/* confdefs.h.  */
19069
20037
_ACEOF
19070
20038
cat confdefs.h >>conftest.$ac_ext
19071
20039
cat >>conftest.$ac_ext <<_ACEOF
19072
20040
/* end confdefs.h.  */
19073
20041
$ac_includes_default
 
20042
   typedef short ac__type_sizeof_;
19074
20043
int
19075
20044
main ()
19076
20045
{
19077
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 
20046
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19078
20047
test_array [0] = 0
19079
20048
 
19080
20049
  ;
19082
20051
}
19083
20052
_ACEOF
19084
20053
rm -f conftest.$ac_objext
19085
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19086
 
  (eval $ac_compile) 2>conftest.er1
 
20054
if { (ac_try="$ac_compile"
 
20055
case "(($ac_try" in
 
20056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20057
  *) ac_try_echo=$ac_try;;
 
20058
esac
 
20059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20060
  (eval "$ac_compile") 2>conftest.er1
19087
20061
  ac_status=$?
19088
20062
  grep -v '^ *+' conftest.er1 >conftest.err
19089
20063
  rm -f conftest.er1
19090
20064
  cat conftest.err >&5
19091
20065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092
 
  (exit $ac_status); } &&
19093
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19094
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095
 
  (eval $ac_try) 2>&5
19096
 
  ac_status=$?
19097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098
 
  (exit $ac_status); }; } &&
19099
 
         { ac_try='test -s conftest.$ac_objext'
19100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101
 
  (eval $ac_try) 2>&5
19102
 
  ac_status=$?
19103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104
 
  (exit $ac_status); }; }; then
 
20066
  (exit $ac_status); } && {
 
20067
         test -z "$ac_c_werror_flag" ||
 
20068
         test ! -s conftest.err
 
20069
       } && test -s conftest.$ac_objext; then
19105
20070
  ac_hi=-1 ac_mid=-1
19106
20071
  while :; do
19107
20072
    cat >conftest.$ac_ext <<_ACEOF
19111
20076
cat >>conftest.$ac_ext <<_ACEOF
19112
20077
/* end confdefs.h.  */
19113
20078
$ac_includes_default
 
20079
   typedef short ac__type_sizeof_;
19114
20080
int
19115
20081
main ()
19116
20082
{
19117
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 
20083
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19118
20084
test_array [0] = 0
19119
20085
 
19120
20086
  ;
19122
20088
}
19123
20089
_ACEOF
19124
20090
rm -f conftest.$ac_objext
19125
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126
 
  (eval $ac_compile) 2>conftest.er1
 
20091
if { (ac_try="$ac_compile"
 
20092
case "(($ac_try" in
 
20093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20094
  *) ac_try_echo=$ac_try;;
 
20095
esac
 
20096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20097
  (eval "$ac_compile") 2>conftest.er1
19127
20098
  ac_status=$?
19128
20099
  grep -v '^ *+' conftest.er1 >conftest.err
19129
20100
  rm -f conftest.er1
19130
20101
  cat conftest.err >&5
19131
20102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132
 
  (exit $ac_status); } &&
19133
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135
 
  (eval $ac_try) 2>&5
19136
 
  ac_status=$?
19137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138
 
  (exit $ac_status); }; } &&
19139
 
         { ac_try='test -s conftest.$ac_objext'
19140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141
 
  (eval $ac_try) 2>&5
19142
 
  ac_status=$?
19143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144
 
  (exit $ac_status); }; }; then
 
20103
  (exit $ac_status); } && {
 
20104
         test -z "$ac_c_werror_flag" ||
 
20105
         test ! -s conftest.err
 
20106
       } && test -s conftest.$ac_objext; then
19145
20107
  ac_lo=$ac_mid; break
19146
20108
else
19147
20109
  echo "$as_me: failed program was:" >&5
19148
20110
sed 's/^/| /' conftest.$ac_ext >&5
19149
20111
 
19150
 
ac_hi=`expr '(' $ac_mid ')' - 1`
19151
 
                       if test $ac_mid -le $ac_hi; then
19152
 
                         ac_lo= ac_hi=
19153
 
                         break
19154
 
                       fi
19155
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
20112
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
20113
                        if test $ac_mid -le $ac_hi; then
 
20114
                          ac_lo= ac_hi=
 
20115
                          break
 
20116
                        fi
 
20117
                        ac_mid=`expr 2 '*' $ac_mid`
19156
20118
fi
19157
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20119
 
 
20120
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158
20121
  done
19159
20122
else
19160
20123
  echo "$as_me: failed program was:" >&5
19161
20124
sed 's/^/| /' conftest.$ac_ext >&5
19162
20125
 
19163
 
ac_lo= ac_hi=
19164
 
fi
19165
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19166
 
fi
19167
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20126
        ac_lo= ac_hi=
 
20127
fi
 
20128
 
 
20129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20130
fi
 
20131
 
 
20132
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19168
20133
# Binary search between lo and hi bounds.
19169
20134
while test "x$ac_lo" != "x$ac_hi"; do
19170
20135
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19175
20140
cat >>conftest.$ac_ext <<_ACEOF
19176
20141
/* end confdefs.h.  */
19177
20142
$ac_includes_default
 
20143
   typedef short ac__type_sizeof_;
19178
20144
int
19179
20145
main ()
19180
20146
{
19181
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
20147
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19182
20148
test_array [0] = 0
19183
20149
 
19184
20150
  ;
19186
20152
}
19187
20153
_ACEOF
19188
20154
rm -f conftest.$ac_objext
19189
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190
 
  (eval $ac_compile) 2>conftest.er1
 
20155
if { (ac_try="$ac_compile"
 
20156
case "(($ac_try" in
 
20157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20158
  *) ac_try_echo=$ac_try;;
 
20159
esac
 
20160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20161
  (eval "$ac_compile") 2>conftest.er1
19191
20162
  ac_status=$?
19192
20163
  grep -v '^ *+' conftest.er1 >conftest.err
19193
20164
  rm -f conftest.er1
19194
20165
  cat conftest.err >&5
19195
20166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196
 
  (exit $ac_status); } &&
19197
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199
 
  (eval $ac_try) 2>&5
19200
 
  ac_status=$?
19201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202
 
  (exit $ac_status); }; } &&
19203
 
         { ac_try='test -s conftest.$ac_objext'
19204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205
 
  (eval $ac_try) 2>&5
19206
 
  ac_status=$?
19207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208
 
  (exit $ac_status); }; }; then
 
20167
  (exit $ac_status); } && {
 
20168
         test -z "$ac_c_werror_flag" ||
 
20169
         test ! -s conftest.err
 
20170
       } && test -s conftest.$ac_objext; then
19209
20171
  ac_hi=$ac_mid
19210
20172
else
19211
20173
  echo "$as_me: failed program was:" >&5
19212
20174
sed 's/^/| /' conftest.$ac_ext >&5
19213
20175
 
19214
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20176
        ac_lo=`expr '(' $ac_mid ')' + 1`
19215
20177
fi
19216
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20178
 
 
20179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217
20180
done
19218
20181
case $ac_lo in
19219
20182
?*) ac_cv_sizeof_short=$ac_lo;;
19220
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
20183
'') if test "$ac_cv_type_short" = yes; then
 
20184
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19221
20185
See \`config.log' for more details." >&5
19222
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
20186
echo "$as_me: error: cannot compute sizeof (short)
19223
20187
See \`config.log' for more details." >&2;}
19224
 
   { (exit 1); exit 1; }; } ;;
 
20188
   { (exit 77); exit 77; }; }
 
20189
   else
 
20190
     ac_cv_sizeof_short=0
 
20191
   fi ;;
19225
20192
esac
19226
20193
else
19227
 
  if test "$cross_compiling" = yes; then
19228
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19229
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19230
 
   { (exit 1); exit 1; }; }
19231
 
else
19232
20194
  cat >conftest.$ac_ext <<_ACEOF
19233
20195
/* confdefs.h.  */
19234
20196
_ACEOF
19236
20198
cat >>conftest.$ac_ext <<_ACEOF
19237
20199
/* end confdefs.h.  */
19238
20200
$ac_includes_default
19239
 
long longval () { return (long) (sizeof (short)); }
19240
 
unsigned long ulongval () { return (long) (sizeof (short)); }
 
20201
   typedef short ac__type_sizeof_;
 
20202
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
20203
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19241
20204
#include <stdio.h>
19242
20205
#include <stdlib.h>
19243
20206
int
19246
20209
 
19247
20210
  FILE *f = fopen ("conftest.val", "w");
19248
20211
  if (! f)
19249
 
    exit (1);
19250
 
  if (((long) (sizeof (short))) < 0)
 
20212
    return 1;
 
20213
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19251
20214
    {
19252
 
      long i = longval ();
19253
 
      if (i != ((long) (sizeof (short))))
19254
 
        exit (1);
 
20215
      long int i = longval ();
 
20216
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20217
        return 1;
19255
20218
      fprintf (f, "%ld\n", i);
19256
20219
    }
19257
20220
  else
19258
20221
    {
19259
 
      unsigned long i = ulongval ();
19260
 
      if (i != ((long) (sizeof (short))))
19261
 
        exit (1);
 
20222
      unsigned long int i = ulongval ();
 
20223
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20224
        return 1;
19262
20225
      fprintf (f, "%lu\n", i);
19263
20226
    }
19264
 
  exit (ferror (f) || fclose (f) != 0);
 
20227
  return ferror (f) || fclose (f) != 0;
19265
20228
 
19266
20229
  ;
19267
20230
  return 0;
19268
20231
}
19269
20232
_ACEOF
19270
20233
rm -f conftest$ac_exeext
19271
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272
 
  (eval $ac_link) 2>&5
 
20234
if { (ac_try="$ac_link"
 
20235
case "(($ac_try" in
 
20236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20237
  *) ac_try_echo=$ac_try;;
 
20238
esac
 
20239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20240
  (eval "$ac_link") 2>&5
19273
20241
  ac_status=$?
19274
20242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275
20243
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277
 
  (eval $ac_try) 2>&5
 
20244
  { (case "(($ac_try" in
 
20245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20246
  *) ac_try_echo=$ac_try;;
 
20247
esac
 
20248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20249
  (eval "$ac_try") 2>&5
19278
20250
  ac_status=$?
19279
20251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280
20252
  (exit $ac_status); }; }; then
19285
20257
sed 's/^/| /' conftest.$ac_ext >&5
19286
20258
 
19287
20259
( exit $ac_status )
19288
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
20260
if test "$ac_cv_type_short" = yes; then
 
20261
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19289
20262
See \`config.log' for more details." >&5
19290
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
20263
echo "$as_me: error: cannot compute sizeof (short)
19291
20264
See \`config.log' for more details." >&2;}
19292
 
   { (exit 1); exit 1; }; }
19293
 
fi
19294
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19295
 
fi
 
20265
   { (exit 77); exit 77; }; }
 
20266
   else
 
20267
     ac_cv_sizeof_short=0
 
20268
   fi
 
20269
fi
 
20270
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19296
20271
fi
19297
20272
rm -f conftest.val
19298
 
else
19299
 
  ac_cv_sizeof_short=0
19300
 
fi
19301
 
fi
19302
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19303
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 
20273
fi
 
20274
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
20275
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
 
20276
 
 
20277
 
 
20278
 
19304
20279
cat >>confdefs.h <<_ACEOF
19305
20280
#define SIZEOF_SHORT $ac_cv_sizeof_short
19306
20281
_ACEOF
19307
20282
 
19308
20283
 
19309
 
echo "$as_me:$LINENO: checking for int" >&5
19310
 
echo $ECHO_N "checking for int... $ECHO_C" >&6
 
20284
{ echo "$as_me:$LINENO: checking for int" >&5
 
20285
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19311
20286
if test "${ac_cv_type_int+set}" = set; then
19312
20287
  echo $ECHO_N "(cached) $ECHO_C" >&6
19313
20288
else
19318
20293
cat >>conftest.$ac_ext <<_ACEOF
19319
20294
/* end confdefs.h.  */
19320
20295
$ac_includes_default
 
20296
typedef int ac__type_new_;
19321
20297
int
19322
20298
main ()
19323
20299
{
19324
 
if ((int *) 0)
 
20300
if ((ac__type_new_ *) 0)
19325
20301
  return 0;
19326
 
if (sizeof (int))
 
20302
if (sizeof (ac__type_new_))
19327
20303
  return 0;
19328
20304
  ;
19329
20305
  return 0;
19330
20306
}
19331
20307
_ACEOF
19332
20308
rm -f conftest.$ac_objext
19333
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334
 
  (eval $ac_compile) 2>conftest.er1
 
20309
if { (ac_try="$ac_compile"
 
20310
case "(($ac_try" in
 
20311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20312
  *) ac_try_echo=$ac_try;;
 
20313
esac
 
20314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20315
  (eval "$ac_compile") 2>conftest.er1
19335
20316
  ac_status=$?
19336
20317
  grep -v '^ *+' conftest.er1 >conftest.err
19337
20318
  rm -f conftest.er1
19338
20319
  cat conftest.err >&5
19339
20320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340
 
  (exit $ac_status); } &&
19341
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343
 
  (eval $ac_try) 2>&5
19344
 
  ac_status=$?
19345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346
 
  (exit $ac_status); }; } &&
19347
 
         { ac_try='test -s conftest.$ac_objext'
19348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349
 
  (eval $ac_try) 2>&5
19350
 
  ac_status=$?
19351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352
 
  (exit $ac_status); }; }; then
 
20321
  (exit $ac_status); } && {
 
20322
         test -z "$ac_c_werror_flag" ||
 
20323
         test ! -s conftest.err
 
20324
       } && test -s conftest.$ac_objext; then
19353
20325
  ac_cv_type_int=yes
19354
20326
else
19355
20327
  echo "$as_me: failed program was:" >&5
19356
20328
sed 's/^/| /' conftest.$ac_ext >&5
19357
20329
 
19358
 
ac_cv_type_int=no
19359
 
fi
19360
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19361
 
fi
19362
 
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19363
 
echo "${ECHO_T}$ac_cv_type_int" >&6
19364
 
 
19365
 
echo "$as_me:$LINENO: checking size of int" >&5
19366
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6
 
20330
        ac_cv_type_int=no
 
20331
fi
 
20332
 
 
20333
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20334
fi
 
20335
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 
20336
echo "${ECHO_T}$ac_cv_type_int" >&6; }
 
20337
 
 
20338
# The cast to long int works around a bug in the HP C Compiler
 
20339
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
20340
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
20341
# This bug is HP SR number 8606223364.
 
20342
{ echo "$as_me:$LINENO: checking size of int" >&5
 
20343
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19367
20344
if test "${ac_cv_sizeof_int+set}" = set; then
19368
20345
  echo $ECHO_N "(cached) $ECHO_C" >&6
19369
20346
else
19370
 
  if test "$ac_cv_type_int" = yes; then
19371
 
  # The cast to unsigned long works around a bug in the HP C Compiler
19372
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19373
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19374
 
  # This bug is HP SR number 8606223364.
19375
20347
  if test "$cross_compiling" = yes; then
19376
20348
  # Depending upon the size, compute the lo and hi bounds.
19377
20349
cat >conftest.$ac_ext <<_ACEOF
19381
20353
cat >>conftest.$ac_ext <<_ACEOF
19382
20354
/* end confdefs.h.  */
19383
20355
$ac_includes_default
 
20356
   typedef int ac__type_sizeof_;
19384
20357
int
19385
20358
main ()
19386
20359
{
19387
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 
20360
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19388
20361
test_array [0] = 0
19389
20362
 
19390
20363
  ;
19392
20365
}
19393
20366
_ACEOF
19394
20367
rm -f conftest.$ac_objext
19395
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396
 
  (eval $ac_compile) 2>conftest.er1
 
20368
if { (ac_try="$ac_compile"
 
20369
case "(($ac_try" in
 
20370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20371
  *) ac_try_echo=$ac_try;;
 
20372
esac
 
20373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20374
  (eval "$ac_compile") 2>conftest.er1
19397
20375
  ac_status=$?
19398
20376
  grep -v '^ *+' conftest.er1 >conftest.err
19399
20377
  rm -f conftest.er1
19400
20378
  cat conftest.err >&5
19401
20379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402
 
  (exit $ac_status); } &&
19403
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19404
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405
 
  (eval $ac_try) 2>&5
19406
 
  ac_status=$?
19407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408
 
  (exit $ac_status); }; } &&
19409
 
         { ac_try='test -s conftest.$ac_objext'
19410
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411
 
  (eval $ac_try) 2>&5
19412
 
  ac_status=$?
19413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414
 
  (exit $ac_status); }; }; then
 
20380
  (exit $ac_status); } && {
 
20381
         test -z "$ac_c_werror_flag" ||
 
20382
         test ! -s conftest.err
 
20383
       } && test -s conftest.$ac_objext; then
19415
20384
  ac_lo=0 ac_mid=0
19416
20385
  while :; do
19417
20386
    cat >conftest.$ac_ext <<_ACEOF
19421
20390
cat >>conftest.$ac_ext <<_ACEOF
19422
20391
/* end confdefs.h.  */
19423
20392
$ac_includes_default
 
20393
   typedef int ac__type_sizeof_;
19424
20394
int
19425
20395
main ()
19426
20396
{
19427
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
20397
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19428
20398
test_array [0] = 0
19429
20399
 
19430
20400
  ;
19432
20402
}
19433
20403
_ACEOF
19434
20404
rm -f conftest.$ac_objext
19435
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19436
 
  (eval $ac_compile) 2>conftest.er1
 
20405
if { (ac_try="$ac_compile"
 
20406
case "(($ac_try" in
 
20407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20408
  *) ac_try_echo=$ac_try;;
 
20409
esac
 
20410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20411
  (eval "$ac_compile") 2>conftest.er1
19437
20412
  ac_status=$?
19438
20413
  grep -v '^ *+' conftest.er1 >conftest.err
19439
20414
  rm -f conftest.er1
19440
20415
  cat conftest.err >&5
19441
20416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442
 
  (exit $ac_status); } &&
19443
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445
 
  (eval $ac_try) 2>&5
19446
 
  ac_status=$?
19447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448
 
  (exit $ac_status); }; } &&
19449
 
         { ac_try='test -s conftest.$ac_objext'
19450
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451
 
  (eval $ac_try) 2>&5
19452
 
  ac_status=$?
19453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454
 
  (exit $ac_status); }; }; then
 
20417
  (exit $ac_status); } && {
 
20418
         test -z "$ac_c_werror_flag" ||
 
20419
         test ! -s conftest.err
 
20420
       } && test -s conftest.$ac_objext; then
19455
20421
  ac_hi=$ac_mid; break
19456
20422
else
19457
20423
  echo "$as_me: failed program was:" >&5
19458
20424
sed 's/^/| /' conftest.$ac_ext >&5
19459
20425
 
19460
 
ac_lo=`expr $ac_mid + 1`
19461
 
                    if test $ac_lo -le $ac_mid; then
19462
 
                      ac_lo= ac_hi=
19463
 
                      break
19464
 
                    fi
19465
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
20426
        ac_lo=`expr $ac_mid + 1`
 
20427
                        if test $ac_lo -le $ac_mid; then
 
20428
                          ac_lo= ac_hi=
 
20429
                          break
 
20430
                        fi
 
20431
                        ac_mid=`expr 2 '*' $ac_mid + 1`
19466
20432
fi
19467
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20433
 
 
20434
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468
20435
  done
19469
20436
else
19470
20437
  echo "$as_me: failed program was:" >&5
19471
20438
sed 's/^/| /' conftest.$ac_ext >&5
19472
20439
 
19473
 
cat >conftest.$ac_ext <<_ACEOF
 
20440
        cat >conftest.$ac_ext <<_ACEOF
19474
20441
/* confdefs.h.  */
19475
20442
_ACEOF
19476
20443
cat confdefs.h >>conftest.$ac_ext
19477
20444
cat >>conftest.$ac_ext <<_ACEOF
19478
20445
/* end confdefs.h.  */
19479
20446
$ac_includes_default
 
20447
   typedef int ac__type_sizeof_;
19480
20448
int
19481
20449
main ()
19482
20450
{
19483
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 
20451
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19484
20452
test_array [0] = 0
19485
20453
 
19486
20454
  ;
19488
20456
}
19489
20457
_ACEOF
19490
20458
rm -f conftest.$ac_objext
19491
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19492
 
  (eval $ac_compile) 2>conftest.er1
 
20459
if { (ac_try="$ac_compile"
 
20460
case "(($ac_try" in
 
20461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20462
  *) ac_try_echo=$ac_try;;
 
20463
esac
 
20464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20465
  (eval "$ac_compile") 2>conftest.er1
19493
20466
  ac_status=$?
19494
20467
  grep -v '^ *+' conftest.er1 >conftest.err
19495
20468
  rm -f conftest.er1
19496
20469
  cat conftest.err >&5
19497
20470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498
 
  (exit $ac_status); } &&
19499
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501
 
  (eval $ac_try) 2>&5
19502
 
  ac_status=$?
19503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504
 
  (exit $ac_status); }; } &&
19505
 
         { ac_try='test -s conftest.$ac_objext'
19506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507
 
  (eval $ac_try) 2>&5
19508
 
  ac_status=$?
19509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510
 
  (exit $ac_status); }; }; then
 
20471
  (exit $ac_status); } && {
 
20472
         test -z "$ac_c_werror_flag" ||
 
20473
         test ! -s conftest.err
 
20474
       } && test -s conftest.$ac_objext; then
19511
20475
  ac_hi=-1 ac_mid=-1
19512
20476
  while :; do
19513
20477
    cat >conftest.$ac_ext <<_ACEOF
19517
20481
cat >>conftest.$ac_ext <<_ACEOF
19518
20482
/* end confdefs.h.  */
19519
20483
$ac_includes_default
 
20484
   typedef int ac__type_sizeof_;
19520
20485
int
19521
20486
main ()
19522
20487
{
19523
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 
20488
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19524
20489
test_array [0] = 0
19525
20490
 
19526
20491
  ;
19528
20493
}
19529
20494
_ACEOF
19530
20495
rm -f conftest.$ac_objext
19531
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532
 
  (eval $ac_compile) 2>conftest.er1
 
20496
if { (ac_try="$ac_compile"
 
20497
case "(($ac_try" in
 
20498
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20499
  *) ac_try_echo=$ac_try;;
 
20500
esac
 
20501
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20502
  (eval "$ac_compile") 2>conftest.er1
19533
20503
  ac_status=$?
19534
20504
  grep -v '^ *+' conftest.er1 >conftest.err
19535
20505
  rm -f conftest.er1
19536
20506
  cat conftest.err >&5
19537
20507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538
 
  (exit $ac_status); } &&
19539
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541
 
  (eval $ac_try) 2>&5
19542
 
  ac_status=$?
19543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544
 
  (exit $ac_status); }; } &&
19545
 
         { ac_try='test -s conftest.$ac_objext'
19546
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547
 
  (eval $ac_try) 2>&5
19548
 
  ac_status=$?
19549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550
 
  (exit $ac_status); }; }; then
 
20508
  (exit $ac_status); } && {
 
20509
         test -z "$ac_c_werror_flag" ||
 
20510
         test ! -s conftest.err
 
20511
       } && test -s conftest.$ac_objext; then
19551
20512
  ac_lo=$ac_mid; break
19552
20513
else
19553
20514
  echo "$as_me: failed program was:" >&5
19554
20515
sed 's/^/| /' conftest.$ac_ext >&5
19555
20516
 
19556
 
ac_hi=`expr '(' $ac_mid ')' - 1`
19557
 
                       if test $ac_mid -le $ac_hi; then
19558
 
                         ac_lo= ac_hi=
19559
 
                         break
19560
 
                       fi
19561
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
20517
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
20518
                        if test $ac_mid -le $ac_hi; then
 
20519
                          ac_lo= ac_hi=
 
20520
                          break
 
20521
                        fi
 
20522
                        ac_mid=`expr 2 '*' $ac_mid`
19562
20523
fi
19563
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20524
 
 
20525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564
20526
  done
19565
20527
else
19566
20528
  echo "$as_me: failed program was:" >&5
19567
20529
sed 's/^/| /' conftest.$ac_ext >&5
19568
20530
 
19569
 
ac_lo= ac_hi=
19570
 
fi
19571
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19572
 
fi
19573
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20531
        ac_lo= ac_hi=
 
20532
fi
 
20533
 
 
20534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20535
fi
 
20536
 
 
20537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574
20538
# Binary search between lo and hi bounds.
19575
20539
while test "x$ac_lo" != "x$ac_hi"; do
19576
20540
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19581
20545
cat >>conftest.$ac_ext <<_ACEOF
19582
20546
/* end confdefs.h.  */
19583
20547
$ac_includes_default
 
20548
   typedef int ac__type_sizeof_;
19584
20549
int
19585
20550
main ()
19586
20551
{
19587
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
20552
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19588
20553
test_array [0] = 0
19589
20554
 
19590
20555
  ;
19592
20557
}
19593
20558
_ACEOF
19594
20559
rm -f conftest.$ac_objext
19595
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596
 
  (eval $ac_compile) 2>conftest.er1
 
20560
if { (ac_try="$ac_compile"
 
20561
case "(($ac_try" in
 
20562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20563
  *) ac_try_echo=$ac_try;;
 
20564
esac
 
20565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20566
  (eval "$ac_compile") 2>conftest.er1
19597
20567
  ac_status=$?
19598
20568
  grep -v '^ *+' conftest.er1 >conftest.err
19599
20569
  rm -f conftest.er1
19600
20570
  cat conftest.err >&5
19601
20571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602
 
  (exit $ac_status); } &&
19603
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605
 
  (eval $ac_try) 2>&5
19606
 
  ac_status=$?
19607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608
 
  (exit $ac_status); }; } &&
19609
 
         { ac_try='test -s conftest.$ac_objext'
19610
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611
 
  (eval $ac_try) 2>&5
19612
 
  ac_status=$?
19613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614
 
  (exit $ac_status); }; }; then
 
20572
  (exit $ac_status); } && {
 
20573
         test -z "$ac_c_werror_flag" ||
 
20574
         test ! -s conftest.err
 
20575
       } && test -s conftest.$ac_objext; then
19615
20576
  ac_hi=$ac_mid
19616
20577
else
19617
20578
  echo "$as_me: failed program was:" >&5
19618
20579
sed 's/^/| /' conftest.$ac_ext >&5
19619
20580
 
19620
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20581
        ac_lo=`expr '(' $ac_mid ')' + 1`
19621
20582
fi
19622
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20583
 
 
20584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19623
20585
done
19624
20586
case $ac_lo in
19625
20587
?*) ac_cv_sizeof_int=$ac_lo;;
19626
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
20588
'') if test "$ac_cv_type_int" = yes; then
 
20589
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19627
20590
See \`config.log' for more details." >&5
19628
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
20591
echo "$as_me: error: cannot compute sizeof (int)
19629
20592
See \`config.log' for more details." >&2;}
19630
 
   { (exit 1); exit 1; }; } ;;
 
20593
   { (exit 77); exit 77; }; }
 
20594
   else
 
20595
     ac_cv_sizeof_int=0
 
20596
   fi ;;
19631
20597
esac
19632
20598
else
19633
 
  if test "$cross_compiling" = yes; then
19634
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19635
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19636
 
   { (exit 1); exit 1; }; }
19637
 
else
19638
20599
  cat >conftest.$ac_ext <<_ACEOF
19639
20600
/* confdefs.h.  */
19640
20601
_ACEOF
19642
20603
cat >>conftest.$ac_ext <<_ACEOF
19643
20604
/* end confdefs.h.  */
19644
20605
$ac_includes_default
19645
 
long longval () { return (long) (sizeof (int)); }
19646
 
unsigned long ulongval () { return (long) (sizeof (int)); }
 
20606
   typedef int ac__type_sizeof_;
 
20607
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
20608
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19647
20609
#include <stdio.h>
19648
20610
#include <stdlib.h>
19649
20611
int
19652
20614
 
19653
20615
  FILE *f = fopen ("conftest.val", "w");
19654
20616
  if (! f)
19655
 
    exit (1);
19656
 
  if (((long) (sizeof (int))) < 0)
 
20617
    return 1;
 
20618
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19657
20619
    {
19658
 
      long i = longval ();
19659
 
      if (i != ((long) (sizeof (int))))
19660
 
        exit (1);
 
20620
      long int i = longval ();
 
20621
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20622
        return 1;
19661
20623
      fprintf (f, "%ld\n", i);
19662
20624
    }
19663
20625
  else
19664
20626
    {
19665
 
      unsigned long i = ulongval ();
19666
 
      if (i != ((long) (sizeof (int))))
19667
 
        exit (1);
 
20627
      unsigned long int i = ulongval ();
 
20628
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20629
        return 1;
19668
20630
      fprintf (f, "%lu\n", i);
19669
20631
    }
19670
 
  exit (ferror (f) || fclose (f) != 0);
 
20632
  return ferror (f) || fclose (f) != 0;
19671
20633
 
19672
20634
  ;
19673
20635
  return 0;
19674
20636
}
19675
20637
_ACEOF
19676
20638
rm -f conftest$ac_exeext
19677
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19678
 
  (eval $ac_link) 2>&5
 
20639
if { (ac_try="$ac_link"
 
20640
case "(($ac_try" in
 
20641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20642
  *) ac_try_echo=$ac_try;;
 
20643
esac
 
20644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20645
  (eval "$ac_link") 2>&5
19679
20646
  ac_status=$?
19680
20647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681
20648
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683
 
  (eval $ac_try) 2>&5
 
20649
  { (case "(($ac_try" in
 
20650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20651
  *) ac_try_echo=$ac_try;;
 
20652
esac
 
20653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20654
  (eval "$ac_try") 2>&5
19684
20655
  ac_status=$?
19685
20656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686
20657
  (exit $ac_status); }; }; then
19691
20662
sed 's/^/| /' conftest.$ac_ext >&5
19692
20663
 
19693
20664
( exit $ac_status )
19694
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
20665
if test "$ac_cv_type_int" = yes; then
 
20666
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19695
20667
See \`config.log' for more details." >&5
19696
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
20668
echo "$as_me: error: cannot compute sizeof (int)
19697
20669
See \`config.log' for more details." >&2;}
19698
 
   { (exit 1); exit 1; }; }
19699
 
fi
19700
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19701
 
fi
 
20670
   { (exit 77); exit 77; }; }
 
20671
   else
 
20672
     ac_cv_sizeof_int=0
 
20673
   fi
 
20674
fi
 
20675
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19702
20676
fi
19703
20677
rm -f conftest.val
19704
 
else
19705
 
  ac_cv_sizeof_int=0
19706
 
fi
19707
 
fi
19708
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19709
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 
20678
fi
 
20679
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
20680
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
 
20681
 
 
20682
 
 
20683
 
19710
20684
cat >>confdefs.h <<_ACEOF
19711
20685
#define SIZEOF_INT $ac_cv_sizeof_int
19712
20686
_ACEOF
19713
20687
 
19714
20688
 
19715
 
echo "$as_me:$LINENO: checking for long" >&5
19716
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
20689
{ echo "$as_me:$LINENO: checking for long" >&5
 
20690
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19717
20691
if test "${ac_cv_type_long+set}" = set; then
19718
20692
  echo $ECHO_N "(cached) $ECHO_C" >&6
19719
20693
else
19724
20698
cat >>conftest.$ac_ext <<_ACEOF
19725
20699
/* end confdefs.h.  */
19726
20700
$ac_includes_default
 
20701
typedef long ac__type_new_;
19727
20702
int
19728
20703
main ()
19729
20704
{
19730
 
if ((long *) 0)
 
20705
if ((ac__type_new_ *) 0)
19731
20706
  return 0;
19732
 
if (sizeof (long))
 
20707
if (sizeof (ac__type_new_))
19733
20708
  return 0;
19734
20709
  ;
19735
20710
  return 0;
19736
20711
}
19737
20712
_ACEOF
19738
20713
rm -f conftest.$ac_objext
19739
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740
 
  (eval $ac_compile) 2>conftest.er1
 
20714
if { (ac_try="$ac_compile"
 
20715
case "(($ac_try" in
 
20716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20717
  *) ac_try_echo=$ac_try;;
 
20718
esac
 
20719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20720
  (eval "$ac_compile") 2>conftest.er1
19741
20721
  ac_status=$?
19742
20722
  grep -v '^ *+' conftest.er1 >conftest.err
19743
20723
  rm -f conftest.er1
19744
20724
  cat conftest.err >&5
19745
20725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746
 
  (exit $ac_status); } &&
19747
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749
 
  (eval $ac_try) 2>&5
19750
 
  ac_status=$?
19751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752
 
  (exit $ac_status); }; } &&
19753
 
         { ac_try='test -s conftest.$ac_objext'
19754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755
 
  (eval $ac_try) 2>&5
19756
 
  ac_status=$?
19757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758
 
  (exit $ac_status); }; }; then
 
20726
  (exit $ac_status); } && {
 
20727
         test -z "$ac_c_werror_flag" ||
 
20728
         test ! -s conftest.err
 
20729
       } && test -s conftest.$ac_objext; then
19759
20730
  ac_cv_type_long=yes
19760
20731
else
19761
20732
  echo "$as_me: failed program was:" >&5
19762
20733
sed 's/^/| /' conftest.$ac_ext >&5
19763
20734
 
19764
 
ac_cv_type_long=no
19765
 
fi
19766
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19767
 
fi
19768
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19769
 
echo "${ECHO_T}$ac_cv_type_long" >&6
19770
 
 
19771
 
echo "$as_me:$LINENO: checking size of long" >&5
19772
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
20735
        ac_cv_type_long=no
 
20736
fi
 
20737
 
 
20738
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20739
fi
 
20740
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
20741
echo "${ECHO_T}$ac_cv_type_long" >&6; }
 
20742
 
 
20743
# The cast to long int works around a bug in the HP C Compiler
 
20744
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
20745
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
20746
# This bug is HP SR number 8606223364.
 
20747
{ echo "$as_me:$LINENO: checking size of long" >&5
 
20748
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19773
20749
if test "${ac_cv_sizeof_long+set}" = set; then
19774
20750
  echo $ECHO_N "(cached) $ECHO_C" >&6
19775
20751
else
19776
 
  if test "$ac_cv_type_long" = yes; then
19777
 
  # The cast to unsigned long works around a bug in the HP C Compiler
19778
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19779
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19780
 
  # This bug is HP SR number 8606223364.
19781
20752
  if test "$cross_compiling" = yes; then
19782
20753
  # Depending upon the size, compute the lo and hi bounds.
19783
20754
cat >conftest.$ac_ext <<_ACEOF
19787
20758
cat >>conftest.$ac_ext <<_ACEOF
19788
20759
/* end confdefs.h.  */
19789
20760
$ac_includes_default
 
20761
   typedef long ac__type_sizeof_;
19790
20762
int
19791
20763
main ()
19792
20764
{
19793
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
20765
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19794
20766
test_array [0] = 0
19795
20767
 
19796
20768
  ;
19798
20770
}
19799
20771
_ACEOF
19800
20772
rm -f conftest.$ac_objext
19801
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802
 
  (eval $ac_compile) 2>conftest.er1
 
20773
if { (ac_try="$ac_compile"
 
20774
case "(($ac_try" in
 
20775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20776
  *) ac_try_echo=$ac_try;;
 
20777
esac
 
20778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20779
  (eval "$ac_compile") 2>conftest.er1
19803
20780
  ac_status=$?
19804
20781
  grep -v '^ *+' conftest.er1 >conftest.err
19805
20782
  rm -f conftest.er1
19806
20783
  cat conftest.err >&5
19807
20784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808
 
  (exit $ac_status); } &&
19809
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19810
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811
 
  (eval $ac_try) 2>&5
19812
 
  ac_status=$?
19813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814
 
  (exit $ac_status); }; } &&
19815
 
         { ac_try='test -s conftest.$ac_objext'
19816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817
 
  (eval $ac_try) 2>&5
19818
 
  ac_status=$?
19819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820
 
  (exit $ac_status); }; }; then
 
20785
  (exit $ac_status); } && {
 
20786
         test -z "$ac_c_werror_flag" ||
 
20787
         test ! -s conftest.err
 
20788
       } && test -s conftest.$ac_objext; then
19821
20789
  ac_lo=0 ac_mid=0
19822
20790
  while :; do
19823
20791
    cat >conftest.$ac_ext <<_ACEOF
19827
20795
cat >>conftest.$ac_ext <<_ACEOF
19828
20796
/* end confdefs.h.  */
19829
20797
$ac_includes_default
 
20798
   typedef long ac__type_sizeof_;
19830
20799
int
19831
20800
main ()
19832
20801
{
19833
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
20802
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19834
20803
test_array [0] = 0
19835
20804
 
19836
20805
  ;
19838
20807
}
19839
20808
_ACEOF
19840
20809
rm -f conftest.$ac_objext
19841
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19842
 
  (eval $ac_compile) 2>conftest.er1
 
20810
if { (ac_try="$ac_compile"
 
20811
case "(($ac_try" in
 
20812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20813
  *) ac_try_echo=$ac_try;;
 
20814
esac
 
20815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20816
  (eval "$ac_compile") 2>conftest.er1
19843
20817
  ac_status=$?
19844
20818
  grep -v '^ *+' conftest.er1 >conftest.err
19845
20819
  rm -f conftest.er1
19846
20820
  cat conftest.err >&5
19847
20821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848
 
  (exit $ac_status); } &&
19849
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851
 
  (eval $ac_try) 2>&5
19852
 
  ac_status=$?
19853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854
 
  (exit $ac_status); }; } &&
19855
 
         { ac_try='test -s conftest.$ac_objext'
19856
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857
 
  (eval $ac_try) 2>&5
19858
 
  ac_status=$?
19859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860
 
  (exit $ac_status); }; }; then
 
20822
  (exit $ac_status); } && {
 
20823
         test -z "$ac_c_werror_flag" ||
 
20824
         test ! -s conftest.err
 
20825
       } && test -s conftest.$ac_objext; then
19861
20826
  ac_hi=$ac_mid; break
19862
20827
else
19863
20828
  echo "$as_me: failed program was:" >&5
19864
20829
sed 's/^/| /' conftest.$ac_ext >&5
19865
20830
 
19866
 
ac_lo=`expr $ac_mid + 1`
19867
 
                    if test $ac_lo -le $ac_mid; then
19868
 
                      ac_lo= ac_hi=
19869
 
                      break
19870
 
                    fi
19871
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
20831
        ac_lo=`expr $ac_mid + 1`
 
20832
                        if test $ac_lo -le $ac_mid; then
 
20833
                          ac_lo= ac_hi=
 
20834
                          break
 
20835
                        fi
 
20836
                        ac_mid=`expr 2 '*' $ac_mid + 1`
19872
20837
fi
19873
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20838
 
 
20839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874
20840
  done
19875
20841
else
19876
20842
  echo "$as_me: failed program was:" >&5
19877
20843
sed 's/^/| /' conftest.$ac_ext >&5
19878
20844
 
19879
 
cat >conftest.$ac_ext <<_ACEOF
 
20845
        cat >conftest.$ac_ext <<_ACEOF
19880
20846
/* confdefs.h.  */
19881
20847
_ACEOF
19882
20848
cat confdefs.h >>conftest.$ac_ext
19883
20849
cat >>conftest.$ac_ext <<_ACEOF
19884
20850
/* end confdefs.h.  */
19885
20851
$ac_includes_default
 
20852
   typedef long ac__type_sizeof_;
19886
20853
int
19887
20854
main ()
19888
20855
{
19889
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
20856
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19890
20857
test_array [0] = 0
19891
20858
 
19892
20859
  ;
19894
20861
}
19895
20862
_ACEOF
19896
20863
rm -f conftest.$ac_objext
19897
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898
 
  (eval $ac_compile) 2>conftest.er1
 
20864
if { (ac_try="$ac_compile"
 
20865
case "(($ac_try" in
 
20866
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20867
  *) ac_try_echo=$ac_try;;
 
20868
esac
 
20869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20870
  (eval "$ac_compile") 2>conftest.er1
19899
20871
  ac_status=$?
19900
20872
  grep -v '^ *+' conftest.er1 >conftest.err
19901
20873
  rm -f conftest.er1
19902
20874
  cat conftest.err >&5
19903
20875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904
 
  (exit $ac_status); } &&
19905
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907
 
  (eval $ac_try) 2>&5
19908
 
  ac_status=$?
19909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910
 
  (exit $ac_status); }; } &&
19911
 
         { ac_try='test -s conftest.$ac_objext'
19912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913
 
  (eval $ac_try) 2>&5
19914
 
  ac_status=$?
19915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916
 
  (exit $ac_status); }; }; then
 
20876
  (exit $ac_status); } && {
 
20877
         test -z "$ac_c_werror_flag" ||
 
20878
         test ! -s conftest.err
 
20879
       } && test -s conftest.$ac_objext; then
19917
20880
  ac_hi=-1 ac_mid=-1
19918
20881
  while :; do
19919
20882
    cat >conftest.$ac_ext <<_ACEOF
19923
20886
cat >>conftest.$ac_ext <<_ACEOF
19924
20887
/* end confdefs.h.  */
19925
20888
$ac_includes_default
 
20889
   typedef long ac__type_sizeof_;
19926
20890
int
19927
20891
main ()
19928
20892
{
19929
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
20893
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19930
20894
test_array [0] = 0
19931
20895
 
19932
20896
  ;
19934
20898
}
19935
20899
_ACEOF
19936
20900
rm -f conftest.$ac_objext
19937
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938
 
  (eval $ac_compile) 2>conftest.er1
 
20901
if { (ac_try="$ac_compile"
 
20902
case "(($ac_try" in
 
20903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20904
  *) ac_try_echo=$ac_try;;
 
20905
esac
 
20906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20907
  (eval "$ac_compile") 2>conftest.er1
19939
20908
  ac_status=$?
19940
20909
  grep -v '^ *+' conftest.er1 >conftest.err
19941
20910
  rm -f conftest.er1
19942
20911
  cat conftest.err >&5
19943
20912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944
 
  (exit $ac_status); } &&
19945
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19946
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947
 
  (eval $ac_try) 2>&5
19948
 
  ac_status=$?
19949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950
 
  (exit $ac_status); }; } &&
19951
 
         { ac_try='test -s conftest.$ac_objext'
19952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953
 
  (eval $ac_try) 2>&5
19954
 
  ac_status=$?
19955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956
 
  (exit $ac_status); }; }; then
 
20913
  (exit $ac_status); } && {
 
20914
         test -z "$ac_c_werror_flag" ||
 
20915
         test ! -s conftest.err
 
20916
       } && test -s conftest.$ac_objext; then
19957
20917
  ac_lo=$ac_mid; break
19958
20918
else
19959
20919
  echo "$as_me: failed program was:" >&5
19960
20920
sed 's/^/| /' conftest.$ac_ext >&5
19961
20921
 
19962
 
ac_hi=`expr '(' $ac_mid ')' - 1`
19963
 
                       if test $ac_mid -le $ac_hi; then
19964
 
                         ac_lo= ac_hi=
19965
 
                         break
19966
 
                       fi
19967
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
20922
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
20923
                        if test $ac_mid -le $ac_hi; then
 
20924
                          ac_lo= ac_hi=
 
20925
                          break
 
20926
                        fi
 
20927
                        ac_mid=`expr 2 '*' $ac_mid`
19968
20928
fi
19969
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20929
 
 
20930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970
20931
  done
19971
20932
else
19972
20933
  echo "$as_me: failed program was:" >&5
19973
20934
sed 's/^/| /' conftest.$ac_ext >&5
19974
20935
 
19975
 
ac_lo= ac_hi=
19976
 
fi
19977
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19978
 
fi
19979
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20936
        ac_lo= ac_hi=
 
20937
fi
 
20938
 
 
20939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20940
fi
 
20941
 
 
20942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980
20943
# Binary search between lo and hi bounds.
19981
20944
while test "x$ac_lo" != "x$ac_hi"; do
19982
20945
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19987
20950
cat >>conftest.$ac_ext <<_ACEOF
19988
20951
/* end confdefs.h.  */
19989
20952
$ac_includes_default
 
20953
   typedef long ac__type_sizeof_;
19990
20954
int
19991
20955
main ()
19992
20956
{
19993
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
20957
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19994
20958
test_array [0] = 0
19995
20959
 
19996
20960
  ;
19998
20962
}
19999
20963
_ACEOF
20000
20964
rm -f conftest.$ac_objext
20001
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20002
 
  (eval $ac_compile) 2>conftest.er1
 
20965
if { (ac_try="$ac_compile"
 
20966
case "(($ac_try" in
 
20967
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20968
  *) ac_try_echo=$ac_try;;
 
20969
esac
 
20970
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20971
  (eval "$ac_compile") 2>conftest.er1
20003
20972
  ac_status=$?
20004
20973
  grep -v '^ *+' conftest.er1 >conftest.err
20005
20974
  rm -f conftest.er1
20006
20975
  cat conftest.err >&5
20007
20976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008
 
  (exit $ac_status); } &&
20009
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011
 
  (eval $ac_try) 2>&5
20012
 
  ac_status=$?
20013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014
 
  (exit $ac_status); }; } &&
20015
 
         { ac_try='test -s conftest.$ac_objext'
20016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017
 
  (eval $ac_try) 2>&5
20018
 
  ac_status=$?
20019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020
 
  (exit $ac_status); }; }; then
 
20977
  (exit $ac_status); } && {
 
20978
         test -z "$ac_c_werror_flag" ||
 
20979
         test ! -s conftest.err
 
20980
       } && test -s conftest.$ac_objext; then
20021
20981
  ac_hi=$ac_mid
20022
20982
else
20023
20983
  echo "$as_me: failed program was:" >&5
20024
20984
sed 's/^/| /' conftest.$ac_ext >&5
20025
20985
 
20026
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20986
        ac_lo=`expr '(' $ac_mid ')' + 1`
20027
20987
fi
20028
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20988
 
 
20989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029
20990
done
20030
20991
case $ac_lo in
20031
20992
?*) ac_cv_sizeof_long=$ac_lo;;
20032
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
20993
'') if test "$ac_cv_type_long" = yes; then
 
20994
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20033
20995
See \`config.log' for more details." >&5
20034
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
20996
echo "$as_me: error: cannot compute sizeof (long)
20035
20997
See \`config.log' for more details." >&2;}
20036
 
   { (exit 1); exit 1; }; } ;;
 
20998
   { (exit 77); exit 77; }; }
 
20999
   else
 
21000
     ac_cv_sizeof_long=0
 
21001
   fi ;;
20037
21002
esac
20038
21003
else
20039
 
  if test "$cross_compiling" = yes; then
20040
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20041
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20042
 
   { (exit 1); exit 1; }; }
20043
 
else
20044
21004
  cat >conftest.$ac_ext <<_ACEOF
20045
21005
/* confdefs.h.  */
20046
21006
_ACEOF
20048
21008
cat >>conftest.$ac_ext <<_ACEOF
20049
21009
/* end confdefs.h.  */
20050
21010
$ac_includes_default
20051
 
long longval () { return (long) (sizeof (long)); }
20052
 
unsigned long ulongval () { return (long) (sizeof (long)); }
 
21011
   typedef long ac__type_sizeof_;
 
21012
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
21013
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20053
21014
#include <stdio.h>
20054
21015
#include <stdlib.h>
20055
21016
int
20058
21019
 
20059
21020
  FILE *f = fopen ("conftest.val", "w");
20060
21021
  if (! f)
20061
 
    exit (1);
20062
 
  if (((long) (sizeof (long))) < 0)
 
21022
    return 1;
 
21023
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20063
21024
    {
20064
 
      long i = longval ();
20065
 
      if (i != ((long) (sizeof (long))))
20066
 
        exit (1);
 
21025
      long int i = longval ();
 
21026
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
21027
        return 1;
20067
21028
      fprintf (f, "%ld\n", i);
20068
21029
    }
20069
21030
  else
20070
21031
    {
20071
 
      unsigned long i = ulongval ();
20072
 
      if (i != ((long) (sizeof (long))))
20073
 
        exit (1);
 
21032
      unsigned long int i = ulongval ();
 
21033
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
21034
        return 1;
20074
21035
      fprintf (f, "%lu\n", i);
20075
21036
    }
20076
 
  exit (ferror (f) || fclose (f) != 0);
 
21037
  return ferror (f) || fclose (f) != 0;
20077
21038
 
20078
21039
  ;
20079
21040
  return 0;
20080
21041
}
20081
21042
_ACEOF
20082
21043
rm -f conftest$ac_exeext
20083
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20084
 
  (eval $ac_link) 2>&5
 
21044
if { (ac_try="$ac_link"
 
21045
case "(($ac_try" in
 
21046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21047
  *) ac_try_echo=$ac_try;;
 
21048
esac
 
21049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21050
  (eval "$ac_link") 2>&5
20085
21051
  ac_status=$?
20086
21052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087
21053
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089
 
  (eval $ac_try) 2>&5
 
21054
  { (case "(($ac_try" in
 
21055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21056
  *) ac_try_echo=$ac_try;;
 
21057
esac
 
21058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21059
  (eval "$ac_try") 2>&5
20090
21060
  ac_status=$?
20091
21061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092
21062
  (exit $ac_status); }; }; then
20097
21067
sed 's/^/| /' conftest.$ac_ext >&5
20098
21068
 
20099
21069
( exit $ac_status )
20100
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
21070
if test "$ac_cv_type_long" = yes; then
 
21071
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20101
21072
See \`config.log' for more details." >&5
20102
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
21073
echo "$as_me: error: cannot compute sizeof (long)
20103
21074
See \`config.log' for more details." >&2;}
20104
 
   { (exit 1); exit 1; }; }
20105
 
fi
20106
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20107
 
fi
 
21075
   { (exit 77); exit 77; }; }
 
21076
   else
 
21077
     ac_cv_sizeof_long=0
 
21078
   fi
 
21079
fi
 
21080
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20108
21081
fi
20109
21082
rm -f conftest.val
20110
 
else
20111
 
  ac_cv_sizeof_long=0
20112
 
fi
20113
 
fi
20114
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20115
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
21083
fi
 
21084
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
21085
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
 
21086
 
 
21087
 
 
21088
 
20116
21089
cat >>confdefs.h <<_ACEOF
20117
21090
#define SIZEOF_LONG $ac_cv_sizeof_long
20118
21091
_ACEOF
20120
21093
 
20121
21094
 
20122
21095
save_LIBS="${LIBS}"
20123
 
echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
20124
 
echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
 
21096
{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
 
21097
echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
20125
21098
if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
20126
21099
  echo $ECHO_N "(cached) $ECHO_C" >&6
20127
21100
else
20134
21107
cat >>conftest.$ac_ext <<_ACEOF
20135
21108
/* end confdefs.h.  */
20136
21109
 
20137
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21110
/* Override any GCC internal prototype to avoid an error.
 
21111
   Use char because int might match the return type of a GCC
 
21112
   builtin and then its argument prototype would still apply.  */
20138
21113
#ifdef __cplusplus
20139
21114
extern "C"
20140
21115
#endif
20141
 
/* We use char because int might match the return type of a gcc2
20142
 
   builtin and then its argument prototype would still apply.  */
20143
21116
char clock_gettime ();
20144
21117
int
20145
21118
main ()
20146
21119
{
20147
 
clock_gettime ();
 
21120
return clock_gettime ();
20148
21121
  ;
20149
21122
  return 0;
20150
21123
}
20151
21124
_ACEOF
20152
21125
rm -f conftest.$ac_objext conftest$ac_exeext
20153
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20154
 
  (eval $ac_link) 2>conftest.er1
 
21126
if { (ac_try="$ac_link"
 
21127
case "(($ac_try" in
 
21128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21129
  *) ac_try_echo=$ac_try;;
 
21130
esac
 
21131
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21132
  (eval "$ac_link") 2>conftest.er1
20155
21133
  ac_status=$?
20156
21134
  grep -v '^ *+' conftest.er1 >conftest.err
20157
21135
  rm -f conftest.er1
20158
21136
  cat conftest.err >&5
20159
21137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160
 
  (exit $ac_status); } &&
20161
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20162
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163
 
  (eval $ac_try) 2>&5
20164
 
  ac_status=$?
20165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166
 
  (exit $ac_status); }; } &&
20167
 
         { ac_try='test -s conftest$ac_exeext'
20168
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169
 
  (eval $ac_try) 2>&5
20170
 
  ac_status=$?
20171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172
 
  (exit $ac_status); }; }; then
 
21138
  (exit $ac_status); } && {
 
21139
         test -z "$ac_c_werror_flag" ||
 
21140
         test ! -s conftest.err
 
21141
       } && test -s conftest$ac_exeext &&
 
21142
       $as_test_x conftest$ac_exeext; then
20173
21143
  ac_cv_lib_rt_clock_gettime=yes
20174
21144
else
20175
21145
  echo "$as_me: failed program was:" >&5
20176
21146
sed 's/^/| /' conftest.$ac_ext >&5
20177
21147
 
20178
 
ac_cv_lib_rt_clock_gettime=no
 
21148
        ac_cv_lib_rt_clock_gettime=no
20179
21149
fi
20180
 
rm -f conftest.err conftest.$ac_objext \
 
21150
 
 
21151
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20181
21152
      conftest$ac_exeext conftest.$ac_ext
20182
21153
LIBS=$ac_check_lib_save_LIBS
20183
21154
fi
20184
 
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
20185
 
echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
 
21155
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
 
21156
echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
20186
21157
if test $ac_cv_lib_rt_clock_gettime = yes; then
20187
21158
  rt_libs=" -lrt"
20188
21159
fi
20194
21165
for ac_func in clock_gettime nanosleep
20195
21166
do
20196
21167
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20197
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20198
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20199
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21168
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21169
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21170
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20200
21171
  echo $ECHO_N "(cached) $ECHO_C" >&6
20201
21172
else
20202
21173
  cat >conftest.$ac_ext <<_ACEOF
20222
21193
 
20223
21194
#undef $ac_func
20224
21195
 
20225
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21196
/* Override any GCC internal prototype to avoid an error.
 
21197
   Use char because int might match the return type of a GCC
 
21198
   builtin and then its argument prototype would still apply.  */
20226
21199
#ifdef __cplusplus
20227
21200
extern "C"
20228
 
{
20229
21201
#endif
20230
 
/* We use char because int might match the return type of a gcc2
20231
 
   builtin and then its argument prototype would still apply.  */
20232
21202
char $ac_func ();
20233
21203
/* The GNU C library defines this for functions which it implements
20234
21204
    to always fail with ENOSYS.  Some functions are actually named
20235
21205
    something starting with __ and the normal name is an alias.  */
20236
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21206
#if defined __stub_$ac_func || defined __stub___$ac_func
20237
21207
choke me
20238
 
#else
20239
 
char (*f) () = $ac_func;
20240
 
#endif
20241
 
#ifdef __cplusplus
20242
 
}
20243
21208
#endif
20244
21209
 
20245
21210
int
20246
21211
main ()
20247
21212
{
20248
 
return f != $ac_func;
 
21213
return $ac_func ();
20249
21214
  ;
20250
21215
  return 0;
20251
21216
}
20252
21217
_ACEOF
20253
21218
rm -f conftest.$ac_objext conftest$ac_exeext
20254
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20255
 
  (eval $ac_link) 2>conftest.er1
 
21219
if { (ac_try="$ac_link"
 
21220
case "(($ac_try" in
 
21221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21222
  *) ac_try_echo=$ac_try;;
 
21223
esac
 
21224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21225
  (eval "$ac_link") 2>conftest.er1
20256
21226
  ac_status=$?
20257
21227
  grep -v '^ *+' conftest.er1 >conftest.err
20258
21228
  rm -f conftest.er1
20259
21229
  cat conftest.err >&5
20260
21230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261
 
  (exit $ac_status); } &&
20262
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20263
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264
 
  (eval $ac_try) 2>&5
20265
 
  ac_status=$?
20266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267
 
  (exit $ac_status); }; } &&
20268
 
         { ac_try='test -s conftest$ac_exeext'
20269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270
 
  (eval $ac_try) 2>&5
20271
 
  ac_status=$?
20272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273
 
  (exit $ac_status); }; }; then
 
21231
  (exit $ac_status); } && {
 
21232
         test -z "$ac_c_werror_flag" ||
 
21233
         test ! -s conftest.err
 
21234
       } && test -s conftest$ac_exeext &&
 
21235
       $as_test_x conftest$ac_exeext; then
20274
21236
  eval "$as_ac_var=yes"
20275
21237
else
20276
21238
  echo "$as_me: failed program was:" >&5
20277
21239
sed 's/^/| /' conftest.$ac_ext >&5
20278
21240
 
20279
 
eval "$as_ac_var=no"
 
21241
        eval "$as_ac_var=no"
20280
21242
fi
20281
 
rm -f conftest.err conftest.$ac_objext \
 
21243
 
 
21244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20282
21245
      conftest$ac_exeext conftest.$ac_ext
20283
21246
fi
20284
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20285
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21247
ac_res=`eval echo '${'$as_ac_var'}'`
 
21248
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21249
echo "${ECHO_T}$ac_res" >&6; }
20286
21250
if test `eval echo '${'$as_ac_var'}'` = yes; then
20287
21251
  cat >>confdefs.h <<_ACEOF
20288
21252
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20318
21282
   CFLAGS="$CFLAGS -DPA_LITTLE_ENDIAN"
20319
21283
fi
20320
21284
 
 
21285
MAC_BEFORE_TIGER="no"
 
21286
case "${host_os}" in
 
21287
  darwin6* )
 
21288
        echo "We're running on Mac OS X 10.2"
 
21289
        MAC_BEFORE_TIGER="yes"
 
21290
        ;;
 
21291
  darwin7* )
 
21292
        echo "We're running on Mac OS X 10.3"
 
21293
        MAC_BEFORE_TIGER="yes"
 
21294
        ;;
 
21295
esac
 
21296
 
 
21297
case "${NEXT_ROOT}" in
 
21298
  /Developer/SDKs/MacOSX10.2* )
 
21299
        echo "We're compiling for Mac OS X 10.2"
 
21300
        MAC_BEFORE_TIGER="yes"
 
21301
        ;;
 
21302
  /Developer/SDKs/MacOSX10.3* )
 
21303
        echo "We're compiling for Mac OS X 10.3"
 
21304
        MAC_BEFORE_TIGER="yes"
 
21305
        ;;
 
21306
esac
 
21307
 
20321
21308
case "${host_os}" in
20322
21309
  darwin* )
20323
21310
 
20325
21312
#define PA_USE_COREAUDIO 1
20326
21313
_ACEOF
20327
21314
 
20328
 
        OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/ringbuffer.o";
 
21315
 
 
21316
        OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o";
20329
21317
        LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon";
20330
21318
        PADLL="libportaudio.dylib";
20331
 
        SHARED_FLAGS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib";
 
21319
        SHARED_FLAGS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib"
20332
21320
        if [ $with_macapi = "asio" ] ; then
20333
21321
            if [ $with_asiodir ] ; then
20334
21322
              ASIODIR="$with_asiodir";
20341
21329
            CFLAGS="$CFLAGS -I\$(top_srcdir)/pa_asio -I$ASIDIR/host/mac -I$ASIODIR/common";
20342
21330
            CXXFLAGS="$CFLAGS";
20343
21331
        fi
 
21332
 
 
21333
        if [ $with_universal_binary = "yes" ] ; then
 
21334
           CFLAGS="$CFLAGS -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3"
 
21335
           SHARED_FLAGS="${SHARED_FLAGS} -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3";
 
21336
        fi
 
21337
 
 
21338
        if [ $MAC_BEFORE_TIGER = "yes" ] ; then
 
21339
            echo "Disabling SMP memory protection because we're on Mac OS X prior to 10.4 (Tiger)."
 
21340
            CFLAGS="$CFLAGS -DALLOW_SMP_DANGERS=1"
 
21341
        fi
20344
21342
        ;;
20345
21343
 
20346
21344
  mingw* )
20418
21416
 
20419
21417
  irix* )
20420
21418
 
20421
 
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20422
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
 
21419
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
21420
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20423
21421
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20424
21422
  echo $ECHO_N "(cached) $ECHO_C" >&6
20425
21423
else
20432
21430
cat >>conftest.$ac_ext <<_ACEOF
20433
21431
/* end confdefs.h.  */
20434
21432
 
20435
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21433
/* Override any GCC internal prototype to avoid an error.
 
21434
   Use char because int might match the return type of a GCC
 
21435
   builtin and then its argument prototype would still apply.  */
20436
21436
#ifdef __cplusplus
20437
21437
extern "C"
20438
21438
#endif
20439
 
/* We use char because int might match the return type of a gcc2
20440
 
   builtin and then its argument prototype would still apply.  */
20441
21439
char pthread_create ();
20442
21440
int
20443
21441
main ()
20444
21442
{
20445
 
pthread_create ();
 
21443
return pthread_create ();
20446
21444
  ;
20447
21445
  return 0;
20448
21446
}
20449
21447
_ACEOF
20450
21448
rm -f conftest.$ac_objext conftest$ac_exeext
20451
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20452
 
  (eval $ac_link) 2>conftest.er1
 
21449
if { (ac_try="$ac_link"
 
21450
case "(($ac_try" in
 
21451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21452
  *) ac_try_echo=$ac_try;;
 
21453
esac
 
21454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21455
  (eval "$ac_link") 2>conftest.er1
20453
21456
  ac_status=$?
20454
21457
  grep -v '^ *+' conftest.er1 >conftest.err
20455
21458
  rm -f conftest.er1
20456
21459
  cat conftest.err >&5
20457
21460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458
 
  (exit $ac_status); } &&
20459
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461
 
  (eval $ac_try) 2>&5
20462
 
  ac_status=$?
20463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464
 
  (exit $ac_status); }; } &&
20465
 
         { ac_try='test -s conftest$ac_exeext'
20466
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467
 
  (eval $ac_try) 2>&5
20468
 
  ac_status=$?
20469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470
 
  (exit $ac_status); }; }; then
 
21461
  (exit $ac_status); } && {
 
21462
         test -z "$ac_c_werror_flag" ||
 
21463
         test ! -s conftest.err
 
21464
       } && test -s conftest$ac_exeext &&
 
21465
       $as_test_x conftest$ac_exeext; then
20471
21466
  ac_cv_lib_pthread_pthread_create=yes
20472
21467
else
20473
21468
  echo "$as_me: failed program was:" >&5
20474
21469
sed 's/^/| /' conftest.$ac_ext >&5
20475
21470
 
20476
 
ac_cv_lib_pthread_pthread_create=no
 
21471
        ac_cv_lib_pthread_pthread_create=no
20477
21472
fi
20478
 
rm -f conftest.err conftest.$ac_objext \
 
21473
 
 
21474
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20479
21475
      conftest$ac_exeext conftest.$ac_ext
20480
21476
LIBS=$ac_check_lib_save_LIBS
20481
21477
fi
20482
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20483
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
 
21478
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 
21479
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20484
21480
if test $ac_cv_lib_pthread_pthread_create = yes; then
20485
21481
  cat >>confdefs.h <<_ACEOF
20486
21482
#define HAVE_LIBPTHREAD 1
20495
21491
fi
20496
21492
 
20497
21493
 
20498
 
echo "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
20499
 
echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6
 
21494
{ echo "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
 
21495
echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6; }
20500
21496
if test "${ac_cv_lib_audio_alOpenPort+set}" = set; then
20501
21497
  echo $ECHO_N "(cached) $ECHO_C" >&6
20502
21498
else
20509
21505
cat >>conftest.$ac_ext <<_ACEOF
20510
21506
/* end confdefs.h.  */
20511
21507
 
20512
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21508
/* Override any GCC internal prototype to avoid an error.
 
21509
   Use char because int might match the return type of a GCC
 
21510
   builtin and then its argument prototype would still apply.  */
20513
21511
#ifdef __cplusplus
20514
21512
extern "C"
20515
21513
#endif
20516
 
/* We use char because int might match the return type of a gcc2
20517
 
   builtin and then its argument prototype would still apply.  */
20518
21514
char alOpenPort ();
20519
21515
int
20520
21516
main ()
20521
21517
{
20522
 
alOpenPort ();
 
21518
return alOpenPort ();
20523
21519
  ;
20524
21520
  return 0;
20525
21521
}
20526
21522
_ACEOF
20527
21523
rm -f conftest.$ac_objext conftest$ac_exeext
20528
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20529
 
  (eval $ac_link) 2>conftest.er1
 
21524
if { (ac_try="$ac_link"
 
21525
case "(($ac_try" in
 
21526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21527
  *) ac_try_echo=$ac_try;;
 
21528
esac
 
21529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21530
  (eval "$ac_link") 2>conftest.er1
20530
21531
  ac_status=$?
20531
21532
  grep -v '^ *+' conftest.er1 >conftest.err
20532
21533
  rm -f conftest.er1
20533
21534
  cat conftest.err >&5
20534
21535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535
 
  (exit $ac_status); } &&
20536
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538
 
  (eval $ac_try) 2>&5
20539
 
  ac_status=$?
20540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541
 
  (exit $ac_status); }; } &&
20542
 
         { ac_try='test -s conftest$ac_exeext'
20543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544
 
  (eval $ac_try) 2>&5
20545
 
  ac_status=$?
20546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547
 
  (exit $ac_status); }; }; then
 
21536
  (exit $ac_status); } && {
 
21537
         test -z "$ac_c_werror_flag" ||
 
21538
         test ! -s conftest.err
 
21539
       } && test -s conftest$ac_exeext &&
 
21540
       $as_test_x conftest$ac_exeext; then
20548
21541
  ac_cv_lib_audio_alOpenPort=yes
20549
21542
else
20550
21543
  echo "$as_me: failed program was:" >&5
20551
21544
sed 's/^/| /' conftest.$ac_ext >&5
20552
21545
 
20553
 
ac_cv_lib_audio_alOpenPort=no
 
21546
        ac_cv_lib_audio_alOpenPort=no
20554
21547
fi
20555
 
rm -f conftest.err conftest.$ac_objext \
 
21548
 
 
21549
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20556
21550
      conftest$ac_exeext conftest.$ac_ext
20557
21551
LIBS=$ac_check_lib_save_LIBS
20558
21552
fi
20559
 
echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
20560
 
echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6
 
21553
{ echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
 
21554
echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6; }
20561
21555
if test $ac_cv_lib_audio_alOpenPort = yes; then
20562
21556
  cat >>confdefs.h <<_ACEOF
20563
21557
#define HAVE_LIBAUDIO 1
20572
21566
fi
20573
21567
 
20574
21568
 
20575
 
echo "$as_me:$LINENO: checking for dmGetUST in -ldmedia" >&5
20576
 
echo $ECHO_N "checking for dmGetUST in -ldmedia... $ECHO_C" >&6
 
21569
{ echo "$as_me:$LINENO: checking for dmGetUST in -ldmedia" >&5
 
21570
echo $ECHO_N "checking for dmGetUST in -ldmedia... $ECHO_C" >&6; }
20577
21571
if test "${ac_cv_lib_dmedia_dmGetUST+set}" = set; then
20578
21572
  echo $ECHO_N "(cached) $ECHO_C" >&6
20579
21573
else
20586
21580
cat >>conftest.$ac_ext <<_ACEOF
20587
21581
/* end confdefs.h.  */
20588
21582
 
20589
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21583
/* Override any GCC internal prototype to avoid an error.
 
21584
   Use char because int might match the return type of a GCC
 
21585
   builtin and then its argument prototype would still apply.  */
20590
21586
#ifdef __cplusplus
20591
21587
extern "C"
20592
21588
#endif
20593
 
/* We use char because int might match the return type of a gcc2
20594
 
   builtin and then its argument prototype would still apply.  */
20595
21589
char dmGetUST ();
20596
21590
int
20597
21591
main ()
20598
21592
{
20599
 
dmGetUST ();
 
21593
return dmGetUST ();
20600
21594
  ;
20601
21595
  return 0;
20602
21596
}
20603
21597
_ACEOF
20604
21598
rm -f conftest.$ac_objext conftest$ac_exeext
20605
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20606
 
  (eval $ac_link) 2>conftest.er1
 
21599
if { (ac_try="$ac_link"
 
21600
case "(($ac_try" in
 
21601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21602
  *) ac_try_echo=$ac_try;;
 
21603
esac
 
21604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21605
  (eval "$ac_link") 2>conftest.er1
20607
21606
  ac_status=$?
20608
21607
  grep -v '^ *+' conftest.er1 >conftest.err
20609
21608
  rm -f conftest.er1
20610
21609
  cat conftest.err >&5
20611
21610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612
 
  (exit $ac_status); } &&
20613
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615
 
  (eval $ac_try) 2>&5
20616
 
  ac_status=$?
20617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618
 
  (exit $ac_status); }; } &&
20619
 
         { ac_try='test -s conftest$ac_exeext'
20620
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621
 
  (eval $ac_try) 2>&5
20622
 
  ac_status=$?
20623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624
 
  (exit $ac_status); }; }; then
 
21611
  (exit $ac_status); } && {
 
21612
         test -z "$ac_c_werror_flag" ||
 
21613
         test ! -s conftest.err
 
21614
       } && test -s conftest$ac_exeext &&
 
21615
       $as_test_x conftest$ac_exeext; then
20625
21616
  ac_cv_lib_dmedia_dmGetUST=yes
20626
21617
else
20627
21618
  echo "$as_me: failed program was:" >&5
20628
21619
sed 's/^/| /' conftest.$ac_ext >&5
20629
21620
 
20630
 
ac_cv_lib_dmedia_dmGetUST=no
 
21621
        ac_cv_lib_dmedia_dmGetUST=no
20631
21622
fi
20632
 
rm -f conftest.err conftest.$ac_objext \
 
21623
 
 
21624
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20633
21625
      conftest$ac_exeext conftest.$ac_ext
20634
21626
LIBS=$ac_check_lib_save_LIBS
20635
21627
fi
20636
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dmedia_dmGetUST" >&5
20637
 
echo "${ECHO_T}$ac_cv_lib_dmedia_dmGetUST" >&6
 
21628
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dmedia_dmGetUST" >&5
 
21629
echo "${ECHO_T}$ac_cv_lib_dmedia_dmGetUST" >&6; }
20638
21630
if test $ac_cv_lib_dmedia_dmGetUST = yes; then
20639
21631
  cat >>confdefs.h <<_ACEOF
20640
21632
#define HAVE_LIBDMEDIA 1
20665
21657
 
20666
21658
  *)
20667
21659
 
20668
 
   echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20669
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
 
21660
   { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
21661
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20670
21662
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20671
21663
  echo $ECHO_N "(cached) $ECHO_C" >&6
20672
21664
else
20679
21671
cat >>conftest.$ac_ext <<_ACEOF
20680
21672
/* end confdefs.h.  */
20681
21673
 
20682
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21674
/* Override any GCC internal prototype to avoid an error.
 
21675
   Use char because int might match the return type of a GCC
 
21676
   builtin and then its argument prototype would still apply.  */
20683
21677
#ifdef __cplusplus
20684
21678
extern "C"
20685
21679
#endif
20686
 
/* We use char because int might match the return type of a gcc2
20687
 
   builtin and then its argument prototype would still apply.  */
20688
21680
char pthread_create ();
20689
21681
int
20690
21682
main ()
20691
21683
{
20692
 
pthread_create ();
 
21684
return pthread_create ();
20693
21685
  ;
20694
21686
  return 0;
20695
21687
}
20696
21688
_ACEOF
20697
21689
rm -f conftest.$ac_objext conftest$ac_exeext
20698
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20699
 
  (eval $ac_link) 2>conftest.er1
 
21690
if { (ac_try="$ac_link"
 
21691
case "(($ac_try" in
 
21692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21693
  *) ac_try_echo=$ac_try;;
 
21694
esac
 
21695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21696
  (eval "$ac_link") 2>conftest.er1
20700
21697
  ac_status=$?
20701
21698
  grep -v '^ *+' conftest.er1 >conftest.err
20702
21699
  rm -f conftest.er1
20703
21700
  cat conftest.err >&5
20704
21701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705
 
  (exit $ac_status); } &&
20706
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20707
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708
 
  (eval $ac_try) 2>&5
20709
 
  ac_status=$?
20710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711
 
  (exit $ac_status); }; } &&
20712
 
         { ac_try='test -s conftest$ac_exeext'
20713
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714
 
  (eval $ac_try) 2>&5
20715
 
  ac_status=$?
20716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717
 
  (exit $ac_status); }; }; then
 
21702
  (exit $ac_status); } && {
 
21703
         test -z "$ac_c_werror_flag" ||
 
21704
         test ! -s conftest.err
 
21705
       } && test -s conftest$ac_exeext &&
 
21706
       $as_test_x conftest$ac_exeext; then
20718
21707
  ac_cv_lib_pthread_pthread_create=yes
20719
21708
else
20720
21709
  echo "$as_me: failed program was:" >&5
20721
21710
sed 's/^/| /' conftest.$ac_ext >&5
20722
21711
 
20723
 
ac_cv_lib_pthread_pthread_create=no
 
21712
        ac_cv_lib_pthread_pthread_create=no
20724
21713
fi
20725
 
rm -f conftest.err conftest.$ac_objext \
 
21714
 
 
21715
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20726
21716
      conftest$ac_exeext conftest.$ac_ext
20727
21717
LIBS=$ac_check_lib_save_LIBS
20728
21718
fi
20729
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20730
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
 
21719
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 
21720
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20731
21721
if test $ac_cv_lib_pthread_pthread_create = yes; then
20732
21722
  have_pthread="yes"
20733
21723
 
20750
21740
        if [ $have_jack = "yes" ] && [ $with_jack != "no" ] ; then
20751
21741
                DLL_LIBS="$DLL_LIBS $JACK_LIBS"
20752
21742
                CFLAGS="$CFLAGS $JACK_CFLAGS"
20753
 
                OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o"
 
21743
                OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o src/common/pa_ringbuffer.o"
20754
21744
                cat >>confdefs.h <<\_ACEOF
20755
21745
#define PA_USE_JACK 1
20756
21746
_ACEOF
20786
21776
CFLAGS="$CFLAGS $THREAD_CFLAGS"
20787
21777
 
20788
21778
if test "$enable_cxx" = "yes"; then
20789
 
 
20790
 
 
20791
 
subdirs="$subdirs bindings/cpp"
 
21779
   subdirs="$subdirs bindings/cpp"
20792
21780
 
20793
21781
   ENABLE_CXX_TRUE=""
20794
21782
   ENABLE_CXX_FALE="#"
20799
21787
 
20800
21788
 
20801
21789
 
20802
 
                    ac_config_files="$ac_config_files Makefile portaudio-2.0.pc"
 
21790
ac_config_files="$ac_config_files Makefile portaudio-2.0.pc"
 
21791
 
20803
21792
cat >confcache <<\_ACEOF
20804
21793
# This file is a shell script that caches the results of configure
20805
21794
# tests run on this system so they can be shared between configure
20818
21807
 
20819
21808
# The following way of writing the cache mishandles newlines in values,
20820
21809
# but we know of no workaround that is simple, portable, and efficient.
20821
 
# So, don't put newlines in cache variables' values.
 
21810
# So, we kill variables containing newlines.
20822
21811
# Ultrix sh set writes to stderr and can't be redirected directly,
20823
21812
# and sets the high bit in the cache file unless we assign to the vars.
20824
 
{
 
21813
(
 
21814
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
21815
    eval ac_val=\$$ac_var
 
21816
    case $ac_val in #(
 
21817
    *${as_nl}*)
 
21818
      case $ac_var in #(
 
21819
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
21820
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
21821
      esac
 
21822
      case $ac_var in #(
 
21823
      _ | IFS | as_nl) ;; #(
 
21824
      *) $as_unset $ac_var ;;
 
21825
      esac ;;
 
21826
    esac
 
21827
  done
 
21828
 
20825
21829
  (set) 2>&1 |
20826
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20827
 
    *ac_space=\ *)
 
21830
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
21831
    *${as_nl}ac_space=\ *)
20828
21832
      # `set' does not quote correctly, so add quotes (double-quote
20829
21833
      # substitution turns \\\\ into \\, and sed turns \\ into \).
20830
21834
      sed -n \
20831
21835
        "s/'/'\\\\''/g;
20832
21836
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20833
 
      ;;
 
21837
      ;; #(
20834
21838
    *)
20835
21839
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20836
 
      sed -n \
20837
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
21840
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20838
21841
      ;;
20839
 
    esac;
20840
 
} |
 
21842
    esac |
 
21843
    sort
 
21844
) |
20841
21845
  sed '
 
21846
     /^ac_cv_env_/b end
20842
21847
     t clear
20843
 
     : clear
 
21848
     :clear
20844
21849
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20845
21850
     t end
20846
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20847
 
     : end' >>confcache
20848
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20849
 
  if test -w $cache_file; then
20850
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
21851
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
21852
     :end' >>confcache
 
21853
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
21854
  if test -w "$cache_file"; then
 
21855
    test "x$cache_file" != "x/dev/null" &&
 
21856
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
21857
echo "$as_me: updating cache $cache_file" >&6;}
20851
21858
    cat confcache >$cache_file
20852
21859
  else
20853
 
    echo "not updating unwritable cache $cache_file"
 
21860
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
21861
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20854
21862
  fi
20855
21863
fi
20856
21864
rm -f confcache
20859
21867
# Let make expand exec_prefix.
20860
21868
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20861
21869
 
20862
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20863
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20864
 
# trailing colons and then remove the whole line if VPATH becomes empty
20865
 
# (actually we leave an empty line to preserve line numbers).
20866
 
if test "x$srcdir" = x.; then
20867
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20868
 
s/:*\$(srcdir):*/:/;
20869
 
s/:*\${srcdir}:*/:/;
20870
 
s/:*@srcdir@:*/:/;
20871
 
s/^\([^=]*=[     ]*\):*/\1/;
20872
 
s/:*$//;
20873
 
s/^[^=]*=[       ]*$//;
20874
 
}'
20875
 
fi
20876
 
 
20877
21870
# Transform confdefs.h into DEFS.
20878
21871
# Protect against shell expansion while executing Makefile rules.
20879
21872
# Protect against Makefile macro expansion.
20880
21873
#
20881
21874
# If the first sed substitution is executed (which looks for macros that
20882
 
# take arguments), then we branch to the quote section.  Otherwise,
 
21875
# take arguments), then branch to the quote section.  Otherwise,
20883
21876
# look for a macro that doesn't take arguments.
20884
 
cat >confdef2opt.sed <<\_ACEOF
 
21877
ac_script='
20885
21878
t clear
20886
 
: clear
20887
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
20888
 
t quote
20889
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
20890
 
t quote
20891
 
d
20892
 
: quote
20893
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
20894
 
s,\[,\\&,g
20895
 
s,\],\\&,g
20896
 
s,\$,$$,g
20897
 
p
20898
 
_ACEOF
20899
 
# We use echo to avoid assuming a particular line-breaking character.
20900
 
# The extra dot is to prevent the shell from consuming trailing
20901
 
# line-breaks from the sub-command output.  A line-break within
20902
 
# single-quotes doesn't work because, if this script is created in a
20903
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
20904
 
# would break.
20905
 
ac_LF_and_DOT=`echo; echo .`
20906
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
20907
 
rm -f confdef2opt.sed
 
21879
:clear
 
21880
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
21881
t quote
 
21882
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
21883
t quote
 
21884
b any
 
21885
:quote
 
21886
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
21887
s/\[/\\&/g
 
21888
s/\]/\\&/g
 
21889
s/\$/$$/g
 
21890
H
 
21891
:any
 
21892
${
 
21893
        g
 
21894
        s/^\n//
 
21895
        s/\n/ /g
 
21896
        p
 
21897
}
 
21898
'
 
21899
DEFS=`sed -n "$ac_script" confdefs.h`
20908
21900
 
20909
21901
 
20910
21902
ac_libobjs=
20911
21903
ac_ltlibobjs=
20912
21904
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20913
21905
  # 1. Remove the extension, and $U if already installed.
20914
 
  ac_i=`echo "$ac_i" |
20915
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20916
 
  # 2. Add them.
20917
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20918
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
21906
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
21907
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
21908
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
21909
  #    will be set to the directory where LIBOBJS objects are built.
 
21910
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
21911
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20919
21912
done
20920
21913
LIBOBJS=$ac_libobjs
20921
21914
 
20946
21939
## M4sh Initialization.  ##
20947
21940
## --------------------- ##
20948
21941
 
20949
 
# Be Bourne compatible
 
21942
# Be more Bourne compatible
 
21943
DUALCASE=1; export DUALCASE # for MKS sh
20950
21944
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20951
21945
  emulate sh
20952
21946
  NULLCMD=:
20953
21947
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20954
21948
  # is contrary to our usage.  Disable this feature.
20955
21949
  alias -g '${1+"$@"}'='"$@"'
20956
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20957
 
  set -o posix
20958
 
fi
20959
 
DUALCASE=1; export DUALCASE # for MKS sh
 
21950
  setopt NO_GLOB_SUBST
 
21951
else
 
21952
  case `(set -o) 2>/dev/null` in
 
21953
  *posix*) set -o posix ;;
 
21954
esac
 
21955
 
 
21956
fi
 
21957
 
 
21958
 
 
21959
 
 
21960
 
 
21961
# PATH needs CR
 
21962
# Avoid depending upon Character Ranges.
 
21963
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
21964
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
21965
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
21966
as_cr_digits='0123456789'
 
21967
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
21968
 
 
21969
# The user is always right.
 
21970
if test "${PATH_SEPARATOR+set}" != set; then
 
21971
  echo "#! /bin/sh" >conf$$.sh
 
21972
  echo  "exit 0"   >>conf$$.sh
 
21973
  chmod +x conf$$.sh
 
21974
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
21975
    PATH_SEPARATOR=';'
 
21976
  else
 
21977
    PATH_SEPARATOR=:
 
21978
  fi
 
21979
  rm -f conf$$.sh
 
21980
fi
20960
21981
 
20961
21982
# Support unset when possible.
20962
21983
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20966
21987
fi
20967
21988
 
20968
21989
 
 
21990
# IFS
 
21991
# We need space, tab and new line, in precisely that order.  Quoting is
 
21992
# there to prevent editors from complaining about space-tab.
 
21993
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
21994
# splitting by setting IFS to empty value.)
 
21995
as_nl='
 
21996
'
 
21997
IFS=" ""        $as_nl"
 
21998
 
 
21999
# Find who we are.  Look in the path if we contain no directory separator.
 
22000
case $0 in
 
22001
  *[\\/]* ) as_myself=$0 ;;
 
22002
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22003
for as_dir in $PATH
 
22004
do
 
22005
  IFS=$as_save_IFS
 
22006
  test -z "$as_dir" && as_dir=.
 
22007
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22008
done
 
22009
IFS=$as_save_IFS
 
22010
 
 
22011
     ;;
 
22012
esac
 
22013
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22014
# in which case we are not to be found in the path.
 
22015
if test "x$as_myself" = x; then
 
22016
  as_myself=$0
 
22017
fi
 
22018
if test ! -f "$as_myself"; then
 
22019
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22020
  { (exit 1); exit 1; }
 
22021
fi
 
22022
 
20969
22023
# Work around bugs in pre-3.0 UWIN ksh.
20970
 
$as_unset ENV MAIL MAILPATH
 
22024
for as_var in ENV MAIL MAILPATH
 
22025
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22026
done
20971
22027
PS1='$ '
20972
22028
PS2='> '
20973
22029
PS4='+ '
20981
22037
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20982
22038
    eval $as_var=C; export $as_var
20983
22039
  else
20984
 
    $as_unset $as_var
 
22040
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20985
22041
  fi
20986
22042
done
20987
22043
 
20988
22044
# Required to use basename.
20989
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22045
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22046
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20990
22047
  as_expr=expr
20991
22048
else
20992
22049
  as_expr=false
20993
22050
fi
20994
22051
 
20995
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22052
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20996
22053
  as_basename=basename
20997
22054
else
20998
22055
  as_basename=false
21000
22057
 
21001
22058
 
21002
22059
# Name of the executable.
21003
 
as_me=`$as_basename "$0" ||
 
22060
as_me=`$as_basename -- "$0" ||
21004
22061
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21005
22062
         X"$0" : 'X\(//\)$' \| \
21006
 
         X"$0" : 'X\(/\)$' \| \
21007
 
         .     : '\(.\)' 2>/dev/null ||
 
22063
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21008
22064
echo X/"$0" |
21009
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21010
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21011
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21012
 
          s/.*/./; q'`
21013
 
 
21014
 
 
21015
 
# PATH needs CR, and LINENO needs CR and PATH.
21016
 
# Avoid depending upon Character Ranges.
21017
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21018
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21019
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21020
 
as_cr_digits='0123456789'
21021
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21022
 
 
21023
 
# The user is always right.
21024
 
if test "${PATH_SEPARATOR+set}" != set; then
21025
 
  echo "#! /bin/sh" >conf$$.sh
21026
 
  echo  "exit 0"   >>conf$$.sh
21027
 
  chmod +x conf$$.sh
21028
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21029
 
    PATH_SEPARATOR=';'
21030
 
  else
21031
 
    PATH_SEPARATOR=:
21032
 
  fi
21033
 
  rm -f conf$$.sh
21034
 
fi
21035
 
 
21036
 
 
21037
 
  as_lineno_1=$LINENO
21038
 
  as_lineno_2=$LINENO
21039
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21040
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21041
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21042
 
  # Find who we are.  Look in the path if we contain no path at all
21043
 
  # relative or not.
21044
 
  case $0 in
21045
 
    *[\\/]* ) as_myself=$0 ;;
21046
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21047
 
for as_dir in $PATH
21048
 
do
21049
 
  IFS=$as_save_IFS
21050
 
  test -z "$as_dir" && as_dir=.
21051
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21052
 
done
21053
 
 
21054
 
       ;;
21055
 
  esac
21056
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21057
 
  # in which case we are not to be found in the path.
21058
 
  if test "x$as_myself" = x; then
21059
 
    as_myself=$0
21060
 
  fi
21061
 
  if test ! -f "$as_myself"; then
21062
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21063
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21064
 
   { (exit 1); exit 1; }; }
21065
 
  fi
21066
 
  case $CONFIG_SHELL in
21067
 
  '')
21068
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21069
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21070
 
do
21071
 
  IFS=$as_save_IFS
21072
 
  test -z "$as_dir" && as_dir=.
21073
 
  for as_base in sh bash ksh sh5; do
21074
 
         case $as_dir in
21075
 
         /*)
21076
 
           if ("$as_dir/$as_base" -c '
21077
 
  as_lineno_1=$LINENO
21078
 
  as_lineno_2=$LINENO
21079
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21080
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21081
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21082
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21083
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21084
 
             CONFIG_SHELL=$as_dir/$as_base
21085
 
             export CONFIG_SHELL
21086
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21087
 
           fi;;
21088
 
         esac
21089
 
       done
21090
 
done
21091
 
;;
21092
 
  esac
 
22065
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22066
            s//\1/
 
22067
            q
 
22068
          }
 
22069
          /^X\/\(\/\/\)$/{
 
22070
            s//\1/
 
22071
            q
 
22072
          }
 
22073
          /^X\/\(\/\).*/{
 
22074
            s//\1/
 
22075
            q
 
22076
          }
 
22077
          s/.*/./; q'`
 
22078
 
 
22079
# CDPATH.
 
22080
$as_unset CDPATH
 
22081
 
 
22082
 
 
22083
 
 
22084
  as_lineno_1=$LINENO
 
22085
  as_lineno_2=$LINENO
 
22086
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22087
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21093
22088
 
21094
22089
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21095
22090
  # uniformly replaced by the line number.  The first 'sed' inserts a
21096
 
  # line-number line before each line; the second 'sed' does the real
21097
 
  # work.  The second script uses 'N' to pair each line-number line
21098
 
  # with the numbered line, and appends trailing '-' during
21099
 
  # substitution so that $LINENO is not a special case at line end.
 
22091
  # line-number line after each line using $LINENO; the second 'sed'
 
22092
  # does the real work.  The second script uses 'N' to pair each
 
22093
  # line-number line with the line containing $LINENO, and appends
 
22094
  # trailing '-' during substitution so that $LINENO is not a special
 
22095
  # case at line end.
21100
22096
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21101
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21102
 
  sed '=' <$as_myself |
 
22097
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22098
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22099
  sed -n '
 
22100
    p
 
22101
    /[$]LINENO/=
 
22102
  ' <$as_myself |
21103
22103
    sed '
 
22104
      s/[$]LINENO.*/&-/
 
22105
      t lineno
 
22106
      b
 
22107
      :lineno
21104
22108
      N
21105
 
      s,$,-,
21106
 
      : loop
21107
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22109
      :loop
 
22110
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21108
22111
      t loop
21109
 
      s,-$,,
21110
 
      s,^['$as_cr_digits']*\n,,
 
22112
      s/-\n.*//
21111
22113
    ' >$as_me.lineno &&
21112
 
  chmod +x $as_me.lineno ||
21113
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21114
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22114
  chmod +x "$as_me.lineno" ||
 
22115
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21115
22116
   { (exit 1); exit 1; }; }
21116
22117
 
21117
22118
  # Don't try to exec as it changes $[0], causing all sort of problems
21118
22119
  # (the dirname of $[0] is not the place where we might find the
21119
 
  # original and so on.  Autoconf is especially sensible to this).
21120
 
  . ./$as_me.lineno
 
22120
  # original and so on.  Autoconf is especially sensitive to this).
 
22121
  . "./$as_me.lineno"
21121
22122
  # Exit status is that of the last command.
21122
22123
  exit
21123
22124
}
21124
22125
 
21125
22126
 
21126
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21127
 
  *c*,-n*) ECHO_N= ECHO_C='
21128
 
' ECHO_T='      ' ;;
21129
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21130
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22127
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22128
  as_dirname=dirname
 
22129
else
 
22130
  as_dirname=false
 
22131
fi
 
22132
 
 
22133
ECHO_C= ECHO_N= ECHO_T=
 
22134
case `echo -n x` in
 
22135
-n*)
 
22136
  case `echo 'x\c'` in
 
22137
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22138
  *)   ECHO_C='\c';;
 
22139
  esac;;
 
22140
*)
 
22141
  ECHO_N='-n';;
21131
22142
esac
21132
22143
 
21133
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22144
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22145
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21134
22146
  as_expr=expr
21135
22147
else
21136
22148
  as_expr=false
21137
22149
fi
21138
22150
 
21139
22151
rm -f conf$$ conf$$.exe conf$$.file
 
22152
if test -d conf$$.dir; then
 
22153
  rm -f conf$$.dir/conf$$.file
 
22154
else
 
22155
  rm -f conf$$.dir
 
22156
  mkdir conf$$.dir
 
22157
fi
21140
22158
echo >conf$$.file
21141
22159
if ln -s conf$$.file conf$$ 2>/dev/null; then
21142
 
  # We could just check for DJGPP; but this test a) works b) is more generic
21143
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21144
 
  if test -f conf$$.exe; then
21145
 
    # Don't use ln at all; we don't have any links
 
22160
  as_ln_s='ln -s'
 
22161
  # ... but there are two gotchas:
 
22162
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22163
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22164
  # In both cases, we have to default to `cp -p'.
 
22165
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21146
22166
    as_ln_s='cp -p'
21147
 
  else
21148
 
    as_ln_s='ln -s'
21149
 
  fi
21150
22167
elif ln conf$$.file conf$$ 2>/dev/null; then
21151
22168
  as_ln_s=ln
21152
22169
else
21153
22170
  as_ln_s='cp -p'
21154
22171
fi
21155
 
rm -f conf$$ conf$$.exe conf$$.file
 
22172
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22173
rmdir conf$$.dir 2>/dev/null
21156
22174
 
21157
22175
if mkdir -p . 2>/dev/null; then
21158
22176
  as_mkdir_p=:
21161
22179
  as_mkdir_p=false
21162
22180
fi
21163
22181
 
21164
 
as_executable_p="test -f"
 
22182
if test -x / >/dev/null 2>&1; then
 
22183
  as_test_x='test -x'
 
22184
else
 
22185
  if ls -dL / >/dev/null 2>&1; then
 
22186
    as_ls_L_option=L
 
22187
  else
 
22188
    as_ls_L_option=
 
22189
  fi
 
22190
  as_test_x='
 
22191
    eval sh -c '\''
 
22192
      if test -d "$1"; then
 
22193
        test -d "$1/.";
 
22194
      else
 
22195
        case $1 in
 
22196
        -*)set "./$1";;
 
22197
        esac;
 
22198
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
22199
        ???[sx]*):;;*)false;;esac;fi
 
22200
    '\'' sh
 
22201
  '
 
22202
fi
 
22203
as_executable_p=$as_test_x
21165
22204
 
21166
22205
# Sed expression to map a string onto a valid CPP name.
21167
22206
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21170
22209
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21171
22210
 
21172
22211
 
21173
 
# IFS
21174
 
# We need space, tab and new line, in precisely that order.
21175
 
as_nl='
21176
 
'
21177
 
IFS="   $as_nl"
21178
 
 
21179
 
# CDPATH.
21180
 
$as_unset CDPATH
21181
 
 
21182
22212
exec 6>&1
21183
22213
 
21184
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
22214
# Save the log message, to keep $[0] and so on meaningful, and to
21185
22215
# report actual input values of CONFIG_FILES etc. instead of their
21186
 
# values after options handling.  Logging --version etc. is OK.
21187
 
exec 5>>config.log
21188
 
{
21189
 
  echo
21190
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21191
 
## Running $as_me. ##
21192
 
_ASBOX
21193
 
} >&5
21194
 
cat >&5 <<_CSEOF
21195
 
 
 
22216
# values after options handling.
 
22217
ac_log="
21196
22218
This file was extended by $as_me, which was
21197
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
22219
generated by GNU Autoconf 2.61.  Invocation command line was
21198
22220
 
21199
22221
  CONFIG_FILES    = $CONFIG_FILES
21200
22222
  CONFIG_HEADERS  = $CONFIG_HEADERS
21202
22224
  CONFIG_COMMANDS = $CONFIG_COMMANDS
21203
22225
  $ $0 $@
21204
22226
 
21205
 
_CSEOF
21206
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21207
 
echo >&5
 
22227
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22228
"
 
22229
 
21208
22230
_ACEOF
21209
22231
 
 
22232
cat >>$CONFIG_STATUS <<_ACEOF
21210
22233
# Files that config.status was made for.
21211
 
if test -n "$ac_config_files"; then
21212
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21213
 
fi
21214
 
 
21215
 
if test -n "$ac_config_headers"; then
21216
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21217
 
fi
21218
 
 
21219
 
if test -n "$ac_config_links"; then
21220
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21221
 
fi
21222
 
 
21223
 
if test -n "$ac_config_commands"; then
21224
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21225
 
fi
 
22234
config_files="$ac_config_files"
 
22235
 
 
22236
_ACEOF
21226
22237
 
21227
22238
cat >>$CONFIG_STATUS <<\_ACEOF
21228
 
 
21229
22239
ac_cs_usage="\
21230
22240
\`$as_me' instantiates files from templates according to the
21231
22241
current configuration.
21233
22243
Usage: $0 [OPTIONS] [FILE]...
21234
22244
 
21235
22245
  -h, --help       print this help, then exit
21236
 
  -V, --version    print version number, then exit
 
22246
  -V, --version    print version number and configuration settings, then exit
21237
22247
  -q, --quiet      do not print progress messages
21238
22248
  -d, --debug      don't remove temporary files
21239
22249
      --recheck    update $as_me by reconfiguring in the same conditions
21244
22254
$config_files
21245
22255
 
21246
22256
Report bugs to <bug-autoconf@gnu.org>."
 
22257
 
21247
22258
_ACEOF
21248
 
 
21249
22259
cat >>$CONFIG_STATUS <<_ACEOF
21250
22260
ac_cs_version="\\
21251
22261
config.status
21252
 
configured by $0, generated by GNU Autoconf 2.59,
21253
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
22262
configured by $0, generated by GNU Autoconf 2.61,
 
22263
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21254
22264
 
21255
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
22265
Copyright (C) 2006 Free Software Foundation, Inc.
21256
22266
This config.status script is free software; the Free Software Foundation
21257
22267
gives unlimited permission to copy, distribute and modify it."
21258
 
srcdir=$srcdir
21259
 
INSTALL="$INSTALL"
 
22268
 
 
22269
ac_pwd='$ac_pwd'
 
22270
srcdir='$srcdir'
 
22271
INSTALL='$INSTALL'
21260
22272
_ACEOF
21261
22273
 
21262
22274
cat >>$CONFIG_STATUS <<\_ACEOF
21267
22279
do
21268
22280
  case $1 in
21269
22281
  --*=*)
21270
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21271
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
22282
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22283
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21272
22284
    ac_shift=:
21273
22285
    ;;
21274
 
  -*)
 
22286
  *)
21275
22287
    ac_option=$1
21276
22288
    ac_optarg=$2
21277
22289
    ac_shift=shift
21278
22290
    ;;
21279
 
  *) # This is not an option, so the user has probably given explicit
21280
 
     # arguments.
21281
 
     ac_option=$1
21282
 
     ac_need_defaults=false;;
21283
22291
  esac
21284
22292
 
21285
22293
  case $ac_option in
21286
22294
  # Handling of the options.
21287
 
_ACEOF
21288
 
cat >>$CONFIG_STATUS <<\_ACEOF
21289
22295
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21290
22296
    ac_cs_recheck=: ;;
21291
 
  --version | --vers* | -V )
21292
 
    echo "$ac_cs_version"; exit 0 ;;
21293
 
  --he | --h)
21294
 
    # Conflict between --help and --header
21295
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21296
 
Try \`$0 --help' for more information." >&5
21297
 
echo "$as_me: error: ambiguous option: $1
21298
 
Try \`$0 --help' for more information." >&2;}
21299
 
   { (exit 1); exit 1; }; };;
21300
 
  --help | --hel | -h )
21301
 
    echo "$ac_cs_usage"; exit 0 ;;
21302
 
  --debug | --d* | -d )
 
22297
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
22298
    echo "$ac_cs_version"; exit ;;
 
22299
  --debug | --debu | --deb | --de | --d | -d )
21303
22300
    debug=: ;;
21304
22301
  --file | --fil | --fi | --f )
21305
22302
    $ac_shift
21306
22303
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21307
22304
    ac_need_defaults=false;;
21308
 
  --header | --heade | --head | --hea )
21309
 
    $ac_shift
21310
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21311
 
    ac_need_defaults=false;;
 
22305
  --he | --h |  --help | --hel | -h )
 
22306
    echo "$ac_cs_usage"; exit ;;
21312
22307
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21313
22308
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21314
22309
    ac_cs_silent=: ;;
21315
22310
 
21316
22311
  # This is an error.
21317
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21318
 
Try \`$0 --help' for more information." >&5
21319
 
echo "$as_me: error: unrecognized option: $1
21320
 
Try \`$0 --help' for more information." >&2;}
 
22312
  -*) { echo "$as_me: error: unrecognized option: $1
 
22313
Try \`$0 --help' for more information." >&2
21321
22314
   { (exit 1); exit 1; }; } ;;
21322
22315
 
21323
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
22316
  *) ac_config_targets="$ac_config_targets $1"
 
22317
     ac_need_defaults=false ;;
21324
22318
 
21325
22319
  esac
21326
22320
  shift
21336
22330
_ACEOF
21337
22331
cat >>$CONFIG_STATUS <<_ACEOF
21338
22332
if \$ac_cs_recheck; then
21339
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21340
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22333
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
22334
  CONFIG_SHELL=$SHELL
 
22335
  export CONFIG_SHELL
 
22336
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21341
22337
fi
21342
22338
 
21343
22339
_ACEOF
21344
 
 
21345
 
 
21346
 
 
21347
 
 
21348
 
 
21349
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22340
cat >>$CONFIG_STATUS <<\_ACEOF
 
22341
exec 5>>config.log
 
22342
{
 
22343
  echo
 
22344
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
22345
## Running $as_me. ##
 
22346
_ASBOX
 
22347
  echo "$ac_log"
 
22348
} >&5
 
22349
 
 
22350
_ACEOF
 
22351
cat >>$CONFIG_STATUS <<_ACEOF
 
22352
_ACEOF
 
22353
 
 
22354
cat >>$CONFIG_STATUS <<\_ACEOF
 
22355
 
 
22356
# Handling of arguments.
21350
22357
for ac_config_target in $ac_config_targets
21351
22358
do
21352
 
  case "$ac_config_target" in
21353
 
  # Handling of arguments.
21354
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21355
 
  "portaudio-2.0.pc" ) CONFIG_FILES="$CONFIG_FILES portaudio-2.0.pc" ;;
 
22359
  case $ac_config_target in
 
22360
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
22361
    "portaudio-2.0.pc") CONFIG_FILES="$CONFIG_FILES portaudio-2.0.pc" ;;
 
22362
 
21356
22363
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21357
22364
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21358
22365
   { (exit 1); exit 1; }; };;
21359
22366
  esac
21360
22367
done
21361
22368
 
 
22369
 
21362
22370
# If the user did not use the arguments to specify the items to instantiate,
21363
22371
# then the envvar interface is used.  Set only those that are not.
21364
22372
# We use the long form for the default assignment because of an extremely
21368
22376
fi
21369
22377
 
21370
22378
# Have a temporary directory for convenience.  Make it in the build tree
21371
 
# simply because there is no reason to put it here, and in addition,
 
22379
# simply because there is no reason against having it here, and in addition,
21372
22380
# creating and moving files from /tmp can sometimes cause problems.
21373
 
# Create a temporary directory, and hook for its removal unless debugging.
 
22381
# Hook for its removal unless debugging.
 
22382
# Note that there is a small window in which the directory will not be cleaned:
 
22383
# after its creation but before its name has been assigned to `$tmp'.
21374
22384
$debug ||
21375
22385
{
21376
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
22386
  tmp=
 
22387
  trap 'exit_status=$?
 
22388
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
22389
' 0
21377
22390
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21378
22391
}
21379
 
 
21380
22392
# Create a (secure) tmp directory for tmp files.
21381
22393
 
21382
22394
{
21383
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
22395
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21384
22396
  test -n "$tmp" && test -d "$tmp"
21385
22397
}  ||
21386
22398
{
21387
 
  tmp=./confstat$$-$RANDOM
21388
 
  (umask 077 && mkdir $tmp)
 
22399
  tmp=./conf$$-$RANDOM
 
22400
  (umask 077 && mkdir "$tmp")
21389
22401
} ||
21390
22402
{
21391
22403
   echo "$me: cannot create a temporary directory in ." >&2
21392
22404
   { (exit 1); exit 1; }
21393
22405
}
21394
22406
 
21395
 
_ACEOF
21396
 
 
21397
 
cat >>$CONFIG_STATUS <<_ACEOF
21398
 
 
21399
22407
#
21400
 
# CONFIG_FILES section.
 
22408
# Set up the sed scripts for CONFIG_FILES section.
21401
22409
#
21402
22410
 
21403
22411
# No need to generate the scripts if there are no CONFIG_FILES.
21404
22412
# This happens for instance when ./config.status config.h
21405
 
if test -n "\$CONFIG_FILES"; then
21406
 
  # Protect against being on the right side of a sed subst in config.status.
21407
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21408
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21409
 
s,@SHELL@,$SHELL,;t t
21410
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21411
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21412
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21413
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21414
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21415
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21416
 
s,@exec_prefix@,$exec_prefix,;t t
21417
 
s,@prefix@,$prefix,;t t
21418
 
s,@program_transform_name@,$program_transform_name,;t t
21419
 
s,@bindir@,$bindir,;t t
21420
 
s,@sbindir@,$sbindir,;t t
21421
 
s,@libexecdir@,$libexecdir,;t t
21422
 
s,@datadir@,$datadir,;t t
21423
 
s,@sysconfdir@,$sysconfdir,;t t
21424
 
s,@sharedstatedir@,$sharedstatedir,;t t
21425
 
s,@localstatedir@,$localstatedir,;t t
21426
 
s,@libdir@,$libdir,;t t
21427
 
s,@includedir@,$includedir,;t t
21428
 
s,@oldincludedir@,$oldincludedir,;t t
21429
 
s,@infodir@,$infodir,;t t
21430
 
s,@mandir@,$mandir,;t t
21431
 
s,@build_alias@,$build_alias,;t t
21432
 
s,@host_alias@,$host_alias,;t t
21433
 
s,@target_alias@,$target_alias,;t t
21434
 
s,@DEFS@,$DEFS,;t t
21435
 
s,@ECHO_C@,$ECHO_C,;t t
21436
 
s,@ECHO_N@,$ECHO_N,;t t
21437
 
s,@ECHO_T@,$ECHO_T,;t t
21438
 
s,@LIBS@,$LIBS,;t t
21439
 
s,@CC@,$CC,;t t
21440
 
s,@CFLAGS@,$CFLAGS,;t t
21441
 
s,@LDFLAGS@,$LDFLAGS,;t t
21442
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21443
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21444
 
s,@EXEEXT@,$EXEEXT,;t t
21445
 
s,@OBJEXT@,$OBJEXT,;t t
21446
 
s,@build@,$build,;t t
21447
 
s,@build_cpu@,$build_cpu,;t t
21448
 
s,@build_vendor@,$build_vendor,;t t
21449
 
s,@build_os@,$build_os,;t t
21450
 
s,@host@,$host,;t t
21451
 
s,@host_cpu@,$host_cpu,;t t
21452
 
s,@host_vendor@,$host_vendor,;t t
21453
 
s,@host_os@,$host_os,;t t
21454
 
s,@EGREP@,$EGREP,;t t
21455
 
s,@LN_S@,$LN_S,;t t
21456
 
s,@ECHO@,$ECHO,;t t
21457
 
s,@AR@,$AR,;t t
21458
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21459
 
s,@RANLIB@,$RANLIB,;t t
21460
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21461
 
s,@STRIP@,$STRIP,;t t
21462
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21463
 
s,@DLLTOOL@,$DLLTOOL,;t t
21464
 
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21465
 
s,@AS@,$AS,;t t
21466
 
s,@ac_ct_AS@,$ac_ct_AS,;t t
21467
 
s,@OBJDUMP@,$OBJDUMP,;t t
21468
 
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21469
 
s,@CPP@,$CPP,;t t
21470
 
s,@CXX@,$CXX,;t t
21471
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21472
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21473
 
s,@CXXCPP@,$CXXCPP,;t t
21474
 
s,@F77@,$F77,;t t
21475
 
s,@FFLAGS@,$FFLAGS,;t t
21476
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21477
 
s,@LIBTOOL@,$LIBTOOL,;t t
21478
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21479
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21480
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21481
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21482
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21483
 
s,@JACK_CFLAGS@,$JACK_CFLAGS,;t t
21484
 
s,@JACK_LIBS@,$JACK_LIBS,;t t
21485
 
s,@LT_CURRENT@,$LT_CURRENT,;t t
21486
 
s,@LT_REVISION@,$LT_REVISION,;t t
21487
 
s,@LT_AGE@,$LT_AGE,;t t
21488
 
s,@OTHER_OBJS@,$OTHER_OBJS,;t t
21489
 
s,@PADLL@,$PADLL,;t t
21490
 
s,@SHARED_FLAGS@,$SHARED_FLAGS,;t t
21491
 
s,@THREAD_CFLAGS@,$THREAD_CFLAGS,;t t
21492
 
s,@DLL_LIBS@,$DLL_LIBS,;t t
21493
 
s,@NASM@,$NASM,;t t
21494
 
s,@NASMOPT@,$NASMOPT,;t t
21495
 
s,@subdirs@,$subdirs,;t t
21496
 
s,@ENABLE_CXX_TRUE@,$ENABLE_CXX_TRUE,;t t
21497
 
s,@ENABLE_CXX_FALSE@,$ENABLE_CXX_FALSE,;t t
21498
 
s,@LIBOBJS@,$LIBOBJS,;t t
21499
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21500
 
CEOF
21501
 
 
21502
 
_ACEOF
21503
 
 
21504
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21505
 
  # Split the substitutions into bite-sized pieces for seds with
21506
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21507
 
  ac_max_sed_lines=48
21508
 
  ac_sed_frag=1 # Number of current file.
21509
 
  ac_beg=1 # First line for current file.
21510
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21511
 
  ac_more_lines=:
21512
 
  ac_sed_cmds=
21513
 
  while $ac_more_lines; do
21514
 
    if test $ac_beg -gt 1; then
21515
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21516
 
    else
21517
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21518
 
    fi
21519
 
    if test ! -s $tmp/subs.frag; then
21520
 
      ac_more_lines=false
21521
 
    else
21522
 
      # The purpose of the label and of the branching condition is to
21523
 
      # speed up the sed processing (if there are no `@' at all, there
21524
 
      # is no need to browse any of the substitutions).
21525
 
      # These are the two extra sed commands mentioned above.
21526
 
      (echo ':t
21527
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21528
 
      if test -z "$ac_sed_cmds"; then
21529
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21530
 
      else
21531
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21532
 
      fi
21533
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21534
 
      ac_beg=$ac_end
21535
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21536
 
    fi
21537
 
  done
21538
 
  if test -z "$ac_sed_cmds"; then
21539
 
    ac_sed_cmds=cat
 
22413
if test -n "$CONFIG_FILES"; then
 
22414
 
 
22415
_ACEOF
 
22416
 
 
22417
 
 
22418
 
 
22419
ac_delim='%!_!# '
 
22420
for ac_last_try in false false false false false :; do
 
22421
  cat >conf$$subs.sed <<_ACEOF
 
22422
SHELL!$SHELL$ac_delim
 
22423
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
22424
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
22425
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
22426
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
22427
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
22428
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
22429
exec_prefix!$exec_prefix$ac_delim
 
22430
prefix!$prefix$ac_delim
 
22431
program_transform_name!$program_transform_name$ac_delim
 
22432
bindir!$bindir$ac_delim
 
22433
sbindir!$sbindir$ac_delim
 
22434
libexecdir!$libexecdir$ac_delim
 
22435
datarootdir!$datarootdir$ac_delim
 
22436
datadir!$datadir$ac_delim
 
22437
sysconfdir!$sysconfdir$ac_delim
 
22438
sharedstatedir!$sharedstatedir$ac_delim
 
22439
localstatedir!$localstatedir$ac_delim
 
22440
includedir!$includedir$ac_delim
 
22441
oldincludedir!$oldincludedir$ac_delim
 
22442
docdir!$docdir$ac_delim
 
22443
infodir!$infodir$ac_delim
 
22444
htmldir!$htmldir$ac_delim
 
22445
dvidir!$dvidir$ac_delim
 
22446
pdfdir!$pdfdir$ac_delim
 
22447
psdir!$psdir$ac_delim
 
22448
libdir!$libdir$ac_delim
 
22449
localedir!$localedir$ac_delim
 
22450
mandir!$mandir$ac_delim
 
22451
DEFS!$DEFS$ac_delim
 
22452
ECHO_C!$ECHO_C$ac_delim
 
22453
ECHO_N!$ECHO_N$ac_delim
 
22454
ECHO_T!$ECHO_T$ac_delim
 
22455
LIBS!$LIBS$ac_delim
 
22456
build_alias!$build_alias$ac_delim
 
22457
host_alias!$host_alias$ac_delim
 
22458
target_alias!$target_alias$ac_delim
 
22459
CC!$CC$ac_delim
 
22460
CFLAGS!$CFLAGS$ac_delim
 
22461
LDFLAGS!$LDFLAGS$ac_delim
 
22462
CPPFLAGS!$CPPFLAGS$ac_delim
 
22463
ac_ct_CC!$ac_ct_CC$ac_delim
 
22464
EXEEXT!$EXEEXT$ac_delim
 
22465
OBJEXT!$OBJEXT$ac_delim
 
22466
build!$build$ac_delim
 
22467
build_cpu!$build_cpu$ac_delim
 
22468
build_vendor!$build_vendor$ac_delim
 
22469
build_os!$build_os$ac_delim
 
22470
host!$host$ac_delim
 
22471
host_cpu!$host_cpu$ac_delim
 
22472
host_vendor!$host_vendor$ac_delim
 
22473
host_os!$host_os$ac_delim
 
22474
SED!$SED$ac_delim
 
22475
GREP!$GREP$ac_delim
 
22476
EGREP!$EGREP$ac_delim
 
22477
LN_S!$LN_S$ac_delim
 
22478
ECHO!$ECHO$ac_delim
 
22479
AR!$AR$ac_delim
 
22480
RANLIB!$RANLIB$ac_delim
 
22481
STRIP!$STRIP$ac_delim
 
22482
DLLTOOL!$DLLTOOL$ac_delim
 
22483
AS!$AS$ac_delim
 
22484
OBJDUMP!$OBJDUMP$ac_delim
 
22485
CPP!$CPP$ac_delim
 
22486
CXX!$CXX$ac_delim
 
22487
CXXFLAGS!$CXXFLAGS$ac_delim
 
22488
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
22489
CXXCPP!$CXXCPP$ac_delim
 
22490
F77!$F77$ac_delim
 
22491
FFLAGS!$FFLAGS$ac_delim
 
22492
ac_ct_F77!$ac_ct_F77$ac_delim
 
22493
LIBTOOL!$LIBTOOL$ac_delim
 
22494
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
22495
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
22496
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
22497
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
22498
JACK_CFLAGS!$JACK_CFLAGS$ac_delim
 
22499
JACK_LIBS!$JACK_LIBS$ac_delim
 
22500
LT_CURRENT!$LT_CURRENT$ac_delim
 
22501
LT_REVISION!$LT_REVISION$ac_delim
 
22502
LT_AGE!$LT_AGE$ac_delim
 
22503
OTHER_OBJS!$OTHER_OBJS$ac_delim
 
22504
PADLL!$PADLL$ac_delim
 
22505
SHARED_FLAGS!$SHARED_FLAGS$ac_delim
 
22506
THREAD_CFLAGS!$THREAD_CFLAGS$ac_delim
 
22507
DLL_LIBS!$DLL_LIBS$ac_delim
 
22508
NASM!$NASM$ac_delim
 
22509
NASMOPT!$NASMOPT$ac_delim
 
22510
subdirs!$subdirs$ac_delim
 
22511
ENABLE_CXX_TRUE!$ENABLE_CXX_TRUE$ac_delim
 
22512
ENABLE_CXX_FALSE!$ENABLE_CXX_FALSE$ac_delim
 
22513
LIBOBJS!$LIBOBJS$ac_delim
 
22514
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
22515
_ACEOF
 
22516
 
 
22517
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
 
22518
    break
 
22519
  elif $ac_last_try; then
 
22520
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22521
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22522
   { (exit 1); exit 1; }; }
 
22523
  else
 
22524
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21540
22525
  fi
 
22526
done
 
22527
 
 
22528
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22529
if test -n "$ac_eof"; then
 
22530
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22531
  ac_eof=`expr $ac_eof + 1`
 
22532
fi
 
22533
 
 
22534
cat >>$CONFIG_STATUS <<_ACEOF
 
22535
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
22536
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
22537
_ACEOF
 
22538
sed '
 
22539
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22540
s/^/s,@/; s/!/@,|#_!!_#|/
 
22541
:n
 
22542
t n
 
22543
s/'"$ac_delim"'$/,g/; t
 
22544
s/$/\\/; p
 
22545
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22546
' >>$CONFIG_STATUS <conf$$subs.sed
 
22547
rm -f conf$$subs.sed
 
22548
cat >>$CONFIG_STATUS <<_ACEOF
 
22549
:end
 
22550
s/|#_!!_#|//g
 
22551
CEOF$ac_eof
 
22552
_ACEOF
 
22553
 
 
22554
 
 
22555
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
22556
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
22557
# trailing colons and then remove the whole line if VPATH becomes empty
 
22558
# (actually we leave an empty line to preserve line numbers).
 
22559
if test "x$srcdir" = x.; then
 
22560
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
22561
s/:*\$(srcdir):*/:/
 
22562
s/:*\${srcdir}:*/:/
 
22563
s/:*@srcdir@:*/:/
 
22564
s/^\([^=]*=[     ]*\):*/\1/
 
22565
s/:*$//
 
22566
s/^[^=]*=[       ]*$//
 
22567
}'
 
22568
fi
 
22569
 
 
22570
cat >>$CONFIG_STATUS <<\_ACEOF
21541
22571
fi # test -n "$CONFIG_FILES"
21542
22572
 
21543
 
_ACEOF
21544
 
cat >>$CONFIG_STATUS <<\_ACEOF
21545
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21546
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21547
 
  case $ac_file in
21548
 
  - | *:- | *:-:* ) # input from stdin
21549
 
        cat >$tmp/stdin
21550
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21551
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21552
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21553
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21554
 
  * )   ac_file_in=$ac_file.in ;;
21555
 
  esac
21556
 
 
21557
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21558
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
22573
 
 
22574
for ac_tag in  :F $CONFIG_FILES
 
22575
do
 
22576
  case $ac_tag in
 
22577
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
22578
  esac
 
22579
  case $ac_mode$ac_tag in
 
22580
  :[FHL]*:*);;
 
22581
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
22582
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
22583
   { (exit 1); exit 1; }; };;
 
22584
  :[FH]-) ac_tag=-:-;;
 
22585
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
22586
  esac
 
22587
  ac_save_IFS=$IFS
 
22588
  IFS=:
 
22589
  set x $ac_tag
 
22590
  IFS=$ac_save_IFS
 
22591
  shift
 
22592
  ac_file=$1
 
22593
  shift
 
22594
 
 
22595
  case $ac_mode in
 
22596
  :L) ac_source=$1;;
 
22597
  :[FH])
 
22598
    ac_file_inputs=
 
22599
    for ac_f
 
22600
    do
 
22601
      case $ac_f in
 
22602
      -) ac_f="$tmp/stdin";;
 
22603
      *) # Look for the file first in the build tree, then in the source tree
 
22604
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
22605
         # because $ac_f cannot contain `:'.
 
22606
         test -f "$ac_f" ||
 
22607
           case $ac_f in
 
22608
           [\\/$]*) false;;
 
22609
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
22610
           esac ||
 
22611
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
22612
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
22613
   { (exit 1); exit 1; }; };;
 
22614
      esac
 
22615
      ac_file_inputs="$ac_file_inputs $ac_f"
 
22616
    done
 
22617
 
 
22618
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
22619
    # use $as_me), people would be surprised to read:
 
22620
    #    /* config.h.  Generated by config.status.  */
 
22621
    configure_input="Generated from "`IFS=:
 
22622
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
22623
    if test x"$ac_file" != x-; then
 
22624
      configure_input="$ac_file.  $configure_input"
 
22625
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
22626
echo "$as_me: creating $ac_file" >&6;}
 
22627
    fi
 
22628
 
 
22629
    case $ac_tag in
 
22630
    *:-:* | *:-) cat >"$tmp/stdin";;
 
22631
    esac
 
22632
    ;;
 
22633
  esac
 
22634
 
 
22635
  ac_dir=`$as_dirname -- "$ac_file" ||
21559
22636
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21560
22637
         X"$ac_file" : 'X\(//\)[^/]' \| \
21561
22638
         X"$ac_file" : 'X\(//\)$' \| \
21562
 
         X"$ac_file" : 'X\(/\)' \| \
21563
 
         .     : '\(.\)' 2>/dev/null ||
 
22639
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21564
22640
echo X"$ac_file" |
21565
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21566
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21567
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21568
 
          /^X\(\/\).*/{ s//\1/; q; }
21569
 
          s/.*/./; q'`
21570
 
  { if $as_mkdir_p; then
21571
 
    mkdir -p "$ac_dir"
21572
 
  else
21573
 
    as_dir="$ac_dir"
 
22641
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22642
            s//\1/
 
22643
            q
 
22644
          }
 
22645
          /^X\(\/\/\)[^/].*/{
 
22646
            s//\1/
 
22647
            q
 
22648
          }
 
22649
          /^X\(\/\/\)$/{
 
22650
            s//\1/
 
22651
            q
 
22652
          }
 
22653
          /^X\(\/\).*/{
 
22654
            s//\1/
 
22655
            q
 
22656
          }
 
22657
          s/.*/./; q'`
 
22658
  { as_dir="$ac_dir"
 
22659
  case $as_dir in #(
 
22660
  -*) as_dir=./$as_dir;;
 
22661
  esac
 
22662
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21574
22663
    as_dirs=
21575
 
    while test ! -d "$as_dir"; do
21576
 
      as_dirs="$as_dir $as_dirs"
21577
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22664
    while :; do
 
22665
      case $as_dir in #(
 
22666
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22667
      *) as_qdir=$as_dir;;
 
22668
      esac
 
22669
      as_dirs="'$as_qdir' $as_dirs"
 
22670
      as_dir=`$as_dirname -- "$as_dir" ||
21578
22671
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21579
22672
         X"$as_dir" : 'X\(//\)[^/]' \| \
21580
22673
         X"$as_dir" : 'X\(//\)$' \| \
21581
 
         X"$as_dir" : 'X\(/\)' \| \
21582
 
         .     : '\(.\)' 2>/dev/null ||
 
22674
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21583
22675
echo X"$as_dir" |
21584
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21585
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21586
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21587
 
          /^X\(\/\).*/{ s//\1/; q; }
21588
 
          s/.*/./; q'`
 
22676
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22677
            s//\1/
 
22678
            q
 
22679
          }
 
22680
          /^X\(\/\/\)[^/].*/{
 
22681
            s//\1/
 
22682
            q
 
22683
          }
 
22684
          /^X\(\/\/\)$/{
 
22685
            s//\1/
 
22686
            q
 
22687
          }
 
22688
          /^X\(\/\).*/{
 
22689
            s//\1/
 
22690
            q
 
22691
          }
 
22692
          s/.*/./; q'`
 
22693
      test -d "$as_dir" && break
21589
22694
    done
21590
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21591
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21592
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22695
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22696
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22697
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21593
22698
   { (exit 1); exit 1; }; }; }
21594
 
 
21595
22699
  ac_builddir=.
21596
22700
 
21597
 
if test "$ac_dir" != .; then
 
22701
case "$ac_dir" in
 
22702
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22703
*)
21598
22704
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21599
 
  # A "../" for each directory in $ac_dir_suffix.
21600
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21601
 
else
21602
 
  ac_dir_suffix= ac_top_builddir=
21603
 
fi
 
22705
  # A ".." for each directory in $ac_dir_suffix.
 
22706
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
22707
  case $ac_top_builddir_sub in
 
22708
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22709
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
22710
  esac ;;
 
22711
esac
 
22712
ac_abs_top_builddir=$ac_pwd
 
22713
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
22714
# for backward compatibility:
 
22715
ac_top_builddir=$ac_top_build_prefix
21604
22716
 
21605
22717
case $srcdir in
21606
 
  .)  # No --srcdir option.  We are building in place.
 
22718
  .)  # We are building in place.
21607
22719
    ac_srcdir=.
21608
 
    if test -z "$ac_top_builddir"; then
21609
 
       ac_top_srcdir=.
21610
 
    else
21611
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21612
 
    fi ;;
21613
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22720
    ac_top_srcdir=$ac_top_builddir_sub
 
22721
    ac_abs_top_srcdir=$ac_pwd ;;
 
22722
  [\\/]* | ?:[\\/]* )  # Absolute name.
21614
22723
    ac_srcdir=$srcdir$ac_dir_suffix;
21615
 
    ac_top_srcdir=$srcdir ;;
21616
 
  *) # Relative path.
21617
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21618
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21619
 
esac
21620
 
 
21621
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21622
 
# the directories may not exist.
21623
 
case `pwd` in
21624
 
.) ac_abs_builddir="$ac_dir";;
21625
 
*)
21626
 
  case "$ac_dir" in
21627
 
  .) ac_abs_builddir=`pwd`;;
21628
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21629
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21630
 
  esac;;
21631
 
esac
21632
 
case $ac_abs_builddir in
21633
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21634
 
*)
21635
 
  case ${ac_top_builddir}. in
21636
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21637
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21638
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21639
 
  esac;;
21640
 
esac
21641
 
case $ac_abs_builddir in
21642
 
.) ac_abs_srcdir=$ac_srcdir;;
21643
 
*)
21644
 
  case $ac_srcdir in
21645
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21646
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21647
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21648
 
  esac;;
21649
 
esac
21650
 
case $ac_abs_builddir in
21651
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21652
 
*)
21653
 
  case $ac_top_srcdir in
21654
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21655
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21656
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21657
 
  esac;;
21658
 
esac
21659
 
 
 
22724
    ac_top_srcdir=$srcdir
 
22725
    ac_abs_top_srcdir=$srcdir ;;
 
22726
  *) # Relative name.
 
22727
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
22728
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
22729
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
22730
esac
 
22731
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
22732
 
 
22733
 
 
22734
  case $ac_mode in
 
22735
  :F)
 
22736
  #
 
22737
  # CONFIG_FILE
 
22738
  #
21660
22739
 
21661
22740
  case $INSTALL in
21662
22741
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21663
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
22742
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21664
22743
  esac
21665
 
 
21666
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21667
 
  # use $as_me), people would be surprised to read:
21668
 
  #    /* config.h.  Generated by config.status.  */
21669
 
  if test x"$ac_file" = x-; then
21670
 
    configure_input=
21671
 
  else
21672
 
    configure_input="$ac_file.  "
21673
 
  fi
21674
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21675
 
                                     sed 's,.*/,,'` by configure."
21676
 
 
21677
 
  # First look for the input files in the build tree, otherwise in the
21678
 
  # src tree.
21679
 
  ac_file_inputs=`IFS=:
21680
 
    for f in $ac_file_in; do
21681
 
      case $f in
21682
 
      -) echo $tmp/stdin ;;
21683
 
      [\\/$]*)
21684
 
         # Absolute (can't be DOS-style, as IFS=:)
21685
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21686
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21687
 
   { (exit 1); exit 1; }; }
21688
 
         echo "$f";;
21689
 
      *) # Relative
21690
 
         if test -f "$f"; then
21691
 
           # Build tree
21692
 
           echo "$f"
21693
 
         elif test -f "$srcdir/$f"; then
21694
 
           # Source tree
21695
 
           echo "$srcdir/$f"
21696
 
         else
21697
 
           # /dev/null tree
21698
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21699
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21700
 
   { (exit 1); exit 1; }; }
21701
 
         fi;;
21702
 
      esac
21703
 
    done` || { (exit 1); exit 1; }
21704
 
 
21705
 
  if test x"$ac_file" != x-; then
21706
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21707
 
echo "$as_me: creating $ac_file" >&6;}
21708
 
    rm -f "$ac_file"
21709
 
  fi
21710
 
_ACEOF
 
22744
_ACEOF
 
22745
 
 
22746
cat >>$CONFIG_STATUS <<\_ACEOF
 
22747
# If the template does not know about datarootdir, expand it.
 
22748
# FIXME: This hack should be removed a few years after 2.60.
 
22749
ac_datarootdir_hack=; ac_datarootdir_seen=
 
22750
 
 
22751
case `sed -n '/datarootdir/ {
 
22752
  p
 
22753
  q
 
22754
}
 
22755
/@datadir@/p
 
22756
/@docdir@/p
 
22757
/@infodir@/p
 
22758
/@localedir@/p
 
22759
/@mandir@/p
 
22760
' $ac_file_inputs` in
 
22761
*datarootdir*) ac_datarootdir_seen=yes;;
 
22762
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
22763
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
22764
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
22765
_ACEOF
 
22766
cat >>$CONFIG_STATUS <<_ACEOF
 
22767
  ac_datarootdir_hack='
 
22768
  s&@datadir@&$datadir&g
 
22769
  s&@docdir@&$docdir&g
 
22770
  s&@infodir@&$infodir&g
 
22771
  s&@localedir@&$localedir&g
 
22772
  s&@mandir@&$mandir&g
 
22773
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
22774
esac
 
22775
_ACEOF
 
22776
 
 
22777
# Neutralize VPATH when `$srcdir' = `.'.
 
22778
# Shell code in configure.ac might set extrasub.
 
22779
# FIXME: do we really want to maintain this feature?
21711
22780
cat >>$CONFIG_STATUS <<_ACEOF
21712
22781
  sed "$ac_vpsub
21713
22782
$extrasub
21715
22784
cat >>$CONFIG_STATUS <<\_ACEOF
21716
22785
:t
21717
22786
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21718
 
s,@configure_input@,$configure_input,;t t
21719
 
s,@srcdir@,$ac_srcdir,;t t
21720
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21721
 
s,@top_srcdir@,$ac_top_srcdir,;t t
21722
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21723
 
s,@builddir@,$ac_builddir,;t t
21724
 
s,@abs_builddir@,$ac_abs_builddir,;t t
21725
 
s,@top_builddir@,$ac_top_builddir,;t t
21726
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21727
 
s,@INSTALL@,$ac_INSTALL,;t t
21728
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21729
 
  rm -f $tmp/stdin
21730
 
  if test x"$ac_file" != x-; then
21731
 
    mv $tmp/out $ac_file
21732
 
  else
21733
 
    cat $tmp/out
21734
 
    rm -f $tmp/out
21735
 
  fi
21736
 
 
21737
 
done
21738
 
_ACEOF
21739
 
 
21740
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22787
s&@configure_input@&$configure_input&;t t
 
22788
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
22789
s&@srcdir@&$ac_srcdir&;t t
 
22790
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
22791
s&@top_srcdir@&$ac_top_srcdir&;t t
 
22792
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
22793
s&@builddir@&$ac_builddir&;t t
 
22794
s&@abs_builddir@&$ac_abs_builddir&;t t
 
22795
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
22796
s&@INSTALL@&$ac_INSTALL&;t t
 
22797
$ac_datarootdir_hack
 
22798
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
22799
 
 
22800
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
22801
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
22802
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
22803
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22804
which seems to be undefined.  Please make sure it is defined." >&5
 
22805
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22806
which seems to be undefined.  Please make sure it is defined." >&2;}
 
22807
 
 
22808
  rm -f "$tmp/stdin"
 
22809
  case $ac_file in
 
22810
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
22811
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
22812
  esac
 
22813
 ;;
 
22814
 
 
22815
 
 
22816
 
 
22817
  esac
 
22818
 
 
22819
done # for ac_tag
 
22820
 
21741
22821
 
21742
22822
{ (exit 0); exit 0; }
21743
22823
_ACEOF
21774
22854
  # Remove --cache-file and --srcdir arguments so they do not pile up.
21775
22855
  ac_sub_configure_args=
21776
22856
  ac_prev=
21777
 
  for ac_arg in $ac_configure_args; do
 
22857
  eval "set x $ac_configure_args"
 
22858
  shift
 
22859
  for ac_arg
 
22860
  do
21778
22861
    if test -n "$ac_prev"; then
21779
22862
      ac_prev=
21780
22863
      continue
21797
22880
      ac_prev=prefix ;;
21798
22881
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
21799
22882
      ;;
21800
 
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
22883
    *)
 
22884
      case $ac_arg in
 
22885
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22886
      esac
 
22887
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
21801
22888
    esac
21802
22889
  done
21803
22890
 
21804
22891
  # Always prepend --prefix to ensure using the same prefix
21805
22892
  # in subdir configurations.
21806
 
  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
 
22893
  ac_arg="--prefix=$prefix"
 
22894
  case $ac_arg in
 
22895
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22896
  esac
 
22897
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
 
22898
 
 
22899
  # Pass --silent
 
22900
  if test "$silent" = yes; then
 
22901
    ac_sub_configure_args="--silent $ac_sub_configure_args"
 
22902
  fi
21807
22903
 
21808
22904
  ac_popdir=`pwd`
21809
22905
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
21810
22906
 
21811
22907
    # Do not complain, so a configure script can configure whichever
21812
22908
    # parts of a large source tree are present.
21813
 
    test -d $srcdir/$ac_dir || continue
 
22909
    test -d "$srcdir/$ac_dir" || continue
21814
22910
 
21815
 
    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
21816
 
echo "$as_me: configuring in $ac_dir" >&6;}
21817
 
    { if $as_mkdir_p; then
21818
 
    mkdir -p "$ac_dir"
21819
 
  else
21820
 
    as_dir="$ac_dir"
 
22911
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
 
22912
    echo "$as_me:$LINENO: $ac_msg" >&5
 
22913
    echo "$ac_msg" >&6
 
22914
    { as_dir="$ac_dir"
 
22915
  case $as_dir in #(
 
22916
  -*) as_dir=./$as_dir;;
 
22917
  esac
 
22918
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21821
22919
    as_dirs=
21822
 
    while test ! -d "$as_dir"; do
21823
 
      as_dirs="$as_dir $as_dirs"
21824
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22920
    while :; do
 
22921
      case $as_dir in #(
 
22922
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22923
      *) as_qdir=$as_dir;;
 
22924
      esac
 
22925
      as_dirs="'$as_qdir' $as_dirs"
 
22926
      as_dir=`$as_dirname -- "$as_dir" ||
21825
22927
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21826
22928
         X"$as_dir" : 'X\(//\)[^/]' \| \
21827
22929
         X"$as_dir" : 'X\(//\)$' \| \
21828
 
         X"$as_dir" : 'X\(/\)' \| \
21829
 
         .     : '\(.\)' 2>/dev/null ||
 
22930
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21830
22931
echo X"$as_dir" |
21831
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21832
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21833
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21834
 
          /^X\(\/\).*/{ s//\1/; q; }
21835
 
          s/.*/./; q'`
 
22932
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22933
            s//\1/
 
22934
            q
 
22935
          }
 
22936
          /^X\(\/\/\)[^/].*/{
 
22937
            s//\1/
 
22938
            q
 
22939
          }
 
22940
          /^X\(\/\/\)$/{
 
22941
            s//\1/
 
22942
            q
 
22943
          }
 
22944
          /^X\(\/\).*/{
 
22945
            s//\1/
 
22946
            q
 
22947
          }
 
22948
          s/.*/./; q'`
 
22949
      test -d "$as_dir" && break
21836
22950
    done
21837
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21838
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21839
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22951
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22952
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22953
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21840
22954
   { (exit 1); exit 1; }; }; }
21841
 
 
21842
22955
    ac_builddir=.
21843
22956
 
21844
 
if test "$ac_dir" != .; then
 
22957
case "$ac_dir" in
 
22958
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22959
*)
21845
22960
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21846
 
  # A "../" for each directory in $ac_dir_suffix.
21847
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21848
 
else
21849
 
  ac_dir_suffix= ac_top_builddir=
21850
 
fi
 
22961
  # A ".." for each directory in $ac_dir_suffix.
 
22962
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
22963
  case $ac_top_builddir_sub in
 
22964
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22965
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
22966
  esac ;;
 
22967
esac
 
22968
ac_abs_top_builddir=$ac_pwd
 
22969
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
22970
# for backward compatibility:
 
22971
ac_top_builddir=$ac_top_build_prefix
21851
22972
 
21852
22973
case $srcdir in
21853
 
  .)  # No --srcdir option.  We are building in place.
 
22974
  .)  # We are building in place.
21854
22975
    ac_srcdir=.
21855
 
    if test -z "$ac_top_builddir"; then
21856
 
       ac_top_srcdir=.
21857
 
    else
21858
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21859
 
    fi ;;
21860
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22976
    ac_top_srcdir=$ac_top_builddir_sub
 
22977
    ac_abs_top_srcdir=$ac_pwd ;;
 
22978
  [\\/]* | ?:[\\/]* )  # Absolute name.
21861
22979
    ac_srcdir=$srcdir$ac_dir_suffix;
21862
 
    ac_top_srcdir=$srcdir ;;
21863
 
  *) # Relative path.
21864
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21865
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21866
 
esac
21867
 
 
21868
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21869
 
# the directories may not exist.
21870
 
case `pwd` in
21871
 
.) ac_abs_builddir="$ac_dir";;
21872
 
*)
21873
 
  case "$ac_dir" in
21874
 
  .) ac_abs_builddir=`pwd`;;
21875
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21876
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21877
 
  esac;;
21878
 
esac
21879
 
case $ac_abs_builddir in
21880
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21881
 
*)
21882
 
  case ${ac_top_builddir}. in
21883
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21884
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21885
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21886
 
  esac;;
21887
 
esac
21888
 
case $ac_abs_builddir in
21889
 
.) ac_abs_srcdir=$ac_srcdir;;
21890
 
*)
21891
 
  case $ac_srcdir in
21892
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21893
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21894
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21895
 
  esac;;
21896
 
esac
21897
 
case $ac_abs_builddir in
21898
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21899
 
*)
21900
 
  case $ac_top_srcdir in
21901
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21902
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21903
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21904
 
  esac;;
21905
 
esac
21906
 
 
21907
 
 
21908
 
    cd $ac_dir
 
22980
    ac_top_srcdir=$srcdir
 
22981
    ac_abs_top_srcdir=$srcdir ;;
 
22982
  *) # Relative name.
 
22983
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
22984
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
22985
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
22986
esac
 
22987
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
22988
 
 
22989
 
 
22990
    cd "$ac_dir"
21909
22991
 
21910
22992
    # Check for guested configure; otherwise get Cygnus style configure.
21911
 
    if test -f $ac_srcdir/configure.gnu; then
21912
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
21913
 
    elif test -f $ac_srcdir/configure; then
21914
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
21915
 
    elif test -f $ac_srcdir/configure.in; then
21916
 
      ac_sub_configure=$ac_configure
 
22993
    if test -f "$ac_srcdir/configure.gnu"; then
 
22994
      ac_sub_configure=$ac_srcdir/configure.gnu
 
22995
    elif test -f "$ac_srcdir/configure"; then
 
22996
      ac_sub_configure=$ac_srcdir/configure
 
22997
    elif test -f "$ac_srcdir/configure.in"; then
 
22998
      # This should be Cygnus configure.
 
22999
      ac_sub_configure=$ac_aux_dir/configure
21917
23000
    else
21918
23001
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
21919
23002
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
21925
23008
      # Make the cache file name correct relative to the subdirectory.
21926
23009
      case $cache_file in
21927
23010
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
21928
 
      *) # Relative path.
21929
 
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
23011
      *) # Relative name.
 
23012
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
21930
23013
      esac
21931
23014
 
21932
 
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
21933
 
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
23015
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
23016
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
21934
23017
      # The eval makes quoting arguments work.
21935
 
      eval $ac_sub_configure $ac_sub_configure_args \
21936
 
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
 
23018
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
 
23019
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
21937
23020
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
21938
23021
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
21939
23022
   { (exit 1); exit 1; }; }