~ubuntu-branches/ubuntu/quantal/fbterm-ucimf/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Aron Xu
  • Date: 2010-06-23 14:41:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623144121-yzox3vtyr0ol01o6
Tags: 0.2.7.1-1
* New upstream release:
  Quote the font interfaces and implementations from FbTerm,
  to add fontconfig support for ucimf.
* debian/control: Add libfontconfig1-dev to build dependency.
* debian/fbterm_ucimf.1: Change "-" to "\-" in manual page.

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.63 for fbterm_ucimf 0.2.6.
 
3
# Generated by GNU Autoconf 2.65 for fbterm_ucimf 0.2.7.1.
4
4
#
5
5
# Report bugs to <ucimf@googlegroups.com>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$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
 
  # Pre-4.2 versions of Zsh do 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
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: ucimf@googlegroups.com about your system, including any
 
235
$0: error possibly output before this message. Then install
 
236
$0: a modern shell, or manually run the script under such a
 
237
$0: shell if you do have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
# as_fn_unset VAR
 
253
# ---------------
 
254
# Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
# as_fn_set_status STATUS
 
262
# -----------------------
 
263
# Set $? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} # as_fn_set_status
 
268
 
 
269
# as_fn_exit STATUS
 
270
# -----------------
 
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} # as_fn_exit
 
278
 
 
279
# as_fn_mkdir_p
 
280
# -------------
 
281
# Create "$as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} # as_fn_mkdir_p
 
326
# as_fn_append VAR VALUE
 
327
# ----------------------
 
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
# advantage of any shell optimizations that allow amortized linear growth over
 
330
# repeated appends, instead of the typical quadratic growth present in naive
 
331
# implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
# as_fn_arith ARG...
 
345
# ------------------
 
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
348
# must be portable across $(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
# as_fn_error ERROR [LINENO LOG_FD]
 
363
# ---------------------------------
 
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
# script with status $?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} # as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
429
  sed -n '
461
430
    p
462
431
    /[$]LINENO/=
473
442
      s/-\n.*//
474
443
    ' >$as_me.lineno &&
475
444
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
446
 
479
447
  # Don't try to exec as it changes $[0], causing all sort of problems
480
448
  # (the dirname of $[0] is not the place where we might find the
484
452
  exit
485
453
}
486
454
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
455
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
456
case `echo -n x` in #(((((
496
457
-n*)
497
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
498
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
500
463
  esac;;
501
464
*)
502
465
  ECHO_N='-n';;
503
466
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
467
 
511
468
rm -f conf$$ conf$$.exe conf$$.file
512
469
if test -d conf$$.dir; then
536
493
rmdir conf$$.dir 2>/dev/null
537
494
 
538
495
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
540
497
else
541
498
  test -d ./-p && rmdir ./-p
542
499
  as_mkdir_p=false
555
512
      if test -d "$1"; then
556
513
        test -d "$1/.";
557
514
      else
558
 
        case $1 in
 
515
        case $1 in #(
559
516
        -*)set "./$1";;
560
517
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
519
        ???[sx]*):;;*)false;;esac;fi
563
520
    '\'' sh
564
521
  '
573
530
 
574
531
 
575
532
 
576
 
 
577
533
# Check that we are running under the correct shell.
578
534
SHELL=${CONFIG_SHELL-/bin/sh}
579
535
 
722
678
 
723
679
 
724
680
 
725
 
exec 7<&0 </dev/null 6>&1
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
726
683
 
727
684
# Name of the host.
728
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
740
697
subdirs=
741
698
MFLAGS=
742
699
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
700
 
745
701
# Identity of this package.
746
702
PACKAGE_NAME='fbterm_ucimf'
747
703
PACKAGE_TARNAME='fbterm_ucimf'
748
 
PACKAGE_VERSION='0.2.6'
749
 
PACKAGE_STRING='fbterm_ucimf 0.2.6'
 
704
PACKAGE_VERSION='0.2.7.1'
 
705
PACKAGE_STRING='fbterm_ucimf 0.2.7.1'
750
706
PACKAGE_BUGREPORT='ucimf@googlegroups.com'
 
707
PACKAGE_URL=''
751
708
 
752
709
ac_unique_file="fbterm_ucimf.cpp"
753
710
# Factoring default headers for most tests.
786
743
# include <unistd.h>
787
744
#endif"
788
745
 
789
 
ac_subst_vars='LTLIBOBJS
 
746
ac_subst_vars='am__EXEEXT_FALSE
 
747
am__EXEEXT_TRUE
 
748
LTLIBOBJS
790
749
LIBOBJS
791
750
ENABLE_DEBUG_FALSE
792
751
ENABLE_DEBUG_TRUE
 
752
fontconfig_LIBS
 
753
fontconfig_CFLAGS
 
754
freetype2_LIBS
 
755
freetype2_CFLAGS
 
756
PKG_CONFIG
793
757
CXXCPP
794
758
CPP
795
759
OTOOL64
894
858
program_transform_name
895
859
prefix
896
860
exec_prefix
 
861
PACKAGE_URL
897
862
PACKAGE_BUGREPORT
898
863
PACKAGE_STRING
899
864
PACKAGE_VERSION
925
890
CC
926
891
CFLAGS
927
892
CPP
928
 
CXXCPP'
 
893
CXXCPP
 
894
PKG_CONFIG
 
895
freetype2_CFLAGS
 
896
freetype2_LIBS
 
897
fontconfig_CFLAGS
 
898
fontconfig_LIBS'
929
899
 
930
900
 
931
901
# Initialize some variables set by options.
1034
1004
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1035
1005
    # Reject names that are not valid shell variable names.
1036
1006
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1038
 
   { (exit 1); exit 1; }; }
 
1007
      as_fn_error "invalid feature name: $ac_useropt"
1039
1008
    ac_useropt_orig=$ac_useropt
1040
1009
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041
1010
    case $ac_user_opts in
1061
1030
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1062
1031
    # Reject names that are not valid shell variable names.
1063
1032
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1065
 
   { (exit 1); exit 1; }; }
 
1033
      as_fn_error "invalid feature name: $ac_useropt"
1066
1034
    ac_useropt_orig=$ac_useropt
1067
1035
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068
1036
    case $ac_user_opts in
1266
1234
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1267
1235
    # Reject names that are not valid shell variable names.
1268
1236
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1270
 
   { (exit 1); exit 1; }; }
 
1237
      as_fn_error "invalid package name: $ac_useropt"
1271
1238
    ac_useropt_orig=$ac_useropt
1272
1239
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273
1240
    case $ac_user_opts in
1283
1250
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1284
1251
    # Reject names that are not valid shell variable names.
1285
1252
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1286
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1287
 
   { (exit 1); exit 1; }; }
 
1253
      as_fn_error "invalid package name: $ac_useropt"
1288
1254
    ac_useropt_orig=$ac_useropt
1289
1255
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1290
1256
    case $ac_user_opts in
1314
1280
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1315
1281
    x_libraries=$ac_optarg ;;
1316
1282
 
1317
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1318
 
Try \`$0 --help' for more information." >&2
1319
 
   { (exit 1); exit 1; }; }
 
1283
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1284
Try \`$0 --help' for more information."
1320
1285
    ;;
1321
1286
 
1322
1287
  *=*)
1323
1288
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1324
1289
    # Reject names that are not valid shell variable names.
1325
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1326
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1327
 
   { (exit 1); exit 1; }; }
 
1290
    case $ac_envvar in #(
 
1291
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1292
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1293
    esac
1328
1294
    eval $ac_envvar=\$ac_optarg
1329
1295
    export $ac_envvar ;;
1330
1296
 
1341
1307
 
1342
1308
if test -n "$ac_prev"; then
1343
1309
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1344
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1345
 
   { (exit 1); exit 1; }; }
 
1310
  as_fn_error "missing argument to $ac_option"
1346
1311
fi
1347
1312
 
1348
1313
if test -n "$ac_unrecognized_opts"; then
1349
1314
  case $enable_option_checking in
1350
1315
    no) ;;
1351
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1352
 
   { (exit 1); exit 1; }; } ;;
 
1316
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1353
1317
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354
1318
  esac
1355
1319
fi
1372
1336
    [\\/$]* | ?:[\\/]* )  continue;;
1373
1337
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1374
1338
  esac
1375
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1376
 
   { (exit 1); exit 1; }; }
 
1339
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1377
1340
done
1378
1341
 
1379
1342
# There might be people who depend on the old broken behavior: `$host'
1403
1366
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1404
1367
ac_ls_di=`ls -di .` &&
1405
1368
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1406
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1407
 
   { (exit 1); exit 1; }; }
 
1369
  as_fn_error "working directory cannot be determined"
1408
1370
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1409
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1410
 
   { (exit 1); exit 1; }; }
 
1371
  as_fn_error "pwd does not report name of working directory"
1411
1372
 
1412
1373
 
1413
1374
# Find the source files, if location was not specified.
1446
1407
fi
1447
1408
if test ! -r "$srcdir/$ac_unique_file"; then
1448
1409
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1449
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1450
 
   { (exit 1); exit 1; }; }
 
1410
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1451
1411
fi
1452
1412
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1453
1413
ac_abs_confdir=`(
1454
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1455
 
   { (exit 1); exit 1; }; }
 
1414
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1456
1415
        pwd)`
1457
1416
# When building in place, set srcdir=.
1458
1417
if test "$ac_abs_confdir" = "$ac_pwd"; then
1478
1437
  # Omit some internal or obsolete options to make the list less imposing.
1479
1438
  # This message is too long to be a string in the A/UX 3.1 sh.
1480
1439
  cat <<_ACEOF
1481
 
\`configure' configures fbterm_ucimf 0.2.6 to adapt to many kinds of systems.
 
1440
\`configure' configures fbterm_ucimf 0.2.7.1 to adapt to many kinds of systems.
1482
1441
 
1483
1442
Usage: $0 [OPTION]... [VAR=VALUE]...
1484
1443
 
1548
1507
 
1549
1508
if test -n "$ac_init_help"; then
1550
1509
  case $ac_init_help in
1551
 
     short | recursive ) echo "Configuration of fbterm_ucimf 0.2.6:";;
 
1510
     short | recursive ) echo "Configuration of fbterm_ucimf 0.2.7.1:";;
1552
1511
   esac
1553
1512
  cat <<\_ACEOF
1554
1513
 
1578
1537
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1579
1538
              nonstandard directory <lib dir>
1580
1539
  LIBS        libraries to pass to the linker, e.g. -l<library>
1581
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1540
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1582
1541
              you have headers in a nonstandard directory <include dir>
1583
1542
  CC          C compiler command
1584
1543
  CFLAGS      C compiler flags
1585
1544
  CPP         C preprocessor
1586
1545
  CXXCPP      C++ preprocessor
 
1546
  PKG_CONFIG  path to pkg-config utility
 
1547
  freetype2_CFLAGS
 
1548
              C compiler flags for freetype2, overriding pkg-config
 
1549
  freetype2_LIBS
 
1550
              linker flags for freetype2, overriding pkg-config
 
1551
  fontconfig_CFLAGS
 
1552
              C compiler flags for fontconfig, overriding pkg-config
 
1553
  fontconfig_LIBS
 
1554
              linker flags for fontconfig, overriding pkg-config
1587
1555
 
1588
1556
Use these variables to override the choices made by `configure' or to help
1589
1557
it to find libraries and programs with nonstandard names/locations.
1651
1619
test -n "$ac_init_help" && exit $ac_status
1652
1620
if $ac_init_version; then
1653
1621
  cat <<\_ACEOF
1654
 
fbterm_ucimf configure 0.2.6
1655
 
generated by GNU Autoconf 2.63
 
1622
fbterm_ucimf configure 0.2.7.1
 
1623
generated by GNU Autoconf 2.65
1656
1624
 
1657
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1658
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1625
Copyright (C) 2009 Free Software Foundation, Inc.
1659
1626
This configure script is free software; the Free Software Foundation
1660
1627
gives unlimited permission to copy, distribute and modify it.
1661
1628
_ACEOF
1662
1629
  exit
1663
1630
fi
 
1631
 
 
1632
## ------------------------ ##
 
1633
## Autoconf initialization. ##
 
1634
## ------------------------ ##
 
1635
 
 
1636
# ac_fn_cxx_try_compile LINENO
 
1637
# ----------------------------
 
1638
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1639
ac_fn_cxx_try_compile ()
 
1640
{
 
1641
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1642
  rm -f conftest.$ac_objext
 
1643
  if { { ac_try="$ac_compile"
 
1644
case "(($ac_try" in
 
1645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1646
  *) ac_try_echo=$ac_try;;
 
1647
esac
 
1648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1649
$as_echo "$ac_try_echo"; } >&5
 
1650
  (eval "$ac_compile") 2>conftest.err
 
1651
  ac_status=$?
 
1652
  if test -s conftest.err; then
 
1653
    grep -v '^ *+' conftest.err >conftest.er1
 
1654
    cat conftest.er1 >&5
 
1655
    mv -f conftest.er1 conftest.err
 
1656
  fi
 
1657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1658
  test $ac_status = 0; } && {
 
1659
         test -z "$ac_cxx_werror_flag" ||
 
1660
         test ! -s conftest.err
 
1661
       } && test -s conftest.$ac_objext; then :
 
1662
  ac_retval=0
 
1663
else
 
1664
  $as_echo "$as_me: failed program was:" >&5
 
1665
sed 's/^/| /' conftest.$ac_ext >&5
 
1666
 
 
1667
        ac_retval=1
 
1668
fi
 
1669
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1670
  as_fn_set_status $ac_retval
 
1671
 
 
1672
} # ac_fn_cxx_try_compile
 
1673
 
 
1674
# ac_fn_c_try_compile LINENO
 
1675
# --------------------------
 
1676
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1677
ac_fn_c_try_compile ()
 
1678
{
 
1679
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1680
  rm -f conftest.$ac_objext
 
1681
  if { { ac_try="$ac_compile"
 
1682
case "(($ac_try" in
 
1683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1684
  *) ac_try_echo=$ac_try;;
 
1685
esac
 
1686
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1687
$as_echo "$ac_try_echo"; } >&5
 
1688
  (eval "$ac_compile") 2>conftest.err
 
1689
  ac_status=$?
 
1690
  if test -s conftest.err; then
 
1691
    grep -v '^ *+' conftest.err >conftest.er1
 
1692
    cat conftest.er1 >&5
 
1693
    mv -f conftest.er1 conftest.err
 
1694
  fi
 
1695
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1696
  test $ac_status = 0; } && {
 
1697
         test -z "$ac_c_werror_flag" ||
 
1698
         test ! -s conftest.err
 
1699
       } && test -s conftest.$ac_objext; then :
 
1700
  ac_retval=0
 
1701
else
 
1702
  $as_echo "$as_me: failed program was:" >&5
 
1703
sed 's/^/| /' conftest.$ac_ext >&5
 
1704
 
 
1705
        ac_retval=1
 
1706
fi
 
1707
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1708
  as_fn_set_status $ac_retval
 
1709
 
 
1710
} # ac_fn_c_try_compile
 
1711
 
 
1712
# ac_fn_c_try_link LINENO
 
1713
# -----------------------
 
1714
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1715
ac_fn_c_try_link ()
 
1716
{
 
1717
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1718
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1719
  if { { ac_try="$ac_link"
 
1720
case "(($ac_try" in
 
1721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1722
  *) ac_try_echo=$ac_try;;
 
1723
esac
 
1724
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1725
$as_echo "$ac_try_echo"; } >&5
 
1726
  (eval "$ac_link") 2>conftest.err
 
1727
  ac_status=$?
 
1728
  if test -s conftest.err; then
 
1729
    grep -v '^ *+' conftest.err >conftest.er1
 
1730
    cat conftest.er1 >&5
 
1731
    mv -f conftest.er1 conftest.err
 
1732
  fi
 
1733
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1734
  test $ac_status = 0; } && {
 
1735
         test -z "$ac_c_werror_flag" ||
 
1736
         test ! -s conftest.err
 
1737
       } && test -s conftest$ac_exeext && {
 
1738
         test "$cross_compiling" = yes ||
 
1739
         $as_test_x conftest$ac_exeext
 
1740
       }; then :
 
1741
  ac_retval=0
 
1742
else
 
1743
  $as_echo "$as_me: failed program was:" >&5
 
1744
sed 's/^/| /' conftest.$ac_ext >&5
 
1745
 
 
1746
        ac_retval=1
 
1747
fi
 
1748
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1749
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1750
  # interfere with the next link command; also delete a directory that is
 
1751
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1752
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1753
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1754
  as_fn_set_status $ac_retval
 
1755
 
 
1756
} # ac_fn_c_try_link
 
1757
 
 
1758
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1759
# -------------------------------------------------------
 
1760
# Tests whether HEADER exists and can be compiled using the include files in
 
1761
# INCLUDES, setting the cache variable VAR accordingly.
 
1762
ac_fn_c_check_header_compile ()
 
1763
{
 
1764
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1765
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1766
$as_echo_n "checking for $2... " >&6; }
 
1767
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1768
  $as_echo_n "(cached) " >&6
 
1769
else
 
1770
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1771
/* end confdefs.h.  */
 
1772
$4
 
1773
#include <$2>
 
1774
_ACEOF
 
1775
if ac_fn_c_try_compile "$LINENO"; then :
 
1776
  eval "$3=yes"
 
1777
else
 
1778
  eval "$3=no"
 
1779
fi
 
1780
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1781
fi
 
1782
eval ac_res=\$$3
 
1783
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1784
$as_echo "$ac_res" >&6; }
 
1785
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1786
 
 
1787
} # ac_fn_c_check_header_compile
 
1788
 
 
1789
# ac_fn_c_try_cpp LINENO
 
1790
# ----------------------
 
1791
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1792
ac_fn_c_try_cpp ()
 
1793
{
 
1794
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1795
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1796
case "(($ac_try" in
 
1797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1798
  *) ac_try_echo=$ac_try;;
 
1799
esac
 
1800
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1801
$as_echo "$ac_try_echo"; } >&5
 
1802
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1803
  ac_status=$?
 
1804
  if test -s conftest.err; then
 
1805
    grep -v '^ *+' conftest.err >conftest.er1
 
1806
    cat conftest.er1 >&5
 
1807
    mv -f conftest.er1 conftest.err
 
1808
  fi
 
1809
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1810
  test $ac_status = 0; } >/dev/null && {
 
1811
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1812
         test ! -s conftest.err
 
1813
       }; then :
 
1814
  ac_retval=0
 
1815
else
 
1816
  $as_echo "$as_me: failed program was:" >&5
 
1817
sed 's/^/| /' conftest.$ac_ext >&5
 
1818
 
 
1819
    ac_retval=1
 
1820
fi
 
1821
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1822
  as_fn_set_status $ac_retval
 
1823
 
 
1824
} # ac_fn_c_try_cpp
 
1825
 
 
1826
# ac_fn_c_try_run LINENO
 
1827
# ----------------------
 
1828
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1829
# that executables *can* be run.
 
1830
ac_fn_c_try_run ()
 
1831
{
 
1832
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1833
  if { { ac_try="$ac_link"
 
1834
case "(($ac_try" in
 
1835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1836
  *) ac_try_echo=$ac_try;;
 
1837
esac
 
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1839
$as_echo "$ac_try_echo"; } >&5
 
1840
  (eval "$ac_link") 2>&5
 
1841
  ac_status=$?
 
1842
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1843
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1844
  { { case "(($ac_try" in
 
1845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1846
  *) ac_try_echo=$ac_try;;
 
1847
esac
 
1848
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1849
$as_echo "$ac_try_echo"; } >&5
 
1850
  (eval "$ac_try") 2>&5
 
1851
  ac_status=$?
 
1852
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1853
  test $ac_status = 0; }; }; then :
 
1854
  ac_retval=0
 
1855
else
 
1856
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1857
       $as_echo "$as_me: failed program was:" >&5
 
1858
sed 's/^/| /' conftest.$ac_ext >&5
 
1859
 
 
1860
       ac_retval=$ac_status
 
1861
fi
 
1862
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1863
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1864
  as_fn_set_status $ac_retval
 
1865
 
 
1866
} # ac_fn_c_try_run
 
1867
 
 
1868
# ac_fn_c_check_func LINENO FUNC VAR
 
1869
# ----------------------------------
 
1870
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1871
ac_fn_c_check_func ()
 
1872
{
 
1873
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1874
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1875
$as_echo_n "checking for $2... " >&6; }
 
1876
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1877
  $as_echo_n "(cached) " >&6
 
1878
else
 
1879
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1880
/* end confdefs.h.  */
 
1881
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1882
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1883
#define $2 innocuous_$2
 
1884
 
 
1885
/* System header to define __stub macros and hopefully few prototypes,
 
1886
    which can conflict with char $2 (); below.
 
1887
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1888
    <limits.h> exists even on freestanding compilers.  */
 
1889
 
 
1890
#ifdef __STDC__
 
1891
# include <limits.h>
 
1892
#else
 
1893
# include <assert.h>
 
1894
#endif
 
1895
 
 
1896
#undef $2
 
1897
 
 
1898
/* Override any GCC internal prototype to avoid an error.
 
1899
   Use char because int might match the return type of a GCC
 
1900
   builtin and then its argument prototype would still apply.  */
 
1901
#ifdef __cplusplus
 
1902
extern "C"
 
1903
#endif
 
1904
char $2 ();
 
1905
/* The GNU C library defines this for functions which it implements
 
1906
    to always fail with ENOSYS.  Some functions are actually named
 
1907
    something starting with __ and the normal name is an alias.  */
 
1908
#if defined __stub_$2 || defined __stub___$2
 
1909
choke me
 
1910
#endif
 
1911
 
 
1912
int
 
1913
main ()
 
1914
{
 
1915
return $2 ();
 
1916
  ;
 
1917
  return 0;
 
1918
}
 
1919
_ACEOF
 
1920
if ac_fn_c_try_link "$LINENO"; then :
 
1921
  eval "$3=yes"
 
1922
else
 
1923
  eval "$3=no"
 
1924
fi
 
1925
rm -f core conftest.err conftest.$ac_objext \
 
1926
    conftest$ac_exeext conftest.$ac_ext
 
1927
fi
 
1928
eval ac_res=\$$3
 
1929
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1930
$as_echo "$ac_res" >&6; }
 
1931
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1932
 
 
1933
} # ac_fn_c_check_func
 
1934
 
 
1935
# ac_fn_cxx_try_cpp LINENO
 
1936
# ------------------------
 
1937
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1938
ac_fn_cxx_try_cpp ()
 
1939
{
 
1940
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1941
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1942
case "(($ac_try" in
 
1943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1944
  *) ac_try_echo=$ac_try;;
 
1945
esac
 
1946
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1947
$as_echo "$ac_try_echo"; } >&5
 
1948
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1949
  ac_status=$?
 
1950
  if test -s conftest.err; then
 
1951
    grep -v '^ *+' conftest.err >conftest.er1
 
1952
    cat conftest.er1 >&5
 
1953
    mv -f conftest.er1 conftest.err
 
1954
  fi
 
1955
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1956
  test $ac_status = 0; } >/dev/null && {
 
1957
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1958
         test ! -s conftest.err
 
1959
       }; then :
 
1960
  ac_retval=0
 
1961
else
 
1962
  $as_echo "$as_me: failed program was:" >&5
 
1963
sed 's/^/| /' conftest.$ac_ext >&5
 
1964
 
 
1965
    ac_retval=1
 
1966
fi
 
1967
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1968
  as_fn_set_status $ac_retval
 
1969
 
 
1970
} # ac_fn_cxx_try_cpp
 
1971
 
 
1972
# ac_fn_cxx_try_link LINENO
 
1973
# -------------------------
 
1974
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1975
ac_fn_cxx_try_link ()
 
1976
{
 
1977
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1978
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1979
  if { { ac_try="$ac_link"
 
1980
case "(($ac_try" in
 
1981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1982
  *) ac_try_echo=$ac_try;;
 
1983
esac
 
1984
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1985
$as_echo "$ac_try_echo"; } >&5
 
1986
  (eval "$ac_link") 2>conftest.err
 
1987
  ac_status=$?
 
1988
  if test -s conftest.err; then
 
1989
    grep -v '^ *+' conftest.err >conftest.er1
 
1990
    cat conftest.er1 >&5
 
1991
    mv -f conftest.er1 conftest.err
 
1992
  fi
 
1993
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1994
  test $ac_status = 0; } && {
 
1995
         test -z "$ac_cxx_werror_flag" ||
 
1996
         test ! -s conftest.err
 
1997
       } && test -s conftest$ac_exeext && {
 
1998
         test "$cross_compiling" = yes ||
 
1999
         $as_test_x conftest$ac_exeext
 
2000
       }; then :
 
2001
  ac_retval=0
 
2002
else
 
2003
  $as_echo "$as_me: failed program was:" >&5
 
2004
sed 's/^/| /' conftest.$ac_ext >&5
 
2005
 
 
2006
        ac_retval=1
 
2007
fi
 
2008
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2009
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2010
  # interfere with the next link command; also delete a directory that is
 
2011
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2012
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2013
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2014
  as_fn_set_status $ac_retval
 
2015
 
 
2016
} # ac_fn_cxx_try_link
 
2017
 
 
2018
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2019
# -------------------------------------------------------
 
2020
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2021
# the include files in INCLUDES and setting the cache variable VAR
 
2022
# accordingly.
 
2023
ac_fn_c_check_header_mongrel ()
 
2024
{
 
2025
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2026
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2027
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2028
$as_echo_n "checking for $2... " >&6; }
 
2029
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2030
  $as_echo_n "(cached) " >&6
 
2031
fi
 
2032
eval ac_res=\$$3
 
2033
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2034
$as_echo "$ac_res" >&6; }
 
2035
else
 
2036
  # Is the header compilable?
 
2037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2038
$as_echo_n "checking $2 usability... " >&6; }
 
2039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2040
/* end confdefs.h.  */
 
2041
$4
 
2042
#include <$2>
 
2043
_ACEOF
 
2044
if ac_fn_c_try_compile "$LINENO"; then :
 
2045
  ac_header_compiler=yes
 
2046
else
 
2047
  ac_header_compiler=no
 
2048
fi
 
2049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2051
$as_echo "$ac_header_compiler" >&6; }
 
2052
 
 
2053
# Is the header present?
 
2054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2055
$as_echo_n "checking $2 presence... " >&6; }
 
2056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2057
/* end confdefs.h.  */
 
2058
#include <$2>
 
2059
_ACEOF
 
2060
if ac_fn_c_try_cpp "$LINENO"; then :
 
2061
  ac_header_preproc=yes
 
2062
else
 
2063
  ac_header_preproc=no
 
2064
fi
 
2065
rm -f conftest.err conftest.$ac_ext
 
2066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2067
$as_echo "$ac_header_preproc" >&6; }
 
2068
 
 
2069
# So?  What about this header?
 
2070
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2071
  yes:no: )
 
2072
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2073
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2074
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2075
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2076
    ;;
 
2077
  no:yes:* )
 
2078
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2079
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2080
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2081
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2082
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2083
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2084
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2085
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2086
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2087
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2088
( cat <<\_ASBOX
 
2089
## ------------------------------------- ##
 
2090
## Report this to ucimf@googlegroups.com ##
 
2091
## ------------------------------------- ##
 
2092
_ASBOX
 
2093
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2094
    ;;
 
2095
esac
 
2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2097
$as_echo_n "checking for $2... " >&6; }
 
2098
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2099
  $as_echo_n "(cached) " >&6
 
2100
else
 
2101
  eval "$3=\$ac_header_compiler"
 
2102
fi
 
2103
eval ac_res=\$$3
 
2104
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2105
$as_echo "$ac_res" >&6; }
 
2106
fi
 
2107
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2108
 
 
2109
} # ac_fn_c_check_header_mongrel
 
2110
 
 
2111
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2112
# -------------------------------------------
 
2113
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2114
# variable VAR accordingly.
 
2115
ac_fn_c_check_type ()
 
2116
{
 
2117
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2119
$as_echo_n "checking for $2... " >&6; }
 
2120
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2121
  $as_echo_n "(cached) " >&6
 
2122
else
 
2123
  eval "$3=no"
 
2124
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2125
/* end confdefs.h.  */
 
2126
$4
 
2127
int
 
2128
main ()
 
2129
{
 
2130
if (sizeof ($2))
 
2131
         return 0;
 
2132
  ;
 
2133
  return 0;
 
2134
}
 
2135
_ACEOF
 
2136
if ac_fn_c_try_compile "$LINENO"; then :
 
2137
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2138
/* end confdefs.h.  */
 
2139
$4
 
2140
int
 
2141
main ()
 
2142
{
 
2143
if (sizeof (($2)))
 
2144
            return 0;
 
2145
  ;
 
2146
  return 0;
 
2147
}
 
2148
_ACEOF
 
2149
if ac_fn_c_try_compile "$LINENO"; then :
 
2150
 
 
2151
else
 
2152
  eval "$3=yes"
 
2153
fi
 
2154
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2155
fi
 
2156
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2157
fi
 
2158
eval ac_res=\$$3
 
2159
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2160
$as_echo "$ac_res" >&6; }
 
2161
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2162
 
 
2163
} # ac_fn_c_check_type
1664
2164
cat >config.log <<_ACEOF
1665
2165
This file contains any messages produced by compilers while
1666
2166
running configure, to aid debugging if configure makes a mistake.
1667
2167
 
1668
 
It was created by fbterm_ucimf $as_me 0.2.6, which was
1669
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2168
It was created by fbterm_ucimf $as_me 0.2.7.1, which was
 
2169
generated by GNU Autoconf 2.65.  Invocation command line was
1670
2170
 
1671
2171
  $ $0 $@
1672
2172
 
1702
2202
do
1703
2203
  IFS=$as_save_IFS
1704
2204
  test -z "$as_dir" && as_dir=.
1705
 
  $as_echo "PATH: $as_dir"
1706
 
done
 
2205
    $as_echo "PATH: $as_dir"
 
2206
  done
1707
2207
IFS=$as_save_IFS
1708
2208
 
1709
2209
} >&5
1740
2240
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1741
2241
    esac
1742
2242
    case $ac_pass in
1743
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2243
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1744
2244
    2)
1745
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2245
      as_fn_append ac_configure_args1 " '$ac_arg'"
1746
2246
      if test $ac_must_keep_next = true; then
1747
2247
        ac_must_keep_next=false # Got value, back to normal.
1748
2248
      else
1758
2258
          -* ) ac_must_keep_next=true ;;
1759
2259
        esac
1760
2260
      fi
1761
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2261
      as_fn_append ac_configure_args " '$ac_arg'"
1762
2262
      ;;
1763
2263
    esac
1764
2264
  done
1765
2265
done
1766
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1767
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2266
{ ac_configure_args0=; unset ac_configure_args0;}
 
2267
{ ac_configure_args1=; unset ac_configure_args1;}
1768
2268
 
1769
2269
# When interrupted or exit'd, cleanup temporary files, and complete
1770
2270
# config.log.  We remove comments because anyway the quotes in there
1789
2289
    case $ac_val in #(
1790
2290
    *${as_nl}*)
1791
2291
      case $ac_var in #(
1792
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2292
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1793
2293
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1794
2294
      esac
1795
2295
      case $ac_var in #(
1796
2296
      _ | IFS | as_nl) ;; #(
1797
2297
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1798
 
      *) $as_unset $ac_var ;;
 
2298
      *) { eval $ac_var=; unset $ac_var;} ;;
1799
2299
      esac ;;
1800
2300
    esac
1801
2301
  done
1867
2367
    exit $exit_status
1868
2368
' 0
1869
2369
for ac_signal in 1 2 13 15; do
1870
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2370
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1871
2371
done
1872
2372
ac_signal=0
1873
2373
 
1874
2374
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1875
2375
rm -f -r conftest* confdefs.h
1876
2376
 
 
2377
$as_echo "/* confdefs.h */" > confdefs.h
 
2378
 
1877
2379
# Predefined preprocessor variables.
1878
2380
 
1879
2381
cat >>confdefs.h <<_ACEOF
1880
2382
#define PACKAGE_NAME "$PACKAGE_NAME"
1881
2383
_ACEOF
1882
2384
 
1883
 
 
1884
2385
cat >>confdefs.h <<_ACEOF
1885
2386
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1886
2387
_ACEOF
1887
2388
 
1888
 
 
1889
2389
cat >>confdefs.h <<_ACEOF
1890
2390
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1891
2391
_ACEOF
1892
2392
 
1893
 
 
1894
2393
cat >>confdefs.h <<_ACEOF
1895
2394
#define PACKAGE_STRING "$PACKAGE_STRING"
1896
2395
_ACEOF
1897
2396
 
1898
 
 
1899
2397
cat >>confdefs.h <<_ACEOF
1900
2398
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1901
2399
_ACEOF
1902
2400
 
 
2401
cat >>confdefs.h <<_ACEOF
 
2402
#define PACKAGE_URL "$PACKAGE_URL"
 
2403
_ACEOF
 
2404
 
1903
2405
 
1904
2406
# Let the site file select an alternate cache file if it wants to.
1905
2407
# Prefer an explicitly selected file to automatically selected ones.
1917
2419
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1918
2420
do
1919
2421
  test "x$ac_site_file" = xNONE && continue
1920
 
  if test -r "$ac_site_file"; then
1921
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2422
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2423
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1922
2424
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1923
2425
    sed 's/^/| /' "$ac_site_file" >&5
1924
2426
    . "$ac_site_file"
1926
2428
done
1927
2429
 
1928
2430
if test -r "$cache_file"; then
1929
 
  # Some versions of bash will fail to source /dev/null (special
1930
 
  # files actually), so we avoid doing that.
1931
 
  if test -f "$cache_file"; then
1932
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2431
  # Some versions of bash will fail to source /dev/null (special files
 
2432
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2433
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2434
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1933
2435
$as_echo "$as_me: loading cache $cache_file" >&6;}
1934
2436
    case $cache_file in
1935
2437
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1937
2439
    esac
1938
2440
  fi
1939
2441
else
1940
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2442
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1941
2443
$as_echo "$as_me: creating cache $cache_file" >&6;}
1942
2444
  >$cache_file
1943
2445
fi
1952
2454
  eval ac_new_val=\$ac_env_${ac_var}_value
1953
2455
  case $ac_old_set,$ac_new_set in
1954
2456
    set,)
1955
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2457
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1956
2458
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1957
2459
      ac_cache_corrupted=: ;;
1958
2460
    ,set)
1959
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2461
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1960
2462
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1961
2463
      ac_cache_corrupted=: ;;
1962
2464
    ,);;
1966
2468
        ac_old_val_w=`echo x $ac_old_val`
1967
2469
        ac_new_val_w=`echo x $ac_new_val`
1968
2470
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1969
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2471
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1970
2472
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1971
2473
          ac_cache_corrupted=:
1972
2474
        else
1973
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2475
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1974
2476
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1975
2477
          eval $ac_var=\$ac_old_val
1976
2478
        fi
1977
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2479
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1978
2480
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1979
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2481
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1980
2482
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1981
2483
      fi;;
1982
2484
  esac
1988
2490
    esac
1989
2491
    case " $ac_configure_args " in
1990
2492
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1991
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2493
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1992
2494
    esac
1993
2495
  fi
1994
2496
done
1995
2497
if $ac_cache_corrupted; then
1996
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2498
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1997
2499
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1998
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2500
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1999
2501
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2000
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2001
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2002
 
   { (exit 1); exit 1; }; }
 
2502
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2003
2503
fi
2004
 
 
2005
 
 
2006
 
 
2007
 
 
2008
 
 
2009
 
 
2010
 
 
2011
 
 
2012
 
 
2013
 
 
2014
 
 
2015
 
 
2016
 
 
2017
 
 
2018
 
 
2019
 
 
2020
 
 
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
 
2027
 
 
 
2504
## -------------------- ##
 
2505
## Main body of script. ##
 
2506
## -------------------- ##
2028
2507
 
2029
2508
ac_ext=c
2030
2509
ac_cpp='$CPP $CPPFLAGS'
2033
2512
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034
2513
 
2035
2514
 
2036
 
am__api_version='1.10'
 
2515
am__api_version='1.11'
2037
2516
 
2038
2517
ac_aux_dir=
2039
2518
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2040
 
  if test -f "$ac_dir/install-sh"; then
2041
 
    ac_aux_dir=$ac_dir
2042
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2043
 
    break
2044
 
  elif test -f "$ac_dir/install.sh"; then
2045
 
    ac_aux_dir=$ac_dir
2046
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2047
 
    break
2048
 
  elif test -f "$ac_dir/shtool"; then
2049
 
    ac_aux_dir=$ac_dir
2050
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2051
 
    break
2052
 
  fi
 
2519
  for ac_t in install-sh install.sh shtool; do
 
2520
    if test -f "$ac_dir/$ac_t"; then
 
2521
      ac_aux_dir=$ac_dir
 
2522
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2523
      break 2
 
2524
    fi
 
2525
  done
2053
2526
done
2054
2527
if test -z "$ac_aux_dir"; then
2055
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2056
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2057
 
   { (exit 1); exit 1; }; }
 
2528
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2058
2529
fi
2059
2530
 
2060
2531
# These three variables are undocumented and unsupported,
2080
2551
# OS/2's system install, which has a completely different semantic
2081
2552
# ./install, which can be erroneously created by make from ./install.sh.
2082
2553
# Reject install programs that cannot install multiple files.
2083
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2084
2555
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2085
2556
if test -z "$INSTALL"; then
2086
 
if test "${ac_cv_path_install+set}" = set; then
 
2557
if test "${ac_cv_path_install+set}" = set; then :
2087
2558
  $as_echo_n "(cached) " >&6
2088
2559
else
2089
2560
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091
2562
do
2092
2563
  IFS=$as_save_IFS
2093
2564
  test -z "$as_dir" && as_dir=.
2094
 
  # Account for people who put trailing slashes in PATH elements.
2095
 
case $as_dir/ in
2096
 
  ./ | .// | /cC/* | \
 
2565
    # Account for people who put trailing slashes in PATH elements.
 
2566
case $as_dir/ in #((
 
2567
  ./ | .// | /[cC]/* | \
2097
2568
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2098
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2569
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2099
2570
  /usr/ucb/* ) ;;
2100
2571
  *)
2101
2572
    # OSF1 and SCO ODT 3.0 have their own names for install.
2132
2603
    ;;
2133
2604
esac
2134
2605
 
2135
 
done
 
2606
  done
2136
2607
IFS=$as_save_IFS
2137
2608
 
2138
2609
rm -rf conftest.one conftest.two conftest.dir
2148
2619
    INSTALL=$ac_install_sh
2149
2620
  fi
2150
2621
fi
2151
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2152
2623
$as_echo "$INSTALL" >&6; }
2153
2624
 
2154
2625
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2159
2630
 
2160
2631
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2161
2632
 
2162
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2163
2634
$as_echo_n "checking whether build environment is sane... " >&6; }
2164
2635
# Just in case
2165
2636
sleep 1
2166
2637
echo timestamp > conftest.file
 
2638
# Reject unsafe characters in $srcdir or the absolute working directory
 
2639
# name.  Accept space and tab only in the latter.
 
2640
am_lf='
 
2641
'
 
2642
case `pwd` in
 
2643
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2644
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2645
esac
 
2646
case $srcdir in
 
2647
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2648
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2649
esac
 
2650
 
2167
2651
# Do `set' in a subshell so we don't clobber the current shell's
2168
2652
# arguments.  Must try -L first in case configure is actually a
2169
2653
# symlink; some systems play weird games with the mod time of symlinks
2170
2654
# (eg FreeBSD returns the mod time of the symlink's containing
2171
2655
# directory).
2172
2656
if (
2173
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2657
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2174
2658
   if test "$*" = "X"; then
2175
2659
      # -L didn't work.
2176
 
      set X `ls -t $srcdir/configure conftest.file`
 
2660
      set X `ls -t "$srcdir/configure" conftest.file`
2177
2661
   fi
2178
2662
   rm -f conftest.file
2179
2663
   if test "$*" != "X $srcdir/configure conftest.file" \
2183
2667
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2184
2668
      # broken ls alias from the environment.  This has actually
2185
2669
      # happened.  Such a system could not be considered "sane".
2186
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2187
 
alias in your environment" >&5
2188
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2189
 
alias in your environment" >&2;}
2190
 
   { (exit 1); exit 1; }; }
 
2670
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2671
alias in your environment" "$LINENO" 5
2191
2672
   fi
2192
2673
 
2193
2674
   test "$2" = conftest.file
2196
2677
   # Ok.
2197
2678
   :
2198
2679
else
2199
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2200
 
Check your system clock" >&5
2201
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2202
 
Check your system clock" >&2;}
2203
 
   { (exit 1); exit 1; }; }
 
2680
   as_fn_error "newly created file is older than distributed files!
 
2681
Check your system clock" "$LINENO" 5
2204
2682
fi
2205
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2206
2684
$as_echo "yes" >&6; }
2207
2685
test "$program_prefix" != NONE &&
2208
2686
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2217
2695
# expand $ac_aux_dir to an absolute path
2218
2696
am_aux_dir=`cd $ac_aux_dir && pwd`
2219
2697
 
2220
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2698
if test x"${MISSING+set}" != xset; then
 
2699
  case $am_aux_dir in
 
2700
  *\ * | *\     *)
 
2701
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2702
  *)
 
2703
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2704
  esac
 
2705
fi
2221
2706
# Use eval to expand $SHELL
2222
2707
if eval "$MISSING --run true"; then
2223
2708
  am_missing_run="$MISSING --run "
2224
2709
else
2225
2710
  am_missing_run=
2226
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2711
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2227
2712
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2228
2713
fi
2229
2714
 
2230
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2715
if test x"${install_sh}" != xset; then
 
2716
  case $am_aux_dir in
 
2717
  *\ * | *\     *)
 
2718
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2719
  *)
 
2720
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2721
  esac
 
2722
fi
 
2723
 
 
2724
# Installed binaries are usually stripped using `strip' when the user
 
2725
# run `make install-strip'.  However `strip' might not be the right
 
2726
# tool to use in cross-compilation environments, therefore Automake
 
2727
# will honor the `STRIP' environment variable to overrule this program.
 
2728
if test "$cross_compiling" != no; then
 
2729
  if test -n "$ac_tool_prefix"; then
 
2730
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2731
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2733
$as_echo_n "checking for $ac_word... " >&6; }
 
2734
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2735
  $as_echo_n "(cached) " >&6
 
2736
else
 
2737
  if test -n "$STRIP"; then
 
2738
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2739
else
 
2740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2741
for as_dir in $PATH
 
2742
do
 
2743
  IFS=$as_save_IFS
 
2744
  test -z "$as_dir" && as_dir=.
 
2745
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2746
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2747
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2748
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2749
    break 2
 
2750
  fi
 
2751
done
 
2752
  done
 
2753
IFS=$as_save_IFS
 
2754
 
 
2755
fi
 
2756
fi
 
2757
STRIP=$ac_cv_prog_STRIP
 
2758
if test -n "$STRIP"; then
 
2759
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2760
$as_echo "$STRIP" >&6; }
 
2761
else
 
2762
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2763
$as_echo "no" >&6; }
 
2764
fi
 
2765
 
 
2766
 
 
2767
fi
 
2768
if test -z "$ac_cv_prog_STRIP"; then
 
2769
  ac_ct_STRIP=$STRIP
 
2770
  # Extract the first word of "strip", so it can be a program name with args.
 
2771
set dummy strip; ac_word=$2
 
2772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2773
$as_echo_n "checking for $ac_word... " >&6; }
 
2774
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2775
  $as_echo_n "(cached) " >&6
 
2776
else
 
2777
  if test -n "$ac_ct_STRIP"; then
 
2778
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2779
else
 
2780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2781
for as_dir in $PATH
 
2782
do
 
2783
  IFS=$as_save_IFS
 
2784
  test -z "$as_dir" && as_dir=.
 
2785
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2786
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2787
    ac_cv_prog_ac_ct_STRIP="strip"
 
2788
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2789
    break 2
 
2790
  fi
 
2791
done
 
2792
  done
 
2793
IFS=$as_save_IFS
 
2794
 
 
2795
fi
 
2796
fi
 
2797
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2798
if test -n "$ac_ct_STRIP"; then
 
2799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2800
$as_echo "$ac_ct_STRIP" >&6; }
 
2801
else
 
2802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2803
$as_echo "no" >&6; }
 
2804
fi
 
2805
 
 
2806
  if test "x$ac_ct_STRIP" = x; then
 
2807
    STRIP=":"
 
2808
  else
 
2809
    case $cross_compiling:$ac_tool_warned in
 
2810
yes:)
 
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2812
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2813
ac_tool_warned=yes ;;
 
2814
esac
 
2815
    STRIP=$ac_ct_STRIP
 
2816
  fi
 
2817
else
 
2818
  STRIP="$ac_cv_prog_STRIP"
 
2819
fi
 
2820
 
 
2821
fi
 
2822
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2823
 
 
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2231
2825
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2232
2826
if test -z "$MKDIR_P"; then
2233
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2827
  if test "${ac_cv_path_mkdir+set}" = set; then :
2234
2828
  $as_echo_n "(cached) " >&6
2235
2829
else
2236
2830
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238
2832
do
2239
2833
  IFS=$as_save_IFS
2240
2834
  test -z "$as_dir" && as_dir=.
2241
 
  for ac_prog in mkdir gmkdir; do
 
2835
    for ac_prog in mkdir gmkdir; do
2242
2836
         for ac_exec_ext in '' $ac_executable_extensions; do
2243
2837
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2244
2838
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2250
2844
           esac
2251
2845
         done
2252
2846
       done
2253
 
done
 
2847
  done
2254
2848
IFS=$as_save_IFS
2255
2849
 
2256
2850
fi
2257
2851
 
 
2852
  test -d ./--version && rmdir ./--version
2258
2853
  if test "${ac_cv_path_mkdir+set}" = set; then
2259
2854
    MKDIR_P="$ac_cv_path_mkdir -p"
2260
2855
  else
2262
2857
    # value for MKDIR_P within a source directory, because that will
2263
2858
    # break other packages using the cache if that directory is
2264
2859
    # removed, or if the value is a relative name.
2265
 
    test -d ./--version && rmdir ./--version
2266
2860
    MKDIR_P="$ac_install_sh -d"
2267
2861
  fi
2268
2862
fi
2269
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2270
2864
$as_echo "$MKDIR_P" >&6; }
2271
2865
 
2272
2866
mkdir_p="$MKDIR_P"
2279
2873
do
2280
2874
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2281
2875
set dummy $ac_prog; ac_word=$2
2282
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2283
2877
$as_echo_n "checking for $ac_word... " >&6; }
2284
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2878
if test "${ac_cv_prog_AWK+set}" = set; then :
2285
2879
  $as_echo_n "(cached) " >&6
2286
2880
else
2287
2881
  if test -n "$AWK"; then
2292
2886
do
2293
2887
  IFS=$as_save_IFS
2294
2888
  test -z "$as_dir" && as_dir=.
2295
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2889
    for ac_exec_ext in '' $ac_executable_extensions; do
2296
2890
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2297
2891
    ac_cv_prog_AWK="$ac_prog"
2298
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2892
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2299
2893
    break 2
2300
2894
  fi
2301
2895
done
2302
 
done
 
2896
  done
2303
2897
IFS=$as_save_IFS
2304
2898
 
2305
2899
fi
2306
2900
fi
2307
2901
AWK=$ac_cv_prog_AWK
2308
2902
if test -n "$AWK"; then
2309
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2310
2904
$as_echo "$AWK" >&6; }
2311
2905
else
2312
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313
2907
$as_echo "no" >&6; }
2314
2908
fi
2315
2909
 
2317
2911
  test -n "$AWK" && break
2318
2912
done
2319
2913
 
2320
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2321
2915
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2322
2916
set x ${MAKE-make}
2323
2917
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2324
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2918
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2325
2919
  $as_echo_n "(cached) " >&6
2326
2920
else
2327
2921
  cat >conftest.make <<\_ACEOF
2339
2933
rm -f conftest.make
2340
2934
fi
2341
2935
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2342
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2343
2937
$as_echo "yes" >&6; }
2344
2938
  SET_MAKE=
2345
2939
else
2346
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2347
2941
$as_echo "no" >&6; }
2348
2942
  SET_MAKE="MAKE=${MAKE-make}"
2349
2943
fi
2363
2957
  am__isrc=' -I$(srcdir)'
2364
2958
  # test to see if srcdir already configured
2365
2959
  if test -f $srcdir/config.status; then
2366
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2367
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2368
 
   { (exit 1); exit 1; }; }
 
2960
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2369
2961
  fi
2370
2962
fi
2371
2963
 
2381
2973
 
2382
2974
# Define the identity of the package.
2383
2975
 PACKAGE='fbterm_ucimf'
2384
 
 VERSION='0.2.6'
 
2976
 VERSION='0.2.7.1'
2385
2977
 
2386
2978
 
2387
2979
cat >>confdefs.h <<_ACEOF
2409
3001
 
2410
3002
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2411
3003
 
2412
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2413
 
 
2414
 
# Installed binaries are usually stripped using `strip' when the user
2415
 
# run `make install-strip'.  However `strip' might not be the right
2416
 
# tool to use in cross-compilation environments, therefore Automake
2417
 
# will honor the `STRIP' environment variable to overrule this program.
2418
 
if test "$cross_compiling" != no; then
2419
 
  if test -n "$ac_tool_prefix"; then
2420
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2421
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2422
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2423
 
$as_echo_n "checking for $ac_word... " >&6; }
2424
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2425
 
  $as_echo_n "(cached) " >&6
2426
 
else
2427
 
  if test -n "$STRIP"; then
2428
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2429
 
else
2430
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431
 
for as_dir in $PATH
2432
 
do
2433
 
  IFS=$as_save_IFS
2434
 
  test -z "$as_dir" && as_dir=.
2435
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2436
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2438
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2439
 
    break 2
2440
 
  fi
2441
 
done
2442
 
done
2443
 
IFS=$as_save_IFS
2444
 
 
2445
 
fi
2446
 
fi
2447
 
STRIP=$ac_cv_prog_STRIP
2448
 
if test -n "$STRIP"; then
2449
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2450
 
$as_echo "$STRIP" >&6; }
2451
 
else
2452
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2453
 
$as_echo "no" >&6; }
2454
 
fi
2455
 
 
2456
 
 
2457
 
fi
2458
 
if test -z "$ac_cv_prog_STRIP"; then
2459
 
  ac_ct_STRIP=$STRIP
2460
 
  # Extract the first word of "strip", so it can be a program name with args.
2461
 
set dummy strip; ac_word=$2
2462
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2463
 
$as_echo_n "checking for $ac_word... " >&6; }
2464
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2465
 
  $as_echo_n "(cached) " >&6
2466
 
else
2467
 
  if test -n "$ac_ct_STRIP"; then
2468
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2469
 
else
2470
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471
 
for as_dir in $PATH
2472
 
do
2473
 
  IFS=$as_save_IFS
2474
 
  test -z "$as_dir" && as_dir=.
2475
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2476
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477
 
    ac_cv_prog_ac_ct_STRIP="strip"
2478
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479
 
    break 2
2480
 
  fi
2481
 
done
2482
 
done
2483
 
IFS=$as_save_IFS
2484
 
 
2485
 
fi
2486
 
fi
2487
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2488
 
if test -n "$ac_ct_STRIP"; then
2489
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2490
 
$as_echo "$ac_ct_STRIP" >&6; }
2491
 
else
2492
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2493
 
$as_echo "no" >&6; }
2494
 
fi
2495
 
 
2496
 
  if test "x$ac_ct_STRIP" = x; then
2497
 
    STRIP=":"
2498
 
  else
2499
 
    case $cross_compiling:$ac_tool_warned in
2500
 
yes:)
2501
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2502
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2503
 
ac_tool_warned=yes ;;
2504
 
esac
2505
 
    STRIP=$ac_ct_STRIP
2506
 
  fi
2507
 
else
2508
 
  STRIP="$ac_cv_prog_STRIP"
2509
 
fi
2510
 
 
2511
 
fi
2512
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2513
 
 
2514
3004
# We need awk for the "check" target.  The system "awk" is bad on
2515
3005
# some platforms.
2516
3006
# Always define AMTAR for backward compatibility.
2542
3032
  do
2543
3033
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2544
3034
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546
3036
$as_echo_n "checking for $ac_word... " >&6; }
2547
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
3037
if test "${ac_cv_prog_CXX+set}" = set; then :
2548
3038
  $as_echo_n "(cached) " >&6
2549
3039
else
2550
3040
  if test -n "$CXX"; then
2555
3045
do
2556
3046
  IFS=$as_save_IFS
2557
3047
  test -z "$as_dir" && as_dir=.
2558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3048
    for ac_exec_ext in '' $ac_executable_extensions; do
2559
3049
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560
3050
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2561
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3051
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562
3052
    break 2
2563
3053
  fi
2564
3054
done
2565
 
done
 
3055
  done
2566
3056
IFS=$as_save_IFS
2567
3057
 
2568
3058
fi
2569
3059
fi
2570
3060
CXX=$ac_cv_prog_CXX
2571
3061
if test -n "$CXX"; then
2572
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
3062
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2573
3063
$as_echo "$CXX" >&6; }
2574
3064
else
2575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576
3066
$as_echo "no" >&6; }
2577
3067
fi
2578
3068
 
2586
3076
do
2587
3077
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2588
3078
set dummy $ac_prog; ac_word=$2
2589
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590
3080
$as_echo_n "checking for $ac_word... " >&6; }
2591
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
3081
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2592
3082
  $as_echo_n "(cached) " >&6
2593
3083
else
2594
3084
  if test -n "$ac_ct_CXX"; then
2599
3089
do
2600
3090
  IFS=$as_save_IFS
2601
3091
  test -z "$as_dir" && as_dir=.
2602
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3092
    for ac_exec_ext in '' $ac_executable_extensions; do
2603
3093
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604
3094
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2605
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3095
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606
3096
    break 2
2607
3097
  fi
2608
3098
done
2609
 
done
 
3099
  done
2610
3100
IFS=$as_save_IFS
2611
3101
 
2612
3102
fi
2613
3103
fi
2614
3104
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2615
3105
if test -n "$ac_ct_CXX"; then
2616
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2617
3107
$as_echo "$ac_ct_CXX" >&6; }
2618
3108
else
2619
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620
3110
$as_echo "no" >&6; }
2621
3111
fi
2622
3112
 
2629
3119
  else
2630
3120
    case $cross_compiling:$ac_tool_warned in
2631
3121
yes:)
2632
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3122
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2633
3123
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2634
3124
ac_tool_warned=yes ;;
2635
3125
esac
2640
3130
  fi
2641
3131
fi
2642
3132
# Provide some information about the compiler.
2643
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
3133
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2644
3134
set X $ac_compile
2645
3135
ac_compiler=$2
2646
 
{ (ac_try="$ac_compiler --version >&5"
2647
 
case "(($ac_try" in
2648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649
 
  *) ac_try_echo=$ac_try;;
2650
 
esac
2651
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2652
 
$as_echo "$ac_try_echo") >&5
2653
 
  (eval "$ac_compiler --version >&5") 2>&5
2654
 
  ac_status=$?
2655
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656
 
  (exit $ac_status); }
2657
 
{ (ac_try="$ac_compiler -v >&5"
2658
 
case "(($ac_try" in
2659
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660
 
  *) ac_try_echo=$ac_try;;
2661
 
esac
2662
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2663
 
$as_echo "$ac_try_echo") >&5
2664
 
  (eval "$ac_compiler -v >&5") 2>&5
2665
 
  ac_status=$?
2666
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667
 
  (exit $ac_status); }
2668
 
{ (ac_try="$ac_compiler -V >&5"
2669
 
case "(($ac_try" in
2670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671
 
  *) ac_try_echo=$ac_try;;
2672
 
esac
2673
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2674
 
$as_echo "$ac_try_echo") >&5
2675
 
  (eval "$ac_compiler -V >&5") 2>&5
2676
 
  ac_status=$?
2677
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678
 
  (exit $ac_status); }
 
3136
for ac_option in --version -v -V -qversion; do
 
3137
  { { ac_try="$ac_compiler $ac_option >&5"
 
3138
case "(($ac_try" in
 
3139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3140
  *) ac_try_echo=$ac_try;;
 
3141
esac
 
3142
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3143
$as_echo "$ac_try_echo"; } >&5
 
3144
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3145
  ac_status=$?
 
3146
  if test -s conftest.err; then
 
3147
    sed '10a\
 
3148
... rest of stderr output deleted ...
 
3149
         10q' conftest.err >conftest.er1
 
3150
    cat conftest.er1 >&5
 
3151
  fi
 
3152
  rm -f conftest.er1 conftest.err
 
3153
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3154
  test $ac_status = 0; }
 
3155
done
2679
3156
 
2680
 
cat >conftest.$ac_ext <<_ACEOF
2681
 
/* confdefs.h.  */
2682
 
_ACEOF
2683
 
cat confdefs.h >>conftest.$ac_ext
2684
 
cat >>conftest.$ac_ext <<_ACEOF
 
3157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685
3158
/* end confdefs.h.  */
2686
3159
 
2687
3160
int
2697
3170
# Try to create an executable without -o first, disregard a.out.
2698
3171
# It will help us diagnose broken compilers, and finding out an intuition
2699
3172
# of exeext.
2700
 
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2701
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
3173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
3174
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2702
3175
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2703
3176
 
2704
3177
# The possible output files:
2714
3187
done
2715
3188
rm -f $ac_rmfiles
2716
3189
 
2717
 
if { (ac_try="$ac_link_default"
 
3190
if { { ac_try="$ac_link_default"
2718
3191
case "(($ac_try" in
2719
3192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720
3193
  *) ac_try_echo=$ac_try;;
2721
3194
esac
2722
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2723
 
$as_echo "$ac_try_echo") >&5
 
3195
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3196
$as_echo "$ac_try_echo"; } >&5
2724
3197
  (eval "$ac_link_default") 2>&5
2725
3198
  ac_status=$?
2726
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727
 
  (exit $ac_status); }; then
 
3199
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3200
  test $ac_status = 0; }; then :
2728
3201
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2729
3202
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2730
3203
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2741
3214
        # certainly right.
2742
3215
        break;;
2743
3216
    *.* )
2744
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3217
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2745
3218
        then :; else
2746
3219
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747
3220
        fi
2760
3233
else
2761
3234
  ac_file=''
2762
3235
fi
 
3236
if test -z "$ac_file"; then :
 
3237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3238
$as_echo "no" >&6; }
 
3239
$as_echo "$as_me: failed program was:" >&5
 
3240
sed 's/^/| /' conftest.$ac_ext >&5
2763
3241
 
2764
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3242
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3244
{ as_fn_set_status 77
 
3245
as_fn_error "C++ compiler cannot create executables
 
3246
See \`config.log' for more details." "$LINENO" 5; }; }
 
3247
else
 
3248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3249
$as_echo "yes" >&6; }
 
3250
fi
 
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
3252
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2765
3254
$as_echo "$ac_file" >&6; }
2766
 
if test -z "$ac_file"; then
2767
 
  $as_echo "$as_me: failed program was:" >&5
2768
 
sed 's/^/| /' conftest.$ac_ext >&5
2769
 
 
2770
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2771
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772
 
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2773
 
See \`config.log' for more details." >&5
2774
 
$as_echo "$as_me: error: C++ compiler cannot create executables
2775
 
See \`config.log' for more details." >&2;}
2776
 
   { (exit 77); exit 77; }; }; }
2777
 
fi
2778
 
 
2779
3255
ac_exeext=$ac_cv_exeext
2780
3256
 
2781
 
# Check that the compiler produces executables we can run.  If not, either
2782
 
# the compiler is broken, or we cross compile.
2783
 
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2784
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2785
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2786
 
# If not cross compiling, check that we can run a simple program.
2787
 
if test "$cross_compiling" != yes; then
2788
 
  if { ac_try='./$ac_file'
2789
 
  { (case "(($ac_try" in
2790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791
 
  *) ac_try_echo=$ac_try;;
2792
 
esac
2793
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2794
 
$as_echo "$ac_try_echo") >&5
2795
 
  (eval "$ac_try") 2>&5
2796
 
  ac_status=$?
2797
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798
 
  (exit $ac_status); }; }; then
2799
 
    cross_compiling=no
2800
 
  else
2801
 
    if test "$cross_compiling" = maybe; then
2802
 
        cross_compiling=yes
2803
 
    else
2804
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2805
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2807
 
If you meant to cross compile, use \`--host'.
2808
 
See \`config.log' for more details." >&5
2809
 
$as_echo "$as_me: error: cannot run C++ compiled programs.
2810
 
If you meant to cross compile, use \`--host'.
2811
 
See \`config.log' for more details." >&2;}
2812
 
   { (exit 1); exit 1; }; }; }
2813
 
    fi
2814
 
  fi
2815
 
fi
2816
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2817
 
$as_echo "yes" >&6; }
2818
 
 
2819
3257
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2820
3258
ac_clean_files=$ac_clean_files_save
2821
 
# Check that the compiler produces executables we can run.  If not, either
2822
 
# the compiler is broken, or we cross compile.
2823
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2824
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2825
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2826
 
$as_echo "$cross_compiling" >&6; }
2827
 
 
2828
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2829
3260
$as_echo_n "checking for suffix of executables... " >&6; }
2830
 
if { (ac_try="$ac_link"
 
3261
if { { ac_try="$ac_link"
2831
3262
case "(($ac_try" in
2832
3263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
3264
  *) ac_try_echo=$ac_try;;
2834
3265
esac
2835
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836
 
$as_echo "$ac_try_echo") >&5
 
3266
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3267
$as_echo "$ac_try_echo"; } >&5
2837
3268
  (eval "$ac_link") 2>&5
2838
3269
  ac_status=$?
2839
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }; then
 
3270
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3271
  test $ac_status = 0; }; then :
2841
3272
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2842
3273
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2843
3274
# work properly (i.e., refer to `conftest.exe'), while it won't with
2852
3283
  esac
2853
3284
done
2854
3285
else
2855
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3286
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856
3287
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2858
 
See \`config.log' for more details." >&5
2859
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2860
 
See \`config.log' for more details." >&2;}
2861
 
   { (exit 1); exit 1; }; }; }
 
3288
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3289
See \`config.log' for more details." "$LINENO" 5; }
2862
3290
fi
2863
 
 
2864
 
rm -f conftest$ac_cv_exeext
2865
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3291
rm -f conftest conftest$ac_cv_exeext
 
3292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2866
3293
$as_echo "$ac_cv_exeext" >&6; }
2867
3294
 
2868
3295
rm -f conftest.$ac_ext
2869
3296
EXEEXT=$ac_cv_exeext
2870
3297
ac_exeext=$EXEEXT
2871
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3299
/* end confdefs.h.  */
 
3300
#include <stdio.h>
 
3301
int
 
3302
main ()
 
3303
{
 
3304
FILE *f = fopen ("conftest.out", "w");
 
3305
 return ferror (f) || fclose (f) != 0;
 
3306
 
 
3307
  ;
 
3308
  return 0;
 
3309
}
 
3310
_ACEOF
 
3311
ac_clean_files="$ac_clean_files conftest.out"
 
3312
# Check that the compiler produces executables we can run.  If not, either
 
3313
# the compiler is broken, or we cross compile.
 
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3315
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3316
if test "$cross_compiling" != yes; then
 
3317
  { { ac_try="$ac_link"
 
3318
case "(($ac_try" in
 
3319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3320
  *) ac_try_echo=$ac_try;;
 
3321
esac
 
3322
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3323
$as_echo "$ac_try_echo"; } >&5
 
3324
  (eval "$ac_link") 2>&5
 
3325
  ac_status=$?
 
3326
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3327
  test $ac_status = 0; }
 
3328
  if { ac_try='./conftest$ac_cv_exeext'
 
3329
  { { case "(($ac_try" in
 
3330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3331
  *) ac_try_echo=$ac_try;;
 
3332
esac
 
3333
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3334
$as_echo "$ac_try_echo"; } >&5
 
3335
  (eval "$ac_try") 2>&5
 
3336
  ac_status=$?
 
3337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3338
  test $ac_status = 0; }; }; then
 
3339
    cross_compiling=no
 
3340
  else
 
3341
    if test "$cross_compiling" = maybe; then
 
3342
        cross_compiling=yes
 
3343
    else
 
3344
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3345
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3346
as_fn_error "cannot run C++ compiled programs.
 
3347
If you meant to cross compile, use \`--host'.
 
3348
See \`config.log' for more details." "$LINENO" 5; }
 
3349
    fi
 
3350
  fi
 
3351
fi
 
3352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3353
$as_echo "$cross_compiling" >&6; }
 
3354
 
 
3355
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3356
ac_clean_files=$ac_clean_files_save
 
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2872
3358
$as_echo_n "checking for suffix of object files... " >&6; }
2873
 
if test "${ac_cv_objext+set}" = set; then
 
3359
if test "${ac_cv_objext+set}" = set; then :
2874
3360
  $as_echo_n "(cached) " >&6
2875
3361
else
2876
 
  cat >conftest.$ac_ext <<_ACEOF
2877
 
/* confdefs.h.  */
2878
 
_ACEOF
2879
 
cat confdefs.h >>conftest.$ac_ext
2880
 
cat >>conftest.$ac_ext <<_ACEOF
 
3362
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881
3363
/* end confdefs.h.  */
2882
3364
 
2883
3365
int
2889
3371
}
2890
3372
_ACEOF
2891
3373
rm -f conftest.o conftest.obj
2892
 
if { (ac_try="$ac_compile"
 
3374
if { { ac_try="$ac_compile"
2893
3375
case "(($ac_try" in
2894
3376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895
3377
  *) ac_try_echo=$ac_try;;
2896
3378
esac
2897
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2898
 
$as_echo "$ac_try_echo") >&5
 
3379
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3380
$as_echo "$ac_try_echo"; } >&5
2899
3381
  (eval "$ac_compile") 2>&5
2900
3382
  ac_status=$?
2901
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902
 
  (exit $ac_status); }; then
 
3383
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3384
  test $ac_status = 0; }; then :
2903
3385
  for ac_file in conftest.o conftest.obj conftest.*; do
2904
3386
  test -f "$ac_file" || continue;
2905
3387
  case $ac_file in
2912
3394
  $as_echo "$as_me: failed program was:" >&5
2913
3395
sed 's/^/| /' conftest.$ac_ext >&5
2914
3396
 
2915
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3397
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916
3398
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2918
 
See \`config.log' for more details." >&5
2919
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2920
 
See \`config.log' for more details." >&2;}
2921
 
   { (exit 1); exit 1; }; }; }
 
3399
as_fn_error "cannot compute suffix of object files: cannot compile
 
3400
See \`config.log' for more details." "$LINENO" 5; }
2922
3401
fi
2923
 
 
2924
3402
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2925
3403
fi
2926
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2927
3405
$as_echo "$ac_cv_objext" >&6; }
2928
3406
OBJEXT=$ac_cv_objext
2929
3407
ac_objext=$OBJEXT
2930
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2931
3409
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2932
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
3410
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2933
3411
  $as_echo_n "(cached) " >&6
2934
3412
else
2935
 
  cat >conftest.$ac_ext <<_ACEOF
2936
 
/* confdefs.h.  */
2937
 
_ACEOF
2938
 
cat confdefs.h >>conftest.$ac_ext
2939
 
cat >>conftest.$ac_ext <<_ACEOF
 
3413
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940
3414
/* end confdefs.h.  */
2941
3415
 
2942
3416
int
2950
3424
  return 0;
2951
3425
}
2952
3426
_ACEOF
2953
 
rm -f conftest.$ac_objext
2954
 
if { (ac_try="$ac_compile"
2955
 
case "(($ac_try" in
2956
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957
 
  *) ac_try_echo=$ac_try;;
2958
 
esac
2959
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2960
 
$as_echo "$ac_try_echo") >&5
2961
 
  (eval "$ac_compile") 2>conftest.er1
2962
 
  ac_status=$?
2963
 
  grep -v '^ *+' conftest.er1 >conftest.err
2964
 
  rm -f conftest.er1
2965
 
  cat conftest.err >&5
2966
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
 
  (exit $ac_status); } && {
2968
 
         test -z "$ac_cxx_werror_flag" ||
2969
 
         test ! -s conftest.err
2970
 
       } && test -s conftest.$ac_objext; then
 
3427
if ac_fn_cxx_try_compile "$LINENO"; then :
2971
3428
  ac_compiler_gnu=yes
2972
3429
else
2973
 
  $as_echo "$as_me: failed program was:" >&5
2974
 
sed 's/^/| /' conftest.$ac_ext >&5
2975
 
 
2976
 
        ac_compiler_gnu=no
 
3430
  ac_compiler_gnu=no
2977
3431
fi
2978
 
 
2979
3432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980
3433
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2981
3434
 
2982
3435
fi
2983
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2984
3437
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2985
3438
if test $ac_compiler_gnu = yes; then
2986
3439
  GXX=yes
2989
3442
fi
2990
3443
ac_test_CXXFLAGS=${CXXFLAGS+set}
2991
3444
ac_save_CXXFLAGS=$CXXFLAGS
2992
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2993
3446
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2994
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
3447
if test "${ac_cv_prog_cxx_g+set}" = set; then :
2995
3448
  $as_echo_n "(cached) " >&6
2996
3449
else
2997
3450
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2998
3451
   ac_cxx_werror_flag=yes
2999
3452
   ac_cv_prog_cxx_g=no
3000
3453
   CXXFLAGS="-g"
3001
 
   cat >conftest.$ac_ext <<_ACEOF
3002
 
/* confdefs.h.  */
3003
 
_ACEOF
3004
 
cat confdefs.h >>conftest.$ac_ext
3005
 
cat >>conftest.$ac_ext <<_ACEOF
 
3454
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006
3455
/* end confdefs.h.  */
3007
3456
 
3008
3457
int
3013
3462
  return 0;
3014
3463
}
3015
3464
_ACEOF
3016
 
rm -f conftest.$ac_objext
3017
 
if { (ac_try="$ac_compile"
3018
 
case "(($ac_try" in
3019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020
 
  *) ac_try_echo=$ac_try;;
3021
 
esac
3022
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3023
 
$as_echo "$ac_try_echo") >&5
3024
 
  (eval "$ac_compile") 2>conftest.er1
3025
 
  ac_status=$?
3026
 
  grep -v '^ *+' conftest.er1 >conftest.err
3027
 
  rm -f conftest.er1
3028
 
  cat conftest.err >&5
3029
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030
 
  (exit $ac_status); } && {
3031
 
         test -z "$ac_cxx_werror_flag" ||
3032
 
         test ! -s conftest.err
3033
 
       } && test -s conftest.$ac_objext; then
 
3465
if ac_fn_cxx_try_compile "$LINENO"; then :
3034
3466
  ac_cv_prog_cxx_g=yes
3035
3467
else
3036
 
  $as_echo "$as_me: failed program was:" >&5
3037
 
sed 's/^/| /' conftest.$ac_ext >&5
3038
 
 
3039
 
        CXXFLAGS=""
3040
 
      cat >conftest.$ac_ext <<_ACEOF
3041
 
/* confdefs.h.  */
3042
 
_ACEOF
3043
 
cat confdefs.h >>conftest.$ac_ext
3044
 
cat >>conftest.$ac_ext <<_ACEOF
 
3468
  CXXFLAGS=""
 
3469
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045
3470
/* end confdefs.h.  */
3046
3471
 
3047
3472
int
3052
3477
  return 0;
3053
3478
}
3054
3479
_ACEOF
3055
 
rm -f conftest.$ac_objext
3056
 
if { (ac_try="$ac_compile"
3057
 
case "(($ac_try" in
3058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059
 
  *) ac_try_echo=$ac_try;;
3060
 
esac
3061
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3062
 
$as_echo "$ac_try_echo") >&5
3063
 
  (eval "$ac_compile") 2>conftest.er1
3064
 
  ac_status=$?
3065
 
  grep -v '^ *+' conftest.er1 >conftest.err
3066
 
  rm -f conftest.er1
3067
 
  cat conftest.err >&5
3068
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069
 
  (exit $ac_status); } && {
3070
 
         test -z "$ac_cxx_werror_flag" ||
3071
 
         test ! -s conftest.err
3072
 
       } && test -s conftest.$ac_objext; then
3073
 
  :
 
3480
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3481
 
3074
3482
else
3075
 
  $as_echo "$as_me: failed program was:" >&5
3076
 
sed 's/^/| /' conftest.$ac_ext >&5
3077
 
 
3078
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3483
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3079
3484
         CXXFLAGS="-g"
3080
 
         cat >conftest.$ac_ext <<_ACEOF
3081
 
/* confdefs.h.  */
3082
 
_ACEOF
3083
 
cat confdefs.h >>conftest.$ac_ext
3084
 
cat >>conftest.$ac_ext <<_ACEOF
 
3485
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085
3486
/* end confdefs.h.  */
3086
3487
 
3087
3488
int
3092
3493
  return 0;
3093
3494
}
3094
3495
_ACEOF
3095
 
rm -f conftest.$ac_objext
3096
 
if { (ac_try="$ac_compile"
3097
 
case "(($ac_try" in
3098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099
 
  *) ac_try_echo=$ac_try;;
3100
 
esac
3101
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3102
 
$as_echo "$ac_try_echo") >&5
3103
 
  (eval "$ac_compile") 2>conftest.er1
3104
 
  ac_status=$?
3105
 
  grep -v '^ *+' conftest.er1 >conftest.err
3106
 
  rm -f conftest.er1
3107
 
  cat conftest.err >&5
3108
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109
 
  (exit $ac_status); } && {
3110
 
         test -z "$ac_cxx_werror_flag" ||
3111
 
         test ! -s conftest.err
3112
 
       } && test -s conftest.$ac_objext; then
 
3496
if ac_fn_cxx_try_compile "$LINENO"; then :
3113
3497
  ac_cv_prog_cxx_g=yes
3114
 
else
3115
 
  $as_echo "$as_me: failed program was:" >&5
3116
 
sed 's/^/| /' conftest.$ac_ext >&5
3117
 
 
3118
 
 
3119
 
fi
3120
 
 
3121
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122
 
fi
3123
 
 
3124
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125
 
fi
3126
 
 
 
3498
fi
 
3499
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3500
fi
 
3501
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3502
fi
3127
3503
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128
3504
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3129
3505
fi
3130
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3131
3507
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3132
3508
if test "$ac_test_CXXFLAGS" = set; then
3133
3509
  CXXFLAGS=$ac_save_CXXFLAGS
3157
3533
am_make=${MAKE-make}
3158
3534
cat > confinc << 'END'
3159
3535
am__doit:
3160
 
        @echo done
 
3536
        @echo this is the am__doit target
3161
3537
.PHONY: am__doit
3162
3538
END
3163
3539
# If we don't find an include directive, just comment out the code.
3164
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3165
3541
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3166
3542
am__include="#"
3167
3543
am__quote=
3168
3544
_am_result=none
3169
3545
# First try GNU make style include.
3170
3546
echo "include confinc" > confmf
3171
 
# We grep out `Entering directory' and `Leaving directory'
3172
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3173
 
# In particular we don't look at `^make:' because GNU make might
3174
 
# be invoked under some other name (usually "gmake"), in which
3175
 
# case it prints its new name instead of `make'.
3176
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3177
 
   am__include=include
3178
 
   am__quote=
3179
 
   _am_result=GNU
3180
 
fi
 
3547
# Ignore all kinds of additional output from `make'.
 
3548
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3549
*the\ am__doit\ target*)
 
3550
  am__include=include
 
3551
  am__quote=
 
3552
  _am_result=GNU
 
3553
  ;;
 
3554
esac
3181
3555
# Now try BSD make style include.
3182
3556
if test "$am__include" = "#"; then
3183
3557
   echo '.include "confinc"' > confmf
3184
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3185
 
      am__include=.include
3186
 
      am__quote="\""
3187
 
      _am_result=BSD
3188
 
   fi
 
3558
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3559
   *the\ am__doit\ target*)
 
3560
     am__include=.include
 
3561
     am__quote="\""
 
3562
     _am_result=BSD
 
3563
     ;;
 
3564
   esac
3189
3565
fi
3190
3566
 
3191
3567
 
3192
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3193
3569
$as_echo "$_am_result" >&6; }
3194
3570
rm -f confinc confmf
3195
3571
 
3196
3572
# Check whether --enable-dependency-tracking was given.
3197
 
if test "${enable_dependency_tracking+set}" = set; then
 
3573
if test "${enable_dependency_tracking+set}" = set; then :
3198
3574
  enableval=$enable_dependency_tracking;
3199
3575
fi
3200
3576
 
3214
3590
 
3215
3591
depcc="$CXX"  am_compiler_list=
3216
3592
 
3217
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3218
3594
$as_echo_n "checking dependency style of $depcc... " >&6; }
3219
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
3595
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3220
3596
  $as_echo_n "(cached) " >&6
3221
3597
else
3222
3598
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3242
3618
  if test "$am_compiler_list" = ""; then
3243
3619
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3244
3620
  fi
 
3621
  am__universal=false
 
3622
  case " $depcc " in #(
 
3623
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3624
     esac
 
3625
 
3245
3626
  for depmode in $am_compiler_list; do
3246
3627
    # Setup a source with many dependencies, because some compilers
3247
3628
    # like to wrap large dependency lists on column 80 (with \), and
3259
3640
    done
3260
3641
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3261
3642
 
 
3643
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3644
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3645
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3646
    # versions had trouble with output in subdirs
 
3647
    am__obj=sub/conftest.${OBJEXT-o}
 
3648
    am__minus_obj="-o $am__obj"
3262
3649
    case $depmode in
 
3650
    gcc)
 
3651
      # This depmode causes a compiler race in universal mode.
 
3652
      test "$am__universal" = false || continue
 
3653
      ;;
3263
3654
    nosideeffect)
3264
3655
      # after this tag, mechanisms are not by side-effect, so they'll
3265
3656
      # only be used when explicitly requested
3269
3660
        break
3270
3661
      fi
3271
3662
      ;;
 
3663
    msvisualcpp | msvcmsys)
 
3664
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3665
      # not run yet.  These depmodes are late enough in the game, and
 
3666
      # so weak that their functioning should not be impacted.
 
3667
      am__obj=conftest.${OBJEXT-o}
 
3668
      am__minus_obj=
 
3669
      ;;
3272
3670
    none) break ;;
3273
3671
    esac
3274
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3275
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3276
 
    # handle `-M -o', and we need to detect this.
3277
3672
    if depmode=$depmode \
3278
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3673
       source=sub/conftest.c object=$am__obj \
3279
3674
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3280
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3675
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3281
3676
         >/dev/null 2>conftest.err &&
3282
3677
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3283
3678
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3284
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3679
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3285
3680
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3286
3681
      # icc doesn't choke on unknown options, it will just issue warnings
3287
3682
      # or remarks (even with -Werror).  So we grep stderr for any message
3305
3700
fi
3306
3701
 
3307
3702
fi
3308
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3309
3704
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3310
3705
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3311
3706
 
3328
3723
if test -n "$ac_tool_prefix"; then
3329
3724
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3330
3725
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3331
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332
3727
$as_echo_n "checking for $ac_word... " >&6; }
3333
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3728
if test "${ac_cv_prog_CC+set}" = set; then :
3334
3729
  $as_echo_n "(cached) " >&6
3335
3730
else
3336
3731
  if test -n "$CC"; then
3341
3736
do
3342
3737
  IFS=$as_save_IFS
3343
3738
  test -z "$as_dir" && as_dir=.
3344
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3739
    for ac_exec_ext in '' $ac_executable_extensions; do
3345
3740
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346
3741
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3347
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3742
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348
3743
    break 2
3349
3744
  fi
3350
3745
done
3351
 
done
 
3746
  done
3352
3747
IFS=$as_save_IFS
3353
3748
 
3354
3749
fi
3355
3750
fi
3356
3751
CC=$ac_cv_prog_CC
3357
3752
if test -n "$CC"; then
3358
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359
3754
$as_echo "$CC" >&6; }
3360
3755
else
3361
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362
3757
$as_echo "no" >&6; }
3363
3758
fi
3364
3759
 
3368
3763
  ac_ct_CC=$CC
3369
3764
  # Extract the first word of "gcc", so it can be a program name with args.
3370
3765
set dummy gcc; ac_word=$2
3371
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372
3767
$as_echo_n "checking for $ac_word... " >&6; }
3373
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3768
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3374
3769
  $as_echo_n "(cached) " >&6
3375
3770
else
3376
3771
  if test -n "$ac_ct_CC"; then
3381
3776
do
3382
3777
  IFS=$as_save_IFS
3383
3778
  test -z "$as_dir" && as_dir=.
3384
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3779
    for ac_exec_ext in '' $ac_executable_extensions; do
3385
3780
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386
3781
    ac_cv_prog_ac_ct_CC="gcc"
3387
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3782
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388
3783
    break 2
3389
3784
  fi
3390
3785
done
3391
 
done
 
3786
  done
3392
3787
IFS=$as_save_IFS
3393
3788
 
3394
3789
fi
3395
3790
fi
3396
3791
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3397
3792
if test -n "$ac_ct_CC"; then
3398
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3399
3794
$as_echo "$ac_ct_CC" >&6; }
3400
3795
else
3401
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402
3797
$as_echo "no" >&6; }
3403
3798
fi
3404
3799
 
3407
3802
  else
3408
3803
    case $cross_compiling:$ac_tool_warned in
3409
3804
yes:)
3410
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3805
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3411
3806
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3412
3807
ac_tool_warned=yes ;;
3413
3808
esac
3421
3816
          if test -n "$ac_tool_prefix"; then
3422
3817
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3423
3818
set dummy ${ac_tool_prefix}cc; ac_word=$2
3424
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425
3820
$as_echo_n "checking for $ac_word... " >&6; }
3426
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3821
if test "${ac_cv_prog_CC+set}" = set; then :
3427
3822
  $as_echo_n "(cached) " >&6
3428
3823
else
3429
3824
  if test -n "$CC"; then
3434
3829
do
3435
3830
  IFS=$as_save_IFS
3436
3831
  test -z "$as_dir" && as_dir=.
3437
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3832
    for ac_exec_ext in '' $ac_executable_extensions; do
3438
3833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439
3834
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3440
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3835
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441
3836
    break 2
3442
3837
  fi
3443
3838
done
3444
 
done
 
3839
  done
3445
3840
IFS=$as_save_IFS
3446
3841
 
3447
3842
fi
3448
3843
fi
3449
3844
CC=$ac_cv_prog_CC
3450
3845
if test -n "$CC"; then
3451
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3452
3847
$as_echo "$CC" >&6; }
3453
3848
else
3454
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455
3850
$as_echo "no" >&6; }
3456
3851
fi
3457
3852
 
3461
3856
if test -z "$CC"; then
3462
3857
  # Extract the first word of "cc", so it can be a program name with args.
3463
3858
set dummy cc; ac_word=$2
3464
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465
3860
$as_echo_n "checking for $ac_word... " >&6; }
3466
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3861
if test "${ac_cv_prog_CC+set}" = set; then :
3467
3862
  $as_echo_n "(cached) " >&6
3468
3863
else
3469
3864
  if test -n "$CC"; then
3475
3870
do
3476
3871
  IFS=$as_save_IFS
3477
3872
  test -z "$as_dir" && as_dir=.
3478
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3873
    for ac_exec_ext in '' $ac_executable_extensions; do
3479
3874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480
3875
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3481
3876
       ac_prog_rejected=yes
3482
3877
       continue
3483
3878
     fi
3484
3879
    ac_cv_prog_CC="cc"
3485
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3880
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3486
3881
    break 2
3487
3882
  fi
3488
3883
done
3489
 
done
 
3884
  done
3490
3885
IFS=$as_save_IFS
3491
3886
 
3492
3887
if test $ac_prog_rejected = yes; then
3505
3900
fi
3506
3901
CC=$ac_cv_prog_CC
3507
3902
if test -n "$CC"; then
3508
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3509
3904
$as_echo "$CC" >&6; }
3510
3905
else
3511
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512
3907
$as_echo "no" >&6; }
3513
3908
fi
3514
3909
 
3520
3915
  do
3521
3916
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3522
3917
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3523
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524
3919
$as_echo_n "checking for $ac_word... " >&6; }
3525
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3920
if test "${ac_cv_prog_CC+set}" = set; then :
3526
3921
  $as_echo_n "(cached) " >&6
3527
3922
else
3528
3923
  if test -n "$CC"; then
3533
3928
do
3534
3929
  IFS=$as_save_IFS
3535
3930
  test -z "$as_dir" && as_dir=.
3536
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3931
    for ac_exec_ext in '' $ac_executable_extensions; do
3537
3932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538
3933
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3539
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3934
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540
3935
    break 2
3541
3936
  fi
3542
3937
done
3543
 
done
 
3938
  done
3544
3939
IFS=$as_save_IFS
3545
3940
 
3546
3941
fi
3547
3942
fi
3548
3943
CC=$ac_cv_prog_CC
3549
3944
if test -n "$CC"; then
3550
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3551
3946
$as_echo "$CC" >&6; }
3552
3947
else
3553
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554
3949
$as_echo "no" >&6; }
3555
3950
fi
3556
3951
 
3564
3959
do
3565
3960
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3566
3961
set dummy $ac_prog; ac_word=$2
3567
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568
3963
$as_echo_n "checking for $ac_word... " >&6; }
3569
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3964
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3570
3965
  $as_echo_n "(cached) " >&6
3571
3966
else
3572
3967
  if test -n "$ac_ct_CC"; then
3577
3972
do
3578
3973
  IFS=$as_save_IFS
3579
3974
  test -z "$as_dir" && as_dir=.
3580
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3975
    for ac_exec_ext in '' $ac_executable_extensions; do
3581
3976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582
3977
    ac_cv_prog_ac_ct_CC="$ac_prog"
3583
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3978
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584
3979
    break 2
3585
3980
  fi
3586
3981
done
3587
 
done
 
3982
  done
3588
3983
IFS=$as_save_IFS
3589
3984
 
3590
3985
fi
3591
3986
fi
3592
3987
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3593
3988
if test -n "$ac_ct_CC"; then
3594
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3595
3990
$as_echo "$ac_ct_CC" >&6; }
3596
3991
else
3597
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598
3993
$as_echo "no" >&6; }
3599
3994
fi
3600
3995
 
3607
4002
  else
3608
4003
    case $cross_compiling:$ac_tool_warned in
3609
4004
yes:)
3610
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3611
4006
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3612
4007
ac_tool_warned=yes ;;
3613
4008
esac
3618
4013
fi
3619
4014
 
3620
4015
 
3621
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4016
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3622
4017
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3623
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3624
 
See \`config.log' for more details." >&5
3625
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3626
 
See \`config.log' for more details." >&2;}
3627
 
   { (exit 1); exit 1; }; }; }
 
4018
as_fn_error "no acceptable C compiler found in \$PATH
 
4019
See \`config.log' for more details." "$LINENO" 5; }
3628
4020
 
3629
4021
# Provide some information about the compiler.
3630
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4022
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3631
4023
set X $ac_compile
3632
4024
ac_compiler=$2
3633
 
{ (ac_try="$ac_compiler --version >&5"
3634
 
case "(($ac_try" in
3635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636
 
  *) ac_try_echo=$ac_try;;
3637
 
esac
3638
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3639
 
$as_echo "$ac_try_echo") >&5
3640
 
  (eval "$ac_compiler --version >&5") 2>&5
3641
 
  ac_status=$?
3642
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643
 
  (exit $ac_status); }
3644
 
{ (ac_try="$ac_compiler -v >&5"
3645
 
case "(($ac_try" in
3646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647
 
  *) ac_try_echo=$ac_try;;
3648
 
esac
3649
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3650
 
$as_echo "$ac_try_echo") >&5
3651
 
  (eval "$ac_compiler -v >&5") 2>&5
3652
 
  ac_status=$?
3653
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654
 
  (exit $ac_status); }
3655
 
{ (ac_try="$ac_compiler -V >&5"
3656
 
case "(($ac_try" in
3657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658
 
  *) ac_try_echo=$ac_try;;
3659
 
esac
3660
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3661
 
$as_echo "$ac_try_echo") >&5
3662
 
  (eval "$ac_compiler -V >&5") 2>&5
3663
 
  ac_status=$?
3664
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665
 
  (exit $ac_status); }
 
4025
for ac_option in --version -v -V -qversion; do
 
4026
  { { ac_try="$ac_compiler $ac_option >&5"
 
4027
case "(($ac_try" in
 
4028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4029
  *) ac_try_echo=$ac_try;;
 
4030
esac
 
4031
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4032
$as_echo "$ac_try_echo"; } >&5
 
4033
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4034
  ac_status=$?
 
4035
  if test -s conftest.err; then
 
4036
    sed '10a\
 
4037
... rest of stderr output deleted ...
 
4038
         10q' conftest.err >conftest.er1
 
4039
    cat conftest.er1 >&5
 
4040
  fi
 
4041
  rm -f conftest.er1 conftest.err
 
4042
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4043
  test $ac_status = 0; }
 
4044
done
3666
4045
 
3667
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3668
4047
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3669
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4048
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3670
4049
  $as_echo_n "(cached) " >&6
3671
4050
else
3672
 
  cat >conftest.$ac_ext <<_ACEOF
3673
 
/* confdefs.h.  */
3674
 
_ACEOF
3675
 
cat confdefs.h >>conftest.$ac_ext
3676
 
cat >>conftest.$ac_ext <<_ACEOF
 
4051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677
4052
/* end confdefs.h.  */
3678
4053
 
3679
4054
int
3687
4062
  return 0;
3688
4063
}
3689
4064
_ACEOF
3690
 
rm -f conftest.$ac_objext
3691
 
if { (ac_try="$ac_compile"
3692
 
case "(($ac_try" in
3693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694
 
  *) ac_try_echo=$ac_try;;
3695
 
esac
3696
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3697
 
$as_echo "$ac_try_echo") >&5
3698
 
  (eval "$ac_compile") 2>conftest.er1
3699
 
  ac_status=$?
3700
 
  grep -v '^ *+' conftest.er1 >conftest.err
3701
 
  rm -f conftest.er1
3702
 
  cat conftest.err >&5
3703
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704
 
  (exit $ac_status); } && {
3705
 
         test -z "$ac_c_werror_flag" ||
3706
 
         test ! -s conftest.err
3707
 
       } && test -s conftest.$ac_objext; then
 
4065
if ac_fn_c_try_compile "$LINENO"; then :
3708
4066
  ac_compiler_gnu=yes
3709
4067
else
3710
 
  $as_echo "$as_me: failed program was:" >&5
3711
 
sed 's/^/| /' conftest.$ac_ext >&5
3712
 
 
3713
 
        ac_compiler_gnu=no
 
4068
  ac_compiler_gnu=no
3714
4069
fi
3715
 
 
3716
4070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717
4071
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3718
4072
 
3719
4073
fi
3720
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3721
4075
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3722
4076
if test $ac_compiler_gnu = yes; then
3723
4077
  GCC=yes
3726
4080
fi
3727
4081
ac_test_CFLAGS=${CFLAGS+set}
3728
4082
ac_save_CFLAGS=$CFLAGS
3729
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3730
4084
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3731
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4085
if test "${ac_cv_prog_cc_g+set}" = set; then :
3732
4086
  $as_echo_n "(cached) " >&6
3733
4087
else
3734
4088
  ac_save_c_werror_flag=$ac_c_werror_flag
3735
4089
   ac_c_werror_flag=yes
3736
4090
   ac_cv_prog_cc_g=no
3737
4091
   CFLAGS="-g"
3738
 
   cat >conftest.$ac_ext <<_ACEOF
3739
 
/* confdefs.h.  */
3740
 
_ACEOF
3741
 
cat confdefs.h >>conftest.$ac_ext
3742
 
cat >>conftest.$ac_ext <<_ACEOF
 
4092
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743
4093
/* end confdefs.h.  */
3744
4094
 
3745
4095
int
3750
4100
  return 0;
3751
4101
}
3752
4102
_ACEOF
3753
 
rm -f conftest.$ac_objext
3754
 
if { (ac_try="$ac_compile"
3755
 
case "(($ac_try" in
3756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757
 
  *) ac_try_echo=$ac_try;;
3758
 
esac
3759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3760
 
$as_echo "$ac_try_echo") >&5
3761
 
  (eval "$ac_compile") 2>conftest.er1
3762
 
  ac_status=$?
3763
 
  grep -v '^ *+' conftest.er1 >conftest.err
3764
 
  rm -f conftest.er1
3765
 
  cat conftest.err >&5
3766
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767
 
  (exit $ac_status); } && {
3768
 
         test -z "$ac_c_werror_flag" ||
3769
 
         test ! -s conftest.err
3770
 
       } && test -s conftest.$ac_objext; then
 
4103
if ac_fn_c_try_compile "$LINENO"; then :
3771
4104
  ac_cv_prog_cc_g=yes
3772
4105
else
3773
 
  $as_echo "$as_me: failed program was:" >&5
3774
 
sed 's/^/| /' conftest.$ac_ext >&5
3775
 
 
3776
 
        CFLAGS=""
3777
 
      cat >conftest.$ac_ext <<_ACEOF
3778
 
/* confdefs.h.  */
3779
 
_ACEOF
3780
 
cat confdefs.h >>conftest.$ac_ext
3781
 
cat >>conftest.$ac_ext <<_ACEOF
 
4106
  CFLAGS=""
 
4107
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782
4108
/* end confdefs.h.  */
3783
4109
 
3784
4110
int
3789
4115
  return 0;
3790
4116
}
3791
4117
_ACEOF
3792
 
rm -f conftest.$ac_objext
3793
 
if { (ac_try="$ac_compile"
3794
 
case "(($ac_try" in
3795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796
 
  *) ac_try_echo=$ac_try;;
3797
 
esac
3798
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3799
 
$as_echo "$ac_try_echo") >&5
3800
 
  (eval "$ac_compile") 2>conftest.er1
3801
 
  ac_status=$?
3802
 
  grep -v '^ *+' conftest.er1 >conftest.err
3803
 
  rm -f conftest.er1
3804
 
  cat conftest.err >&5
3805
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806
 
  (exit $ac_status); } && {
3807
 
         test -z "$ac_c_werror_flag" ||
3808
 
         test ! -s conftest.err
3809
 
       } && test -s conftest.$ac_objext; then
3810
 
  :
 
4118
if ac_fn_c_try_compile "$LINENO"; then :
 
4119
 
3811
4120
else
3812
 
  $as_echo "$as_me: failed program was:" >&5
3813
 
sed 's/^/| /' conftest.$ac_ext >&5
3814
 
 
3815
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4121
  ac_c_werror_flag=$ac_save_c_werror_flag
3816
4122
         CFLAGS="-g"
3817
 
         cat >conftest.$ac_ext <<_ACEOF
3818
 
/* confdefs.h.  */
3819
 
_ACEOF
3820
 
cat confdefs.h >>conftest.$ac_ext
3821
 
cat >>conftest.$ac_ext <<_ACEOF
 
4123
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822
4124
/* end confdefs.h.  */
3823
4125
 
3824
4126
int
3829
4131
  return 0;
3830
4132
}
3831
4133
_ACEOF
3832
 
rm -f conftest.$ac_objext
3833
 
if { (ac_try="$ac_compile"
3834
 
case "(($ac_try" in
3835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836
 
  *) ac_try_echo=$ac_try;;
3837
 
esac
3838
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3839
 
$as_echo "$ac_try_echo") >&5
3840
 
  (eval "$ac_compile") 2>conftest.er1
3841
 
  ac_status=$?
3842
 
  grep -v '^ *+' conftest.er1 >conftest.err
3843
 
  rm -f conftest.er1
3844
 
  cat conftest.err >&5
3845
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846
 
  (exit $ac_status); } && {
3847
 
         test -z "$ac_c_werror_flag" ||
3848
 
         test ! -s conftest.err
3849
 
       } && test -s conftest.$ac_objext; then
 
4134
if ac_fn_c_try_compile "$LINENO"; then :
3850
4135
  ac_cv_prog_cc_g=yes
3851
 
else
3852
 
  $as_echo "$as_me: failed program was:" >&5
3853
 
sed 's/^/| /' conftest.$ac_ext >&5
3854
 
 
3855
 
 
3856
 
fi
3857
 
 
3858
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859
 
fi
3860
 
 
3861
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862
 
fi
3863
 
 
 
4136
fi
 
4137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4138
fi
 
4139
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4140
fi
3864
4141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865
4142
   ac_c_werror_flag=$ac_save_c_werror_flag
3866
4143
fi
3867
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3868
4145
$as_echo "$ac_cv_prog_cc_g" >&6; }
3869
4146
if test "$ac_test_CFLAGS" = set; then
3870
4147
  CFLAGS=$ac_save_CFLAGS
3881
4158
    CFLAGS=
3882
4159
  fi
3883
4160
fi
3884
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3885
4162
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3886
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4163
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3887
4164
  $as_echo_n "(cached) " >&6
3888
4165
else
3889
4166
  ac_cv_prog_cc_c89=no
3890
4167
ac_save_CC=$CC
3891
 
cat >conftest.$ac_ext <<_ACEOF
3892
 
/* confdefs.h.  */
3893
 
_ACEOF
3894
 
cat confdefs.h >>conftest.$ac_ext
3895
 
cat >>conftest.$ac_ext <<_ACEOF
 
4168
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896
4169
/* end confdefs.h.  */
3897
4170
#include <stdarg.h>
3898
4171
#include <stdio.h>
3949
4222
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3950
4223
do
3951
4224
  CC="$ac_save_CC $ac_arg"
3952
 
  rm -f conftest.$ac_objext
3953
 
if { (ac_try="$ac_compile"
3954
 
case "(($ac_try" in
3955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956
 
  *) ac_try_echo=$ac_try;;
3957
 
esac
3958
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3959
 
$as_echo "$ac_try_echo") >&5
3960
 
  (eval "$ac_compile") 2>conftest.er1
3961
 
  ac_status=$?
3962
 
  grep -v '^ *+' conftest.er1 >conftest.err
3963
 
  rm -f conftest.er1
3964
 
  cat conftest.err >&5
3965
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
 
  (exit $ac_status); } && {
3967
 
         test -z "$ac_c_werror_flag" ||
3968
 
         test ! -s conftest.err
3969
 
       } && test -s conftest.$ac_objext; then
 
4225
  if ac_fn_c_try_compile "$LINENO"; then :
3970
4226
  ac_cv_prog_cc_c89=$ac_arg
3971
 
else
3972
 
  $as_echo "$as_me: failed program was:" >&5
3973
 
sed 's/^/| /' conftest.$ac_ext >&5
3974
 
 
3975
 
 
3976
4227
fi
3977
 
 
3978
4228
rm -f core conftest.err conftest.$ac_objext
3979
4229
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3980
4230
done
3985
4235
# AC_CACHE_VAL
3986
4236
case "x$ac_cv_prog_cc_c89" in
3987
4237
  x)
3988
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4238
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3989
4239
$as_echo "none needed" >&6; } ;;
3990
4240
  xno)
3991
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4241
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3992
4242
$as_echo "unsupported" >&6; } ;;
3993
4243
  *)
3994
4244
    CC="$CC $ac_cv_prog_cc_c89"
3995
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4245
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3996
4246
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3997
4247
esac
 
4248
if test "x$ac_cv_prog_cc_c89" != xno; then :
3998
4249
 
 
4250
fi
3999
4251
 
4000
4252
ac_ext=c
4001
4253
ac_cpp='$CPP $CPPFLAGS'
4005
4257
 
4006
4258
depcc="$CC"   am_compiler_list=
4007
4259
 
4008
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4009
4261
$as_echo_n "checking dependency style of $depcc... " >&6; }
4010
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4262
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4011
4263
  $as_echo_n "(cached) " >&6
4012
4264
else
4013
4265
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4033
4285
  if test "$am_compiler_list" = ""; then
4034
4286
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4035
4287
  fi
 
4288
  am__universal=false
 
4289
  case " $depcc " in #(
 
4290
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4291
     esac
 
4292
 
4036
4293
  for depmode in $am_compiler_list; do
4037
4294
    # Setup a source with many dependencies, because some compilers
4038
4295
    # like to wrap large dependency lists on column 80 (with \), and
4050
4307
    done
4051
4308
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4052
4309
 
 
4310
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4311
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4312
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4313
    # versions had trouble with output in subdirs
 
4314
    am__obj=sub/conftest.${OBJEXT-o}
 
4315
    am__minus_obj="-o $am__obj"
4053
4316
    case $depmode in
 
4317
    gcc)
 
4318
      # This depmode causes a compiler race in universal mode.
 
4319
      test "$am__universal" = false || continue
 
4320
      ;;
4054
4321
    nosideeffect)
4055
4322
      # after this tag, mechanisms are not by side-effect, so they'll
4056
4323
      # only be used when explicitly requested
4060
4327
        break
4061
4328
      fi
4062
4329
      ;;
 
4330
    msvisualcpp | msvcmsys)
 
4331
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4332
      # not run yet.  These depmodes are late enough in the game, and
 
4333
      # so weak that their functioning should not be impacted.
 
4334
      am__obj=conftest.${OBJEXT-o}
 
4335
      am__minus_obj=
 
4336
      ;;
4063
4337
    none) break ;;
4064
4338
    esac
4065
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4066
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4067
 
    # handle `-M -o', and we need to detect this.
4068
4339
    if depmode=$depmode \
4069
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4340
       source=sub/conftest.c object=$am__obj \
4070
4341
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4071
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4342
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4072
4343
         >/dev/null 2>conftest.err &&
4073
4344
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4074
4345
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4075
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4346
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4076
4347
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4077
4348
      # icc doesn't choke on unknown options, it will just issue warnings
4078
4349
      # or remarks (even with -Werror).  So we grep stderr for any message
4096
4367
fi
4097
4368
 
4098
4369
fi
4099
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4100
4371
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4101
4372
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4102
4373
 
4112
4383
 
4113
4384
 
4114
4385
if test "x$CC" != xcc; then
4115
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
4386
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4116
4387
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4117
4388
else
4118
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
4389
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4119
4390
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4120
4391
fi
4121
4392
set dummy $CC; ac_cc=`$as_echo "$2" |
4122
4393
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4123
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
4394
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4124
4395
  $as_echo_n "(cached) " >&6
4125
4396
else
4126
 
  cat >conftest.$ac_ext <<_ACEOF
4127
 
/* confdefs.h.  */
4128
 
_ACEOF
4129
 
cat confdefs.h >>conftest.$ac_ext
4130
 
cat >>conftest.$ac_ext <<_ACEOF
 
4397
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131
4398
/* end confdefs.h.  */
4132
4399
 
4133
4400
int
4143
4410
# existing .o file with -o, though they will create one.
4144
4411
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4145
4412
rm -f conftest2.*
4146
 
if { (case "(($ac_try" in
4147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148
 
  *) ac_try_echo=$ac_try;;
4149
 
esac
4150
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4151
 
$as_echo "$ac_try_echo") >&5
4152
 
  (eval "$ac_try") 2>&5
4153
 
  ac_status=$?
4154
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155
 
  (exit $ac_status); } &&
4156
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
4157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158
 
  *) ac_try_echo=$ac_try;;
4159
 
esac
4160
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4161
 
$as_echo "$ac_try_echo") >&5
4162
 
  (eval "$ac_try") 2>&5
4163
 
  ac_status=$?
4164
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165
 
  (exit $ac_status); };
 
4413
if { { case "(($ac_try" in
 
4414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4415
  *) ac_try_echo=$ac_try;;
 
4416
esac
 
4417
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4418
$as_echo "$ac_try_echo"; } >&5
 
4419
  (eval "$ac_try") 2>&5
 
4420
  ac_status=$?
 
4421
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4422
  test $ac_status = 0; } &&
 
4423
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4425
  *) ac_try_echo=$ac_try;;
 
4426
esac
 
4427
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4428
$as_echo "$ac_try_echo"; } >&5
 
4429
  (eval "$ac_try") 2>&5
 
4430
  ac_status=$?
 
4431
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4432
  test $ac_status = 0; };
4166
4433
then
4167
4434
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4168
4435
  if test "x$CC" != xcc; then
4169
4436
    # Test first that cc exists at all.
4170
4437
    if { ac_try='cc -c conftest.$ac_ext >&5'
4171
 
  { (case "(($ac_try" in
 
4438
  { { case "(($ac_try" in
4172
4439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173
4440
  *) ac_try_echo=$ac_try;;
4174
4441
esac
4175
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4176
 
$as_echo "$ac_try_echo") >&5
 
4442
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4443
$as_echo "$ac_try_echo"; } >&5
4177
4444
  (eval "$ac_try") 2>&5
4178
4445
  ac_status=$?
4179
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
 
  (exit $ac_status); }; }; then
 
4446
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4447
  test $ac_status = 0; }; }; then
4181
4448
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4182
4449
      rm -f conftest2.*
4183
 
      if { (case "(($ac_try" in
4184
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185
 
  *) ac_try_echo=$ac_try;;
4186
 
esac
4187
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4188
 
$as_echo "$ac_try_echo") >&5
4189
 
  (eval "$ac_try") 2>&5
4190
 
  ac_status=$?
4191
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); } &&
4193
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
4194
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195
 
  *) ac_try_echo=$ac_try;;
4196
 
esac
4197
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4198
 
$as_echo "$ac_try_echo") >&5
4199
 
  (eval "$ac_try") 2>&5
4200
 
  ac_status=$?
4201
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202
 
  (exit $ac_status); };
 
4450
      if { { case "(($ac_try" in
 
4451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4452
  *) ac_try_echo=$ac_try;;
 
4453
esac
 
4454
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4455
$as_echo "$ac_try_echo"; } >&5
 
4456
  (eval "$ac_try") 2>&5
 
4457
  ac_status=$?
 
4458
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4459
  test $ac_status = 0; } &&
 
4460
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4462
  *) ac_try_echo=$ac_try;;
 
4463
esac
 
4464
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4465
$as_echo "$ac_try_echo"; } >&5
 
4466
  (eval "$ac_try") 2>&5
 
4467
  ac_status=$?
 
4468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4469
  test $ac_status = 0; };
4203
4470
      then
4204
4471
        # cc works too.
4205
4472
        :
4216
4483
 
4217
4484
fi
4218
4485
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4219
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220
4487
$as_echo "yes" >&6; }
4221
4488
else
4222
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223
4490
$as_echo "no" >&6; }
4224
4491
 
4225
 
cat >>confdefs.h <<\_ACEOF
4226
 
#define NO_MINUS_C_MINUS_O 1
4227
 
_ACEOF
 
4492
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4228
4493
 
4229
4494
fi
4230
4495
 
4245
4510
 
4246
4511
case `pwd` in
4247
4512
  *\ * | *\     *)
4248
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4513
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4249
4514
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4250
4515
esac
4251
4516
 
4252
4517
 
4253
4518
 
4254
 
macro_version='2.2.6'
4255
 
macro_revision='1.3012'
 
4519
macro_version='2.2.6b'
 
4520
macro_revision='1.3017'
4256
4521
 
4257
4522
 
4258
4523
 
4270
4535
 
4271
4536
# Make sure we can run config.sub.
4272
4537
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4273
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4274
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4275
 
   { (exit 1); exit 1; }; }
 
4538
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4276
4539
 
4277
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4278
4541
$as_echo_n "checking build system type... " >&6; }
4279
 
if test "${ac_cv_build+set}" = set; then
 
4542
if test "${ac_cv_build+set}" = set; then :
4280
4543
  $as_echo_n "(cached) " >&6
4281
4544
else
4282
4545
  ac_build_alias=$build_alias
4283
4546
test "x$ac_build_alias" = x &&
4284
4547
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4285
4548
test "x$ac_build_alias" = x &&
4286
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4287
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4288
 
   { (exit 1); exit 1; }; }
 
4549
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4289
4550
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4290
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4291
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4292
 
   { (exit 1); exit 1; }; }
 
4551
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4293
4552
 
4294
4553
fi
4295
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4296
4555
$as_echo "$ac_cv_build" >&6; }
4297
4556
case $ac_cv_build in
4298
4557
*-*-*) ;;
4299
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4300
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4301
 
   { (exit 1); exit 1; }; };;
 
4558
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4302
4559
esac
4303
4560
build=$ac_cv_build
4304
4561
ac_save_IFS=$IFS; IFS='-'
4314
4571
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4315
4572
 
4316
4573
 
4317
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4318
4575
$as_echo_n "checking host system type... " >&6; }
4319
 
if test "${ac_cv_host+set}" = set; then
 
4576
if test "${ac_cv_host+set}" = set; then :
4320
4577
  $as_echo_n "(cached) " >&6
4321
4578
else
4322
4579
  if test "x$host_alias" = x; then
4323
4580
  ac_cv_host=$ac_cv_build
4324
4581
else
4325
4582
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4326
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4327
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4328
 
   { (exit 1); exit 1; }; }
 
4583
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4329
4584
fi
4330
4585
 
4331
4586
fi
4332
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4333
4588
$as_echo "$ac_cv_host" >&6; }
4334
4589
case $ac_cv_host in
4335
4590
*-*-*) ;;
4336
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4337
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4338
 
   { (exit 1); exit 1; }; };;
 
4591
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4339
4592
esac
4340
4593
host=$ac_cv_host
4341
4594
ac_save_IFS=$IFS; IFS='-'
4351
4604
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4352
4605
 
4353
4606
 
4354
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4355
4608
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4356
 
if test "${ac_cv_path_SED+set}" = set; then
 
4609
if test "${ac_cv_path_SED+set}" = set; then :
4357
4610
  $as_echo_n "(cached) " >&6
4358
4611
else
4359
4612
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4361
4614
       ac_script="$ac_script$as_nl$ac_script"
4362
4615
     done
4363
4616
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4364
 
     $as_unset ac_script || ac_script=
 
4617
     { ac_script=; unset ac_script;}
4365
4618
     if test -z "$SED"; then
4366
4619
  ac_path_SED_found=false
4367
4620
  # Loop through the user's path and test for each of PROGNAME-LIST
4370
4623
do
4371
4624
  IFS=$as_save_IFS
4372
4625
  test -z "$as_dir" && as_dir=.
4373
 
  for ac_prog in sed gsed; do
 
4626
    for ac_prog in sed gsed; do
4374
4627
    for ac_exec_ext in '' $ac_executable_extensions; do
4375
4628
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4376
4629
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4390
4643
    $as_echo '' >> "conftest.nl"
4391
4644
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4392
4645
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4393
 
    ac_count=`expr $ac_count + 1`
 
4646
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4394
4647
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4395
4648
      # Best one so far, save it but keep looking for a better one
4396
4649
      ac_cv_path_SED="$ac_path_SED"
4405
4658
      $ac_path_SED_found && break 3
4406
4659
    done
4407
4660
  done
4408
 
done
 
4661
  done
4409
4662
IFS=$as_save_IFS
4410
4663
  if test -z "$ac_cv_path_SED"; then
4411
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4412
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4413
 
   { (exit 1); exit 1; }; }
 
4664
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4414
4665
  fi
4415
4666
else
4416
4667
  ac_cv_path_SED=$SED
4417
4668
fi
4418
4669
 
4419
4670
fi
4420
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4421
4672
$as_echo "$ac_cv_path_SED" >&6; }
4422
4673
 SED="$ac_cv_path_SED"
4423
4674
  rm -f conftest.sed
4435
4686
 
4436
4687
 
4437
4688
 
4438
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4439
4690
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4440
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4691
if test "${ac_cv_path_GREP+set}" = set; then :
4441
4692
  $as_echo_n "(cached) " >&6
4442
4693
else
4443
4694
  if test -z "$GREP"; then
4448
4699
do
4449
4700
  IFS=$as_save_IFS
4450
4701
  test -z "$as_dir" && as_dir=.
4451
 
  for ac_prog in grep ggrep; do
 
4702
    for ac_prog in grep ggrep; do
4452
4703
    for ac_exec_ext in '' $ac_executable_extensions; do
4453
4704
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4454
4705
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4468
4719
    $as_echo 'GREP' >> "conftest.nl"
4469
4720
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4470
4721
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4471
 
    ac_count=`expr $ac_count + 1`
 
4722
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4472
4723
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4473
4724
      # Best one so far, save it but keep looking for a better one
4474
4725
      ac_cv_path_GREP="$ac_path_GREP"
4483
4734
      $ac_path_GREP_found && break 3
4484
4735
    done
4485
4736
  done
4486
 
done
 
4737
  done
4487
4738
IFS=$as_save_IFS
4488
4739
  if test -z "$ac_cv_path_GREP"; then
4489
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4490
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4491
 
   { (exit 1); exit 1; }; }
 
4740
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4492
4741
  fi
4493
4742
else
4494
4743
  ac_cv_path_GREP=$GREP
4495
4744
fi
4496
4745
 
4497
4746
fi
4498
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4499
4748
$as_echo "$ac_cv_path_GREP" >&6; }
4500
4749
 GREP="$ac_cv_path_GREP"
4501
4750
 
4502
4751
 
4503
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4504
4753
$as_echo_n "checking for egrep... " >&6; }
4505
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4754
if test "${ac_cv_path_EGREP+set}" = set; then :
4506
4755
  $as_echo_n "(cached) " >&6
4507
4756
else
4508
4757
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4516
4765
do
4517
4766
  IFS=$as_save_IFS
4518
4767
  test -z "$as_dir" && as_dir=.
4519
 
  for ac_prog in egrep; do
 
4768
    for ac_prog in egrep; do
4520
4769
    for ac_exec_ext in '' $ac_executable_extensions; do
4521
4770
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4522
4771
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4536
4785
    $as_echo 'EGREP' >> "conftest.nl"
4537
4786
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4538
4787
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4539
 
    ac_count=`expr $ac_count + 1`
 
4788
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4540
4789
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4541
4790
      # Best one so far, save it but keep looking for a better one
4542
4791
      ac_cv_path_EGREP="$ac_path_EGREP"
4551
4800
      $ac_path_EGREP_found && break 3
4552
4801
    done
4553
4802
  done
4554
 
done
 
4803
  done
4555
4804
IFS=$as_save_IFS
4556
4805
  if test -z "$ac_cv_path_EGREP"; then
4557
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4558
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4559
 
   { (exit 1); exit 1; }; }
 
4806
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4560
4807
  fi
4561
4808
else
4562
4809
  ac_cv_path_EGREP=$EGREP
4564
4811
 
4565
4812
   fi
4566
4813
fi
4567
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4568
4815
$as_echo "$ac_cv_path_EGREP" >&6; }
4569
4816
 EGREP="$ac_cv_path_EGREP"
4570
4817
 
4571
4818
 
4572
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4573
4820
$as_echo_n "checking for fgrep... " >&6; }
4574
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4821
if test "${ac_cv_path_FGREP+set}" = set; then :
4575
4822
  $as_echo_n "(cached) " >&6
4576
4823
else
4577
4824
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4585
4832
do
4586
4833
  IFS=$as_save_IFS
4587
4834
  test -z "$as_dir" && as_dir=.
4588
 
  for ac_prog in fgrep; do
 
4835
    for ac_prog in fgrep; do
4589
4836
    for ac_exec_ext in '' $ac_executable_extensions; do
4590
4837
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4591
4838
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4605
4852
    $as_echo 'FGREP' >> "conftest.nl"
4606
4853
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607
4854
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608
 
    ac_count=`expr $ac_count + 1`
 
4855
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4609
4856
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4610
4857
      # Best one so far, save it but keep looking for a better one
4611
4858
      ac_cv_path_FGREP="$ac_path_FGREP"
4620
4867
      $ac_path_FGREP_found && break 3
4621
4868
    done
4622
4869
  done
4623
 
done
 
4870
  done
4624
4871
IFS=$as_save_IFS
4625
4872
  if test -z "$ac_cv_path_FGREP"; then
4626
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4627
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4628
 
   { (exit 1); exit 1; }; }
 
4873
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629
4874
  fi
4630
4875
else
4631
4876
  ac_cv_path_FGREP=$FGREP
4633
4878
 
4634
4879
   fi
4635
4880
fi
4636
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4637
4882
$as_echo "$ac_cv_path_FGREP" >&6; }
4638
4883
 FGREP="$ac_cv_path_FGREP"
4639
4884
 
4659
4904
 
4660
4905
 
4661
4906
# Check whether --with-gnu-ld was given.
4662
 
if test "${with_gnu_ld+set}" = set; then
 
4907
if test "${with_gnu_ld+set}" = set; then :
4663
4908
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4664
4909
else
4665
4910
  with_gnu_ld=no
4668
4913
ac_prog=ld
4669
4914
if test "$GCC" = yes; then
4670
4915
  # Check if gcc -print-prog-name=ld gives a path.
4671
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4916
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4672
4917
$as_echo_n "checking for ld used by $CC... " >&6; }
4673
4918
  case $host in
4674
4919
  *-*-mingw*)
4698
4943
    ;;
4699
4944
  esac
4700
4945
elif test "$with_gnu_ld" = yes; then
4701
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4946
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4702
4947
$as_echo_n "checking for GNU ld... " >&6; }
4703
4948
else
4704
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4949
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4705
4950
$as_echo_n "checking for non-GNU ld... " >&6; }
4706
4951
fi
4707
 
if test "${lt_cv_path_LD+set}" = set; then
 
4952
if test "${lt_cv_path_LD+set}" = set; then :
4708
4953
  $as_echo_n "(cached) " >&6
4709
4954
else
4710
4955
  if test -z "$LD"; then
4735
4980
 
4736
4981
LD="$lt_cv_path_LD"
4737
4982
if test -n "$LD"; then
4738
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4739
4984
$as_echo "$LD" >&6; }
4740
4985
else
4741
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742
4987
$as_echo "no" >&6; }
4743
4988
fi
4744
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4745
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4746
 
   { (exit 1); exit 1; }; }
4747
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4989
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4748
4991
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4749
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4992
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4750
4993
  $as_echo_n "(cached) " >&6
4751
4994
else
4752
4995
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4759
5002
  ;;
4760
5003
esac
4761
5004
fi
4762
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4763
5006
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4764
5007
with_gnu_ld=$lt_cv_prog_gnu_ld
4765
5008
 
4771
5014
 
4772
5015
 
4773
5016
 
4774
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4775
5018
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4776
 
if test "${lt_cv_path_NM+set}" = set; then
 
5019
if test "${lt_cv_path_NM+set}" = set; then :
4777
5020
  $as_echo_n "(cached) " >&6
4778
5021
else
4779
5022
  if test -n "$NM"; then
4820
5063
  : ${lt_cv_path_NM=no}
4821
5064
fi
4822
5065
fi
4823
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4824
5067
$as_echo "$lt_cv_path_NM" >&6; }
4825
5068
if test "$lt_cv_path_NM" != "no"; then
4826
5069
  NM="$lt_cv_path_NM"
4831
5074
  do
4832
5075
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4833
5076
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4834
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835
5078
$as_echo_n "checking for $ac_word... " >&6; }
4836
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5079
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4837
5080
  $as_echo_n "(cached) " >&6
4838
5081
else
4839
5082
  if test -n "$DUMPBIN"; then
4844
5087
do
4845
5088
  IFS=$as_save_IFS
4846
5089
  test -z "$as_dir" && as_dir=.
4847
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5090
    for ac_exec_ext in '' $ac_executable_extensions; do
4848
5091
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849
5092
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4850
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5093
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851
5094
    break 2
4852
5095
  fi
4853
5096
done
4854
 
done
 
5097
  done
4855
5098
IFS=$as_save_IFS
4856
5099
 
4857
5100
fi
4858
5101
fi
4859
5102
DUMPBIN=$ac_cv_prog_DUMPBIN
4860
5103
if test -n "$DUMPBIN"; then
4861
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4862
5105
$as_echo "$DUMPBIN" >&6; }
4863
5106
else
4864
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865
5108
$as_echo "no" >&6; }
4866
5109
fi
4867
5110
 
4875
5118
do
4876
5119
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4877
5120
set dummy $ac_prog; ac_word=$2
4878
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879
5122
$as_echo_n "checking for $ac_word... " >&6; }
4880
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5123
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4881
5124
  $as_echo_n "(cached) " >&6
4882
5125
else
4883
5126
  if test -n "$ac_ct_DUMPBIN"; then
4888
5131
do
4889
5132
  IFS=$as_save_IFS
4890
5133
  test -z "$as_dir" && as_dir=.
4891
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5134
    for ac_exec_ext in '' $ac_executable_extensions; do
4892
5135
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893
5136
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4894
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5137
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895
5138
    break 2
4896
5139
  fi
4897
5140
done
4898
 
done
 
5141
  done
4899
5142
IFS=$as_save_IFS
4900
5143
 
4901
5144
fi
4902
5145
fi
4903
5146
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4904
5147
if test -n "$ac_ct_DUMPBIN"; then
4905
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4906
5149
$as_echo "$ac_ct_DUMPBIN" >&6; }
4907
5150
else
4908
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909
5152
$as_echo "no" >&6; }
4910
5153
fi
4911
5154
 
4918
5161
  else
4919
5162
    case $cross_compiling:$ac_tool_warned in
4920
5163
yes:)
4921
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5164
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4922
5165
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4923
5166
ac_tool_warned=yes ;;
4924
5167
esac
4938
5181
 
4939
5182
 
4940
5183
 
4941
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4942
5185
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4943
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5186
if test "${lt_cv_nm_interface+set}" = set; then :
4944
5187
  $as_echo_n "(cached) " >&6
4945
5188
else
4946
5189
  lt_cv_nm_interface="BSD nm"
4947
5190
  echo "int some_variable = 0;" > conftest.$ac_ext
4948
 
  (eval echo "\"\$as_me:4948: $ac_compile\"" >&5)
 
5191
  (eval echo "\"\$as_me:5191: $ac_compile\"" >&5)
4949
5192
  (eval "$ac_compile" 2>conftest.err)
4950
5193
  cat conftest.err >&5
4951
 
  (eval echo "\"\$as_me:4951: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5194
  (eval echo "\"\$as_me:5194: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4952
5195
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4953
5196
  cat conftest.err >&5
4954
 
  (eval echo "\"\$as_me:4954: output\"" >&5)
 
5197
  (eval echo "\"\$as_me:5197: output\"" >&5)
4955
5198
  cat conftest.out >&5
4956
5199
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4957
5200
    lt_cv_nm_interface="MS dumpbin"
4958
5201
  fi
4959
5202
  rm -f conftest*
4960
5203
fi
4961
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4962
5205
$as_echo "$lt_cv_nm_interface" >&6; }
4963
5206
 
4964
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4965
5208
$as_echo_n "checking whether ln -s works... " >&6; }
4966
5209
LN_S=$as_ln_s
4967
5210
if test "$LN_S" = "ln -s"; then
4968
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969
5212
$as_echo "yes" >&6; }
4970
5213
else
4971
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4972
5215
$as_echo "no, using $LN_S" >&6; }
4973
5216
fi
4974
5217
 
4975
5218
# find the maximum length of command line arguments
4976
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4977
5220
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4978
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5221
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4979
5222
  $as_echo_n "(cached) " >&6
4980
5223
else
4981
5224
    i=0
5093
5336
fi
5094
5337
 
5095
5338
if test -n $lt_cv_sys_max_cmd_len ; then
5096
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5097
5340
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5098
5341
else
5099
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5100
5343
$as_echo "none" >&6; }
5101
5344
fi
5102
5345
max_cmd_len=$lt_cv_sys_max_cmd_len
5110
5353
: ${MV="mv -f"}
5111
5354
: ${RM="rm -f"}
5112
5355
 
5113
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5114
5357
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5115
5358
# Try some XSI features
5116
5359
xsi_shell=no
5120
5363
    && eval 'test $(( 1 + 1 )) -eq 2 \
5121
5364
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5122
5365
  && xsi_shell=yes
5123
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5124
5367
$as_echo "$xsi_shell" >&6; }
5125
5368
 
5126
5369
 
5127
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5128
5371
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5129
5372
lt_shell_append=no
5130
5373
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5131
5374
    >/dev/null 2>&1 \
5132
5375
  && lt_shell_append=yes
5133
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5134
5377
$as_echo "$lt_shell_append" >&6; }
5135
5378
 
5136
5379
 
5165
5408
 
5166
5409
 
5167
5410
 
5168
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5169
5412
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5170
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5413
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5171
5414
  $as_echo_n "(cached) " >&6
5172
5415
else
5173
5416
  lt_cv_ld_reload_flag='-r'
5174
5417
fi
5175
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5176
5419
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5177
5420
reload_flag=$lt_cv_ld_reload_flag
5178
5421
case $reload_flag in
5201
5444
if test -n "$ac_tool_prefix"; then
5202
5445
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5203
5446
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5204
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205
5448
$as_echo_n "checking for $ac_word... " >&6; }
5206
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5449
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5207
5450
  $as_echo_n "(cached) " >&6
5208
5451
else
5209
5452
  if test -n "$OBJDUMP"; then
5214
5457
do
5215
5458
  IFS=$as_save_IFS
5216
5459
  test -z "$as_dir" && as_dir=.
5217
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5460
    for ac_exec_ext in '' $ac_executable_extensions; do
5218
5461
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219
5462
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5220
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5463
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221
5464
    break 2
5222
5465
  fi
5223
5466
done
5224
 
done
 
5467
  done
5225
5468
IFS=$as_save_IFS
5226
5469
 
5227
5470
fi
5228
5471
fi
5229
5472
OBJDUMP=$ac_cv_prog_OBJDUMP
5230
5473
if test -n "$OBJDUMP"; then
5231
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5232
5475
$as_echo "$OBJDUMP" >&6; }
5233
5476
else
5234
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235
5478
$as_echo "no" >&6; }
5236
5479
fi
5237
5480
 
5241
5484
  ac_ct_OBJDUMP=$OBJDUMP
5242
5485
  # Extract the first word of "objdump", so it can be a program name with args.
5243
5486
set dummy objdump; ac_word=$2
5244
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245
5488
$as_echo_n "checking for $ac_word... " >&6; }
5246
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5489
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5247
5490
  $as_echo_n "(cached) " >&6
5248
5491
else
5249
5492
  if test -n "$ac_ct_OBJDUMP"; then
5254
5497
do
5255
5498
  IFS=$as_save_IFS
5256
5499
  test -z "$as_dir" && as_dir=.
5257
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5500
    for ac_exec_ext in '' $ac_executable_extensions; do
5258
5501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259
5502
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5260
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261
5504
    break 2
5262
5505
  fi
5263
5506
done
5264
 
done
 
5507
  done
5265
5508
IFS=$as_save_IFS
5266
5509
 
5267
5510
fi
5268
5511
fi
5269
5512
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5270
5513
if test -n "$ac_ct_OBJDUMP"; then
5271
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5272
5515
$as_echo "$ac_ct_OBJDUMP" >&6; }
5273
5516
else
5274
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275
5518
$as_echo "no" >&6; }
5276
5519
fi
5277
5520
 
5280
5523
  else
5281
5524
    case $cross_compiling:$ac_tool_warned in
5282
5525
yes:)
5283
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284
5527
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285
5528
ac_tool_warned=yes ;;
5286
5529
esac
5300
5543
 
5301
5544
 
5302
5545
 
5303
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5304
5547
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5305
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5548
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5306
5549
  $as_echo_n "(cached) " >&6
5307
5550
else
5308
5551
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5496
5739
esac
5497
5740
 
5498
5741
fi
5499
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5500
5743
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5501
5744
file_magic_cmd=$lt_cv_file_magic_cmd
5502
5745
deplibs_check_method=$lt_cv_deplibs_check_method
5516
5759
if test -n "$ac_tool_prefix"; then
5517
5760
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5518
5761
set dummy ${ac_tool_prefix}ar; ac_word=$2
5519
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520
5763
$as_echo_n "checking for $ac_word... " >&6; }
5521
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5764
if test "${ac_cv_prog_AR+set}" = set; then :
5522
5765
  $as_echo_n "(cached) " >&6
5523
5766
else
5524
5767
  if test -n "$AR"; then
5529
5772
do
5530
5773
  IFS=$as_save_IFS
5531
5774
  test -z "$as_dir" && as_dir=.
5532
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5775
    for ac_exec_ext in '' $ac_executable_extensions; do
5533
5776
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534
5777
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5535
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5778
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536
5779
    break 2
5537
5780
  fi
5538
5781
done
5539
 
done
 
5782
  done
5540
5783
IFS=$as_save_IFS
5541
5784
 
5542
5785
fi
5543
5786
fi
5544
5787
AR=$ac_cv_prog_AR
5545
5788
if test -n "$AR"; then
5546
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5789
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5547
5790
$as_echo "$AR" >&6; }
5548
5791
else
5549
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550
5793
$as_echo "no" >&6; }
5551
5794
fi
5552
5795
 
5556
5799
  ac_ct_AR=$AR
5557
5800
  # Extract the first word of "ar", so it can be a program name with args.
5558
5801
set dummy ar; ac_word=$2
5559
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560
5803
$as_echo_n "checking for $ac_word... " >&6; }
5561
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5804
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5562
5805
  $as_echo_n "(cached) " >&6
5563
5806
else
5564
5807
  if test -n "$ac_ct_AR"; then
5569
5812
do
5570
5813
  IFS=$as_save_IFS
5571
5814
  test -z "$as_dir" && as_dir=.
5572
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5815
    for ac_exec_ext in '' $ac_executable_extensions; do
5573
5816
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574
5817
    ac_cv_prog_ac_ct_AR="ar"
5575
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576
5819
    break 2
5577
5820
  fi
5578
5821
done
5579
 
done
 
5822
  done
5580
5823
IFS=$as_save_IFS
5581
5824
 
5582
5825
fi
5583
5826
fi
5584
5827
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5585
5828
if test -n "$ac_ct_AR"; then
5586
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5587
5830
$as_echo "$ac_ct_AR" >&6; }
5588
5831
else
5589
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590
5833
$as_echo "no" >&6; }
5591
5834
fi
5592
5835
 
5595
5838
  else
5596
5839
    case $cross_compiling:$ac_tool_warned in
5597
5840
yes:)
5598
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5841
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599
5842
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600
5843
ac_tool_warned=yes ;;
5601
5844
esac
5621
5864
if test -n "$ac_tool_prefix"; then
5622
5865
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5623
5866
set dummy ${ac_tool_prefix}strip; ac_word=$2
5624
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625
5868
$as_echo_n "checking for $ac_word... " >&6; }
5626
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5869
if test "${ac_cv_prog_STRIP+set}" = set; then :
5627
5870
  $as_echo_n "(cached) " >&6
5628
5871
else
5629
5872
  if test -n "$STRIP"; then
5634
5877
do
5635
5878
  IFS=$as_save_IFS
5636
5879
  test -z "$as_dir" && as_dir=.
5637
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5880
    for ac_exec_ext in '' $ac_executable_extensions; do
5638
5881
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639
5882
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5640
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5883
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641
5884
    break 2
5642
5885
  fi
5643
5886
done
5644
 
done
 
5887
  done
5645
5888
IFS=$as_save_IFS
5646
5889
 
5647
5890
fi
5648
5891
fi
5649
5892
STRIP=$ac_cv_prog_STRIP
5650
5893
if test -n "$STRIP"; then
5651
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5652
5895
$as_echo "$STRIP" >&6; }
5653
5896
else
5654
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655
5898
$as_echo "no" >&6; }
5656
5899
fi
5657
5900
 
5661
5904
  ac_ct_STRIP=$STRIP
5662
5905
  # Extract the first word of "strip", so it can be a program name with args.
5663
5906
set dummy strip; ac_word=$2
5664
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665
5908
$as_echo_n "checking for $ac_word... " >&6; }
5666
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5909
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5667
5910
  $as_echo_n "(cached) " >&6
5668
5911
else
5669
5912
  if test -n "$ac_ct_STRIP"; then
5674
5917
do
5675
5918
  IFS=$as_save_IFS
5676
5919
  test -z "$as_dir" && as_dir=.
5677
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5920
    for ac_exec_ext in '' $ac_executable_extensions; do
5678
5921
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679
5922
    ac_cv_prog_ac_ct_STRIP="strip"
5680
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5923
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681
5924
    break 2
5682
5925
  fi
5683
5926
done
5684
 
done
 
5927
  done
5685
5928
IFS=$as_save_IFS
5686
5929
 
5687
5930
fi
5688
5931
fi
5689
5932
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5690
5933
if test -n "$ac_ct_STRIP"; then
5691
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5692
5935
$as_echo "$ac_ct_STRIP" >&6; }
5693
5936
else
5694
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695
5938
$as_echo "no" >&6; }
5696
5939
fi
5697
5940
 
5700
5943
  else
5701
5944
    case $cross_compiling:$ac_tool_warned in
5702
5945
yes:)
5703
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5946
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704
5947
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705
5948
ac_tool_warned=yes ;;
5706
5949
esac
5720
5963
if test -n "$ac_tool_prefix"; then
5721
5964
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5722
5965
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5723
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724
5967
$as_echo_n "checking for $ac_word... " >&6; }
5725
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5968
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5726
5969
  $as_echo_n "(cached) " >&6
5727
5970
else
5728
5971
  if test -n "$RANLIB"; then
5733
5976
do
5734
5977
  IFS=$as_save_IFS
5735
5978
  test -z "$as_dir" && as_dir=.
5736
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5979
    for ac_exec_ext in '' $ac_executable_extensions; do
5737
5980
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738
5981
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5739
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5982
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740
5983
    break 2
5741
5984
  fi
5742
5985
done
5743
 
done
 
5986
  done
5744
5987
IFS=$as_save_IFS
5745
5988
 
5746
5989
fi
5747
5990
fi
5748
5991
RANLIB=$ac_cv_prog_RANLIB
5749
5992
if test -n "$RANLIB"; then
5750
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5751
5994
$as_echo "$RANLIB" >&6; }
5752
5995
else
5753
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754
5997
$as_echo "no" >&6; }
5755
5998
fi
5756
5999
 
5760
6003
  ac_ct_RANLIB=$RANLIB
5761
6004
  # Extract the first word of "ranlib", so it can be a program name with args.
5762
6005
set dummy ranlib; ac_word=$2
5763
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764
6007
$as_echo_n "checking for $ac_word... " >&6; }
5765
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6008
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5766
6009
  $as_echo_n "(cached) " >&6
5767
6010
else
5768
6011
  if test -n "$ac_ct_RANLIB"; then
5773
6016
do
5774
6017
  IFS=$as_save_IFS
5775
6018
  test -z "$as_dir" && as_dir=.
5776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6019
    for ac_exec_ext in '' $ac_executable_extensions; do
5777
6020
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778
6021
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5779
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6022
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780
6023
    break 2
5781
6024
  fi
5782
6025
done
5783
 
done
 
6026
  done
5784
6027
IFS=$as_save_IFS
5785
6028
 
5786
6029
fi
5787
6030
fi
5788
6031
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5789
6032
if test -n "$ac_ct_RANLIB"; then
5790
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6033
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5791
6034
$as_echo "$ac_ct_RANLIB" >&6; }
5792
6035
else
5793
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794
6037
$as_echo "no" >&6; }
5795
6038
fi
5796
6039
 
5799
6042
  else
5800
6043
    case $cross_compiling:$ac_tool_warned in
5801
6044
yes:)
5802
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803
6046
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804
6047
ac_tool_warned=yes ;;
5805
6048
esac
5877
6120
 
5878
6121
 
5879
6122
# Check for command to grab the raw symbol name followed by C symbol from nm.
5880
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5881
6124
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5882
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6125
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5883
6126
  $as_echo_n "(cached) " >&6
5884
6127
else
5885
6128
 
5995
6238
int main(){nm_test_var='a';nm_test_func();return(0);}
5996
6239
_LT_EOF
5997
6240
 
5998
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6241
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5999
6242
  (eval $ac_compile) 2>&5
6000
6243
  ac_status=$?
6001
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002
 
  (exit $ac_status); }; then
 
6244
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6245
  test $ac_status = 0; }; then
6003
6246
    # Now try to grab the symbols.
6004
6247
    nlist=conftest.nm
6005
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6248
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6006
6249
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6007
6250
  ac_status=$?
6008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6251
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6252
  test $ac_status = 0; } && test -s "$nlist"; then
6010
6253
      # Try sorting and uniquifying the output.
6011
6254
      if sort "$nlist" | uniq > "$nlist"T; then
6012
6255
        mv -f "$nlist"T "$nlist"
6059
6302
          lt_save_CFLAGS="$CFLAGS"
6060
6303
          LIBS="conftstm.$ac_objext"
6061
6304
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6062
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6305
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6063
6306
  (eval $ac_link) 2>&5
6064
6307
  ac_status=$?
6065
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6308
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6309
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6067
6310
            pipe_works=yes
6068
6311
          fi
6069
6312
          LIBS="$lt_save_LIBS"
6097
6340
  lt_cv_sys_global_symbol_to_cdecl=
6098
6341
fi
6099
6342
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6100
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6101
6344
$as_echo "failed" >&6; }
6102
6345
else
6103
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6104
6347
$as_echo "ok" >&6; }
6105
6348
fi
6106
6349
 
6127
6370
 
6128
6371
 
6129
6372
# Check whether --enable-libtool-lock was given.
6130
 
if test "${enable_libtool_lock+set}" = set; then
 
6373
if test "${enable_libtool_lock+set}" = set; then :
6131
6374
  enableval=$enable_libtool_lock;
6132
6375
fi
6133
6376
 
6139
6382
ia64-*-hpux*)
6140
6383
  # Find out which ABI we are using.
6141
6384
  echo 'int i;' > conftest.$ac_ext
6142
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6385
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6143
6386
  (eval $ac_compile) 2>&5
6144
6387
  ac_status=$?
6145
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146
 
  (exit $ac_status); }; then
 
6388
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6389
  test $ac_status = 0; }; then
6147
6390
    case `/usr/bin/file conftest.$ac_objext` in
6148
6391
      *ELF-32*)
6149
6392
        HPUX_IA64_MODE="32"
6157
6400
  ;;
6158
6401
*-*-irix6*)
6159
6402
  # Find out which ABI we are using.
6160
 
  echo '#line 6160 "configure"' > conftest.$ac_ext
6161
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6403
  echo '#line 6403 "configure"' > conftest.$ac_ext
 
6404
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6162
6405
  (eval $ac_compile) 2>&5
6163
6406
  ac_status=$?
6164
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165
 
  (exit $ac_status); }; then
 
6407
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6408
  test $ac_status = 0; }; then
6166
6409
    if test "$lt_cv_prog_gnu_ld" = yes; then
6167
6410
      case `/usr/bin/file conftest.$ac_objext` in
6168
6411
        *32-bit*)
6196
6439
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6197
6440
  # Find out which ABI we are using.
6198
6441
  echo 'int i;' > conftest.$ac_ext
6199
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6442
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6200
6443
  (eval $ac_compile) 2>&5
6201
6444
  ac_status=$?
6202
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203
 
  (exit $ac_status); }; then
 
6445
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6446
  test $ac_status = 0; }; then
6204
6447
    case `/usr/bin/file conftest.o` in
6205
6448
      *32-bit*)
6206
6449
        case $host in
6249
6492
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6250
6493
  SAVE_CFLAGS="$CFLAGS"
6251
6494
  CFLAGS="$CFLAGS -belf"
6252
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6495
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6253
6496
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6254
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6497
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6255
6498
  $as_echo_n "(cached) " >&6
6256
6499
else
6257
6500
  ac_ext=c
6260
6503
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6261
6504
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6262
6505
 
6263
 
     cat >conftest.$ac_ext <<_ACEOF
6264
 
/* confdefs.h.  */
6265
 
_ACEOF
6266
 
cat confdefs.h >>conftest.$ac_ext
6267
 
cat >>conftest.$ac_ext <<_ACEOF
 
6506
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6268
6507
/* end confdefs.h.  */
6269
6508
 
6270
6509
int
6275
6514
  return 0;
6276
6515
}
6277
6516
_ACEOF
6278
 
rm -f conftest.$ac_objext conftest$ac_exeext
6279
 
if { (ac_try="$ac_link"
6280
 
case "(($ac_try" in
6281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282
 
  *) ac_try_echo=$ac_try;;
6283
 
esac
6284
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6285
 
$as_echo "$ac_try_echo") >&5
6286
 
  (eval "$ac_link") 2>conftest.er1
6287
 
  ac_status=$?
6288
 
  grep -v '^ *+' conftest.er1 >conftest.err
6289
 
  rm -f conftest.er1
6290
 
  cat conftest.err >&5
6291
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292
 
  (exit $ac_status); } && {
6293
 
         test -z "$ac_c_werror_flag" ||
6294
 
         test ! -s conftest.err
6295
 
       } && test -s conftest$ac_exeext && {
6296
 
         test "$cross_compiling" = yes ||
6297
 
         $as_test_x conftest$ac_exeext
6298
 
       }; then
 
6517
if ac_fn_c_try_link "$LINENO"; then :
6299
6518
  lt_cv_cc_needs_belf=yes
6300
6519
else
6301
 
  $as_echo "$as_me: failed program was:" >&5
6302
 
sed 's/^/| /' conftest.$ac_ext >&5
6303
 
 
6304
 
        lt_cv_cc_needs_belf=no
 
6520
  lt_cv_cc_needs_belf=no
6305
6521
fi
6306
 
 
6307
 
rm -rf conftest.dSYM
6308
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6309
 
      conftest$ac_exeext conftest.$ac_ext
 
6522
rm -f core conftest.err conftest.$ac_objext \
 
6523
    conftest$ac_exeext conftest.$ac_ext
6310
6524
     ac_ext=c
6311
6525
ac_cpp='$CPP $CPPFLAGS'
6312
6526
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314
6528
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6315
6529
 
6316
6530
fi
6317
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6318
6532
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6319
6533
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6320
6534
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6324
6538
sparc*-*solaris*)
6325
6539
  # Find out which ABI we are using.
6326
6540
  echo 'int i;' > conftest.$ac_ext
6327
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6541
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6328
6542
  (eval $ac_compile) 2>&5
6329
6543
  ac_status=$?
6330
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331
 
  (exit $ac_status); }; then
 
6544
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6545
  test $ac_status = 0; }; then
6332
6546
    case `/usr/bin/file conftest.o` in
6333
6547
    *64-bit*)
6334
6548
      case $lt_cv_prog_gnu_ld in
6354
6568
    if test -n "$ac_tool_prefix"; then
6355
6569
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6356
6570
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6357
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358
6572
$as_echo_n "checking for $ac_word... " >&6; }
6359
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6573
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6360
6574
  $as_echo_n "(cached) " >&6
6361
6575
else
6362
6576
  if test -n "$DSYMUTIL"; then
6367
6581
do
6368
6582
  IFS=$as_save_IFS
6369
6583
  test -z "$as_dir" && as_dir=.
6370
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6584
    for ac_exec_ext in '' $ac_executable_extensions; do
6371
6585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6372
6586
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6373
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6587
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374
6588
    break 2
6375
6589
  fi
6376
6590
done
6377
 
done
 
6591
  done
6378
6592
IFS=$as_save_IFS
6379
6593
 
6380
6594
fi
6381
6595
fi
6382
6596
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6383
6597
if test -n "$DSYMUTIL"; then
6384
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6385
6599
$as_echo "$DSYMUTIL" >&6; }
6386
6600
else
6387
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6388
6602
$as_echo "no" >&6; }
6389
6603
fi
6390
6604
 
6394
6608
  ac_ct_DSYMUTIL=$DSYMUTIL
6395
6609
  # Extract the first word of "dsymutil", so it can be a program name with args.
6396
6610
set dummy dsymutil; ac_word=$2
6397
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398
6612
$as_echo_n "checking for $ac_word... " >&6; }
6399
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6613
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6400
6614
  $as_echo_n "(cached) " >&6
6401
6615
else
6402
6616
  if test -n "$ac_ct_DSYMUTIL"; then
6407
6621
do
6408
6622
  IFS=$as_save_IFS
6409
6623
  test -z "$as_dir" && as_dir=.
6410
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6624
    for ac_exec_ext in '' $ac_executable_extensions; do
6411
6625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6412
6626
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6413
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6627
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414
6628
    break 2
6415
6629
  fi
6416
6630
done
6417
 
done
 
6631
  done
6418
6632
IFS=$as_save_IFS
6419
6633
 
6420
6634
fi
6421
6635
fi
6422
6636
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6423
6637
if test -n "$ac_ct_DSYMUTIL"; then
6424
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6425
6639
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6426
6640
else
6427
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428
6642
$as_echo "no" >&6; }
6429
6643
fi
6430
6644
 
6433
6647
  else
6434
6648
    case $cross_compiling:$ac_tool_warned in
6435
6649
yes:)
6436
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437
6651
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438
6652
ac_tool_warned=yes ;;
6439
6653
esac
6446
6660
    if test -n "$ac_tool_prefix"; then
6447
6661
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6448
6662
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6449
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450
6664
$as_echo_n "checking for $ac_word... " >&6; }
6451
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6665
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6452
6666
  $as_echo_n "(cached) " >&6
6453
6667
else
6454
6668
  if test -n "$NMEDIT"; then
6459
6673
do
6460
6674
  IFS=$as_save_IFS
6461
6675
  test -z "$as_dir" && as_dir=.
6462
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6676
    for ac_exec_ext in '' $ac_executable_extensions; do
6463
6677
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6464
6678
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6465
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6679
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466
6680
    break 2
6467
6681
  fi
6468
6682
done
6469
 
done
 
6683
  done
6470
6684
IFS=$as_save_IFS
6471
6685
 
6472
6686
fi
6473
6687
fi
6474
6688
NMEDIT=$ac_cv_prog_NMEDIT
6475
6689
if test -n "$NMEDIT"; then
6476
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6477
6691
$as_echo "$NMEDIT" >&6; }
6478
6692
else
6479
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6693
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480
6694
$as_echo "no" >&6; }
6481
6695
fi
6482
6696
 
6486
6700
  ac_ct_NMEDIT=$NMEDIT
6487
6701
  # Extract the first word of "nmedit", so it can be a program name with args.
6488
6702
set dummy nmedit; ac_word=$2
6489
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490
6704
$as_echo_n "checking for $ac_word... " >&6; }
6491
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6705
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6492
6706
  $as_echo_n "(cached) " >&6
6493
6707
else
6494
6708
  if test -n "$ac_ct_NMEDIT"; then
6499
6713
do
6500
6714
  IFS=$as_save_IFS
6501
6715
  test -z "$as_dir" && as_dir=.
6502
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6716
    for ac_exec_ext in '' $ac_executable_extensions; do
6503
6717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6504
6718
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6505
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6719
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506
6720
    break 2
6507
6721
  fi
6508
6722
done
6509
 
done
 
6723
  done
6510
6724
IFS=$as_save_IFS
6511
6725
 
6512
6726
fi
6513
6727
fi
6514
6728
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6515
6729
if test -n "$ac_ct_NMEDIT"; then
6516
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6517
6731
$as_echo "$ac_ct_NMEDIT" >&6; }
6518
6732
else
6519
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520
6734
$as_echo "no" >&6; }
6521
6735
fi
6522
6736
 
6525
6739
  else
6526
6740
    case $cross_compiling:$ac_tool_warned in
6527
6741
yes:)
6528
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6529
6743
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6530
6744
ac_tool_warned=yes ;;
6531
6745
esac
6538
6752
    if test -n "$ac_tool_prefix"; then
6539
6753
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6540
6754
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6541
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542
6756
$as_echo_n "checking for $ac_word... " >&6; }
6543
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6757
if test "${ac_cv_prog_LIPO+set}" = set; then :
6544
6758
  $as_echo_n "(cached) " >&6
6545
6759
else
6546
6760
  if test -n "$LIPO"; then
6551
6765
do
6552
6766
  IFS=$as_save_IFS
6553
6767
  test -z "$as_dir" && as_dir=.
6554
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6768
    for ac_exec_ext in '' $ac_executable_extensions; do
6555
6769
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556
6770
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6557
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6771
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558
6772
    break 2
6559
6773
  fi
6560
6774
done
6561
 
done
 
6775
  done
6562
6776
IFS=$as_save_IFS
6563
6777
 
6564
6778
fi
6565
6779
fi
6566
6780
LIPO=$ac_cv_prog_LIPO
6567
6781
if test -n "$LIPO"; then
6568
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6569
6783
$as_echo "$LIPO" >&6; }
6570
6784
else
6571
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572
6786
$as_echo "no" >&6; }
6573
6787
fi
6574
6788
 
6578
6792
  ac_ct_LIPO=$LIPO
6579
6793
  # Extract the first word of "lipo", so it can be a program name with args.
6580
6794
set dummy lipo; ac_word=$2
6581
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582
6796
$as_echo_n "checking for $ac_word... " >&6; }
6583
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6797
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6584
6798
  $as_echo_n "(cached) " >&6
6585
6799
else
6586
6800
  if test -n "$ac_ct_LIPO"; then
6591
6805
do
6592
6806
  IFS=$as_save_IFS
6593
6807
  test -z "$as_dir" && as_dir=.
6594
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6808
    for ac_exec_ext in '' $ac_executable_extensions; do
6595
6809
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6596
6810
    ac_cv_prog_ac_ct_LIPO="lipo"
6597
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6811
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598
6812
    break 2
6599
6813
  fi
6600
6814
done
6601
 
done
 
6815
  done
6602
6816
IFS=$as_save_IFS
6603
6817
 
6604
6818
fi
6605
6819
fi
6606
6820
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6607
6821
if test -n "$ac_ct_LIPO"; then
6608
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6609
6823
$as_echo "$ac_ct_LIPO" >&6; }
6610
6824
else
6611
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612
6826
$as_echo "no" >&6; }
6613
6827
fi
6614
6828
 
6617
6831
  else
6618
6832
    case $cross_compiling:$ac_tool_warned in
6619
6833
yes:)
6620
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6621
6835
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6622
6836
ac_tool_warned=yes ;;
6623
6837
esac
6630
6844
    if test -n "$ac_tool_prefix"; then
6631
6845
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6632
6846
set dummy ${ac_tool_prefix}otool; ac_word=$2
6633
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634
6848
$as_echo_n "checking for $ac_word... " >&6; }
6635
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6849
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6636
6850
  $as_echo_n "(cached) " >&6
6637
6851
else
6638
6852
  if test -n "$OTOOL"; then
6643
6857
do
6644
6858
  IFS=$as_save_IFS
6645
6859
  test -z "$as_dir" && as_dir=.
6646
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6860
    for ac_exec_ext in '' $ac_executable_extensions; do
6647
6861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6648
6862
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6649
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6650
6864
    break 2
6651
6865
  fi
6652
6866
done
6653
 
done
 
6867
  done
6654
6868
IFS=$as_save_IFS
6655
6869
 
6656
6870
fi
6657
6871
fi
6658
6872
OTOOL=$ac_cv_prog_OTOOL
6659
6873
if test -n "$OTOOL"; then
6660
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6661
6875
$as_echo "$OTOOL" >&6; }
6662
6876
else
6663
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664
6878
$as_echo "no" >&6; }
6665
6879
fi
6666
6880
 
6670
6884
  ac_ct_OTOOL=$OTOOL
6671
6885
  # Extract the first word of "otool", so it can be a program name with args.
6672
6886
set dummy otool; ac_word=$2
6673
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674
6888
$as_echo_n "checking for $ac_word... " >&6; }
6675
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6889
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6676
6890
  $as_echo_n "(cached) " >&6
6677
6891
else
6678
6892
  if test -n "$ac_ct_OTOOL"; then
6683
6897
do
6684
6898
  IFS=$as_save_IFS
6685
6899
  test -z "$as_dir" && as_dir=.
6686
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6900
    for ac_exec_ext in '' $ac_executable_extensions; do
6687
6901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6688
6902
    ac_cv_prog_ac_ct_OTOOL="otool"
6689
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690
6904
    break 2
6691
6905
  fi
6692
6906
done
6693
 
done
 
6907
  done
6694
6908
IFS=$as_save_IFS
6695
6909
 
6696
6910
fi
6697
6911
fi
6698
6912
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6699
6913
if test -n "$ac_ct_OTOOL"; then
6700
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6701
6915
$as_echo "$ac_ct_OTOOL" >&6; }
6702
6916
else
6703
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704
6918
$as_echo "no" >&6; }
6705
6919
fi
6706
6920
 
6709
6923
  else
6710
6924
    case $cross_compiling:$ac_tool_warned in
6711
6925
yes:)
6712
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713
6927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714
6928
ac_tool_warned=yes ;;
6715
6929
esac
6722
6936
    if test -n "$ac_tool_prefix"; then
6723
6937
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6724
6938
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6725
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726
6940
$as_echo_n "checking for $ac_word... " >&6; }
6727
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6941
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6728
6942
  $as_echo_n "(cached) " >&6
6729
6943
else
6730
6944
  if test -n "$OTOOL64"; then
6735
6949
do
6736
6950
  IFS=$as_save_IFS
6737
6951
  test -z "$as_dir" && as_dir=.
6738
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6952
    for ac_exec_ext in '' $ac_executable_extensions; do
6739
6953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740
6954
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6741
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742
6956
    break 2
6743
6957
  fi
6744
6958
done
6745
 
done
 
6959
  done
6746
6960
IFS=$as_save_IFS
6747
6961
 
6748
6962
fi
6749
6963
fi
6750
6964
OTOOL64=$ac_cv_prog_OTOOL64
6751
6965
if test -n "$OTOOL64"; then
6752
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6753
6967
$as_echo "$OTOOL64" >&6; }
6754
6968
else
6755
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756
6970
$as_echo "no" >&6; }
6757
6971
fi
6758
6972
 
6762
6976
  ac_ct_OTOOL64=$OTOOL64
6763
6977
  # Extract the first word of "otool64", so it can be a program name with args.
6764
6978
set dummy otool64; ac_word=$2
6765
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766
6980
$as_echo_n "checking for $ac_word... " >&6; }
6767
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6981
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6768
6982
  $as_echo_n "(cached) " >&6
6769
6983
else
6770
6984
  if test -n "$ac_ct_OTOOL64"; then
6775
6989
do
6776
6990
  IFS=$as_save_IFS
6777
6991
  test -z "$as_dir" && as_dir=.
6778
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6992
    for ac_exec_ext in '' $ac_executable_extensions; do
6779
6993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780
6994
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6781
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782
6996
    break 2
6783
6997
  fi
6784
6998
done
6785
 
done
 
6999
  done
6786
7000
IFS=$as_save_IFS
6787
7001
 
6788
7002
fi
6789
7003
fi
6790
7004
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6791
7005
if test -n "$ac_ct_OTOOL64"; then
6792
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6793
7007
$as_echo "$ac_ct_OTOOL64" >&6; }
6794
7008
else
6795
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796
7010
$as_echo "no" >&6; }
6797
7011
fi
6798
7012
 
6801
7015
  else
6802
7016
    case $cross_compiling:$ac_tool_warned in
6803
7017
yes:)
6804
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6805
7019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6806
7020
ac_tool_warned=yes ;;
6807
7021
esac
6837
7051
 
6838
7052
 
6839
7053
 
6840
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7054
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6841
7055
$as_echo_n "checking for -single_module linker flag... " >&6; }
6842
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7056
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6843
7057
  $as_echo_n "(cached) " >&6
6844
7058
else
6845
7059
  lt_cv_apple_cc_single_mod=no
6864
7078
        rm -f conftest.*
6865
7079
      fi
6866
7080
fi
6867
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6868
7082
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6869
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7083
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6870
7084
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6871
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7085
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6872
7086
  $as_echo_n "(cached) " >&6
6873
7087
else
6874
7088
  lt_cv_ld_exported_symbols_list=no
6875
7089
      save_LDFLAGS=$LDFLAGS
6876
7090
      echo "_main" > conftest.sym
6877
7091
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6878
 
      cat >conftest.$ac_ext <<_ACEOF
6879
 
/* confdefs.h.  */
6880
 
_ACEOF
6881
 
cat confdefs.h >>conftest.$ac_ext
6882
 
cat >>conftest.$ac_ext <<_ACEOF
 
7092
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6883
7093
/* end confdefs.h.  */
6884
7094
 
6885
7095
int
6890
7100
  return 0;
6891
7101
}
6892
7102
_ACEOF
6893
 
rm -f conftest.$ac_objext conftest$ac_exeext
6894
 
if { (ac_try="$ac_link"
6895
 
case "(($ac_try" in
6896
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6897
 
  *) ac_try_echo=$ac_try;;
6898
 
esac
6899
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6900
 
$as_echo "$ac_try_echo") >&5
6901
 
  (eval "$ac_link") 2>conftest.er1
6902
 
  ac_status=$?
6903
 
  grep -v '^ *+' conftest.er1 >conftest.err
6904
 
  rm -f conftest.er1
6905
 
  cat conftest.err >&5
6906
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907
 
  (exit $ac_status); } && {
6908
 
         test -z "$ac_c_werror_flag" ||
6909
 
         test ! -s conftest.err
6910
 
       } && test -s conftest$ac_exeext && {
6911
 
         test "$cross_compiling" = yes ||
6912
 
         $as_test_x conftest$ac_exeext
6913
 
       }; then
 
7103
if ac_fn_c_try_link "$LINENO"; then :
6914
7104
  lt_cv_ld_exported_symbols_list=yes
6915
7105
else
6916
 
  $as_echo "$as_me: failed program was:" >&5
6917
 
sed 's/^/| /' conftest.$ac_ext >&5
6918
 
 
6919
 
        lt_cv_ld_exported_symbols_list=no
 
7106
  lt_cv_ld_exported_symbols_list=no
6920
7107
fi
6921
 
 
6922
 
rm -rf conftest.dSYM
6923
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6924
 
      conftest$ac_exeext conftest.$ac_ext
 
7108
rm -f core conftest.err conftest.$ac_objext \
 
7109
    conftest$ac_exeext conftest.$ac_ext
6925
7110
        LDFLAGS="$save_LDFLAGS"
6926
7111
 
6927
7112
fi
6928
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6929
7114
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6930
7115
    case $host_os in
6931
7116
    rhapsody* | darwin1.[012])
6967
7152
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6968
7153
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6969
7154
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6970
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6971
7156
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6972
7157
# On Suns, sometimes $CPP names a directory.
6973
7158
if test -n "$CPP" && test -d "$CPP"; then
6974
7159
  CPP=
6975
7160
fi
6976
7161
if test -z "$CPP"; then
6977
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7162
  if test "${ac_cv_prog_CPP+set}" = set; then :
6978
7163
  $as_echo_n "(cached) " >&6
6979
7164
else
6980
7165
      # Double quotes because CPP needs to be expanded
6989
7174
  # <limits.h> exists even on freestanding compilers.
6990
7175
  # On the NeXT, cc -E runs the code through the compiler's parser,
6991
7176
  # not just through cpp. "Syntax error" is here to catch this case.
6992
 
  cat >conftest.$ac_ext <<_ACEOF
6993
 
/* confdefs.h.  */
6994
 
_ACEOF
6995
 
cat confdefs.h >>conftest.$ac_ext
6996
 
cat >>conftest.$ac_ext <<_ACEOF
 
7177
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997
7178
/* end confdefs.h.  */
6998
7179
#ifdef __STDC__
6999
7180
# include <limits.h>
7002
7183
#endif
7003
7184
                     Syntax error
7004
7185
_ACEOF
7005
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7006
 
case "(($ac_try" in
7007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7008
 
  *) ac_try_echo=$ac_try;;
7009
 
esac
7010
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7011
 
$as_echo "$ac_try_echo") >&5
7012
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7013
 
  ac_status=$?
7014
 
  grep -v '^ *+' conftest.er1 >conftest.err
7015
 
  rm -f conftest.er1
7016
 
  cat conftest.err >&5
7017
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018
 
  (exit $ac_status); } >/dev/null && {
7019
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7020
 
         test ! -s conftest.err
7021
 
       }; then
7022
 
  :
 
7186
if ac_fn_c_try_cpp "$LINENO"; then :
 
7187
 
7023
7188
else
7024
 
  $as_echo "$as_me: failed program was:" >&5
7025
 
sed 's/^/| /' conftest.$ac_ext >&5
7026
 
 
7027
7189
  # Broken: fails on valid input.
7028
7190
continue
7029
7191
fi
7030
 
 
7031
7192
rm -f conftest.err conftest.$ac_ext
7032
7193
 
7033
7194
  # OK, works on sane cases.  Now check whether nonexistent headers
7034
7195
  # can be detected and how.
7035
 
  cat >conftest.$ac_ext <<_ACEOF
7036
 
/* confdefs.h.  */
7037
 
_ACEOF
7038
 
cat confdefs.h >>conftest.$ac_ext
7039
 
cat >>conftest.$ac_ext <<_ACEOF
 
7196
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7040
7197
/* end confdefs.h.  */
7041
7198
#include <ac_nonexistent.h>
7042
7199
_ACEOF
7043
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7044
 
case "(($ac_try" in
7045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7046
 
  *) ac_try_echo=$ac_try;;
7047
 
esac
7048
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7049
 
$as_echo "$ac_try_echo") >&5
7050
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7051
 
  ac_status=$?
7052
 
  grep -v '^ *+' conftest.er1 >conftest.err
7053
 
  rm -f conftest.er1
7054
 
  cat conftest.err >&5
7055
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056
 
  (exit $ac_status); } >/dev/null && {
7057
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7058
 
         test ! -s conftest.err
7059
 
       }; then
 
7200
if ac_fn_c_try_cpp "$LINENO"; then :
7060
7201
  # Broken: success on invalid input.
7061
7202
continue
7062
7203
else
7063
 
  $as_echo "$as_me: failed program was:" >&5
7064
 
sed 's/^/| /' conftest.$ac_ext >&5
7065
 
 
7066
7204
  # Passes both tests.
7067
7205
ac_preproc_ok=:
7068
7206
break
7069
7207
fi
7070
 
 
7071
7208
rm -f conftest.err conftest.$ac_ext
7072
7209
 
7073
7210
done
7074
7211
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7075
7212
rm -f conftest.err conftest.$ac_ext
7076
 
if $ac_preproc_ok; then
 
7213
if $ac_preproc_ok; then :
7077
7214
  break
7078
7215
fi
7079
7216
 
7085
7222
else
7086
7223
  ac_cv_prog_CPP=$CPP
7087
7224
fi
7088
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7089
7226
$as_echo "$CPP" >&6; }
7090
7227
ac_preproc_ok=false
7091
7228
for ac_c_preproc_warn_flag in '' yes
7096
7233
  # <limits.h> exists even on freestanding compilers.
7097
7234
  # On the NeXT, cc -E runs the code through the compiler's parser,
7098
7235
  # not just through cpp. "Syntax error" is here to catch this case.
7099
 
  cat >conftest.$ac_ext <<_ACEOF
7100
 
/* confdefs.h.  */
7101
 
_ACEOF
7102
 
cat confdefs.h >>conftest.$ac_ext
7103
 
cat >>conftest.$ac_ext <<_ACEOF
 
7236
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104
7237
/* end confdefs.h.  */
7105
7238
#ifdef __STDC__
7106
7239
# include <limits.h>
7109
7242
#endif
7110
7243
                     Syntax error
7111
7244
_ACEOF
7112
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7113
 
case "(($ac_try" in
7114
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7115
 
  *) ac_try_echo=$ac_try;;
7116
 
esac
7117
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7118
 
$as_echo "$ac_try_echo") >&5
7119
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7120
 
  ac_status=$?
7121
 
  grep -v '^ *+' conftest.er1 >conftest.err
7122
 
  rm -f conftest.er1
7123
 
  cat conftest.err >&5
7124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125
 
  (exit $ac_status); } >/dev/null && {
7126
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7127
 
         test ! -s conftest.err
7128
 
       }; then
7129
 
  :
 
7245
if ac_fn_c_try_cpp "$LINENO"; then :
 
7246
 
7130
7247
else
7131
 
  $as_echo "$as_me: failed program was:" >&5
7132
 
sed 's/^/| /' conftest.$ac_ext >&5
7133
 
 
7134
7248
  # Broken: fails on valid input.
7135
7249
continue
7136
7250
fi
7137
 
 
7138
7251
rm -f conftest.err conftest.$ac_ext
7139
7252
 
7140
7253
  # OK, works on sane cases.  Now check whether nonexistent headers
7141
7254
  # can be detected and how.
7142
 
  cat >conftest.$ac_ext <<_ACEOF
7143
 
/* confdefs.h.  */
7144
 
_ACEOF
7145
 
cat confdefs.h >>conftest.$ac_ext
7146
 
cat >>conftest.$ac_ext <<_ACEOF
 
7255
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147
7256
/* end confdefs.h.  */
7148
7257
#include <ac_nonexistent.h>
7149
7258
_ACEOF
7150
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7151
 
case "(($ac_try" in
7152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7153
 
  *) ac_try_echo=$ac_try;;
7154
 
esac
7155
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7156
 
$as_echo "$ac_try_echo") >&5
7157
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7158
 
  ac_status=$?
7159
 
  grep -v '^ *+' conftest.er1 >conftest.err
7160
 
  rm -f conftest.er1
7161
 
  cat conftest.err >&5
7162
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163
 
  (exit $ac_status); } >/dev/null && {
7164
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7165
 
         test ! -s conftest.err
7166
 
       }; then
 
7259
if ac_fn_c_try_cpp "$LINENO"; then :
7167
7260
  # Broken: success on invalid input.
7168
7261
continue
7169
7262
else
7170
 
  $as_echo "$as_me: failed program was:" >&5
7171
 
sed 's/^/| /' conftest.$ac_ext >&5
7172
 
 
7173
7263
  # Passes both tests.
7174
7264
ac_preproc_ok=:
7175
7265
break
7176
7266
fi
7177
 
 
7178
7267
rm -f conftest.err conftest.$ac_ext
7179
7268
 
7180
7269
done
7181
7270
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7182
7271
rm -f conftest.err conftest.$ac_ext
7183
 
if $ac_preproc_ok; then
7184
 
  :
 
7272
if $ac_preproc_ok; then :
 
7273
 
7185
7274
else
7186
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7275
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7187
7276
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7188
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7189
 
See \`config.log' for more details." >&5
7190
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7191
 
See \`config.log' for more details." >&2;}
7192
 
   { (exit 1); exit 1; }; }; }
 
7277
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7278
See \`config.log' for more details." "$LINENO" 5; }
7193
7279
fi
7194
7280
 
7195
7281
ac_ext=c
7199
7285
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200
7286
 
7201
7287
 
7202
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7203
7289
$as_echo_n "checking for ANSI C header files... " >&6; }
7204
 
if test "${ac_cv_header_stdc+set}" = set; then
 
7290
if test "${ac_cv_header_stdc+set}" = set; then :
7205
7291
  $as_echo_n "(cached) " >&6
7206
7292
else
7207
 
  cat >conftest.$ac_ext <<_ACEOF
7208
 
/* confdefs.h.  */
7209
 
_ACEOF
7210
 
cat confdefs.h >>conftest.$ac_ext
7211
 
cat >>conftest.$ac_ext <<_ACEOF
 
7293
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212
7294
/* end confdefs.h.  */
7213
7295
#include <stdlib.h>
7214
7296
#include <stdarg.h>
7223
7305
  return 0;
7224
7306
}
7225
7307
_ACEOF
7226
 
rm -f conftest.$ac_objext
7227
 
if { (ac_try="$ac_compile"
7228
 
case "(($ac_try" in
7229
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7230
 
  *) ac_try_echo=$ac_try;;
7231
 
esac
7232
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7233
 
$as_echo "$ac_try_echo") >&5
7234
 
  (eval "$ac_compile") 2>conftest.er1
7235
 
  ac_status=$?
7236
 
  grep -v '^ *+' conftest.er1 >conftest.err
7237
 
  rm -f conftest.er1
7238
 
  cat conftest.err >&5
7239
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240
 
  (exit $ac_status); } && {
7241
 
         test -z "$ac_c_werror_flag" ||
7242
 
         test ! -s conftest.err
7243
 
       } && test -s conftest.$ac_objext; then
 
7308
if ac_fn_c_try_compile "$LINENO"; then :
7244
7309
  ac_cv_header_stdc=yes
7245
7310
else
7246
 
  $as_echo "$as_me: failed program was:" >&5
7247
 
sed 's/^/| /' conftest.$ac_ext >&5
7248
 
 
7249
 
        ac_cv_header_stdc=no
 
7311
  ac_cv_header_stdc=no
7250
7312
fi
7251
 
 
7252
7313
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253
7314
 
7254
7315
if test $ac_cv_header_stdc = yes; then
7255
7316
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7256
 
  cat >conftest.$ac_ext <<_ACEOF
7257
 
/* confdefs.h.  */
7258
 
_ACEOF
7259
 
cat confdefs.h >>conftest.$ac_ext
7260
 
cat >>conftest.$ac_ext <<_ACEOF
 
7317
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261
7318
/* end confdefs.h.  */
7262
7319
#include <string.h>
7263
7320
 
7264
7321
_ACEOF
7265
7322
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266
 
  $EGREP "memchr" >/dev/null 2>&1; then
7267
 
  :
 
7323
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7324
 
7268
7325
else
7269
7326
  ac_cv_header_stdc=no
7270
7327
fi
7274
7331
 
7275
7332
if test $ac_cv_header_stdc = yes; then
7276
7333
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277
 
  cat >conftest.$ac_ext <<_ACEOF
7278
 
/* confdefs.h.  */
7279
 
_ACEOF
7280
 
cat confdefs.h >>conftest.$ac_ext
7281
 
cat >>conftest.$ac_ext <<_ACEOF
 
7334
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282
7335
/* end confdefs.h.  */
7283
7336
#include <stdlib.h>
7284
7337
 
7285
7338
_ACEOF
7286
7339
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7287
 
  $EGREP "free" >/dev/null 2>&1; then
7288
 
  :
 
7340
  $EGREP "free" >/dev/null 2>&1; then :
 
7341
 
7289
7342
else
7290
7343
  ac_cv_header_stdc=no
7291
7344
fi
7295
7348
 
7296
7349
if test $ac_cv_header_stdc = yes; then
7297
7350
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7298
 
  if test "$cross_compiling" = yes; then
 
7351
  if test "$cross_compiling" = yes; then :
7299
7352
  :
7300
7353
else
7301
 
  cat >conftest.$ac_ext <<_ACEOF
7302
 
/* confdefs.h.  */
7303
 
_ACEOF
7304
 
cat confdefs.h >>conftest.$ac_ext
7305
 
cat >>conftest.$ac_ext <<_ACEOF
 
7354
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306
7355
/* end confdefs.h.  */
7307
7356
#include <ctype.h>
7308
7357
#include <stdlib.h>
7329
7378
  return 0;
7330
7379
}
7331
7380
_ACEOF
7332
 
rm -f conftest$ac_exeext
7333
 
if { (ac_try="$ac_link"
7334
 
case "(($ac_try" in
7335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7336
 
  *) ac_try_echo=$ac_try;;
7337
 
esac
7338
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7339
 
$as_echo "$ac_try_echo") >&5
7340
 
  (eval "$ac_link") 2>&5
7341
 
  ac_status=$?
7342
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7344
 
  { (case "(($ac_try" in
7345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7346
 
  *) ac_try_echo=$ac_try;;
7347
 
esac
7348
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7349
 
$as_echo "$ac_try_echo") >&5
7350
 
  (eval "$ac_try") 2>&5
7351
 
  ac_status=$?
7352
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353
 
  (exit $ac_status); }; }; then
7354
 
  :
 
7381
if ac_fn_c_try_run "$LINENO"; then :
 
7382
 
7355
7383
else
7356
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7357
 
$as_echo "$as_me: failed program was:" >&5
7358
 
sed 's/^/| /' conftest.$ac_ext >&5
7359
 
 
7360
 
( exit $ac_status )
7361
 
ac_cv_header_stdc=no
7362
 
fi
7363
 
rm -rf conftest.dSYM
7364
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7365
 
fi
7366
 
 
7367
 
 
7368
 
fi
7369
 
fi
7370
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7384
  ac_cv_header_stdc=no
 
7385
fi
 
7386
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7387
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7388
fi
 
7389
 
 
7390
fi
 
7391
fi
 
7392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7371
7393
$as_echo "$ac_cv_header_stdc" >&6; }
7372
7394
if test $ac_cv_header_stdc = yes; then
7373
7395
 
7374
 
cat >>confdefs.h <<\_ACEOF
7375
 
#define STDC_HEADERS 1
7376
 
_ACEOF
 
7396
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7377
7397
 
7378
7398
fi
7379
7399
 
7380
7400
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7381
 
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
 
 
7390
7401
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7391
7402
                  inttypes.h stdint.h unistd.h
7392
 
do
7393
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7394
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7395
 
$as_echo_n "checking for $ac_header... " >&6; }
7396
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7397
 
  $as_echo_n "(cached) " >&6
7398
 
else
7399
 
  cat >conftest.$ac_ext <<_ACEOF
7400
 
/* confdefs.h.  */
7401
 
_ACEOF
7402
 
cat confdefs.h >>conftest.$ac_ext
7403
 
cat >>conftest.$ac_ext <<_ACEOF
7404
 
/* end confdefs.h.  */
7405
 
$ac_includes_default
7406
 
 
7407
 
#include <$ac_header>
7408
 
_ACEOF
7409
 
rm -f conftest.$ac_objext
7410
 
if { (ac_try="$ac_compile"
7411
 
case "(($ac_try" in
7412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7413
 
  *) ac_try_echo=$ac_try;;
7414
 
esac
7415
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7416
 
$as_echo "$ac_try_echo") >&5
7417
 
  (eval "$ac_compile") 2>conftest.er1
7418
 
  ac_status=$?
7419
 
  grep -v '^ *+' conftest.er1 >conftest.err
7420
 
  rm -f conftest.er1
7421
 
  cat conftest.err >&5
7422
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423
 
  (exit $ac_status); } && {
7424
 
         test -z "$ac_c_werror_flag" ||
7425
 
         test ! -s conftest.err
7426
 
       } && test -s conftest.$ac_objext; then
7427
 
  eval "$as_ac_Header=yes"
7428
 
else
7429
 
  $as_echo "$as_me: failed program was:" >&5
7430
 
sed 's/^/| /' conftest.$ac_ext >&5
7431
 
 
7432
 
        eval "$as_ac_Header=no"
7433
 
fi
7434
 
 
7435
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7436
 
fi
7437
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7438
 
                 $as_echo "$as_val"'`
7439
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7440
 
$as_echo "$ac_res" >&6; }
7441
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7442
 
                 $as_echo "$as_val"'`
7443
 
   if test "x$as_val" = x""yes; then
 
7403
do :
 
7404
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7405
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7406
"
 
7407
eval as_val=\$$as_ac_Header
 
7408
   if test "x$as_val" = x""yes; then :
7444
7409
  cat >>confdefs.h <<_ACEOF
7445
7410
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7446
7411
_ACEOF
7450
7415
done
7451
7416
 
7452
7417
 
7453
 
 
7454
7418
for ac_header in dlfcn.h
7455
 
do
7456
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7458
 
$as_echo_n "checking for $ac_header... " >&6; }
7459
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7460
 
  $as_echo_n "(cached) " >&6
7461
 
else
7462
 
  cat >conftest.$ac_ext <<_ACEOF
7463
 
/* confdefs.h.  */
7464
 
_ACEOF
7465
 
cat confdefs.h >>conftest.$ac_ext
7466
 
cat >>conftest.$ac_ext <<_ACEOF
7467
 
/* end confdefs.h.  */
7468
 
$ac_includes_default
7469
 
 
7470
 
#include <$ac_header>
7471
 
_ACEOF
7472
 
rm -f conftest.$ac_objext
7473
 
if { (ac_try="$ac_compile"
7474
 
case "(($ac_try" in
7475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7476
 
  *) ac_try_echo=$ac_try;;
7477
 
esac
7478
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7479
 
$as_echo "$ac_try_echo") >&5
7480
 
  (eval "$ac_compile") 2>conftest.er1
7481
 
  ac_status=$?
7482
 
  grep -v '^ *+' conftest.er1 >conftest.err
7483
 
  rm -f conftest.er1
7484
 
  cat conftest.err >&5
7485
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486
 
  (exit $ac_status); } && {
7487
 
         test -z "$ac_c_werror_flag" ||
7488
 
         test ! -s conftest.err
7489
 
       } && test -s conftest.$ac_objext; then
7490
 
  eval "$as_ac_Header=yes"
7491
 
else
7492
 
  $as_echo "$as_me: failed program was:" >&5
7493
 
sed 's/^/| /' conftest.$ac_ext >&5
7494
 
 
7495
 
        eval "$as_ac_Header=no"
7496
 
fi
7497
 
 
7498
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7499
 
fi
7500
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7501
 
                 $as_echo "$as_val"'`
7502
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7503
 
$as_echo "$ac_res" >&6; }
7504
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7505
 
                 $as_echo "$as_val"'`
7506
 
   if test "x$as_val" = x""yes; then
 
7419
do :
 
7420
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7421
"
 
7422
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7507
7423
  cat >>confdefs.h <<_ACEOF
7508
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7424
#define HAVE_DLFCN_H 1
7509
7425
_ACEOF
7510
7426
 
7511
7427
fi
7528
7444
  do
7529
7445
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7530
7446
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7531
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532
7448
$as_echo_n "checking for $ac_word... " >&6; }
7533
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
7449
if test "${ac_cv_prog_CXX+set}" = set; then :
7534
7450
  $as_echo_n "(cached) " >&6
7535
7451
else
7536
7452
  if test -n "$CXX"; then
7541
7457
do
7542
7458
  IFS=$as_save_IFS
7543
7459
  test -z "$as_dir" && as_dir=.
7544
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7460
    for ac_exec_ext in '' $ac_executable_extensions; do
7545
7461
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546
7462
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7547
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7463
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548
7464
    break 2
7549
7465
  fi
7550
7466
done
7551
 
done
 
7467
  done
7552
7468
IFS=$as_save_IFS
7553
7469
 
7554
7470
fi
7555
7471
fi
7556
7472
CXX=$ac_cv_prog_CXX
7557
7473
if test -n "$CXX"; then
7558
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
7474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7559
7475
$as_echo "$CXX" >&6; }
7560
7476
else
7561
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562
7478
$as_echo "no" >&6; }
7563
7479
fi
7564
7480
 
7572
7488
do
7573
7489
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7574
7490
set dummy $ac_prog; ac_word=$2
7575
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576
7492
$as_echo_n "checking for $ac_word... " >&6; }
7577
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
7493
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7578
7494
  $as_echo_n "(cached) " >&6
7579
7495
else
7580
7496
  if test -n "$ac_ct_CXX"; then
7585
7501
do
7586
7502
  IFS=$as_save_IFS
7587
7503
  test -z "$as_dir" && as_dir=.
7588
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7504
    for ac_exec_ext in '' $ac_executable_extensions; do
7589
7505
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590
7506
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7591
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7507
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592
7508
    break 2
7593
7509
  fi
7594
7510
done
7595
 
done
 
7511
  done
7596
7512
IFS=$as_save_IFS
7597
7513
 
7598
7514
fi
7599
7515
fi
7600
7516
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7601
7517
if test -n "$ac_ct_CXX"; then
7602
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
7518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7603
7519
$as_echo "$ac_ct_CXX" >&6; }
7604
7520
else
7605
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606
7522
$as_echo "no" >&6; }
7607
7523
fi
7608
7524
 
7615
7531
  else
7616
7532
    case $cross_compiling:$ac_tool_warned in
7617
7533
yes:)
7618
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7534
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7619
7535
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7620
7536
ac_tool_warned=yes ;;
7621
7537
esac
7626
7542
  fi
7627
7543
fi
7628
7544
# Provide some information about the compiler.
7629
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
7545
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7630
7546
set X $ac_compile
7631
7547
ac_compiler=$2
7632
 
{ (ac_try="$ac_compiler --version >&5"
7633
 
case "(($ac_try" in
7634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7635
 
  *) ac_try_echo=$ac_try;;
7636
 
esac
7637
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7638
 
$as_echo "$ac_try_echo") >&5
7639
 
  (eval "$ac_compiler --version >&5") 2>&5
7640
 
  ac_status=$?
7641
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642
 
  (exit $ac_status); }
7643
 
{ (ac_try="$ac_compiler -v >&5"
7644
 
case "(($ac_try" in
7645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646
 
  *) ac_try_echo=$ac_try;;
7647
 
esac
7648
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7649
 
$as_echo "$ac_try_echo") >&5
7650
 
  (eval "$ac_compiler -v >&5") 2>&5
7651
 
  ac_status=$?
7652
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653
 
  (exit $ac_status); }
7654
 
{ (ac_try="$ac_compiler -V >&5"
7655
 
case "(($ac_try" in
7656
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7657
 
  *) ac_try_echo=$ac_try;;
7658
 
esac
7659
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7660
 
$as_echo "$ac_try_echo") >&5
7661
 
  (eval "$ac_compiler -V >&5") 2>&5
7662
 
  ac_status=$?
7663
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664
 
  (exit $ac_status); }
 
7548
for ac_option in --version -v -V -qversion; do
 
7549
  { { ac_try="$ac_compiler $ac_option >&5"
 
7550
case "(($ac_try" in
 
7551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7552
  *) ac_try_echo=$ac_try;;
 
7553
esac
 
7554
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
7555
$as_echo "$ac_try_echo"; } >&5
 
7556
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
7557
  ac_status=$?
 
7558
  if test -s conftest.err; then
 
7559
    sed '10a\
 
7560
... rest of stderr output deleted ...
 
7561
         10q' conftest.err >conftest.er1
 
7562
    cat conftest.er1 >&5
 
7563
  fi
 
7564
  rm -f conftest.er1 conftest.err
 
7565
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7566
  test $ac_status = 0; }
 
7567
done
7665
7568
 
7666
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
7569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7667
7570
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7668
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
7571
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7669
7572
  $as_echo_n "(cached) " >&6
7670
7573
else
7671
 
  cat >conftest.$ac_ext <<_ACEOF
7672
 
/* confdefs.h.  */
7673
 
_ACEOF
7674
 
cat confdefs.h >>conftest.$ac_ext
7675
 
cat >>conftest.$ac_ext <<_ACEOF
 
7574
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676
7575
/* end confdefs.h.  */
7677
7576
 
7678
7577
int
7686
7585
  return 0;
7687
7586
}
7688
7587
_ACEOF
7689
 
rm -f conftest.$ac_objext
7690
 
if { (ac_try="$ac_compile"
7691
 
case "(($ac_try" in
7692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7693
 
  *) ac_try_echo=$ac_try;;
7694
 
esac
7695
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7696
 
$as_echo "$ac_try_echo") >&5
7697
 
  (eval "$ac_compile") 2>conftest.er1
7698
 
  ac_status=$?
7699
 
  grep -v '^ *+' conftest.er1 >conftest.err
7700
 
  rm -f conftest.er1
7701
 
  cat conftest.err >&5
7702
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703
 
  (exit $ac_status); } && {
7704
 
         test -z "$ac_cxx_werror_flag" ||
7705
 
         test ! -s conftest.err
7706
 
       } && test -s conftest.$ac_objext; then
 
7588
if ac_fn_cxx_try_compile "$LINENO"; then :
7707
7589
  ac_compiler_gnu=yes
7708
7590
else
7709
 
  $as_echo "$as_me: failed program was:" >&5
7710
 
sed 's/^/| /' conftest.$ac_ext >&5
7711
 
 
7712
 
        ac_compiler_gnu=no
 
7591
  ac_compiler_gnu=no
7713
7592
fi
7714
 
 
7715
7593
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7716
7594
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7717
7595
 
7718
7596
fi
7719
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
7597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7720
7598
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7721
7599
if test $ac_compiler_gnu = yes; then
7722
7600
  GXX=yes
7725
7603
fi
7726
7604
ac_test_CXXFLAGS=${CXXFLAGS+set}
7727
7605
ac_save_CXXFLAGS=$CXXFLAGS
7728
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
7606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7729
7607
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7730
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
7608
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7731
7609
  $as_echo_n "(cached) " >&6
7732
7610
else
7733
7611
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7734
7612
   ac_cxx_werror_flag=yes
7735
7613
   ac_cv_prog_cxx_g=no
7736
7614
   CXXFLAGS="-g"
7737
 
   cat >conftest.$ac_ext <<_ACEOF
7738
 
/* confdefs.h.  */
7739
 
_ACEOF
7740
 
cat confdefs.h >>conftest.$ac_ext
7741
 
cat >>conftest.$ac_ext <<_ACEOF
 
7615
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742
7616
/* end confdefs.h.  */
7743
7617
 
7744
7618
int
7749
7623
  return 0;
7750
7624
}
7751
7625
_ACEOF
7752
 
rm -f conftest.$ac_objext
7753
 
if { (ac_try="$ac_compile"
7754
 
case "(($ac_try" in
7755
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7756
 
  *) ac_try_echo=$ac_try;;
7757
 
esac
7758
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7759
 
$as_echo "$ac_try_echo") >&5
7760
 
  (eval "$ac_compile") 2>conftest.er1
7761
 
  ac_status=$?
7762
 
  grep -v '^ *+' conftest.er1 >conftest.err
7763
 
  rm -f conftest.er1
7764
 
  cat conftest.err >&5
7765
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766
 
  (exit $ac_status); } && {
7767
 
         test -z "$ac_cxx_werror_flag" ||
7768
 
         test ! -s conftest.err
7769
 
       } && test -s conftest.$ac_objext; then
 
7626
if ac_fn_cxx_try_compile "$LINENO"; then :
7770
7627
  ac_cv_prog_cxx_g=yes
7771
7628
else
7772
 
  $as_echo "$as_me: failed program was:" >&5
7773
 
sed 's/^/| /' conftest.$ac_ext >&5
7774
 
 
7775
 
        CXXFLAGS=""
7776
 
      cat >conftest.$ac_ext <<_ACEOF
7777
 
/* confdefs.h.  */
7778
 
_ACEOF
7779
 
cat confdefs.h >>conftest.$ac_ext
7780
 
cat >>conftest.$ac_ext <<_ACEOF
 
7629
  CXXFLAGS=""
 
7630
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781
7631
/* end confdefs.h.  */
7782
7632
 
7783
7633
int
7788
7638
  return 0;
7789
7639
}
7790
7640
_ACEOF
7791
 
rm -f conftest.$ac_objext
7792
 
if { (ac_try="$ac_compile"
7793
 
case "(($ac_try" in
7794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7795
 
  *) ac_try_echo=$ac_try;;
7796
 
esac
7797
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7798
 
$as_echo "$ac_try_echo") >&5
7799
 
  (eval "$ac_compile") 2>conftest.er1
7800
 
  ac_status=$?
7801
 
  grep -v '^ *+' conftest.er1 >conftest.err
7802
 
  rm -f conftest.er1
7803
 
  cat conftest.err >&5
7804
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805
 
  (exit $ac_status); } && {
7806
 
         test -z "$ac_cxx_werror_flag" ||
7807
 
         test ! -s conftest.err
7808
 
       } && test -s conftest.$ac_objext; then
7809
 
  :
 
7641
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7642
 
7810
7643
else
7811
 
  $as_echo "$as_me: failed program was:" >&5
7812
 
sed 's/^/| /' conftest.$ac_ext >&5
7813
 
 
7814
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7644
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7815
7645
         CXXFLAGS="-g"
7816
 
         cat >conftest.$ac_ext <<_ACEOF
7817
 
/* confdefs.h.  */
7818
 
_ACEOF
7819
 
cat confdefs.h >>conftest.$ac_ext
7820
 
cat >>conftest.$ac_ext <<_ACEOF
 
7646
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821
7647
/* end confdefs.h.  */
7822
7648
 
7823
7649
int
7828
7654
  return 0;
7829
7655
}
7830
7656
_ACEOF
7831
 
rm -f conftest.$ac_objext
7832
 
if { (ac_try="$ac_compile"
7833
 
case "(($ac_try" in
7834
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7835
 
  *) ac_try_echo=$ac_try;;
7836
 
esac
7837
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7838
 
$as_echo "$ac_try_echo") >&5
7839
 
  (eval "$ac_compile") 2>conftest.er1
7840
 
  ac_status=$?
7841
 
  grep -v '^ *+' conftest.er1 >conftest.err
7842
 
  rm -f conftest.er1
7843
 
  cat conftest.err >&5
7844
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845
 
  (exit $ac_status); } && {
7846
 
         test -z "$ac_cxx_werror_flag" ||
7847
 
         test ! -s conftest.err
7848
 
       } && test -s conftest.$ac_objext; then
 
7657
if ac_fn_cxx_try_compile "$LINENO"; then :
7849
7658
  ac_cv_prog_cxx_g=yes
7850
 
else
7851
 
  $as_echo "$as_me: failed program was:" >&5
7852
 
sed 's/^/| /' conftest.$ac_ext >&5
7853
 
 
7854
 
 
7855
 
fi
7856
 
 
7857
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7858
 
fi
7859
 
 
7860
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7861
 
fi
7862
 
 
 
7659
fi
 
7660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7661
fi
 
7662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7663
fi
7863
7664
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7864
7665
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7865
7666
fi
7866
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
7667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7867
7668
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7868
7669
if test "$ac_test_CXXFLAGS" = set; then
7869
7670
  CXXFLAGS=$ac_save_CXXFLAGS
7888
7689
 
7889
7690
depcc="$CXX"  am_compiler_list=
7890
7691
 
7891
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7892
7693
$as_echo_n "checking dependency style of $depcc... " >&6; }
7893
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
7694
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7894
7695
  $as_echo_n "(cached) " >&6
7895
7696
else
7896
7697
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7916
7717
  if test "$am_compiler_list" = ""; then
7917
7718
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7918
7719
  fi
 
7720
  am__universal=false
 
7721
  case " $depcc " in #(
 
7722
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
7723
     esac
 
7724
 
7919
7725
  for depmode in $am_compiler_list; do
7920
7726
    # Setup a source with many dependencies, because some compilers
7921
7727
    # like to wrap large dependency lists on column 80 (with \), and
7933
7739
    done
7934
7740
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7935
7741
 
 
7742
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7743
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7744
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
7745
    # versions had trouble with output in subdirs
 
7746
    am__obj=sub/conftest.${OBJEXT-o}
 
7747
    am__minus_obj="-o $am__obj"
7936
7748
    case $depmode in
 
7749
    gcc)
 
7750
      # This depmode causes a compiler race in universal mode.
 
7751
      test "$am__universal" = false || continue
 
7752
      ;;
7937
7753
    nosideeffect)
7938
7754
      # after this tag, mechanisms are not by side-effect, so they'll
7939
7755
      # only be used when explicitly requested
7943
7759
        break
7944
7760
      fi
7945
7761
      ;;
 
7762
    msvisualcpp | msvcmsys)
 
7763
      # This compiler won't grok `-c -o', but also, the minuso test has
 
7764
      # not run yet.  These depmodes are late enough in the game, and
 
7765
      # so weak that their functioning should not be impacted.
 
7766
      am__obj=conftest.${OBJEXT-o}
 
7767
      am__minus_obj=
 
7768
      ;;
7946
7769
    none) break ;;
7947
7770
    esac
7948
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7949
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7950
 
    # handle `-M -o', and we need to detect this.
7951
7771
    if depmode=$depmode \
7952
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
7772
       source=sub/conftest.c object=$am__obj \
7953
7773
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7954
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
7774
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7955
7775
         >/dev/null 2>conftest.err &&
7956
7776
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7957
7777
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7958
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
7778
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7959
7779
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7960
7780
      # icc doesn't choke on unknown options, it will just issue warnings
7961
7781
      # or remarks (even with -Werror).  So we grep stderr for any message
7979
7799
fi
7980
7800
 
7981
7801
fi
7982
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7983
7803
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7984
7804
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7985
7805
 
8002
7822
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8003
7823
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8004
7824
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8005
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
7825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8006
7826
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8007
7827
if test -z "$CXXCPP"; then
8008
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
7828
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8009
7829
  $as_echo_n "(cached) " >&6
8010
7830
else
8011
7831
      # Double quotes because CXXCPP needs to be expanded
8020
7840
  # <limits.h> exists even on freestanding compilers.
8021
7841
  # On the NeXT, cc -E runs the code through the compiler's parser,
8022
7842
  # not just through cpp. "Syntax error" is here to catch this case.
8023
 
  cat >conftest.$ac_ext <<_ACEOF
8024
 
/* confdefs.h.  */
8025
 
_ACEOF
8026
 
cat confdefs.h >>conftest.$ac_ext
8027
 
cat >>conftest.$ac_ext <<_ACEOF
 
7843
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028
7844
/* end confdefs.h.  */
8029
7845
#ifdef __STDC__
8030
7846
# include <limits.h>
8033
7849
#endif
8034
7850
                     Syntax error
8035
7851
_ACEOF
8036
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8037
 
case "(($ac_try" in
8038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8039
 
  *) ac_try_echo=$ac_try;;
8040
 
esac
8041
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8042
 
$as_echo "$ac_try_echo") >&5
8043
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8044
 
  ac_status=$?
8045
 
  grep -v '^ *+' conftest.er1 >conftest.err
8046
 
  rm -f conftest.er1
8047
 
  cat conftest.err >&5
8048
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049
 
  (exit $ac_status); } >/dev/null && {
8050
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8051
 
         test ! -s conftest.err
8052
 
       }; then
8053
 
  :
 
7852
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
7853
 
8054
7854
else
8055
 
  $as_echo "$as_me: failed program was:" >&5
8056
 
sed 's/^/| /' conftest.$ac_ext >&5
8057
 
 
8058
7855
  # Broken: fails on valid input.
8059
7856
continue
8060
7857
fi
8061
 
 
8062
7858
rm -f conftest.err conftest.$ac_ext
8063
7859
 
8064
7860
  # OK, works on sane cases.  Now check whether nonexistent headers
8065
7861
  # can be detected and how.
8066
 
  cat >conftest.$ac_ext <<_ACEOF
8067
 
/* confdefs.h.  */
8068
 
_ACEOF
8069
 
cat confdefs.h >>conftest.$ac_ext
8070
 
cat >>conftest.$ac_ext <<_ACEOF
 
7862
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8071
7863
/* end confdefs.h.  */
8072
7864
#include <ac_nonexistent.h>
8073
7865
_ACEOF
8074
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8075
 
case "(($ac_try" in
8076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8077
 
  *) ac_try_echo=$ac_try;;
8078
 
esac
8079
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8080
 
$as_echo "$ac_try_echo") >&5
8081
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8082
 
  ac_status=$?
8083
 
  grep -v '^ *+' conftest.er1 >conftest.err
8084
 
  rm -f conftest.er1
8085
 
  cat conftest.err >&5
8086
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087
 
  (exit $ac_status); } >/dev/null && {
8088
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8089
 
         test ! -s conftest.err
8090
 
       }; then
 
7866
if ac_fn_cxx_try_cpp "$LINENO"; then :
8091
7867
  # Broken: success on invalid input.
8092
7868
continue
8093
7869
else
8094
 
  $as_echo "$as_me: failed program was:" >&5
8095
 
sed 's/^/| /' conftest.$ac_ext >&5
8096
 
 
8097
7870
  # Passes both tests.
8098
7871
ac_preproc_ok=:
8099
7872
break
8100
7873
fi
8101
 
 
8102
7874
rm -f conftest.err conftest.$ac_ext
8103
7875
 
8104
7876
done
8105
7877
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8106
7878
rm -f conftest.err conftest.$ac_ext
8107
 
if $ac_preproc_ok; then
 
7879
if $ac_preproc_ok; then :
8108
7880
  break
8109
7881
fi
8110
7882
 
8116
7888
else
8117
7889
  ac_cv_prog_CXXCPP=$CXXCPP
8118
7890
fi
8119
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8120
7892
$as_echo "$CXXCPP" >&6; }
8121
7893
ac_preproc_ok=false
8122
7894
for ac_cxx_preproc_warn_flag in '' yes
8127
7899
  # <limits.h> exists even on freestanding compilers.
8128
7900
  # On the NeXT, cc -E runs the code through the compiler's parser,
8129
7901
  # not just through cpp. "Syntax error" is here to catch this case.
8130
 
  cat >conftest.$ac_ext <<_ACEOF
8131
 
/* confdefs.h.  */
8132
 
_ACEOF
8133
 
cat confdefs.h >>conftest.$ac_ext
8134
 
cat >>conftest.$ac_ext <<_ACEOF
 
7902
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135
7903
/* end confdefs.h.  */
8136
7904
#ifdef __STDC__
8137
7905
# include <limits.h>
8140
7908
#endif
8141
7909
                     Syntax error
8142
7910
_ACEOF
8143
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8144
 
case "(($ac_try" in
8145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8146
 
  *) ac_try_echo=$ac_try;;
8147
 
esac
8148
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8149
 
$as_echo "$ac_try_echo") >&5
8150
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8151
 
  ac_status=$?
8152
 
  grep -v '^ *+' conftest.er1 >conftest.err
8153
 
  rm -f conftest.er1
8154
 
  cat conftest.err >&5
8155
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156
 
  (exit $ac_status); } >/dev/null && {
8157
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8158
 
         test ! -s conftest.err
8159
 
       }; then
8160
 
  :
 
7911
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
7912
 
8161
7913
else
8162
 
  $as_echo "$as_me: failed program was:" >&5
8163
 
sed 's/^/| /' conftest.$ac_ext >&5
8164
 
 
8165
7914
  # Broken: fails on valid input.
8166
7915
continue
8167
7916
fi
8168
 
 
8169
7917
rm -f conftest.err conftest.$ac_ext
8170
7918
 
8171
7919
  # OK, works on sane cases.  Now check whether nonexistent headers
8172
7920
  # can be detected and how.
8173
 
  cat >conftest.$ac_ext <<_ACEOF
8174
 
/* confdefs.h.  */
8175
 
_ACEOF
8176
 
cat confdefs.h >>conftest.$ac_ext
8177
 
cat >>conftest.$ac_ext <<_ACEOF
 
7921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178
7922
/* end confdefs.h.  */
8179
7923
#include <ac_nonexistent.h>
8180
7924
_ACEOF
8181
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8182
 
case "(($ac_try" in
8183
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8184
 
  *) ac_try_echo=$ac_try;;
8185
 
esac
8186
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8187
 
$as_echo "$ac_try_echo") >&5
8188
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8189
 
  ac_status=$?
8190
 
  grep -v '^ *+' conftest.er1 >conftest.err
8191
 
  rm -f conftest.er1
8192
 
  cat conftest.err >&5
8193
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194
 
  (exit $ac_status); } >/dev/null && {
8195
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8196
 
         test ! -s conftest.err
8197
 
       }; then
 
7925
if ac_fn_cxx_try_cpp "$LINENO"; then :
8198
7926
  # Broken: success on invalid input.
8199
7927
continue
8200
7928
else
8201
 
  $as_echo "$as_me: failed program was:" >&5
8202
 
sed 's/^/| /' conftest.$ac_ext >&5
8203
 
 
8204
7929
  # Passes both tests.
8205
7930
ac_preproc_ok=:
8206
7931
break
8207
7932
fi
8208
 
 
8209
7933
rm -f conftest.err conftest.$ac_ext
8210
7934
 
8211
7935
done
8212
7936
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8213
7937
rm -f conftest.err conftest.$ac_ext
8214
 
if $ac_preproc_ok; then
8215
 
  :
 
7938
if $ac_preproc_ok; then :
 
7939
 
8216
7940
else
8217
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7941
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8218
7942
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8219
7943
_lt_caught_CXX_error=yes; }
8220
7944
fi
8244
7968
 
8245
7969
 
8246
7970
            # Check whether --enable-shared was given.
8247
 
if test "${enable_shared+set}" = set; then
 
7971
if test "${enable_shared+set}" = set; then :
8248
7972
  enableval=$enable_shared; p=${PACKAGE-default}
8249
7973
    case $enableval in
8250
7974
    yes) enable_shared=yes ;;
8275
7999
 
8276
8000
 
8277
8001
  # Check whether --enable-static was given.
8278
 
if test "${enable_static+set}" = set; then
 
8002
if test "${enable_static+set}" = set; then :
8279
8003
  enableval=$enable_static; p=${PACKAGE-default}
8280
8004
    case $enableval in
8281
8005
    yes) enable_static=yes ;;
8307
8031
 
8308
8032
 
8309
8033
# Check whether --with-pic was given.
8310
 
if test "${with_pic+set}" = set; then
 
8034
if test "${with_pic+set}" = set; then :
8311
8035
  withval=$with_pic; pic_mode="$withval"
8312
8036
else
8313
8037
  pic_mode=default
8323
8047
 
8324
8048
 
8325
8049
  # Check whether --enable-fast-install was given.
8326
 
if test "${enable_fast_install+set}" = set; then
 
8050
if test "${enable_fast_install+set}" = set; then :
8327
8051
  enableval=$enable_fast_install; p=${PACKAGE-default}
8328
8052
    case $enableval in
8329
8053
    yes) enable_fast_install=yes ;;
8404
8128
   setopt NO_GLOB_SUBST
8405
8129
fi
8406
8130
 
8407
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8408
8132
$as_echo_n "checking for objdir... " >&6; }
8409
 
if test "${lt_cv_objdir+set}" = set; then
 
8133
if test "${lt_cv_objdir+set}" = set; then :
8410
8134
  $as_echo_n "(cached) " >&6
8411
8135
else
8412
8136
  rm -f .libs 2>/dev/null
8419
8143
fi
8420
8144
rmdir .libs 2>/dev/null
8421
8145
fi
8422
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8423
8147
$as_echo "$lt_cv_objdir" >&6; }
8424
8148
objdir=$lt_cv_objdir
8425
8149
 
8512
8236
case $deplibs_check_method in
8513
8237
file_magic*)
8514
8238
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8515
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8239
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8516
8240
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8517
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8241
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8518
8242
  $as_echo_n "(cached) " >&6
8519
8243
else
8520
8244
  case $MAGIC_CMD in
8565
8289
 
8566
8290
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567
8291
if test -n "$MAGIC_CMD"; then
8568
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8569
8293
$as_echo "$MAGIC_CMD" >&6; }
8570
8294
else
8571
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572
8296
$as_echo "no" >&6; }
8573
8297
fi
8574
8298
 
8578
8302
 
8579
8303
if test -z "$lt_cv_path_MAGIC_CMD"; then
8580
8304
  if test -n "$ac_tool_prefix"; then
8581
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8305
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8582
8306
$as_echo_n "checking for file... " >&6; }
8583
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8307
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8584
8308
  $as_echo_n "(cached) " >&6
8585
8309
else
8586
8310
  case $MAGIC_CMD in
8631
8355
 
8632
8356
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8633
8357
if test -n "$MAGIC_CMD"; then
8634
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8635
8359
$as_echo "$MAGIC_CMD" >&6; }
8636
8360
else
8637
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8638
8362
$as_echo "no" >&6; }
8639
8363
fi
8640
8364
 
8711
8435
if test "$GCC" = yes; then
8712
8436
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8713
8437
 
8714
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8438
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8715
8439
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8716
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8440
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8717
8441
  $as_echo_n "(cached) " >&6
8718
8442
else
8719
8443
  lt_cv_prog_compiler_rtti_exceptions=no
8729
8453
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730
8454
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731
8455
   -e 's:$: $lt_compiler_flag:'`
8732
 
   (eval echo "\"\$as_me:8732: $lt_compile\"" >&5)
 
8456
   (eval echo "\"\$as_me:8456: $lt_compile\"" >&5)
8733
8457
   (eval "$lt_compile" 2>conftest.err)
8734
8458
   ac_status=$?
8735
8459
   cat conftest.err >&5
8736
 
   echo "$as_me:8736: \$? = $ac_status" >&5
 
8460
   echo "$as_me:8460: \$? = $ac_status" >&5
8737
8461
   if (exit $ac_status) && test -s "$ac_outfile"; then
8738
8462
     # The compiler can only warn and ignore the option if not recognized
8739
8463
     # So say no if there are warnings other than the usual output.
8746
8470
   $RM conftest*
8747
8471
 
8748
8472
fi
8749
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8750
8474
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8751
8475
 
8752
8476
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8766
8490
lt_prog_compiler_pic=
8767
8491
lt_prog_compiler_static=
8768
8492
 
8769
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8770
8494
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8771
8495
 
8772
8496
  if test "$GCC" = yes; then
9038
8762
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9039
8763
    ;;
9040
8764
esac
9041
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9042
8766
$as_echo "$lt_prog_compiler_pic" >&6; }
9043
8767
 
9044
8768
 
9050
8774
# Check to make sure the PIC flag actually works.
9051
8775
#
9052
8776
if test -n "$lt_prog_compiler_pic"; then
9053
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8777
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9054
8778
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9055
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8779
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9056
8780
  $as_echo_n "(cached) " >&6
9057
8781
else
9058
8782
  lt_cv_prog_compiler_pic_works=no
9068
8792
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9069
8793
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9070
8794
   -e 's:$: $lt_compiler_flag:'`
9071
 
   (eval echo "\"\$as_me:9071: $lt_compile\"" >&5)
 
8795
   (eval echo "\"\$as_me:8795: $lt_compile\"" >&5)
9072
8796
   (eval "$lt_compile" 2>conftest.err)
9073
8797
   ac_status=$?
9074
8798
   cat conftest.err >&5
9075
 
   echo "$as_me:9075: \$? = $ac_status" >&5
 
8799
   echo "$as_me:8799: \$? = $ac_status" >&5
9076
8800
   if (exit $ac_status) && test -s "$ac_outfile"; then
9077
8801
     # The compiler can only warn and ignore the option if not recognized
9078
8802
     # So say no if there are warnings other than the usual output.
9085
8809
   $RM conftest*
9086
8810
 
9087
8811
fi
9088
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9089
8813
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9090
8814
 
9091
8815
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9109
8833
# Check to make sure the static flag actually works.
9110
8834
#
9111
8835
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9112
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9113
8837
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9114
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8838
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9115
8839
  $as_echo_n "(cached) " >&6
9116
8840
else
9117
8841
  lt_cv_prog_compiler_static_works=no
9137
8861
   LDFLAGS="$save_LDFLAGS"
9138
8862
 
9139
8863
fi
9140
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9141
8865
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9142
8866
 
9143
8867
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9152
8876
 
9153
8877
 
9154
8878
 
9155
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9156
8880
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9157
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8881
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9158
8882
  $as_echo_n "(cached) " >&6
9159
8883
else
9160
8884
  lt_cv_prog_compiler_c_o=no
9173
8897
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9174
8898
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9175
8899
   -e 's:$: $lt_compiler_flag:'`
9176
 
   (eval echo "\"\$as_me:9176: $lt_compile\"" >&5)
 
8900
   (eval echo "\"\$as_me:8900: $lt_compile\"" >&5)
9177
8901
   (eval "$lt_compile" 2>out/conftest.err)
9178
8902
   ac_status=$?
9179
8903
   cat out/conftest.err >&5
9180
 
   echo "$as_me:9180: \$? = $ac_status" >&5
 
8904
   echo "$as_me:8904: \$? = $ac_status" >&5
9181
8905
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9182
8906
   then
9183
8907
     # The compiler can only warn and ignore the option if not recognized
9199
8923
   $RM conftest*
9200
8924
 
9201
8925
fi
9202
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9203
8927
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9204
8928
 
9205
8929
 
9207
8931
 
9208
8932
 
9209
8933
 
9210
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9211
8935
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9212
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8936
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9213
8937
  $as_echo_n "(cached) " >&6
9214
8938
else
9215
8939
  lt_cv_prog_compiler_c_o=no
9228
8952
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9229
8953
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9230
8954
   -e 's:$: $lt_compiler_flag:'`
9231
 
   (eval echo "\"\$as_me:9231: $lt_compile\"" >&5)
 
8955
   (eval echo "\"\$as_me:8955: $lt_compile\"" >&5)
9232
8956
   (eval "$lt_compile" 2>out/conftest.err)
9233
8957
   ac_status=$?
9234
8958
   cat out/conftest.err >&5
9235
 
   echo "$as_me:9235: \$? = $ac_status" >&5
 
8959
   echo "$as_me:8959: \$? = $ac_status" >&5
9236
8960
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9237
8961
   then
9238
8962
     # The compiler can only warn and ignore the option if not recognized
9254
8978
   $RM conftest*
9255
8979
 
9256
8980
fi
9257
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9258
8982
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9259
8983
 
9260
8984
 
9263
8987
hard_links="nottested"
9264
8988
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9265
8989
  # do not overwrite the value of need_locks provided by the user
9266
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8990
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9267
8991
$as_echo_n "checking if we can lock with hard links... " >&6; }
9268
8992
  hard_links=yes
9269
8993
  $RM conftest*
9271
8995
  touch conftest.a
9272
8996
  ln conftest.a conftest.b 2>&5 || hard_links=no
9273
8997
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9274
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8998
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9275
8999
$as_echo "$hard_links" >&6; }
9276
9000
  if test "$hard_links" = no; then
9277
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9001
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9278
9002
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9279
9003
    need_locks=warn
9280
9004
  fi
9287
9011
 
9288
9012
 
9289
9013
 
9290
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9014
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9291
9015
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9292
9016
 
9293
9017
  runpath_var=
9729
9453
        allow_undefined_flag='-berok'
9730
9454
        # Determine the default libpath from the value encoded in an
9731
9455
        # empty executable.
9732
 
        cat >conftest.$ac_ext <<_ACEOF
9733
 
/* confdefs.h.  */
9734
 
_ACEOF
9735
 
cat confdefs.h >>conftest.$ac_ext
9736
 
cat >>conftest.$ac_ext <<_ACEOF
 
9456
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737
9457
/* end confdefs.h.  */
9738
9458
 
9739
9459
int
9744
9464
  return 0;
9745
9465
}
9746
9466
_ACEOF
9747
 
rm -f conftest.$ac_objext conftest$ac_exeext
9748
 
if { (ac_try="$ac_link"
9749
 
case "(($ac_try" in
9750
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751
 
  *) ac_try_echo=$ac_try;;
9752
 
esac
9753
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9754
 
$as_echo "$ac_try_echo") >&5
9755
 
  (eval "$ac_link") 2>conftest.er1
9756
 
  ac_status=$?
9757
 
  grep -v '^ *+' conftest.er1 >conftest.err
9758
 
  rm -f conftest.er1
9759
 
  cat conftest.err >&5
9760
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761
 
  (exit $ac_status); } && {
9762
 
         test -z "$ac_c_werror_flag" ||
9763
 
         test ! -s conftest.err
9764
 
       } && test -s conftest$ac_exeext && {
9765
 
         test "$cross_compiling" = yes ||
9766
 
         $as_test_x conftest$ac_exeext
9767
 
       }; then
 
9467
if ac_fn_c_try_link "$LINENO"; then :
9768
9468
 
9769
9469
lt_aix_libpath_sed='
9770
9470
    /Import File Strings/,/^$/ {
9778
9478
if test -z "$aix_libpath"; then
9779
9479
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9780
9480
fi
9781
 
else
9782
 
  $as_echo "$as_me: failed program was:" >&5
9783
 
sed 's/^/| /' conftest.$ac_ext >&5
9784
 
 
9785
 
 
9786
9481
fi
9787
 
 
9788
 
rm -rf conftest.dSYM
9789
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9790
 
      conftest$ac_exeext conftest.$ac_ext
 
9482
rm -f core conftest.err conftest.$ac_objext \
 
9483
    conftest$ac_exeext conftest.$ac_ext
9791
9484
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9792
9485
 
9793
9486
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9800
9493
        else
9801
9494
         # Determine the default libpath from the value encoded in an
9802
9495
         # empty executable.
9803
 
         cat >conftest.$ac_ext <<_ACEOF
9804
 
/* confdefs.h.  */
9805
 
_ACEOF
9806
 
cat confdefs.h >>conftest.$ac_ext
9807
 
cat >>conftest.$ac_ext <<_ACEOF
 
9496
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808
9497
/* end confdefs.h.  */
9809
9498
 
9810
9499
int
9815
9504
  return 0;
9816
9505
}
9817
9506
_ACEOF
9818
 
rm -f conftest.$ac_objext conftest$ac_exeext
9819
 
if { (ac_try="$ac_link"
9820
 
case "(($ac_try" in
9821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9822
 
  *) ac_try_echo=$ac_try;;
9823
 
esac
9824
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9825
 
$as_echo "$ac_try_echo") >&5
9826
 
  (eval "$ac_link") 2>conftest.er1
9827
 
  ac_status=$?
9828
 
  grep -v '^ *+' conftest.er1 >conftest.err
9829
 
  rm -f conftest.er1
9830
 
  cat conftest.err >&5
9831
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832
 
  (exit $ac_status); } && {
9833
 
         test -z "$ac_c_werror_flag" ||
9834
 
         test ! -s conftest.err
9835
 
       } && test -s conftest$ac_exeext && {
9836
 
         test "$cross_compiling" = yes ||
9837
 
         $as_test_x conftest$ac_exeext
9838
 
       }; then
 
9507
if ac_fn_c_try_link "$LINENO"; then :
9839
9508
 
9840
9509
lt_aix_libpath_sed='
9841
9510
    /Import File Strings/,/^$/ {
9849
9518
if test -z "$aix_libpath"; then
9850
9519
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9851
9520
fi
9852
 
else
9853
 
  $as_echo "$as_me: failed program was:" >&5
9854
 
sed 's/^/| /' conftest.$ac_ext >&5
9855
 
 
9856
 
 
9857
9521
fi
9858
 
 
9859
 
rm -rf conftest.dSYM
9860
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9861
 
      conftest$ac_exeext conftest.$ac_ext
 
9522
rm -f core conftest.err conftest.$ac_objext \
 
9523
    conftest$ac_exeext conftest.$ac_ext
9862
9524
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9863
9525
 
9864
9526
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10070
9732
        # implicitly export all symbols.
10071
9733
        save_LDFLAGS="$LDFLAGS"
10072
9734
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10073
 
        cat >conftest.$ac_ext <<_ACEOF
 
9735
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9736
/* end confdefs.h.  */
10074
9737
int foo(void) {}
10075
9738
_ACEOF
10076
 
rm -f conftest.$ac_objext conftest$ac_exeext
10077
 
if { (ac_try="$ac_link"
10078
 
case "(($ac_try" in
10079
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10080
 
  *) ac_try_echo=$ac_try;;
10081
 
esac
10082
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10083
 
$as_echo "$ac_try_echo") >&5
10084
 
  (eval "$ac_link") 2>conftest.er1
10085
 
  ac_status=$?
10086
 
  grep -v '^ *+' conftest.er1 >conftest.err
10087
 
  rm -f conftest.er1
10088
 
  cat conftest.err >&5
10089
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090
 
  (exit $ac_status); } && {
10091
 
         test -z "$ac_c_werror_flag" ||
10092
 
         test ! -s conftest.err
10093
 
       } && test -s conftest$ac_exeext && {
10094
 
         test "$cross_compiling" = yes ||
10095
 
         $as_test_x conftest$ac_exeext
10096
 
       }; then
 
9739
if ac_fn_c_try_link "$LINENO"; then :
10097
9740
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10098
9741
 
10099
 
else
10100
 
  $as_echo "$as_me: failed program was:" >&5
10101
 
sed 's/^/| /' conftest.$ac_ext >&5
10102
 
 
10103
 
 
10104
9742
fi
10105
 
 
10106
 
rm -rf conftest.dSYM
10107
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10108
 
      conftest$ac_exeext conftest.$ac_ext
 
9743
rm -f core conftest.err conftest.$ac_objext \
 
9744
    conftest$ac_exeext conftest.$ac_ext
10109
9745
        LDFLAGS="$save_LDFLAGS"
10110
9746
      else
10111
9747
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10361
9997
    fi
10362
9998
  fi
10363
9999
 
10364
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10365
10001
$as_echo "$ld_shlibs" >&6; }
10366
10002
test "$ld_shlibs" = no && can_build_shared=no
10367
10003
 
10398
10034
      # Test whether the compiler implicitly links with -lc since on some
10399
10035
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10400
10036
      # to ld, don't add -lc before -lgcc.
10401
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10037
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10402
10038
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10403
10039
      $RM conftest*
10404
10040
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10405
10041
 
10406
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10042
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10407
10043
  (eval $ac_compile) 2>&5
10408
10044
  ac_status=$?
10409
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410
 
  (exit $ac_status); } 2>conftest.err; then
 
10045
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10046
  test $ac_status = 0; } 2>conftest.err; then
10411
10047
        soname=conftest
10412
10048
        lib=conftest
10413
10049
        libobjs=conftest.$ac_objext
10421
10057
        libname=conftest
10422
10058
        lt_save_allow_undefined_flag=$allow_undefined_flag
10423
10059
        allow_undefined_flag=
10424
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10060
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10425
10061
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10426
10062
  ac_status=$?
10427
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428
 
  (exit $ac_status); }
 
10063
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10064
  test $ac_status = 0; }
10429
10065
        then
10430
10066
          archive_cmds_need_lc=no
10431
10067
        else
10436
10072
        cat conftest.err 1>&5
10437
10073
      fi
10438
10074
      $RM conftest*
10439
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10075
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10440
10076
$as_echo "$archive_cmds_need_lc" >&6; }
10441
10077
      ;;
10442
10078
    esac
10600
10236
 
10601
10237
 
10602
10238
 
10603
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10239
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10604
10240
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10605
10241
 
10606
10242
if test "$GCC" = yes; then
11035
10671
  save_libdir=$libdir
11036
10672
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11037
10673
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11038
 
  cat >conftest.$ac_ext <<_ACEOF
11039
 
/* confdefs.h.  */
11040
 
_ACEOF
11041
 
cat confdefs.h >>conftest.$ac_ext
11042
 
cat >>conftest.$ac_ext <<_ACEOF
 
10674
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043
10675
/* end confdefs.h.  */
11044
10676
 
11045
10677
int
11050
10682
  return 0;
11051
10683
}
11052
10684
_ACEOF
11053
 
rm -f conftest.$ac_objext conftest$ac_exeext
11054
 
if { (ac_try="$ac_link"
11055
 
case "(($ac_try" in
11056
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11057
 
  *) ac_try_echo=$ac_try;;
11058
 
esac
11059
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11060
 
$as_echo "$ac_try_echo") >&5
11061
 
  (eval "$ac_link") 2>conftest.er1
11062
 
  ac_status=$?
11063
 
  grep -v '^ *+' conftest.er1 >conftest.err
11064
 
  rm -f conftest.er1
11065
 
  cat conftest.err >&5
11066
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067
 
  (exit $ac_status); } && {
11068
 
         test -z "$ac_c_werror_flag" ||
11069
 
         test ! -s conftest.err
11070
 
       } && test -s conftest$ac_exeext && {
11071
 
         test "$cross_compiling" = yes ||
11072
 
         $as_test_x conftest$ac_exeext
11073
 
       }; then
11074
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10685
if ac_fn_c_try_link "$LINENO"; then :
 
10686
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11075
10687
  shlibpath_overrides_runpath=yes
11076
10688
fi
11077
 
 
11078
 
else
11079
 
  $as_echo "$as_me: failed program was:" >&5
11080
 
sed 's/^/| /' conftest.$ac_ext >&5
11081
 
 
11082
 
 
11083
10689
fi
11084
 
 
11085
 
rm -rf conftest.dSYM
11086
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11087
 
      conftest$ac_exeext conftest.$ac_ext
 
10690
rm -f core conftest.err conftest.$ac_objext \
 
10691
    conftest$ac_exeext conftest.$ac_ext
11088
10692
  LDFLAGS=$save_LDFLAGS
11089
10693
  libdir=$save_libdir
11090
10694
 
11296
10900
  dynamic_linker=no
11297
10901
  ;;
11298
10902
esac
11299
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11300
10904
$as_echo "$dynamic_linker" >&6; }
11301
10905
test "$dynamic_linker" = no && can_build_shared=no
11302
10906
 
11398
11002
 
11399
11003
 
11400
11004
 
11401
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11005
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11402
11006
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11403
11007
hardcode_action=
11404
11008
if test -n "$hardcode_libdir_flag_spec" ||
11423
11027
  # directories.
11424
11028
  hardcode_action=unsupported
11425
11029
fi
11426
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11427
11031
$as_echo "$hardcode_action" >&6; }
11428
11032
 
11429
11033
if test "$hardcode_action" = relink ||
11468
11072
 
11469
11073
  darwin*)
11470
11074
  # if libdl is installed we need to link against it
11471
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11075
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11472
11076
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11473
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11077
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11474
11078
  $as_echo_n "(cached) " >&6
11475
11079
else
11476
11080
  ac_check_lib_save_LIBS=$LIBS
11477
11081
LIBS="-ldl  $LIBS"
11478
 
cat >conftest.$ac_ext <<_ACEOF
11479
 
/* confdefs.h.  */
11480
 
_ACEOF
11481
 
cat confdefs.h >>conftest.$ac_ext
11482
 
cat >>conftest.$ac_ext <<_ACEOF
 
11082
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483
11083
/* end confdefs.h.  */
11484
11084
 
11485
11085
/* Override any GCC internal prototype to avoid an error.
11497
11097
  return 0;
11498
11098
}
11499
11099
_ACEOF
11500
 
rm -f conftest.$ac_objext conftest$ac_exeext
11501
 
if { (ac_try="$ac_link"
11502
 
case "(($ac_try" in
11503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11504
 
  *) ac_try_echo=$ac_try;;
11505
 
esac
11506
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11507
 
$as_echo "$ac_try_echo") >&5
11508
 
  (eval "$ac_link") 2>conftest.er1
11509
 
  ac_status=$?
11510
 
  grep -v '^ *+' conftest.er1 >conftest.err
11511
 
  rm -f conftest.er1
11512
 
  cat conftest.err >&5
11513
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514
 
  (exit $ac_status); } && {
11515
 
         test -z "$ac_c_werror_flag" ||
11516
 
         test ! -s conftest.err
11517
 
       } && test -s conftest$ac_exeext && {
11518
 
         test "$cross_compiling" = yes ||
11519
 
         $as_test_x conftest$ac_exeext
11520
 
       }; then
 
11100
if ac_fn_c_try_link "$LINENO"; then :
11521
11101
  ac_cv_lib_dl_dlopen=yes
11522
11102
else
11523
 
  $as_echo "$as_me: failed program was:" >&5
11524
 
sed 's/^/| /' conftest.$ac_ext >&5
11525
 
 
11526
 
        ac_cv_lib_dl_dlopen=no
 
11103
  ac_cv_lib_dl_dlopen=no
11527
11104
fi
11528
 
 
11529
 
rm -rf conftest.dSYM
11530
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11531
 
      conftest$ac_exeext conftest.$ac_ext
 
11105
rm -f core conftest.err conftest.$ac_objext \
 
11106
    conftest$ac_exeext conftest.$ac_ext
11532
11107
LIBS=$ac_check_lib_save_LIBS
11533
11108
fi
11534
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11535
11110
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11536
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11111
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11537
11112
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11538
11113
else
11539
11114
 
11546
11121
    ;;
11547
11122
 
11548
11123
  *)
11549
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11550
 
$as_echo_n "checking for shl_load... " >&6; }
11551
 
if test "${ac_cv_func_shl_load+set}" = set; then
11552
 
  $as_echo_n "(cached) " >&6
11553
 
else
11554
 
  cat >conftest.$ac_ext <<_ACEOF
11555
 
/* confdefs.h.  */
11556
 
_ACEOF
11557
 
cat confdefs.h >>conftest.$ac_ext
11558
 
cat >>conftest.$ac_ext <<_ACEOF
11559
 
/* end confdefs.h.  */
11560
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11561
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11562
 
#define shl_load innocuous_shl_load
11563
 
 
11564
 
/* System header to define __stub macros and hopefully few prototypes,
11565
 
    which can conflict with char shl_load (); below.
11566
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11567
 
    <limits.h> exists even on freestanding compilers.  */
11568
 
 
11569
 
#ifdef __STDC__
11570
 
# include <limits.h>
11571
 
#else
11572
 
# include <assert.h>
11573
 
#endif
11574
 
 
11575
 
#undef shl_load
11576
 
 
11577
 
/* Override any GCC internal prototype to avoid an error.
11578
 
   Use char because int might match the return type of a GCC
11579
 
   builtin and then its argument prototype would still apply.  */
11580
 
#ifdef __cplusplus
11581
 
extern "C"
11582
 
#endif
11583
 
char shl_load ();
11584
 
/* The GNU C library defines this for functions which it implements
11585
 
    to always fail with ENOSYS.  Some functions are actually named
11586
 
    something starting with __ and the normal name is an alias.  */
11587
 
#if defined __stub_shl_load || defined __stub___shl_load
11588
 
choke me
11589
 
#endif
11590
 
 
11591
 
int
11592
 
main ()
11593
 
{
11594
 
return shl_load ();
11595
 
  ;
11596
 
  return 0;
11597
 
}
11598
 
_ACEOF
11599
 
rm -f conftest.$ac_objext conftest$ac_exeext
11600
 
if { (ac_try="$ac_link"
11601
 
case "(($ac_try" in
11602
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11603
 
  *) ac_try_echo=$ac_try;;
11604
 
esac
11605
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11606
 
$as_echo "$ac_try_echo") >&5
11607
 
  (eval "$ac_link") 2>conftest.er1
11608
 
  ac_status=$?
11609
 
  grep -v '^ *+' conftest.er1 >conftest.err
11610
 
  rm -f conftest.er1
11611
 
  cat conftest.err >&5
11612
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613
 
  (exit $ac_status); } && {
11614
 
         test -z "$ac_c_werror_flag" ||
11615
 
         test ! -s conftest.err
11616
 
       } && test -s conftest$ac_exeext && {
11617
 
         test "$cross_compiling" = yes ||
11618
 
         $as_test_x conftest$ac_exeext
11619
 
       }; then
11620
 
  ac_cv_func_shl_load=yes
11621
 
else
11622
 
  $as_echo "$as_me: failed program was:" >&5
11623
 
sed 's/^/| /' conftest.$ac_ext >&5
11624
 
 
11625
 
        ac_cv_func_shl_load=no
11626
 
fi
11627
 
 
11628
 
rm -rf conftest.dSYM
11629
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11630
 
      conftest$ac_exeext conftest.$ac_ext
11631
 
fi
11632
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11633
 
$as_echo "$ac_cv_func_shl_load" >&6; }
11634
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11124
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11125
if test "x$ac_cv_func_shl_load" = x""yes; then :
11635
11126
  lt_cv_dlopen="shl_load"
11636
11127
else
11637
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11128
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11638
11129
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11639
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11130
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11640
11131
  $as_echo_n "(cached) " >&6
11641
11132
else
11642
11133
  ac_check_lib_save_LIBS=$LIBS
11643
11134
LIBS="-ldld  $LIBS"
11644
 
cat >conftest.$ac_ext <<_ACEOF
11645
 
/* confdefs.h.  */
11646
 
_ACEOF
11647
 
cat confdefs.h >>conftest.$ac_ext
11648
 
cat >>conftest.$ac_ext <<_ACEOF
 
11135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649
11136
/* end confdefs.h.  */
11650
11137
 
11651
11138
/* Override any GCC internal prototype to avoid an error.
11663
11150
  return 0;
11664
11151
}
11665
11152
_ACEOF
11666
 
rm -f conftest.$ac_objext conftest$ac_exeext
11667
 
if { (ac_try="$ac_link"
11668
 
case "(($ac_try" in
11669
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670
 
  *) ac_try_echo=$ac_try;;
11671
 
esac
11672
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11673
 
$as_echo "$ac_try_echo") >&5
11674
 
  (eval "$ac_link") 2>conftest.er1
11675
 
  ac_status=$?
11676
 
  grep -v '^ *+' conftest.er1 >conftest.err
11677
 
  rm -f conftest.er1
11678
 
  cat conftest.err >&5
11679
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680
 
  (exit $ac_status); } && {
11681
 
         test -z "$ac_c_werror_flag" ||
11682
 
         test ! -s conftest.err
11683
 
       } && test -s conftest$ac_exeext && {
11684
 
         test "$cross_compiling" = yes ||
11685
 
         $as_test_x conftest$ac_exeext
11686
 
       }; then
 
11153
if ac_fn_c_try_link "$LINENO"; then :
11687
11154
  ac_cv_lib_dld_shl_load=yes
11688
11155
else
11689
 
  $as_echo "$as_me: failed program was:" >&5
11690
 
sed 's/^/| /' conftest.$ac_ext >&5
11691
 
 
11692
 
        ac_cv_lib_dld_shl_load=no
 
11156
  ac_cv_lib_dld_shl_load=no
11693
11157
fi
11694
 
 
11695
 
rm -rf conftest.dSYM
11696
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11697
 
      conftest$ac_exeext conftest.$ac_ext
 
11158
rm -f core conftest.err conftest.$ac_objext \
 
11159
    conftest$ac_exeext conftest.$ac_ext
11698
11160
LIBS=$ac_check_lib_save_LIBS
11699
11161
fi
11700
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11701
11163
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11702
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11164
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11703
11165
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11704
11166
else
11705
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11706
 
$as_echo_n "checking for dlopen... " >&6; }
11707
 
if test "${ac_cv_func_dlopen+set}" = set; then
11708
 
  $as_echo_n "(cached) " >&6
11709
 
else
11710
 
  cat >conftest.$ac_ext <<_ACEOF
11711
 
/* confdefs.h.  */
11712
 
_ACEOF
11713
 
cat confdefs.h >>conftest.$ac_ext
11714
 
cat >>conftest.$ac_ext <<_ACEOF
11715
 
/* end confdefs.h.  */
11716
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11717
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11718
 
#define dlopen innocuous_dlopen
11719
 
 
11720
 
/* System header to define __stub macros and hopefully few prototypes,
11721
 
    which can conflict with char dlopen (); below.
11722
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11723
 
    <limits.h> exists even on freestanding compilers.  */
11724
 
 
11725
 
#ifdef __STDC__
11726
 
# include <limits.h>
11727
 
#else
11728
 
# include <assert.h>
11729
 
#endif
11730
 
 
11731
 
#undef dlopen
11732
 
 
11733
 
/* Override any GCC internal prototype to avoid an error.
11734
 
   Use char because int might match the return type of a GCC
11735
 
   builtin and then its argument prototype would still apply.  */
11736
 
#ifdef __cplusplus
11737
 
extern "C"
11738
 
#endif
11739
 
char dlopen ();
11740
 
/* The GNU C library defines this for functions which it implements
11741
 
    to always fail with ENOSYS.  Some functions are actually named
11742
 
    something starting with __ and the normal name is an alias.  */
11743
 
#if defined __stub_dlopen || defined __stub___dlopen
11744
 
choke me
11745
 
#endif
11746
 
 
11747
 
int
11748
 
main ()
11749
 
{
11750
 
return dlopen ();
11751
 
  ;
11752
 
  return 0;
11753
 
}
11754
 
_ACEOF
11755
 
rm -f conftest.$ac_objext conftest$ac_exeext
11756
 
if { (ac_try="$ac_link"
11757
 
case "(($ac_try" in
11758
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11759
 
  *) ac_try_echo=$ac_try;;
11760
 
esac
11761
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11762
 
$as_echo "$ac_try_echo") >&5
11763
 
  (eval "$ac_link") 2>conftest.er1
11764
 
  ac_status=$?
11765
 
  grep -v '^ *+' conftest.er1 >conftest.err
11766
 
  rm -f conftest.er1
11767
 
  cat conftest.err >&5
11768
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769
 
  (exit $ac_status); } && {
11770
 
         test -z "$ac_c_werror_flag" ||
11771
 
         test ! -s conftest.err
11772
 
       } && test -s conftest$ac_exeext && {
11773
 
         test "$cross_compiling" = yes ||
11774
 
         $as_test_x conftest$ac_exeext
11775
 
       }; then
11776
 
  ac_cv_func_dlopen=yes
11777
 
else
11778
 
  $as_echo "$as_me: failed program was:" >&5
11779
 
sed 's/^/| /' conftest.$ac_ext >&5
11780
 
 
11781
 
        ac_cv_func_dlopen=no
11782
 
fi
11783
 
 
11784
 
rm -rf conftest.dSYM
11785
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11786
 
      conftest$ac_exeext conftest.$ac_ext
11787
 
fi
11788
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11789
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11790
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11167
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11168
if test "x$ac_cv_func_dlopen" = x""yes; then :
11791
11169
  lt_cv_dlopen="dlopen"
11792
11170
else
11793
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11171
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11794
11172
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11795
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11173
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11796
11174
  $as_echo_n "(cached) " >&6
11797
11175
else
11798
11176
  ac_check_lib_save_LIBS=$LIBS
11799
11177
LIBS="-ldl  $LIBS"
11800
 
cat >conftest.$ac_ext <<_ACEOF
11801
 
/* confdefs.h.  */
11802
 
_ACEOF
11803
 
cat confdefs.h >>conftest.$ac_ext
11804
 
cat >>conftest.$ac_ext <<_ACEOF
 
11178
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805
11179
/* end confdefs.h.  */
11806
11180
 
11807
11181
/* Override any GCC internal prototype to avoid an error.
11819
11193
  return 0;
11820
11194
}
11821
11195
_ACEOF
11822
 
rm -f conftest.$ac_objext conftest$ac_exeext
11823
 
if { (ac_try="$ac_link"
11824
 
case "(($ac_try" in
11825
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11826
 
  *) ac_try_echo=$ac_try;;
11827
 
esac
11828
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11829
 
$as_echo "$ac_try_echo") >&5
11830
 
  (eval "$ac_link") 2>conftest.er1
11831
 
  ac_status=$?
11832
 
  grep -v '^ *+' conftest.er1 >conftest.err
11833
 
  rm -f conftest.er1
11834
 
  cat conftest.err >&5
11835
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836
 
  (exit $ac_status); } && {
11837
 
         test -z "$ac_c_werror_flag" ||
11838
 
         test ! -s conftest.err
11839
 
       } && test -s conftest$ac_exeext && {
11840
 
         test "$cross_compiling" = yes ||
11841
 
         $as_test_x conftest$ac_exeext
11842
 
       }; then
 
11196
if ac_fn_c_try_link "$LINENO"; then :
11843
11197
  ac_cv_lib_dl_dlopen=yes
11844
11198
else
11845
 
  $as_echo "$as_me: failed program was:" >&5
11846
 
sed 's/^/| /' conftest.$ac_ext >&5
11847
 
 
11848
 
        ac_cv_lib_dl_dlopen=no
 
11199
  ac_cv_lib_dl_dlopen=no
11849
11200
fi
11850
 
 
11851
 
rm -rf conftest.dSYM
11852
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11853
 
      conftest$ac_exeext conftest.$ac_ext
 
11201
rm -f core conftest.err conftest.$ac_objext \
 
11202
    conftest$ac_exeext conftest.$ac_ext
11854
11203
LIBS=$ac_check_lib_save_LIBS
11855
11204
fi
11856
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11857
11206
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11858
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11207
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11859
11208
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11860
11209
else
11861
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11862
11211
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11863
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11212
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11864
11213
  $as_echo_n "(cached) " >&6
11865
11214
else
11866
11215
  ac_check_lib_save_LIBS=$LIBS
11867
11216
LIBS="-lsvld  $LIBS"
11868
 
cat >conftest.$ac_ext <<_ACEOF
11869
 
/* confdefs.h.  */
11870
 
_ACEOF
11871
 
cat confdefs.h >>conftest.$ac_ext
11872
 
cat >>conftest.$ac_ext <<_ACEOF
 
11217
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873
11218
/* end confdefs.h.  */
11874
11219
 
11875
11220
/* Override any GCC internal prototype to avoid an error.
11887
11232
  return 0;
11888
11233
}
11889
11234
_ACEOF
11890
 
rm -f conftest.$ac_objext conftest$ac_exeext
11891
 
if { (ac_try="$ac_link"
11892
 
case "(($ac_try" in
11893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11894
 
  *) ac_try_echo=$ac_try;;
11895
 
esac
11896
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11897
 
$as_echo "$ac_try_echo") >&5
11898
 
  (eval "$ac_link") 2>conftest.er1
11899
 
  ac_status=$?
11900
 
  grep -v '^ *+' conftest.er1 >conftest.err
11901
 
  rm -f conftest.er1
11902
 
  cat conftest.err >&5
11903
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904
 
  (exit $ac_status); } && {
11905
 
         test -z "$ac_c_werror_flag" ||
11906
 
         test ! -s conftest.err
11907
 
       } && test -s conftest$ac_exeext && {
11908
 
         test "$cross_compiling" = yes ||
11909
 
         $as_test_x conftest$ac_exeext
11910
 
       }; then
 
11235
if ac_fn_c_try_link "$LINENO"; then :
11911
11236
  ac_cv_lib_svld_dlopen=yes
11912
11237
else
11913
 
  $as_echo "$as_me: failed program was:" >&5
11914
 
sed 's/^/| /' conftest.$ac_ext >&5
11915
 
 
11916
 
        ac_cv_lib_svld_dlopen=no
 
11238
  ac_cv_lib_svld_dlopen=no
11917
11239
fi
11918
 
 
11919
 
rm -rf conftest.dSYM
11920
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11921
 
      conftest$ac_exeext conftest.$ac_ext
 
11240
rm -f core conftest.err conftest.$ac_objext \
 
11241
    conftest$ac_exeext conftest.$ac_ext
11922
11242
LIBS=$ac_check_lib_save_LIBS
11923
11243
fi
11924
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11925
11245
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11926
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11246
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11927
11247
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11928
11248
else
11929
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11249
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11930
11250
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11931
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11251
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11932
11252
  $as_echo_n "(cached) " >&6
11933
11253
else
11934
11254
  ac_check_lib_save_LIBS=$LIBS
11935
11255
LIBS="-ldld  $LIBS"
11936
 
cat >conftest.$ac_ext <<_ACEOF
11937
 
/* confdefs.h.  */
11938
 
_ACEOF
11939
 
cat confdefs.h >>conftest.$ac_ext
11940
 
cat >>conftest.$ac_ext <<_ACEOF
 
11256
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941
11257
/* end confdefs.h.  */
11942
11258
 
11943
11259
/* Override any GCC internal prototype to avoid an error.
11955
11271
  return 0;
11956
11272
}
11957
11273
_ACEOF
11958
 
rm -f conftest.$ac_objext conftest$ac_exeext
11959
 
if { (ac_try="$ac_link"
11960
 
case "(($ac_try" in
11961
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962
 
  *) ac_try_echo=$ac_try;;
11963
 
esac
11964
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11965
 
$as_echo "$ac_try_echo") >&5
11966
 
  (eval "$ac_link") 2>conftest.er1
11967
 
  ac_status=$?
11968
 
  grep -v '^ *+' conftest.er1 >conftest.err
11969
 
  rm -f conftest.er1
11970
 
  cat conftest.err >&5
11971
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972
 
  (exit $ac_status); } && {
11973
 
         test -z "$ac_c_werror_flag" ||
11974
 
         test ! -s conftest.err
11975
 
       } && test -s conftest$ac_exeext && {
11976
 
         test "$cross_compiling" = yes ||
11977
 
         $as_test_x conftest$ac_exeext
11978
 
       }; then
 
11274
if ac_fn_c_try_link "$LINENO"; then :
11979
11275
  ac_cv_lib_dld_dld_link=yes
11980
11276
else
11981
 
  $as_echo "$as_me: failed program was:" >&5
11982
 
sed 's/^/| /' conftest.$ac_ext >&5
11983
 
 
11984
 
        ac_cv_lib_dld_dld_link=no
 
11277
  ac_cv_lib_dld_dld_link=no
11985
11278
fi
11986
 
 
11987
 
rm -rf conftest.dSYM
11988
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11989
 
      conftest$ac_exeext conftest.$ac_ext
 
11279
rm -f core conftest.err conftest.$ac_objext \
 
11280
    conftest$ac_exeext conftest.$ac_ext
11990
11281
LIBS=$ac_check_lib_save_LIBS
11991
11282
fi
11992
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11993
11284
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11994
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11285
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11995
11286
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11996
11287
fi
11997
11288
 
12030
11321
    save_LIBS="$LIBS"
12031
11322
    LIBS="$lt_cv_dlopen_libs $LIBS"
12032
11323
 
12033
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11324
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12034
11325
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12035
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11326
if test "${lt_cv_dlopen_self+set}" = set; then :
12036
11327
  $as_echo_n "(cached) " >&6
12037
11328
else
12038
11329
          if test "$cross_compiling" = yes; then :
12041
11332
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12042
11333
  lt_status=$lt_dlunknown
12043
11334
  cat > conftest.$ac_ext <<_LT_EOF
12044
 
#line 12044 "configure"
 
11335
#line 11335 "configure"
12045
11336
#include "confdefs.h"
12046
11337
 
12047
11338
#if HAVE_DLFCN_H
12100
11391
  return status;
12101
11392
}
12102
11393
_LT_EOF
12103
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11394
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12104
11395
  (eval $ac_link) 2>&5
12105
11396
  ac_status=$?
12106
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11397
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11398
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12108
11399
    (./conftest; exit; ) >&5 2>/dev/null
12109
11400
    lt_status=$?
12110
11401
    case x$lt_status in
12121
11412
 
12122
11413
 
12123
11414
fi
12124
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12125
11416
$as_echo "$lt_cv_dlopen_self" >&6; }
12126
11417
 
12127
11418
    if test "x$lt_cv_dlopen_self" = xyes; then
12128
11419
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12129
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11420
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12130
11421
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12131
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11422
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12132
11423
  $as_echo_n "(cached) " >&6
12133
11424
else
12134
11425
          if test "$cross_compiling" = yes; then :
12137
11428
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12138
11429
  lt_status=$lt_dlunknown
12139
11430
  cat > conftest.$ac_ext <<_LT_EOF
12140
 
#line 12140 "configure"
 
11431
#line 11431 "configure"
12141
11432
#include "confdefs.h"
12142
11433
 
12143
11434
#if HAVE_DLFCN_H
12196
11487
  return status;
12197
11488
}
12198
11489
_LT_EOF
12199
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11490
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12200
11491
  (eval $ac_link) 2>&5
12201
11492
  ac_status=$?
12202
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11493
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11494
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12204
11495
    (./conftest; exit; ) >&5 2>/dev/null
12205
11496
    lt_status=$?
12206
11497
    case x$lt_status in
12217
11508
 
12218
11509
 
12219
11510
fi
12220
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12221
11512
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12222
11513
    fi
12223
11514
 
12256
11547
 
12257
11548
striplib=
12258
11549
old_striplib=
12259
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12260
11551
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12261
11552
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12262
11553
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12263
11554
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12264
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12265
11556
$as_echo "yes" >&6; }
12266
11557
else
12267
11558
# FIXME - insert some real tests, host_os isn't really good enough
12270
11561
    if test -n "$STRIP" ; then
12271
11562
      striplib="$STRIP -x"
12272
11563
      old_striplib="$STRIP -S"
12273
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11564
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12274
11565
$as_echo "yes" >&6; }
12275
11566
    else
12276
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11567
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277
11568
$as_echo "no" >&6; }
12278
11569
    fi
12279
11570
    ;;
12280
11571
  *)
12281
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11572
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282
11573
$as_echo "no" >&6; }
12283
11574
    ;;
12284
11575
  esac
12296
11587
 
12297
11588
 
12298
11589
  # Report which library types will actually be built
12299
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11590
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12300
11591
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12301
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12302
11593
$as_echo "$can_build_shared" >&6; }
12303
11594
 
12304
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11595
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12305
11596
$as_echo_n "checking whether to build shared libraries... " >&6; }
12306
11597
  test "$can_build_shared" = "no" && enable_shared=no
12307
11598
 
12322
11613
    fi
12323
11614
    ;;
12324
11615
  esac
12325
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12326
11617
$as_echo "$enable_shared" >&6; }
12327
11618
 
12328
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11619
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12329
11620
$as_echo_n "checking whether to build static libraries... " >&6; }
12330
11621
  # Make sure either enable_shared or enable_static is yes.
12331
11622
  test "$enable_shared" = yes || enable_static=yes
12332
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12333
11624
$as_echo "$enable_static" >&6; }
12334
11625
 
12335
11626
 
12470
11761
 
12471
11762
 
12472
11763
# Check whether --with-gnu-ld was given.
12473
 
if test "${with_gnu_ld+set}" = set; then
 
11764
if test "${with_gnu_ld+set}" = set; then :
12474
11765
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12475
11766
else
12476
11767
  with_gnu_ld=no
12479
11770
ac_prog=ld
12480
11771
if test "$GCC" = yes; then
12481
11772
  # Check if gcc -print-prog-name=ld gives a path.
12482
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11773
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12483
11774
$as_echo_n "checking for ld used by $CC... " >&6; }
12484
11775
  case $host in
12485
11776
  *-*-mingw*)
12509
11800
    ;;
12510
11801
  esac
12511
11802
elif test "$with_gnu_ld" = yes; then
12512
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11803
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12513
11804
$as_echo_n "checking for GNU ld... " >&6; }
12514
11805
else
12515
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12516
11807
$as_echo_n "checking for non-GNU ld... " >&6; }
12517
11808
fi
12518
 
if test "${lt_cv_path_LD+set}" = set; then
 
11809
if test "${lt_cv_path_LD+set}" = set; then :
12519
11810
  $as_echo_n "(cached) " >&6
12520
11811
else
12521
11812
  if test -z "$LD"; then
12546
11837
 
12547
11838
LD="$lt_cv_path_LD"
12548
11839
if test -n "$LD"; then
12549
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
11840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12550
11841
$as_echo "$LD" >&6; }
12551
11842
else
12552
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553
11844
$as_echo "no" >&6; }
12554
11845
fi
12555
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12556
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12557
 
   { (exit 1); exit 1; }; }
12558
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11846
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12559
11848
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12560
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
11849
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12561
11850
  $as_echo_n "(cached) " >&6
12562
11851
else
12563
11852
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12570
11859
  ;;
12571
11860
esac
12572
11861
fi
12573
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12574
11863
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12575
11864
with_gnu_ld=$lt_cv_prog_gnu_ld
12576
11865
 
12625
11914
    fi
12626
11915
 
12627
11916
    # PORTME: fill in a description of your system's C++ link characteristics
12628
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11917
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12629
11918
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12630
11919
    ld_shlibs_CXX=yes
12631
11920
    case $host_os in
12726
12015
          allow_undefined_flag_CXX='-berok'
12727
12016
          # Determine the default libpath from the value encoded in an empty
12728
12017
          # executable.
12729
 
          cat >conftest.$ac_ext <<_ACEOF
12730
 
/* confdefs.h.  */
12731
 
_ACEOF
12732
 
cat confdefs.h >>conftest.$ac_ext
12733
 
cat >>conftest.$ac_ext <<_ACEOF
 
12018
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734
12019
/* end confdefs.h.  */
12735
12020
 
12736
12021
int
12741
12026
  return 0;
12742
12027
}
12743
12028
_ACEOF
12744
 
rm -f conftest.$ac_objext conftest$ac_exeext
12745
 
if { (ac_try="$ac_link"
12746
 
case "(($ac_try" in
12747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12748
 
  *) ac_try_echo=$ac_try;;
12749
 
esac
12750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12751
 
$as_echo "$ac_try_echo") >&5
12752
 
  (eval "$ac_link") 2>conftest.er1
12753
 
  ac_status=$?
12754
 
  grep -v '^ *+' conftest.er1 >conftest.err
12755
 
  rm -f conftest.er1
12756
 
  cat conftest.err >&5
12757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758
 
  (exit $ac_status); } && {
12759
 
         test -z "$ac_cxx_werror_flag" ||
12760
 
         test ! -s conftest.err
12761
 
       } && test -s conftest$ac_exeext && {
12762
 
         test "$cross_compiling" = yes ||
12763
 
         $as_test_x conftest$ac_exeext
12764
 
       }; then
 
12029
if ac_fn_cxx_try_link "$LINENO"; then :
12765
12030
 
12766
12031
lt_aix_libpath_sed='
12767
12032
    /Import File Strings/,/^$/ {
12775
12040
if test -z "$aix_libpath"; then
12776
12041
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12777
12042
fi
12778
 
else
12779
 
  $as_echo "$as_me: failed program was:" >&5
12780
 
sed 's/^/| /' conftest.$ac_ext >&5
12781
 
 
12782
 
 
12783
12043
fi
12784
 
 
12785
 
rm -rf conftest.dSYM
12786
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12787
 
      conftest$ac_exeext conftest.$ac_ext
 
12044
rm -f core conftest.err conftest.$ac_objext \
 
12045
    conftest$ac_exeext conftest.$ac_ext
12788
12046
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12789
12047
 
12790
12048
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12798
12056
          else
12799
12057
            # Determine the default libpath from the value encoded in an
12800
12058
            # empty executable.
12801
 
            cat >conftest.$ac_ext <<_ACEOF
12802
 
/* confdefs.h.  */
12803
 
_ACEOF
12804
 
cat confdefs.h >>conftest.$ac_ext
12805
 
cat >>conftest.$ac_ext <<_ACEOF
 
12059
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806
12060
/* end confdefs.h.  */
12807
12061
 
12808
12062
int
12813
12067
  return 0;
12814
12068
}
12815
12069
_ACEOF
12816
 
rm -f conftest.$ac_objext conftest$ac_exeext
12817
 
if { (ac_try="$ac_link"
12818
 
case "(($ac_try" in
12819
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820
 
  *) ac_try_echo=$ac_try;;
12821
 
esac
12822
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12823
 
$as_echo "$ac_try_echo") >&5
12824
 
  (eval "$ac_link") 2>conftest.er1
12825
 
  ac_status=$?
12826
 
  grep -v '^ *+' conftest.er1 >conftest.err
12827
 
  rm -f conftest.er1
12828
 
  cat conftest.err >&5
12829
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830
 
  (exit $ac_status); } && {
12831
 
         test -z "$ac_cxx_werror_flag" ||
12832
 
         test ! -s conftest.err
12833
 
       } && test -s conftest$ac_exeext && {
12834
 
         test "$cross_compiling" = yes ||
12835
 
         $as_test_x conftest$ac_exeext
12836
 
       }; then
 
12070
if ac_fn_cxx_try_link "$LINENO"; then :
12837
12071
 
12838
12072
lt_aix_libpath_sed='
12839
12073
    /Import File Strings/,/^$/ {
12847
12081
if test -z "$aix_libpath"; then
12848
12082
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12849
12083
fi
12850
 
else
12851
 
  $as_echo "$as_me: failed program was:" >&5
12852
 
sed 's/^/| /' conftest.$ac_ext >&5
12853
 
 
12854
 
 
12855
12084
fi
12856
 
 
12857
 
rm -rf conftest.dSYM
12858
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12859
 
      conftest$ac_exeext conftest.$ac_ext
 
12085
rm -f core conftest.err conftest.$ac_objext \
 
12086
    conftest$ac_exeext conftest.$ac_ext
12860
12087
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12861
12088
 
12862
12089
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13600
12827
        ;;
13601
12828
    esac
13602
12829
 
13603
 
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12830
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13604
12831
$as_echo "$ld_shlibs_CXX" >&6; }
13605
12832
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13606
12833
 
13628
12855
};
13629
12856
_LT_EOF
13630
12857
 
13631
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12858
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13632
12859
  (eval $ac_compile) 2>&5
13633
12860
  ac_status=$?
13634
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635
 
  (exit $ac_status); }; then
 
12861
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12862
  test $ac_status = 0; }; then
13636
12863
  # Parse the compiler output and extract the necessary
13637
12864
  # objects, libraries and library flags.
13638
12865
 
13813
13040
lt_prog_compiler_pic_CXX=
13814
13041
lt_prog_compiler_static_CXX=
13815
13042
 
13816
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13817
13044
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13818
13045
 
13819
13046
  # C++ specific cases for pic, static, wl, etc.
14130
13357
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14131
13358
    ;;
14132
13359
esac
14133
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14134
13361
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14135
13362
 
14136
13363
 
14139
13366
# Check to make sure the PIC flag actually works.
14140
13367
#
14141
13368
if test -n "$lt_prog_compiler_pic_CXX"; then
14142
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14143
13370
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14144
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
13371
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14145
13372
  $as_echo_n "(cached) " >&6
14146
13373
else
14147
13374
  lt_cv_prog_compiler_pic_works_CXX=no
14157
13384
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14158
13385
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14159
13386
   -e 's:$: $lt_compiler_flag:'`
14160
 
   (eval echo "\"\$as_me:14160: $lt_compile\"" >&5)
 
13387
   (eval echo "\"\$as_me:13387: $lt_compile\"" >&5)
14161
13388
   (eval "$lt_compile" 2>conftest.err)
14162
13389
   ac_status=$?
14163
13390
   cat conftest.err >&5
14164
 
   echo "$as_me:14164: \$? = $ac_status" >&5
 
13391
   echo "$as_me:13391: \$? = $ac_status" >&5
14165
13392
   if (exit $ac_status) && test -s "$ac_outfile"; then
14166
13393
     # The compiler can only warn and ignore the option if not recognized
14167
13394
     # So say no if there are warnings other than the usual output.
14174
13401
   $RM conftest*
14175
13402
 
14176
13403
fi
14177
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14178
13405
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14179
13406
 
14180
13407
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14195
13422
# Check to make sure the static flag actually works.
14196
13423
#
14197
13424
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14198
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14199
13426
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14200
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
13427
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14201
13428
  $as_echo_n "(cached) " >&6
14202
13429
else
14203
13430
  lt_cv_prog_compiler_static_works_CXX=no
14223
13450
   LDFLAGS="$save_LDFLAGS"
14224
13451
 
14225
13452
fi
14226
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14227
13454
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14228
13455
 
14229
13456
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14235
13462
 
14236
13463
 
14237
13464
 
14238
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13465
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14239
13466
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14240
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
13467
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14241
13468
  $as_echo_n "(cached) " >&6
14242
13469
else
14243
13470
  lt_cv_prog_compiler_c_o_CXX=no
14256
13483
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14257
13484
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14258
13485
   -e 's:$: $lt_compiler_flag:'`
14259
 
   (eval echo "\"\$as_me:14259: $lt_compile\"" >&5)
 
13486
   (eval echo "\"\$as_me:13486: $lt_compile\"" >&5)
14260
13487
   (eval "$lt_compile" 2>out/conftest.err)
14261
13488
   ac_status=$?
14262
13489
   cat out/conftest.err >&5
14263
 
   echo "$as_me:14263: \$? = $ac_status" >&5
 
13490
   echo "$as_me:13490: \$? = $ac_status" >&5
14264
13491
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14265
13492
   then
14266
13493
     # The compiler can only warn and ignore the option if not recognized
14282
13509
   $RM conftest*
14283
13510
 
14284
13511
fi
14285
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14286
13513
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14287
13514
 
14288
13515
 
14289
13516
 
14290
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13517
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14291
13518
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14292
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
13519
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14293
13520
  $as_echo_n "(cached) " >&6
14294
13521
else
14295
13522
  lt_cv_prog_compiler_c_o_CXX=no
14308
13535
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14309
13536
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14310
13537
   -e 's:$: $lt_compiler_flag:'`
14311
 
   (eval echo "\"\$as_me:14311: $lt_compile\"" >&5)
 
13538
   (eval echo "\"\$as_me:13538: $lt_compile\"" >&5)
14312
13539
   (eval "$lt_compile" 2>out/conftest.err)
14313
13540
   ac_status=$?
14314
13541
   cat out/conftest.err >&5
14315
 
   echo "$as_me:14315: \$? = $ac_status" >&5
 
13542
   echo "$as_me:13542: \$? = $ac_status" >&5
14316
13543
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14317
13544
   then
14318
13545
     # The compiler can only warn and ignore the option if not recognized
14334
13561
   $RM conftest*
14335
13562
 
14336
13563
fi
14337
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14338
13565
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14339
13566
 
14340
13567
 
14343
13570
hard_links="nottested"
14344
13571
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14345
13572
  # do not overwrite the value of need_locks provided by the user
14346
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13573
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14347
13574
$as_echo_n "checking if we can lock with hard links... " >&6; }
14348
13575
  hard_links=yes
14349
13576
  $RM conftest*
14351
13578
  touch conftest.a
14352
13579
  ln conftest.a conftest.b 2>&5 || hard_links=no
14353
13580
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14354
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
13581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14355
13582
$as_echo "$hard_links" >&6; }
14356
13583
  if test "$hard_links" = no; then
14357
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
13584
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14358
13585
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14359
13586
    need_locks=warn
14360
13587
  fi
14364
13591
 
14365
13592
 
14366
13593
 
14367
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13594
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14368
13595
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14369
13596
 
14370
13597
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14390
13617
  esac
14391
13618
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14392
13619
 
14393
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14394
13621
$as_echo "$ld_shlibs_CXX" >&6; }
14395
13622
test "$ld_shlibs_CXX" = no && can_build_shared=no
14396
13623
 
14418
13645
      # Test whether the compiler implicitly links with -lc since on some
14419
13646
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14420
13647
      # to ld, don't add -lc before -lgcc.
14421
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13648
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14422
13649
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14423
13650
      $RM conftest*
14424
13651
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14425
13652
 
14426
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13653
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14427
13654
  (eval $ac_compile) 2>&5
14428
13655
  ac_status=$?
14429
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430
 
  (exit $ac_status); } 2>conftest.err; then
 
13656
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13657
  test $ac_status = 0; } 2>conftest.err; then
14431
13658
        soname=conftest
14432
13659
        lib=conftest
14433
13660
        libobjs=conftest.$ac_objext
14441
13668
        libname=conftest
14442
13669
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14443
13670
        allow_undefined_flag_CXX=
14444
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
13671
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14445
13672
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14446
13673
  ac_status=$?
14447
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448
 
  (exit $ac_status); }
 
13674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13675
  test $ac_status = 0; }
14449
13676
        then
14450
13677
          archive_cmds_need_lc_CXX=no
14451
13678
        else
14456
13683
        cat conftest.err 1>&5
14457
13684
      fi
14458
13685
      $RM conftest*
14459
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13686
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14460
13687
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14461
13688
      ;;
14462
13689
    esac
14527
13754
 
14528
13755
 
14529
13756
 
14530
 
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13757
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14531
13758
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14532
13759
 
14533
13760
library_names_spec=
14910
14137
  save_libdir=$libdir
14911
14138
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14912
14139
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14913
 
  cat >conftest.$ac_ext <<_ACEOF
14914
 
/* confdefs.h.  */
14915
 
_ACEOF
14916
 
cat confdefs.h >>conftest.$ac_ext
14917
 
cat >>conftest.$ac_ext <<_ACEOF
 
14140
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918
14141
/* end confdefs.h.  */
14919
14142
 
14920
14143
int
14925
14148
  return 0;
14926
14149
}
14927
14150
_ACEOF
14928
 
rm -f conftest.$ac_objext conftest$ac_exeext
14929
 
if { (ac_try="$ac_link"
14930
 
case "(($ac_try" in
14931
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14932
 
  *) ac_try_echo=$ac_try;;
14933
 
esac
14934
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14935
 
$as_echo "$ac_try_echo") >&5
14936
 
  (eval "$ac_link") 2>conftest.er1
14937
 
  ac_status=$?
14938
 
  grep -v '^ *+' conftest.er1 >conftest.err
14939
 
  rm -f conftest.er1
14940
 
  cat conftest.err >&5
14941
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942
 
  (exit $ac_status); } && {
14943
 
         test -z "$ac_cxx_werror_flag" ||
14944
 
         test ! -s conftest.err
14945
 
       } && test -s conftest$ac_exeext && {
14946
 
         test "$cross_compiling" = yes ||
14947
 
         $as_test_x conftest$ac_exeext
14948
 
       }; then
14949
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
14151
if ac_fn_cxx_try_link "$LINENO"; then :
 
14152
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14950
14153
  shlibpath_overrides_runpath=yes
14951
14154
fi
14952
 
 
14953
 
else
14954
 
  $as_echo "$as_me: failed program was:" >&5
14955
 
sed 's/^/| /' conftest.$ac_ext >&5
14956
 
 
14957
 
 
14958
14155
fi
14959
 
 
14960
 
rm -rf conftest.dSYM
14961
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14962
 
      conftest$ac_exeext conftest.$ac_ext
 
14156
rm -f core conftest.err conftest.$ac_objext \
 
14157
    conftest$ac_exeext conftest.$ac_ext
14963
14158
  LDFLAGS=$save_LDFLAGS
14964
14159
  libdir=$save_libdir
14965
14160
 
15171
14366
  dynamic_linker=no
15172
14367
  ;;
15173
14368
esac
15174
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15175
14370
$as_echo "$dynamic_linker" >&6; }
15176
14371
test "$dynamic_linker" = no && can_build_shared=no
15177
14372
 
15222
14417
 
15223
14418
 
15224
14419
 
15225
 
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14420
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15226
14421
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15227
14422
hardcode_action_CXX=
15228
14423
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15247
14442
  # directories.
15248
14443
  hardcode_action_CXX=unsupported
15249
14444
fi
15250
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
14445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15251
14446
$as_echo "$hardcode_action_CXX" >&6; }
15252
14447
 
15253
14448
if test "$hardcode_action_CXX" = relink ||
15308
14503
 
15309
14504
# Checks for libraries.
15310
14505
# FIXME: Replace `main' with a function in `-limclient':
15311
 
 
15312
 
{ $as_echo "$as_me:$LINENO: checking for ucimf_init in -lucimf" >&5
 
14506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ucimf_init in -lucimf" >&5
15313
14507
$as_echo_n "checking for ucimf_init in -lucimf... " >&6; }
15314
 
if test "${ac_cv_lib_ucimf_ucimf_init+set}" = set; then
 
14508
if test "${ac_cv_lib_ucimf_ucimf_init+set}" = set; then :
15315
14509
  $as_echo_n "(cached) " >&6
15316
14510
else
15317
14511
  ac_check_lib_save_LIBS=$LIBS
15318
14512
LIBS="-lucimf  $LIBS"
15319
 
cat >conftest.$ac_ext <<_ACEOF
15320
 
/* confdefs.h.  */
15321
 
_ACEOF
15322
 
cat confdefs.h >>conftest.$ac_ext
15323
 
cat >>conftest.$ac_ext <<_ACEOF
 
14513
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324
14514
/* end confdefs.h.  */
15325
14515
 
15326
14516
/* Override any GCC internal prototype to avoid an error.
15338
14528
  return 0;
15339
14529
}
15340
14530
_ACEOF
15341
 
rm -f conftest.$ac_objext conftest$ac_exeext
15342
 
if { (ac_try="$ac_link"
15343
 
case "(($ac_try" in
15344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15345
 
  *) ac_try_echo=$ac_try;;
15346
 
esac
15347
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15348
 
$as_echo "$ac_try_echo") >&5
15349
 
  (eval "$ac_link") 2>conftest.er1
15350
 
  ac_status=$?
15351
 
  grep -v '^ *+' conftest.er1 >conftest.err
15352
 
  rm -f conftest.er1
15353
 
  cat conftest.err >&5
15354
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355
 
  (exit $ac_status); } && {
15356
 
         test -z "$ac_c_werror_flag" ||
15357
 
         test ! -s conftest.err
15358
 
       } && test -s conftest$ac_exeext && {
15359
 
         test "$cross_compiling" = yes ||
15360
 
         $as_test_x conftest$ac_exeext
15361
 
       }; then
 
14531
if ac_fn_c_try_link "$LINENO"; then :
15362
14532
  ac_cv_lib_ucimf_ucimf_init=yes
15363
14533
else
15364
 
  $as_echo "$as_me: failed program was:" >&5
15365
 
sed 's/^/| /' conftest.$ac_ext >&5
15366
 
 
15367
 
        ac_cv_lib_ucimf_ucimf_init=no
 
14534
  ac_cv_lib_ucimf_ucimf_init=no
15368
14535
fi
15369
 
 
15370
 
rm -rf conftest.dSYM
15371
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15372
 
      conftest$ac_exeext conftest.$ac_ext
 
14536
rm -f core conftest.err conftest.$ac_objext \
 
14537
    conftest$ac_exeext conftest.$ac_ext
15373
14538
LIBS=$ac_check_lib_save_LIBS
15374
14539
fi
15375
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ucimf_ucimf_init" >&5
 
14540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ucimf_ucimf_init" >&5
15376
14541
$as_echo "$ac_cv_lib_ucimf_ucimf_init" >&6; }
15377
 
if test "x$ac_cv_lib_ucimf_ucimf_init" = x""yes; then
 
14542
if test "x$ac_cv_lib_ucimf_ucimf_init" = x""yes; then :
15378
14543
  cat >>confdefs.h <<_ACEOF
15379
14544
#define HAVE_LIBUCIMF 1
15380
14545
_ACEOF
15384
14549
fi
15385
14550
 
15386
14551
 
 
14552
 
 
14553
 
 
14554
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
14555
        if test -n "$ac_tool_prefix"; then
 
14556
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
14557
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
14558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14559
$as_echo_n "checking for $ac_word... " >&6; }
 
14560
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
14561
  $as_echo_n "(cached) " >&6
 
14562
else
 
14563
  case $PKG_CONFIG in
 
14564
  [\\/]* | ?:[\\/]*)
 
14565
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14566
  ;;
 
14567
  *)
 
14568
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14569
for as_dir in $PATH
 
14570
do
 
14571
  IFS=$as_save_IFS
 
14572
  test -z "$as_dir" && as_dir=.
 
14573
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14574
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14575
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14576
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14577
    break 2
 
14578
  fi
 
14579
done
 
14580
  done
 
14581
IFS=$as_save_IFS
 
14582
 
 
14583
  ;;
 
14584
esac
 
14585
fi
 
14586
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14587
if test -n "$PKG_CONFIG"; then
 
14588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
14589
$as_echo "$PKG_CONFIG" >&6; }
 
14590
else
 
14591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14592
$as_echo "no" >&6; }
 
14593
fi
 
14594
 
 
14595
 
 
14596
fi
 
14597
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
14598
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
14599
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
14600
set dummy pkg-config; ac_word=$2
 
14601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14602
$as_echo_n "checking for $ac_word... " >&6; }
 
14603
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
14604
  $as_echo_n "(cached) " >&6
 
14605
else
 
14606
  case $ac_pt_PKG_CONFIG in
 
14607
  [\\/]* | ?:[\\/]*)
 
14608
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
14609
  ;;
 
14610
  *)
 
14611
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14612
for as_dir in $PATH
 
14613
do
 
14614
  IFS=$as_save_IFS
 
14615
  test -z "$as_dir" && as_dir=.
 
14616
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14617
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14618
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14619
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14620
    break 2
 
14621
  fi
 
14622
done
 
14623
  done
 
14624
IFS=$as_save_IFS
 
14625
 
 
14626
  ;;
 
14627
esac
 
14628
fi
 
14629
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
14630
if test -n "$ac_pt_PKG_CONFIG"; then
 
14631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
14632
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
14633
else
 
14634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14635
$as_echo "no" >&6; }
 
14636
fi
 
14637
 
 
14638
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
14639
    PKG_CONFIG=""
 
14640
  else
 
14641
    case $cross_compiling:$ac_tool_warned in
 
14642
yes:)
 
14643
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
14644
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14645
ac_tool_warned=yes ;;
 
14646
esac
 
14647
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
14648
  fi
 
14649
else
 
14650
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
14651
fi
 
14652
 
 
14653
fi
 
14654
if test -n "$PKG_CONFIG"; then
 
14655
        _pkg_min_version=0.9.0
 
14656
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
14657
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
14658
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
14659
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14660
$as_echo "yes" >&6; }
 
14661
        else
 
14662
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14663
$as_echo "no" >&6; }
 
14664
                PKG_CONFIG=""
 
14665
        fi
 
14666
 
 
14667
fi
 
14668
 
 
14669
pkg_failed=no
 
14670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
 
14671
$as_echo_n "checking for freetype2... " >&6; }
 
14672
 
 
14673
if test -n "$freetype2_CFLAGS"; then
 
14674
    pkg_cv_freetype2_CFLAGS="$freetype2_CFLAGS"
 
14675
 elif test -n "$PKG_CONFIG"; then
 
14676
    if test -n "$PKG_CONFIG" && \
 
14677
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
 
14678
  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
 
14679
  ac_status=$?
 
14680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14681
  test $ac_status = 0; }; then
 
14682
  pkg_cv_freetype2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
 
14683
else
 
14684
  pkg_failed=yes
 
14685
fi
 
14686
 else
 
14687
    pkg_failed=untried
 
14688
fi
 
14689
if test -n "$freetype2_LIBS"; then
 
14690
    pkg_cv_freetype2_LIBS="$freetype2_LIBS"
 
14691
 elif test -n "$PKG_CONFIG"; then
 
14692
    if test -n "$PKG_CONFIG" && \
 
14693
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
 
14694
  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
 
14695
  ac_status=$?
 
14696
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14697
  test $ac_status = 0; }; then
 
14698
  pkg_cv_freetype2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
 
14699
else
 
14700
  pkg_failed=yes
 
14701
fi
 
14702
 else
 
14703
    pkg_failed=untried
 
14704
fi
 
14705
 
 
14706
 
 
14707
 
 
14708
if test $pkg_failed = yes; then
 
14709
 
 
14710
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14711
        _pkg_short_errors_supported=yes
 
14712
else
 
14713
        _pkg_short_errors_supported=no
 
14714
fi
 
14715
        if test $_pkg_short_errors_supported = yes; then
 
14716
                freetype2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
 
14717
        else
 
14718
                freetype2_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
 
14719
        fi
 
14720
        # Put the nasty error message in config.log where it belongs
 
14721
        echo "$freetype2_PKG_ERRORS" >&5
 
14722
 
 
14723
        as_fn_error "Package requirements (freetype2) were not met:
 
14724
 
 
14725
$freetype2_PKG_ERRORS
 
14726
 
 
14727
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14728
installed software in a non-standard prefix.
 
14729
 
 
14730
Alternatively, you may set the environment variables freetype2_CFLAGS
 
14731
and freetype2_LIBS to avoid the need to call pkg-config.
 
14732
See the pkg-config man page for more details.
 
14733
" "$LINENO" 5
 
14734
elif test $pkg_failed = untried; then
 
14735
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14736
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14737
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
14738
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14739
path to pkg-config.
 
14740
 
 
14741
Alternatively, you may set the environment variables freetype2_CFLAGS
 
14742
and freetype2_LIBS to avoid the need to call pkg-config.
 
14743
See the pkg-config man page for more details.
 
14744
 
 
14745
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14746
See \`config.log' for more details." "$LINENO" 5; }
 
14747
else
 
14748
        freetype2_CFLAGS=$pkg_cv_freetype2_CFLAGS
 
14749
        freetype2_LIBS=$pkg_cv_freetype2_LIBS
 
14750
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14751
$as_echo "yes" >&6; }
 
14752
        :
 
14753
fi
 
14754
 
 
14755
 
 
14756
 
 
14757
 
 
14758
pkg_failed=no
 
14759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig" >&5
 
14760
$as_echo_n "checking for fontconfig... " >&6; }
 
14761
 
 
14762
if test -n "$fontconfig_CFLAGS"; then
 
14763
    pkg_cv_fontconfig_CFLAGS="$fontconfig_CFLAGS"
 
14764
 elif test -n "$PKG_CONFIG"; then
 
14765
    if test -n "$PKG_CONFIG" && \
 
14766
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
 
14767
  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
 
14768
  ac_status=$?
 
14769
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14770
  test $ac_status = 0; }; then
 
14771
  pkg_cv_fontconfig_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
 
14772
else
 
14773
  pkg_failed=yes
 
14774
fi
 
14775
 else
 
14776
    pkg_failed=untried
 
14777
fi
 
14778
if test -n "$fontconfig_LIBS"; then
 
14779
    pkg_cv_fontconfig_LIBS="$fontconfig_LIBS"
 
14780
 elif test -n "$PKG_CONFIG"; then
 
14781
    if test -n "$PKG_CONFIG" && \
 
14782
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
 
14783
  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
 
14784
  ac_status=$?
 
14785
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14786
  test $ac_status = 0; }; then
 
14787
  pkg_cv_fontconfig_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
 
14788
else
 
14789
  pkg_failed=yes
 
14790
fi
 
14791
 else
 
14792
    pkg_failed=untried
 
14793
fi
 
14794
 
 
14795
 
 
14796
 
 
14797
if test $pkg_failed = yes; then
 
14798
 
 
14799
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14800
        _pkg_short_errors_supported=yes
 
14801
else
 
14802
        _pkg_short_errors_supported=no
 
14803
fi
 
14804
        if test $_pkg_short_errors_supported = yes; then
 
14805
                fontconfig_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
 
14806
        else
 
14807
                fontconfig_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
 
14808
        fi
 
14809
        # Put the nasty error message in config.log where it belongs
 
14810
        echo "$fontconfig_PKG_ERRORS" >&5
 
14811
 
 
14812
        as_fn_error "Package requirements (fontconfig) were not met:
 
14813
 
 
14814
$fontconfig_PKG_ERRORS
 
14815
 
 
14816
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14817
installed software in a non-standard prefix.
 
14818
 
 
14819
Alternatively, you may set the environment variables fontconfig_CFLAGS
 
14820
and fontconfig_LIBS to avoid the need to call pkg-config.
 
14821
See the pkg-config man page for more details.
 
14822
" "$LINENO" 5
 
14823
elif test $pkg_failed = untried; then
 
14824
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14825
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14826
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
14827
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14828
path to pkg-config.
 
14829
 
 
14830
Alternatively, you may set the environment variables fontconfig_CFLAGS
 
14831
and fontconfig_LIBS to avoid the need to call pkg-config.
 
14832
See the pkg-config man page for more details.
 
14833
 
 
14834
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14835
See \`config.log' for more details." "$LINENO" 5; }
 
14836
else
 
14837
        fontconfig_CFLAGS=$pkg_cv_fontconfig_CFLAGS
 
14838
        fontconfig_LIBS=$pkg_cv_fontconfig_LIBS
 
14839
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14840
$as_echo "yes" >&6; }
 
14841
        :
 
14842
fi
 
14843
 
 
14844
 
 
14845
 
15387
14846
# Checks for header files.
15388
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
14847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15389
14848
$as_echo_n "checking for ANSI C header files... " >&6; }
15390
 
if test "${ac_cv_header_stdc+set}" = set; then
 
14849
if test "${ac_cv_header_stdc+set}" = set; then :
15391
14850
  $as_echo_n "(cached) " >&6
15392
14851
else
15393
 
  cat >conftest.$ac_ext <<_ACEOF
15394
 
/* confdefs.h.  */
15395
 
_ACEOF
15396
 
cat confdefs.h >>conftest.$ac_ext
15397
 
cat >>conftest.$ac_ext <<_ACEOF
 
14852
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398
14853
/* end confdefs.h.  */
15399
14854
#include <stdlib.h>
15400
14855
#include <stdarg.h>
15409
14864
  return 0;
15410
14865
}
15411
14866
_ACEOF
15412
 
rm -f conftest.$ac_objext
15413
 
if { (ac_try="$ac_compile"
15414
 
case "(($ac_try" in
15415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15416
 
  *) ac_try_echo=$ac_try;;
15417
 
esac
15418
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15419
 
$as_echo "$ac_try_echo") >&5
15420
 
  (eval "$ac_compile") 2>conftest.er1
15421
 
  ac_status=$?
15422
 
  grep -v '^ *+' conftest.er1 >conftest.err
15423
 
  rm -f conftest.er1
15424
 
  cat conftest.err >&5
15425
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426
 
  (exit $ac_status); } && {
15427
 
         test -z "$ac_c_werror_flag" ||
15428
 
         test ! -s conftest.err
15429
 
       } && test -s conftest.$ac_objext; then
 
14867
if ac_fn_c_try_compile "$LINENO"; then :
15430
14868
  ac_cv_header_stdc=yes
15431
14869
else
15432
 
  $as_echo "$as_me: failed program was:" >&5
15433
 
sed 's/^/| /' conftest.$ac_ext >&5
15434
 
 
15435
 
        ac_cv_header_stdc=no
 
14870
  ac_cv_header_stdc=no
15436
14871
fi
15437
 
 
15438
14872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439
14873
 
15440
14874
if test $ac_cv_header_stdc = yes; then
15441
14875
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15442
 
  cat >conftest.$ac_ext <<_ACEOF
15443
 
/* confdefs.h.  */
15444
 
_ACEOF
15445
 
cat confdefs.h >>conftest.$ac_ext
15446
 
cat >>conftest.$ac_ext <<_ACEOF
 
14876
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447
14877
/* end confdefs.h.  */
15448
14878
#include <string.h>
15449
14879
 
15450
14880
_ACEOF
15451
14881
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15452
 
  $EGREP "memchr" >/dev/null 2>&1; then
15453
 
  :
 
14882
  $EGREP "memchr" >/dev/null 2>&1; then :
 
14883
 
15454
14884
else
15455
14885
  ac_cv_header_stdc=no
15456
14886
fi
15460
14890
 
15461
14891
if test $ac_cv_header_stdc = yes; then
15462
14892
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15463
 
  cat >conftest.$ac_ext <<_ACEOF
15464
 
/* confdefs.h.  */
15465
 
_ACEOF
15466
 
cat confdefs.h >>conftest.$ac_ext
15467
 
cat >>conftest.$ac_ext <<_ACEOF
 
14893
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468
14894
/* end confdefs.h.  */
15469
14895
#include <stdlib.h>
15470
14896
 
15471
14897
_ACEOF
15472
14898
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15473
 
  $EGREP "free" >/dev/null 2>&1; then
15474
 
  :
 
14899
  $EGREP "free" >/dev/null 2>&1; then :
 
14900
 
15475
14901
else
15476
14902
  ac_cv_header_stdc=no
15477
14903
fi
15481
14907
 
15482
14908
if test $ac_cv_header_stdc = yes; then
15483
14909
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15484
 
  if test "$cross_compiling" = yes; then
 
14910
  if test "$cross_compiling" = yes; then :
15485
14911
  :
15486
14912
else
15487
 
  cat >conftest.$ac_ext <<_ACEOF
15488
 
/* confdefs.h.  */
15489
 
_ACEOF
15490
 
cat confdefs.h >>conftest.$ac_ext
15491
 
cat >>conftest.$ac_ext <<_ACEOF
 
14913
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492
14914
/* end confdefs.h.  */
15493
14915
#include <ctype.h>
15494
14916
#include <stdlib.h>
15515
14937
  return 0;
15516
14938
}
15517
14939
_ACEOF
15518
 
rm -f conftest$ac_exeext
15519
 
if { (ac_try="$ac_link"
15520
 
case "(($ac_try" in
15521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522
 
  *) ac_try_echo=$ac_try;;
15523
 
esac
15524
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15525
 
$as_echo "$ac_try_echo") >&5
15526
 
  (eval "$ac_link") 2>&5
15527
 
  ac_status=$?
15528
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15530
 
  { (case "(($ac_try" in
15531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532
 
  *) ac_try_echo=$ac_try;;
15533
 
esac
15534
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15535
 
$as_echo "$ac_try_echo") >&5
15536
 
  (eval "$ac_try") 2>&5
15537
 
  ac_status=$?
15538
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539
 
  (exit $ac_status); }; }; then
15540
 
  :
 
14940
if ac_fn_c_try_run "$LINENO"; then :
 
14941
 
15541
14942
else
15542
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
15543
 
$as_echo "$as_me: failed program was:" >&5
15544
 
sed 's/^/| /' conftest.$ac_ext >&5
15545
 
 
15546
 
( exit $ac_status )
15547
 
ac_cv_header_stdc=no
15548
 
fi
15549
 
rm -rf conftest.dSYM
15550
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15551
 
fi
15552
 
 
15553
 
 
15554
 
fi
15555
 
fi
15556
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
14943
  ac_cv_header_stdc=no
 
14944
fi
 
14945
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14946
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14947
fi
 
14948
 
 
14949
fi
 
14950
fi
 
14951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15557
14952
$as_echo "$ac_cv_header_stdc" >&6; }
15558
14953
if test $ac_cv_header_stdc = yes; then
15559
14954
 
15560
 
cat >>confdefs.h <<\_ACEOF
15561
 
#define STDC_HEADERS 1
15562
 
_ACEOF
 
14955
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15563
14956
 
15564
14957
fi
15565
14958
 
15566
 
 
15567
 
 
15568
 
 
15569
 
 
15570
14959
for ac_header in stdlib.h string.h sys/socket.h unistd.h
15571
 
do
15572
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15573
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15574
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15575
 
$as_echo_n "checking for $ac_header... " >&6; }
15576
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15577
 
  $as_echo_n "(cached) " >&6
15578
 
fi
15579
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15580
 
                 $as_echo "$as_val"'`
15581
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15582
 
$as_echo "$ac_res" >&6; }
15583
 
else
15584
 
  # Is the header compilable?
15585
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15586
 
$as_echo_n "checking $ac_header usability... " >&6; }
15587
 
cat >conftest.$ac_ext <<_ACEOF
15588
 
/* confdefs.h.  */
15589
 
_ACEOF
15590
 
cat confdefs.h >>conftest.$ac_ext
15591
 
cat >>conftest.$ac_ext <<_ACEOF
15592
 
/* end confdefs.h.  */
15593
 
$ac_includes_default
15594
 
#include <$ac_header>
15595
 
_ACEOF
15596
 
rm -f conftest.$ac_objext
15597
 
if { (ac_try="$ac_compile"
15598
 
case "(($ac_try" in
15599
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15600
 
  *) ac_try_echo=$ac_try;;
15601
 
esac
15602
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15603
 
$as_echo "$ac_try_echo") >&5
15604
 
  (eval "$ac_compile") 2>conftest.er1
15605
 
  ac_status=$?
15606
 
  grep -v '^ *+' conftest.er1 >conftest.err
15607
 
  rm -f conftest.er1
15608
 
  cat conftest.err >&5
15609
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610
 
  (exit $ac_status); } && {
15611
 
         test -z "$ac_c_werror_flag" ||
15612
 
         test ! -s conftest.err
15613
 
       } && test -s conftest.$ac_objext; then
15614
 
  ac_header_compiler=yes
15615
 
else
15616
 
  $as_echo "$as_me: failed program was:" >&5
15617
 
sed 's/^/| /' conftest.$ac_ext >&5
15618
 
 
15619
 
        ac_header_compiler=no
15620
 
fi
15621
 
 
15622
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15623
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15624
 
$as_echo "$ac_header_compiler" >&6; }
15625
 
 
15626
 
# Is the header present?
15627
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15628
 
$as_echo_n "checking $ac_header presence... " >&6; }
15629
 
cat >conftest.$ac_ext <<_ACEOF
15630
 
/* confdefs.h.  */
15631
 
_ACEOF
15632
 
cat confdefs.h >>conftest.$ac_ext
15633
 
cat >>conftest.$ac_ext <<_ACEOF
15634
 
/* end confdefs.h.  */
15635
 
#include <$ac_header>
15636
 
_ACEOF
15637
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15638
 
case "(($ac_try" in
15639
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15640
 
  *) ac_try_echo=$ac_try;;
15641
 
esac
15642
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15643
 
$as_echo "$ac_try_echo") >&5
15644
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15645
 
  ac_status=$?
15646
 
  grep -v '^ *+' conftest.er1 >conftest.err
15647
 
  rm -f conftest.er1
15648
 
  cat conftest.err >&5
15649
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650
 
  (exit $ac_status); } >/dev/null && {
15651
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15652
 
         test ! -s conftest.err
15653
 
       }; then
15654
 
  ac_header_preproc=yes
15655
 
else
15656
 
  $as_echo "$as_me: failed program was:" >&5
15657
 
sed 's/^/| /' conftest.$ac_ext >&5
15658
 
 
15659
 
  ac_header_preproc=no
15660
 
fi
15661
 
 
15662
 
rm -f conftest.err conftest.$ac_ext
15663
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15664
 
$as_echo "$ac_header_preproc" >&6; }
15665
 
 
15666
 
# So?  What about this header?
15667
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15668
 
  yes:no: )
15669
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15670
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15671
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15672
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15673
 
    ac_header_preproc=yes
15674
 
    ;;
15675
 
  no:yes:* )
15676
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15677
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15678
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15679
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15680
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15681
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15682
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15683
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15684
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15685
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15686
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15687
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15688
 
    ( cat <<\_ASBOX
15689
 
## ------------------------------------- ##
15690
 
## Report this to ucimf@googlegroups.com ##
15691
 
## ------------------------------------- ##
15692
 
_ASBOX
15693
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
15694
 
    ;;
15695
 
esac
15696
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15697
 
$as_echo_n "checking for $ac_header... " >&6; }
15698
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15699
 
  $as_echo_n "(cached) " >&6
15700
 
else
15701
 
  eval "$as_ac_Header=\$ac_header_preproc"
15702
 
fi
15703
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15704
 
                 $as_echo "$as_val"'`
15705
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15706
 
$as_echo "$ac_res" >&6; }
15707
 
 
15708
 
fi
15709
 
as_val=`eval 'as_val=${'$as_ac_Header'}
15710
 
                 $as_echo "$as_val"'`
15711
 
   if test "x$as_val" = x""yes; then
 
14960
do :
 
14961
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14962
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
14963
eval as_val=\$$as_ac_Header
 
14964
   if test "x$as_val" = x""yes; then :
15712
14965
  cat >>confdefs.h <<_ACEOF
15713
14966
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15714
14967
_ACEOF
15719
14972
 
15720
14973
 
15721
14974
# Checks for typedefs, structures, and compiler characteristics.
15722
 
{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
 
14975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15723
14976
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15724
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
 
14977
if test "${ac_cv_header_stdbool_h+set}" = set; then :
15725
14978
  $as_echo_n "(cached) " >&6
15726
14979
else
15727
 
  cat >conftest.$ac_ext <<_ACEOF
15728
 
/* confdefs.h.  */
15729
 
_ACEOF
15730
 
cat confdefs.h >>conftest.$ac_ext
15731
 
cat >>conftest.$ac_ext <<_ACEOF
 
14980
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732
14981
/* end confdefs.h.  */
15733
14982
 
15734
14983
#include <stdbool.h>
15808
15057
  return 0;
15809
15058
}
15810
15059
_ACEOF
15811
 
rm -f conftest.$ac_objext
15812
 
if { (ac_try="$ac_compile"
15813
 
case "(($ac_try" in
15814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15815
 
  *) ac_try_echo=$ac_try;;
15816
 
esac
15817
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15818
 
$as_echo "$ac_try_echo") >&5
15819
 
  (eval "$ac_compile") 2>conftest.er1
15820
 
  ac_status=$?
15821
 
  grep -v '^ *+' conftest.er1 >conftest.err
15822
 
  rm -f conftest.er1
15823
 
  cat conftest.err >&5
15824
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825
 
  (exit $ac_status); } && {
15826
 
         test -z "$ac_c_werror_flag" ||
15827
 
         test ! -s conftest.err
15828
 
       } && test -s conftest.$ac_objext; then
 
15060
if ac_fn_c_try_compile "$LINENO"; then :
15829
15061
  ac_cv_header_stdbool_h=yes
15830
15062
else
15831
 
  $as_echo "$as_me: failed program was:" >&5
15832
 
sed 's/^/| /' conftest.$ac_ext >&5
15833
 
 
15834
 
        ac_cv_header_stdbool_h=no
 
15063
  ac_cv_header_stdbool_h=no
15835
15064
fi
15836
 
 
15837
15065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838
15066
fi
15839
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
 
15067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15840
15068
$as_echo "$ac_cv_header_stdbool_h" >&6; }
15841
 
{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
15842
 
$as_echo_n "checking for _Bool... " >&6; }
15843
 
if test "${ac_cv_type__Bool+set}" = set; then
15844
 
  $as_echo_n "(cached) " >&6
15845
 
else
15846
 
  ac_cv_type__Bool=no
15847
 
cat >conftest.$ac_ext <<_ACEOF
15848
 
/* confdefs.h.  */
15849
 
_ACEOF
15850
 
cat confdefs.h >>conftest.$ac_ext
15851
 
cat >>conftest.$ac_ext <<_ACEOF
15852
 
/* end confdefs.h.  */
15853
 
$ac_includes_default
15854
 
int
15855
 
main ()
15856
 
{
15857
 
if (sizeof (_Bool))
15858
 
       return 0;
15859
 
  ;
15860
 
  return 0;
15861
 
}
15862
 
_ACEOF
15863
 
rm -f conftest.$ac_objext
15864
 
if { (ac_try="$ac_compile"
15865
 
case "(($ac_try" in
15866
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15867
 
  *) ac_try_echo=$ac_try;;
15868
 
esac
15869
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15870
 
$as_echo "$ac_try_echo") >&5
15871
 
  (eval "$ac_compile") 2>conftest.er1
15872
 
  ac_status=$?
15873
 
  grep -v '^ *+' conftest.er1 >conftest.err
15874
 
  rm -f conftest.er1
15875
 
  cat conftest.err >&5
15876
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877
 
  (exit $ac_status); } && {
15878
 
         test -z "$ac_c_werror_flag" ||
15879
 
         test ! -s conftest.err
15880
 
       } && test -s conftest.$ac_objext; then
15881
 
  cat >conftest.$ac_ext <<_ACEOF
15882
 
/* confdefs.h.  */
15883
 
_ACEOF
15884
 
cat confdefs.h >>conftest.$ac_ext
15885
 
cat >>conftest.$ac_ext <<_ACEOF
15886
 
/* end confdefs.h.  */
15887
 
$ac_includes_default
15888
 
int
15889
 
main ()
15890
 
{
15891
 
if (sizeof ((_Bool)))
15892
 
          return 0;
15893
 
  ;
15894
 
  return 0;
15895
 
}
15896
 
_ACEOF
15897
 
rm -f conftest.$ac_objext
15898
 
if { (ac_try="$ac_compile"
15899
 
case "(($ac_try" in
15900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15901
 
  *) ac_try_echo=$ac_try;;
15902
 
esac
15903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15904
 
$as_echo "$ac_try_echo") >&5
15905
 
  (eval "$ac_compile") 2>conftest.er1
15906
 
  ac_status=$?
15907
 
  grep -v '^ *+' conftest.er1 >conftest.err
15908
 
  rm -f conftest.er1
15909
 
  cat conftest.err >&5
15910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911
 
  (exit $ac_status); } && {
15912
 
         test -z "$ac_c_werror_flag" ||
15913
 
         test ! -s conftest.err
15914
 
       } && test -s conftest.$ac_objext; then
15915
 
  :
15916
 
else
15917
 
  $as_echo "$as_me: failed program was:" >&5
15918
 
sed 's/^/| /' conftest.$ac_ext >&5
15919
 
 
15920
 
        ac_cv_type__Bool=yes
15921
 
fi
15922
 
 
15923
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924
 
else
15925
 
  $as_echo "$as_me: failed program was:" >&5
15926
 
sed 's/^/| /' conftest.$ac_ext >&5
15927
 
 
15928
 
 
15929
 
fi
15930
 
 
15931
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15932
 
fi
15933
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
15934
 
$as_echo "$ac_cv_type__Bool" >&6; }
15935
 
if test "x$ac_cv_type__Bool" = x""yes; then
 
15069
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
15070
if test "x$ac_cv_type__Bool" = x""yes; then :
15936
15071
 
15937
15072
cat >>confdefs.h <<_ACEOF
15938
15073
#define HAVE__BOOL 1
15943
15078
 
15944
15079
if test $ac_cv_header_stdbool_h = yes; then
15945
15080
 
15946
 
cat >>confdefs.h <<\_ACEOF
15947
 
#define HAVE_STDBOOL_H 1
15948
 
_ACEOF
 
15081
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
15949
15082
 
15950
15083
fi
15951
15084
 
15952
15085
 
15953
15086
 
15954
 
 
15955
15087
# Check whether --enable-debug was given.
15956
 
if test "${enable_debug+set}" = set; then
 
15088
if test "${enable_debug+set}" = set; then :
15957
15089
  enableval=$enable_debug; debug=$enableval
15958
15090
else
15959
15091
  debug="no"
15961
15093
 
15962
15094
 
15963
15095
if test "$debug" = yes; then
15964
 
        cat >>confdefs.h <<\_ACEOF
15965
 
#define USE_DEBUG /**/
15966
 
_ACEOF
 
15096
        $as_echo "#define USE_DEBUG /**/" >>confdefs.h
15967
15097
 
15968
15098
fi
15969
15099
 if test "$debug" = "yes"; then
15977
15107
 
15978
15108
 
15979
15109
# Checks for library functions.
15980
 
{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
15981
 
$as_echo_n "checking for pid_t... " >&6; }
15982
 
if test "${ac_cv_type_pid_t+set}" = set; then
15983
 
  $as_echo_n "(cached) " >&6
15984
 
else
15985
 
  ac_cv_type_pid_t=no
15986
 
cat >conftest.$ac_ext <<_ACEOF
15987
 
/* confdefs.h.  */
15988
 
_ACEOF
15989
 
cat confdefs.h >>conftest.$ac_ext
15990
 
cat >>conftest.$ac_ext <<_ACEOF
15991
 
/* end confdefs.h.  */
15992
 
$ac_includes_default
15993
 
int
15994
 
main ()
15995
 
{
15996
 
if (sizeof (pid_t))
15997
 
       return 0;
15998
 
  ;
15999
 
  return 0;
16000
 
}
16001
 
_ACEOF
16002
 
rm -f conftest.$ac_objext
16003
 
if { (ac_try="$ac_compile"
16004
 
case "(($ac_try" in
16005
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16006
 
  *) ac_try_echo=$ac_try;;
16007
 
esac
16008
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16009
 
$as_echo "$ac_try_echo") >&5
16010
 
  (eval "$ac_compile") 2>conftest.er1
16011
 
  ac_status=$?
16012
 
  grep -v '^ *+' conftest.er1 >conftest.err
16013
 
  rm -f conftest.er1
16014
 
  cat conftest.err >&5
16015
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016
 
  (exit $ac_status); } && {
16017
 
         test -z "$ac_c_werror_flag" ||
16018
 
         test ! -s conftest.err
16019
 
       } && test -s conftest.$ac_objext; then
16020
 
  cat >conftest.$ac_ext <<_ACEOF
16021
 
/* confdefs.h.  */
16022
 
_ACEOF
16023
 
cat confdefs.h >>conftest.$ac_ext
16024
 
cat >>conftest.$ac_ext <<_ACEOF
16025
 
/* end confdefs.h.  */
16026
 
$ac_includes_default
16027
 
int
16028
 
main ()
16029
 
{
16030
 
if (sizeof ((pid_t)))
16031
 
          return 0;
16032
 
  ;
16033
 
  return 0;
16034
 
}
16035
 
_ACEOF
16036
 
rm -f conftest.$ac_objext
16037
 
if { (ac_try="$ac_compile"
16038
 
case "(($ac_try" in
16039
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040
 
  *) ac_try_echo=$ac_try;;
16041
 
esac
16042
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16043
 
$as_echo "$ac_try_echo") >&5
16044
 
  (eval "$ac_compile") 2>conftest.er1
16045
 
  ac_status=$?
16046
 
  grep -v '^ *+' conftest.er1 >conftest.err
16047
 
  rm -f conftest.er1
16048
 
  cat conftest.err >&5
16049
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050
 
  (exit $ac_status); } && {
16051
 
         test -z "$ac_c_werror_flag" ||
16052
 
         test ! -s conftest.err
16053
 
       } && test -s conftest.$ac_objext; then
16054
 
  :
16055
 
else
16056
 
  $as_echo "$as_me: failed program was:" >&5
16057
 
sed 's/^/| /' conftest.$ac_ext >&5
16058
 
 
16059
 
        ac_cv_type_pid_t=yes
16060
 
fi
16061
 
 
16062
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16063
 
else
16064
 
  $as_echo "$as_me: failed program was:" >&5
16065
 
sed 's/^/| /' conftest.$ac_ext >&5
16066
 
 
16067
 
 
16068
 
fi
16069
 
 
16070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16071
 
fi
16072
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16073
 
$as_echo "$ac_cv_type_pid_t" >&6; }
16074
 
if test "x$ac_cv_type_pid_t" = x""yes; then
16075
 
  :
 
15110
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 
15111
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
15112
 
16076
15113
else
16077
15114
 
16078
15115
cat >>confdefs.h <<_ACEOF
16081
15118
 
16082
15119
fi
16083
15120
 
16084
 
 
16085
15121
for ac_header in vfork.h
16086
 
do
16087
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16088
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16089
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16090
 
$as_echo_n "checking for $ac_header... " >&6; }
16091
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16092
 
  $as_echo_n "(cached) " >&6
16093
 
fi
16094
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
16095
 
                 $as_echo "$as_val"'`
16096
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16097
 
$as_echo "$ac_res" >&6; }
16098
 
else
16099
 
  # Is the header compilable?
16100
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16101
 
$as_echo_n "checking $ac_header usability... " >&6; }
16102
 
cat >conftest.$ac_ext <<_ACEOF
16103
 
/* confdefs.h.  */
16104
 
_ACEOF
16105
 
cat confdefs.h >>conftest.$ac_ext
16106
 
cat >>conftest.$ac_ext <<_ACEOF
16107
 
/* end confdefs.h.  */
16108
 
$ac_includes_default
16109
 
#include <$ac_header>
16110
 
_ACEOF
16111
 
rm -f conftest.$ac_objext
16112
 
if { (ac_try="$ac_compile"
16113
 
case "(($ac_try" in
16114
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115
 
  *) ac_try_echo=$ac_try;;
16116
 
esac
16117
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16118
 
$as_echo "$ac_try_echo") >&5
16119
 
  (eval "$ac_compile") 2>conftest.er1
16120
 
  ac_status=$?
16121
 
  grep -v '^ *+' conftest.er1 >conftest.err
16122
 
  rm -f conftest.er1
16123
 
  cat conftest.err >&5
16124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125
 
  (exit $ac_status); } && {
16126
 
         test -z "$ac_c_werror_flag" ||
16127
 
         test ! -s conftest.err
16128
 
       } && test -s conftest.$ac_objext; then
16129
 
  ac_header_compiler=yes
16130
 
else
16131
 
  $as_echo "$as_me: failed program was:" >&5
16132
 
sed 's/^/| /' conftest.$ac_ext >&5
16133
 
 
16134
 
        ac_header_compiler=no
16135
 
fi
16136
 
 
16137
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16139
 
$as_echo "$ac_header_compiler" >&6; }
16140
 
 
16141
 
# Is the header present?
16142
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16143
 
$as_echo_n "checking $ac_header presence... " >&6; }
16144
 
cat >conftest.$ac_ext <<_ACEOF
16145
 
/* confdefs.h.  */
16146
 
_ACEOF
16147
 
cat confdefs.h >>conftest.$ac_ext
16148
 
cat >>conftest.$ac_ext <<_ACEOF
16149
 
/* end confdefs.h.  */
16150
 
#include <$ac_header>
16151
 
_ACEOF
16152
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16153
 
case "(($ac_try" in
16154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16155
 
  *) ac_try_echo=$ac_try;;
16156
 
esac
16157
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16158
 
$as_echo "$ac_try_echo") >&5
16159
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16160
 
  ac_status=$?
16161
 
  grep -v '^ *+' conftest.er1 >conftest.err
16162
 
  rm -f conftest.er1
16163
 
  cat conftest.err >&5
16164
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165
 
  (exit $ac_status); } >/dev/null && {
16166
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16167
 
         test ! -s conftest.err
16168
 
       }; then
16169
 
  ac_header_preproc=yes
16170
 
else
16171
 
  $as_echo "$as_me: failed program was:" >&5
16172
 
sed 's/^/| /' conftest.$ac_ext >&5
16173
 
 
16174
 
  ac_header_preproc=no
16175
 
fi
16176
 
 
16177
 
rm -f conftest.err conftest.$ac_ext
16178
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16179
 
$as_echo "$ac_header_preproc" >&6; }
16180
 
 
16181
 
# So?  What about this header?
16182
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16183
 
  yes:no: )
16184
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16185
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16186
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16187
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16188
 
    ac_header_preproc=yes
16189
 
    ;;
16190
 
  no:yes:* )
16191
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16192
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16193
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16194
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16195
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16196
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16197
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16198
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16199
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16200
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16201
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16202
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16203
 
    ( cat <<\_ASBOX
16204
 
## ------------------------------------- ##
16205
 
## Report this to ucimf@googlegroups.com ##
16206
 
## ------------------------------------- ##
16207
 
_ASBOX
16208
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
16209
 
    ;;
16210
 
esac
16211
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16212
 
$as_echo_n "checking for $ac_header... " >&6; }
16213
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16214
 
  $as_echo_n "(cached) " >&6
16215
 
else
16216
 
  eval "$as_ac_Header=\$ac_header_preproc"
16217
 
fi
16218
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
16219
 
                 $as_echo "$as_val"'`
16220
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16221
 
$as_echo "$ac_res" >&6; }
16222
 
 
16223
 
fi
16224
 
as_val=`eval 'as_val=${'$as_ac_Header'}
16225
 
                 $as_echo "$as_val"'`
16226
 
   if test "x$as_val" = x""yes; then
 
15122
do :
 
15123
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
 
15124
if test "x$ac_cv_header_vfork_h" = x""yes; then :
16227
15125
  cat >>confdefs.h <<_ACEOF
16228
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15126
#define HAVE_VFORK_H 1
16229
15127
_ACEOF
16230
15128
 
16231
15129
fi
16232
15130
 
16233
15131
done
16234
15132
 
16235
 
 
16236
 
 
16237
15133
for ac_func in fork vfork
16238
 
do
16239
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16240
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16241
 
$as_echo_n "checking for $ac_func... " >&6; }
16242
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16243
 
  $as_echo_n "(cached) " >&6
16244
 
else
16245
 
  cat >conftest.$ac_ext <<_ACEOF
16246
 
/* confdefs.h.  */
16247
 
_ACEOF
16248
 
cat confdefs.h >>conftest.$ac_ext
16249
 
cat >>conftest.$ac_ext <<_ACEOF
16250
 
/* end confdefs.h.  */
16251
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16252
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16253
 
#define $ac_func innocuous_$ac_func
16254
 
 
16255
 
/* System header to define __stub macros and hopefully few prototypes,
16256
 
    which can conflict with char $ac_func (); below.
16257
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16258
 
    <limits.h> exists even on freestanding compilers.  */
16259
 
 
16260
 
#ifdef __STDC__
16261
 
# include <limits.h>
16262
 
#else
16263
 
# include <assert.h>
16264
 
#endif
16265
 
 
16266
 
#undef $ac_func
16267
 
 
16268
 
/* Override any GCC internal prototype to avoid an error.
16269
 
   Use char because int might match the return type of a GCC
16270
 
   builtin and then its argument prototype would still apply.  */
16271
 
#ifdef __cplusplus
16272
 
extern "C"
16273
 
#endif
16274
 
char $ac_func ();
16275
 
/* The GNU C library defines this for functions which it implements
16276
 
    to always fail with ENOSYS.  Some functions are actually named
16277
 
    something starting with __ and the normal name is an alias.  */
16278
 
#if defined __stub_$ac_func || defined __stub___$ac_func
16279
 
choke me
16280
 
#endif
16281
 
 
16282
 
int
16283
 
main ()
16284
 
{
16285
 
return $ac_func ();
16286
 
  ;
16287
 
  return 0;
16288
 
}
16289
 
_ACEOF
16290
 
rm -f conftest.$ac_objext conftest$ac_exeext
16291
 
if { (ac_try="$ac_link"
16292
 
case "(($ac_try" in
16293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294
 
  *) ac_try_echo=$ac_try;;
16295
 
esac
16296
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16297
 
$as_echo "$ac_try_echo") >&5
16298
 
  (eval "$ac_link") 2>conftest.er1
16299
 
  ac_status=$?
16300
 
  grep -v '^ *+' conftest.er1 >conftest.err
16301
 
  rm -f conftest.er1
16302
 
  cat conftest.err >&5
16303
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304
 
  (exit $ac_status); } && {
16305
 
         test -z "$ac_c_werror_flag" ||
16306
 
         test ! -s conftest.err
16307
 
       } && test -s conftest$ac_exeext && {
16308
 
         test "$cross_compiling" = yes ||
16309
 
         $as_test_x conftest$ac_exeext
16310
 
       }; then
16311
 
  eval "$as_ac_var=yes"
16312
 
else
16313
 
  $as_echo "$as_me: failed program was:" >&5
16314
 
sed 's/^/| /' conftest.$ac_ext >&5
16315
 
 
16316
 
        eval "$as_ac_var=no"
16317
 
fi
16318
 
 
16319
 
rm -rf conftest.dSYM
16320
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16321
 
      conftest$ac_exeext conftest.$ac_ext
16322
 
fi
16323
 
ac_res=`eval 'as_val=${'$as_ac_var'}
16324
 
                 $as_echo "$as_val"'`
16325
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16326
 
$as_echo "$ac_res" >&6; }
16327
 
as_val=`eval 'as_val=${'$as_ac_var'}
16328
 
                 $as_echo "$as_val"'`
16329
 
   if test "x$as_val" = x""yes; then
 
15134
do :
 
15135
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
15136
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
15137
eval as_val=\$$as_ac_var
 
15138
   if test "x$as_val" = x""yes; then :
16330
15139
  cat >>confdefs.h <<_ACEOF
16331
15140
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16332
15141
_ACEOF
16335
15144
done
16336
15145
 
16337
15146
if test "x$ac_cv_func_fork" = xyes; then
16338
 
  { $as_echo "$as_me:$LINENO: checking for working fork" >&5
 
15147
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
16339
15148
$as_echo_n "checking for working fork... " >&6; }
16340
 
if test "${ac_cv_func_fork_works+set}" = set; then
 
15149
if test "${ac_cv_func_fork_works+set}" = set; then :
16341
15150
  $as_echo_n "(cached) " >&6
16342
15151
else
16343
 
  if test "$cross_compiling" = yes; then
 
15152
  if test "$cross_compiling" = yes; then :
16344
15153
  ac_cv_func_fork_works=cross
16345
15154
else
16346
 
  cat >conftest.$ac_ext <<_ACEOF
16347
 
/* confdefs.h.  */
16348
 
_ACEOF
16349
 
cat confdefs.h >>conftest.$ac_ext
16350
 
cat >>conftest.$ac_ext <<_ACEOF
 
15155
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351
15156
/* end confdefs.h.  */
16352
15157
$ac_includes_default
16353
15158
int
16361
15166
  return 0;
16362
15167
}
16363
15168
_ACEOF
16364
 
rm -f conftest$ac_exeext
16365
 
if { (ac_try="$ac_link"
16366
 
case "(($ac_try" in
16367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16368
 
  *) ac_try_echo=$ac_try;;
16369
 
esac
16370
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16371
 
$as_echo "$ac_try_echo") >&5
16372
 
  (eval "$ac_link") 2>&5
16373
 
  ac_status=$?
16374
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16376
 
  { (case "(($ac_try" in
16377
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16378
 
  *) ac_try_echo=$ac_try;;
16379
 
esac
16380
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16381
 
$as_echo "$ac_try_echo") >&5
16382
 
  (eval "$ac_try") 2>&5
16383
 
  ac_status=$?
16384
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385
 
  (exit $ac_status); }; }; then
 
15169
if ac_fn_c_try_run "$LINENO"; then :
16386
15170
  ac_cv_func_fork_works=yes
16387
15171
else
16388
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
16389
 
$as_echo "$as_me: failed program was:" >&5
16390
 
sed 's/^/| /' conftest.$ac_ext >&5
16391
 
 
16392
 
( exit $ac_status )
16393
 
ac_cv_func_fork_works=no
16394
 
fi
16395
 
rm -rf conftest.dSYM
16396
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16397
 
fi
16398
 
 
16399
 
 
16400
 
fi
16401
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
15172
  ac_cv_func_fork_works=no
 
15173
fi
 
15174
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15175
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15176
fi
 
15177
 
 
15178
fi
 
15179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
16402
15180
$as_echo "$ac_cv_func_fork_works" >&6; }
16403
15181
 
16404
15182
else
16414
15192
      ac_cv_func_fork_works=yes
16415
15193
      ;;
16416
15194
  esac
16417
 
  { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
 
15195
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16418
15196
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16419
15197
fi
16420
15198
ac_cv_func_vfork_works=$ac_cv_func_vfork
16421
15199
if test "x$ac_cv_func_vfork" = xyes; then
16422
 
  { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
 
15200
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
16423
15201
$as_echo_n "checking for working vfork... " >&6; }
16424
 
if test "${ac_cv_func_vfork_works+set}" = set; then
 
15202
if test "${ac_cv_func_vfork_works+set}" = set; then :
16425
15203
  $as_echo_n "(cached) " >&6
16426
15204
else
16427
 
  if test "$cross_compiling" = yes; then
 
15205
  if test "$cross_compiling" = yes; then :
16428
15206
  ac_cv_func_vfork_works=cross
16429
15207
else
16430
 
  cat >conftest.$ac_ext <<_ACEOF
16431
 
/* confdefs.h.  */
16432
 
_ACEOF
16433
 
cat confdefs.h >>conftest.$ac_ext
16434
 
cat >>conftest.$ac_ext <<_ACEOF
 
15208
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435
15209
/* end confdefs.h.  */
16436
15210
/* Thanks to Paul Eggert for this test.  */
16437
15211
$ac_includes_default
16523
15297
  }
16524
15298
}
16525
15299
_ACEOF
16526
 
rm -f conftest$ac_exeext
16527
 
if { (ac_try="$ac_link"
16528
 
case "(($ac_try" in
16529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16530
 
  *) ac_try_echo=$ac_try;;
16531
 
esac
16532
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16533
 
$as_echo "$ac_try_echo") >&5
16534
 
  (eval "$ac_link") 2>&5
16535
 
  ac_status=$?
16536
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16538
 
  { (case "(($ac_try" in
16539
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540
 
  *) ac_try_echo=$ac_try;;
16541
 
esac
16542
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16543
 
$as_echo "$ac_try_echo") >&5
16544
 
  (eval "$ac_try") 2>&5
16545
 
  ac_status=$?
16546
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547
 
  (exit $ac_status); }; }; then
 
15300
if ac_fn_c_try_run "$LINENO"; then :
16548
15301
  ac_cv_func_vfork_works=yes
16549
15302
else
16550
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
16551
 
$as_echo "$as_me: failed program was:" >&5
16552
 
sed 's/^/| /' conftest.$ac_ext >&5
16553
 
 
16554
 
( exit $ac_status )
16555
 
ac_cv_func_vfork_works=no
16556
 
fi
16557
 
rm -rf conftest.dSYM
16558
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16559
 
fi
16560
 
 
16561
 
 
16562
 
fi
16563
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
15303
  ac_cv_func_vfork_works=no
 
15304
fi
 
15305
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15306
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15307
fi
 
15308
 
 
15309
fi
 
15310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
16564
15311
$as_echo "$ac_cv_func_vfork_works" >&6; }
16565
15312
 
16566
15313
fi;
16567
15314
if test "x$ac_cv_func_fork_works" = xcross; then
16568
15315
  ac_cv_func_vfork_works=$ac_cv_func_vfork
16569
 
  { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
 
15316
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16570
15317
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16571
15318
fi
16572
15319
 
16573
15320
if test "x$ac_cv_func_vfork_works" = xyes; then
16574
15321
 
16575
 
cat >>confdefs.h <<\_ACEOF
16576
 
#define HAVE_WORKING_VFORK 1
16577
 
_ACEOF
 
15322
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
16578
15323
 
16579
15324
else
16580
15325
 
16581
 
cat >>confdefs.h <<\_ACEOF
16582
 
#define vfork fork
16583
 
_ACEOF
 
15326
$as_echo "#define vfork fork" >>confdefs.h
16584
15327
 
16585
15328
fi
16586
15329
if test "x$ac_cv_func_fork_works" = xyes; then
16587
15330
 
16588
 
cat >>confdefs.h <<\_ACEOF
16589
 
#define HAVE_WORKING_FORK 1
16590
 
_ACEOF
 
15331
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
16591
15332
 
16592
15333
fi
16593
15334
 
16594
 
 
16595
 
 
16596
15335
for ac_func in setenv strtol
16597
 
do
16598
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16599
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16600
 
$as_echo_n "checking for $ac_func... " >&6; }
16601
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16602
 
  $as_echo_n "(cached) " >&6
16603
 
else
16604
 
  cat >conftest.$ac_ext <<_ACEOF
16605
 
/* confdefs.h.  */
16606
 
_ACEOF
16607
 
cat confdefs.h >>conftest.$ac_ext
16608
 
cat >>conftest.$ac_ext <<_ACEOF
16609
 
/* end confdefs.h.  */
16610
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16611
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16612
 
#define $ac_func innocuous_$ac_func
16613
 
 
16614
 
/* System header to define __stub macros and hopefully few prototypes,
16615
 
    which can conflict with char $ac_func (); below.
16616
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16617
 
    <limits.h> exists even on freestanding compilers.  */
16618
 
 
16619
 
#ifdef __STDC__
16620
 
# include <limits.h>
16621
 
#else
16622
 
# include <assert.h>
16623
 
#endif
16624
 
 
16625
 
#undef $ac_func
16626
 
 
16627
 
/* Override any GCC internal prototype to avoid an error.
16628
 
   Use char because int might match the return type of a GCC
16629
 
   builtin and then its argument prototype would still apply.  */
16630
 
#ifdef __cplusplus
16631
 
extern "C"
16632
 
#endif
16633
 
char $ac_func ();
16634
 
/* The GNU C library defines this for functions which it implements
16635
 
    to always fail with ENOSYS.  Some functions are actually named
16636
 
    something starting with __ and the normal name is an alias.  */
16637
 
#if defined __stub_$ac_func || defined __stub___$ac_func
16638
 
choke me
16639
 
#endif
16640
 
 
16641
 
int
16642
 
main ()
16643
 
{
16644
 
return $ac_func ();
16645
 
  ;
16646
 
  return 0;
16647
 
}
16648
 
_ACEOF
16649
 
rm -f conftest.$ac_objext conftest$ac_exeext
16650
 
if { (ac_try="$ac_link"
16651
 
case "(($ac_try" in
16652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16653
 
  *) ac_try_echo=$ac_try;;
16654
 
esac
16655
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16656
 
$as_echo "$ac_try_echo") >&5
16657
 
  (eval "$ac_link") 2>conftest.er1
16658
 
  ac_status=$?
16659
 
  grep -v '^ *+' conftest.er1 >conftest.err
16660
 
  rm -f conftest.er1
16661
 
  cat conftest.err >&5
16662
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663
 
  (exit $ac_status); } && {
16664
 
         test -z "$ac_c_werror_flag" ||
16665
 
         test ! -s conftest.err
16666
 
       } && test -s conftest$ac_exeext && {
16667
 
         test "$cross_compiling" = yes ||
16668
 
         $as_test_x conftest$ac_exeext
16669
 
       }; then
16670
 
  eval "$as_ac_var=yes"
16671
 
else
16672
 
  $as_echo "$as_me: failed program was:" >&5
16673
 
sed 's/^/| /' conftest.$ac_ext >&5
16674
 
 
16675
 
        eval "$as_ac_var=no"
16676
 
fi
16677
 
 
16678
 
rm -rf conftest.dSYM
16679
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16680
 
      conftest$ac_exeext conftest.$ac_ext
16681
 
fi
16682
 
ac_res=`eval 'as_val=${'$as_ac_var'}
16683
 
                 $as_echo "$as_val"'`
16684
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16685
 
$as_echo "$ac_res" >&6; }
16686
 
as_val=`eval 'as_val=${'$as_ac_var'}
16687
 
                 $as_echo "$as_val"'`
16688
 
   if test "x$as_val" = x""yes; then
 
15336
do :
 
15337
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
15338
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
15339
eval as_val=\$$as_ac_var
 
15340
   if test "x$as_val" = x""yes; then :
16689
15341
  cat >>confdefs.h <<_ACEOF
16690
15342
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16691
15343
_ACEOF
16723
15375
    case $ac_val in #(
16724
15376
    *${as_nl}*)
16725
15377
      case $ac_var in #(
16726
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
15378
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16727
15379
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16728
15380
      esac
16729
15381
      case $ac_var in #(
16730
15382
      _ | IFS | as_nl) ;; #(
16731
15383
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16732
 
      *) $as_unset $ac_var ;;
 
15384
      *) { eval $ac_var=; unset $ac_var;} ;;
16733
15385
      esac ;;
16734
15386
    esac
16735
15387
  done
16737
15389
  (set) 2>&1 |
16738
15390
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16739
15391
    *${as_nl}ac_space=\ *)
16740
 
      # `set' does not quote correctly, so add quotes (double-quote
16741
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
15392
      # `set' does not quote correctly, so add quotes: double-quote
 
15393
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16742
15394
      sed -n \
16743
15395
        "s/'/'\\\\''/g;
16744
15396
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16761
15413
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16762
15414
  if test -w "$cache_file"; then
16763
15415
    test "x$cache_file" != "x/dev/null" &&
16764
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
15416
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16765
15417
$as_echo "$as_me: updating cache $cache_file" >&6;}
16766
15418
    cat confcache >$cache_file
16767
15419
  else
16768
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
15420
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16769
15421
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16770
15422
  fi
16771
15423
fi
16785
15437
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16786
15438
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16787
15439
  #    will be set to the directory where LIBOBJS objects are built.
16788
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16789
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
15440
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15441
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16790
15442
done
16791
15443
LIBOBJS=$ac_libobjs
16792
15444
 
16793
15445
LTLIBOBJS=$ac_ltlibobjs
16794
15446
 
16795
15447
 
 
15448
 if test -n "$EXEEXT"; then
 
15449
  am__EXEEXT_TRUE=
 
15450
  am__EXEEXT_FALSE='#'
 
15451
else
 
15452
  am__EXEEXT_TRUE='#'
 
15453
  am__EXEEXT_FALSE=
 
15454
fi
 
15455
 
16796
15456
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16797
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16798
 
Usually this means the macro was only invoked conditionally." >&5
16799
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16800
 
Usually this means the macro was only invoked conditionally." >&2;}
16801
 
   { (exit 1); exit 1; }; }
 
15457
  as_fn_error "conditional \"AMDEP\" was never defined.
 
15458
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16802
15459
fi
16803
15460
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16804
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16805
 
Usually this means the macro was only invoked conditionally." >&5
16806
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16807
 
Usually this means the macro was only invoked conditionally." >&2;}
16808
 
   { (exit 1); exit 1; }; }
 
15461
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
15462
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16809
15463
fi
16810
15464
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16811
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16812
 
Usually this means the macro was only invoked conditionally." >&5
16813
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16814
 
Usually this means the macro was only invoked conditionally." >&2;}
16815
 
   { (exit 1); exit 1; }; }
 
15465
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15466
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16816
15467
fi
16817
15468
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16818
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16819
 
Usually this means the macro was only invoked conditionally." >&5
16820
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16821
 
Usually this means the macro was only invoked conditionally." >&2;}
16822
 
   { (exit 1); exit 1; }; }
 
15469
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
15470
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16823
15471
fi
16824
15472
if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
16825
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined.
16826
 
Usually this means the macro was only invoked conditionally." >&5
16827
 
$as_echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined.
16828
 
Usually this means the macro was only invoked conditionally." >&2;}
16829
 
   { (exit 1); exit 1; }; }
 
15473
  as_fn_error "conditional \"ENABLE_DEBUG\" was never defined.
 
15474
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16830
15475
fi
16831
15476
 
16832
15477
: ${CONFIG_STATUS=./config.status}
16833
15478
ac_write_fail=0
16834
15479
ac_clean_files_save=$ac_clean_files
16835
15480
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16836
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
15481
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16837
15482
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16838
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15483
as_write_fail=0
 
15484
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16839
15485
#! $SHELL
16840
15486
# Generated by $as_me.
16841
15487
# Run this file to recreate the current configuration.
16845
15491
debug=false
16846
15492
ac_cs_recheck=false
16847
15493
ac_cs_silent=false
 
15494
 
16848
15495
SHELL=\${CONFIG_SHELL-$SHELL}
16849
 
_ACEOF
16850
 
 
16851
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16852
 
## --------------------- ##
16853
 
## M4sh Initialization.  ##
16854
 
## --------------------- ##
 
15496
export SHELL
 
15497
_ASEOF
 
15498
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15499
## -------------------- ##
 
15500
## M4sh Initialization. ##
 
15501
## -------------------- ##
16855
15502
 
16856
15503
# Be more Bourne compatible
16857
15504
DUALCASE=1; export DUALCASE # for MKS sh
16858
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15505
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16859
15506
  emulate sh
16860
15507
  NULLCMD=:
16861
15508
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16863
15510
  alias -g '${1+"$@"}'='"$@"'
16864
15511
  setopt NO_GLOB_SUBST
16865
15512
else
16866
 
  case `(set -o) 2>/dev/null` in
16867
 
  *posix*) set -o posix ;;
 
15513
  case `(set -o) 2>/dev/null` in #(
 
15514
  *posix*) :
 
15515
    set -o posix ;; #(
 
15516
  *) :
 
15517
     ;;
16868
15518
esac
16869
 
 
16870
15519
fi
16871
15520
 
16872
15521
 
16873
 
 
16874
 
 
16875
 
# PATH needs CR
16876
 
# Avoid depending upon Character Ranges.
16877
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16878
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16879
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16880
 
as_cr_digits='0123456789'
16881
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16882
 
 
16883
15522
as_nl='
16884
15523
'
16885
15524
export as_nl
16887
15526
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16888
15527
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16889
15528
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16890
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15529
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15530
# but without wasting forks for bash or zsh.
 
15531
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15532
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15533
  as_echo='print -r --'
 
15534
  as_echo_n='print -rn --'
 
15535
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16891
15536
  as_echo='printf %s\n'
16892
15537
  as_echo_n='printf %s'
16893
15538
else
16898
15543
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16899
15544
    as_echo_n_body='eval
16900
15545
      arg=$1;
16901
 
      case $arg in
 
15546
      case $arg in #(
16902
15547
      *"$as_nl"*)
16903
15548
        expr "X$arg" : "X\\(.*\\)$as_nl";
16904
15549
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16921
15566
  }
16922
15567
fi
16923
15568
 
16924
 
# Support unset when possible.
16925
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16926
 
  as_unset=unset
16927
 
else
16928
 
  as_unset=false
16929
 
fi
16930
 
 
16931
15569
 
16932
15570
# IFS
16933
15571
# We need space, tab and new line, in precisely that order.  Quoting is
16937
15575
IFS=" ""        $as_nl"
16938
15576
 
16939
15577
# Find who we are.  Look in the path if we contain no directory separator.
16940
 
case $0 in
 
15578
case $0 in #((
16941
15579
  *[\\/]* ) as_myself=$0 ;;
16942
15580
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16943
15581
for as_dir in $PATH
16944
15582
do
16945
15583
  IFS=$as_save_IFS
16946
15584
  test -z "$as_dir" && as_dir=.
16947
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16948
 
done
 
15585
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15586
  done
16949
15587
IFS=$as_save_IFS
16950
15588
 
16951
15589
     ;;
16957
15595
fi
16958
15596
if test ! -f "$as_myself"; then
16959
15597
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16960
 
  { (exit 1); exit 1; }
 
15598
  exit 1
16961
15599
fi
16962
15600
 
16963
 
# Work around bugs in pre-3.0 UWIN ksh.
16964
 
for as_var in ENV MAIL MAILPATH
16965
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
15601
# Unset variables that we do not need and which cause bugs (e.g. in
 
15602
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15603
# suppresses any "Segmentation fault" message there.  '((' could
 
15604
# trigger a bug in pdksh 5.2.14.
 
15605
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15606
do eval test x\${$as_var+set} = xset \
 
15607
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16966
15608
done
16967
15609
PS1='$ '
16968
15610
PS2='> '
16974
15616
LANGUAGE=C
16975
15617
export LANGUAGE
16976
15618
 
16977
 
# Required to use basename.
 
15619
# CDPATH.
 
15620
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15621
 
 
15622
 
 
15623
# as_fn_error ERROR [LINENO LOG_FD]
 
15624
# ---------------------------------
 
15625
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15626
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15627
# script with status $?, using 1 if that was 0.
 
15628
as_fn_error ()
 
15629
{
 
15630
  as_status=$?; test $as_status -eq 0 && as_status=1
 
15631
  if test "$3"; then
 
15632
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15633
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
15634
  fi
 
15635
  $as_echo "$as_me: error: $1" >&2
 
15636
  as_fn_exit $as_status
 
15637
} # as_fn_error
 
15638
 
 
15639
 
 
15640
# as_fn_set_status STATUS
 
15641
# -----------------------
 
15642
# Set $? to STATUS, without forking.
 
15643
as_fn_set_status ()
 
15644
{
 
15645
  return $1
 
15646
} # as_fn_set_status
 
15647
 
 
15648
# as_fn_exit STATUS
 
15649
# -----------------
 
15650
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15651
as_fn_exit ()
 
15652
{
 
15653
  set +e
 
15654
  as_fn_set_status $1
 
15655
  exit $1
 
15656
} # as_fn_exit
 
15657
 
 
15658
# as_fn_unset VAR
 
15659
# ---------------
 
15660
# Portably unset VAR.
 
15661
as_fn_unset ()
 
15662
{
 
15663
  { eval $1=; unset $1;}
 
15664
}
 
15665
as_unset=as_fn_unset
 
15666
# as_fn_append VAR VALUE
 
15667
# ----------------------
 
15668
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15669
# advantage of any shell optimizations that allow amortized linear growth over
 
15670
# repeated appends, instead of the typical quadratic growth present in naive
 
15671
# implementations.
 
15672
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15673
  eval 'as_fn_append ()
 
15674
  {
 
15675
    eval $1+=\$2
 
15676
  }'
 
15677
else
 
15678
  as_fn_append ()
 
15679
  {
 
15680
    eval $1=\$$1\$2
 
15681
  }
 
15682
fi # as_fn_append
 
15683
 
 
15684
# as_fn_arith ARG...
 
15685
# ------------------
 
15686
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15687
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15688
# must be portable across $(()) and expr.
 
15689
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15690
  eval 'as_fn_arith ()
 
15691
  {
 
15692
    as_val=$(( $* ))
 
15693
  }'
 
15694
else
 
15695
  as_fn_arith ()
 
15696
  {
 
15697
    as_val=`expr "$@" || test $? -eq 1`
 
15698
  }
 
15699
fi # as_fn_arith
 
15700
 
 
15701
 
16978
15702
if expr a : '\(a\)' >/dev/null 2>&1 &&
16979
15703
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16980
15704
  as_expr=expr
16988
15712
  as_basename=false
16989
15713
fi
16990
15714
 
 
15715
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15716
  as_dirname=dirname
 
15717
else
 
15718
  as_dirname=false
 
15719
fi
16991
15720
 
16992
 
# Name of the executable.
16993
15721
as_me=`$as_basename -- "$0" ||
16994
15722
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16995
15723
         X"$0" : 'X\(//\)$' \| \
17009
15737
          }
17010
15738
          s/.*/./; q'`
17011
15739
 
17012
 
# CDPATH.
17013
 
$as_unset CDPATH
17014
 
 
17015
 
 
17016
 
 
17017
 
  as_lineno_1=$LINENO
17018
 
  as_lineno_2=$LINENO
17019
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
17020
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17021
 
 
17022
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17023
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
17024
 
  # line-number line after each line using $LINENO; the second 'sed'
17025
 
  # does the real work.  The second script uses 'N' to pair each
17026
 
  # line-number line with the line containing $LINENO, and appends
17027
 
  # trailing '-' during substitution so that $LINENO is not a special
17028
 
  # case at line end.
17029
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17030
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17031
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
17032
 
  sed -n '
17033
 
    p
17034
 
    /[$]LINENO/=
17035
 
  ' <$as_myself |
17036
 
    sed '
17037
 
      s/[$]LINENO.*/&-/
17038
 
      t lineno
17039
 
      b
17040
 
      :lineno
17041
 
      N
17042
 
      :loop
17043
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17044
 
      t loop
17045
 
      s/-\n.*//
17046
 
    ' >$as_me.lineno &&
17047
 
  chmod +x "$as_me.lineno" ||
17048
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17049
 
   { (exit 1); exit 1; }; }
17050
 
 
17051
 
  # Don't try to exec as it changes $[0], causing all sort of problems
17052
 
  # (the dirname of $[0] is not the place where we might find the
17053
 
  # original and so on.  Autoconf is especially sensitive to this).
17054
 
  . "./$as_me.lineno"
17055
 
  # Exit status is that of the last command.
17056
 
  exit
17057
 
}
17058
 
 
17059
 
 
17060
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17061
 
  as_dirname=dirname
17062
 
else
17063
 
  as_dirname=false
17064
 
fi
 
15740
# Avoid depending upon Character Ranges.
 
15741
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15742
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15743
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15744
as_cr_digits='0123456789'
 
15745
as_cr_alnum=$as_cr_Letters$as_cr_digits
17065
15746
 
17066
15747
ECHO_C= ECHO_N= ECHO_T=
17067
 
case `echo -n x` in
 
15748
case `echo -n x` in #(((((
17068
15749
-n*)
17069
 
  case `echo 'x\c'` in
 
15750
  case `echo 'xy\c'` in
17070
15751
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17071
 
  *)   ECHO_C='\c';;
 
15752
  xy)  ECHO_C='\c';;
 
15753
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15754
       ECHO_T=' ';;
17072
15755
  esac;;
17073
15756
*)
17074
15757
  ECHO_N='-n';;
17075
15758
esac
17076
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
17077
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17078
 
  as_expr=expr
17079
 
else
17080
 
  as_expr=false
17081
 
fi
17082
15759
 
17083
15760
rm -f conf$$ conf$$.exe conf$$.file
17084
15761
if test -d conf$$.dir; then
17107
15784
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17108
15785
rmdir conf$$.dir 2>/dev/null
17109
15786
 
 
15787
 
 
15788
# as_fn_mkdir_p
 
15789
# -------------
 
15790
# Create "$as_dir" as a directory, including parents if necessary.
 
15791
as_fn_mkdir_p ()
 
15792
{
 
15793
 
 
15794
  case $as_dir in #(
 
15795
  -*) as_dir=./$as_dir;;
 
15796
  esac
 
15797
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15798
    as_dirs=
 
15799
    while :; do
 
15800
      case $as_dir in #(
 
15801
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15802
      *) as_qdir=$as_dir;;
 
15803
      esac
 
15804
      as_dirs="'$as_qdir' $as_dirs"
 
15805
      as_dir=`$as_dirname -- "$as_dir" ||
 
15806
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15807
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15808
         X"$as_dir" : 'X\(//\)$' \| \
 
15809
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15810
$as_echo X"$as_dir" |
 
15811
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15812
            s//\1/
 
15813
            q
 
15814
          }
 
15815
          /^X\(\/\/\)[^/].*/{
 
15816
            s//\1/
 
15817
            q
 
15818
          }
 
15819
          /^X\(\/\/\)$/{
 
15820
            s//\1/
 
15821
            q
 
15822
          }
 
15823
          /^X\(\/\).*/{
 
15824
            s//\1/
 
15825
            q
 
15826
          }
 
15827
          s/.*/./; q'`
 
15828
      test -d "$as_dir" && break
 
15829
    done
 
15830
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15831
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15832
 
 
15833
 
 
15834
} # as_fn_mkdir_p
17110
15835
if mkdir -p . 2>/dev/null; then
17111
 
  as_mkdir_p=:
 
15836
  as_mkdir_p='mkdir -p "$as_dir"'
17112
15837
else
17113
15838
  test -d ./-p && rmdir ./-p
17114
15839
  as_mkdir_p=false
17127
15852
      if test -d "$1"; then
17128
15853
        test -d "$1/.";
17129
15854
      else
17130
 
        case $1 in
 
15855
        case $1 in #(
17131
15856
        -*)set "./$1";;
17132
15857
        esac;
17133
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
15858
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17134
15859
        ???[sx]*):;;*)false;;esac;fi
17135
15860
    '\'' sh
17136
15861
  '
17145
15870
 
17146
15871
 
17147
15872
exec 6>&1
 
15873
## ----------------------------------- ##
 
15874
## Main body of $CONFIG_STATUS script. ##
 
15875
## ----------------------------------- ##
 
15876
_ASEOF
 
15877
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17148
15878
 
17149
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
15879
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15880
# Save the log message, to keep $0 and so on meaningful, and to
17150
15881
# report actual input values of CONFIG_FILES etc. instead of their
17151
15882
# values after options handling.
17152
15883
ac_log="
17153
 
This file was extended by fbterm_ucimf $as_me 0.2.6, which was
17154
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
15884
This file was extended by fbterm_ucimf $as_me 0.2.7.1, which was
 
15885
generated by GNU Autoconf 2.65.  Invocation command line was
17155
15886
 
17156
15887
  CONFIG_FILES    = $CONFIG_FILES
17157
15888
  CONFIG_HEADERS  = $CONFIG_HEADERS
17183
15914
 
17184
15915
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17185
15916
ac_cs_usage="\
17186
 
\`$as_me' instantiates files from templates according to the
17187
 
current configuration.
 
15917
\`$as_me' instantiates files and other configuration actions
 
15918
from templates according to the current configuration.  Unless the files
 
15919
and actions are specified as TAGs, all are instantiated by default.
17188
15920
 
17189
 
Usage: $0 [OPTION]... [FILE]...
 
15921
Usage: $0 [OPTION]... [TAG]...
17190
15922
 
17191
15923
  -h, --help       print this help, then exit
17192
15924
  -V, --version    print version number and configuration settings, then exit
 
15925
      --config     print configuration, then exit
17193
15926
  -q, --quiet, --silent
17194
15927
                   do not print progress messages
17195
15928
  -d, --debug      don't remove temporary files
17208
15941
Configuration commands:
17209
15942
$config_commands
17210
15943
 
17211
 
Report bugs to <bug-autoconf@gnu.org>."
 
15944
Report bugs to <ucimf@googlegroups.com>."
17212
15945
 
17213
15946
_ACEOF
17214
15947
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15948
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17215
15949
ac_cs_version="\\
17216
 
fbterm_ucimf config.status 0.2.6
17217
 
configured by $0, generated by GNU Autoconf 2.63,
17218
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
15950
fbterm_ucimf config.status 0.2.7.1
 
15951
configured by $0, generated by GNU Autoconf 2.65,
 
15952
  with options \\"\$ac_cs_config\\"
17219
15953
 
17220
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
15954
Copyright (C) 2009 Free Software Foundation, Inc.
17221
15955
This config.status script is free software; the Free Software Foundation
17222
15956
gives unlimited permission to copy, distribute and modify it."
17223
15957
 
17253
15987
    ac_cs_recheck=: ;;
17254
15988
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17255
15989
    $as_echo "$ac_cs_version"; exit ;;
 
15990
  --config | --confi | --conf | --con | --co | --c )
 
15991
    $as_echo "$ac_cs_config"; exit ;;
17256
15992
  --debug | --debu | --deb | --de | --d | -d )
17257
15993
    debug=: ;;
17258
15994
  --file | --fil | --fi | --f )
17260
15996
    case $ac_optarg in
17261
15997
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17262
15998
    esac
17263
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
15999
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17264
16000
    ac_need_defaults=false;;
17265
16001
  --header | --heade | --head | --hea )
17266
16002
    $ac_shift
17267
16003
    case $ac_optarg in
17268
16004
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17269
16005
    esac
17270
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
16006
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17271
16007
    ac_need_defaults=false;;
17272
16008
  --he | --h)
17273
16009
    # Conflict between --help and --header
17274
 
    { $as_echo "$as_me: error: ambiguous option: $1
17275
 
Try \`$0 --help' for more information." >&2
17276
 
   { (exit 1); exit 1; }; };;
 
16010
    as_fn_error "ambiguous option: \`$1'
 
16011
Try \`$0 --help' for more information.";;
17277
16012
  --help | --hel | -h )
17278
16013
    $as_echo "$ac_cs_usage"; exit ;;
17279
16014
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17281
16016
    ac_cs_silent=: ;;
17282
16017
 
17283
16018
  # This is an error.
17284
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
17285
 
Try \`$0 --help' for more information." >&2
17286
 
   { (exit 1); exit 1; }; } ;;
 
16019
  -*) as_fn_error "unrecognized option: \`$1'
 
16020
Try \`$0 --help' for more information." ;;
17287
16021
 
17288
 
  *) ac_config_targets="$ac_config_targets $1"
 
16022
  *) as_fn_append ac_config_targets " $1"
17289
16023
     ac_need_defaults=false ;;
17290
16024
 
17291
16025
  esac
17692
16426
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17693
16427
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17694
16428
 
17695
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17696
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17697
 
   { (exit 1); exit 1; }; };;
 
16429
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17698
16430
  esac
17699
16431
done
17700
16432
 
17721
16453
  trap 'exit_status=$?
17722
16454
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17723
16455
' 0
17724
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
16456
  trap 'as_fn_exit 1' 1 2 13 15
17725
16457
}
17726
16458
# Create a (secure) tmp directory for tmp files.
17727
16459
 
17732
16464
{
17733
16465
  tmp=./conf$$-$RANDOM
17734
16466
  (umask 077 && mkdir "$tmp")
17735
 
} ||
17736
 
{
17737
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
17738
 
   { (exit 1); exit 1; }
17739
 
}
 
16467
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17740
16468
 
17741
16469
# Set up the scripts for CONFIG_FILES section.
17742
16470
# No need to generate them if there are no CONFIG_FILES.
17744
16472
if test -n "$CONFIG_FILES"; then
17745
16473
 
17746
16474
 
17747
 
ac_cr='
 
 
b"'"
 
16475
ac_cr=`echo X | tr X '\015'`
 
16476
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16477
# But we know of no other shell where ac_cr would be empty at this
 
16478
# point, so we can use a bashism as a fallback.
 
16479
if test "x$ac_cr" = x; then
 
16480
  eval ac_cr=\$\'\\r\'
 
16481
fi
17748
16482
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17749
16483
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17750
 
  ac_cs_awk_cr='\\r'
 
16484
  ac_cs_awk_cr='\r'
17751
16485
else
17752
16486
  ac_cs_awk_cr=$ac_cr
17753
16487
fi
17761
16495
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17762
16496
  echo "_ACEOF"
17763
16497
} >conf$$subs.sh ||
17764
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17765
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17766
 
   { (exit 1); exit 1; }; }
 
16498
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17767
16499
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17768
16500
ac_delim='%!_!# '
17769
16501
for ac_last_try in false false false false false :; do
17770
16502
  . ./conf$$subs.sh ||
17771
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17772
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17773
 
   { (exit 1); exit 1; }; }
 
16503
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17774
16504
 
17775
16505
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17776
16506
  if test $ac_delim_n = $ac_delim_num; then
17777
16507
    break
17778
16508
  elif $ac_last_try; then
17779
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17780
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17781
 
   { (exit 1); exit 1; }; }
 
16509
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17782
16510
  else
17783
16511
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17784
16512
  fi
17800
16528
t delim
17801
16529
:nl
17802
16530
h
17803
 
s/\(.\{148\}\).*/\1/
 
16531
s/\(.\{148\}\)..*/\1/
17804
16532
t more1
17805
16533
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17806
16534
p
17814
16542
t nl
17815
16543
:delim
17816
16544
h
17817
 
s/\(.\{148\}\).*/\1/
 
16545
s/\(.\{148\}\)..*/\1/
17818
16546
t more2
17819
16547
s/["\\]/\\&/g; s/^/"/; s/$/"/
17820
16548
p
17867
16595
else
17868
16596
  cat
17869
16597
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17870
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
17871
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
17872
 
   { (exit 1); exit 1; }; }
 
16598
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
17873
16599
_ACEOF
17874
16600
 
17875
16601
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17910
16636
  if test -z "$ac_t"; then
17911
16637
    break
17912
16638
  elif $ac_last_try; then
17913
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
17914
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
17915
 
   { (exit 1); exit 1; }; }
 
16639
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17916
16640
  else
17917
16641
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17918
16642
  fi
17997
16721
_ACAWK
17998
16722
_ACEOF
17999
16723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18000
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18001
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18002
 
   { (exit 1); exit 1; }; }
 
16724
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
18003
16725
fi # test -n "$CONFIG_HEADERS"
18004
16726
 
18005
16727
 
18012
16734
  esac
18013
16735
  case $ac_mode$ac_tag in
18014
16736
  :[FHL]*:*);;
18015
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18016
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18017
 
   { (exit 1); exit 1; }; };;
 
16737
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18018
16738
  :[FH]-) ac_tag=-:-;;
18019
16739
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18020
16740
  esac
18042
16762
           [\\/$]*) false;;
18043
16763
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18044
16764
           esac ||
18045
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18046
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18047
 
   { (exit 1); exit 1; }; };;
 
16765
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18048
16766
      esac
18049
16767
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18050
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
16768
      as_fn_append ac_file_inputs " '$ac_f'"
18051
16769
    done
18052
16770
 
18053
16771
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18058
16776
        `' by configure.'
18059
16777
    if test x"$ac_file" != x-; then
18060
16778
      configure_input="$ac_file.  $configure_input"
18061
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
16779
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18062
16780
$as_echo "$as_me: creating $ac_file" >&6;}
18063
16781
    fi
18064
16782
    # Neutralize special characters interpreted by sed in replacement strings.
18071
16789
 
18072
16790
    case $ac_tag in
18073
16791
    *:-:* | *:-) cat >"$tmp/stdin" \
18074
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18075
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18076
 
   { (exit 1); exit 1; }; } ;;
 
16792
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18077
16793
    esac
18078
16794
    ;;
18079
16795
  esac
18101
16817
            q
18102
16818
          }
18103
16819
          s/.*/./; q'`
18104
 
  { as_dir="$ac_dir"
18105
 
  case $as_dir in #(
18106
 
  -*) as_dir=./$as_dir;;
18107
 
  esac
18108
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18109
 
    as_dirs=
18110
 
    while :; do
18111
 
      case $as_dir in #(
18112
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18113
 
      *) as_qdir=$as_dir;;
18114
 
      esac
18115
 
      as_dirs="'$as_qdir' $as_dirs"
18116
 
      as_dir=`$as_dirname -- "$as_dir" ||
18117
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18118
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
18119
 
         X"$as_dir" : 'X\(//\)$' \| \
18120
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18121
 
$as_echo X"$as_dir" |
18122
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18123
 
            s//\1/
18124
 
            q
18125
 
          }
18126
 
          /^X\(\/\/\)[^/].*/{
18127
 
            s//\1/
18128
 
            q
18129
 
          }
18130
 
          /^X\(\/\/\)$/{
18131
 
            s//\1/
18132
 
            q
18133
 
          }
18134
 
          /^X\(\/\).*/{
18135
 
            s//\1/
18136
 
            q
18137
 
          }
18138
 
          s/.*/./; q'`
18139
 
      test -d "$as_dir" && break
18140
 
    done
18141
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18142
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18143
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18144
 
   { (exit 1); exit 1; }; }; }
 
16820
  as_dir="$ac_dir"; as_fn_mkdir_p
18145
16821
  ac_builddir=.
18146
16822
 
18147
16823
case "$ac_dir" in
18198
16874
# If the template does not know about datarootdir, expand it.
18199
16875
# FIXME: This hack should be removed a few years after 2.60.
18200
16876
ac_datarootdir_hack=; ac_datarootdir_seen=
18201
 
 
18202
16877
ac_sed_dataroot='
18203
16878
/datarootdir/ {
18204
16879
  p
18208
16883
/@docdir@/p
18209
16884
/@infodir@/p
18210
16885
/@localedir@/p
18211
 
/@mandir@/p
18212
 
'
 
16886
/@mandir@/p'
18213
16887
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18214
16888
*datarootdir*) ac_datarootdir_seen=yes;;
18215
16889
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18216
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16890
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18217
16891
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18218
16892
_ACEOF
18219
16893
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18223
16897
  s&@infodir@&$infodir&g
18224
16898
  s&@localedir@&$localedir&g
18225
16899
  s&@mandir@&$mandir&g
18226
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
16900
  s&\\\${datarootdir}&$datarootdir&g' ;;
18227
16901
esac
18228
16902
_ACEOF
18229
16903
 
18252
16926
$ac_datarootdir_hack
18253
16927
"
18254
16928
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18255
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18256
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18257
 
   { (exit 1); exit 1; }; }
 
16929
  || as_fn_error "could not create $ac_file" "$LINENO" 5
18258
16930
 
18259
16931
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18260
16932
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18261
16933
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18262
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16934
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18263
16935
which seems to be undefined.  Please make sure it is defined." >&5
18264
16936
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18265
16937
which seems to be undefined.  Please make sure it is defined." >&2;}
18269
16941
  -) cat "$tmp/out" && rm -f "$tmp/out";;
18270
16942
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18271
16943
  esac \
18272
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18273
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18274
 
   { (exit 1); exit 1; }; }
 
16944
  || as_fn_error "could not create $ac_file" "$LINENO" 5
18275
16945
 ;;
18276
16946
  :H)
18277
16947
  #
18282
16952
      $as_echo "/* $configure_input  */" \
18283
16953
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18284
16954
    } >"$tmp/config.h" \
18285
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18286
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18287
 
   { (exit 1); exit 1; }; }
 
16955
      || as_fn_error "could not create $ac_file" "$LINENO" 5
18288
16956
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18289
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
16957
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18290
16958
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18291
16959
    else
18292
16960
      rm -f "$ac_file"
18293
16961
      mv "$tmp/config.h" "$ac_file" \
18294
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18295
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18296
 
   { (exit 1); exit 1; }; }
 
16962
        || as_fn_error "could not create $ac_file" "$LINENO" 5
18297
16963
    fi
18298
16964
  else
18299
16965
    $as_echo "/* $configure_input  */" \
18300
16966
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18301
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18302
 
$as_echo "$as_me: error: could not create -" >&2;}
18303
 
   { (exit 1); exit 1; }; }
 
16967
      || as_fn_error "could not create -" "$LINENO" 5
18304
16968
  fi
18305
16969
# Compute "$ac_file"'s index in $config_headers.
18306
16970
_am_arg="$ac_file"
18338
17002
          s/.*/./; q'`/stamp-h$_am_stamp_count
18339
17003
 ;;
18340
17004
 
18341
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
17005
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18342
17006
$as_echo "$as_me: executing $ac_file commands" >&6;}
18343
17007
 ;;
18344
17008
  esac
18345
17009
 
18346
17010
 
18347
17011
  case $ac_file$ac_mode in
18348
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
18349
 
# are listed without --file.  Let's play safe and only enable the eval
18350
 
# if we detect the quoting.
18351
 
case $CONFIG_FILES in
18352
 
*\'*) eval set x "$CONFIG_FILES" ;;
18353
 
*)   set x $CONFIG_FILES ;;
18354
 
esac
18355
 
shift
18356
 
for mf
18357
 
do
18358
 
  # Strip MF so we end up with the name of the file.
18359
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
18360
 
  # Check whether this is an Automake generated Makefile or not.
18361
 
  # We used to match only the files named `Makefile.in', but
18362
 
  # some people rename them; so instead we look at the file content.
18363
 
  # Grep'ing the first line is not enough: some people post-process
18364
 
  # each Makefile.in and add a new line on top of each file to say so.
18365
 
  # Grep'ing the whole file is not good either: AIX grep has a line
18366
 
  # limit of 2048, but all sed's we know have understand at least 4000.
18367
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18368
 
    dirpart=`$as_dirname -- "$mf" ||
 
17012
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
17013
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
17014
  # are listed without --file.  Let's play safe and only enable the eval
 
17015
  # if we detect the quoting.
 
17016
  case $CONFIG_FILES in
 
17017
  *\'*) eval set x "$CONFIG_FILES" ;;
 
17018
  *)   set x $CONFIG_FILES ;;
 
17019
  esac
 
17020
  shift
 
17021
  for mf
 
17022
  do
 
17023
    # Strip MF so we end up with the name of the file.
 
17024
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
17025
    # Check whether this is an Automake generated Makefile or not.
 
17026
    # We used to match only the files named `Makefile.in', but
 
17027
    # some people rename them; so instead we look at the file content.
 
17028
    # Grep'ing the first line is not enough: some people post-process
 
17029
    # each Makefile.in and add a new line on top of each file to say so.
 
17030
    # Grep'ing the whole file is not good either: AIX grep has a line
 
17031
    # limit of 2048, but all sed's we know have understand at least 4000.
 
17032
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
17033
      dirpart=`$as_dirname -- "$mf" ||
18369
17034
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18370
17035
         X"$mf" : 'X\(//\)[^/]' \| \
18371
17036
         X"$mf" : 'X\(//\)$' \| \
18388
17053
            q
18389
17054
          }
18390
17055
          s/.*/./; q'`
18391
 
  else
18392
 
    continue
18393
 
  fi
18394
 
  # Extract the definition of DEPDIR, am__include, and am__quote
18395
 
  # from the Makefile without running `make'.
18396
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18397
 
  test -z "$DEPDIR" && continue
18398
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
18399
 
  test -z "am__include" && continue
18400
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18401
 
  # When using ansi2knr, U may be empty or an underscore; expand it
18402
 
  U=`sed -n 's/^U = //p' < "$mf"`
18403
 
  # Find all dependency output files, they are included files with
18404
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
18405
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
18406
 
  # expansion.
18407
 
  for file in `sed -n "
18408
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18409
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18410
 
    # Make sure the directory exists.
18411
 
    test -f "$dirpart/$file" && continue
18412
 
    fdir=`$as_dirname -- "$file" ||
 
17056
    else
 
17057
      continue
 
17058
    fi
 
17059
    # Extract the definition of DEPDIR, am__include, and am__quote
 
17060
    # from the Makefile without running `make'.
 
17061
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
17062
    test -z "$DEPDIR" && continue
 
17063
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
17064
    test -z "am__include" && continue
 
17065
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
17066
    # When using ansi2knr, U may be empty or an underscore; expand it
 
17067
    U=`sed -n 's/^U = //p' < "$mf"`
 
17068
    # Find all dependency output files, they are included files with
 
17069
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
17070
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
17071
    # expansion.
 
17072
    for file in `sed -n "
 
17073
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
17074
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
17075
      # Make sure the directory exists.
 
17076
      test -f "$dirpart/$file" && continue
 
17077
      fdir=`$as_dirname -- "$file" ||
18413
17078
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18414
17079
         X"$file" : 'X\(//\)[^/]' \| \
18415
17080
         X"$file" : 'X\(//\)$' \| \
18432
17097
            q
18433
17098
          }
18434
17099
          s/.*/./; q'`
18435
 
    { as_dir=$dirpart/$fdir
18436
 
  case $as_dir in #(
18437
 
  -*) as_dir=./$as_dir;;
18438
 
  esac
18439
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18440
 
    as_dirs=
18441
 
    while :; do
18442
 
      case $as_dir in #(
18443
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18444
 
      *) as_qdir=$as_dir;;
18445
 
      esac
18446
 
      as_dirs="'$as_qdir' $as_dirs"
18447
 
      as_dir=`$as_dirname -- "$as_dir" ||
18448
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18449
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
18450
 
         X"$as_dir" : 'X\(//\)$' \| \
18451
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18452
 
$as_echo X"$as_dir" |
18453
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18454
 
            s//\1/
18455
 
            q
18456
 
          }
18457
 
          /^X\(\/\/\)[^/].*/{
18458
 
            s//\1/
18459
 
            q
18460
 
          }
18461
 
          /^X\(\/\/\)$/{
18462
 
            s//\1/
18463
 
            q
18464
 
          }
18465
 
          /^X\(\/\).*/{
18466
 
            s//\1/
18467
 
            q
18468
 
          }
18469
 
          s/.*/./; q'`
18470
 
      test -d "$as_dir" && break
 
17100
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
17101
      # echo "creating $dirpart/$file"
 
17102
      echo '# dummy' > "$dirpart/$file"
18471
17103
    done
18472
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18473
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18474
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18475
 
   { (exit 1); exit 1; }; }; }
18476
 
    # echo "creating $dirpart/$file"
18477
 
    echo '# dummy' > "$dirpart/$file"
18478
17104
  done
18479
 
done
 
17105
}
18480
17106
 ;;
18481
17107
    "libtool":C)
18482
17108
 
19285
17911
done # for ac_tag
19286
17912
 
19287
17913
 
19288
 
{ (exit 0); exit 0; }
 
17914
as_fn_exit 0
19289
17915
_ACEOF
19290
 
chmod +x $CONFIG_STATUS
19291
17916
ac_clean_files=$ac_clean_files_save
19292
17917
 
19293
17918
test $ac_write_fail = 0 ||
19294
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19295
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19296
 
   { (exit 1); exit 1; }; }
 
17919
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19297
17920
 
19298
17921
 
19299
17922
# configure is writing to config.log, and then calls config.status.
19314
17937
  exec 5>>config.log
19315
17938
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19316
17939
  # would make configure fail if this is the last instruction.
19317
 
  $ac_cs_success || { (exit 1); exit 1; }
 
17940
  $ac_cs_success || as_fn_exit $?
19318
17941
fi
19319
17942
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19320
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17943
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19321
17944
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19322
17945
fi
19323
17946