~mterry/ubuntu/natty/libofx/libofx.new-upstream-benoit-sru

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Saïvann Carignan
  • Date: 2008-02-06 17:25:16 UTC
  • mto: (3.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20080206172516-bnzxb29igye8um9h
Tags: upstream-0.9.0
Import upstream version 0.9.0

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
 
 
 
551
 
 
552
tagnames=${tagnames+${tagnames},}RC
243
553
 
244
554
 
245
555
# Check that we are running under the correct shell.
395
705
 
396
706
tagnames=${tagnames+${tagnames},}F77
397
707
 
 
708
exec 7<&0 </dev/null 6>&1
 
709
 
398
710
# Name of the host.
399
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
712
# so uname gets run too.
401
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
714
 
403
 
exec 6>&1
404
 
 
405
715
#
406
716
# Initializations.
407
717
#
408
718
ac_default_prefix=/usr/local
 
719
ac_clean_files=
409
720
ac_config_libobj_dir=.
 
721
LIBOBJS=
410
722
cross_compiling=no
411
723
subdirs=
412
724
MFLAGS=
413
725
MAKEFLAGS=
414
726
SHELL=${CONFIG_SHELL-/bin/sh}
415
727
 
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
728
# Identity of this package.
422
729
PACKAGE_NAME=
423
730
PACKAGE_TARNAME=
425
732
PACKAGE_STRING=
426
733
PACKAGE_BUGREPORT=
427
734
 
428
 
ac_unique_file="inc/libofx.h"
 
735
ac_unique_file="inc/libofx.h.in"
429
736
# Factoring default headers for most tests.
430
737
ac_includes_default="\
431
738
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
739
#ifdef HAVE_SYS_TYPES_H
433
740
# include <sys/types.h>
434
741
#endif
435
 
#if HAVE_SYS_STAT_H
 
742
#ifdef HAVE_SYS_STAT_H
436
743
# include <sys/stat.h>
437
744
#endif
438
 
#if STDC_HEADERS
 
745
#ifdef STDC_HEADERS
439
746
# include <stdlib.h>
440
747
# include <stddef.h>
441
748
#else
442
 
# if HAVE_STDLIB_H
 
749
# ifdef HAVE_STDLIB_H
443
750
#  include <stdlib.h>
444
751
# endif
445
752
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
753
#ifdef HAVE_STRING_H
 
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
755
#  include <memory.h>
449
756
# endif
450
757
# include <string.h>
451
758
#endif
452
 
#if HAVE_STRINGS_H
 
759
#ifdef HAVE_STRINGS_H
453
760
# include <strings.h>
454
761
#endif
455
 
#if HAVE_INTTYPES_H
 
762
#ifdef HAVE_INTTYPES_H
456
763
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
764
#endif
 
765
#ifdef HAVE_STDINT_H
 
766
# include <stdint.h>
 
767
#endif
 
768
#ifdef HAVE_UNISTD_H
463
769
# include <unistd.h>
464
770
#endif"
465
771
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX LIBOFX_MAJOR_VERSION LIBOFX_MINOR_VERSION LIBOFX_MICRO_VERSION LIBOFX_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LIBOFX_SO_CURRENT LIBOFX_SO_REVISION LIBOFX_SO_AGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DOXYGEN DOT DOC_TRUE DOC_FALSE ENABLE_DOXYGEN_TRUE ENABLE_DOXYGEN_FALSE enable_dot enable_html_docs enable_latex_docs LIBOBJS NO_GETOPTLONG_TRUE NO_GETOPTLONG_FALSE have_gengetopt USE_GENGETOPT_TRUE USE_GENGETOPT_FALSE _libcurl_config LIBCURL_CPPFLAGS LIBCURL PKG_CONFIG ac_pt_PKG_CONFIG LIBXMLPP_CFLAGS LIBXMLPP_LIBS BUILD_OFXCONNECT_TRUE BUILD_OFXCONNECT_FALSE ofxconnect OPENSPINCLUDES OPENSPLIBS QT_CFLAGS LIBOFX_DTD_DIR LTLIBOBJS'
 
772
ac_subst_vars='SHELL
 
773
PATH_SEPARATOR
 
774
PACKAGE_NAME
 
775
PACKAGE_TARNAME
 
776
PACKAGE_VERSION
 
777
PACKAGE_STRING
 
778
PACKAGE_BUGREPORT
 
779
exec_prefix
 
780
prefix
 
781
program_transform_name
 
782
bindir
 
783
sbindir
 
784
libexecdir
 
785
datarootdir
 
786
datadir
 
787
sysconfdir
 
788
sharedstatedir
 
789
localstatedir
 
790
includedir
 
791
oldincludedir
 
792
docdir
 
793
infodir
 
794
htmldir
 
795
dvidir
 
796
pdfdir
 
797
psdir
 
798
libdir
 
799
localedir
 
800
mandir
 
801
DEFS
 
802
ECHO_C
 
803
ECHO_N
 
804
ECHO_T
 
805
LIBS
 
806
build_alias
 
807
host_alias
 
808
target_alias
 
809
CC
 
810
CFLAGS
 
811
LDFLAGS
 
812
CPPFLAGS
 
813
ac_ct_CC
 
814
EXEEXT
 
815
OBJEXT
 
816
CXX
 
817
CXXFLAGS
 
818
ac_ct_CXX
 
819
LIBOFX_MAJOR_VERSION
 
820
LIBOFX_MINOR_VERSION
 
821
LIBOFX_MICRO_VERSION
 
822
LIBOFX_BUILD_VERSION
 
823
LIBOFX_VERSION_RELEASE_STRING
 
824
LIBOFX_VERSION
 
825
INSTALL_PROGRAM
 
826
INSTALL_SCRIPT
 
827
INSTALL_DATA
 
828
CYGPATH_W
 
829
PACKAGE
 
830
VERSION
 
831
ACLOCAL
 
832
AUTOCONF
 
833
AUTOMAKE
 
834
AUTOHEADER
 
835
MAKEINFO
 
836
install_sh
 
837
STRIP
 
838
INSTALL_STRIP_PROGRAM
 
839
mkdir_p
 
840
AWK
 
841
SET_MAKE
 
842
am__leading_dot
 
843
AMTAR
 
844
am__tar
 
845
am__untar
 
846
DEPDIR
 
847
am__include
 
848
am__quote
 
849
AMDEP_TRUE
 
850
AMDEP_FALSE
 
851
AMDEPBACKSLASH
 
852
CCDEPMODE
 
853
am__fastdepCC_TRUE
 
854
am__fastdepCC_FALSE
 
855
CXXDEPMODE
 
856
am__fastdepCXX_TRUE
 
857
am__fastdepCXX_FALSE
 
858
LIBOFX_SO_CURRENT
 
859
LIBOFX_SO_REVISION
 
860
LIBOFX_SO_AGE
 
861
MAINTAINER_MODE_TRUE
 
862
MAINTAINER_MODE_FALSE
 
863
MAINT
 
864
RC
 
865
build
 
866
build_cpu
 
867
build_vendor
 
868
build_os
 
869
host
 
870
host_cpu
 
871
host_vendor
 
872
host_os
 
873
SED
 
874
GREP
 
875
EGREP
 
876
LN_S
 
877
ECHO
 
878
AR
 
879
RANLIB
 
880
DLLTOOL
 
881
AS
 
882
OBJDUMP
 
883
CPP
 
884
CXXCPP
 
885
F77
 
886
FFLAGS
 
887
ac_ct_F77
 
888
LIBTOOL
 
889
OSYSTEM
 
890
OS_TYPE
 
891
MAKE_DLL_TARGET
 
892
INSTALL_DLL_TARGET
 
893
DOXYGEN
 
894
DOT
 
895
DOC_TRUE
 
896
DOC_FALSE
 
897
ENABLE_DOXYGEN_TRUE
 
898
ENABLE_DOXYGEN_FALSE
 
899
enable_dot
 
900
enable_html_docs
 
901
enable_latex_docs
 
902
LIBOBJS
 
903
NO_GETOPTLONG_TRUE
 
904
NO_GETOPTLONG_FALSE
 
905
have_gengetopt
 
906
USE_GENGETOPT_TRUE
 
907
USE_GENGETOPT_FALSE
 
908
_libcurl_config
 
909
LIBCURL_CPPFLAGS
 
910
LIBCURL
 
911
PKG_CONFIG
 
912
LIBXMLPP_CFLAGS
 
913
LIBXMLPP_LIBS
 
914
BUILD_OFXCONNECT_TRUE
 
915
BUILD_OFXCONNECT_FALSE
 
916
WITH_ICONV
 
917
ICONV_LIBS
 
918
ofxconnect
 
919
OPENSPINCLUDES
 
920
OPENSPLIBS
 
921
QT_CFLAGS
 
922
LIBOFX_DTD_DIR
 
923
LTLIBOBJS'
467
924
ac_subst_files=''
 
925
      ac_precious_vars='build_alias
 
926
host_alias
 
927
target_alias
 
928
CC
 
929
CFLAGS
 
930
LDFLAGS
 
931
LIBS
 
932
CPPFLAGS
 
933
CXX
 
934
CXXFLAGS
 
935
CCC
 
936
CPP
 
937
CXXCPP
 
938
F77
 
939
FFLAGS
 
940
PKG_CONFIG
 
941
LIBXMLPP_CFLAGS
 
942
LIBXMLPP_LIBS'
 
943
 
468
944
 
469
945
# Initialize some variables set by options.
470
946
ac_init_help=
491
967
# and all the variables that are supposed to be based on exec_prefix
492
968
# by default will actually change.
493
969
# Use braces instead of parens because sh, perl, etc. also accept them.
 
970
# (The list follows the same order as the GNU Coding Standards.)
494
971
bindir='${exec_prefix}/bin'
495
972
sbindir='${exec_prefix}/sbin'
496
973
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
 
974
datarootdir='${prefix}/share'
 
975
datadir='${datarootdir}'
498
976
sysconfdir='${prefix}/etc'
499
977
sharedstatedir='${prefix}/com'
500
978
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
979
includedir='${prefix}/include'
503
980
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
 
981
docdir='${datarootdir}/doc/${PACKAGE}'
 
982
infodir='${datarootdir}/info'
 
983
htmldir='${docdir}'
 
984
dvidir='${docdir}'
 
985
pdfdir='${docdir}'
 
986
psdir='${docdir}'
 
987
libdir='${exec_prefix}/lib'
 
988
localedir='${datarootdir}/locale'
 
989
mandir='${datarootdir}/man'
506
990
 
507
991
ac_prev=
 
992
ac_dashdash=
508
993
for ac_option
509
994
do
510
995
  # If the previous option needs an argument, assign it.
511
996
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
 
997
    eval $ac_prev=\$ac_option
513
998
    ac_prev=
514
999
    continue
515
1000
  fi
516
1001
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1002
  case $ac_option in
 
1003
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1004
  *)    ac_optarg=yes ;;
 
1005
  esac
518
1006
 
519
1007
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
1008
 
521
 
  case $ac_option in
 
1009
  case $ac_dashdash$ac_option in
 
1010
  --)
 
1011
    ac_dashdash=yes ;;
522
1012
 
523
1013
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
1014
    ac_prev=bindir ;;
540
1030
  --config-cache | -C)
541
1031
    cache_file=config.cache ;;
542
1032
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1033
  -datadir | --datadir | --datadi | --datad)
544
1034
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
 
1035
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547
1036
    datadir=$ac_optarg ;;
548
1037
 
 
1038
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1039
  | --dataroo | --dataro | --datar)
 
1040
    ac_prev=datarootdir ;;
 
1041
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1042
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1043
    datarootdir=$ac_optarg ;;
 
1044
 
549
1045
  -disable-* | --disable-*)
550
1046
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
1047
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1048
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
1049
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554
1050
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
 
1051
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1052
    eval enable_$ac_feature=no ;;
 
1053
 
 
1054
  -docdir | --docdir | --docdi | --doc | --do)
 
1055
    ac_prev=docdir ;;
 
1056
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1057
    docdir=$ac_optarg ;;
 
1058
 
 
1059
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1060
    ac_prev=dvidir ;;
 
1061
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1062
    dvidir=$ac_optarg ;;
557
1063
 
558
1064
  -enable-* | --enable-*)
559
1065
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
1066
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1067
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
562
1068
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563
1069
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
568
 
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1070
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1071
    eval enable_$ac_feature=\$ac_optarg ;;
570
1072
 
571
1073
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
1074
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
593
1095
  -host=* | --host=* | --hos=* | --ho=*)
594
1096
    host_alias=$ac_optarg ;;
595
1097
 
 
1098
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1099
    ac_prev=htmldir ;;
 
1100
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1101
  | --ht=*)
 
1102
    htmldir=$ac_optarg ;;
 
1103
 
596
1104
  -includedir | --includedir | --includedi | --included | --include \
597
1105
  | --includ | --inclu | --incl | --inc)
598
1106
    ac_prev=includedir ;;
617
1125
  | --libexe=* | --libex=* | --libe=*)
618
1126
    libexecdir=$ac_optarg ;;
619
1127
 
 
1128
  -localedir | --localedir | --localedi | --localed | --locale)
 
1129
    ac_prev=localedir ;;
 
1130
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1131
    localedir=$ac_optarg ;;
 
1132
 
620
1133
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
 
1134
  | --localstate | --localstat | --localsta | --localst | --locals)
623
1135
    ac_prev=localstatedir ;;
624
1136
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1137
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627
1138
    localstatedir=$ac_optarg ;;
628
1139
 
629
1140
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688
1199
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
1200
    program_transform_name=$ac_optarg ;;
690
1201
 
 
1202
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1203
    ac_prev=pdfdir ;;
 
1204
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1205
    pdfdir=$ac_optarg ;;
 
1206
 
 
1207
  -psdir | --psdir | --psdi | --psd | --ps)
 
1208
    ac_prev=psdir ;;
 
1209
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1210
    psdir=$ac_optarg ;;
 
1211
 
691
1212
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
1213
  | -silent | --silent | --silen | --sile | --sil)
693
1214
    silent=yes ;;
740
1261
  -with-* | --with-*)
741
1262
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
1263
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1264
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744
1265
      { echo "$as_me: error: invalid package name: $ac_package" >&2
745
1266
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
750
 
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1267
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1268
    eval with_$ac_package=\$ac_optarg ;;
752
1269
 
753
1270
  -without-* | --without-*)
754
1271
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
1272
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1273
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757
1274
      { echo "$as_me: error: invalid package name: $ac_package" >&2
758
1275
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
 
1276
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1277
    eval with_$ac_package=no ;;
761
1278
 
762
1279
  --x)
763
1280
    # Obsolete; use --with-x.
788
1305
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
1306
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
1307
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
 
1308
    eval $ac_envvar=\$ac_optarg
793
1309
    export $ac_envvar ;;
794
1310
 
795
1311
  *)
809
1325
   { (exit 1); exit 1; }; }
810
1326
fi
811
1327
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
 
1328
# Be sure to have absolute directory names.
 
1329
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1330
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1331
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1332
                libdir localedir mandir
 
1333
do
 
1334
  eval ac_val=\$$ac_var
 
1335
  case $ac_val in
 
1336
    [\\/$]* | ?:[\\/]* )  continue;;
 
1337
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1338
  esac
 
1339
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1340
   { (exit 1); exit 1; }; }
833
1341
done
834
1342
 
835
1343
# There might be people who depend on the old broken behavior: `$host'
856
1364
test "$silent" = yes && exec 6>/dev/null
857
1365
 
858
1366
 
 
1367
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1368
ac_ls_di=`ls -di .` &&
 
1369
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1370
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1371
   { (exit 1); exit 1; }; }
 
1372
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1373
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1374
   { (exit 1); exit 1; }; }
 
1375
 
 
1376
 
859
1377
# Find the source files, if location was not specified.
860
1378
if test -z "$srcdir"; then
861
1379
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1380
  # Try the directory containing this script, then the parent directory.
 
1381
  ac_confdir=`$as_dirname -- "$0" ||
864
1382
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
1383
         X"$0" : 'X\(//\)[^/]' \| \
866
1384
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
 
1385
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869
1386
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
 
1387
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1388
            s//\1/
 
1389
            q
 
1390
          }
 
1391
          /^X\(\/\/\)[^/].*/{
 
1392
            s//\1/
 
1393
            q
 
1394
          }
 
1395
          /^X\(\/\/\)$/{
 
1396
            s//\1/
 
1397
            q
 
1398
          }
 
1399
          /^X\(\/\).*/{
 
1400
            s//\1/
 
1401
            q
 
1402
          }
 
1403
          s/.*/./; q'`
875
1404
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1405
  if test ! -r "$srcdir/$ac_unique_file"; then
877
1406
    srcdir=..
878
1407
  fi
879
1408
else
880
1409
  ac_srcdir_defaulted=no
881
1410
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CXX_set=${CXX+set}
924
 
ac_env_CXX_value=$CXX
925
 
ac_cv_env_CXX_set=${CXX+set}
926
 
ac_cv_env_CXX_value=$CXX
927
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
928
 
ac_env_CXXFLAGS_value=$CXXFLAGS
929
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
930
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
931
 
ac_env_CPP_set=${CPP+set}
932
 
ac_env_CPP_value=$CPP
933
 
ac_cv_env_CPP_set=${CPP+set}
934
 
ac_cv_env_CPP_value=$CPP
935
 
ac_env_CXXCPP_set=${CXXCPP+set}
936
 
ac_env_CXXCPP_value=$CXXCPP
937
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_cv_env_CXXCPP_value=$CXXCPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
947
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
948
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
949
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
951
 
ac_env_LIBXMLPP_CFLAGS_set=${LIBXMLPP_CFLAGS+set}
952
 
ac_env_LIBXMLPP_CFLAGS_value=$LIBXMLPP_CFLAGS
953
 
ac_cv_env_LIBXMLPP_CFLAGS_set=${LIBXMLPP_CFLAGS+set}
954
 
ac_cv_env_LIBXMLPP_CFLAGS_value=$LIBXMLPP_CFLAGS
955
 
ac_env_LIBXMLPP_LIBS_set=${LIBXMLPP_LIBS+set}
956
 
ac_env_LIBXMLPP_LIBS_value=$LIBXMLPP_LIBS
957
 
ac_cv_env_LIBXMLPP_LIBS_set=${LIBXMLPP_LIBS+set}
958
 
ac_cv_env_LIBXMLPP_LIBS_value=$LIBXMLPP_LIBS
 
1411
if test ! -r "$srcdir/$ac_unique_file"; then
 
1412
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1413
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1414
   { (exit 1); exit 1; }; }
 
1415
fi
 
1416
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1417
ac_abs_confdir=`(
 
1418
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1419
   { (exit 1); exit 1; }; }
 
1420
        pwd)`
 
1421
# When building in place, set srcdir=.
 
1422
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1423
  srcdir=.
 
1424
fi
 
1425
# Remove unnecessary trailing slashes from srcdir.
 
1426
# Double slashes in file names in object file debugging info
 
1427
# mess up M-x gdb in Emacs.
 
1428
case $srcdir in
 
1429
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1430
esac
 
1431
for ac_var in $ac_precious_vars; do
 
1432
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1433
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1434
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1435
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1436
done
959
1437
 
960
1438
#
961
1439
# Report the --help message.
984
1462
  -n, --no-create         do not create output files
985
1463
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
986
1464
 
987
 
_ACEOF
988
 
 
989
 
  cat <<_ACEOF
990
1465
Installation directories:
991
1466
  --prefix=PREFIX         install architecture-independent files in PREFIX
992
1467
                          [$ac_default_prefix]
1004
1479
  --bindir=DIR           user executables [EPREFIX/bin]
1005
1480
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1006
1481
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1007
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1008
1482
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1009
1483
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1010
1484
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1011
1485
  --libdir=DIR           object code libraries [EPREFIX/lib]
1012
1486
  --includedir=DIR       C header files [PREFIX/include]
1013
1487
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1014
 
  --infodir=DIR          info documentation [PREFIX/info]
1015
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1488
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1489
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1490
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1491
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1492
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1493
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1494
  --htmldir=DIR          html documentation [DOCDIR]
 
1495
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1496
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1497
  --psdir=DIR            ps documentation [DOCDIR]
1016
1498
_ACEOF
1017
1499
 
1018
1500
  cat <<\_ACEOF
1039
1521
  --enable-dependency-tracking   do not reject slow dependency extractors
1040
1522
  --enable-maintainer-mode  enable make rules and dependencies not useful
1041
1523
                          (and sometimes confusing) to the casual installer
1042
 
  --enable-shared[=PKGS]
1043
 
                          build shared libraries [default=yes]
1044
 
  --enable-static[=PKGS]
1045
 
                          build static libraries [default=yes]
 
1524
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1525
  --enable-static[=PKGS]  build static libraries [default=yes]
1046
1526
  --enable-fast-install[=PKGS]
1047
1527
                          optimize for fast installation [default=yes]
1048
1528
  --disable-libtool-lock  avoid locking (might break parallel builds)
1059
1539
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1060
1540
  --with-pic              try to use only PIC/non-PIC objects [default=use
1061
1541
                          both]
1062
 
  --with-tags[=TAGS]
1063
 
                          include additional configurations [automatic]
 
1542
  --with-tags[=TAGS]      include additional configurations [automatic]
1064
1543
  --with-opensp-includes=PATH     specify where to look for OpenSP includes
1065
1544
                                  - default is /usr/include/OpenSP)
1066
1545
  --with-opensp-libs=PATH         specify where to look for libosp
1067
1546
                                  - default is /usr/lib
1068
1547
  --with-no-opensp-multibyte     Force libofx to compile with the assumption that OpenSP was NOT compiled with SP_MULTI_BYTE defined
1069
1548
  --with-libcurl=DIR      look for the curl library in DIR
 
1549
  --with-iconv[=DIR]      add ICONV support (on)
1070
1550
 
1071
1551
Some influential environment variables:
1072
1552
  CC          C compiler command
1073
1553
  CFLAGS      C compiler flags
1074
1554
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1075
1555
              nonstandard directory <lib dir>
1076
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1077
 
              headers in a nonstandard directory <include dir>
 
1556
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1557
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1558
              you have headers in a nonstandard directory <include dir>
1078
1559
  CXX         C++ compiler command
1079
1560
  CXXFLAGS    C++ compiler flags
1080
1561
  CPP         C preprocessor
1091
1572
it to find libraries and programs with nonstandard names/locations.
1092
1573
 
1093
1574
_ACEOF
 
1575
ac_status=$?
1094
1576
fi
1095
1577
 
1096
1578
if test "$ac_init_help" = "recursive"; then
1097
1579
  # If there are subdirs, report their specific --help.
1098
 
  ac_popdir=`pwd`
1099
1580
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1100
 
    test -d $ac_dir || continue
 
1581
    test -d "$ac_dir" || continue
1101
1582
    ac_builddir=.
1102
1583
 
1103
 
if test "$ac_dir" != .; then
 
1584
case "$ac_dir" in
 
1585
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1586
*)
1104
1587
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1105
 
  # A "../" for each directory in $ac_dir_suffix.
1106
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1107
 
else
1108
 
  ac_dir_suffix= ac_top_builddir=
1109
 
fi
 
1588
  # A ".." for each directory in $ac_dir_suffix.
 
1589
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1590
  case $ac_top_builddir_sub in
 
1591
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1592
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1593
  esac ;;
 
1594
esac
 
1595
ac_abs_top_builddir=$ac_pwd
 
1596
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1597
# for backward compatibility:
 
1598
ac_top_builddir=$ac_top_build_prefix
1110
1599
 
1111
1600
case $srcdir in
1112
 
  .)  # No --srcdir option.  We are building in place.
 
1601
  .)  # We are building in place.
1113
1602
    ac_srcdir=.
1114
 
    if test -z "$ac_top_builddir"; then
1115
 
       ac_top_srcdir=.
1116
 
    else
1117
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1118
 
    fi ;;
1119
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1603
    ac_top_srcdir=$ac_top_builddir_sub
 
1604
    ac_abs_top_srcdir=$ac_pwd ;;
 
1605
  [\\/]* | ?:[\\/]* )  # Absolute name.
1120
1606
    ac_srcdir=$srcdir$ac_dir_suffix;
1121
 
    ac_top_srcdir=$srcdir ;;
1122
 
  *) # Relative path.
1123
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1124
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1125
 
esac
1126
 
 
1127
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1128
 
# the directories may not exist.
1129
 
case `pwd` in
1130
 
.) ac_abs_builddir="$ac_dir";;
1131
 
*)
1132
 
  case "$ac_dir" in
1133
 
  .) ac_abs_builddir=`pwd`;;
1134
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1135
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1136
 
  esac;;
1137
 
esac
1138
 
case $ac_abs_builddir in
1139
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1140
 
*)
1141
 
  case ${ac_top_builddir}. in
1142
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1143
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1144
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1145
 
  esac;;
1146
 
esac
1147
 
case $ac_abs_builddir in
1148
 
.) ac_abs_srcdir=$ac_srcdir;;
1149
 
*)
1150
 
  case $ac_srcdir in
1151
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1152
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1153
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1154
 
  esac;;
1155
 
esac
1156
 
case $ac_abs_builddir in
1157
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1158
 
*)
1159
 
  case $ac_top_srcdir in
1160
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1161
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1162
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1163
 
  esac;;
1164
 
esac
1165
 
 
1166
 
    cd $ac_dir
1167
 
    # Check for guested configure; otherwise get Cygnus style configure.
1168
 
    if test -f $ac_srcdir/configure.gnu; then
1169
 
      echo
1170
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1171
 
    elif test -f $ac_srcdir/configure; then
1172
 
      echo
1173
 
      $SHELL $ac_srcdir/configure  --help=recursive
1174
 
    elif test -f $ac_srcdir/configure.ac ||
1175
 
           test -f $ac_srcdir/configure.in; then
1176
 
      echo
1177
 
      $ac_configure --help
 
1607
    ac_top_srcdir=$srcdir
 
1608
    ac_abs_top_srcdir=$srcdir ;;
 
1609
  *) # Relative name.
 
1610
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1611
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1612
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1613
esac
 
1614
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1615
 
 
1616
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1617
    # Check for guested configure.
 
1618
    if test -f "$ac_srcdir/configure.gnu"; then
 
1619
      echo &&
 
1620
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1621
    elif test -f "$ac_srcdir/configure"; then
 
1622
      echo &&
 
1623
      $SHELL "$ac_srcdir/configure" --help=recursive
1178
1624
    else
1179
1625
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1180
 
    fi
1181
 
    cd "$ac_popdir"
 
1626
    fi || ac_status=$?
 
1627
    cd "$ac_pwd" || { ac_status=$?; break; }
1182
1628
  done
1183
1629
fi
1184
1630
 
1185
 
test -n "$ac_init_help" && exit 0
 
1631
test -n "$ac_init_help" && exit $ac_status
1186
1632
if $ac_init_version; then
1187
1633
  cat <<\_ACEOF
 
1634
configure
 
1635
generated by GNU Autoconf 2.61
1188
1636
 
1189
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1637
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1638
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1190
1639
This configure script is free software; the Free Software Foundation
1191
1640
gives unlimited permission to copy, distribute and modify it.
1192
1641
_ACEOF
1193
 
  exit 0
 
1642
  exit
1194
1643
fi
1195
 
exec 5>config.log
1196
 
cat >&5 <<_ACEOF
 
1644
cat >config.log <<_ACEOF
1197
1645
This file contains any messages produced by compilers while
1198
1646
running configure, to aid debugging if configure makes a mistake.
1199
1647
 
1200
1648
It was created by $as_me, which was
1201
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1649
generated by GNU Autoconf 2.61.  Invocation command line was
1202
1650
 
1203
1651
  $ $0 $@
1204
1652
 
1205
1653
_ACEOF
 
1654
exec 5>>config.log
1206
1655
{
1207
1656
cat <<_ASUNAME
1208
1657
## --------- ##
1221
1670
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1222
1671
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1223
1672
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1673
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1225
1674
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1226
1675
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1227
1676
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1235
1684
  test -z "$as_dir" && as_dir=.
1236
1685
  echo "PATH: $as_dir"
1237
1686
done
 
1687
IFS=$as_save_IFS
1238
1688
 
1239
1689
} >&5
1240
1690
 
1256
1706
ac_configure_args=
1257
1707
ac_configure_args0=
1258
1708
ac_configure_args1=
1259
 
ac_sep=
1260
1709
ac_must_keep_next=false
1261
1710
for ac_pass in 1 2
1262
1711
do
1267
1716
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268
1717
    | -silent | --silent | --silen | --sile | --sil)
1269
1718
      continue ;;
1270
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1719
    *\'*)
1271
1720
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1272
1721
    esac
1273
1722
    case $ac_pass in
1289
1738
          -* ) ac_must_keep_next=true ;;
1290
1739
        esac
1291
1740
      fi
1292
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1293
 
      # Get rid of the leading space.
1294
 
      ac_sep=" "
 
1741
      ac_configure_args="$ac_configure_args '$ac_arg'"
1295
1742
      ;;
1296
1743
    esac
1297
1744
  done
1302
1749
# When interrupted or exit'd, cleanup temporary files, and complete
1303
1750
# config.log.  We remove comments because anyway the quotes in there
1304
1751
# would cause problems or look ugly.
1305
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1306
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1752
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1753
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1307
1754
trap 'exit_status=$?
1308
1755
  # Save into config.log some information that might help in debugging.
1309
1756
  {
1316
1763
_ASBOX
1317
1764
    echo
1318
1765
    # The following way of writing the cache mishandles newlines in values,
1319
 
{
 
1766
(
 
1767
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1768
    eval ac_val=\$$ac_var
 
1769
    case $ac_val in #(
 
1770
    *${as_nl}*)
 
1771
      case $ac_var in #(
 
1772
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1773
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1774
      esac
 
1775
      case $ac_var in #(
 
1776
      _ | IFS | as_nl) ;; #(
 
1777
      *) $as_unset $ac_var ;;
 
1778
      esac ;;
 
1779
    esac
 
1780
  done
1320
1781
  (set) 2>&1 |
1321
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1322
 
    *ac_space=\ *)
 
1782
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1783
    *${as_nl}ac_space=\ *)
1323
1784
      sed -n \
1324
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1326
 
      ;;
 
1785
        "s/'\''/'\''\\\\'\'''\''/g;
 
1786
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1787
      ;; #(
1327
1788
    *)
1328
 
      sed -n \
1329
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1789
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1330
1790
      ;;
1331
 
    esac;
1332
 
}
 
1791
    esac |
 
1792
    sort
 
1793
)
1333
1794
    echo
1334
1795
 
1335
1796
    cat <<\_ASBOX
1340
1801
    echo
1341
1802
    for ac_var in $ac_subst_vars
1342
1803
    do
1343
 
      eval ac_val=$`echo $ac_var`
1344
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1804
      eval ac_val=\$$ac_var
 
1805
      case $ac_val in
 
1806
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1807
      esac
 
1808
      echo "$ac_var='\''$ac_val'\''"
1345
1809
    done | sort
1346
1810
    echo
1347
1811
 
1348
1812
    if test -n "$ac_subst_files"; then
1349
1813
      cat <<\_ASBOX
1350
 
## ------------- ##
1351
 
## Output files. ##
1352
 
## ------------- ##
 
1814
## ------------------- ##
 
1815
## File substitutions. ##
 
1816
## ------------------- ##
1353
1817
_ASBOX
1354
1818
      echo
1355
1819
      for ac_var in $ac_subst_files
1356
1820
      do
1357
 
        eval ac_val=$`echo $ac_var`
1358
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1821
        eval ac_val=\$$ac_var
 
1822
        case $ac_val in
 
1823
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1824
        esac
 
1825
        echo "$ac_var='\''$ac_val'\''"
1359
1826
      done | sort
1360
1827
      echo
1361
1828
    fi
1367
1834
## ----------- ##
1368
1835
_ASBOX
1369
1836
      echo
1370
 
      sed "/^$/d" confdefs.h | sort
 
1837
      cat confdefs.h
1371
1838
      echo
1372
1839
    fi
1373
1840
    test "$ac_signal" != 0 &&
1374
1841
      echo "$as_me: caught signal $ac_signal"
1375
1842
    echo "$as_me: exit $exit_status"
1376
1843
  } >&5
1377
 
  rm -f core *.core &&
1378
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1844
  rm -f core *.core core.conftest.* &&
 
1845
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1379
1846
    exit $exit_status
1380
 
     ' 0
 
1847
' 0
1381
1848
for ac_signal in 1 2 13 15; do
1382
1849
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1383
1850
done
1384
1851
ac_signal=0
1385
1852
 
1386
1853
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1387
 
rm -rf conftest* confdefs.h
1388
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1389
 
echo >confdefs.h
 
1854
rm -f -r conftest* confdefs.h
1390
1855
 
1391
1856
# Predefined preprocessor variables.
1392
1857
 
1417
1882
 
1418
1883
# Let the site file select an alternate cache file if it wants to.
1419
1884
# Prefer explicitly selected file to automatically selected ones.
1420
 
if test -z "$CONFIG_SITE"; then
1421
 
  if test "x$prefix" != xNONE; then
1422
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1423
 
  else
1424
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1425
 
  fi
 
1885
if test -n "$CONFIG_SITE"; then
 
1886
  set x "$CONFIG_SITE"
 
1887
elif test "x$prefix" != xNONE; then
 
1888
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1889
else
 
1890
  set x "$ac_default_prefix/share/config.site" \
 
1891
        "$ac_default_prefix/etc/config.site"
1426
1892
fi
1427
 
for ac_site_file in $CONFIG_SITE; do
 
1893
shift
 
1894
for ac_site_file
 
1895
do
1428
1896
  if test -r "$ac_site_file"; then
1429
1897
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430
1898
echo "$as_me: loading site script $ac_site_file" >&6;}
1440
1908
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441
1909
echo "$as_me: loading cache $cache_file" >&6;}
1442
1910
    case $cache_file in
1443
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1444
 
      *)                      . ./$cache_file;;
 
1911
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1912
      *)                      . "./$cache_file";;
1445
1913
    esac
1446
1914
  fi
1447
1915
else
1453
1921
# Check that the precious variables saved in the cache have kept the same
1454
1922
# value.
1455
1923
ac_cache_corrupted=false
1456
 
for ac_var in `(set) 2>&1 |
1457
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1924
for ac_var in $ac_precious_vars; do
1458
1925
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1459
1926
  eval ac_new_set=\$ac_env_${ac_var}_set
1460
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1461
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1927
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1928
  eval ac_new_val=\$ac_env_${ac_var}_value
1462
1929
  case $ac_old_set,$ac_new_set in
1463
1930
    set,)
1464
1931
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1483
1950
  # Pass precious variables to config.status.
1484
1951
  if test "$ac_new_set" = set; then
1485
1952
    case $ac_new_val in
1486
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1953
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488
1954
    *) ac_arg=$ac_var=$ac_new_val ;;
1489
1955
    esac
1490
1956
    case " $ac_configure_args " in
1501
1967
   { (exit 1); exit 1; }; }
1502
1968
fi
1503
1969
 
 
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
 
1976
 
 
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
 
1982
 
 
1983
 
 
1984
 
 
1985
 
1504
1986
ac_ext=c
1505
1987
ac_cpp='$CPP $CPPFLAGS'
1506
1988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508
1990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509
1991
 
1510
1992
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
          ac_config_headers="$ac_config_headers config.h"
 
1993
ac_config_headers="$ac_config_headers config.h"
1529
1994
 
1530
1995
ac_aux_dir=
1531
 
for ac_dir in config $srcdir/config; do
1532
 
  if test -f $ac_dir/install-sh; then
 
1996
for ac_dir in config "$srcdir"/config; do
 
1997
  if test -f "$ac_dir/install-sh"; then
1533
1998
    ac_aux_dir=$ac_dir
1534
1999
    ac_install_sh="$ac_aux_dir/install-sh -c"
1535
2000
    break
1536
 
  elif test -f $ac_dir/install.sh; then
 
2001
  elif test -f "$ac_dir/install.sh"; then
1537
2002
    ac_aux_dir=$ac_dir
1538
2003
    ac_install_sh="$ac_aux_dir/install.sh -c"
1539
2004
    break
1540
 
  elif test -f $ac_dir/shtool; then
 
2005
  elif test -f "$ac_dir/shtool"; then
1541
2006
    ac_aux_dir=$ac_dir
1542
2007
    ac_install_sh="$ac_aux_dir/shtool install -c"
1543
2008
    break
1544
2009
  fi
1545
2010
done
1546
2011
if test -z "$ac_aux_dir"; then
1547
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1548
 
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
 
2012
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
 
2013
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1549
2014
   { (exit 1); exit 1; }; }
1550
2015
fi
1551
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1552
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1553
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2016
 
 
2017
# These three variables are undocumented and unsupported,
 
2018
# and are intended to be withdrawn in a future Autoconf release.
 
2019
# They can cause serious problems if a builder's source tree is in a directory
 
2020
# whose full name contains unusual characters.
 
2021
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2022
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2023
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2024
 
1554
2025
 
1555
2026
ac_ext=c
1556
2027
ac_cpp='$CPP $CPPFLAGS'
1560
2031
if test -n "$ac_tool_prefix"; then
1561
2032
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1562
2033
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1563
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1564
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2034
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2035
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1565
2036
if test "${ac_cv_prog_CC+set}" = set; then
1566
2037
  echo $ECHO_N "(cached) $ECHO_C" >&6
1567
2038
else
1574
2045
  IFS=$as_save_IFS
1575
2046
  test -z "$as_dir" && as_dir=.
1576
2047
  for ac_exec_ext in '' $ac_executable_extensions; do
1577
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2048
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1578
2049
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1579
2050
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580
2051
    break 2
1581
2052
  fi
1582
2053
done
1583
2054
done
 
2055
IFS=$as_save_IFS
1584
2056
 
1585
2057
fi
1586
2058
fi
1587
2059
CC=$ac_cv_prog_CC
1588
2060
if test -n "$CC"; then
1589
 
  echo "$as_me:$LINENO: result: $CC" >&5
1590
 
echo "${ECHO_T}$CC" >&6
 
2061
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2062
echo "${ECHO_T}$CC" >&6; }
1591
2063
else
1592
 
  echo "$as_me:$LINENO: result: no" >&5
1593
 
echo "${ECHO_T}no" >&6
 
2064
  { echo "$as_me:$LINENO: result: no" >&5
 
2065
echo "${ECHO_T}no" >&6; }
1594
2066
fi
 
2067
 
1595
2068
 
1596
2069
fi
1597
2070
if test -z "$ac_cv_prog_CC"; then
1598
2071
  ac_ct_CC=$CC
1599
2072
  # Extract the first word of "gcc", so it can be a program name with args.
1600
2073
set dummy gcc; ac_word=$2
1601
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1602
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2074
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2075
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1603
2076
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1604
2077
  echo $ECHO_N "(cached) $ECHO_C" >&6
1605
2078
else
1612
2085
  IFS=$as_save_IFS
1613
2086
  test -z "$as_dir" && as_dir=.
1614
2087
  for ac_exec_ext in '' $ac_executable_extensions; do
1615
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1616
2089
    ac_cv_prog_ac_ct_CC="gcc"
1617
2090
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618
2091
    break 2
1619
2092
  fi
1620
2093
done
1621
2094
done
 
2095
IFS=$as_save_IFS
1622
2096
 
1623
2097
fi
1624
2098
fi
1625
2099
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1626
2100
if test -n "$ac_ct_CC"; then
1627
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1628
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2101
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2102
echo "${ECHO_T}$ac_ct_CC" >&6; }
1629
2103
else
1630
 
  echo "$as_me:$LINENO: result: no" >&5
1631
 
echo "${ECHO_T}no" >&6
 
2104
  { echo "$as_me:$LINENO: result: no" >&5
 
2105
echo "${ECHO_T}no" >&6; }
1632
2106
fi
1633
2107
 
1634
 
  CC=$ac_ct_CC
 
2108
  if test "x$ac_ct_CC" = x; then
 
2109
    CC=""
 
2110
  else
 
2111
    case $cross_compiling:$ac_tool_warned in
 
2112
yes:)
 
2113
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2114
whose name does not start with the host triplet.  If you think this
 
2115
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2116
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2117
whose name does not start with the host triplet.  If you think this
 
2118
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2119
ac_tool_warned=yes ;;
 
2120
esac
 
2121
    CC=$ac_ct_CC
 
2122
  fi
1635
2123
else
1636
2124
  CC="$ac_cv_prog_CC"
1637
2125
fi
1638
2126
 
1639
2127
if test -z "$CC"; then
1640
 
  if test -n "$ac_tool_prefix"; then
1641
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2128
          if test -n "$ac_tool_prefix"; then
 
2129
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1642
2130
set dummy ${ac_tool_prefix}cc; ac_word=$2
1643
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1644
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2131
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2132
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1645
2133
if test "${ac_cv_prog_CC+set}" = set; then
1646
2134
  echo $ECHO_N "(cached) $ECHO_C" >&6
1647
2135
else
1654
2142
  IFS=$as_save_IFS
1655
2143
  test -z "$as_dir" && as_dir=.
1656
2144
  for ac_exec_ext in '' $ac_executable_extensions; do
1657
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1658
2146
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1659
2147
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660
2148
    break 2
1661
2149
  fi
1662
2150
done
1663
2151
done
 
2152
IFS=$as_save_IFS
1664
2153
 
1665
2154
fi
1666
2155
fi
1667
2156
CC=$ac_cv_prog_CC
1668
2157
if test -n "$CC"; then
1669
 
  echo "$as_me:$LINENO: result: $CC" >&5
1670
 
echo "${ECHO_T}$CC" >&6
1671
 
else
1672
 
  echo "$as_me:$LINENO: result: no" >&5
1673
 
echo "${ECHO_T}no" >&6
1674
 
fi
1675
 
 
1676
 
fi
1677
 
if test -z "$ac_cv_prog_CC"; then
1678
 
  ac_ct_CC=$CC
1679
 
  # Extract the first word of "cc", so it can be a program name with args.
1680
 
set dummy cc; ac_word=$2
1681
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1682
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1683
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1684
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1685
 
else
1686
 
  if test -n "$ac_ct_CC"; then
1687
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1688
 
else
1689
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690
 
for as_dir in $PATH
1691
 
do
1692
 
  IFS=$as_save_IFS
1693
 
  test -z "$as_dir" && as_dir=.
1694
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1695
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1696
 
    ac_cv_prog_ac_ct_CC="cc"
1697
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698
 
    break 2
 
2158
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2159
echo "${ECHO_T}$CC" >&6; }
 
2160
else
 
2161
  { echo "$as_me:$LINENO: result: no" >&5
 
2162
echo "${ECHO_T}no" >&6; }
 
2163
fi
 
2164
 
 
2165
 
1699
2166
  fi
1700
 
done
1701
 
done
1702
 
 
1703
 
fi
1704
 
fi
1705
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1706
 
if test -n "$ac_ct_CC"; then
1707
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1708
 
echo "${ECHO_T}$ac_ct_CC" >&6
1709
 
else
1710
 
  echo "$as_me:$LINENO: result: no" >&5
1711
 
echo "${ECHO_T}no" >&6
1712
 
fi
1713
 
 
1714
 
  CC=$ac_ct_CC
1715
 
else
1716
 
  CC="$ac_cv_prog_CC"
1717
 
fi
1718
 
 
1719
2167
fi
1720
2168
if test -z "$CC"; then
1721
2169
  # Extract the first word of "cc", so it can be a program name with args.
1722
2170
set dummy cc; ac_word=$2
1723
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2171
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2172
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1725
2173
if test "${ac_cv_prog_CC+set}" = set; then
1726
2174
  echo $ECHO_N "(cached) $ECHO_C" >&6
1727
2175
else
1735
2183
  IFS=$as_save_IFS
1736
2184
  test -z "$as_dir" && as_dir=.
1737
2185
  for ac_exec_ext in '' $ac_executable_extensions; do
1738
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2186
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1739
2187
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1740
2188
       ac_prog_rejected=yes
1741
2189
       continue
1746
2194
  fi
1747
2195
done
1748
2196
done
 
2197
IFS=$as_save_IFS
1749
2198
 
1750
2199
if test $ac_prog_rejected = yes; then
1751
2200
  # We found a bogon in the path, so make sure we never use it.
1763
2212
fi
1764
2213
CC=$ac_cv_prog_CC
1765
2214
if test -n "$CC"; then
1766
 
  echo "$as_me:$LINENO: result: $CC" >&5
1767
 
echo "${ECHO_T}$CC" >&6
 
2215
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2216
echo "${ECHO_T}$CC" >&6; }
1768
2217
else
1769
 
  echo "$as_me:$LINENO: result: no" >&5
1770
 
echo "${ECHO_T}no" >&6
 
2218
  { echo "$as_me:$LINENO: result: no" >&5
 
2219
echo "${ECHO_T}no" >&6; }
1771
2220
fi
 
2221
 
1772
2222
 
1773
2223
fi
1774
2224
if test -z "$CC"; then
1775
2225
  if test -n "$ac_tool_prefix"; then
1776
 
  for ac_prog in cl
 
2226
  for ac_prog in cl.exe
1777
2227
  do
1778
2228
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1779
2229
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1780
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1781
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2230
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2231
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1782
2232
if test "${ac_cv_prog_CC+set}" = set; then
1783
2233
  echo $ECHO_N "(cached) $ECHO_C" >&6
1784
2234
else
1791
2241
  IFS=$as_save_IFS
1792
2242
  test -z "$as_dir" && as_dir=.
1793
2243
  for ac_exec_ext in '' $ac_executable_extensions; do
1794
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1795
2245
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1796
2246
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797
2247
    break 2
1798
2248
  fi
1799
2249
done
1800
2250
done
 
2251
IFS=$as_save_IFS
1801
2252
 
1802
2253
fi
1803
2254
fi
1804
2255
CC=$ac_cv_prog_CC
1805
2256
if test -n "$CC"; then
1806
 
  echo "$as_me:$LINENO: result: $CC" >&5
1807
 
echo "${ECHO_T}$CC" >&6
 
2257
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2258
echo "${ECHO_T}$CC" >&6; }
1808
2259
else
1809
 
  echo "$as_me:$LINENO: result: no" >&5
1810
 
echo "${ECHO_T}no" >&6
 
2260
  { echo "$as_me:$LINENO: result: no" >&5
 
2261
echo "${ECHO_T}no" >&6; }
1811
2262
fi
1812
2263
 
 
2264
 
1813
2265
    test -n "$CC" && break
1814
2266
  done
1815
2267
fi
1816
2268
if test -z "$CC"; then
1817
2269
  ac_ct_CC=$CC
1818
 
  for ac_prog in cl
 
2270
  for ac_prog in cl.exe
1819
2271
do
1820
2272
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1821
2273
set dummy $ac_prog; ac_word=$2
1822
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1823
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2274
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2275
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1824
2276
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1825
2277
  echo $ECHO_N "(cached) $ECHO_C" >&6
1826
2278
else
1833
2285
  IFS=$as_save_IFS
1834
2286
  test -z "$as_dir" && as_dir=.
1835
2287
  for ac_exec_ext in '' $ac_executable_extensions; do
1836
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2288
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1837
2289
    ac_cv_prog_ac_ct_CC="$ac_prog"
1838
2290
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839
2291
    break 2
1840
2292
  fi
1841
2293
done
1842
2294
done
 
2295
IFS=$as_save_IFS
1843
2296
 
1844
2297
fi
1845
2298
fi
1846
2299
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1847
2300
if test -n "$ac_ct_CC"; then
1848
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1849
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2301
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2302
echo "${ECHO_T}$ac_ct_CC" >&6; }
1850
2303
else
1851
 
  echo "$as_me:$LINENO: result: no" >&5
1852
 
echo "${ECHO_T}no" >&6
 
2304
  { echo "$as_me:$LINENO: result: no" >&5
 
2305
echo "${ECHO_T}no" >&6; }
1853
2306
fi
1854
2307
 
 
2308
 
1855
2309
  test -n "$ac_ct_CC" && break
1856
2310
done
1857
2311
 
1858
 
  CC=$ac_ct_CC
 
2312
  if test "x$ac_ct_CC" = x; then
 
2313
    CC=""
 
2314
  else
 
2315
    case $cross_compiling:$ac_tool_warned in
 
2316
yes:)
 
2317
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2318
whose name does not start with the host triplet.  If you think this
 
2319
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2320
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2321
whose name does not start with the host triplet.  If you think this
 
2322
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2323
ac_tool_warned=yes ;;
 
2324
esac
 
2325
    CC=$ac_ct_CC
 
2326
  fi
1859
2327
fi
1860
2328
 
1861
2329
fi
1868
2336
   { (exit 1); exit 1; }; }
1869
2337
 
1870
2338
# Provide some information about the compiler.
1871
 
echo "$as_me:$LINENO:" \
1872
 
     "checking for C compiler version" >&5
 
2339
echo "$as_me:$LINENO: checking for C compiler version" >&5
1873
2340
ac_compiler=`set X $ac_compile; echo $2`
1874
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1875
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1876
 
  ac_status=$?
1877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878
 
  (exit $ac_status); }
1879
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1880
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1881
 
  ac_status=$?
1882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883
 
  (exit $ac_status); }
1884
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1885
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2341
{ (ac_try="$ac_compiler --version >&5"
 
2342
case "(($ac_try" in
 
2343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2344
  *) ac_try_echo=$ac_try;;
 
2345
esac
 
2346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2347
  (eval "$ac_compiler --version >&5") 2>&5
 
2348
  ac_status=$?
 
2349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2350
  (exit $ac_status); }
 
2351
{ (ac_try="$ac_compiler -v >&5"
 
2352
case "(($ac_try" in
 
2353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2354
  *) ac_try_echo=$ac_try;;
 
2355
esac
 
2356
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2357
  (eval "$ac_compiler -v >&5") 2>&5
 
2358
  ac_status=$?
 
2359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2360
  (exit $ac_status); }
 
2361
{ (ac_try="$ac_compiler -V >&5"
 
2362
case "(($ac_try" in
 
2363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2364
  *) ac_try_echo=$ac_try;;
 
2365
esac
 
2366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2367
  (eval "$ac_compiler -V >&5") 2>&5
1886
2368
  ac_status=$?
1887
2369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888
2370
  (exit $ac_status); }
1907
2389
# Try to create an executable without -o first, disregard a.out.
1908
2390
# It will help us diagnose broken compilers, and finding out an intuition
1909
2391
# of exeext.
1910
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1911
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2392
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2393
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1912
2394
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1913
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1914
 
  (eval $ac_link_default) 2>&5
 
2395
#
 
2396
# List of possible output files, starting from the most likely.
 
2397
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2398
# only as a last resort.  b.out is created by i960 compilers.
 
2399
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2400
#
 
2401
# The IRIX 6 linker writes into existing files which may not be
 
2402
# executable, retaining their permissions.  Remove them first so a
 
2403
# subsequent execution test works.
 
2404
ac_rmfiles=
 
2405
for ac_file in $ac_files
 
2406
do
 
2407
  case $ac_file in
 
2408
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2409
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2410
  esac
 
2411
done
 
2412
rm -f $ac_rmfiles
 
2413
 
 
2414
if { (ac_try="$ac_link_default"
 
2415
case "(($ac_try" in
 
2416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2417
  *) ac_try_echo=$ac_try;;
 
2418
esac
 
2419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2420
  (eval "$ac_link_default") 2>&5
1915
2421
  ac_status=$?
1916
2422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917
2423
  (exit $ac_status); }; then
1918
 
  # Find the output, starting from the most likely.  This scheme is
1919
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1920
 
# resort.
1921
 
 
1922
 
# Be careful to initialize this variable, since it used to be cached.
1923
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1924
 
ac_cv_exeext=
1925
 
# b.out is created by i960 compilers.
1926
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2424
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2425
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2426
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2427
# so that the user can short-circuit this test for compilers unknown to
 
2428
# Autoconf.
 
2429
for ac_file in $ac_files ''
1927
2430
do
1928
2431
  test -f "$ac_file" || continue
1929
2432
  case $ac_file in
1930
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1931
 
        ;;
1932
 
    conftest.$ac_ext )
1933
 
        # This is the source file.
 
2433
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1934
2434
        ;;
1935
2435
    [ab].out )
1936
2436
        # We found the default executable, but exeext='' is most
1937
2437
        # certainly right.
1938
2438
        break;;
1939
2439
    *.* )
1940
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1941
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
1942
 
        # but it would be cool to find out if it's true.  Does anybody
1943
 
        # maintain Libtool? --akim.
1944
 
        export ac_cv_exeext
 
2440
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2441
        then :; else
 
2442
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2443
        fi
 
2444
        # We set ac_cv_exeext here because the later test for it is not
 
2445
        # safe: cross compilers may not add the suffix if given an `-o'
 
2446
        # argument, so we may need to know it at that point already.
 
2447
        # Even if this section looks crufty: it has the advantage of
 
2448
        # actually working.
1945
2449
        break;;
1946
2450
    * )
1947
2451
        break;;
1948
2452
  esac
1949
2453
done
 
2454
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2455
 
1950
2456
else
 
2457
  ac_file=''
 
2458
fi
 
2459
 
 
2460
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2461
echo "${ECHO_T}$ac_file" >&6; }
 
2462
if test -z "$ac_file"; then
1951
2463
  echo "$as_me: failed program was:" >&5
1952
2464
sed 's/^/| /' conftest.$ac_ext >&5
1953
2465
 
1959
2471
fi
1960
2472
 
1961
2473
ac_exeext=$ac_cv_exeext
1962
 
echo "$as_me:$LINENO: result: $ac_file" >&5
1963
 
echo "${ECHO_T}$ac_file" >&6
1964
2474
 
1965
 
# Check the compiler produces executables we can run.  If not, either
 
2475
# Check that the compiler produces executables we can run.  If not, either
1966
2476
# the compiler is broken, or we cross compile.
1967
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1968
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2477
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2478
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1969
2479
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1970
2480
# If not cross compiling, check that we can run a simple program.
1971
2481
if test "$cross_compiling" != yes; then
1972
2482
  if { ac_try='./$ac_file'
1973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974
 
  (eval $ac_try) 2>&5
 
2483
  { (case "(($ac_try" in
 
2484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2485
  *) ac_try_echo=$ac_try;;
 
2486
esac
 
2487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2488
  (eval "$ac_try") 2>&5
1975
2489
  ac_status=$?
1976
2490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977
2491
  (exit $ac_status); }; }; then
1990
2504
    fi
1991
2505
  fi
1992
2506
fi
1993
 
echo "$as_me:$LINENO: result: yes" >&5
1994
 
echo "${ECHO_T}yes" >&6
 
2507
{ echo "$as_me:$LINENO: result: yes" >&5
 
2508
echo "${ECHO_T}yes" >&6; }
1995
2509
 
1996
2510
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1997
2511
ac_clean_files=$ac_clean_files_save
1998
 
# Check the compiler produces executables we can run.  If not, either
 
2512
# Check that the compiler produces executables we can run.  If not, either
1999
2513
# the compiler is broken, or we cross compile.
2000
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2001
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2002
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2003
 
echo "${ECHO_T}$cross_compiling" >&6
 
2514
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2515
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2516
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2517
echo "${ECHO_T}$cross_compiling" >&6; }
2004
2518
 
2005
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2006
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2007
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2008
 
  (eval $ac_link) 2>&5
 
2519
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2520
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2521
if { (ac_try="$ac_link"
 
2522
case "(($ac_try" in
 
2523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2524
  *) ac_try_echo=$ac_try;;
 
2525
esac
 
2526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2527
  (eval "$ac_link") 2>&5
2009
2528
  ac_status=$?
2010
2529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011
2530
  (exit $ac_status); }; then
2016
2535
for ac_file in conftest.exe conftest conftest.*; do
2017
2536
  test -f "$ac_file" || continue
2018
2537
  case $ac_file in
2019
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2538
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2020
2539
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2021
 
          export ac_cv_exeext
2022
2540
          break;;
2023
2541
    * ) break;;
2024
2542
  esac
2032
2550
fi
2033
2551
 
2034
2552
rm -f conftest$ac_cv_exeext
2035
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2036
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2553
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2554
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2037
2555
 
2038
2556
rm -f conftest.$ac_ext
2039
2557
EXEEXT=$ac_cv_exeext
2040
2558
ac_exeext=$EXEEXT
2041
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2042
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2559
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2560
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2043
2561
if test "${ac_cv_objext+set}" = set; then
2044
2562
  echo $ECHO_N "(cached) $ECHO_C" >&6
2045
2563
else
2059
2577
}
2060
2578
_ACEOF
2061
2579
rm -f conftest.o conftest.obj
2062
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2063
 
  (eval $ac_compile) 2>&5
 
2580
if { (ac_try="$ac_compile"
 
2581
case "(($ac_try" in
 
2582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2583
  *) ac_try_echo=$ac_try;;
 
2584
esac
 
2585
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2586
  (eval "$ac_compile") 2>&5
2064
2587
  ac_status=$?
2065
2588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066
2589
  (exit $ac_status); }; then
2067
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2590
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2591
  test -f "$ac_file" || continue;
2068
2592
  case $ac_file in
2069
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2593
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2070
2594
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2071
2595
       break;;
2072
2596
  esac
2084
2608
 
2085
2609
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2086
2610
fi
2087
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2088
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2611
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2612
echo "${ECHO_T}$ac_cv_objext" >&6; }
2089
2613
OBJEXT=$ac_cv_objext
2090
2614
ac_objext=$OBJEXT
2091
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2092
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2615
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2616
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2093
2617
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2094
2618
  echo $ECHO_N "(cached) $ECHO_C" >&6
2095
2619
else
2112
2636
}
2113
2637
_ACEOF
2114
2638
rm -f conftest.$ac_objext
2115
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116
 
  (eval $ac_compile) 2>conftest.er1
 
2639
if { (ac_try="$ac_compile"
 
2640
case "(($ac_try" in
 
2641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2642
  *) ac_try_echo=$ac_try;;
 
2643
esac
 
2644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2645
  (eval "$ac_compile") 2>conftest.er1
2117
2646
  ac_status=$?
2118
2647
  grep -v '^ *+' conftest.er1 >conftest.err
2119
2648
  rm -f conftest.er1
2120
2649
  cat conftest.err >&5
2121
2650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122
 
  (exit $ac_status); } &&
2123
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2124
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125
 
  (eval $ac_try) 2>&5
2126
 
  ac_status=$?
2127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128
 
  (exit $ac_status); }; } &&
2129
 
         { ac_try='test -s conftest.$ac_objext'
2130
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2131
 
  (eval $ac_try) 2>&5
2132
 
  ac_status=$?
2133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134
 
  (exit $ac_status); }; }; then
 
2651
  (exit $ac_status); } && {
 
2652
         test -z "$ac_c_werror_flag" ||
 
2653
         test ! -s conftest.err
 
2654
       } && test -s conftest.$ac_objext; then
2135
2655
  ac_compiler_gnu=yes
2136
2656
else
2137
2657
  echo "$as_me: failed program was:" >&5
2138
2658
sed 's/^/| /' conftest.$ac_ext >&5
2139
2659
 
2140
 
ac_compiler_gnu=no
 
2660
        ac_compiler_gnu=no
2141
2661
fi
2142
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2662
 
 
2663
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143
2664
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2144
2665
 
2145
2666
fi
2146
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2147
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2667
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2668
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2148
2669
GCC=`test $ac_compiler_gnu = yes && echo yes`
2149
2670
ac_test_CFLAGS=${CFLAGS+set}
2150
2671
ac_save_CFLAGS=$CFLAGS
2151
 
CFLAGS="-g"
2152
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2153
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2672
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2673
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2154
2674
if test "${ac_cv_prog_cc_g+set}" = set; then
2155
2675
  echo $ECHO_N "(cached) $ECHO_C" >&6
2156
2676
else
2157
 
  cat >conftest.$ac_ext <<_ACEOF
2158
 
/* confdefs.h.  */
2159
 
_ACEOF
2160
 
cat confdefs.h >>conftest.$ac_ext
2161
 
cat >>conftest.$ac_ext <<_ACEOF
2162
 
/* end confdefs.h.  */
2163
 
 
2164
 
int
2165
 
main ()
2166
 
{
2167
 
 
2168
 
  ;
2169
 
  return 0;
2170
 
}
2171
 
_ACEOF
2172
 
rm -f conftest.$ac_objext
2173
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174
 
  (eval $ac_compile) 2>conftest.er1
2175
 
  ac_status=$?
2176
 
  grep -v '^ *+' conftest.er1 >conftest.err
2177
 
  rm -f conftest.er1
2178
 
  cat conftest.err >&5
2179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180
 
  (exit $ac_status); } &&
2181
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183
 
  (eval $ac_try) 2>&5
2184
 
  ac_status=$?
2185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186
 
  (exit $ac_status); }; } &&
2187
 
         { ac_try='test -s conftest.$ac_objext'
2188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189
 
  (eval $ac_try) 2>&5
2190
 
  ac_status=$?
2191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192
 
  (exit $ac_status); }; }; then
2193
 
  ac_cv_prog_cc_g=yes
2194
 
else
2195
 
  echo "$as_me: failed program was:" >&5
2196
 
sed 's/^/| /' conftest.$ac_ext >&5
2197
 
 
2198
 
ac_cv_prog_cc_g=no
2199
 
fi
2200
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2201
 
fi
2202
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2203
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2677
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2678
   ac_c_werror_flag=yes
 
2679
   ac_cv_prog_cc_g=no
 
2680
   CFLAGS="-g"
 
2681
   cat >conftest.$ac_ext <<_ACEOF
 
2682
/* confdefs.h.  */
 
2683
_ACEOF
 
2684
cat confdefs.h >>conftest.$ac_ext
 
2685
cat >>conftest.$ac_ext <<_ACEOF
 
2686
/* end confdefs.h.  */
 
2687
 
 
2688
int
 
2689
main ()
 
2690
{
 
2691
 
 
2692
  ;
 
2693
  return 0;
 
2694
}
 
2695
_ACEOF
 
2696
rm -f conftest.$ac_objext
 
2697
if { (ac_try="$ac_compile"
 
2698
case "(($ac_try" in
 
2699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2700
  *) ac_try_echo=$ac_try;;
 
2701
esac
 
2702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2703
  (eval "$ac_compile") 2>conftest.er1
 
2704
  ac_status=$?
 
2705
  grep -v '^ *+' conftest.er1 >conftest.err
 
2706
  rm -f conftest.er1
 
2707
  cat conftest.err >&5
 
2708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2709
  (exit $ac_status); } && {
 
2710
         test -z "$ac_c_werror_flag" ||
 
2711
         test ! -s conftest.err
 
2712
       } && test -s conftest.$ac_objext; then
 
2713
  ac_cv_prog_cc_g=yes
 
2714
else
 
2715
  echo "$as_me: failed program was:" >&5
 
2716
sed 's/^/| /' conftest.$ac_ext >&5
 
2717
 
 
2718
        CFLAGS=""
 
2719
      cat >conftest.$ac_ext <<_ACEOF
 
2720
/* confdefs.h.  */
 
2721
_ACEOF
 
2722
cat confdefs.h >>conftest.$ac_ext
 
2723
cat >>conftest.$ac_ext <<_ACEOF
 
2724
/* end confdefs.h.  */
 
2725
 
 
2726
int
 
2727
main ()
 
2728
{
 
2729
 
 
2730
  ;
 
2731
  return 0;
 
2732
}
 
2733
_ACEOF
 
2734
rm -f conftest.$ac_objext
 
2735
if { (ac_try="$ac_compile"
 
2736
case "(($ac_try" in
 
2737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2738
  *) ac_try_echo=$ac_try;;
 
2739
esac
 
2740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2741
  (eval "$ac_compile") 2>conftest.er1
 
2742
  ac_status=$?
 
2743
  grep -v '^ *+' conftest.er1 >conftest.err
 
2744
  rm -f conftest.er1
 
2745
  cat conftest.err >&5
 
2746
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2747
  (exit $ac_status); } && {
 
2748
         test -z "$ac_c_werror_flag" ||
 
2749
         test ! -s conftest.err
 
2750
       } && test -s conftest.$ac_objext; then
 
2751
  :
 
2752
else
 
2753
  echo "$as_me: failed program was:" >&5
 
2754
sed 's/^/| /' conftest.$ac_ext >&5
 
2755
 
 
2756
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2757
         CFLAGS="-g"
 
2758
         cat >conftest.$ac_ext <<_ACEOF
 
2759
/* confdefs.h.  */
 
2760
_ACEOF
 
2761
cat confdefs.h >>conftest.$ac_ext
 
2762
cat >>conftest.$ac_ext <<_ACEOF
 
2763
/* end confdefs.h.  */
 
2764
 
 
2765
int
 
2766
main ()
 
2767
{
 
2768
 
 
2769
  ;
 
2770
  return 0;
 
2771
}
 
2772
_ACEOF
 
2773
rm -f conftest.$ac_objext
 
2774
if { (ac_try="$ac_compile"
 
2775
case "(($ac_try" in
 
2776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2777
  *) ac_try_echo=$ac_try;;
 
2778
esac
 
2779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2780
  (eval "$ac_compile") 2>conftest.er1
 
2781
  ac_status=$?
 
2782
  grep -v '^ *+' conftest.er1 >conftest.err
 
2783
  rm -f conftest.er1
 
2784
  cat conftest.err >&5
 
2785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2786
  (exit $ac_status); } && {
 
2787
         test -z "$ac_c_werror_flag" ||
 
2788
         test ! -s conftest.err
 
2789
       } && test -s conftest.$ac_objext; then
 
2790
  ac_cv_prog_cc_g=yes
 
2791
else
 
2792
  echo "$as_me: failed program was:" >&5
 
2793
sed 's/^/| /' conftest.$ac_ext >&5
 
2794
 
 
2795
 
 
2796
fi
 
2797
 
 
2798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2799
fi
 
2800
 
 
2801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2802
fi
 
2803
 
 
2804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2805
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2806
fi
 
2807
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2808
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2204
2809
if test "$ac_test_CFLAGS" = set; then
2205
2810
  CFLAGS=$ac_save_CFLAGS
2206
2811
elif test $ac_cv_prog_cc_g = yes; then
2216
2821
    CFLAGS=
2217
2822
  fi
2218
2823
fi
2219
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2220
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2221
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2824
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2825
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2826
if test "${ac_cv_prog_cc_c89+set}" = set; then
2222
2827
  echo $ECHO_N "(cached) $ECHO_C" >&6
2223
2828
else
2224
 
  ac_cv_prog_cc_stdc=no
 
2829
  ac_cv_prog_cc_c89=no
2225
2830
ac_save_CC=$CC
2226
2831
cat >conftest.$ac_ext <<_ACEOF
2227
2832
/* confdefs.h.  */
2255
2860
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2256
2861
   function prototypes and stuff, but not '\xHH' hex character constants.
2257
2862
   These don't provoke an error unfortunately, instead are silently treated
2258
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
2863
   as 'x'.  The following induces an error, until -std is added to get
2259
2864
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2260
2865
   array size at least.  It's necessary to write '\x00'==0 to get something
2261
 
   that's true only with -std1.  */
 
2866
   that's true only with -std.  */
2262
2867
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2263
2868
 
 
2869
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
2870
   inside strings and character constants.  */
 
2871
#define FOO(x) 'x'
 
2872
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
2873
 
2264
2874
int test (int i, double x);
2265
2875
struct s1 {int (*f) (int a);};
2266
2876
struct s2 {int (*f) (double a);};
2275
2885
  return 0;
2276
2886
}
2277
2887
_ACEOF
2278
 
# Don't try gcc -ansi; that turns off useful extensions and
2279
 
# breaks some systems' header files.
2280
 
# AIX                   -qlanglvl=ansi
2281
 
# Ultrix and OSF/1      -std1
2282
 
# HP-UX 10.20 and later -Ae
2283
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2284
 
# SVR4                  -Xc -D__EXTENSIONS__
2285
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2888
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
2889
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2286
2890
do
2287
2891
  CC="$ac_save_CC $ac_arg"
2288
2892
  rm -f conftest.$ac_objext
2289
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290
 
  (eval $ac_compile) 2>conftest.er1
 
2893
if { (ac_try="$ac_compile"
 
2894
case "(($ac_try" in
 
2895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2896
  *) ac_try_echo=$ac_try;;
 
2897
esac
 
2898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2899
  (eval "$ac_compile") 2>conftest.er1
2291
2900
  ac_status=$?
2292
2901
  grep -v '^ *+' conftest.er1 >conftest.err
2293
2902
  rm -f conftest.er1
2294
2903
  cat conftest.err >&5
2295
2904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296
 
  (exit $ac_status); } &&
2297
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299
 
  (eval $ac_try) 2>&5
2300
 
  ac_status=$?
2301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302
 
  (exit $ac_status); }; } &&
2303
 
         { ac_try='test -s conftest.$ac_objext'
2304
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305
 
  (eval $ac_try) 2>&5
2306
 
  ac_status=$?
2307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308
 
  (exit $ac_status); }; }; then
2309
 
  ac_cv_prog_cc_stdc=$ac_arg
2310
 
break
 
2905
  (exit $ac_status); } && {
 
2906
         test -z "$ac_c_werror_flag" ||
 
2907
         test ! -s conftest.err
 
2908
       } && test -s conftest.$ac_objext; then
 
2909
  ac_cv_prog_cc_c89=$ac_arg
2311
2910
else
2312
2911
  echo "$as_me: failed program was:" >&5
2313
2912
sed 's/^/| /' conftest.$ac_ext >&5
2314
2913
 
 
2914
 
2315
2915
fi
2316
 
rm -f conftest.err conftest.$ac_objext
 
2916
 
 
2917
rm -f core conftest.err conftest.$ac_objext
 
2918
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2317
2919
done
2318
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
2920
rm -f conftest.$ac_ext
2319
2921
CC=$ac_save_CC
2320
2922
 
2321
2923
fi
2322
 
 
2323
 
case "x$ac_cv_prog_cc_stdc" in
2324
 
  x|xno)
2325
 
    echo "$as_me:$LINENO: result: none needed" >&5
2326
 
echo "${ECHO_T}none needed" >&6 ;;
 
2924
# AC_CACHE_VAL
 
2925
case "x$ac_cv_prog_cc_c89" in
 
2926
  x)
 
2927
    { echo "$as_me:$LINENO: result: none needed" >&5
 
2928
echo "${ECHO_T}none needed" >&6; } ;;
 
2929
  xno)
 
2930
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
2931
echo "${ECHO_T}unsupported" >&6; } ;;
2327
2932
  *)
2328
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2329
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2330
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2933
    CC="$CC $ac_cv_prog_cc_c89"
 
2934
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2935
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2331
2936
esac
2332
2937
 
2333
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2334
 
# in C++ we need to declare it.  In case someone uses the same compiler
2335
 
# for both compiling C and C++ we need to have the C++ compiler decide
2336
 
# the declaration of exit, since it's the most demanding environment.
2337
 
cat >conftest.$ac_ext <<_ACEOF
2338
 
#ifndef __cplusplus
2339
 
  choke me
2340
 
#endif
2341
 
_ACEOF
2342
 
rm -f conftest.$ac_objext
2343
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344
 
  (eval $ac_compile) 2>conftest.er1
2345
 
  ac_status=$?
2346
 
  grep -v '^ *+' conftest.er1 >conftest.err
2347
 
  rm -f conftest.er1
2348
 
  cat conftest.err >&5
2349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350
 
  (exit $ac_status); } &&
2351
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2352
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353
 
  (eval $ac_try) 2>&5
2354
 
  ac_status=$?
2355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356
 
  (exit $ac_status); }; } &&
2357
 
         { ac_try='test -s conftest.$ac_objext'
2358
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359
 
  (eval $ac_try) 2>&5
2360
 
  ac_status=$?
2361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362
 
  (exit $ac_status); }; }; then
2363
 
  for ac_declaration in \
2364
 
   '' \
2365
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2366
 
   'extern "C" void std::exit (int); using std::exit;' \
2367
 
   'extern "C" void exit (int) throw ();' \
2368
 
   'extern "C" void exit (int);' \
2369
 
   'void exit (int);'
2370
 
do
2371
 
  cat >conftest.$ac_ext <<_ACEOF
2372
 
/* confdefs.h.  */
2373
 
_ACEOF
2374
 
cat confdefs.h >>conftest.$ac_ext
2375
 
cat >>conftest.$ac_ext <<_ACEOF
2376
 
/* end confdefs.h.  */
2377
 
$ac_declaration
2378
 
#include <stdlib.h>
2379
 
int
2380
 
main ()
2381
 
{
2382
 
exit (42);
2383
 
  ;
2384
 
  return 0;
2385
 
}
2386
 
_ACEOF
2387
 
rm -f conftest.$ac_objext
2388
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2389
 
  (eval $ac_compile) 2>conftest.er1
2390
 
  ac_status=$?
2391
 
  grep -v '^ *+' conftest.er1 >conftest.err
2392
 
  rm -f conftest.er1
2393
 
  cat conftest.err >&5
2394
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395
 
  (exit $ac_status); } &&
2396
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2397
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398
 
  (eval $ac_try) 2>&5
2399
 
  ac_status=$?
2400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401
 
  (exit $ac_status); }; } &&
2402
 
         { ac_try='test -s conftest.$ac_objext'
2403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2404
 
  (eval $ac_try) 2>&5
2405
 
  ac_status=$?
2406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407
 
  (exit $ac_status); }; }; then
2408
 
  :
2409
 
else
2410
 
  echo "$as_me: failed program was:" >&5
2411
 
sed 's/^/| /' conftest.$ac_ext >&5
2412
 
 
2413
 
continue
2414
 
fi
2415
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2416
 
  cat >conftest.$ac_ext <<_ACEOF
2417
 
/* confdefs.h.  */
2418
 
_ACEOF
2419
 
cat confdefs.h >>conftest.$ac_ext
2420
 
cat >>conftest.$ac_ext <<_ACEOF
2421
 
/* end confdefs.h.  */
2422
 
$ac_declaration
2423
 
int
2424
 
main ()
2425
 
{
2426
 
exit (42);
2427
 
  ;
2428
 
  return 0;
2429
 
}
2430
 
_ACEOF
2431
 
rm -f conftest.$ac_objext
2432
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2433
 
  (eval $ac_compile) 2>conftest.er1
2434
 
  ac_status=$?
2435
 
  grep -v '^ *+' conftest.er1 >conftest.err
2436
 
  rm -f conftest.er1
2437
 
  cat conftest.err >&5
2438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439
 
  (exit $ac_status); } &&
2440
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442
 
  (eval $ac_try) 2>&5
2443
 
  ac_status=$?
2444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445
 
  (exit $ac_status); }; } &&
2446
 
         { ac_try='test -s conftest.$ac_objext'
2447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448
 
  (eval $ac_try) 2>&5
2449
 
  ac_status=$?
2450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451
 
  (exit $ac_status); }; }; then
2452
 
  break
2453
 
else
2454
 
  echo "$as_me: failed program was:" >&5
2455
 
sed 's/^/| /' conftest.$ac_ext >&5
2456
 
 
2457
 
fi
2458
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2459
 
done
2460
 
rm -f conftest*
2461
 
if test -n "$ac_declaration"; then
2462
 
  echo '#ifdef __cplusplus' >>confdefs.h
2463
 
  echo $ac_declaration      >>confdefs.h
2464
 
  echo '#endif'             >>confdefs.h
2465
 
fi
2466
 
 
2467
 
else
2468
 
  echo "$as_me: failed program was:" >&5
2469
 
sed 's/^/| /' conftest.$ac_ext >&5
2470
 
 
2471
 
fi
2472
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2938
 
2473
2939
ac_ext=c
2474
2940
ac_cpp='$CPP $CPPFLAGS'
2475
2941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2476
2942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2477
2943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2478
2944
 
2479
 
ac_ext=cc
 
2945
ac_ext=cpp
2480
2946
ac_cpp='$CXXCPP $CPPFLAGS'
2481
2947
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2482
2948
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2483
2949
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2484
 
if test -n "$ac_tool_prefix"; then
2485
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
2950
if test -z "$CXX"; then
 
2951
  if test -n "$CCC"; then
 
2952
    CXX=$CCC
 
2953
  else
 
2954
    if test -n "$ac_tool_prefix"; then
 
2955
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2486
2956
  do
2487
2957
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2488
2958
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2489
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2490
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2959
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2960
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2491
2961
if test "${ac_cv_prog_CXX+set}" = set; then
2492
2962
  echo $ECHO_N "(cached) $ECHO_C" >&6
2493
2963
else
2500
2970
  IFS=$as_save_IFS
2501
2971
  test -z "$as_dir" && as_dir=.
2502
2972
  for ac_exec_ext in '' $ac_executable_extensions; do
2503
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2973
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504
2974
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2505
2975
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506
2976
    break 2
2507
2977
  fi
2508
2978
done
2509
2979
done
 
2980
IFS=$as_save_IFS
2510
2981
 
2511
2982
fi
2512
2983
fi
2513
2984
CXX=$ac_cv_prog_CXX
2514
2985
if test -n "$CXX"; then
2515
 
  echo "$as_me:$LINENO: result: $CXX" >&5
2516
 
echo "${ECHO_T}$CXX" >&6
 
2986
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
2987
echo "${ECHO_T}$CXX" >&6; }
2517
2988
else
2518
 
  echo "$as_me:$LINENO: result: no" >&5
2519
 
echo "${ECHO_T}no" >&6
 
2989
  { echo "$as_me:$LINENO: result: no" >&5
 
2990
echo "${ECHO_T}no" >&6; }
2520
2991
fi
2521
2992
 
 
2993
 
2522
2994
    test -n "$CXX" && break
2523
2995
  done
2524
2996
fi
2525
2997
if test -z "$CXX"; then
2526
2998
  ac_ct_CXX=$CXX
2527
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
2999
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2528
3000
do
2529
3001
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2530
3002
set dummy $ac_prog; ac_word=$2
2531
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2532
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3003
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3004
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533
3005
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2534
3006
  echo $ECHO_N "(cached) $ECHO_C" >&6
2535
3007
else
2542
3014
  IFS=$as_save_IFS
2543
3015
  test -z "$as_dir" && as_dir=.
2544
3016
  for ac_exec_ext in '' $ac_executable_extensions; do
2545
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3017
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546
3018
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2547
3019
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548
3020
    break 2
2549
3021
  fi
2550
3022
done
2551
3023
done
 
3024
IFS=$as_save_IFS
2552
3025
 
2553
3026
fi
2554
3027
fi
2555
3028
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2556
3029
if test -n "$ac_ct_CXX"; then
2557
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2558
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
3030
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3031
echo "${ECHO_T}$ac_ct_CXX" >&6; }
2559
3032
else
2560
 
  echo "$as_me:$LINENO: result: no" >&5
2561
 
echo "${ECHO_T}no" >&6
 
3033
  { echo "$as_me:$LINENO: result: no" >&5
 
3034
echo "${ECHO_T}no" >&6; }
2562
3035
fi
2563
3036
 
 
3037
 
2564
3038
  test -n "$ac_ct_CXX" && break
2565
3039
done
2566
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2567
 
 
2568
 
  CXX=$ac_ct_CXX
2569
 
fi
2570
 
 
2571
 
 
 
3040
 
 
3041
  if test "x$ac_ct_CXX" = x; then
 
3042
    CXX="g++"
 
3043
  else
 
3044
    case $cross_compiling:$ac_tool_warned in
 
3045
yes:)
 
3046
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3047
whose name does not start with the host triplet.  If you think this
 
3048
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3049
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3050
whose name does not start with the host triplet.  If you think this
 
3051
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3052
ac_tool_warned=yes ;;
 
3053
esac
 
3054
    CXX=$ac_ct_CXX
 
3055
  fi
 
3056
fi
 
3057
 
 
3058
  fi
 
3059
fi
2572
3060
# Provide some information about the compiler.
2573
 
echo "$as_me:$LINENO:" \
2574
 
     "checking for C++ compiler version" >&5
 
3061
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2575
3062
ac_compiler=`set X $ac_compile; echo $2`
2576
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2577
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2578
 
  ac_status=$?
2579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580
 
  (exit $ac_status); }
2581
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2582
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2583
 
  ac_status=$?
2584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585
 
  (exit $ac_status); }
2586
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2587
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3063
{ (ac_try="$ac_compiler --version >&5"
 
3064
case "(($ac_try" in
 
3065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3066
  *) ac_try_echo=$ac_try;;
 
3067
esac
 
3068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3069
  (eval "$ac_compiler --version >&5") 2>&5
 
3070
  ac_status=$?
 
3071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3072
  (exit $ac_status); }
 
3073
{ (ac_try="$ac_compiler -v >&5"
 
3074
case "(($ac_try" in
 
3075
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3076
  *) ac_try_echo=$ac_try;;
 
3077
esac
 
3078
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3079
  (eval "$ac_compiler -v >&5") 2>&5
 
3080
  ac_status=$?
 
3081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3082
  (exit $ac_status); }
 
3083
{ (ac_try="$ac_compiler -V >&5"
 
3084
case "(($ac_try" in
 
3085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3086
  *) ac_try_echo=$ac_try;;
 
3087
esac
 
3088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3089
  (eval "$ac_compiler -V >&5") 2>&5
2588
3090
  ac_status=$?
2589
3091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590
3092
  (exit $ac_status); }
2591
3093
 
2592
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2593
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
3094
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3095
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2594
3096
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2595
3097
  echo $ECHO_N "(cached) $ECHO_C" >&6
2596
3098
else
2613
3115
}
2614
3116
_ACEOF
2615
3117
rm -f conftest.$ac_objext
2616
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2617
 
  (eval $ac_compile) 2>conftest.er1
 
3118
if { (ac_try="$ac_compile"
 
3119
case "(($ac_try" in
 
3120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3121
  *) ac_try_echo=$ac_try;;
 
3122
esac
 
3123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3124
  (eval "$ac_compile") 2>conftest.er1
2618
3125
  ac_status=$?
2619
3126
  grep -v '^ *+' conftest.er1 >conftest.err
2620
3127
  rm -f conftest.er1
2621
3128
  cat conftest.err >&5
2622
3129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623
 
  (exit $ac_status); } &&
2624
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2625
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626
 
  (eval $ac_try) 2>&5
2627
 
  ac_status=$?
2628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629
 
  (exit $ac_status); }; } &&
2630
 
         { ac_try='test -s conftest.$ac_objext'
2631
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632
 
  (eval $ac_try) 2>&5
2633
 
  ac_status=$?
2634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635
 
  (exit $ac_status); }; }; then
 
3130
  (exit $ac_status); } && {
 
3131
         test -z "$ac_cxx_werror_flag" ||
 
3132
         test ! -s conftest.err
 
3133
       } && test -s conftest.$ac_objext; then
2636
3134
  ac_compiler_gnu=yes
2637
3135
else
2638
3136
  echo "$as_me: failed program was:" >&5
2639
3137
sed 's/^/| /' conftest.$ac_ext >&5
2640
3138
 
2641
 
ac_compiler_gnu=no
 
3139
        ac_compiler_gnu=no
2642
3140
fi
2643
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3141
 
 
3142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644
3143
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2645
3144
 
2646
3145
fi
2647
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2648
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
3146
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3147
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2649
3148
GXX=`test $ac_compiler_gnu = yes && echo yes`
2650
3149
ac_test_CXXFLAGS=${CXXFLAGS+set}
2651
3150
ac_save_CXXFLAGS=$CXXFLAGS
2652
 
CXXFLAGS="-g"
2653
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2654
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
3151
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3152
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2655
3153
if test "${ac_cv_prog_cxx_g+set}" = set; then
2656
3154
  echo $ECHO_N "(cached) $ECHO_C" >&6
2657
3155
else
2658
 
  cat >conftest.$ac_ext <<_ACEOF
2659
 
/* confdefs.h.  */
2660
 
_ACEOF
2661
 
cat confdefs.h >>conftest.$ac_ext
2662
 
cat >>conftest.$ac_ext <<_ACEOF
2663
 
/* end confdefs.h.  */
2664
 
 
2665
 
int
2666
 
main ()
2667
 
{
2668
 
 
2669
 
  ;
2670
 
  return 0;
2671
 
}
2672
 
_ACEOF
2673
 
rm -f conftest.$ac_objext
2674
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2675
 
  (eval $ac_compile) 2>conftest.er1
2676
 
  ac_status=$?
2677
 
  grep -v '^ *+' conftest.er1 >conftest.err
2678
 
  rm -f conftest.er1
2679
 
  cat conftest.err >&5
2680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681
 
  (exit $ac_status); } &&
2682
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684
 
  (eval $ac_try) 2>&5
2685
 
  ac_status=$?
2686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687
 
  (exit $ac_status); }; } &&
2688
 
         { ac_try='test -s conftest.$ac_objext'
2689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690
 
  (eval $ac_try) 2>&5
2691
 
  ac_status=$?
2692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693
 
  (exit $ac_status); }; }; then
2694
 
  ac_cv_prog_cxx_g=yes
2695
 
else
2696
 
  echo "$as_me: failed program was:" >&5
2697
 
sed 's/^/| /' conftest.$ac_ext >&5
2698
 
 
2699
 
ac_cv_prog_cxx_g=no
2700
 
fi
2701
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2702
 
fi
2703
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2704
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
3156
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3157
   ac_cxx_werror_flag=yes
 
3158
   ac_cv_prog_cxx_g=no
 
3159
   CXXFLAGS="-g"
 
3160
   cat >conftest.$ac_ext <<_ACEOF
 
3161
/* confdefs.h.  */
 
3162
_ACEOF
 
3163
cat confdefs.h >>conftest.$ac_ext
 
3164
cat >>conftest.$ac_ext <<_ACEOF
 
3165
/* end confdefs.h.  */
 
3166
 
 
3167
int
 
3168
main ()
 
3169
{
 
3170
 
 
3171
  ;
 
3172
  return 0;
 
3173
}
 
3174
_ACEOF
 
3175
rm -f conftest.$ac_objext
 
3176
if { (ac_try="$ac_compile"
 
3177
case "(($ac_try" in
 
3178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3179
  *) ac_try_echo=$ac_try;;
 
3180
esac
 
3181
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3182
  (eval "$ac_compile") 2>conftest.er1
 
3183
  ac_status=$?
 
3184
  grep -v '^ *+' conftest.er1 >conftest.err
 
3185
  rm -f conftest.er1
 
3186
  cat conftest.err >&5
 
3187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3188
  (exit $ac_status); } && {
 
3189
         test -z "$ac_cxx_werror_flag" ||
 
3190
         test ! -s conftest.err
 
3191
       } && test -s conftest.$ac_objext; then
 
3192
  ac_cv_prog_cxx_g=yes
 
3193
else
 
3194
  echo "$as_me: failed program was:" >&5
 
3195
sed 's/^/| /' conftest.$ac_ext >&5
 
3196
 
 
3197
        CXXFLAGS=""
 
3198
      cat >conftest.$ac_ext <<_ACEOF
 
3199
/* confdefs.h.  */
 
3200
_ACEOF
 
3201
cat confdefs.h >>conftest.$ac_ext
 
3202
cat >>conftest.$ac_ext <<_ACEOF
 
3203
/* end confdefs.h.  */
 
3204
 
 
3205
int
 
3206
main ()
 
3207
{
 
3208
 
 
3209
  ;
 
3210
  return 0;
 
3211
}
 
3212
_ACEOF
 
3213
rm -f conftest.$ac_objext
 
3214
if { (ac_try="$ac_compile"
 
3215
case "(($ac_try" in
 
3216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3217
  *) ac_try_echo=$ac_try;;
 
3218
esac
 
3219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3220
  (eval "$ac_compile") 2>conftest.er1
 
3221
  ac_status=$?
 
3222
  grep -v '^ *+' conftest.er1 >conftest.err
 
3223
  rm -f conftest.er1
 
3224
  cat conftest.err >&5
 
3225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3226
  (exit $ac_status); } && {
 
3227
         test -z "$ac_cxx_werror_flag" ||
 
3228
         test ! -s conftest.err
 
3229
       } && test -s conftest.$ac_objext; then
 
3230
  :
 
3231
else
 
3232
  echo "$as_me: failed program was:" >&5
 
3233
sed 's/^/| /' conftest.$ac_ext >&5
 
3234
 
 
3235
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3236
         CXXFLAGS="-g"
 
3237
         cat >conftest.$ac_ext <<_ACEOF
 
3238
/* confdefs.h.  */
 
3239
_ACEOF
 
3240
cat confdefs.h >>conftest.$ac_ext
 
3241
cat >>conftest.$ac_ext <<_ACEOF
 
3242
/* end confdefs.h.  */
 
3243
 
 
3244
int
 
3245
main ()
 
3246
{
 
3247
 
 
3248
  ;
 
3249
  return 0;
 
3250
}
 
3251
_ACEOF
 
3252
rm -f conftest.$ac_objext
 
3253
if { (ac_try="$ac_compile"
 
3254
case "(($ac_try" in
 
3255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3256
  *) ac_try_echo=$ac_try;;
 
3257
esac
 
3258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3259
  (eval "$ac_compile") 2>conftest.er1
 
3260
  ac_status=$?
 
3261
  grep -v '^ *+' conftest.er1 >conftest.err
 
3262
  rm -f conftest.er1
 
3263
  cat conftest.err >&5
 
3264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3265
  (exit $ac_status); } && {
 
3266
         test -z "$ac_cxx_werror_flag" ||
 
3267
         test ! -s conftest.err
 
3268
       } && test -s conftest.$ac_objext; then
 
3269
  ac_cv_prog_cxx_g=yes
 
3270
else
 
3271
  echo "$as_me: failed program was:" >&5
 
3272
sed 's/^/| /' conftest.$ac_ext >&5
 
3273
 
 
3274
 
 
3275
fi
 
3276
 
 
3277
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3278
fi
 
3279
 
 
3280
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3281
fi
 
3282
 
 
3283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3284
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3285
fi
 
3286
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3287
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2705
3288
if test "$ac_test_CXXFLAGS" = set; then
2706
3289
  CXXFLAGS=$ac_save_CXXFLAGS
2707
3290
elif test $ac_cv_prog_cxx_g = yes; then
2717
3300
    CXXFLAGS=
2718
3301
  fi
2719
3302
fi
2720
 
for ac_declaration in \
2721
 
   '' \
2722
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2723
 
   'extern "C" void std::exit (int); using std::exit;' \
2724
 
   'extern "C" void exit (int) throw ();' \
2725
 
   'extern "C" void exit (int);' \
2726
 
   'void exit (int);'
2727
 
do
2728
 
  cat >conftest.$ac_ext <<_ACEOF
2729
 
/* confdefs.h.  */
2730
 
_ACEOF
2731
 
cat confdefs.h >>conftest.$ac_ext
2732
 
cat >>conftest.$ac_ext <<_ACEOF
2733
 
/* end confdefs.h.  */
2734
 
$ac_declaration
2735
 
#include <stdlib.h>
2736
 
int
2737
 
main ()
2738
 
{
2739
 
exit (42);
2740
 
  ;
2741
 
  return 0;
2742
 
}
2743
 
_ACEOF
2744
 
rm -f conftest.$ac_objext
2745
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746
 
  (eval $ac_compile) 2>conftest.er1
2747
 
  ac_status=$?
2748
 
  grep -v '^ *+' conftest.er1 >conftest.err
2749
 
  rm -f conftest.er1
2750
 
  cat conftest.err >&5
2751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752
 
  (exit $ac_status); } &&
2753
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755
 
  (eval $ac_try) 2>&5
2756
 
  ac_status=$?
2757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758
 
  (exit $ac_status); }; } &&
2759
 
         { ac_try='test -s conftest.$ac_objext'
2760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761
 
  (eval $ac_try) 2>&5
2762
 
  ac_status=$?
2763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
 
  (exit $ac_status); }; }; then
2765
 
  :
2766
 
else
2767
 
  echo "$as_me: failed program was:" >&5
2768
 
sed 's/^/| /' conftest.$ac_ext >&5
2769
 
 
2770
 
continue
2771
 
fi
2772
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2773
 
  cat >conftest.$ac_ext <<_ACEOF
2774
 
/* confdefs.h.  */
2775
 
_ACEOF
2776
 
cat confdefs.h >>conftest.$ac_ext
2777
 
cat >>conftest.$ac_ext <<_ACEOF
2778
 
/* end confdefs.h.  */
2779
 
$ac_declaration
2780
 
int
2781
 
main ()
2782
 
{
2783
 
exit (42);
2784
 
  ;
2785
 
  return 0;
2786
 
}
2787
 
_ACEOF
2788
 
rm -f conftest.$ac_objext
2789
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790
 
  (eval $ac_compile) 2>conftest.er1
2791
 
  ac_status=$?
2792
 
  grep -v '^ *+' conftest.er1 >conftest.err
2793
 
  rm -f conftest.er1
2794
 
  cat conftest.err >&5
2795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
 
  (exit $ac_status); } &&
2797
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799
 
  (eval $ac_try) 2>&5
2800
 
  ac_status=$?
2801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
 
  (exit $ac_status); }; } &&
2803
 
         { ac_try='test -s conftest.$ac_objext'
2804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805
 
  (eval $ac_try) 2>&5
2806
 
  ac_status=$?
2807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808
 
  (exit $ac_status); }; }; then
2809
 
  break
2810
 
else
2811
 
  echo "$as_me: failed program was:" >&5
2812
 
sed 's/^/| /' conftest.$ac_ext >&5
2813
 
 
2814
 
fi
2815
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2816
 
done
2817
 
rm -f conftest*
2818
 
if test -n "$ac_declaration"; then
2819
 
  echo '#ifdef __cplusplus' >>confdefs.h
2820
 
  echo $ac_declaration      >>confdefs.h
2821
 
  echo '#endif'             >>confdefs.h
2822
 
fi
2823
 
 
2824
3303
ac_ext=c
2825
3304
ac_cpp='$CPP $CPPFLAGS'
2826
3305
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868
3347
 
2869
3348
 
2870
3349
LIBOFX_MAJOR_VERSION=0
2871
 
LIBOFX_MINOR_VERSION=8
2872
 
LIBOFX_MICRO_VERSION=2
 
3350
LIBOFX_MINOR_VERSION=9
 
3351
LIBOFX_MICRO_VERSION=0
 
3352
# this number is just incremented for every major change in CVS, also across
 
3353
# releases to emulate the Revision variable of SVN (which isn't available
 
3354
# with CVS)
 
3355
LIBOFX_BUILD_VERSION=0
 
3356
LIBOFX_TAG_VERSION="stable"
 
3357
 
 
3358
case "$LIBOFX_TAG_VERSION" in
 
3359
  cvs|svn)
 
3360
     LIBOFX_VERSION_RELEASE_STRING="$LIBOFX_MAJOR_VERSION.$LIBOFX_MINOR_VERSION.$LIBOFX_MICRO_VERSION.r${LIBOFX_BUILD_VERSION}"
 
3361
     ;;
 
3362
  stable)
 
3363
     LIBOFX_VERSION_RELEASE_STRING="$LIBOFX_MAJOR_VERSION.$LIBOFX_MINOR_VERSION.$LIBOFX_MICRO_VERSION"
 
3364
     ;;
 
3365
  *)
 
3366
     LIBOFX_VERSION_RELEASE_STRING="$LIBOFX_MAJOR_VERSION.$LIBOFX_MINOR_VERSION.$LIBOFX_MICRO_VERSION"
 
3367
 
 
3368
     # add TAG
 
3369
     LIBOFX_VERSION_RELEASE_STRING="${LIBOFX_VERSION_RELEASE_STRING}${GWENHYWFAR_VERSION_TAG}"
 
3370
     ;;
 
3371
esac
 
3372
 
 
3373
 
2873
3374
LIBOFX_VERSION=$LIBOFX_MAJOR_VERSION.$LIBOFX_MINOR_VERSION.$LIBOFX_MICRO_VERSION
2874
3375
 
2875
3376
 
2876
3377
 
2877
3378
 
2878
3379
 
 
3380
 
 
3381
 
2879
3382
am__api_version="1.9"
2880
3383
# Find a good install program.  We prefer a C program (faster),
2881
3384
# so one script is as good as another.  But avoid the broken or
2890
3393
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2891
3394
# OS/2's system install, which has a completely different semantic
2892
3395
# ./install, which can be erroneously created by make from ./install.sh.
2893
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2894
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
3396
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3397
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2895
3398
if test -z "$INSTALL"; then
2896
3399
if test "${ac_cv_path_install+set}" = set; then
2897
3400
  echo $ECHO_N "(cached) $ECHO_C" >&6
2913
3416
    # by default.
2914
3417
    for ac_prog in ginstall scoinst install; do
2915
3418
      for ac_exec_ext in '' $ac_executable_extensions; do
2916
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
3419
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2917
3420
          if test $ac_prog = install &&
2918
3421
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2919
3422
            # AIX install.  It has an incompatible calling convention.
2932
3435
    ;;
2933
3436
esac
2934
3437
done
 
3438
IFS=$as_save_IFS
2935
3439
 
2936
3440
 
2937
3441
fi
2938
3442
  if test "${ac_cv_path_install+set}" = set; then
2939
3443
    INSTALL=$ac_cv_path_install
2940
3444
  else
2941
 
    # As a last resort, use the slow shell script.  We don't cache a
2942
 
    # path for INSTALL within a source directory, because that will
 
3445
    # As a last resort, use the slow shell script.  Don't cache a
 
3446
    # value for INSTALL within a source directory, because that will
2943
3447
    # break other packages using the cache if that directory is
2944
 
    # removed, or if the path is relative.
 
3448
    # removed, or if the value is a relative name.
2945
3449
    INSTALL=$ac_install_sh
2946
3450
  fi
2947
3451
fi
2948
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
2949
 
echo "${ECHO_T}$INSTALL" >&6
 
3452
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3453
echo "${ECHO_T}$INSTALL" >&6; }
2950
3454
 
2951
3455
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2952
3456
# It thinks the first close brace ends the variable substitution.
2956
3460
 
2957
3461
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2958
3462
 
2959
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2960
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
3463
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
3464
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2961
3465
# Just in case
2962
3466
sleep 1
2963
3467
echo timestamp > conftest.file
2999
3503
Check your system clock" >&2;}
3000
3504
   { (exit 1); exit 1; }; }
3001
3505
fi
3002
 
echo "$as_me:$LINENO: result: yes" >&5
3003
 
echo "${ECHO_T}yes" >&6
 
3506
{ echo "$as_me:$LINENO: result: yes" >&5
 
3507
echo "${ECHO_T}yes" >&6; }
3004
3508
test "$program_prefix" != NONE &&
3005
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
3509
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3006
3510
# Use a double $ so make ignores it.
3007
3511
test "$program_suffix" != NONE &&
3008
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
3512
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3009
3513
# Double any \ or $.  echo might interpret backslashes.
3010
3514
# By default was `s,x,x', remove it if useless.
3011
3515
cat <<\_ACEOF >conftest.sed
3012
3516
s/[\\$]/&&/g;s/;s,x,x,$//
3013
3517
_ACEOF
3014
3518
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3015
 
rm conftest.sed
 
3519
rm -f conftest.sed
3016
3520
 
3017
3521
# expand $ac_aux_dir to an absolute path
3018
3522
am_aux_dir=`cd $ac_aux_dir && pwd`
3064
3568
do
3065
3569
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3066
3570
set dummy $ac_prog; ac_word=$2
3067
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3068
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3571
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3572
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3069
3573
if test "${ac_cv_prog_AWK+set}" = set; then
3070
3574
  echo $ECHO_N "(cached) $ECHO_C" >&6
3071
3575
else
3078
3582
  IFS=$as_save_IFS
3079
3583
  test -z "$as_dir" && as_dir=.
3080
3584
  for ac_exec_ext in '' $ac_executable_extensions; do
3081
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082
3586
    ac_cv_prog_AWK="$ac_prog"
3083
3587
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3084
3588
    break 2
3085
3589
  fi
3086
3590
done
3087
3591
done
 
3592
IFS=$as_save_IFS
3088
3593
 
3089
3594
fi
3090
3595
fi
3091
3596
AWK=$ac_cv_prog_AWK
3092
3597
if test -n "$AWK"; then
3093
 
  echo "$as_me:$LINENO: result: $AWK" >&5
3094
 
echo "${ECHO_T}$AWK" >&6
 
3598
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
3599
echo "${ECHO_T}$AWK" >&6; }
3095
3600
else
3096
 
  echo "$as_me:$LINENO: result: no" >&5
3097
 
echo "${ECHO_T}no" >&6
 
3601
  { echo "$as_me:$LINENO: result: no" >&5
 
3602
echo "${ECHO_T}no" >&6; }
3098
3603
fi
3099
3604
 
 
3605
 
3100
3606
  test -n "$AWK" && break
3101
3607
done
3102
3608
 
3103
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3104
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3105
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3106
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
3609
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3610
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
3611
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3612
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3107
3613
  echo $ECHO_N "(cached) $ECHO_C" >&6
3108
3614
else
3109
3615
  cat >conftest.make <<\_ACEOF
 
3616
SHELL = /bin/sh
3110
3617
all:
3111
 
        @echo 'ac_maketemp="$(MAKE)"'
 
3618
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3112
3619
_ACEOF
3113
3620
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3114
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3115
 
if test -n "$ac_maketemp"; then
3116
 
  eval ac_cv_prog_make_${ac_make}_set=yes
3117
 
else
3118
 
  eval ac_cv_prog_make_${ac_make}_set=no
3119
 
fi
 
3621
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3622
  *@@@%%%=?*=@@@%%%*)
 
3623
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3624
  *)
 
3625
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3626
esac
3120
3627
rm -f conftest.make
3121
3628
fi
3122
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3123
 
  echo "$as_me:$LINENO: result: yes" >&5
3124
 
echo "${ECHO_T}yes" >&6
 
3629
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3630
  { echo "$as_me:$LINENO: result: yes" >&5
 
3631
echo "${ECHO_T}yes" >&6; }
3125
3632
  SET_MAKE=
3126
3633
else
3127
 
  echo "$as_me:$LINENO: result: no" >&5
3128
 
echo "${ECHO_T}no" >&6
 
3634
  { echo "$as_me:$LINENO: result: no" >&5
 
3635
echo "${ECHO_T}no" >&6; }
3129
3636
  SET_MAKE="MAKE=${MAKE-make}"
3130
3637
fi
3131
3638
 
3140
3647
 
3141
3648
DEPDIR="${am__leading_dot}deps"
3142
3649
 
3143
 
          ac_config_commands="$ac_config_commands depfiles"
 
3650
ac_config_commands="$ac_config_commands depfiles"
3144
3651
 
3145
3652
 
3146
3653
am_make=${MAKE-make}
3150
3657
.PHONY: am__doit
3151
3658
END
3152
3659
# If we don't find an include directive, just comment out the code.
3153
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3154
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3660
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3661
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3155
3662
am__include="#"
3156
3663
am__quote=
3157
3664
_am_result=none
3178
3685
fi
3179
3686
 
3180
3687
 
3181
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3182
 
echo "${ECHO_T}$_am_result" >&6
 
3688
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3689
echo "${ECHO_T}$_am_result" >&6; }
3183
3690
rm -f confinc confmf
3184
3691
 
3185
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3692
# Check whether --enable-dependency-tracking was given.
3186
3693
if test "${enable_dependency_tracking+set}" = set; then
3187
 
  enableval="$enable_dependency_tracking"
 
3694
  enableval=$enable_dependency_tracking;
 
3695
fi
3188
3696
 
3189
 
fi;
3190
3697
if test "x$enable_dependency_tracking" != xno; then
3191
3698
  am_depcomp="$ac_aux_dir/depcomp"
3192
3699
  AMDEPBACKSLASH='\'
3223
3730
 
3224
3731
# Define the identity of the package.
3225
3732
 PACKAGE=libofx
3226
 
 VERSION=$LIBOFX_VERSION
 
3733
 VERSION=$LIBOFX_VERSION_RELEASE_STRING
3227
3734
 
3228
3735
 
3229
3736
cat >>confdefs.h <<_ACEOF
3261
3768
  if test -n "$ac_tool_prefix"; then
3262
3769
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3263
3770
set dummy ${ac_tool_prefix}strip; ac_word=$2
3264
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3265
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3771
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3772
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3266
3773
if test "${ac_cv_prog_STRIP+set}" = set; then
3267
3774
  echo $ECHO_N "(cached) $ECHO_C" >&6
3268
3775
else
3275
3782
  IFS=$as_save_IFS
3276
3783
  test -z "$as_dir" && as_dir=.
3277
3784
  for ac_exec_ext in '' $ac_executable_extensions; do
3278
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279
3786
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3280
3787
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3281
3788
    break 2
3282
3789
  fi
3283
3790
done
3284
3791
done
 
3792
IFS=$as_save_IFS
3285
3793
 
3286
3794
fi
3287
3795
fi
3288
3796
STRIP=$ac_cv_prog_STRIP
3289
3797
if test -n "$STRIP"; then
3290
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
3291
 
echo "${ECHO_T}$STRIP" >&6
 
3798
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
3799
echo "${ECHO_T}$STRIP" >&6; }
3292
3800
else
3293
 
  echo "$as_me:$LINENO: result: no" >&5
3294
 
echo "${ECHO_T}no" >&6
 
3801
  { echo "$as_me:$LINENO: result: no" >&5
 
3802
echo "${ECHO_T}no" >&6; }
3295
3803
fi
 
3804
 
3296
3805
 
3297
3806
fi
3298
3807
if test -z "$ac_cv_prog_STRIP"; then
3299
3808
  ac_ct_STRIP=$STRIP
3300
3809
  # Extract the first word of "strip", so it can be a program name with args.
3301
3810
set dummy strip; ac_word=$2
3302
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3303
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3811
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3812
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3304
3813
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3305
3814
  echo $ECHO_N "(cached) $ECHO_C" >&6
3306
3815
else
3313
3822
  IFS=$as_save_IFS
3314
3823
  test -z "$as_dir" && as_dir=.
3315
3824
  for ac_exec_ext in '' $ac_executable_extensions; do
3316
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3317
3826
    ac_cv_prog_ac_ct_STRIP="strip"
3318
3827
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3319
3828
    break 2
3320
3829
  fi
3321
3830
done
3322
3831
done
 
3832
IFS=$as_save_IFS
3323
3833
 
3324
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3325
3834
fi
3326
3835
fi
3327
3836
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3328
3837
if test -n "$ac_ct_STRIP"; then
3329
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3330
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
3838
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
3839
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3331
3840
else
3332
 
  echo "$as_me:$LINENO: result: no" >&5
3333
 
echo "${ECHO_T}no" >&6
 
3841
  { echo "$as_me:$LINENO: result: no" >&5
 
3842
echo "${ECHO_T}no" >&6; }
3334
3843
fi
3335
3844
 
3336
 
  STRIP=$ac_ct_STRIP
 
3845
  if test "x$ac_ct_STRIP" = x; then
 
3846
    STRIP=":"
 
3847
  else
 
3848
    case $cross_compiling:$ac_tool_warned in
 
3849
yes:)
 
3850
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3851
whose name does not start with the host triplet.  If you think this
 
3852
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3853
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3854
whose name does not start with the host triplet.  If you think this
 
3855
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3856
ac_tool_warned=yes ;;
 
3857
esac
 
3858
    STRIP=$ac_ct_STRIP
 
3859
  fi
3337
3860
else
3338
3861
  STRIP="$ac_cv_prog_STRIP"
3339
3862
fi
3354
3877
 
3355
3878
depcc="$CC"   am_compiler_list=
3356
3879
 
3357
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3358
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3880
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3881
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3359
3882
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3360
3883
  echo $ECHO_N "(cached) $ECHO_C" >&6
3361
3884
else
3444
3967
fi
3445
3968
 
3446
3969
fi
3447
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3448
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3970
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3971
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3449
3972
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3450
3973
 
3451
3974
 
3463
3986
 
3464
3987
depcc="$CXX"  am_compiler_list=
3465
3988
 
3466
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3467
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3989
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3990
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3468
3991
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3469
3992
  echo $ECHO_N "(cached) $ECHO_C" >&6
3470
3993
else
3553
4076
fi
3554
4077
 
3555
4078
fi
3556
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3557
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4079
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4080
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3558
4081
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3559
4082
 
3560
4083
 
3572
4095
 
3573
4096
 
3574
4097
 
3575
 
LIBOFX_SO_CURRENT=3
 
4098
LIBOFX_SO_CURRENT=4
3576
4099
LIBOFX_SO_REVISION=0
3577
4100
LIBOFX_SO_AGE=0
3578
4101
LIBOFX_SO_EFFECTIVE="`echo \$(($LIBOFX_SO_CURRENT-$LIBOFX_SO_AGE))`"
3580
4103
 
3581
4104
 
3582
4105
 
3583
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3584
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3585
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
4106
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
4107
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
4108
    # Check whether --enable-maintainer-mode was given.
3586
4109
if test "${enable_maintainer_mode+set}" = set; then
3587
 
  enableval="$enable_maintainer_mode"
3588
 
  USE_MAINTAINER_MODE=$enableval
 
4110
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3589
4111
else
3590
4112
  USE_MAINTAINER_MODE=no
3591
 
fi;
3592
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3593
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
4113
fi
 
4114
 
 
4115
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
4116
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
3594
4117
 
3595
4118
 
3596
4119
if test $USE_MAINTAINER_MODE = yes; then
3618
4141
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3619
4142
# OS/2's system install, which has a completely different semantic
3620
4143
# ./install, which can be erroneously created by make from ./install.sh.
3621
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3622
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
4144
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4145
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3623
4146
if test -z "$INSTALL"; then
3624
4147
if test "${ac_cv_path_install+set}" = set; then
3625
4148
  echo $ECHO_N "(cached) $ECHO_C" >&6
3641
4164
    # by default.
3642
4165
    for ac_prog in ginstall scoinst install; do
3643
4166
      for ac_exec_ext in '' $ac_executable_extensions; do
3644
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4167
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3645
4168
          if test $ac_prog = install &&
3646
4169
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3647
4170
            # AIX install.  It has an incompatible calling convention.
3660
4183
    ;;
3661
4184
esac
3662
4185
done
 
4186
IFS=$as_save_IFS
3663
4187
 
3664
4188
 
3665
4189
fi
3666
4190
  if test "${ac_cv_path_install+set}" = set; then
3667
4191
    INSTALL=$ac_cv_path_install
3668
4192
  else
3669
 
    # As a last resort, use the slow shell script.  We don't cache a
3670
 
    # path for INSTALL within a source directory, because that will
 
4193
    # As a last resort, use the slow shell script.  Don't cache a
 
4194
    # value for INSTALL within a source directory, because that will
3671
4195
    # break other packages using the cache if that directory is
3672
 
    # removed, or if the path is relative.
 
4196
    # removed, or if the value is a relative name.
3673
4197
    INSTALL=$ac_install_sh
3674
4198
  fi
3675
4199
fi
3676
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3677
 
echo "${ECHO_T}$INSTALL" >&6
 
4200
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4201
echo "${ECHO_T}$INSTALL" >&6; }
3678
4202
 
3679
4203
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3680
4204
# It thinks the first close brace ends the variable substitution.
3687
4211
 
3688
4212
 
3689
4213
 
3690
 
# Check whether --enable-shared or --disable-shared was given.
 
4214
 
 
4215
 
 
4216
if test -n "$ac_tool_prefix"; then
 
4217
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
 
4218
set dummy ${ac_tool_prefix}windres; ac_word=$2
 
4219
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4220
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4221
if test "${ac_cv_prog_RC+set}" = set; then
 
4222
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4223
else
 
4224
  if test -n "$RC"; then
 
4225
  ac_cv_prog_RC="$RC" # Let the user override the test.
 
4226
else
 
4227
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4228
for as_dir in $PATH
 
4229
do
 
4230
  IFS=$as_save_IFS
 
4231
  test -z "$as_dir" && as_dir=.
 
4232
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4233
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4234
    ac_cv_prog_RC="${ac_tool_prefix}windres"
 
4235
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4236
    break 2
 
4237
  fi
 
4238
done
 
4239
done
 
4240
IFS=$as_save_IFS
 
4241
 
 
4242
fi
 
4243
fi
 
4244
RC=$ac_cv_prog_RC
 
4245
if test -n "$RC"; then
 
4246
  { echo "$as_me:$LINENO: result: $RC" >&5
 
4247
echo "${ECHO_T}$RC" >&6; }
 
4248
else
 
4249
  { echo "$as_me:$LINENO: result: no" >&5
 
4250
echo "${ECHO_T}no" >&6; }
 
4251
fi
 
4252
 
 
4253
 
 
4254
fi
 
4255
if test -z "$ac_cv_prog_RC"; then
 
4256
  ac_ct_RC=$RC
 
4257
  # Extract the first word of "windres", so it can be a program name with args.
 
4258
set dummy windres; ac_word=$2
 
4259
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4260
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4261
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
 
4262
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4263
else
 
4264
  if test -n "$ac_ct_RC"; then
 
4265
  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
 
4266
else
 
4267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4268
for as_dir in $PATH
 
4269
do
 
4270
  IFS=$as_save_IFS
 
4271
  test -z "$as_dir" && as_dir=.
 
4272
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4274
    ac_cv_prog_ac_ct_RC="windres"
 
4275
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4276
    break 2
 
4277
  fi
 
4278
done
 
4279
done
 
4280
IFS=$as_save_IFS
 
4281
 
 
4282
fi
 
4283
fi
 
4284
ac_ct_RC=$ac_cv_prog_ac_ct_RC
 
4285
if test -n "$ac_ct_RC"; then
 
4286
  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
 
4287
echo "${ECHO_T}$ac_ct_RC" >&6; }
 
4288
else
 
4289
  { echo "$as_me:$LINENO: result: no" >&5
 
4290
echo "${ECHO_T}no" >&6; }
 
4291
fi
 
4292
 
 
4293
  if test "x$ac_ct_RC" = x; then
 
4294
    RC="no"
 
4295
  else
 
4296
    case $cross_compiling:$ac_tool_warned in
 
4297
yes:)
 
4298
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4299
whose name does not start with the host triplet.  If you think this
 
4300
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4301
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4302
whose name does not start with the host triplet.  If you think this
 
4303
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4304
ac_tool_warned=yes ;;
 
4305
esac
 
4306
    RC=$ac_ct_RC
 
4307
  fi
 
4308
else
 
4309
  RC="$ac_cv_prog_RC"
 
4310
fi
 
4311
 
 
4312
 
 
4313
 
 
4314
 
 
4315
 
 
4316
 
 
4317
# Check whether --enable-shared was given.
3691
4318
if test "${enable_shared+set}" = set; then
3692
 
  enableval="$enable_shared"
3693
 
  p=${PACKAGE-default}
 
4319
  enableval=$enable_shared; p=${PACKAGE-default}
3694
4320
    case $enableval in
3695
4321
    yes) enable_shared=yes ;;
3696
4322
    no) enable_shared=no ;;
3709
4335
    esac
3710
4336
else
3711
4337
  enable_shared=yes
3712
 
fi;
3713
 
 
3714
 
# Check whether --enable-static or --disable-static was given.
 
4338
fi
 
4339
 
 
4340
 
 
4341
# Check whether --enable-static was given.
3715
4342
if test "${enable_static+set}" = set; then
3716
 
  enableval="$enable_static"
3717
 
  p=${PACKAGE-default}
 
4343
  enableval=$enable_static; p=${PACKAGE-default}
3718
4344
    case $enableval in
3719
4345
    yes) enable_static=yes ;;
3720
4346
    no) enable_static=no ;;
3733
4359
    esac
3734
4360
else
3735
4361
  enable_static=yes
3736
 
fi;
3737
 
 
3738
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4362
fi
 
4363
 
 
4364
 
 
4365
# Check whether --enable-fast-install was given.
3739
4366
if test "${enable_fast_install+set}" = set; then
3740
 
  enableval="$enable_fast_install"
3741
 
  p=${PACKAGE-default}
 
4367
  enableval=$enable_fast_install; p=${PACKAGE-default}
3742
4368
    case $enableval in
3743
4369
    yes) enable_fast_install=yes ;;
3744
4370
    no) enable_fast_install=no ;;
3757
4383
    esac
3758
4384
else
3759
4385
  enable_fast_install=yes
3760
 
fi;
 
4386
fi
 
4387
 
3761
4388
 
3762
4389
# Make sure we can run config.sub.
3763
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3764
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3765
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4390
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4391
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4392
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3766
4393
   { (exit 1); exit 1; }; }
3767
4394
 
3768
 
echo "$as_me:$LINENO: checking build system type" >&5
3769
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4395
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4396
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3770
4397
if test "${ac_cv_build+set}" = set; then
3771
4398
  echo $ECHO_N "(cached) $ECHO_C" >&6
3772
4399
else
3773
 
  ac_cv_build_alias=$build_alias
3774
 
test -z "$ac_cv_build_alias" &&
3775
 
  ac_cv_build_alias=`$ac_config_guess`
3776
 
test -z "$ac_cv_build_alias" &&
 
4400
  ac_build_alias=$build_alias
 
4401
test "x$ac_build_alias" = x &&
 
4402
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4403
test "x$ac_build_alias" = x &&
3777
4404
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3778
4405
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3779
4406
   { (exit 1); exit 1; }; }
3780
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3781
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3782
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4407
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4408
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4409
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3783
4410
   { (exit 1); exit 1; }; }
3784
4411
 
3785
4412
fi
3786
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3787
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4413
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4414
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4415
case $ac_cv_build in
 
4416
*-*-*) ;;
 
4417
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4418
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4419
   { (exit 1); exit 1; }; };;
 
4420
esac
3788
4421
build=$ac_cv_build
3789
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3790
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3791
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3792
 
 
3793
 
 
3794
 
echo "$as_me:$LINENO: checking host system type" >&5
3795
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4422
ac_save_IFS=$IFS; IFS='-'
 
4423
set x $ac_cv_build
 
4424
shift
 
4425
build_cpu=$1
 
4426
build_vendor=$2
 
4427
shift; shift
 
4428
# Remember, the first character of IFS is used to create $*,
 
4429
# except with old shells:
 
4430
build_os=$*
 
4431
IFS=$ac_save_IFS
 
4432
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4433
 
 
4434
 
 
4435
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4436
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3796
4437
if test "${ac_cv_host+set}" = set; then
3797
4438
  echo $ECHO_N "(cached) $ECHO_C" >&6
3798
4439
else
3799
 
  ac_cv_host_alias=$host_alias
3800
 
test -z "$ac_cv_host_alias" &&
3801
 
  ac_cv_host_alias=$ac_cv_build_alias
3802
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3803
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3804
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4440
  if test "x$host_alias" = x; then
 
4441
  ac_cv_host=$ac_cv_build
 
4442
else
 
4443
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4444
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4445
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3805
4446
   { (exit 1); exit 1; }; }
 
4447
fi
3806
4448
 
3807
4449
fi
3808
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3809
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4450
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4451
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4452
case $ac_cv_host in
 
4453
*-*-*) ;;
 
4454
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4455
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4456
   { (exit 1); exit 1; }; };;
 
4457
esac
3810
4458
host=$ac_cv_host
3811
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3812
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3813
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3814
 
 
3815
 
 
3816
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3817
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4459
ac_save_IFS=$IFS; IFS='-'
 
4460
set x $ac_cv_host
 
4461
shift
 
4462
host_cpu=$1
 
4463
host_vendor=$2
 
4464
shift; shift
 
4465
# Remember, the first character of IFS is used to create $*,
 
4466
# except with old shells:
 
4467
host_os=$*
 
4468
IFS=$ac_save_IFS
 
4469
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4470
 
 
4471
 
 
4472
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4473
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3818
4474
if test "${lt_cv_path_SED+set}" = set; then
3819
4475
  echo $ECHO_N "(cached) $ECHO_C" >&6
3820
4476
else
3827
4483
  test -z "$as_dir" && as_dir=.
3828
4484
  for lt_ac_prog in sed gsed; do
3829
4485
    for ac_exec_ext in '' $ac_executable_extensions; do
3830
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4486
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3831
4487
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3832
4488
      fi
3833
4489
    done
3834
4490
  done
3835
4491
done
 
4492
IFS=$as_save_IFS
3836
4493
lt_ac_max=0
3837
4494
lt_ac_count=0
3838
4495
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3867
4524
fi
3868
4525
 
3869
4526
SED=$lt_cv_path_SED
3870
 
echo "$as_me:$LINENO: result: $SED" >&5
3871
 
echo "${ECHO_T}$SED" >&6
3872
 
 
3873
 
echo "$as_me:$LINENO: checking for egrep" >&5
3874
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3875
 
if test "${ac_cv_prog_egrep+set}" = set; then
3876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3877
 
else
3878
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3879
 
    then ac_cv_prog_egrep='grep -E'
3880
 
    else ac_cv_prog_egrep='egrep'
3881
 
    fi
3882
 
fi
3883
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3884
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3885
 
 EGREP=$ac_cv_prog_egrep
3886
 
 
3887
 
 
3888
 
 
3889
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4527
 
 
4528
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4529
echo "${ECHO_T}$SED" >&6; }
 
4530
 
 
4531
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4532
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4533
if test "${ac_cv_path_GREP+set}" = set; then
 
4534
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4535
else
 
4536
  # Extract the first word of "grep ggrep" to use in msg output
 
4537
if test -z "$GREP"; then
 
4538
set dummy grep ggrep; ac_prog_name=$2
 
4539
if test "${ac_cv_path_GREP+set}" = set; then
 
4540
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4541
else
 
4542
  ac_path_GREP_found=false
 
4543
# Loop through the user's path and test for each of PROGNAME-LIST
 
4544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4545
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4546
do
 
4547
  IFS=$as_save_IFS
 
4548
  test -z "$as_dir" && as_dir=.
 
4549
  for ac_prog in grep ggrep; do
 
4550
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4551
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4552
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4553
    # Check for GNU ac_path_GREP and select it if it is found.
 
4554
  # Check for GNU $ac_path_GREP
 
4555
case `"$ac_path_GREP" --version 2>&1` in
 
4556
*GNU*)
 
4557
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4558
*)
 
4559
  ac_count=0
 
4560
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4561
  while :
 
4562
  do
 
4563
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4564
    mv "conftest.tmp" "conftest.in"
 
4565
    cp "conftest.in" "conftest.nl"
 
4566
    echo 'GREP' >> "conftest.nl"
 
4567
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4568
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4569
    ac_count=`expr $ac_count + 1`
 
4570
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4571
      # Best one so far, save it but keep looking for a better one
 
4572
      ac_cv_path_GREP="$ac_path_GREP"
 
4573
      ac_path_GREP_max=$ac_count
 
4574
    fi
 
4575
    # 10*(2^10) chars as input seems more than enough
 
4576
    test $ac_count -gt 10 && break
 
4577
  done
 
4578
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4579
esac
 
4580
 
 
4581
 
 
4582
    $ac_path_GREP_found && break 3
 
4583
  done
 
4584
done
 
4585
 
 
4586
done
 
4587
IFS=$as_save_IFS
 
4588
 
 
4589
 
 
4590
fi
 
4591
 
 
4592
GREP="$ac_cv_path_GREP"
 
4593
if test -z "$GREP"; then
 
4594
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4595
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4596
   { (exit 1); exit 1; }; }
 
4597
fi
 
4598
 
 
4599
else
 
4600
  ac_cv_path_GREP=$GREP
 
4601
fi
 
4602
 
 
4603
 
 
4604
fi
 
4605
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4606
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4607
 GREP="$ac_cv_path_GREP"
 
4608
 
 
4609
 
 
4610
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4611
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4612
if test "${ac_cv_path_EGREP+set}" = set; then
 
4613
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4614
else
 
4615
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4616
   then ac_cv_path_EGREP="$GREP -E"
 
4617
   else
 
4618
     # Extract the first word of "egrep" to use in msg output
 
4619
if test -z "$EGREP"; then
 
4620
set dummy egrep; ac_prog_name=$2
 
4621
if test "${ac_cv_path_EGREP+set}" = set; then
 
4622
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4623
else
 
4624
  ac_path_EGREP_found=false
 
4625
# Loop through the user's path and test for each of PROGNAME-LIST
 
4626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4627
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4628
do
 
4629
  IFS=$as_save_IFS
 
4630
  test -z "$as_dir" && as_dir=.
 
4631
  for ac_prog in egrep; do
 
4632
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4633
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4634
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4635
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4636
  # Check for GNU $ac_path_EGREP
 
4637
case `"$ac_path_EGREP" --version 2>&1` in
 
4638
*GNU*)
 
4639
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4640
*)
 
4641
  ac_count=0
 
4642
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4643
  while :
 
4644
  do
 
4645
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4646
    mv "conftest.tmp" "conftest.in"
 
4647
    cp "conftest.in" "conftest.nl"
 
4648
    echo 'EGREP' >> "conftest.nl"
 
4649
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4650
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4651
    ac_count=`expr $ac_count + 1`
 
4652
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4653
      # Best one so far, save it but keep looking for a better one
 
4654
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4655
      ac_path_EGREP_max=$ac_count
 
4656
    fi
 
4657
    # 10*(2^10) chars as input seems more than enough
 
4658
    test $ac_count -gt 10 && break
 
4659
  done
 
4660
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4661
esac
 
4662
 
 
4663
 
 
4664
    $ac_path_EGREP_found && break 3
 
4665
  done
 
4666
done
 
4667
 
 
4668
done
 
4669
IFS=$as_save_IFS
 
4670
 
 
4671
 
 
4672
fi
 
4673
 
 
4674
EGREP="$ac_cv_path_EGREP"
 
4675
if test -z "$EGREP"; then
 
4676
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4677
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4678
   { (exit 1); exit 1; }; }
 
4679
fi
 
4680
 
 
4681
else
 
4682
  ac_cv_path_EGREP=$EGREP
 
4683
fi
 
4684
 
 
4685
 
 
4686
   fi
 
4687
fi
 
4688
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4689
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4690
 EGREP="$ac_cv_path_EGREP"
 
4691
 
 
4692
 
 
4693
 
 
4694
# Check whether --with-gnu-ld was given.
3890
4695
if test "${with_gnu_ld+set}" = set; then
3891
 
  withval="$with_gnu_ld"
3892
 
  test "$withval" = no || with_gnu_ld=yes
 
4696
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3893
4697
else
3894
4698
  with_gnu_ld=no
3895
 
fi;
 
4699
fi
 
4700
 
3896
4701
ac_prog=ld
3897
4702
if test "$GCC" = yes; then
3898
4703
  # Check if gcc -print-prog-name=ld gives a path.
3899
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3900
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4704
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4705
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3901
4706
  case $host in
3902
4707
  *-*-mingw*)
3903
4708
    # gcc leaves a trailing carriage return which upsets mingw
3926
4731
    ;;
3927
4732
  esac
3928
4733
elif test "$with_gnu_ld" = yes; then
3929
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3930
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4734
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4735
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3931
4736
else
3932
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3933
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4737
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4738
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3934
4739
fi
3935
4740
if test "${lt_cv_path_LD+set}" = set; then
3936
4741
  echo $ECHO_N "(cached) $ECHO_C" >&6
3963
4768
 
3964
4769
LD="$lt_cv_path_LD"
3965
4770
if test -n "$LD"; then
3966
 
  echo "$as_me:$LINENO: result: $LD" >&5
3967
 
echo "${ECHO_T}$LD" >&6
 
4771
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4772
echo "${ECHO_T}$LD" >&6; }
3968
4773
else
3969
 
  echo "$as_me:$LINENO: result: no" >&5
3970
 
echo "${ECHO_T}no" >&6
 
4774
  { echo "$as_me:$LINENO: result: no" >&5
 
4775
echo "${ECHO_T}no" >&6; }
3971
4776
fi
3972
4777
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3973
4778
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3974
4779
   { (exit 1); exit 1; }; }
3975
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3976
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4780
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4781
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3977
4782
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3978
4783
  echo $ECHO_N "(cached) $ECHO_C" >&6
3979
4784
else
3987
4792
  ;;
3988
4793
esac
3989
4794
fi
3990
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3991
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4795
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4796
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3992
4797
with_gnu_ld=$lt_cv_prog_gnu_ld
3993
4798
 
3994
4799
 
3995
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3996
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4800
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4801
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3997
4802
if test "${lt_cv_ld_reload_flag+set}" = set; then
3998
4803
  echo $ECHO_N "(cached) $ECHO_C" >&6
3999
4804
else
4000
4805
  lt_cv_ld_reload_flag='-r'
4001
4806
fi
4002
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4003
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4807
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4808
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4004
4809
reload_flag=$lt_cv_ld_reload_flag
4005
4810
case $reload_flag in
4006
4811
"" | " "*) ;;
4017
4822
    ;;
4018
4823
esac
4019
4824
 
4020
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4021
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4825
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4826
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4022
4827
if test "${lt_cv_path_NM+set}" = set; then
4023
4828
  echo $ECHO_N "(cached) $ECHO_C" >&6
4024
4829
else
4066
4871
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4067
4872
fi
4068
4873
fi
4069
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4070
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4874
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4875
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4071
4876
NM="$lt_cv_path_NM"
4072
4877
 
4073
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4074
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4878
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4879
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4075
4880
LN_S=$as_ln_s
4076
4881
if test "$LN_S" = "ln -s"; then
4077
 
  echo "$as_me:$LINENO: result: yes" >&5
4078
 
echo "${ECHO_T}yes" >&6
 
4882
  { echo "$as_me:$LINENO: result: yes" >&5
 
4883
echo "${ECHO_T}yes" >&6; }
4079
4884
else
4080
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4081
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4885
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4886
echo "${ECHO_T}no, using $LN_S" >&6; }
4082
4887
fi
4083
4888
 
4084
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4085
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4889
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4890
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4086
4891
if test "${lt_cv_deplibs_check_method+set}" = set; then
4087
4892
  echo $ECHO_N "(cached) $ECHO_C" >&6
4088
4893
else
4123
4928
 
4124
4929
mingw* | pw32*)
4125
4930
  # Base MSYS/MinGW do not provide the 'file' command needed by
4126
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4127
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4128
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4931
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4932
  # unless we find 'file', for example because we are cross-compiling.
 
4933
  if ( file / ) >/dev/null 2>&1; then
 
4934
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4935
    lt_cv_file_magic_cmd='func_win32_libid'
 
4936
  else
 
4937
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4938
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4939
  fi
4129
4940
  ;;
4130
4941
 
4131
4942
darwin* | rhapsody*)
4132
4943
  lt_cv_deplibs_check_method=pass_all
4133
4944
  ;;
4134
4945
 
4135
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4946
freebsd* | dragonfly*)
4136
4947
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4137
4948
    case $host_cpu in
4138
4949
    i*86 )
4170
4981
  esac
4171
4982
  ;;
4172
4983
 
4173
 
interix3*)
 
4984
interix[3-9]*)
4174
4985
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4175
4986
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4176
4987
  ;;
4186
4997
  ;;
4187
4998
 
4188
4999
# This must be Linux ELF.
4189
 
linux*)
 
5000
linux* | k*bsd*-gnu)
4190
5001
  lt_cv_deplibs_check_method=pass_all
4191
5002
  ;;
4192
5003
 
4193
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5004
netbsd* | netbsdelf*-gnu)
4194
5005
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4195
5006
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4196
5007
  else
4220
5031
  lt_cv_deplibs_check_method=pass_all
4221
5032
  ;;
4222
5033
 
 
5034
rdos*)
 
5035
  lt_cv_deplibs_check_method=pass_all
 
5036
  ;;
 
5037
 
4223
5038
solaris*)
4224
5039
  lt_cv_deplibs_check_method=pass_all
4225
5040
  ;;
4257
5072
esac
4258
5073
 
4259
5074
fi
4260
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4261
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
5075
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5076
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4262
5077
file_magic_cmd=$lt_cv_file_magic_cmd
4263
5078
deplibs_check_method=$lt_cv_deplibs_check_method
4264
5079
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4276
5091
compiler=$CC
4277
5092
 
4278
5093
 
4279
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
5094
# Check whether --enable-libtool-lock was given.
4280
5095
if test "${enable_libtool_lock+set}" = set; then
4281
 
  enableval="$enable_libtool_lock"
 
5096
  enableval=$enable_libtool_lock;
 
5097
fi
4282
5098
 
4283
 
fi;
4284
5099
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4285
5100
 
4286
5101
# Some flags need to be propagated to the compiler or linker for good
4307
5122
  ;;
4308
5123
*-*-irix6*)
4309
5124
  # Find out which ABI we are using.
4310
 
  echo '#line 4310 "configure"' > conftest.$ac_ext
 
5125
  echo '#line 5125 "configure"' > conftest.$ac_ext
4311
5126
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4312
5127
  (eval $ac_compile) 2>&5
4313
5128
  ac_status=$?
4342
5157
  rm -rf conftest*
4343
5158
  ;;
4344
5159
 
4345
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
5160
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5161
s390*-*linux*|sparc*-*linux*)
4346
5162
  # Find out which ABI we are using.
4347
5163
  echo 'int i;' > conftest.$ac_ext
4348
5164
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4353
5169
    case `/usr/bin/file conftest.o` in
4354
5170
    *32-bit*)
4355
5171
      case $host in
 
5172
        x86_64-*kfreebsd*-gnu)
 
5173
          LD="${LD-ld} -m elf_i386_fbsd"
 
5174
          ;;
4356
5175
        x86_64-*linux*)
4357
5176
          LD="${LD-ld} -m elf_i386"
4358
5177
          ;;
4369
5188
      ;;
4370
5189
    *64-bit*)
4371
5190
      case $host in
 
5191
        x86_64-*kfreebsd*-gnu)
 
5192
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
5193
          ;;
4372
5194
        x86_64-*linux*)
4373
5195
          LD="${LD-ld} -m elf_x86_64"
4374
5196
          ;;
4392
5214
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4393
5215
  SAVE_CFLAGS="$CFLAGS"
4394
5216
  CFLAGS="$CFLAGS -belf"
4395
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4396
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5217
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5218
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4397
5219
if test "${lt_cv_cc_needs_belf+set}" = set; then
4398
5220
  echo $ECHO_N "(cached) $ECHO_C" >&6
4399
5221
else
4419
5241
}
4420
5242
_ACEOF
4421
5243
rm -f conftest.$ac_objext conftest$ac_exeext
4422
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4423
 
  (eval $ac_link) 2>conftest.er1
 
5244
if { (ac_try="$ac_link"
 
5245
case "(($ac_try" in
 
5246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5247
  *) ac_try_echo=$ac_try;;
 
5248
esac
 
5249
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5250
  (eval "$ac_link") 2>conftest.er1
4424
5251
  ac_status=$?
4425
5252
  grep -v '^ *+' conftest.er1 >conftest.err
4426
5253
  rm -f conftest.er1
4427
5254
  cat conftest.err >&5
4428
5255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429
 
  (exit $ac_status); } &&
4430
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432
 
  (eval $ac_try) 2>&5
4433
 
  ac_status=$?
4434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435
 
  (exit $ac_status); }; } &&
4436
 
         { ac_try='test -s conftest$ac_exeext'
4437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438
 
  (eval $ac_try) 2>&5
4439
 
  ac_status=$?
4440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441
 
  (exit $ac_status); }; }; then
 
5256
  (exit $ac_status); } && {
 
5257
         test -z "$ac_c_werror_flag" ||
 
5258
         test ! -s conftest.err
 
5259
       } && test -s conftest$ac_exeext &&
 
5260
       $as_test_x conftest$ac_exeext; then
4442
5261
  lt_cv_cc_needs_belf=yes
4443
5262
else
4444
5263
  echo "$as_me: failed program was:" >&5
4445
5264
sed 's/^/| /' conftest.$ac_ext >&5
4446
5265
 
4447
 
lt_cv_cc_needs_belf=no
 
5266
        lt_cv_cc_needs_belf=no
4448
5267
fi
4449
 
rm -f conftest.err conftest.$ac_objext \
 
5268
 
 
5269
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4450
5270
      conftest$ac_exeext conftest.$ac_ext
4451
5271
     ac_ext=c
4452
5272
ac_cpp='$CPP $CPPFLAGS'
4455
5275
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456
5276
 
4457
5277
fi
4458
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4459
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5278
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5279
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4460
5280
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4461
5281
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4462
5282
    CFLAGS="$SAVE_CFLAGS"
4482
5302
  rm -rf conftest*
4483
5303
  ;;
4484
5304
 
 
5305
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
5306
  if test -n "$ac_tool_prefix"; then
 
5307
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5308
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5309
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5311
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
5312
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5313
else
 
5314
  if test -n "$DLLTOOL"; then
 
5315
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5316
else
 
5317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5318
for as_dir in $PATH
 
5319
do
 
5320
  IFS=$as_save_IFS
 
5321
  test -z "$as_dir" && as_dir=.
 
5322
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5323
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5324
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5325
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5326
    break 2
 
5327
  fi
 
5328
done
 
5329
done
 
5330
IFS=$as_save_IFS
 
5331
 
 
5332
fi
 
5333
fi
 
5334
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5335
if test -n "$DLLTOOL"; then
 
5336
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
5337
echo "${ECHO_T}$DLLTOOL" >&6; }
 
5338
else
 
5339
  { echo "$as_me:$LINENO: result: no" >&5
 
5340
echo "${ECHO_T}no" >&6; }
 
5341
fi
 
5342
 
 
5343
 
 
5344
fi
 
5345
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5346
  ac_ct_DLLTOOL=$DLLTOOL
 
5347
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5348
set dummy dlltool; ac_word=$2
 
5349
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5351
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
5352
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5353
else
 
5354
  if test -n "$ac_ct_DLLTOOL"; then
 
5355
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5356
else
 
5357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5358
for as_dir in $PATH
 
5359
do
 
5360
  IFS=$as_save_IFS
 
5361
  test -z "$as_dir" && as_dir=.
 
5362
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5364
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5365
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5366
    break 2
 
5367
  fi
 
5368
done
 
5369
done
 
5370
IFS=$as_save_IFS
 
5371
 
 
5372
fi
 
5373
fi
 
5374
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5375
if test -n "$ac_ct_DLLTOOL"; then
 
5376
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
5377
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
 
5378
else
 
5379
  { echo "$as_me:$LINENO: result: no" >&5
 
5380
echo "${ECHO_T}no" >&6; }
 
5381
fi
 
5382
 
 
5383
  if test "x$ac_ct_DLLTOOL" = x; then
 
5384
    DLLTOOL="false"
 
5385
  else
 
5386
    case $cross_compiling:$ac_tool_warned in
 
5387
yes:)
 
5388
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5389
whose name does not start with the host triplet.  If you think this
 
5390
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5391
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5392
whose name does not start with the host triplet.  If you think this
 
5393
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5394
ac_tool_warned=yes ;;
 
5395
esac
 
5396
    DLLTOOL=$ac_ct_DLLTOOL
 
5397
  fi
 
5398
else
 
5399
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5400
fi
 
5401
 
 
5402
  if test -n "$ac_tool_prefix"; then
 
5403
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
5404
set dummy ${ac_tool_prefix}as; ac_word=$2
 
5405
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5406
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5407
if test "${ac_cv_prog_AS+set}" = set; then
 
5408
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5409
else
 
5410
  if test -n "$AS"; then
 
5411
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
5412
else
 
5413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5414
for as_dir in $PATH
 
5415
do
 
5416
  IFS=$as_save_IFS
 
5417
  test -z "$as_dir" && as_dir=.
 
5418
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5420
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
5421
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5422
    break 2
 
5423
  fi
 
5424
done
 
5425
done
 
5426
IFS=$as_save_IFS
 
5427
 
 
5428
fi
 
5429
fi
 
5430
AS=$ac_cv_prog_AS
 
5431
if test -n "$AS"; then
 
5432
  { echo "$as_me:$LINENO: result: $AS" >&5
 
5433
echo "${ECHO_T}$AS" >&6; }
 
5434
else
 
5435
  { echo "$as_me:$LINENO: result: no" >&5
 
5436
echo "${ECHO_T}no" >&6; }
 
5437
fi
 
5438
 
 
5439
 
 
5440
fi
 
5441
if test -z "$ac_cv_prog_AS"; then
 
5442
  ac_ct_AS=$AS
 
5443
  # Extract the first word of "as", so it can be a program name with args.
 
5444
set dummy as; ac_word=$2
 
5445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5447
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
5448
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5449
else
 
5450
  if test -n "$ac_ct_AS"; then
 
5451
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
5452
else
 
5453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5454
for as_dir in $PATH
 
5455
do
 
5456
  IFS=$as_save_IFS
 
5457
  test -z "$as_dir" && as_dir=.
 
5458
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5460
    ac_cv_prog_ac_ct_AS="as"
 
5461
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5462
    break 2
 
5463
  fi
 
5464
done
 
5465
done
 
5466
IFS=$as_save_IFS
 
5467
 
 
5468
fi
 
5469
fi
 
5470
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
5471
if test -n "$ac_ct_AS"; then
 
5472
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
5473
echo "${ECHO_T}$ac_ct_AS" >&6; }
 
5474
else
 
5475
  { echo "$as_me:$LINENO: result: no" >&5
 
5476
echo "${ECHO_T}no" >&6; }
 
5477
fi
 
5478
 
 
5479
  if test "x$ac_ct_AS" = x; then
 
5480
    AS="false"
 
5481
  else
 
5482
    case $cross_compiling:$ac_tool_warned in
 
5483
yes:)
 
5484
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5485
whose name does not start with the host triplet.  If you think this
 
5486
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5487
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5488
whose name does not start with the host triplet.  If you think this
 
5489
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5490
ac_tool_warned=yes ;;
 
5491
esac
 
5492
    AS=$ac_ct_AS
 
5493
  fi
 
5494
else
 
5495
  AS="$ac_cv_prog_AS"
 
5496
fi
 
5497
 
 
5498
  if test -n "$ac_tool_prefix"; then
 
5499
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5500
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5501
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5502
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5503
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5504
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5505
else
 
5506
  if test -n "$OBJDUMP"; then
 
5507
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5508
else
 
5509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5510
for as_dir in $PATH
 
5511
do
 
5512
  IFS=$as_save_IFS
 
5513
  test -z "$as_dir" && as_dir=.
 
5514
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5515
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5516
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5517
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5518
    break 2
 
5519
  fi
 
5520
done
 
5521
done
 
5522
IFS=$as_save_IFS
 
5523
 
 
5524
fi
 
5525
fi
 
5526
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5527
if test -n "$OBJDUMP"; then
 
5528
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5529
echo "${ECHO_T}$OBJDUMP" >&6; }
 
5530
else
 
5531
  { echo "$as_me:$LINENO: result: no" >&5
 
5532
echo "${ECHO_T}no" >&6; }
 
5533
fi
 
5534
 
 
5535
 
 
5536
fi
 
5537
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5538
  ac_ct_OBJDUMP=$OBJDUMP
 
5539
  # Extract the first word of "objdump", so it can be a program name with args.
 
5540
set dummy objdump; ac_word=$2
 
5541
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5543
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5544
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5545
else
 
5546
  if test -n "$ac_ct_OBJDUMP"; then
 
5547
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5548
else
 
5549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5550
for as_dir in $PATH
 
5551
do
 
5552
  IFS=$as_save_IFS
 
5553
  test -z "$as_dir" && as_dir=.
 
5554
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5555
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5556
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5557
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5558
    break 2
 
5559
  fi
 
5560
done
 
5561
done
 
5562
IFS=$as_save_IFS
 
5563
 
 
5564
fi
 
5565
fi
 
5566
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5567
if test -n "$ac_ct_OBJDUMP"; then
 
5568
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5569
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
 
5570
else
 
5571
  { echo "$as_me:$LINENO: result: no" >&5
 
5572
echo "${ECHO_T}no" >&6; }
 
5573
fi
 
5574
 
 
5575
  if test "x$ac_ct_OBJDUMP" = x; then
 
5576
    OBJDUMP="false"
 
5577
  else
 
5578
    case $cross_compiling:$ac_tool_warned in
 
5579
yes:)
 
5580
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5581
whose name does not start with the host triplet.  If you think this
 
5582
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5583
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5584
whose name does not start with the host triplet.  If you think this
 
5585
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5586
ac_tool_warned=yes ;;
 
5587
esac
 
5588
    OBJDUMP=$ac_ct_OBJDUMP
 
5589
  fi
 
5590
else
 
5591
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5592
fi
 
5593
 
 
5594
  ;;
4485
5595
 
4486
5596
esac
4487
5597
 
4493
5603
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494
5604
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495
5605
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4496
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4497
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5606
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5607
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4498
5608
# On Suns, sometimes $CPP names a directory.
4499
5609
if test -n "$CPP" && test -d "$CPP"; then
4500
5610
  CPP=
4528
5638
#endif
4529
5639
                     Syntax error
4530
5640
_ACEOF
4531
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4532
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5641
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5642
case "(($ac_try" in
 
5643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5644
  *) ac_try_echo=$ac_try;;
 
5645
esac
 
5646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5647
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4533
5648
  ac_status=$?
4534
5649
  grep -v '^ *+' conftest.er1 >conftest.err
4535
5650
  rm -f conftest.er1
4536
5651
  cat conftest.err >&5
4537
5652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
 
  (exit $ac_status); } >/dev/null; then
4539
 
  if test -s conftest.err; then
4540
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4541
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4542
 
  else
4543
 
    ac_cpp_err=
4544
 
  fi
4545
 
else
4546
 
  ac_cpp_err=yes
4547
 
fi
4548
 
if test -z "$ac_cpp_err"; then
 
5653
  (exit $ac_status); } >/dev/null && {
 
5654
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5655
         test ! -s conftest.err
 
5656
       }; then
4549
5657
  :
4550
5658
else
4551
5659
  echo "$as_me: failed program was:" >&5
4554
5662
  # Broken: fails on valid input.
4555
5663
continue
4556
5664
fi
 
5665
 
4557
5666
rm -f conftest.err conftest.$ac_ext
4558
5667
 
4559
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5668
  # OK, works on sane cases.  Now check whether nonexistent headers
4560
5669
  # can be detected and how.
4561
5670
  cat >conftest.$ac_ext <<_ACEOF
4562
5671
/* confdefs.h.  */
4566
5675
/* end confdefs.h.  */
4567
5676
#include <ac_nonexistent.h>
4568
5677
_ACEOF
4569
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4570
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5678
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5679
case "(($ac_try" in
 
5680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5681
  *) ac_try_echo=$ac_try;;
 
5682
esac
 
5683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5684
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4571
5685
  ac_status=$?
4572
5686
  grep -v '^ *+' conftest.er1 >conftest.err
4573
5687
  rm -f conftest.er1
4574
5688
  cat conftest.err >&5
4575
5689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576
 
  (exit $ac_status); } >/dev/null; then
4577
 
  if test -s conftest.err; then
4578
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4579
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4580
 
  else
4581
 
    ac_cpp_err=
4582
 
  fi
4583
 
else
4584
 
  ac_cpp_err=yes
4585
 
fi
4586
 
if test -z "$ac_cpp_err"; then
 
5690
  (exit $ac_status); } >/dev/null && {
 
5691
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5692
         test ! -s conftest.err
 
5693
       }; then
4587
5694
  # Broken: success on invalid input.
4588
5695
continue
4589
5696
else
4594
5701
ac_preproc_ok=:
4595
5702
break
4596
5703
fi
 
5704
 
4597
5705
rm -f conftest.err conftest.$ac_ext
4598
5706
 
4599
5707
done
4611
5719
else
4612
5720
  ac_cv_prog_CPP=$CPP
4613
5721
fi
4614
 
echo "$as_me:$LINENO: result: $CPP" >&5
4615
 
echo "${ECHO_T}$CPP" >&6
 
5722
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5723
echo "${ECHO_T}$CPP" >&6; }
4616
5724
ac_preproc_ok=false
4617
5725
for ac_c_preproc_warn_flag in '' yes
4618
5726
do
4635
5743
#endif
4636
5744
                     Syntax error
4637
5745
_ACEOF
4638
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4639
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5746
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5747
case "(($ac_try" in
 
5748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5749
  *) ac_try_echo=$ac_try;;
 
5750
esac
 
5751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5752
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4640
5753
  ac_status=$?
4641
5754
  grep -v '^ *+' conftest.er1 >conftest.err
4642
5755
  rm -f conftest.er1
4643
5756
  cat conftest.err >&5
4644
5757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645
 
  (exit $ac_status); } >/dev/null; then
4646
 
  if test -s conftest.err; then
4647
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4648
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4649
 
  else
4650
 
    ac_cpp_err=
4651
 
  fi
4652
 
else
4653
 
  ac_cpp_err=yes
4654
 
fi
4655
 
if test -z "$ac_cpp_err"; then
 
5758
  (exit $ac_status); } >/dev/null && {
 
5759
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5760
         test ! -s conftest.err
 
5761
       }; then
4656
5762
  :
4657
5763
else
4658
5764
  echo "$as_me: failed program was:" >&5
4661
5767
  # Broken: fails on valid input.
4662
5768
continue
4663
5769
fi
 
5770
 
4664
5771
rm -f conftest.err conftest.$ac_ext
4665
5772
 
4666
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5773
  # OK, works on sane cases.  Now check whether nonexistent headers
4667
5774
  # can be detected and how.
4668
5775
  cat >conftest.$ac_ext <<_ACEOF
4669
5776
/* confdefs.h.  */
4673
5780
/* end confdefs.h.  */
4674
5781
#include <ac_nonexistent.h>
4675
5782
_ACEOF
4676
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4677
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5783
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5784
case "(($ac_try" in
 
5785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5786
  *) ac_try_echo=$ac_try;;
 
5787
esac
 
5788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5789
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4678
5790
  ac_status=$?
4679
5791
  grep -v '^ *+' conftest.er1 >conftest.err
4680
5792
  rm -f conftest.er1
4681
5793
  cat conftest.err >&5
4682
5794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
 
  (exit $ac_status); } >/dev/null; then
4684
 
  if test -s conftest.err; then
4685
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4686
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4687
 
  else
4688
 
    ac_cpp_err=
4689
 
  fi
4690
 
else
4691
 
  ac_cpp_err=yes
4692
 
fi
4693
 
if test -z "$ac_cpp_err"; then
 
5795
  (exit $ac_status); } >/dev/null && {
 
5796
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5797
         test ! -s conftest.err
 
5798
       }; then
4694
5799
  # Broken: success on invalid input.
4695
5800
continue
4696
5801
else
4701
5806
ac_preproc_ok=:
4702
5807
break
4703
5808
fi
 
5809
 
4704
5810
rm -f conftest.err conftest.$ac_ext
4705
5811
 
4706
5812
done
4723
5829
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4724
5830
 
4725
5831
 
4726
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4727
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5832
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5833
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4728
5834
if test "${ac_cv_header_stdc+set}" = set; then
4729
5835
  echo $ECHO_N "(cached) $ECHO_C" >&6
4730
5836
else
4748
5854
}
4749
5855
_ACEOF
4750
5856
rm -f conftest.$ac_objext
4751
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4752
 
  (eval $ac_compile) 2>conftest.er1
 
5857
if { (ac_try="$ac_compile"
 
5858
case "(($ac_try" in
 
5859
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5860
  *) ac_try_echo=$ac_try;;
 
5861
esac
 
5862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5863
  (eval "$ac_compile") 2>conftest.er1
4753
5864
  ac_status=$?
4754
5865
  grep -v '^ *+' conftest.er1 >conftest.err
4755
5866
  rm -f conftest.er1
4756
5867
  cat conftest.err >&5
4757
5868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
 
  (exit $ac_status); } &&
4759
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761
 
  (eval $ac_try) 2>&5
4762
 
  ac_status=$?
4763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764
 
  (exit $ac_status); }; } &&
4765
 
         { ac_try='test -s conftest.$ac_objext'
4766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767
 
  (eval $ac_try) 2>&5
4768
 
  ac_status=$?
4769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
 
  (exit $ac_status); }; }; then
 
5869
  (exit $ac_status); } && {
 
5870
         test -z "$ac_c_werror_flag" ||
 
5871
         test ! -s conftest.err
 
5872
       } && test -s conftest.$ac_objext; then
4771
5873
  ac_cv_header_stdc=yes
4772
5874
else
4773
5875
  echo "$as_me: failed program was:" >&5
4774
5876
sed 's/^/| /' conftest.$ac_ext >&5
4775
5877
 
4776
 
ac_cv_header_stdc=no
 
5878
        ac_cv_header_stdc=no
4777
5879
fi
4778
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5880
 
 
5881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779
5882
 
4780
5883
if test $ac_cv_header_stdc = yes; then
4781
5884
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4831
5934
cat >>conftest.$ac_ext <<_ACEOF
4832
5935
/* end confdefs.h.  */
4833
5936
#include <ctype.h>
 
5937
#include <stdlib.h>
4834
5938
#if ((' ' & 0x0FF) == 0x020)
4835
5939
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4836
5940
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4850
5954
  for (i = 0; i < 256; i++)
4851
5955
    if (XOR (islower (i), ISLOWER (i))
4852
5956
        || toupper (i) != TOUPPER (i))
4853
 
      exit(2);
4854
 
  exit (0);
 
5957
      return 2;
 
5958
  return 0;
4855
5959
}
4856
5960
_ACEOF
4857
5961
rm -f conftest$ac_exeext
4858
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4859
 
  (eval $ac_link) 2>&5
 
5962
if { (ac_try="$ac_link"
 
5963
case "(($ac_try" in
 
5964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5965
  *) ac_try_echo=$ac_try;;
 
5966
esac
 
5967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5968
  (eval "$ac_link") 2>&5
4860
5969
  ac_status=$?
4861
5970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862
5971
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4863
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864
 
  (eval $ac_try) 2>&5
 
5972
  { (case "(($ac_try" in
 
5973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5974
  *) ac_try_echo=$ac_try;;
 
5975
esac
 
5976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5977
  (eval "$ac_try") 2>&5
4865
5978
  ac_status=$?
4866
5979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867
5980
  (exit $ac_status); }; }; then
4874
5987
( exit $ac_status )
4875
5988
ac_cv_header_stdc=no
4876
5989
fi
4877
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4878
 
fi
4879
 
fi
4880
 
fi
4881
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4882
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5990
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5991
fi
 
5992
 
 
5993
 
 
5994
fi
 
5995
fi
 
5996
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5997
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4883
5998
if test $ac_cv_header_stdc = yes; then
4884
5999
 
4885
6000
cat >>confdefs.h <<\_ACEOF
4902
6017
                  inttypes.h stdint.h unistd.h
4903
6018
do
4904
6019
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4905
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4906
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4907
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6020
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6021
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6022
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4908
6023
  echo $ECHO_N "(cached) $ECHO_C" >&6
4909
6024
else
4910
6025
  cat >conftest.$ac_ext <<_ACEOF
4918
6033
#include <$ac_header>
4919
6034
_ACEOF
4920
6035
rm -f conftest.$ac_objext
4921
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4922
 
  (eval $ac_compile) 2>conftest.er1
 
6036
if { (ac_try="$ac_compile"
 
6037
case "(($ac_try" in
 
6038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6039
  *) ac_try_echo=$ac_try;;
 
6040
esac
 
6041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6042
  (eval "$ac_compile") 2>conftest.er1
4923
6043
  ac_status=$?
4924
6044
  grep -v '^ *+' conftest.er1 >conftest.err
4925
6045
  rm -f conftest.er1
4926
6046
  cat conftest.err >&5
4927
6047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928
 
  (exit $ac_status); } &&
4929
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931
 
  (eval $ac_try) 2>&5
4932
 
  ac_status=$?
4933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
 
  (exit $ac_status); }; } &&
4935
 
         { ac_try='test -s conftest.$ac_objext'
4936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937
 
  (eval $ac_try) 2>&5
4938
 
  ac_status=$?
4939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940
 
  (exit $ac_status); }; }; then
 
6048
  (exit $ac_status); } && {
 
6049
         test -z "$ac_c_werror_flag" ||
 
6050
         test ! -s conftest.err
 
6051
       } && test -s conftest.$ac_objext; then
4941
6052
  eval "$as_ac_Header=yes"
4942
6053
else
4943
6054
  echo "$as_me: failed program was:" >&5
4944
6055
sed 's/^/| /' conftest.$ac_ext >&5
4945
6056
 
4946
 
eval "$as_ac_Header=no"
4947
 
fi
4948
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4949
 
fi
4950
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4951
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6057
        eval "$as_ac_Header=no"
 
6058
fi
 
6059
 
 
6060
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6061
fi
 
6062
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6063
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6064
echo "${ECHO_T}$ac_res" >&6; }
4952
6065
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4953
6066
  cat >>confdefs.h <<_ACEOF
4954
6067
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4963
6076
for ac_header in dlfcn.h
4964
6077
do
4965
6078
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4966
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4967
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4968
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4969
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6079
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6080
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6081
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6082
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4970
6083
  echo $ECHO_N "(cached) $ECHO_C" >&6
4971
6084
fi
4972
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4973
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6085
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6086
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6087
echo "${ECHO_T}$ac_res" >&6; }
4974
6088
else
4975
6089
  # Is the header compilable?
4976
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4977
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
6090
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6091
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4978
6092
cat >conftest.$ac_ext <<_ACEOF
4979
6093
/* confdefs.h.  */
4980
6094
_ACEOF
4985
6099
#include <$ac_header>
4986
6100
_ACEOF
4987
6101
rm -f conftest.$ac_objext
4988
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4989
 
  (eval $ac_compile) 2>conftest.er1
 
6102
if { (ac_try="$ac_compile"
 
6103
case "(($ac_try" in
 
6104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6105
  *) ac_try_echo=$ac_try;;
 
6106
esac
 
6107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6108
  (eval "$ac_compile") 2>conftest.er1
4990
6109
  ac_status=$?
4991
6110
  grep -v '^ *+' conftest.er1 >conftest.err
4992
6111
  rm -f conftest.er1
4993
6112
  cat conftest.err >&5
4994
6113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995
 
  (exit $ac_status); } &&
4996
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4997
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998
 
  (eval $ac_try) 2>&5
4999
 
  ac_status=$?
5000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001
 
  (exit $ac_status); }; } &&
5002
 
         { ac_try='test -s conftest.$ac_objext'
5003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004
 
  (eval $ac_try) 2>&5
5005
 
  ac_status=$?
5006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007
 
  (exit $ac_status); }; }; then
 
6114
  (exit $ac_status); } && {
 
6115
         test -z "$ac_c_werror_flag" ||
 
6116
         test ! -s conftest.err
 
6117
       } && test -s conftest.$ac_objext; then
5008
6118
  ac_header_compiler=yes
5009
6119
else
5010
6120
  echo "$as_me: failed program was:" >&5
5011
6121
sed 's/^/| /' conftest.$ac_ext >&5
5012
6122
 
5013
 
ac_header_compiler=no
 
6123
        ac_header_compiler=no
5014
6124
fi
5015
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5016
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5017
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6125
 
 
6126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6127
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6128
echo "${ECHO_T}$ac_header_compiler" >&6; }
5018
6129
 
5019
6130
# Is the header present?
5020
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5021
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
6131
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6132
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5022
6133
cat >conftest.$ac_ext <<_ACEOF
5023
6134
/* confdefs.h.  */
5024
6135
_ACEOF
5027
6138
/* end confdefs.h.  */
5028
6139
#include <$ac_header>
5029
6140
_ACEOF
5030
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5031
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6141
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6142
case "(($ac_try" in
 
6143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6144
  *) ac_try_echo=$ac_try;;
 
6145
esac
 
6146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6147
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5032
6148
  ac_status=$?
5033
6149
  grep -v '^ *+' conftest.er1 >conftest.err
5034
6150
  rm -f conftest.er1
5035
6151
  cat conftest.err >&5
5036
6152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037
 
  (exit $ac_status); } >/dev/null; then
5038
 
  if test -s conftest.err; then
5039
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5040
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5041
 
  else
5042
 
    ac_cpp_err=
5043
 
  fi
5044
 
else
5045
 
  ac_cpp_err=yes
5046
 
fi
5047
 
if test -z "$ac_cpp_err"; then
 
6153
  (exit $ac_status); } >/dev/null && {
 
6154
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6155
         test ! -s conftest.err
 
6156
       }; then
5048
6157
  ac_header_preproc=yes
5049
6158
else
5050
6159
  echo "$as_me: failed program was:" >&5
5052
6161
 
5053
6162
  ac_header_preproc=no
5054
6163
fi
 
6164
 
5055
6165
rm -f conftest.err conftest.$ac_ext
5056
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5057
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6166
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6167
echo "${ECHO_T}$ac_header_preproc" >&6; }
5058
6168
 
5059
6169
# So?  What about this header?
5060
6170
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5078
6188
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5079
6189
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5080
6190
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5081
 
    (
5082
 
      cat <<\_ASBOX
5083
 
## ------------------------------------------ ##
5084
 
## Report this to the AC_PACKAGE_NAME lists.  ##
5085
 
## ------------------------------------------ ##
5086
 
_ASBOX
5087
 
    ) |
5088
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6191
 
5089
6192
    ;;
5090
6193
esac
5091
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5092
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5093
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6194
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6195
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6196
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5094
6197
  echo $ECHO_N "(cached) $ECHO_C" >&6
5095
6198
else
5096
6199
  eval "$as_ac_Header=\$ac_header_preproc"
5097
6200
fi
5098
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5099
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6201
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6202
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6203
echo "${ECHO_T}$ac_res" >&6; }
5100
6204
 
5101
6205
fi
5102
6206
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5113
6217
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5114
6218
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5115
6219
    (test "X$CXX" != "Xg++"))) ; then
5116
 
  ac_ext=cc
 
6220
  ac_ext=cpp
5117
6221
ac_cpp='$CXXCPP $CPPFLAGS'
5118
6222
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119
6223
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120
6224
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5121
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5122
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6225
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6226
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5123
6227
if test -z "$CXXCPP"; then
5124
6228
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5125
6229
  echo $ECHO_N "(cached) $ECHO_C" >&6
5149
6253
#endif
5150
6254
                     Syntax error
5151
6255
_ACEOF
5152
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5153
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6256
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6257
case "(($ac_try" in
 
6258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6259
  *) ac_try_echo=$ac_try;;
 
6260
esac
 
6261
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6262
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5154
6263
  ac_status=$?
5155
6264
  grep -v '^ *+' conftest.er1 >conftest.err
5156
6265
  rm -f conftest.er1
5157
6266
  cat conftest.err >&5
5158
6267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159
 
  (exit $ac_status); } >/dev/null; then
5160
 
  if test -s conftest.err; then
5161
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5162
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5163
 
  else
5164
 
    ac_cpp_err=
5165
 
  fi
5166
 
else
5167
 
  ac_cpp_err=yes
5168
 
fi
5169
 
if test -z "$ac_cpp_err"; then
 
6268
  (exit $ac_status); } >/dev/null && {
 
6269
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6270
         test ! -s conftest.err
 
6271
       }; then
5170
6272
  :
5171
6273
else
5172
6274
  echo "$as_me: failed program was:" >&5
5175
6277
  # Broken: fails on valid input.
5176
6278
continue
5177
6279
fi
 
6280
 
5178
6281
rm -f conftest.err conftest.$ac_ext
5179
6282
 
5180
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6283
  # OK, works on sane cases.  Now check whether nonexistent headers
5181
6284
  # can be detected and how.
5182
6285
  cat >conftest.$ac_ext <<_ACEOF
5183
6286
/* confdefs.h.  */
5187
6290
/* end confdefs.h.  */
5188
6291
#include <ac_nonexistent.h>
5189
6292
_ACEOF
5190
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5191
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6293
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6294
case "(($ac_try" in
 
6295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6296
  *) ac_try_echo=$ac_try;;
 
6297
esac
 
6298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6299
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192
6300
  ac_status=$?
5193
6301
  grep -v '^ *+' conftest.er1 >conftest.err
5194
6302
  rm -f conftest.er1
5195
6303
  cat conftest.err >&5
5196
6304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197
 
  (exit $ac_status); } >/dev/null; then
5198
 
  if test -s conftest.err; then
5199
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5200
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5201
 
  else
5202
 
    ac_cpp_err=
5203
 
  fi
5204
 
else
5205
 
  ac_cpp_err=yes
5206
 
fi
5207
 
if test -z "$ac_cpp_err"; then
 
6305
  (exit $ac_status); } >/dev/null && {
 
6306
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6307
         test ! -s conftest.err
 
6308
       }; then
5208
6309
  # Broken: success on invalid input.
5209
6310
continue
5210
6311
else
5215
6316
ac_preproc_ok=:
5216
6317
break
5217
6318
fi
 
6319
 
5218
6320
rm -f conftest.err conftest.$ac_ext
5219
6321
 
5220
6322
done
5232
6334
else
5233
6335
  ac_cv_prog_CXXCPP=$CXXCPP
5234
6336
fi
5235
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5236
 
echo "${ECHO_T}$CXXCPP" >&6
 
6337
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6338
echo "${ECHO_T}$CXXCPP" >&6; }
5237
6339
ac_preproc_ok=false
5238
6340
for ac_cxx_preproc_warn_flag in '' yes
5239
6341
do
5256
6358
#endif
5257
6359
                     Syntax error
5258
6360
_ACEOF
5259
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5260
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6361
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6362
case "(($ac_try" in
 
6363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6364
  *) ac_try_echo=$ac_try;;
 
6365
esac
 
6366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6367
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5261
6368
  ac_status=$?
5262
6369
  grep -v '^ *+' conftest.er1 >conftest.err
5263
6370
  rm -f conftest.er1
5264
6371
  cat conftest.err >&5
5265
6372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266
 
  (exit $ac_status); } >/dev/null; then
5267
 
  if test -s conftest.err; then
5268
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5269
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5270
 
  else
5271
 
    ac_cpp_err=
5272
 
  fi
5273
 
else
5274
 
  ac_cpp_err=yes
5275
 
fi
5276
 
if test -z "$ac_cpp_err"; then
 
6373
  (exit $ac_status); } >/dev/null && {
 
6374
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6375
         test ! -s conftest.err
 
6376
       }; then
5277
6377
  :
5278
6378
else
5279
6379
  echo "$as_me: failed program was:" >&5
5282
6382
  # Broken: fails on valid input.
5283
6383
continue
5284
6384
fi
 
6385
 
5285
6386
rm -f conftest.err conftest.$ac_ext
5286
6387
 
5287
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6388
  # OK, works on sane cases.  Now check whether nonexistent headers
5288
6389
  # can be detected and how.
5289
6390
  cat >conftest.$ac_ext <<_ACEOF
5290
6391
/* confdefs.h.  */
5294
6395
/* end confdefs.h.  */
5295
6396
#include <ac_nonexistent.h>
5296
6397
_ACEOF
5297
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5298
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6398
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6399
case "(($ac_try" in
 
6400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6401
  *) ac_try_echo=$ac_try;;
 
6402
esac
 
6403
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6404
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5299
6405
  ac_status=$?
5300
6406
  grep -v '^ *+' conftest.er1 >conftest.err
5301
6407
  rm -f conftest.er1
5302
6408
  cat conftest.err >&5
5303
6409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
 
  (exit $ac_status); } >/dev/null; then
5305
 
  if test -s conftest.err; then
5306
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5307
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5308
 
  else
5309
 
    ac_cpp_err=
5310
 
  fi
5311
 
else
5312
 
  ac_cpp_err=yes
5313
 
fi
5314
 
if test -z "$ac_cpp_err"; then
 
6410
  (exit $ac_status); } >/dev/null && {
 
6411
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6412
         test ! -s conftest.err
 
6413
       }; then
5315
6414
  # Broken: success on invalid input.
5316
6415
continue
5317
6416
else
5322
6421
ac_preproc_ok=:
5323
6422
break
5324
6423
fi
 
6424
 
5325
6425
rm -f conftest.err conftest.$ac_ext
5326
6426
 
5327
6427
done
5337
6437
   { (exit 1); exit 1; }; }
5338
6438
fi
5339
6439
 
5340
 
ac_ext=cc
 
6440
ac_ext=cpp
5341
6441
ac_cpp='$CXXCPP $CPPFLAGS'
5342
6442
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5343
6443
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5351
6451
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5352
6452
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5353
6453
if test -n "$ac_tool_prefix"; then
5354
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6454
  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
5355
6455
  do
5356
6456
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5357
6457
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5358
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5359
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6458
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6459
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360
6460
if test "${ac_cv_prog_F77+set}" = set; then
5361
6461
  echo $ECHO_N "(cached) $ECHO_C" >&6
5362
6462
else
5369
6469
  IFS=$as_save_IFS
5370
6470
  test -z "$as_dir" && as_dir=.
5371
6471
  for ac_exec_ext in '' $ac_executable_extensions; do
5372
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6472
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373
6473
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5374
6474
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375
6475
    break 2
5376
6476
  fi
5377
6477
done
5378
6478
done
 
6479
IFS=$as_save_IFS
5379
6480
 
5380
6481
fi
5381
6482
fi
5382
6483
F77=$ac_cv_prog_F77
5383
6484
if test -n "$F77"; then
5384
 
  echo "$as_me:$LINENO: result: $F77" >&5
5385
 
echo "${ECHO_T}$F77" >&6
 
6485
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6486
echo "${ECHO_T}$F77" >&6; }
5386
6487
else
5387
 
  echo "$as_me:$LINENO: result: no" >&5
5388
 
echo "${ECHO_T}no" >&6
 
6488
  { echo "$as_me:$LINENO: result: no" >&5
 
6489
echo "${ECHO_T}no" >&6; }
5389
6490
fi
5390
6491
 
 
6492
 
5391
6493
    test -n "$F77" && break
5392
6494
  done
5393
6495
fi
5394
6496
if test -z "$F77"; then
5395
6497
  ac_ct_F77=$F77
5396
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6498
  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
5397
6499
do
5398
6500
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5399
6501
set dummy $ac_prog; ac_word=$2
5400
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5401
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6502
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6503
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5402
6504
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5403
6505
  echo $ECHO_N "(cached) $ECHO_C" >&6
5404
6506
else
5411
6513
  IFS=$as_save_IFS
5412
6514
  test -z "$as_dir" && as_dir=.
5413
6515
  for ac_exec_ext in '' $ac_executable_extensions; do
5414
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6516
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5415
6517
    ac_cv_prog_ac_ct_F77="$ac_prog"
5416
6518
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5417
6519
    break 2
5418
6520
  fi
5419
6521
done
5420
6522
done
 
6523
IFS=$as_save_IFS
5421
6524
 
5422
6525
fi
5423
6526
fi
5424
6527
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5425
6528
if test -n "$ac_ct_F77"; then
5426
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5427
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6529
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6530
echo "${ECHO_T}$ac_ct_F77" >&6; }
5428
6531
else
5429
 
  echo "$as_me:$LINENO: result: no" >&5
5430
 
echo "${ECHO_T}no" >&6
 
6532
  { echo "$as_me:$LINENO: result: no" >&5
 
6533
echo "${ECHO_T}no" >&6; }
5431
6534
fi
5432
6535
 
 
6536
 
5433
6537
  test -n "$ac_ct_F77" && break
5434
6538
done
5435
6539
 
5436
 
  F77=$ac_ct_F77
 
6540
  if test "x$ac_ct_F77" = x; then
 
6541
    F77=""
 
6542
  else
 
6543
    case $cross_compiling:$ac_tool_warned in
 
6544
yes:)
 
6545
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6546
whose name does not start with the host triplet.  If you think this
 
6547
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6548
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6549
whose name does not start with the host triplet.  If you think this
 
6550
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6551
ac_tool_warned=yes ;;
 
6552
esac
 
6553
    F77=$ac_ct_F77
 
6554
  fi
5437
6555
fi
5438
6556
 
5439
6557
 
5440
6558
# Provide some information about the compiler.
5441
 
echo "$as_me:5441:" \
5442
 
     "checking for Fortran 77 compiler version" >&5
 
6559
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5443
6560
ac_compiler=`set X $ac_compile; echo $2`
5444
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5445
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5446
 
  ac_status=$?
5447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
 
  (exit $ac_status); }
5449
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5450
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5451
 
  ac_status=$?
5452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453
 
  (exit $ac_status); }
5454
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5455
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6561
{ (ac_try="$ac_compiler --version >&5"
 
6562
case "(($ac_try" in
 
6563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6564
  *) ac_try_echo=$ac_try;;
 
6565
esac
 
6566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6567
  (eval "$ac_compiler --version >&5") 2>&5
 
6568
  ac_status=$?
 
6569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6570
  (exit $ac_status); }
 
6571
{ (ac_try="$ac_compiler -v >&5"
 
6572
case "(($ac_try" in
 
6573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6574
  *) ac_try_echo=$ac_try;;
 
6575
esac
 
6576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6577
  (eval "$ac_compiler -v >&5") 2>&5
 
6578
  ac_status=$?
 
6579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6580
  (exit $ac_status); }
 
6581
{ (ac_try="$ac_compiler -V >&5"
 
6582
case "(($ac_try" in
 
6583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6584
  *) ac_try_echo=$ac_try;;
 
6585
esac
 
6586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6587
  (eval "$ac_compiler -V >&5") 2>&5
5456
6588
  ac_status=$?
5457
6589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458
6590
  (exit $ac_status); }
5462
6594
# input file.  (Note that this only needs to work for GNU compilers.)
5463
6595
ac_save_ext=$ac_ext
5464
6596
ac_ext=F
5465
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5466
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6597
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6598
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5467
6599
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5468
6600
  echo $ECHO_N "(cached) $ECHO_C" >&6
5469
6601
else
5476
6608
      end
5477
6609
_ACEOF
5478
6610
rm -f conftest.$ac_objext
5479
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5480
 
  (eval $ac_compile) 2>conftest.er1
 
6611
if { (ac_try="$ac_compile"
 
6612
case "(($ac_try" in
 
6613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6614
  *) ac_try_echo=$ac_try;;
 
6615
esac
 
6616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6617
  (eval "$ac_compile") 2>conftest.er1
5481
6618
  ac_status=$?
5482
6619
  grep -v '^ *+' conftest.er1 >conftest.err
5483
6620
  rm -f conftest.er1
5484
6621
  cat conftest.err >&5
5485
6622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
 
  (exit $ac_status); } &&
5487
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489
 
  (eval $ac_try) 2>&5
5490
 
  ac_status=$?
5491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492
 
  (exit $ac_status); }; } &&
5493
 
         { ac_try='test -s conftest.$ac_objext'
5494
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495
 
  (eval $ac_try) 2>&5
5496
 
  ac_status=$?
5497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498
 
  (exit $ac_status); }; }; then
 
6623
  (exit $ac_status); } && {
 
6624
         test -z "$ac_f77_werror_flag" ||
 
6625
         test ! -s conftest.err
 
6626
       } && test -s conftest.$ac_objext; then
5499
6627
  ac_compiler_gnu=yes
5500
6628
else
5501
6629
  echo "$as_me: failed program was:" >&5
5502
6630
sed 's/^/| /' conftest.$ac_ext >&5
5503
6631
 
5504
 
ac_compiler_gnu=no
 
6632
        ac_compiler_gnu=no
5505
6633
fi
5506
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6634
 
 
6635
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5507
6636
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5508
6637
 
5509
6638
fi
5510
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5511
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6639
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6640
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5512
6641
ac_ext=$ac_save_ext
5513
6642
ac_test_FFLAGS=${FFLAGS+set}
5514
6643
ac_save_FFLAGS=$FFLAGS
5515
6644
FFLAGS=
5516
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5517
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6645
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6646
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5518
6647
if test "${ac_cv_prog_f77_g+set}" = set; then
5519
6648
  echo $ECHO_N "(cached) $ECHO_C" >&6
5520
6649
else
5525
6654
      end
5526
6655
_ACEOF
5527
6656
rm -f conftest.$ac_objext
5528
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5529
 
  (eval $ac_compile) 2>conftest.er1
 
6657
if { (ac_try="$ac_compile"
 
6658
case "(($ac_try" in
 
6659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6660
  *) ac_try_echo=$ac_try;;
 
6661
esac
 
6662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6663
  (eval "$ac_compile") 2>conftest.er1
5530
6664
  ac_status=$?
5531
6665
  grep -v '^ *+' conftest.er1 >conftest.err
5532
6666
  rm -f conftest.er1
5533
6667
  cat conftest.err >&5
5534
6668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535
 
  (exit $ac_status); } &&
5536
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538
 
  (eval $ac_try) 2>&5
5539
 
  ac_status=$?
5540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541
 
  (exit $ac_status); }; } &&
5542
 
         { ac_try='test -s conftest.$ac_objext'
5543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544
 
  (eval $ac_try) 2>&5
5545
 
  ac_status=$?
5546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547
 
  (exit $ac_status); }; }; then
 
6669
  (exit $ac_status); } && {
 
6670
         test -z "$ac_f77_werror_flag" ||
 
6671
         test ! -s conftest.err
 
6672
       } && test -s conftest.$ac_objext; then
5548
6673
  ac_cv_prog_f77_g=yes
5549
6674
else
5550
6675
  echo "$as_me: failed program was:" >&5
5551
6676
sed 's/^/| /' conftest.$ac_ext >&5
5552
6677
 
5553
 
ac_cv_prog_f77_g=no
5554
 
fi
5555
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5556
 
 
5557
 
fi
5558
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5559
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6678
        ac_cv_prog_f77_g=no
 
6679
fi
 
6680
 
 
6681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6682
 
 
6683
fi
 
6684
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6685
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5560
6686
if test "$ac_test_FFLAGS" = set; then
5561
6687
  FFLAGS=$ac_save_FFLAGS
5562
6688
elif test $ac_cv_prog_f77_g = yes; then
5585
6711
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5586
6712
 
5587
6713
# find the maximum length of command line arguments
5588
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5589
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6714
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6715
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5590
6716
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5591
6717
  echo $ECHO_N "(cached) $ECHO_C" >&6
5592
6718
else
5670
6796
    fi
5671
6797
    ;;
5672
6798
  *)
5673
 
    # If test is not a shell built-in, we'll probably end up computing a
5674
 
    # maximum length that is only half of the actual maximum length, but
5675
 
    # we can't tell.
5676
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5677
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6799
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6800
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6801
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6802
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6803
    else
 
6804
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6805
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5678
6806
               = "XX$teststring") >/dev/null 2>&1 &&
5679
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5680
 
            lt_cv_sys_max_cmd_len=$new_result &&
5681
 
            test $i != 17 # 1/2 MB should be enough
5682
 
    do
5683
 
      i=`expr $i + 1`
5684
 
      teststring=$teststring$teststring
5685
 
    done
5686
 
    teststring=
5687
 
    # Add a significant safety factor because C++ compilers can tack on massive
5688
 
    # amounts of additional arguments before passing them to the linker.
5689
 
    # It appears as though 1/2 is a usable value.
5690
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6807
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6808
              lt_cv_sys_max_cmd_len=$new_result &&
 
6809
              test $i != 17 # 1/2 MB should be enough
 
6810
      do
 
6811
        i=`expr $i + 1`
 
6812
        teststring=$teststring$teststring
 
6813
      done
 
6814
      teststring=
 
6815
      # Add a significant safety factor because C++ compilers can tack on massive
 
6816
      # amounts of additional arguments before passing them to the linker.
 
6817
      # It appears as though 1/2 is a usable value.
 
6818
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6819
    fi
5691
6820
    ;;
5692
6821
  esac
5693
6822
 
5694
6823
fi
5695
6824
 
5696
6825
if test -n $lt_cv_sys_max_cmd_len ; then
5697
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5698
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6826
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6827
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5699
6828
else
5700
 
  echo "$as_me:$LINENO: result: none" >&5
5701
 
echo "${ECHO_T}none" >&6
 
6829
  { echo "$as_me:$LINENO: result: none" >&5
 
6830
echo "${ECHO_T}none" >&6; }
5702
6831
fi
5703
6832
 
5704
6833
 
5705
6834
 
5706
6835
 
 
6836
 
5707
6837
# Check for command to grab the raw symbol name followed by C symbol from nm.
5708
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5709
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6838
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6839
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5710
6840
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5711
6841
  echo $ECHO_N "(cached) $ECHO_C" >&6
5712
6842
else
5741
6871
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5742
6872
  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'"
5743
6873
  ;;
5744
 
linux*)
 
6874
linux* | k*bsd*-gnu)
5745
6875
  if test "$host_cpu" = ia64; then
5746
6876
    symcode='[ABCDGIRSTW]'
5747
6877
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5910
7040
  lt_cv_sys_global_symbol_to_cdecl=
5911
7041
fi
5912
7042
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5913
 
  echo "$as_me:$LINENO: result: failed" >&5
5914
 
echo "${ECHO_T}failed" >&6
 
7043
  { echo "$as_me:$LINENO: result: failed" >&5
 
7044
echo "${ECHO_T}failed" >&6; }
5915
7045
else
5916
 
  echo "$as_me:$LINENO: result: ok" >&5
5917
 
echo "${ECHO_T}ok" >&6
 
7046
  { echo "$as_me:$LINENO: result: ok" >&5
 
7047
echo "${ECHO_T}ok" >&6; }
5918
7048
fi
5919
7049
 
5920
 
echo "$as_me:$LINENO: checking for objdir" >&5
5921
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
7050
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7051
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5922
7052
if test "${lt_cv_objdir+set}" = set; then
5923
7053
  echo $ECHO_N "(cached) $ECHO_C" >&6
5924
7054
else
5932
7062
fi
5933
7063
rmdir .libs 2>/dev/null
5934
7064
fi
5935
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5936
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7065
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7066
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5937
7067
objdir=$lt_cv_objdir
5938
7068
 
5939
7069
 
5984
7114
if test -n "$ac_tool_prefix"; then
5985
7115
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5986
7116
set dummy ${ac_tool_prefix}ar; ac_word=$2
5987
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5988
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7117
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7118
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5989
7119
if test "${ac_cv_prog_AR+set}" = set; then
5990
7120
  echo $ECHO_N "(cached) $ECHO_C" >&6
5991
7121
else
5998
7128
  IFS=$as_save_IFS
5999
7129
  test -z "$as_dir" && as_dir=.
6000
7130
  for ac_exec_ext in '' $ac_executable_extensions; do
6001
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7131
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002
7132
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6003
7133
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6004
7134
    break 2
6005
7135
  fi
6006
7136
done
6007
7137
done
 
7138
IFS=$as_save_IFS
6008
7139
 
6009
7140
fi
6010
7141
fi
6011
7142
AR=$ac_cv_prog_AR
6012
7143
if test -n "$AR"; then
6013
 
  echo "$as_me:$LINENO: result: $AR" >&5
6014
 
echo "${ECHO_T}$AR" >&6
 
7144
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7145
echo "${ECHO_T}$AR" >&6; }
6015
7146
else
6016
 
  echo "$as_me:$LINENO: result: no" >&5
6017
 
echo "${ECHO_T}no" >&6
 
7147
  { echo "$as_me:$LINENO: result: no" >&5
 
7148
echo "${ECHO_T}no" >&6; }
6018
7149
fi
 
7150
 
6019
7151
 
6020
7152
fi
6021
7153
if test -z "$ac_cv_prog_AR"; then
6022
7154
  ac_ct_AR=$AR
6023
7155
  # Extract the first word of "ar", so it can be a program name with args.
6024
7156
set dummy ar; ac_word=$2
6025
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6026
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7157
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7158
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6027
7159
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6028
7160
  echo $ECHO_N "(cached) $ECHO_C" >&6
6029
7161
else
6036
7168
  IFS=$as_save_IFS
6037
7169
  test -z "$as_dir" && as_dir=.
6038
7170
  for ac_exec_ext in '' $ac_executable_extensions; do
6039
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040
7172
    ac_cv_prog_ac_ct_AR="ar"
6041
7173
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6042
7174
    break 2
6043
7175
  fi
6044
7176
done
6045
7177
done
 
7178
IFS=$as_save_IFS
6046
7179
 
6047
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6048
7180
fi
6049
7181
fi
6050
7182
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6051
7183
if test -n "$ac_ct_AR"; then
6052
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6053
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7184
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7185
echo "${ECHO_T}$ac_ct_AR" >&6; }
6054
7186
else
6055
 
  echo "$as_me:$LINENO: result: no" >&5
6056
 
echo "${ECHO_T}no" >&6
 
7187
  { echo "$as_me:$LINENO: result: no" >&5
 
7188
echo "${ECHO_T}no" >&6; }
6057
7189
fi
6058
7190
 
6059
 
  AR=$ac_ct_AR
 
7191
  if test "x$ac_ct_AR" = x; then
 
7192
    AR="false"
 
7193
  else
 
7194
    case $cross_compiling:$ac_tool_warned in
 
7195
yes:)
 
7196
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7197
whose name does not start with the host triplet.  If you think this
 
7198
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7199
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7200
whose name does not start with the host triplet.  If you think this
 
7201
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7202
ac_tool_warned=yes ;;
 
7203
esac
 
7204
    AR=$ac_ct_AR
 
7205
  fi
6060
7206
else
6061
7207
  AR="$ac_cv_prog_AR"
6062
7208
fi
6064
7210
if test -n "$ac_tool_prefix"; then
6065
7211
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6066
7212
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6067
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6068
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7213
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7214
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069
7215
if test "${ac_cv_prog_RANLIB+set}" = set; then
6070
7216
  echo $ECHO_N "(cached) $ECHO_C" >&6
6071
7217
else
6078
7224
  IFS=$as_save_IFS
6079
7225
  test -z "$as_dir" && as_dir=.
6080
7226
  for ac_exec_ext in '' $ac_executable_extensions; do
6081
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082
7228
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6083
7229
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084
7230
    break 2
6085
7231
  fi
6086
7232
done
6087
7233
done
 
7234
IFS=$as_save_IFS
6088
7235
 
6089
7236
fi
6090
7237
fi
6091
7238
RANLIB=$ac_cv_prog_RANLIB
6092
7239
if test -n "$RANLIB"; then
6093
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6094
 
echo "${ECHO_T}$RANLIB" >&6
 
7240
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7241
echo "${ECHO_T}$RANLIB" >&6; }
6095
7242
else
6096
 
  echo "$as_me:$LINENO: result: no" >&5
6097
 
echo "${ECHO_T}no" >&6
 
7243
  { echo "$as_me:$LINENO: result: no" >&5
 
7244
echo "${ECHO_T}no" >&6; }
6098
7245
fi
 
7246
 
6099
7247
 
6100
7248
fi
6101
7249
if test -z "$ac_cv_prog_RANLIB"; then
6102
7250
  ac_ct_RANLIB=$RANLIB
6103
7251
  # Extract the first word of "ranlib", so it can be a program name with args.
6104
7252
set dummy ranlib; ac_word=$2
6105
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6106
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7253
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7254
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6107
7255
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6108
7256
  echo $ECHO_N "(cached) $ECHO_C" >&6
6109
7257
else
6116
7264
  IFS=$as_save_IFS
6117
7265
  test -z "$as_dir" && as_dir=.
6118
7266
  for ac_exec_ext in '' $ac_executable_extensions; do
6119
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120
7268
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6121
7269
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6122
7270
    break 2
6123
7271
  fi
6124
7272
done
6125
7273
done
 
7274
IFS=$as_save_IFS
6126
7275
 
6127
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6128
7276
fi
6129
7277
fi
6130
7278
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6131
7279
if test -n "$ac_ct_RANLIB"; then
6132
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6133
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7280
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7281
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6134
7282
else
6135
 
  echo "$as_me:$LINENO: result: no" >&5
6136
 
echo "${ECHO_T}no" >&6
 
7283
  { echo "$as_me:$LINENO: result: no" >&5
 
7284
echo "${ECHO_T}no" >&6; }
6137
7285
fi
6138
7286
 
6139
 
  RANLIB=$ac_ct_RANLIB
 
7287
  if test "x$ac_ct_RANLIB" = x; then
 
7288
    RANLIB=":"
 
7289
  else
 
7290
    case $cross_compiling:$ac_tool_warned in
 
7291
yes:)
 
7292
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7293
whose name does not start with the host triplet.  If you think this
 
7294
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7295
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7296
whose name does not start with the host triplet.  If you think this
 
7297
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7298
ac_tool_warned=yes ;;
 
7299
esac
 
7300
    RANLIB=$ac_ct_RANLIB
 
7301
  fi
6140
7302
else
6141
7303
  RANLIB="$ac_cv_prog_RANLIB"
6142
7304
fi
6144
7306
if test -n "$ac_tool_prefix"; then
6145
7307
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6146
7308
set dummy ${ac_tool_prefix}strip; ac_word=$2
6147
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6148
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7309
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6149
7311
if test "${ac_cv_prog_STRIP+set}" = set; then
6150
7312
  echo $ECHO_N "(cached) $ECHO_C" >&6
6151
7313
else
6158
7320
  IFS=$as_save_IFS
6159
7321
  test -z "$as_dir" && as_dir=.
6160
7322
  for ac_exec_ext in '' $ac_executable_extensions; do
6161
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7323
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162
7324
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6163
7325
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6164
7326
    break 2
6165
7327
  fi
6166
7328
done
6167
7329
done
 
7330
IFS=$as_save_IFS
6168
7331
 
6169
7332
fi
6170
7333
fi
6171
7334
STRIP=$ac_cv_prog_STRIP
6172
7335
if test -n "$STRIP"; then
6173
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6174
 
echo "${ECHO_T}$STRIP" >&6
 
7336
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7337
echo "${ECHO_T}$STRIP" >&6; }
6175
7338
else
6176
 
  echo "$as_me:$LINENO: result: no" >&5
6177
 
echo "${ECHO_T}no" >&6
 
7339
  { echo "$as_me:$LINENO: result: no" >&5
 
7340
echo "${ECHO_T}no" >&6; }
6178
7341
fi
 
7342
 
6179
7343
 
6180
7344
fi
6181
7345
if test -z "$ac_cv_prog_STRIP"; then
6182
7346
  ac_ct_STRIP=$STRIP
6183
7347
  # Extract the first word of "strip", so it can be a program name with args.
6184
7348
set dummy strip; ac_word=$2
6185
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6186
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7349
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6187
7351
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6188
7352
  echo $ECHO_N "(cached) $ECHO_C" >&6
6189
7353
else
6196
7360
  IFS=$as_save_IFS
6197
7361
  test -z "$as_dir" && as_dir=.
6198
7362
  for ac_exec_ext in '' $ac_executable_extensions; do
6199
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200
7364
    ac_cv_prog_ac_ct_STRIP="strip"
6201
7365
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6202
7366
    break 2
6203
7367
  fi
6204
7368
done
6205
7369
done
 
7370
IFS=$as_save_IFS
6206
7371
 
6207
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6208
7372
fi
6209
7373
fi
6210
7374
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6211
7375
if test -n "$ac_ct_STRIP"; then
6212
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6213
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7376
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7377
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6214
7378
else
6215
 
  echo "$as_me:$LINENO: result: no" >&5
6216
 
echo "${ECHO_T}no" >&6
 
7379
  { echo "$as_me:$LINENO: result: no" >&5
 
7380
echo "${ECHO_T}no" >&6; }
6217
7381
fi
6218
7382
 
6219
 
  STRIP=$ac_ct_STRIP
 
7383
  if test "x$ac_ct_STRIP" = x; then
 
7384
    STRIP=":"
 
7385
  else
 
7386
    case $cross_compiling:$ac_tool_warned in
 
7387
yes:)
 
7388
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7389
whose name does not start with the host triplet.  If you think this
 
7390
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7391
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7392
whose name does not start with the host triplet.  If you think this
 
7393
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7394
ac_tool_warned=yes ;;
 
7395
esac
 
7396
    STRIP=$ac_ct_STRIP
 
7397
  fi
6220
7398
else
6221
7399
  STRIP="$ac_cv_prog_STRIP"
6222
7400
fi
6244
7422
test -z "$ac_objext" && ac_objext=o
6245
7423
 
6246
7424
# Determine commands to create old-style static archives.
6247
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7425
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6248
7426
old_postinstall_cmds='chmod 644 $oldlib'
6249
7427
old_postuninstall_cmds=
6250
7428
 
6275
7453
case $deplibs_check_method in
6276
7454
file_magic*)
6277
7455
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6278
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6279
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7456
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7457
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6280
7458
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6281
7459
  echo $ECHO_N "(cached) $ECHO_C" >&6
6282
7460
else
6328
7506
 
6329
7507
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6330
7508
if test -n "$MAGIC_CMD"; then
6331
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6332
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7509
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7510
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6333
7511
else
6334
 
  echo "$as_me:$LINENO: result: no" >&5
6335
 
echo "${ECHO_T}no" >&6
 
7512
  { echo "$as_me:$LINENO: result: no" >&5
 
7513
echo "${ECHO_T}no" >&6; }
6336
7514
fi
6337
7515
 
6338
7516
if test -z "$lt_cv_path_MAGIC_CMD"; then
6339
7517
  if test -n "$ac_tool_prefix"; then
6340
 
    echo "$as_me:$LINENO: checking for file" >&5
6341
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7518
    { echo "$as_me:$LINENO: checking for file" >&5
 
7519
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6342
7520
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6343
7521
  echo $ECHO_N "(cached) $ECHO_C" >&6
6344
7522
else
6390
7568
 
6391
7569
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6392
7570
if test -n "$MAGIC_CMD"; then
6393
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6394
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7571
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7572
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6395
7573
else
6396
 
  echo "$as_me:$LINENO: result: no" >&5
6397
 
echo "${ECHO_T}no" >&6
 
7574
  { echo "$as_me:$LINENO: result: no" >&5
 
7575
echo "${ECHO_T}no" >&6; }
6398
7576
fi
6399
7577
 
6400
7578
  else
6407
7585
esac
6408
7586
 
6409
7587
enable_dlopen=yes
6410
 
enable_win32_dll=no
 
7588
enable_win32_dll=yes
6411
7589
 
6412
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7590
# Check whether --enable-libtool-lock was given.
6413
7591
if test "${enable_libtool_lock+set}" = set; then
6414
 
  enableval="$enable_libtool_lock"
 
7592
  enableval=$enable_libtool_lock;
 
7593
fi
6415
7594
 
6416
 
fi;
6417
7595
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6418
7596
 
6419
7597
 
6420
 
# Check whether --with-pic or --without-pic was given.
 
7598
# Check whether --with-pic was given.
6421
7599
if test "${with_pic+set}" = set; then
6422
 
  withval="$with_pic"
6423
 
  pic_mode="$withval"
 
7600
  withval=$with_pic; pic_mode="$withval"
6424
7601
else
6425
7602
  pic_mode=default
6426
 
fi;
 
7603
fi
 
7604
 
6427
7605
test -z "$pic_mode" && pic_mode=default
6428
7606
 
6429
7607
# Use C for the default configuration in the libtool script
6444
7622
objext=$objext
6445
7623
 
6446
7624
# Code to be used in simple compile tests
6447
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7625
lt_simple_compile_test_code="int some_variable = 0;"
6448
7626
 
6449
7627
# Code to be used in simple link tests
6450
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7628
lt_simple_link_test_code='int main(){return(0);}'
6451
7629
 
6452
7630
 
6453
7631
# If no C compiler was specified, use CC.
6462
7640
 
6463
7641
# save warnings/boilerplate of simple test code
6464
7642
ac_outfile=conftest.$ac_objext
6465
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7643
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6466
7644
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6467
7645
_lt_compiler_boilerplate=`cat conftest.err`
6468
7646
$rm conftest*
6469
7647
 
6470
7648
ac_outfile=conftest.$ac_objext
6471
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7649
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6472
7650
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6473
7651
_lt_linker_boilerplate=`cat conftest.err`
6474
7652
$rm conftest*
6481
7659
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6482
7660
 
6483
7661
 
6484
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6485
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7662
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7663
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6486
7664
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6487
7665
  echo $ECHO_N "(cached) $ECHO_C" >&6
6488
7666
else
6489
7667
  lt_cv_prog_compiler_rtti_exceptions=no
6490
7668
  ac_outfile=conftest.$ac_objext
6491
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7669
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6492
7670
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6493
7671
   # Insert the option either (1) after the last *FLAGS variable, or
6494
7672
   # (2) before a word containing "conftest.", or (3) at the end.
6499
7677
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6500
7678
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6501
7679
   -e 's:$: $lt_compiler_flag:'`
6502
 
   (eval echo "\"\$as_me:6502: $lt_compile\"" >&5)
 
7680
   (eval echo "\"\$as_me:7680: $lt_compile\"" >&5)
6503
7681
   (eval "$lt_compile" 2>conftest.err)
6504
7682
   ac_status=$?
6505
7683
   cat conftest.err >&5
6506
 
   echo "$as_me:6506: \$? = $ac_status" >&5
 
7684
   echo "$as_me:7684: \$? = $ac_status" >&5
6507
7685
   if (exit $ac_status) && test -s "$ac_outfile"; then
6508
7686
     # The compiler can only warn and ignore the option if not recognized
6509
7687
     # So say no if there are warnings other than the usual output.
6516
7694
   $rm conftest*
6517
7695
 
6518
7696
fi
6519
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6520
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7697
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7698
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6521
7699
 
6522
7700
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6523
7701
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6531
7709
lt_prog_compiler_pic=
6532
7710
lt_prog_compiler_static=
6533
7711
 
6534
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6535
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7712
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7713
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6536
7714
 
6537
7715
  if test "$GCC" = yes; then
6538
7716
    lt_prog_compiler_wl='-Wl,'
6554
7732
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6555
7733
      ;;
6556
7734
 
6557
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7735
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6558
7736
      # PIC is the default for these OSes.
6559
7737
      ;;
6560
7738
 
6561
 
    mingw* | pw32* | os2*)
 
7739
    mingw* | cygwin* | pw32* | os2*)
6562
7740
      # This hack is so that the source file can tell whether it is being
6563
7741
      # built for inclusion in a dll (and should export symbols for example).
 
7742
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7743
      # (--disable-auto-import) libraries
6564
7744
      lt_prog_compiler_pic='-DDLL_EXPORT'
6565
7745
      ;;
6566
7746
 
6570
7750
      lt_prog_compiler_pic='-fno-common'
6571
7751
      ;;
6572
7752
 
6573
 
    interix3*)
 
7753
    interix[3-9]*)
6574
7754
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6575
7755
      # Instead, we relocate shared libraries at runtime.
6576
7756
      ;;
6628
7808
       esac
6629
7809
       ;;
6630
7810
 
6631
 
    mingw* | pw32* | os2*)
 
7811
    mingw* | cygwin* | pw32* | os2*)
6632
7812
      # This hack is so that the source file can tell whether it is being
6633
7813
      # built for inclusion in a dll (and should export symbols for example).
6634
7814
      lt_prog_compiler_pic='-DDLL_EXPORT'
6661
7841
      lt_prog_compiler_static='-Bstatic'
6662
7842
      ;;
6663
7843
 
6664
 
    linux*)
 
7844
    linux* | k*bsd*-gnu)
6665
7845
      case $cc_basename in
6666
7846
      icc* | ecc*)
6667
7847
        lt_prog_compiler_wl='-Wl,'
6680
7860
        # All Alpha code is PIC.
6681
7861
        lt_prog_compiler_static='-non_shared'
6682
7862
        ;;
 
7863
      *)
 
7864
        case `$CC -V 2>&1 | sed 5q` in
 
7865
        *Sun\ C*)
 
7866
          # Sun C 5.9
 
7867
          lt_prog_compiler_pic='-KPIC'
 
7868
          lt_prog_compiler_static='-Bstatic'
 
7869
          lt_prog_compiler_wl='-Wl,'
 
7870
          ;;
 
7871
        *Sun\ F*)
 
7872
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7873
          lt_prog_compiler_pic='-KPIC'
 
7874
          lt_prog_compiler_static='-Bstatic'
 
7875
          lt_prog_compiler_wl=''
 
7876
          ;;
 
7877
        esac
 
7878
        ;;
6683
7879
      esac
6684
7880
      ;;
6685
7881
 
6689
7885
      lt_prog_compiler_static='-non_shared'
6690
7886
      ;;
6691
7887
 
 
7888
    rdos*)
 
7889
      lt_prog_compiler_static='-non_shared'
 
7890
      ;;
 
7891
 
6692
7892
    solaris*)
6693
7893
      lt_prog_compiler_pic='-KPIC'
6694
7894
      lt_prog_compiler_static='-Bstatic'
6741
7941
    esac
6742
7942
  fi
6743
7943
 
6744
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6745
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7944
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7945
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6746
7946
 
6747
7947
#
6748
7948
# Check to make sure the PIC flag actually works.
6749
7949
#
6750
7950
if test -n "$lt_prog_compiler_pic"; then
6751
7951
 
6752
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6753
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7952
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7953
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6754
7954
if test "${lt_prog_compiler_pic_works+set}" = set; then
6755
7955
  echo $ECHO_N "(cached) $ECHO_C" >&6
6756
7956
else
6757
7957
  lt_prog_compiler_pic_works=no
6758
7958
  ac_outfile=conftest.$ac_objext
6759
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7959
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6760
7960
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6761
7961
   # Insert the option either (1) after the last *FLAGS variable, or
6762
7962
   # (2) before a word containing "conftest.", or (3) at the end.
6767
7967
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6768
7968
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6769
7969
   -e 's:$: $lt_compiler_flag:'`
6770
 
   (eval echo "\"\$as_me:6770: $lt_compile\"" >&5)
 
7970
   (eval echo "\"\$as_me:7970: $lt_compile\"" >&5)
6771
7971
   (eval "$lt_compile" 2>conftest.err)
6772
7972
   ac_status=$?
6773
7973
   cat conftest.err >&5
6774
 
   echo "$as_me:6774: \$? = $ac_status" >&5
 
7974
   echo "$as_me:7974: \$? = $ac_status" >&5
6775
7975
   if (exit $ac_status) && test -s "$ac_outfile"; then
6776
7976
     # The compiler can only warn and ignore the option if not recognized
6777
7977
     # So say no if there are warnings other than the usual output.
6784
7984
   $rm conftest*
6785
7985
 
6786
7986
fi
6787
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6788
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7987
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7988
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6789
7989
 
6790
7990
if test x"$lt_prog_compiler_pic_works" = xyes; then
6791
7991
    case $lt_prog_compiler_pic in
6812
8012
# Check to make sure the static flag actually works.
6813
8013
#
6814
8014
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6815
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6816
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
8015
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8016
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6817
8017
if test "${lt_prog_compiler_static_works+set}" = set; then
6818
8018
  echo $ECHO_N "(cached) $ECHO_C" >&6
6819
8019
else
6820
8020
  lt_prog_compiler_static_works=no
6821
8021
   save_LDFLAGS="$LDFLAGS"
6822
8022
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6823
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8023
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6824
8024
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6825
8025
     # The linker can only warn and ignore the option if not recognized
6826
8026
     # So say no if there are warnings
6840
8040
   LDFLAGS="$save_LDFLAGS"
6841
8041
 
6842
8042
fi
6843
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6844
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
8043
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8044
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6845
8045
 
6846
8046
if test x"$lt_prog_compiler_static_works" = xyes; then
6847
8047
    :
6850
8050
fi
6851
8051
 
6852
8052
 
6853
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6854
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8053
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8054
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6855
8055
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6856
8056
  echo $ECHO_N "(cached) $ECHO_C" >&6
6857
8057
else
6860
8060
   mkdir conftest
6861
8061
   cd conftest
6862
8062
   mkdir out
6863
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8063
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6864
8064
 
6865
8065
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6866
8066
   # Insert the option either (1) after the last *FLAGS variable, or
6871
8071
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6872
8072
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6873
8073
   -e 's:$: $lt_compiler_flag:'`
6874
 
   (eval echo "\"\$as_me:6874: $lt_compile\"" >&5)
 
8074
   (eval echo "\"\$as_me:8074: $lt_compile\"" >&5)
6875
8075
   (eval "$lt_compile" 2>out/conftest.err)
6876
8076
   ac_status=$?
6877
8077
   cat out/conftest.err >&5
6878
 
   echo "$as_me:6878: \$? = $ac_status" >&5
 
8078
   echo "$as_me:8078: \$? = $ac_status" >&5
6879
8079
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6880
8080
   then
6881
8081
     # The compiler can only warn and ignore the option if not recognized
6897
8097
   $rm conftest*
6898
8098
 
6899
8099
fi
6900
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6901
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8100
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8101
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6902
8102
 
6903
8103
 
6904
8104
hard_links="nottested"
6905
8105
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6906
8106
  # do not overwrite the value of need_locks provided by the user
6907
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6908
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8107
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8108
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6909
8109
  hard_links=yes
6910
8110
  $rm conftest*
6911
8111
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6912
8112
  touch conftest.a
6913
8113
  ln conftest.a conftest.b 2>&5 || hard_links=no
6914
8114
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6915
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6916
 
echo "${ECHO_T}$hard_links" >&6
 
8115
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8116
echo "${ECHO_T}$hard_links" >&6; }
6917
8117
  if test "$hard_links" = no; then
6918
8118
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6919
8119
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6923
8123
  need_locks=no
6924
8124
fi
6925
8125
 
6926
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6927
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8126
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8127
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6928
8128
 
6929
8129
  runpath_var=
6930
8130
  allow_undefined_flag=
7067
8267
      allow_undefined_flag=unsupported
7068
8268
      always_export_symbols=no
7069
8269
      enable_shared_with_static_runtimes=yes
7070
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8270
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7071
8271
 
7072
8272
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7073
8273
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7085
8285
      fi
7086
8286
      ;;
7087
8287
 
7088
 
    interix3*)
 
8288
    interix[3-9]*)
7089
8289
      hardcode_direct=no
7090
8290
      hardcode_shlibpath_var=no
7091
8291
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7100
8300
      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'
7101
8301
      ;;
7102
8302
 
7103
 
    linux*)
 
8303
    gnu* | linux* | k*bsd*-gnu)
7104
8304
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7105
8305
        tmp_addflag=
7106
8306
        case $cc_basename,$host_cpu in
7118
8318
        ifc* | ifort*)                  # Intel Fortran compiler
7119
8319
          tmp_addflag=' -nofor_main' ;;
7120
8320
        esac
7121
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8321
        case `$CC -V 2>&1 | sed 5q` in
 
8322
        *Sun\ C*)                       # Sun C 5.9
 
8323
          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'
 
8324
          tmp_sharedflag='-G' ;;
 
8325
        *Sun\ F*)                       # Sun Fortran 8.3
 
8326
          tmp_sharedflag='-G' ;;
 
8327
        *)
 
8328
          tmp_sharedflag='-shared' ;;
 
8329
        esac
 
8330
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7122
8331
 
7123
8332
        if test $supports_anon_versioning = yes; then
7124
8333
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7125
8334
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7126
8335
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7127
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8336
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7128
8337
        fi
7129
8338
        link_all_deplibs=no
7130
8339
      else
7132
8341
      fi
7133
8342
      ;;
7134
8343
 
7135
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8344
    netbsd* | netbsdelf*-gnu)
7136
8345
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7137
8346
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7138
8347
        wlarc=
7284
8493
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7285
8494
          then
7286
8495
          # We have reworked collect2
7287
 
          hardcode_direct=yes
 
8496
          :
7288
8497
          else
7289
8498
          # We have old collect2
7290
8499
          hardcode_direct=unsupported
7340
8549
}
7341
8550
_ACEOF
7342
8551
rm -f conftest.$ac_objext conftest$ac_exeext
7343
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7344
 
  (eval $ac_link) 2>conftest.er1
 
8552
if { (ac_try="$ac_link"
 
8553
case "(($ac_try" in
 
8554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8555
  *) ac_try_echo=$ac_try;;
 
8556
esac
 
8557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8558
  (eval "$ac_link") 2>conftest.er1
7345
8559
  ac_status=$?
7346
8560
  grep -v '^ *+' conftest.er1 >conftest.err
7347
8561
  rm -f conftest.er1
7348
8562
  cat conftest.err >&5
7349
8563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350
 
  (exit $ac_status); } &&
7351
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7352
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353
 
  (eval $ac_try) 2>&5
7354
 
  ac_status=$?
7355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356
 
  (exit $ac_status); }; } &&
7357
 
         { ac_try='test -s conftest$ac_exeext'
7358
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359
 
  (eval $ac_try) 2>&5
7360
 
  ac_status=$?
7361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362
 
  (exit $ac_status); }; }; then
 
8564
  (exit $ac_status); } && {
 
8565
         test -z "$ac_c_werror_flag" ||
 
8566
         test ! -s conftest.err
 
8567
       } && test -s conftest$ac_exeext &&
 
8568
       $as_test_x conftest$ac_exeext; then
7363
8569
 
7364
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7365
 
}'`
 
8570
lt_aix_libpath_sed='
 
8571
    /Import File Strings/,/^$/ {
 
8572
        /^0/ {
 
8573
            s/^0  *\(.*\)$/\1/
 
8574
            p
 
8575
        }
 
8576
    }'
 
8577
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7366
8578
# Check for a 64-bit object if we didn't find anything.
7367
 
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; }
7368
 
}'`; fi
 
8579
if test -z "$aix_libpath"; then
 
8580
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8581
fi
7369
8582
else
7370
8583
  echo "$as_me: failed program was:" >&5
7371
8584
sed 's/^/| /' conftest.$ac_ext >&5
7372
8585
 
 
8586
 
7373
8587
fi
7374
 
rm -f conftest.err conftest.$ac_objext \
 
8588
 
 
8589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7375
8590
      conftest$ac_exeext conftest.$ac_ext
7376
8591
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7377
8592
 
7400
8615
}
7401
8616
_ACEOF
7402
8617
rm -f conftest.$ac_objext conftest$ac_exeext
7403
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7404
 
  (eval $ac_link) 2>conftest.er1
 
8618
if { (ac_try="$ac_link"
 
8619
case "(($ac_try" in
 
8620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8621
  *) ac_try_echo=$ac_try;;
 
8622
esac
 
8623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8624
  (eval "$ac_link") 2>conftest.er1
7405
8625
  ac_status=$?
7406
8626
  grep -v '^ *+' conftest.er1 >conftest.err
7407
8627
  rm -f conftest.er1
7408
8628
  cat conftest.err >&5
7409
8629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410
 
  (exit $ac_status); } &&
7411
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7412
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413
 
  (eval $ac_try) 2>&5
7414
 
  ac_status=$?
7415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416
 
  (exit $ac_status); }; } &&
7417
 
         { ac_try='test -s conftest$ac_exeext'
7418
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419
 
  (eval $ac_try) 2>&5
7420
 
  ac_status=$?
7421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422
 
  (exit $ac_status); }; }; then
 
8630
  (exit $ac_status); } && {
 
8631
         test -z "$ac_c_werror_flag" ||
 
8632
         test ! -s conftest.err
 
8633
       } && test -s conftest$ac_exeext &&
 
8634
       $as_test_x conftest$ac_exeext; then
7423
8635
 
7424
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7425
 
}'`
 
8636
lt_aix_libpath_sed='
 
8637
    /Import File Strings/,/^$/ {
 
8638
        /^0/ {
 
8639
            s/^0  *\(.*\)$/\1/
 
8640
            p
 
8641
        }
 
8642
    }'
 
8643
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7426
8644
# Check for a 64-bit object if we didn't find anything.
7427
 
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; }
7428
 
}'`; fi
 
8645
if test -z "$aix_libpath"; then
 
8646
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8647
fi
7429
8648
else
7430
8649
  echo "$as_me: failed program was:" >&5
7431
8650
sed 's/^/| /' conftest.$ac_ext >&5
7432
8651
 
 
8652
 
7433
8653
fi
7434
 
rm -f conftest.err conftest.$ac_objext \
 
8654
 
 
8655
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7435
8656
      conftest$ac_exeext conftest.$ac_ext
7436
8657
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7437
8658
 
7477
8698
      # The linker will automatically build a .lib file if we build a DLL.
7478
8699
      old_archive_From_new_cmds='true'
7479
8700
      # FIXME: Should let the user specify the lib program.
7480
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8701
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7481
8702
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7482
8703
      enable_shared_with_static_runtimes=yes
7483
8704
      ;;
7519
8740
      case $cc_basename in
7520
8741
        xlc*)
7521
8742
         output_verbose_link_cmd='echo'
7522
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8743
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7523
8744
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7524
8745
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7525
 
         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}'
 
8746
         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}'
7526
8747
          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}'
7527
8748
          ;;
7528
8749
       *)
7569
8790
      hardcode_shlibpath_var=no
7570
8791
      ;;
7571
8792
 
7572
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
7573
 
    kfreebsd*-gnu)
7574
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7575
 
      hardcode_libdir_flag_spec='-R$libdir'
7576
 
      hardcode_direct=yes
7577
 
      hardcode_shlibpath_var=no
7578
 
      link_all_deplibs=no
7579
 
      ;;
7580
 
 
7581
8793
    hpux9*)
7582
8794
      if test "$GCC" = yes; then
7583
8795
        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'
7673
8885
      link_all_deplibs=yes
7674
8886
      ;;
7675
8887
 
7676
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8888
    netbsd* | netbsdelf*-gnu)
7677
8889
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7678
8890
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7679
8891
      else
7693
8905
      ;;
7694
8906
 
7695
8907
    openbsd*)
7696
 
      hardcode_direct=yes
7697
 
      hardcode_shlibpath_var=no
7698
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7699
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7700
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7701
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7702
 
        export_dynamic_flag_spec='${wl}-E'
 
8908
      if test -f /usr/libexec/ld.so; then
 
8909
        hardcode_direct=yes
 
8910
        hardcode_shlibpath_var=no
 
8911
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8912
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8913
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8914
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8915
          export_dynamic_flag_spec='${wl}-E'
 
8916
        else
 
8917
          case $host_os in
 
8918
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8919
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8920
             hardcode_libdir_flag_spec='-R$libdir'
 
8921
             ;;
 
8922
           *)
 
8923
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8924
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8925
             ;;
 
8926
          esac
 
8927
        fi
7703
8928
      else
7704
 
       case $host_os in
7705
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7706
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7707
 
           hardcode_libdir_flag_spec='-R$libdir'
7708
 
           ;;
7709
 
         *)
7710
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7711
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7712
 
           ;;
7713
 
       esac
 
8929
        ld_shlibs=no
7714
8930
      fi
7715
8931
      ;;
7716
8932
 
7769
8985
      case $host_os in
7770
8986
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7771
8987
      *)
7772
 
        # The compiler driver will combine linker options so we
7773
 
        # cannot just pass the convience library names through
7774
 
        # without $wl, iff we do not link with $LD.
7775
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8988
        # The compiler driver will combine and reorder linker options,
 
8989
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8990
        # but is careful enough not to reorder.
7776
8991
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7777
 
        case $wlarc in
7778
 
        '')
7779
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7780
 
        *)
7781
 
          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' ;;
7782
 
        esac ;;
 
8992
        if test "$GCC" = yes; then
 
8993
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8994
        else
 
8995
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8996
        fi
 
8997
        ;;
7783
8998
      esac
7784
8999
      link_all_deplibs=yes
7785
9000
      ;;
7836
9051
      fi
7837
9052
      ;;
7838
9053
 
7839
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9054
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7840
9055
      no_undefined_flag='${wl}-z,text'
7841
9056
      archive_cmds_need_lc=no
7842
9057
      hardcode_shlibpath_var=no
7889
9104
    esac
7890
9105
  fi
7891
9106
 
7892
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7893
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9107
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9108
echo "${ECHO_T}$ld_shlibs" >&6; }
7894
9109
test "$ld_shlibs" = no && can_build_shared=no
7895
9110
 
7896
9111
#
7910
9125
      # Test whether the compiler implicitly links with -lc since on some
7911
9126
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7912
9127
      # to ld, don't add -lc before -lgcc.
7913
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7914
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9128
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9129
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7915
9130
      $rm conftest*
7916
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9131
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7917
9132
 
7918
9133
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7919
9134
  (eval $ac_compile) 2>&5
7948
9163
        cat conftest.err 1>&5
7949
9164
      fi
7950
9165
      $rm conftest*
7951
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7952
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9166
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9167
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7953
9168
      ;;
7954
9169
    esac
7955
9170
  fi
7956
9171
  ;;
7957
9172
esac
7958
9173
 
7959
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7960
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9174
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9175
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7961
9176
library_names_spec=
7962
9177
libname_spec='lib$name'
7963
9178
soname_spec=
7971
9186
version_type=none
7972
9187
dynamic_linker="$host_os ld.so"
7973
9188
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9189
 
7974
9190
if test "$GCC" = yes; then
7975
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7976
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
9191
  case $host_os in
 
9192
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9193
    *) lt_awk_arg="/^libraries:/" ;;
 
9194
  esac
 
9195
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9196
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7977
9197
    # if the path contains ";" then we assume it to be the separator
7978
9198
    # otherwise default to the standard path separator (i.e. ":") - it is
7979
9199
    # assumed that no part of a normal pathname contains ";" but that should
7980
9200
    # okay in the real world where ";" in dirpaths is itself problematic.
7981
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9201
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7982
9202
  else
7983
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9203
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7984
9204
  fi
 
9205
  # Ok, now we have the path, separated by spaces, we can step through it
 
9206
  # and add multilib dir if necessary.
 
9207
  lt_tmp_lt_search_path_spec=
 
9208
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9209
  for lt_sys_path in $lt_search_path_spec; do
 
9210
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9211
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9212
    else
 
9213
      test -d "$lt_sys_path" && \
 
9214
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9215
    fi
 
9216
  done
 
9217
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9218
BEGIN {RS=" "; FS="/|\n";} {
 
9219
  lt_foo="";
 
9220
  lt_count=0;
 
9221
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9222
    if ($lt_i != "" && $lt_i != ".") {
 
9223
      if ($lt_i == "..") {
 
9224
        lt_count++;
 
9225
      } else {
 
9226
        if (lt_count == 0) {
 
9227
          lt_foo="/" $lt_i lt_foo;
 
9228
        } else {
 
9229
          lt_count--;
 
9230
        }
 
9231
      }
 
9232
    }
 
9233
  }
 
9234
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9235
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9236
}'`
 
9237
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7985
9238
else
7986
9239
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7987
9240
fi
8141
9394
  shlibpath_overrides_runpath=yes
8142
9395
  shlibpath_var=DYLD_LIBRARY_PATH
8143
9396
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8144
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8145
 
  if test "$GCC" = yes; then
8146
 
    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"`
8147
 
  else
8148
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8149
 
  fi
 
9397
 
 
9398
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8150
9399
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8151
9400
  ;;
8152
9401
 
8163
9412
  dynamic_linker=no
8164
9413
  ;;
8165
9414
 
8166
 
kfreebsd*-gnu)
8167
 
  version_type=linux
8168
 
  need_lib_prefix=no
8169
 
  need_version=no
8170
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8171
 
  soname_spec='${libname}${release}${shared_ext}$major'
8172
 
  shlibpath_var=LD_LIBRARY_PATH
8173
 
  shlibpath_overrides_runpath=no
8174
 
  hardcode_into_libs=yes
8175
 
  dynamic_linker='GNU ld.so'
8176
 
  ;;
8177
 
 
8178
9415
freebsd* | dragonfly*)
8179
9416
  # DragonFly does not have aout.  When/if they implement a new
8180
9417
  # versioning mechanism, adjust this.
8212
9449
    shlibpath_overrides_runpath=no
8213
9450
    hardcode_into_libs=yes
8214
9451
    ;;
8215
 
  freebsd*) # from 4.6 on
 
9452
  *) # from 4.6 on, and DragonFly
8216
9453
    shlibpath_overrides_runpath=yes
8217
9454
    hardcode_into_libs=yes
8218
9455
    ;;
8275
9512
  postinstall_cmds='chmod 555 $lib'
8276
9513
  ;;
8277
9514
 
8278
 
interix3*)
 
9515
interix[3-9]*)
8279
9516
  version_type=linux
8280
9517
  need_lib_prefix=no
8281
9518
  need_version=no
8330
9567
  ;;
8331
9568
 
8332
9569
# This must be Linux ELF.
8333
 
linux*)
 
9570
linux* | k*bsd*-gnu)
8334
9571
  version_type=linux
8335
9572
  need_lib_prefix=no
8336
9573
  need_version=no
8346
9583
 
8347
9584
  # Append ld.so.conf contents to the search path
8348
9585
  if test -f /etc/ld.so.conf; then
8349
 
    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' ' '`
 
9586
    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' ' '`
8350
9587
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8351
9588
  fi
8352
9589
 
8371
9608
  dynamic_linker='NetBSD ld.elf_so'
8372
9609
  ;;
8373
9610
 
8374
 
knetbsd*-gnu)
8375
 
  version_type=linux
8376
 
  need_lib_prefix=no
8377
 
  need_version=no
8378
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8379
 
  soname_spec='${libname}${release}${shared_ext}$major'
8380
 
  shlibpath_var=LD_LIBRARY_PATH
8381
 
  shlibpath_overrides_runpath=no
8382
 
  hardcode_into_libs=yes
8383
 
  dynamic_linker='GNU ld.so'
8384
 
  ;;
8385
 
 
8386
9611
netbsd*)
8387
9612
  version_type=sunos
8388
9613
  need_lib_prefix=no
8464
9689
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8465
9690
  ;;
8466
9691
 
 
9692
rdos*)
 
9693
  dynamic_linker=no
 
9694
  ;;
 
9695
 
8467
9696
solaris*)
8468
9697
  version_type=linux
8469
9698
  need_lib_prefix=no
8556
9785
  dynamic_linker=no
8557
9786
  ;;
8558
9787
esac
8559
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8560
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9788
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9789
echo "${ECHO_T}$dynamic_linker" >&6; }
8561
9790
test "$dynamic_linker" = no && can_build_shared=no
8562
9791
 
8563
9792
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8565
9794
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8566
9795
fi
8567
9796
 
8568
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8569
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9797
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9798
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8570
9799
hardcode_action=
8571
9800
if test -n "$hardcode_libdir_flag_spec" || \
8572
9801
   test -n "$runpath_var" || \
8590
9819
  # directories.
8591
9820
  hardcode_action=unsupported
8592
9821
fi
8593
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8594
 
echo "${ECHO_T}$hardcode_action" >&6
 
9822
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9823
echo "${ECHO_T}$hardcode_action" >&6; }
8595
9824
 
8596
9825
if test "$hardcode_action" = relink; then
8597
9826
  # Fast installation is not supported
8604
9833
 
8605
9834
striplib=
8606
9835
old_striplib=
8607
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8608
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9836
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9837
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8609
9838
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8610
9839
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8611
9840
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8612
 
  echo "$as_me:$LINENO: result: yes" >&5
8613
 
echo "${ECHO_T}yes" >&6
 
9841
  { echo "$as_me:$LINENO: result: yes" >&5
 
9842
echo "${ECHO_T}yes" >&6; }
8614
9843
else
8615
9844
# FIXME - insert some real tests, host_os isn't really good enough
8616
9845
  case $host_os in
8617
9846
   darwin*)
8618
9847
       if test -n "$STRIP" ; then
8619
9848
         striplib="$STRIP -x"
8620
 
         echo "$as_me:$LINENO: result: yes" >&5
8621
 
echo "${ECHO_T}yes" >&6
 
9849
         old_striplib="$STRIP -S"
 
9850
         { echo "$as_me:$LINENO: result: yes" >&5
 
9851
echo "${ECHO_T}yes" >&6; }
8622
9852
       else
8623
 
  echo "$as_me:$LINENO: result: no" >&5
8624
 
echo "${ECHO_T}no" >&6
 
9853
  { echo "$as_me:$LINENO: result: no" >&5
 
9854
echo "${ECHO_T}no" >&6; }
8625
9855
fi
8626
9856
       ;;
8627
9857
   *)
8628
 
  echo "$as_me:$LINENO: result: no" >&5
8629
 
echo "${ECHO_T}no" >&6
 
9858
  { echo "$as_me:$LINENO: result: no" >&5
 
9859
echo "${ECHO_T}no" >&6; }
8630
9860
    ;;
8631
9861
  esac
8632
9862
fi
8658
9888
 
8659
9889
  darwin*)
8660
9890
  # if libdl is installed we need to link against it
8661
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8662
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9891
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9892
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8663
9893
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8664
9894
  echo $ECHO_N "(cached) $ECHO_C" >&6
8665
9895
else
8672
9902
cat >>conftest.$ac_ext <<_ACEOF
8673
9903
/* end confdefs.h.  */
8674
9904
 
8675
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9905
/* Override any GCC internal prototype to avoid an error.
 
9906
   Use char because int might match the return type of a GCC
 
9907
   builtin and then its argument prototype would still apply.  */
8676
9908
#ifdef __cplusplus
8677
9909
extern "C"
8678
9910
#endif
8679
 
/* We use char because int might match the return type of a gcc2
8680
 
   builtin and then its argument prototype would still apply.  */
8681
9911
char dlopen ();
8682
9912
int
8683
9913
main ()
8684
9914
{
8685
 
dlopen ();
 
9915
return dlopen ();
8686
9916
  ;
8687
9917
  return 0;
8688
9918
}
8689
9919
_ACEOF
8690
9920
rm -f conftest.$ac_objext conftest$ac_exeext
8691
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8692
 
  (eval $ac_link) 2>conftest.er1
 
9921
if { (ac_try="$ac_link"
 
9922
case "(($ac_try" in
 
9923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9924
  *) ac_try_echo=$ac_try;;
 
9925
esac
 
9926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9927
  (eval "$ac_link") 2>conftest.er1
8693
9928
  ac_status=$?
8694
9929
  grep -v '^ *+' conftest.er1 >conftest.err
8695
9930
  rm -f conftest.er1
8696
9931
  cat conftest.err >&5
8697
9932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
 
  (exit $ac_status); } &&
8699
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701
 
  (eval $ac_try) 2>&5
8702
 
  ac_status=$?
8703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704
 
  (exit $ac_status); }; } &&
8705
 
         { ac_try='test -s conftest$ac_exeext'
8706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707
 
  (eval $ac_try) 2>&5
8708
 
  ac_status=$?
8709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710
 
  (exit $ac_status); }; }; then
 
9933
  (exit $ac_status); } && {
 
9934
         test -z "$ac_c_werror_flag" ||
 
9935
         test ! -s conftest.err
 
9936
       } && test -s conftest$ac_exeext &&
 
9937
       $as_test_x conftest$ac_exeext; then
8711
9938
  ac_cv_lib_dl_dlopen=yes
8712
9939
else
8713
9940
  echo "$as_me: failed program was:" >&5
8714
9941
sed 's/^/| /' conftest.$ac_ext >&5
8715
9942
 
8716
 
ac_cv_lib_dl_dlopen=no
 
9943
        ac_cv_lib_dl_dlopen=no
8717
9944
fi
8718
 
rm -f conftest.err conftest.$ac_objext \
 
9945
 
 
9946
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8719
9947
      conftest$ac_exeext conftest.$ac_ext
8720
9948
LIBS=$ac_check_lib_save_LIBS
8721
9949
fi
8722
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8723
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9950
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9951
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8724
9952
if test $ac_cv_lib_dl_dlopen = yes; then
8725
9953
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8726
9954
else
8734
9962
   ;;
8735
9963
 
8736
9964
  *)
8737
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8738
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9965
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9966
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8739
9967
if test "${ac_cv_func_shl_load+set}" = set; then
8740
9968
  echo $ECHO_N "(cached) $ECHO_C" >&6
8741
9969
else
8762
9990
 
8763
9991
#undef shl_load
8764
9992
 
8765
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9993
/* Override any GCC internal prototype to avoid an error.
 
9994
   Use char because int might match the return type of a GCC
 
9995
   builtin and then its argument prototype would still apply.  */
8766
9996
#ifdef __cplusplus
8767
9997
extern "C"
8768
 
{
8769
9998
#endif
8770
 
/* We use char because int might match the return type of a gcc2
8771
 
   builtin and then its argument prototype would still apply.  */
8772
9999
char shl_load ();
8773
10000
/* The GNU C library defines this for functions which it implements
8774
10001
    to always fail with ENOSYS.  Some functions are actually named
8775
10002
    something starting with __ and the normal name is an alias.  */
8776
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10003
#if defined __stub_shl_load || defined __stub___shl_load
8777
10004
choke me
8778
 
#else
8779
 
char (*f) () = shl_load;
8780
 
#endif
8781
 
#ifdef __cplusplus
8782
 
}
8783
10005
#endif
8784
10006
 
8785
10007
int
8786
10008
main ()
8787
10009
{
8788
 
return f != shl_load;
 
10010
return shl_load ();
8789
10011
  ;
8790
10012
  return 0;
8791
10013
}
8792
10014
_ACEOF
8793
10015
rm -f conftest.$ac_objext conftest$ac_exeext
8794
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8795
 
  (eval $ac_link) 2>conftest.er1
 
10016
if { (ac_try="$ac_link"
 
10017
case "(($ac_try" in
 
10018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10019
  *) ac_try_echo=$ac_try;;
 
10020
esac
 
10021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10022
  (eval "$ac_link") 2>conftest.er1
8796
10023
  ac_status=$?
8797
10024
  grep -v '^ *+' conftest.er1 >conftest.err
8798
10025
  rm -f conftest.er1
8799
10026
  cat conftest.err >&5
8800
10027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801
 
  (exit $ac_status); } &&
8802
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8803
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804
 
  (eval $ac_try) 2>&5
8805
 
  ac_status=$?
8806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807
 
  (exit $ac_status); }; } &&
8808
 
         { ac_try='test -s conftest$ac_exeext'
8809
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8810
 
  (eval $ac_try) 2>&5
8811
 
  ac_status=$?
8812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813
 
  (exit $ac_status); }; }; then
 
10028
  (exit $ac_status); } && {
 
10029
         test -z "$ac_c_werror_flag" ||
 
10030
         test ! -s conftest.err
 
10031
       } && test -s conftest$ac_exeext &&
 
10032
       $as_test_x conftest$ac_exeext; then
8814
10033
  ac_cv_func_shl_load=yes
8815
10034
else
8816
10035
  echo "$as_me: failed program was:" >&5
8817
10036
sed 's/^/| /' conftest.$ac_ext >&5
8818
10037
 
8819
 
ac_cv_func_shl_load=no
 
10038
        ac_cv_func_shl_load=no
8820
10039
fi
8821
 
rm -f conftest.err conftest.$ac_objext \
 
10040
 
 
10041
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8822
10042
      conftest$ac_exeext conftest.$ac_ext
8823
10043
fi
8824
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8825
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10044
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10045
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8826
10046
if test $ac_cv_func_shl_load = yes; then
8827
10047
  lt_cv_dlopen="shl_load"
8828
10048
else
8829
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8830
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10049
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10050
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8831
10051
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8832
10052
  echo $ECHO_N "(cached) $ECHO_C" >&6
8833
10053
else
8840
10060
cat >>conftest.$ac_ext <<_ACEOF
8841
10061
/* end confdefs.h.  */
8842
10062
 
8843
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10063
/* Override any GCC internal prototype to avoid an error.
 
10064
   Use char because int might match the return type of a GCC
 
10065
   builtin and then its argument prototype would still apply.  */
8844
10066
#ifdef __cplusplus
8845
10067
extern "C"
8846
10068
#endif
8847
 
/* We use char because int might match the return type of a gcc2
8848
 
   builtin and then its argument prototype would still apply.  */
8849
10069
char shl_load ();
8850
10070
int
8851
10071
main ()
8852
10072
{
8853
 
shl_load ();
 
10073
return shl_load ();
8854
10074
  ;
8855
10075
  return 0;
8856
10076
}
8857
10077
_ACEOF
8858
10078
rm -f conftest.$ac_objext conftest$ac_exeext
8859
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8860
 
  (eval $ac_link) 2>conftest.er1
 
10079
if { (ac_try="$ac_link"
 
10080
case "(($ac_try" in
 
10081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10082
  *) ac_try_echo=$ac_try;;
 
10083
esac
 
10084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10085
  (eval "$ac_link") 2>conftest.er1
8861
10086
  ac_status=$?
8862
10087
  grep -v '^ *+' conftest.er1 >conftest.err
8863
10088
  rm -f conftest.er1
8864
10089
  cat conftest.err >&5
8865
10090
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866
 
  (exit $ac_status); } &&
8867
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869
 
  (eval $ac_try) 2>&5
8870
 
  ac_status=$?
8871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872
 
  (exit $ac_status); }; } &&
8873
 
         { ac_try='test -s conftest$ac_exeext'
8874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875
 
  (eval $ac_try) 2>&5
8876
 
  ac_status=$?
8877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878
 
  (exit $ac_status); }; }; then
 
10091
  (exit $ac_status); } && {
 
10092
         test -z "$ac_c_werror_flag" ||
 
10093
         test ! -s conftest.err
 
10094
       } && test -s conftest$ac_exeext &&
 
10095
       $as_test_x conftest$ac_exeext; then
8879
10096
  ac_cv_lib_dld_shl_load=yes
8880
10097
else
8881
10098
  echo "$as_me: failed program was:" >&5
8882
10099
sed 's/^/| /' conftest.$ac_ext >&5
8883
10100
 
8884
 
ac_cv_lib_dld_shl_load=no
 
10101
        ac_cv_lib_dld_shl_load=no
8885
10102
fi
8886
 
rm -f conftest.err conftest.$ac_objext \
 
10103
 
 
10104
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8887
10105
      conftest$ac_exeext conftest.$ac_ext
8888
10106
LIBS=$ac_check_lib_save_LIBS
8889
10107
fi
8890
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8891
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10108
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10109
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8892
10110
if test $ac_cv_lib_dld_shl_load = yes; then
8893
10111
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8894
10112
else
8895
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8896
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10113
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10114
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8897
10115
if test "${ac_cv_func_dlopen+set}" = set; then
8898
10116
  echo $ECHO_N "(cached) $ECHO_C" >&6
8899
10117
else
8920
10138
 
8921
10139
#undef dlopen
8922
10140
 
8923
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10141
/* Override any GCC internal prototype to avoid an error.
 
10142
   Use char because int might match the return type of a GCC
 
10143
   builtin and then its argument prototype would still apply.  */
8924
10144
#ifdef __cplusplus
8925
10145
extern "C"
8926
 
{
8927
10146
#endif
8928
 
/* We use char because int might match the return type of a gcc2
8929
 
   builtin and then its argument prototype would still apply.  */
8930
10147
char dlopen ();
8931
10148
/* The GNU C library defines this for functions which it implements
8932
10149
    to always fail with ENOSYS.  Some functions are actually named
8933
10150
    something starting with __ and the normal name is an alias.  */
8934
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10151
#if defined __stub_dlopen || defined __stub___dlopen
8935
10152
choke me
8936
 
#else
8937
 
char (*f) () = dlopen;
8938
 
#endif
8939
 
#ifdef __cplusplus
8940
 
}
8941
10153
#endif
8942
10154
 
8943
10155
int
8944
10156
main ()
8945
10157
{
8946
 
return f != dlopen;
 
10158
return dlopen ();
8947
10159
  ;
8948
10160
  return 0;
8949
10161
}
8950
10162
_ACEOF
8951
10163
rm -f conftest.$ac_objext conftest$ac_exeext
8952
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8953
 
  (eval $ac_link) 2>conftest.er1
 
10164
if { (ac_try="$ac_link"
 
10165
case "(($ac_try" in
 
10166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10167
  *) ac_try_echo=$ac_try;;
 
10168
esac
 
10169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10170
  (eval "$ac_link") 2>conftest.er1
8954
10171
  ac_status=$?
8955
10172
  grep -v '^ *+' conftest.er1 >conftest.err
8956
10173
  rm -f conftest.er1
8957
10174
  cat conftest.err >&5
8958
10175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959
 
  (exit $ac_status); } &&
8960
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8962
 
  (eval $ac_try) 2>&5
8963
 
  ac_status=$?
8964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965
 
  (exit $ac_status); }; } &&
8966
 
         { ac_try='test -s conftest$ac_exeext'
8967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968
 
  (eval $ac_try) 2>&5
8969
 
  ac_status=$?
8970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971
 
  (exit $ac_status); }; }; then
 
10176
  (exit $ac_status); } && {
 
10177
         test -z "$ac_c_werror_flag" ||
 
10178
         test ! -s conftest.err
 
10179
       } && test -s conftest$ac_exeext &&
 
10180
       $as_test_x conftest$ac_exeext; then
8972
10181
  ac_cv_func_dlopen=yes
8973
10182
else
8974
10183
  echo "$as_me: failed program was:" >&5
8975
10184
sed 's/^/| /' conftest.$ac_ext >&5
8976
10185
 
8977
 
ac_cv_func_dlopen=no
 
10186
        ac_cv_func_dlopen=no
8978
10187
fi
8979
 
rm -f conftest.err conftest.$ac_objext \
 
10188
 
 
10189
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8980
10190
      conftest$ac_exeext conftest.$ac_ext
8981
10191
fi
8982
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8983
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10192
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10193
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8984
10194
if test $ac_cv_func_dlopen = yes; then
8985
10195
  lt_cv_dlopen="dlopen"
8986
10196
else
8987
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8988
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10197
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10198
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8989
10199
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8990
10200
  echo $ECHO_N "(cached) $ECHO_C" >&6
8991
10201
else
8998
10208
cat >>conftest.$ac_ext <<_ACEOF
8999
10209
/* end confdefs.h.  */
9000
10210
 
9001
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10211
/* Override any GCC internal prototype to avoid an error.
 
10212
   Use char because int might match the return type of a GCC
 
10213
   builtin and then its argument prototype would still apply.  */
9002
10214
#ifdef __cplusplus
9003
10215
extern "C"
9004
10216
#endif
9005
 
/* We use char because int might match the return type of a gcc2
9006
 
   builtin and then its argument prototype would still apply.  */
9007
10217
char dlopen ();
9008
10218
int
9009
10219
main ()
9010
10220
{
9011
 
dlopen ();
 
10221
return dlopen ();
9012
10222
  ;
9013
10223
  return 0;
9014
10224
}
9015
10225
_ACEOF
9016
10226
rm -f conftest.$ac_objext conftest$ac_exeext
9017
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9018
 
  (eval $ac_link) 2>conftest.er1
 
10227
if { (ac_try="$ac_link"
 
10228
case "(($ac_try" in
 
10229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10230
  *) ac_try_echo=$ac_try;;
 
10231
esac
 
10232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10233
  (eval "$ac_link") 2>conftest.er1
9019
10234
  ac_status=$?
9020
10235
  grep -v '^ *+' conftest.er1 >conftest.err
9021
10236
  rm -f conftest.er1
9022
10237
  cat conftest.err >&5
9023
10238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024
 
  (exit $ac_status); } &&
9025
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9026
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027
 
  (eval $ac_try) 2>&5
9028
 
  ac_status=$?
9029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030
 
  (exit $ac_status); }; } &&
9031
 
         { ac_try='test -s conftest$ac_exeext'
9032
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033
 
  (eval $ac_try) 2>&5
9034
 
  ac_status=$?
9035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036
 
  (exit $ac_status); }; }; then
 
10239
  (exit $ac_status); } && {
 
10240
         test -z "$ac_c_werror_flag" ||
 
10241
         test ! -s conftest.err
 
10242
       } && test -s conftest$ac_exeext &&
 
10243
       $as_test_x conftest$ac_exeext; then
9037
10244
  ac_cv_lib_dl_dlopen=yes
9038
10245
else
9039
10246
  echo "$as_me: failed program was:" >&5
9040
10247
sed 's/^/| /' conftest.$ac_ext >&5
9041
10248
 
9042
 
ac_cv_lib_dl_dlopen=no
 
10249
        ac_cv_lib_dl_dlopen=no
9043
10250
fi
9044
 
rm -f conftest.err conftest.$ac_objext \
 
10251
 
 
10252
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9045
10253
      conftest$ac_exeext conftest.$ac_ext
9046
10254
LIBS=$ac_check_lib_save_LIBS
9047
10255
fi
9048
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9049
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10256
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10257
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9050
10258
if test $ac_cv_lib_dl_dlopen = yes; then
9051
10259
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9052
10260
else
9053
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9054
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10261
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10262
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9055
10263
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9056
10264
  echo $ECHO_N "(cached) $ECHO_C" >&6
9057
10265
else
9064
10272
cat >>conftest.$ac_ext <<_ACEOF
9065
10273
/* end confdefs.h.  */
9066
10274
 
9067
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10275
/* Override any GCC internal prototype to avoid an error.
 
10276
   Use char because int might match the return type of a GCC
 
10277
   builtin and then its argument prototype would still apply.  */
9068
10278
#ifdef __cplusplus
9069
10279
extern "C"
9070
10280
#endif
9071
 
/* We use char because int might match the return type of a gcc2
9072
 
   builtin and then its argument prototype would still apply.  */
9073
10281
char dlopen ();
9074
10282
int
9075
10283
main ()
9076
10284
{
9077
 
dlopen ();
 
10285
return dlopen ();
9078
10286
  ;
9079
10287
  return 0;
9080
10288
}
9081
10289
_ACEOF
9082
10290
rm -f conftest.$ac_objext conftest$ac_exeext
9083
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9084
 
  (eval $ac_link) 2>conftest.er1
 
10291
if { (ac_try="$ac_link"
 
10292
case "(($ac_try" in
 
10293
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10294
  *) ac_try_echo=$ac_try;;
 
10295
esac
 
10296
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10297
  (eval "$ac_link") 2>conftest.er1
9085
10298
  ac_status=$?
9086
10299
  grep -v '^ *+' conftest.er1 >conftest.err
9087
10300
  rm -f conftest.er1
9088
10301
  cat conftest.err >&5
9089
10302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090
 
  (exit $ac_status); } &&
9091
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9092
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093
 
  (eval $ac_try) 2>&5
9094
 
  ac_status=$?
9095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096
 
  (exit $ac_status); }; } &&
9097
 
         { ac_try='test -s conftest$ac_exeext'
9098
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099
 
  (eval $ac_try) 2>&5
9100
 
  ac_status=$?
9101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102
 
  (exit $ac_status); }; }; then
 
10303
  (exit $ac_status); } && {
 
10304
         test -z "$ac_c_werror_flag" ||
 
10305
         test ! -s conftest.err
 
10306
       } && test -s conftest$ac_exeext &&
 
10307
       $as_test_x conftest$ac_exeext; then
9103
10308
  ac_cv_lib_svld_dlopen=yes
9104
10309
else
9105
10310
  echo "$as_me: failed program was:" >&5
9106
10311
sed 's/^/| /' conftest.$ac_ext >&5
9107
10312
 
9108
 
ac_cv_lib_svld_dlopen=no
 
10313
        ac_cv_lib_svld_dlopen=no
9109
10314
fi
9110
 
rm -f conftest.err conftest.$ac_objext \
 
10315
 
 
10316
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9111
10317
      conftest$ac_exeext conftest.$ac_ext
9112
10318
LIBS=$ac_check_lib_save_LIBS
9113
10319
fi
9114
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9115
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10320
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10321
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9116
10322
if test $ac_cv_lib_svld_dlopen = yes; then
9117
10323
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9118
10324
else
9119
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9120
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10325
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10326
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9121
10327
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9122
10328
  echo $ECHO_N "(cached) $ECHO_C" >&6
9123
10329
else
9130
10336
cat >>conftest.$ac_ext <<_ACEOF
9131
10337
/* end confdefs.h.  */
9132
10338
 
9133
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10339
/* Override any GCC internal prototype to avoid an error.
 
10340
   Use char because int might match the return type of a GCC
 
10341
   builtin and then its argument prototype would still apply.  */
9134
10342
#ifdef __cplusplus
9135
10343
extern "C"
9136
10344
#endif
9137
 
/* We use char because int might match the return type of a gcc2
9138
 
   builtin and then its argument prototype would still apply.  */
9139
10345
char dld_link ();
9140
10346
int
9141
10347
main ()
9142
10348
{
9143
 
dld_link ();
 
10349
return dld_link ();
9144
10350
  ;
9145
10351
  return 0;
9146
10352
}
9147
10353
_ACEOF
9148
10354
rm -f conftest.$ac_objext conftest$ac_exeext
9149
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9150
 
  (eval $ac_link) 2>conftest.er1
 
10355
if { (ac_try="$ac_link"
 
10356
case "(($ac_try" in
 
10357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10358
  *) ac_try_echo=$ac_try;;
 
10359
esac
 
10360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10361
  (eval "$ac_link") 2>conftest.er1
9151
10362
  ac_status=$?
9152
10363
  grep -v '^ *+' conftest.er1 >conftest.err
9153
10364
  rm -f conftest.er1
9154
10365
  cat conftest.err >&5
9155
10366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156
 
  (exit $ac_status); } &&
9157
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9158
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9159
 
  (eval $ac_try) 2>&5
9160
 
  ac_status=$?
9161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162
 
  (exit $ac_status); }; } &&
9163
 
         { ac_try='test -s conftest$ac_exeext'
9164
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165
 
  (eval $ac_try) 2>&5
9166
 
  ac_status=$?
9167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168
 
  (exit $ac_status); }; }; then
 
10367
  (exit $ac_status); } && {
 
10368
         test -z "$ac_c_werror_flag" ||
 
10369
         test ! -s conftest.err
 
10370
       } && test -s conftest$ac_exeext &&
 
10371
       $as_test_x conftest$ac_exeext; then
9169
10372
  ac_cv_lib_dld_dld_link=yes
9170
10373
else
9171
10374
  echo "$as_me: failed program was:" >&5
9172
10375
sed 's/^/| /' conftest.$ac_ext >&5
9173
10376
 
9174
 
ac_cv_lib_dld_dld_link=no
 
10377
        ac_cv_lib_dld_dld_link=no
9175
10378
fi
9176
 
rm -f conftest.err conftest.$ac_objext \
 
10379
 
 
10380
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9177
10381
      conftest$ac_exeext conftest.$ac_ext
9178
10382
LIBS=$ac_check_lib_save_LIBS
9179
10383
fi
9180
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9181
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10384
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10385
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9182
10386
if test $ac_cv_lib_dld_dld_link = yes; then
9183
10387
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9184
10388
fi
9218
10422
    save_LIBS="$LIBS"
9219
10423
    LIBS="$lt_cv_dlopen_libs $LIBS"
9220
10424
 
9221
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9222
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10425
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10426
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9223
10427
if test "${lt_cv_dlopen_self+set}" = set; then
9224
10428
  echo $ECHO_N "(cached) $ECHO_C" >&6
9225
10429
else
9229
10433
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9230
10434
  lt_status=$lt_dlunknown
9231
10435
  cat > conftest.$ac_ext <<EOF
9232
 
#line 9232 "configure"
 
10436
#line 10436 "configure"
9233
10437
#include "confdefs.h"
9234
10438
 
9235
10439
#if HAVE_DLFCN_H
9313
10517
 
9314
10518
 
9315
10519
fi
9316
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9317
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10520
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10521
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9318
10522
 
9319
10523
    if test "x$lt_cv_dlopen_self" = xyes; then
9320
10524
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9321
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9322
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10525
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10526
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9323
10527
if test "${lt_cv_dlopen_self_static+set}" = set; then
9324
10528
  echo $ECHO_N "(cached) $ECHO_C" >&6
9325
10529
else
9329
10533
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9330
10534
  lt_status=$lt_dlunknown
9331
10535
  cat > conftest.$ac_ext <<EOF
9332
 
#line 9332 "configure"
 
10536
#line 10536 "configure"
9333
10537
#include "confdefs.h"
9334
10538
 
9335
10539
#if HAVE_DLFCN_H
9413
10617
 
9414
10618
 
9415
10619
fi
9416
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9417
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10620
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10621
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9418
10622
    fi
9419
10623
 
9420
10624
    CPPFLAGS="$save_CPPFLAGS"
9436
10640
 
9437
10641
 
9438
10642
# Report which library types will actually be built
9439
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9440
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9441
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9442
 
echo "${ECHO_T}$can_build_shared" >&6
 
10643
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10644
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10645
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10646
echo "${ECHO_T}$can_build_shared" >&6; }
9443
10647
 
9444
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9445
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10648
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10649
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9446
10650
test "$can_build_shared" = "no" && enable_shared=no
9447
10651
 
9448
10652
# On AIX, shared libraries and static libraries use the same namespace, and
9462
10666
  fi
9463
10667
    ;;
9464
10668
esac
9465
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9466
 
echo "${ECHO_T}$enable_shared" >&6
 
10669
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10670
echo "${ECHO_T}$enable_shared" >&6; }
9467
10671
 
9468
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9469
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10672
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10673
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9470
10674
# Make sure either enable_shared or enable_static is yes.
9471
10675
test "$enable_shared" = yes || enable_static=yes
9472
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9473
 
echo "${ECHO_T}$enable_static" >&6
 
10676
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10677
echo "${ECHO_T}$enable_static" >&6; }
9474
10678
 
9475
10679
# The else clause should only fire when bootstrapping the
9476
10680
# libtool distribution, otherwise you forgot to ship ltmain.sh
9527
10731
    module_cmds \
9528
10732
    module_expsym_cmds \
9529
10733
    lt_cv_prog_compiler_c_o \
 
10734
    fix_srcfile_path \
9530
10735
    exclude_expsyms \
9531
10736
    include_expsyms; do
9532
10737
 
9571
10776
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9572
10777
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9573
10778
#
9574
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10779
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9575
10780
# Free Software Foundation, Inc.
9576
10781
#
9577
10782
# This file is part of GNU Libtool:
9895
11100
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9896
11101
 
9897
11102
# Fix the shell variable \$srcfile for the compiler.
9898
 
fix_srcfile_path="$fix_srcfile_path"
 
11103
fix_srcfile_path=$lt_fix_srcfile_path
9899
11104
 
9900
11105
# Set to yes if exported symbols are required.
9901
11106
always_export_symbols=$always_export_symbols
9962
11167
CC="$lt_save_CC"
9963
11168
 
9964
11169
 
9965
 
# Check whether --with-tags or --without-tags was given.
 
11170
# Check whether --with-tags was given.
9966
11171
if test "${with_tags+set}" = set; then
9967
 
  withval="$with_tags"
9968
 
  tagnames="$withval"
9969
 
fi;
 
11172
  withval=$with_tags; tagnames="$withval"
 
11173
fi
 
11174
 
9970
11175
 
9971
11176
if test -f "$ltmain" && test -n "$tagnames"; then
9972
11177
  if test ! -f "${ofile}"; then
10020
11225
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10021
11226
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10022
11227
            (test "X$CXX" != "Xg++"))) ; then
10023
 
          ac_ext=cc
 
11228
          ac_ext=cpp
10024
11229
ac_cpp='$CXXCPP $CPPFLAGS'
10025
11230
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10026
11231
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10064
11269
objext_CXX=$objext
10065
11270
 
10066
11271
# Code to be used in simple compile tests
10067
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11272
lt_simple_compile_test_code="int some_variable = 0;"
10068
11273
 
10069
11274
# Code to be used in simple link tests
10070
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
11275
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10071
11276
 
10072
11277
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10073
11278
 
10083
11288
 
10084
11289
# save warnings/boilerplate of simple test code
10085
11290
ac_outfile=conftest.$ac_objext
10086
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11291
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10087
11292
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10088
11293
_lt_compiler_boilerplate=`cat conftest.err`
10089
11294
$rm conftest*
10090
11295
 
10091
11296
ac_outfile=conftest.$ac_objext
10092
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11297
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10093
11298
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10094
11299
_lt_linker_boilerplate=`cat conftest.err`
10095
11300
$rm conftest*
10139
11344
  # Set up default GNU C++ configuration
10140
11345
 
10141
11346
 
10142
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11347
# Check whether --with-gnu-ld was given.
10143
11348
if test "${with_gnu_ld+set}" = set; then
10144
 
  withval="$with_gnu_ld"
10145
 
  test "$withval" = no || with_gnu_ld=yes
 
11349
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10146
11350
else
10147
11351
  with_gnu_ld=no
10148
 
fi;
 
11352
fi
 
11353
 
10149
11354
ac_prog=ld
10150
11355
if test "$GCC" = yes; then
10151
11356
  # Check if gcc -print-prog-name=ld gives a path.
10152
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10153
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11357
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11358
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10154
11359
  case $host in
10155
11360
  *-*-mingw*)
10156
11361
    # gcc leaves a trailing carriage return which upsets mingw
10179
11384
    ;;
10180
11385
  esac
10181
11386
elif test "$with_gnu_ld" = yes; then
10182
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10183
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11387
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11388
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10184
11389
else
10185
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10186
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11390
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11391
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10187
11392
fi
10188
11393
if test "${lt_cv_path_LD+set}" = set; then
10189
11394
  echo $ECHO_N "(cached) $ECHO_C" >&6
10216
11421
 
10217
11422
LD="$lt_cv_path_LD"
10218
11423
if test -n "$LD"; then
10219
 
  echo "$as_me:$LINENO: result: $LD" >&5
10220
 
echo "${ECHO_T}$LD" >&6
 
11424
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11425
echo "${ECHO_T}$LD" >&6; }
10221
11426
else
10222
 
  echo "$as_me:$LINENO: result: no" >&5
10223
 
echo "${ECHO_T}no" >&6
 
11427
  { echo "$as_me:$LINENO: result: no" >&5
 
11428
echo "${ECHO_T}no" >&6; }
10224
11429
fi
10225
11430
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10226
11431
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10227
11432
   { (exit 1); exit 1; }; }
10228
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10229
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11433
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11434
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10230
11435
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10231
11436
  echo $ECHO_N "(cached) $ECHO_C" >&6
10232
11437
else
10240
11445
  ;;
10241
11446
esac
10242
11447
fi
10243
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10244
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11448
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11449
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10245
11450
with_gnu_ld=$lt_cv_prog_gnu_ld
10246
11451
 
10247
11452
 
10291
11496
fi
10292
11497
 
10293
11498
# PORTME: fill in a description of your system's C++ link characteristics
10294
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10295
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11499
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11500
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10296
11501
ld_shlibs_CXX=yes
10297
11502
case $host_os in
10298
11503
  aix3*)
10348
11553
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10349
11554
        then
10350
11555
          # We have reworked collect2
10351
 
          hardcode_direct_CXX=yes
 
11556
          :
10352
11557
        else
10353
11558
          # We have old collect2
10354
11559
          hardcode_direct_CXX=unsupported
10404
11609
}
10405
11610
_ACEOF
10406
11611
rm -f conftest.$ac_objext conftest$ac_exeext
10407
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10408
 
  (eval $ac_link) 2>conftest.er1
 
11612
if { (ac_try="$ac_link"
 
11613
case "(($ac_try" in
 
11614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11615
  *) ac_try_echo=$ac_try;;
 
11616
esac
 
11617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11618
  (eval "$ac_link") 2>conftest.er1
10409
11619
  ac_status=$?
10410
11620
  grep -v '^ *+' conftest.er1 >conftest.err
10411
11621
  rm -f conftest.er1
10412
11622
  cat conftest.err >&5
10413
11623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414
 
  (exit $ac_status); } &&
10415
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417
 
  (eval $ac_try) 2>&5
10418
 
  ac_status=$?
10419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420
 
  (exit $ac_status); }; } &&
10421
 
         { ac_try='test -s conftest$ac_exeext'
10422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423
 
  (eval $ac_try) 2>&5
10424
 
  ac_status=$?
10425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426
 
  (exit $ac_status); }; }; then
 
11624
  (exit $ac_status); } && {
 
11625
         test -z "$ac_cxx_werror_flag" ||
 
11626
         test ! -s conftest.err
 
11627
       } && test -s conftest$ac_exeext &&
 
11628
       $as_test_x conftest$ac_exeext; then
10427
11629
 
10428
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10429
 
}'`
 
11630
lt_aix_libpath_sed='
 
11631
    /Import File Strings/,/^$/ {
 
11632
        /^0/ {
 
11633
            s/^0  *\(.*\)$/\1/
 
11634
            p
 
11635
        }
 
11636
    }'
 
11637
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10430
11638
# Check for a 64-bit object if we didn't find anything.
10431
 
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; }
10432
 
}'`; fi
 
11639
if test -z "$aix_libpath"; then
 
11640
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11641
fi
10433
11642
else
10434
11643
  echo "$as_me: failed program was:" >&5
10435
11644
sed 's/^/| /' conftest.$ac_ext >&5
10436
11645
 
 
11646
 
10437
11647
fi
10438
 
rm -f conftest.err conftest.$ac_objext \
 
11648
 
 
11649
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10439
11650
      conftest$ac_exeext conftest.$ac_ext
10440
11651
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10441
11652
 
10465
11676
}
10466
11677
_ACEOF
10467
11678
rm -f conftest.$ac_objext conftest$ac_exeext
10468
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10469
 
  (eval $ac_link) 2>conftest.er1
 
11679
if { (ac_try="$ac_link"
 
11680
case "(($ac_try" in
 
11681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11682
  *) ac_try_echo=$ac_try;;
 
11683
esac
 
11684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11685
  (eval "$ac_link") 2>conftest.er1
10470
11686
  ac_status=$?
10471
11687
  grep -v '^ *+' conftest.er1 >conftest.err
10472
11688
  rm -f conftest.er1
10473
11689
  cat conftest.err >&5
10474
11690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475
 
  (exit $ac_status); } &&
10476
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10477
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478
 
  (eval $ac_try) 2>&5
10479
 
  ac_status=$?
10480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481
 
  (exit $ac_status); }; } &&
10482
 
         { ac_try='test -s conftest$ac_exeext'
10483
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484
 
  (eval $ac_try) 2>&5
10485
 
  ac_status=$?
10486
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487
 
  (exit $ac_status); }; }; then
 
11691
  (exit $ac_status); } && {
 
11692
         test -z "$ac_cxx_werror_flag" ||
 
11693
         test ! -s conftest.err
 
11694
       } && test -s conftest$ac_exeext &&
 
11695
       $as_test_x conftest$ac_exeext; then
10488
11696
 
10489
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10490
 
}'`
 
11697
lt_aix_libpath_sed='
 
11698
    /Import File Strings/,/^$/ {
 
11699
        /^0/ {
 
11700
            s/^0  *\(.*\)$/\1/
 
11701
            p
 
11702
        }
 
11703
    }'
 
11704
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10491
11705
# Check for a 64-bit object if we didn't find anything.
10492
 
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; }
10493
 
}'`; fi
 
11706
if test -z "$aix_libpath"; then
 
11707
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11708
fi
10494
11709
else
10495
11710
  echo "$as_me: failed program was:" >&5
10496
11711
sed 's/^/| /' conftest.$ac_ext >&5
10497
11712
 
 
11713
 
10498
11714
fi
10499
 
rm -f conftest.err conftest.$ac_objext \
 
11715
 
 
11716
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10500
11717
      conftest$ac_exeext conftest.$ac_ext
10501
11718
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10502
11719
 
10607
11824
      case $cc_basename in
10608
11825
        xlc*)
10609
11826
         output_verbose_link_cmd='echo'
10610
 
          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'
 
11827
          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'
10611
11828
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10612
11829
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10613
 
          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}'
 
11830
          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}'
10614
11831
          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}'
10615
11832
          ;;
10616
11833
       *)
10644
11861
  freebsd-elf*)
10645
11862
    archive_cmds_need_lc_CXX=no
10646
11863
    ;;
10647
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11864
  freebsd* | dragonfly*)
10648
11865
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10649
11866
    # conventions
10650
11867
    ld_shlibs_CXX=yes
10693
11910
      hardcode_libdir_separator_CXX=:
10694
11911
 
10695
11912
      case $host_cpu in
10696
 
      hppa*64*|ia64*)
10697
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10698
 
        ;;
 
11913
      hppa*64*|ia64*) ;;
10699
11914
      *)
10700
11915
        export_dynamic_flag_spec_CXX='${wl}-E'
10701
11916
        ;;
10763
11978
        ;;
10764
11979
    esac
10765
11980
    ;;
10766
 
  interix3*)
 
11981
  interix[3-9]*)
10767
11982
    hardcode_direct_CXX=no
10768
11983
    hardcode_shlibpath_var_CXX=no
10769
11984
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10803
12018
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10804
12019
    hardcode_libdir_separator_CXX=:
10805
12020
    ;;
10806
 
  linux*)
 
12021
  linux* | k*bsd*-gnu)
10807
12022
    case $cc_basename in
10808
12023
      KCC*)
10809
12024
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10883
12098
        # dependencies.
10884
12099
        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'
10885
12100
        ;;
 
12101
      *)
 
12102
        case `$CC -V 2>&1 | sed 5q` in
 
12103
        *Sun\ C*)
 
12104
          # Sun C++ 5.9
 
12105
          no_undefined_flag_CXX=' -zdefs'
 
12106
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12107
          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'
 
12108
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12109
          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'
 
12110
 
 
12111
          # Not sure whether something based on
 
12112
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12113
          # would be better.
 
12114
          output_verbose_link_cmd='echo'
 
12115
 
 
12116
          # Archives containing C++ object files must be created using
 
12117
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12118
          # necessary to make sure instantiated templates are included
 
12119
          # in the archive.
 
12120
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12121
          ;;
 
12122
        esac
 
12123
        ;;
10886
12124
    esac
10887
12125
    ;;
10888
12126
  lynxos*)
10905
12143
        ;;
10906
12144
    esac
10907
12145
    ;;
10908
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12146
  netbsd* | netbsdelf*-gnu)
10909
12147
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10910
12148
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10911
12149
      wlarc=
10921
12159
    ld_shlibs_CXX=no
10922
12160
    ;;
10923
12161
  openbsd*)
10924
 
    hardcode_direct_CXX=yes
10925
 
    hardcode_shlibpath_var_CXX=no
10926
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10927
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10928
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10929
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10930
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10931
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12162
    if test -f /usr/libexec/ld.so; then
 
12163
      hardcode_direct_CXX=yes
 
12164
      hardcode_shlibpath_var_CXX=no
 
12165
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12166
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12167
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12168
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12169
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12170
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12171
      fi
 
12172
      output_verbose_link_cmd='echo'
 
12173
    else
 
12174
      ld_shlibs_CXX=no
10932
12175
    fi
10933
 
    output_verbose_link_cmd='echo'
10934
12176
    ;;
10935
12177
  osf3*)
10936
12178
    case $cc_basename in
11092
12334
        case $host_os in
11093
12335
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11094
12336
          *)
11095
 
            # The C++ compiler is used as linker so we must use $wl
11096
 
            # flag to pass the commands to the underlying system
11097
 
            # linker. We must also pass each convience library through
11098
 
            # to the system linker between allextract/defaultextract.
11099
 
            # The C++ compiler will combine linker options so we
11100
 
            # cannot just pass the convience library names through
11101
 
            # without $wl.
 
12337
            # The compiler driver will combine and reorder linker options,
 
12338
            # but understands `-z linker_flag'.
11102
12339
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11103
 
            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'
 
12340
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11104
12341
            ;;
11105
12342
        esac
11106
12343
        link_all_deplibs_CXX=yes
11147
12384
          fi
11148
12385
 
11149
12386
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12387
          case $host_os in
 
12388
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12389
          *)
 
12390
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12391
            ;;
 
12392
          esac
11150
12393
        fi
11151
12394
        ;;
11152
12395
    esac
11227
12470
    ld_shlibs_CXX=no
11228
12471
    ;;
11229
12472
esac
11230
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11231
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12473
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12474
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11232
12475
test "$ld_shlibs_CXX" = no && can_build_shared=no
11233
12476
 
11234
12477
GCC_CXX="$GXX"
11338
12581
 
11339
12582
# PORTME: override above test on systems where it is broken
11340
12583
case $host_os in
11341
 
interix3*)
 
12584
interix[3-9]*)
11342
12585
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11343
12586
  # hack all around it, let's just trust "g++" to DTRT.
11344
12587
  predep_objects_CXX=
11346
12589
  postdeps_CXX=
11347
12590
  ;;
11348
12591
 
 
12592
linux*)
 
12593
  case `$CC -V 2>&1 | sed 5q` in
 
12594
  *Sun\ C*)
 
12595
    # Sun C++ 5.9
 
12596
    #
 
12597
    # The more standards-conforming stlport4 library is
 
12598
    # incompatible with the Cstd library. Avoid specifying
 
12599
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12600
    # -library=stlport4 depends on it.
 
12601
    case " $CXX $CXXFLAGS " in
 
12602
    *" -library=stlport4 "*)
 
12603
      solaris_use_stlport4=yes
 
12604
      ;;
 
12605
    esac
 
12606
    if test "$solaris_use_stlport4" != yes; then
 
12607
      postdeps_CXX='-library=Cstd -library=Crun'
 
12608
    fi
 
12609
    ;;
 
12610
  esac
 
12611
  ;;
 
12612
 
11349
12613
solaris*)
11350
12614
  case $cc_basename in
11351
12615
  CC*)
 
12616
    # The more standards-conforming stlport4 library is
 
12617
    # incompatible with the Cstd library. Avoid specifying
 
12618
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12619
    # -library=stlport4 depends on it.
 
12620
    case " $CXX $CXXFLAGS " in
 
12621
    *" -library=stlport4 "*)
 
12622
      solaris_use_stlport4=yes
 
12623
      ;;
 
12624
    esac
 
12625
 
11352
12626
    # Adding this requires a known-good setup of shared libraries for
11353
12627
    # Sun compiler versions before 5.6, else PIC objects from an old
11354
12628
    # archive will be linked into the output, leading to subtle bugs.
11355
 
    postdeps_CXX='-lCstd -lCrun'
 
12629
    if test "$solaris_use_stlport4" != yes; then
 
12630
      postdeps_CXX='-library=Cstd -library=Crun'
 
12631
    fi
11356
12632
    ;;
11357
12633
  esac
11358
12634
  ;;
11367
12643
lt_prog_compiler_pic_CXX=
11368
12644
lt_prog_compiler_static_CXX=
11369
12645
 
11370
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11371
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12646
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12647
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11372
12648
 
11373
12649
  # C++ specific cases for pic, static, wl, etc.
11374
12650
  if test "$GXX" = yes; then
11389
12665
      # like `-m68040'.
11390
12666
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11391
12667
      ;;
11392
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12668
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11393
12669
      # PIC is the default for these OSes.
11394
12670
      ;;
11395
 
    mingw* | os2* | pw32*)
 
12671
    mingw* | cygwin* | os2* | pw32*)
11396
12672
      # This hack is so that the source file can tell whether it is being
11397
12673
      # built for inclusion in a dll (and should export symbols for example).
 
12674
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12675
      # (--disable-auto-import) libraries
11398
12676
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11399
12677
      ;;
11400
12678
    darwin* | rhapsody*)
11406
12684
      # DJGPP does not support shared libraries at all
11407
12685
      lt_prog_compiler_pic_CXX=
11408
12686
      ;;
11409
 
    interix3*)
 
12687
    interix[3-9]*)
11410
12688
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11411
12689
      # Instead, we relocate shared libraries at runtime.
11412
12690
      ;;
11472
12750
            ;;
11473
12751
        esac
11474
12752
        ;;
11475
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12753
      freebsd* | dragonfly*)
11476
12754
        # FreeBSD uses GNU C++
11477
12755
        ;;
11478
12756
      hpux9* | hpux10* | hpux11*)
11515
12793
            ;;
11516
12794
        esac
11517
12795
        ;;
11518
 
      linux*)
 
12796
      linux* | k*bsd*-gnu)
11519
12797
        case $cc_basename in
11520
12798
          KCC*)
11521
12799
            # KAI C++ Compiler
11542
12820
            lt_prog_compiler_static_CXX='-non_shared'
11543
12821
            ;;
11544
12822
          *)
 
12823
            case `$CC -V 2>&1 | sed 5q` in
 
12824
            *Sun\ C*)
 
12825
              # Sun C++ 5.9
 
12826
              lt_prog_compiler_pic_CXX='-KPIC'
 
12827
              lt_prog_compiler_static_CXX='-Bstatic'
 
12828
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12829
              ;;
 
12830
            esac
11545
12831
            ;;
11546
12832
        esac
11547
12833
        ;;
11558
12844
            ;;
11559
12845
        esac
11560
12846
        ;;
11561
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12847
      netbsd* | netbsdelf*-gnu)
11562
12848
        ;;
11563
12849
      osf3* | osf4* | osf5*)
11564
12850
        case $cc_basename in
11641
12927
    esac
11642
12928
  fi
11643
12929
 
11644
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11645
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12930
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12931
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11646
12932
 
11647
12933
#
11648
12934
# Check to make sure the PIC flag actually works.
11649
12935
#
11650
12936
if test -n "$lt_prog_compiler_pic_CXX"; then
11651
12937
 
11652
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11653
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12938
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12939
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11654
12940
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11655
12941
  echo $ECHO_N "(cached) $ECHO_C" >&6
11656
12942
else
11657
12943
  lt_prog_compiler_pic_works_CXX=no
11658
12944
  ac_outfile=conftest.$ac_objext
11659
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12945
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11660
12946
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11661
12947
   # Insert the option either (1) after the last *FLAGS variable, or
11662
12948
   # (2) before a word containing "conftest.", or (3) at the end.
11667
12953
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11668
12954
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11669
12955
   -e 's:$: $lt_compiler_flag:'`
11670
 
   (eval echo "\"\$as_me:11670: $lt_compile\"" >&5)
 
12956
   (eval echo "\"\$as_me:12956: $lt_compile\"" >&5)
11671
12957
   (eval "$lt_compile" 2>conftest.err)
11672
12958
   ac_status=$?
11673
12959
   cat conftest.err >&5
11674
 
   echo "$as_me:11674: \$? = $ac_status" >&5
 
12960
   echo "$as_me:12960: \$? = $ac_status" >&5
11675
12961
   if (exit $ac_status) && test -s "$ac_outfile"; then
11676
12962
     # The compiler can only warn and ignore the option if not recognized
11677
12963
     # So say no if there are warnings other than the usual output.
11684
12970
   $rm conftest*
11685
12971
 
11686
12972
fi
11687
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11688
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12973
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12974
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11689
12975
 
11690
12976
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11691
12977
    case $lt_prog_compiler_pic_CXX in
11712
12998
# Check to make sure the static flag actually works.
11713
12999
#
11714
13000
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11715
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11716
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
13001
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13002
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11717
13003
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11718
13004
  echo $ECHO_N "(cached) $ECHO_C" >&6
11719
13005
else
11720
13006
  lt_prog_compiler_static_works_CXX=no
11721
13007
   save_LDFLAGS="$LDFLAGS"
11722
13008
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11723
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13009
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11724
13010
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11725
13011
     # The linker can only warn and ignore the option if not recognized
11726
13012
     # So say no if there are warnings
11740
13026
   LDFLAGS="$save_LDFLAGS"
11741
13027
 
11742
13028
fi
11743
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11744
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
13029
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
13030
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11745
13031
 
11746
13032
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11747
13033
    :
11750
13036
fi
11751
13037
 
11752
13038
 
11753
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11754
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13039
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13040
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11755
13041
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11756
13042
  echo $ECHO_N "(cached) $ECHO_C" >&6
11757
13043
else
11760
13046
   mkdir conftest
11761
13047
   cd conftest
11762
13048
   mkdir out
11763
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13049
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11764
13050
 
11765
13051
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11766
13052
   # Insert the option either (1) after the last *FLAGS variable, or
11771
13057
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11772
13058
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11773
13059
   -e 's:$: $lt_compiler_flag:'`
11774
 
   (eval echo "\"\$as_me:11774: $lt_compile\"" >&5)
 
13060
   (eval echo "\"\$as_me:13060: $lt_compile\"" >&5)
11775
13061
   (eval "$lt_compile" 2>out/conftest.err)
11776
13062
   ac_status=$?
11777
13063
   cat out/conftest.err >&5
11778
 
   echo "$as_me:11778: \$? = $ac_status" >&5
 
13064
   echo "$as_me:13064: \$? = $ac_status" >&5
11779
13065
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11780
13066
   then
11781
13067
     # The compiler can only warn and ignore the option if not recognized
11797
13083
   $rm conftest*
11798
13084
 
11799
13085
fi
11800
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11801
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13086
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13087
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11802
13088
 
11803
13089
 
11804
13090
hard_links="nottested"
11805
13091
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11806
13092
  # do not overwrite the value of need_locks provided by the user
11807
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11808
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13093
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13094
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11809
13095
  hard_links=yes
11810
13096
  $rm conftest*
11811
13097
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11812
13098
  touch conftest.a
11813
13099
  ln conftest.a conftest.b 2>&5 || hard_links=no
11814
13100
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11815
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11816
 
echo "${ECHO_T}$hard_links" >&6
 
13101
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13102
echo "${ECHO_T}$hard_links" >&6; }
11817
13103
  if test "$hard_links" = no; then
11818
13104
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11819
13105
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11823
13109
  need_locks=no
11824
13110
fi
11825
13111
 
11826
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11827
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13112
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13113
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11828
13114
 
11829
13115
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11830
13116
  case $host_os in
11841
13127
    export_symbols_cmds_CXX="$ltdll_cmds"
11842
13128
  ;;
11843
13129
  cygwin* | mingw*)
11844
 
    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'
11845
 
  ;;
11846
 
  kfreebsd*-gnu)
11847
 
    link_all_deplibs_CXX=no
11848
 
  ;;
11849
 
  linux*)
 
13130
    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'
 
13131
  ;;
 
13132
  linux* | k*bsd*-gnu)
11850
13133
    link_all_deplibs_CXX=no
11851
13134
  ;;
11852
13135
  *)
11854
13137
  ;;
11855
13138
  esac
11856
13139
 
11857
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11858
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13140
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13141
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11859
13142
test "$ld_shlibs_CXX" = no && can_build_shared=no
11860
13143
 
11861
13144
#
11875
13158
      # Test whether the compiler implicitly links with -lc since on some
11876
13159
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11877
13160
      # to ld, don't add -lc before -lgcc.
11878
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11879
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13161
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13162
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11880
13163
      $rm conftest*
11881
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13164
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11882
13165
 
11883
13166
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11884
13167
  (eval $ac_compile) 2>&5
11913
13196
        cat conftest.err 1>&5
11914
13197
      fi
11915
13198
      $rm conftest*
11916
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11917
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13199
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13200
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11918
13201
      ;;
11919
13202
    esac
11920
13203
  fi
11921
13204
  ;;
11922
13205
esac
11923
13206
 
11924
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11925
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13207
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13208
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11926
13209
library_names_spec=
11927
13210
libname_spec='lib$name'
11928
13211
soname_spec=
11936
13219
version_type=none
11937
13220
dynamic_linker="$host_os ld.so"
11938
13221
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11939
 
if test "$GCC" = yes; then
11940
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11941
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11942
 
    # if the path contains ";" then we assume it to be the separator
11943
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11944
 
    # assumed that no part of a normal pathname contains ";" but that should
11945
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11946
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11947
 
  else
11948
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11949
 
  fi
11950
 
else
11951
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11952
 
fi
 
13222
 
11953
13223
need_lib_prefix=unknown
11954
13224
hardcode_into_libs=no
11955
13225
 
12106
13376
  shlibpath_overrides_runpath=yes
12107
13377
  shlibpath_var=DYLD_LIBRARY_PATH
12108
13378
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12109
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12110
 
  if test "$GCC" = yes; then
12111
 
    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"`
12112
 
  else
12113
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12114
 
  fi
 
13379
 
12115
13380
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12116
13381
  ;;
12117
13382
 
12128
13393
  dynamic_linker=no
12129
13394
  ;;
12130
13395
 
12131
 
kfreebsd*-gnu)
12132
 
  version_type=linux
12133
 
  need_lib_prefix=no
12134
 
  need_version=no
12135
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12136
 
  soname_spec='${libname}${release}${shared_ext}$major'
12137
 
  shlibpath_var=LD_LIBRARY_PATH
12138
 
  shlibpath_overrides_runpath=no
12139
 
  hardcode_into_libs=yes
12140
 
  dynamic_linker='GNU ld.so'
12141
 
  ;;
12142
 
 
12143
13396
freebsd* | dragonfly*)
12144
13397
  # DragonFly does not have aout.  When/if they implement a new
12145
13398
  # versioning mechanism, adjust this.
12177
13430
    shlibpath_overrides_runpath=no
12178
13431
    hardcode_into_libs=yes
12179
13432
    ;;
12180
 
  freebsd*) # from 4.6 on
 
13433
  *) # from 4.6 on, and DragonFly
12181
13434
    shlibpath_overrides_runpath=yes
12182
13435
    hardcode_into_libs=yes
12183
13436
    ;;
12240
13493
  postinstall_cmds='chmod 555 $lib'
12241
13494
  ;;
12242
13495
 
12243
 
interix3*)
 
13496
interix[3-9]*)
12244
13497
  version_type=linux
12245
13498
  need_lib_prefix=no
12246
13499
  need_version=no
12295
13548
  ;;
12296
13549
 
12297
13550
# This must be Linux ELF.
12298
 
linux*)
 
13551
linux* | k*bsd*-gnu)
12299
13552
  version_type=linux
12300
13553
  need_lib_prefix=no
12301
13554
  need_version=no
12311
13564
 
12312
13565
  # Append ld.so.conf contents to the search path
12313
13566
  if test -f /etc/ld.so.conf; then
12314
 
    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' ' '`
 
13567
    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' ' '`
12315
13568
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12316
13569
  fi
12317
13570
 
12336
13589
  dynamic_linker='NetBSD ld.elf_so'
12337
13590
  ;;
12338
13591
 
12339
 
knetbsd*-gnu)
12340
 
  version_type=linux
12341
 
  need_lib_prefix=no
12342
 
  need_version=no
12343
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12344
 
  soname_spec='${libname}${release}${shared_ext}$major'
12345
 
  shlibpath_var=LD_LIBRARY_PATH
12346
 
  shlibpath_overrides_runpath=no
12347
 
  hardcode_into_libs=yes
12348
 
  dynamic_linker='GNU ld.so'
12349
 
  ;;
12350
 
 
12351
13592
netbsd*)
12352
13593
  version_type=sunos
12353
13594
  need_lib_prefix=no
12429
13670
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12430
13671
  ;;
12431
13672
 
 
13673
rdos*)
 
13674
  dynamic_linker=no
 
13675
  ;;
 
13676
 
12432
13677
solaris*)
12433
13678
  version_type=linux
12434
13679
  need_lib_prefix=no
12521
13766
  dynamic_linker=no
12522
13767
  ;;
12523
13768
esac
12524
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12525
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13769
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13770
echo "${ECHO_T}$dynamic_linker" >&6; }
12526
13771
test "$dynamic_linker" = no && can_build_shared=no
12527
13772
 
12528
13773
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12530
13775
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12531
13776
fi
12532
13777
 
12533
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12534
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13778
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13779
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12535
13780
hardcode_action_CXX=
12536
13781
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12537
13782
   test -n "$runpath_var_CXX" || \
12555
13800
  # directories.
12556
13801
  hardcode_action_CXX=unsupported
12557
13802
fi
12558
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12559
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13803
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13804
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12560
13805
 
12561
13806
if test "$hardcode_action_CXX" = relink; then
12562
13807
  # Fast installation is not supported
12623
13868
    module_cmds_CXX \
12624
13869
    module_expsym_cmds_CXX \
12625
13870
    lt_cv_prog_compiler_c_o_CXX \
 
13871
    fix_srcfile_path_CXX \
12626
13872
    exclude_expsyms_CXX \
12627
13873
    include_expsyms_CXX; do
12628
13874
 
12943
14189
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12944
14190
 
12945
14191
# Fix the shell variable \$srcfile for the compiler.
12946
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
14192
fix_srcfile_path=$lt_fix_srcfile_path
12947
14193
 
12948
14194
# Set to yes if exported symbols are required.
12949
14195
always_export_symbols=$always_export_symbols_CXX
13034
14280
objext_F77=$objext
13035
14281
 
13036
14282
# Code to be used in simple compile tests
13037
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14283
lt_simple_compile_test_code="\
 
14284
      subroutine t
 
14285
      return
 
14286
      end
 
14287
"
13038
14288
 
13039
14289
# Code to be used in simple link tests
13040
 
lt_simple_link_test_code="      program t\n      end\n"
 
14290
lt_simple_link_test_code="\
 
14291
      program t
 
14292
      end
 
14293
"
13041
14294
 
13042
14295
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13043
14296
 
13053
14306
 
13054
14307
# save warnings/boilerplate of simple test code
13055
14308
ac_outfile=conftest.$ac_objext
13056
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14309
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13057
14310
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13058
14311
_lt_compiler_boilerplate=`cat conftest.err`
13059
14312
$rm conftest*
13060
14313
 
13061
14314
ac_outfile=conftest.$ac_objext
13062
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14315
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13063
14316
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13064
14317
_lt_linker_boilerplate=`cat conftest.err`
13065
14318
$rm conftest*
13081
14334
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13082
14335
 
13083
14336
 
13084
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13085
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13086
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13087
 
echo "${ECHO_T}$can_build_shared" >&6
 
14337
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14338
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14339
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14340
echo "${ECHO_T}$can_build_shared" >&6; }
13088
14341
 
13089
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13090
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14342
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14343
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13091
14344
test "$can_build_shared" = "no" && enable_shared=no
13092
14345
 
13093
14346
# On AIX, shared libraries and static libraries use the same namespace, and
13106
14359
  fi
13107
14360
  ;;
13108
14361
esac
13109
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13110
 
echo "${ECHO_T}$enable_shared" >&6
 
14362
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14363
echo "${ECHO_T}$enable_shared" >&6; }
13111
14364
 
13112
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13113
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14365
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14366
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13114
14367
# Make sure either enable_shared or enable_static is yes.
13115
14368
test "$enable_shared" = yes || enable_static=yes
13116
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13117
 
echo "${ECHO_T}$enable_static" >&6
 
14369
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14370
echo "${ECHO_T}$enable_static" >&6; }
13118
14371
 
13119
14372
GCC_F77="$G77"
13120
14373
LD_F77="$LD"
13123
14376
lt_prog_compiler_pic_F77=
13124
14377
lt_prog_compiler_static_F77=
13125
14378
 
13126
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13127
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14379
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14380
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13128
14381
 
13129
14382
  if test "$GCC" = yes; then
13130
14383
    lt_prog_compiler_wl_F77='-Wl,'
13146
14399
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13147
14400
      ;;
13148
14401
 
13149
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14402
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13150
14403
      # PIC is the default for these OSes.
13151
14404
      ;;
13152
14405
 
13153
 
    mingw* | pw32* | os2*)
 
14406
    mingw* | cygwin* | pw32* | os2*)
13154
14407
      # This hack is so that the source file can tell whether it is being
13155
14408
      # built for inclusion in a dll (and should export symbols for example).
 
14409
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14410
      # (--disable-auto-import) libraries
13156
14411
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13157
14412
      ;;
13158
14413
 
13162
14417
      lt_prog_compiler_pic_F77='-fno-common'
13163
14418
      ;;
13164
14419
 
13165
 
    interix3*)
 
14420
    interix[3-9]*)
13166
14421
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13167
14422
      # Instead, we relocate shared libraries at runtime.
13168
14423
      ;;
13220
14475
       esac
13221
14476
       ;;
13222
14477
 
13223
 
    mingw* | pw32* | os2*)
 
14478
    mingw* | cygwin* | pw32* | os2*)
13224
14479
      # This hack is so that the source file can tell whether it is being
13225
14480
      # built for inclusion in a dll (and should export symbols for example).
13226
14481
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13253
14508
      lt_prog_compiler_static_F77='-Bstatic'
13254
14509
      ;;
13255
14510
 
13256
 
    linux*)
 
14511
    linux* | k*bsd*-gnu)
13257
14512
      case $cc_basename in
13258
14513
      icc* | ecc*)
13259
14514
        lt_prog_compiler_wl_F77='-Wl,'
13272
14527
        # All Alpha code is PIC.
13273
14528
        lt_prog_compiler_static_F77='-non_shared'
13274
14529
        ;;
 
14530
      *)
 
14531
        case `$CC -V 2>&1 | sed 5q` in
 
14532
        *Sun\ C*)
 
14533
          # Sun C 5.9
 
14534
          lt_prog_compiler_pic_F77='-KPIC'
 
14535
          lt_prog_compiler_static_F77='-Bstatic'
 
14536
          lt_prog_compiler_wl_F77='-Wl,'
 
14537
          ;;
 
14538
        *Sun\ F*)
 
14539
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14540
          lt_prog_compiler_pic_F77='-KPIC'
 
14541
          lt_prog_compiler_static_F77='-Bstatic'
 
14542
          lt_prog_compiler_wl_F77=''
 
14543
          ;;
 
14544
        esac
 
14545
        ;;
13275
14546
      esac
13276
14547
      ;;
13277
14548
 
13281
14552
      lt_prog_compiler_static_F77='-non_shared'
13282
14553
      ;;
13283
14554
 
 
14555
    rdos*)
 
14556
      lt_prog_compiler_static_F77='-non_shared'
 
14557
      ;;
 
14558
 
13284
14559
    solaris*)
13285
14560
      lt_prog_compiler_pic_F77='-KPIC'
13286
14561
      lt_prog_compiler_static_F77='-Bstatic'
13333
14608
    esac
13334
14609
  fi
13335
14610
 
13336
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13337
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14611
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14612
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13338
14613
 
13339
14614
#
13340
14615
# Check to make sure the PIC flag actually works.
13341
14616
#
13342
14617
if test -n "$lt_prog_compiler_pic_F77"; then
13343
14618
 
13344
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13345
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14619
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14620
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13346
14621
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13347
14622
  echo $ECHO_N "(cached) $ECHO_C" >&6
13348
14623
else
13349
14624
  lt_prog_compiler_pic_works_F77=no
13350
14625
  ac_outfile=conftest.$ac_objext
13351
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14626
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13352
14627
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13353
14628
   # Insert the option either (1) after the last *FLAGS variable, or
13354
14629
   # (2) before a word containing "conftest.", or (3) at the end.
13359
14634
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13360
14635
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13361
14636
   -e 's:$: $lt_compiler_flag:'`
13362
 
   (eval echo "\"\$as_me:13362: $lt_compile\"" >&5)
 
14637
   (eval echo "\"\$as_me:14637: $lt_compile\"" >&5)
13363
14638
   (eval "$lt_compile" 2>conftest.err)
13364
14639
   ac_status=$?
13365
14640
   cat conftest.err >&5
13366
 
   echo "$as_me:13366: \$? = $ac_status" >&5
 
14641
   echo "$as_me:14641: \$? = $ac_status" >&5
13367
14642
   if (exit $ac_status) && test -s "$ac_outfile"; then
13368
14643
     # The compiler can only warn and ignore the option if not recognized
13369
14644
     # So say no if there are warnings other than the usual output.
13376
14651
   $rm conftest*
13377
14652
 
13378
14653
fi
13379
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13380
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14654
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14655
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13381
14656
 
13382
14657
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13383
14658
    case $lt_prog_compiler_pic_F77 in
13404
14679
# Check to make sure the static flag actually works.
13405
14680
#
13406
14681
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13407
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13408
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
14682
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14683
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13409
14684
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13410
14685
  echo $ECHO_N "(cached) $ECHO_C" >&6
13411
14686
else
13412
14687
  lt_prog_compiler_static_works_F77=no
13413
14688
   save_LDFLAGS="$LDFLAGS"
13414
14689
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13415
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14690
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13416
14691
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13417
14692
     # The linker can only warn and ignore the option if not recognized
13418
14693
     # So say no if there are warnings
13432
14707
   LDFLAGS="$save_LDFLAGS"
13433
14708
 
13434
14709
fi
13435
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13436
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14710
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14711
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13437
14712
 
13438
14713
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13439
14714
    :
13442
14717
fi
13443
14718
 
13444
14719
 
13445
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13446
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14720
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14721
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13447
14722
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13448
14723
  echo $ECHO_N "(cached) $ECHO_C" >&6
13449
14724
else
13452
14727
   mkdir conftest
13453
14728
   cd conftest
13454
14729
   mkdir out
13455
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14730
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13456
14731
 
13457
14732
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13458
14733
   # Insert the option either (1) after the last *FLAGS variable, or
13463
14738
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13464
14739
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13465
14740
   -e 's:$: $lt_compiler_flag:'`
13466
 
   (eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
 
14741
   (eval echo "\"\$as_me:14741: $lt_compile\"" >&5)
13467
14742
   (eval "$lt_compile" 2>out/conftest.err)
13468
14743
   ac_status=$?
13469
14744
   cat out/conftest.err >&5
13470
 
   echo "$as_me:13470: \$? = $ac_status" >&5
 
14745
   echo "$as_me:14745: \$? = $ac_status" >&5
13471
14746
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13472
14747
   then
13473
14748
     # The compiler can only warn and ignore the option if not recognized
13489
14764
   $rm conftest*
13490
14765
 
13491
14766
fi
13492
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13493
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14767
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14768
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13494
14769
 
13495
14770
 
13496
14771
hard_links="nottested"
13497
14772
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13498
14773
  # do not overwrite the value of need_locks provided by the user
13499
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13500
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14774
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14775
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13501
14776
  hard_links=yes
13502
14777
  $rm conftest*
13503
14778
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13504
14779
  touch conftest.a
13505
14780
  ln conftest.a conftest.b 2>&5 || hard_links=no
13506
14781
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13507
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13508
 
echo "${ECHO_T}$hard_links" >&6
 
14782
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14783
echo "${ECHO_T}$hard_links" >&6; }
13509
14784
  if test "$hard_links" = no; then
13510
14785
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13511
14786
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13515
14790
  need_locks=no
13516
14791
fi
13517
14792
 
13518
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13519
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14793
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14794
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13520
14795
 
13521
14796
  runpath_var=
13522
14797
  allow_undefined_flag_F77=
13659
14934
      allow_undefined_flag_F77=unsupported
13660
14935
      always_export_symbols_F77=no
13661
14936
      enable_shared_with_static_runtimes_F77=yes
13662
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14937
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13663
14938
 
13664
14939
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13665
14940
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13677
14952
      fi
13678
14953
      ;;
13679
14954
 
13680
 
    interix3*)
 
14955
    interix[3-9]*)
13681
14956
      hardcode_direct_F77=no
13682
14957
      hardcode_shlibpath_var_F77=no
13683
14958
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13692
14967
      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'
13693
14968
      ;;
13694
14969
 
13695
 
    linux*)
 
14970
    gnu* | linux* | k*bsd*-gnu)
13696
14971
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13697
14972
        tmp_addflag=
13698
14973
        case $cc_basename,$host_cpu in
13710
14985
        ifc* | ifort*)                  # Intel Fortran compiler
13711
14986
          tmp_addflag=' -nofor_main' ;;
13712
14987
        esac
13713
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14988
        case `$CC -V 2>&1 | sed 5q` in
 
14989
        *Sun\ C*)                       # Sun C 5.9
 
14990
          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'
 
14991
          tmp_sharedflag='-G' ;;
 
14992
        *Sun\ F*)                       # Sun Fortran 8.3
 
14993
          tmp_sharedflag='-G' ;;
 
14994
        *)
 
14995
          tmp_sharedflag='-shared' ;;
 
14996
        esac
 
14997
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13714
14998
 
13715
14999
        if test $supports_anon_versioning = yes; then
13716
15000
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13717
15001
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13718
15002
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13719
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15003
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13720
15004
        fi
13721
15005
        link_all_deplibs_F77=no
13722
15006
      else
13724
15008
      fi
13725
15009
      ;;
13726
15010
 
13727
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15011
    netbsd* | netbsdelf*-gnu)
13728
15012
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13729
15013
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13730
15014
        wlarc=
13876
15160
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13877
15161
          then
13878
15162
          # We have reworked collect2
13879
 
          hardcode_direct_F77=yes
 
15163
          :
13880
15164
          else
13881
15165
          # We have old collect2
13882
15166
          hardcode_direct_F77=unsupported
13922
15206
      end
13923
15207
_ACEOF
13924
15208
rm -f conftest.$ac_objext conftest$ac_exeext
13925
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13926
 
  (eval $ac_link) 2>conftest.er1
 
15209
if { (ac_try="$ac_link"
 
15210
case "(($ac_try" in
 
15211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15212
  *) ac_try_echo=$ac_try;;
 
15213
esac
 
15214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15215
  (eval "$ac_link") 2>conftest.er1
13927
15216
  ac_status=$?
13928
15217
  grep -v '^ *+' conftest.er1 >conftest.err
13929
15218
  rm -f conftest.er1
13930
15219
  cat conftest.err >&5
13931
15220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932
 
  (exit $ac_status); } &&
13933
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935
 
  (eval $ac_try) 2>&5
13936
 
  ac_status=$?
13937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938
 
  (exit $ac_status); }; } &&
13939
 
         { ac_try='test -s conftest$ac_exeext'
13940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13941
 
  (eval $ac_try) 2>&5
13942
 
  ac_status=$?
13943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944
 
  (exit $ac_status); }; }; then
 
15221
  (exit $ac_status); } && {
 
15222
         test -z "$ac_f77_werror_flag" ||
 
15223
         test ! -s conftest.err
 
15224
       } && test -s conftest$ac_exeext &&
 
15225
       $as_test_x conftest$ac_exeext; then
13945
15226
 
13946
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13947
 
}'`
 
15227
lt_aix_libpath_sed='
 
15228
    /Import File Strings/,/^$/ {
 
15229
        /^0/ {
 
15230
            s/^0  *\(.*\)$/\1/
 
15231
            p
 
15232
        }
 
15233
    }'
 
15234
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13948
15235
# Check for a 64-bit object if we didn't find anything.
13949
 
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; }
13950
 
}'`; fi
 
15236
if test -z "$aix_libpath"; then
 
15237
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15238
fi
13951
15239
else
13952
15240
  echo "$as_me: failed program was:" >&5
13953
15241
sed 's/^/| /' conftest.$ac_ext >&5
13954
15242
 
 
15243
 
13955
15244
fi
13956
 
rm -f conftest.err conftest.$ac_objext \
 
15245
 
 
15246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13957
15247
      conftest$ac_exeext conftest.$ac_ext
13958
15248
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13959
15249
 
13972
15262
      end
13973
15263
_ACEOF
13974
15264
rm -f conftest.$ac_objext conftest$ac_exeext
13975
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13976
 
  (eval $ac_link) 2>conftest.er1
 
15265
if { (ac_try="$ac_link"
 
15266
case "(($ac_try" in
 
15267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15268
  *) ac_try_echo=$ac_try;;
 
15269
esac
 
15270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15271
  (eval "$ac_link") 2>conftest.er1
13977
15272
  ac_status=$?
13978
15273
  grep -v '^ *+' conftest.er1 >conftest.err
13979
15274
  rm -f conftest.er1
13980
15275
  cat conftest.err >&5
13981
15276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982
 
  (exit $ac_status); } &&
13983
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13984
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985
 
  (eval $ac_try) 2>&5
13986
 
  ac_status=$?
13987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988
 
  (exit $ac_status); }; } &&
13989
 
         { ac_try='test -s conftest$ac_exeext'
13990
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991
 
  (eval $ac_try) 2>&5
13992
 
  ac_status=$?
13993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994
 
  (exit $ac_status); }; }; then
 
15277
  (exit $ac_status); } && {
 
15278
         test -z "$ac_f77_werror_flag" ||
 
15279
         test ! -s conftest.err
 
15280
       } && test -s conftest$ac_exeext &&
 
15281
       $as_test_x conftest$ac_exeext; then
13995
15282
 
13996
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13997
 
}'`
 
15283
lt_aix_libpath_sed='
 
15284
    /Import File Strings/,/^$/ {
 
15285
        /^0/ {
 
15286
            s/^0  *\(.*\)$/\1/
 
15287
            p
 
15288
        }
 
15289
    }'
 
15290
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13998
15291
# Check for a 64-bit object if we didn't find anything.
13999
 
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; }
14000
 
}'`; fi
 
15292
if test -z "$aix_libpath"; then
 
15293
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15294
fi
14001
15295
else
14002
15296
  echo "$as_me: failed program was:" >&5
14003
15297
sed 's/^/| /' conftest.$ac_ext >&5
14004
15298
 
 
15299
 
14005
15300
fi
14006
 
rm -f conftest.err conftest.$ac_objext \
 
15301
 
 
15302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14007
15303
      conftest$ac_exeext conftest.$ac_ext
14008
15304
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14009
15305
 
14049
15345
      # The linker will automatically build a .lib file if we build a DLL.
14050
15346
      old_archive_From_new_cmds_F77='true'
14051
15347
      # FIXME: Should let the user specify the lib program.
14052
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15348
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14053
15349
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14054
15350
      enable_shared_with_static_runtimes_F77=yes
14055
15351
      ;;
14091
15387
      case $cc_basename in
14092
15388
        xlc*)
14093
15389
         output_verbose_link_cmd='echo'
14094
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15390
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14095
15391
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14096
15392
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14097
 
         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}'
 
15393
         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}'
14098
15394
          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}'
14099
15395
          ;;
14100
15396
       *)
14141
15437
      hardcode_shlibpath_var_F77=no
14142
15438
      ;;
14143
15439
 
14144
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
14145
 
    kfreebsd*-gnu)
14146
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14147
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14148
 
      hardcode_direct_F77=yes
14149
 
      hardcode_shlibpath_var_F77=no
14150
 
      link_all_deplibs_F77=no
14151
 
      ;;
14152
 
 
14153
15440
    hpux9*)
14154
15441
      if test "$GCC" = yes; then
14155
15442
        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'
14245
15532
      link_all_deplibs_F77=yes
14246
15533
      ;;
14247
15534
 
14248
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15535
    netbsd* | netbsdelf*-gnu)
14249
15536
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14250
15537
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14251
15538
      else
14265
15552
      ;;
14266
15553
 
14267
15554
    openbsd*)
14268
 
      hardcode_direct_F77=yes
14269
 
      hardcode_shlibpath_var_F77=no
14270
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14271
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14272
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14273
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14274
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15555
      if test -f /usr/libexec/ld.so; then
 
15556
        hardcode_direct_F77=yes
 
15557
        hardcode_shlibpath_var_F77=no
 
15558
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15559
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15560
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15561
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15562
          export_dynamic_flag_spec_F77='${wl}-E'
 
15563
        else
 
15564
          case $host_os in
 
15565
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15566
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15567
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15568
             ;;
 
15569
           *)
 
15570
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15571
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15572
             ;;
 
15573
          esac
 
15574
        fi
14275
15575
      else
14276
 
       case $host_os in
14277
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14278
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14279
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14280
 
           ;;
14281
 
         *)
14282
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14283
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14284
 
           ;;
14285
 
       esac
 
15576
        ld_shlibs_F77=no
14286
15577
      fi
14287
15578
      ;;
14288
15579
 
14341
15632
      case $host_os in
14342
15633
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14343
15634
      *)
14344
 
        # The compiler driver will combine linker options so we
14345
 
        # cannot just pass the convience library names through
14346
 
        # without $wl, iff we do not link with $LD.
14347
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15635
        # The compiler driver will combine and reorder linker options,
 
15636
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15637
        # but is careful enough not to reorder.
14348
15638
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14349
 
        case $wlarc in
14350
 
        '')
14351
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14352
 
        *)
14353
 
          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' ;;
14354
 
        esac ;;
 
15639
        if test "$GCC" = yes; then
 
15640
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15641
        else
 
15642
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15643
        fi
 
15644
        ;;
14355
15645
      esac
14356
15646
      link_all_deplibs_F77=yes
14357
15647
      ;;
14408
15698
      fi
14409
15699
      ;;
14410
15700
 
14411
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15701
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14412
15702
      no_undefined_flag_F77='${wl}-z,text'
14413
15703
      archive_cmds_need_lc_F77=no
14414
15704
      hardcode_shlibpath_var_F77=no
14461
15751
    esac
14462
15752
  fi
14463
15753
 
14464
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14465
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15754
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15755
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14466
15756
test "$ld_shlibs_F77" = no && can_build_shared=no
14467
15757
 
14468
15758
#
14482
15772
      # Test whether the compiler implicitly links with -lc since on some
14483
15773
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14484
15774
      # to ld, don't add -lc before -lgcc.
14485
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14486
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15775
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15776
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14487
15777
      $rm conftest*
14488
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15778
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14489
15779
 
14490
15780
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14491
15781
  (eval $ac_compile) 2>&5
14520
15810
        cat conftest.err 1>&5
14521
15811
      fi
14522
15812
      $rm conftest*
14523
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14524
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15813
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15814
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14525
15815
      ;;
14526
15816
    esac
14527
15817
  fi
14528
15818
  ;;
14529
15819
esac
14530
15820
 
14531
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14532
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15821
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15822
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14533
15823
library_names_spec=
14534
15824
libname_spec='lib$name'
14535
15825
soname_spec=
14543
15833
version_type=none
14544
15834
dynamic_linker="$host_os ld.so"
14545
15835
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14546
 
if test "$GCC" = yes; then
14547
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14548
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14549
 
    # if the path contains ";" then we assume it to be the separator
14550
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14551
 
    # assumed that no part of a normal pathname contains ";" but that should
14552
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14553
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14554
 
  else
14555
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14556
 
  fi
14557
 
else
14558
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14559
 
fi
 
15836
 
14560
15837
need_lib_prefix=unknown
14561
15838
hardcode_into_libs=no
14562
15839
 
14713
15990
  shlibpath_overrides_runpath=yes
14714
15991
  shlibpath_var=DYLD_LIBRARY_PATH
14715
15992
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14716
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14717
 
  if test "$GCC" = yes; then
14718
 
    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"`
14719
 
  else
14720
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14721
 
  fi
 
15993
 
14722
15994
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14723
15995
  ;;
14724
15996
 
14735
16007
  dynamic_linker=no
14736
16008
  ;;
14737
16009
 
14738
 
kfreebsd*-gnu)
14739
 
  version_type=linux
14740
 
  need_lib_prefix=no
14741
 
  need_version=no
14742
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14743
 
  soname_spec='${libname}${release}${shared_ext}$major'
14744
 
  shlibpath_var=LD_LIBRARY_PATH
14745
 
  shlibpath_overrides_runpath=no
14746
 
  hardcode_into_libs=yes
14747
 
  dynamic_linker='GNU ld.so'
14748
 
  ;;
14749
 
 
14750
16010
freebsd* | dragonfly*)
14751
16011
  # DragonFly does not have aout.  When/if they implement a new
14752
16012
  # versioning mechanism, adjust this.
14784
16044
    shlibpath_overrides_runpath=no
14785
16045
    hardcode_into_libs=yes
14786
16046
    ;;
14787
 
  freebsd*) # from 4.6 on
 
16047
  *) # from 4.6 on, and DragonFly
14788
16048
    shlibpath_overrides_runpath=yes
14789
16049
    hardcode_into_libs=yes
14790
16050
    ;;
14847
16107
  postinstall_cmds='chmod 555 $lib'
14848
16108
  ;;
14849
16109
 
14850
 
interix3*)
 
16110
interix[3-9]*)
14851
16111
  version_type=linux
14852
16112
  need_lib_prefix=no
14853
16113
  need_version=no
14902
16162
  ;;
14903
16163
 
14904
16164
# This must be Linux ELF.
14905
 
linux*)
 
16165
linux* | k*bsd*-gnu)
14906
16166
  version_type=linux
14907
16167
  need_lib_prefix=no
14908
16168
  need_version=no
14918
16178
 
14919
16179
  # Append ld.so.conf contents to the search path
14920
16180
  if test -f /etc/ld.so.conf; then
14921
 
    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' ' '`
 
16181
    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' ' '`
14922
16182
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14923
16183
  fi
14924
16184
 
14943
16203
  dynamic_linker='NetBSD ld.elf_so'
14944
16204
  ;;
14945
16205
 
14946
 
knetbsd*-gnu)
14947
 
  version_type=linux
14948
 
  need_lib_prefix=no
14949
 
  need_version=no
14950
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14951
 
  soname_spec='${libname}${release}${shared_ext}$major'
14952
 
  shlibpath_var=LD_LIBRARY_PATH
14953
 
  shlibpath_overrides_runpath=no
14954
 
  hardcode_into_libs=yes
14955
 
  dynamic_linker='GNU ld.so'
14956
 
  ;;
14957
 
 
14958
16206
netbsd*)
14959
16207
  version_type=sunos
14960
16208
  need_lib_prefix=no
15036
16284
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15037
16285
  ;;
15038
16286
 
 
16287
rdos*)
 
16288
  dynamic_linker=no
 
16289
  ;;
 
16290
 
15039
16291
solaris*)
15040
16292
  version_type=linux
15041
16293
  need_lib_prefix=no
15128
16380
  dynamic_linker=no
15129
16381
  ;;
15130
16382
esac
15131
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15132
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16383
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16384
echo "${ECHO_T}$dynamic_linker" >&6; }
15133
16385
test "$dynamic_linker" = no && can_build_shared=no
15134
16386
 
15135
16387
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15137
16389
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15138
16390
fi
15139
16391
 
15140
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15141
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16392
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16393
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15142
16394
hardcode_action_F77=
15143
16395
if test -n "$hardcode_libdir_flag_spec_F77" || \
15144
16396
   test -n "$runpath_var_F77" || \
15162
16414
  # directories.
15163
16415
  hardcode_action_F77=unsupported
15164
16416
fi
15165
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15166
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16417
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16418
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15167
16419
 
15168
16420
if test "$hardcode_action_F77" = relink; then
15169
16421
  # Fast installation is not supported
15230
16482
    module_cmds_F77 \
15231
16483
    module_expsym_cmds_F77 \
15232
16484
    lt_cv_prog_compiler_c_o_F77 \
 
16485
    fix_srcfile_path_F77 \
15233
16486
    exclude_expsyms_F77 \
15234
16487
    include_expsyms_F77; do
15235
16488
 
15550
16803
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15551
16804
 
15552
16805
# Fix the shell variable \$srcfile for the compiler.
15553
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16806
fix_srcfile_path=$lt_fix_srcfile_path
15554
16807
 
15555
16808
# Set to yes if exported symbols are required.
15556
16809
always_export_symbols=$always_export_symbols_F77
15600
16853
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15601
16854
 
15602
16855
 
15603
 
 
15604
16856
# Source file extension for Java test sources.
15605
16857
ac_ext=java
15606
16858
 
15609
16861
objext_GCJ=$objext
15610
16862
 
15611
16863
# Code to be used in simple compile tests
15612
 
lt_simple_compile_test_code="class foo {}\n"
 
16864
lt_simple_compile_test_code="class foo {}"
15613
16865
 
15614
16866
# Code to be used in simple link tests
15615
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16867
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15616
16868
 
15617
16869
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15618
16870
 
15628
16880
 
15629
16881
# save warnings/boilerplate of simple test code
15630
16882
ac_outfile=conftest.$ac_objext
15631
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16883
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15632
16884
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15633
16885
_lt_compiler_boilerplate=`cat conftest.err`
15634
16886
$rm conftest*
15635
16887
 
15636
16888
ac_outfile=conftest.$ac_objext
15637
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16889
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15638
16890
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15639
16891
_lt_linker_boilerplate=`cat conftest.err`
15640
16892
$rm conftest*
15668
16920
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15669
16921
 
15670
16922
 
15671
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15672
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16923
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16924
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15673
16925
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15674
16926
  echo $ECHO_N "(cached) $ECHO_C" >&6
15675
16927
else
15676
16928
  lt_cv_prog_compiler_rtti_exceptions=no
15677
16929
  ac_outfile=conftest.$ac_objext
15678
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16930
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15679
16931
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15680
16932
   # Insert the option either (1) after the last *FLAGS variable, or
15681
16933
   # (2) before a word containing "conftest.", or (3) at the end.
15686
16938
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15687
16939
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15688
16940
   -e 's:$: $lt_compiler_flag:'`
15689
 
   (eval echo "\"\$as_me:15689: $lt_compile\"" >&5)
 
16941
   (eval echo "\"\$as_me:16941: $lt_compile\"" >&5)
15690
16942
   (eval "$lt_compile" 2>conftest.err)
15691
16943
   ac_status=$?
15692
16944
   cat conftest.err >&5
15693
 
   echo "$as_me:15693: \$? = $ac_status" >&5
 
16945
   echo "$as_me:16945: \$? = $ac_status" >&5
15694
16946
   if (exit $ac_status) && test -s "$ac_outfile"; then
15695
16947
     # The compiler can only warn and ignore the option if not recognized
15696
16948
     # So say no if there are warnings other than the usual output.
15703
16955
   $rm conftest*
15704
16956
 
15705
16957
fi
15706
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15707
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16958
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16959
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15708
16960
 
15709
16961
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15710
16962
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15718
16970
lt_prog_compiler_pic_GCJ=
15719
16971
lt_prog_compiler_static_GCJ=
15720
16972
 
15721
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15722
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16973
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16974
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15723
16975
 
15724
16976
  if test "$GCC" = yes; then
15725
16977
    lt_prog_compiler_wl_GCJ='-Wl,'
15741
16993
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15742
16994
      ;;
15743
16995
 
15744
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16996
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15745
16997
      # PIC is the default for these OSes.
15746
16998
      ;;
15747
16999
 
15748
 
    mingw* | pw32* | os2*)
 
17000
    mingw* | cygwin* | pw32* | os2*)
15749
17001
      # This hack is so that the source file can tell whether it is being
15750
17002
      # built for inclusion in a dll (and should export symbols for example).
 
17003
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17004
      # (--disable-auto-import) libraries
15751
17005
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15752
17006
      ;;
15753
17007
 
15757
17011
      lt_prog_compiler_pic_GCJ='-fno-common'
15758
17012
      ;;
15759
17013
 
15760
 
    interix3*)
 
17014
    interix[3-9]*)
15761
17015
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15762
17016
      # Instead, we relocate shared libraries at runtime.
15763
17017
      ;;
15815
17069
       esac
15816
17070
       ;;
15817
17071
 
15818
 
    mingw* | pw32* | os2*)
 
17072
    mingw* | cygwin* | pw32* | os2*)
15819
17073
      # This hack is so that the source file can tell whether it is being
15820
17074
      # built for inclusion in a dll (and should export symbols for example).
15821
17075
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15848
17102
      lt_prog_compiler_static_GCJ='-Bstatic'
15849
17103
      ;;
15850
17104
 
15851
 
    linux*)
 
17105
    linux* | k*bsd*-gnu)
15852
17106
      case $cc_basename in
15853
17107
      icc* | ecc*)
15854
17108
        lt_prog_compiler_wl_GCJ='-Wl,'
15867
17121
        # All Alpha code is PIC.
15868
17122
        lt_prog_compiler_static_GCJ='-non_shared'
15869
17123
        ;;
 
17124
      *)
 
17125
        case `$CC -V 2>&1 | sed 5q` in
 
17126
        *Sun\ C*)
 
17127
          # Sun C 5.9
 
17128
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17129
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17130
          lt_prog_compiler_wl_GCJ='-Wl,'
 
17131
          ;;
 
17132
        *Sun\ F*)
 
17133
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17134
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17135
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17136
          lt_prog_compiler_wl_GCJ=''
 
17137
          ;;
 
17138
        esac
 
17139
        ;;
15870
17140
      esac
15871
17141
      ;;
15872
17142
 
15876
17146
      lt_prog_compiler_static_GCJ='-non_shared'
15877
17147
      ;;
15878
17148
 
 
17149
    rdos*)
 
17150
      lt_prog_compiler_static_GCJ='-non_shared'
 
17151
      ;;
 
17152
 
15879
17153
    solaris*)
15880
17154
      lt_prog_compiler_pic_GCJ='-KPIC'
15881
17155
      lt_prog_compiler_static_GCJ='-Bstatic'
15928
17202
    esac
15929
17203
  fi
15930
17204
 
15931
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15932
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17205
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17206
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15933
17207
 
15934
17208
#
15935
17209
# Check to make sure the PIC flag actually works.
15936
17210
#
15937
17211
if test -n "$lt_prog_compiler_pic_GCJ"; then
15938
17212
 
15939
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15940
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
17213
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17214
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15941
17215
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15942
17216
  echo $ECHO_N "(cached) $ECHO_C" >&6
15943
17217
else
15944
17218
  lt_prog_compiler_pic_works_GCJ=no
15945
17219
  ac_outfile=conftest.$ac_objext
15946
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17220
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15947
17221
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15948
17222
   # Insert the option either (1) after the last *FLAGS variable, or
15949
17223
   # (2) before a word containing "conftest.", or (3) at the end.
15954
17228
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15955
17229
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15956
17230
   -e 's:$: $lt_compiler_flag:'`
15957
 
   (eval echo "\"\$as_me:15957: $lt_compile\"" >&5)
 
17231
   (eval echo "\"\$as_me:17231: $lt_compile\"" >&5)
15958
17232
   (eval "$lt_compile" 2>conftest.err)
15959
17233
   ac_status=$?
15960
17234
   cat conftest.err >&5
15961
 
   echo "$as_me:15961: \$? = $ac_status" >&5
 
17235
   echo "$as_me:17235: \$? = $ac_status" >&5
15962
17236
   if (exit $ac_status) && test -s "$ac_outfile"; then
15963
17237
     # The compiler can only warn and ignore the option if not recognized
15964
17238
     # So say no if there are warnings other than the usual output.
15971
17245
   $rm conftest*
15972
17246
 
15973
17247
fi
15974
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15975
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17248
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17249
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15976
17250
 
15977
17251
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15978
17252
    case $lt_prog_compiler_pic_GCJ in
15999
17273
# Check to make sure the static flag actually works.
16000
17274
#
16001
17275
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16002
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16003
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
17276
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17277
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16004
17278
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16005
17279
  echo $ECHO_N "(cached) $ECHO_C" >&6
16006
17280
else
16007
17281
  lt_prog_compiler_static_works_GCJ=no
16008
17282
   save_LDFLAGS="$LDFLAGS"
16009
17283
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16010
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17284
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16011
17285
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16012
17286
     # The linker can only warn and ignore the option if not recognized
16013
17287
     # So say no if there are warnings
16027
17301
   LDFLAGS="$save_LDFLAGS"
16028
17302
 
16029
17303
fi
16030
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16031
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
17304
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17305
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16032
17306
 
16033
17307
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16034
17308
    :
16037
17311
fi
16038
17312
 
16039
17313
 
16040
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16041
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17314
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17315
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16042
17316
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16043
17317
  echo $ECHO_N "(cached) $ECHO_C" >&6
16044
17318
else
16047
17321
   mkdir conftest
16048
17322
   cd conftest
16049
17323
   mkdir out
16050
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17324
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16051
17325
 
16052
17326
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16053
17327
   # Insert the option either (1) after the last *FLAGS variable, or
16058
17332
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16059
17333
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16060
17334
   -e 's:$: $lt_compiler_flag:'`
16061
 
   (eval echo "\"\$as_me:16061: $lt_compile\"" >&5)
 
17335
   (eval echo "\"\$as_me:17335: $lt_compile\"" >&5)
16062
17336
   (eval "$lt_compile" 2>out/conftest.err)
16063
17337
   ac_status=$?
16064
17338
   cat out/conftest.err >&5
16065
 
   echo "$as_me:16065: \$? = $ac_status" >&5
 
17339
   echo "$as_me:17339: \$? = $ac_status" >&5
16066
17340
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16067
17341
   then
16068
17342
     # The compiler can only warn and ignore the option if not recognized
16084
17358
   $rm conftest*
16085
17359
 
16086
17360
fi
16087
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16088
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17361
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17362
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16089
17363
 
16090
17364
 
16091
17365
hard_links="nottested"
16092
17366
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16093
17367
  # do not overwrite the value of need_locks provided by the user
16094
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16095
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17368
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17369
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16096
17370
  hard_links=yes
16097
17371
  $rm conftest*
16098
17372
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16099
17373
  touch conftest.a
16100
17374
  ln conftest.a conftest.b 2>&5 || hard_links=no
16101
17375
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16102
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16103
 
echo "${ECHO_T}$hard_links" >&6
 
17376
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17377
echo "${ECHO_T}$hard_links" >&6; }
16104
17378
  if test "$hard_links" = no; then
16105
17379
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16106
17380
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16110
17384
  need_locks=no
16111
17385
fi
16112
17386
 
16113
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16114
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17387
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17388
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16115
17389
 
16116
17390
  runpath_var=
16117
17391
  allow_undefined_flag_GCJ=
16254
17528
      allow_undefined_flag_GCJ=unsupported
16255
17529
      always_export_symbols_GCJ=no
16256
17530
      enable_shared_with_static_runtimes_GCJ=yes
16257
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17531
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16258
17532
 
16259
17533
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16260
17534
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16272
17546
      fi
16273
17547
      ;;
16274
17548
 
16275
 
    interix3*)
 
17549
    interix[3-9]*)
16276
17550
      hardcode_direct_GCJ=no
16277
17551
      hardcode_shlibpath_var_GCJ=no
16278
17552
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16287
17561
      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'
16288
17562
      ;;
16289
17563
 
16290
 
    linux*)
 
17564
    gnu* | linux* | k*bsd*-gnu)
16291
17565
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16292
17566
        tmp_addflag=
16293
17567
        case $cc_basename,$host_cpu in
16305
17579
        ifc* | ifort*)                  # Intel Fortran compiler
16306
17580
          tmp_addflag=' -nofor_main' ;;
16307
17581
        esac
16308
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17582
        case `$CC -V 2>&1 | sed 5q` in
 
17583
        *Sun\ C*)                       # Sun C 5.9
 
17584
          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'
 
17585
          tmp_sharedflag='-G' ;;
 
17586
        *Sun\ F*)                       # Sun Fortran 8.3
 
17587
          tmp_sharedflag='-G' ;;
 
17588
        *)
 
17589
          tmp_sharedflag='-shared' ;;
 
17590
        esac
 
17591
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16309
17592
 
16310
17593
        if test $supports_anon_versioning = yes; then
16311
17594
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16312
17595
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16313
17596
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16314
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17597
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16315
17598
        fi
16316
17599
        link_all_deplibs_GCJ=no
16317
17600
      else
16319
17602
      fi
16320
17603
      ;;
16321
17604
 
16322
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17605
    netbsd* | netbsdelf*-gnu)
16323
17606
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16324
17607
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16325
17608
        wlarc=
16471
17754
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16472
17755
          then
16473
17756
          # We have reworked collect2
16474
 
          hardcode_direct_GCJ=yes
 
17757
          :
16475
17758
          else
16476
17759
          # We have old collect2
16477
17760
          hardcode_direct_GCJ=unsupported
16527
17810
}
16528
17811
_ACEOF
16529
17812
rm -f conftest.$ac_objext conftest$ac_exeext
16530
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16531
 
  (eval $ac_link) 2>conftest.er1
 
17813
if { (ac_try="$ac_link"
 
17814
case "(($ac_try" in
 
17815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17816
  *) ac_try_echo=$ac_try;;
 
17817
esac
 
17818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17819
  (eval "$ac_link") 2>conftest.er1
16532
17820
  ac_status=$?
16533
17821
  grep -v '^ *+' conftest.er1 >conftest.err
16534
17822
  rm -f conftest.er1
16535
17823
  cat conftest.err >&5
16536
17824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537
 
  (exit $ac_status); } &&
16538
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16539
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540
 
  (eval $ac_try) 2>&5
16541
 
  ac_status=$?
16542
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543
 
  (exit $ac_status); }; } &&
16544
 
         { ac_try='test -s conftest$ac_exeext'
16545
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546
 
  (eval $ac_try) 2>&5
16547
 
  ac_status=$?
16548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549
 
  (exit $ac_status); }; }; then
 
17825
  (exit $ac_status); } && {
 
17826
         test -z "$ac_c_werror_flag" ||
 
17827
         test ! -s conftest.err
 
17828
       } && test -s conftest$ac_exeext &&
 
17829
       $as_test_x conftest$ac_exeext; then
16550
17830
 
16551
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16552
 
}'`
 
17831
lt_aix_libpath_sed='
 
17832
    /Import File Strings/,/^$/ {
 
17833
        /^0/ {
 
17834
            s/^0  *\(.*\)$/\1/
 
17835
            p
 
17836
        }
 
17837
    }'
 
17838
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16553
17839
# Check for a 64-bit object if we didn't find anything.
16554
 
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; }
16555
 
}'`; fi
 
17840
if test -z "$aix_libpath"; then
 
17841
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17842
fi
16556
17843
else
16557
17844
  echo "$as_me: failed program was:" >&5
16558
17845
sed 's/^/| /' conftest.$ac_ext >&5
16559
17846
 
 
17847
 
16560
17848
fi
16561
 
rm -f conftest.err conftest.$ac_objext \
 
17849
 
 
17850
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16562
17851
      conftest$ac_exeext conftest.$ac_ext
16563
17852
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16564
17853
 
16587
17876
}
16588
17877
_ACEOF
16589
17878
rm -f conftest.$ac_objext conftest$ac_exeext
16590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591
 
  (eval $ac_link) 2>conftest.er1
 
17879
if { (ac_try="$ac_link"
 
17880
case "(($ac_try" in
 
17881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17882
  *) ac_try_echo=$ac_try;;
 
17883
esac
 
17884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17885
  (eval "$ac_link") 2>conftest.er1
16592
17886
  ac_status=$?
16593
17887
  grep -v '^ *+' conftest.er1 >conftest.err
16594
17888
  rm -f conftest.er1
16595
17889
  cat conftest.err >&5
16596
17890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597
 
  (exit $ac_status); } &&
16598
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600
 
  (eval $ac_try) 2>&5
16601
 
  ac_status=$?
16602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603
 
  (exit $ac_status); }; } &&
16604
 
         { ac_try='test -s conftest$ac_exeext'
16605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606
 
  (eval $ac_try) 2>&5
16607
 
  ac_status=$?
16608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609
 
  (exit $ac_status); }; }; then
 
17891
  (exit $ac_status); } && {
 
17892
         test -z "$ac_c_werror_flag" ||
 
17893
         test ! -s conftest.err
 
17894
       } && test -s conftest$ac_exeext &&
 
17895
       $as_test_x conftest$ac_exeext; then
16610
17896
 
16611
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16612
 
}'`
 
17897
lt_aix_libpath_sed='
 
17898
    /Import File Strings/,/^$/ {
 
17899
        /^0/ {
 
17900
            s/^0  *\(.*\)$/\1/
 
17901
            p
 
17902
        }
 
17903
    }'
 
17904
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16613
17905
# Check for a 64-bit object if we didn't find anything.
16614
 
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; }
16615
 
}'`; fi
 
17906
if test -z "$aix_libpath"; then
 
17907
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17908
fi
16616
17909
else
16617
17910
  echo "$as_me: failed program was:" >&5
16618
17911
sed 's/^/| /' conftest.$ac_ext >&5
16619
17912
 
 
17913
 
16620
17914
fi
16621
 
rm -f conftest.err conftest.$ac_objext \
 
17915
 
 
17916
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16622
17917
      conftest$ac_exeext conftest.$ac_ext
16623
17918
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16624
17919
 
16664
17959
      # The linker will automatically build a .lib file if we build a DLL.
16665
17960
      old_archive_From_new_cmds_GCJ='true'
16666
17961
      # FIXME: Should let the user specify the lib program.
16667
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17962
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16668
17963
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16669
17964
      enable_shared_with_static_runtimes_GCJ=yes
16670
17965
      ;;
16706
18001
      case $cc_basename in
16707
18002
        xlc*)
16708
18003
         output_verbose_link_cmd='echo'
16709
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18004
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16710
18005
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16711
18006
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16712
 
         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}'
 
18007
         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}'
16713
18008
          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}'
16714
18009
          ;;
16715
18010
       *)
16756
18051
      hardcode_shlibpath_var_GCJ=no
16757
18052
      ;;
16758
18053
 
16759
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
16760
 
    kfreebsd*-gnu)
16761
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16762
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16763
 
      hardcode_direct_GCJ=yes
16764
 
      hardcode_shlibpath_var_GCJ=no
16765
 
      link_all_deplibs_GCJ=no
16766
 
      ;;
16767
 
 
16768
18054
    hpux9*)
16769
18055
      if test "$GCC" = yes; then
16770
18056
        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'
16860
18146
      link_all_deplibs_GCJ=yes
16861
18147
      ;;
16862
18148
 
16863
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
18149
    netbsd* | netbsdelf*-gnu)
16864
18150
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16865
18151
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16866
18152
      else
16880
18166
      ;;
16881
18167
 
16882
18168
    openbsd*)
16883
 
      hardcode_direct_GCJ=yes
16884
 
      hardcode_shlibpath_var_GCJ=no
16885
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16886
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16887
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16888
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16889
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18169
      if test -f /usr/libexec/ld.so; then
 
18170
        hardcode_direct_GCJ=yes
 
18171
        hardcode_shlibpath_var_GCJ=no
 
18172
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18173
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18174
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18175
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18176
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18177
        else
 
18178
          case $host_os in
 
18179
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18180
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18181
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18182
             ;;
 
18183
           *)
 
18184
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18185
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18186
             ;;
 
18187
          esac
 
18188
        fi
16890
18189
      else
16891
 
       case $host_os in
16892
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16893
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16894
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16895
 
           ;;
16896
 
         *)
16897
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16898
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16899
 
           ;;
16900
 
       esac
 
18190
        ld_shlibs_GCJ=no
16901
18191
      fi
16902
18192
      ;;
16903
18193
 
16956
18246
      case $host_os in
16957
18247
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16958
18248
      *)
16959
 
        # The compiler driver will combine linker options so we
16960
 
        # cannot just pass the convience library names through
16961
 
        # without $wl, iff we do not link with $LD.
16962
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18249
        # The compiler driver will combine and reorder linker options,
 
18250
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18251
        # but is careful enough not to reorder.
16963
18252
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16964
 
        case $wlarc in
16965
 
        '')
16966
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16967
 
        *)
16968
 
          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' ;;
16969
 
        esac ;;
 
18253
        if test "$GCC" = yes; then
 
18254
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18255
        else
 
18256
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18257
        fi
 
18258
        ;;
16970
18259
      esac
16971
18260
      link_all_deplibs_GCJ=yes
16972
18261
      ;;
17023
18312
      fi
17024
18313
      ;;
17025
18314
 
17026
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18315
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17027
18316
      no_undefined_flag_GCJ='${wl}-z,text'
17028
18317
      archive_cmds_need_lc_GCJ=no
17029
18318
      hardcode_shlibpath_var_GCJ=no
17076
18365
    esac
17077
18366
  fi
17078
18367
 
17079
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17080
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18368
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18369
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17081
18370
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17082
18371
 
17083
18372
#
17097
18386
      # Test whether the compiler implicitly links with -lc since on some
17098
18387
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17099
18388
      # to ld, don't add -lc before -lgcc.
17100
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17101
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18389
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18390
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17102
18391
      $rm conftest*
17103
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18392
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17104
18393
 
17105
18394
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106
18395
  (eval $ac_compile) 2>&5
17135
18424
        cat conftest.err 1>&5
17136
18425
      fi
17137
18426
      $rm conftest*
17138
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17139
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18427
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18428
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17140
18429
      ;;
17141
18430
    esac
17142
18431
  fi
17143
18432
  ;;
17144
18433
esac
17145
18434
 
17146
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17147
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18435
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18436
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17148
18437
library_names_spec=
17149
18438
libname_spec='lib$name'
17150
18439
soname_spec=
17158
18447
version_type=none
17159
18448
dynamic_linker="$host_os ld.so"
17160
18449
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17161
 
if test "$GCC" = yes; then
17162
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17163
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17164
 
    # if the path contains ";" then we assume it to be the separator
17165
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17166
 
    # assumed that no part of a normal pathname contains ";" but that should
17167
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17168
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17169
 
  else
17170
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17171
 
  fi
17172
 
else
17173
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17174
 
fi
 
18450
 
17175
18451
need_lib_prefix=unknown
17176
18452
hardcode_into_libs=no
17177
18453
 
17328
18604
  shlibpath_overrides_runpath=yes
17329
18605
  shlibpath_var=DYLD_LIBRARY_PATH
17330
18606
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17331
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17332
 
  if test "$GCC" = yes; then
17333
 
    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"`
17334
 
  else
17335
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17336
 
  fi
 
18607
 
17337
18608
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17338
18609
  ;;
17339
18610
 
17350
18621
  dynamic_linker=no
17351
18622
  ;;
17352
18623
 
17353
 
kfreebsd*-gnu)
17354
 
  version_type=linux
17355
 
  need_lib_prefix=no
17356
 
  need_version=no
17357
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17358
 
  soname_spec='${libname}${release}${shared_ext}$major'
17359
 
  shlibpath_var=LD_LIBRARY_PATH
17360
 
  shlibpath_overrides_runpath=no
17361
 
  hardcode_into_libs=yes
17362
 
  dynamic_linker='GNU ld.so'
17363
 
  ;;
17364
 
 
17365
18624
freebsd* | dragonfly*)
17366
18625
  # DragonFly does not have aout.  When/if they implement a new
17367
18626
  # versioning mechanism, adjust this.
17399
18658
    shlibpath_overrides_runpath=no
17400
18659
    hardcode_into_libs=yes
17401
18660
    ;;
17402
 
  freebsd*) # from 4.6 on
 
18661
  *) # from 4.6 on, and DragonFly
17403
18662
    shlibpath_overrides_runpath=yes
17404
18663
    hardcode_into_libs=yes
17405
18664
    ;;
17462
18721
  postinstall_cmds='chmod 555 $lib'
17463
18722
  ;;
17464
18723
 
17465
 
interix3*)
 
18724
interix[3-9]*)
17466
18725
  version_type=linux
17467
18726
  need_lib_prefix=no
17468
18727
  need_version=no
17517
18776
  ;;
17518
18777
 
17519
18778
# This must be Linux ELF.
17520
 
linux*)
 
18779
linux* | k*bsd*-gnu)
17521
18780
  version_type=linux
17522
18781
  need_lib_prefix=no
17523
18782
  need_version=no
17533
18792
 
17534
18793
  # Append ld.so.conf contents to the search path
17535
18794
  if test -f /etc/ld.so.conf; then
17536
 
    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' ' '`
 
18795
    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' ' '`
17537
18796
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17538
18797
  fi
17539
18798
 
17558
18817
  dynamic_linker='NetBSD ld.elf_so'
17559
18818
  ;;
17560
18819
 
17561
 
knetbsd*-gnu)
17562
 
  version_type=linux
17563
 
  need_lib_prefix=no
17564
 
  need_version=no
17565
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17566
 
  soname_spec='${libname}${release}${shared_ext}$major'
17567
 
  shlibpath_var=LD_LIBRARY_PATH
17568
 
  shlibpath_overrides_runpath=no
17569
 
  hardcode_into_libs=yes
17570
 
  dynamic_linker='GNU ld.so'
17571
 
  ;;
17572
 
 
17573
18820
netbsd*)
17574
18821
  version_type=sunos
17575
18822
  need_lib_prefix=no
17651
18898
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17652
18899
  ;;
17653
18900
 
 
18901
rdos*)
 
18902
  dynamic_linker=no
 
18903
  ;;
 
18904
 
17654
18905
solaris*)
17655
18906
  version_type=linux
17656
18907
  need_lib_prefix=no
17743
18994
  dynamic_linker=no
17744
18995
  ;;
17745
18996
esac
17746
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17747
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18997
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18998
echo "${ECHO_T}$dynamic_linker" >&6; }
17748
18999
test "$dynamic_linker" = no && can_build_shared=no
17749
19000
 
17750
19001
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17752
19003
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17753
19004
fi
17754
19005
 
17755
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17756
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19006
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19007
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17757
19008
hardcode_action_GCJ=
17758
19009
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17759
19010
   test -n "$runpath_var_GCJ" || \
17777
19028
  # directories.
17778
19029
  hardcode_action_GCJ=unsupported
17779
19030
fi
17780
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17781
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
19031
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19032
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17782
19033
 
17783
19034
if test "$hardcode_action_GCJ" = relink; then
17784
19035
  # Fast installation is not supported
17845
19096
    module_cmds_GCJ \
17846
19097
    module_expsym_cmds_GCJ \
17847
19098
    lt_cv_prog_compiler_c_o_GCJ \
 
19099
    fix_srcfile_path_GCJ \
17848
19100
    exclude_expsyms_GCJ \
17849
19101
    include_expsyms_GCJ; do
17850
19102
 
18165
19417
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18166
19418
 
18167
19419
# Fix the shell variable \$srcfile for the compiler.
18168
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19420
fix_srcfile_path=$lt_fix_srcfile_path
18169
19421
 
18170
19422
# Set to yes if exported symbols are required.
18171
19423
always_export_symbols=$always_export_symbols_GCJ
18214
19466
      RC)
18215
19467
 
18216
19468
 
18217
 
 
18218
19469
# Source file extension for RC test sources.
18219
19470
ac_ext=rc
18220
19471
 
18223
19474
objext_RC=$objext
18224
19475
 
18225
19476
# Code to be used in simple compile tests
18226
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19477
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18227
19478
 
18228
19479
# Code to be used in simple link tests
18229
19480
lt_simple_link_test_code="$lt_simple_compile_test_code"
18242
19493
 
18243
19494
# save warnings/boilerplate of simple test code
18244
19495
ac_outfile=conftest.$ac_objext
18245
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19496
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18246
19497
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18247
19498
_lt_compiler_boilerplate=`cat conftest.err`
18248
19499
$rm conftest*
18249
19500
 
18250
19501
ac_outfile=conftest.$ac_objext
18251
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19502
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18252
19503
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18253
19504
_lt_linker_boilerplate=`cat conftest.err`
18254
19505
$rm conftest*
18326
19577
    module_cmds_RC \
18327
19578
    module_expsym_cmds_RC \
18328
19579
    lt_cv_prog_compiler_c_o_RC \
 
19580
    fix_srcfile_path_RC \
18329
19581
    exclude_expsyms_RC \
18330
19582
    include_expsyms_RC; do
18331
19583
 
18646
19898
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18647
19899
 
18648
19900
# Fix the shell variable \$srcfile for the compiler.
18649
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19901
fix_srcfile_path=$lt_fix_srcfile_path
18650
19902
 
18651
19903
# Set to yes if exported symbols are required.
18652
19904
always_export_symbols=$always_export_symbols_RC
18746
19998
 
18747
19999
 
18748
20000
 
18749
 
echo "$as_me:$LINENO: checking for library containing strerror" >&5
18750
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
20001
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
20002
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
18751
20003
if test "${ac_cv_search_strerror+set}" = set; then
18752
20004
  echo $ECHO_N "(cached) $ECHO_C" >&6
18753
20005
else
18754
20006
  ac_func_search_save_LIBS=$LIBS
18755
 
ac_cv_search_strerror=no
18756
20007
cat >conftest.$ac_ext <<_ACEOF
18757
20008
/* confdefs.h.  */
18758
20009
_ACEOF
18760
20011
cat >>conftest.$ac_ext <<_ACEOF
18761
20012
/* end confdefs.h.  */
18762
20013
 
18763
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20014
/* Override any GCC internal prototype to avoid an error.
 
20015
   Use char because int might match the return type of a GCC
 
20016
   builtin and then its argument prototype would still apply.  */
18764
20017
#ifdef __cplusplus
18765
20018
extern "C"
18766
20019
#endif
18767
 
/* We use char because int might match the return type of a gcc2
18768
 
   builtin and then its argument prototype would still apply.  */
18769
20020
char strerror ();
18770
20021
int
18771
20022
main ()
18772
20023
{
18773
 
strerror ();
 
20024
return strerror ();
18774
20025
  ;
18775
20026
  return 0;
18776
20027
}
18777
20028
_ACEOF
18778
 
rm -f conftest.$ac_objext conftest$ac_exeext
18779
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18780
 
  (eval $ac_link) 2>conftest.er1
18781
 
  ac_status=$?
18782
 
  grep -v '^ *+' conftest.er1 >conftest.err
18783
 
  rm -f conftest.er1
18784
 
  cat conftest.err >&5
18785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786
 
  (exit $ac_status); } &&
18787
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789
 
  (eval $ac_try) 2>&5
18790
 
  ac_status=$?
18791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792
 
  (exit $ac_status); }; } &&
18793
 
         { ac_try='test -s conftest$ac_exeext'
18794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795
 
  (eval $ac_try) 2>&5
18796
 
  ac_status=$?
18797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798
 
  (exit $ac_status); }; }; then
18799
 
  ac_cv_search_strerror="none required"
18800
 
else
18801
 
  echo "$as_me: failed program was:" >&5
18802
 
sed 's/^/| /' conftest.$ac_ext >&5
18803
 
 
18804
 
fi
18805
 
rm -f conftest.err conftest.$ac_objext \
18806
 
      conftest$ac_exeext conftest.$ac_ext
18807
 
if test "$ac_cv_search_strerror" = no; then
18808
 
  for ac_lib in cposix; do
 
20029
for ac_lib in '' cposix; do
 
20030
  if test -z "$ac_lib"; then
 
20031
    ac_res="none required"
 
20032
  else
 
20033
    ac_res=-l$ac_lib
18809
20034
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18810
 
    cat >conftest.$ac_ext <<_ACEOF
18811
 
/* confdefs.h.  */
18812
 
_ACEOF
18813
 
cat confdefs.h >>conftest.$ac_ext
18814
 
cat >>conftest.$ac_ext <<_ACEOF
18815
 
/* end confdefs.h.  */
18816
 
 
18817
 
/* Override any gcc2 internal prototype to avoid an error.  */
18818
 
#ifdef __cplusplus
18819
 
extern "C"
18820
 
#endif
18821
 
/* We use char because int might match the return type of a gcc2
18822
 
   builtin and then its argument prototype would still apply.  */
18823
 
char strerror ();
18824
 
int
18825
 
main ()
18826
 
{
18827
 
strerror ();
18828
 
  ;
18829
 
  return 0;
18830
 
}
18831
 
_ACEOF
18832
 
rm -f conftest.$ac_objext conftest$ac_exeext
18833
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18834
 
  (eval $ac_link) 2>conftest.er1
 
20035
  fi
 
20036
  rm -f conftest.$ac_objext conftest$ac_exeext
 
20037
if { (ac_try="$ac_link"
 
20038
case "(($ac_try" in
 
20039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20040
  *) ac_try_echo=$ac_try;;
 
20041
esac
 
20042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20043
  (eval "$ac_link") 2>conftest.er1
18835
20044
  ac_status=$?
18836
20045
  grep -v '^ *+' conftest.er1 >conftest.err
18837
20046
  rm -f conftest.er1
18838
20047
  cat conftest.err >&5
18839
20048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840
 
  (exit $ac_status); } &&
18841
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843
 
  (eval $ac_try) 2>&5
18844
 
  ac_status=$?
18845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846
 
  (exit $ac_status); }; } &&
18847
 
         { ac_try='test -s conftest$ac_exeext'
18848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849
 
  (eval $ac_try) 2>&5
18850
 
  ac_status=$?
18851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852
 
  (exit $ac_status); }; }; then
18853
 
  ac_cv_search_strerror="-l$ac_lib"
18854
 
break
 
20049
  (exit $ac_status); } && {
 
20050
         test -z "$ac_c_werror_flag" ||
 
20051
         test ! -s conftest.err
 
20052
       } && test -s conftest$ac_exeext &&
 
20053
       $as_test_x conftest$ac_exeext; then
 
20054
  ac_cv_search_strerror=$ac_res
18855
20055
else
18856
20056
  echo "$as_me: failed program was:" >&5
18857
20057
sed 's/^/| /' conftest.$ac_ext >&5
18858
20058
 
18859
 
fi
18860
 
rm -f conftest.err conftest.$ac_objext \
18861
 
      conftest$ac_exeext conftest.$ac_ext
18862
 
  done
18863
 
fi
 
20059
 
 
20060
fi
 
20061
 
 
20062
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20063
      conftest$ac_exeext
 
20064
  if test "${ac_cv_search_strerror+set}" = set; then
 
20065
  break
 
20066
fi
 
20067
done
 
20068
if test "${ac_cv_search_strerror+set}" = set; then
 
20069
  :
 
20070
else
 
20071
  ac_cv_search_strerror=no
 
20072
fi
 
20073
rm conftest.$ac_ext
18864
20074
LIBS=$ac_func_search_save_LIBS
18865
20075
fi
18866
 
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
18867
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6
18868
 
if test "$ac_cv_search_strerror" != no; then
18869
 
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
20076
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
20077
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
20078
ac_res=$ac_cv_search_strerror
 
20079
if test "$ac_res" != no; then
 
20080
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18870
20081
 
18871
20082
fi
18872
20083
 
18873
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18874
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
20084
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
20085
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
18875
20086
if test "${ac_cv_c_bigendian+set}" = set; then
18876
20087
  echo $ECHO_N "(cached) $ECHO_C" >&6
18877
20088
else
18888
20099
int
18889
20100
main ()
18890
20101
{
18891
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
20102
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
20103
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
18892
20104
 bogus endian macros
18893
20105
#endif
18894
20106
 
18897
20109
}
18898
20110
_ACEOF
18899
20111
rm -f conftest.$ac_objext
18900
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18901
 
  (eval $ac_compile) 2>conftest.er1
 
20112
if { (ac_try="$ac_compile"
 
20113
case "(($ac_try" in
 
20114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20115
  *) ac_try_echo=$ac_try;;
 
20116
esac
 
20117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20118
  (eval "$ac_compile") 2>conftest.er1
18902
20119
  ac_status=$?
18903
20120
  grep -v '^ *+' conftest.er1 >conftest.err
18904
20121
  rm -f conftest.er1
18905
20122
  cat conftest.err >&5
18906
20123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907
 
  (exit $ac_status); } &&
18908
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18909
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910
 
  (eval $ac_try) 2>&5
18911
 
  ac_status=$?
18912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913
 
  (exit $ac_status); }; } &&
18914
 
         { ac_try='test -s conftest.$ac_objext'
18915
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916
 
  (eval $ac_try) 2>&5
18917
 
  ac_status=$?
18918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919
 
  (exit $ac_status); }; }; then
 
20124
  (exit $ac_status); } && {
 
20125
         test -z "$ac_c_werror_flag" ||
 
20126
         test ! -s conftest.err
 
20127
       } && test -s conftest.$ac_objext; then
18920
20128
  # It does; now see whether it defined to BIG_ENDIAN or not.
18921
20129
cat >conftest.$ac_ext <<_ACEOF
18922
20130
/* confdefs.h.  */
18939
20147
}
18940
20148
_ACEOF
18941
20149
rm -f conftest.$ac_objext
18942
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943
 
  (eval $ac_compile) 2>conftest.er1
 
20150
if { (ac_try="$ac_compile"
 
20151
case "(($ac_try" in
 
20152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20153
  *) ac_try_echo=$ac_try;;
 
20154
esac
 
20155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20156
  (eval "$ac_compile") 2>conftest.er1
18944
20157
  ac_status=$?
18945
20158
  grep -v '^ *+' conftest.er1 >conftest.err
18946
20159
  rm -f conftest.er1
18947
20160
  cat conftest.err >&5
18948
20161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949
 
  (exit $ac_status); } &&
18950
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952
 
  (eval $ac_try) 2>&5
18953
 
  ac_status=$?
18954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955
 
  (exit $ac_status); }; } &&
18956
 
         { ac_try='test -s conftest.$ac_objext'
18957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958
 
  (eval $ac_try) 2>&5
18959
 
  ac_status=$?
18960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961
 
  (exit $ac_status); }; }; then
 
20162
  (exit $ac_status); } && {
 
20163
         test -z "$ac_c_werror_flag" ||
 
20164
         test ! -s conftest.err
 
20165
       } && test -s conftest.$ac_objext; then
18962
20166
  ac_cv_c_bigendian=yes
18963
20167
else
18964
20168
  echo "$as_me: failed program was:" >&5
18965
20169
sed 's/^/| /' conftest.$ac_ext >&5
18966
20170
 
18967
 
ac_cv_c_bigendian=no
 
20171
        ac_cv_c_bigendian=no
18968
20172
fi
18969
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20173
 
 
20174
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970
20175
else
18971
20176
  echo "$as_me: failed program was:" >&5
18972
20177
sed 's/^/| /' conftest.$ac_ext >&5
18973
20178
 
18974
 
# It does not; compile a test program.
 
20179
        # It does not; compile a test program.
18975
20180
if test "$cross_compiling" = yes; then
18976
20181
  # try to guess the endianness by grepping values into an object file
18977
20182
  ac_cv_c_bigendian=unknown
18981
20186
cat confdefs.h >>conftest.$ac_ext
18982
20187
cat >>conftest.$ac_ext <<_ACEOF
18983
20188
/* end confdefs.h.  */
18984
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18985
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
20189
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
20190
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18986
20191
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
18987
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18988
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
20192
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
20193
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18989
20194
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
18990
20195
int
18991
20196
main ()
18996
20201
}
18997
20202
_ACEOF
18998
20203
rm -f conftest.$ac_objext
18999
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19000
 
  (eval $ac_compile) 2>conftest.er1
 
20204
if { (ac_try="$ac_compile"
 
20205
case "(($ac_try" in
 
20206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20207
  *) ac_try_echo=$ac_try;;
 
20208
esac
 
20209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20210
  (eval "$ac_compile") 2>conftest.er1
19001
20211
  ac_status=$?
19002
20212
  grep -v '^ *+' conftest.er1 >conftest.err
19003
20213
  rm -f conftest.er1
19004
20214
  cat conftest.err >&5
19005
20215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006
 
  (exit $ac_status); } &&
19007
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009
 
  (eval $ac_try) 2>&5
19010
 
  ac_status=$?
19011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012
 
  (exit $ac_status); }; } &&
19013
 
         { ac_try='test -s conftest.$ac_objext'
19014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015
 
  (eval $ac_try) 2>&5
19016
 
  ac_status=$?
19017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018
 
  (exit $ac_status); }; }; then
 
20216
  (exit $ac_status); } && {
 
20217
         test -z "$ac_c_werror_flag" ||
 
20218
         test ! -s conftest.err
 
20219
       } && test -s conftest.$ac_objext; then
19019
20220
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19020
20221
  ac_cv_c_bigendian=yes
19021
20222
fi
19031
20232
  echo "$as_me: failed program was:" >&5
19032
20233
sed 's/^/| /' conftest.$ac_ext >&5
19033
20234
 
 
20235
 
19034
20236
fi
19035
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20237
 
 
20238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036
20239
else
19037
20240
  cat >conftest.$ac_ext <<_ACEOF
19038
20241
/* confdefs.h.  */
19040
20243
cat confdefs.h >>conftest.$ac_ext
19041
20244
cat >>conftest.$ac_ext <<_ACEOF
19042
20245
/* end confdefs.h.  */
 
20246
$ac_includes_default
19043
20247
int
19044
20248
main ()
19045
20249
{
 
20250
 
19046
20251
  /* Are we little or big endian?  From Harbison&Steele.  */
19047
20252
  union
19048
20253
  {
19049
 
    long l;
19050
 
    char c[sizeof (long)];
 
20254
    long int l;
 
20255
    char c[sizeof (long int)];
19051
20256
  } u;
19052
20257
  u.l = 1;
19053
 
  exit (u.c[sizeof (long) - 1] == 1);
 
20258
  return u.c[sizeof (long int) - 1] == 1;
 
20259
 
 
20260
  ;
 
20261
  return 0;
19054
20262
}
19055
20263
_ACEOF
19056
20264
rm -f conftest$ac_exeext
19057
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19058
 
  (eval $ac_link) 2>&5
 
20265
if { (ac_try="$ac_link"
 
20266
case "(($ac_try" in
 
20267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20268
  *) ac_try_echo=$ac_try;;
 
20269
esac
 
20270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20271
  (eval "$ac_link") 2>&5
19059
20272
  ac_status=$?
19060
20273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061
20274
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19062
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063
 
  (eval $ac_try) 2>&5
 
20275
  { (case "(($ac_try" in
 
20276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20277
  *) ac_try_echo=$ac_try;;
 
20278
esac
 
20279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20280
  (eval "$ac_try") 2>&5
19064
20281
  ac_status=$?
19065
20282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066
20283
  (exit $ac_status); }; }; then
19073
20290
( exit $ac_status )
19074
20291
ac_cv_c_bigendian=yes
19075
20292
fi
19076
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19077
 
fi
19078
 
fi
19079
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19080
 
fi
19081
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19082
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
20293
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20294
fi
 
20295
 
 
20296
 
 
20297
fi
 
20298
 
 
20299
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20300
fi
 
20301
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
20302
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
19083
20303
case $ac_cv_c_bigendian in
19084
20304
  yes)
19085
20305
 
19097
20317
   { (exit 1); exit 1; }; } ;;
19098
20318
esac
19099
20319
 
19100
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19101
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
19102
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
19103
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
20320
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
20321
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
20322
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
20323
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
19104
20324
  echo $ECHO_N "(cached) $ECHO_C" >&6
19105
20325
else
19106
20326
  cat >conftest.make <<\_ACEOF
 
20327
SHELL = /bin/sh
19107
20328
all:
19108
 
        @echo 'ac_maketemp="$(MAKE)"'
 
20329
        @echo '@@@%%%=$(MAKE)=@@@%%%'
19109
20330
_ACEOF
19110
20331
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19111
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
19112
 
if test -n "$ac_maketemp"; then
19113
 
  eval ac_cv_prog_make_${ac_make}_set=yes
19114
 
else
19115
 
  eval ac_cv_prog_make_${ac_make}_set=no
19116
 
fi
 
20332
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
20333
  *@@@%%%=?*=@@@%%%*)
 
20334
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
20335
  *)
 
20336
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
20337
esac
19117
20338
rm -f conftest.make
19118
20339
fi
19119
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19120
 
  echo "$as_me:$LINENO: result: yes" >&5
19121
 
echo "${ECHO_T}yes" >&6
 
20340
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
20341
  { echo "$as_me:$LINENO: result: yes" >&5
 
20342
echo "${ECHO_T}yes" >&6; }
19122
20343
  SET_MAKE=
19123
20344
else
19124
 
  echo "$as_me:$LINENO: result: no" >&5
19125
 
echo "${ECHO_T}no" >&6
 
20345
  { echo "$as_me:$LINENO: result: no" >&5
 
20346
echo "${ECHO_T}no" >&6; }
19126
20347
  SET_MAKE="MAKE=${MAKE-make}"
19127
20348
fi
19128
20349
 
19129
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19130
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
20350
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
20351
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19131
20352
if test "${ac_cv_header_stdc+set}" = set; then
19132
20353
  echo $ECHO_N "(cached) $ECHO_C" >&6
19133
20354
else
19151
20372
}
19152
20373
_ACEOF
19153
20374
rm -f conftest.$ac_objext
19154
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19155
 
  (eval $ac_compile) 2>conftest.er1
 
20375
if { (ac_try="$ac_compile"
 
20376
case "(($ac_try" in
 
20377
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20378
  *) ac_try_echo=$ac_try;;
 
20379
esac
 
20380
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20381
  (eval "$ac_compile") 2>conftest.er1
19156
20382
  ac_status=$?
19157
20383
  grep -v '^ *+' conftest.er1 >conftest.err
19158
20384
  rm -f conftest.er1
19159
20385
  cat conftest.err >&5
19160
20386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161
 
  (exit $ac_status); } &&
19162
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164
 
  (eval $ac_try) 2>&5
19165
 
  ac_status=$?
19166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167
 
  (exit $ac_status); }; } &&
19168
 
         { ac_try='test -s conftest.$ac_objext'
19169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170
 
  (eval $ac_try) 2>&5
19171
 
  ac_status=$?
19172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173
 
  (exit $ac_status); }; }; then
 
20387
  (exit $ac_status); } && {
 
20388
         test -z "$ac_c_werror_flag" ||
 
20389
         test ! -s conftest.err
 
20390
       } && test -s conftest.$ac_objext; then
19174
20391
  ac_cv_header_stdc=yes
19175
20392
else
19176
20393
  echo "$as_me: failed program was:" >&5
19177
20394
sed 's/^/| /' conftest.$ac_ext >&5
19178
20395
 
19179
 
ac_cv_header_stdc=no
 
20396
        ac_cv_header_stdc=no
19180
20397
fi
19181
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20398
 
 
20399
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182
20400
 
19183
20401
if test $ac_cv_header_stdc = yes; then
19184
20402
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19234
20452
cat >>conftest.$ac_ext <<_ACEOF
19235
20453
/* end confdefs.h.  */
19236
20454
#include <ctype.h>
 
20455
#include <stdlib.h>
19237
20456
#if ((' ' & 0x0FF) == 0x020)
19238
20457
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19239
20458
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19253
20472
  for (i = 0; i < 256; i++)
19254
20473
    if (XOR (islower (i), ISLOWER (i))
19255
20474
        || toupper (i) != TOUPPER (i))
19256
 
      exit(2);
19257
 
  exit (0);
 
20475
      return 2;
 
20476
  return 0;
19258
20477
}
19259
20478
_ACEOF
19260
20479
rm -f conftest$ac_exeext
19261
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19262
 
  (eval $ac_link) 2>&5
 
20480
if { (ac_try="$ac_link"
 
20481
case "(($ac_try" in
 
20482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20483
  *) ac_try_echo=$ac_try;;
 
20484
esac
 
20485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20486
  (eval "$ac_link") 2>&5
19263
20487
  ac_status=$?
19264
20488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265
20489
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19266
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267
 
  (eval $ac_try) 2>&5
 
20490
  { (case "(($ac_try" in
 
20491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20492
  *) ac_try_echo=$ac_try;;
 
20493
esac
 
20494
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20495
  (eval "$ac_try") 2>&5
19268
20496
  ac_status=$?
19269
20497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270
20498
  (exit $ac_status); }; }; then
19277
20505
( exit $ac_status )
19278
20506
ac_cv_header_stdc=no
19279
20507
fi
19280
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19281
 
fi
19282
 
fi
19283
 
fi
19284
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19285
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
20508
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20509
fi
 
20510
 
 
20511
 
 
20512
fi
 
20513
fi
 
20514
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
20515
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19286
20516
if test $ac_cv_header_stdc = yes; then
19287
20517
 
19288
20518
cat >>confdefs.h <<\_ACEOF
19293
20523
 
19294
20524
 
19295
20525
 
19296
 
# Check whether --with-opensp-includes or --without-opensp-includes was given.
 
20526
 
 
20527
# check for OS
 
20528
{ echo "$as_me:$LINENO: checking host system type" >&5
 
20529
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
20530
OSYSTEM=""
 
20531
OS_TYPE=""
 
20532
MAKE_DLL_TARGET=""
 
20533
INSTALL_DLL_TARGET=""
 
20534
 
 
20535
cat >>confdefs.h <<_ACEOF
 
20536
#define OS_NAME "$host"
 
20537
_ACEOF
 
20538
 
 
20539
case "$host" in
 
20540
    *-linux*)
 
20541
        OSYSTEM="linux"
 
20542
 
 
20543
cat >>confdefs.h <<\_ACEOF
 
20544
#define OS_LINUX 1
 
20545
_ACEOF
 
20546
 
 
20547
 
 
20548
cat >>confdefs.h <<\_ACEOF
 
20549
#define OS_POSIX 1
 
20550
_ACEOF
 
20551
 
 
20552
        OS_TYPE="posix"
 
20553
        ;;
 
20554
    *-solaris*)
 
20555
        OSYSTEM="solaris"
 
20556
 
 
20557
cat >>confdefs.h <<\_ACEOF
 
20558
#define OS_SOLARIS 1
 
20559
_ACEOF
 
20560
 
 
20561
 
 
20562
cat >>confdefs.h <<\_ACEOF
 
20563
#define OS_POSIX 1
 
20564
_ACEOF
 
20565
 
 
20566
        OS_TYPE="posix"
 
20567
        ;;
 
20568
    *-darwin*)
 
20569
        OSYSTEM="osx"
 
20570
 
 
20571
cat >>confdefs.h <<\_ACEOF
 
20572
#define OS_DARWIN 1
 
20573
_ACEOF
 
20574
 
 
20575
 
 
20576
cat >>confdefs.h <<\_ACEOF
 
20577
#define OS_POSIX 1
 
20578
_ACEOF
 
20579
 
 
20580
        OS_TYPE="posix"
 
20581
        ;;
 
20582
    *-openbsd*)
 
20583
        OSYSTEM="openbsd"
 
20584
 
 
20585
cat >>confdefs.h <<\_ACEOF
 
20586
#define OS_OPENBSD 1
 
20587
_ACEOF
 
20588
 
 
20589
 
 
20590
cat >>confdefs.h <<\_ACEOF
 
20591
#define OS_POSIX 1
 
20592
_ACEOF
 
20593
 
 
20594
        OS_TYPE="posix"
 
20595
        ;;
 
20596
    *-freebsd*)
 
20597
        OSYSTEM="freebsd"
 
20598
 
 
20599
cat >>confdefs.h <<\_ACEOF
 
20600
#define OS_FREEBSD 1
 
20601
_ACEOF
 
20602
 
 
20603
 
 
20604
cat >>confdefs.h <<\_ACEOF
 
20605
#define OS_POSIX 1
 
20606
_ACEOF
 
20607
 
 
20608
        OS_TYPE="posix"
 
20609
        ;;
 
20610
    *-netbsd*)
 
20611
        OSYSTEM="netbsd"
 
20612
 
 
20613
cat >>confdefs.h <<\_ACEOF
 
20614
#define OS_NETBSD 1
 
20615
_ACEOF
 
20616
 
 
20617
 
 
20618
cat >>confdefs.h <<\_ACEOF
 
20619
#define OS_POSIX 1
 
20620
_ACEOF
 
20621
 
 
20622
        OS_TYPE="posix"
 
20623
        ;;
 
20624
    *-beos*)
 
20625
        OSYSTEM="beos"
 
20626
 
 
20627
cat >>confdefs.h <<\_ACEOF
 
20628
#define OS_BEOS 1
 
20629
_ACEOF
 
20630
 
 
20631
 
 
20632
cat >>confdefs.h <<\_ACEOF
 
20633
#define OS_POSIX 1
 
20634
_ACEOF
 
20635
 
 
20636
        OS_TYPE="posix"
 
20637
        ;;
 
20638
    *-win32*)
 
20639
        OSYSTEM="windows"
 
20640
 
 
20641
cat >>confdefs.h <<\_ACEOF
 
20642
#define OS_WIN32 1
 
20643
_ACEOF
 
20644
 
 
20645
        OS_TYPE="windows"
 
20646
 
 
20647
cat >>confdefs.h <<_ACEOF
 
20648
#define BUILDING_DLL 1
 
20649
_ACEOF
 
20650
 
 
20651
        MAKE_DLL_TARGET="dll"
 
20652
        INSTALL_DLL_TARGET="dll-install"
 
20653
        ;;
 
20654
    *-mingw32*)
 
20655
        OSYSTEM="windows"
 
20656
 
 
20657
cat >>confdefs.h <<\_ACEOF
 
20658
#define OS_WIN32 1
 
20659
_ACEOF
 
20660
 
 
20661
        OS_TYPE="windows"
 
20662
 
 
20663
cat >>confdefs.h <<_ACEOF
 
20664
#define BUILDING_DLL 1
 
20665
_ACEOF
 
20666
 
 
20667
        MAKE_DLL_TARGET="dll"
 
20668
        INSTALL_DLL_TARGET="dll-install"
 
20669
        ;;
 
20670
    *-palmos*)
 
20671
        OSYSTEM="palmos"
 
20672
 
 
20673
cat >>confdefs.h <<\_ACEOF
 
20674
#define OS_PALMOS 1
 
20675
_ACEOF
 
20676
 
 
20677
        OS_TYPE="palmos"
 
20678
        ;;
 
20679
    *)
 
20680
        { echo "$as_me:$LINENO: WARNING: Sorry, but host $host is not supported.
 
20681
        Please report if it works anyway. We will assume that your system
 
20682
        is a posix system and continue." >&5
 
20683
echo "$as_me: WARNING: Sorry, but host $host is not supported.
 
20684
        Please report if it works anyway. We will assume that your system
 
20685
        is a posix system and continue." >&2;}
 
20686
        OSYSTEM="unknown"
 
20687
        OS_TYPE="posix"
 
20688
 
 
20689
cat >>confdefs.h <<\_ACEOF
 
20690
#define OS_POSIX 1
 
20691
_ACEOF
 
20692
 
 
20693
        ;;
 
20694
esac
 
20695
 
 
20696
 
 
20697
 
 
20698
cat >>confdefs.h <<_ACEOF
 
20699
#define OS_SHORTNAME "$OSYSTEM"
 
20700
_ACEOF
 
20701
 
 
20702
 
 
20703
 
 
20704
cat >>confdefs.h <<_ACEOF
 
20705
#define OS_TYPE "$OS_TYPE"
 
20706
_ACEOF
 
20707
 
 
20708
 
 
20709
 
 
20710
 
 
20711
{ echo "$as_me:$LINENO: result: $OS_TYPE" >&5
 
20712
echo "${ECHO_T}$OS_TYPE" >&6; }
 
20713
 
 
20714
 
 
20715
 
 
20716
 
 
20717
# Check whether --with-opensp-includes was given.
19297
20718
if test "${with_opensp_includes+set}" = set; then
19298
 
  withval="$with_opensp_includes"
19299
 
  OPENSPINCLUDES="$with_opensp_includes"
 
20719
  withval=$with_opensp_includes; OPENSPINCLUDES="$with_opensp_includes"
19300
20720
else
19301
20721
  OPENSPINCLUDES=""
19302
 
fi;
19303
 
 
19304
 
 
19305
 
# Check whether --with-opensp-libs or --without-opensp-libs was given.
 
20722
fi
 
20723
 
 
20724
 
 
20725
 
 
20726
# Check whether --with-opensp-libs was given.
19306
20727
if test "${with_opensp_libs+set}" = set; then
19307
 
  withval="$with_opensp_libs"
19308
 
  OPENSPLIBPATH="$with_opensp_libs"
 
20728
  withval=$with_opensp_libs; OPENSPLIBPATH="$with_opensp_libs"
19309
20729
else
19310
20730
  OPENSPLIBPATH="/usr/lib"
19311
 
fi;
 
20731
fi
 
20732
 
19312
20733
 
19313
20734
                        echo $OPENSPLIBPATH
19314
20735
for d in /usr/include/OpenSP /usr/local/include/OpenSP /usr/include/sp/generic /usr/local/include/sp/generic; do
19315
20736
    if test "x$OPENSPINCLUDES" = x; then
19316
20737
        save_CPPFLAGS="$CPPFLAGS"
19317
20738
        CPPFLAGS="$CPPFLAGS -I$d"
19318
 
        echo "$as_me:$LINENO: checking for ParserEventGenerator.h in $d" >&5
19319
 
echo $ECHO_N "checking for ParserEventGenerator.h in $d... $ECHO_C" >&6
 
20739
        { echo "$as_me:$LINENO: checking for ParserEventGenerator.h in $d" >&5
 
20740
echo $ECHO_N "checking for ParserEventGenerator.h in $d... $ECHO_C" >&6; }
19320
20741
        cat >conftest.$ac_ext <<_ACEOF
19321
20742
/* confdefs.h.  */
19322
20743
_ACEOF
19325
20746
/* end confdefs.h.  */
19326
20747
#include <ParserEventGeneratorKit.h>
19327
20748
_ACEOF
19328
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19329
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20749
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20750
case "(($ac_try" in
 
20751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20752
  *) ac_try_echo=$ac_try;;
 
20753
esac
 
20754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20755
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19330
20756
  ac_status=$?
19331
20757
  grep -v '^ *+' conftest.er1 >conftest.err
19332
20758
  rm -f conftest.er1
19333
20759
  cat conftest.err >&5
19334
20760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335
 
  (exit $ac_status); } >/dev/null; then
19336
 
  if test -s conftest.err; then
19337
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19338
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19339
 
  else
19340
 
    ac_cpp_err=
19341
 
  fi
19342
 
else
19343
 
  ac_cpp_err=yes
19344
 
fi
19345
 
if test -z "$ac_cpp_err"; then
19346
 
   echo "$as_me:$LINENO: result: yes" >&5
19347
 
echo "${ECHO_T}yes" >&6; OPENSPINCLUDES=$d
 
20761
  (exit $ac_status); } >/dev/null && {
 
20762
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20763
         test ! -s conftest.err
 
20764
       }; then
 
20765
   { echo "$as_me:$LINENO: result: yes" >&5
 
20766
echo "${ECHO_T}yes" >&6; }; OPENSPINCLUDES=$d
19348
20767
else
19349
20768
  echo "$as_me: failed program was:" >&5
19350
20769
sed 's/^/| /' conftest.$ac_ext >&5
19351
20770
 
19352
 
   echo "$as_me:$LINENO: result: no" >&5
19353
 
echo "${ECHO_T}no" >&6
 
20771
   { echo "$as_me:$LINENO: result: no" >&5
 
20772
echo "${ECHO_T}no" >&6; }
19354
20773
fi
 
20774
 
19355
20775
rm -f conftest.err conftest.$ac_ext
19356
20776
        CPPFLAGS="$save_CPPFLAGS"
19357
20777
    fi
19358
20778
done
19359
20779
 
19360
 
 
19361
20780
##Detect if OpenSP was compiled with SP_MULTI_BYTE, and put the result in config.h
19362
20781
##
19363
20782
 
19368
20787
#endif
19369
20788
 
19370
20789
 
19371
 
# Check whether --with-no-opensp-multibyte or --without-no-opensp-multibyte was given.
 
20790
# Check whether --with-no-opensp-multibyte was given.
19372
20791
if test "${with_no_opensp_multibyte+set}" = set; then
19373
 
  withval="$with_no_opensp_multibyte"
19374
 
 
 
20792
  withval=$with_no_opensp_multibyte;
19375
20793
else
19376
20794
 
19377
20795
cat >>confdefs.h <<\_ACEOF
19378
20796
#define SP_MULTI_BYTE 1
19379
20797
_ACEOF
19380
20798
 
19381
 
fi;
 
20799
fi
 
20800
 
19382
20801
 
19383
20802
##if test x"$SP_MULTI_BYTE" == x ;then
19384
20803
##CHECK_SP_MULTI_BYTE
19388
20807
if test "x$OPENSPINCLUDES" != x ; then
19389
20808
  CPPFLAGS="-I$OPENSPINCLUDES $CPPFLAGS"
19390
20809
fi
19391
 
ac_ext=cc
 
20810
ac_ext=cpp
19392
20811
ac_cpp='$CXXCPP $CPPFLAGS'
19393
20812
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394
20813
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19400
20819
for ac_header in ParserEventGeneratorKit.h SGMLApplication.h EventGenerator.h
19401
20820
do
19402
20821
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19403
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19404
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19405
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20822
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20823
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20824
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19406
20825
  echo $ECHO_N "(cached) $ECHO_C" >&6
19407
20826
else
19408
20827
  cat >conftest.$ac_ext <<_ACEOF
19416
20835
#include <$ac_header>
19417
20836
_ACEOF
19418
20837
rm -f conftest.$ac_objext
19419
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19420
 
  (eval $ac_compile) 2>conftest.er1
 
20838
if { (ac_try="$ac_compile"
 
20839
case "(($ac_try" in
 
20840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20841
  *) ac_try_echo=$ac_try;;
 
20842
esac
 
20843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20844
  (eval "$ac_compile") 2>conftest.er1
19421
20845
  ac_status=$?
19422
20846
  grep -v '^ *+' conftest.er1 >conftest.err
19423
20847
  rm -f conftest.er1
19424
20848
  cat conftest.err >&5
19425
20849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426
 
  (exit $ac_status); } &&
19427
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19428
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429
 
  (eval $ac_try) 2>&5
19430
 
  ac_status=$?
19431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432
 
  (exit $ac_status); }; } &&
19433
 
         { ac_try='test -s conftest.$ac_objext'
19434
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435
 
  (eval $ac_try) 2>&5
19436
 
  ac_status=$?
19437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438
 
  (exit $ac_status); }; }; then
 
20850
  (exit $ac_status); } && {
 
20851
         test -z "$ac_cxx_werror_flag" ||
 
20852
         test ! -s conftest.err
 
20853
       } && test -s conftest.$ac_objext; then
19439
20854
  eval "$as_ac_Header=yes"
19440
20855
else
19441
20856
  echo "$as_me: failed program was:" >&5
19442
20857
sed 's/^/| /' conftest.$ac_ext >&5
19443
20858
 
19444
 
eval "$as_ac_Header=no"
19445
 
fi
19446
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19447
 
fi
19448
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19449
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20859
        eval "$as_ac_Header=no"
 
20860
fi
 
20861
 
 
20862
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20863
fi
 
20864
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20865
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20866
echo "${ECHO_T}$ac_res" >&6; }
19450
20867
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19451
20868
  cat >>confdefs.h <<_ACEOF
19452
20869
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19465
20882
ac_save_LIBS="$LIBS"
19466
20883
LIBS="$OPENSPLIBS $LIBS"
19467
20884
 
19468
 
echo "$as_me:$LINENO: checking for libosp" >&5
19469
 
echo $ECHO_N "checking for libosp... $ECHO_C" >&6
 
20885
{ echo "$as_me:$LINENO: checking for libosp" >&5
 
20886
echo $ECHO_N "checking for libosp... $ECHO_C" >&6; }
19470
20887
##dnl This is code from the opensp documentation, I modified it a little
19471
20888
##dnl It is really just a link test rather than a run test, it does nothing
19472
 
ac_ext=cc
 
20889
ac_ext=cpp
19473
20890
ac_cpp='$CXXCPP $CPPFLAGS'
19474
20891
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19475
20892
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19476
20893
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19477
20894
 
19478
20895
        if test "$cross_compiling" = yes; then
19479
 
  echo "$as_me:$LINENO: result: unknown, assumed OK" >&5
19480
 
echo "${ECHO_T}unknown, assumed OK" >&6
 
20896
  { echo "$as_me:$LINENO: result: unknown, assumed OK" >&5
 
20897
echo "${ECHO_T}unknown, assumed OK" >&6; }
19481
20898
else
19482
20899
  cat >conftest.$ac_ext <<_ACEOF
19483
20900
/* confdefs.h.  */
19505
20922
 
19506
20923
_ACEOF
19507
20924
rm -f conftest$ac_exeext
19508
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19509
 
  (eval $ac_link) 2>&5
 
20925
if { (ac_try="$ac_link"
 
20926
case "(($ac_try" in
 
20927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20928
  *) ac_try_echo=$ac_try;;
 
20929
esac
 
20930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20931
  (eval "$ac_link") 2>&5
19510
20932
  ac_status=$?
19511
20933
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512
20934
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19513
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514
 
  (eval $ac_try) 2>&5
 
20935
  { (case "(($ac_try" in
 
20936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20937
  *) ac_try_echo=$ac_try;;
 
20938
esac
 
20939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20940
  (eval "$ac_try") 2>&5
19515
20941
  ac_status=$?
19516
20942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517
20943
  (exit $ac_status); }; }; then
19518
 
  echo "$as_me:$LINENO: result: yes" >&5
19519
 
echo "${ECHO_T}yes" >&6
 
20944
  { echo "$as_me:$LINENO: result: yes" >&5
 
20945
echo "${ECHO_T}yes" >&6; }
19520
20946
else
19521
20947
  echo "$as_me: program exited with status $ac_status" >&5
19522
20948
echo "$as_me: failed program was:" >&5
19523
20949
sed 's/^/| /' conftest.$ac_ext >&5
19524
20950
 
19525
20951
( exit $ac_status )
19526
 
echo "$as_me:$LINENO: result: no" >&5
19527
 
echo "${ECHO_T}no" >&6
 
20952
{ echo "$as_me:$LINENO: result: no" >&5
 
20953
echo "${ECHO_T}no" >&6; }
19528
20954
        { { echo "$as_me:$LINENO: error: unable to link a test program, is OpenSP installed?" >&5
19529
20955
echo "$as_me: error: unable to link a test program, is OpenSP installed?" >&2;}
19530
20956
   { (exit 1); exit 1; }; }
19531
20957
fi
19532
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20958
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19533
20959
fi
19534
20960
 
 
20961
 
 
20962
 
19535
20963
CPPFLAGS="$ac_save_CPPFLAGS"
19536
20964
LIBS="$ac_save_LIBS"
19537
20965
 
19543
20971
# check for doxygen
19544
20972
# ----------------------------------------------------------------------------
19545
20973
 
19546
 
# Check whether --enable-doxygen or --disable-doxygen was given.
 
20974
# Check whether --enable-doxygen was given.
19547
20975
if test "${enable_doxygen+set}" = set; then
19548
 
  enableval="$enable_doxygen"
 
20976
  enableval=$enable_doxygen;
 
20977
fi
19549
20978
 
19550
 
fi;
19551
 
# Check whether --enable-dot or --disable-dot was given.
 
20979
# Check whether --enable-dot was given.
19552
20980
if test "${enable_dot+set}" = set; then
19553
 
  enableval="$enable_dot"
 
20981
  enableval=$enable_dot;
 
20982
fi
19554
20983
 
19555
 
fi;
19556
 
# Check whether --enable-html-docs or --disable-html-docs was given.
 
20984
# Check whether --enable-html-docs was given.
19557
20985
if test "${enable_html_docs+set}" = set; then
19558
 
  enableval="$enable_html_docs"
19559
 
 
 
20986
  enableval=$enable_html_docs;
19560
20987
else
19561
20988
   enable_html_docs=yes
19562
 
fi;
19563
 
# Check whether --enable-latex-docs or --disable-latex-docs was given.
 
20989
fi
 
20990
 
 
20991
# Check whether --enable-latex-docs was given.
19564
20992
if test "${enable_latex_docs+set}" = set; then
19565
 
  enableval="$enable_latex_docs"
19566
 
 
 
20993
  enableval=$enable_latex_docs;
19567
20994
else
19568
20995
   enable_latex_docs=no
19569
 
fi;
 
20996
fi
 
20997
 
19570
20998
if test "x$enable_doxygen" = xno; then
19571
20999
        enable_doc=no
19572
21000
else
19573
21001
        # Extract the first word of "doxygen", so it can be a program name with args.
19574
21002
set dummy doxygen; ac_word=$2
19575
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19576
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21003
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21004
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19577
21005
if test "${ac_cv_path_DOXYGEN+set}" = set; then
19578
21006
  echo $ECHO_N "(cached) $ECHO_C" >&6
19579
21007
else
19588
21016
  IFS=$as_save_IFS
19589
21017
  test -z "$as_dir" && as_dir=.
19590
21018
  for ac_exec_ext in '' $ac_executable_extensions; do
19591
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19592
21020
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
19593
21021
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19594
21022
    break 2
19595
21023
  fi
19596
21024
done
19597
21025
done
 
21026
IFS=$as_save_IFS
19598
21027
 
19599
21028
  ;;
19600
21029
esac
19601
21030
fi
19602
21031
DOXYGEN=$ac_cv_path_DOXYGEN
19603
 
 
19604
21032
if test -n "$DOXYGEN"; then
19605
 
  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
19606
 
echo "${ECHO_T}$DOXYGEN" >&6
 
21033
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
21034
echo "${ECHO_T}$DOXYGEN" >&6; }
19607
21035
else
19608
 
  echo "$as_me:$LINENO: result: no" >&5
19609
 
echo "${ECHO_T}no" >&6
 
21036
  { echo "$as_me:$LINENO: result: no" >&5
 
21037
echo "${ECHO_T}no" >&6; }
19610
21038
fi
19611
21039
 
 
21040
 
19612
21041
        if test x$DOXYGEN = x; then
19613
21042
                if test "x$enable_doxygen" = xyes; then
19614
21043
                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
19620
21049
                enable_doc=yes
19621
21050
                # Extract the first word of "dot", so it can be a program name with args.
19622
21051
set dummy dot; ac_word=$2
19623
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19624
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21052
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21053
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19625
21054
if test "${ac_cv_path_DOT+set}" = set; then
19626
21055
  echo $ECHO_N "(cached) $ECHO_C" >&6
19627
21056
else
19636
21065
  IFS=$as_save_IFS
19637
21066
  test -z "$as_dir" && as_dir=.
19638
21067
  for ac_exec_ext in '' $ac_executable_extensions; do
19639
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19640
21069
    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
19641
21070
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19642
21071
    break 2
19643
21072
  fi
19644
21073
done
19645
21074
done
 
21075
IFS=$as_save_IFS
19646
21076
 
19647
21077
  ;;
19648
21078
esac
19649
21079
fi
19650
21080
DOT=$ac_cv_path_DOT
19651
 
 
19652
21081
if test -n "$DOT"; then
19653
 
  echo "$as_me:$LINENO: result: $DOT" >&5
19654
 
echo "${ECHO_T}$DOT" >&6
 
21082
  { echo "$as_me:$LINENO: result: $DOT" >&5
 
21083
echo "${ECHO_T}$DOT" >&6; }
19655
21084
else
19656
 
  echo "$as_me:$LINENO: result: no" >&5
19657
 
echo "${ECHO_T}no" >&6
 
21085
  { echo "$as_me:$LINENO: result: no" >&5
 
21086
echo "${ECHO_T}no" >&6; }
19658
21087
fi
19659
21088
 
 
21089
 
19660
21090
        fi
19661
21091
fi
19662
21092
 
19707
21137
for ac_header in getopt.h
19708
21138
do
19709
21139
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19710
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19711
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19712
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19713
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21140
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21141
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21142
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21143
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19714
21144
  echo $ECHO_N "(cached) $ECHO_C" >&6
19715
21145
fi
19716
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19717
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21146
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21147
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21148
echo "${ECHO_T}$ac_res" >&6; }
19718
21149
else
19719
21150
  # Is the header compilable?
19720
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19721
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21151
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21152
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19722
21153
cat >conftest.$ac_ext <<_ACEOF
19723
21154
/* confdefs.h.  */
19724
21155
_ACEOF
19729
21160
#include <$ac_header>
19730
21161
_ACEOF
19731
21162
rm -f conftest.$ac_objext
19732
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733
 
  (eval $ac_compile) 2>conftest.er1
 
21163
if { (ac_try="$ac_compile"
 
21164
case "(($ac_try" in
 
21165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21166
  *) ac_try_echo=$ac_try;;
 
21167
esac
 
21168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21169
  (eval "$ac_compile") 2>conftest.er1
19734
21170
  ac_status=$?
19735
21171
  grep -v '^ *+' conftest.er1 >conftest.err
19736
21172
  rm -f conftest.er1
19737
21173
  cat conftest.err >&5
19738
21174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739
 
  (exit $ac_status); } &&
19740
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742
 
  (eval $ac_try) 2>&5
19743
 
  ac_status=$?
19744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745
 
  (exit $ac_status); }; } &&
19746
 
         { ac_try='test -s conftest.$ac_objext'
19747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748
 
  (eval $ac_try) 2>&5
19749
 
  ac_status=$?
19750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751
 
  (exit $ac_status); }; }; then
 
21175
  (exit $ac_status); } && {
 
21176
         test -z "$ac_cxx_werror_flag" ||
 
21177
         test ! -s conftest.err
 
21178
       } && test -s conftest.$ac_objext; then
19752
21179
  ac_header_compiler=yes
19753
21180
else
19754
21181
  echo "$as_me: failed program was:" >&5
19755
21182
sed 's/^/| /' conftest.$ac_ext >&5
19756
21183
 
19757
 
ac_header_compiler=no
 
21184
        ac_header_compiler=no
19758
21185
fi
19759
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19760
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19761
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21186
 
 
21187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21188
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21189
echo "${ECHO_T}$ac_header_compiler" >&6; }
19762
21190
 
19763
21191
# Is the header present?
19764
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19765
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21192
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21193
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19766
21194
cat >conftest.$ac_ext <<_ACEOF
19767
21195
/* confdefs.h.  */
19768
21196
_ACEOF
19771
21199
/* end confdefs.h.  */
19772
21200
#include <$ac_header>
19773
21201
_ACEOF
19774
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19775
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21202
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21203
case "(($ac_try" in
 
21204
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21205
  *) ac_try_echo=$ac_try;;
 
21206
esac
 
21207
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21208
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19776
21209
  ac_status=$?
19777
21210
  grep -v '^ *+' conftest.er1 >conftest.err
19778
21211
  rm -f conftest.er1
19779
21212
  cat conftest.err >&5
19780
21213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781
 
  (exit $ac_status); } >/dev/null; then
19782
 
  if test -s conftest.err; then
19783
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
19784
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19785
 
  else
19786
 
    ac_cpp_err=
19787
 
  fi
19788
 
else
19789
 
  ac_cpp_err=yes
19790
 
fi
19791
 
if test -z "$ac_cpp_err"; then
 
21214
  (exit $ac_status); } >/dev/null && {
 
21215
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
21216
         test ! -s conftest.err
 
21217
       }; then
19792
21218
  ac_header_preproc=yes
19793
21219
else
19794
21220
  echo "$as_me: failed program was:" >&5
19796
21222
 
19797
21223
  ac_header_preproc=no
19798
21224
fi
 
21225
 
19799
21226
rm -f conftest.err conftest.$ac_ext
19800
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19801
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21227
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21228
echo "${ECHO_T}$ac_header_preproc" >&6; }
19802
21229
 
19803
21230
# So?  What about this header?
19804
21231
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19822
21249
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19823
21250
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19824
21251
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19825
 
    (
19826
 
      cat <<\_ASBOX
19827
 
## ------------------------------------------ ##
19828
 
## Report this to the AC_PACKAGE_NAME lists.  ##
19829
 
## ------------------------------------------ ##
19830
 
_ASBOX
19831
 
    ) |
19832
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21252
 
19833
21253
    ;;
19834
21254
esac
19835
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19836
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19837
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21255
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21256
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21257
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19838
21258
  echo $ECHO_N "(cached) $ECHO_C" >&6
19839
21259
else
19840
21260
  eval "$as_ac_Header=\$ac_header_preproc"
19841
21261
fi
19842
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19843
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21262
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21263
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21264
echo "${ECHO_T}$ac_res" >&6; }
19844
21265
 
19845
21266
fi
19846
21267
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19856
21277
for ac_func in getopt_long
19857
21278
do
19858
21279
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19859
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19860
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19861
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21280
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21281
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21282
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19862
21283
  echo $ECHO_N "(cached) $ECHO_C" >&6
19863
21284
else
19864
21285
  cat >conftest.$ac_ext <<_ACEOF
19884
21305
 
19885
21306
#undef $ac_func
19886
21307
 
19887
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21308
/* Override any GCC internal prototype to avoid an error.
 
21309
   Use char because int might match the return type of a GCC
 
21310
   builtin and then its argument prototype would still apply.  */
19888
21311
#ifdef __cplusplus
19889
21312
extern "C"
19890
 
{
19891
21313
#endif
19892
 
/* We use char because int might match the return type of a gcc2
19893
 
   builtin and then its argument prototype would still apply.  */
19894
21314
char $ac_func ();
19895
21315
/* The GNU C library defines this for functions which it implements
19896
21316
    to always fail with ENOSYS.  Some functions are actually named
19897
21317
    something starting with __ and the normal name is an alias.  */
19898
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21318
#if defined __stub_$ac_func || defined __stub___$ac_func
19899
21319
choke me
19900
 
#else
19901
 
char (*f) () = $ac_func;
19902
 
#endif
19903
 
#ifdef __cplusplus
19904
 
}
19905
21320
#endif
19906
21321
 
19907
21322
int
19908
21323
main ()
19909
21324
{
19910
 
return f != $ac_func;
 
21325
return $ac_func ();
19911
21326
  ;
19912
21327
  return 0;
19913
21328
}
19914
21329
_ACEOF
19915
21330
rm -f conftest.$ac_objext conftest$ac_exeext
19916
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19917
 
  (eval $ac_link) 2>conftest.er1
 
21331
if { (ac_try="$ac_link"
 
21332
case "(($ac_try" in
 
21333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21334
  *) ac_try_echo=$ac_try;;
 
21335
esac
 
21336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21337
  (eval "$ac_link") 2>conftest.er1
19918
21338
  ac_status=$?
19919
21339
  grep -v '^ *+' conftest.er1 >conftest.err
19920
21340
  rm -f conftest.er1
19921
21341
  cat conftest.err >&5
19922
21342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923
 
  (exit $ac_status); } &&
19924
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926
 
  (eval $ac_try) 2>&5
19927
 
  ac_status=$?
19928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929
 
  (exit $ac_status); }; } &&
19930
 
         { ac_try='test -s conftest$ac_exeext'
19931
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932
 
  (eval $ac_try) 2>&5
19933
 
  ac_status=$?
19934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935
 
  (exit $ac_status); }; }; then
 
21343
  (exit $ac_status); } && {
 
21344
         test -z "$ac_cxx_werror_flag" ||
 
21345
         test ! -s conftest.err
 
21346
       } && test -s conftest$ac_exeext &&
 
21347
       $as_test_x conftest$ac_exeext; then
19936
21348
  eval "$as_ac_var=yes"
19937
21349
else
19938
21350
  echo "$as_me: failed program was:" >&5
19939
21351
sed 's/^/| /' conftest.$ac_ext >&5
19940
21352
 
19941
 
eval "$as_ac_var=no"
 
21353
        eval "$as_ac_var=no"
19942
21354
fi
19943
 
rm -f conftest.err conftest.$ac_objext \
 
21355
 
 
21356
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19944
21357
      conftest$ac_exeext conftest.$ac_ext
19945
21358
fi
19946
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19947
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21359
ac_res=`eval echo '${'$as_ac_var'}'`
 
21360
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21361
echo "${ECHO_T}$ac_res" >&6; }
19948
21362
if test `eval echo '${'$as_ac_var'}'` = yes; then
19949
21363
  cat >>confdefs.h <<_ACEOF
19950
21364
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19952
21366
 
19953
21367
else
19954
21368
  # FreeBSD has a gnugetopt library for this
19955
 
    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
19956
 
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
 
21369
    { echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
 
21370
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; }
19957
21371
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
19958
21372
  echo $ECHO_N "(cached) $ECHO_C" >&6
19959
21373
else
19966
21380
cat >>conftest.$ac_ext <<_ACEOF
19967
21381
/* end confdefs.h.  */
19968
21382
 
19969
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21383
/* Override any GCC internal prototype to avoid an error.
 
21384
   Use char because int might match the return type of a GCC
 
21385
   builtin and then its argument prototype would still apply.  */
19970
21386
#ifdef __cplusplus
19971
21387
extern "C"
19972
21388
#endif
19973
 
/* We use char because int might match the return type of a gcc2
19974
 
   builtin and then its argument prototype would still apply.  */
19975
21389
char getopt_long ();
19976
21390
int
19977
21391
main ()
19978
21392
{
19979
 
getopt_long ();
 
21393
return getopt_long ();
19980
21394
  ;
19981
21395
  return 0;
19982
21396
}
19983
21397
_ACEOF
19984
21398
rm -f conftest.$ac_objext conftest$ac_exeext
19985
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19986
 
  (eval $ac_link) 2>conftest.er1
 
21399
if { (ac_try="$ac_link"
 
21400
case "(($ac_try" in
 
21401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21402
  *) ac_try_echo=$ac_try;;
 
21403
esac
 
21404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21405
  (eval "$ac_link") 2>conftest.er1
19987
21406
  ac_status=$?
19988
21407
  grep -v '^ *+' conftest.er1 >conftest.err
19989
21408
  rm -f conftest.er1
19990
21409
  cat conftest.err >&5
19991
21410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992
 
  (exit $ac_status); } &&
19993
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
19994
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995
 
  (eval $ac_try) 2>&5
19996
 
  ac_status=$?
19997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998
 
  (exit $ac_status); }; } &&
19999
 
         { ac_try='test -s conftest$ac_exeext'
20000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001
 
  (eval $ac_try) 2>&5
20002
 
  ac_status=$?
20003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004
 
  (exit $ac_status); }; }; then
 
21411
  (exit $ac_status); } && {
 
21412
         test -z "$ac_cxx_werror_flag" ||
 
21413
         test ! -s conftest.err
 
21414
       } && test -s conftest$ac_exeext &&
 
21415
       $as_test_x conftest$ac_exeext; then
20005
21416
  ac_cv_lib_gnugetopt_getopt_long=yes
20006
21417
else
20007
21418
  echo "$as_me: failed program was:" >&5
20008
21419
sed 's/^/| /' conftest.$ac_ext >&5
20009
21420
 
20010
 
ac_cv_lib_gnugetopt_getopt_long=no
 
21421
        ac_cv_lib_gnugetopt_getopt_long=no
20011
21422
fi
20012
 
rm -f conftest.err conftest.$ac_objext \
 
21423
 
 
21424
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20013
21425
      conftest$ac_exeext conftest.$ac_ext
20014
21426
LIBS=$ac_check_lib_save_LIBS
20015
21427
fi
20016
 
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
20017
 
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
 
21428
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
 
21429
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; }
20018
21430
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
20019
21431
  cat >>confdefs.h <<\_ACEOF
20020
21432
#define HAVE_GETOPT_LONG 1
20022
21434
 
20023
21435
else
20024
21436
  # use the GNU replacement
20025
 
      case $LIBOBJS in
20026
 
    "getopt.$ac_objext"   | \
20027
 
  *" getopt.$ac_objext"   | \
20028
 
    "getopt.$ac_objext "* | \
 
21437
      case " $LIBOBJS " in
20029
21438
  *" getopt.$ac_objext "* ) ;;
20030
 
  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
 
21439
  *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
 
21440
 ;;
20031
21441
esac
20032
21442
 
20033
 
      case $LIBOBJS in
20034
 
    "getopt1.$ac_objext"   | \
20035
 
  *" getopt1.$ac_objext"   | \
20036
 
    "getopt1.$ac_objext "* | \
 
21443
      case " $LIBOBJS " in
20037
21444
  *" getopt1.$ac_objext "* ) ;;
20038
 
  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
 
21445
  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext"
 
21446
 ;;
20039
21447
esac
20040
21448
 
20041
 
                ac_config_links="$ac_config_links lib/getopt.h:lib/gnugetopt.h"
 
21449
      ac_config_links="$ac_config_links lib/getopt.h:lib/gnugetopt.h"
20042
21450
 
20043
21451
fi
20044
21452
 
20057
21465
 
20058
21466
 
20059
21467
# gengetopt command line parser generation
20060
 
# Check whether --enable-gengetopt or --disable-gengetopt was given.
 
21468
# Check whether --enable-gengetopt was given.
20061
21469
if test "${enable_gengetopt+set}" = set; then
20062
 
  enableval="$enable_gengetopt"
20063
 
  case "${enableval}" in
 
21470
  enableval=$enable_gengetopt; case "${enableval}" in
20064
21471
  yes) gengetopt=yes ;;
20065
21472
  no)  gengetopt=no ;;
20066
21473
  *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-gengetopt" >&5
20069
21476
esac
20070
21477
else
20071
21478
  gengetopt=yes
20072
 
fi;
 
21479
fi
 
21480
 
20073
21481
 
20074
21482
if test x$gengetopt = xyes ; then
20075
21483
   # Extract the first word of "gengetopt", so it can be a program name with args.
20076
21484
set dummy gengetopt; ac_word=$2
20077
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20078
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21485
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21486
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20079
21487
if test "${ac_cv_prog_have_gengetopt+set}" = set; then
20080
21488
  echo $ECHO_N "(cached) $ECHO_C" >&6
20081
21489
else
20088
21496
  IFS=$as_save_IFS
20089
21497
  test -z "$as_dir" && as_dir=.
20090
21498
  for ac_exec_ext in '' $ac_executable_extensions; do
20091
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21499
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20092
21500
    ac_cv_prog_have_gengetopt="yes"
20093
21501
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20094
21502
    break 2
20095
21503
  fi
20096
21504
done
20097
21505
done
 
21506
IFS=$as_save_IFS
20098
21507
 
20099
21508
  test -z "$ac_cv_prog_have_gengetopt" && ac_cv_prog_have_gengetopt="no"
20100
21509
fi
20101
21510
fi
20102
21511
have_gengetopt=$ac_cv_prog_have_gengetopt
20103
21512
if test -n "$have_gengetopt"; then
20104
 
  echo "$as_me:$LINENO: result: $have_gengetopt" >&5
20105
 
echo "${ECHO_T}$have_gengetopt" >&6
 
21513
  { echo "$as_me:$LINENO: result: $have_gengetopt" >&5
 
21514
echo "${ECHO_T}$have_gengetopt" >&6; }
20106
21515
else
20107
 
  echo "$as_me:$LINENO: result: no" >&5
20108
 
echo "${ECHO_T}no" >&6
 
21516
  { echo "$as_me:$LINENO: result: no" >&5
 
21517
echo "${ECHO_T}no" >&6; }
20109
21518
fi
20110
21519
 
20111
21520
 
 
21521
 
20112
21522
   if test x$have_gengetopt = xno ; then
20113
21523
     { echo "$as_me:$LINENO: WARNING: *** Not rebuilding command line parser as gengetopt is not found ***" >&5
20114
21524
echo "$as_me: WARNING: *** Not rebuilding command line parser as gengetopt is not found ***" >&2;}
20162
21572
 
20163
21573
 
20164
21574
 
20165
 
# Check whether --with-libcurl or --without-libcurl was given.
 
21575
# Check whether --with-libcurl was given.
20166
21576
if test "${with_libcurl+set}" = set; then
20167
 
  withval="$with_libcurl"
20168
 
  _libcurl_with=$withval
 
21577
  withval=$with_libcurl; _libcurl_with=$withval
20169
21578
else
20170
21579
  _libcurl_with=yes
20171
 
fi;
 
21580
fi
 
21581
 
20172
21582
 
20173
21583
  if test "$_libcurl_with" != "no" ; then
20174
21584
 
20176
21586
do
20177
21587
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20178
21588
set dummy $ac_prog; ac_word=$2
20179
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20180
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21589
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21590
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20181
21591
if test "${ac_cv_prog_AWK+set}" = set; then
20182
21592
  echo $ECHO_N "(cached) $ECHO_C" >&6
20183
21593
else
20190
21600
  IFS=$as_save_IFS
20191
21601
  test -z "$as_dir" && as_dir=.
20192
21602
  for ac_exec_ext in '' $ac_executable_extensions; do
20193
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20194
21604
    ac_cv_prog_AWK="$ac_prog"
20195
21605
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20196
21606
    break 2
20197
21607
  fi
20198
21608
done
20199
21609
done
 
21610
IFS=$as_save_IFS
20200
21611
 
20201
21612
fi
20202
21613
fi
20203
21614
AWK=$ac_cv_prog_AWK
20204
21615
if test -n "$AWK"; then
20205
 
  echo "$as_me:$LINENO: result: $AWK" >&5
20206
 
echo "${ECHO_T}$AWK" >&6
 
21616
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
21617
echo "${ECHO_T}$AWK" >&6; }
20207
21618
else
20208
 
  echo "$as_me:$LINENO: result: no" >&5
20209
 
echo "${ECHO_T}no" >&6
 
21619
  { echo "$as_me:$LINENO: result: no" >&5
 
21620
echo "${ECHO_T}no" >&6; }
20210
21621
fi
20211
21622
 
 
21623
 
20212
21624
  test -n "$AWK" && break
20213
21625
done
20214
21626
 
20224
21636
 
20225
21637
     # Extract the first word of "curl-config", so it can be a program name with args.
20226
21638
set dummy curl-config; ac_word=$2
20227
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20228
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21639
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21640
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20229
21641
if test "${ac_cv_path__libcurl_config+set}" = set; then
20230
21642
  echo $ECHO_N "(cached) $ECHO_C" >&6
20231
21643
else
20240
21652
  IFS=$as_save_IFS
20241
21653
  test -z "$as_dir" && as_dir=.
20242
21654
  for ac_exec_ext in '' $ac_executable_extensions; do
20243
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21655
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20244
21656
    ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
20245
21657
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20246
21658
    break 2
20247
21659
  fi
20248
21660
done
20249
21661
done
 
21662
IFS=$as_save_IFS
20250
21663
 
20251
21664
  ;;
20252
21665
esac
20253
21666
fi
20254
21667
_libcurl_config=$ac_cv_path__libcurl_config
20255
 
 
20256
21668
if test -n "$_libcurl_config"; then
20257
 
  echo "$as_me:$LINENO: result: $_libcurl_config" >&5
20258
 
echo "${ECHO_T}$_libcurl_config" >&6
 
21669
  { echo "$as_me:$LINENO: result: $_libcurl_config" >&5
 
21670
echo "${ECHO_T}$_libcurl_config" >&6; }
20259
21671
else
20260
 
  echo "$as_me:$LINENO: result: no" >&5
20261
 
echo "${ECHO_T}no" >&6
 
21672
  { echo "$as_me:$LINENO: result: no" >&5
 
21673
echo "${ECHO_T}no" >&6; }
20262
21674
fi
20263
21675
 
20264
21676
 
 
21677
 
20265
21678
     if test x$_libcurl_config != "x" ; then
20266
 
        echo "$as_me:$LINENO: checking for the version of libcurl" >&5
20267
 
echo $ECHO_N "checking for the version of libcurl... $ECHO_C" >&6
 
21679
        { echo "$as_me:$LINENO: checking for the version of libcurl" >&5
 
21680
echo $ECHO_N "checking for the version of libcurl... $ECHO_C" >&6; }
20268
21681
if test "${libcurl_cv_lib_curl_version+set}" = set; then
20269
21682
  echo $ECHO_N "(cached) $ECHO_C" >&6
20270
21683
else
20271
21684
  libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
20272
21685
fi
20273
 
echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5
20274
 
echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6
 
21686
{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5
 
21687
echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6; }
20275
21688
 
20276
21689
        _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
20277
21690
        _libcurl_wanted=`echo 7.9.7 | $_libcurl_version_parse`
20278
21691
 
20279
21692
        if test $_libcurl_wanted -gt 0 ; then
20280
 
           echo "$as_me:$LINENO: checking for libcurl >= version 7.9.7" >&5
20281
 
echo $ECHO_N "checking for libcurl >= version 7.9.7... $ECHO_C" >&6
 
21693
           { echo "$as_me:$LINENO: checking for libcurl >= version 7.9.7" >&5
 
21694
echo $ECHO_N "checking for libcurl >= version 7.9.7... $ECHO_C" >&6; }
20282
21695
if test "${libcurl_cv_lib_version_ok+set}" = set; then
20283
21696
  echo $ECHO_N "(cached) $ECHO_C" >&6
20284
21697
else
20290
21703
              fi
20291
21704
 
20292
21705
fi
20293
 
echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5
20294
 
echo "${ECHO_T}$libcurl_cv_lib_version_ok" >&6
 
21706
{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5
 
21707
echo "${ECHO_T}$libcurl_cv_lib_version_ok" >&6; }
20295
21708
        fi
20296
21709
 
20297
21710
        if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
20331
21744
        # link line (or failing that, "-lcurl") is enough.
20332
21745
        LIBCURL=${LIBCURL-"-lcurl"}
20333
21746
 
20334
 
        echo "$as_me:$LINENO: checking whether libcurl is usable" >&5
20335
 
echo $ECHO_N "checking whether libcurl is usable... $ECHO_C" >&6
 
21747
        { echo "$as_me:$LINENO: checking whether libcurl is usable" >&5
 
21748
echo $ECHO_N "checking whether libcurl is usable... $ECHO_C" >&6; }
20336
21749
if test "${libcurl_cv_lib_curl_usable+set}" = set; then
20337
21750
  echo $ECHO_N "(cached) $ECHO_C" >&6
20338
21751
else
20369
21782
}
20370
21783
_ACEOF
20371
21784
rm -f conftest.$ac_objext conftest$ac_exeext
20372
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20373
 
  (eval $ac_link) 2>conftest.er1
 
21785
if { (ac_try="$ac_link"
 
21786
case "(($ac_try" in
 
21787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21788
  *) ac_try_echo=$ac_try;;
 
21789
esac
 
21790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21791
  (eval "$ac_link") 2>conftest.er1
20374
21792
  ac_status=$?
20375
21793
  grep -v '^ *+' conftest.er1 >conftest.err
20376
21794
  rm -f conftest.er1
20377
21795
  cat conftest.err >&5
20378
21796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379
 
  (exit $ac_status); } &&
20380
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
20381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382
 
  (eval $ac_try) 2>&5
20383
 
  ac_status=$?
20384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385
 
  (exit $ac_status); }; } &&
20386
 
         { ac_try='test -s conftest$ac_exeext'
20387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388
 
  (eval $ac_try) 2>&5
20389
 
  ac_status=$?
20390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391
 
  (exit $ac_status); }; }; then
 
21797
  (exit $ac_status); } && {
 
21798
         test -z "$ac_cxx_werror_flag" ||
 
21799
         test ! -s conftest.err
 
21800
       } && test -s conftest$ac_exeext &&
 
21801
       $as_test_x conftest$ac_exeext; then
20392
21802
  libcurl_cv_lib_curl_usable=yes
20393
21803
else
20394
21804
  echo "$as_me: failed program was:" >&5
20395
21805
sed 's/^/| /' conftest.$ac_ext >&5
20396
21806
 
20397
 
libcurl_cv_lib_curl_usable=no
 
21807
        libcurl_cv_lib_curl_usable=no
20398
21808
fi
20399
 
rm -f conftest.err conftest.$ac_objext \
 
21809
 
 
21810
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20400
21811
      conftest$ac_exeext conftest.$ac_ext
20401
21812
 
20402
21813
           CPPFLAGS=$_libcurl_save_cppflags
20405
21816
           unset _libcurl_save_libs
20406
21817
 
20407
21818
fi
20408
 
echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5
20409
 
echo "${ECHO_T}$libcurl_cv_lib_curl_usable" >&6
 
21819
{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5
 
21820
echo "${ECHO_T}$libcurl_cv_lib_curl_usable" >&6; }
20410
21821
 
20411
21822
        if test $libcurl_cv_lib_curl_usable = yes ; then
20412
21823
 
20418
21829
           _libcurl_save_libs=$LIBS
20419
21830
           LIBS="$LIBS $LIBCURL"
20420
21831
 
20421
 
           echo "$as_me:$LINENO: checking for curl_free" >&5
20422
 
echo $ECHO_N "checking for curl_free... $ECHO_C" >&6
 
21832
           { echo "$as_me:$LINENO: checking for curl_free" >&5
 
21833
echo $ECHO_N "checking for curl_free... $ECHO_C" >&6; }
20423
21834
if test "${ac_cv_func_curl_free+set}" = set; then
20424
21835
  echo $ECHO_N "(cached) $ECHO_C" >&6
20425
21836
else
20446
21857
 
20447
21858
#undef curl_free
20448
21859
 
20449
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21860
/* Override any GCC internal prototype to avoid an error.
 
21861
   Use char because int might match the return type of a GCC
 
21862
   builtin and then its argument prototype would still apply.  */
20450
21863
#ifdef __cplusplus
20451
21864
extern "C"
20452
 
{
20453
21865
#endif
20454
 
/* We use char because int might match the return type of a gcc2
20455
 
   builtin and then its argument prototype would still apply.  */
20456
21866
char curl_free ();
20457
21867
/* The GNU C library defines this for functions which it implements
20458
21868
    to always fail with ENOSYS.  Some functions are actually named
20459
21869
    something starting with __ and the normal name is an alias.  */
20460
 
#if defined (__stub_curl_free) || defined (__stub___curl_free)
 
21870
#if defined __stub_curl_free || defined __stub___curl_free
20461
21871
choke me
20462
 
#else
20463
 
char (*f) () = curl_free;
20464
 
#endif
20465
 
#ifdef __cplusplus
20466
 
}
20467
21872
#endif
20468
21873
 
20469
21874
int
20470
21875
main ()
20471
21876
{
20472
 
return f != curl_free;
 
21877
return curl_free ();
20473
21878
  ;
20474
21879
  return 0;
20475
21880
}
20476
21881
_ACEOF
20477
21882
rm -f conftest.$ac_objext conftest$ac_exeext
20478
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20479
 
  (eval $ac_link) 2>conftest.er1
 
21883
if { (ac_try="$ac_link"
 
21884
case "(($ac_try" in
 
21885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21886
  *) ac_try_echo=$ac_try;;
 
21887
esac
 
21888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21889
  (eval "$ac_link") 2>conftest.er1
20480
21890
  ac_status=$?
20481
21891
  grep -v '^ *+' conftest.er1 >conftest.err
20482
21892
  rm -f conftest.er1
20483
21893
  cat conftest.err >&5
20484
21894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485
 
  (exit $ac_status); } &&
20486
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
20487
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488
 
  (eval $ac_try) 2>&5
20489
 
  ac_status=$?
20490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491
 
  (exit $ac_status); }; } &&
20492
 
         { ac_try='test -s conftest$ac_exeext'
20493
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494
 
  (eval $ac_try) 2>&5
20495
 
  ac_status=$?
20496
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497
 
  (exit $ac_status); }; }; then
 
21895
  (exit $ac_status); } && {
 
21896
         test -z "$ac_cxx_werror_flag" ||
 
21897
         test ! -s conftest.err
 
21898
       } && test -s conftest$ac_exeext &&
 
21899
       $as_test_x conftest$ac_exeext; then
20498
21900
  ac_cv_func_curl_free=yes
20499
21901
else
20500
21902
  echo "$as_me: failed program was:" >&5
20501
21903
sed 's/^/| /' conftest.$ac_ext >&5
20502
21904
 
20503
 
ac_cv_func_curl_free=no
 
21905
        ac_cv_func_curl_free=no
20504
21906
fi
20505
 
rm -f conftest.err conftest.$ac_objext \
 
21907
 
 
21908
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20506
21909
      conftest$ac_exeext conftest.$ac_ext
20507
21910
fi
20508
 
echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5
20509
 
echo "${ECHO_T}$ac_cv_func_curl_free" >&6
 
21911
{ echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5
 
21912
echo "${ECHO_T}$ac_cv_func_curl_free" >&6; }
20510
21913
if test $ac_cv_func_curl_free = yes; then
20511
21914
  :
20512
21915
else
20597
22000
        if test -n "$ac_tool_prefix"; then
20598
22001
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20599
22002
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20600
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20601
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22003
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22004
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20602
22005
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20603
22006
  echo $ECHO_N "(cached) $ECHO_C" >&6
20604
22007
else
20613
22016
  IFS=$as_save_IFS
20614
22017
  test -z "$as_dir" && as_dir=.
20615
22018
  for ac_exec_ext in '' $ac_executable_extensions; do
20616
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20617
22020
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20618
22021
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20619
22022
    break 2
20620
22023
  fi
20621
22024
done
20622
22025
done
 
22026
IFS=$as_save_IFS
20623
22027
 
20624
22028
  ;;
20625
22029
esac
20626
22030
fi
20627
22031
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20628
 
 
20629
22032
if test -n "$PKG_CONFIG"; then
20630
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20631
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22033
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22034
echo "${ECHO_T}$PKG_CONFIG" >&6; }
20632
22035
else
20633
 
  echo "$as_me:$LINENO: result: no" >&5
20634
 
echo "${ECHO_T}no" >&6
 
22036
  { echo "$as_me:$LINENO: result: no" >&5
 
22037
echo "${ECHO_T}no" >&6; }
20635
22038
fi
 
22039
 
20636
22040
 
20637
22041
fi
20638
22042
if test -z "$ac_cv_path_PKG_CONFIG"; then
20639
22043
  ac_pt_PKG_CONFIG=$PKG_CONFIG
20640
22044
  # Extract the first word of "pkg-config", so it can be a program name with args.
20641
22045
set dummy pkg-config; ac_word=$2
20642
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20643
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22046
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22047
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20644
22048
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20645
22049
  echo $ECHO_N "(cached) $ECHO_C" >&6
20646
22050
else
20655
22059
  IFS=$as_save_IFS
20656
22060
  test -z "$as_dir" && as_dir=.
20657
22061
  for ac_exec_ext in '' $ac_executable_extensions; do
20658
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22062
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20659
22063
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20660
22064
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20661
22065
    break 2
20662
22066
  fi
20663
22067
done
20664
22068
done
 
22069
IFS=$as_save_IFS
20665
22070
 
20666
22071
  ;;
20667
22072
esac
20668
22073
fi
20669
22074
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20670
 
 
20671
22075
if test -n "$ac_pt_PKG_CONFIG"; then
20672
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20673
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
22076
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
22077
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20674
22078
else
20675
 
  echo "$as_me:$LINENO: result: no" >&5
20676
 
echo "${ECHO_T}no" >&6
 
22079
  { echo "$as_me:$LINENO: result: no" >&5
 
22080
echo "${ECHO_T}no" >&6; }
20677
22081
fi
20678
22082
 
20679
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22083
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
22084
    PKG_CONFIG=""
 
22085
  else
 
22086
    case $cross_compiling:$ac_tool_warned in
 
22087
yes:)
 
22088
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
22089
whose name does not start with the host triplet.  If you think this
 
22090
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
22091
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
22092
whose name does not start with the host triplet.  If you think this
 
22093
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
22094
ac_tool_warned=yes ;;
 
22095
esac
 
22096
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22097
  fi
20680
22098
else
20681
22099
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20682
22100
fi
20684
22102
fi
20685
22103
if test -n "$PKG_CONFIG"; then
20686
22104
        _pkg_min_version=0.9.0
20687
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20688
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
22105
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
22106
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20689
22107
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20690
 
                echo "$as_me:$LINENO: result: yes" >&5
20691
 
echo "${ECHO_T}yes" >&6
 
22108
                { echo "$as_me:$LINENO: result: yes" >&5
 
22109
echo "${ECHO_T}yes" >&6; }
20692
22110
        else
20693
 
                echo "$as_me:$LINENO: result: no" >&5
20694
 
echo "${ECHO_T}no" >&6
 
22111
                { echo "$as_me:$LINENO: result: no" >&5
 
22112
echo "${ECHO_T}no" >&6; }
20695
22113
                PKG_CONFIG=""
20696
22114
        fi
20697
22115
 
20698
22116
fi
20699
22117
 
20700
22118
pkg_failed=no
20701
 
echo "$as_me:$LINENO: checking for LIBXMLPP" >&5
20702
 
echo $ECHO_N "checking for LIBXMLPP... $ECHO_C" >&6
 
22119
{ echo "$as_me:$LINENO: checking for LIBXMLPP" >&5
 
22120
echo $ECHO_N "checking for LIBXMLPP... $ECHO_C" >&6; }
20703
22121
 
20704
22122
if test -n "$PKG_CONFIG"; then
20705
22123
    if test -n "$LIBXMLPP_CFLAGS"; then
20755
22173
        # Put the nasty error message in config.log where it belongs
20756
22174
        echo "$LIBXMLPP_PKG_ERRORS" >&5
20757
22175
 
20758
 
        { echo "$as_me:$LINENO: WARNING: libxml++ 1.0 is not available. ofxconnect (Direct connect samples) will NOT be built." >&5
 
22176
        { echo "$as_me:$LINENO: result: no" >&5
 
22177
echo "${ECHO_T}no" >&6; }
 
22178
                { echo "$as_me:$LINENO: WARNING: libxml++ 1.0 is not available. ofxconnect (Direct connect samples) will NOT be built." >&5
20759
22179
echo "$as_me: WARNING: libxml++ 1.0 is not available. ofxconnect (Direct connect samples) will NOT be built." >&2;}
20760
22180
        have_libxmlpp=no
20761
22181
elif test $pkg_failed = untried; then
20765
22185
else
20766
22186
        LIBXMLPP_CFLAGS=$pkg_cv_LIBXMLPP_CFLAGS
20767
22187
        LIBXMLPP_LIBS=$pkg_cv_LIBXMLPP_LIBS
20768
 
        echo "$as_me:$LINENO: result: yes" >&5
20769
 
echo "${ECHO_T}yes" >&6
 
22188
        { echo "$as_me:$LINENO: result: yes" >&5
 
22189
echo "${ECHO_T}yes" >&6; }
20770
22190
 
20771
22191
 
20772
22192
cat >>confdefs.h <<\_ACEOF
20797
22217
fi
20798
22218
 
20799
22219
 
 
22220
# check for iconv
 
22221
# ----------------------------------------------------------------------------
 
22222
 
 
22223
 
 
22224
# Check whether --with-iconv was given.
 
22225
if test "${with_iconv+set}" = set; then
 
22226
  withval=$with_iconv;
 
22227
fi
 
22228
 
 
22229
 
 
22230
WITH_ICONV=0
 
22231
if test "$with_iconv" = "no" ; then
 
22232
    echo Disabling ICONV support
 
22233
else
 
22234
    if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
 
22235
        CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
 
22236
        # Export this since our headers include iconv.h
 
22237
        XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
 
22238
        ICONV_LIBS="-L$with_iconv/lib"
 
22239
    fi
 
22240
 
 
22241
    if test "${ac_cv_header_iconv_h+set}" = set; then
 
22242
  { echo "$as_me:$LINENO: checking for iconv.h" >&5
 
22243
echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6; }
 
22244
if test "${ac_cv_header_iconv_h+set}" = set; then
 
22245
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22246
fi
 
22247
{ echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
 
22248
echo "${ECHO_T}$ac_cv_header_iconv_h" >&6; }
 
22249
else
 
22250
  # Is the header compilable?
 
22251
{ echo "$as_me:$LINENO: checking iconv.h usability" >&5
 
22252
echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6; }
 
22253
cat >conftest.$ac_ext <<_ACEOF
 
22254
/* confdefs.h.  */
 
22255
_ACEOF
 
22256
cat confdefs.h >>conftest.$ac_ext
 
22257
cat >>conftest.$ac_ext <<_ACEOF
 
22258
/* end confdefs.h.  */
 
22259
$ac_includes_default
 
22260
#include <iconv.h>
 
22261
_ACEOF
 
22262
rm -f conftest.$ac_objext
 
22263
if { (ac_try="$ac_compile"
 
22264
case "(($ac_try" in
 
22265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22266
  *) ac_try_echo=$ac_try;;
 
22267
esac
 
22268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22269
  (eval "$ac_compile") 2>conftest.er1
 
22270
  ac_status=$?
 
22271
  grep -v '^ *+' conftest.er1 >conftest.err
 
22272
  rm -f conftest.er1
 
22273
  cat conftest.err >&5
 
22274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22275
  (exit $ac_status); } && {
 
22276
         test -z "$ac_cxx_werror_flag" ||
 
22277
         test ! -s conftest.err
 
22278
       } && test -s conftest.$ac_objext; then
 
22279
  ac_header_compiler=yes
 
22280
else
 
22281
  echo "$as_me: failed program was:" >&5
 
22282
sed 's/^/| /' conftest.$ac_ext >&5
 
22283
 
 
22284
        ac_header_compiler=no
 
22285
fi
 
22286
 
 
22287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22288
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22289
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
22290
 
 
22291
# Is the header present?
 
22292
{ echo "$as_me:$LINENO: checking iconv.h presence" >&5
 
22293
echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6; }
 
22294
cat >conftest.$ac_ext <<_ACEOF
 
22295
/* confdefs.h.  */
 
22296
_ACEOF
 
22297
cat confdefs.h >>conftest.$ac_ext
 
22298
cat >>conftest.$ac_ext <<_ACEOF
 
22299
/* end confdefs.h.  */
 
22300
#include <iconv.h>
 
22301
_ACEOF
 
22302
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22303
case "(($ac_try" in
 
22304
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22305
  *) ac_try_echo=$ac_try;;
 
22306
esac
 
22307
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22308
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
22309
  ac_status=$?
 
22310
  grep -v '^ *+' conftest.er1 >conftest.err
 
22311
  rm -f conftest.er1
 
22312
  cat conftest.err >&5
 
22313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22314
  (exit $ac_status); } >/dev/null && {
 
22315
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
22316
         test ! -s conftest.err
 
22317
       }; then
 
22318
  ac_header_preproc=yes
 
22319
else
 
22320
  echo "$as_me: failed program was:" >&5
 
22321
sed 's/^/| /' conftest.$ac_ext >&5
 
22322
 
 
22323
  ac_header_preproc=no
 
22324
fi
 
22325
 
 
22326
rm -f conftest.err conftest.$ac_ext
 
22327
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22328
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
22329
 
 
22330
# So?  What about this header?
 
22331
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 
22332
  yes:no: )
 
22333
    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
22334
echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
22335
    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
 
22336
echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
 
22337
    ac_header_preproc=yes
 
22338
    ;;
 
22339
  no:yes:* )
 
22340
    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
 
22341
echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
 
22342
    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
 
22343
echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
 
22344
    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
 
22345
echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
 
22346
    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
 
22347
echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
22348
    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
 
22349
echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
 
22350
    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
 
22351
echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
 
22352
 
 
22353
    ;;
 
22354
esac
 
22355
{ echo "$as_me:$LINENO: checking for iconv.h" >&5
 
22356
echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6; }
 
22357
if test "${ac_cv_header_iconv_h+set}" = set; then
 
22358
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22359
else
 
22360
  ac_cv_header_iconv_h=$ac_header_preproc
 
22361
fi
 
22362
{ echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
 
22363
echo "${ECHO_T}$ac_cv_header_iconv_h" >&6; }
 
22364
 
 
22365
fi
 
22366
if test $ac_cv_header_iconv_h = yes; then
 
22367
  { echo "$as_me:$LINENO: checking for iconv" >&5
 
22368
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
 
22369
        cat >conftest.$ac_ext <<_ACEOF
 
22370
/* confdefs.h.  */
 
22371
_ACEOF
 
22372
cat confdefs.h >>conftest.$ac_ext
 
22373
cat >>conftest.$ac_ext <<_ACEOF
 
22374
/* end confdefs.h.  */
 
22375
#include <stdlib.h>
 
22376
#include <iconv.h>
 
22377
int
 
22378
main ()
 
22379
{
 
22380
 
 
22381
iconv_t cd = iconv_open ("","");
 
22382
iconv (cd, NULL, NULL, NULL, NULL);
 
22383
  ;
 
22384
  return 0;
 
22385
}
 
22386
_ACEOF
 
22387
rm -f conftest.$ac_objext conftest$ac_exeext
 
22388
if { (ac_try="$ac_link"
 
22389
case "(($ac_try" in
 
22390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22391
  *) ac_try_echo=$ac_try;;
 
22392
esac
 
22393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22394
  (eval "$ac_link") 2>conftest.er1
 
22395
  ac_status=$?
 
22396
  grep -v '^ *+' conftest.er1 >conftest.err
 
22397
  rm -f conftest.er1
 
22398
  cat conftest.err >&5
 
22399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22400
  (exit $ac_status); } && {
 
22401
         test -z "$ac_cxx_werror_flag" ||
 
22402
         test ! -s conftest.err
 
22403
       } && test -s conftest$ac_exeext &&
 
22404
       $as_test_x conftest$ac_exeext; then
 
22405
 
 
22406
            { echo "$as_me:$LINENO: result: yes" >&5
 
22407
echo "${ECHO_T}yes" >&6; }
 
22408
            WITH_ICONV=1
 
22409
else
 
22410
  echo "$as_me: failed program was:" >&5
 
22411
sed 's/^/| /' conftest.$ac_ext >&5
 
22412
 
 
22413
 
 
22414
            { echo "$as_me:$LINENO: result: no" >&5
 
22415
echo "${ECHO_T}no" >&6; }
 
22416
            { echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
 
22417
echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6; }
 
22418
 
 
22419
            _ldflags="${LDFLAGS}"
 
22420
            _libs="${LIBS}"
 
22421
            LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
 
22422
            LIBS="${LIBS} -liconv"
 
22423
 
 
22424
            cat >conftest.$ac_ext <<_ACEOF
 
22425
/* confdefs.h.  */
 
22426
_ACEOF
 
22427
cat confdefs.h >>conftest.$ac_ext
 
22428
cat >>conftest.$ac_ext <<_ACEOF
 
22429
/* end confdefs.h.  */
 
22430
#include <stdlib.h>
 
22431
#include <iconv.h>
 
22432
int
 
22433
main ()
 
22434
{
 
22435
 
 
22436
iconv_t cd = iconv_open ("","");
 
22437
iconv (cd, NULL, NULL, NULL, NULL);
 
22438
  ;
 
22439
  return 0;
 
22440
}
 
22441
_ACEOF
 
22442
rm -f conftest.$ac_objext conftest$ac_exeext
 
22443
if { (ac_try="$ac_link"
 
22444
case "(($ac_try" in
 
22445
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22446
  *) ac_try_echo=$ac_try;;
 
22447
esac
 
22448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22449
  (eval "$ac_link") 2>conftest.er1
 
22450
  ac_status=$?
 
22451
  grep -v '^ *+' conftest.er1 >conftest.err
 
22452
  rm -f conftest.er1
 
22453
  cat conftest.err >&5
 
22454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22455
  (exit $ac_status); } && {
 
22456
         test -z "$ac_cxx_werror_flag" ||
 
22457
         test ! -s conftest.err
 
22458
       } && test -s conftest$ac_exeext &&
 
22459
       $as_test_x conftest$ac_exeext; then
 
22460
 
 
22461
                { echo "$as_me:$LINENO: result: yes" >&5
 
22462
echo "${ECHO_T}yes" >&6; }
 
22463
                WITH_ICONV=1
 
22464
                ICONV_LIBS="${ICONV_LIBS} -liconv"
 
22465
                LIBS="${_libs}"
 
22466
                LDFLAGS="${_ldflags}"
 
22467
else
 
22468
  echo "$as_me: failed program was:" >&5
 
22469
sed 's/^/| /' conftest.$ac_ext >&5
 
22470
 
 
22471
 
 
22472
                { echo "$as_me:$LINENO: result: no" >&5
 
22473
echo "${ECHO_T}no" >&6; }
 
22474
                LIBS="${_libs}"
 
22475
                LDFLAGS="${_ldflags}"
 
22476
fi
 
22477
 
 
22478
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22479
      conftest$ac_exeext conftest.$ac_ext
 
22480
fi
 
22481
 
 
22482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22483
      conftest$ac_exeext conftest.$ac_ext
 
22484
fi
 
22485
 
 
22486
 
 
22487
fi
 
22488
 
 
22489
cat >>confdefs.h <<_ACEOF
 
22490
#define HAVE_ICONV $WITH_ICONV
 
22491
_ACEOF
 
22492
 
 
22493
 
 
22494
 
 
22495
 
 
22496
 
20800
22497
 
20801
22498
 
20802
22499
 
20807
22504
LIBOFX_DTD_DIR='${datadir}/libofx/dtd'
20808
22505
 
20809
22506
 
20810
 
                  ac_config_files="$ac_config_files Makefile"
20811
 
 
20812
 
                                                                                          ac_config_files="$ac_config_files libofx.spec libofx.pc lib/Makefile inc/Makefile dtd/Makefile doc/Makefile ofx2qif/Makefile ofxdump/Makefile ofxconnect/Makefile"
 
22507
        ac_config_files="$ac_config_files Makefile"
 
22508
 
 
22509
ac_config_files="$ac_config_files libofx.spec libofx.pc m4/Makefile lib/Makefile inc/Makefile inc/libofx.h dtd/Makefile doc/Makefile ofx2qif/Makefile ofxdump/Makefile ofxconnect/Makefile"
 
22510
 
20813
22511
cat >confcache <<\_ACEOF
20814
22512
# This file is a shell script that caches the results of configure
20815
22513
# tests run on this system so they can be shared between configure
20828
22526
 
20829
22527
# The following way of writing the cache mishandles newlines in values,
20830
22528
# but we know of no workaround that is simple, portable, and efficient.
20831
 
# So, don't put newlines in cache variables' values.
 
22529
# So, we kill variables containing newlines.
20832
22530
# Ultrix sh set writes to stderr and can't be redirected directly,
20833
22531
# and sets the high bit in the cache file unless we assign to the vars.
20834
 
{
 
22532
(
 
22533
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22534
    eval ac_val=\$$ac_var
 
22535
    case $ac_val in #(
 
22536
    *${as_nl}*)
 
22537
      case $ac_var in #(
 
22538
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
22539
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22540
      esac
 
22541
      case $ac_var in #(
 
22542
      _ | IFS | as_nl) ;; #(
 
22543
      *) $as_unset $ac_var ;;
 
22544
      esac ;;
 
22545
    esac
 
22546
  done
 
22547
 
20835
22548
  (set) 2>&1 |
20836
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20837
 
    *ac_space=\ *)
 
22549
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22550
    *${as_nl}ac_space=\ *)
20838
22551
      # `set' does not quote correctly, so add quotes (double-quote
20839
22552
      # substitution turns \\\\ into \\, and sed turns \\ into \).
20840
22553
      sed -n \
20841
22554
        "s/'/'\\\\''/g;
20842
22555
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20843
 
      ;;
 
22556
      ;; #(
20844
22557
    *)
20845
22558
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20846
 
      sed -n \
20847
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
22559
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20848
22560
      ;;
20849
 
    esac;
20850
 
} |
 
22561
    esac |
 
22562
    sort
 
22563
) |
20851
22564
  sed '
 
22565
     /^ac_cv_env_/b end
20852
22566
     t clear
20853
 
     : clear
 
22567
     :clear
20854
22568
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20855
22569
     t end
20856
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20857
 
     : end' >>confcache
20858
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20859
 
  if test -w $cache_file; then
20860
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
22570
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22571
     :end' >>confcache
 
22572
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22573
  if test -w "$cache_file"; then
 
22574
    test "x$cache_file" != "x/dev/null" &&
 
22575
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22576
echo "$as_me: updating cache $cache_file" >&6;}
20861
22577
    cat confcache >$cache_file
20862
22578
  else
20863
 
    echo "not updating unwritable cache $cache_file"
 
22579
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22580
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20864
22581
  fi
20865
22582
fi
20866
22583
rm -f confcache
20869
22586
# Let make expand exec_prefix.
20870
22587
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20871
22588
 
20872
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20873
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20874
 
# trailing colons and then remove the whole line if VPATH becomes empty
20875
 
# (actually we leave an empty line to preserve line numbers).
20876
 
if test "x$srcdir" = x.; then
20877
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20878
 
s/:*\$(srcdir):*/:/;
20879
 
s/:*\${srcdir}:*/:/;
20880
 
s/:*@srcdir@:*/:/;
20881
 
s/^\([^=]*=[     ]*\):*/\1/;
20882
 
s/:*$//;
20883
 
s/^[^=]*=[       ]*$//;
20884
 
}'
20885
 
fi
20886
 
 
20887
22589
DEFS=-DHAVE_CONFIG_H
20888
22590
 
20889
22591
ac_libobjs=
20890
22592
ac_ltlibobjs=
20891
22593
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20892
22594
  # 1. Remove the extension, and $U if already installed.
20893
 
  ac_i=`echo "$ac_i" |
20894
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20895
 
  # 2. Add them.
20896
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20897
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
22595
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22596
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22597
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22598
  #    will be set to the directory where LIBOBJS objects are built.
 
22599
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22600
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20898
22601
done
20899
22602
LIBOBJS=$ac_libobjs
20900
22603
 
20988
22691
## M4sh Initialization.  ##
20989
22692
## --------------------- ##
20990
22693
 
20991
 
# Be Bourne compatible
 
22694
# Be more Bourne compatible
 
22695
DUALCASE=1; export DUALCASE # for MKS sh
20992
22696
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20993
22697
  emulate sh
20994
22698
  NULLCMD=:
20995
22699
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20996
22700
  # is contrary to our usage.  Disable this feature.
20997
22701
  alias -g '${1+"$@"}'='"$@"'
20998
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20999
 
  set -o posix
21000
 
fi
21001
 
DUALCASE=1; export DUALCASE # for MKS sh
 
22702
  setopt NO_GLOB_SUBST
 
22703
else
 
22704
  case `(set -o) 2>/dev/null` in
 
22705
  *posix*) set -o posix ;;
 
22706
esac
 
22707
 
 
22708
fi
 
22709
 
 
22710
 
 
22711
 
 
22712
 
 
22713
# PATH needs CR
 
22714
# Avoid depending upon Character Ranges.
 
22715
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22716
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22717
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22718
as_cr_digits='0123456789'
 
22719
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22720
 
 
22721
# The user is always right.
 
22722
if test "${PATH_SEPARATOR+set}" != set; then
 
22723
  echo "#! /bin/sh" >conf$$.sh
 
22724
  echo  "exit 0"   >>conf$$.sh
 
22725
  chmod +x conf$$.sh
 
22726
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
22727
    PATH_SEPARATOR=';'
 
22728
  else
 
22729
    PATH_SEPARATOR=:
 
22730
  fi
 
22731
  rm -f conf$$.sh
 
22732
fi
21002
22733
 
21003
22734
# Support unset when possible.
21004
22735
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21008
22739
fi
21009
22740
 
21010
22741
 
 
22742
# IFS
 
22743
# We need space, tab and new line, in precisely that order.  Quoting is
 
22744
# there to prevent editors from complaining about space-tab.
 
22745
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22746
# splitting by setting IFS to empty value.)
 
22747
as_nl='
 
22748
'
 
22749
IFS=" ""        $as_nl"
 
22750
 
 
22751
# Find who we are.  Look in the path if we contain no directory separator.
 
22752
case $0 in
 
22753
  *[\\/]* ) as_myself=$0 ;;
 
22754
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22755
for as_dir in $PATH
 
22756
do
 
22757
  IFS=$as_save_IFS
 
22758
  test -z "$as_dir" && as_dir=.
 
22759
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22760
done
 
22761
IFS=$as_save_IFS
 
22762
 
 
22763
     ;;
 
22764
esac
 
22765
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22766
# in which case we are not to be found in the path.
 
22767
if test "x$as_myself" = x; then
 
22768
  as_myself=$0
 
22769
fi
 
22770
if test ! -f "$as_myself"; then
 
22771
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22772
  { (exit 1); exit 1; }
 
22773
fi
 
22774
 
21011
22775
# Work around bugs in pre-3.0 UWIN ksh.
21012
 
$as_unset ENV MAIL MAILPATH
 
22776
for as_var in ENV MAIL MAILPATH
 
22777
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22778
done
21013
22779
PS1='$ '
21014
22780
PS2='> '
21015
22781
PS4='+ '
21023
22789
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21024
22790
    eval $as_var=C; export $as_var
21025
22791
  else
21026
 
    $as_unset $as_var
 
22792
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21027
22793
  fi
21028
22794
done
21029
22795
 
21030
22796
# Required to use basename.
21031
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22797
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22798
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21032
22799
  as_expr=expr
21033
22800
else
21034
22801
  as_expr=false
21035
22802
fi
21036
22803
 
21037
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22804
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21038
22805
  as_basename=basename
21039
22806
else
21040
22807
  as_basename=false
21042
22809
 
21043
22810
 
21044
22811
# Name of the executable.
21045
 
as_me=`$as_basename "$0" ||
 
22812
as_me=`$as_basename -- "$0" ||
21046
22813
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21047
22814
         X"$0" : 'X\(//\)$' \| \
21048
 
         X"$0" : 'X\(/\)$' \| \
21049
 
         .     : '\(.\)' 2>/dev/null ||
 
22815
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21050
22816
echo X/"$0" |
21051
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21052
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21053
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21054
 
          s/.*/./; q'`
21055
 
 
21056
 
 
21057
 
# PATH needs CR, and LINENO needs CR and PATH.
21058
 
# Avoid depending upon Character Ranges.
21059
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21060
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21061
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21062
 
as_cr_digits='0123456789'
21063
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21064
 
 
21065
 
# The user is always right.
21066
 
if test "${PATH_SEPARATOR+set}" != set; then
21067
 
  echo "#! /bin/sh" >conf$$.sh
21068
 
  echo  "exit 0"   >>conf$$.sh
21069
 
  chmod +x conf$$.sh
21070
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21071
 
    PATH_SEPARATOR=';'
21072
 
  else
21073
 
    PATH_SEPARATOR=:
21074
 
  fi
21075
 
  rm -f conf$$.sh
21076
 
fi
21077
 
 
21078
 
 
21079
 
  as_lineno_1=$LINENO
21080
 
  as_lineno_2=$LINENO
21081
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21082
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21083
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21084
 
  # Find who we are.  Look in the path if we contain no path at all
21085
 
  # relative or not.
21086
 
  case $0 in
21087
 
    *[\\/]* ) as_myself=$0 ;;
21088
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21089
 
for as_dir in $PATH
21090
 
do
21091
 
  IFS=$as_save_IFS
21092
 
  test -z "$as_dir" && as_dir=.
21093
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21094
 
done
21095
 
 
21096
 
       ;;
21097
 
  esac
21098
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21099
 
  # in which case we are not to be found in the path.
21100
 
  if test "x$as_myself" = x; then
21101
 
    as_myself=$0
21102
 
  fi
21103
 
  if test ! -f "$as_myself"; then
21104
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21105
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21106
 
   { (exit 1); exit 1; }; }
21107
 
  fi
21108
 
  case $CONFIG_SHELL in
21109
 
  '')
21110
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21111
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21112
 
do
21113
 
  IFS=$as_save_IFS
21114
 
  test -z "$as_dir" && as_dir=.
21115
 
  for as_base in sh bash ksh sh5; do
21116
 
         case $as_dir in
21117
 
         /*)
21118
 
           if ("$as_dir/$as_base" -c '
21119
 
  as_lineno_1=$LINENO
21120
 
  as_lineno_2=$LINENO
21121
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21122
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21123
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21124
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21125
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21126
 
             CONFIG_SHELL=$as_dir/$as_base
21127
 
             export CONFIG_SHELL
21128
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21129
 
           fi;;
21130
 
         esac
21131
 
       done
21132
 
done
21133
 
;;
21134
 
  esac
 
22817
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22818
            s//\1/
 
22819
            q
 
22820
          }
 
22821
          /^X\/\(\/\/\)$/{
 
22822
            s//\1/
 
22823
            q
 
22824
          }
 
22825
          /^X\/\(\/\).*/{
 
22826
            s//\1/
 
22827
            q
 
22828
          }
 
22829
          s/.*/./; q'`
 
22830
 
 
22831
# CDPATH.
 
22832
$as_unset CDPATH
 
22833
 
 
22834
 
 
22835
 
 
22836
  as_lineno_1=$LINENO
 
22837
  as_lineno_2=$LINENO
 
22838
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22839
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21135
22840
 
21136
22841
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21137
22842
  # uniformly replaced by the line number.  The first 'sed' inserts a
21138
 
  # line-number line before each line; the second 'sed' does the real
21139
 
  # work.  The second script uses 'N' to pair each line-number line
21140
 
  # with the numbered line, and appends trailing '-' during
21141
 
  # substitution so that $LINENO is not a special case at line end.
 
22843
  # line-number line after each line using $LINENO; the second 'sed'
 
22844
  # does the real work.  The second script uses 'N' to pair each
 
22845
  # line-number line with the line containing $LINENO, and appends
 
22846
  # trailing '-' during substitution so that $LINENO is not a special
 
22847
  # case at line end.
21142
22848
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21143
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21144
 
  sed '=' <$as_myself |
 
22849
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22850
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22851
  sed -n '
 
22852
    p
 
22853
    /[$]LINENO/=
 
22854
  ' <$as_myself |
21145
22855
    sed '
 
22856
      s/[$]LINENO.*/&-/
 
22857
      t lineno
 
22858
      b
 
22859
      :lineno
21146
22860
      N
21147
 
      s,$,-,
21148
 
      : loop
21149
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22861
      :loop
 
22862
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21150
22863
      t loop
21151
 
      s,-$,,
21152
 
      s,^['$as_cr_digits']*\n,,
 
22864
      s/-\n.*//
21153
22865
    ' >$as_me.lineno &&
21154
 
  chmod +x $as_me.lineno ||
21155
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21156
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22866
  chmod +x "$as_me.lineno" ||
 
22867
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21157
22868
   { (exit 1); exit 1; }; }
21158
22869
 
21159
22870
  # Don't try to exec as it changes $[0], causing all sort of problems
21160
22871
  # (the dirname of $[0] is not the place where we might find the
21161
 
  # original and so on.  Autoconf is especially sensible to this).
21162
 
  . ./$as_me.lineno
 
22872
  # original and so on.  Autoconf is especially sensitive to this).
 
22873
  . "./$as_me.lineno"
21163
22874
  # Exit status is that of the last command.
21164
22875
  exit
21165
22876
}
21166
22877
 
21167
22878
 
21168
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21169
 
  *c*,-n*) ECHO_N= ECHO_C='
21170
 
' ECHO_T='      ' ;;
21171
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21172
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22879
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22880
  as_dirname=dirname
 
22881
else
 
22882
  as_dirname=false
 
22883
fi
 
22884
 
 
22885
ECHO_C= ECHO_N= ECHO_T=
 
22886
case `echo -n x` in
 
22887
-n*)
 
22888
  case `echo 'x\c'` in
 
22889
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22890
  *)   ECHO_C='\c';;
 
22891
  esac;;
 
22892
*)
 
22893
  ECHO_N='-n';;
21173
22894
esac
21174
22895
 
21175
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22896
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22897
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21176
22898
  as_expr=expr
21177
22899
else
21178
22900
  as_expr=false
21179
22901
fi
21180
22902
 
21181
22903
rm -f conf$$ conf$$.exe conf$$.file
 
22904
if test -d conf$$.dir; then
 
22905
  rm -f conf$$.dir/conf$$.file
 
22906
else
 
22907
  rm -f conf$$.dir
 
22908
  mkdir conf$$.dir
 
22909
fi
21182
22910
echo >conf$$.file
21183
22911
if ln -s conf$$.file conf$$ 2>/dev/null; then
21184
 
  # We could just check for DJGPP; but this test a) works b) is more generic
21185
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21186
 
  if test -f conf$$.exe; then
21187
 
    # Don't use ln at all; we don't have any links
 
22912
  as_ln_s='ln -s'
 
22913
  # ... but there are two gotchas:
 
22914
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22915
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22916
  # In both cases, we have to default to `cp -p'.
 
22917
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21188
22918
    as_ln_s='cp -p'
21189
 
  else
21190
 
    as_ln_s='ln -s'
21191
 
  fi
21192
22919
elif ln conf$$.file conf$$ 2>/dev/null; then
21193
22920
  as_ln_s=ln
21194
22921
else
21195
22922
  as_ln_s='cp -p'
21196
22923
fi
21197
 
rm -f conf$$ conf$$.exe conf$$.file
 
22924
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22925
rmdir conf$$.dir 2>/dev/null
21198
22926
 
21199
22927
if mkdir -p . 2>/dev/null; then
21200
22928
  as_mkdir_p=:
21203
22931
  as_mkdir_p=false
21204
22932
fi
21205
22933
 
21206
 
as_executable_p="test -f"
 
22934
if test -x / >/dev/null 2>&1; then
 
22935
  as_test_x='test -x'
 
22936
else
 
22937
  if ls -dL / >/dev/null 2>&1; then
 
22938
    as_ls_L_option=L
 
22939
  else
 
22940
    as_ls_L_option=
 
22941
  fi
 
22942
  as_test_x='
 
22943
    eval sh -c '\''
 
22944
      if test -d "$1"; then
 
22945
        test -d "$1/.";
 
22946
      else
 
22947
        case $1 in
 
22948
        -*)set "./$1";;
 
22949
        esac;
 
22950
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
22951
        ???[sx]*):;;*)false;;esac;fi
 
22952
    '\'' sh
 
22953
  '
 
22954
fi
 
22955
as_executable_p=$as_test_x
21207
22956
 
21208
22957
# Sed expression to map a string onto a valid CPP name.
21209
22958
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21212
22961
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21213
22962
 
21214
22963
 
21215
 
# IFS
21216
 
# We need space, tab and new line, in precisely that order.
21217
 
as_nl='
21218
 
'
21219
 
IFS="   $as_nl"
21220
 
 
21221
 
# CDPATH.
21222
 
$as_unset CDPATH
21223
 
 
21224
22964
exec 6>&1
21225
22965
 
21226
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
22966
# Save the log message, to keep $[0] and so on meaningful, and to
21227
22967
# report actual input values of CONFIG_FILES etc. instead of their
21228
 
# values after options handling.  Logging --version etc. is OK.
21229
 
exec 5>>config.log
21230
 
{
21231
 
  echo
21232
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21233
 
## Running $as_me. ##
21234
 
_ASBOX
21235
 
} >&5
21236
 
cat >&5 <<_CSEOF
21237
 
 
 
22968
# values after options handling.
 
22969
ac_log="
21238
22970
This file was extended by $as_me, which was
21239
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
22971
generated by GNU Autoconf 2.61.  Invocation command line was
21240
22972
 
21241
22973
  CONFIG_FILES    = $CONFIG_FILES
21242
22974
  CONFIG_HEADERS  = $CONFIG_HEADERS
21244
22976
  CONFIG_COMMANDS = $CONFIG_COMMANDS
21245
22977
  $ $0 $@
21246
22978
 
21247
 
_CSEOF
21248
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21249
 
echo >&5
 
22979
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22980
"
 
22981
 
21250
22982
_ACEOF
21251
22983
 
 
22984
cat >>$CONFIG_STATUS <<_ACEOF
21252
22985
# Files that config.status was made for.
21253
 
if test -n "$ac_config_files"; then
21254
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21255
 
fi
21256
 
 
21257
 
if test -n "$ac_config_headers"; then
21258
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21259
 
fi
21260
 
 
21261
 
if test -n "$ac_config_links"; then
21262
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21263
 
fi
21264
 
 
21265
 
if test -n "$ac_config_commands"; then
21266
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21267
 
fi
 
22986
config_files="$ac_config_files"
 
22987
config_headers="$ac_config_headers"
 
22988
config_links="$ac_config_links"
 
22989
config_commands="$ac_config_commands"
 
22990
 
 
22991
_ACEOF
21268
22992
 
21269
22993
cat >>$CONFIG_STATUS <<\_ACEOF
21270
 
 
21271
22994
ac_cs_usage="\
21272
22995
\`$as_me' instantiates files from templates according to the
21273
22996
current configuration.
21275
22998
Usage: $0 [OPTIONS] [FILE]...
21276
22999
 
21277
23000
  -h, --help       print this help, then exit
21278
 
  -V, --version    print version number, then exit
 
23001
  -V, --version    print version number and configuration settings, then exit
21279
23002
  -q, --quiet      do not print progress messages
21280
23003
  -d, --debug      don't remove temporary files
21281
23004
      --recheck    update $as_me by reconfiguring in the same conditions
21297
23020
$config_commands
21298
23021
 
21299
23022
Report bugs to <bug-autoconf@gnu.org>."
 
23023
 
21300
23024
_ACEOF
21301
 
 
21302
23025
cat >>$CONFIG_STATUS <<_ACEOF
21303
23026
ac_cs_version="\\
21304
23027
config.status
21305
 
configured by $0, generated by GNU Autoconf 2.59,
21306
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
23028
configured by $0, generated by GNU Autoconf 2.61,
 
23029
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21307
23030
 
21308
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
23031
Copyright (C) 2006 Free Software Foundation, Inc.
21309
23032
This config.status script is free software; the Free Software Foundation
21310
23033
gives unlimited permission to copy, distribute and modify it."
21311
 
srcdir=$srcdir
21312
 
INSTALL="$INSTALL"
 
23034
 
 
23035
ac_pwd='$ac_pwd'
 
23036
srcdir='$srcdir'
 
23037
INSTALL='$INSTALL'
21313
23038
_ACEOF
21314
23039
 
21315
23040
cat >>$CONFIG_STATUS <<\_ACEOF
21320
23045
do
21321
23046
  case $1 in
21322
23047
  --*=*)
21323
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21324
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23048
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23049
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21325
23050
    ac_shift=:
21326
23051
    ;;
21327
 
  -*)
 
23052
  *)
21328
23053
    ac_option=$1
21329
23054
    ac_optarg=$2
21330
23055
    ac_shift=shift
21331
23056
    ;;
21332
 
  *) # This is not an option, so the user has probably given explicit
21333
 
     # arguments.
21334
 
     ac_option=$1
21335
 
     ac_need_defaults=false;;
21336
23057
  esac
21337
23058
 
21338
23059
  case $ac_option in
21339
23060
  # Handling of the options.
21340
 
_ACEOF
21341
 
cat >>$CONFIG_STATUS <<\_ACEOF
21342
23061
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21343
23062
    ac_cs_recheck=: ;;
21344
 
  --version | --vers* | -V )
21345
 
    echo "$ac_cs_version"; exit 0 ;;
21346
 
  --he | --h)
21347
 
    # Conflict between --help and --header
21348
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21349
 
Try \`$0 --help' for more information." >&5
21350
 
echo "$as_me: error: ambiguous option: $1
21351
 
Try \`$0 --help' for more information." >&2;}
21352
 
   { (exit 1); exit 1; }; };;
21353
 
  --help | --hel | -h )
21354
 
    echo "$ac_cs_usage"; exit 0 ;;
21355
 
  --debug | --d* | -d )
 
23063
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23064
    echo "$ac_cs_version"; exit ;;
 
23065
  --debug | --debu | --deb | --de | --d | -d )
21356
23066
    debug=: ;;
21357
23067
  --file | --fil | --fi | --f )
21358
23068
    $ac_shift
21362
23072
    $ac_shift
21363
23073
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21364
23074
    ac_need_defaults=false;;
 
23075
  --he | --h)
 
23076
    # Conflict between --help and --header
 
23077
    { echo "$as_me: error: ambiguous option: $1
 
23078
Try \`$0 --help' for more information." >&2
 
23079
   { (exit 1); exit 1; }; };;
 
23080
  --help | --hel | -h )
 
23081
    echo "$ac_cs_usage"; exit ;;
21365
23082
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21366
23083
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21367
23084
    ac_cs_silent=: ;;
21368
23085
 
21369
23086
  # This is an error.
21370
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21371
 
Try \`$0 --help' for more information." >&5
21372
 
echo "$as_me: error: unrecognized option: $1
21373
 
Try \`$0 --help' for more information." >&2;}
 
23087
  -*) { echo "$as_me: error: unrecognized option: $1
 
23088
Try \`$0 --help' for more information." >&2
21374
23089
   { (exit 1); exit 1; }; } ;;
21375
23090
 
21376
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23091
  *) ac_config_targets="$ac_config_targets $1"
 
23092
     ac_need_defaults=false ;;
21377
23093
 
21378
23094
  esac
21379
23095
  shift
21389
23105
_ACEOF
21390
23106
cat >>$CONFIG_STATUS <<_ACEOF
21391
23107
if \$ac_cs_recheck; then
21392
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21393
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23108
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
23109
  CONFIG_SHELL=$SHELL
 
23110
  export CONFIG_SHELL
 
23111
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21394
23112
fi
21395
23113
 
21396
23114
_ACEOF
 
23115
cat >>$CONFIG_STATUS <<\_ACEOF
 
23116
exec 5>>config.log
 
23117
{
 
23118
  echo
 
23119
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23120
## Running $as_me. ##
 
23121
_ASBOX
 
23122
  echo "$ac_log"
 
23123
} >&5
21397
23124
 
 
23125
_ACEOF
21398
23126
cat >>$CONFIG_STATUS <<_ACEOF
21399
23127
#
21400
 
# INIT-COMMANDS section.
 
23128
# INIT-COMMANDS
21401
23129
#
21402
 
 
21403
23130
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21404
23131
 
21405
23132
_ACEOF
21406
23133
 
21407
 
 
21408
 
 
21409
23134
cat >>$CONFIG_STATUS <<\_ACEOF
 
23135
 
 
23136
# Handling of arguments.
21410
23137
for ac_config_target in $ac_config_targets
21411
23138
do
21412
 
  case "$ac_config_target" in
21413
 
  # Handling of arguments.
21414
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21415
 
  "libofx.spec" ) CONFIG_FILES="$CONFIG_FILES libofx.spec" ;;
21416
 
  "libofx.pc" ) CONFIG_FILES="$CONFIG_FILES libofx.pc" ;;
21417
 
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
21418
 
  "inc/Makefile" ) CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
21419
 
  "dtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dtd/Makefile" ;;
21420
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21421
 
  "ofx2qif/Makefile" ) CONFIG_FILES="$CONFIG_FILES ofx2qif/Makefile" ;;
21422
 
  "ofxdump/Makefile" ) CONFIG_FILES="$CONFIG_FILES ofxdump/Makefile" ;;
21423
 
  "ofxconnect/Makefile" ) CONFIG_FILES="$CONFIG_FILES ofxconnect/Makefile" ;;
21424
 
  "lib/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS lib/getopt.h:lib/gnugetopt.h" ;;
21425
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21426
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23139
  case $ac_config_target in
 
23140
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23141
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23142
    "lib/getopt.h") CONFIG_LINKS="$CONFIG_LINKS lib/getopt.h:lib/gnugetopt.h" ;;
 
23143
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23144
    "libofx.spec") CONFIG_FILES="$CONFIG_FILES libofx.spec" ;;
 
23145
    "libofx.pc") CONFIG_FILES="$CONFIG_FILES libofx.pc" ;;
 
23146
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
23147
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
23148
    "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
 
23149
    "inc/libofx.h") CONFIG_FILES="$CONFIG_FILES inc/libofx.h" ;;
 
23150
    "dtd/Makefile") CONFIG_FILES="$CONFIG_FILES dtd/Makefile" ;;
 
23151
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
23152
    "ofx2qif/Makefile") CONFIG_FILES="$CONFIG_FILES ofx2qif/Makefile" ;;
 
23153
    "ofxdump/Makefile") CONFIG_FILES="$CONFIG_FILES ofxdump/Makefile" ;;
 
23154
    "ofxconnect/Makefile") CONFIG_FILES="$CONFIG_FILES ofxconnect/Makefile" ;;
 
23155
 
21427
23156
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21428
23157
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21429
23158
   { (exit 1); exit 1; }; };;
21430
23159
  esac
21431
23160
done
21432
23161
 
 
23162
 
21433
23163
# If the user did not use the arguments to specify the items to instantiate,
21434
23164
# then the envvar interface is used.  Set only those that are not.
21435
23165
# We use the long form for the default assignment because of an extremely
21442
23172
fi
21443
23173
 
21444
23174
# Have a temporary directory for convenience.  Make it in the build tree
21445
 
# simply because there is no reason to put it here, and in addition,
 
23175
# simply because there is no reason against having it here, and in addition,
21446
23176
# creating and moving files from /tmp can sometimes cause problems.
21447
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23177
# Hook for its removal unless debugging.
 
23178
# Note that there is a small window in which the directory will not be cleaned:
 
23179
# after its creation but before its name has been assigned to `$tmp'.
21448
23180
$debug ||
21449
23181
{
21450
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23182
  tmp=
 
23183
  trap 'exit_status=$?
 
23184
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23185
' 0
21451
23186
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21452
23187
}
21453
 
 
21454
23188
# Create a (secure) tmp directory for tmp files.
21455
23189
 
21456
23190
{
21457
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23191
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21458
23192
  test -n "$tmp" && test -d "$tmp"
21459
23193
}  ||
21460
23194
{
21461
 
  tmp=./confstat$$-$RANDOM
21462
 
  (umask 077 && mkdir $tmp)
 
23195
  tmp=./conf$$-$RANDOM
 
23196
  (umask 077 && mkdir "$tmp")
21463
23197
} ||
21464
23198
{
21465
23199
   echo "$me: cannot create a temporary directory in ." >&2
21466
23200
   { (exit 1); exit 1; }
21467
23201
}
21468
23202
 
21469
 
_ACEOF
21470
 
 
21471
 
cat >>$CONFIG_STATUS <<_ACEOF
21472
 
 
21473
23203
#
21474
 
# CONFIG_FILES section.
 
23204
# Set up the sed scripts for CONFIG_FILES section.
21475
23205
#
21476
23206
 
21477
23207
# No need to generate the scripts if there are no CONFIG_FILES.
21478
23208
# This happens for instance when ./config.status config.h
21479
 
if test -n "\$CONFIG_FILES"; then
21480
 
  # Protect against being on the right side of a sed subst in config.status.
21481
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21482
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21483
 
s,@SHELL@,$SHELL,;t t
21484
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21485
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21486
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21487
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21488
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21489
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21490
 
s,@exec_prefix@,$exec_prefix,;t t
21491
 
s,@prefix@,$prefix,;t t
21492
 
s,@program_transform_name@,$program_transform_name,;t t
21493
 
s,@bindir@,$bindir,;t t
21494
 
s,@sbindir@,$sbindir,;t t
21495
 
s,@libexecdir@,$libexecdir,;t t
21496
 
s,@datadir@,$datadir,;t t
21497
 
s,@sysconfdir@,$sysconfdir,;t t
21498
 
s,@sharedstatedir@,$sharedstatedir,;t t
21499
 
s,@localstatedir@,$localstatedir,;t t
21500
 
s,@libdir@,$libdir,;t t
21501
 
s,@includedir@,$includedir,;t t
21502
 
s,@oldincludedir@,$oldincludedir,;t t
21503
 
s,@infodir@,$infodir,;t t
21504
 
s,@mandir@,$mandir,;t t
21505
 
s,@build_alias@,$build_alias,;t t
21506
 
s,@host_alias@,$host_alias,;t t
21507
 
s,@target_alias@,$target_alias,;t t
21508
 
s,@DEFS@,$DEFS,;t t
21509
 
s,@ECHO_C@,$ECHO_C,;t t
21510
 
s,@ECHO_N@,$ECHO_N,;t t
21511
 
s,@ECHO_T@,$ECHO_T,;t t
21512
 
s,@LIBS@,$LIBS,;t t
21513
 
s,@CC@,$CC,;t t
21514
 
s,@CFLAGS@,$CFLAGS,;t t
21515
 
s,@LDFLAGS@,$LDFLAGS,;t t
21516
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21517
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21518
 
s,@EXEEXT@,$EXEEXT,;t t
21519
 
s,@OBJEXT@,$OBJEXT,;t t
21520
 
s,@CXX@,$CXX,;t t
21521
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21522
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21523
 
s,@LIBOFX_MAJOR_VERSION@,$LIBOFX_MAJOR_VERSION,;t t
21524
 
s,@LIBOFX_MINOR_VERSION@,$LIBOFX_MINOR_VERSION,;t t
21525
 
s,@LIBOFX_MICRO_VERSION@,$LIBOFX_MICRO_VERSION,;t t
21526
 
s,@LIBOFX_VERSION@,$LIBOFX_VERSION,;t t
21527
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21528
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21529
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21530
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
21531
 
s,@PACKAGE@,$PACKAGE,;t t
21532
 
s,@VERSION@,$VERSION,;t t
21533
 
s,@ACLOCAL@,$ACLOCAL,;t t
21534
 
s,@AUTOCONF@,$AUTOCONF,;t t
21535
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
21536
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
21537
 
s,@MAKEINFO@,$MAKEINFO,;t t
21538
 
s,@install_sh@,$install_sh,;t t
21539
 
s,@STRIP@,$STRIP,;t t
21540
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21541
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21542
 
s,@mkdir_p@,$mkdir_p,;t t
21543
 
s,@AWK@,$AWK,;t t
21544
 
s,@SET_MAKE@,$SET_MAKE,;t t
21545
 
s,@am__leading_dot@,$am__leading_dot,;t t
21546
 
s,@AMTAR@,$AMTAR,;t t
21547
 
s,@am__tar@,$am__tar,;t t
21548
 
s,@am__untar@,$am__untar,;t t
21549
 
s,@DEPDIR@,$DEPDIR,;t t
21550
 
s,@am__include@,$am__include,;t t
21551
 
s,@am__quote@,$am__quote,;t t
21552
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21553
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21554
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21555
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
21556
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21557
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21558
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21559
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21560
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21561
 
s,@LIBOFX_SO_CURRENT@,$LIBOFX_SO_CURRENT,;t t
21562
 
s,@LIBOFX_SO_REVISION@,$LIBOFX_SO_REVISION,;t t
21563
 
s,@LIBOFX_SO_AGE@,$LIBOFX_SO_AGE,;t t
21564
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21565
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21566
 
s,@MAINT@,$MAINT,;t t
21567
 
s,@build@,$build,;t t
21568
 
s,@build_cpu@,$build_cpu,;t t
21569
 
s,@build_vendor@,$build_vendor,;t t
21570
 
s,@build_os@,$build_os,;t t
21571
 
s,@host@,$host,;t t
21572
 
s,@host_cpu@,$host_cpu,;t t
21573
 
s,@host_vendor@,$host_vendor,;t t
21574
 
s,@host_os@,$host_os,;t t
21575
 
s,@EGREP@,$EGREP,;t t
21576
 
s,@LN_S@,$LN_S,;t t
21577
 
s,@ECHO@,$ECHO,;t t
21578
 
s,@AR@,$AR,;t t
21579
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21580
 
s,@RANLIB@,$RANLIB,;t t
21581
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21582
 
s,@CPP@,$CPP,;t t
21583
 
s,@CXXCPP@,$CXXCPP,;t t
21584
 
s,@F77@,$F77,;t t
21585
 
s,@FFLAGS@,$FFLAGS,;t t
21586
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21587
 
s,@LIBTOOL@,$LIBTOOL,;t t
21588
 
s,@DOXYGEN@,$DOXYGEN,;t t
21589
 
s,@DOT@,$DOT,;t t
21590
 
s,@DOC_TRUE@,$DOC_TRUE,;t t
21591
 
s,@DOC_FALSE@,$DOC_FALSE,;t t
21592
 
s,@ENABLE_DOXYGEN_TRUE@,$ENABLE_DOXYGEN_TRUE,;t t
21593
 
s,@ENABLE_DOXYGEN_FALSE@,$ENABLE_DOXYGEN_FALSE,;t t
21594
 
s,@enable_dot@,$enable_dot,;t t
21595
 
s,@enable_html_docs@,$enable_html_docs,;t t
21596
 
s,@enable_latex_docs@,$enable_latex_docs,;t t
21597
 
s,@LIBOBJS@,$LIBOBJS,;t t
21598
 
s,@NO_GETOPTLONG_TRUE@,$NO_GETOPTLONG_TRUE,;t t
21599
 
s,@NO_GETOPTLONG_FALSE@,$NO_GETOPTLONG_FALSE,;t t
21600
 
s,@have_gengetopt@,$have_gengetopt,;t t
21601
 
s,@USE_GENGETOPT_TRUE@,$USE_GENGETOPT_TRUE,;t t
21602
 
s,@USE_GENGETOPT_FALSE@,$USE_GENGETOPT_FALSE,;t t
21603
 
s,@_libcurl_config@,$_libcurl_config,;t t
21604
 
s,@LIBCURL_CPPFLAGS@,$LIBCURL_CPPFLAGS,;t t
21605
 
s,@LIBCURL@,$LIBCURL,;t t
21606
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21607
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21608
 
s,@LIBXMLPP_CFLAGS@,$LIBXMLPP_CFLAGS,;t t
21609
 
s,@LIBXMLPP_LIBS@,$LIBXMLPP_LIBS,;t t
21610
 
s,@BUILD_OFXCONNECT_TRUE@,$BUILD_OFXCONNECT_TRUE,;t t
21611
 
s,@BUILD_OFXCONNECT_FALSE@,$BUILD_OFXCONNECT_FALSE,;t t
21612
 
s,@ofxconnect@,$ofxconnect,;t t
21613
 
s,@OPENSPINCLUDES@,$OPENSPINCLUDES,;t t
21614
 
s,@OPENSPLIBS@,$OPENSPLIBS,;t t
21615
 
s,@QT_CFLAGS@,$QT_CFLAGS,;t t
21616
 
s,@LIBOFX_DTD_DIR@,$LIBOFX_DTD_DIR,;t t
21617
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21618
 
CEOF
21619
 
 
21620
 
_ACEOF
21621
 
 
21622
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21623
 
  # Split the substitutions into bite-sized pieces for seds with
21624
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21625
 
  ac_max_sed_lines=48
21626
 
  ac_sed_frag=1 # Number of current file.
21627
 
  ac_beg=1 # First line for current file.
21628
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21629
 
  ac_more_lines=:
21630
 
  ac_sed_cmds=
21631
 
  while $ac_more_lines; do
21632
 
    if test $ac_beg -gt 1; then
21633
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21634
 
    else
21635
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21636
 
    fi
21637
 
    if test ! -s $tmp/subs.frag; then
21638
 
      ac_more_lines=false
21639
 
    else
21640
 
      # The purpose of the label and of the branching condition is to
21641
 
      # speed up the sed processing (if there are no `@' at all, there
21642
 
      # is no need to browse any of the substitutions).
21643
 
      # These are the two extra sed commands mentioned above.
21644
 
      (echo ':t
21645
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21646
 
      if test -z "$ac_sed_cmds"; then
21647
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21648
 
      else
21649
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21650
 
      fi
21651
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21652
 
      ac_beg=$ac_end
21653
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21654
 
    fi
21655
 
  done
21656
 
  if test -z "$ac_sed_cmds"; then
21657
 
    ac_sed_cmds=cat
21658
 
  fi
 
23209
if test -n "$CONFIG_FILES"; then
 
23210
 
 
23211
_ACEOF
 
23212
 
 
23213
 
 
23214
 
 
23215
ac_delim='%!_!# '
 
23216
for ac_last_try in false false false false false :; do
 
23217
  cat >conf$$subs.sed <<_ACEOF
 
23218
SHELL!$SHELL$ac_delim
 
23219
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23220
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23221
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23222
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23223
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23224
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23225
exec_prefix!$exec_prefix$ac_delim
 
23226
prefix!$prefix$ac_delim
 
23227
program_transform_name!$program_transform_name$ac_delim
 
23228
bindir!$bindir$ac_delim
 
23229
sbindir!$sbindir$ac_delim
 
23230
libexecdir!$libexecdir$ac_delim
 
23231
datarootdir!$datarootdir$ac_delim
 
23232
datadir!$datadir$ac_delim
 
23233
sysconfdir!$sysconfdir$ac_delim
 
23234
sharedstatedir!$sharedstatedir$ac_delim
 
23235
localstatedir!$localstatedir$ac_delim
 
23236
includedir!$includedir$ac_delim
 
23237
oldincludedir!$oldincludedir$ac_delim
 
23238
docdir!$docdir$ac_delim
 
23239
infodir!$infodir$ac_delim
 
23240
htmldir!$htmldir$ac_delim
 
23241
dvidir!$dvidir$ac_delim
 
23242
pdfdir!$pdfdir$ac_delim
 
23243
psdir!$psdir$ac_delim
 
23244
libdir!$libdir$ac_delim
 
23245
localedir!$localedir$ac_delim
 
23246
mandir!$mandir$ac_delim
 
23247
DEFS!$DEFS$ac_delim
 
23248
ECHO_C!$ECHO_C$ac_delim
 
23249
ECHO_N!$ECHO_N$ac_delim
 
23250
ECHO_T!$ECHO_T$ac_delim
 
23251
LIBS!$LIBS$ac_delim
 
23252
build_alias!$build_alias$ac_delim
 
23253
host_alias!$host_alias$ac_delim
 
23254
target_alias!$target_alias$ac_delim
 
23255
CC!$CC$ac_delim
 
23256
CFLAGS!$CFLAGS$ac_delim
 
23257
LDFLAGS!$LDFLAGS$ac_delim
 
23258
CPPFLAGS!$CPPFLAGS$ac_delim
 
23259
ac_ct_CC!$ac_ct_CC$ac_delim
 
23260
EXEEXT!$EXEEXT$ac_delim
 
23261
OBJEXT!$OBJEXT$ac_delim
 
23262
CXX!$CXX$ac_delim
 
23263
CXXFLAGS!$CXXFLAGS$ac_delim
 
23264
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23265
LIBOFX_MAJOR_VERSION!$LIBOFX_MAJOR_VERSION$ac_delim
 
23266
LIBOFX_MINOR_VERSION!$LIBOFX_MINOR_VERSION$ac_delim
 
23267
LIBOFX_MICRO_VERSION!$LIBOFX_MICRO_VERSION$ac_delim
 
23268
LIBOFX_BUILD_VERSION!$LIBOFX_BUILD_VERSION$ac_delim
 
23269
LIBOFX_VERSION_RELEASE_STRING!$LIBOFX_VERSION_RELEASE_STRING$ac_delim
 
23270
LIBOFX_VERSION!$LIBOFX_VERSION$ac_delim
 
23271
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23272
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23273
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23274
CYGPATH_W!$CYGPATH_W$ac_delim
 
23275
PACKAGE!$PACKAGE$ac_delim
 
23276
VERSION!$VERSION$ac_delim
 
23277
ACLOCAL!$ACLOCAL$ac_delim
 
23278
AUTOCONF!$AUTOCONF$ac_delim
 
23279
AUTOMAKE!$AUTOMAKE$ac_delim
 
23280
AUTOHEADER!$AUTOHEADER$ac_delim
 
23281
MAKEINFO!$MAKEINFO$ac_delim
 
23282
install_sh!$install_sh$ac_delim
 
23283
STRIP!$STRIP$ac_delim
 
23284
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23285
mkdir_p!$mkdir_p$ac_delim
 
23286
AWK!$AWK$ac_delim
 
23287
SET_MAKE!$SET_MAKE$ac_delim
 
23288
am__leading_dot!$am__leading_dot$ac_delim
 
23289
AMTAR!$AMTAR$ac_delim
 
23290
am__tar!$am__tar$ac_delim
 
23291
am__untar!$am__untar$ac_delim
 
23292
DEPDIR!$DEPDIR$ac_delim
 
23293
am__include!$am__include$ac_delim
 
23294
am__quote!$am__quote$ac_delim
 
23295
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23296
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23297
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23298
CCDEPMODE!$CCDEPMODE$ac_delim
 
23299
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23300
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23301
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23302
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23303
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
23304
LIBOFX_SO_CURRENT!$LIBOFX_SO_CURRENT$ac_delim
 
23305
LIBOFX_SO_REVISION!$LIBOFX_SO_REVISION$ac_delim
 
23306
LIBOFX_SO_AGE!$LIBOFX_SO_AGE$ac_delim
 
23307
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23308
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23309
MAINT!$MAINT$ac_delim
 
23310
RC!$RC$ac_delim
 
23311
build!$build$ac_delim
 
23312
build_cpu!$build_cpu$ac_delim
 
23313
build_vendor!$build_vendor$ac_delim
 
23314
build_os!$build_os$ac_delim
 
23315
_ACEOF
 
23316
 
 
23317
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23318
    break
 
23319
  elif $ac_last_try; then
 
23320
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23321
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23322
   { (exit 1); exit 1; }; }
 
23323
  else
 
23324
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23325
  fi
 
23326
done
 
23327
 
 
23328
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23329
if test -n "$ac_eof"; then
 
23330
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23331
  ac_eof=`expr $ac_eof + 1`
 
23332
fi
 
23333
 
 
23334
cat >>$CONFIG_STATUS <<_ACEOF
 
23335
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
23336
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23337
_ACEOF
 
23338
sed '
 
23339
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23340
s/^/s,@/; s/!/@,|#_!!_#|/
 
23341
:n
 
23342
t n
 
23343
s/'"$ac_delim"'$/,g/; t
 
23344
s/$/\\/; p
 
23345
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23346
' >>$CONFIG_STATUS <conf$$subs.sed
 
23347
rm -f conf$$subs.sed
 
23348
cat >>$CONFIG_STATUS <<_ACEOF
 
23349
CEOF$ac_eof
 
23350
_ACEOF
 
23351
 
 
23352
 
 
23353
ac_delim='%!_!# '
 
23354
for ac_last_try in false false false false false :; do
 
23355
  cat >conf$$subs.sed <<_ACEOF
 
23356
host!$host$ac_delim
 
23357
host_cpu!$host_cpu$ac_delim
 
23358
host_vendor!$host_vendor$ac_delim
 
23359
host_os!$host_os$ac_delim
 
23360
SED!$SED$ac_delim
 
23361
GREP!$GREP$ac_delim
 
23362
EGREP!$EGREP$ac_delim
 
23363
LN_S!$LN_S$ac_delim
 
23364
ECHO!$ECHO$ac_delim
 
23365
AR!$AR$ac_delim
 
23366
RANLIB!$RANLIB$ac_delim
 
23367
DLLTOOL!$DLLTOOL$ac_delim
 
23368
AS!$AS$ac_delim
 
23369
OBJDUMP!$OBJDUMP$ac_delim
 
23370
CPP!$CPP$ac_delim
 
23371
CXXCPP!$CXXCPP$ac_delim
 
23372
F77!$F77$ac_delim
 
23373
FFLAGS!$FFLAGS$ac_delim
 
23374
ac_ct_F77!$ac_ct_F77$ac_delim
 
23375
LIBTOOL!$LIBTOOL$ac_delim
 
23376
OSYSTEM!$OSYSTEM$ac_delim
 
23377
OS_TYPE!$OS_TYPE$ac_delim
 
23378
MAKE_DLL_TARGET!$MAKE_DLL_TARGET$ac_delim
 
23379
INSTALL_DLL_TARGET!$INSTALL_DLL_TARGET$ac_delim
 
23380
DOXYGEN!$DOXYGEN$ac_delim
 
23381
DOT!$DOT$ac_delim
 
23382
DOC_TRUE!$DOC_TRUE$ac_delim
 
23383
DOC_FALSE!$DOC_FALSE$ac_delim
 
23384
ENABLE_DOXYGEN_TRUE!$ENABLE_DOXYGEN_TRUE$ac_delim
 
23385
ENABLE_DOXYGEN_FALSE!$ENABLE_DOXYGEN_FALSE$ac_delim
 
23386
enable_dot!$enable_dot$ac_delim
 
23387
enable_html_docs!$enable_html_docs$ac_delim
 
23388
enable_latex_docs!$enable_latex_docs$ac_delim
 
23389
LIBOBJS!$LIBOBJS$ac_delim
 
23390
NO_GETOPTLONG_TRUE!$NO_GETOPTLONG_TRUE$ac_delim
 
23391
NO_GETOPTLONG_FALSE!$NO_GETOPTLONG_FALSE$ac_delim
 
23392
have_gengetopt!$have_gengetopt$ac_delim
 
23393
USE_GENGETOPT_TRUE!$USE_GENGETOPT_TRUE$ac_delim
 
23394
USE_GENGETOPT_FALSE!$USE_GENGETOPT_FALSE$ac_delim
 
23395
_libcurl_config!$_libcurl_config$ac_delim
 
23396
LIBCURL_CPPFLAGS!$LIBCURL_CPPFLAGS$ac_delim
 
23397
LIBCURL!$LIBCURL$ac_delim
 
23398
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
23399
LIBXMLPP_CFLAGS!$LIBXMLPP_CFLAGS$ac_delim
 
23400
LIBXMLPP_LIBS!$LIBXMLPP_LIBS$ac_delim
 
23401
BUILD_OFXCONNECT_TRUE!$BUILD_OFXCONNECT_TRUE$ac_delim
 
23402
BUILD_OFXCONNECT_FALSE!$BUILD_OFXCONNECT_FALSE$ac_delim
 
23403
WITH_ICONV!$WITH_ICONV$ac_delim
 
23404
ICONV_LIBS!$ICONV_LIBS$ac_delim
 
23405
ofxconnect!$ofxconnect$ac_delim
 
23406
OPENSPINCLUDES!$OPENSPINCLUDES$ac_delim
 
23407
OPENSPLIBS!$OPENSPLIBS$ac_delim
 
23408
QT_CFLAGS!$QT_CFLAGS$ac_delim
 
23409
LIBOFX_DTD_DIR!$LIBOFX_DTD_DIR$ac_delim
 
23410
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
23411
_ACEOF
 
23412
 
 
23413
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
 
23414
    break
 
23415
  elif $ac_last_try; then
 
23416
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23417
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23418
   { (exit 1); exit 1; }; }
 
23419
  else
 
23420
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23421
  fi
 
23422
done
 
23423
 
 
23424
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23425
if test -n "$ac_eof"; then
 
23426
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23427
  ac_eof=`expr $ac_eof + 1`
 
23428
fi
 
23429
 
 
23430
cat >>$CONFIG_STATUS <<_ACEOF
 
23431
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
23432
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
23433
_ACEOF
 
23434
sed '
 
23435
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23436
s/^/s,@/; s/!/@,|#_!!_#|/
 
23437
:n
 
23438
t n
 
23439
s/'"$ac_delim"'$/,g/; t
 
23440
s/$/\\/; p
 
23441
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23442
' >>$CONFIG_STATUS <conf$$subs.sed
 
23443
rm -f conf$$subs.sed
 
23444
cat >>$CONFIG_STATUS <<_ACEOF
 
23445
:end
 
23446
s/|#_!!_#|//g
 
23447
CEOF$ac_eof
 
23448
_ACEOF
 
23449
 
 
23450
 
 
23451
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
23452
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23453
# trailing colons and then remove the whole line if VPATH becomes empty
 
23454
# (actually we leave an empty line to preserve line numbers).
 
23455
if test "x$srcdir" = x.; then
 
23456
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
23457
s/:*\$(srcdir):*/:/
 
23458
s/:*\${srcdir}:*/:/
 
23459
s/:*@srcdir@:*/:/
 
23460
s/^\([^=]*=[     ]*\):*/\1/
 
23461
s/:*$//
 
23462
s/^[^=]*=[       ]*$//
 
23463
}'
 
23464
fi
 
23465
 
 
23466
cat >>$CONFIG_STATUS <<\_ACEOF
21659
23467
fi # test -n "$CONFIG_FILES"
21660
23468
 
21661
 
_ACEOF
21662
 
cat >>$CONFIG_STATUS <<\_ACEOF
21663
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21664
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21665
 
  case $ac_file in
21666
 
  - | *:- | *:-:* ) # input from stdin
21667
 
        cat >$tmp/stdin
21668
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21669
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21670
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21671
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21672
 
  * )   ac_file_in=$ac_file.in ;;
21673
 
  esac
21674
 
 
21675
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21676
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
23469
 
 
23470
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS
 
23471
do
 
23472
  case $ac_tag in
 
23473
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23474
  esac
 
23475
  case $ac_mode$ac_tag in
 
23476
  :[FHL]*:*);;
 
23477
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
23478
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
23479
   { (exit 1); exit 1; }; };;
 
23480
  :[FH]-) ac_tag=-:-;;
 
23481
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23482
  esac
 
23483
  ac_save_IFS=$IFS
 
23484
  IFS=:
 
23485
  set x $ac_tag
 
23486
  IFS=$ac_save_IFS
 
23487
  shift
 
23488
  ac_file=$1
 
23489
  shift
 
23490
 
 
23491
  case $ac_mode in
 
23492
  :L) ac_source=$1;;
 
23493
  :[FH])
 
23494
    ac_file_inputs=
 
23495
    for ac_f
 
23496
    do
 
23497
      case $ac_f in
 
23498
      -) ac_f="$tmp/stdin";;
 
23499
      *) # Look for the file first in the build tree, then in the source tree
 
23500
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23501
         # because $ac_f cannot contain `:'.
 
23502
         test -f "$ac_f" ||
 
23503
           case $ac_f in
 
23504
           [\\/$]*) false;;
 
23505
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23506
           esac ||
 
23507
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23508
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23509
   { (exit 1); exit 1; }; };;
 
23510
      esac
 
23511
      ac_file_inputs="$ac_file_inputs $ac_f"
 
23512
    done
 
23513
 
 
23514
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23515
    # use $as_me), people would be surprised to read:
 
23516
    #    /* config.h.  Generated by config.status.  */
 
23517
    configure_input="Generated from "`IFS=:
 
23518
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
23519
    if test x"$ac_file" != x-; then
 
23520
      configure_input="$ac_file.  $configure_input"
 
23521
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
23522
echo "$as_me: creating $ac_file" >&6;}
 
23523
    fi
 
23524
 
 
23525
    case $ac_tag in
 
23526
    *:-:* | *:-) cat >"$tmp/stdin";;
 
23527
    esac
 
23528
    ;;
 
23529
  esac
 
23530
 
 
23531
  ac_dir=`$as_dirname -- "$ac_file" ||
21677
23532
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21678
23533
         X"$ac_file" : 'X\(//\)[^/]' \| \
21679
23534
         X"$ac_file" : 'X\(//\)$' \| \
21680
 
         X"$ac_file" : 'X\(/\)' \| \
21681
 
         .     : '\(.\)' 2>/dev/null ||
 
23535
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21682
23536
echo X"$ac_file" |
21683
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21684
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21685
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21686
 
          /^X\(\/\).*/{ s//\1/; q; }
21687
 
          s/.*/./; q'`
21688
 
  { if $as_mkdir_p; then
21689
 
    mkdir -p "$ac_dir"
21690
 
  else
21691
 
    as_dir="$ac_dir"
 
23537
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23538
            s//\1/
 
23539
            q
 
23540
          }
 
23541
          /^X\(\/\/\)[^/].*/{
 
23542
            s//\1/
 
23543
            q
 
23544
          }
 
23545
          /^X\(\/\/\)$/{
 
23546
            s//\1/
 
23547
            q
 
23548
          }
 
23549
          /^X\(\/\).*/{
 
23550
            s//\1/
 
23551
            q
 
23552
          }
 
23553
          s/.*/./; q'`
 
23554
  { as_dir="$ac_dir"
 
23555
  case $as_dir in #(
 
23556
  -*) as_dir=./$as_dir;;
 
23557
  esac
 
23558
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21692
23559
    as_dirs=
21693
 
    while test ! -d "$as_dir"; do
21694
 
      as_dirs="$as_dir $as_dirs"
21695
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23560
    while :; do
 
23561
      case $as_dir in #(
 
23562
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23563
      *) as_qdir=$as_dir;;
 
23564
      esac
 
23565
      as_dirs="'$as_qdir' $as_dirs"
 
23566
      as_dir=`$as_dirname -- "$as_dir" ||
21696
23567
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21697
23568
         X"$as_dir" : 'X\(//\)[^/]' \| \
21698
23569
         X"$as_dir" : 'X\(//\)$' \| \
21699
 
         X"$as_dir" : 'X\(/\)' \| \
21700
 
         .     : '\(.\)' 2>/dev/null ||
 
23570
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21701
23571
echo X"$as_dir" |
21702
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21703
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21704
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21705
 
          /^X\(\/\).*/{ s//\1/; q; }
21706
 
          s/.*/./; q'`
 
23572
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23573
            s//\1/
 
23574
            q
 
23575
          }
 
23576
          /^X\(\/\/\)[^/].*/{
 
23577
            s//\1/
 
23578
            q
 
23579
          }
 
23580
          /^X\(\/\/\)$/{
 
23581
            s//\1/
 
23582
            q
 
23583
          }
 
23584
          /^X\(\/\).*/{
 
23585
            s//\1/
 
23586
            q
 
23587
          }
 
23588
          s/.*/./; q'`
 
23589
      test -d "$as_dir" && break
21707
23590
    done
21708
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21709
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21710
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
23591
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23592
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23593
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21711
23594
   { (exit 1); exit 1; }; }; }
21712
 
 
21713
23595
  ac_builddir=.
21714
23596
 
21715
 
if test "$ac_dir" != .; then
 
23597
case "$ac_dir" in
 
23598
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23599
*)
21716
23600
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21717
 
  # A "../" for each directory in $ac_dir_suffix.
21718
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21719
 
else
21720
 
  ac_dir_suffix= ac_top_builddir=
21721
 
fi
 
23601
  # A ".." for each directory in $ac_dir_suffix.
 
23602
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
23603
  case $ac_top_builddir_sub in
 
23604
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23605
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23606
  esac ;;
 
23607
esac
 
23608
ac_abs_top_builddir=$ac_pwd
 
23609
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23610
# for backward compatibility:
 
23611
ac_top_builddir=$ac_top_build_prefix
21722
23612
 
21723
23613
case $srcdir in
21724
 
  .)  # No --srcdir option.  We are building in place.
 
23614
  .)  # We are building in place.
21725
23615
    ac_srcdir=.
21726
 
    if test -z "$ac_top_builddir"; then
21727
 
       ac_top_srcdir=.
21728
 
    else
21729
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21730
 
    fi ;;
21731
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
23616
    ac_top_srcdir=$ac_top_builddir_sub
 
23617
    ac_abs_top_srcdir=$ac_pwd ;;
 
23618
  [\\/]* | ?:[\\/]* )  # Absolute name.
21732
23619
    ac_srcdir=$srcdir$ac_dir_suffix;
21733
 
    ac_top_srcdir=$srcdir ;;
21734
 
  *) # Relative path.
21735
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21736
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21737
 
esac
21738
 
 
21739
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21740
 
# the directories may not exist.
21741
 
case `pwd` in
21742
 
.) ac_abs_builddir="$ac_dir";;
21743
 
*)
21744
 
  case "$ac_dir" in
21745
 
  .) ac_abs_builddir=`pwd`;;
21746
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21747
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21748
 
  esac;;
21749
 
esac
21750
 
case $ac_abs_builddir in
21751
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21752
 
*)
21753
 
  case ${ac_top_builddir}. in
21754
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21755
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21756
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21757
 
  esac;;
21758
 
esac
21759
 
case $ac_abs_builddir in
21760
 
.) ac_abs_srcdir=$ac_srcdir;;
21761
 
*)
21762
 
  case $ac_srcdir in
21763
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21764
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21765
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21766
 
  esac;;
21767
 
esac
21768
 
case $ac_abs_builddir in
21769
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21770
 
*)
21771
 
  case $ac_top_srcdir in
21772
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21773
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21774
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21775
 
  esac;;
21776
 
esac
21777
 
 
 
23620
    ac_top_srcdir=$srcdir
 
23621
    ac_abs_top_srcdir=$srcdir ;;
 
23622
  *) # Relative name.
 
23623
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23624
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23625
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
23626
esac
 
23627
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23628
 
 
23629
 
 
23630
  case $ac_mode in
 
23631
  :F)
 
23632
  #
 
23633
  # CONFIG_FILE
 
23634
  #
21778
23635
 
21779
23636
  case $INSTALL in
21780
23637
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21781
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
23638
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21782
23639
  esac
21783
 
 
21784
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21785
 
  # use $as_me), people would be surprised to read:
21786
 
  #    /* config.h.  Generated by config.status.  */
21787
 
  if test x"$ac_file" = x-; then
21788
 
    configure_input=
21789
 
  else
21790
 
    configure_input="$ac_file.  "
21791
 
  fi
21792
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21793
 
                                     sed 's,.*/,,'` by configure."
21794
 
 
21795
 
  # First look for the input files in the build tree, otherwise in the
21796
 
  # src tree.
21797
 
  ac_file_inputs=`IFS=:
21798
 
    for f in $ac_file_in; do
21799
 
      case $f in
21800
 
      -) echo $tmp/stdin ;;
21801
 
      [\\/$]*)
21802
 
         # Absolute (can't be DOS-style, as IFS=:)
21803
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21804
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21805
 
   { (exit 1); exit 1; }; }
21806
 
         echo "$f";;
21807
 
      *) # Relative
21808
 
         if test -f "$f"; then
21809
 
           # Build tree
21810
 
           echo "$f"
21811
 
         elif test -f "$srcdir/$f"; then
21812
 
           # Source tree
21813
 
           echo "$srcdir/$f"
21814
 
         else
21815
 
           # /dev/null tree
21816
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21817
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21818
 
   { (exit 1); exit 1; }; }
21819
 
         fi;;
21820
 
      esac
21821
 
    done` || { (exit 1); exit 1; }
21822
 
 
21823
 
  if test x"$ac_file" != x-; then
21824
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21825
 
echo "$as_me: creating $ac_file" >&6;}
21826
 
    rm -f "$ac_file"
21827
 
  fi
21828
 
_ACEOF
 
23640
_ACEOF
 
23641
 
 
23642
cat >>$CONFIG_STATUS <<\_ACEOF
 
23643
# If the template does not know about datarootdir, expand it.
 
23644
# FIXME: This hack should be removed a few years after 2.60.
 
23645
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23646
 
 
23647
case `sed -n '/datarootdir/ {
 
23648
  p
 
23649
  q
 
23650
}
 
23651
/@datadir@/p
 
23652
/@docdir@/p
 
23653
/@infodir@/p
 
23654
/@localedir@/p
 
23655
/@mandir@/p
 
23656
' $ac_file_inputs` in
 
23657
*datarootdir*) ac_datarootdir_seen=yes;;
 
23658
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23659
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23660
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23661
_ACEOF
 
23662
cat >>$CONFIG_STATUS <<_ACEOF
 
23663
  ac_datarootdir_hack='
 
23664
  s&@datadir@&$datadir&g
 
23665
  s&@docdir@&$docdir&g
 
23666
  s&@infodir@&$infodir&g
 
23667
  s&@localedir@&$localedir&g
 
23668
  s&@mandir@&$mandir&g
 
23669
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23670
esac
 
23671
_ACEOF
 
23672
 
 
23673
# Neutralize VPATH when `$srcdir' = `.'.
 
23674
# Shell code in configure.ac might set extrasub.
 
23675
# FIXME: do we really want to maintain this feature?
21829
23676
cat >>$CONFIG_STATUS <<_ACEOF
21830
23677
  sed "$ac_vpsub
21831
23678
$extrasub
21833
23680
cat >>$CONFIG_STATUS <<\_ACEOF
21834
23681
:t
21835
23682
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21836
 
s,@configure_input@,$configure_input,;t t
21837
 
s,@srcdir@,$ac_srcdir,;t t
21838
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21839
 
s,@top_srcdir@,$ac_top_srcdir,;t t
21840
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21841
 
s,@builddir@,$ac_builddir,;t t
21842
 
s,@abs_builddir@,$ac_abs_builddir,;t t
21843
 
s,@top_builddir@,$ac_top_builddir,;t t
21844
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21845
 
s,@INSTALL@,$ac_INSTALL,;t t
21846
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21847
 
  rm -f $tmp/stdin
21848
 
  if test x"$ac_file" != x-; then
21849
 
    mv $tmp/out $ac_file
21850
 
  else
21851
 
    cat $tmp/out
21852
 
    rm -f $tmp/out
21853
 
  fi
21854
 
 
21855
 
done
 
23683
s&@configure_input@&$configure_input&;t t
 
23684
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23685
s&@srcdir@&$ac_srcdir&;t t
 
23686
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23687
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23688
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23689
s&@builddir@&$ac_builddir&;t t
 
23690
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23691
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23692
s&@INSTALL@&$ac_INSTALL&;t t
 
23693
$ac_datarootdir_hack
 
23694
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
23695
 
 
23696
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23697
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23698
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23699
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23700
which seems to be undefined.  Please make sure it is defined." >&5
 
23701
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23702
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23703
 
 
23704
  rm -f "$tmp/stdin"
 
23705
  case $ac_file in
 
23706
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
23707
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
23708
  esac
 
23709
 ;;
 
23710
  :H)
 
23711
  #
 
23712
  # CONFIG_HEADER
 
23713
  #
21856
23714
_ACEOF
21857
 
cat >>$CONFIG_STATUS <<\_ACEOF
21858
 
 
21859
 
#
21860
 
# CONFIG_HEADER section.
21861
 
#
21862
 
 
21863
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21864
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21865
 
#
21866
 
# ac_d sets the value in "#define NAME VALUE" lines.
21867
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
21868
 
ac_dB='[         ].*$,\1#\2'
 
23715
 
 
23716
# Transform confdefs.h into a sed script `conftest.defines', that
 
23717
# substitutes the proper values into config.h.in to produce config.h.
 
23718
rm -f conftest.defines conftest.tail
 
23719
# First, append a space to every undef/define line, to ease matching.
 
23720
echo 's/$/ /' >conftest.defines
 
23721
# Then, protect against being on the right side of a sed subst, or in
 
23722
# an unquoted here document, in config.status.  If some macros were
 
23723
# called several times there might be several #defines for the same
 
23724
# symbol, which is useless.  But do not sort them, since the last
 
23725
# AC_DEFINE must be honored.
 
23726
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23727
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
23728
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
23729
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
23730
# just an empty string.
 
23731
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
23732
ac_dB='\\)[      (].*,\\1define\\2'
21869
23733
ac_dC=' '
21870
 
ac_dD=',;t'
21871
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21872
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21873
 
ac_uB='$,\1#\2define\3'
21874
 
ac_uC=' '
21875
 
ac_uD=',;t'
21876
 
 
21877
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21878
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21879
 
  case $ac_file in
21880
 
  - | *:- | *:-:* ) # input from stdin
21881
 
        cat >$tmp/stdin
21882
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21883
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21884
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21885
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21886
 
  * )   ac_file_in=$ac_file.in ;;
21887
 
  esac
21888
 
 
21889
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21890
 
echo "$as_me: creating $ac_file" >&6;}
21891
 
 
21892
 
  # First look for the input files in the build tree, otherwise in the
21893
 
  # src tree.
21894
 
  ac_file_inputs=`IFS=:
21895
 
    for f in $ac_file_in; do
21896
 
      case $f in
21897
 
      -) echo $tmp/stdin ;;
21898
 
      [\\/$]*)
21899
 
         # Absolute (can't be DOS-style, as IFS=:)
21900
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21901
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21902
 
   { (exit 1); exit 1; }; }
21903
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
21904
 
         echo "$f";;
21905
 
      *) # Relative
21906
 
         if test -f "$f"; then
21907
 
           # Build tree
21908
 
           echo "$f"
21909
 
         elif test -f "$srcdir/$f"; then
21910
 
           # Source tree
21911
 
           echo "$srcdir/$f"
21912
 
         else
21913
 
           # /dev/null tree
21914
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21915
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21916
 
   { (exit 1); exit 1; }; }
21917
 
         fi;;
21918
 
      esac
21919
 
    done` || { (exit 1); exit 1; }
21920
 
  # Remove the trailing spaces.
21921
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21922
 
 
21923
 
_ACEOF
21924
 
 
21925
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21926
 
# `conftest.undefs', that substitutes the proper values into
21927
 
# config.h.in to produce config.h.  The first handles `#define'
21928
 
# templates, and the second `#undef' templates.
21929
 
# And first: Protect against being on the right side of a sed subst in
21930
 
# config.status.  Protect against being in an unquoted here document
21931
 
# in config.status.
21932
 
rm -f conftest.defines conftest.undefs
21933
 
# Using a here document instead of a string reduces the quoting nightmare.
21934
 
# Putting comments in sed scripts is not portable.
21935
 
#
21936
 
# `end' is used to avoid that the second main sed command (meant for
21937
 
# 0-ary CPP macros) applies to n-ary macro definitions.
21938
 
# See the Autoconf documentation for `clear'.
21939
 
cat >confdef2sed.sed <<\_ACEOF
21940
 
s/[\\&,]/\\&/g
21941
 
s,[\\$`],\\&,g
21942
 
t clear
21943
 
: clear
21944
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21945
 
t end
21946
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21947
 
: end
21948
 
_ACEOF
21949
 
# If some macros were called several times there might be several times
21950
 
# the same #defines, which is useless.  Nevertheless, we may not want to
21951
 
# sort them, since we want the *last* AC-DEFINE to be honored.
21952
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21953
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21954
 
rm -f confdef2sed.sed
21955
 
 
21956
 
# This sed command replaces #undef with comments.  This is necessary, for
 
23734
ac_dD=' ,'
 
23735
 
 
23736
uniq confdefs.h |
 
23737
  sed -n '
 
23738
        t rset
 
23739
        :rset
 
23740
        s/^[     ]*#[    ]*define[       ][      ]*//
 
23741
        t ok
 
23742
        d
 
23743
        :ok
 
23744
        s/[\\&,]/\\&/g
 
23745
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
23746
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
23747
  ' >>conftest.defines
 
23748
 
 
23749
# Remove the space that was appended to ease matching.
 
23750
# Then replace #undef with comments.  This is necessary, for
21957
23751
# example, in the case of _POSIX_SOURCE, which is predefined and required
21958
23752
# on some systems where configure will not decide to define it.
21959
 
cat >>conftest.undefs <<\_ACEOF
21960
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
23753
# (The regexp can be short, since the line contains either #define or #undef.)
 
23754
echo 's/ $//
 
23755
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
23756
 
 
23757
# Break up conftest.defines:
 
23758
ac_max_sed_lines=50
 
23759
 
 
23760
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
23761
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
23762
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
23763
# et cetera.
 
23764
ac_in='$ac_file_inputs'
 
23765
ac_out='"$tmp/out1"'
 
23766
ac_nxt='"$tmp/out2"'
 
23767
 
 
23768
while :
 
23769
do
 
23770
  # Write a here document:
 
23771
    cat >>$CONFIG_STATUS <<_ACEOF
 
23772
    # First, check the format of the line:
 
23773
    cat >"\$tmp/defines.sed" <<\\CEOF
 
23774
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
23775
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
23776
b
 
23777
:def
21961
23778
_ACEOF
21962
 
 
21963
 
# Break up conftest.defines because some shells have a limit on the size
21964
 
# of here documents, and old seds have small limits too (100 cmds).
21965
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21966
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21967
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21968
 
echo '  :' >>$CONFIG_STATUS
21969
 
rm -f conftest.tail
21970
 
while grep . conftest.defines >/dev/null
21971
 
do
21972
 
  # Write a limited-size here document to $tmp/defines.sed.
21973
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21974
 
  # Speed up: don't consider the non `#define' lines.
21975
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21976
 
  # Work around the forget-to-reset-the-flag bug.
21977
 
  echo 't clr' >>$CONFIG_STATUS
21978
 
  echo ': clr' >>$CONFIG_STATUS
21979
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
23779
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21980
23780
  echo 'CEOF
21981
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
21982
 
  rm -f $tmp/in
21983
 
  mv $tmp/out $tmp/in
21984
 
' >>$CONFIG_STATUS
21985
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
23781
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
23782
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
23783
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
23784
  grep . conftest.tail >/dev/null || break
21986
23785
  rm -f conftest.defines
21987
23786
  mv conftest.tail conftest.defines
21988
23787
done
21989
 
rm -f conftest.defines
21990
 
echo '  fi # grep' >>$CONFIG_STATUS
21991
 
echo >>$CONFIG_STATUS
21992
 
 
21993
 
# Break up conftest.undefs because some shells have a limit on the size
21994
 
# of here documents, and old seds have small limits too (100 cmds).
21995
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21996
 
rm -f conftest.tail
21997
 
while grep . conftest.undefs >/dev/null
21998
 
do
21999
 
  # Write a limited-size here document to $tmp/undefs.sed.
22000
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22001
 
  # Speed up: don't consider the non `#undef'
22002
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
22003
 
  # Work around the forget-to-reset-the-flag bug.
22004
 
  echo 't clr' >>$CONFIG_STATUS
22005
 
  echo ': clr' >>$CONFIG_STATUS
22006
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22007
 
  echo 'CEOF
22008
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22009
 
  rm -f $tmp/in
22010
 
  mv $tmp/out $tmp/in
22011
 
' >>$CONFIG_STATUS
22012
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22013
 
  rm -f conftest.undefs
22014
 
  mv conftest.tail conftest.undefs
22015
 
done
22016
 
rm -f conftest.undefs
22017
 
 
 
23788
rm -f conftest.defines conftest.tail
 
23789
 
 
23790
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22018
23791
cat >>$CONFIG_STATUS <<\_ACEOF
22019
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22020
 
  # use $as_me), people would be surprised to read:
22021
 
  #    /* config.h.  Generated by config.status.  */
22022
 
  if test x"$ac_file" = x-; then
22023
 
    echo "/* Generated by configure.  */" >$tmp/config.h
22024
 
  else
22025
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22026
 
  fi
22027
 
  cat $tmp/in >>$tmp/config.h
22028
 
  rm -f $tmp/in
22029
23792
  if test x"$ac_file" != x-; then
22030
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
23793
    echo "/* $configure_input  */" >"$tmp/config.h"
 
23794
    cat "$ac_result" >>"$tmp/config.h"
 
23795
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22031
23796
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22032
23797
echo "$as_me: $ac_file is unchanged" >&6;}
22033
23798
    else
22034
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22035
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22036
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
22037
 
         X"$ac_file" : 'X\(//\)$' \| \
22038
 
         X"$ac_file" : 'X\(/\)' \| \
22039
 
         .     : '\(.\)' 2>/dev/null ||
22040
 
echo X"$ac_file" |
22041
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22042
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22043
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22044
 
          /^X\(\/\).*/{ s//\1/; q; }
22045
 
          s/.*/./; q'`
22046
 
      { if $as_mkdir_p; then
22047
 
    mkdir -p "$ac_dir"
22048
 
  else
22049
 
    as_dir="$ac_dir"
22050
 
    as_dirs=
22051
 
    while test ! -d "$as_dir"; do
22052
 
      as_dirs="$as_dir $as_dirs"
22053
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22054
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22055
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22056
 
         X"$as_dir" : 'X\(//\)$' \| \
22057
 
         X"$as_dir" : 'X\(/\)' \| \
22058
 
         .     : '\(.\)' 2>/dev/null ||
22059
 
echo X"$as_dir" |
22060
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22061
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22062
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22063
 
          /^X\(\/\).*/{ s//\1/; q; }
22064
 
          s/.*/./; q'`
22065
 
    done
22066
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22067
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22068
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22069
 
   { (exit 1); exit 1; }; }; }
22070
 
 
22071
23799
      rm -f $ac_file
22072
 
      mv $tmp/config.h $ac_file
 
23800
      mv "$tmp/config.h" $ac_file
22073
23801
    fi
22074
23802
  else
22075
 
    cat $tmp/config.h
22076
 
    rm -f $tmp/config.h
 
23803
    echo "/* $configure_input  */"
 
23804
    cat "$ac_result"
22077
23805
  fi
 
23806
  rm -f "$tmp/out12"
22078
23807
# Compute $ac_file's index in $config_headers.
22079
23808
_am_stamp_count=1
22080
23809
for _am_header in $config_headers :; do
22085
23814
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22086
23815
  esac
22087
23816
done
22088
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
23817
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22089
23818
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22090
23819
         X$ac_file : 'X\(//\)[^/]' \| \
22091
23820
         X$ac_file : 'X\(//\)$' \| \
22092
 
         X$ac_file : 'X\(/\)' \| \
22093
 
         .     : '\(.\)' 2>/dev/null ||
 
23821
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22094
23822
echo X$ac_file |
22095
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22096
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22097
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22098
 
          /^X\(\/\).*/{ s//\1/; q; }
22099
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22100
 
done
22101
 
_ACEOF
22102
 
cat >>$CONFIG_STATUS <<\_ACEOF
22103
 
 
22104
 
#
22105
 
# CONFIG_LINKS section.
22106
 
#
22107
 
 
22108
 
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
22109
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22110
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22111
 
 
22112
 
  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
22113
 
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
22114
 
 
22115
 
  if test ! -r $srcdir/$ac_source; then
 
23823
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23824
            s//\1/
 
23825
            q
 
23826
          }
 
23827
          /^X\(\/\/\)[^/].*/{
 
23828
            s//\1/
 
23829
            q
 
23830
          }
 
23831
          /^X\(\/\/\)$/{
 
23832
            s//\1/
 
23833
            q
 
23834
          }
 
23835
          /^X\(\/\).*/{
 
23836
            s//\1/
 
23837
            q
 
23838
          }
 
23839
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23840
 ;;
 
23841
  :L)
 
23842
  #
 
23843
  # CONFIG_LINK
 
23844
  #
 
23845
 
 
23846
  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
 
23847
echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
 
23848
 
 
23849
  if test ! -r "$srcdir/$ac_source"; then
22116
23850
    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
22117
23851
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
22118
23852
   { (exit 1); exit 1; }; }
22119
23853
  fi
22120
 
  rm -f $ac_dest
22121
 
 
22122
 
  # Make relative symlinks.
22123
 
  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
22124
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22125
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22126
 
         X"$ac_dest" : 'X\(//\)$' \| \
22127
 
         X"$ac_dest" : 'X\(/\)' \| \
22128
 
         .     : '\(.\)' 2>/dev/null ||
22129
 
echo X"$ac_dest" |
22130
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22131
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22132
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22133
 
          /^X\(\/\).*/{ s//\1/; q; }
22134
 
          s/.*/./; q'`
22135
 
  { if $as_mkdir_p; then
22136
 
    mkdir -p "$ac_dest_dir"
22137
 
  else
22138
 
    as_dir="$ac_dest_dir"
22139
 
    as_dirs=
22140
 
    while test ! -d "$as_dir"; do
22141
 
      as_dirs="$as_dir $as_dirs"
22142
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22143
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22144
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22145
 
         X"$as_dir" : 'X\(//\)$' \| \
22146
 
         X"$as_dir" : 'X\(/\)' \| \
22147
 
         .     : '\(.\)' 2>/dev/null ||
22148
 
echo X"$as_dir" |
22149
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22150
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22151
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22152
 
          /^X\(\/\).*/{ s//\1/; q; }
22153
 
          s/.*/./; q'`
22154
 
    done
22155
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22156
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
22157
 
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
22158
 
   { (exit 1); exit 1; }; }; }
22159
 
 
22160
 
  ac_builddir=.
22161
 
 
22162
 
if test "$ac_dest_dir" != .; then
22163
 
  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
22164
 
  # A "../" for each directory in $ac_dir_suffix.
22165
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22166
 
else
22167
 
  ac_dir_suffix= ac_top_builddir=
22168
 
fi
22169
 
 
22170
 
case $srcdir in
22171
 
  .)  # No --srcdir option.  We are building in place.
22172
 
    ac_srcdir=.
22173
 
    if test -z "$ac_top_builddir"; then
22174
 
       ac_top_srcdir=.
22175
 
    else
22176
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22177
 
    fi ;;
22178
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22179
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22180
 
    ac_top_srcdir=$srcdir ;;
22181
 
  *) # Relative path.
22182
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22183
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22184
 
esac
22185
 
 
22186
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22187
 
# the directories may not exist.
22188
 
case `pwd` in
22189
 
.) ac_abs_builddir="$ac_dest_dir";;
22190
 
*)
22191
 
  case "$ac_dest_dir" in
22192
 
  .) ac_abs_builddir=`pwd`;;
22193
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
22194
 
  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
22195
 
  esac;;
22196
 
esac
22197
 
case $ac_abs_builddir in
22198
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22199
 
*)
22200
 
  case ${ac_top_builddir}. in
22201
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22202
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22203
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22204
 
  esac;;
22205
 
esac
22206
 
case $ac_abs_builddir in
22207
 
.) ac_abs_srcdir=$ac_srcdir;;
22208
 
*)
22209
 
  case $ac_srcdir in
22210
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22211
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22212
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22213
 
  esac;;
22214
 
esac
22215
 
case $ac_abs_builddir in
22216
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22217
 
*)
22218
 
  case $ac_top_srcdir in
22219
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22220
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22221
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22222
 
  esac;;
22223
 
esac
22224
 
 
22225
 
 
 
23854
  rm -f "$ac_file"
 
23855
 
 
23856
  # Try a relative symlink, then a hard link, then a copy.
22226
23857
  case $srcdir in
22227
23858
  [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
22228
 
      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
 
23859
      *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
22229
23860
  esac
22230
 
 
22231
 
  # Try a symlink, then a hard link, then a copy.
22232
 
  ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22233
 
    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
22234
 
    cp -p $srcdir/$ac_source $ac_dest ||
22235
 
    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
22236
 
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
 
23861
  ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
 
23862
    ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
 
23863
    cp -p "$srcdir/$ac_source" "$ac_file" ||
 
23864
    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
 
23865
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
22237
23866
   { (exit 1); exit 1; }; }
22238
 
done
22239
 
_ACEOF
22240
 
cat >>$CONFIG_STATUS <<\_ACEOF
22241
 
 
22242
 
#
22243
 
# CONFIG_COMMANDS section.
22244
 
#
22245
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22246
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22247
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22248
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22249
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22250
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22251
 
         X"$ac_dest" : 'X\(//\)$' \| \
22252
 
         X"$ac_dest" : 'X\(/\)' \| \
22253
 
         .     : '\(.\)' 2>/dev/null ||
22254
 
echo X"$ac_dest" |
22255
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22256
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22257
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22258
 
          /^X\(\/\).*/{ s//\1/; q; }
22259
 
          s/.*/./; q'`
22260
 
  { if $as_mkdir_p; then
22261
 
    mkdir -p "$ac_dir"
22262
 
  else
22263
 
    as_dir="$ac_dir"
22264
 
    as_dirs=
22265
 
    while test ! -d "$as_dir"; do
22266
 
      as_dirs="$as_dir $as_dirs"
22267
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22268
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22269
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22270
 
         X"$as_dir" : 'X\(//\)$' \| \
22271
 
         X"$as_dir" : 'X\(/\)' \| \
22272
 
         .     : '\(.\)' 2>/dev/null ||
22273
 
echo X"$as_dir" |
22274
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22275
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22276
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22277
 
          /^X\(\/\).*/{ s//\1/; q; }
22278
 
          s/.*/./; q'`
22279
 
    done
22280
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22281
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22282
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22283
 
   { (exit 1); exit 1; }; }; }
22284
 
 
22285
 
  ac_builddir=.
22286
 
 
22287
 
if test "$ac_dir" != .; then
22288
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22289
 
  # A "../" for each directory in $ac_dir_suffix.
22290
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22291
 
else
22292
 
  ac_dir_suffix= ac_top_builddir=
22293
 
fi
22294
 
 
22295
 
case $srcdir in
22296
 
  .)  # No --srcdir option.  We are building in place.
22297
 
    ac_srcdir=.
22298
 
    if test -z "$ac_top_builddir"; then
22299
 
       ac_top_srcdir=.
22300
 
    else
22301
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22302
 
    fi ;;
22303
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22304
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22305
 
    ac_top_srcdir=$srcdir ;;
22306
 
  *) # Relative path.
22307
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22308
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22309
 
esac
22310
 
 
22311
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22312
 
# the directories may not exist.
22313
 
case `pwd` in
22314
 
.) ac_abs_builddir="$ac_dir";;
22315
 
*)
22316
 
  case "$ac_dir" in
22317
 
  .) ac_abs_builddir=`pwd`;;
22318
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22319
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22320
 
  esac;;
22321
 
esac
22322
 
case $ac_abs_builddir in
22323
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22324
 
*)
22325
 
  case ${ac_top_builddir}. in
22326
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22327
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22328
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22329
 
  esac;;
22330
 
esac
22331
 
case $ac_abs_builddir in
22332
 
.) ac_abs_srcdir=$ac_srcdir;;
22333
 
*)
22334
 
  case $ac_srcdir in
22335
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22336
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22337
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22338
 
  esac;;
22339
 
esac
22340
 
case $ac_abs_builddir in
22341
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22342
 
*)
22343
 
  case $ac_top_srcdir in
22344
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22345
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22346
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22347
 
  esac;;
22348
 
esac
22349
 
 
22350
 
 
22351
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22352
 
echo "$as_me: executing $ac_dest commands" >&6;}
22353
 
  case $ac_dest in
22354
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23867
 ;;
 
23868
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23869
echo "$as_me: executing $ac_file commands" >&6;}
 
23870
 ;;
 
23871
  esac
 
23872
 
 
23873
 
 
23874
  case $ac_file$ac_mode in
 
23875
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22355
23876
  # Strip MF so we end up with the name of the file.
22356
23877
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22357
23878
  # Check whether this is an Automake generated Makefile or not.
22361
23882
  # each Makefile.in and add a new line on top of each file to say so.
22362
23883
  # So let's grep whole file.
22363
23884
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22364
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
23885
    dirpart=`$as_dirname -- "$mf" ||
22365
23886
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22366
23887
         X"$mf" : 'X\(//\)[^/]' \| \
22367
23888
         X"$mf" : 'X\(//\)$' \| \
22368
 
         X"$mf" : 'X\(/\)' \| \
22369
 
         .     : '\(.\)' 2>/dev/null ||
 
23889
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22370
23890
echo X"$mf" |
22371
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22372
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22373
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22374
 
          /^X\(\/\).*/{ s//\1/; q; }
22375
 
          s/.*/./; q'`
 
23891
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23892
            s//\1/
 
23893
            q
 
23894
          }
 
23895
          /^X\(\/\/\)[^/].*/{
 
23896
            s//\1/
 
23897
            q
 
23898
          }
 
23899
          /^X\(\/\/\)$/{
 
23900
            s//\1/
 
23901
            q
 
23902
          }
 
23903
          /^X\(\/\).*/{
 
23904
            s//\1/
 
23905
            q
 
23906
          }
 
23907
          s/.*/./; q'`
22376
23908
  else
22377
23909
    continue
22378
23910
  fi
22394
23926
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22395
23927
    # Make sure the directory exists.
22396
23928
    test -f "$dirpart/$file" && continue
22397
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
23929
    fdir=`$as_dirname -- "$file" ||
22398
23930
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22399
23931
         X"$file" : 'X\(//\)[^/]' \| \
22400
23932
         X"$file" : 'X\(//\)$' \| \
22401
 
         X"$file" : 'X\(/\)' \| \
22402
 
         .     : '\(.\)' 2>/dev/null ||
 
23933
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22403
23934
echo X"$file" |
22404
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22405
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22406
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22407
 
          /^X\(\/\).*/{ s//\1/; q; }
22408
 
          s/.*/./; q'`
22409
 
    { if $as_mkdir_p; then
22410
 
    mkdir -p $dirpart/$fdir
22411
 
  else
22412
 
    as_dir=$dirpart/$fdir
 
23935
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23936
            s//\1/
 
23937
            q
 
23938
          }
 
23939
          /^X\(\/\/\)[^/].*/{
 
23940
            s//\1/
 
23941
            q
 
23942
          }
 
23943
          /^X\(\/\/\)$/{
 
23944
            s//\1/
 
23945
            q
 
23946
          }
 
23947
          /^X\(\/\).*/{
 
23948
            s//\1/
 
23949
            q
 
23950
          }
 
23951
          s/.*/./; q'`
 
23952
    { as_dir=$dirpart/$fdir
 
23953
  case $as_dir in #(
 
23954
  -*) as_dir=./$as_dir;;
 
23955
  esac
 
23956
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22413
23957
    as_dirs=
22414
 
    while test ! -d "$as_dir"; do
22415
 
      as_dirs="$as_dir $as_dirs"
22416
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23958
    while :; do
 
23959
      case $as_dir in #(
 
23960
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23961
      *) as_qdir=$as_dir;;
 
23962
      esac
 
23963
      as_dirs="'$as_qdir' $as_dirs"
 
23964
      as_dir=`$as_dirname -- "$as_dir" ||
22417
23965
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22418
23966
         X"$as_dir" : 'X\(//\)[^/]' \| \
22419
23967
         X"$as_dir" : 'X\(//\)$' \| \
22420
 
         X"$as_dir" : 'X\(/\)' \| \
22421
 
         .     : '\(.\)' 2>/dev/null ||
 
23968
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22422
23969
echo X"$as_dir" |
22423
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22424
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22425
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22426
 
          /^X\(\/\).*/{ s//\1/; q; }
22427
 
          s/.*/./; q'`
 
23970
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23971
            s//\1/
 
23972
            q
 
23973
          }
 
23974
          /^X\(\/\/\)[^/].*/{
 
23975
            s//\1/
 
23976
            q
 
23977
          }
 
23978
          /^X\(\/\/\)$/{
 
23979
            s//\1/
 
23980
            q
 
23981
          }
 
23982
          /^X\(\/\).*/{
 
23983
            s//\1/
 
23984
            q
 
23985
          }
 
23986
          s/.*/./; q'`
 
23987
      test -d "$as_dir" && break
22428
23988
    done
22429
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22430
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22431
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
23989
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23990
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23991
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22432
23992
   { (exit 1); exit 1; }; }; }
22433
 
 
22434
23993
    # echo "creating $dirpart/$file"
22435
23994
    echo '# dummy' > "$dirpart/$file"
22436
23995
  done
22437
23996
done
22438
23997
 ;;
 
23998
 
22439
23999
  esac
22440
 
done
22441
 
_ACEOF
 
24000
done # for ac_tag
22442
24001
 
22443
 
cat >>$CONFIG_STATUS <<\_ACEOF
22444
24002
 
22445
24003
{ (exit 0); exit 0; }
22446
24004
_ACEOF