~ubuntu-branches/ubuntu/trusty/mountall/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Scott James Remnant, Kees Cook
  • Date: 2009-09-23 14:19:01 UTC
  • Revision ID: james.westby@ubuntu.com-20090923141901-anla1vw4troxeixl
Tags: 0.1.8
[ Scott James Remnant ]
* Further work on the fix from the previous version where the root
  filesystem would always be considered "local", retain that from the
  POV of the {virtual,local,remote}-filesystems events, but do mount
  the root straight away when it's virtual since there's no device to
  wait until it's ready.  LP: #431204.
* If a remote filesystem is already mounted and doesn't need a remount,
  don't wait for a network device to come up.  LP: #430348.

* Ignore single and double quotes in fstab device specifications, since
  mount -a used to.  LP: #431064.
* Never write mtab when mounting a mount with showthroughs (ie. /var)
  and instead update mtab once we've moved it into place
  later.  LP: #434172.

[ Kees Cook ]
* src/mountall.c: rework nftw hooks to use a global for argument passing
  instead of using nested functions and the resulting trampolines that
  cause an executable stack.  LP: #434813.
* debian/rules: revert powerpc exception, since the cause is fixed by
  removing the nested functions.

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 mountall 0.1.0.
 
3
# Generated by GNU Autoconf 2.64 for mountall 0.1.
4
4
#
5
5
# Report bugs to <ubuntu-devel@lists.ubuntu.com>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
 
10
#
9
11
# This configure script is free software; the Free Software Foundation
10
12
# gives unlimited permission to copy, distribute and modify it.
11
13
#
12
14
# Copyright © 2009 Canonical Ltd.
13
 
## --------------------- ##
14
 
## M4sh Initialization.  ##
15
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
16
18
 
17
19
# Be more Bourne compatible
18
20
DUALCASE=1; export DUALCASE # for MKS sh
19
 
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 :
20
22
  emulate sh
21
23
  NULLCMD=:
22
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24
26
  alias -g '${1+"$@"}'='"$@"'
25
27
  setopt NO_GLOB_SUBST
26
28
else
27
 
  case `(set -o) 2>/dev/null` in
28
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
29
34
esac
30
 
 
31
35
fi
32
36
 
33
37
 
34
 
 
35
 
 
36
 
# PATH needs CR
37
 
# Avoid depending upon Character Ranges.
38
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41
 
as_cr_digits='0123456789'
42
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
43
 
 
44
38
as_nl='
45
39
'
46
40
export as_nl
48
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
49
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
50
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
51
 
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
52
52
  as_echo='printf %s\n'
53
53
  as_echo_n='printf %s'
54
54
else
59
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
60
    as_echo_n_body='eval
61
61
      arg=$1;
62
 
      case $arg in
 
62
      case $arg in #(
63
63
      *"$as_nl"*)
64
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82
82
  }
83
83
fi
84
84
 
85
 
# Support unset when possible.
86
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
87
 
  as_unset=unset
88
 
else
89
 
  as_unset=false
90
 
fi
91
 
 
92
85
 
93
86
# IFS
94
87
# We need space, tab and new line, in precisely that order.  Quoting is
98
91
IFS=" ""        $as_nl"
99
92
 
100
93
# Find who we are.  Look in the path if we contain no directory separator.
101
 
case $0 in
 
94
case $0 in #((
102
95
  *[\\/]* ) as_myself=$0 ;;
103
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
104
97
for as_dir in $PATH
105
98
do
106
99
  IFS=$as_save_IFS
107
100
  test -z "$as_dir" && as_dir=.
108
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
110
103
IFS=$as_save_IFS
111
104
 
112
105
     ;;
118
111
fi
119
112
if test ! -f "$as_myself"; then
120
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121
 
  { (exit 1); exit 1; }
 
114
  exit 1
122
115
fi
123
116
 
124
 
# Work around bugs in pre-3.0 UWIN ksh.
125
 
for as_var in ENV MAIL MAILPATH
126
 
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 || :
127
124
done
128
125
PS1='$ '
129
126
PS2='> '
135
132
LANGUAGE=C
136
133
export LANGUAGE
137
134
 
138
 
# Required to use basename.
139
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
140
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
141
 
  as_expr=expr
142
 
else
143
 
  as_expr=false
144
 
fi
145
 
 
146
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
147
 
  as_basename=basename
148
 
else
149
 
  as_basename=false
150
 
fi
151
 
 
152
 
 
153
 
# Name of the executable.
154
 
as_me=`$as_basename -- "$0" ||
155
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
156
 
         X"$0" : 'X\(//\)$' \| \
157
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158
 
$as_echo X/"$0" |
159
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\/\)$/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          /^X\/\(\/\).*/{
168
 
            s//\1/
169
 
            q
170
 
          }
171
 
          s/.*/./; q'`
172
 
 
173
135
# CDPATH.
174
 
$as_unset CDPATH
175
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
176
137
 
177
138
if test "x$CONFIG_SHELL" = x; then
178
 
  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 :
179
178
  as_have_required=yes
180
179
else
181
180
  as_have_required=no
182
181
fi
183
 
 
184
 
  if test $as_have_required = yes &&     (eval ":
185
 
(as_func_return () {
186
 
  (exit \$1)
187
 
}
188
 
as_func_success () {
189
 
  as_func_return 0
190
 
}
191
 
as_func_failure () {
192
 
  as_func_return 1
193
 
}
194
 
as_func_ret_success () {
195
 
  return 0
196
 
}
197
 
as_func_ret_failure () {
198
 
  return 1
199
 
}
200
 
 
201
 
exitcode=0
202
 
if as_func_success; then
203
 
  :
204
 
else
205
 
  exitcode=1
206
 
  echo as_func_success failed.
207
 
fi
208
 
 
209
 
if as_func_failure; then
210
 
  exitcode=1
211
 
  echo as_func_failure succeeded.
212
 
fi
213
 
 
214
 
if as_func_ret_success; then
215
 
  :
216
 
else
217
 
  exitcode=1
218
 
  echo as_func_ret_success failed.
219
 
fi
220
 
 
221
 
if as_func_ret_failure; then
222
 
  exitcode=1
223
 
  echo as_func_ret_failure succeeded.
224
 
fi
225
 
 
226
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
227
 
  :
228
 
else
229
 
  exitcode=1
230
 
  echo positional parameters were not saved.
231
 
fi
232
 
 
233
 
test \$exitcode = 0) || { (exit 1); exit 1; }
234
 
 
235
 
(
236
 
  as_lineno_1=\$LINENO
237
 
  as_lineno_2=\$LINENO
238
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
239
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
240
 
") 2> /dev/null; then
241
 
  :
242
 
else
243
 
  as_candidate_shells=
244
 
    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
245
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
188
do
247
189
  IFS=$as_save_IFS
248
190
  test -z "$as_dir" && as_dir=.
249
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
250
193
         /*)
251
194
           for as_base in sh bash ksh sh5; do
252
 
             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
253
204
           done;;
254
205
       esac
 
206
  as_found=false
255
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; }
256
212
IFS=$as_save_IFS
257
213
 
258
214
 
259
 
      for as_shell in $as_candidate_shells $SHELL; do
260
 
         # Try only shells that exist, to save several forks.
261
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
262
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
_ASEOF
280
 
}; then
281
 
  CONFIG_SHELL=$as_shell
282
 
               as_have_required=yes
283
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
284
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
 
  emulate sh
286
 
  NULLCMD=:
287
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
288
 
  # is contrary to our usage.  Disable this feature.
289
 
  alias -g '${1+"$@"}'='"$@"'
290
 
  setopt NO_GLOB_SUBST
291
 
else
292
 
  case `(set -o) 2>/dev/null` in
293
 
  *posix*) set -o posix ;;
294
 
esac
295
 
 
296
 
fi
297
 
 
298
 
 
299
 
:
300
 
(as_func_return () {
301
 
  (exit $1)
302
 
}
303
 
as_func_success () {
304
 
  as_func_return 0
305
 
}
306
 
as_func_failure () {
307
 
  as_func_return 1
308
 
}
309
 
as_func_ret_success () {
310
 
  return 0
311
 
}
312
 
as_func_ret_failure () {
313
 
  return 1
314
 
}
315
 
 
316
 
exitcode=0
317
 
if as_func_success; then
318
 
  :
319
 
else
320
 
  exitcode=1
321
 
  echo as_func_success failed.
322
 
fi
323
 
 
324
 
if as_func_failure; then
325
 
  exitcode=1
326
 
  echo as_func_failure succeeded.
327
 
fi
328
 
 
329
 
if as_func_ret_success; then
330
 
  :
331
 
else
332
 
  exitcode=1
333
 
  echo as_func_ret_success failed.
334
 
fi
335
 
 
336
 
if as_func_ret_failure; then
337
 
  exitcode=1
338
 
  echo as_func_ret_failure succeeded.
339
 
fi
340
 
 
341
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
342
 
  :
343
 
else
344
 
  exitcode=1
345
 
  echo positional parameters were not saved.
346
 
fi
347
 
 
348
 
test $exitcode = 0) || { (exit 1); exit 1; }
349
 
 
350
 
(
351
 
  as_lineno_1=$LINENO
352
 
  as_lineno_2=$LINENO
353
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
354
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
355
 
 
356
 
_ASEOF
357
 
}; then
358
 
  break
359
 
fi
360
 
 
361
 
fi
362
 
 
363
 
      done
364
 
 
365
 
      if test "x$CONFIG_SHELL" != x; then
366
 
  for as_var in BASH_ENV ENV
367
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368
 
        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
369
222
        export CONFIG_SHELL
370
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
371
224
fi
372
225
 
373
 
 
374
 
    if test $as_have_required = no; then
375
 
  echo This script requires a shell more modern than all the
376
 
      echo shells that I found on your system.  Please install a
377
 
      echo modern shell, or manually run the script under such a
378
 
      echo shell if you do have one.
379
 
      { (exit 1); exit 1; }
380
 
fi
381
 
 
382
 
 
383
 
fi
384
 
 
385
 
fi
386
 
 
387
 
 
388
 
 
389
 
(eval "as_func_return () {
390
 
  (exit \$1)
391
 
}
392
 
as_func_success () {
393
 
  as_func_return 0
394
 
}
395
 
as_func_failure () {
396
 
  as_func_return 1
397
 
}
398
 
as_func_ret_success () {
399
 
  return 0
400
 
}
401
 
as_func_ret_failure () {
402
 
  return 1
403
 
}
404
 
 
405
 
exitcode=0
406
 
if as_func_success; then
407
 
  :
408
 
else
409
 
  exitcode=1
410
 
  echo as_func_success failed.
411
 
fi
412
 
 
413
 
if as_func_failure; then
414
 
  exitcode=1
415
 
  echo as_func_failure succeeded.
416
 
fi
417
 
 
418
 
if as_func_ret_success; then
419
 
  :
420
 
else
421
 
  exitcode=1
422
 
  echo as_func_ret_success failed.
423
 
fi
424
 
 
425
 
if as_func_ret_failure; then
426
 
  exitcode=1
427
 
  echo as_func_ret_failure succeeded.
428
 
fi
429
 
 
430
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
431
 
  :
432
 
else
433
 
  exitcode=1
434
 
  echo positional parameters were not saved.
435
 
fi
436
 
 
437
 
test \$exitcode = 0") || {
438
 
  echo No shell found that supports shell functions.
439
 
  echo Please tell bug-autoconf@gnu.org about your system,
440
 
  echo including any error possibly output before this message.
441
 
  echo This can help us improve future autoconf versions.
442
 
  echo Configuration will now proceed without shell functions.
443
 
}
444
 
 
445
 
 
446
 
 
447
 
  as_lineno_1=$LINENO
448
 
  as_lineno_2=$LINENO
449
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
450
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451
 
 
452
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
453
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
454
 
  # line-number line after each line using $LINENO; the second 'sed'
455
 
  # does the real work.  The second script uses 'N' to pair each
456
 
  # line-number line with the line containing $LINENO, and appends
457
 
  # trailing '-' during substitution so that $LINENO is not a special
458
 
  # case at line end.
459
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
460
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
461
 
  # 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: ubuntu-devel@lists.ubuntu.com about your system,
 
235
$0: including any error possibly output before this
 
236
$0: message. Then install a modern shell, or manually run
 
237
$0: the script under such a 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.  :-)
462
429
  sed -n '
463
430
    p
464
431
    /[$]LINENO/=
475
442
      s/-\n.*//
476
443
    ' >$as_me.lineno &&
477
444
  chmod +x "$as_me.lineno" ||
478
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
479
 
   { (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; }
480
446
 
481
447
  # Don't try to exec as it changes $[0], causing all sort of problems
482
448
  # (the dirname of $[0] is not the place where we might find the
486
452
  exit
487
453
}
488
454
 
489
 
 
490
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
491
 
  as_dirname=dirname
492
 
else
493
 
  as_dirname=false
494
 
fi
495
 
 
496
455
ECHO_C= ECHO_N= ECHO_T=
497
 
case `echo -n x` in
 
456
case `echo -n x` in #(((((
498
457
-n*)
499
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
500
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
501
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
502
463
  esac;;
503
464
*)
504
465
  ECHO_N='-n';;
505
466
esac
506
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
507
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
508
 
  as_expr=expr
509
 
else
510
 
  as_expr=false
511
 
fi
512
467
 
513
468
rm -f conf$$ conf$$.exe conf$$.file
514
469
if test -d conf$$.dir; then
538
493
rmdir conf$$.dir 2>/dev/null
539
494
 
540
495
if mkdir -p . 2>/dev/null; then
541
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
542
497
else
543
498
  test -d ./-p && rmdir ./-p
544
499
  as_mkdir_p=false
557
512
      if test -d "$1"; then
558
513
        test -d "$1/.";
559
514
      else
560
 
        case $1 in
 
515
        case $1 in #(
561
516
        -*)set "./$1";;
562
517
        esac;
563
 
        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 #((
564
519
        ???[sx]*):;;*)false;;esac;fi
565
520
    '\'' sh
566
521
  '
575
530
 
576
531
 
577
532
 
578
 
 
579
533
# Check that we are running under the correct shell.
580
534
SHELL=${CONFIG_SHELL-/bin/sh}
581
535
 
742
696
subdirs=
743
697
MFLAGS=
744
698
MAKEFLAGS=
745
 
SHELL=${CONFIG_SHELL-/bin/sh}
746
699
 
747
700
# Identity of this package.
748
701
PACKAGE_NAME='mountall'
749
702
PACKAGE_TARNAME='mountall'
750
 
PACKAGE_VERSION='0.1.0'
751
 
PACKAGE_STRING='mountall 0.1.0'
 
703
PACKAGE_VERSION='0.1'
 
704
PACKAGE_STRING='mountall 0.1'
752
705
PACKAGE_BUGREPORT='ubuntu-devel@lists.ubuntu.com'
 
706
PACKAGE_URL=''
753
707
 
754
708
ac_unique_file="src/mountall.c"
755
709
# Factoring default headers for most tests.
789
743
#endif"
790
744
 
791
745
gt_needs=
792
 
ac_subst_vars='LTLIBOBJS
 
746
ac_subst_vars='am__EXEEXT_FALSE
 
747
am__EXEEXT_TRUE
 
748
LTLIBOBJS
793
749
LIBOBJS
794
750
UDEV_LIBS
795
751
UDEV_CFLAGS
943
899
program_transform_name
944
900
prefix
945
901
exec_prefix
 
902
PACKAGE_URL
946
903
PACKAGE_BUGREPORT
947
904
PACKAGE_STRING
948
905
PACKAGE_VERSION
1096
1053
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1097
1054
    # Reject names that are not valid shell variable names.
1098
1055
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1100
 
   { (exit 1); exit 1; }; }
 
1056
      as_fn_error "invalid feature name: $ac_useropt"
1101
1057
    ac_useropt_orig=$ac_useropt
1102
1058
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103
1059
    case $ac_user_opts in
1123
1079
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1124
1080
    # Reject names that are not valid shell variable names.
1125
1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1127
 
   { (exit 1); exit 1; }; }
 
1082
      as_fn_error "invalid feature name: $ac_useropt"
1128
1083
    ac_useropt_orig=$ac_useropt
1129
1084
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130
1085
    case $ac_user_opts in
1328
1283
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1329
1284
    # Reject names that are not valid shell variable names.
1330
1285
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1331
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1332
 
   { (exit 1); exit 1; }; }
 
1286
      as_fn_error "invalid package name: $ac_useropt"
1333
1287
    ac_useropt_orig=$ac_useropt
1334
1288
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335
1289
    case $ac_user_opts in
1345
1299
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1346
1300
    # Reject names that are not valid shell variable names.
1347
1301
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1349
 
   { (exit 1); exit 1; }; }
 
1302
      as_fn_error "invalid package name: $ac_useropt"
1350
1303
    ac_useropt_orig=$ac_useropt
1351
1304
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1352
1305
    case $ac_user_opts in
1376
1329
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1377
1330
    x_libraries=$ac_optarg ;;
1378
1331
 
1379
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1380
 
Try \`$0 --help' for more information." >&2
1381
 
   { (exit 1); exit 1; }; }
 
1332
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1333
Try \`$0 --help' for more information."
1382
1334
    ;;
1383
1335
 
1384
1336
  *=*)
1385
1337
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1386
1338
    # Reject names that are not valid shell variable names.
1387
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1388
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1389
 
   { (exit 1); exit 1; }; }
 
1339
    case $ac_envvar in #(
 
1340
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1341
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1342
    esac
1390
1343
    eval $ac_envvar=\$ac_optarg
1391
1344
    export $ac_envvar ;;
1392
1345
 
1403
1356
 
1404
1357
if test -n "$ac_prev"; then
1405
1358
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1406
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1407
 
   { (exit 1); exit 1; }; }
 
1359
  as_fn_error "missing argument to $ac_option"
1408
1360
fi
1409
1361
 
1410
1362
if test -n "$ac_unrecognized_opts"; then
1411
1363
  case $enable_option_checking in
1412
1364
    no) ;;
1413
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1414
 
   { (exit 1); exit 1; }; } ;;
 
1365
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1415
1366
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1416
1367
  esac
1417
1368
fi
1434
1385
    [\\/$]* | ?:[\\/]* )  continue;;
1435
1386
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1436
1387
  esac
1437
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1438
 
   { (exit 1); exit 1; }; }
 
1388
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1439
1389
done
1440
1390
 
1441
1391
# There might be people who depend on the old broken behavior: `$host'
1465
1415
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1466
1416
ac_ls_di=`ls -di .` &&
1467
1417
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1468
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1469
 
   { (exit 1); exit 1; }; }
 
1418
  as_fn_error "working directory cannot be determined"
1470
1419
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1472
 
   { (exit 1); exit 1; }; }
 
1420
  as_fn_error "pwd does not report name of working directory"
1473
1421
 
1474
1422
 
1475
1423
# Find the source files, if location was not specified.
1508
1456
fi
1509
1457
if test ! -r "$srcdir/$ac_unique_file"; then
1510
1458
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1511
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1512
 
   { (exit 1); exit 1; }; }
 
1459
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1513
1460
fi
1514
1461
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1515
1462
ac_abs_confdir=`(
1516
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1517
 
   { (exit 1); exit 1; }; }
 
1463
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1518
1464
        pwd)`
1519
1465
# When building in place, set srcdir=.
1520
1466
if test "$ac_abs_confdir" = "$ac_pwd"; then
1540
1486
  # Omit some internal or obsolete options to make the list less imposing.
1541
1487
  # This message is too long to be a string in the A/UX 3.1 sh.
1542
1488
  cat <<_ACEOF
1543
 
\`configure' configures mountall 0.1.0 to adapt to many kinds of systems.
 
1489
\`configure' configures mountall 0.1 to adapt to many kinds of systems.
1544
1490
 
1545
1491
Usage: $0 [OPTION]... [VAR=VALUE]...
1546
1492
 
1610
1556
 
1611
1557
if test -n "$ac_init_help"; then
1612
1558
  case $ac_init_help in
1613
 
     short | recursive ) echo "Configuration of mountall 0.1.0:";;
 
1559
     short | recursive ) echo "Configuration of mountall 0.1:";;
1614
1560
   esac
1615
1561
  cat <<\_ACEOF
1616
1562
 
1737
1683
test -n "$ac_init_help" && exit $ac_status
1738
1684
if $ac_init_version; then
1739
1685
  cat <<\_ACEOF
1740
 
mountall configure 0.1.0
1741
 
generated by GNU Autoconf 2.63
 
1686
mountall configure 0.1
 
1687
generated by GNU Autoconf 2.64
1742
1688
 
1743
1689
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1744
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1690
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
1691
Foundation, Inc.
 
1692
 
1745
1693
This configure script is free software; the Free Software Foundation
1746
1694
gives unlimited permission to copy, distribute and modify it.
1747
1695
 
1749
1697
_ACEOF
1750
1698
  exit
1751
1699
fi
 
1700
 
 
1701
## ------------------------ ##
 
1702
## Autoconf initialization. ##
 
1703
## ------------------------ ##
 
1704
 
 
1705
# ac_fn_c_try_compile LINENO
 
1706
# --------------------------
 
1707
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1708
ac_fn_c_try_compile ()
 
1709
{
 
1710
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1711
  rm -f conftest.$ac_objext
 
1712
  if { { ac_try="$ac_compile"
 
1713
case "(($ac_try" in
 
1714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1715
  *) ac_try_echo=$ac_try;;
 
1716
esac
 
1717
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1718
$as_echo "$ac_try_echo"; } >&5
 
1719
  (eval "$ac_compile") 2>conftest.err
 
1720
  ac_status=$?
 
1721
  if test -s conftest.err; then
 
1722
    grep -v '^ *+' conftest.err >conftest.er1
 
1723
    cat conftest.er1 >&5
 
1724
    mv -f conftest.er1 conftest.err
 
1725
  fi
 
1726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1727
  test $ac_status = 0; } && {
 
1728
         test -z "$ac_c_werror_flag" ||
 
1729
         test ! -s conftest.err
 
1730
       } && test -s conftest.$ac_objext; then :
 
1731
  ac_retval=0
 
1732
else
 
1733
  $as_echo "$as_me: failed program was:" >&5
 
1734
sed 's/^/| /' conftest.$ac_ext >&5
 
1735
 
 
1736
        ac_retval=1
 
1737
fi
 
1738
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1739
  return $ac_retval
 
1740
 
 
1741
} # ac_fn_c_try_compile
 
1742
 
 
1743
# ac_fn_c_try_cpp LINENO
 
1744
# ----------------------
 
1745
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1746
ac_fn_c_try_cpp ()
 
1747
{
 
1748
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1749
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1750
case "(($ac_try" in
 
1751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1752
  *) ac_try_echo=$ac_try;;
 
1753
esac
 
1754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1755
$as_echo "$ac_try_echo"; } >&5
 
1756
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1757
  ac_status=$?
 
1758
  if test -s conftest.err; then
 
1759
    grep -v '^ *+' conftest.err >conftest.er1
 
1760
    cat conftest.er1 >&5
 
1761
    mv -f conftest.er1 conftest.err
 
1762
  fi
 
1763
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1764
  test $ac_status = 0; } >/dev/null && {
 
1765
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1766
         test ! -s conftest.err
 
1767
       }; then :
 
1768
  ac_retval=0
 
1769
else
 
1770
  $as_echo "$as_me: failed program was:" >&5
 
1771
sed 's/^/| /' conftest.$ac_ext >&5
 
1772
 
 
1773
    ac_retval=1
 
1774
fi
 
1775
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1776
  return $ac_retval
 
1777
 
 
1778
} # ac_fn_c_try_cpp
 
1779
 
 
1780
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1781
# -------------------------------------------------------
 
1782
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1783
# the include files in INCLUDES and setting the cache variable VAR
 
1784
# accordingly.
 
1785
ac_fn_c_check_header_mongrel ()
 
1786
{
 
1787
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1788
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1789
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1790
$as_echo_n "checking for $2... " >&6; }
 
1791
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1792
  $as_echo_n "(cached) " >&6
 
1793
fi
 
1794
eval ac_res=\$$3
 
1795
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1796
$as_echo "$ac_res" >&6; }
 
1797
else
 
1798
  # Is the header compilable?
 
1799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1800
$as_echo_n "checking $2 usability... " >&6; }
 
1801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1802
/* end confdefs.h.  */
 
1803
$4
 
1804
#include <$2>
 
1805
_ACEOF
 
1806
if ac_fn_c_try_compile "$LINENO"; then :
 
1807
  ac_header_compiler=yes
 
1808
else
 
1809
  ac_header_compiler=no
 
1810
fi
 
1811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1813
$as_echo "$ac_header_compiler" >&6; }
 
1814
 
 
1815
# Is the header present?
 
1816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1817
$as_echo_n "checking $2 presence... " >&6; }
 
1818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1819
/* end confdefs.h.  */
 
1820
#include <$2>
 
1821
_ACEOF
 
1822
if ac_fn_c_try_cpp "$LINENO"; then :
 
1823
  ac_header_preproc=yes
 
1824
else
 
1825
  ac_header_preproc=no
 
1826
fi
 
1827
rm -f conftest.err conftest.$ac_ext
 
1828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1829
$as_echo "$ac_header_preproc" >&6; }
 
1830
 
 
1831
# So?  What about this header?
 
1832
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1833
  yes:no: )
 
1834
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1835
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1836
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1837
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1838
    ;;
 
1839
  no:yes:* )
 
1840
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1841
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1842
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1843
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1844
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1845
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1846
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1847
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1848
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1849
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1850
( cat <<\_ASBOX
 
1851
## -------------------------------------------- ##
 
1852
## Report this to ubuntu-devel@lists.ubuntu.com ##
 
1853
## -------------------------------------------- ##
 
1854
_ASBOX
 
1855
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1856
    ;;
 
1857
esac
 
1858
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1859
$as_echo_n "checking for $2... " >&6; }
 
1860
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1861
  $as_echo_n "(cached) " >&6
 
1862
else
 
1863
  eval "$3=\$ac_header_compiler"
 
1864
fi
 
1865
eval ac_res=\$$3
 
1866
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1867
$as_echo "$ac_res" >&6; }
 
1868
fi
 
1869
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1870
 
 
1871
} # ac_fn_c_check_header_mongrel
 
1872
 
 
1873
# ac_fn_c_try_run LINENO
 
1874
# ----------------------
 
1875
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1876
# that executables *can* be run.
 
1877
ac_fn_c_try_run ()
 
1878
{
 
1879
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1880
  if { { ac_try="$ac_link"
 
1881
case "(($ac_try" in
 
1882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1883
  *) ac_try_echo=$ac_try;;
 
1884
esac
 
1885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1886
$as_echo "$ac_try_echo"; } >&5
 
1887
  (eval "$ac_link") 2>&5
 
1888
  ac_status=$?
 
1889
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1890
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1891
  { { case "(($ac_try" in
 
1892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1893
  *) ac_try_echo=$ac_try;;
 
1894
esac
 
1895
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1896
$as_echo "$ac_try_echo"; } >&5
 
1897
  (eval "$ac_try") 2>&5
 
1898
  ac_status=$?
 
1899
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1900
  test $ac_status = 0; }; }; then :
 
1901
  ac_retval=0
 
1902
else
 
1903
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1904
       $as_echo "$as_me: failed program was:" >&5
 
1905
sed 's/^/| /' conftest.$ac_ext >&5
 
1906
 
 
1907
       ac_retval=$ac_status
 
1908
fi
 
1909
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1910
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1911
  return $ac_retval
 
1912
 
 
1913
} # ac_fn_c_try_run
 
1914
 
 
1915
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1916
# -------------------------------------------------------
 
1917
# Tests whether HEADER exists and can be compiled using the include files in
 
1918
# INCLUDES, setting the cache variable VAR accordingly.
 
1919
ac_fn_c_check_header_compile ()
 
1920
{
 
1921
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1922
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1923
$as_echo_n "checking for $2... " >&6; }
 
1924
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1925
  $as_echo_n "(cached) " >&6
 
1926
else
 
1927
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1928
/* end confdefs.h.  */
 
1929
$4
 
1930
#include <$2>
 
1931
_ACEOF
 
1932
if ac_fn_c_try_compile "$LINENO"; then :
 
1933
  eval "$3=yes"
 
1934
else
 
1935
  eval "$3=no"
 
1936
fi
 
1937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1938
fi
 
1939
eval ac_res=\$$3
 
1940
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1941
$as_echo "$ac_res" >&6; }
 
1942
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1943
 
 
1944
} # ac_fn_c_check_header_compile
 
1945
 
 
1946
# ac_fn_c_try_link LINENO
 
1947
# -----------------------
 
1948
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1949
ac_fn_c_try_link ()
 
1950
{
 
1951
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1952
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1953
  if { { ac_try="$ac_link"
 
1954
case "(($ac_try" in
 
1955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1956
  *) ac_try_echo=$ac_try;;
 
1957
esac
 
1958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1959
$as_echo "$ac_try_echo"; } >&5
 
1960
  (eval "$ac_link") 2>conftest.err
 
1961
  ac_status=$?
 
1962
  if test -s conftest.err; then
 
1963
    grep -v '^ *+' conftest.err >conftest.er1
 
1964
    cat conftest.er1 >&5
 
1965
    mv -f conftest.er1 conftest.err
 
1966
  fi
 
1967
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1968
  test $ac_status = 0; } && {
 
1969
         test -z "$ac_c_werror_flag" ||
 
1970
         test ! -s conftest.err
 
1971
       } && test -s conftest$ac_exeext && {
 
1972
         test "$cross_compiling" = yes ||
 
1973
         $as_test_x conftest$ac_exeext
 
1974
       }; then :
 
1975
  ac_retval=0
 
1976
else
 
1977
  $as_echo "$as_me: failed program was:" >&5
 
1978
sed 's/^/| /' conftest.$ac_ext >&5
 
1979
 
 
1980
        ac_retval=1
 
1981
fi
 
1982
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1983
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1984
  # interfere with the next link command; also delete a directory that is
 
1985
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1986
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1987
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1988
  return $ac_retval
 
1989
 
 
1990
} # ac_fn_c_try_link
 
1991
 
 
1992
# ac_fn_c_check_func LINENO FUNC VAR
 
1993
# ----------------------------------
 
1994
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1995
ac_fn_c_check_func ()
 
1996
{
 
1997
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1999
$as_echo_n "checking for $2... " >&6; }
 
2000
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2001
  $as_echo_n "(cached) " >&6
 
2002
else
 
2003
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2004
/* end confdefs.h.  */
 
2005
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2006
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2007
#define $2 innocuous_$2
 
2008
 
 
2009
/* System header to define __stub macros and hopefully few prototypes,
 
2010
    which can conflict with char $2 (); below.
 
2011
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2012
    <limits.h> exists even on freestanding compilers.  */
 
2013
 
 
2014
#ifdef __STDC__
 
2015
# include <limits.h>
 
2016
#else
 
2017
# include <assert.h>
 
2018
#endif
 
2019
 
 
2020
#undef $2
 
2021
 
 
2022
/* Override any GCC internal prototype to avoid an error.
 
2023
   Use char because int might match the return type of a GCC
 
2024
   builtin and then its argument prototype would still apply.  */
 
2025
#ifdef __cplusplus
 
2026
extern "C"
 
2027
#endif
 
2028
char $2 ();
 
2029
/* The GNU C library defines this for functions which it implements
 
2030
    to always fail with ENOSYS.  Some functions are actually named
 
2031
    something starting with __ and the normal name is an alias.  */
 
2032
#if defined __stub_$2 || defined __stub___$2
 
2033
choke me
 
2034
#endif
 
2035
 
 
2036
int
 
2037
main ()
 
2038
{
 
2039
return $2 ();
 
2040
  ;
 
2041
  return 0;
 
2042
}
 
2043
_ACEOF
 
2044
if ac_fn_c_try_link "$LINENO"; then :
 
2045
  eval "$3=yes"
 
2046
else
 
2047
  eval "$3=no"
 
2048
fi
 
2049
rm -f core conftest.err conftest.$ac_objext \
 
2050
    conftest$ac_exeext conftest.$ac_ext
 
2051
fi
 
2052
eval ac_res=\$$3
 
2053
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2054
$as_echo "$ac_res" >&6; }
 
2055
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2056
 
 
2057
} # ac_fn_c_check_func
 
2058
 
 
2059
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2060
# -------------------------------------------
 
2061
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2062
# variable VAR accordingly.
 
2063
ac_fn_c_check_type ()
 
2064
{
 
2065
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2066
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2067
$as_echo_n "checking for $2... " >&6; }
 
2068
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2069
  $as_echo_n "(cached) " >&6
 
2070
else
 
2071
  eval "$3=no"
 
2072
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2073
/* end confdefs.h.  */
 
2074
$4
 
2075
int
 
2076
main ()
 
2077
{
 
2078
if (sizeof ($2))
 
2079
         return 0;
 
2080
  ;
 
2081
  return 0;
 
2082
}
 
2083
_ACEOF
 
2084
if ac_fn_c_try_compile "$LINENO"; then :
 
2085
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2086
/* end confdefs.h.  */
 
2087
$4
 
2088
int
 
2089
main ()
 
2090
{
 
2091
if (sizeof (($2)))
 
2092
            return 0;
 
2093
  ;
 
2094
  return 0;
 
2095
}
 
2096
_ACEOF
 
2097
if ac_fn_c_try_compile "$LINENO"; then :
 
2098
 
 
2099
else
 
2100
  eval "$3=yes"
 
2101
fi
 
2102
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2103
fi
 
2104
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2105
fi
 
2106
eval ac_res=\$$3
 
2107
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2108
$as_echo "$ac_res" >&6; }
 
2109
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2110
 
 
2111
} # ac_fn_c_check_type
 
2112
 
 
2113
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 
2114
# --------------------------------------------
 
2115
# Tries to find the compile-time value of EXPR in a program that includes
 
2116
# INCLUDES, setting VAR accordingly. Returns whether the value could be
 
2117
# computed
 
2118
ac_fn_c_compute_int ()
 
2119
{
 
2120
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2121
  if test "$cross_compiling" = yes; then
 
2122
    # Depending upon the size, compute the lo and hi bounds.
 
2123
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2124
/* end confdefs.h.  */
 
2125
$4
 
2126
int
 
2127
main ()
 
2128
{
 
2129
static int test_array [1 - 2 * !(($2) >= 0)];
 
2130
test_array [0] = 0
 
2131
 
 
2132
  ;
 
2133
  return 0;
 
2134
}
 
2135
_ACEOF
 
2136
if ac_fn_c_try_compile "$LINENO"; then :
 
2137
  ac_lo=0 ac_mid=0
 
2138
  while :; do
 
2139
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2140
/* end confdefs.h.  */
 
2141
$4
 
2142
int
 
2143
main ()
 
2144
{
 
2145
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2146
test_array [0] = 0
 
2147
 
 
2148
  ;
 
2149
  return 0;
 
2150
}
 
2151
_ACEOF
 
2152
if ac_fn_c_try_compile "$LINENO"; then :
 
2153
  ac_hi=$ac_mid; break
 
2154
else
 
2155
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 
2156
                        if test $ac_lo -le $ac_mid; then
 
2157
                          ac_lo= ac_hi=
 
2158
                          break
 
2159
                        fi
 
2160
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 
2161
fi
 
2162
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2163
  done
 
2164
else
 
2165
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2166
/* end confdefs.h.  */
 
2167
$4
 
2168
int
 
2169
main ()
 
2170
{
 
2171
static int test_array [1 - 2 * !(($2) < 0)];
 
2172
test_array [0] = 0
 
2173
 
 
2174
  ;
 
2175
  return 0;
 
2176
}
 
2177
_ACEOF
 
2178
if ac_fn_c_try_compile "$LINENO"; then :
 
2179
  ac_hi=-1 ac_mid=-1
 
2180
  while :; do
 
2181
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2182
/* end confdefs.h.  */
 
2183
$4
 
2184
int
 
2185
main ()
 
2186
{
 
2187
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 
2188
test_array [0] = 0
 
2189
 
 
2190
  ;
 
2191
  return 0;
 
2192
}
 
2193
_ACEOF
 
2194
if ac_fn_c_try_compile "$LINENO"; then :
 
2195
  ac_lo=$ac_mid; break
 
2196
else
 
2197
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 
2198
                        if test $ac_mid -le $ac_hi; then
 
2199
                          ac_lo= ac_hi=
 
2200
                          break
 
2201
                        fi
 
2202
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 
2203
fi
 
2204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2205
  done
 
2206
else
 
2207
  ac_lo= ac_hi=
 
2208
fi
 
2209
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2210
fi
 
2211
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2212
# Binary search between lo and hi bounds.
 
2213
while test "x$ac_lo" != "x$ac_hi"; do
 
2214
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 
2215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2216
/* end confdefs.h.  */
 
2217
$4
 
2218
int
 
2219
main ()
 
2220
{
 
2221
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2222
test_array [0] = 0
 
2223
 
 
2224
  ;
 
2225
  return 0;
 
2226
}
 
2227
_ACEOF
 
2228
if ac_fn_c_try_compile "$LINENO"; then :
 
2229
  ac_hi=$ac_mid
 
2230
else
 
2231
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 
2232
fi
 
2233
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2234
done
 
2235
case $ac_lo in #((
 
2236
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 
2237
'') ac_retval=1 ;;
 
2238
esac
 
2239
  else
 
2240
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2241
/* end confdefs.h.  */
 
2242
$4
 
2243
static long int longval () { return $2; }
 
2244
static unsigned long int ulongval () { return $2; }
 
2245
#include <stdio.h>
 
2246
#include <stdlib.h>
 
2247
int
 
2248
main ()
 
2249
{
 
2250
 
 
2251
  FILE *f = fopen ("conftest.val", "w");
 
2252
  if (! f)
 
2253
    return 1;
 
2254
  if (($2) < 0)
 
2255
    {
 
2256
      long int i = longval ();
 
2257
      if (i != ($2))
 
2258
        return 1;
 
2259
      fprintf (f, "%ld", i);
 
2260
    }
 
2261
  else
 
2262
    {
 
2263
      unsigned long int i = ulongval ();
 
2264
      if (i != ($2))
 
2265
        return 1;
 
2266
      fprintf (f, "%lu", i);
 
2267
    }
 
2268
  /* Do not output a trailing newline, as this causes \r\n confusion
 
2269
     on some platforms.  */
 
2270
  return ferror (f) || fclose (f) != 0;
 
2271
 
 
2272
  ;
 
2273
  return 0;
 
2274
}
 
2275
_ACEOF
 
2276
if ac_fn_c_try_run "$LINENO"; then :
 
2277
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 
2278
else
 
2279
  ac_retval=1
 
2280
fi
 
2281
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
2282
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
2283
rm -f conftest.val
 
2284
 
 
2285
  fi
 
2286
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2287
  return $ac_retval
 
2288
 
 
2289
} # ac_fn_c_compute_int
1752
2290
cat >config.log <<_ACEOF
1753
2291
This file contains any messages produced by compilers while
1754
2292
running configure, to aid debugging if configure makes a mistake.
1755
2293
 
1756
 
It was created by mountall $as_me 0.1.0, which was
1757
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2294
It was created by mountall $as_me 0.1, which was
 
2295
generated by GNU Autoconf 2.64.  Invocation command line was
1758
2296
 
1759
2297
  $ $0 $@
1760
2298
 
1790
2328
do
1791
2329
  IFS=$as_save_IFS
1792
2330
  test -z "$as_dir" && as_dir=.
1793
 
  $as_echo "PATH: $as_dir"
1794
 
done
 
2331
    $as_echo "PATH: $as_dir"
 
2332
  done
1795
2333
IFS=$as_save_IFS
1796
2334
 
1797
2335
} >&5
1828
2366
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1829
2367
    esac
1830
2368
    case $ac_pass in
1831
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2369
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1832
2370
    2)
1833
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2371
      as_fn_append ac_configure_args1 " '$ac_arg'"
1834
2372
      if test $ac_must_keep_next = true; then
1835
2373
        ac_must_keep_next=false # Got value, back to normal.
1836
2374
      else
1846
2384
          -* ) ac_must_keep_next=true ;;
1847
2385
        esac
1848
2386
      fi
1849
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2387
      as_fn_append ac_configure_args " '$ac_arg'"
1850
2388
      ;;
1851
2389
    esac
1852
2390
  done
1853
2391
done
1854
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1855
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2392
{ ac_configure_args0=; unset ac_configure_args0;}
 
2393
{ ac_configure_args1=; unset ac_configure_args1;}
1856
2394
 
1857
2395
# When interrupted or exit'd, cleanup temporary files, and complete
1858
2396
# config.log.  We remove comments because anyway the quotes in there
1877
2415
    case $ac_val in #(
1878
2416
    *${as_nl}*)
1879
2417
      case $ac_var in #(
1880
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2418
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1881
2419
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1882
2420
      esac
1883
2421
      case $ac_var in #(
1884
2422
      _ | IFS | as_nl) ;; #(
1885
2423
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1886
 
      *) $as_unset $ac_var ;;
 
2424
      *) { eval $ac_var=; unset $ac_var;} ;;
1887
2425
      esac ;;
1888
2426
    esac
1889
2427
  done
1955
2493
    exit $exit_status
1956
2494
' 0
1957
2495
for ac_signal in 1 2 13 15; do
1958
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2496
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1959
2497
done
1960
2498
ac_signal=0
1961
2499
 
1962
2500
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1963
2501
rm -f -r conftest* confdefs.h
1964
2502
 
 
2503
$as_echo "/* confdefs.h */" > confdefs.h
 
2504
 
1965
2505
# Predefined preprocessor variables.
1966
2506
 
1967
2507
cat >>confdefs.h <<_ACEOF
1968
2508
#define PACKAGE_NAME "$PACKAGE_NAME"
1969
2509
_ACEOF
1970
2510
 
1971
 
 
1972
2511
cat >>confdefs.h <<_ACEOF
1973
2512
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1974
2513
_ACEOF
1975
2514
 
1976
 
 
1977
2515
cat >>confdefs.h <<_ACEOF
1978
2516
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1979
2517
_ACEOF
1980
2518
 
1981
 
 
1982
2519
cat >>confdefs.h <<_ACEOF
1983
2520
#define PACKAGE_STRING "$PACKAGE_STRING"
1984
2521
_ACEOF
1985
2522
 
1986
 
 
1987
2523
cat >>confdefs.h <<_ACEOF
1988
2524
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1989
2525
_ACEOF
1990
2526
 
 
2527
cat >>confdefs.h <<_ACEOF
 
2528
#define PACKAGE_URL "$PACKAGE_URL"
 
2529
_ACEOF
 
2530
 
1991
2531
 
1992
2532
# Let the site file select an alternate cache file if it wants to.
1993
2533
# Prefer an explicitly selected file to automatically selected ones.
2006
2546
do
2007
2547
  test "x$ac_site_file" = xNONE && continue
2008
2548
  if test -r "$ac_site_file"; then
2009
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2549
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2010
2550
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2011
2551
    sed 's/^/| /' "$ac_site_file" >&5
2012
2552
    . "$ac_site_file"
2017
2557
  # Some versions of bash will fail to source /dev/null (special
2018
2558
  # files actually), so we avoid doing that.
2019
2559
  if test -f "$cache_file"; then
2020
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2560
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2021
2561
$as_echo "$as_me: loading cache $cache_file" >&6;}
2022
2562
    case $cache_file in
2023
2563
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2025
2565
    esac
2026
2566
  fi
2027
2567
else
2028
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2568
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2029
2569
$as_echo "$as_me: creating cache $cache_file" >&6;}
2030
2570
  >$cache_file
2031
2571
fi
2041
2581
  eval ac_new_val=\$ac_env_${ac_var}_value
2042
2582
  case $ac_old_set,$ac_new_set in
2043
2583
    set,)
2044
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2584
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2045
2585
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2046
2586
      ac_cache_corrupted=: ;;
2047
2587
    ,set)
2048
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2588
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2049
2589
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2050
2590
      ac_cache_corrupted=: ;;
2051
2591
    ,);;
2055
2595
        ac_old_val_w=`echo x $ac_old_val`
2056
2596
        ac_new_val_w=`echo x $ac_new_val`
2057
2597
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2058
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2598
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2059
2599
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2060
2600
          ac_cache_corrupted=:
2061
2601
        else
2062
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2602
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2063
2603
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2064
2604
          eval $ac_var=\$ac_old_val
2065
2605
        fi
2066
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2606
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2067
2607
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2068
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2608
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2069
2609
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2070
2610
      fi;;
2071
2611
  esac
2077
2617
    esac
2078
2618
    case " $ac_configure_args " in
2079
2619
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2080
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2620
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2081
2621
    esac
2082
2622
  fi
2083
2623
done
2084
2624
if $ac_cache_corrupted; then
2085
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2625
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2086
2626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2087
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2627
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2088
2628
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2089
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2090
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2091
 
   { (exit 1); exit 1; }; }
 
2629
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2092
2630
fi
2093
 
 
2094
 
 
2095
 
 
2096
 
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
2113
 
 
2114
 
 
2115
 
 
2116
 
 
2117
 
 
2118
 
        PACKAGE_COPYRIGHT="Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2119
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2120
 
This configure script is free software; the Free Software Foundation
2121
 
gives unlimited permission to copy, distribute and modify it."
2122
 
 
 
2631
## -------------------- ##
 
2632
## Main body of script. ##
 
2633
## -------------------- ##
2123
2634
 
2124
2635
ac_ext=c
2125
2636
ac_cpp='$CPP $CPPFLAGS'
2132
2643
 
2133
2644
 
2134
2645
 
2135
 
cat >>confdefs.h <<\_ACEOF
2136
 
#define PACKAGE_COPYRIGHT "Copyright (C) 2009 Canonical Ltd."
2137
 
_ACEOF
 
2646
$as_echo "#define PACKAGE_COPYRIGHT \"Copyright (C) 2009 Canonical Ltd.\"" >>confdefs.h
2138
2647
        PACKAGE_COPYRIGHT="Copyright © 2009 Canonical Ltd."
2139
2648
 
2140
2649
 
2149
2658
if test -n "$ac_tool_prefix"; then
2150
2659
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2151
2660
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2152
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2153
2662
$as_echo_n "checking for $ac_word... " >&6; }
2154
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2663
if test "${ac_cv_prog_CC+set}" = set; then :
2155
2664
  $as_echo_n "(cached) " >&6
2156
2665
else
2157
2666
  if test -n "$CC"; then
2162
2671
do
2163
2672
  IFS=$as_save_IFS
2164
2673
  test -z "$as_dir" && as_dir=.
2165
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2674
    for ac_exec_ext in '' $ac_executable_extensions; do
2166
2675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167
2676
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2168
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2169
2678
    break 2
2170
2679
  fi
2171
2680
done
2172
 
done
 
2681
  done
2173
2682
IFS=$as_save_IFS
2174
2683
 
2175
2684
fi
2176
2685
fi
2177
2686
CC=$ac_cv_prog_CC
2178
2687
if test -n "$CC"; then
2179
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2180
2689
$as_echo "$CC" >&6; }
2181
2690
else
2182
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2183
2692
$as_echo "no" >&6; }
2184
2693
fi
2185
2694
 
2189
2698
  ac_ct_CC=$CC
2190
2699
  # Extract the first word of "gcc", so it can be a program name with args.
2191
2700
set dummy gcc; ac_word=$2
2192
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2193
2702
$as_echo_n "checking for $ac_word... " >&6; }
2194
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2703
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2195
2704
  $as_echo_n "(cached) " >&6
2196
2705
else
2197
2706
  if test -n "$ac_ct_CC"; then
2202
2711
do
2203
2712
  IFS=$as_save_IFS
2204
2713
  test -z "$as_dir" && as_dir=.
2205
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2714
    for ac_exec_ext in '' $ac_executable_extensions; do
2206
2715
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2207
2716
    ac_cv_prog_ac_ct_CC="gcc"
2208
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2717
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2209
2718
    break 2
2210
2719
  fi
2211
2720
done
2212
 
done
 
2721
  done
2213
2722
IFS=$as_save_IFS
2214
2723
 
2215
2724
fi
2216
2725
fi
2217
2726
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2218
2727
if test -n "$ac_ct_CC"; then
2219
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2220
2729
$as_echo "$ac_ct_CC" >&6; }
2221
2730
else
2222
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2223
2732
$as_echo "no" >&6; }
2224
2733
fi
2225
2734
 
2228
2737
  else
2229
2738
    case $cross_compiling:$ac_tool_warned in
2230
2739
yes:)
2231
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2232
2741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2233
2742
ac_tool_warned=yes ;;
2234
2743
esac
2242
2751
          if test -n "$ac_tool_prefix"; then
2243
2752
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2244
2753
set dummy ${ac_tool_prefix}cc; ac_word=$2
2245
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246
2755
$as_echo_n "checking for $ac_word... " >&6; }
2247
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2756
if test "${ac_cv_prog_CC+set}" = set; then :
2248
2757
  $as_echo_n "(cached) " >&6
2249
2758
else
2250
2759
  if test -n "$CC"; then
2255
2764
do
2256
2765
  IFS=$as_save_IFS
2257
2766
  test -z "$as_dir" && as_dir=.
2258
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2767
    for ac_exec_ext in '' $ac_executable_extensions; do
2259
2768
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260
2769
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2261
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2770
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2262
2771
    break 2
2263
2772
  fi
2264
2773
done
2265
 
done
 
2774
  done
2266
2775
IFS=$as_save_IFS
2267
2776
 
2268
2777
fi
2269
2778
fi
2270
2779
CC=$ac_cv_prog_CC
2271
2780
if test -n "$CC"; then
2272
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2781
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2273
2782
$as_echo "$CC" >&6; }
2274
2783
else
2275
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276
2785
$as_echo "no" >&6; }
2277
2786
fi
2278
2787
 
2282
2791
if test -z "$CC"; then
2283
2792
  # Extract the first word of "cc", so it can be a program name with args.
2284
2793
set dummy cc; ac_word=$2
2285
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286
2795
$as_echo_n "checking for $ac_word... " >&6; }
2287
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2796
if test "${ac_cv_prog_CC+set}" = set; then :
2288
2797
  $as_echo_n "(cached) " >&6
2289
2798
else
2290
2799
  if test -n "$CC"; then
2296
2805
do
2297
2806
  IFS=$as_save_IFS
2298
2807
  test -z "$as_dir" && as_dir=.
2299
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2808
    for ac_exec_ext in '' $ac_executable_extensions; do
2300
2809
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301
2810
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2302
2811
       ac_prog_rejected=yes
2303
2812
       continue
2304
2813
     fi
2305
2814
    ac_cv_prog_CC="cc"
2306
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2815
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2307
2816
    break 2
2308
2817
  fi
2309
2818
done
2310
 
done
 
2819
  done
2311
2820
IFS=$as_save_IFS
2312
2821
 
2313
2822
if test $ac_prog_rejected = yes; then
2326
2835
fi
2327
2836
CC=$ac_cv_prog_CC
2328
2837
if test -n "$CC"; then
2329
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2330
2839
$as_echo "$CC" >&6; }
2331
2840
else
2332
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333
2842
$as_echo "no" >&6; }
2334
2843
fi
2335
2844
 
2341
2850
  do
2342
2851
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2343
2852
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2344
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345
2854
$as_echo_n "checking for $ac_word... " >&6; }
2346
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2855
if test "${ac_cv_prog_CC+set}" = set; then :
2347
2856
  $as_echo_n "(cached) " >&6
2348
2857
else
2349
2858
  if test -n "$CC"; then
2354
2863
do
2355
2864
  IFS=$as_save_IFS
2356
2865
  test -z "$as_dir" && as_dir=.
2357
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2866
    for ac_exec_ext in '' $ac_executable_extensions; do
2358
2867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
2868
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2360
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2361
2870
    break 2
2362
2871
  fi
2363
2872
done
2364
 
done
 
2873
  done
2365
2874
IFS=$as_save_IFS
2366
2875
 
2367
2876
fi
2368
2877
fi
2369
2878
CC=$ac_cv_prog_CC
2370
2879
if test -n "$CC"; then
2371
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2372
2881
$as_echo "$CC" >&6; }
2373
2882
else
2374
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375
2884
$as_echo "no" >&6; }
2376
2885
fi
2377
2886
 
2385
2894
do
2386
2895
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2387
2896
set dummy $ac_prog; ac_word=$2
2388
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389
2898
$as_echo_n "checking for $ac_word... " >&6; }
2390
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2899
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2391
2900
  $as_echo_n "(cached) " >&6
2392
2901
else
2393
2902
  if test -n "$ac_ct_CC"; then
2398
2907
do
2399
2908
  IFS=$as_save_IFS
2400
2909
  test -z "$as_dir" && as_dir=.
2401
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2910
    for ac_exec_ext in '' $ac_executable_extensions; do
2402
2911
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403
2912
    ac_cv_prog_ac_ct_CC="$ac_prog"
2404
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2913
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2405
2914
    break 2
2406
2915
  fi
2407
2916
done
2408
 
done
 
2917
  done
2409
2918
IFS=$as_save_IFS
2410
2919
 
2411
2920
fi
2412
2921
fi
2413
2922
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414
2923
if test -n "$ac_ct_CC"; then
2415
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2416
2925
$as_echo "$ac_ct_CC" >&6; }
2417
2926
else
2418
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419
2928
$as_echo "no" >&6; }
2420
2929
fi
2421
2930
 
2428
2937
  else
2429
2938
    case $cross_compiling:$ac_tool_warned in
2430
2939
yes:)
2431
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2432
2941
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2433
2942
ac_tool_warned=yes ;;
2434
2943
esac
2439
2948
fi
2440
2949
 
2441
2950
 
2442
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2951
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443
2952
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2445
 
See \`config.log' for more details." >&5
2446
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2447
 
See \`config.log' for more details." >&2;}
2448
 
   { (exit 1); exit 1; }; }; }
 
2953
as_fn_error "no acceptable C compiler found in \$PATH
 
2954
See \`config.log' for more details." "$LINENO" 5; }
2449
2955
 
2450
2956
# Provide some information about the compiler.
2451
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2957
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2452
2958
set X $ac_compile
2453
2959
ac_compiler=$2
2454
 
{ (ac_try="$ac_compiler --version >&5"
2455
 
case "(($ac_try" in
2456
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457
 
  *) ac_try_echo=$ac_try;;
2458
 
esac
2459
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2460
 
$as_echo "$ac_try_echo") >&5
2461
 
  (eval "$ac_compiler --version >&5") 2>&5
2462
 
  ac_status=$?
2463
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464
 
  (exit $ac_status); }
2465
 
{ (ac_try="$ac_compiler -v >&5"
2466
 
case "(($ac_try" in
2467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468
 
  *) ac_try_echo=$ac_try;;
2469
 
esac
2470
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2471
 
$as_echo "$ac_try_echo") >&5
2472
 
  (eval "$ac_compiler -v >&5") 2>&5
2473
 
  ac_status=$?
2474
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475
 
  (exit $ac_status); }
2476
 
{ (ac_try="$ac_compiler -V >&5"
2477
 
case "(($ac_try" in
2478
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479
 
  *) ac_try_echo=$ac_try;;
2480
 
esac
2481
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2482
 
$as_echo "$ac_try_echo") >&5
2483
 
  (eval "$ac_compiler -V >&5") 2>&5
2484
 
  ac_status=$?
2485
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486
 
  (exit $ac_status); }
 
2960
for ac_option in --version -v -V -qversion; do
 
2961
  { { ac_try="$ac_compiler $ac_option >&5"
 
2962
case "(($ac_try" in
 
2963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2964
  *) ac_try_echo=$ac_try;;
 
2965
esac
 
2966
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2967
$as_echo "$ac_try_echo"; } >&5
 
2968
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2969
  ac_status=$?
 
2970
  if test -s conftest.err; then
 
2971
    sed '10a\
 
2972
... rest of stderr output deleted ...
 
2973
         10q' conftest.err >conftest.er1
 
2974
    cat conftest.er1 >&5
 
2975
    rm -f conftest.er1 conftest.err
 
2976
  fi
 
2977
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2978
  test $ac_status = 0; }
 
2979
done
2487
2980
 
2488
 
cat >conftest.$ac_ext <<_ACEOF
2489
 
/* confdefs.h.  */
2490
 
_ACEOF
2491
 
cat confdefs.h >>conftest.$ac_ext
2492
 
cat >>conftest.$ac_ext <<_ACEOF
 
2981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493
2982
/* end confdefs.h.  */
2494
 
 
 
2983
#include <stdio.h>
2495
2984
int
2496
2985
main ()
2497
2986
{
 
2987
FILE *f = fopen ("conftest.out", "w");
 
2988
 return ferror (f) || fclose (f) != 0;
2498
2989
 
2499
2990
  ;
2500
2991
  return 0;
2501
2992
}
2502
2993
_ACEOF
2503
2994
ac_clean_files_save=$ac_clean_files
2504
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2995
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2505
2996
# Try to create an executable without -o first, disregard a.out.
2506
2997
# It will help us diagnose broken compilers, and finding out an intuition
2507
2998
# of exeext.
2508
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2509
3000
$as_echo_n "checking for C compiler default output file name... " >&6; }
2510
3001
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2511
3002
 
2522
3013
done
2523
3014
rm -f $ac_rmfiles
2524
3015
 
2525
 
if { (ac_try="$ac_link_default"
 
3016
if { { ac_try="$ac_link_default"
2526
3017
case "(($ac_try" in
2527
3018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528
3019
  *) ac_try_echo=$ac_try;;
2529
3020
esac
2530
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2531
 
$as_echo "$ac_try_echo") >&5
 
3021
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3022
$as_echo "$ac_try_echo"; } >&5
2532
3023
  (eval "$ac_link_default") 2>&5
2533
3024
  ac_status=$?
2534
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535
 
  (exit $ac_status); }; then
 
3025
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3026
  test $ac_status = 0; }; then :
2536
3027
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2537
3028
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2538
3029
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2549
3040
        # certainly right.
2550
3041
        break;;
2551
3042
    *.* )
2552
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3043
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2553
3044
        then :; else
2554
3045
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555
3046
        fi
2568
3059
else
2569
3060
  ac_file=''
2570
3061
fi
2571
 
 
2572
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2573
3063
$as_echo "$ac_file" >&6; }
2574
 
if test -z "$ac_file"; then
 
3064
if test -z "$ac_file"; then :
2575
3065
  $as_echo "$as_me: failed program was:" >&5
2576
3066
sed 's/^/| /' conftest.$ac_ext >&5
2577
3067
 
2578
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3068
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579
3069
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2581
 
See \`config.log' for more details." >&5
2582
 
$as_echo "$as_me: error: C compiler cannot create executables
2583
 
See \`config.log' for more details." >&2;}
2584
 
   { (exit 77); exit 77; }; }; }
 
3070
{ as_fn_set_status 77
 
3071
as_fn_error "C compiler cannot create executables
 
3072
See \`config.log' for more details." "$LINENO" 5; }; }
2585
3073
fi
2586
 
 
2587
3074
ac_exeext=$ac_cv_exeext
2588
3075
 
2589
3076
# Check that the compiler produces executables we can run.  If not, either
2590
3077
# the compiler is broken, or we cross compile.
2591
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2592
3079
$as_echo_n "checking whether the C compiler works... " >&6; }
2593
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2594
3080
# If not cross compiling, check that we can run a simple program.
2595
3081
if test "$cross_compiling" != yes; then
2596
3082
  if { ac_try='./$ac_file'
2597
 
  { (case "(($ac_try" in
 
3083
  { { case "(($ac_try" in
2598
3084
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599
3085
  *) ac_try_echo=$ac_try;;
2600
3086
esac
2601
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2602
 
$as_echo "$ac_try_echo") >&5
 
3087
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3088
$as_echo "$ac_try_echo"; } >&5
2603
3089
  (eval "$ac_try") 2>&5
2604
3090
  ac_status=$?
2605
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
 
  (exit $ac_status); }; }; then
 
3091
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3092
  test $ac_status = 0; }; }; then
2607
3093
    cross_compiling=no
2608
3094
  else
2609
3095
    if test "$cross_compiling" = maybe; then
2610
3096
        cross_compiling=yes
2611
3097
    else
2612
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3098
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2613
3099
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2614
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2615
 
If you meant to cross compile, use \`--host'.
2616
 
See \`config.log' for more details." >&5
2617
 
$as_echo "$as_me: error: cannot run C compiled programs.
2618
 
If you meant to cross compile, use \`--host'.
2619
 
See \`config.log' for more details." >&2;}
2620
 
   { (exit 1); exit 1; }; }; }
 
3100
as_fn_error "cannot run C compiled programs.
 
3101
If you meant to cross compile, use \`--host'.
 
3102
See \`config.log' for more details." "$LINENO" 5; }
2621
3103
    fi
2622
3104
  fi
2623
3105
fi
2624
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2625
3107
$as_echo "yes" >&6; }
2626
3108
 
2627
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3109
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2628
3110
ac_clean_files=$ac_clean_files_save
2629
3111
# Check that the compiler produces executables we can run.  If not, either
2630
3112
# the compiler is broken, or we cross compile.
2631
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2632
3114
$as_echo_n "checking whether we are cross compiling... " >&6; }
2633
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2634
3116
$as_echo "$cross_compiling" >&6; }
2635
3117
 
2636
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2637
3119
$as_echo_n "checking for suffix of executables... " >&6; }
2638
 
if { (ac_try="$ac_link"
 
3120
if { { ac_try="$ac_link"
2639
3121
case "(($ac_try" in
2640
3122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641
3123
  *) ac_try_echo=$ac_try;;
2642
3124
esac
2643
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2644
 
$as_echo "$ac_try_echo") >&5
 
3125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3126
$as_echo "$ac_try_echo"; } >&5
2645
3127
  (eval "$ac_link") 2>&5
2646
3128
  ac_status=$?
2647
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648
 
  (exit $ac_status); }; then
 
3129
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3130
  test $ac_status = 0; }; then :
2649
3131
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2650
3132
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2651
3133
# work properly (i.e., refer to `conftest.exe'), while it won't with
2660
3142
  esac
2661
3143
done
2662
3144
else
2663
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3145
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664
3146
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2666
 
See \`config.log' for more details." >&5
2667
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2668
 
See \`config.log' for more details." >&2;}
2669
 
   { (exit 1); exit 1; }; }; }
 
3147
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3148
See \`config.log' for more details." "$LINENO" 5; }
2670
3149
fi
2671
 
 
2672
3150
rm -f conftest$ac_cv_exeext
2673
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2674
3152
$as_echo "$ac_cv_exeext" >&6; }
2675
3153
 
2676
3154
rm -f conftest.$ac_ext
2677
3155
EXEEXT=$ac_cv_exeext
2678
3156
ac_exeext=$EXEEXT
2679
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2680
3158
$as_echo_n "checking for suffix of object files... " >&6; }
2681
 
if test "${ac_cv_objext+set}" = set; then
 
3159
if test "${ac_cv_objext+set}" = set; then :
2682
3160
  $as_echo_n "(cached) " >&6
2683
3161
else
2684
 
  cat >conftest.$ac_ext <<_ACEOF
2685
 
/* confdefs.h.  */
2686
 
_ACEOF
2687
 
cat confdefs.h >>conftest.$ac_ext
2688
 
cat >>conftest.$ac_ext <<_ACEOF
 
3162
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689
3163
/* end confdefs.h.  */
2690
3164
 
2691
3165
int
2697
3171
}
2698
3172
_ACEOF
2699
3173
rm -f conftest.o conftest.obj
2700
 
if { (ac_try="$ac_compile"
 
3174
if { { ac_try="$ac_compile"
2701
3175
case "(($ac_try" in
2702
3176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703
3177
  *) ac_try_echo=$ac_try;;
2704
3178
esac
2705
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2706
 
$as_echo "$ac_try_echo") >&5
 
3179
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3180
$as_echo "$ac_try_echo"; } >&5
2707
3181
  (eval "$ac_compile") 2>&5
2708
3182
  ac_status=$?
2709
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710
 
  (exit $ac_status); }; then
 
3183
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3184
  test $ac_status = 0; }; then :
2711
3185
  for ac_file in conftest.o conftest.obj conftest.*; do
2712
3186
  test -f "$ac_file" || continue;
2713
3187
  case $ac_file in
2720
3194
  $as_echo "$as_me: failed program was:" >&5
2721
3195
sed 's/^/| /' conftest.$ac_ext >&5
2722
3196
 
2723
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3197
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2724
3198
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2725
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2726
 
See \`config.log' for more details." >&5
2727
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2728
 
See \`config.log' for more details." >&2;}
2729
 
   { (exit 1); exit 1; }; }; }
 
3199
as_fn_error "cannot compute suffix of object files: cannot compile
 
3200
See \`config.log' for more details." "$LINENO" 5; }
2730
3201
fi
2731
 
 
2732
3202
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2733
3203
fi
2734
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2735
3205
$as_echo "$ac_cv_objext" >&6; }
2736
3206
OBJEXT=$ac_cv_objext
2737
3207
ac_objext=$OBJEXT
2738
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2739
3209
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2740
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3210
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2741
3211
  $as_echo_n "(cached) " >&6
2742
3212
else
2743
 
  cat >conftest.$ac_ext <<_ACEOF
2744
 
/* confdefs.h.  */
2745
 
_ACEOF
2746
 
cat confdefs.h >>conftest.$ac_ext
2747
 
cat >>conftest.$ac_ext <<_ACEOF
 
3213
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748
3214
/* end confdefs.h.  */
2749
3215
 
2750
3216
int
2758
3224
  return 0;
2759
3225
}
2760
3226
_ACEOF
2761
 
rm -f conftest.$ac_objext
2762
 
if { (ac_try="$ac_compile"
2763
 
case "(($ac_try" in
2764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765
 
  *) ac_try_echo=$ac_try;;
2766
 
esac
2767
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2768
 
$as_echo "$ac_try_echo") >&5
2769
 
  (eval "$ac_compile") 2>conftest.er1
2770
 
  ac_status=$?
2771
 
  grep -v '^ *+' conftest.er1 >conftest.err
2772
 
  rm -f conftest.er1
2773
 
  cat conftest.err >&5
2774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
 
  (exit $ac_status); } && {
2776
 
         test -z "$ac_c_werror_flag" ||
2777
 
         test ! -s conftest.err
2778
 
       } && test -s conftest.$ac_objext; then
 
3227
if ac_fn_c_try_compile "$LINENO"; then :
2779
3228
  ac_compiler_gnu=yes
2780
3229
else
2781
 
  $as_echo "$as_me: failed program was:" >&5
2782
 
sed 's/^/| /' conftest.$ac_ext >&5
2783
 
 
2784
 
        ac_compiler_gnu=no
 
3230
  ac_compiler_gnu=no
2785
3231
fi
2786
 
 
2787
3232
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788
3233
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2789
3234
 
2790
3235
fi
2791
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2792
3237
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2793
3238
if test $ac_compiler_gnu = yes; then
2794
3239
  GCC=yes
2797
3242
fi
2798
3243
ac_test_CFLAGS=${CFLAGS+set}
2799
3244
ac_save_CFLAGS=$CFLAGS
2800
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2801
3246
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2802
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3247
if test "${ac_cv_prog_cc_g+set}" = set; then :
2803
3248
  $as_echo_n "(cached) " >&6
2804
3249
else
2805
3250
  ac_save_c_werror_flag=$ac_c_werror_flag
2806
3251
   ac_c_werror_flag=yes
2807
3252
   ac_cv_prog_cc_g=no
2808
3253
   CFLAGS="-g"
2809
 
   cat >conftest.$ac_ext <<_ACEOF
2810
 
/* confdefs.h.  */
2811
 
_ACEOF
2812
 
cat confdefs.h >>conftest.$ac_ext
2813
 
cat >>conftest.$ac_ext <<_ACEOF
 
3254
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814
3255
/* end confdefs.h.  */
2815
3256
 
2816
3257
int
2821
3262
  return 0;
2822
3263
}
2823
3264
_ACEOF
2824
 
rm -f conftest.$ac_objext
2825
 
if { (ac_try="$ac_compile"
2826
 
case "(($ac_try" in
2827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828
 
  *) ac_try_echo=$ac_try;;
2829
 
esac
2830
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2831
 
$as_echo "$ac_try_echo") >&5
2832
 
  (eval "$ac_compile") 2>conftest.er1
2833
 
  ac_status=$?
2834
 
  grep -v '^ *+' conftest.er1 >conftest.err
2835
 
  rm -f conftest.er1
2836
 
  cat conftest.err >&5
2837
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
 
  (exit $ac_status); } && {
2839
 
         test -z "$ac_c_werror_flag" ||
2840
 
         test ! -s conftest.err
2841
 
       } && test -s conftest.$ac_objext; then
 
3265
if ac_fn_c_try_compile "$LINENO"; then :
2842
3266
  ac_cv_prog_cc_g=yes
2843
3267
else
2844
 
  $as_echo "$as_me: failed program was:" >&5
2845
 
sed 's/^/| /' conftest.$ac_ext >&5
2846
 
 
2847
 
        CFLAGS=""
2848
 
      cat >conftest.$ac_ext <<_ACEOF
2849
 
/* confdefs.h.  */
2850
 
_ACEOF
2851
 
cat confdefs.h >>conftest.$ac_ext
2852
 
cat >>conftest.$ac_ext <<_ACEOF
 
3268
  CFLAGS=""
 
3269
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853
3270
/* end confdefs.h.  */
2854
3271
 
2855
3272
int
2860
3277
  return 0;
2861
3278
}
2862
3279
_ACEOF
2863
 
rm -f conftest.$ac_objext
2864
 
if { (ac_try="$ac_compile"
2865
 
case "(($ac_try" in
2866
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867
 
  *) ac_try_echo=$ac_try;;
2868
 
esac
2869
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2870
 
$as_echo "$ac_try_echo") >&5
2871
 
  (eval "$ac_compile") 2>conftest.er1
2872
 
  ac_status=$?
2873
 
  grep -v '^ *+' conftest.er1 >conftest.err
2874
 
  rm -f conftest.er1
2875
 
  cat conftest.err >&5
2876
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877
 
  (exit $ac_status); } && {
2878
 
         test -z "$ac_c_werror_flag" ||
2879
 
         test ! -s conftest.err
2880
 
       } && test -s conftest.$ac_objext; then
2881
 
  :
 
3280
if ac_fn_c_try_compile "$LINENO"; then :
 
3281
 
2882
3282
else
2883
 
  $as_echo "$as_me: failed program was:" >&5
2884
 
sed 's/^/| /' conftest.$ac_ext >&5
2885
 
 
2886
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3283
  ac_c_werror_flag=$ac_save_c_werror_flag
2887
3284
         CFLAGS="-g"
2888
 
         cat >conftest.$ac_ext <<_ACEOF
2889
 
/* confdefs.h.  */
2890
 
_ACEOF
2891
 
cat confdefs.h >>conftest.$ac_ext
2892
 
cat >>conftest.$ac_ext <<_ACEOF
 
3285
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893
3286
/* end confdefs.h.  */
2894
3287
 
2895
3288
int
2900
3293
  return 0;
2901
3294
}
2902
3295
_ACEOF
2903
 
rm -f conftest.$ac_objext
2904
 
if { (ac_try="$ac_compile"
2905
 
case "(($ac_try" in
2906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907
 
  *) ac_try_echo=$ac_try;;
2908
 
esac
2909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2910
 
$as_echo "$ac_try_echo") >&5
2911
 
  (eval "$ac_compile") 2>conftest.er1
2912
 
  ac_status=$?
2913
 
  grep -v '^ *+' conftest.er1 >conftest.err
2914
 
  rm -f conftest.er1
2915
 
  cat conftest.err >&5
2916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917
 
  (exit $ac_status); } && {
2918
 
         test -z "$ac_c_werror_flag" ||
2919
 
         test ! -s conftest.err
2920
 
       } && test -s conftest.$ac_objext; then
 
3296
if ac_fn_c_try_compile "$LINENO"; then :
2921
3297
  ac_cv_prog_cc_g=yes
2922
 
else
2923
 
  $as_echo "$as_me: failed program was:" >&5
2924
 
sed 's/^/| /' conftest.$ac_ext >&5
2925
 
 
2926
 
 
2927
 
fi
2928
 
 
2929
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930
 
fi
2931
 
 
2932
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933
 
fi
2934
 
 
 
3298
fi
 
3299
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3300
fi
 
3301
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3302
fi
2935
3303
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936
3304
   ac_c_werror_flag=$ac_save_c_werror_flag
2937
3305
fi
2938
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2939
3307
$as_echo "$ac_cv_prog_cc_g" >&6; }
2940
3308
if test "$ac_test_CFLAGS" = set; then
2941
3309
  CFLAGS=$ac_save_CFLAGS
2952
3320
    CFLAGS=
2953
3321
  fi
2954
3322
fi
2955
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2956
3324
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2957
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3325
if test "${ac_cv_prog_cc_c89+set}" = set; then :
2958
3326
  $as_echo_n "(cached) " >&6
2959
3327
else
2960
3328
  ac_cv_prog_cc_c89=no
2961
3329
ac_save_CC=$CC
2962
 
cat >conftest.$ac_ext <<_ACEOF
2963
 
/* confdefs.h.  */
2964
 
_ACEOF
2965
 
cat confdefs.h >>conftest.$ac_ext
2966
 
cat >>conftest.$ac_ext <<_ACEOF
 
3330
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967
3331
/* end confdefs.h.  */
2968
3332
#include <stdarg.h>
2969
3333
#include <stdio.h>
3020
3384
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3021
3385
do
3022
3386
  CC="$ac_save_CC $ac_arg"
3023
 
  rm -f conftest.$ac_objext
3024
 
if { (ac_try="$ac_compile"
3025
 
case "(($ac_try" in
3026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
 
  *) ac_try_echo=$ac_try;;
3028
 
esac
3029
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030
 
$as_echo "$ac_try_echo") >&5
3031
 
  (eval "$ac_compile") 2>conftest.er1
3032
 
  ac_status=$?
3033
 
  grep -v '^ *+' conftest.er1 >conftest.err
3034
 
  rm -f conftest.er1
3035
 
  cat conftest.err >&5
3036
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
 
  (exit $ac_status); } && {
3038
 
         test -z "$ac_c_werror_flag" ||
3039
 
         test ! -s conftest.err
3040
 
       } && test -s conftest.$ac_objext; then
 
3387
  if ac_fn_c_try_compile "$LINENO"; then :
3041
3388
  ac_cv_prog_cc_c89=$ac_arg
3042
 
else
3043
 
  $as_echo "$as_me: failed program was:" >&5
3044
 
sed 's/^/| /' conftest.$ac_ext >&5
3045
 
 
3046
 
 
3047
3389
fi
3048
 
 
3049
3390
rm -f core conftest.err conftest.$ac_objext
3050
3391
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3051
3392
done
3056
3397
# AC_CACHE_VAL
3057
3398
case "x$ac_cv_prog_cc_c89" in
3058
3399
  x)
3059
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3400
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3060
3401
$as_echo "none needed" >&6; } ;;
3061
3402
  xno)
3062
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3403
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3063
3404
$as_echo "unsupported" >&6; } ;;
3064
3405
  *)
3065
3406
    CC="$CC $ac_cv_prog_cc_c89"
3066
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3407
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3067
3408
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3068
3409
esac
3069
 
 
3070
 
 
3071
 
ac_ext=c
3072
 
ac_cpp='$CPP $CPPFLAGS'
3073
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076
 
 
3077
 
 
3078
 
ac_ext=c
3079
 
ac_cpp='$CPP $CPPFLAGS'
3080
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3081
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3082
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3083
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3410
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3411
 
 
3412
fi
 
3413
 
 
3414
ac_ext=c
 
3415
ac_cpp='$CPP $CPPFLAGS'
 
3416
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3417
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3418
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3419
 
 
3420
 
 
3421
ac_ext=c
 
3422
ac_cpp='$CPP $CPPFLAGS'
 
3423
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3424
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3425
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3084
3427
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3085
3428
# On Suns, sometimes $CPP names a directory.
3086
3429
if test -n "$CPP" && test -d "$CPP"; then
3087
3430
  CPP=
3088
3431
fi
3089
3432
if test -z "$CPP"; then
3090
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3433
  if test "${ac_cv_prog_CPP+set}" = set; then :
3091
3434
  $as_echo_n "(cached) " >&6
3092
3435
else
3093
3436
      # Double quotes because CPP needs to be expanded
3102
3445
  # <limits.h> exists even on freestanding compilers.
3103
3446
  # On the NeXT, cc -E runs the code through the compiler's parser,
3104
3447
  # not just through cpp. "Syntax error" is here to catch this case.
3105
 
  cat >conftest.$ac_ext <<_ACEOF
3106
 
/* confdefs.h.  */
3107
 
_ACEOF
3108
 
cat confdefs.h >>conftest.$ac_ext
3109
 
cat >>conftest.$ac_ext <<_ACEOF
 
3448
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110
3449
/* end confdefs.h.  */
3111
3450
#ifdef __STDC__
3112
3451
# include <limits.h>
3115
3454
#endif
3116
3455
                     Syntax error
3117
3456
_ACEOF
3118
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3119
 
case "(($ac_try" in
3120
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121
 
  *) ac_try_echo=$ac_try;;
3122
 
esac
3123
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3124
 
$as_echo "$ac_try_echo") >&5
3125
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3126
 
  ac_status=$?
3127
 
  grep -v '^ *+' conftest.er1 >conftest.err
3128
 
  rm -f conftest.er1
3129
 
  cat conftest.err >&5
3130
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
 
  (exit $ac_status); } >/dev/null && {
3132
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3133
 
         test ! -s conftest.err
3134
 
       }; then
3135
 
  :
 
3457
if ac_fn_c_try_cpp "$LINENO"; then :
 
3458
 
3136
3459
else
3137
 
  $as_echo "$as_me: failed program was:" >&5
3138
 
sed 's/^/| /' conftest.$ac_ext >&5
3139
 
 
3140
3460
  # Broken: fails on valid input.
3141
3461
continue
3142
3462
fi
3143
 
 
3144
3463
rm -f conftest.err conftest.$ac_ext
3145
3464
 
3146
3465
  # OK, works on sane cases.  Now check whether nonexistent headers
3147
3466
  # can be detected and how.
3148
 
  cat >conftest.$ac_ext <<_ACEOF
3149
 
/* confdefs.h.  */
3150
 
_ACEOF
3151
 
cat confdefs.h >>conftest.$ac_ext
3152
 
cat >>conftest.$ac_ext <<_ACEOF
 
3467
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153
3468
/* end confdefs.h.  */
3154
3469
#include <ac_nonexistent.h>
3155
3470
_ACEOF
3156
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3157
 
case "(($ac_try" in
3158
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159
 
  *) ac_try_echo=$ac_try;;
3160
 
esac
3161
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3162
 
$as_echo "$ac_try_echo") >&5
3163
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3164
 
  ac_status=$?
3165
 
  grep -v '^ *+' conftest.er1 >conftest.err
3166
 
  rm -f conftest.er1
3167
 
  cat conftest.err >&5
3168
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169
 
  (exit $ac_status); } >/dev/null && {
3170
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3171
 
         test ! -s conftest.err
3172
 
       }; then
 
3471
if ac_fn_c_try_cpp "$LINENO"; then :
3173
3472
  # Broken: success on invalid input.
3174
3473
continue
3175
3474
else
3176
 
  $as_echo "$as_me: failed program was:" >&5
3177
 
sed 's/^/| /' conftest.$ac_ext >&5
3178
 
 
3179
3475
  # Passes both tests.
3180
3476
ac_preproc_ok=:
3181
3477
break
3182
3478
fi
3183
 
 
3184
3479
rm -f conftest.err conftest.$ac_ext
3185
3480
 
3186
3481
done
3187
3482
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3188
3483
rm -f conftest.err conftest.$ac_ext
3189
 
if $ac_preproc_ok; then
 
3484
if $ac_preproc_ok; then :
3190
3485
  break
3191
3486
fi
3192
3487
 
3198
3493
else
3199
3494
  ac_cv_prog_CPP=$CPP
3200
3495
fi
3201
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3202
3497
$as_echo "$CPP" >&6; }
3203
3498
ac_preproc_ok=false
3204
3499
for ac_c_preproc_warn_flag in '' yes
3209
3504
  # <limits.h> exists even on freestanding compilers.
3210
3505
  # On the NeXT, cc -E runs the code through the compiler's parser,
3211
3506
  # not just through cpp. "Syntax error" is here to catch this case.
3212
 
  cat >conftest.$ac_ext <<_ACEOF
3213
 
/* confdefs.h.  */
3214
 
_ACEOF
3215
 
cat confdefs.h >>conftest.$ac_ext
3216
 
cat >>conftest.$ac_ext <<_ACEOF
 
3507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217
3508
/* end confdefs.h.  */
3218
3509
#ifdef __STDC__
3219
3510
# include <limits.h>
3222
3513
#endif
3223
3514
                     Syntax error
3224
3515
_ACEOF
3225
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3226
 
case "(($ac_try" in
3227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228
 
  *) ac_try_echo=$ac_try;;
3229
 
esac
3230
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3231
 
$as_echo "$ac_try_echo") >&5
3232
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3233
 
  ac_status=$?
3234
 
  grep -v '^ *+' conftest.er1 >conftest.err
3235
 
  rm -f conftest.er1
3236
 
  cat conftest.err >&5
3237
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238
 
  (exit $ac_status); } >/dev/null && {
3239
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3240
 
         test ! -s conftest.err
3241
 
       }; then
3242
 
  :
 
3516
if ac_fn_c_try_cpp "$LINENO"; then :
 
3517
 
3243
3518
else
3244
 
  $as_echo "$as_me: failed program was:" >&5
3245
 
sed 's/^/| /' conftest.$ac_ext >&5
3246
 
 
3247
3519
  # Broken: fails on valid input.
3248
3520
continue
3249
3521
fi
3250
 
 
3251
3522
rm -f conftest.err conftest.$ac_ext
3252
3523
 
3253
3524
  # OK, works on sane cases.  Now check whether nonexistent headers
3254
3525
  # can be detected and how.
3255
 
  cat >conftest.$ac_ext <<_ACEOF
3256
 
/* confdefs.h.  */
3257
 
_ACEOF
3258
 
cat confdefs.h >>conftest.$ac_ext
3259
 
cat >>conftest.$ac_ext <<_ACEOF
 
3526
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260
3527
/* end confdefs.h.  */
3261
3528
#include <ac_nonexistent.h>
3262
3529
_ACEOF
3263
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3264
 
case "(($ac_try" in
3265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266
 
  *) ac_try_echo=$ac_try;;
3267
 
esac
3268
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3269
 
$as_echo "$ac_try_echo") >&5
3270
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3271
 
  ac_status=$?
3272
 
  grep -v '^ *+' conftest.er1 >conftest.err
3273
 
  rm -f conftest.er1
3274
 
  cat conftest.err >&5
3275
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
 
  (exit $ac_status); } >/dev/null && {
3277
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3278
 
         test ! -s conftest.err
3279
 
       }; then
 
3530
if ac_fn_c_try_cpp "$LINENO"; then :
3280
3531
  # Broken: success on invalid input.
3281
3532
continue
3282
3533
else
3283
 
  $as_echo "$as_me: failed program was:" >&5
3284
 
sed 's/^/| /' conftest.$ac_ext >&5
3285
 
 
3286
3534
  # Passes both tests.
3287
3535
ac_preproc_ok=:
3288
3536
break
3289
3537
fi
3290
 
 
3291
3538
rm -f conftest.err conftest.$ac_ext
3292
3539
 
3293
3540
done
3294
3541
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3295
3542
rm -f conftest.err conftest.$ac_ext
3296
 
if $ac_preproc_ok; then
3297
 
  :
 
3543
if $ac_preproc_ok; then :
 
3544
 
3298
3545
else
3299
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3546
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300
3547
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3302
 
See \`config.log' for more details." >&5
3303
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3304
 
See \`config.log' for more details." >&2;}
3305
 
   { (exit 1); exit 1; }; }; }
 
3548
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
3549
See \`config.log' for more details." "$LINENO" 5; }
3306
3550
fi
3307
3551
 
3308
3552
ac_ext=c
3312
3556
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313
3557
 
3314
3558
 
3315
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3316
3560
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3317
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3561
if test "${ac_cv_path_GREP+set}" = set; then :
3318
3562
  $as_echo_n "(cached) " >&6
3319
3563
else
3320
3564
  if test -z "$GREP"; then
3325
3569
do
3326
3570
  IFS=$as_save_IFS
3327
3571
  test -z "$as_dir" && as_dir=.
3328
 
  for ac_prog in grep ggrep; do
 
3572
    for ac_prog in grep ggrep; do
3329
3573
    for ac_exec_ext in '' $ac_executable_extensions; do
3330
3574
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3331
3575
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3345
3589
    $as_echo 'GREP' >> "conftest.nl"
3346
3590
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3347
3591
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3348
 
    ac_count=`expr $ac_count + 1`
 
3592
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3349
3593
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3350
3594
      # Best one so far, save it but keep looking for a better one
3351
3595
      ac_cv_path_GREP="$ac_path_GREP"
3360
3604
      $ac_path_GREP_found && break 3
3361
3605
    done
3362
3606
  done
3363
 
done
 
3607
  done
3364
3608
IFS=$as_save_IFS
3365
3609
  if test -z "$ac_cv_path_GREP"; then
3366
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3367
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3368
 
   { (exit 1); exit 1; }; }
 
3610
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3369
3611
  fi
3370
3612
else
3371
3613
  ac_cv_path_GREP=$GREP
3372
3614
fi
3373
3615
 
3374
3616
fi
3375
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3376
3618
$as_echo "$ac_cv_path_GREP" >&6; }
3377
3619
 GREP="$ac_cv_path_GREP"
3378
3620
 
3379
3621
 
3380
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3381
3623
$as_echo_n "checking for egrep... " >&6; }
3382
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
3624
if test "${ac_cv_path_EGREP+set}" = set; then :
3383
3625
  $as_echo_n "(cached) " >&6
3384
3626
else
3385
3627
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3393
3635
do
3394
3636
  IFS=$as_save_IFS
3395
3637
  test -z "$as_dir" && as_dir=.
3396
 
  for ac_prog in egrep; do
 
3638
    for ac_prog in egrep; do
3397
3639
    for ac_exec_ext in '' $ac_executable_extensions; do
3398
3640
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3399
3641
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3413
3655
    $as_echo 'EGREP' >> "conftest.nl"
3414
3656
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3415
3657
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3416
 
    ac_count=`expr $ac_count + 1`
 
3658
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3417
3659
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3418
3660
      # Best one so far, save it but keep looking for a better one
3419
3661
      ac_cv_path_EGREP="$ac_path_EGREP"
3428
3670
      $ac_path_EGREP_found && break 3
3429
3671
    done
3430
3672
  done
3431
 
done
 
3673
  done
3432
3674
IFS=$as_save_IFS
3433
3675
  if test -z "$ac_cv_path_EGREP"; then
3434
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3435
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3436
 
   { (exit 1); exit 1; }; }
 
3676
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3437
3677
  fi
3438
3678
else
3439
3679
  ac_cv_path_EGREP=$EGREP
3441
3681
 
3442
3682
   fi
3443
3683
fi
3444
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3445
3685
$as_echo "$ac_cv_path_EGREP" >&6; }
3446
3686
 EGREP="$ac_cv_path_EGREP"
3447
3687
 
3448
3688
 
3449
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3450
3690
$as_echo_n "checking for ANSI C header files... " >&6; }
3451
 
if test "${ac_cv_header_stdc+set}" = set; then
 
3691
if test "${ac_cv_header_stdc+set}" = set; then :
3452
3692
  $as_echo_n "(cached) " >&6
3453
3693
else
3454
 
  cat >conftest.$ac_ext <<_ACEOF
3455
 
/* confdefs.h.  */
3456
 
_ACEOF
3457
 
cat confdefs.h >>conftest.$ac_ext
3458
 
cat >>conftest.$ac_ext <<_ACEOF
 
3694
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459
3695
/* end confdefs.h.  */
3460
3696
#include <stdlib.h>
3461
3697
#include <stdarg.h>
3470
3706
  return 0;
3471
3707
}
3472
3708
_ACEOF
3473
 
rm -f conftest.$ac_objext
3474
 
if { (ac_try="$ac_compile"
3475
 
case "(($ac_try" in
3476
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
 
  *) ac_try_echo=$ac_try;;
3478
 
esac
3479
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3480
 
$as_echo "$ac_try_echo") >&5
3481
 
  (eval "$ac_compile") 2>conftest.er1
3482
 
  ac_status=$?
3483
 
  grep -v '^ *+' conftest.er1 >conftest.err
3484
 
  rm -f conftest.er1
3485
 
  cat conftest.err >&5
3486
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487
 
  (exit $ac_status); } && {
3488
 
         test -z "$ac_c_werror_flag" ||
3489
 
         test ! -s conftest.err
3490
 
       } && test -s conftest.$ac_objext; then
 
3709
if ac_fn_c_try_compile "$LINENO"; then :
3491
3710
  ac_cv_header_stdc=yes
3492
3711
else
3493
 
  $as_echo "$as_me: failed program was:" >&5
3494
 
sed 's/^/| /' conftest.$ac_ext >&5
3495
 
 
3496
 
        ac_cv_header_stdc=no
 
3712
  ac_cv_header_stdc=no
3497
3713
fi
3498
 
 
3499
3714
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500
3715
 
3501
3716
if test $ac_cv_header_stdc = yes; then
3502
3717
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3503
 
  cat >conftest.$ac_ext <<_ACEOF
3504
 
/* confdefs.h.  */
3505
 
_ACEOF
3506
 
cat confdefs.h >>conftest.$ac_ext
3507
 
cat >>conftest.$ac_ext <<_ACEOF
 
3718
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508
3719
/* end confdefs.h.  */
3509
3720
#include <string.h>
3510
3721
 
3511
3722
_ACEOF
3512
3723
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3513
 
  $EGREP "memchr" >/dev/null 2>&1; then
3514
 
  :
 
3724
  $EGREP "memchr" >/dev/null 2>&1; then :
 
3725
 
3515
3726
else
3516
3727
  ac_cv_header_stdc=no
3517
3728
fi
3521
3732
 
3522
3733
if test $ac_cv_header_stdc = yes; then
3523
3734
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3524
 
  cat >conftest.$ac_ext <<_ACEOF
3525
 
/* confdefs.h.  */
3526
 
_ACEOF
3527
 
cat confdefs.h >>conftest.$ac_ext
3528
 
cat >>conftest.$ac_ext <<_ACEOF
 
3735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529
3736
/* end confdefs.h.  */
3530
3737
#include <stdlib.h>
3531
3738
 
3532
3739
_ACEOF
3533
3740
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3534
 
  $EGREP "free" >/dev/null 2>&1; then
3535
 
  :
 
3741
  $EGREP "free" >/dev/null 2>&1; then :
 
3742
 
3536
3743
else
3537
3744
  ac_cv_header_stdc=no
3538
3745
fi
3542
3749
 
3543
3750
if test $ac_cv_header_stdc = yes; then
3544
3751
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3545
 
  if test "$cross_compiling" = yes; then
 
3752
  if test "$cross_compiling" = yes; then :
3546
3753
  :
3547
3754
else
3548
 
  cat >conftest.$ac_ext <<_ACEOF
3549
 
/* confdefs.h.  */
3550
 
_ACEOF
3551
 
cat confdefs.h >>conftest.$ac_ext
3552
 
cat >>conftest.$ac_ext <<_ACEOF
 
3755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553
3756
/* end confdefs.h.  */
3554
3757
#include <ctype.h>
3555
3758
#include <stdlib.h>
3576
3779
  return 0;
3577
3780
}
3578
3781
_ACEOF
3579
 
rm -f conftest$ac_exeext
3580
 
if { (ac_try="$ac_link"
3581
 
case "(($ac_try" in
3582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583
 
  *) ac_try_echo=$ac_try;;
3584
 
esac
3585
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3586
 
$as_echo "$ac_try_echo") >&5
3587
 
  (eval "$ac_link") 2>&5
3588
 
  ac_status=$?
3589
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3591
 
  { (case "(($ac_try" in
3592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593
 
  *) ac_try_echo=$ac_try;;
3594
 
esac
3595
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3596
 
$as_echo "$ac_try_echo") >&5
3597
 
  (eval "$ac_try") 2>&5
3598
 
  ac_status=$?
3599
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
 
  (exit $ac_status); }; }; then
3601
 
  :
 
3782
if ac_fn_c_try_run "$LINENO"; then :
 
3783
 
3602
3784
else
3603
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
3604
 
$as_echo "$as_me: failed program was:" >&5
3605
 
sed 's/^/| /' conftest.$ac_ext >&5
3606
 
 
3607
 
( exit $ac_status )
3608
 
ac_cv_header_stdc=no
3609
 
fi
3610
 
rm -rf conftest.dSYM
3611
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3612
 
fi
3613
 
 
3614
 
 
3615
 
fi
3616
 
fi
3617
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3785
  ac_cv_header_stdc=no
 
3786
fi
 
3787
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
3788
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
3789
fi
 
3790
 
 
3791
fi
 
3792
fi
 
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3618
3794
$as_echo "$ac_cv_header_stdc" >&6; }
3619
3795
if test $ac_cv_header_stdc = yes; then
3620
3796
 
3621
 
cat >>confdefs.h <<\_ACEOF
3622
 
#define STDC_HEADERS 1
3623
 
_ACEOF
 
3797
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3624
3798
 
3625
3799
fi
3626
3800
 
3627
3801
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3628
 
 
3629
 
 
3630
 
 
3631
 
 
3632
 
 
3633
 
 
3634
 
 
3635
 
 
3636
 
 
3637
3802
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3638
3803
                  inttypes.h stdint.h unistd.h
3639
 
do
3640
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3641
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3642
 
$as_echo_n "checking for $ac_header... " >&6; }
3643
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3644
 
  $as_echo_n "(cached) " >&6
3645
 
else
3646
 
  cat >conftest.$ac_ext <<_ACEOF
3647
 
/* confdefs.h.  */
3648
 
_ACEOF
3649
 
cat confdefs.h >>conftest.$ac_ext
3650
 
cat >>conftest.$ac_ext <<_ACEOF
3651
 
/* end confdefs.h.  */
3652
 
$ac_includes_default
3653
 
 
3654
 
#include <$ac_header>
3655
 
_ACEOF
3656
 
rm -f conftest.$ac_objext
3657
 
if { (ac_try="$ac_compile"
3658
 
case "(($ac_try" in
3659
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660
 
  *) ac_try_echo=$ac_try;;
3661
 
esac
3662
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3663
 
$as_echo "$ac_try_echo") >&5
3664
 
  (eval "$ac_compile") 2>conftest.er1
3665
 
  ac_status=$?
3666
 
  grep -v '^ *+' conftest.er1 >conftest.err
3667
 
  rm -f conftest.er1
3668
 
  cat conftest.err >&5
3669
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670
 
  (exit $ac_status); } && {
3671
 
         test -z "$ac_c_werror_flag" ||
3672
 
         test ! -s conftest.err
3673
 
       } && test -s conftest.$ac_objext; then
3674
 
  eval "$as_ac_Header=yes"
3675
 
else
3676
 
  $as_echo "$as_me: failed program was:" >&5
3677
 
sed 's/^/| /' conftest.$ac_ext >&5
3678
 
 
3679
 
        eval "$as_ac_Header=no"
3680
 
fi
3681
 
 
3682
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683
 
fi
3684
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
3685
 
                 $as_echo "$as_val"'`
3686
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3687
 
$as_echo "$ac_res" >&6; }
3688
 
as_val=`eval 'as_val=${'$as_ac_Header'}
3689
 
                 $as_echo "$as_val"'`
3690
 
   if test "x$as_val" = x""yes; then
 
3804
do :
 
3805
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3806
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
3807
"
 
3808
eval as_val=\$$as_ac_Header
 
3809
   if test "x$as_val" = x""yes; then :
3691
3810
  cat >>confdefs.h <<_ACEOF
3692
3811
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3693
3812
_ACEOF
3698
3817
 
3699
3818
 
3700
3819
 
3701
 
  if test "${ac_cv_header_minix_config_h+set}" = set; then
3702
 
  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3703
 
$as_echo_n "checking for minix/config.h... " >&6; }
3704
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
3705
 
  $as_echo_n "(cached) " >&6
3706
 
fi
3707
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3708
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
3709
 
else
3710
 
  # Is the header compilable?
3711
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3712
 
$as_echo_n "checking minix/config.h usability... " >&6; }
3713
 
cat >conftest.$ac_ext <<_ACEOF
3714
 
/* confdefs.h.  */
3715
 
_ACEOF
3716
 
cat confdefs.h >>conftest.$ac_ext
3717
 
cat >>conftest.$ac_ext <<_ACEOF
3718
 
/* end confdefs.h.  */
3719
 
$ac_includes_default
3720
 
#include <minix/config.h>
3721
 
_ACEOF
3722
 
rm -f conftest.$ac_objext
3723
 
if { (ac_try="$ac_compile"
3724
 
case "(($ac_try" in
3725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726
 
  *) ac_try_echo=$ac_try;;
3727
 
esac
3728
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3729
 
$as_echo "$ac_try_echo") >&5
3730
 
  (eval "$ac_compile") 2>conftest.er1
3731
 
  ac_status=$?
3732
 
  grep -v '^ *+' conftest.er1 >conftest.err
3733
 
  rm -f conftest.er1
3734
 
  cat conftest.err >&5
3735
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736
 
  (exit $ac_status); } && {
3737
 
         test -z "$ac_c_werror_flag" ||
3738
 
         test ! -s conftest.err
3739
 
       } && test -s conftest.$ac_objext; then
3740
 
  ac_header_compiler=yes
3741
 
else
3742
 
  $as_echo "$as_me: failed program was:" >&5
3743
 
sed 's/^/| /' conftest.$ac_ext >&5
3744
 
 
3745
 
        ac_header_compiler=no
3746
 
fi
3747
 
 
3748
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3750
 
$as_echo "$ac_header_compiler" >&6; }
3751
 
 
3752
 
# Is the header present?
3753
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3754
 
$as_echo_n "checking minix/config.h presence... " >&6; }
3755
 
cat >conftest.$ac_ext <<_ACEOF
3756
 
/* confdefs.h.  */
3757
 
_ACEOF
3758
 
cat confdefs.h >>conftest.$ac_ext
3759
 
cat >>conftest.$ac_ext <<_ACEOF
3760
 
/* end confdefs.h.  */
3761
 
#include <minix/config.h>
3762
 
_ACEOF
3763
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3764
 
case "(($ac_try" in
3765
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3766
 
  *) ac_try_echo=$ac_try;;
3767
 
esac
3768
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3769
 
$as_echo "$ac_try_echo") >&5
3770
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3771
 
  ac_status=$?
3772
 
  grep -v '^ *+' conftest.er1 >conftest.err
3773
 
  rm -f conftest.er1
3774
 
  cat conftest.err >&5
3775
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776
 
  (exit $ac_status); } >/dev/null && {
3777
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3778
 
         test ! -s conftest.err
3779
 
       }; then
3780
 
  ac_header_preproc=yes
3781
 
else
3782
 
  $as_echo "$as_me: failed program was:" >&5
3783
 
sed 's/^/| /' conftest.$ac_ext >&5
3784
 
 
3785
 
  ac_header_preproc=no
3786
 
fi
3787
 
 
3788
 
rm -f conftest.err conftest.$ac_ext
3789
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3790
 
$as_echo "$ac_header_preproc" >&6; }
3791
 
 
3792
 
# So?  What about this header?
3793
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3794
 
  yes:no: )
3795
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3796
 
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3797
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3798
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3799
 
    ac_header_preproc=yes
3800
 
    ;;
3801
 
  no:yes:* )
3802
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3803
 
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3804
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
3805
 
$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
3806
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3807
 
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3808
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
3809
 
$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3810
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3811
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3812
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3813
 
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3814
 
    ( cat <<\_ASBOX
3815
 
## -------------------------------------------- ##
3816
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
3817
 
## -------------------------------------------- ##
3818
 
_ASBOX
3819
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
3820
 
    ;;
3821
 
esac
3822
 
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3823
 
$as_echo_n "checking for minix/config.h... " >&6; }
3824
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
3825
 
  $as_echo_n "(cached) " >&6
3826
 
else
3827
 
  ac_cv_header_minix_config_h=$ac_header_preproc
3828
 
fi
3829
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3830
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
3831
 
 
3832
 
fi
3833
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then
 
3820
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
3821
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3834
3822
  MINIX=yes
3835
3823
else
3836
3824
  MINIX=
3839
3827
 
3840
3828
  if test "$MINIX" = yes; then
3841
3829
 
3842
 
cat >>confdefs.h <<\_ACEOF
3843
 
#define _POSIX_SOURCE 1
3844
 
_ACEOF
3845
 
 
3846
 
 
3847
 
cat >>confdefs.h <<\_ACEOF
3848
 
#define _POSIX_1_SOURCE 2
3849
 
_ACEOF
3850
 
 
3851
 
 
3852
 
cat >>confdefs.h <<\_ACEOF
3853
 
#define _MINIX 1
3854
 
_ACEOF
 
3830
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
3831
 
 
3832
 
 
3833
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
3834
 
 
3835
 
 
3836
$as_echo "#define _MINIX 1" >>confdefs.h
3855
3837
 
3856
3838
  fi
3857
3839
 
3858
3840
 
3859
 
 
3860
 
  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
 
3841
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3861
3842
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3862
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
 
3843
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3863
3844
  $as_echo_n "(cached) " >&6
3864
3845
else
3865
 
  cat >conftest.$ac_ext <<_ACEOF
3866
 
/* confdefs.h.  */
3867
 
_ACEOF
3868
 
cat confdefs.h >>conftest.$ac_ext
3869
 
cat >>conftest.$ac_ext <<_ACEOF
 
3846
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870
3847
/* end confdefs.h.  */
3871
3848
 
3872
3849
#         define __EXTENSIONS__ 1
3879
3856
  return 0;
3880
3857
}
3881
3858
_ACEOF
3882
 
rm -f conftest.$ac_objext
3883
 
if { (ac_try="$ac_compile"
3884
 
case "(($ac_try" in
3885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3886
 
  *) ac_try_echo=$ac_try;;
3887
 
esac
3888
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3889
 
$as_echo "$ac_try_echo") >&5
3890
 
  (eval "$ac_compile") 2>conftest.er1
3891
 
  ac_status=$?
3892
 
  grep -v '^ *+' conftest.er1 >conftest.err
3893
 
  rm -f conftest.er1
3894
 
  cat conftest.err >&5
3895
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896
 
  (exit $ac_status); } && {
3897
 
         test -z "$ac_c_werror_flag" ||
3898
 
         test ! -s conftest.err
3899
 
       } && test -s conftest.$ac_objext; then
 
3859
if ac_fn_c_try_compile "$LINENO"; then :
3900
3860
  ac_cv_safe_to_define___extensions__=yes
3901
3861
else
3902
 
  $as_echo "$as_me: failed program was:" >&5
3903
 
sed 's/^/| /' conftest.$ac_ext >&5
3904
 
 
3905
 
        ac_cv_safe_to_define___extensions__=no
 
3862
  ac_cv_safe_to_define___extensions__=no
3906
3863
fi
3907
 
 
3908
3864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3909
3865
fi
3910
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
 
3866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3911
3867
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3912
3868
  test $ac_cv_safe_to_define___extensions__ = yes &&
3913
 
    cat >>confdefs.h <<\_ACEOF
3914
 
#define __EXTENSIONS__ 1
3915
 
_ACEOF
3916
 
 
3917
 
  cat >>confdefs.h <<\_ACEOF
3918
 
#define _ALL_SOURCE 1
3919
 
_ACEOF
3920
 
 
3921
 
  cat >>confdefs.h <<\_ACEOF
3922
 
#define _GNU_SOURCE 1
3923
 
_ACEOF
3924
 
 
3925
 
  cat >>confdefs.h <<\_ACEOF
3926
 
#define _POSIX_PTHREAD_SEMANTICS 1
3927
 
_ACEOF
3928
 
 
3929
 
  cat >>confdefs.h <<\_ACEOF
3930
 
#define _TANDEM_SOURCE 1
3931
 
_ACEOF
3932
 
 
3933
 
 
3934
 
 
3935
 
am__api_version='1.10'
 
3869
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
3870
 
 
3871
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
3872
 
 
3873
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
3874
 
 
3875
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
3876
 
 
3877
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
3878
 
 
3879
 
 
3880
 
 
3881
 
 
3882
am__api_version='1.11'
3936
3883
 
3937
3884
ac_aux_dir=
3938
3885
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3939
 
  if test -f "$ac_dir/install-sh"; then
3940
 
    ac_aux_dir=$ac_dir
3941
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
3942
 
    break
3943
 
  elif test -f "$ac_dir/install.sh"; then
3944
 
    ac_aux_dir=$ac_dir
3945
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
3946
 
    break
3947
 
  elif test -f "$ac_dir/shtool"; then
3948
 
    ac_aux_dir=$ac_dir
3949
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
3950
 
    break
3951
 
  fi
 
3886
  for ac_t in install-sh install.sh shtool; do
 
3887
    if test -f "$ac_dir/$ac_t"; then
 
3888
      ac_aux_dir=$ac_dir
 
3889
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
3890
      break 2
 
3891
    fi
 
3892
  done
3952
3893
done
3953
3894
if test -z "$ac_aux_dir"; then
3954
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3955
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3956
 
   { (exit 1); exit 1; }; }
 
3895
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3957
3896
fi
3958
3897
 
3959
3898
# These three variables are undocumented and unsupported,
3979
3918
# OS/2's system install, which has a completely different semantic
3980
3919
# ./install, which can be erroneously created by make from ./install.sh.
3981
3920
# Reject install programs that cannot install multiple files.
3982
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3983
3922
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3984
3923
if test -z "$INSTALL"; then
3985
 
if test "${ac_cv_path_install+set}" = set; then
 
3924
if test "${ac_cv_path_install+set}" = set; then :
3986
3925
  $as_echo_n "(cached) " >&6
3987
3926
else
3988
3927
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990
3929
do
3991
3930
  IFS=$as_save_IFS
3992
3931
  test -z "$as_dir" && as_dir=.
3993
 
  # Account for people who put trailing slashes in PATH elements.
3994
 
case $as_dir/ in
3995
 
  ./ | .// | /cC/* | \
 
3932
    # Account for people who put trailing slashes in PATH elements.
 
3933
case $as_dir/ in #((
 
3934
  ./ | .// | /[cC]/* | \
3996
3935
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3997
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
3936
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3998
3937
  /usr/ucb/* ) ;;
3999
3938
  *)
4000
3939
    # OSF1 and SCO ODT 3.0 have their own names for install.
4031
3970
    ;;
4032
3971
esac
4033
3972
 
4034
 
done
 
3973
  done
4035
3974
IFS=$as_save_IFS
4036
3975
 
4037
3976
rm -rf conftest.one conftest.two conftest.dir
4047
3986
    INSTALL=$ac_install_sh
4048
3987
  fi
4049
3988
fi
4050
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4051
3990
$as_echo "$INSTALL" >&6; }
4052
3991
 
4053
3992
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4058
3997
 
4059
3998
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4060
3999
 
4061
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4062
4001
$as_echo_n "checking whether build environment is sane... " >&6; }
4063
4002
# Just in case
4064
4003
sleep 1
4065
4004
echo timestamp > conftest.file
 
4005
# Reject unsafe characters in $srcdir or the absolute working directory
 
4006
# name.  Accept space and tab only in the latter.
 
4007
am_lf='
 
4008
'
 
4009
case `pwd` in
 
4010
  *[\\\"\#\$\&\'\`$am_lf]*)
 
4011
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
4012
esac
 
4013
case $srcdir in
 
4014
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
4015
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
4016
esac
 
4017
 
4066
4018
# Do `set' in a subshell so we don't clobber the current shell's
4067
4019
# arguments.  Must try -L first in case configure is actually a
4068
4020
# symlink; some systems play weird games with the mod time of symlinks
4069
4021
# (eg FreeBSD returns the mod time of the symlink's containing
4070
4022
# directory).
4071
4023
if (
4072
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
4024
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4073
4025
   if test "$*" = "X"; then
4074
4026
      # -L didn't work.
4075
 
      set X `ls -t $srcdir/configure conftest.file`
 
4027
      set X `ls -t "$srcdir/configure" conftest.file`
4076
4028
   fi
4077
4029
   rm -f conftest.file
4078
4030
   if test "$*" != "X $srcdir/configure conftest.file" \
4082
4034
      # if, for instance, CONFIG_SHELL is bash and it inherits a
4083
4035
      # broken ls alias from the environment.  This has actually
4084
4036
      # happened.  Such a system could not be considered "sane".
4085
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
4086
 
alias in your environment" >&5
4087
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
4088
 
alias in your environment" >&2;}
4089
 
   { (exit 1); exit 1; }; }
 
4037
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
4038
alias in your environment" "$LINENO" 5
4090
4039
   fi
4091
4040
 
4092
4041
   test "$2" = conftest.file
4095
4044
   # Ok.
4096
4045
   :
4097
4046
else
4098
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
4099
 
Check your system clock" >&5
4100
 
$as_echo "$as_me: error: newly created file is older than distributed files!
4101
 
Check your system clock" >&2;}
4102
 
   { (exit 1); exit 1; }; }
 
4047
   as_fn_error "newly created file is older than distributed files!
 
4048
Check your system clock" "$LINENO" 5
4103
4049
fi
4104
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
4050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4105
4051
$as_echo "yes" >&6; }
4106
4052
test "$program_prefix" != NONE &&
4107
4053
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4116
4062
# expand $ac_aux_dir to an absolute path
4117
4063
am_aux_dir=`cd $ac_aux_dir && pwd`
4118
4064
 
4119
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
4065
if test x"${MISSING+set}" != xset; then
 
4066
  case $am_aux_dir in
 
4067
  *\ * | *\     *)
 
4068
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
4069
  *)
 
4070
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
4071
  esac
 
4072
fi
4120
4073
# Use eval to expand $SHELL
4121
4074
if eval "$MISSING --run true"; then
4122
4075
  am_missing_run="$MISSING --run "
4123
4076
else
4124
4077
  am_missing_run=
4125
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
4078
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4126
4079
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4127
4080
fi
4128
4081
 
4129
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
4082
if test x"${install_sh}" != xset; then
 
4083
  case $am_aux_dir in
 
4084
  *\ * | *\     *)
 
4085
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
4086
  *)
 
4087
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
4088
  esac
 
4089
fi
 
4090
 
 
4091
# Installed binaries are usually stripped using `strip' when the user
 
4092
# run `make install-strip'.  However `strip' might not be the right
 
4093
# tool to use in cross-compilation environments, therefore Automake
 
4094
# will honor the `STRIP' environment variable to overrule this program.
 
4095
if test "$cross_compiling" != no; then
 
4096
  if test -n "$ac_tool_prefix"; then
 
4097
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
4098
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4100
$as_echo_n "checking for $ac_word... " >&6; }
 
4101
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
4102
  $as_echo_n "(cached) " >&6
 
4103
else
 
4104
  if test -n "$STRIP"; then
 
4105
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
4106
else
 
4107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4108
for as_dir in $PATH
 
4109
do
 
4110
  IFS=$as_save_IFS
 
4111
  test -z "$as_dir" && as_dir=.
 
4112
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4114
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
4115
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4116
    break 2
 
4117
  fi
 
4118
done
 
4119
  done
 
4120
IFS=$as_save_IFS
 
4121
 
 
4122
fi
 
4123
fi
 
4124
STRIP=$ac_cv_prog_STRIP
 
4125
if test -n "$STRIP"; then
 
4126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
4127
$as_echo "$STRIP" >&6; }
 
4128
else
 
4129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4130
$as_echo "no" >&6; }
 
4131
fi
 
4132
 
 
4133
 
 
4134
fi
 
4135
if test -z "$ac_cv_prog_STRIP"; then
 
4136
  ac_ct_STRIP=$STRIP
 
4137
  # Extract the first word of "strip", so it can be a program name with args.
 
4138
set dummy strip; ac_word=$2
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4140
$as_echo_n "checking for $ac_word... " >&6; }
 
4141
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
4142
  $as_echo_n "(cached) " >&6
 
4143
else
 
4144
  if test -n "$ac_ct_STRIP"; then
 
4145
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
4146
else
 
4147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4148
for as_dir in $PATH
 
4149
do
 
4150
  IFS=$as_save_IFS
 
4151
  test -z "$as_dir" && as_dir=.
 
4152
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4154
    ac_cv_prog_ac_ct_STRIP="strip"
 
4155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4156
    break 2
 
4157
  fi
 
4158
done
 
4159
  done
 
4160
IFS=$as_save_IFS
 
4161
 
 
4162
fi
 
4163
fi
 
4164
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
4165
if test -n "$ac_ct_STRIP"; then
 
4166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
4167
$as_echo "$ac_ct_STRIP" >&6; }
 
4168
else
 
4169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4170
$as_echo "no" >&6; }
 
4171
fi
 
4172
 
 
4173
  if test "x$ac_ct_STRIP" = x; then
 
4174
    STRIP=":"
 
4175
  else
 
4176
    case $cross_compiling:$ac_tool_warned in
 
4177
yes:)
 
4178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4180
ac_tool_warned=yes ;;
 
4181
esac
 
4182
    STRIP=$ac_ct_STRIP
 
4183
  fi
 
4184
else
 
4185
  STRIP="$ac_cv_prog_STRIP"
 
4186
fi
 
4187
 
 
4188
fi
 
4189
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
4190
 
 
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4130
4192
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4131
4193
if test -z "$MKDIR_P"; then
4132
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
4194
  if test "${ac_cv_path_mkdir+set}" = set; then :
4133
4195
  $as_echo_n "(cached) " >&6
4134
4196
else
4135
4197
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137
4199
do
4138
4200
  IFS=$as_save_IFS
4139
4201
  test -z "$as_dir" && as_dir=.
4140
 
  for ac_prog in mkdir gmkdir; do
 
4202
    for ac_prog in mkdir gmkdir; do
4141
4203
         for ac_exec_ext in '' $ac_executable_extensions; do
4142
4204
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4143
4205
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4149
4211
           esac
4150
4212
         done
4151
4213
       done
4152
 
done
 
4214
  done
4153
4215
IFS=$as_save_IFS
4154
4216
 
4155
4217
fi
4165
4227
    MKDIR_P="$ac_install_sh -d"
4166
4228
  fi
4167
4229
fi
4168
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
4230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4169
4231
$as_echo "$MKDIR_P" >&6; }
4170
4232
 
4171
4233
mkdir_p="$MKDIR_P"
4178
4240
do
4179
4241
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4180
4242
set dummy $ac_prog; ac_word=$2
4181
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182
4244
$as_echo_n "checking for $ac_word... " >&6; }
4183
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
4245
if test "${ac_cv_prog_AWK+set}" = set; then :
4184
4246
  $as_echo_n "(cached) " >&6
4185
4247
else
4186
4248
  if test -n "$AWK"; then
4191
4253
do
4192
4254
  IFS=$as_save_IFS
4193
4255
  test -z "$as_dir" && as_dir=.
4194
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4256
    for ac_exec_ext in '' $ac_executable_extensions; do
4195
4257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196
4258
    ac_cv_prog_AWK="$ac_prog"
4197
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4259
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198
4260
    break 2
4199
4261
  fi
4200
4262
done
4201
 
done
 
4263
  done
4202
4264
IFS=$as_save_IFS
4203
4265
 
4204
4266
fi
4205
4267
fi
4206
4268
AWK=$ac_cv_prog_AWK
4207
4269
if test -n "$AWK"; then
4208
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
4270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4209
4271
$as_echo "$AWK" >&6; }
4210
4272
else
4211
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212
4274
$as_echo "no" >&6; }
4213
4275
fi
4214
4276
 
4216
4278
  test -n "$AWK" && break
4217
4279
done
4218
4280
 
4219
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
4281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4220
4282
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4221
4283
set x ${MAKE-make}
4222
4284
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4223
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
4285
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4224
4286
  $as_echo_n "(cached) " >&6
4225
4287
else
4226
4288
  cat >conftest.make <<\_ACEOF
4238
4300
rm -f conftest.make
4239
4301
fi
4240
4302
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4241
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242
4304
$as_echo "yes" >&6; }
4243
4305
  SET_MAKE=
4244
4306
else
4245
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4307
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246
4308
$as_echo "no" >&6; }
4247
4309
  SET_MAKE="MAKE=${MAKE-make}"
4248
4310
fi
4264
4326
am_make=${MAKE-make}
4265
4327
cat > confinc << 'END'
4266
4328
am__doit:
4267
 
        @echo done
 
4329
        @echo this is the am__doit target
4268
4330
.PHONY: am__doit
4269
4331
END
4270
4332
# If we don't find an include directive, just comment out the code.
4271
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
4333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4272
4334
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4273
4335
am__include="#"
4274
4336
am__quote=
4275
4337
_am_result=none
4276
4338
# First try GNU make style include.
4277
4339
echo "include confinc" > confmf
4278
 
# We grep out `Entering directory' and `Leaving directory'
4279
 
# messages which can occur if `w' ends up in MAKEFLAGS.
4280
 
# In particular we don't look at `^make:' because GNU make might
4281
 
# be invoked under some other name (usually "gmake"), in which
4282
 
# case it prints its new name instead of `make'.
4283
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4284
 
   am__include=include
4285
 
   am__quote=
4286
 
   _am_result=GNU
4287
 
fi
 
4340
# Ignore all kinds of additional output from `make'.
 
4341
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4342
*the\ am__doit\ target*)
 
4343
  am__include=include
 
4344
  am__quote=
 
4345
  _am_result=GNU
 
4346
  ;;
 
4347
esac
4288
4348
# Now try BSD make style include.
4289
4349
if test "$am__include" = "#"; then
4290
4350
   echo '.include "confinc"' > confmf
4291
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4292
 
      am__include=.include
4293
 
      am__quote="\""
4294
 
      _am_result=BSD
4295
 
   fi
 
4351
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4352
   *the\ am__doit\ target*)
 
4353
     am__include=.include
 
4354
     am__quote="\""
 
4355
     _am_result=BSD
 
4356
     ;;
 
4357
   esac
4296
4358
fi
4297
4359
 
4298
4360
 
4299
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
4361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4300
4362
$as_echo "$_am_result" >&6; }
4301
4363
rm -f confinc confmf
4302
4364
 
4303
4365
# Check whether --enable-dependency-tracking was given.
4304
 
if test "${enable_dependency_tracking+set}" = set; then
 
4366
if test "${enable_dependency_tracking+set}" = set; then :
4305
4367
  enableval=$enable_dependency_tracking;
4306
4368
fi
4307
4369
 
4324
4386
  am__isrc=' -I$(srcdir)'
4325
4387
  # test to see if srcdir already configured
4326
4388
  if test -f $srcdir/config.status; then
4327
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4328
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4329
 
   { (exit 1); exit 1; }; }
 
4389
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4330
4390
  fi
4331
4391
fi
4332
4392
 
4342
4402
 
4343
4403
# Define the identity of the package.
4344
4404
 PACKAGE='mountall'
4345
 
 VERSION='0.1.0'
 
4405
 VERSION='0.1'
4346
4406
 
4347
4407
 
4348
4408
cat >>confdefs.h <<_ACEOF
4370
4430
 
4371
4431
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4372
4432
 
4373
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
4374
 
 
4375
 
# Installed binaries are usually stripped using `strip' when the user
4376
 
# run `make install-strip'.  However `strip' might not be the right
4377
 
# tool to use in cross-compilation environments, therefore Automake
4378
 
# will honor the `STRIP' environment variable to overrule this program.
4379
 
if test "$cross_compiling" != no; then
4380
 
  if test -n "$ac_tool_prefix"; then
4381
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4382
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
4383
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4384
 
$as_echo_n "checking for $ac_word... " >&6; }
4385
 
if test "${ac_cv_prog_STRIP+set}" = set; then
4386
 
  $as_echo_n "(cached) " >&6
4387
 
else
4388
 
  if test -n "$STRIP"; then
4389
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4390
 
else
4391
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392
 
for as_dir in $PATH
4393
 
do
4394
 
  IFS=$as_save_IFS
4395
 
  test -z "$as_dir" && as_dir=.
4396
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4397
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4399
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400
 
    break 2
4401
 
  fi
4402
 
done
4403
 
done
4404
 
IFS=$as_save_IFS
4405
 
 
4406
 
fi
4407
 
fi
4408
 
STRIP=$ac_cv_prog_STRIP
4409
 
if test -n "$STRIP"; then
4410
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4411
 
$as_echo "$STRIP" >&6; }
4412
 
else
4413
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
4414
 
$as_echo "no" >&6; }
4415
 
fi
4416
 
 
4417
 
 
4418
 
fi
4419
 
if test -z "$ac_cv_prog_STRIP"; then
4420
 
  ac_ct_STRIP=$STRIP
4421
 
  # Extract the first word of "strip", so it can be a program name with args.
4422
 
set dummy strip; ac_word=$2
4423
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4424
 
$as_echo_n "checking for $ac_word... " >&6; }
4425
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4426
 
  $as_echo_n "(cached) " >&6
4427
 
else
4428
 
  if test -n "$ac_ct_STRIP"; then
4429
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4430
 
else
4431
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432
 
for as_dir in $PATH
4433
 
do
4434
 
  IFS=$as_save_IFS
4435
 
  test -z "$as_dir" && as_dir=.
4436
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4437
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438
 
    ac_cv_prog_ac_ct_STRIP="strip"
4439
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440
 
    break 2
4441
 
  fi
4442
 
done
4443
 
done
4444
 
IFS=$as_save_IFS
4445
 
 
4446
 
fi
4447
 
fi
4448
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4449
 
if test -n "$ac_ct_STRIP"; then
4450
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4451
 
$as_echo "$ac_ct_STRIP" >&6; }
4452
 
else
4453
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
4454
 
$as_echo "no" >&6; }
4455
 
fi
4456
 
 
4457
 
  if test "x$ac_ct_STRIP" = x; then
4458
 
    STRIP=":"
4459
 
  else
4460
 
    case $cross_compiling:$ac_tool_warned in
4461
 
yes:)
4462
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4463
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464
 
ac_tool_warned=yes ;;
4465
 
esac
4466
 
    STRIP=$ac_ct_STRIP
4467
 
  fi
4468
 
else
4469
 
  STRIP="$ac_cv_prog_STRIP"
4470
 
fi
4471
 
 
4472
 
fi
4473
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4474
 
 
4475
4433
# We need awk for the "check" target.  The system "awk" is bad on
4476
4434
# some platforms.
4477
4435
# Always define AMTAR for backward compatibility.
4485
4443
 
4486
4444
depcc="$CC"   am_compiler_list=
4487
4445
 
4488
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4489
4447
$as_echo_n "checking dependency style of $depcc... " >&6; }
4490
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4448
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4491
4449
  $as_echo_n "(cached) " >&6
4492
4450
else
4493
4451
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4513
4471
  if test "$am_compiler_list" = ""; then
4514
4472
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4515
4473
  fi
 
4474
  am__universal=false
 
4475
  case " $depcc " in #(
 
4476
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4477
     esac
 
4478
 
4516
4479
  for depmode in $am_compiler_list; do
4517
4480
    # Setup a source with many dependencies, because some compilers
4518
4481
    # like to wrap large dependency lists on column 80 (with \), and
4530
4493
    done
4531
4494
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4532
4495
 
 
4496
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4497
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4498
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4499
    # versions had trouble with output in subdirs
 
4500
    am__obj=sub/conftest.${OBJEXT-o}
 
4501
    am__minus_obj="-o $am__obj"
4533
4502
    case $depmode in
 
4503
    gcc)
 
4504
      # This depmode causes a compiler race in universal mode.
 
4505
      test "$am__universal" = false || continue
 
4506
      ;;
4534
4507
    nosideeffect)
4535
4508
      # after this tag, mechanisms are not by side-effect, so they'll
4536
4509
      # only be used when explicitly requested
4540
4513
        break
4541
4514
      fi
4542
4515
      ;;
 
4516
    msvisualcpp | msvcmsys)
 
4517
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4518
      # not run yet.  These depmodes are late enough in the game, and
 
4519
      # so weak that their functioning should not be impacted.
 
4520
      am__obj=conftest.${OBJEXT-o}
 
4521
      am__minus_obj=
 
4522
      ;;
4543
4523
    none) break ;;
4544
4524
    esac
4545
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4546
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4547
 
    # handle `-M -o', and we need to detect this.
4548
4525
    if depmode=$depmode \
4549
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4526
       source=sub/conftest.c object=$am__obj \
4550
4527
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4551
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4528
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4552
4529
         >/dev/null 2>conftest.err &&
4553
4530
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4554
4531
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4555
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4532
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4556
4533
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4557
4534
      # icc doesn't choke on unknown options, it will just issue warnings
4558
4535
      # or remarks (even with -Werror).  So we grep stderr for any message
4576
4553
fi
4577
4554
 
4578
4555
fi
4579
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4580
4557
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4581
4558
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4582
4559
 
4596
4573
 
4597
4574
case `pwd` in
4598
4575
  *\ * | *\     *)
4599
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4576
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4600
4577
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4601
4578
esac
4602
4579
 
4621
4598
 
4622
4599
# Make sure we can run config.sub.
4623
4600
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4624
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4625
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4626
 
   { (exit 1); exit 1; }; }
 
4601
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4627
4602
 
4628
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4629
4604
$as_echo_n "checking build system type... " >&6; }
4630
 
if test "${ac_cv_build+set}" = set; then
 
4605
if test "${ac_cv_build+set}" = set; then :
4631
4606
  $as_echo_n "(cached) " >&6
4632
4607
else
4633
4608
  ac_build_alias=$build_alias
4634
4609
test "x$ac_build_alias" = x &&
4635
4610
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4636
4611
test "x$ac_build_alias" = x &&
4637
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4638
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4639
 
   { (exit 1); exit 1; }; }
 
4612
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4640
4613
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4641
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4642
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4643
 
   { (exit 1); exit 1; }; }
 
4614
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4644
4615
 
4645
4616
fi
4646
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4647
4618
$as_echo "$ac_cv_build" >&6; }
4648
4619
case $ac_cv_build in
4649
4620
*-*-*) ;;
4650
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4651
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4652
 
   { (exit 1); exit 1; }; };;
 
4621
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4653
4622
esac
4654
4623
build=$ac_cv_build
4655
4624
ac_save_IFS=$IFS; IFS='-'
4665
4634
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4666
4635
 
4667
4636
 
4668
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4669
4638
$as_echo_n "checking host system type... " >&6; }
4670
 
if test "${ac_cv_host+set}" = set; then
 
4639
if test "${ac_cv_host+set}" = set; then :
4671
4640
  $as_echo_n "(cached) " >&6
4672
4641
else
4673
4642
  if test "x$host_alias" = x; then
4674
4643
  ac_cv_host=$ac_cv_build
4675
4644
else
4676
4645
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4677
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4678
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4679
 
   { (exit 1); exit 1; }; }
 
4646
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4680
4647
fi
4681
4648
 
4682
4649
fi
4683
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4684
4651
$as_echo "$ac_cv_host" >&6; }
4685
4652
case $ac_cv_host in
4686
4653
*-*-*) ;;
4687
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4688
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4689
 
   { (exit 1); exit 1; }; };;
 
4654
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4690
4655
esac
4691
4656
host=$ac_cv_host
4692
4657
ac_save_IFS=$IFS; IFS='-'
4702
4667
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4703
4668
 
4704
4669
 
4705
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4706
4671
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4707
 
if test "${ac_cv_path_SED+set}" = set; then
 
4672
if test "${ac_cv_path_SED+set}" = set; then :
4708
4673
  $as_echo_n "(cached) " >&6
4709
4674
else
4710
4675
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4712
4677
       ac_script="$ac_script$as_nl$ac_script"
4713
4678
     done
4714
4679
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4715
 
     $as_unset ac_script || ac_script=
 
4680
     { ac_script=; unset ac_script;}
4716
4681
     if test -z "$SED"; then
4717
4682
  ac_path_SED_found=false
4718
4683
  # Loop through the user's path and test for each of PROGNAME-LIST
4721
4686
do
4722
4687
  IFS=$as_save_IFS
4723
4688
  test -z "$as_dir" && as_dir=.
4724
 
  for ac_prog in sed gsed; do
 
4689
    for ac_prog in sed gsed; do
4725
4690
    for ac_exec_ext in '' $ac_executable_extensions; do
4726
4691
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4727
4692
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4741
4706
    $as_echo '' >> "conftest.nl"
4742
4707
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4743
4708
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4744
 
    ac_count=`expr $ac_count + 1`
 
4709
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4745
4710
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4746
4711
      # Best one so far, save it but keep looking for a better one
4747
4712
      ac_cv_path_SED="$ac_path_SED"
4756
4721
      $ac_path_SED_found && break 3
4757
4722
    done
4758
4723
  done
4759
 
done
 
4724
  done
4760
4725
IFS=$as_save_IFS
4761
4726
  if test -z "$ac_cv_path_SED"; then
4762
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4763
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4764
 
   { (exit 1); exit 1; }; }
 
4727
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4765
4728
  fi
4766
4729
else
4767
4730
  ac_cv_path_SED=$SED
4768
4731
fi
4769
4732
 
4770
4733
fi
4771
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4772
4735
$as_echo "$ac_cv_path_SED" >&6; }
4773
4736
 SED="$ac_cv_path_SED"
4774
4737
  rm -f conftest.sed
4786
4749
 
4787
4750
 
4788
4751
 
4789
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4790
4753
$as_echo_n "checking for fgrep... " >&6; }
4791
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4754
if test "${ac_cv_path_FGREP+set}" = set; then :
4792
4755
  $as_echo_n "(cached) " >&6
4793
4756
else
4794
4757
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4802
4765
do
4803
4766
  IFS=$as_save_IFS
4804
4767
  test -z "$as_dir" && as_dir=.
4805
 
  for ac_prog in fgrep; do
 
4768
    for ac_prog in fgrep; do
4806
4769
    for ac_exec_ext in '' $ac_executable_extensions; do
4807
4770
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4808
4771
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4822
4785
    $as_echo 'FGREP' >> "conftest.nl"
4823
4786
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4824
4787
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4825
 
    ac_count=`expr $ac_count + 1`
 
4788
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4826
4789
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4827
4790
      # Best one so far, save it but keep looking for a better one
4828
4791
      ac_cv_path_FGREP="$ac_path_FGREP"
4837
4800
      $ac_path_FGREP_found && break 3
4838
4801
    done
4839
4802
  done
4840
 
done
 
4803
  done
4841
4804
IFS=$as_save_IFS
4842
4805
  if test -z "$ac_cv_path_FGREP"; then
4843
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4844
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4845
 
   { (exit 1); exit 1; }; }
 
4806
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4846
4807
  fi
4847
4808
else
4848
4809
  ac_cv_path_FGREP=$FGREP
4850
4811
 
4851
4812
   fi
4852
4813
fi
4853
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4854
4815
$as_echo "$ac_cv_path_FGREP" >&6; }
4855
4816
 FGREP="$ac_cv_path_FGREP"
4856
4817
 
4876
4837
 
4877
4838
 
4878
4839
# Check whether --with-gnu-ld was given.
4879
 
if test "${with_gnu_ld+set}" = set; then
 
4840
if test "${with_gnu_ld+set}" = set; then :
4880
4841
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4881
4842
else
4882
4843
  with_gnu_ld=no
4885
4846
ac_prog=ld
4886
4847
if test "$GCC" = yes; then
4887
4848
  # Check if gcc -print-prog-name=ld gives a path.
4888
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4849
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4889
4850
$as_echo_n "checking for ld used by $CC... " >&6; }
4890
4851
  case $host in
4891
4852
  *-*-mingw*)
4915
4876
    ;;
4916
4877
  esac
4917
4878
elif test "$with_gnu_ld" = yes; then
4918
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4919
4880
$as_echo_n "checking for GNU ld... " >&6; }
4920
4881
else
4921
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4922
4883
$as_echo_n "checking for non-GNU ld... " >&6; }
4923
4884
fi
4924
 
if test "${lt_cv_path_LD+set}" = set; then
 
4885
if test "${lt_cv_path_LD+set}" = set; then :
4925
4886
  $as_echo_n "(cached) " >&6
4926
4887
else
4927
4888
  if test -z "$LD"; then
4952
4913
 
4953
4914
LD="$lt_cv_path_LD"
4954
4915
if test -n "$LD"; then
4955
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4956
4917
$as_echo "$LD" >&6; }
4957
4918
else
4958
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959
4920
$as_echo "no" >&6; }
4960
4921
fi
4961
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4962
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4963
 
   { (exit 1); exit 1; }; }
4964
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4922
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4965
4924
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4966
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4925
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4967
4926
  $as_echo_n "(cached) " >&6
4968
4927
else
4969
4928
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4976
4935
  ;;
4977
4936
esac
4978
4937
fi
4979
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4980
4939
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4981
4940
with_gnu_ld=$lt_cv_prog_gnu_ld
4982
4941
 
4988
4947
 
4989
4948
 
4990
4949
 
4991
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4992
4951
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4993
 
if test "${lt_cv_path_NM+set}" = set; then
 
4952
if test "${lt_cv_path_NM+set}" = set; then :
4994
4953
  $as_echo_n "(cached) " >&6
4995
4954
else
4996
4955
  if test -n "$NM"; then
5037
4996
  : ${lt_cv_path_NM=no}
5038
4997
fi
5039
4998
fi
5040
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5041
5000
$as_echo "$lt_cv_path_NM" >&6; }
5042
5001
if test "$lt_cv_path_NM" != "no"; then
5043
5002
  NM="$lt_cv_path_NM"
5048
5007
  do
5049
5008
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5050
5009
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5051
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052
5011
$as_echo_n "checking for $ac_word... " >&6; }
5053
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5012
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5054
5013
  $as_echo_n "(cached) " >&6
5055
5014
else
5056
5015
  if test -n "$DUMPBIN"; then
5061
5020
do
5062
5021
  IFS=$as_save_IFS
5063
5022
  test -z "$as_dir" && as_dir=.
5064
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5023
    for ac_exec_ext in '' $ac_executable_extensions; do
5065
5024
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066
5025
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5067
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5026
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068
5027
    break 2
5069
5028
  fi
5070
5029
done
5071
 
done
 
5030
  done
5072
5031
IFS=$as_save_IFS
5073
5032
 
5074
5033
fi
5075
5034
fi
5076
5035
DUMPBIN=$ac_cv_prog_DUMPBIN
5077
5036
if test -n "$DUMPBIN"; then
5078
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5037
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5079
5038
$as_echo "$DUMPBIN" >&6; }
5080
5039
else
5081
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082
5041
$as_echo "no" >&6; }
5083
5042
fi
5084
5043
 
5092
5051
do
5093
5052
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5094
5053
set dummy $ac_prog; ac_word=$2
5095
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096
5055
$as_echo_n "checking for $ac_word... " >&6; }
5097
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5056
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5098
5057
  $as_echo_n "(cached) " >&6
5099
5058
else
5100
5059
  if test -n "$ac_ct_DUMPBIN"; then
5105
5064
do
5106
5065
  IFS=$as_save_IFS
5107
5066
  test -z "$as_dir" && as_dir=.
5108
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5067
    for ac_exec_ext in '' $ac_executable_extensions; do
5109
5068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110
5069
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5111
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5070
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112
5071
    break 2
5113
5072
  fi
5114
5073
done
5115
 
done
 
5074
  done
5116
5075
IFS=$as_save_IFS
5117
5076
 
5118
5077
fi
5119
5078
fi
5120
5079
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5121
5080
if test -n "$ac_ct_DUMPBIN"; then
5122
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5123
5082
$as_echo "$ac_ct_DUMPBIN" >&6; }
5124
5083
else
5125
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126
5085
$as_echo "no" >&6; }
5127
5086
fi
5128
5087
 
5135
5094
  else
5136
5095
    case $cross_compiling:$ac_tool_warned in
5137
5096
yes:)
5138
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5097
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5139
5098
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5140
5099
ac_tool_warned=yes ;;
5141
5100
esac
5155
5114
 
5156
5115
 
5157
5116
 
5158
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5159
5118
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5160
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5119
if test "${lt_cv_nm_interface+set}" = set; then :
5161
5120
  $as_echo_n "(cached) " >&6
5162
5121
else
5163
5122
  lt_cv_nm_interface="BSD nm"
5164
5123
  echo "int some_variable = 0;" > conftest.$ac_ext
5165
 
  (eval echo "\"\$as_me:5165: $ac_compile\"" >&5)
 
5124
  (eval echo "\"\$as_me:5124: $ac_compile\"" >&5)
5166
5125
  (eval "$ac_compile" 2>conftest.err)
5167
5126
  cat conftest.err >&5
5168
 
  (eval echo "\"\$as_me:5168: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5127
  (eval echo "\"\$as_me:5127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5169
5128
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5170
5129
  cat conftest.err >&5
5171
 
  (eval echo "\"\$as_me:5171: output\"" >&5)
 
5130
  (eval echo "\"\$as_me:5130: output\"" >&5)
5172
5131
  cat conftest.out >&5
5173
5132
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5174
5133
    lt_cv_nm_interface="MS dumpbin"
5175
5134
  fi
5176
5135
  rm -f conftest*
5177
5136
fi
5178
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5179
5138
$as_echo "$lt_cv_nm_interface" >&6; }
5180
5139
 
5181
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5182
5141
$as_echo_n "checking whether ln -s works... " >&6; }
5183
5142
LN_S=$as_ln_s
5184
5143
if test "$LN_S" = "ln -s"; then
5185
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5186
5145
$as_echo "yes" >&6; }
5187
5146
else
5188
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5189
5148
$as_echo "no, using $LN_S" >&6; }
5190
5149
fi
5191
5150
 
5192
5151
# find the maximum length of command line arguments
5193
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5194
5153
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5195
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5154
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5196
5155
  $as_echo_n "(cached) " >&6
5197
5156
else
5198
5157
    i=0
5310
5269
fi
5311
5270
 
5312
5271
if test -n $lt_cv_sys_max_cmd_len ; then
5313
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5314
5273
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5315
5274
else
5316
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5317
5276
$as_echo "none" >&6; }
5318
5277
fi
5319
5278
max_cmd_len=$lt_cv_sys_max_cmd_len
5327
5286
: ${MV="mv -f"}
5328
5287
: ${RM="rm -f"}
5329
5288
 
5330
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5331
5290
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5332
5291
# Try some XSI features
5333
5292
xsi_shell=no
5337
5296
    && eval 'test $(( 1 + 1 )) -eq 2 \
5338
5297
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5339
5298
  && xsi_shell=yes
5340
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5341
5300
$as_echo "$xsi_shell" >&6; }
5342
5301
 
5343
5302
 
5344
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5345
5304
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5346
5305
lt_shell_append=no
5347
5306
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5348
5307
    >/dev/null 2>&1 \
5349
5308
  && lt_shell_append=yes
5350
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5351
5310
$as_echo "$lt_shell_append" >&6; }
5352
5311
 
5353
5312
 
5382
5341
 
5383
5342
 
5384
5343
 
5385
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5386
5345
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5387
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5346
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5388
5347
  $as_echo_n "(cached) " >&6
5389
5348
else
5390
5349
  lt_cv_ld_reload_flag='-r'
5391
5350
fi
5392
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5393
5352
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5394
5353
reload_flag=$lt_cv_ld_reload_flag
5395
5354
case $reload_flag in
5418
5377
if test -n "$ac_tool_prefix"; then
5419
5378
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5420
5379
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5421
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422
5381
$as_echo_n "checking for $ac_word... " >&6; }
5423
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5382
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5424
5383
  $as_echo_n "(cached) " >&6
5425
5384
else
5426
5385
  if test -n "$OBJDUMP"; then
5431
5390
do
5432
5391
  IFS=$as_save_IFS
5433
5392
  test -z "$as_dir" && as_dir=.
5434
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5393
    for ac_exec_ext in '' $ac_executable_extensions; do
5435
5394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436
5395
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5437
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438
5397
    break 2
5439
5398
  fi
5440
5399
done
5441
 
done
 
5400
  done
5442
5401
IFS=$as_save_IFS
5443
5402
 
5444
5403
fi
5445
5404
fi
5446
5405
OBJDUMP=$ac_cv_prog_OBJDUMP
5447
5406
if test -n "$OBJDUMP"; then
5448
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5449
5408
$as_echo "$OBJDUMP" >&6; }
5450
5409
else
5451
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452
5411
$as_echo "no" >&6; }
5453
5412
fi
5454
5413
 
5458
5417
  ac_ct_OBJDUMP=$OBJDUMP
5459
5418
  # Extract the first word of "objdump", so it can be a program name with args.
5460
5419
set dummy objdump; ac_word=$2
5461
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462
5421
$as_echo_n "checking for $ac_word... " >&6; }
5463
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5422
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5464
5423
  $as_echo_n "(cached) " >&6
5465
5424
else
5466
5425
  if test -n "$ac_ct_OBJDUMP"; then
5471
5430
do
5472
5431
  IFS=$as_save_IFS
5473
5432
  test -z "$as_dir" && as_dir=.
5474
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5433
    for ac_exec_ext in '' $ac_executable_extensions; do
5475
5434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5476
5435
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5477
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478
5437
    break 2
5479
5438
  fi
5480
5439
done
5481
 
done
 
5440
  done
5482
5441
IFS=$as_save_IFS
5483
5442
 
5484
5443
fi
5485
5444
fi
5486
5445
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5487
5446
if test -n "$ac_ct_OBJDUMP"; then
5488
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5447
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5489
5448
$as_echo "$ac_ct_OBJDUMP" >&6; }
5490
5449
else
5491
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492
5451
$as_echo "no" >&6; }
5493
5452
fi
5494
5453
 
5497
5456
  else
5498
5457
    case $cross_compiling:$ac_tool_warned in
5499
5458
yes:)
5500
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5459
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501
5460
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502
5461
ac_tool_warned=yes ;;
5503
5462
esac
5517
5476
 
5518
5477
 
5519
5478
 
5520
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5521
5480
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5522
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5481
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5523
5482
  $as_echo_n "(cached) " >&6
5524
5483
else
5525
5484
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5713
5672
esac
5714
5673
 
5715
5674
fi
5716
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5717
5676
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5718
5677
file_magic_cmd=$lt_cv_file_magic_cmd
5719
5678
deplibs_check_method=$lt_cv_deplibs_check_method
5733
5692
if test -n "$ac_tool_prefix"; then
5734
5693
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5735
5694
set dummy ${ac_tool_prefix}ar; ac_word=$2
5736
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737
5696
$as_echo_n "checking for $ac_word... " >&6; }
5738
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5697
if test "${ac_cv_prog_AR+set}" = set; then :
5739
5698
  $as_echo_n "(cached) " >&6
5740
5699
else
5741
5700
  if test -n "$AR"; then
5746
5705
do
5747
5706
  IFS=$as_save_IFS
5748
5707
  test -z "$as_dir" && as_dir=.
5749
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5708
    for ac_exec_ext in '' $ac_executable_extensions; do
5750
5709
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751
5710
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5752
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5711
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753
5712
    break 2
5754
5713
  fi
5755
5714
done
5756
 
done
 
5715
  done
5757
5716
IFS=$as_save_IFS
5758
5717
 
5759
5718
fi
5760
5719
fi
5761
5720
AR=$ac_cv_prog_AR
5762
5721
if test -n "$AR"; then
5763
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5764
5723
$as_echo "$AR" >&6; }
5765
5724
else
5766
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767
5726
$as_echo "no" >&6; }
5768
5727
fi
5769
5728
 
5773
5732
  ac_ct_AR=$AR
5774
5733
  # Extract the first word of "ar", so it can be a program name with args.
5775
5734
set dummy ar; ac_word=$2
5776
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777
5736
$as_echo_n "checking for $ac_word... " >&6; }
5778
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5737
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5779
5738
  $as_echo_n "(cached) " >&6
5780
5739
else
5781
5740
  if test -n "$ac_ct_AR"; then
5786
5745
do
5787
5746
  IFS=$as_save_IFS
5788
5747
  test -z "$as_dir" && as_dir=.
5789
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5748
    for ac_exec_ext in '' $ac_executable_extensions; do
5790
5749
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5791
5750
    ac_cv_prog_ac_ct_AR="ar"
5792
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5751
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793
5752
    break 2
5794
5753
  fi
5795
5754
done
5796
 
done
 
5755
  done
5797
5756
IFS=$as_save_IFS
5798
5757
 
5799
5758
fi
5800
5759
fi
5801
5760
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5802
5761
if test -n "$ac_ct_AR"; then
5803
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5762
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5804
5763
$as_echo "$ac_ct_AR" >&6; }
5805
5764
else
5806
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807
5766
$as_echo "no" >&6; }
5808
5767
fi
5809
5768
 
5812
5771
  else
5813
5772
    case $cross_compiling:$ac_tool_warned in
5814
5773
yes:)
5815
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5774
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816
5775
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817
5776
ac_tool_warned=yes ;;
5818
5777
esac
5838
5797
if test -n "$ac_tool_prefix"; then
5839
5798
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5840
5799
set dummy ${ac_tool_prefix}strip; ac_word=$2
5841
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842
5801
$as_echo_n "checking for $ac_word... " >&6; }
5843
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5802
if test "${ac_cv_prog_STRIP+set}" = set; then :
5844
5803
  $as_echo_n "(cached) " >&6
5845
5804
else
5846
5805
  if test -n "$STRIP"; then
5851
5810
do
5852
5811
  IFS=$as_save_IFS
5853
5812
  test -z "$as_dir" && as_dir=.
5854
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5813
    for ac_exec_ext in '' $ac_executable_extensions; do
5855
5814
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856
5815
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5857
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5816
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858
5817
    break 2
5859
5818
  fi
5860
5819
done
5861
 
done
 
5820
  done
5862
5821
IFS=$as_save_IFS
5863
5822
 
5864
5823
fi
5865
5824
fi
5866
5825
STRIP=$ac_cv_prog_STRIP
5867
5826
if test -n "$STRIP"; then
5868
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5827
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5869
5828
$as_echo "$STRIP" >&6; }
5870
5829
else
5871
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872
5831
$as_echo "no" >&6; }
5873
5832
fi
5874
5833
 
5878
5837
  ac_ct_STRIP=$STRIP
5879
5838
  # Extract the first word of "strip", so it can be a program name with args.
5880
5839
set dummy strip; ac_word=$2
5881
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882
5841
$as_echo_n "checking for $ac_word... " >&6; }
5883
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5842
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5884
5843
  $as_echo_n "(cached) " >&6
5885
5844
else
5886
5845
  if test -n "$ac_ct_STRIP"; then
5891
5850
do
5892
5851
  IFS=$as_save_IFS
5893
5852
  test -z "$as_dir" && as_dir=.
5894
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5853
    for ac_exec_ext in '' $ac_executable_extensions; do
5895
5854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5896
5855
    ac_cv_prog_ac_ct_STRIP="strip"
5897
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5856
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898
5857
    break 2
5899
5858
  fi
5900
5859
done
5901
 
done
 
5860
  done
5902
5861
IFS=$as_save_IFS
5903
5862
 
5904
5863
fi
5905
5864
fi
5906
5865
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5907
5866
if test -n "$ac_ct_STRIP"; then
5908
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5909
5868
$as_echo "$ac_ct_STRIP" >&6; }
5910
5869
else
5911
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912
5871
$as_echo "no" >&6; }
5913
5872
fi
5914
5873
 
5917
5876
  else
5918
5877
    case $cross_compiling:$ac_tool_warned in
5919
5878
yes:)
5920
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5879
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5921
5880
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5922
5881
ac_tool_warned=yes ;;
5923
5882
esac
5937
5896
if test -n "$ac_tool_prefix"; then
5938
5897
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5939
5898
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5940
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941
5900
$as_echo_n "checking for $ac_word... " >&6; }
5942
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5901
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5943
5902
  $as_echo_n "(cached) " >&6
5944
5903
else
5945
5904
  if test -n "$RANLIB"; then
5950
5909
do
5951
5910
  IFS=$as_save_IFS
5952
5911
  test -z "$as_dir" && as_dir=.
5953
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5912
    for ac_exec_ext in '' $ac_executable_extensions; do
5954
5913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955
5914
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5956
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957
5916
    break 2
5958
5917
  fi
5959
5918
done
5960
 
done
 
5919
  done
5961
5920
IFS=$as_save_IFS
5962
5921
 
5963
5922
fi
5964
5923
fi
5965
5924
RANLIB=$ac_cv_prog_RANLIB
5966
5925
if test -n "$RANLIB"; then
5967
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5968
5927
$as_echo "$RANLIB" >&6; }
5969
5928
else
5970
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971
5930
$as_echo "no" >&6; }
5972
5931
fi
5973
5932
 
5977
5936
  ac_ct_RANLIB=$RANLIB
5978
5937
  # Extract the first word of "ranlib", so it can be a program name with args.
5979
5938
set dummy ranlib; ac_word=$2
5980
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981
5940
$as_echo_n "checking for $ac_word... " >&6; }
5982
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5941
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5983
5942
  $as_echo_n "(cached) " >&6
5984
5943
else
5985
5944
  if test -n "$ac_ct_RANLIB"; then
5990
5949
do
5991
5950
  IFS=$as_save_IFS
5992
5951
  test -z "$as_dir" && as_dir=.
5993
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5952
    for ac_exec_ext in '' $ac_executable_extensions; do
5994
5953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5995
5954
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5996
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997
5956
    break 2
5998
5957
  fi
5999
5958
done
6000
 
done
 
5959
  done
6001
5960
IFS=$as_save_IFS
6002
5961
 
6003
5962
fi
6004
5963
fi
6005
5964
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6006
5965
if test -n "$ac_ct_RANLIB"; then
6007
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6008
5967
$as_echo "$ac_ct_RANLIB" >&6; }
6009
5968
else
6010
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011
5970
$as_echo "no" >&6; }
6012
5971
fi
6013
5972
 
6016
5975
  else
6017
5976
    case $cross_compiling:$ac_tool_warned in
6018
5977
yes:)
6019
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020
5979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021
5980
ac_tool_warned=yes ;;
6022
5981
esac
6094
6053
 
6095
6054
 
6096
6055
# Check for command to grab the raw symbol name followed by C symbol from nm.
6097
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6098
6057
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6099
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6058
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6100
6059
  $as_echo_n "(cached) " >&6
6101
6060
else
6102
6061
 
6212
6171
int main(){nm_test_var='a';nm_test_func();return(0);}
6213
6172
_LT_EOF
6214
6173
 
6215
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6174
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6216
6175
  (eval $ac_compile) 2>&5
6217
6176
  ac_status=$?
6218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219
 
  (exit $ac_status); }; then
 
6177
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6178
  test $ac_status = 0; }; then
6220
6179
    # Now try to grab the symbols.
6221
6180
    nlist=conftest.nm
6222
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6181
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6223
6182
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6224
6183
  ac_status=$?
6225
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6184
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6185
  test $ac_status = 0; } && test -s "$nlist"; then
6227
6186
      # Try sorting and uniquifying the output.
6228
6187
      if sort "$nlist" | uniq > "$nlist"T; then
6229
6188
        mv -f "$nlist"T "$nlist"
6276
6235
          lt_save_CFLAGS="$CFLAGS"
6277
6236
          LIBS="conftstm.$ac_objext"
6278
6237
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6279
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6238
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6280
6239
  (eval $ac_link) 2>&5
6281
6240
  ac_status=$?
6282
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6241
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6242
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6284
6243
            pipe_works=yes
6285
6244
          fi
6286
6245
          LIBS="$lt_save_LIBS"
6314
6273
  lt_cv_sys_global_symbol_to_cdecl=
6315
6274
fi
6316
6275
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6317
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6318
6277
$as_echo "failed" >&6; }
6319
6278
else
6320
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6321
6280
$as_echo "ok" >&6; }
6322
6281
fi
6323
6282
 
6343
6302
 
6344
6303
 
6345
6304
# Check whether --enable-libtool-lock was given.
6346
 
if test "${enable_libtool_lock+set}" = set; then
 
6305
if test "${enable_libtool_lock+set}" = set; then :
6347
6306
  enableval=$enable_libtool_lock;
6348
6307
fi
6349
6308
 
6355
6314
ia64-*-hpux*)
6356
6315
  # Find out which ABI we are using.
6357
6316
  echo 'int i;' > conftest.$ac_ext
6358
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6317
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6359
6318
  (eval $ac_compile) 2>&5
6360
6319
  ac_status=$?
6361
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362
 
  (exit $ac_status); }; then
 
6320
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6321
  test $ac_status = 0; }; then
6363
6322
    case `/usr/bin/file conftest.$ac_objext` in
6364
6323
      *ELF-32*)
6365
6324
        HPUX_IA64_MODE="32"
6373
6332
  ;;
6374
6333
*-*-irix6*)
6375
6334
  # Find out which ABI we are using.
6376
 
  echo '#line 6376 "configure"' > conftest.$ac_ext
6377
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6335
  echo '#line 6335 "configure"' > conftest.$ac_ext
 
6336
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6378
6337
  (eval $ac_compile) 2>&5
6379
6338
  ac_status=$?
6380
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381
 
  (exit $ac_status); }; then
 
6339
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6340
  test $ac_status = 0; }; then
6382
6341
    if test "$lt_cv_prog_gnu_ld" = yes; then
6383
6342
      case `/usr/bin/file conftest.$ac_objext` in
6384
6343
        *32-bit*)
6412
6371
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6413
6372
  # Find out which ABI we are using.
6414
6373
  echo 'int i;' > conftest.$ac_ext
6415
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6374
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6416
6375
  (eval $ac_compile) 2>&5
6417
6376
  ac_status=$?
6418
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419
 
  (exit $ac_status); }; then
 
6377
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6378
  test $ac_status = 0; }; then
6420
6379
    case `/usr/bin/file conftest.o` in
6421
6380
      *32-bit*)
6422
6381
        case $host in
6465
6424
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6466
6425
  SAVE_CFLAGS="$CFLAGS"
6467
6426
  CFLAGS="$CFLAGS -belf"
6468
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6427
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6469
6428
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6470
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6429
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6471
6430
  $as_echo_n "(cached) " >&6
6472
6431
else
6473
6432
  ac_ext=c
6476
6435
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6477
6436
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6478
6437
 
6479
 
     cat >conftest.$ac_ext <<_ACEOF
6480
 
/* confdefs.h.  */
6481
 
_ACEOF
6482
 
cat confdefs.h >>conftest.$ac_ext
6483
 
cat >>conftest.$ac_ext <<_ACEOF
 
6438
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6484
6439
/* end confdefs.h.  */
6485
6440
 
6486
6441
int
6491
6446
  return 0;
6492
6447
}
6493
6448
_ACEOF
6494
 
rm -f conftest.$ac_objext conftest$ac_exeext
6495
 
if { (ac_try="$ac_link"
6496
 
case "(($ac_try" in
6497
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498
 
  *) ac_try_echo=$ac_try;;
6499
 
esac
6500
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6501
 
$as_echo "$ac_try_echo") >&5
6502
 
  (eval "$ac_link") 2>conftest.er1
6503
 
  ac_status=$?
6504
 
  grep -v '^ *+' conftest.er1 >conftest.err
6505
 
  rm -f conftest.er1
6506
 
  cat conftest.err >&5
6507
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508
 
  (exit $ac_status); } && {
6509
 
         test -z "$ac_c_werror_flag" ||
6510
 
         test ! -s conftest.err
6511
 
       } && test -s conftest$ac_exeext && {
6512
 
         test "$cross_compiling" = yes ||
6513
 
         $as_test_x conftest$ac_exeext
6514
 
       }; then
 
6449
if ac_fn_c_try_link "$LINENO"; then :
6515
6450
  lt_cv_cc_needs_belf=yes
6516
6451
else
6517
 
  $as_echo "$as_me: failed program was:" >&5
6518
 
sed 's/^/| /' conftest.$ac_ext >&5
6519
 
 
6520
 
        lt_cv_cc_needs_belf=no
 
6452
  lt_cv_cc_needs_belf=no
6521
6453
fi
6522
 
 
6523
 
rm -rf conftest.dSYM
6524
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6525
 
      conftest$ac_exeext conftest.$ac_ext
 
6454
rm -f core conftest.err conftest.$ac_objext \
 
6455
    conftest$ac_exeext conftest.$ac_ext
6526
6456
     ac_ext=c
6527
6457
ac_cpp='$CPP $CPPFLAGS'
6528
6458
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6530
6460
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6531
6461
 
6532
6462
fi
6533
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6534
6464
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6535
6465
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6536
6466
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6540
6470
sparc*-*solaris*)
6541
6471
  # Find out which ABI we are using.
6542
6472
  echo 'int i;' > conftest.$ac_ext
6543
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6473
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6544
6474
  (eval $ac_compile) 2>&5
6545
6475
  ac_status=$?
6546
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547
 
  (exit $ac_status); }; then
 
6476
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6477
  test $ac_status = 0; }; then
6548
6478
    case `/usr/bin/file conftest.o` in
6549
6479
    *64-bit*)
6550
6480
      case $lt_cv_prog_gnu_ld in
6570
6500
    if test -n "$ac_tool_prefix"; then
6571
6501
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6572
6502
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6573
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574
6504
$as_echo_n "checking for $ac_word... " >&6; }
6575
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6505
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6576
6506
  $as_echo_n "(cached) " >&6
6577
6507
else
6578
6508
  if test -n "$DSYMUTIL"; then
6583
6513
do
6584
6514
  IFS=$as_save_IFS
6585
6515
  test -z "$as_dir" && as_dir=.
6586
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6516
    for ac_exec_ext in '' $ac_executable_extensions; do
6587
6517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6588
6518
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6589
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6519
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590
6520
    break 2
6591
6521
  fi
6592
6522
done
6593
 
done
 
6523
  done
6594
6524
IFS=$as_save_IFS
6595
6525
 
6596
6526
fi
6597
6527
fi
6598
6528
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6599
6529
if test -n "$DSYMUTIL"; then
6600
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6601
6531
$as_echo "$DSYMUTIL" >&6; }
6602
6532
else
6603
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604
6534
$as_echo "no" >&6; }
6605
6535
fi
6606
6536
 
6610
6540
  ac_ct_DSYMUTIL=$DSYMUTIL
6611
6541
  # Extract the first word of "dsymutil", so it can be a program name with args.
6612
6542
set dummy dsymutil; ac_word=$2
6613
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614
6544
$as_echo_n "checking for $ac_word... " >&6; }
6615
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6545
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6616
6546
  $as_echo_n "(cached) " >&6
6617
6547
else
6618
6548
  if test -n "$ac_ct_DSYMUTIL"; then
6623
6553
do
6624
6554
  IFS=$as_save_IFS
6625
6555
  test -z "$as_dir" && as_dir=.
6626
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6556
    for ac_exec_ext in '' $ac_executable_extensions; do
6627
6557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628
6558
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6629
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6559
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630
6560
    break 2
6631
6561
  fi
6632
6562
done
6633
 
done
 
6563
  done
6634
6564
IFS=$as_save_IFS
6635
6565
 
6636
6566
fi
6637
6567
fi
6638
6568
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6639
6569
if test -n "$ac_ct_DSYMUTIL"; then
6640
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6641
6571
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6642
6572
else
6643
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644
6574
$as_echo "no" >&6; }
6645
6575
fi
6646
6576
 
6649
6579
  else
6650
6580
    case $cross_compiling:$ac_tool_warned in
6651
6581
yes:)
6652
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6582
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6653
6583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6654
6584
ac_tool_warned=yes ;;
6655
6585
esac
6662
6592
    if test -n "$ac_tool_prefix"; then
6663
6593
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6664
6594
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6665
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666
6596
$as_echo_n "checking for $ac_word... " >&6; }
6667
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6597
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6668
6598
  $as_echo_n "(cached) " >&6
6669
6599
else
6670
6600
  if test -n "$NMEDIT"; then
6675
6605
do
6676
6606
  IFS=$as_save_IFS
6677
6607
  test -z "$as_dir" && as_dir=.
6678
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6608
    for ac_exec_ext in '' $ac_executable_extensions; do
6679
6609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680
6610
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6681
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6611
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682
6612
    break 2
6683
6613
  fi
6684
6614
done
6685
 
done
 
6615
  done
6686
6616
IFS=$as_save_IFS
6687
6617
 
6688
6618
fi
6689
6619
fi
6690
6620
NMEDIT=$ac_cv_prog_NMEDIT
6691
6621
if test -n "$NMEDIT"; then
6692
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6693
6623
$as_echo "$NMEDIT" >&6; }
6694
6624
else
6695
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696
6626
$as_echo "no" >&6; }
6697
6627
fi
6698
6628
 
6702
6632
  ac_ct_NMEDIT=$NMEDIT
6703
6633
  # Extract the first word of "nmedit", so it can be a program name with args.
6704
6634
set dummy nmedit; ac_word=$2
6705
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706
6636
$as_echo_n "checking for $ac_word... " >&6; }
6707
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6637
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6708
6638
  $as_echo_n "(cached) " >&6
6709
6639
else
6710
6640
  if test -n "$ac_ct_NMEDIT"; then
6715
6645
do
6716
6646
  IFS=$as_save_IFS
6717
6647
  test -z "$as_dir" && as_dir=.
6718
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6648
    for ac_exec_ext in '' $ac_executable_extensions; do
6719
6649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720
6650
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6721
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6651
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722
6652
    break 2
6723
6653
  fi
6724
6654
done
6725
 
done
 
6655
  done
6726
6656
IFS=$as_save_IFS
6727
6657
 
6728
6658
fi
6729
6659
fi
6730
6660
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6731
6661
if test -n "$ac_ct_NMEDIT"; then
6732
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6733
6663
$as_echo "$ac_ct_NMEDIT" >&6; }
6734
6664
else
6735
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736
6666
$as_echo "no" >&6; }
6737
6667
fi
6738
6668
 
6741
6671
  else
6742
6672
    case $cross_compiling:$ac_tool_warned in
6743
6673
yes:)
6744
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6674
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745
6675
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746
6676
ac_tool_warned=yes ;;
6747
6677
esac
6754
6684
    if test -n "$ac_tool_prefix"; then
6755
6685
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6756
6686
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6757
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758
6688
$as_echo_n "checking for $ac_word... " >&6; }
6759
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6689
if test "${ac_cv_prog_LIPO+set}" = set; then :
6760
6690
  $as_echo_n "(cached) " >&6
6761
6691
else
6762
6692
  if test -n "$LIPO"; then
6767
6697
do
6768
6698
  IFS=$as_save_IFS
6769
6699
  test -z "$as_dir" && as_dir=.
6770
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6700
    for ac_exec_ext in '' $ac_executable_extensions; do
6771
6701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772
6702
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6773
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6703
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774
6704
    break 2
6775
6705
  fi
6776
6706
done
6777
 
done
 
6707
  done
6778
6708
IFS=$as_save_IFS
6779
6709
 
6780
6710
fi
6781
6711
fi
6782
6712
LIPO=$ac_cv_prog_LIPO
6783
6713
if test -n "$LIPO"; then
6784
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6785
6715
$as_echo "$LIPO" >&6; }
6786
6716
else
6787
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6717
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788
6718
$as_echo "no" >&6; }
6789
6719
fi
6790
6720
 
6794
6724
  ac_ct_LIPO=$LIPO
6795
6725
  # Extract the first word of "lipo", so it can be a program name with args.
6796
6726
set dummy lipo; ac_word=$2
6797
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798
6728
$as_echo_n "checking for $ac_word... " >&6; }
6799
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6729
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6800
6730
  $as_echo_n "(cached) " >&6
6801
6731
else
6802
6732
  if test -n "$ac_ct_LIPO"; then
6807
6737
do
6808
6738
  IFS=$as_save_IFS
6809
6739
  test -z "$as_dir" && as_dir=.
6810
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6740
    for ac_exec_ext in '' $ac_executable_extensions; do
6811
6741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812
6742
    ac_cv_prog_ac_ct_LIPO="lipo"
6813
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6743
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814
6744
    break 2
6815
6745
  fi
6816
6746
done
6817
 
done
 
6747
  done
6818
6748
IFS=$as_save_IFS
6819
6749
 
6820
6750
fi
6821
6751
fi
6822
6752
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6823
6753
if test -n "$ac_ct_LIPO"; then
6824
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6825
6755
$as_echo "$ac_ct_LIPO" >&6; }
6826
6756
else
6827
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828
6758
$as_echo "no" >&6; }
6829
6759
fi
6830
6760
 
6833
6763
  else
6834
6764
    case $cross_compiling:$ac_tool_warned in
6835
6765
yes:)
6836
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6766
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837
6767
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838
6768
ac_tool_warned=yes ;;
6839
6769
esac
6846
6776
    if test -n "$ac_tool_prefix"; then
6847
6777
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6848
6778
set dummy ${ac_tool_prefix}otool; ac_word=$2
6849
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850
6780
$as_echo_n "checking for $ac_word... " >&6; }
6851
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6781
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6852
6782
  $as_echo_n "(cached) " >&6
6853
6783
else
6854
6784
  if test -n "$OTOOL"; then
6859
6789
do
6860
6790
  IFS=$as_save_IFS
6861
6791
  test -z "$as_dir" && as_dir=.
6862
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6792
    for ac_exec_ext in '' $ac_executable_extensions; do
6863
6793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864
6794
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6865
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6795
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866
6796
    break 2
6867
6797
  fi
6868
6798
done
6869
 
done
 
6799
  done
6870
6800
IFS=$as_save_IFS
6871
6801
 
6872
6802
fi
6873
6803
fi
6874
6804
OTOOL=$ac_cv_prog_OTOOL
6875
6805
if test -n "$OTOOL"; then
6876
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6877
6807
$as_echo "$OTOOL" >&6; }
6878
6808
else
6879
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880
6810
$as_echo "no" >&6; }
6881
6811
fi
6882
6812
 
6886
6816
  ac_ct_OTOOL=$OTOOL
6887
6817
  # Extract the first word of "otool", so it can be a program name with args.
6888
6818
set dummy otool; ac_word=$2
6889
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890
6820
$as_echo_n "checking for $ac_word... " >&6; }
6891
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6821
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6892
6822
  $as_echo_n "(cached) " >&6
6893
6823
else
6894
6824
  if test -n "$ac_ct_OTOOL"; then
6899
6829
do
6900
6830
  IFS=$as_save_IFS
6901
6831
  test -z "$as_dir" && as_dir=.
6902
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6832
    for ac_exec_ext in '' $ac_executable_extensions; do
6903
6833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904
6834
    ac_cv_prog_ac_ct_OTOOL="otool"
6905
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6835
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906
6836
    break 2
6907
6837
  fi
6908
6838
done
6909
 
done
 
6839
  done
6910
6840
IFS=$as_save_IFS
6911
6841
 
6912
6842
fi
6913
6843
fi
6914
6844
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6915
6845
if test -n "$ac_ct_OTOOL"; then
6916
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6917
6847
$as_echo "$ac_ct_OTOOL" >&6; }
6918
6848
else
6919
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920
6850
$as_echo "no" >&6; }
6921
6851
fi
6922
6852
 
6925
6855
  else
6926
6856
    case $cross_compiling:$ac_tool_warned in
6927
6857
yes:)
6928
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6858
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929
6859
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930
6860
ac_tool_warned=yes ;;
6931
6861
esac
6938
6868
    if test -n "$ac_tool_prefix"; then
6939
6869
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6940
6870
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6941
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942
6872
$as_echo_n "checking for $ac_word... " >&6; }
6943
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6873
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6944
6874
  $as_echo_n "(cached) " >&6
6945
6875
else
6946
6876
  if test -n "$OTOOL64"; then
6951
6881
do
6952
6882
  IFS=$as_save_IFS
6953
6883
  test -z "$as_dir" && as_dir=.
6954
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6884
    for ac_exec_ext in '' $ac_executable_extensions; do
6955
6885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956
6886
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6957
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6887
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958
6888
    break 2
6959
6889
  fi
6960
6890
done
6961
 
done
 
6891
  done
6962
6892
IFS=$as_save_IFS
6963
6893
 
6964
6894
fi
6965
6895
fi
6966
6896
OTOOL64=$ac_cv_prog_OTOOL64
6967
6897
if test -n "$OTOOL64"; then
6968
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6969
6899
$as_echo "$OTOOL64" >&6; }
6970
6900
else
6971
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972
6902
$as_echo "no" >&6; }
6973
6903
fi
6974
6904
 
6978
6908
  ac_ct_OTOOL64=$OTOOL64
6979
6909
  # Extract the first word of "otool64", so it can be a program name with args.
6980
6910
set dummy otool64; ac_word=$2
6981
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982
6912
$as_echo_n "checking for $ac_word... " >&6; }
6983
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6913
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6984
6914
  $as_echo_n "(cached) " >&6
6985
6915
else
6986
6916
  if test -n "$ac_ct_OTOOL64"; then
6991
6921
do
6992
6922
  IFS=$as_save_IFS
6993
6923
  test -z "$as_dir" && as_dir=.
6994
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6924
    for ac_exec_ext in '' $ac_executable_extensions; do
6995
6925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996
6926
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6997
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998
6928
    break 2
6999
6929
  fi
7000
6930
done
7001
 
done
 
6931
  done
7002
6932
IFS=$as_save_IFS
7003
6933
 
7004
6934
fi
7005
6935
fi
7006
6936
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7007
6937
if test -n "$ac_ct_OTOOL64"; then
7008
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7009
6939
$as_echo "$ac_ct_OTOOL64" >&6; }
7010
6940
else
7011
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012
6942
$as_echo "no" >&6; }
7013
6943
fi
7014
6944
 
7017
6947
  else
7018
6948
    case $cross_compiling:$ac_tool_warned in
7019
6949
yes:)
7020
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6950
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7021
6951
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7022
6952
ac_tool_warned=yes ;;
7023
6953
esac
7053
6983
 
7054
6984
 
7055
6985
 
7056
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6986
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7057
6987
$as_echo_n "checking for -single_module linker flag... " >&6; }
7058
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6988
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7059
6989
  $as_echo_n "(cached) " >&6
7060
6990
else
7061
6991
  lt_cv_apple_cc_single_mod=no
7080
7010
        rm -f conftest.*
7081
7011
      fi
7082
7012
fi
7083
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7084
7014
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7085
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7015
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7086
7016
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7087
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7017
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7088
7018
  $as_echo_n "(cached) " >&6
7089
7019
else
7090
7020
  lt_cv_ld_exported_symbols_list=no
7091
7021
      save_LDFLAGS=$LDFLAGS
7092
7022
      echo "_main" > conftest.sym
7093
7023
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7094
 
      cat >conftest.$ac_ext <<_ACEOF
7095
 
/* confdefs.h.  */
7096
 
_ACEOF
7097
 
cat confdefs.h >>conftest.$ac_ext
7098
 
cat >>conftest.$ac_ext <<_ACEOF
 
7024
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099
7025
/* end confdefs.h.  */
7100
7026
 
7101
7027
int
7106
7032
  return 0;
7107
7033
}
7108
7034
_ACEOF
7109
 
rm -f conftest.$ac_objext conftest$ac_exeext
7110
 
if { (ac_try="$ac_link"
7111
 
case "(($ac_try" in
7112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7113
 
  *) ac_try_echo=$ac_try;;
7114
 
esac
7115
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7116
 
$as_echo "$ac_try_echo") >&5
7117
 
  (eval "$ac_link") 2>conftest.er1
7118
 
  ac_status=$?
7119
 
  grep -v '^ *+' conftest.er1 >conftest.err
7120
 
  rm -f conftest.er1
7121
 
  cat conftest.err >&5
7122
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123
 
  (exit $ac_status); } && {
7124
 
         test -z "$ac_c_werror_flag" ||
7125
 
         test ! -s conftest.err
7126
 
       } && test -s conftest$ac_exeext && {
7127
 
         test "$cross_compiling" = yes ||
7128
 
         $as_test_x conftest$ac_exeext
7129
 
       }; then
 
7035
if ac_fn_c_try_link "$LINENO"; then :
7130
7036
  lt_cv_ld_exported_symbols_list=yes
7131
7037
else
7132
 
  $as_echo "$as_me: failed program was:" >&5
7133
 
sed 's/^/| /' conftest.$ac_ext >&5
7134
 
 
7135
 
        lt_cv_ld_exported_symbols_list=no
 
7038
  lt_cv_ld_exported_symbols_list=no
7136
7039
fi
7137
 
 
7138
 
rm -rf conftest.dSYM
7139
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7140
 
      conftest$ac_exeext conftest.$ac_ext
 
7040
rm -f core conftest.err conftest.$ac_objext \
 
7041
    conftest$ac_exeext conftest.$ac_ext
7141
7042
        LDFLAGS="$save_LDFLAGS"
7142
7043
 
7143
7044
fi
7144
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7145
7046
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7146
7047
    case $host_os in
7147
7048
    rhapsody* | darwin1.[012])
7178
7079
    ;;
7179
7080
  esac
7180
7081
 
7181
 
 
7182
7082
for ac_header in dlfcn.h
7183
 
do
7184
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7185
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7186
 
$as_echo_n "checking for $ac_header... " >&6; }
7187
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7188
 
  $as_echo_n "(cached) " >&6
7189
 
else
7190
 
  cat >conftest.$ac_ext <<_ACEOF
7191
 
/* confdefs.h.  */
7192
 
_ACEOF
7193
 
cat confdefs.h >>conftest.$ac_ext
7194
 
cat >>conftest.$ac_ext <<_ACEOF
7195
 
/* end confdefs.h.  */
7196
 
$ac_includes_default
7197
 
 
7198
 
#include <$ac_header>
7199
 
_ACEOF
7200
 
rm -f conftest.$ac_objext
7201
 
if { (ac_try="$ac_compile"
7202
 
case "(($ac_try" in
7203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7204
 
  *) ac_try_echo=$ac_try;;
7205
 
esac
7206
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7207
 
$as_echo "$ac_try_echo") >&5
7208
 
  (eval "$ac_compile") 2>conftest.er1
7209
 
  ac_status=$?
7210
 
  grep -v '^ *+' conftest.er1 >conftest.err
7211
 
  rm -f conftest.er1
7212
 
  cat conftest.err >&5
7213
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214
 
  (exit $ac_status); } && {
7215
 
         test -z "$ac_c_werror_flag" ||
7216
 
         test ! -s conftest.err
7217
 
       } && test -s conftest.$ac_objext; then
7218
 
  eval "$as_ac_Header=yes"
7219
 
else
7220
 
  $as_echo "$as_me: failed program was:" >&5
7221
 
sed 's/^/| /' conftest.$ac_ext >&5
7222
 
 
7223
 
        eval "$as_ac_Header=no"
7224
 
fi
7225
 
 
7226
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7227
 
fi
7228
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7229
 
                 $as_echo "$as_val"'`
7230
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7231
 
$as_echo "$ac_res" >&6; }
7232
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7233
 
                 $as_echo "$as_val"'`
7234
 
   if test "x$as_val" = x""yes; then
 
7083
do :
 
7084
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7085
"
 
7086
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7235
7087
  cat >>confdefs.h <<_ACEOF
7236
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7088
#define HAVE_DLFCN_H 1
7237
7089
_ACEOF
7238
7090
 
7239
7091
fi
7253
7105
 
7254
7106
 
7255
7107
            # Check whether --enable-shared was given.
7256
 
if test "${enable_shared+set}" = set; then
 
7108
if test "${enable_shared+set}" = set; then :
7257
7109
  enableval=$enable_shared; p=${PACKAGE-default}
7258
7110
    case $enableval in
7259
7111
    yes) enable_shared=yes ;;
7284
7136
 
7285
7137
 
7286
7138
  # Check whether --enable-static was given.
7287
 
if test "${enable_static+set}" = set; then
 
7139
if test "${enable_static+set}" = set; then :
7288
7140
  enableval=$enable_static; p=${PACKAGE-default}
7289
7141
    case $enableval in
7290
7142
    yes) enable_static=yes ;;
7316
7168
 
7317
7169
 
7318
7170
# Check whether --with-pic was given.
7319
 
if test "${with_pic+set}" = set; then
 
7171
if test "${with_pic+set}" = set; then :
7320
7172
  withval=$with_pic; pic_mode="$withval"
7321
7173
else
7322
7174
  pic_mode=default
7332
7184
 
7333
7185
 
7334
7186
  # Check whether --enable-fast-install was given.
7335
 
if test "${enable_fast_install+set}" = set; then
 
7187
if test "${enable_fast_install+set}" = set; then :
7336
7188
  enableval=$enable_fast_install; p=${PACKAGE-default}
7337
7189
    case $enableval in
7338
7190
    yes) enable_fast_install=yes ;;
7413
7265
   setopt NO_GLOB_SUBST
7414
7266
fi
7415
7267
 
7416
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7417
7269
$as_echo_n "checking for objdir... " >&6; }
7418
 
if test "${lt_cv_objdir+set}" = set; then
 
7270
if test "${lt_cv_objdir+set}" = set; then :
7419
7271
  $as_echo_n "(cached) " >&6
7420
7272
else
7421
7273
  rm -f .libs 2>/dev/null
7428
7280
fi
7429
7281
rmdir .libs 2>/dev/null
7430
7282
fi
7431
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7432
7284
$as_echo "$lt_cv_objdir" >&6; }
7433
7285
objdir=$lt_cv_objdir
7434
7286
 
7521
7373
case $deplibs_check_method in
7522
7374
file_magic*)
7523
7375
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7524
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7376
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7525
7377
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7526
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7378
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7527
7379
  $as_echo_n "(cached) " >&6
7528
7380
else
7529
7381
  case $MAGIC_CMD in
7574
7426
 
7575
7427
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7576
7428
if test -n "$MAGIC_CMD"; then
7577
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7429
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7578
7430
$as_echo "$MAGIC_CMD" >&6; }
7579
7431
else
7580
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581
7433
$as_echo "no" >&6; }
7582
7434
fi
7583
7435
 
7587
7439
 
7588
7440
if test -z "$lt_cv_path_MAGIC_CMD"; then
7589
7441
  if test -n "$ac_tool_prefix"; then
7590
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7442
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7591
7443
$as_echo_n "checking for file... " >&6; }
7592
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7444
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7593
7445
  $as_echo_n "(cached) " >&6
7594
7446
else
7595
7447
  case $MAGIC_CMD in
7640
7492
 
7641
7493
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7642
7494
if test -n "$MAGIC_CMD"; then
7643
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7644
7496
$as_echo "$MAGIC_CMD" >&6; }
7645
7497
else
7646
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647
7499
$as_echo "no" >&6; }
7648
7500
fi
7649
7501
 
7724
7576
if test "$GCC" = yes; then
7725
7577
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7726
7578
 
7727
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7579
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7728
7580
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7729
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7581
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7730
7582
  $as_echo_n "(cached) " >&6
7731
7583
else
7732
7584
  lt_cv_prog_compiler_rtti_exceptions=no
7742
7594
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7743
7595
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7744
7596
   -e 's:$: $lt_compiler_flag:'`
7745
 
   (eval echo "\"\$as_me:7745: $lt_compile\"" >&5)
 
7597
   (eval echo "\"\$as_me:7597: $lt_compile\"" >&5)
7746
7598
   (eval "$lt_compile" 2>conftest.err)
7747
7599
   ac_status=$?
7748
7600
   cat conftest.err >&5
7749
 
   echo "$as_me:7749: \$? = $ac_status" >&5
 
7601
   echo "$as_me:7601: \$? = $ac_status" >&5
7750
7602
   if (exit $ac_status) && test -s "$ac_outfile"; then
7751
7603
     # The compiler can only warn and ignore the option if not recognized
7752
7604
     # So say no if there are warnings other than the usual output.
7759
7611
   $RM conftest*
7760
7612
 
7761
7613
fi
7762
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7763
7615
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7764
7616
 
7765
7617
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7779
7631
lt_prog_compiler_pic=
7780
7632
lt_prog_compiler_static=
7781
7633
 
7782
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7783
7635
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7784
7636
 
7785
7637
  if test "$GCC" = yes; then
8051
7903
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8052
7904
    ;;
8053
7905
esac
8054
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8055
7907
$as_echo "$lt_prog_compiler_pic" >&6; }
8056
7908
 
8057
7909
 
8063
7915
# Check to make sure the PIC flag actually works.
8064
7916
#
8065
7917
if test -n "$lt_prog_compiler_pic"; then
8066
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7918
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8067
7919
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8068
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7920
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8069
7921
  $as_echo_n "(cached) " >&6
8070
7922
else
8071
7923
  lt_cv_prog_compiler_pic_works=no
8081
7933
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8082
7934
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8083
7935
   -e 's:$: $lt_compiler_flag:'`
8084
 
   (eval echo "\"\$as_me:8084: $lt_compile\"" >&5)
 
7936
   (eval echo "\"\$as_me:7936: $lt_compile\"" >&5)
8085
7937
   (eval "$lt_compile" 2>conftest.err)
8086
7938
   ac_status=$?
8087
7939
   cat conftest.err >&5
8088
 
   echo "$as_me:8088: \$? = $ac_status" >&5
 
7940
   echo "$as_me:7940: \$? = $ac_status" >&5
8089
7941
   if (exit $ac_status) && test -s "$ac_outfile"; then
8090
7942
     # The compiler can only warn and ignore the option if not recognized
8091
7943
     # So say no if there are warnings other than the usual output.
8098
7950
   $RM conftest*
8099
7951
 
8100
7952
fi
8101
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8102
7954
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8103
7955
 
8104
7956
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8122
7974
# Check to make sure the static flag actually works.
8123
7975
#
8124
7976
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8125
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8126
7978
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8127
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7979
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8128
7980
  $as_echo_n "(cached) " >&6
8129
7981
else
8130
7982
  lt_cv_prog_compiler_static_works=no
8150
8002
   LDFLAGS="$save_LDFLAGS"
8151
8003
 
8152
8004
fi
8153
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8154
8006
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8155
8007
 
8156
8008
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8165
8017
 
8166
8018
 
8167
8019
 
8168
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8020
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8169
8021
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8170
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8022
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8171
8023
  $as_echo_n "(cached) " >&6
8172
8024
else
8173
8025
  lt_cv_prog_compiler_c_o=no
8186
8038
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8187
8039
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8188
8040
   -e 's:$: $lt_compiler_flag:'`
8189
 
   (eval echo "\"\$as_me:8189: $lt_compile\"" >&5)
 
8041
   (eval echo "\"\$as_me:8041: $lt_compile\"" >&5)
8190
8042
   (eval "$lt_compile" 2>out/conftest.err)
8191
8043
   ac_status=$?
8192
8044
   cat out/conftest.err >&5
8193
 
   echo "$as_me:8193: \$? = $ac_status" >&5
 
8045
   echo "$as_me:8045: \$? = $ac_status" >&5
8194
8046
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8195
8047
   then
8196
8048
     # The compiler can only warn and ignore the option if not recognized
8212
8064
   $RM conftest*
8213
8065
 
8214
8066
fi
8215
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8216
8068
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8217
8069
 
8218
8070
 
8220
8072
 
8221
8073
 
8222
8074
 
8223
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8075
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8224
8076
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8225
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8077
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8226
8078
  $as_echo_n "(cached) " >&6
8227
8079
else
8228
8080
  lt_cv_prog_compiler_c_o=no
8241
8093
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8242
8094
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8243
8095
   -e 's:$: $lt_compiler_flag:'`
8244
 
   (eval echo "\"\$as_me:8244: $lt_compile\"" >&5)
 
8096
   (eval echo "\"\$as_me:8096: $lt_compile\"" >&5)
8245
8097
   (eval "$lt_compile" 2>out/conftest.err)
8246
8098
   ac_status=$?
8247
8099
   cat out/conftest.err >&5
8248
 
   echo "$as_me:8248: \$? = $ac_status" >&5
 
8100
   echo "$as_me:8100: \$? = $ac_status" >&5
8249
8101
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8250
8102
   then
8251
8103
     # The compiler can only warn and ignore the option if not recognized
8267
8119
   $RM conftest*
8268
8120
 
8269
8121
fi
8270
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8271
8123
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8272
8124
 
8273
8125
 
8276
8128
hard_links="nottested"
8277
8129
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8278
8130
  # do not overwrite the value of need_locks provided by the user
8279
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8131
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8280
8132
$as_echo_n "checking if we can lock with hard links... " >&6; }
8281
8133
  hard_links=yes
8282
8134
  $RM conftest*
8284
8136
  touch conftest.a
8285
8137
  ln conftest.a conftest.b 2>&5 || hard_links=no
8286
8138
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8287
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8139
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8288
8140
$as_echo "$hard_links" >&6; }
8289
8141
  if test "$hard_links" = no; then
8290
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8142
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8291
8143
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8292
8144
    need_locks=warn
8293
8145
  fi
8300
8152
 
8301
8153
 
8302
8154
 
8303
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8155
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8304
8156
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8305
8157
 
8306
8158
  runpath_var=
8360
8212
  openbsd*)
8361
8213
    with_gnu_ld=no
8362
8214
    ;;
 
8215
  linux* | k*bsd*-gnu)
 
8216
    link_all_deplibs=no
 
8217
    ;;
8363
8218
  esac
8364
8219
 
8365
8220
  ld_shlibs=yes
8743
8598
        allow_undefined_flag='-berok'
8744
8599
        # Determine the default libpath from the value encoded in an
8745
8600
        # empty executable.
8746
 
        cat >conftest.$ac_ext <<_ACEOF
8747
 
/* confdefs.h.  */
8748
 
_ACEOF
8749
 
cat confdefs.h >>conftest.$ac_ext
8750
 
cat >>conftest.$ac_ext <<_ACEOF
 
8601
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751
8602
/* end confdefs.h.  */
8752
8603
 
8753
8604
int
8758
8609
  return 0;
8759
8610
}
8760
8611
_ACEOF
8761
 
rm -f conftest.$ac_objext conftest$ac_exeext
8762
 
if { (ac_try="$ac_link"
8763
 
case "(($ac_try" in
8764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765
 
  *) ac_try_echo=$ac_try;;
8766
 
esac
8767
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8768
 
$as_echo "$ac_try_echo") >&5
8769
 
  (eval "$ac_link") 2>conftest.er1
8770
 
  ac_status=$?
8771
 
  grep -v '^ *+' conftest.er1 >conftest.err
8772
 
  rm -f conftest.er1
8773
 
  cat conftest.err >&5
8774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775
 
  (exit $ac_status); } && {
8776
 
         test -z "$ac_c_werror_flag" ||
8777
 
         test ! -s conftest.err
8778
 
       } && test -s conftest$ac_exeext && {
8779
 
         test "$cross_compiling" = yes ||
8780
 
         $as_test_x conftest$ac_exeext
8781
 
       }; then
 
8612
if ac_fn_c_try_link "$LINENO"; then :
8782
8613
 
8783
8614
lt_aix_libpath_sed='
8784
8615
    /Import File Strings/,/^$/ {
8792
8623
if test -z "$aix_libpath"; then
8793
8624
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8794
8625
fi
8795
 
else
8796
 
  $as_echo "$as_me: failed program was:" >&5
8797
 
sed 's/^/| /' conftest.$ac_ext >&5
8798
 
 
8799
 
 
8800
8626
fi
8801
 
 
8802
 
rm -rf conftest.dSYM
8803
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8804
 
      conftest$ac_exeext conftest.$ac_ext
 
8627
rm -f core conftest.err conftest.$ac_objext \
 
8628
    conftest$ac_exeext conftest.$ac_ext
8805
8629
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8806
8630
 
8807
8631
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8814
8638
        else
8815
8639
         # Determine the default libpath from the value encoded in an
8816
8640
         # empty executable.
8817
 
         cat >conftest.$ac_ext <<_ACEOF
8818
 
/* confdefs.h.  */
8819
 
_ACEOF
8820
 
cat confdefs.h >>conftest.$ac_ext
8821
 
cat >>conftest.$ac_ext <<_ACEOF
 
8641
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822
8642
/* end confdefs.h.  */
8823
8643
 
8824
8644
int
8829
8649
  return 0;
8830
8650
}
8831
8651
_ACEOF
8832
 
rm -f conftest.$ac_objext conftest$ac_exeext
8833
 
if { (ac_try="$ac_link"
8834
 
case "(($ac_try" in
8835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8836
 
  *) ac_try_echo=$ac_try;;
8837
 
esac
8838
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8839
 
$as_echo "$ac_try_echo") >&5
8840
 
  (eval "$ac_link") 2>conftest.er1
8841
 
  ac_status=$?
8842
 
  grep -v '^ *+' conftest.er1 >conftest.err
8843
 
  rm -f conftest.er1
8844
 
  cat conftest.err >&5
8845
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846
 
  (exit $ac_status); } && {
8847
 
         test -z "$ac_c_werror_flag" ||
8848
 
         test ! -s conftest.err
8849
 
       } && test -s conftest$ac_exeext && {
8850
 
         test "$cross_compiling" = yes ||
8851
 
         $as_test_x conftest$ac_exeext
8852
 
       }; then
 
8652
if ac_fn_c_try_link "$LINENO"; then :
8853
8653
 
8854
8654
lt_aix_libpath_sed='
8855
8655
    /Import File Strings/,/^$/ {
8863
8663
if test -z "$aix_libpath"; then
8864
8664
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8865
8665
fi
8866
 
else
8867
 
  $as_echo "$as_me: failed program was:" >&5
8868
 
sed 's/^/| /' conftest.$ac_ext >&5
8869
 
 
8870
 
 
8871
8666
fi
8872
 
 
8873
 
rm -rf conftest.dSYM
8874
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8875
 
      conftest$ac_exeext conftest.$ac_ext
 
8667
rm -f core conftest.err conftest.$ac_objext \
 
8668
    conftest$ac_exeext conftest.$ac_ext
8876
8669
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8877
8670
 
8878
8671
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9084
8877
        # implicitly export all symbols.
9085
8878
        save_LDFLAGS="$LDFLAGS"
9086
8879
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9087
 
        cat >conftest.$ac_ext <<_ACEOF
 
8880
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8881
/* end confdefs.h.  */
9088
8882
int foo(void) {}
9089
8883
_ACEOF
9090
 
rm -f conftest.$ac_objext conftest$ac_exeext
9091
 
if { (ac_try="$ac_link"
9092
 
case "(($ac_try" in
9093
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9094
 
  *) ac_try_echo=$ac_try;;
9095
 
esac
9096
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9097
 
$as_echo "$ac_try_echo") >&5
9098
 
  (eval "$ac_link") 2>conftest.er1
9099
 
  ac_status=$?
9100
 
  grep -v '^ *+' conftest.er1 >conftest.err
9101
 
  rm -f conftest.er1
9102
 
  cat conftest.err >&5
9103
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104
 
  (exit $ac_status); } && {
9105
 
         test -z "$ac_c_werror_flag" ||
9106
 
         test ! -s conftest.err
9107
 
       } && test -s conftest$ac_exeext && {
9108
 
         test "$cross_compiling" = yes ||
9109
 
         $as_test_x conftest$ac_exeext
9110
 
       }; then
 
8884
if ac_fn_c_try_link "$LINENO"; then :
9111
8885
  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'
9112
8886
 
9113
 
else
9114
 
  $as_echo "$as_me: failed program was:" >&5
9115
 
sed 's/^/| /' conftest.$ac_ext >&5
9116
 
 
9117
 
 
9118
8887
fi
9119
 
 
9120
 
rm -rf conftest.dSYM
9121
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9122
 
      conftest$ac_exeext conftest.$ac_ext
 
8888
rm -f core conftest.err conftest.$ac_objext \
 
8889
    conftest$ac_exeext conftest.$ac_ext
9123
8890
        LDFLAGS="$save_LDFLAGS"
9124
8891
      else
9125
8892
        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'
9375
9142
    fi
9376
9143
  fi
9377
9144
 
9378
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9379
9146
$as_echo "$ld_shlibs" >&6; }
9380
9147
test "$ld_shlibs" = no && can_build_shared=no
9381
9148
 
9412
9179
      # Test whether the compiler implicitly links with -lc since on some
9413
9180
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9414
9181
      # to ld, don't add -lc before -lgcc.
9415
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9182
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9416
9183
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9417
9184
      $RM conftest*
9418
9185
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9419
9186
 
9420
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9187
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9421
9188
  (eval $ac_compile) 2>&5
9422
9189
  ac_status=$?
9423
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424
 
  (exit $ac_status); } 2>conftest.err; then
 
9190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9191
  test $ac_status = 0; } 2>conftest.err; then
9425
9192
        soname=conftest
9426
9193
        lib=conftest
9427
9194
        libobjs=conftest.$ac_objext
9435
9202
        libname=conftest
9436
9203
        lt_save_allow_undefined_flag=$allow_undefined_flag
9437
9204
        allow_undefined_flag=
9438
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9205
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9439
9206
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9440
9207
  ac_status=$?
9441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442
 
  (exit $ac_status); }
 
9208
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9209
  test $ac_status = 0; }
9443
9210
        then
9444
9211
          archive_cmds_need_lc=no
9445
9212
        else
9450
9217
        cat conftest.err 1>&5
9451
9218
      fi
9452
9219
      $RM conftest*
9453
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9220
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9454
9221
$as_echo "$archive_cmds_need_lc" >&6; }
9455
9222
      ;;
9456
9223
    esac
9614
9381
 
9615
9382
 
9616
9383
 
9617
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9384
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9618
9385
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9619
9386
 
9620
9387
if test "$GCC" = yes; then
10036
9803
  save_libdir=$libdir
10037
9804
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10038
9805
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10039
 
  cat >conftest.$ac_ext <<_ACEOF
10040
 
/* confdefs.h.  */
10041
 
_ACEOF
10042
 
cat confdefs.h >>conftest.$ac_ext
10043
 
cat >>conftest.$ac_ext <<_ACEOF
 
9806
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044
9807
/* end confdefs.h.  */
10045
9808
 
10046
9809
int
10051
9814
  return 0;
10052
9815
}
10053
9816
_ACEOF
10054
 
rm -f conftest.$ac_objext conftest$ac_exeext
10055
 
if { (ac_try="$ac_link"
10056
 
case "(($ac_try" in
10057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10058
 
  *) ac_try_echo=$ac_try;;
10059
 
esac
10060
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10061
 
$as_echo "$ac_try_echo") >&5
10062
 
  (eval "$ac_link") 2>conftest.er1
10063
 
  ac_status=$?
10064
 
  grep -v '^ *+' conftest.er1 >conftest.err
10065
 
  rm -f conftest.er1
10066
 
  cat conftest.err >&5
10067
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068
 
  (exit $ac_status); } && {
10069
 
         test -z "$ac_c_werror_flag" ||
10070
 
         test ! -s conftest.err
10071
 
       } && test -s conftest$ac_exeext && {
10072
 
         test "$cross_compiling" = yes ||
10073
 
         $as_test_x conftest$ac_exeext
10074
 
       }; then
10075
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9817
if ac_fn_c_try_link "$LINENO"; then :
 
9818
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10076
9819
  shlibpath_overrides_runpath=yes
10077
9820
fi
10078
 
 
10079
 
else
10080
 
  $as_echo "$as_me: failed program was:" >&5
10081
 
sed 's/^/| /' conftest.$ac_ext >&5
10082
 
 
10083
 
 
10084
9821
fi
10085
 
 
10086
 
rm -rf conftest.dSYM
10087
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10088
 
      conftest$ac_exeext conftest.$ac_ext
 
9822
rm -f core conftest.err conftest.$ac_objext \
 
9823
    conftest$ac_exeext conftest.$ac_ext
10089
9824
  LDFLAGS=$save_LDFLAGS
10090
9825
  libdir=$save_libdir
10091
9826
 
10309
10044
  dynamic_linker=no
10310
10045
  ;;
10311
10046
esac
10312
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10313
10048
$as_echo "$dynamic_linker" >&6; }
10314
10049
test "$dynamic_linker" = no && can_build_shared=no
10315
10050
 
10411
10146
 
10412
10147
 
10413
10148
 
10414
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10149
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10415
10150
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10416
10151
hardcode_action=
10417
10152
if test -n "$hardcode_libdir_flag_spec" ||
10436
10171
  # directories.
10437
10172
  hardcode_action=unsupported
10438
10173
fi
10439
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10440
10175
$as_echo "$hardcode_action" >&6; }
10441
10176
 
10442
10177
if test "$hardcode_action" = relink ||
10481
10216
 
10482
10217
  darwin*)
10483
10218
  # if libdl is installed we need to link against it
10484
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10219
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10485
10220
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10486
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10221
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10487
10222
  $as_echo_n "(cached) " >&6
10488
10223
else
10489
10224
  ac_check_lib_save_LIBS=$LIBS
10490
10225
LIBS="-ldl  $LIBS"
10491
 
cat >conftest.$ac_ext <<_ACEOF
10492
 
/* confdefs.h.  */
10493
 
_ACEOF
10494
 
cat confdefs.h >>conftest.$ac_ext
10495
 
cat >>conftest.$ac_ext <<_ACEOF
 
10226
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496
10227
/* end confdefs.h.  */
10497
10228
 
10498
10229
/* Override any GCC internal prototype to avoid an error.
10510
10241
  return 0;
10511
10242
}
10512
10243
_ACEOF
10513
 
rm -f conftest.$ac_objext conftest$ac_exeext
10514
 
if { (ac_try="$ac_link"
10515
 
case "(($ac_try" in
10516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10517
 
  *) ac_try_echo=$ac_try;;
10518
 
esac
10519
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10520
 
$as_echo "$ac_try_echo") >&5
10521
 
  (eval "$ac_link") 2>conftest.er1
10522
 
  ac_status=$?
10523
 
  grep -v '^ *+' conftest.er1 >conftest.err
10524
 
  rm -f conftest.er1
10525
 
  cat conftest.err >&5
10526
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527
 
  (exit $ac_status); } && {
10528
 
         test -z "$ac_c_werror_flag" ||
10529
 
         test ! -s conftest.err
10530
 
       } && test -s conftest$ac_exeext && {
10531
 
         test "$cross_compiling" = yes ||
10532
 
         $as_test_x conftest$ac_exeext
10533
 
       }; then
 
10244
if ac_fn_c_try_link "$LINENO"; then :
10534
10245
  ac_cv_lib_dl_dlopen=yes
10535
10246
else
10536
 
  $as_echo "$as_me: failed program was:" >&5
10537
 
sed 's/^/| /' conftest.$ac_ext >&5
10538
 
 
10539
 
        ac_cv_lib_dl_dlopen=no
 
10247
  ac_cv_lib_dl_dlopen=no
10540
10248
fi
10541
 
 
10542
 
rm -rf conftest.dSYM
10543
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10544
 
      conftest$ac_exeext conftest.$ac_ext
 
10249
rm -f core conftest.err conftest.$ac_objext \
 
10250
    conftest$ac_exeext conftest.$ac_ext
10545
10251
LIBS=$ac_check_lib_save_LIBS
10546
10252
fi
10547
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10548
10254
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10549
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10255
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10550
10256
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10551
10257
else
10552
10258
 
10559
10265
    ;;
10560
10266
 
10561
10267
  *)
10562
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10563
 
$as_echo_n "checking for shl_load... " >&6; }
10564
 
if test "${ac_cv_func_shl_load+set}" = set; then
10565
 
  $as_echo_n "(cached) " >&6
10566
 
else
10567
 
  cat >conftest.$ac_ext <<_ACEOF
10568
 
/* confdefs.h.  */
10569
 
_ACEOF
10570
 
cat confdefs.h >>conftest.$ac_ext
10571
 
cat >>conftest.$ac_ext <<_ACEOF
10572
 
/* end confdefs.h.  */
10573
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10574
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10575
 
#define shl_load innocuous_shl_load
10576
 
 
10577
 
/* System header to define __stub macros and hopefully few prototypes,
10578
 
    which can conflict with char shl_load (); below.
10579
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10580
 
    <limits.h> exists even on freestanding compilers.  */
10581
 
 
10582
 
#ifdef __STDC__
10583
 
# include <limits.h>
10584
 
#else
10585
 
# include <assert.h>
10586
 
#endif
10587
 
 
10588
 
#undef shl_load
10589
 
 
10590
 
/* Override any GCC internal prototype to avoid an error.
10591
 
   Use char because int might match the return type of a GCC
10592
 
   builtin and then its argument prototype would still apply.  */
10593
 
#ifdef __cplusplus
10594
 
extern "C"
10595
 
#endif
10596
 
char shl_load ();
10597
 
/* The GNU C library defines this for functions which it implements
10598
 
    to always fail with ENOSYS.  Some functions are actually named
10599
 
    something starting with __ and the normal name is an alias.  */
10600
 
#if defined __stub_shl_load || defined __stub___shl_load
10601
 
choke me
10602
 
#endif
10603
 
 
10604
 
int
10605
 
main ()
10606
 
{
10607
 
return shl_load ();
10608
 
  ;
10609
 
  return 0;
10610
 
}
10611
 
_ACEOF
10612
 
rm -f conftest.$ac_objext conftest$ac_exeext
10613
 
if { (ac_try="$ac_link"
10614
 
case "(($ac_try" in
10615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616
 
  *) ac_try_echo=$ac_try;;
10617
 
esac
10618
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10619
 
$as_echo "$ac_try_echo") >&5
10620
 
  (eval "$ac_link") 2>conftest.er1
10621
 
  ac_status=$?
10622
 
  grep -v '^ *+' conftest.er1 >conftest.err
10623
 
  rm -f conftest.er1
10624
 
  cat conftest.err >&5
10625
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626
 
  (exit $ac_status); } && {
10627
 
         test -z "$ac_c_werror_flag" ||
10628
 
         test ! -s conftest.err
10629
 
       } && test -s conftest$ac_exeext && {
10630
 
         test "$cross_compiling" = yes ||
10631
 
         $as_test_x conftest$ac_exeext
10632
 
       }; then
10633
 
  ac_cv_func_shl_load=yes
10634
 
else
10635
 
  $as_echo "$as_me: failed program was:" >&5
10636
 
sed 's/^/| /' conftest.$ac_ext >&5
10637
 
 
10638
 
        ac_cv_func_shl_load=no
10639
 
fi
10640
 
 
10641
 
rm -rf conftest.dSYM
10642
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10643
 
      conftest$ac_exeext conftest.$ac_ext
10644
 
fi
10645
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10646
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10647
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10268
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10269
if test "x$ac_cv_func_shl_load" = x""yes; then :
10648
10270
  lt_cv_dlopen="shl_load"
10649
10271
else
10650
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10272
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10651
10273
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10652
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10274
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10653
10275
  $as_echo_n "(cached) " >&6
10654
10276
else
10655
10277
  ac_check_lib_save_LIBS=$LIBS
10656
10278
LIBS="-ldld  $LIBS"
10657
 
cat >conftest.$ac_ext <<_ACEOF
10658
 
/* confdefs.h.  */
10659
 
_ACEOF
10660
 
cat confdefs.h >>conftest.$ac_ext
10661
 
cat >>conftest.$ac_ext <<_ACEOF
 
10279
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662
10280
/* end confdefs.h.  */
10663
10281
 
10664
10282
/* Override any GCC internal prototype to avoid an error.
10676
10294
  return 0;
10677
10295
}
10678
10296
_ACEOF
10679
 
rm -f conftest.$ac_objext conftest$ac_exeext
10680
 
if { (ac_try="$ac_link"
10681
 
case "(($ac_try" in
10682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10683
 
  *) ac_try_echo=$ac_try;;
10684
 
esac
10685
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10686
 
$as_echo "$ac_try_echo") >&5
10687
 
  (eval "$ac_link") 2>conftest.er1
10688
 
  ac_status=$?
10689
 
  grep -v '^ *+' conftest.er1 >conftest.err
10690
 
  rm -f conftest.er1
10691
 
  cat conftest.err >&5
10692
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693
 
  (exit $ac_status); } && {
10694
 
         test -z "$ac_c_werror_flag" ||
10695
 
         test ! -s conftest.err
10696
 
       } && test -s conftest$ac_exeext && {
10697
 
         test "$cross_compiling" = yes ||
10698
 
         $as_test_x conftest$ac_exeext
10699
 
       }; then
 
10297
if ac_fn_c_try_link "$LINENO"; then :
10700
10298
  ac_cv_lib_dld_shl_load=yes
10701
10299
else
10702
 
  $as_echo "$as_me: failed program was:" >&5
10703
 
sed 's/^/| /' conftest.$ac_ext >&5
10704
 
 
10705
 
        ac_cv_lib_dld_shl_load=no
 
10300
  ac_cv_lib_dld_shl_load=no
10706
10301
fi
10707
 
 
10708
 
rm -rf conftest.dSYM
10709
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10710
 
      conftest$ac_exeext conftest.$ac_ext
 
10302
rm -f core conftest.err conftest.$ac_objext \
 
10303
    conftest$ac_exeext conftest.$ac_ext
10711
10304
LIBS=$ac_check_lib_save_LIBS
10712
10305
fi
10713
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10714
10307
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10715
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10308
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10716
10309
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10717
10310
else
10718
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10719
 
$as_echo_n "checking for dlopen... " >&6; }
10720
 
if test "${ac_cv_func_dlopen+set}" = set; then
10721
 
  $as_echo_n "(cached) " >&6
10722
 
else
10723
 
  cat >conftest.$ac_ext <<_ACEOF
10724
 
/* confdefs.h.  */
10725
 
_ACEOF
10726
 
cat confdefs.h >>conftest.$ac_ext
10727
 
cat >>conftest.$ac_ext <<_ACEOF
10728
 
/* end confdefs.h.  */
10729
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10730
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10731
 
#define dlopen innocuous_dlopen
10732
 
 
10733
 
/* System header to define __stub macros and hopefully few prototypes,
10734
 
    which can conflict with char dlopen (); below.
10735
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10736
 
    <limits.h> exists even on freestanding compilers.  */
10737
 
 
10738
 
#ifdef __STDC__
10739
 
# include <limits.h>
10740
 
#else
10741
 
# include <assert.h>
10742
 
#endif
10743
 
 
10744
 
#undef dlopen
10745
 
 
10746
 
/* Override any GCC internal prototype to avoid an error.
10747
 
   Use char because int might match the return type of a GCC
10748
 
   builtin and then its argument prototype would still apply.  */
10749
 
#ifdef __cplusplus
10750
 
extern "C"
10751
 
#endif
10752
 
char dlopen ();
10753
 
/* The GNU C library defines this for functions which it implements
10754
 
    to always fail with ENOSYS.  Some functions are actually named
10755
 
    something starting with __ and the normal name is an alias.  */
10756
 
#if defined __stub_dlopen || defined __stub___dlopen
10757
 
choke me
10758
 
#endif
10759
 
 
10760
 
int
10761
 
main ()
10762
 
{
10763
 
return dlopen ();
10764
 
  ;
10765
 
  return 0;
10766
 
}
10767
 
_ACEOF
10768
 
rm -f conftest.$ac_objext conftest$ac_exeext
10769
 
if { (ac_try="$ac_link"
10770
 
case "(($ac_try" in
10771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10772
 
  *) ac_try_echo=$ac_try;;
10773
 
esac
10774
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10775
 
$as_echo "$ac_try_echo") >&5
10776
 
  (eval "$ac_link") 2>conftest.er1
10777
 
  ac_status=$?
10778
 
  grep -v '^ *+' conftest.er1 >conftest.err
10779
 
  rm -f conftest.er1
10780
 
  cat conftest.err >&5
10781
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782
 
  (exit $ac_status); } && {
10783
 
         test -z "$ac_c_werror_flag" ||
10784
 
         test ! -s conftest.err
10785
 
       } && test -s conftest$ac_exeext && {
10786
 
         test "$cross_compiling" = yes ||
10787
 
         $as_test_x conftest$ac_exeext
10788
 
       }; then
10789
 
  ac_cv_func_dlopen=yes
10790
 
else
10791
 
  $as_echo "$as_me: failed program was:" >&5
10792
 
sed 's/^/| /' conftest.$ac_ext >&5
10793
 
 
10794
 
        ac_cv_func_dlopen=no
10795
 
fi
10796
 
 
10797
 
rm -rf conftest.dSYM
10798
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10799
 
      conftest$ac_exeext conftest.$ac_ext
10800
 
fi
10801
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10802
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10803
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10311
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10312
if test "x$ac_cv_func_dlopen" = x""yes; then :
10804
10313
  lt_cv_dlopen="dlopen"
10805
10314
else
10806
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10315
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10807
10316
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10808
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10317
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10809
10318
  $as_echo_n "(cached) " >&6
10810
10319
else
10811
10320
  ac_check_lib_save_LIBS=$LIBS
10812
10321
LIBS="-ldl  $LIBS"
10813
 
cat >conftest.$ac_ext <<_ACEOF
10814
 
/* confdefs.h.  */
10815
 
_ACEOF
10816
 
cat confdefs.h >>conftest.$ac_ext
10817
 
cat >>conftest.$ac_ext <<_ACEOF
 
10322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818
10323
/* end confdefs.h.  */
10819
10324
 
10820
10325
/* Override any GCC internal prototype to avoid an error.
10832
10337
  return 0;
10833
10338
}
10834
10339
_ACEOF
10835
 
rm -f conftest.$ac_objext conftest$ac_exeext
10836
 
if { (ac_try="$ac_link"
10837
 
case "(($ac_try" in
10838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10839
 
  *) ac_try_echo=$ac_try;;
10840
 
esac
10841
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10842
 
$as_echo "$ac_try_echo") >&5
10843
 
  (eval "$ac_link") 2>conftest.er1
10844
 
  ac_status=$?
10845
 
  grep -v '^ *+' conftest.er1 >conftest.err
10846
 
  rm -f conftest.er1
10847
 
  cat conftest.err >&5
10848
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849
 
  (exit $ac_status); } && {
10850
 
         test -z "$ac_c_werror_flag" ||
10851
 
         test ! -s conftest.err
10852
 
       } && test -s conftest$ac_exeext && {
10853
 
         test "$cross_compiling" = yes ||
10854
 
         $as_test_x conftest$ac_exeext
10855
 
       }; then
 
10340
if ac_fn_c_try_link "$LINENO"; then :
10856
10341
  ac_cv_lib_dl_dlopen=yes
10857
10342
else
10858
 
  $as_echo "$as_me: failed program was:" >&5
10859
 
sed 's/^/| /' conftest.$ac_ext >&5
10860
 
 
10861
 
        ac_cv_lib_dl_dlopen=no
 
10343
  ac_cv_lib_dl_dlopen=no
10862
10344
fi
10863
 
 
10864
 
rm -rf conftest.dSYM
10865
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10866
 
      conftest$ac_exeext conftest.$ac_ext
 
10345
rm -f core conftest.err conftest.$ac_objext \
 
10346
    conftest$ac_exeext conftest.$ac_ext
10867
10347
LIBS=$ac_check_lib_save_LIBS
10868
10348
fi
10869
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10870
10350
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10871
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10351
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10872
10352
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10873
10353
else
10874
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10354
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10875
10355
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10876
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10356
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10877
10357
  $as_echo_n "(cached) " >&6
10878
10358
else
10879
10359
  ac_check_lib_save_LIBS=$LIBS
10880
10360
LIBS="-lsvld  $LIBS"
10881
 
cat >conftest.$ac_ext <<_ACEOF
10882
 
/* confdefs.h.  */
10883
 
_ACEOF
10884
 
cat confdefs.h >>conftest.$ac_ext
10885
 
cat >>conftest.$ac_ext <<_ACEOF
 
10361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886
10362
/* end confdefs.h.  */
10887
10363
 
10888
10364
/* Override any GCC internal prototype to avoid an error.
10900
10376
  return 0;
10901
10377
}
10902
10378
_ACEOF
10903
 
rm -f conftest.$ac_objext conftest$ac_exeext
10904
 
if { (ac_try="$ac_link"
10905
 
case "(($ac_try" in
10906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10907
 
  *) ac_try_echo=$ac_try;;
10908
 
esac
10909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10910
 
$as_echo "$ac_try_echo") >&5
10911
 
  (eval "$ac_link") 2>conftest.er1
10912
 
  ac_status=$?
10913
 
  grep -v '^ *+' conftest.er1 >conftest.err
10914
 
  rm -f conftest.er1
10915
 
  cat conftest.err >&5
10916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917
 
  (exit $ac_status); } && {
10918
 
         test -z "$ac_c_werror_flag" ||
10919
 
         test ! -s conftest.err
10920
 
       } && test -s conftest$ac_exeext && {
10921
 
         test "$cross_compiling" = yes ||
10922
 
         $as_test_x conftest$ac_exeext
10923
 
       }; then
 
10379
if ac_fn_c_try_link "$LINENO"; then :
10924
10380
  ac_cv_lib_svld_dlopen=yes
10925
10381
else
10926
 
  $as_echo "$as_me: failed program was:" >&5
10927
 
sed 's/^/| /' conftest.$ac_ext >&5
10928
 
 
10929
 
        ac_cv_lib_svld_dlopen=no
 
10382
  ac_cv_lib_svld_dlopen=no
10930
10383
fi
10931
 
 
10932
 
rm -rf conftest.dSYM
10933
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10934
 
      conftest$ac_exeext conftest.$ac_ext
 
10384
rm -f core conftest.err conftest.$ac_objext \
 
10385
    conftest$ac_exeext conftest.$ac_ext
10935
10386
LIBS=$ac_check_lib_save_LIBS
10936
10387
fi
10937
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10938
10389
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10939
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10390
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10940
10391
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10941
10392
else
10942
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10393
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10943
10394
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10944
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10395
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10945
10396
  $as_echo_n "(cached) " >&6
10946
10397
else
10947
10398
  ac_check_lib_save_LIBS=$LIBS
10948
10399
LIBS="-ldld  $LIBS"
10949
 
cat >conftest.$ac_ext <<_ACEOF
10950
 
/* confdefs.h.  */
10951
 
_ACEOF
10952
 
cat confdefs.h >>conftest.$ac_ext
10953
 
cat >>conftest.$ac_ext <<_ACEOF
 
10400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954
10401
/* end confdefs.h.  */
10955
10402
 
10956
10403
/* Override any GCC internal prototype to avoid an error.
10968
10415
  return 0;
10969
10416
}
10970
10417
_ACEOF
10971
 
rm -f conftest.$ac_objext conftest$ac_exeext
10972
 
if { (ac_try="$ac_link"
10973
 
case "(($ac_try" in
10974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10975
 
  *) ac_try_echo=$ac_try;;
10976
 
esac
10977
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10978
 
$as_echo "$ac_try_echo") >&5
10979
 
  (eval "$ac_link") 2>conftest.er1
10980
 
  ac_status=$?
10981
 
  grep -v '^ *+' conftest.er1 >conftest.err
10982
 
  rm -f conftest.er1
10983
 
  cat conftest.err >&5
10984
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985
 
  (exit $ac_status); } && {
10986
 
         test -z "$ac_c_werror_flag" ||
10987
 
         test ! -s conftest.err
10988
 
       } && test -s conftest$ac_exeext && {
10989
 
         test "$cross_compiling" = yes ||
10990
 
         $as_test_x conftest$ac_exeext
10991
 
       }; then
 
10418
if ac_fn_c_try_link "$LINENO"; then :
10992
10419
  ac_cv_lib_dld_dld_link=yes
10993
10420
else
10994
 
  $as_echo "$as_me: failed program was:" >&5
10995
 
sed 's/^/| /' conftest.$ac_ext >&5
10996
 
 
10997
 
        ac_cv_lib_dld_dld_link=no
 
10421
  ac_cv_lib_dld_dld_link=no
10998
10422
fi
10999
 
 
11000
 
rm -rf conftest.dSYM
11001
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11002
 
      conftest$ac_exeext conftest.$ac_ext
 
10423
rm -f core conftest.err conftest.$ac_objext \
 
10424
    conftest$ac_exeext conftest.$ac_ext
11003
10425
LIBS=$ac_check_lib_save_LIBS
11004
10426
fi
11005
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11006
10428
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11007
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10429
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11008
10430
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11009
10431
fi
11010
10432
 
11043
10465
    save_LIBS="$LIBS"
11044
10466
    LIBS="$lt_cv_dlopen_libs $LIBS"
11045
10467
 
11046
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10468
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11047
10469
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11048
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10470
if test "${lt_cv_dlopen_self+set}" = set; then :
11049
10471
  $as_echo_n "(cached) " >&6
11050
10472
else
11051
10473
          if test "$cross_compiling" = yes; then :
11054
10476
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11055
10477
  lt_status=$lt_dlunknown
11056
10478
  cat > conftest.$ac_ext <<_LT_EOF
11057
 
#line 11057 "configure"
 
10479
#line 10479 "configure"
11058
10480
#include "confdefs.h"
11059
10481
 
11060
10482
#if HAVE_DLFCN_H
11113
10535
  return status;
11114
10536
}
11115
10537
_LT_EOF
11116
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10538
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11117
10539
  (eval $ac_link) 2>&5
11118
10540
  ac_status=$?
11119
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10541
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10542
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11121
10543
    (./conftest; exit; ) >&5 2>/dev/null
11122
10544
    lt_status=$?
11123
10545
    case x$lt_status in
11134
10556
 
11135
10557
 
11136
10558
fi
11137
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11138
10560
$as_echo "$lt_cv_dlopen_self" >&6; }
11139
10561
 
11140
10562
    if test "x$lt_cv_dlopen_self" = xyes; then
11141
10563
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11142
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10564
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11143
10565
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11144
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10566
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11145
10567
  $as_echo_n "(cached) " >&6
11146
10568
else
11147
10569
          if test "$cross_compiling" = yes; then :
11150
10572
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11151
10573
  lt_status=$lt_dlunknown
11152
10574
  cat > conftest.$ac_ext <<_LT_EOF
11153
 
#line 11153 "configure"
 
10575
#line 10575 "configure"
11154
10576
#include "confdefs.h"
11155
10577
 
11156
10578
#if HAVE_DLFCN_H
11209
10631
  return status;
11210
10632
}
11211
10633
_LT_EOF
11212
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10634
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11213
10635
  (eval $ac_link) 2>&5
11214
10636
  ac_status=$?
11215
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10638
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11217
10639
    (./conftest; exit; ) >&5 2>/dev/null
11218
10640
    lt_status=$?
11219
10641
    case x$lt_status in
11230
10652
 
11231
10653
 
11232
10654
fi
11233
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11234
10656
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11235
10657
    fi
11236
10658
 
11269
10691
 
11270
10692
striplib=
11271
10693
old_striplib=
11272
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11273
10695
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11274
10696
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11275
10697
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11276
10698
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11277
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11278
10700
$as_echo "yes" >&6; }
11279
10701
else
11280
10702
# FIXME - insert some real tests, host_os isn't really good enough
11283
10705
    if test -n "$STRIP" ; then
11284
10706
      striplib="$STRIP -x"
11285
10707
      old_striplib="$STRIP -S"
11286
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10708
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11287
10709
$as_echo "yes" >&6; }
11288
10710
    else
11289
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10711
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11290
10712
$as_echo "no" >&6; }
11291
10713
    fi
11292
10714
    ;;
11293
10715
  *)
11294
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10716
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295
10717
$as_echo "no" >&6; }
11296
10718
    ;;
11297
10719
  esac
11309
10731
 
11310
10732
 
11311
10733
  # Report which library types will actually be built
11312
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10734
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11313
10735
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11314
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11315
10737
$as_echo "$can_build_shared" >&6; }
11316
10738
 
11317
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11318
10740
$as_echo_n "checking whether to build shared libraries... " >&6; }
11319
10741
  test "$can_build_shared" = "no" && enable_shared=no
11320
10742
 
11335
10757
    fi
11336
10758
    ;;
11337
10759
  esac
11338
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10760
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11339
10761
$as_echo "$enable_shared" >&6; }
11340
10762
 
11341
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10763
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11342
10764
$as_echo_n "checking whether to build static libraries... " >&6; }
11343
10765
  # Make sure either enable_shared or enable_static is yes.
11344
10766
  test "$enable_shared" = yes || enable_static=yes
11345
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11346
10768
$as_echo "$enable_static" >&6; }
11347
10769
 
11348
10770
 
11380
10802
 
11381
10803
 
11382
10804
 
11383
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
10805
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11384
10806
$as_echo_n "checking whether NLS is requested... " >&6; }
11385
10807
    # Check whether --enable-nls was given.
11386
 
if test "${enable_nls+set}" = set; then
 
10808
if test "${enable_nls+set}" = set; then :
11387
10809
  enableval=$enable_nls; USE_NLS=$enableval
11388
10810
else
11389
10811
  USE_NLS=yes
11390
10812
fi
11391
10813
 
11392
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
10814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11393
10815
$as_echo "$USE_NLS" >&6; }
11394
10816
 
11395
10817
 
11427
10849
 
11428
10850
# Extract the first word of "msgfmt", so it can be a program name with args.
11429
10851
set dummy msgfmt; ac_word=$2
11430
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11431
10853
$as_echo_n "checking for $ac_word... " >&6; }
11432
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
10854
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11433
10855
  $as_echo_n "(cached) " >&6
11434
10856
else
11435
10857
  case "$MSGFMT" in
11459
10881
fi
11460
10882
MSGFMT="$ac_cv_path_MSGFMT"
11461
10883
if test "$MSGFMT" != ":"; then
11462
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
10884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11463
10885
$as_echo "$MSGFMT" >&6; }
11464
10886
else
11465
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11466
10888
$as_echo "no" >&6; }
11467
10889
fi
11468
10890
 
11469
10891
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
11470
10892
set dummy gmsgfmt; ac_word=$2
11471
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11472
10894
$as_echo_n "checking for $ac_word... " >&6; }
11473
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
10895
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11474
10896
  $as_echo_n "(cached) " >&6
11475
10897
else
11476
10898
  case $GMSGFMT in
11483
10905
do
11484
10906
  IFS=$as_save_IFS
11485
10907
  test -z "$as_dir" && as_dir=.
11486
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10908
    for ac_exec_ext in '' $ac_executable_extensions; do
11487
10909
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11488
10910
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11489
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10911
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11490
10912
    break 2
11491
10913
  fi
11492
10914
done
11493
 
done
 
10915
  done
11494
10916
IFS=$as_save_IFS
11495
10917
 
11496
10918
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11499
10921
fi
11500
10922
GMSGFMT=$ac_cv_path_GMSGFMT
11501
10923
if test -n "$GMSGFMT"; then
11502
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
10924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11503
10925
$as_echo "$GMSGFMT" >&6; }
11504
10926
else
11505
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11506
10928
$as_echo "no" >&6; }
11507
10929
fi
11508
10930
 
11550
10972
 
11551
10973
# Extract the first word of "xgettext", so it can be a program name with args.
11552
10974
set dummy xgettext; ac_word=$2
11553
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554
10976
$as_echo_n "checking for $ac_word... " >&6; }
11555
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
10977
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11556
10978
  $as_echo_n "(cached) " >&6
11557
10979
else
11558
10980
  case "$XGETTEXT" in
11582
11004
fi
11583
11005
XGETTEXT="$ac_cv_path_XGETTEXT"
11584
11006
if test "$XGETTEXT" != ":"; then
11585
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11586
11008
$as_echo "$XGETTEXT" >&6; }
11587
11009
else
11588
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11010
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11589
11011
$as_echo "no" >&6; }
11590
11012
fi
11591
11013
 
11628
11050
 
11629
11051
# Extract the first word of "msgmerge", so it can be a program name with args.
11630
11052
set dummy msgmerge; ac_word=$2
11631
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11632
11054
$as_echo_n "checking for $ac_word... " >&6; }
11633
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
11055
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11634
11056
  $as_echo_n "(cached) " >&6
11635
11057
else
11636
11058
  case "$MSGMERGE" in
11659
11081
fi
11660
11082
MSGMERGE="$ac_cv_path_MSGMERGE"
11661
11083
if test "$MSGMERGE" != ":"; then
11662
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
11084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11663
11085
$as_echo "$MSGMERGE" >&6; }
11664
11086
else
11665
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666
11088
$as_echo "no" >&6; }
11667
11089
fi
11668
11090
 
11674
11096
 
11675
11097
 
11676
11098
 
11677
 
    { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2 or newer" >&5
 
11099
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
11678
11100
$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
11679
 
if test "${ac_cv_gnu_library_2+set}" = set; then
 
11101
if test "${ac_cv_gnu_library_2+set}" = set; then :
11680
11102
  $as_echo_n "(cached) " >&6
11681
11103
else
11682
 
  cat >conftest.$ac_ext <<_ACEOF
11683
 
/* confdefs.h.  */
11684
 
_ACEOF
11685
 
cat confdefs.h >>conftest.$ac_ext
11686
 
cat >>conftest.$ac_ext <<_ACEOF
 
11104
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687
11105
/* end confdefs.h.  */
11688
11106
 
11689
11107
#include <features.h>
11695
11113
 
11696
11114
_ACEOF
11697
11115
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11698
 
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
 
11116
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
11699
11117
  ac_cv_gnu_library_2=yes
11700
11118
else
11701
11119
  ac_cv_gnu_library_2=no
11705
11123
 
11706
11124
 
11707
11125
fi
11708
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2" >&5
 
11126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2" >&5
11709
11127
$as_echo "$ac_cv_gnu_library_2" >&6; }
11710
11128
 
11711
11129
    GLIBC2="$ac_cv_gnu_library_2"
11714
11132
if test -n "$ac_tool_prefix"; then
11715
11133
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11716
11134
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11717
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11718
11136
$as_echo_n "checking for $ac_word... " >&6; }
11719
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
11137
if test "${ac_cv_prog_RANLIB+set}" = set; then :
11720
11138
  $as_echo_n "(cached) " >&6
11721
11139
else
11722
11140
  if test -n "$RANLIB"; then
11727
11145
do
11728
11146
  IFS=$as_save_IFS
11729
11147
  test -z "$as_dir" && as_dir=.
11730
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11148
    for ac_exec_ext in '' $ac_executable_extensions; do
11731
11149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11732
11150
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11733
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11151
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11734
11152
    break 2
11735
11153
  fi
11736
11154
done
11737
 
done
 
11155
  done
11738
11156
IFS=$as_save_IFS
11739
11157
 
11740
11158
fi
11741
11159
fi
11742
11160
RANLIB=$ac_cv_prog_RANLIB
11743
11161
if test -n "$RANLIB"; then
11744
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
11162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
11745
11163
$as_echo "$RANLIB" >&6; }
11746
11164
else
11747
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748
11166
$as_echo "no" >&6; }
11749
11167
fi
11750
11168
 
11754
11172
  ac_ct_RANLIB=$RANLIB
11755
11173
  # Extract the first word of "ranlib", so it can be a program name with args.
11756
11174
set dummy ranlib; ac_word=$2
11757
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11758
11176
$as_echo_n "checking for $ac_word... " >&6; }
11759
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
11177
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
11760
11178
  $as_echo_n "(cached) " >&6
11761
11179
else
11762
11180
  if test -n "$ac_ct_RANLIB"; then
11767
11185
do
11768
11186
  IFS=$as_save_IFS
11769
11187
  test -z "$as_dir" && as_dir=.
11770
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11188
    for ac_exec_ext in '' $ac_executable_extensions; do
11771
11189
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11772
11190
    ac_cv_prog_ac_ct_RANLIB="ranlib"
11773
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11191
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774
11192
    break 2
11775
11193
  fi
11776
11194
done
11777
 
done
 
11195
  done
11778
11196
IFS=$as_save_IFS
11779
11197
 
11780
11198
fi
11781
11199
fi
11782
11200
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11783
11201
if test -n "$ac_ct_RANLIB"; then
11784
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
11202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
11785
11203
$as_echo "$ac_ct_RANLIB" >&6; }
11786
11204
else
11787
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788
11206
$as_echo "no" >&6; }
11789
11207
fi
11790
11208
 
11793
11211
  else
11794
11212
    case $cross_compiling:$ac_tool_warned in
11795
11213
yes:)
11796
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11214
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11797
11215
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11798
11216
ac_tool_warned=yes ;;
11799
11217
esac
11808
11226
  CFLAG_VISIBILITY=
11809
11227
  HAVE_VISIBILITY=0
11810
11228
  if test -n "$GCC"; then
11811
 
    { $as_echo "$as_me:$LINENO: checking for simple visibility declarations" >&5
 
11229
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
11812
11230
$as_echo_n "checking for simple visibility declarations... " >&6; }
11813
 
    if test "${gl_cv_cc_visibility+set}" = set; then
 
11231
    if test "${gl_cv_cc_visibility+set}" = set; then :
11814
11232
  $as_echo_n "(cached) " >&6
11815
11233
else
11816
11234
 
11817
11235
      gl_save_CFLAGS="$CFLAGS"
11818
11236
      CFLAGS="$CFLAGS -fvisibility=hidden"
11819
 
      cat >conftest.$ac_ext <<_ACEOF
11820
 
/* confdefs.h.  */
11821
 
_ACEOF
11822
 
cat confdefs.h >>conftest.$ac_ext
11823
 
cat >>conftest.$ac_ext <<_ACEOF
 
11237
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824
11238
/* end confdefs.h.  */
11825
11239
extern __attribute__((__visibility__("hidden"))) int hiddenvar;
11826
11240
         extern __attribute__((__visibility__("default"))) int exportedvar;
11834
11248
  return 0;
11835
11249
}
11836
11250
_ACEOF
11837
 
rm -f conftest.$ac_objext
11838
 
if { (ac_try="$ac_compile"
11839
 
case "(($ac_try" in
11840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11841
 
  *) ac_try_echo=$ac_try;;
11842
 
esac
11843
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11844
 
$as_echo "$ac_try_echo") >&5
11845
 
  (eval "$ac_compile") 2>conftest.er1
11846
 
  ac_status=$?
11847
 
  grep -v '^ *+' conftest.er1 >conftest.err
11848
 
  rm -f conftest.er1
11849
 
  cat conftest.err >&5
11850
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851
 
  (exit $ac_status); } && {
11852
 
         test -z "$ac_c_werror_flag" ||
11853
 
         test ! -s conftest.err
11854
 
       } && test -s conftest.$ac_objext; then
 
11251
if ac_fn_c_try_compile "$LINENO"; then :
11855
11252
  gl_cv_cc_visibility=yes
11856
11253
else
11857
 
  $as_echo "$as_me: failed program was:" >&5
11858
 
sed 's/^/| /' conftest.$ac_ext >&5
11859
 
 
11860
 
        gl_cv_cc_visibility=no
 
11254
  gl_cv_cc_visibility=no
11861
11255
fi
11862
 
 
11863
11256
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11864
11257
      CFLAGS="$gl_save_CFLAGS"
11865
11258
fi
11866
11259
 
11867
 
    { $as_echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5
 
11260
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
11868
11261
$as_echo "$gl_cv_cc_visibility" >&6; }
11869
11262
    if test $gl_cv_cc_visibility = yes; then
11870
11263
      CFLAG_VISIBILITY="-fvisibility=hidden"
11879
11272
_ACEOF
11880
11273
 
11881
11274
 
11882
 
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
11275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11883
11276
$as_echo_n "checking for inline... " >&6; }
11884
 
if test "${ac_cv_c_inline+set}" = set; then
 
11277
if test "${ac_cv_c_inline+set}" = set; then :
11885
11278
  $as_echo_n "(cached) " >&6
11886
11279
else
11887
11280
  ac_cv_c_inline=no
11888
11281
for ac_kw in inline __inline__ __inline; do
11889
 
  cat >conftest.$ac_ext <<_ACEOF
11890
 
/* confdefs.h.  */
11891
 
_ACEOF
11892
 
cat confdefs.h >>conftest.$ac_ext
11893
 
cat >>conftest.$ac_ext <<_ACEOF
 
11282
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894
11283
/* end confdefs.h.  */
11895
11284
#ifndef __cplusplus
11896
11285
typedef int foo_t;
11899
11288
#endif
11900
11289
 
11901
11290
_ACEOF
11902
 
rm -f conftest.$ac_objext
11903
 
if { (ac_try="$ac_compile"
11904
 
case "(($ac_try" in
11905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11906
 
  *) ac_try_echo=$ac_try;;
11907
 
esac
11908
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11909
 
$as_echo "$ac_try_echo") >&5
11910
 
  (eval "$ac_compile") 2>conftest.er1
11911
 
  ac_status=$?
11912
 
  grep -v '^ *+' conftest.er1 >conftest.err
11913
 
  rm -f conftest.er1
11914
 
  cat conftest.err >&5
11915
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916
 
  (exit $ac_status); } && {
11917
 
         test -z "$ac_c_werror_flag" ||
11918
 
         test ! -s conftest.err
11919
 
       } && test -s conftest.$ac_objext; then
 
11291
if ac_fn_c_try_compile "$LINENO"; then :
11920
11292
  ac_cv_c_inline=$ac_kw
11921
 
else
11922
 
  $as_echo "$as_me: failed program was:" >&5
11923
 
sed 's/^/| /' conftest.$ac_ext >&5
11924
 
 
11925
 
 
11926
11293
fi
11927
 
 
11928
11294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11929
11295
  test "$ac_cv_c_inline" != no && break
11930
11296
done
11931
11297
 
11932
11298
fi
11933
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
11299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
11934
11300
$as_echo "$ac_cv_c_inline" >&6; }
11935
11301
 
11936
 
 
11937
11302
case $ac_cv_c_inline in
11938
11303
  inline | yes) ;;
11939
11304
  *)
11949
11314
    ;;
11950
11315
esac
11951
11316
 
11952
 
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
11953
 
$as_echo_n "checking for size_t... " >&6; }
11954
 
if test "${ac_cv_type_size_t+set}" = set; then
11955
 
  $as_echo_n "(cached) " >&6
11956
 
else
11957
 
  ac_cv_type_size_t=no
11958
 
cat >conftest.$ac_ext <<_ACEOF
11959
 
/* confdefs.h.  */
11960
 
_ACEOF
11961
 
cat confdefs.h >>conftest.$ac_ext
11962
 
cat >>conftest.$ac_ext <<_ACEOF
11963
 
/* end confdefs.h.  */
11964
 
$ac_includes_default
11965
 
int
11966
 
main ()
11967
 
{
11968
 
if (sizeof (size_t))
11969
 
       return 0;
11970
 
  ;
11971
 
  return 0;
11972
 
}
11973
 
_ACEOF
11974
 
rm -f conftest.$ac_objext
11975
 
if { (ac_try="$ac_compile"
11976
 
case "(($ac_try" in
11977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978
 
  *) ac_try_echo=$ac_try;;
11979
 
esac
11980
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11981
 
$as_echo "$ac_try_echo") >&5
11982
 
  (eval "$ac_compile") 2>conftest.er1
11983
 
  ac_status=$?
11984
 
  grep -v '^ *+' conftest.er1 >conftest.err
11985
 
  rm -f conftest.er1
11986
 
  cat conftest.err >&5
11987
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988
 
  (exit $ac_status); } && {
11989
 
         test -z "$ac_c_werror_flag" ||
11990
 
         test ! -s conftest.err
11991
 
       } && test -s conftest.$ac_objext; then
11992
 
  cat >conftest.$ac_ext <<_ACEOF
11993
 
/* confdefs.h.  */
11994
 
_ACEOF
11995
 
cat confdefs.h >>conftest.$ac_ext
11996
 
cat >>conftest.$ac_ext <<_ACEOF
11997
 
/* end confdefs.h.  */
11998
 
$ac_includes_default
11999
 
int
12000
 
main ()
12001
 
{
12002
 
if (sizeof ((size_t)))
12003
 
          return 0;
12004
 
  ;
12005
 
  return 0;
12006
 
}
12007
 
_ACEOF
12008
 
rm -f conftest.$ac_objext
12009
 
if { (ac_try="$ac_compile"
12010
 
case "(($ac_try" in
12011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12012
 
  *) ac_try_echo=$ac_try;;
12013
 
esac
12014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12015
 
$as_echo "$ac_try_echo") >&5
12016
 
  (eval "$ac_compile") 2>conftest.er1
12017
 
  ac_status=$?
12018
 
  grep -v '^ *+' conftest.er1 >conftest.err
12019
 
  rm -f conftest.er1
12020
 
  cat conftest.err >&5
12021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022
 
  (exit $ac_status); } && {
12023
 
         test -z "$ac_c_werror_flag" ||
12024
 
         test ! -s conftest.err
12025
 
       } && test -s conftest.$ac_objext; then
12026
 
  :
12027
 
else
12028
 
  $as_echo "$as_me: failed program was:" >&5
12029
 
sed 's/^/| /' conftest.$ac_ext >&5
12030
 
 
12031
 
        ac_cv_type_size_t=yes
12032
 
fi
12033
 
 
12034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12035
 
else
12036
 
  $as_echo "$as_me: failed program was:" >&5
12037
 
sed 's/^/| /' conftest.$ac_ext >&5
12038
 
 
12039
 
 
12040
 
fi
12041
 
 
12042
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12043
 
fi
12044
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12045
 
$as_echo "$ac_cv_type_size_t" >&6; }
12046
 
if test "x$ac_cv_type_size_t" = x""yes; then
12047
 
  :
 
11317
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
11318
if test "x$ac_cv_type_size_t" = x""yes; then :
 
11319
 
12048
11320
else
12049
11321
 
12050
11322
cat >>confdefs.h <<_ACEOF
12054
11326
fi
12055
11327
 
12056
11328
 
12057
 
  { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5
 
11329
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12058
11330
$as_echo_n "checking for stdint.h... " >&6; }
12059
 
if test "${gl_cv_header_stdint_h+set}" = set; then
 
11331
if test "${gl_cv_header_stdint_h+set}" = set; then :
12060
11332
  $as_echo_n "(cached) " >&6
12061
11333
else
12062
 
  cat >conftest.$ac_ext <<_ACEOF
12063
 
/* confdefs.h.  */
12064
 
_ACEOF
12065
 
cat confdefs.h >>conftest.$ac_ext
12066
 
cat >>conftest.$ac_ext <<_ACEOF
 
11334
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067
11335
/* end confdefs.h.  */
12068
11336
#include <sys/types.h>
12069
11337
#include <stdint.h>
12075
11343
  return 0;
12076
11344
}
12077
11345
_ACEOF
12078
 
rm -f conftest.$ac_objext
12079
 
if { (ac_try="$ac_compile"
12080
 
case "(($ac_try" in
12081
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12082
 
  *) ac_try_echo=$ac_try;;
12083
 
esac
12084
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12085
 
$as_echo "$ac_try_echo") >&5
12086
 
  (eval "$ac_compile") 2>conftest.er1
12087
 
  ac_status=$?
12088
 
  grep -v '^ *+' conftest.er1 >conftest.err
12089
 
  rm -f conftest.er1
12090
 
  cat conftest.err >&5
12091
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092
 
  (exit $ac_status); } && {
12093
 
         test -z "$ac_c_werror_flag" ||
12094
 
         test ! -s conftest.err
12095
 
       } && test -s conftest.$ac_objext; then
 
11346
if ac_fn_c_try_compile "$LINENO"; then :
12096
11347
  gl_cv_header_stdint_h=yes
12097
11348
else
12098
 
  $as_echo "$as_me: failed program was:" >&5
12099
 
sed 's/^/| /' conftest.$ac_ext >&5
12100
 
 
12101
 
        gl_cv_header_stdint_h=no
 
11349
  gl_cv_header_stdint_h=no
12102
11350
fi
12103
 
 
12104
11351
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12105
11352
fi
12106
 
{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
 
11353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
12107
11354
$as_echo "$gl_cv_header_stdint_h" >&6; }
12108
11355
  if test $gl_cv_header_stdint_h = yes; then
12109
11356
 
12115
11362
 
12116
11363
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12117
11364
# for constant arguments.  Useless!
12118
 
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
11365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12119
11366
$as_echo_n "checking for working alloca.h... " >&6; }
12120
 
if test "${ac_cv_working_alloca_h+set}" = set; then
 
11367
if test "${ac_cv_working_alloca_h+set}" = set; then :
12121
11368
  $as_echo_n "(cached) " >&6
12122
11369
else
12123
 
  cat >conftest.$ac_ext <<_ACEOF
12124
 
/* confdefs.h.  */
12125
 
_ACEOF
12126
 
cat confdefs.h >>conftest.$ac_ext
12127
 
cat >>conftest.$ac_ext <<_ACEOF
 
11370
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128
11371
/* end confdefs.h.  */
12129
11372
#include <alloca.h>
12130
11373
int
12136
11379
  return 0;
12137
11380
}
12138
11381
_ACEOF
12139
 
rm -f conftest.$ac_objext conftest$ac_exeext
12140
 
if { (ac_try="$ac_link"
12141
 
case "(($ac_try" in
12142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12143
 
  *) ac_try_echo=$ac_try;;
12144
 
esac
12145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12146
 
$as_echo "$ac_try_echo") >&5
12147
 
  (eval "$ac_link") 2>conftest.er1
12148
 
  ac_status=$?
12149
 
  grep -v '^ *+' conftest.er1 >conftest.err
12150
 
  rm -f conftest.er1
12151
 
  cat conftest.err >&5
12152
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153
 
  (exit $ac_status); } && {
12154
 
         test -z "$ac_c_werror_flag" ||
12155
 
         test ! -s conftest.err
12156
 
       } && test -s conftest$ac_exeext && {
12157
 
         test "$cross_compiling" = yes ||
12158
 
         $as_test_x conftest$ac_exeext
12159
 
       }; then
 
11382
if ac_fn_c_try_link "$LINENO"; then :
12160
11383
  ac_cv_working_alloca_h=yes
12161
11384
else
12162
 
  $as_echo "$as_me: failed program was:" >&5
12163
 
sed 's/^/| /' conftest.$ac_ext >&5
12164
 
 
12165
 
        ac_cv_working_alloca_h=no
12166
 
fi
12167
 
 
12168
 
rm -rf conftest.dSYM
12169
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12170
 
      conftest$ac_exeext conftest.$ac_ext
12171
 
fi
12172
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
11385
  ac_cv_working_alloca_h=no
 
11386
fi
 
11387
rm -f core conftest.err conftest.$ac_objext \
 
11388
    conftest$ac_exeext conftest.$ac_ext
 
11389
fi
 
11390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12173
11391
$as_echo "$ac_cv_working_alloca_h" >&6; }
12174
11392
if test $ac_cv_working_alloca_h = yes; then
12175
11393
 
12176
 
cat >>confdefs.h <<\_ACEOF
12177
 
#define HAVE_ALLOCA_H 1
12178
 
_ACEOF
 
11394
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12179
11395
 
12180
11396
fi
12181
11397
 
12182
 
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
 
11398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12183
11399
$as_echo_n "checking for alloca... " >&6; }
12184
 
if test "${ac_cv_func_alloca_works+set}" = set; then
 
11400
if test "${ac_cv_func_alloca_works+set}" = set; then :
12185
11401
  $as_echo_n "(cached) " >&6
12186
11402
else
12187
 
  cat >conftest.$ac_ext <<_ACEOF
12188
 
/* confdefs.h.  */
12189
 
_ACEOF
12190
 
cat confdefs.h >>conftest.$ac_ext
12191
 
cat >>conftest.$ac_ext <<_ACEOF
 
11403
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192
11404
/* end confdefs.h.  */
12193
11405
#ifdef __GNUC__
12194
11406
# define alloca __builtin_alloca
12220
11432
  return 0;
12221
11433
}
12222
11434
_ACEOF
12223
 
rm -f conftest.$ac_objext conftest$ac_exeext
12224
 
if { (ac_try="$ac_link"
12225
 
case "(($ac_try" in
12226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12227
 
  *) ac_try_echo=$ac_try;;
12228
 
esac
12229
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12230
 
$as_echo "$ac_try_echo") >&5
12231
 
  (eval "$ac_link") 2>conftest.er1
12232
 
  ac_status=$?
12233
 
  grep -v '^ *+' conftest.er1 >conftest.err
12234
 
  rm -f conftest.er1
12235
 
  cat conftest.err >&5
12236
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237
 
  (exit $ac_status); } && {
12238
 
         test -z "$ac_c_werror_flag" ||
12239
 
         test ! -s conftest.err
12240
 
       } && test -s conftest$ac_exeext && {
12241
 
         test "$cross_compiling" = yes ||
12242
 
         $as_test_x conftest$ac_exeext
12243
 
       }; then
 
11435
if ac_fn_c_try_link "$LINENO"; then :
12244
11436
  ac_cv_func_alloca_works=yes
12245
11437
else
12246
 
  $as_echo "$as_me: failed program was:" >&5
12247
 
sed 's/^/| /' conftest.$ac_ext >&5
12248
 
 
12249
 
        ac_cv_func_alloca_works=no
12250
 
fi
12251
 
 
12252
 
rm -rf conftest.dSYM
12253
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12254
 
      conftest$ac_exeext conftest.$ac_ext
12255
 
fi
12256
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
11438
  ac_cv_func_alloca_works=no
 
11439
fi
 
11440
rm -f core conftest.err conftest.$ac_objext \
 
11441
    conftest$ac_exeext conftest.$ac_ext
 
11442
fi
 
11443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12257
11444
$as_echo "$ac_cv_func_alloca_works" >&6; }
12258
11445
 
12259
11446
if test $ac_cv_func_alloca_works = yes; then
12260
11447
 
12261
 
cat >>confdefs.h <<\_ACEOF
12262
 
#define HAVE_ALLOCA 1
12263
 
_ACEOF
 
11448
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12264
11449
 
12265
11450
else
12266
11451
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12270
11455
 
12271
11456
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
12272
11457
 
12273
 
cat >>confdefs.h <<\_ACEOF
12274
 
#define C_ALLOCA 1
12275
 
_ACEOF
12276
 
 
12277
 
 
12278
 
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
11458
$as_echo "#define C_ALLOCA 1" >>confdefs.h
 
11459
 
 
11460
 
 
11461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12279
11462
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12280
 
if test "${ac_cv_os_cray+set}" = set; then
 
11463
if test "${ac_cv_os_cray+set}" = set; then :
12281
11464
  $as_echo_n "(cached) " >&6
12282
11465
else
12283
 
  cat >conftest.$ac_ext <<_ACEOF
12284
 
/* confdefs.h.  */
12285
 
_ACEOF
12286
 
cat confdefs.h >>conftest.$ac_ext
12287
 
cat >>conftest.$ac_ext <<_ACEOF
 
11466
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288
11467
/* end confdefs.h.  */
12289
11468
#if defined CRAY && ! defined CRAY2
12290
11469
webecray
12294
11473
 
12295
11474
_ACEOF
12296
11475
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12297
 
  $EGREP "webecray" >/dev/null 2>&1; then
 
11476
  $EGREP "webecray" >/dev/null 2>&1; then :
12298
11477
  ac_cv_os_cray=yes
12299
11478
else
12300
11479
  ac_cv_os_cray=no
12302
11481
rm -f conftest*
12303
11482
 
12304
11483
fi
12305
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
11484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12306
11485
$as_echo "$ac_cv_os_cray" >&6; }
12307
11486
if test $ac_cv_os_cray = yes; then
12308
11487
  for ac_func in _getb67 GETB67 getb67; do
12309
11488
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12310
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12311
 
$as_echo_n "checking for $ac_func... " >&6; }
12312
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12313
 
  $as_echo_n "(cached) " >&6
12314
 
else
12315
 
  cat >conftest.$ac_ext <<_ACEOF
12316
 
/* confdefs.h.  */
12317
 
_ACEOF
12318
 
cat confdefs.h >>conftest.$ac_ext
12319
 
cat >>conftest.$ac_ext <<_ACEOF
12320
 
/* end confdefs.h.  */
12321
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12322
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12323
 
#define $ac_func innocuous_$ac_func
12324
 
 
12325
 
/* System header to define __stub macros and hopefully few prototypes,
12326
 
    which can conflict with char $ac_func (); below.
12327
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12328
 
    <limits.h> exists even on freestanding compilers.  */
12329
 
 
12330
 
#ifdef __STDC__
12331
 
# include <limits.h>
12332
 
#else
12333
 
# include <assert.h>
12334
 
#endif
12335
 
 
12336
 
#undef $ac_func
12337
 
 
12338
 
/* Override any GCC internal prototype to avoid an error.
12339
 
   Use char because int might match the return type of a GCC
12340
 
   builtin and then its argument prototype would still apply.  */
12341
 
#ifdef __cplusplus
12342
 
extern "C"
12343
 
#endif
12344
 
char $ac_func ();
12345
 
/* The GNU C library defines this for functions which it implements
12346
 
    to always fail with ENOSYS.  Some functions are actually named
12347
 
    something starting with __ and the normal name is an alias.  */
12348
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12349
 
choke me
12350
 
#endif
12351
 
 
12352
 
int
12353
 
main ()
12354
 
{
12355
 
return $ac_func ();
12356
 
  ;
12357
 
  return 0;
12358
 
}
12359
 
_ACEOF
12360
 
rm -f conftest.$ac_objext conftest$ac_exeext
12361
 
if { (ac_try="$ac_link"
12362
 
case "(($ac_try" in
12363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12364
 
  *) ac_try_echo=$ac_try;;
12365
 
esac
12366
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12367
 
$as_echo "$ac_try_echo") >&5
12368
 
  (eval "$ac_link") 2>conftest.er1
12369
 
  ac_status=$?
12370
 
  grep -v '^ *+' conftest.er1 >conftest.err
12371
 
  rm -f conftest.er1
12372
 
  cat conftest.err >&5
12373
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374
 
  (exit $ac_status); } && {
12375
 
         test -z "$ac_c_werror_flag" ||
12376
 
         test ! -s conftest.err
12377
 
       } && test -s conftest$ac_exeext && {
12378
 
         test "$cross_compiling" = yes ||
12379
 
         $as_test_x conftest$ac_exeext
12380
 
       }; then
12381
 
  eval "$as_ac_var=yes"
12382
 
else
12383
 
  $as_echo "$as_me: failed program was:" >&5
12384
 
sed 's/^/| /' conftest.$ac_ext >&5
12385
 
 
12386
 
        eval "$as_ac_var=no"
12387
 
fi
12388
 
 
12389
 
rm -rf conftest.dSYM
12390
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12391
 
      conftest$ac_exeext conftest.$ac_ext
12392
 
fi
12393
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12394
 
                 $as_echo "$as_val"'`
12395
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12396
 
$as_echo "$ac_res" >&6; }
12397
 
as_val=`eval 'as_val=${'$as_ac_var'}
12398
 
                 $as_echo "$as_val"'`
12399
 
   if test "x$as_val" = x""yes; then
 
11489
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
11490
eval as_val=\$$as_ac_var
 
11491
   if test "x$as_val" = x""yes; then :
12400
11492
 
12401
11493
cat >>confdefs.h <<_ACEOF
12402
11494
#define CRAY_STACKSEG_END $ac_func
12408
11500
  done
12409
11501
fi
12410
11502
 
12411
 
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
11503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12412
11504
$as_echo_n "checking stack direction for C alloca... " >&6; }
12413
 
if test "${ac_cv_c_stack_direction+set}" = set; then
 
11505
if test "${ac_cv_c_stack_direction+set}" = set; then :
12414
11506
  $as_echo_n "(cached) " >&6
12415
11507
else
12416
 
  if test "$cross_compiling" = yes; then
 
11508
  if test "$cross_compiling" = yes; then :
12417
11509
  ac_cv_c_stack_direction=0
12418
11510
else
12419
 
  cat >conftest.$ac_ext <<_ACEOF
12420
 
/* confdefs.h.  */
12421
 
_ACEOF
12422
 
cat confdefs.h >>conftest.$ac_ext
12423
 
cat >>conftest.$ac_ext <<_ACEOF
 
11511
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424
11512
/* end confdefs.h.  */
12425
11513
$ac_includes_default
12426
11514
int
12443
11531
  return find_stack_direction () < 0;
12444
11532
}
12445
11533
_ACEOF
12446
 
rm -f conftest$ac_exeext
12447
 
if { (ac_try="$ac_link"
12448
 
case "(($ac_try" in
12449
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12450
 
  *) ac_try_echo=$ac_try;;
12451
 
esac
12452
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12453
 
$as_echo "$ac_try_echo") >&5
12454
 
  (eval "$ac_link") 2>&5
12455
 
  ac_status=$?
12456
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12458
 
  { (case "(($ac_try" in
12459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12460
 
  *) ac_try_echo=$ac_try;;
12461
 
esac
12462
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12463
 
$as_echo "$ac_try_echo") >&5
12464
 
  (eval "$ac_try") 2>&5
12465
 
  ac_status=$?
12466
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467
 
  (exit $ac_status); }; }; then
 
11534
if ac_fn_c_try_run "$LINENO"; then :
12468
11535
  ac_cv_c_stack_direction=1
12469
11536
else
12470
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12471
 
$as_echo "$as_me: failed program was:" >&5
12472
 
sed 's/^/| /' conftest.$ac_ext >&5
12473
 
 
12474
 
( exit $ac_status )
12475
 
ac_cv_c_stack_direction=-1
12476
 
fi
12477
 
rm -rf conftest.dSYM
12478
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12479
 
fi
12480
 
 
12481
 
 
12482
 
fi
12483
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
11537
  ac_cv_c_stack_direction=-1
 
11538
fi
 
11539
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11540
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11541
fi
 
11542
 
 
11543
fi
 
11544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12484
11545
$as_echo "$ac_cv_c_stack_direction" >&6; }
12485
 
 
12486
11546
cat >>confdefs.h <<_ACEOF
12487
11547
#define STACK_DIRECTION $ac_cv_c_stack_direction
12488
11548
_ACEOF
12490
11550
 
12491
11551
fi
12492
11552
 
12493
 
 
12494
 
 
12495
11553
for ac_header in stdlib.h unistd.h
12496
 
do
12497
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12498
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12499
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12500
 
$as_echo_n "checking for $ac_header... " >&6; }
12501
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12502
 
  $as_echo_n "(cached) " >&6
12503
 
fi
12504
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12505
 
                 $as_echo "$as_val"'`
12506
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12507
 
$as_echo "$ac_res" >&6; }
12508
 
else
12509
 
  # Is the header compilable?
12510
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12511
 
$as_echo_n "checking $ac_header usability... " >&6; }
12512
 
cat >conftest.$ac_ext <<_ACEOF
12513
 
/* confdefs.h.  */
12514
 
_ACEOF
12515
 
cat confdefs.h >>conftest.$ac_ext
12516
 
cat >>conftest.$ac_ext <<_ACEOF
12517
 
/* end confdefs.h.  */
12518
 
$ac_includes_default
12519
 
#include <$ac_header>
12520
 
_ACEOF
12521
 
rm -f conftest.$ac_objext
12522
 
if { (ac_try="$ac_compile"
12523
 
case "(($ac_try" in
12524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525
 
  *) ac_try_echo=$ac_try;;
12526
 
esac
12527
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12528
 
$as_echo "$ac_try_echo") >&5
12529
 
  (eval "$ac_compile") 2>conftest.er1
12530
 
  ac_status=$?
12531
 
  grep -v '^ *+' conftest.er1 >conftest.err
12532
 
  rm -f conftest.er1
12533
 
  cat conftest.err >&5
12534
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535
 
  (exit $ac_status); } && {
12536
 
         test -z "$ac_c_werror_flag" ||
12537
 
         test ! -s conftest.err
12538
 
       } && test -s conftest.$ac_objext; then
12539
 
  ac_header_compiler=yes
12540
 
else
12541
 
  $as_echo "$as_me: failed program was:" >&5
12542
 
sed 's/^/| /' conftest.$ac_ext >&5
12543
 
 
12544
 
        ac_header_compiler=no
12545
 
fi
12546
 
 
12547
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12548
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12549
 
$as_echo "$ac_header_compiler" >&6; }
12550
 
 
12551
 
# Is the header present?
12552
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12553
 
$as_echo_n "checking $ac_header presence... " >&6; }
12554
 
cat >conftest.$ac_ext <<_ACEOF
12555
 
/* confdefs.h.  */
12556
 
_ACEOF
12557
 
cat confdefs.h >>conftest.$ac_ext
12558
 
cat >>conftest.$ac_ext <<_ACEOF
12559
 
/* end confdefs.h.  */
12560
 
#include <$ac_header>
12561
 
_ACEOF
12562
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12563
 
case "(($ac_try" in
12564
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12565
 
  *) ac_try_echo=$ac_try;;
12566
 
esac
12567
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12568
 
$as_echo "$ac_try_echo") >&5
12569
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12570
 
  ac_status=$?
12571
 
  grep -v '^ *+' conftest.er1 >conftest.err
12572
 
  rm -f conftest.er1
12573
 
  cat conftest.err >&5
12574
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575
 
  (exit $ac_status); } >/dev/null && {
12576
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12577
 
         test ! -s conftest.err
12578
 
       }; then
12579
 
  ac_header_preproc=yes
12580
 
else
12581
 
  $as_echo "$as_me: failed program was:" >&5
12582
 
sed 's/^/| /' conftest.$ac_ext >&5
12583
 
 
12584
 
  ac_header_preproc=no
12585
 
fi
12586
 
 
12587
 
rm -f conftest.err conftest.$ac_ext
12588
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12589
 
$as_echo "$ac_header_preproc" >&6; }
12590
 
 
12591
 
# So?  What about this header?
12592
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12593
 
  yes:no: )
12594
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12595
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12596
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12597
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12598
 
    ac_header_preproc=yes
12599
 
    ;;
12600
 
  no:yes:* )
12601
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12602
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12603
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12604
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12605
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12606
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12607
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12608
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12609
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12610
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12611
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12612
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12613
 
    ( cat <<\_ASBOX
12614
 
## -------------------------------------------- ##
12615
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
12616
 
## -------------------------------------------- ##
12617
 
_ASBOX
12618
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12619
 
    ;;
12620
 
esac
12621
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12622
 
$as_echo_n "checking for $ac_header... " >&6; }
12623
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12624
 
  $as_echo_n "(cached) " >&6
12625
 
else
12626
 
  eval "$as_ac_Header=\$ac_header_preproc"
12627
 
fi
12628
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12629
 
                 $as_echo "$as_val"'`
12630
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12631
 
$as_echo "$ac_res" >&6; }
12632
 
 
12633
 
fi
12634
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12635
 
                 $as_echo "$as_val"'`
12636
 
   if test "x$as_val" = x""yes; then
 
11554
do :
 
11555
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11556
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
11557
eval as_val=\$$as_ac_Header
 
11558
   if test "x$as_val" = x""yes; then :
12637
11559
  cat >>confdefs.h <<_ACEOF
12638
11560
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12639
11561
_ACEOF
12642
11564
 
12643
11565
done
12644
11566
 
12645
 
 
12646
11567
for ac_func in getpagesize
12647
 
do
12648
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12649
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12650
 
$as_echo_n "checking for $ac_func... " >&6; }
12651
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12652
 
  $as_echo_n "(cached) " >&6
12653
 
else
12654
 
  cat >conftest.$ac_ext <<_ACEOF
12655
 
/* confdefs.h.  */
12656
 
_ACEOF
12657
 
cat confdefs.h >>conftest.$ac_ext
12658
 
cat >>conftest.$ac_ext <<_ACEOF
12659
 
/* end confdefs.h.  */
12660
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12661
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12662
 
#define $ac_func innocuous_$ac_func
12663
 
 
12664
 
/* System header to define __stub macros and hopefully few prototypes,
12665
 
    which can conflict with char $ac_func (); below.
12666
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12667
 
    <limits.h> exists even on freestanding compilers.  */
12668
 
 
12669
 
#ifdef __STDC__
12670
 
# include <limits.h>
12671
 
#else
12672
 
# include <assert.h>
12673
 
#endif
12674
 
 
12675
 
#undef $ac_func
12676
 
 
12677
 
/* Override any GCC internal prototype to avoid an error.
12678
 
   Use char because int might match the return type of a GCC
12679
 
   builtin and then its argument prototype would still apply.  */
12680
 
#ifdef __cplusplus
12681
 
extern "C"
12682
 
#endif
12683
 
char $ac_func ();
12684
 
/* The GNU C library defines this for functions which it implements
12685
 
    to always fail with ENOSYS.  Some functions are actually named
12686
 
    something starting with __ and the normal name is an alias.  */
12687
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12688
 
choke me
12689
 
#endif
12690
 
 
12691
 
int
12692
 
main ()
12693
 
{
12694
 
return $ac_func ();
12695
 
  ;
12696
 
  return 0;
12697
 
}
12698
 
_ACEOF
12699
 
rm -f conftest.$ac_objext conftest$ac_exeext
12700
 
if { (ac_try="$ac_link"
12701
 
case "(($ac_try" in
12702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703
 
  *) ac_try_echo=$ac_try;;
12704
 
esac
12705
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12706
 
$as_echo "$ac_try_echo") >&5
12707
 
  (eval "$ac_link") 2>conftest.er1
12708
 
  ac_status=$?
12709
 
  grep -v '^ *+' conftest.er1 >conftest.err
12710
 
  rm -f conftest.er1
12711
 
  cat conftest.err >&5
12712
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713
 
  (exit $ac_status); } && {
12714
 
         test -z "$ac_c_werror_flag" ||
12715
 
         test ! -s conftest.err
12716
 
       } && test -s conftest$ac_exeext && {
12717
 
         test "$cross_compiling" = yes ||
12718
 
         $as_test_x conftest$ac_exeext
12719
 
       }; then
12720
 
  eval "$as_ac_var=yes"
12721
 
else
12722
 
  $as_echo "$as_me: failed program was:" >&5
12723
 
sed 's/^/| /' conftest.$ac_ext >&5
12724
 
 
12725
 
        eval "$as_ac_var=no"
12726
 
fi
12727
 
 
12728
 
rm -rf conftest.dSYM
12729
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12730
 
      conftest$ac_exeext conftest.$ac_ext
12731
 
fi
12732
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12733
 
                 $as_echo "$as_val"'`
12734
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12735
 
$as_echo "$ac_res" >&6; }
12736
 
as_val=`eval 'as_val=${'$as_ac_var'}
12737
 
                 $as_echo "$as_val"'`
12738
 
   if test "x$as_val" = x""yes; then
 
11568
do :
 
11569
  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
 
11570
if test "x$ac_cv_func_getpagesize" = x""yes; then :
12739
11571
  cat >>confdefs.h <<_ACEOF
12740
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11572
#define HAVE_GETPAGESIZE 1
12741
11573
_ACEOF
12742
11574
 
12743
11575
fi
12744
11576
done
12745
11577
 
12746
 
{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
 
11578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12747
11579
$as_echo_n "checking for working mmap... " >&6; }
12748
 
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
 
11580
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12749
11581
  $as_echo_n "(cached) " >&6
12750
11582
else
12751
 
  if test "$cross_compiling" = yes; then
 
11583
  if test "$cross_compiling" = yes; then :
12752
11584
  ac_cv_func_mmap_fixed_mapped=no
12753
11585
else
12754
 
  cat >conftest.$ac_ext <<_ACEOF
12755
 
/* confdefs.h.  */
12756
 
_ACEOF
12757
 
cat confdefs.h >>conftest.$ac_ext
12758
 
cat >>conftest.$ac_ext <<_ACEOF
 
11586
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759
11587
/* end confdefs.h.  */
12760
11588
$ac_includes_default
12761
11589
/* malloc might have been renamed as rpl_malloc. */
12884
11712
  return 0;
12885
11713
}
12886
11714
_ACEOF
12887
 
rm -f conftest$ac_exeext
12888
 
if { (ac_try="$ac_link"
12889
 
case "(($ac_try" in
12890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891
 
  *) ac_try_echo=$ac_try;;
12892
 
esac
12893
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12894
 
$as_echo "$ac_try_echo") >&5
12895
 
  (eval "$ac_link") 2>&5
12896
 
  ac_status=$?
12897
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12899
 
  { (case "(($ac_try" in
12900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12901
 
  *) ac_try_echo=$ac_try;;
12902
 
esac
12903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12904
 
$as_echo "$ac_try_echo") >&5
12905
 
  (eval "$ac_try") 2>&5
12906
 
  ac_status=$?
12907
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908
 
  (exit $ac_status); }; }; then
 
11715
if ac_fn_c_try_run "$LINENO"; then :
12909
11716
  ac_cv_func_mmap_fixed_mapped=yes
12910
11717
else
12911
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12912
 
$as_echo "$as_me: failed program was:" >&5
12913
 
sed 's/^/| /' conftest.$ac_ext >&5
12914
 
 
12915
 
( exit $ac_status )
12916
 
ac_cv_func_mmap_fixed_mapped=no
12917
 
fi
12918
 
rm -rf conftest.dSYM
12919
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12920
 
fi
12921
 
 
12922
 
 
12923
 
fi
12924
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
11718
  ac_cv_func_mmap_fixed_mapped=no
 
11719
fi
 
11720
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11721
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11722
fi
 
11723
 
 
11724
fi
 
11725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12925
11726
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12926
11727
if test $ac_cv_func_mmap_fixed_mapped = yes; then
12927
11728
 
12928
 
cat >>confdefs.h <<\_ACEOF
12929
 
#define HAVE_MMAP 1
12930
 
_ACEOF
 
11729
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
12931
11730
 
12932
11731
fi
12933
11732
rm -f conftest.mmap
12934
11733
 
12935
11734
 
12936
11735
 
12937
 
  { $as_echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
 
11736
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
12938
11737
$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
12939
 
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
 
11738
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
12940
11739
  $as_echo_n "(cached) " >&6
12941
11740
else
12942
11741
 
12943
 
      if test "$cross_compiling" = yes; then
 
11742
      if test "$cross_compiling" = yes; then :
12944
11743
 
12945
11744
          # Guess based on the CPU.
12946
11745
          case "$host_cpu" in
12951
11750
          esac
12952
11751
 
12953
11752
else
12954
 
  cat >conftest.$ac_ext <<_ACEOF
12955
 
/* confdefs.h.  */
12956
 
_ACEOF
12957
 
cat confdefs.h >>conftest.$ac_ext
12958
 
cat >>conftest.$ac_ext <<_ACEOF
 
11753
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959
11754
/* end confdefs.h.  */
12960
11755
 
12961
11756
#include <stdlib.h>
12995
11790
}
12996
11791
 
12997
11792
_ACEOF
12998
 
rm -f conftest$ac_exeext
12999
 
if { (ac_try="$ac_link"
13000
 
case "(($ac_try" in
13001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13002
 
  *) ac_try_echo=$ac_try;;
13003
 
esac
13004
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13005
 
$as_echo "$ac_try_echo") >&5
13006
 
  (eval "$ac_link") 2>&5
13007
 
  ac_status=$?
13008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13010
 
  { (case "(($ac_try" in
13011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012
 
  *) ac_try_echo=$ac_try;;
13013
 
esac
13014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13015
 
$as_echo "$ac_try_echo") >&5
13016
 
  (eval "$ac_try") 2>&5
13017
 
  ac_status=$?
13018
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019
 
  (exit $ac_status); }; }; then
 
11793
if ac_fn_c_try_run "$LINENO"; then :
13020
11794
  gt_cv_int_divbyzero_sigfpe=yes
13021
11795
else
13022
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
13023
 
$as_echo "$as_me: failed program was:" >&5
13024
 
sed 's/^/| /' conftest.$ac_ext >&5
13025
 
 
13026
 
( exit $ac_status )
13027
 
gt_cv_int_divbyzero_sigfpe=no
13028
 
fi
13029
 
rm -rf conftest.dSYM
13030
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13031
 
fi
13032
 
 
13033
 
 
13034
 
 
13035
 
fi
13036
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
 
11796
  gt_cv_int_divbyzero_sigfpe=no
 
11797
fi
 
11798
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11799
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11800
fi
 
11801
 
 
11802
 
 
11803
fi
 
11804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
13037
11805
$as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
13038
11806
  case "$gt_cv_int_divbyzero_sigfpe" in
13039
11807
    *yes) value=1;;
13046
11814
 
13047
11815
 
13048
11816
 
13049
 
  { $as_echo "$as_me:$LINENO: checking for inttypes.h" >&5
 
11817
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13050
11818
$as_echo_n "checking for inttypes.h... " >&6; }
13051
 
if test "${gl_cv_header_inttypes_h+set}" = set; then
 
11819
if test "${gl_cv_header_inttypes_h+set}" = set; then :
13052
11820
  $as_echo_n "(cached) " >&6
13053
11821
else
13054
 
  cat >conftest.$ac_ext <<_ACEOF
13055
 
/* confdefs.h.  */
13056
 
_ACEOF
13057
 
cat confdefs.h >>conftest.$ac_ext
13058
 
cat >>conftest.$ac_ext <<_ACEOF
 
11822
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059
11823
/* end confdefs.h.  */
13060
11824
#include <sys/types.h>
13061
11825
#include <inttypes.h>
13067
11831
  return 0;
13068
11832
}
13069
11833
_ACEOF
13070
 
rm -f conftest.$ac_objext
13071
 
if { (ac_try="$ac_compile"
13072
 
case "(($ac_try" in
13073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13074
 
  *) ac_try_echo=$ac_try;;
13075
 
esac
13076
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13077
 
$as_echo "$ac_try_echo") >&5
13078
 
  (eval "$ac_compile") 2>conftest.er1
13079
 
  ac_status=$?
13080
 
  grep -v '^ *+' conftest.er1 >conftest.err
13081
 
  rm -f conftest.er1
13082
 
  cat conftest.err >&5
13083
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084
 
  (exit $ac_status); } && {
13085
 
         test -z "$ac_c_werror_flag" ||
13086
 
         test ! -s conftest.err
13087
 
       } && test -s conftest.$ac_objext; then
 
11834
if ac_fn_c_try_compile "$LINENO"; then :
13088
11835
  gl_cv_header_inttypes_h=yes
13089
11836
else
13090
 
  $as_echo "$as_me: failed program was:" >&5
13091
 
sed 's/^/| /' conftest.$ac_ext >&5
13092
 
 
13093
 
        gl_cv_header_inttypes_h=no
 
11837
  gl_cv_header_inttypes_h=no
13094
11838
fi
13095
 
 
13096
11839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13097
11840
fi
13098
 
{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
 
11841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
13099
11842
$as_echo "$gl_cv_header_inttypes_h" >&6; }
13100
11843
  if test $gl_cv_header_inttypes_h = yes; then
13101
11844
 
13106
11849
  fi
13107
11850
 
13108
11851
 
13109
 
  { $as_echo "$as_me:$LINENO: checking for unsigned long long int" >&5
 
11852
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
13110
11853
$as_echo_n "checking for unsigned long long int... " >&6; }
13111
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
 
11854
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
13112
11855
  $as_echo_n "(cached) " >&6
13113
11856
else
13114
 
  cat >conftest.$ac_ext <<_ACEOF
13115
 
/* confdefs.h.  */
13116
 
_ACEOF
13117
 
cat confdefs.h >>conftest.$ac_ext
13118
 
cat >>conftest.$ac_ext <<_ACEOF
 
11857
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119
11858
/* end confdefs.h.  */
13120
11859
unsigned long long int ull = 18446744073709551615ULL;
13121
11860
            typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
13131
11870
  return 0;
13132
11871
}
13133
11872
_ACEOF
13134
 
rm -f conftest.$ac_objext conftest$ac_exeext
13135
 
if { (ac_try="$ac_link"
13136
 
case "(($ac_try" in
13137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13138
 
  *) ac_try_echo=$ac_try;;
13139
 
esac
13140
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13141
 
$as_echo "$ac_try_echo") >&5
13142
 
  (eval "$ac_link") 2>conftest.er1
13143
 
  ac_status=$?
13144
 
  grep -v '^ *+' conftest.er1 >conftest.err
13145
 
  rm -f conftest.er1
13146
 
  cat conftest.err >&5
13147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148
 
  (exit $ac_status); } && {
13149
 
         test -z "$ac_c_werror_flag" ||
13150
 
         test ! -s conftest.err
13151
 
       } && test -s conftest$ac_exeext && {
13152
 
         test "$cross_compiling" = yes ||
13153
 
         $as_test_x conftest$ac_exeext
13154
 
       }; then
 
11873
if ac_fn_c_try_link "$LINENO"; then :
13155
11874
  ac_cv_type_unsigned_long_long_int=yes
13156
11875
else
13157
 
  $as_echo "$as_me: failed program was:" >&5
13158
 
sed 's/^/| /' conftest.$ac_ext >&5
13159
 
 
13160
 
        ac_cv_type_unsigned_long_long_int=no
13161
 
fi
13162
 
 
13163
 
rm -rf conftest.dSYM
13164
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13165
 
      conftest$ac_exeext conftest.$ac_ext
13166
 
fi
13167
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
 
11876
  ac_cv_type_unsigned_long_long_int=no
 
11877
fi
 
11878
rm -f core conftest.err conftest.$ac_objext \
 
11879
    conftest$ac_exeext conftest.$ac_ext
 
11880
fi
 
11881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
13168
11882
$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
13169
11883
  if test $ac_cv_type_unsigned_long_long_int = yes; then
13170
11884
 
13171
 
cat >>confdefs.h <<\_ACEOF
13172
 
#define HAVE_UNSIGNED_LONG_LONG_INT 1
13173
 
_ACEOF
 
11885
$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
13174
11886
 
13175
11887
  fi
13176
11888
 
13179
11891
  ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
13180
11892
  if test $ac_cv_type_unsigned_long_long = yes; then
13181
11893
 
13182
 
cat >>confdefs.h <<\_ACEOF
13183
 
#define HAVE_UNSIGNED_LONG_LONG 1
13184
 
_ACEOF
 
11894
$as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
13185
11895
 
13186
11896
  fi
13187
11897
 
13200
11910
 
13201
11911
  else
13202
11912
 
13203
 
cat >>confdefs.h <<\_ACEOF
13204
 
#define HAVE_UINTMAX_T 1
13205
 
_ACEOF
 
11913
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
13206
11914
 
13207
11915
  fi
13208
11916
 
13209
11917
 
13210
 
 
13211
 
for ac_header in inttypes.h
13212
 
do
13213
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13214
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13215
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13216
 
$as_echo_n "checking for $ac_header... " >&6; }
13217
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13218
 
  $as_echo_n "(cached) " >&6
13219
 
fi
13220
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13221
 
                 $as_echo "$as_val"'`
13222
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13223
 
$as_echo "$ac_res" >&6; }
13224
 
else
13225
 
  # Is the header compilable?
13226
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13227
 
$as_echo_n "checking $ac_header usability... " >&6; }
13228
 
cat >conftest.$ac_ext <<_ACEOF
13229
 
/* confdefs.h.  */
13230
 
_ACEOF
13231
 
cat confdefs.h >>conftest.$ac_ext
13232
 
cat >>conftest.$ac_ext <<_ACEOF
13233
 
/* end confdefs.h.  */
13234
 
$ac_includes_default
13235
 
#include <$ac_header>
13236
 
_ACEOF
13237
 
rm -f conftest.$ac_objext
13238
 
if { (ac_try="$ac_compile"
13239
 
case "(($ac_try" in
13240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241
 
  *) ac_try_echo=$ac_try;;
13242
 
esac
13243
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13244
 
$as_echo "$ac_try_echo") >&5
13245
 
  (eval "$ac_compile") 2>conftest.er1
13246
 
  ac_status=$?
13247
 
  grep -v '^ *+' conftest.er1 >conftest.err
13248
 
  rm -f conftest.er1
13249
 
  cat conftest.err >&5
13250
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251
 
  (exit $ac_status); } && {
13252
 
         test -z "$ac_c_werror_flag" ||
13253
 
         test ! -s conftest.err
13254
 
       } && test -s conftest.$ac_objext; then
13255
 
  ac_header_compiler=yes
13256
 
else
13257
 
  $as_echo "$as_me: failed program was:" >&5
13258
 
sed 's/^/| /' conftest.$ac_ext >&5
13259
 
 
13260
 
        ac_header_compiler=no
13261
 
fi
13262
 
 
13263
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13264
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13265
 
$as_echo "$ac_header_compiler" >&6; }
13266
 
 
13267
 
# Is the header present?
13268
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13269
 
$as_echo_n "checking $ac_header presence... " >&6; }
13270
 
cat >conftest.$ac_ext <<_ACEOF
13271
 
/* confdefs.h.  */
13272
 
_ACEOF
13273
 
cat confdefs.h >>conftest.$ac_ext
13274
 
cat >>conftest.$ac_ext <<_ACEOF
13275
 
/* end confdefs.h.  */
13276
 
#include <$ac_header>
13277
 
_ACEOF
13278
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13279
 
case "(($ac_try" in
13280
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13281
 
  *) ac_try_echo=$ac_try;;
13282
 
esac
13283
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13284
 
$as_echo "$ac_try_echo") >&5
13285
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13286
 
  ac_status=$?
13287
 
  grep -v '^ *+' conftest.er1 >conftest.err
13288
 
  rm -f conftest.er1
13289
 
  cat conftest.err >&5
13290
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291
 
  (exit $ac_status); } >/dev/null && {
13292
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13293
 
         test ! -s conftest.err
13294
 
       }; then
13295
 
  ac_header_preproc=yes
13296
 
else
13297
 
  $as_echo "$as_me: failed program was:" >&5
13298
 
sed 's/^/| /' conftest.$ac_ext >&5
13299
 
 
13300
 
  ac_header_preproc=no
13301
 
fi
13302
 
 
13303
 
rm -f conftest.err conftest.$ac_ext
13304
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13305
 
$as_echo "$ac_header_preproc" >&6; }
13306
 
 
13307
 
# So?  What about this header?
13308
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13309
 
  yes:no: )
13310
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13311
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13312
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13313
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13314
 
    ac_header_preproc=yes
13315
 
    ;;
13316
 
  no:yes:* )
13317
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13318
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13319
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13320
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13321
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13322
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13323
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13324
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13325
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13326
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13327
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13328
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13329
 
    ( cat <<\_ASBOX
13330
 
## -------------------------------------------- ##
13331
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
13332
 
## -------------------------------------------- ##
13333
 
_ASBOX
13334
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13335
 
    ;;
13336
 
esac
13337
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13338
 
$as_echo_n "checking for $ac_header... " >&6; }
13339
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13340
 
  $as_echo_n "(cached) " >&6
13341
 
else
13342
 
  eval "$as_ac_Header=\$ac_header_preproc"
13343
 
fi
13344
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13345
 
                 $as_echo "$as_val"'`
13346
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13347
 
$as_echo "$ac_res" >&6; }
13348
 
 
13349
 
fi
13350
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13351
 
                 $as_echo "$as_val"'`
13352
 
   if test "x$as_val" = x""yes; then
 
11918
  for ac_header in inttypes.h
 
11919
do :
 
11920
  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
 
11921
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
13353
11922
  cat >>confdefs.h <<_ACEOF
13354
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11923
#define HAVE_INTTYPES_H 1
13355
11924
_ACEOF
13356
11925
 
13357
11926
fi
13359
11928
done
13360
11929
 
13361
11930
  if test $ac_cv_header_inttypes_h = yes; then
13362
 
    { $as_echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
 
11931
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
13363
11932
$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
13364
 
if test "${gt_cv_inttypes_pri_broken+set}" = set; then
 
11933
if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
13365
11934
  $as_echo_n "(cached) " >&6
13366
11935
else
13367
11936
 
13368
 
        cat >conftest.$ac_ext <<_ACEOF
13369
 
/* confdefs.h.  */
13370
 
_ACEOF
13371
 
cat confdefs.h >>conftest.$ac_ext
13372
 
cat >>conftest.$ac_ext <<_ACEOF
 
11937
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373
11938
/* end confdefs.h.  */
13374
11939
#include <inttypes.h>
13375
11940
#ifdef PRId32
13384
11949
  return 0;
13385
11950
}
13386
11951
_ACEOF
13387
 
rm -f conftest.$ac_objext
13388
 
if { (ac_try="$ac_compile"
13389
 
case "(($ac_try" in
13390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13391
 
  *) ac_try_echo=$ac_try;;
13392
 
esac
13393
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13394
 
$as_echo "$ac_try_echo") >&5
13395
 
  (eval "$ac_compile") 2>conftest.er1
13396
 
  ac_status=$?
13397
 
  grep -v '^ *+' conftest.er1 >conftest.err
13398
 
  rm -f conftest.er1
13399
 
  cat conftest.err >&5
13400
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401
 
  (exit $ac_status); } && {
13402
 
         test -z "$ac_c_werror_flag" ||
13403
 
         test ! -s conftest.err
13404
 
       } && test -s conftest.$ac_objext; then
 
11952
if ac_fn_c_try_compile "$LINENO"; then :
13405
11953
  gt_cv_inttypes_pri_broken=no
13406
11954
else
13407
 
  $as_echo "$as_me: failed program was:" >&5
13408
 
sed 's/^/| /' conftest.$ac_ext >&5
13409
 
 
13410
 
        gt_cv_inttypes_pri_broken=yes
 
11955
  gt_cv_inttypes_pri_broken=yes
13411
11956
fi
13412
 
 
13413
11957
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414
11958
 
13415
11959
fi
13416
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
 
11960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
13417
11961
$as_echo "$gt_cv_inttypes_pri_broken" >&6; }
13418
11962
  fi
13419
11963
  if test "$gt_cv_inttypes_pri_broken" = yes; then
13432
11976
 
13433
11977
 
13434
11978
       # Check whether --enable-threads was given.
13435
 
if test "${enable_threads+set}" = set; then
 
11979
if test "${enable_threads+set}" = set; then :
13436
11980
  enableval=$enable_threads; gl_use_threads=$enableval
13437
11981
else
13438
11982
  case "$host_os" in
13485
12029
 
13486
12030
 
13487
12031
# Check whether --with-gnu-ld was given.
13488
 
if test "${with_gnu_ld+set}" = set; then
 
12032
if test "${with_gnu_ld+set}" = set; then :
13489
12033
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13490
12034
else
13491
12035
  with_gnu_ld=no
13507
12051
ac_prog=ld
13508
12052
if test "$GCC" = yes; then
13509
12053
  # Check if gcc -print-prog-name=ld gives a path.
13510
 
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
12054
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13511
12055
$as_echo_n "checking for ld used by GCC... " >&6; }
13512
12056
  case $host in
13513
12057
  *-*-mingw*)
13537
12081
    ;;
13538
12082
  esac
13539
12083
elif test "$with_gnu_ld" = yes; then
13540
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
12084
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13541
12085
$as_echo_n "checking for GNU ld... " >&6; }
13542
12086
else
13543
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
12087
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13544
12088
$as_echo_n "checking for non-GNU ld... " >&6; }
13545
12089
fi
13546
 
if test "${acl_cv_path_LD+set}" = set; then
 
12090
if test "${acl_cv_path_LD+set}" = set; then :
13547
12091
  $as_echo_n "(cached) " >&6
13548
12092
else
13549
12093
  if test -z "$LD"; then
13571
12115
 
13572
12116
LD="$acl_cv_path_LD"
13573
12117
if test -n "$LD"; then
13574
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
12118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13575
12119
$as_echo "$LD" >&6; }
13576
12120
else
13577
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578
12122
$as_echo "no" >&6; }
13579
12123
fi
13580
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13581
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13582
 
   { (exit 1); exit 1; }; }
13583
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
12124
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13584
12126
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13585
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then
 
12127
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13586
12128
  $as_echo_n "(cached) " >&6
13587
12129
else
13588
12130
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13593
12135
  acl_cv_prog_gnu_ld=no ;;
13594
12136
esac
13595
12137
fi
13596
 
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
12138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13597
12139
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
13598
12140
with_gnu_ld=$acl_cv_prog_gnu_ld
13599
12141
 
13600
12142
 
13601
12143
 
13602
12144
 
13603
 
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
12145
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13604
12146
$as_echo_n "checking for shared library run path origin... " >&6; }
13605
 
if test "${acl_cv_rpath+set}" = set; then
 
12147
if test "${acl_cv_rpath+set}" = set; then :
13606
12148
  $as_echo_n "(cached) " >&6
13607
12149
else
13608
12150
 
13613
12155
    acl_cv_rpath=done
13614
12156
 
13615
12157
fi
13616
 
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
12158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13617
12159
$as_echo "$acl_cv_rpath" >&6; }
13618
12160
  wl="$acl_cv_wl"
13619
12161
  libext="$acl_cv_libext"
13623
12165
  hardcode_direct="$acl_cv_hardcode_direct"
13624
12166
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
13625
12167
    # Check whether --enable-rpath was given.
13626
 
if test "${enable_rpath+set}" = set; then
 
12168
if test "${enable_rpath+set}" = set; then :
13627
12169
  enableval=$enable_rpath; :
13628
12170
else
13629
12171
  enable_rpath=yes
13657
12199
  LIBMULTITHREAD=
13658
12200
  LTLIBMULTITHREAD=
13659
12201
  if test "$gl_use_threads" != no; then
13660
 
        { $as_echo "$as_me:$LINENO: checking whether imported symbols can be declared weak" >&5
 
12202
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
13661
12203
$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
13662
12204
    gl_have_weak=no
13663
 
    cat >conftest.$ac_ext <<_ACEOF
13664
 
/* confdefs.h.  */
13665
 
_ACEOF
13666
 
cat confdefs.h >>conftest.$ac_ext
13667
 
cat >>conftest.$ac_ext <<_ACEOF
 
12205
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668
12206
/* end confdefs.h.  */
13669
12207
extern void xyzzy ();
13670
12208
#pragma weak xyzzy
13676
12214
  return 0;
13677
12215
}
13678
12216
_ACEOF
13679
 
rm -f conftest.$ac_objext conftest$ac_exeext
13680
 
if { (ac_try="$ac_link"
13681
 
case "(($ac_try" in
13682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13683
 
  *) ac_try_echo=$ac_try;;
13684
 
esac
13685
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13686
 
$as_echo "$ac_try_echo") >&5
13687
 
  (eval "$ac_link") 2>conftest.er1
13688
 
  ac_status=$?
13689
 
  grep -v '^ *+' conftest.er1 >conftest.err
13690
 
  rm -f conftest.er1
13691
 
  cat conftest.err >&5
13692
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693
 
  (exit $ac_status); } && {
13694
 
         test -z "$ac_c_werror_flag" ||
13695
 
         test ! -s conftest.err
13696
 
       } && test -s conftest$ac_exeext && {
13697
 
         test "$cross_compiling" = yes ||
13698
 
         $as_test_x conftest$ac_exeext
13699
 
       }; then
 
12217
if ac_fn_c_try_link "$LINENO"; then :
13700
12218
  gl_have_weak=yes
13701
 
else
13702
 
  $as_echo "$as_me: failed program was:" >&5
13703
 
sed 's/^/| /' conftest.$ac_ext >&5
13704
 
 
13705
 
 
13706
12219
fi
13707
 
 
13708
 
rm -rf conftest.dSYM
13709
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13710
 
      conftest$ac_exeext conftest.$ac_ext
13711
 
    { $as_echo "$as_me:$LINENO: result: $gl_have_weak" >&5
 
12220
rm -f core conftest.err conftest.$ac_objext \
 
12221
    conftest$ac_exeext conftest.$ac_ext
 
12222
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_weak" >&5
13712
12223
$as_echo "$gl_have_weak" >&6; }
13713
12224
    if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
13714
12225
      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
13715
12226
      # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
13716
 
      if test "${ac_cv_header_pthread_h+set}" = set; then
13717
 
  { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
13718
 
$as_echo_n "checking for pthread.h... " >&6; }
13719
 
if test "${ac_cv_header_pthread_h+set}" = set; then
13720
 
  $as_echo_n "(cached) " >&6
13721
 
fi
13722
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
13723
 
$as_echo "$ac_cv_header_pthread_h" >&6; }
13724
 
else
13725
 
  # Is the header compilable?
13726
 
{ $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5
13727
 
$as_echo_n "checking pthread.h usability... " >&6; }
13728
 
cat >conftest.$ac_ext <<_ACEOF
13729
 
/* confdefs.h.  */
13730
 
_ACEOF
13731
 
cat confdefs.h >>conftest.$ac_ext
13732
 
cat >>conftest.$ac_ext <<_ACEOF
13733
 
/* end confdefs.h.  */
13734
 
$ac_includes_default
13735
 
#include <pthread.h>
13736
 
_ACEOF
13737
 
rm -f conftest.$ac_objext
13738
 
if { (ac_try="$ac_compile"
13739
 
case "(($ac_try" in
13740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741
 
  *) ac_try_echo=$ac_try;;
13742
 
esac
13743
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13744
 
$as_echo "$ac_try_echo") >&5
13745
 
  (eval "$ac_compile") 2>conftest.er1
13746
 
  ac_status=$?
13747
 
  grep -v '^ *+' conftest.er1 >conftest.err
13748
 
  rm -f conftest.er1
13749
 
  cat conftest.err >&5
13750
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751
 
  (exit $ac_status); } && {
13752
 
         test -z "$ac_c_werror_flag" ||
13753
 
         test ! -s conftest.err
13754
 
       } && test -s conftest.$ac_objext; then
13755
 
  ac_header_compiler=yes
13756
 
else
13757
 
  $as_echo "$as_me: failed program was:" >&5
13758
 
sed 's/^/| /' conftest.$ac_ext >&5
13759
 
 
13760
 
        ac_header_compiler=no
13761
 
fi
13762
 
 
13763
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13765
 
$as_echo "$ac_header_compiler" >&6; }
13766
 
 
13767
 
# Is the header present?
13768
 
{ $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5
13769
 
$as_echo_n "checking pthread.h presence... " >&6; }
13770
 
cat >conftest.$ac_ext <<_ACEOF
13771
 
/* confdefs.h.  */
13772
 
_ACEOF
13773
 
cat confdefs.h >>conftest.$ac_ext
13774
 
cat >>conftest.$ac_ext <<_ACEOF
13775
 
/* end confdefs.h.  */
13776
 
#include <pthread.h>
13777
 
_ACEOF
13778
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13779
 
case "(($ac_try" in
13780
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781
 
  *) ac_try_echo=$ac_try;;
13782
 
esac
13783
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13784
 
$as_echo "$ac_try_echo") >&5
13785
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13786
 
  ac_status=$?
13787
 
  grep -v '^ *+' conftest.er1 >conftest.err
13788
 
  rm -f conftest.er1
13789
 
  cat conftest.err >&5
13790
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791
 
  (exit $ac_status); } >/dev/null && {
13792
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13793
 
         test ! -s conftest.err
13794
 
       }; then
13795
 
  ac_header_preproc=yes
13796
 
else
13797
 
  $as_echo "$as_me: failed program was:" >&5
13798
 
sed 's/^/| /' conftest.$ac_ext >&5
13799
 
 
13800
 
  ac_header_preproc=no
13801
 
fi
13802
 
 
13803
 
rm -f conftest.err conftest.$ac_ext
13804
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13805
 
$as_echo "$ac_header_preproc" >&6; }
13806
 
 
13807
 
# So?  What about this header?
13808
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13809
 
  yes:no: )
13810
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
13811
 
$as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13812
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
13813
 
$as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
13814
 
    ac_header_preproc=yes
13815
 
    ;;
13816
 
  no:yes:* )
13817
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
13818
 
$as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
13819
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h:     check for missing prerequisite headers?" >&5
13820
 
$as_echo "$as_me: WARNING: pthread.h:     check for missing prerequisite headers?" >&2;}
13821
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
13822
 
$as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
13823
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&5
13824
 
$as_echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13825
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
13826
 
$as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
13827
 
    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
13828
 
$as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
13829
 
    ( cat <<\_ASBOX
13830
 
## -------------------------------------------- ##
13831
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
13832
 
## -------------------------------------------- ##
13833
 
_ASBOX
13834
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13835
 
    ;;
13836
 
esac
13837
 
{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
13838
 
$as_echo_n "checking for pthread.h... " >&6; }
13839
 
if test "${ac_cv_header_pthread_h+set}" = set; then
13840
 
  $as_echo_n "(cached) " >&6
13841
 
else
13842
 
  ac_cv_header_pthread_h=$ac_header_preproc
13843
 
fi
13844
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
13845
 
$as_echo "$ac_cv_header_pthread_h" >&6; }
13846
 
 
13847
 
fi
13848
 
if test "x$ac_cv_header_pthread_h" = x""yes; then
 
12227
      ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
 
12228
if test "x$ac_cv_header_pthread_h" = x""yes; then :
13849
12229
  gl_have_pthread_h=yes
13850
12230
else
13851
12231
  gl_have_pthread_h=no
13860
12240
        # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
13861
12241
        # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
13862
12242
        # the second one only in libpthread, and lock.c needs it.
13863
 
        cat >conftest.$ac_ext <<_ACEOF
13864
 
/* confdefs.h.  */
13865
 
_ACEOF
13866
 
cat confdefs.h >>conftest.$ac_ext
13867
 
cat >>conftest.$ac_ext <<_ACEOF
 
12243
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868
12244
/* end confdefs.h.  */
13869
12245
#include <pthread.h>
13870
12246
int
13876
12252
  return 0;
13877
12253
}
13878
12254
_ACEOF
13879
 
rm -f conftest.$ac_objext conftest$ac_exeext
13880
 
if { (ac_try="$ac_link"
13881
 
case "(($ac_try" in
13882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13883
 
  *) ac_try_echo=$ac_try;;
13884
 
esac
13885
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13886
 
$as_echo "$ac_try_echo") >&5
13887
 
  (eval "$ac_link") 2>conftest.er1
13888
 
  ac_status=$?
13889
 
  grep -v '^ *+' conftest.er1 >conftest.err
13890
 
  rm -f conftest.er1
13891
 
  cat conftest.err >&5
13892
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893
 
  (exit $ac_status); } && {
13894
 
         test -z "$ac_c_werror_flag" ||
13895
 
         test ! -s conftest.err
13896
 
       } && test -s conftest$ac_exeext && {
13897
 
         test "$cross_compiling" = yes ||
13898
 
         $as_test_x conftest$ac_exeext
13899
 
       }; then
 
12255
if ac_fn_c_try_link "$LINENO"; then :
13900
12256
  gl_have_pthread=yes
13901
 
else
13902
 
  $as_echo "$as_me: failed program was:" >&5
13903
 
sed 's/^/| /' conftest.$ac_ext >&5
13904
 
 
13905
 
 
13906
12257
fi
13907
 
 
13908
 
rm -rf conftest.dSYM
13909
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13910
 
      conftest$ac_exeext conftest.$ac_ext
 
12258
rm -f core conftest.err conftest.$ac_objext \
 
12259
    conftest$ac_exeext conftest.$ac_ext
13911
12260
        # Test for libpthread by looking for pthread_kill. (Not pthread_self,
13912
12261
        # since it is defined as a macro on OSF/1.)
13913
12262
        if test -n "$gl_have_pthread"; then
13914
12263
          # The program links fine without libpthread. But it may actually
13915
12264
          # need to link with libpthread in order to create multiple threads.
13916
 
          { $as_echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
 
12265
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
13917
12266
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
13918
 
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then
 
12267
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
13919
12268
  $as_echo_n "(cached) " >&6
13920
12269
else
13921
12270
  ac_check_lib_save_LIBS=$LIBS
13922
12271
LIBS="-lpthread  $LIBS"
13923
 
cat >conftest.$ac_ext <<_ACEOF
13924
 
/* confdefs.h.  */
13925
 
_ACEOF
13926
 
cat confdefs.h >>conftest.$ac_ext
13927
 
cat >>conftest.$ac_ext <<_ACEOF
 
12272
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928
12273
/* end confdefs.h.  */
13929
12274
 
13930
12275
/* Override any GCC internal prototype to avoid an error.
13942
12287
  return 0;
13943
12288
}
13944
12289
_ACEOF
13945
 
rm -f conftest.$ac_objext conftest$ac_exeext
13946
 
if { (ac_try="$ac_link"
13947
 
case "(($ac_try" in
13948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13949
 
  *) ac_try_echo=$ac_try;;
13950
 
esac
13951
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13952
 
$as_echo "$ac_try_echo") >&5
13953
 
  (eval "$ac_link") 2>conftest.er1
13954
 
  ac_status=$?
13955
 
  grep -v '^ *+' conftest.er1 >conftest.err
13956
 
  rm -f conftest.er1
13957
 
  cat conftest.err >&5
13958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959
 
  (exit $ac_status); } && {
13960
 
         test -z "$ac_c_werror_flag" ||
13961
 
         test ! -s conftest.err
13962
 
       } && test -s conftest$ac_exeext && {
13963
 
         test "$cross_compiling" = yes ||
13964
 
         $as_test_x conftest$ac_exeext
13965
 
       }; then
 
12290
if ac_fn_c_try_link "$LINENO"; then :
13966
12291
  ac_cv_lib_pthread_pthread_kill=yes
13967
12292
else
13968
 
  $as_echo "$as_me: failed program was:" >&5
13969
 
sed 's/^/| /' conftest.$ac_ext >&5
13970
 
 
13971
 
        ac_cv_lib_pthread_pthread_kill=no
 
12293
  ac_cv_lib_pthread_pthread_kill=no
13972
12294
fi
13973
 
 
13974
 
rm -rf conftest.dSYM
13975
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13976
 
      conftest$ac_exeext conftest.$ac_ext
 
12295
rm -f core conftest.err conftest.$ac_objext \
 
12296
    conftest$ac_exeext conftest.$ac_ext
13977
12297
LIBS=$ac_check_lib_save_LIBS
13978
12298
fi
13979
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5
 
12299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
13980
12300
$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
13981
 
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then
 
12301
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
13982
12302
  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
13983
12303
             # On Solaris and HP-UX, most pthread functions exist also in libc.
13984
12304
             # Therefore pthread_in_use() needs to actually try to create a
13987
12307
             case "$host_os" in
13988
12308
               solaris* | hpux*)
13989
12309
 
13990
 
cat >>confdefs.h <<\_ACEOF
13991
 
#define PTHREAD_IN_USE_DETECTION_HARD 1
13992
 
_ACEOF
 
12310
$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
13993
12311
 
13994
12312
             esac
13995
12313
 
13997
12315
 
13998
12316
        else
13999
12317
          # Some library is needed. Try libpthread and libc_r.
14000
 
          { $as_echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
 
12318
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
14001
12319
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
14002
 
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then
 
12320
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
14003
12321
  $as_echo_n "(cached) " >&6
14004
12322
else
14005
12323
  ac_check_lib_save_LIBS=$LIBS
14006
12324
LIBS="-lpthread  $LIBS"
14007
 
cat >conftest.$ac_ext <<_ACEOF
14008
 
/* confdefs.h.  */
14009
 
_ACEOF
14010
 
cat confdefs.h >>conftest.$ac_ext
14011
 
cat >>conftest.$ac_ext <<_ACEOF
 
12325
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012
12326
/* end confdefs.h.  */
14013
12327
 
14014
12328
/* Override any GCC internal prototype to avoid an error.
14026
12340
  return 0;
14027
12341
}
14028
12342
_ACEOF
14029
 
rm -f conftest.$ac_objext conftest$ac_exeext
14030
 
if { (ac_try="$ac_link"
14031
 
case "(($ac_try" in
14032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033
 
  *) ac_try_echo=$ac_try;;
14034
 
esac
14035
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14036
 
$as_echo "$ac_try_echo") >&5
14037
 
  (eval "$ac_link") 2>conftest.er1
14038
 
  ac_status=$?
14039
 
  grep -v '^ *+' conftest.er1 >conftest.err
14040
 
  rm -f conftest.er1
14041
 
  cat conftest.err >&5
14042
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043
 
  (exit $ac_status); } && {
14044
 
         test -z "$ac_c_werror_flag" ||
14045
 
         test ! -s conftest.err
14046
 
       } && test -s conftest$ac_exeext && {
14047
 
         test "$cross_compiling" = yes ||
14048
 
         $as_test_x conftest$ac_exeext
14049
 
       }; then
 
12343
if ac_fn_c_try_link "$LINENO"; then :
14050
12344
  ac_cv_lib_pthread_pthread_kill=yes
14051
12345
else
14052
 
  $as_echo "$as_me: failed program was:" >&5
14053
 
sed 's/^/| /' conftest.$ac_ext >&5
14054
 
 
14055
 
        ac_cv_lib_pthread_pthread_kill=no
 
12346
  ac_cv_lib_pthread_pthread_kill=no
14056
12347
fi
14057
 
 
14058
 
rm -rf conftest.dSYM
14059
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14060
 
      conftest$ac_exeext conftest.$ac_ext
 
12348
rm -f core conftest.err conftest.$ac_objext \
 
12349
    conftest$ac_exeext conftest.$ac_ext
14061
12350
LIBS=$ac_check_lib_save_LIBS
14062
12351
fi
14063
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5
 
12352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
14064
12353
$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
14065
 
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then
 
12354
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
14066
12355
  gl_have_pthread=yes
14067
12356
             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
14068
12357
             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
14070
12359
 
14071
12360
          if test -z "$gl_have_pthread"; then
14072
12361
            # For FreeBSD 4.
14073
 
            { $as_echo "$as_me:$LINENO: checking for pthread_kill in -lc_r" >&5
 
12362
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
14074
12363
$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
14075
 
if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then
 
12364
if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then :
14076
12365
  $as_echo_n "(cached) " >&6
14077
12366
else
14078
12367
  ac_check_lib_save_LIBS=$LIBS
14079
12368
LIBS="-lc_r  $LIBS"
14080
 
cat >conftest.$ac_ext <<_ACEOF
14081
 
/* confdefs.h.  */
14082
 
_ACEOF
14083
 
cat confdefs.h >>conftest.$ac_ext
14084
 
cat >>conftest.$ac_ext <<_ACEOF
 
12369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085
12370
/* end confdefs.h.  */
14086
12371
 
14087
12372
/* Override any GCC internal prototype to avoid an error.
14099
12384
  return 0;
14100
12385
}
14101
12386
_ACEOF
14102
 
rm -f conftest.$ac_objext conftest$ac_exeext
14103
 
if { (ac_try="$ac_link"
14104
 
case "(($ac_try" in
14105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14106
 
  *) ac_try_echo=$ac_try;;
14107
 
esac
14108
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14109
 
$as_echo "$ac_try_echo") >&5
14110
 
  (eval "$ac_link") 2>conftest.er1
14111
 
  ac_status=$?
14112
 
  grep -v '^ *+' conftest.er1 >conftest.err
14113
 
  rm -f conftest.er1
14114
 
  cat conftest.err >&5
14115
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116
 
  (exit $ac_status); } && {
14117
 
         test -z "$ac_c_werror_flag" ||
14118
 
         test ! -s conftest.err
14119
 
       } && test -s conftest$ac_exeext && {
14120
 
         test "$cross_compiling" = yes ||
14121
 
         $as_test_x conftest$ac_exeext
14122
 
       }; then
 
12387
if ac_fn_c_try_link "$LINENO"; then :
14123
12388
  ac_cv_lib_c_r_pthread_kill=yes
14124
12389
else
14125
 
  $as_echo "$as_me: failed program was:" >&5
14126
 
sed 's/^/| /' conftest.$ac_ext >&5
14127
 
 
14128
 
        ac_cv_lib_c_r_pthread_kill=no
 
12390
  ac_cv_lib_c_r_pthread_kill=no
14129
12391
fi
14130
 
 
14131
 
rm -rf conftest.dSYM
14132
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14133
 
      conftest$ac_exeext conftest.$ac_ext
 
12392
rm -f core conftest.err conftest.$ac_objext \
 
12393
    conftest$ac_exeext conftest.$ac_ext
14134
12394
LIBS=$ac_check_lib_save_LIBS
14135
12395
fi
14136
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_kill" >&5
 
12396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
14137
12397
$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
14138
 
if test "x$ac_cv_lib_c_r_pthread_kill" = x""yes; then
 
12398
if test "x$ac_cv_lib_c_r_pthread_kill" = x""yes; then :
14139
12399
  gl_have_pthread=yes
14140
12400
               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
14141
12401
               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
14146
12406
        if test -n "$gl_have_pthread"; then
14147
12407
          gl_threads_api=posix
14148
12408
 
14149
 
cat >>confdefs.h <<\_ACEOF
14150
 
#define USE_POSIX_THREADS 1
14151
 
_ACEOF
 
12409
$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
14152
12410
 
14153
12411
          if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
14154
12412
            if test $gl_have_weak = yes; then
14155
12413
 
14156
 
cat >>confdefs.h <<\_ACEOF
14157
 
#define USE_POSIX_THREADS_WEAK 1
14158
 
_ACEOF
 
12414
$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
14159
12415
 
14160
12416
              LIBTHREAD=
14161
12417
              LTLIBTHREAD=
14163
12419
          fi
14164
12420
          # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
14165
12421
          # pthread_rwlock_* functions.
14166
 
          { $as_echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14167
 
$as_echo_n "checking for pthread_rwlock_t... " >&6; }
14168
 
if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14169
 
  $as_echo_n "(cached) " >&6
14170
 
else
14171
 
  ac_cv_type_pthread_rwlock_t=no
14172
 
cat >conftest.$ac_ext <<_ACEOF
14173
 
/* confdefs.h.  */
14174
 
_ACEOF
14175
 
cat confdefs.h >>conftest.$ac_ext
14176
 
cat >>conftest.$ac_ext <<_ACEOF
14177
 
/* end confdefs.h.  */
14178
 
#include <pthread.h>
14179
 
 
14180
 
int
14181
 
main ()
14182
 
{
14183
 
if (sizeof (pthread_rwlock_t))
14184
 
       return 0;
14185
 
  ;
14186
 
  return 0;
14187
 
}
14188
 
_ACEOF
14189
 
rm -f conftest.$ac_objext
14190
 
if { (ac_try="$ac_compile"
14191
 
case "(($ac_try" in
14192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14193
 
  *) ac_try_echo=$ac_try;;
14194
 
esac
14195
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14196
 
$as_echo "$ac_try_echo") >&5
14197
 
  (eval "$ac_compile") 2>conftest.er1
14198
 
  ac_status=$?
14199
 
  grep -v '^ *+' conftest.er1 >conftest.err
14200
 
  rm -f conftest.er1
14201
 
  cat conftest.err >&5
14202
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203
 
  (exit $ac_status); } && {
14204
 
         test -z "$ac_c_werror_flag" ||
14205
 
         test ! -s conftest.err
14206
 
       } && test -s conftest.$ac_objext; then
14207
 
  cat >conftest.$ac_ext <<_ACEOF
14208
 
/* confdefs.h.  */
14209
 
_ACEOF
14210
 
cat confdefs.h >>conftest.$ac_ext
14211
 
cat >>conftest.$ac_ext <<_ACEOF
14212
 
/* end confdefs.h.  */
14213
 
#include <pthread.h>
14214
 
 
14215
 
int
14216
 
main ()
14217
 
{
14218
 
if (sizeof ((pthread_rwlock_t)))
14219
 
          return 0;
14220
 
  ;
14221
 
  return 0;
14222
 
}
14223
 
_ACEOF
14224
 
rm -f conftest.$ac_objext
14225
 
if { (ac_try="$ac_compile"
14226
 
case "(($ac_try" in
14227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14228
 
  *) ac_try_echo=$ac_try;;
14229
 
esac
14230
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14231
 
$as_echo "$ac_try_echo") >&5
14232
 
  (eval "$ac_compile") 2>conftest.er1
14233
 
  ac_status=$?
14234
 
  grep -v '^ *+' conftest.er1 >conftest.err
14235
 
  rm -f conftest.er1
14236
 
  cat conftest.err >&5
14237
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238
 
  (exit $ac_status); } && {
14239
 
         test -z "$ac_c_werror_flag" ||
14240
 
         test ! -s conftest.err
14241
 
       } && test -s conftest.$ac_objext; then
14242
 
  :
14243
 
else
14244
 
  $as_echo "$as_me: failed program was:" >&5
14245
 
sed 's/^/| /' conftest.$ac_ext >&5
14246
 
 
14247
 
        ac_cv_type_pthread_rwlock_t=yes
14248
 
fi
14249
 
 
14250
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14251
 
else
14252
 
  $as_echo "$as_me: failed program was:" >&5
14253
 
sed 's/^/| /' conftest.$ac_ext >&5
14254
 
 
14255
 
 
14256
 
fi
14257
 
 
14258
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259
 
fi
14260
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14261
 
$as_echo "$ac_cv_type_pthread_rwlock_t" >&6; }
14262
 
if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then
14263
 
 
14264
 
cat >>confdefs.h <<\_ACEOF
14265
 
#define HAVE_PTHREAD_RWLOCK 1
14266
 
_ACEOF
 
12422
          ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
 
12423
"
 
12424
if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
 
12425
 
 
12426
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
14267
12427
 
14268
12428
fi
14269
12429
 
14270
12430
          # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
14271
 
          cat >conftest.$ac_ext <<_ACEOF
14272
 
/* confdefs.h.  */
14273
 
_ACEOF
14274
 
cat confdefs.h >>conftest.$ac_ext
14275
 
cat >>conftest.$ac_ext <<_ACEOF
 
12431
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276
12432
/* end confdefs.h.  */
14277
12433
#include <pthread.h>
14278
12434
int
14288
12444
  return 0;
14289
12445
}
14290
12446
_ACEOF
14291
 
rm -f conftest.$ac_objext
14292
 
if { (ac_try="$ac_compile"
14293
 
case "(($ac_try" in
14294
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14295
 
  *) ac_try_echo=$ac_try;;
14296
 
esac
14297
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14298
 
$as_echo "$ac_try_echo") >&5
14299
 
  (eval "$ac_compile") 2>conftest.er1
14300
 
  ac_status=$?
14301
 
  grep -v '^ *+' conftest.er1 >conftest.err
14302
 
  rm -f conftest.er1
14303
 
  cat conftest.err >&5
14304
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305
 
  (exit $ac_status); } && {
14306
 
         test -z "$ac_c_werror_flag" ||
14307
 
         test ! -s conftest.err
14308
 
       } && test -s conftest.$ac_objext; then
14309
 
 
14310
 
cat >>confdefs.h <<\_ACEOF
14311
 
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
14312
 
_ACEOF
14313
 
 
14314
 
else
14315
 
  $as_echo "$as_me: failed program was:" >&5
14316
 
sed 's/^/| /' conftest.$ac_ext >&5
14317
 
 
 
12447
if ac_fn_c_try_compile "$LINENO"; then :
 
12448
 
 
12449
$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
14318
12450
 
14319
12451
fi
14320
 
 
14321
12452
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14322
12453
        fi
14323
12454
      fi
14327
12458
        gl_have_solaristhread=
14328
12459
        gl_save_LIBS="$LIBS"
14329
12460
        LIBS="$LIBS -lthread"
14330
 
        cat >conftest.$ac_ext <<_ACEOF
14331
 
/* confdefs.h.  */
14332
 
_ACEOF
14333
 
cat confdefs.h >>conftest.$ac_ext
14334
 
cat >>conftest.$ac_ext <<_ACEOF
 
12461
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335
12462
/* end confdefs.h.  */
14336
12463
#include <thread.h>
14337
12464
#include <synch.h>
14343
12470
  return 0;
14344
12471
}
14345
12472
_ACEOF
14346
 
rm -f conftest.$ac_objext conftest$ac_exeext
14347
 
if { (ac_try="$ac_link"
14348
 
case "(($ac_try" in
14349
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14350
 
  *) ac_try_echo=$ac_try;;
14351
 
esac
14352
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14353
 
$as_echo "$ac_try_echo") >&5
14354
 
  (eval "$ac_link") 2>conftest.er1
14355
 
  ac_status=$?
14356
 
  grep -v '^ *+' conftest.er1 >conftest.err
14357
 
  rm -f conftest.er1
14358
 
  cat conftest.err >&5
14359
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360
 
  (exit $ac_status); } && {
14361
 
         test -z "$ac_c_werror_flag" ||
14362
 
         test ! -s conftest.err
14363
 
       } && test -s conftest$ac_exeext && {
14364
 
         test "$cross_compiling" = yes ||
14365
 
         $as_test_x conftest$ac_exeext
14366
 
       }; then
 
12473
if ac_fn_c_try_link "$LINENO"; then :
14367
12474
  gl_have_solaristhread=yes
14368
 
else
14369
 
  $as_echo "$as_me: failed program was:" >&5
14370
 
sed 's/^/| /' conftest.$ac_ext >&5
14371
 
 
14372
 
 
14373
12475
fi
14374
 
 
14375
 
rm -rf conftest.dSYM
14376
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14377
 
      conftest$ac_exeext conftest.$ac_ext
 
12476
rm -f core conftest.err conftest.$ac_objext \
 
12477
    conftest$ac_exeext conftest.$ac_ext
14378
12478
        LIBS="$gl_save_LIBS"
14379
12479
        if test -n "$gl_have_solaristhread"; then
14380
12480
          gl_threads_api=solaris
14383
12483
          LIBMULTITHREAD="$LIBTHREAD"
14384
12484
          LTLIBMULTITHREAD="$LTLIBTHREAD"
14385
12485
 
14386
 
cat >>confdefs.h <<\_ACEOF
14387
 
#define USE_SOLARIS_THREADS 1
14388
 
_ACEOF
 
12486
$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
14389
12487
 
14390
12488
          if test $gl_have_weak = yes; then
14391
12489
 
14392
 
cat >>confdefs.h <<\_ACEOF
14393
 
#define USE_SOLARIS_THREADS_WEAK 1
14394
 
_ACEOF
 
12490
$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
14395
12491
 
14396
12492
            LIBTHREAD=
14397
12493
            LTLIBTHREAD=
14406
12502
 
14407
12503
 
14408
12504
 
14409
 
  { $as_echo "$as_me:$LINENO: checking how to link with libpth" >&5
 
12505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
14410
12506
$as_echo_n "checking how to link with libpth... " >&6; }
14411
 
if test "${ac_cv_libpth_libs+set}" = set; then
 
12507
if test "${ac_cv_libpth_libs+set}" = set; then :
14412
12508
  $as_echo_n "(cached) " >&6
14413
12509
else
14414
12510
 
14430
12526
 
14431
12527
 
14432
12528
# Check whether --with-libpth-prefix was given.
14433
 
if test "${with_libpth_prefix+set}" = set; then
 
12529
if test "${with_libpth_prefix+set}" = set; then :
14434
12530
  withval=$with_libpth_prefix;
14435
12531
    if test "X$withval" = "Xno"; then
14436
12532
      use_additional=no
14810
12906
    ac_cv_libpth_cppflags="$INCPTH"
14811
12907
 
14812
12908
fi
14813
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_libpth_libs" >&5
 
12909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
14814
12910
$as_echo "$ac_cv_libpth_libs" >&6; }
14815
12911
  LIBPTH="$ac_cv_libpth_libs"
14816
12912
  LTLIBPTH="$ac_cv_libpth_ltlibs"
14847
12943
      gl_have_pth=
14848
12944
      gl_save_LIBS="$LIBS"
14849
12945
      LIBS="$LIBS -lpth"
14850
 
      cat >conftest.$ac_ext <<_ACEOF
14851
 
/* confdefs.h.  */
14852
 
_ACEOF
14853
 
cat confdefs.h >>conftest.$ac_ext
14854
 
cat >>conftest.$ac_ext <<_ACEOF
 
12946
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855
12947
/* end confdefs.h.  */
14856
12948
#include <pth.h>
14857
12949
int
14862
12954
  return 0;
14863
12955
}
14864
12956
_ACEOF
14865
 
rm -f conftest.$ac_objext conftest$ac_exeext
14866
 
if { (ac_try="$ac_link"
14867
 
case "(($ac_try" in
14868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14869
 
  *) ac_try_echo=$ac_try;;
14870
 
esac
14871
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14872
 
$as_echo "$ac_try_echo") >&5
14873
 
  (eval "$ac_link") 2>conftest.er1
14874
 
  ac_status=$?
14875
 
  grep -v '^ *+' conftest.er1 >conftest.err
14876
 
  rm -f conftest.er1
14877
 
  cat conftest.err >&5
14878
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879
 
  (exit $ac_status); } && {
14880
 
         test -z "$ac_c_werror_flag" ||
14881
 
         test ! -s conftest.err
14882
 
       } && test -s conftest$ac_exeext && {
14883
 
         test "$cross_compiling" = yes ||
14884
 
         $as_test_x conftest$ac_exeext
14885
 
       }; then
 
12957
if ac_fn_c_try_link "$LINENO"; then :
14886
12958
  gl_have_pth=yes
14887
 
else
14888
 
  $as_echo "$as_me: failed program was:" >&5
14889
 
sed 's/^/| /' conftest.$ac_ext >&5
14890
 
 
14891
 
 
14892
12959
fi
14893
 
 
14894
 
rm -rf conftest.dSYM
14895
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14896
 
      conftest$ac_exeext conftest.$ac_ext
 
12960
rm -f core conftest.err conftest.$ac_objext \
 
12961
    conftest$ac_exeext conftest.$ac_ext
14897
12962
      LIBS="$gl_save_LIBS"
14898
12963
      if test -n "$gl_have_pth"; then
14899
12964
        gl_threads_api=pth
14902
12967
        LIBMULTITHREAD="$LIBTHREAD"
14903
12968
        LTLIBMULTITHREAD="$LTLIBTHREAD"
14904
12969
 
14905
 
cat >>confdefs.h <<\_ACEOF
14906
 
#define USE_PTH_THREADS 1
14907
 
_ACEOF
 
12970
$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
14908
12971
 
14909
12972
        if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
14910
12973
          if test $gl_have_weak = yes; then
14911
12974
 
14912
 
cat >>confdefs.h <<\_ACEOF
14913
 
#define USE_PTH_THREADS_WEAK 1
14914
 
_ACEOF
 
12975
$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
14915
12976
 
14916
12977
            LIBTHREAD=
14917
12978
            LTLIBTHREAD=
14930
12991
           }; then
14931
12992
          gl_threads_api=win32
14932
12993
 
14933
 
cat >>confdefs.h <<\_ACEOF
14934
 
#define USE_WIN32_THREADS 1
14935
 
_ACEOF
 
12994
$as_echo "#define USE_WIN32_THREADS 1" >>confdefs.h
14936
12995
 
14937
12996
        fi
14938
12997
      fi
14939
12998
    fi
14940
12999
  fi
14941
 
  { $as_echo "$as_me:$LINENO: checking for multithread API to use" >&5
 
13000
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
14942
13001
$as_echo_n "checking for multithread API to use... " >&6; }
14943
 
  { $as_echo "$as_me:$LINENO: result: $gl_threads_api" >&5
 
13002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
14944
13003
$as_echo "$gl_threads_api" >&6; }
14945
13004
 
14946
13005
 
14976
13035
 
14977
13036
 
14978
13037
# Check whether --with-libiconv-prefix was given.
14979
 
if test "${with_libiconv_prefix+set}" = set; then
 
13038
if test "${with_libiconv_prefix+set}" = set; then :
14980
13039
  withval=$with_libiconv_prefix;
14981
13040
    if test "X$withval" = "Xno"; then
14982
13041
      use_additional=no
15355
13414
 
15356
13415
 
15357
13416
 
15358
 
  cat >conftest.$ac_ext <<_ACEOF
15359
 
/* confdefs.h.  */
15360
 
_ACEOF
15361
 
cat confdefs.h >>conftest.$ac_ext
15362
 
cat >>conftest.$ac_ext <<_ACEOF
 
13417
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363
13418
/* end confdefs.h.  */
15364
13419
int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }
15365
13420
int
15370
13425
  return 0;
15371
13426
}
15372
13427
_ACEOF
15373
 
rm -f conftest.$ac_objext conftest$ac_exeext
15374
 
if { (ac_try="$ac_link"
15375
 
case "(($ac_try" in
15376
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15377
 
  *) ac_try_echo=$ac_try;;
15378
 
esac
15379
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15380
 
$as_echo "$ac_try_echo") >&5
15381
 
  (eval "$ac_link") 2>conftest.er1
15382
 
  ac_status=$?
15383
 
  grep -v '^ *+' conftest.er1 >conftest.err
15384
 
  rm -f conftest.er1
15385
 
  cat conftest.err >&5
15386
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387
 
  (exit $ac_status); } && {
15388
 
         test -z "$ac_c_werror_flag" ||
15389
 
         test ! -s conftest.err
15390
 
       } && test -s conftest$ac_exeext && {
15391
 
         test "$cross_compiling" = yes ||
15392
 
         $as_test_x conftest$ac_exeext
15393
 
       }; then
15394
 
 
15395
 
cat >>confdefs.h <<\_ACEOF
15396
 
#define HAVE_BUILTIN_EXPECT 1
15397
 
_ACEOF
15398
 
 
15399
 
else
15400
 
  $as_echo "$as_me: failed program was:" >&5
15401
 
sed 's/^/| /' conftest.$ac_ext >&5
15402
 
 
15403
 
 
15404
 
fi
15405
 
 
15406
 
rm -rf conftest.dSYM
15407
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408
 
      conftest$ac_exeext conftest.$ac_ext
15409
 
 
15410
 
 
15411
 
 
15412
 
 
15413
 
 
15414
 
 
15415
 
for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
15416
 
do
15417
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15418
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15419
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15420
 
$as_echo_n "checking for $ac_header... " >&6; }
15421
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15422
 
  $as_echo_n "(cached) " >&6
15423
 
fi
15424
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15425
 
                 $as_echo "$as_val"'`
15426
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15427
 
$as_echo "$ac_res" >&6; }
15428
 
else
15429
 
  # Is the header compilable?
15430
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15431
 
$as_echo_n "checking $ac_header usability... " >&6; }
15432
 
cat >conftest.$ac_ext <<_ACEOF
15433
 
/* confdefs.h.  */
15434
 
_ACEOF
15435
 
cat confdefs.h >>conftest.$ac_ext
15436
 
cat >>conftest.$ac_ext <<_ACEOF
15437
 
/* end confdefs.h.  */
15438
 
$ac_includes_default
15439
 
#include <$ac_header>
15440
 
_ACEOF
15441
 
rm -f conftest.$ac_objext
15442
 
if { (ac_try="$ac_compile"
15443
 
case "(($ac_try" in
15444
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15445
 
  *) ac_try_echo=$ac_try;;
15446
 
esac
15447
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15448
 
$as_echo "$ac_try_echo") >&5
15449
 
  (eval "$ac_compile") 2>conftest.er1
15450
 
  ac_status=$?
15451
 
  grep -v '^ *+' conftest.er1 >conftest.err
15452
 
  rm -f conftest.er1
15453
 
  cat conftest.err >&5
15454
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455
 
  (exit $ac_status); } && {
15456
 
         test -z "$ac_c_werror_flag" ||
15457
 
         test ! -s conftest.err
15458
 
       } && test -s conftest.$ac_objext; then
15459
 
  ac_header_compiler=yes
15460
 
else
15461
 
  $as_echo "$as_me: failed program was:" >&5
15462
 
sed 's/^/| /' conftest.$ac_ext >&5
15463
 
 
15464
 
        ac_header_compiler=no
15465
 
fi
15466
 
 
15467
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15468
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15469
 
$as_echo "$ac_header_compiler" >&6; }
15470
 
 
15471
 
# Is the header present?
15472
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15473
 
$as_echo_n "checking $ac_header presence... " >&6; }
15474
 
cat >conftest.$ac_ext <<_ACEOF
15475
 
/* confdefs.h.  */
15476
 
_ACEOF
15477
 
cat confdefs.h >>conftest.$ac_ext
15478
 
cat >>conftest.$ac_ext <<_ACEOF
15479
 
/* end confdefs.h.  */
15480
 
#include <$ac_header>
15481
 
_ACEOF
15482
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15483
 
case "(($ac_try" in
15484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485
 
  *) ac_try_echo=$ac_try;;
15486
 
esac
15487
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15488
 
$as_echo "$ac_try_echo") >&5
15489
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15490
 
  ac_status=$?
15491
 
  grep -v '^ *+' conftest.er1 >conftest.err
15492
 
  rm -f conftest.er1
15493
 
  cat conftest.err >&5
15494
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495
 
  (exit $ac_status); } >/dev/null && {
15496
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15497
 
         test ! -s conftest.err
15498
 
       }; then
15499
 
  ac_header_preproc=yes
15500
 
else
15501
 
  $as_echo "$as_me: failed program was:" >&5
15502
 
sed 's/^/| /' conftest.$ac_ext >&5
15503
 
 
15504
 
  ac_header_preproc=no
15505
 
fi
15506
 
 
15507
 
rm -f conftest.err conftest.$ac_ext
15508
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15509
 
$as_echo "$ac_header_preproc" >&6; }
15510
 
 
15511
 
# So?  What about this header?
15512
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15513
 
  yes:no: )
15514
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15515
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15516
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15517
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15518
 
    ac_header_preproc=yes
15519
 
    ;;
15520
 
  no:yes:* )
15521
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15522
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15523
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15524
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15525
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15526
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15527
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15528
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15529
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15530
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15531
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15532
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15533
 
    ( cat <<\_ASBOX
15534
 
## -------------------------------------------- ##
15535
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
15536
 
## -------------------------------------------- ##
15537
 
_ASBOX
15538
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
15539
 
    ;;
15540
 
esac
15541
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15542
 
$as_echo_n "checking for $ac_header... " >&6; }
15543
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15544
 
  $as_echo_n "(cached) " >&6
15545
 
else
15546
 
  eval "$as_ac_Header=\$ac_header_preproc"
15547
 
fi
15548
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15549
 
                 $as_echo "$as_val"'`
15550
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15551
 
$as_echo "$ac_res" >&6; }
15552
 
 
15553
 
fi
15554
 
as_val=`eval 'as_val=${'$as_ac_Header'}
15555
 
                 $as_echo "$as_val"'`
15556
 
   if test "x$as_val" = x""yes; then
 
13428
if ac_fn_c_try_link "$LINENO"; then :
 
13429
 
 
13430
$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
 
13431
 
 
13432
fi
 
13433
rm -f core conftest.err conftest.$ac_objext \
 
13434
    conftest$ac_exeext conftest.$ac_ext
 
13435
 
 
13436
  for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
 
13437
do :
 
13438
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
13439
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
13440
eval as_val=\$$as_ac_Header
 
13441
   if test "x$as_val" = x""yes; then :
15557
13442
  cat >>confdefs.h <<_ACEOF
15558
13443
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15559
13444
_ACEOF
15562
13447
 
15563
13448
done
15564
13449
 
15565
 
 
15566
 
 
15567
 
 
15568
 
 
15569
 
 
15570
 
 
15571
 
 
15572
 
 
15573
 
 
15574
 
 
15575
 
 
15576
 
 
15577
 
 
15578
 
 
15579
 
 
15580
 
 
15581
 
for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
 
13450
  for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
15582
13451
    stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
15583
13452
    argz_next __fsetlocking
15584
 
do
15585
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15587
 
$as_echo_n "checking for $ac_func... " >&6; }
15588
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15589
 
  $as_echo_n "(cached) " >&6
15590
 
else
15591
 
  cat >conftest.$ac_ext <<_ACEOF
15592
 
/* confdefs.h.  */
15593
 
_ACEOF
15594
 
cat confdefs.h >>conftest.$ac_ext
15595
 
cat >>conftest.$ac_ext <<_ACEOF
15596
 
/* end confdefs.h.  */
15597
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15598
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15599
 
#define $ac_func innocuous_$ac_func
15600
 
 
15601
 
/* System header to define __stub macros and hopefully few prototypes,
15602
 
    which can conflict with char $ac_func (); below.
15603
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15604
 
    <limits.h> exists even on freestanding compilers.  */
15605
 
 
15606
 
#ifdef __STDC__
15607
 
# include <limits.h>
15608
 
#else
15609
 
# include <assert.h>
15610
 
#endif
15611
 
 
15612
 
#undef $ac_func
15613
 
 
15614
 
/* Override any GCC internal prototype to avoid an error.
15615
 
   Use char because int might match the return type of a GCC
15616
 
   builtin and then its argument prototype would still apply.  */
15617
 
#ifdef __cplusplus
15618
 
extern "C"
15619
 
#endif
15620
 
char $ac_func ();
15621
 
/* The GNU C library defines this for functions which it implements
15622
 
    to always fail with ENOSYS.  Some functions are actually named
15623
 
    something starting with __ and the normal name is an alias.  */
15624
 
#if defined __stub_$ac_func || defined __stub___$ac_func
15625
 
choke me
15626
 
#endif
15627
 
 
15628
 
int
15629
 
main ()
15630
 
{
15631
 
return $ac_func ();
15632
 
  ;
15633
 
  return 0;
15634
 
}
15635
 
_ACEOF
15636
 
rm -f conftest.$ac_objext conftest$ac_exeext
15637
 
if { (ac_try="$ac_link"
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_link") 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); } && {
15651
 
         test -z "$ac_c_werror_flag" ||
15652
 
         test ! -s conftest.err
15653
 
       } && test -s conftest$ac_exeext && {
15654
 
         test "$cross_compiling" = yes ||
15655
 
         $as_test_x conftest$ac_exeext
15656
 
       }; then
15657
 
  eval "$as_ac_var=yes"
15658
 
else
15659
 
  $as_echo "$as_me: failed program was:" >&5
15660
 
sed 's/^/| /' conftest.$ac_ext >&5
15661
 
 
15662
 
        eval "$as_ac_var=no"
15663
 
fi
15664
 
 
15665
 
rm -rf conftest.dSYM
15666
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15667
 
      conftest$ac_exeext conftest.$ac_ext
15668
 
fi
15669
 
ac_res=`eval 'as_val=${'$as_ac_var'}
15670
 
                 $as_echo "$as_val"'`
15671
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15672
 
$as_echo "$ac_res" >&6; }
15673
 
as_val=`eval 'as_val=${'$as_ac_var'}
15674
 
                 $as_echo "$as_val"'`
15675
 
   if test "x$as_val" = x""yes; then
 
13453
do :
 
13454
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
13455
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
13456
eval as_val=\$$as_ac_var
 
13457
   if test "x$as_val" = x""yes; then :
15676
13458
  cat >>confdefs.h <<_ACEOF
15677
13459
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15678
13460
_ACEOF
15682
13464
 
15683
13465
 
15684
13466
 
15685
 
  { $as_echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
 
13467
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
15686
13468
$as_echo_n "checking whether feof_unlocked is declared... " >&6; }
15687
 
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
 
13469
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
15688
13470
  $as_echo_n "(cached) " >&6
15689
13471
else
15690
 
  cat >conftest.$ac_ext <<_ACEOF
15691
 
/* confdefs.h.  */
15692
 
_ACEOF
15693
 
cat confdefs.h >>conftest.$ac_ext
15694
 
cat >>conftest.$ac_ext <<_ACEOF
 
13472
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695
13473
/* end confdefs.h.  */
15696
13474
#include <stdio.h>
15697
13475
int
15706
13484
  return 0;
15707
13485
}
15708
13486
_ACEOF
15709
 
rm -f conftest.$ac_objext
15710
 
if { (ac_try="$ac_compile"
15711
 
case "(($ac_try" in
15712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15713
 
  *) ac_try_echo=$ac_try;;
15714
 
esac
15715
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15716
 
$as_echo "$ac_try_echo") >&5
15717
 
  (eval "$ac_compile") 2>conftest.er1
15718
 
  ac_status=$?
15719
 
  grep -v '^ *+' conftest.er1 >conftest.err
15720
 
  rm -f conftest.er1
15721
 
  cat conftest.err >&5
15722
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723
 
  (exit $ac_status); } && {
15724
 
         test -z "$ac_c_werror_flag" ||
15725
 
         test ! -s conftest.err
15726
 
       } && test -s conftest.$ac_objext; then
 
13487
if ac_fn_c_try_compile "$LINENO"; then :
15727
13488
  ac_cv_have_decl_feof_unlocked=yes
15728
13489
else
15729
 
  $as_echo "$as_me: failed program was:" >&5
15730
 
sed 's/^/| /' conftest.$ac_ext >&5
15731
 
 
15732
 
        ac_cv_have_decl_feof_unlocked=no
 
13490
  ac_cv_have_decl_feof_unlocked=no
15733
13491
fi
15734
 
 
15735
13492
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15736
13493
fi
15737
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
 
13494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
15738
13495
$as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
15739
13496
  if test $ac_cv_have_decl_feof_unlocked = yes; then
15740
13497
    gt_value=1
15748
13505
 
15749
13506
 
15750
13507
 
15751
 
  { $as_echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
 
13508
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
15752
13509
$as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
15753
 
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
 
13510
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
15754
13511
  $as_echo_n "(cached) " >&6
15755
13512
else
15756
 
  cat >conftest.$ac_ext <<_ACEOF
15757
 
/* confdefs.h.  */
15758
 
_ACEOF
15759
 
cat confdefs.h >>conftest.$ac_ext
15760
 
cat >>conftest.$ac_ext <<_ACEOF
 
13513
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761
13514
/* end confdefs.h.  */
15762
13515
#include <stdio.h>
15763
13516
int
15772
13525
  return 0;
15773
13526
}
15774
13527
_ACEOF
15775
 
rm -f conftest.$ac_objext
15776
 
if { (ac_try="$ac_compile"
15777
 
case "(($ac_try" in
15778
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15779
 
  *) ac_try_echo=$ac_try;;
15780
 
esac
15781
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15782
 
$as_echo "$ac_try_echo") >&5
15783
 
  (eval "$ac_compile") 2>conftest.er1
15784
 
  ac_status=$?
15785
 
  grep -v '^ *+' conftest.er1 >conftest.err
15786
 
  rm -f conftest.er1
15787
 
  cat conftest.err >&5
15788
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789
 
  (exit $ac_status); } && {
15790
 
         test -z "$ac_c_werror_flag" ||
15791
 
         test ! -s conftest.err
15792
 
       } && test -s conftest.$ac_objext; then
 
13528
if ac_fn_c_try_compile "$LINENO"; then :
15793
13529
  ac_cv_have_decl_fgets_unlocked=yes
15794
13530
else
15795
 
  $as_echo "$as_me: failed program was:" >&5
15796
 
sed 's/^/| /' conftest.$ac_ext >&5
15797
 
 
15798
 
        ac_cv_have_decl_fgets_unlocked=no
 
13531
  ac_cv_have_decl_fgets_unlocked=no
15799
13532
fi
15800
 
 
15801
13533
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15802
13534
fi
15803
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
 
13535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
15804
13536
$as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
15805
13537
  if test $ac_cv_have_decl_fgets_unlocked = yes; then
15806
13538
    gt_value=1
15844
13576
  done
15845
13577
 
15846
13578
 
15847
 
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
13579
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15848
13580
$as_echo_n "checking for iconv... " >&6; }
15849
 
if test "${am_cv_func_iconv+set}" = set; then
 
13581
if test "${am_cv_func_iconv+set}" = set; then :
15850
13582
  $as_echo_n "(cached) " >&6
15851
13583
else
15852
13584
 
15853
13585
    am_cv_func_iconv="no, consider installing GNU libiconv"
15854
13586
    am_cv_lib_iconv=no
15855
 
    cat >conftest.$ac_ext <<_ACEOF
15856
 
/* confdefs.h.  */
15857
 
_ACEOF
15858
 
cat confdefs.h >>conftest.$ac_ext
15859
 
cat >>conftest.$ac_ext <<_ACEOF
 
13587
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860
13588
/* end confdefs.h.  */
15861
13589
#include <stdlib.h>
15862
13590
#include <iconv.h>
15870
13598
  return 0;
15871
13599
}
15872
13600
_ACEOF
15873
 
rm -f conftest.$ac_objext conftest$ac_exeext
15874
 
if { (ac_try="$ac_link"
15875
 
case "(($ac_try" in
15876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877
 
  *) ac_try_echo=$ac_try;;
15878
 
esac
15879
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15880
 
$as_echo "$ac_try_echo") >&5
15881
 
  (eval "$ac_link") 2>conftest.er1
15882
 
  ac_status=$?
15883
 
  grep -v '^ *+' conftest.er1 >conftest.err
15884
 
  rm -f conftest.er1
15885
 
  cat conftest.err >&5
15886
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887
 
  (exit $ac_status); } && {
15888
 
         test -z "$ac_c_werror_flag" ||
15889
 
         test ! -s conftest.err
15890
 
       } && test -s conftest$ac_exeext && {
15891
 
         test "$cross_compiling" = yes ||
15892
 
         $as_test_x conftest$ac_exeext
15893
 
       }; then
 
13601
if ac_fn_c_try_link "$LINENO"; then :
15894
13602
  am_cv_func_iconv=yes
15895
 
else
15896
 
  $as_echo "$as_me: failed program was:" >&5
15897
 
sed 's/^/| /' conftest.$ac_ext >&5
15898
 
 
15899
 
 
15900
13603
fi
15901
 
 
15902
 
rm -rf conftest.dSYM
15903
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15904
 
      conftest$ac_exeext conftest.$ac_ext
 
13604
rm -f core conftest.err conftest.$ac_objext \
 
13605
    conftest$ac_exeext conftest.$ac_ext
15905
13606
    if test "$am_cv_func_iconv" != yes; then
15906
13607
      am_save_LIBS="$LIBS"
15907
13608
      LIBS="$LIBS $LIBICONV"
15908
 
      cat >conftest.$ac_ext <<_ACEOF
15909
 
/* confdefs.h.  */
15910
 
_ACEOF
15911
 
cat confdefs.h >>conftest.$ac_ext
15912
 
cat >>conftest.$ac_ext <<_ACEOF
 
13609
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913
13610
/* end confdefs.h.  */
15914
13611
#include <stdlib.h>
15915
13612
#include <iconv.h>
15923
13620
  return 0;
15924
13621
}
15925
13622
_ACEOF
15926
 
rm -f conftest.$ac_objext conftest$ac_exeext
15927
 
if { (ac_try="$ac_link"
15928
 
case "(($ac_try" in
15929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15930
 
  *) ac_try_echo=$ac_try;;
15931
 
esac
15932
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15933
 
$as_echo "$ac_try_echo") >&5
15934
 
  (eval "$ac_link") 2>conftest.er1
15935
 
  ac_status=$?
15936
 
  grep -v '^ *+' conftest.er1 >conftest.err
15937
 
  rm -f conftest.er1
15938
 
  cat conftest.err >&5
15939
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940
 
  (exit $ac_status); } && {
15941
 
         test -z "$ac_c_werror_flag" ||
15942
 
         test ! -s conftest.err
15943
 
       } && test -s conftest$ac_exeext && {
15944
 
         test "$cross_compiling" = yes ||
15945
 
         $as_test_x conftest$ac_exeext
15946
 
       }; then
 
13623
if ac_fn_c_try_link "$LINENO"; then :
15947
13624
  am_cv_lib_iconv=yes
15948
13625
        am_cv_func_iconv=yes
15949
 
else
15950
 
  $as_echo "$as_me: failed program was:" >&5
15951
 
sed 's/^/| /' conftest.$ac_ext >&5
15952
 
 
15953
 
 
15954
13626
fi
15955
 
 
15956
 
rm -rf conftest.dSYM
15957
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15958
 
      conftest$ac_exeext conftest.$ac_ext
 
13627
rm -f core conftest.err conftest.$ac_objext \
 
13628
    conftest$ac_exeext conftest.$ac_ext
15959
13629
      LIBS="$am_save_LIBS"
15960
13630
    fi
15961
13631
 
15962
13632
fi
15963
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
13633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15964
13634
$as_echo "$am_cv_func_iconv" >&6; }
15965
13635
  if test "$am_cv_func_iconv" = yes; then
15966
13636
 
15967
 
cat >>confdefs.h <<\_ACEOF
15968
 
#define HAVE_ICONV 1
15969
 
_ACEOF
 
13637
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
15970
13638
 
15971
13639
  fi
15972
13640
  if test "$am_cv_lib_iconv" = yes; then
15973
 
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
13641
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15974
13642
$as_echo_n "checking how to link with libiconv... " >&6; }
15975
 
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
13643
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15976
13644
$as_echo "$LIBICONV" >&6; }
15977
13645
  else
15978
13646
            CPPFLAGS="$am_save_CPPFLAGS"
15983
13651
 
15984
13652
 
15985
13653
  if test "$am_cv_func_iconv" = yes; then
15986
 
    { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
 
13654
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15987
13655
$as_echo_n "checking for iconv declaration... " >&6; }
15988
 
    if test "${am_cv_proto_iconv+set}" = set; then
 
13656
    if test "${am_cv_proto_iconv+set}" = set; then :
15989
13657
  $as_echo_n "(cached) " >&6
15990
13658
else
15991
13659
 
15992
 
      cat >conftest.$ac_ext <<_ACEOF
15993
 
/* confdefs.h.  */
15994
 
_ACEOF
15995
 
cat confdefs.h >>conftest.$ac_ext
15996
 
cat >>conftest.$ac_ext <<_ACEOF
 
13660
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997
13661
/* end confdefs.h.  */
15998
13662
 
15999
13663
#include <stdlib.h>
16016
13680
  return 0;
16017
13681
}
16018
13682
_ACEOF
16019
 
rm -f conftest.$ac_objext
16020
 
if { (ac_try="$ac_compile"
16021
 
case "(($ac_try" in
16022
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023
 
  *) ac_try_echo=$ac_try;;
16024
 
esac
16025
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16026
 
$as_echo "$ac_try_echo") >&5
16027
 
  (eval "$ac_compile") 2>conftest.er1
16028
 
  ac_status=$?
16029
 
  grep -v '^ *+' conftest.er1 >conftest.err
16030
 
  rm -f conftest.er1
16031
 
  cat conftest.err >&5
16032
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033
 
  (exit $ac_status); } && {
16034
 
         test -z "$ac_c_werror_flag" ||
16035
 
         test ! -s conftest.err
16036
 
       } && test -s conftest.$ac_objext; then
 
13683
if ac_fn_c_try_compile "$LINENO"; then :
16037
13684
  am_cv_proto_iconv_arg1=""
16038
13685
else
16039
 
  $as_echo "$as_me: failed program was:" >&5
16040
 
sed 's/^/| /' conftest.$ac_ext >&5
16041
 
 
16042
 
        am_cv_proto_iconv_arg1="const"
 
13686
  am_cv_proto_iconv_arg1="const"
16043
13687
fi
16044
 
 
16045
13688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16046
13689
      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
16047
13690
fi
16048
13691
 
16049
13692
    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
16050
 
    { $as_echo "$as_me:$LINENO: result: ${ac_t:-
 
13693
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
16051
13694
         }$am_cv_proto_iconv" >&5
16052
13695
$as_echo "${ac_t:-
16053
13696
         }$am_cv_proto_iconv" >&6; }
16059
13702
  fi
16060
13703
 
16061
13704
 
16062
 
      { $as_echo "$as_me:$LINENO: checking for NL_LOCALE_NAME macro" >&5
 
13705
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NL_LOCALE_NAME macro" >&5
16063
13706
$as_echo_n "checking for NL_LOCALE_NAME macro... " >&6; }
16064
 
if test "${gt_cv_nl_locale_name+set}" = set; then
 
13707
if test "${gt_cv_nl_locale_name+set}" = set; then :
16065
13708
  $as_echo_n "(cached) " >&6
16066
13709
else
16067
 
  cat >conftest.$ac_ext <<_ACEOF
16068
 
/* confdefs.h.  */
16069
 
_ACEOF
16070
 
cat confdefs.h >>conftest.$ac_ext
16071
 
cat >>conftest.$ac_ext <<_ACEOF
 
13710
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072
13711
/* end confdefs.h.  */
16073
13712
#include <langinfo.h>
16074
13713
#include <locale.h>
16080
13719
  return 0;
16081
13720
}
16082
13721
_ACEOF
16083
 
rm -f conftest.$ac_objext conftest$ac_exeext
16084
 
if { (ac_try="$ac_link"
16085
 
case "(($ac_try" in
16086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16087
 
  *) ac_try_echo=$ac_try;;
16088
 
esac
16089
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16090
 
$as_echo "$ac_try_echo") >&5
16091
 
  (eval "$ac_link") 2>conftest.er1
16092
 
  ac_status=$?
16093
 
  grep -v '^ *+' conftest.er1 >conftest.err
16094
 
  rm -f conftest.er1
16095
 
  cat conftest.err >&5
16096
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097
 
  (exit $ac_status); } && {
16098
 
         test -z "$ac_c_werror_flag" ||
16099
 
         test ! -s conftest.err
16100
 
       } && test -s conftest$ac_exeext && {
16101
 
         test "$cross_compiling" = yes ||
16102
 
         $as_test_x conftest$ac_exeext
16103
 
       }; then
 
13722
if ac_fn_c_try_link "$LINENO"; then :
16104
13723
  gt_cv_nl_locale_name=yes
16105
13724
else
16106
 
  $as_echo "$as_me: failed program was:" >&5
16107
 
sed 's/^/| /' conftest.$ac_ext >&5
16108
 
 
16109
 
        gt_cv_nl_locale_name=no
16110
 
fi
16111
 
 
16112
 
rm -rf conftest.dSYM
16113
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16114
 
      conftest$ac_exeext conftest.$ac_ext
16115
 
 
16116
 
fi
16117
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_nl_locale_name" >&5
 
13725
  gt_cv_nl_locale_name=no
 
13726
fi
 
13727
rm -f core conftest.err conftest.$ac_objext \
 
13728
    conftest$ac_exeext conftest.$ac_ext
 
13729
 
 
13730
fi
 
13731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_nl_locale_name" >&5
16118
13732
$as_echo "$gt_cv_nl_locale_name" >&6; }
16119
13733
  if test $gt_cv_nl_locale_name = yes; then
16120
13734
 
16121
 
cat >>confdefs.h <<\_ACEOF
16122
 
#define HAVE_NL_LOCALE_NAME 1
16123
 
_ACEOF
 
13735
$as_echo "#define HAVE_NL_LOCALE_NAME 1" >>confdefs.h
16124
13736
 
16125
13737
  fi
16126
13738
 
16128
13740
do
16129
13741
  # Extract the first word of "$ac_prog", so it can be a program name with args.
16130
13742
set dummy $ac_prog; ac_word=$2
16131
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16132
13744
$as_echo_n "checking for $ac_word... " >&6; }
16133
 
if test "${ac_cv_prog_INTLBISON+set}" = set; then
 
13745
if test "${ac_cv_prog_INTLBISON+set}" = set; then :
16134
13746
  $as_echo_n "(cached) " >&6
16135
13747
else
16136
13748
  if test -n "$INTLBISON"; then
16141
13753
do
16142
13754
  IFS=$as_save_IFS
16143
13755
  test -z "$as_dir" && as_dir=.
16144
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13756
    for ac_exec_ext in '' $ac_executable_extensions; do
16145
13757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16146
13758
    ac_cv_prog_INTLBISON="$ac_prog"
16147
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13759
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16148
13760
    break 2
16149
13761
  fi
16150
13762
done
16151
 
done
 
13763
  done
16152
13764
IFS=$as_save_IFS
16153
13765
 
16154
13766
fi
16155
13767
fi
16156
13768
INTLBISON=$ac_cv_prog_INTLBISON
16157
13769
if test -n "$INTLBISON"; then
16158
 
  { $as_echo "$as_me:$LINENO: result: $INTLBISON" >&5
 
13770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
16159
13771
$as_echo "$INTLBISON" >&6; }
16160
13772
else
16161
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16162
13774
$as_echo "no" >&6; }
16163
13775
fi
16164
13776
 
16169
13781
  if test -z "$INTLBISON"; then
16170
13782
    ac_verc_fail=yes
16171
13783
  else
16172
 
        { $as_echo "$as_me:$LINENO: checking version of bison" >&5
 
13784
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
16173
13785
$as_echo_n "checking version of bison... " >&6; }
16174
13786
    ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
16175
13787
    case $ac_prog_version in
16178
13790
         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
16179
13791
      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
16180
13792
    esac
16181
 
    { $as_echo "$as_me:$LINENO: result: $ac_prog_version" >&5
 
13793
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
16182
13794
$as_echo "$ac_prog_version" >&6; }
16183
13795
  fi
16184
13796
  if test $ac_verc_fail = yes; then
16186
13798
  fi
16187
13799
 
16188
13800
 
16189
 
  { $as_echo "$as_me:$LINENO: checking for long long int" >&5
 
13801
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
16190
13802
$as_echo_n "checking for long long int... " >&6; }
16191
 
if test "${ac_cv_type_long_long_int+set}" = set; then
 
13803
if test "${ac_cv_type_long_long_int+set}" = set; then :
16192
13804
  $as_echo_n "(cached) " >&6
16193
13805
else
16194
 
  cat >conftest.$ac_ext <<_ACEOF
16195
 
/* confdefs.h.  */
16196
 
_ACEOF
16197
 
cat confdefs.h >>conftest.$ac_ext
16198
 
cat >>conftest.$ac_ext <<_ACEOF
 
13806
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199
13807
/* end confdefs.h.  */
16200
13808
long long int ll = 9223372036854775807ll;
16201
13809
            long long int nll = -9223372036854775807LL;
16213
13821
  return 0;
16214
13822
}
16215
13823
_ACEOF
16216
 
rm -f conftest.$ac_objext conftest$ac_exeext
16217
 
if { (ac_try="$ac_link"
16218
 
case "(($ac_try" in
16219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220
 
  *) ac_try_echo=$ac_try;;
16221
 
esac
16222
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16223
 
$as_echo "$ac_try_echo") >&5
16224
 
  (eval "$ac_link") 2>conftest.er1
16225
 
  ac_status=$?
16226
 
  grep -v '^ *+' conftest.er1 >conftest.err
16227
 
  rm -f conftest.er1
16228
 
  cat conftest.err >&5
16229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230
 
  (exit $ac_status); } && {
16231
 
         test -z "$ac_c_werror_flag" ||
16232
 
         test ! -s conftest.err
16233
 
       } && test -s conftest$ac_exeext && {
16234
 
         test "$cross_compiling" = yes ||
16235
 
         $as_test_x conftest$ac_exeext
16236
 
       }; then
 
13824
if ac_fn_c_try_link "$LINENO"; then :
16237
13825
  ac_cv_type_long_long_int=yes
16238
13826
else
16239
 
  $as_echo "$as_me: failed program was:" >&5
16240
 
sed 's/^/| /' conftest.$ac_ext >&5
16241
 
 
16242
 
        ac_cv_type_long_long_int=no
16243
 
fi
16244
 
 
16245
 
rm -rf conftest.dSYM
16246
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16247
 
      conftest$ac_exeext conftest.$ac_ext
16248
 
fi
16249
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
 
13827
  ac_cv_type_long_long_int=no
 
13828
fi
 
13829
rm -f core conftest.err conftest.$ac_objext \
 
13830
    conftest$ac_exeext conftest.$ac_ext
 
13831
fi
 
13832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
16250
13833
$as_echo "$ac_cv_type_long_long_int" >&6; }
16251
13834
  if test $ac_cv_type_long_long_int = yes; then
16252
13835
 
16253
 
cat >>confdefs.h <<\_ACEOF
16254
 
#define HAVE_LONG_LONG_INT 1
16255
 
_ACEOF
 
13836
$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
16256
13837
 
16257
13838
  fi
16258
13839
 
16259
13840
 
16260
 
  { $as_echo "$as_me:$LINENO: checking for long double" >&5
 
13841
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
16261
13842
$as_echo_n "checking for long double... " >&6; }
16262
 
if test "${gt_cv_c_long_double+set}" = set; then
 
13843
if test "${gt_cv_c_long_double+set}" = set; then :
16263
13844
  $as_echo_n "(cached) " >&6
16264
13845
else
16265
13846
  if test "$GCC" = yes; then
16266
13847
       gt_cv_c_long_double=yes
16267
13848
     else
16268
 
       cat >conftest.$ac_ext <<_ACEOF
16269
 
/* confdefs.h.  */
16270
 
_ACEOF
16271
 
cat confdefs.h >>conftest.$ac_ext
16272
 
cat >>conftest.$ac_ext <<_ACEOF
 
13849
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16273
13850
/* end confdefs.h.  */
16274
13851
 
16275
13852
         /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
16285
13862
  return 0;
16286
13863
}
16287
13864
_ACEOF
16288
 
rm -f conftest.$ac_objext
16289
 
if { (ac_try="$ac_compile"
16290
 
case "(($ac_try" in
16291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16292
 
  *) ac_try_echo=$ac_try;;
16293
 
esac
16294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16295
 
$as_echo "$ac_try_echo") >&5
16296
 
  (eval "$ac_compile") 2>conftest.er1
16297
 
  ac_status=$?
16298
 
  grep -v '^ *+' conftest.er1 >conftest.err
16299
 
  rm -f conftest.er1
16300
 
  cat conftest.err >&5
16301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302
 
  (exit $ac_status); } && {
16303
 
         test -z "$ac_c_werror_flag" ||
16304
 
         test ! -s conftest.err
16305
 
       } && test -s conftest.$ac_objext; then
 
13865
if ac_fn_c_try_compile "$LINENO"; then :
16306
13866
  gt_cv_c_long_double=yes
16307
13867
else
16308
 
  $as_echo "$as_me: failed program was:" >&5
16309
 
sed 's/^/| /' conftest.$ac_ext >&5
16310
 
 
16311
 
        gt_cv_c_long_double=no
 
13868
  gt_cv_c_long_double=no
16312
13869
fi
16313
 
 
16314
13870
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16315
13871
     fi
16316
13872
fi
16317
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
 
13873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
16318
13874
$as_echo "$gt_cv_c_long_double" >&6; }
16319
13875
  if test $gt_cv_c_long_double = yes; then
16320
13876
 
16321
 
cat >>confdefs.h <<\_ACEOF
16322
 
#define HAVE_LONG_DOUBLE 1
16323
 
_ACEOF
 
13877
$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
16324
13878
 
16325
13879
  fi
16326
13880
 
16327
13881
 
16328
 
  { $as_echo "$as_me:$LINENO: checking for wchar_t" >&5
 
13882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
16329
13883
$as_echo_n "checking for wchar_t... " >&6; }
16330
 
if test "${gt_cv_c_wchar_t+set}" = set; then
 
13884
if test "${gt_cv_c_wchar_t+set}" = set; then :
16331
13885
  $as_echo_n "(cached) " >&6
16332
13886
else
16333
 
  cat >conftest.$ac_ext <<_ACEOF
16334
 
/* confdefs.h.  */
16335
 
_ACEOF
16336
 
cat confdefs.h >>conftest.$ac_ext
16337
 
cat >>conftest.$ac_ext <<_ACEOF
 
13887
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338
13888
/* end confdefs.h.  */
16339
13889
#include <stddef.h>
16340
13890
       wchar_t foo = (wchar_t)'\0';
16346
13896
  return 0;
16347
13897
}
16348
13898
_ACEOF
16349
 
rm -f conftest.$ac_objext
16350
 
if { (ac_try="$ac_compile"
16351
 
case "(($ac_try" in
16352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16353
 
  *) ac_try_echo=$ac_try;;
16354
 
esac
16355
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16356
 
$as_echo "$ac_try_echo") >&5
16357
 
  (eval "$ac_compile") 2>conftest.er1
16358
 
  ac_status=$?
16359
 
  grep -v '^ *+' conftest.er1 >conftest.err
16360
 
  rm -f conftest.er1
16361
 
  cat conftest.err >&5
16362
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363
 
  (exit $ac_status); } && {
16364
 
         test -z "$ac_c_werror_flag" ||
16365
 
         test ! -s conftest.err
16366
 
       } && test -s conftest.$ac_objext; then
 
13899
if ac_fn_c_try_compile "$LINENO"; then :
16367
13900
  gt_cv_c_wchar_t=yes
16368
13901
else
16369
 
  $as_echo "$as_me: failed program was:" >&5
16370
 
sed 's/^/| /' conftest.$ac_ext >&5
16371
 
 
16372
 
        gt_cv_c_wchar_t=no
 
13902
  gt_cv_c_wchar_t=no
16373
13903
fi
16374
 
 
16375
13904
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376
13905
fi
16377
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
 
13906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
16378
13907
$as_echo "$gt_cv_c_wchar_t" >&6; }
16379
13908
  if test $gt_cv_c_wchar_t = yes; then
16380
13909
 
16381
 
cat >>confdefs.h <<\_ACEOF
16382
 
#define HAVE_WCHAR_T 1
16383
 
_ACEOF
 
13910
$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
16384
13911
 
16385
13912
  fi
16386
13913
 
16387
13914
 
16388
 
  { $as_echo "$as_me:$LINENO: checking for wint_t" >&5
 
13915
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
16389
13916
$as_echo_n "checking for wint_t... " >&6; }
16390
 
if test "${gt_cv_c_wint_t+set}" = set; then
 
13917
if test "${gt_cv_c_wint_t+set}" = set; then :
16391
13918
  $as_echo_n "(cached) " >&6
16392
13919
else
16393
 
  cat >conftest.$ac_ext <<_ACEOF
16394
 
/* confdefs.h.  */
16395
 
_ACEOF
16396
 
cat confdefs.h >>conftest.$ac_ext
16397
 
cat >>conftest.$ac_ext <<_ACEOF
 
13920
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398
13921
/* end confdefs.h.  */
16399
13922
#include <wchar.h>
16400
13923
       wint_t foo = (wchar_t)'\0';
16406
13929
  return 0;
16407
13930
}
16408
13931
_ACEOF
16409
 
rm -f conftest.$ac_objext
16410
 
if { (ac_try="$ac_compile"
16411
 
case "(($ac_try" in
16412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413
 
  *) ac_try_echo=$ac_try;;
16414
 
esac
16415
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16416
 
$as_echo "$ac_try_echo") >&5
16417
 
  (eval "$ac_compile") 2>conftest.er1
16418
 
  ac_status=$?
16419
 
  grep -v '^ *+' conftest.er1 >conftest.err
16420
 
  rm -f conftest.er1
16421
 
  cat conftest.err >&5
16422
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423
 
  (exit $ac_status); } && {
16424
 
         test -z "$ac_c_werror_flag" ||
16425
 
         test ! -s conftest.err
16426
 
       } && test -s conftest.$ac_objext; then
 
13932
if ac_fn_c_try_compile "$LINENO"; then :
16427
13933
  gt_cv_c_wint_t=yes
16428
13934
else
16429
 
  $as_echo "$as_me: failed program was:" >&5
16430
 
sed 's/^/| /' conftest.$ac_ext >&5
16431
 
 
16432
 
        gt_cv_c_wint_t=no
 
13935
  gt_cv_c_wint_t=no
16433
13936
fi
16434
 
 
16435
13937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16436
13938
fi
16437
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
 
13939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
16438
13940
$as_echo "$gt_cv_c_wint_t" >&6; }
16439
13941
  if test $gt_cv_c_wint_t = yes; then
16440
13942
 
16441
 
cat >>confdefs.h <<\_ACEOF
16442
 
#define HAVE_WINT_T 1
16443
 
_ACEOF
 
13943
$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
16444
13944
 
16445
13945
  fi
16446
13946
 
16447
13947
 
16448
13948
 
16449
13949
 
16450
 
  { $as_echo "$as_me:$LINENO: checking for intmax_t" >&5
 
13950
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
16451
13951
$as_echo_n "checking for intmax_t... " >&6; }
16452
 
if test "${gt_cv_c_intmax_t+set}" = set; then
 
13952
if test "${gt_cv_c_intmax_t+set}" = set; then :
16453
13953
  $as_echo_n "(cached) " >&6
16454
13954
else
16455
 
  cat >conftest.$ac_ext <<_ACEOF
16456
 
/* confdefs.h.  */
16457
 
_ACEOF
16458
 
cat confdefs.h >>conftest.$ac_ext
16459
 
cat >>conftest.$ac_ext <<_ACEOF
 
13955
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460
13956
/* end confdefs.h.  */
16461
13957
 
16462
13958
#include <stddef.h>
16477
13973
  return 0;
16478
13974
}
16479
13975
_ACEOF
16480
 
rm -f conftest.$ac_objext
16481
 
if { (ac_try="$ac_compile"
16482
 
case "(($ac_try" in
16483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16484
 
  *) ac_try_echo=$ac_try;;
16485
 
esac
16486
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16487
 
$as_echo "$ac_try_echo") >&5
16488
 
  (eval "$ac_compile") 2>conftest.er1
16489
 
  ac_status=$?
16490
 
  grep -v '^ *+' conftest.er1 >conftest.err
16491
 
  rm -f conftest.er1
16492
 
  cat conftest.err >&5
16493
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494
 
  (exit $ac_status); } && {
16495
 
         test -z "$ac_c_werror_flag" ||
16496
 
         test ! -s conftest.err
16497
 
       } && test -s conftest.$ac_objext; then
 
13976
if ac_fn_c_try_compile "$LINENO"; then :
16498
13977
  gt_cv_c_intmax_t=yes
16499
13978
else
16500
 
  $as_echo "$as_me: failed program was:" >&5
16501
 
sed 's/^/| /' conftest.$ac_ext >&5
16502
 
 
16503
 
        gt_cv_c_intmax_t=no
 
13979
  gt_cv_c_intmax_t=no
16504
13980
fi
16505
 
 
16506
13981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507
13982
fi
16508
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
 
13983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
16509
13984
$as_echo "$gt_cv_c_intmax_t" >&6; }
16510
13985
  if test $gt_cv_c_intmax_t = yes; then
16511
13986
 
16512
 
cat >>confdefs.h <<\_ACEOF
16513
 
#define HAVE_INTMAX_T 1
16514
 
_ACEOF
 
13987
$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
16515
13988
 
16516
13989
  fi
16517
13990
 
16518
13991
 
16519
13992
 
16520
 
  { $as_echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
 
13993
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
16521
13994
$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
16522
 
if test "${gt_cv_func_printf_posix+set}" = set; then
 
13995
if test "${gt_cv_func_printf_posix+set}" = set; then :
16523
13996
  $as_echo_n "(cached) " >&6
16524
13997
else
16525
13998
 
16526
 
      if test "$cross_compiling" = yes; then
 
13999
      if test "$cross_compiling" = yes; then :
16527
14000
 
16528
 
        cat >conftest.$ac_ext <<_ACEOF
16529
 
/* confdefs.h.  */
16530
 
_ACEOF
16531
 
cat confdefs.h >>conftest.$ac_ext
16532
 
cat >>conftest.$ac_ext <<_ACEOF
 
14001
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533
14002
/* end confdefs.h.  */
16534
14003
 
16535
14004
#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
16538
14007
 
16539
14008
_ACEOF
16540
14009
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16541
 
  $EGREP "notposix" >/dev/null 2>&1; then
 
14010
  $EGREP "notposix" >/dev/null 2>&1; then :
16542
14011
  gt_cv_func_printf_posix="guessing no"
16543
14012
else
16544
14013
  gt_cv_func_printf_posix="guessing yes"
16547
14016
 
16548
14017
 
16549
14018
else
16550
 
  cat >conftest.$ac_ext <<_ACEOF
16551
 
/* confdefs.h.  */
16552
 
_ACEOF
16553
 
cat confdefs.h >>conftest.$ac_ext
16554
 
cat >>conftest.$ac_ext <<_ACEOF
 
14019
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16555
14020
/* end confdefs.h.  */
16556
14021
 
16557
14022
#include <stdio.h>
16566
14031
  return (strcmp (buf, "55 33") != 0);
16567
14032
}
16568
14033
_ACEOF
16569
 
rm -f conftest$ac_exeext
16570
 
if { (ac_try="$ac_link"
16571
 
case "(($ac_try" in
16572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16573
 
  *) ac_try_echo=$ac_try;;
16574
 
esac
16575
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16576
 
$as_echo "$ac_try_echo") >&5
16577
 
  (eval "$ac_link") 2>&5
16578
 
  ac_status=$?
16579
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16581
 
  { (case "(($ac_try" in
16582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16583
 
  *) ac_try_echo=$ac_try;;
16584
 
esac
16585
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16586
 
$as_echo "$ac_try_echo") >&5
16587
 
  (eval "$ac_try") 2>&5
16588
 
  ac_status=$?
16589
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590
 
  (exit $ac_status); }; }; then
 
14034
if ac_fn_c_try_run "$LINENO"; then :
16591
14035
  gt_cv_func_printf_posix=yes
16592
14036
else
16593
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
16594
 
$as_echo "$as_me: failed program was:" >&5
16595
 
sed 's/^/| /' conftest.$ac_ext >&5
16596
 
 
16597
 
( exit $ac_status )
16598
 
gt_cv_func_printf_posix=no
16599
 
fi
16600
 
rm -rf conftest.dSYM
16601
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16602
 
fi
16603
 
 
16604
 
 
16605
 
 
16606
 
fi
16607
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
 
14037
  gt_cv_func_printf_posix=no
 
14038
fi
 
14039
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14040
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14041
fi
 
14042
 
 
14043
 
 
14044
fi
 
14045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
16608
14046
$as_echo "$gt_cv_func_printf_posix" >&6; }
16609
14047
  case $gt_cv_func_printf_posix in
16610
14048
    *yes)
16611
14049
 
16612
 
cat >>confdefs.h <<\_ACEOF
16613
 
#define HAVE_POSIX_PRINTF 1
16614
 
_ACEOF
 
14050
$as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
16615
14051
 
16616
14052
      ;;
16617
14053
  esac
16618
14054
 
16619
14055
 
16620
 
    { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
 
14056
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
16621
14057
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
16622
 
if test "${ac_cv_gnu_library_2_1+set}" = set; then
 
14058
if test "${ac_cv_gnu_library_2_1+set}" = set; then :
16623
14059
  $as_echo_n "(cached) " >&6
16624
14060
else
16625
 
  cat >conftest.$ac_ext <<_ACEOF
16626
 
/* confdefs.h.  */
16627
 
_ACEOF
16628
 
cat confdefs.h >>conftest.$ac_ext
16629
 
cat >>conftest.$ac_ext <<_ACEOF
 
14061
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630
14062
/* end confdefs.h.  */
16631
14063
 
16632
14064
#include <features.h>
16638
14070
 
16639
14071
_ACEOF
16640
14072
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16641
 
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
 
14073
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
16642
14074
  ac_cv_gnu_library_2_1=yes
16643
14075
else
16644
14076
  ac_cv_gnu_library_2_1=no
16648
14080
 
16649
14081
 
16650
14082
fi
16651
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
 
14083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
16652
14084
$as_echo "$ac_cv_gnu_library_2_1" >&6; }
16653
14085
 
16654
14086
    GLIBC21="$ac_cv_gnu_library_2_1"
16655
14087
 
16656
14088
 
16657
14089
 
16658
 
 
16659
 
for ac_header in stdint.h
16660
 
do
16661
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16662
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16663
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16664
 
$as_echo_n "checking for $ac_header... " >&6; }
16665
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16666
 
  $as_echo_n "(cached) " >&6
16667
 
fi
16668
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
16669
 
                 $as_echo "$as_val"'`
16670
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16671
 
$as_echo "$ac_res" >&6; }
16672
 
else
16673
 
  # Is the header compilable?
16674
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16675
 
$as_echo_n "checking $ac_header usability... " >&6; }
16676
 
cat >conftest.$ac_ext <<_ACEOF
16677
 
/* confdefs.h.  */
16678
 
_ACEOF
16679
 
cat confdefs.h >>conftest.$ac_ext
16680
 
cat >>conftest.$ac_ext <<_ACEOF
16681
 
/* end confdefs.h.  */
16682
 
$ac_includes_default
16683
 
#include <$ac_header>
16684
 
_ACEOF
16685
 
rm -f conftest.$ac_objext
16686
 
if { (ac_try="$ac_compile"
16687
 
case "(($ac_try" in
16688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16689
 
  *) ac_try_echo=$ac_try;;
16690
 
esac
16691
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16692
 
$as_echo "$ac_try_echo") >&5
16693
 
  (eval "$ac_compile") 2>conftest.er1
16694
 
  ac_status=$?
16695
 
  grep -v '^ *+' conftest.er1 >conftest.err
16696
 
  rm -f conftest.er1
16697
 
  cat conftest.err >&5
16698
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699
 
  (exit $ac_status); } && {
16700
 
         test -z "$ac_c_werror_flag" ||
16701
 
         test ! -s conftest.err
16702
 
       } && test -s conftest.$ac_objext; then
16703
 
  ac_header_compiler=yes
16704
 
else
16705
 
  $as_echo "$as_me: failed program was:" >&5
16706
 
sed 's/^/| /' conftest.$ac_ext >&5
16707
 
 
16708
 
        ac_header_compiler=no
16709
 
fi
16710
 
 
16711
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16712
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16713
 
$as_echo "$ac_header_compiler" >&6; }
16714
 
 
16715
 
# Is the header present?
16716
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16717
 
$as_echo_n "checking $ac_header presence... " >&6; }
16718
 
cat >conftest.$ac_ext <<_ACEOF
16719
 
/* confdefs.h.  */
16720
 
_ACEOF
16721
 
cat confdefs.h >>conftest.$ac_ext
16722
 
cat >>conftest.$ac_ext <<_ACEOF
16723
 
/* end confdefs.h.  */
16724
 
#include <$ac_header>
16725
 
_ACEOF
16726
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16727
 
case "(($ac_try" in
16728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729
 
  *) ac_try_echo=$ac_try;;
16730
 
esac
16731
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16732
 
$as_echo "$ac_try_echo") >&5
16733
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16734
 
  ac_status=$?
16735
 
  grep -v '^ *+' conftest.er1 >conftest.err
16736
 
  rm -f conftest.er1
16737
 
  cat conftest.err >&5
16738
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739
 
  (exit $ac_status); } >/dev/null && {
16740
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16741
 
         test ! -s conftest.err
16742
 
       }; then
16743
 
  ac_header_preproc=yes
16744
 
else
16745
 
  $as_echo "$as_me: failed program was:" >&5
16746
 
sed 's/^/| /' conftest.$ac_ext >&5
16747
 
 
16748
 
  ac_header_preproc=no
16749
 
fi
16750
 
 
16751
 
rm -f conftest.err conftest.$ac_ext
16752
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16753
 
$as_echo "$ac_header_preproc" >&6; }
16754
 
 
16755
 
# So?  What about this header?
16756
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16757
 
  yes:no: )
16758
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16759
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16760
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16761
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16762
 
    ac_header_preproc=yes
16763
 
    ;;
16764
 
  no:yes:* )
16765
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16766
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16767
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16768
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16769
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16770
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16771
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16772
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16773
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16774
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16775
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16776
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16777
 
    ( cat <<\_ASBOX
16778
 
## -------------------------------------------- ##
16779
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
16780
 
## -------------------------------------------- ##
16781
 
_ASBOX
16782
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
16783
 
    ;;
16784
 
esac
16785
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16786
 
$as_echo_n "checking for $ac_header... " >&6; }
16787
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16788
 
  $as_echo_n "(cached) " >&6
16789
 
else
16790
 
  eval "$as_ac_Header=\$ac_header_preproc"
16791
 
fi
16792
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
16793
 
                 $as_echo "$as_val"'`
16794
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16795
 
$as_echo "$ac_res" >&6; }
16796
 
 
16797
 
fi
16798
 
as_val=`eval 'as_val=${'$as_ac_Header'}
16799
 
                 $as_echo "$as_val"'`
16800
 
   if test "x$as_val" = x""yes; then
 
14090
  for ac_header in stdint.h
 
14091
do :
 
14092
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
 
14093
if test "x$ac_cv_header_stdint_h" = x""yes; then :
16801
14094
  cat >>confdefs.h <<_ACEOF
16802
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14095
#define HAVE_STDINT_H 1
16803
14096
_ACEOF
16804
14097
 
16805
14098
fi
16806
14099
 
16807
14100
done
16808
14101
 
16809
 
    { $as_echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
 
14102
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
16810
14103
$as_echo_n "checking for SIZE_MAX... " >&6; }
16811
 
  if test "${gl_cv_size_max+set}" = set; then
 
14104
  if test "${gl_cv_size_max+set}" = set; then :
16812
14105
  $as_echo_n "(cached) " >&6
16813
14106
else
16814
14107
 
16815
14108
    gl_cv_size_max=
16816
 
    cat >conftest.$ac_ext <<_ACEOF
16817
 
/* confdefs.h.  */
16818
 
_ACEOF
16819
 
cat confdefs.h >>conftest.$ac_ext
16820
 
cat >>conftest.$ac_ext <<_ACEOF
 
14109
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821
14110
/* end confdefs.h.  */
16822
14111
 
16823
14112
#include <limits.h>
16830
14119
 
16831
14120
_ACEOF
16832
14121
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16833
 
  $EGREP "Found it" >/dev/null 2>&1; then
 
14122
  $EGREP "Found it" >/dev/null 2>&1; then :
16834
14123
  gl_cv_size_max=yes
16835
14124
fi
16836
14125
rm -f conftest*
16837
14126
 
16838
14127
    if test -z "$gl_cv_size_max"; then
16839
 
                        if test "$cross_compiling" = yes; then
16840
 
  # Depending upon the size, compute the lo and hi bounds.
16841
 
cat >conftest.$ac_ext <<_ACEOF
16842
 
/* confdefs.h.  */
16843
 
_ACEOF
16844
 
cat confdefs.h >>conftest.$ac_ext
16845
 
cat >>conftest.$ac_ext <<_ACEOF
16846
 
/* end confdefs.h.  */
16847
 
#include <stddef.h>
16848
 
#include <limits.h>
16849
 
int
16850
 
main ()
16851
 
{
16852
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
16853
 
test_array [0] = 0
16854
 
 
16855
 
  ;
16856
 
  return 0;
16857
 
}
16858
 
_ACEOF
16859
 
rm -f conftest.$ac_objext
16860
 
if { (ac_try="$ac_compile"
16861
 
case "(($ac_try" in
16862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863
 
  *) ac_try_echo=$ac_try;;
16864
 
esac
16865
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16866
 
$as_echo "$ac_try_echo") >&5
16867
 
  (eval "$ac_compile") 2>conftest.er1
16868
 
  ac_status=$?
16869
 
  grep -v '^ *+' conftest.er1 >conftest.err
16870
 
  rm -f conftest.er1
16871
 
  cat conftest.err >&5
16872
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873
 
  (exit $ac_status); } && {
16874
 
         test -z "$ac_c_werror_flag" ||
16875
 
         test ! -s conftest.err
16876
 
       } && test -s conftest.$ac_objext; then
16877
 
  ac_lo=0 ac_mid=0
16878
 
  while :; do
16879
 
    cat >conftest.$ac_ext <<_ACEOF
16880
 
/* confdefs.h.  */
16881
 
_ACEOF
16882
 
cat confdefs.h >>conftest.$ac_ext
16883
 
cat >>conftest.$ac_ext <<_ACEOF
16884
 
/* end confdefs.h.  */
16885
 
#include <stddef.h>
16886
 
#include <limits.h>
16887
 
int
16888
 
main ()
16889
 
{
16890
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
16891
 
test_array [0] = 0
16892
 
 
16893
 
  ;
16894
 
  return 0;
16895
 
}
16896
 
_ACEOF
16897
 
rm -f conftest.$ac_objext
16898
 
if { (ac_try="$ac_compile"
16899
 
case "(($ac_try" in
16900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901
 
  *) ac_try_echo=$ac_try;;
16902
 
esac
16903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16904
 
$as_echo "$ac_try_echo") >&5
16905
 
  (eval "$ac_compile") 2>conftest.er1
16906
 
  ac_status=$?
16907
 
  grep -v '^ *+' conftest.er1 >conftest.err
16908
 
  rm -f conftest.er1
16909
 
  cat conftest.err >&5
16910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911
 
  (exit $ac_status); } && {
16912
 
         test -z "$ac_c_werror_flag" ||
16913
 
         test ! -s conftest.err
16914
 
       } && test -s conftest.$ac_objext; then
16915
 
  ac_hi=$ac_mid; break
16916
 
else
16917
 
  $as_echo "$as_me: failed program was:" >&5
16918
 
sed 's/^/| /' conftest.$ac_ext >&5
16919
 
 
16920
 
        ac_lo=`expr $ac_mid + 1`
16921
 
                        if test $ac_lo -le $ac_mid; then
16922
 
                          ac_lo= ac_hi=
16923
 
                          break
16924
 
                        fi
16925
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
16926
 
fi
16927
 
 
16928
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929
 
  done
16930
 
else
16931
 
  $as_echo "$as_me: failed program was:" >&5
16932
 
sed 's/^/| /' conftest.$ac_ext >&5
16933
 
 
16934
 
        cat >conftest.$ac_ext <<_ACEOF
16935
 
/* confdefs.h.  */
16936
 
_ACEOF
16937
 
cat confdefs.h >>conftest.$ac_ext
16938
 
cat >>conftest.$ac_ext <<_ACEOF
16939
 
/* end confdefs.h.  */
16940
 
#include <stddef.h>
16941
 
#include <limits.h>
16942
 
int
16943
 
main ()
16944
 
{
16945
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
16946
 
test_array [0] = 0
16947
 
 
16948
 
  ;
16949
 
  return 0;
16950
 
}
16951
 
_ACEOF
16952
 
rm -f conftest.$ac_objext
16953
 
if { (ac_try="$ac_compile"
16954
 
case "(($ac_try" in
16955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16956
 
  *) ac_try_echo=$ac_try;;
16957
 
esac
16958
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16959
 
$as_echo "$ac_try_echo") >&5
16960
 
  (eval "$ac_compile") 2>conftest.er1
16961
 
  ac_status=$?
16962
 
  grep -v '^ *+' conftest.er1 >conftest.err
16963
 
  rm -f conftest.er1
16964
 
  cat conftest.err >&5
16965
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966
 
  (exit $ac_status); } && {
16967
 
         test -z "$ac_c_werror_flag" ||
16968
 
         test ! -s conftest.err
16969
 
       } && test -s conftest.$ac_objext; then
16970
 
  ac_hi=-1 ac_mid=-1
16971
 
  while :; do
16972
 
    cat >conftest.$ac_ext <<_ACEOF
16973
 
/* confdefs.h.  */
16974
 
_ACEOF
16975
 
cat confdefs.h >>conftest.$ac_ext
16976
 
cat >>conftest.$ac_ext <<_ACEOF
16977
 
/* end confdefs.h.  */
16978
 
#include <stddef.h>
16979
 
#include <limits.h>
16980
 
int
16981
 
main ()
16982
 
{
16983
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
16984
 
test_array [0] = 0
16985
 
 
16986
 
  ;
16987
 
  return 0;
16988
 
}
16989
 
_ACEOF
16990
 
rm -f conftest.$ac_objext
16991
 
if { (ac_try="$ac_compile"
16992
 
case "(($ac_try" in
16993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16994
 
  *) ac_try_echo=$ac_try;;
16995
 
esac
16996
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16997
 
$as_echo "$ac_try_echo") >&5
16998
 
  (eval "$ac_compile") 2>conftest.er1
16999
 
  ac_status=$?
17000
 
  grep -v '^ *+' conftest.er1 >conftest.err
17001
 
  rm -f conftest.er1
17002
 
  cat conftest.err >&5
17003
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004
 
  (exit $ac_status); } && {
17005
 
         test -z "$ac_c_werror_flag" ||
17006
 
         test ! -s conftest.err
17007
 
       } && test -s conftest.$ac_objext; then
17008
 
  ac_lo=$ac_mid; break
17009
 
else
17010
 
  $as_echo "$as_me: failed program was:" >&5
17011
 
sed 's/^/| /' conftest.$ac_ext >&5
17012
 
 
17013
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
17014
 
                        if test $ac_mid -le $ac_hi; then
17015
 
                          ac_lo= ac_hi=
17016
 
                          break
17017
 
                        fi
17018
 
                        ac_mid=`expr 2 '*' $ac_mid`
17019
 
fi
17020
 
 
17021
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17022
 
  done
17023
 
else
17024
 
  $as_echo "$as_me: failed program was:" >&5
17025
 
sed 's/^/| /' conftest.$ac_ext >&5
17026
 
 
17027
 
        ac_lo= ac_hi=
17028
 
fi
17029
 
 
17030
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031
 
fi
17032
 
 
17033
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17034
 
# Binary search between lo and hi bounds.
17035
 
while test "x$ac_lo" != "x$ac_hi"; do
17036
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17037
 
  cat >conftest.$ac_ext <<_ACEOF
17038
 
/* confdefs.h.  */
17039
 
_ACEOF
17040
 
cat confdefs.h >>conftest.$ac_ext
17041
 
cat >>conftest.$ac_ext <<_ACEOF
17042
 
/* end confdefs.h.  */
17043
 
#include <stddef.h>
17044
 
#include <limits.h>
17045
 
int
17046
 
main ()
17047
 
{
17048
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
17049
 
test_array [0] = 0
17050
 
 
17051
 
  ;
17052
 
  return 0;
17053
 
}
17054
 
_ACEOF
17055
 
rm -f conftest.$ac_objext
17056
 
if { (ac_try="$ac_compile"
17057
 
case "(($ac_try" in
17058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17059
 
  *) ac_try_echo=$ac_try;;
17060
 
esac
17061
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17062
 
$as_echo "$ac_try_echo") >&5
17063
 
  (eval "$ac_compile") 2>conftest.er1
17064
 
  ac_status=$?
17065
 
  grep -v '^ *+' conftest.er1 >conftest.err
17066
 
  rm -f conftest.er1
17067
 
  cat conftest.err >&5
17068
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069
 
  (exit $ac_status); } && {
17070
 
         test -z "$ac_c_werror_flag" ||
17071
 
         test ! -s conftest.err
17072
 
       } && test -s conftest.$ac_objext; then
17073
 
  ac_hi=$ac_mid
17074
 
else
17075
 
  $as_echo "$as_me: failed program was:" >&5
17076
 
sed 's/^/| /' conftest.$ac_ext >&5
17077
 
 
17078
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
17079
 
fi
17080
 
 
17081
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082
 
done
17083
 
case $ac_lo in
17084
 
?*) size_t_bits_minus_1=$ac_lo;;
17085
 
'') size_t_bits_minus_1= ;;
17086
 
esac
17087
 
else
17088
 
  cat >conftest.$ac_ext <<_ACEOF
17089
 
/* confdefs.h.  */
17090
 
_ACEOF
17091
 
cat confdefs.h >>conftest.$ac_ext
17092
 
cat >>conftest.$ac_ext <<_ACEOF
17093
 
/* end confdefs.h.  */
17094
 
#include <stddef.h>
17095
 
#include <limits.h>
17096
 
static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
17097
 
static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
17098
 
#include <stdio.h>
17099
 
#include <stdlib.h>
17100
 
int
17101
 
main ()
17102
 
{
17103
 
 
17104
 
  FILE *f = fopen ("conftest.val", "w");
17105
 
  if (! f)
17106
 
    return 1;
17107
 
  if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
17108
 
    {
17109
 
      long int i = longval ();
17110
 
      if (i != (sizeof (size_t) * CHAR_BIT - 1))
17111
 
        return 1;
17112
 
      fprintf (f, "%ld", i);
17113
 
    }
17114
 
  else
17115
 
    {
17116
 
      unsigned long int i = ulongval ();
17117
 
      if (i != (sizeof (size_t) * CHAR_BIT - 1))
17118
 
        return 1;
17119
 
      fprintf (f, "%lu", i);
17120
 
    }
17121
 
  /* Do not output a trailing newline, as this causes \r\n confusion
17122
 
     on some platforms.  */
17123
 
  return ferror (f) || fclose (f) != 0;
17124
 
 
17125
 
  ;
17126
 
  return 0;
17127
 
}
17128
 
_ACEOF
17129
 
rm -f conftest$ac_exeext
17130
 
if { (ac_try="$ac_link"
17131
 
case "(($ac_try" in
17132
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133
 
  *) ac_try_echo=$ac_try;;
17134
 
esac
17135
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17136
 
$as_echo "$ac_try_echo") >&5
17137
 
  (eval "$ac_link") 2>&5
17138
 
  ac_status=$?
17139
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17141
 
  { (case "(($ac_try" in
17142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143
 
  *) ac_try_echo=$ac_try;;
17144
 
esac
17145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17146
 
$as_echo "$ac_try_echo") >&5
17147
 
  (eval "$ac_try") 2>&5
17148
 
  ac_status=$?
17149
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150
 
  (exit $ac_status); }; }; then
17151
 
  size_t_bits_minus_1=`cat conftest.val`
17152
 
else
17153
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
17154
 
$as_echo "$as_me: failed program was:" >&5
17155
 
sed 's/^/| /' conftest.$ac_ext >&5
17156
 
 
17157
 
( exit $ac_status )
17158
 
size_t_bits_minus_1=
17159
 
fi
17160
 
rm -rf conftest.dSYM
17161
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17162
 
fi
17163
 
rm -f conftest.val
17164
 
 
17165
 
      if test "$cross_compiling" = yes; then
17166
 
  # Depending upon the size, compute the lo and hi bounds.
17167
 
cat >conftest.$ac_ext <<_ACEOF
17168
 
/* confdefs.h.  */
17169
 
_ACEOF
17170
 
cat confdefs.h >>conftest.$ac_ext
17171
 
cat >>conftest.$ac_ext <<_ACEOF
17172
 
/* end confdefs.h.  */
17173
 
#include <stddef.h>
17174
 
int
17175
 
main ()
17176
 
{
17177
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
17178
 
test_array [0] = 0
17179
 
 
17180
 
  ;
17181
 
  return 0;
17182
 
}
17183
 
_ACEOF
17184
 
rm -f conftest.$ac_objext
17185
 
if { (ac_try="$ac_compile"
17186
 
case "(($ac_try" in
17187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17188
 
  *) ac_try_echo=$ac_try;;
17189
 
esac
17190
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17191
 
$as_echo "$ac_try_echo") >&5
17192
 
  (eval "$ac_compile") 2>conftest.er1
17193
 
  ac_status=$?
17194
 
  grep -v '^ *+' conftest.er1 >conftest.err
17195
 
  rm -f conftest.er1
17196
 
  cat conftest.err >&5
17197
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198
 
  (exit $ac_status); } && {
17199
 
         test -z "$ac_c_werror_flag" ||
17200
 
         test ! -s conftest.err
17201
 
       } && test -s conftest.$ac_objext; then
17202
 
  ac_lo=0 ac_mid=0
17203
 
  while :; do
17204
 
    cat >conftest.$ac_ext <<_ACEOF
17205
 
/* confdefs.h.  */
17206
 
_ACEOF
17207
 
cat confdefs.h >>conftest.$ac_ext
17208
 
cat >>conftest.$ac_ext <<_ACEOF
17209
 
/* end confdefs.h.  */
17210
 
#include <stddef.h>
17211
 
int
17212
 
main ()
17213
 
{
17214
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
17215
 
test_array [0] = 0
17216
 
 
17217
 
  ;
17218
 
  return 0;
17219
 
}
17220
 
_ACEOF
17221
 
rm -f conftest.$ac_objext
17222
 
if { (ac_try="$ac_compile"
17223
 
case "(($ac_try" in
17224
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17225
 
  *) ac_try_echo=$ac_try;;
17226
 
esac
17227
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17228
 
$as_echo "$ac_try_echo") >&5
17229
 
  (eval "$ac_compile") 2>conftest.er1
17230
 
  ac_status=$?
17231
 
  grep -v '^ *+' conftest.er1 >conftest.err
17232
 
  rm -f conftest.er1
17233
 
  cat conftest.err >&5
17234
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235
 
  (exit $ac_status); } && {
17236
 
         test -z "$ac_c_werror_flag" ||
17237
 
         test ! -s conftest.err
17238
 
       } && test -s conftest.$ac_objext; then
17239
 
  ac_hi=$ac_mid; break
17240
 
else
17241
 
  $as_echo "$as_me: failed program was:" >&5
17242
 
sed 's/^/| /' conftest.$ac_ext >&5
17243
 
 
17244
 
        ac_lo=`expr $ac_mid + 1`
17245
 
                        if test $ac_lo -le $ac_mid; then
17246
 
                          ac_lo= ac_hi=
17247
 
                          break
17248
 
                        fi
17249
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
17250
 
fi
17251
 
 
17252
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253
 
  done
17254
 
else
17255
 
  $as_echo "$as_me: failed program was:" >&5
17256
 
sed 's/^/| /' conftest.$ac_ext >&5
17257
 
 
17258
 
        cat >conftest.$ac_ext <<_ACEOF
17259
 
/* confdefs.h.  */
17260
 
_ACEOF
17261
 
cat confdefs.h >>conftest.$ac_ext
17262
 
cat >>conftest.$ac_ext <<_ACEOF
17263
 
/* end confdefs.h.  */
17264
 
#include <stddef.h>
17265
 
int
17266
 
main ()
17267
 
{
17268
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
17269
 
test_array [0] = 0
17270
 
 
17271
 
  ;
17272
 
  return 0;
17273
 
}
17274
 
_ACEOF
17275
 
rm -f conftest.$ac_objext
17276
 
if { (ac_try="$ac_compile"
17277
 
case "(($ac_try" in
17278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279
 
  *) ac_try_echo=$ac_try;;
17280
 
esac
17281
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17282
 
$as_echo "$ac_try_echo") >&5
17283
 
  (eval "$ac_compile") 2>conftest.er1
17284
 
  ac_status=$?
17285
 
  grep -v '^ *+' conftest.er1 >conftest.err
17286
 
  rm -f conftest.er1
17287
 
  cat conftest.err >&5
17288
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289
 
  (exit $ac_status); } && {
17290
 
         test -z "$ac_c_werror_flag" ||
17291
 
         test ! -s conftest.err
17292
 
       } && test -s conftest.$ac_objext; then
17293
 
  ac_hi=-1 ac_mid=-1
17294
 
  while :; do
17295
 
    cat >conftest.$ac_ext <<_ACEOF
17296
 
/* confdefs.h.  */
17297
 
_ACEOF
17298
 
cat confdefs.h >>conftest.$ac_ext
17299
 
cat >>conftest.$ac_ext <<_ACEOF
17300
 
/* end confdefs.h.  */
17301
 
#include <stddef.h>
17302
 
int
17303
 
main ()
17304
 
{
17305
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
17306
 
test_array [0] = 0
17307
 
 
17308
 
  ;
17309
 
  return 0;
17310
 
}
17311
 
_ACEOF
17312
 
rm -f conftest.$ac_objext
17313
 
if { (ac_try="$ac_compile"
17314
 
case "(($ac_try" in
17315
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17316
 
  *) ac_try_echo=$ac_try;;
17317
 
esac
17318
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17319
 
$as_echo "$ac_try_echo") >&5
17320
 
  (eval "$ac_compile") 2>conftest.er1
17321
 
  ac_status=$?
17322
 
  grep -v '^ *+' conftest.er1 >conftest.err
17323
 
  rm -f conftest.er1
17324
 
  cat conftest.err >&5
17325
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326
 
  (exit $ac_status); } && {
17327
 
         test -z "$ac_c_werror_flag" ||
17328
 
         test ! -s conftest.err
17329
 
       } && test -s conftest.$ac_objext; then
17330
 
  ac_lo=$ac_mid; break
17331
 
else
17332
 
  $as_echo "$as_me: failed program was:" >&5
17333
 
sed 's/^/| /' conftest.$ac_ext >&5
17334
 
 
17335
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
17336
 
                        if test $ac_mid -le $ac_hi; then
17337
 
                          ac_lo= ac_hi=
17338
 
                          break
17339
 
                        fi
17340
 
                        ac_mid=`expr 2 '*' $ac_mid`
17341
 
fi
17342
 
 
17343
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17344
 
  done
17345
 
else
17346
 
  $as_echo "$as_me: failed program was:" >&5
17347
 
sed 's/^/| /' conftest.$ac_ext >&5
17348
 
 
17349
 
        ac_lo= ac_hi=
17350
 
fi
17351
 
 
17352
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17353
 
fi
17354
 
 
17355
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356
 
# Binary search between lo and hi bounds.
17357
 
while test "x$ac_lo" != "x$ac_hi"; do
17358
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17359
 
  cat >conftest.$ac_ext <<_ACEOF
17360
 
/* confdefs.h.  */
17361
 
_ACEOF
17362
 
cat confdefs.h >>conftest.$ac_ext
17363
 
cat >>conftest.$ac_ext <<_ACEOF
17364
 
/* end confdefs.h.  */
17365
 
#include <stddef.h>
17366
 
int
17367
 
main ()
17368
 
{
17369
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
17370
 
test_array [0] = 0
17371
 
 
17372
 
  ;
17373
 
  return 0;
17374
 
}
17375
 
_ACEOF
17376
 
rm -f conftest.$ac_objext
17377
 
if { (ac_try="$ac_compile"
17378
 
case "(($ac_try" in
17379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17380
 
  *) ac_try_echo=$ac_try;;
17381
 
esac
17382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17383
 
$as_echo "$ac_try_echo") >&5
17384
 
  (eval "$ac_compile") 2>conftest.er1
17385
 
  ac_status=$?
17386
 
  grep -v '^ *+' conftest.er1 >conftest.err
17387
 
  rm -f conftest.er1
17388
 
  cat conftest.err >&5
17389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390
 
  (exit $ac_status); } && {
17391
 
         test -z "$ac_c_werror_flag" ||
17392
 
         test ! -s conftest.err
17393
 
       } && test -s conftest.$ac_objext; then
17394
 
  ac_hi=$ac_mid
17395
 
else
17396
 
  $as_echo "$as_me: failed program was:" >&5
17397
 
sed 's/^/| /' conftest.$ac_ext >&5
17398
 
 
17399
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
17400
 
fi
17401
 
 
17402
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403
 
done
17404
 
case $ac_lo in
17405
 
?*) fits_in_uint=$ac_lo;;
17406
 
'') fits_in_uint= ;;
17407
 
esac
17408
 
else
17409
 
  cat >conftest.$ac_ext <<_ACEOF
17410
 
/* confdefs.h.  */
17411
 
_ACEOF
17412
 
cat confdefs.h >>conftest.$ac_ext
17413
 
cat >>conftest.$ac_ext <<_ACEOF
17414
 
/* end confdefs.h.  */
17415
 
#include <stddef.h>
17416
 
static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
17417
 
static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
17418
 
#include <stdio.h>
17419
 
#include <stdlib.h>
17420
 
int
17421
 
main ()
17422
 
{
17423
 
 
17424
 
  FILE *f = fopen ("conftest.val", "w");
17425
 
  if (! f)
17426
 
    return 1;
17427
 
  if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
17428
 
    {
17429
 
      long int i = longval ();
17430
 
      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
17431
 
        return 1;
17432
 
      fprintf (f, "%ld", i);
17433
 
    }
17434
 
  else
17435
 
    {
17436
 
      unsigned long int i = ulongval ();
17437
 
      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
17438
 
        return 1;
17439
 
      fprintf (f, "%lu", i);
17440
 
    }
17441
 
  /* Do not output a trailing newline, as this causes \r\n confusion
17442
 
     on some platforms.  */
17443
 
  return ferror (f) || fclose (f) != 0;
17444
 
 
17445
 
  ;
17446
 
  return 0;
17447
 
}
17448
 
_ACEOF
17449
 
rm -f conftest$ac_exeext
17450
 
if { (ac_try="$ac_link"
17451
 
case "(($ac_try" in
17452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453
 
  *) ac_try_echo=$ac_try;;
17454
 
esac
17455
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17456
 
$as_echo "$ac_try_echo") >&5
17457
 
  (eval "$ac_link") 2>&5
17458
 
  ac_status=$?
17459
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17461
 
  { (case "(($ac_try" in
17462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463
 
  *) ac_try_echo=$ac_try;;
17464
 
esac
17465
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17466
 
$as_echo "$ac_try_echo") >&5
17467
 
  (eval "$ac_try") 2>&5
17468
 
  ac_status=$?
17469
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470
 
  (exit $ac_status); }; }; then
17471
 
  fits_in_uint=`cat conftest.val`
17472
 
else
17473
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
17474
 
$as_echo "$as_me: failed program was:" >&5
17475
 
sed 's/^/| /' conftest.$ac_ext >&5
17476
 
 
17477
 
( exit $ac_status )
17478
 
fits_in_uint=
17479
 
fi
17480
 
rm -rf conftest.dSYM
17481
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17482
 
fi
17483
 
rm -f conftest.val
 
14128
                        if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
 
14129
#include <limits.h>"; then :
 
14130
 
 
14131
else
 
14132
  size_t_bits_minus_1=
 
14133
fi
 
14134
 
 
14135
 
 
14136
      if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
 
14137
 
 
14138
else
 
14139
  fits_in_uint=
 
14140
fi
 
14141
 
17484
14142
 
17485
14143
      if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
17486
14144
        if test $fits_in_uint = 1; then
17487
 
                              cat >conftest.$ac_ext <<_ACEOF
17488
 
/* confdefs.h.  */
17489
 
_ACEOF
17490
 
cat confdefs.h >>conftest.$ac_ext
17491
 
cat >>conftest.$ac_ext <<_ACEOF
 
14145
                              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492
14146
/* end confdefs.h.  */
17493
14147
#include <stddef.h>
17494
14148
            extern size_t foo;
17502
14156
  return 0;
17503
14157
}
17504
14158
_ACEOF
17505
 
rm -f conftest.$ac_objext
17506
 
if { (ac_try="$ac_compile"
17507
 
case "(($ac_try" in
17508
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17509
 
  *) ac_try_echo=$ac_try;;
17510
 
esac
17511
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17512
 
$as_echo "$ac_try_echo") >&5
17513
 
  (eval "$ac_compile") 2>conftest.er1
17514
 
  ac_status=$?
17515
 
  grep -v '^ *+' conftest.er1 >conftest.err
17516
 
  rm -f conftest.er1
17517
 
  cat conftest.err >&5
17518
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519
 
  (exit $ac_status); } && {
17520
 
         test -z "$ac_c_werror_flag" ||
17521
 
         test ! -s conftest.err
17522
 
       } && test -s conftest.$ac_objext; then
 
14159
if ac_fn_c_try_compile "$LINENO"; then :
17523
14160
  fits_in_uint=0
17524
 
else
17525
 
  $as_echo "$as_me: failed program was:" >&5
17526
 
sed 's/^/| /' conftest.$ac_ext >&5
17527
 
 
17528
 
 
17529
14161
fi
17530
 
 
17531
14162
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532
14163
        fi
17533
14164
                                if test $fits_in_uint = 1; then
17542
14173
 
17543
14174
fi
17544
14175
 
17545
 
  { $as_echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
 
14176
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
17546
14177
$as_echo "$gl_cv_size_max" >&6; }
17547
14178
  if test "$gl_cv_size_max" != yes; then
17548
14179
 
17555
14186
 
17556
14187
 
17557
14188
 
17558
 
 
17559
 
for ac_header in stdint.h
17560
 
do
17561
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17562
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17563
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17564
 
$as_echo_n "checking for $ac_header... " >&6; }
17565
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17566
 
  $as_echo_n "(cached) " >&6
17567
 
fi
17568
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
17569
 
                 $as_echo "$as_val"'`
17570
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17571
 
$as_echo "$ac_res" >&6; }
17572
 
else
17573
 
  # Is the header compilable?
17574
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17575
 
$as_echo_n "checking $ac_header usability... " >&6; }
17576
 
cat >conftest.$ac_ext <<_ACEOF
17577
 
/* confdefs.h.  */
17578
 
_ACEOF
17579
 
cat confdefs.h >>conftest.$ac_ext
17580
 
cat >>conftest.$ac_ext <<_ACEOF
17581
 
/* end confdefs.h.  */
17582
 
$ac_includes_default
17583
 
#include <$ac_header>
17584
 
_ACEOF
17585
 
rm -f conftest.$ac_objext
17586
 
if { (ac_try="$ac_compile"
17587
 
case "(($ac_try" in
17588
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589
 
  *) ac_try_echo=$ac_try;;
17590
 
esac
17591
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17592
 
$as_echo "$ac_try_echo") >&5
17593
 
  (eval "$ac_compile") 2>conftest.er1
17594
 
  ac_status=$?
17595
 
  grep -v '^ *+' conftest.er1 >conftest.err
17596
 
  rm -f conftest.er1
17597
 
  cat conftest.err >&5
17598
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599
 
  (exit $ac_status); } && {
17600
 
         test -z "$ac_c_werror_flag" ||
17601
 
         test ! -s conftest.err
17602
 
       } && test -s conftest.$ac_objext; then
17603
 
  ac_header_compiler=yes
17604
 
else
17605
 
  $as_echo "$as_me: failed program was:" >&5
17606
 
sed 's/^/| /' conftest.$ac_ext >&5
17607
 
 
17608
 
        ac_header_compiler=no
17609
 
fi
17610
 
 
17611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17613
 
$as_echo "$ac_header_compiler" >&6; }
17614
 
 
17615
 
# Is the header present?
17616
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17617
 
$as_echo_n "checking $ac_header presence... " >&6; }
17618
 
cat >conftest.$ac_ext <<_ACEOF
17619
 
/* confdefs.h.  */
17620
 
_ACEOF
17621
 
cat confdefs.h >>conftest.$ac_ext
17622
 
cat >>conftest.$ac_ext <<_ACEOF
17623
 
/* end confdefs.h.  */
17624
 
#include <$ac_header>
17625
 
_ACEOF
17626
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17627
 
case "(($ac_try" in
17628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629
 
  *) ac_try_echo=$ac_try;;
17630
 
esac
17631
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17632
 
$as_echo "$ac_try_echo") >&5
17633
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17634
 
  ac_status=$?
17635
 
  grep -v '^ *+' conftest.er1 >conftest.err
17636
 
  rm -f conftest.er1
17637
 
  cat conftest.err >&5
17638
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639
 
  (exit $ac_status); } >/dev/null && {
17640
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17641
 
         test ! -s conftest.err
17642
 
       }; then
17643
 
  ac_header_preproc=yes
17644
 
else
17645
 
  $as_echo "$as_me: failed program was:" >&5
17646
 
sed 's/^/| /' conftest.$ac_ext >&5
17647
 
 
17648
 
  ac_header_preproc=no
17649
 
fi
17650
 
 
17651
 
rm -f conftest.err conftest.$ac_ext
17652
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17653
 
$as_echo "$ac_header_preproc" >&6; }
17654
 
 
17655
 
# So?  What about this header?
17656
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17657
 
  yes:no: )
17658
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17659
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17660
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17661
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17662
 
    ac_header_preproc=yes
17663
 
    ;;
17664
 
  no:yes:* )
17665
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17666
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17667
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17668
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17669
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17670
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17671
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17672
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17673
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17674
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17675
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17676
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17677
 
    ( cat <<\_ASBOX
17678
 
## -------------------------------------------- ##
17679
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
17680
 
## -------------------------------------------- ##
17681
 
_ASBOX
17682
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17683
 
    ;;
17684
 
esac
17685
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17686
 
$as_echo_n "checking for $ac_header... " >&6; }
17687
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17688
 
  $as_echo_n "(cached) " >&6
17689
 
else
17690
 
  eval "$as_ac_Header=\$ac_header_preproc"
17691
 
fi
17692
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
17693
 
                 $as_echo "$as_val"'`
17694
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17695
 
$as_echo "$ac_res" >&6; }
17696
 
 
17697
 
fi
17698
 
as_val=`eval 'as_val=${'$as_ac_Header'}
17699
 
                 $as_echo "$as_val"'`
17700
 
   if test "x$as_val" = x""yes; then
 
14189
  for ac_header in stdint.h
 
14190
do :
 
14191
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
 
14192
if test "x$ac_cv_header_stdint_h" = x""yes; then :
17701
14193
  cat >>confdefs.h <<_ACEOF
17702
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14194
#define HAVE_STDINT_H 1
17703
14195
_ACEOF
17704
14196
 
17705
14197
fi
17708
14200
 
17709
14201
 
17710
14202
 
17711
 
    { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
14203
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
17712
14204
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
17713
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
 
14205
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
17714
14206
  $as_echo_n "(cached) " >&6
17715
14207
else
17716
14208
  gt_save_LIBS="$LIBS"
17717
14209
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17718
 
     cat >conftest.$ac_ext <<_ACEOF
17719
 
/* confdefs.h.  */
17720
 
_ACEOF
17721
 
cat confdefs.h >>conftest.$ac_ext
17722
 
cat >>conftest.$ac_ext <<_ACEOF
 
14210
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723
14211
/* end confdefs.h.  */
17724
14212
#include <CoreFoundation/CFPreferences.h>
17725
14213
int
17730
14218
  return 0;
17731
14219
}
17732
14220
_ACEOF
17733
 
rm -f conftest.$ac_objext conftest$ac_exeext
17734
 
if { (ac_try="$ac_link"
17735
 
case "(($ac_try" in
17736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737
 
  *) ac_try_echo=$ac_try;;
17738
 
esac
17739
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17740
 
$as_echo "$ac_try_echo") >&5
17741
 
  (eval "$ac_link") 2>conftest.er1
17742
 
  ac_status=$?
17743
 
  grep -v '^ *+' conftest.er1 >conftest.err
17744
 
  rm -f conftest.er1
17745
 
  cat conftest.err >&5
17746
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747
 
  (exit $ac_status); } && {
17748
 
         test -z "$ac_c_werror_flag" ||
17749
 
         test ! -s conftest.err
17750
 
       } && test -s conftest$ac_exeext && {
17751
 
         test "$cross_compiling" = yes ||
17752
 
         $as_test_x conftest$ac_exeext
17753
 
       }; then
 
14221
if ac_fn_c_try_link "$LINENO"; then :
17754
14222
  gt_cv_func_CFPreferencesCopyAppValue=yes
17755
14223
else
17756
 
  $as_echo "$as_me: failed program was:" >&5
17757
 
sed 's/^/| /' conftest.$ac_ext >&5
17758
 
 
17759
 
        gt_cv_func_CFPreferencesCopyAppValue=no
 
14224
  gt_cv_func_CFPreferencesCopyAppValue=no
17760
14225
fi
17761
 
 
17762
 
rm -rf conftest.dSYM
17763
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17764
 
      conftest$ac_exeext conftest.$ac_ext
 
14226
rm -f core conftest.err conftest.$ac_objext \
 
14227
    conftest$ac_exeext conftest.$ac_ext
17765
14228
     LIBS="$gt_save_LIBS"
17766
14229
fi
17767
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
14230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
17768
14231
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
17769
14232
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
17770
14233
 
17771
 
cat >>confdefs.h <<\_ACEOF
17772
 
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
17773
 
_ACEOF
 
14234
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
17774
14235
 
17775
14236
  fi
17776
 
    { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
14237
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
17777
14238
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
17778
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
 
14239
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
17779
14240
  $as_echo_n "(cached) " >&6
17780
14241
else
17781
14242
  gt_save_LIBS="$LIBS"
17782
14243
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17783
 
     cat >conftest.$ac_ext <<_ACEOF
17784
 
/* confdefs.h.  */
17785
 
_ACEOF
17786
 
cat confdefs.h >>conftest.$ac_ext
17787
 
cat >>conftest.$ac_ext <<_ACEOF
 
14244
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788
14245
/* end confdefs.h.  */
17789
14246
#include <CoreFoundation/CFLocale.h>
17790
14247
int
17795
14252
  return 0;
17796
14253
}
17797
14254
_ACEOF
17798
 
rm -f conftest.$ac_objext conftest$ac_exeext
17799
 
if { (ac_try="$ac_link"
17800
 
case "(($ac_try" in
17801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17802
 
  *) ac_try_echo=$ac_try;;
17803
 
esac
17804
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17805
 
$as_echo "$ac_try_echo") >&5
17806
 
  (eval "$ac_link") 2>conftest.er1
17807
 
  ac_status=$?
17808
 
  grep -v '^ *+' conftest.er1 >conftest.err
17809
 
  rm -f conftest.er1
17810
 
  cat conftest.err >&5
17811
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812
 
  (exit $ac_status); } && {
17813
 
         test -z "$ac_c_werror_flag" ||
17814
 
         test ! -s conftest.err
17815
 
       } && test -s conftest$ac_exeext && {
17816
 
         test "$cross_compiling" = yes ||
17817
 
         $as_test_x conftest$ac_exeext
17818
 
       }; then
 
14255
if ac_fn_c_try_link "$LINENO"; then :
17819
14256
  gt_cv_func_CFLocaleCopyCurrent=yes
17820
14257
else
17821
 
  $as_echo "$as_me: failed program was:" >&5
17822
 
sed 's/^/| /' conftest.$ac_ext >&5
17823
 
 
17824
 
        gt_cv_func_CFLocaleCopyCurrent=no
 
14258
  gt_cv_func_CFLocaleCopyCurrent=no
17825
14259
fi
17826
 
 
17827
 
rm -rf conftest.dSYM
17828
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17829
 
      conftest$ac_exeext conftest.$ac_ext
 
14260
rm -f core conftest.err conftest.$ac_objext \
 
14261
    conftest$ac_exeext conftest.$ac_ext
17830
14262
     LIBS="$gt_save_LIBS"
17831
14263
fi
17832
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
14264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
17833
14265
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
17834
14266
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17835
14267
 
17836
 
cat >>confdefs.h <<\_ACEOF
17837
 
#define HAVE_CFLOCALECOPYCURRENT 1
17838
 
_ACEOF
 
14268
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
17839
14269
 
17840
14270
  fi
17841
14271
  INTL_MACOSX_LIBS=
17849
14279
 
17850
14280
 
17851
14281
 
17852
 
  { $as_echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
17853
 
$as_echo_n "checking for ptrdiff_t... " >&6; }
17854
 
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
17855
 
  $as_echo_n "(cached) " >&6
17856
 
else
17857
 
  ac_cv_type_ptrdiff_t=no
17858
 
cat >conftest.$ac_ext <<_ACEOF
17859
 
/* confdefs.h.  */
17860
 
_ACEOF
17861
 
cat confdefs.h >>conftest.$ac_ext
17862
 
cat >>conftest.$ac_ext <<_ACEOF
17863
 
/* end confdefs.h.  */
17864
 
$ac_includes_default
17865
 
int
17866
 
main ()
17867
 
{
17868
 
if (sizeof (ptrdiff_t))
17869
 
       return 0;
17870
 
  ;
17871
 
  return 0;
17872
 
}
17873
 
_ACEOF
17874
 
rm -f conftest.$ac_objext
17875
 
if { (ac_try="$ac_compile"
17876
 
case "(($ac_try" in
17877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17878
 
  *) ac_try_echo=$ac_try;;
17879
 
esac
17880
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17881
 
$as_echo "$ac_try_echo") >&5
17882
 
  (eval "$ac_compile") 2>conftest.er1
17883
 
  ac_status=$?
17884
 
  grep -v '^ *+' conftest.er1 >conftest.err
17885
 
  rm -f conftest.er1
17886
 
  cat conftest.err >&5
17887
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888
 
  (exit $ac_status); } && {
17889
 
         test -z "$ac_c_werror_flag" ||
17890
 
         test ! -s conftest.err
17891
 
       } && test -s conftest.$ac_objext; then
17892
 
  cat >conftest.$ac_ext <<_ACEOF
17893
 
/* confdefs.h.  */
17894
 
_ACEOF
17895
 
cat confdefs.h >>conftest.$ac_ext
17896
 
cat >>conftest.$ac_ext <<_ACEOF
17897
 
/* end confdefs.h.  */
17898
 
$ac_includes_default
17899
 
int
17900
 
main ()
17901
 
{
17902
 
if (sizeof ((ptrdiff_t)))
17903
 
          return 0;
17904
 
  ;
17905
 
  return 0;
17906
 
}
17907
 
_ACEOF
17908
 
rm -f conftest.$ac_objext
17909
 
if { (ac_try="$ac_compile"
17910
 
case "(($ac_try" in
17911
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912
 
  *) ac_try_echo=$ac_try;;
17913
 
esac
17914
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17915
 
$as_echo "$ac_try_echo") >&5
17916
 
  (eval "$ac_compile") 2>conftest.er1
17917
 
  ac_status=$?
17918
 
  grep -v '^ *+' conftest.er1 >conftest.err
17919
 
  rm -f conftest.er1
17920
 
  cat conftest.err >&5
17921
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922
 
  (exit $ac_status); } && {
17923
 
         test -z "$ac_c_werror_flag" ||
17924
 
         test ! -s conftest.err
17925
 
       } && test -s conftest.$ac_objext; then
17926
 
  :
17927
 
else
17928
 
  $as_echo "$as_me: failed program was:" >&5
17929
 
sed 's/^/| /' conftest.$ac_ext >&5
17930
 
 
17931
 
        ac_cv_type_ptrdiff_t=yes
17932
 
fi
17933
 
 
17934
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935
 
else
17936
 
  $as_echo "$as_me: failed program was:" >&5
17937
 
sed 's/^/| /' conftest.$ac_ext >&5
17938
 
 
17939
 
 
17940
 
fi
17941
 
 
17942
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17943
 
fi
17944
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
17945
 
$as_echo "$ac_cv_type_ptrdiff_t" >&6; }
17946
 
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then
17947
 
  :
17948
 
else
17949
 
 
17950
 
cat >>confdefs.h <<\_ACEOF
17951
 
#define ptrdiff_t long
17952
 
_ACEOF
17953
 
 
17954
 
 
17955
 
fi
17956
 
 
17957
 
 
17958
 
 
17959
 
 
17960
 
for ac_header in stddef.h stdlib.h string.h
17961
 
do
17962
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17963
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17964
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17965
 
$as_echo_n "checking for $ac_header... " >&6; }
17966
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17967
 
  $as_echo_n "(cached) " >&6
17968
 
fi
17969
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
17970
 
                 $as_echo "$as_val"'`
17971
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17972
 
$as_echo "$ac_res" >&6; }
17973
 
else
17974
 
  # Is the header compilable?
17975
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17976
 
$as_echo_n "checking $ac_header usability... " >&6; }
17977
 
cat >conftest.$ac_ext <<_ACEOF
17978
 
/* confdefs.h.  */
17979
 
_ACEOF
17980
 
cat confdefs.h >>conftest.$ac_ext
17981
 
cat >>conftest.$ac_ext <<_ACEOF
17982
 
/* end confdefs.h.  */
17983
 
$ac_includes_default
17984
 
#include <$ac_header>
17985
 
_ACEOF
17986
 
rm -f conftest.$ac_objext
17987
 
if { (ac_try="$ac_compile"
17988
 
case "(($ac_try" in
17989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17990
 
  *) ac_try_echo=$ac_try;;
17991
 
esac
17992
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17993
 
$as_echo "$ac_try_echo") >&5
17994
 
  (eval "$ac_compile") 2>conftest.er1
17995
 
  ac_status=$?
17996
 
  grep -v '^ *+' conftest.er1 >conftest.err
17997
 
  rm -f conftest.er1
17998
 
  cat conftest.err >&5
17999
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000
 
  (exit $ac_status); } && {
18001
 
         test -z "$ac_c_werror_flag" ||
18002
 
         test ! -s conftest.err
18003
 
       } && test -s conftest.$ac_objext; then
18004
 
  ac_header_compiler=yes
18005
 
else
18006
 
  $as_echo "$as_me: failed program was:" >&5
18007
 
sed 's/^/| /' conftest.$ac_ext >&5
18008
 
 
18009
 
        ac_header_compiler=no
18010
 
fi
18011
 
 
18012
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18014
 
$as_echo "$ac_header_compiler" >&6; }
18015
 
 
18016
 
# Is the header present?
18017
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18018
 
$as_echo_n "checking $ac_header presence... " >&6; }
18019
 
cat >conftest.$ac_ext <<_ACEOF
18020
 
/* confdefs.h.  */
18021
 
_ACEOF
18022
 
cat confdefs.h >>conftest.$ac_ext
18023
 
cat >>conftest.$ac_ext <<_ACEOF
18024
 
/* end confdefs.h.  */
18025
 
#include <$ac_header>
18026
 
_ACEOF
18027
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18028
 
case "(($ac_try" in
18029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030
 
  *) ac_try_echo=$ac_try;;
18031
 
esac
18032
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18033
 
$as_echo "$ac_try_echo") >&5
18034
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18035
 
  ac_status=$?
18036
 
  grep -v '^ *+' conftest.er1 >conftest.err
18037
 
  rm -f conftest.er1
18038
 
  cat conftest.err >&5
18039
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040
 
  (exit $ac_status); } >/dev/null && {
18041
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18042
 
         test ! -s conftest.err
18043
 
       }; then
18044
 
  ac_header_preproc=yes
18045
 
else
18046
 
  $as_echo "$as_me: failed program was:" >&5
18047
 
sed 's/^/| /' conftest.$ac_ext >&5
18048
 
 
18049
 
  ac_header_preproc=no
18050
 
fi
18051
 
 
18052
 
rm -f conftest.err conftest.$ac_ext
18053
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18054
 
$as_echo "$ac_header_preproc" >&6; }
18055
 
 
18056
 
# So?  What about this header?
18057
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18058
 
  yes:no: )
18059
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18060
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18061
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18062
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18063
 
    ac_header_preproc=yes
18064
 
    ;;
18065
 
  no:yes:* )
18066
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18067
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18068
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18069
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18070
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18071
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18072
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18073
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18074
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18075
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18076
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18077
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18078
 
    ( cat <<\_ASBOX
18079
 
## -------------------------------------------- ##
18080
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
18081
 
## -------------------------------------------- ##
18082
 
_ASBOX
18083
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18084
 
    ;;
18085
 
esac
18086
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18087
 
$as_echo_n "checking for $ac_header... " >&6; }
18088
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18089
 
  $as_echo_n "(cached) " >&6
18090
 
else
18091
 
  eval "$as_ac_Header=\$ac_header_preproc"
18092
 
fi
18093
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
18094
 
                 $as_echo "$as_val"'`
18095
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18096
 
$as_echo "$ac_res" >&6; }
18097
 
 
18098
 
fi
18099
 
as_val=`eval 'as_val=${'$as_ac_Header'}
18100
 
                 $as_echo "$as_val"'`
18101
 
   if test "x$as_val" = x""yes; then
 
14282
  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
 
14283
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
14284
 
 
14285
else
 
14286
 
 
14287
$as_echo "#define ptrdiff_t long" >>confdefs.h
 
14288
 
 
14289
 
 
14290
fi
 
14291
 
 
14292
  for ac_header in stddef.h stdlib.h string.h
 
14293
do :
 
14294
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14295
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
14296
eval as_val=\$$as_ac_Header
 
14297
   if test "x$as_val" = x""yes; then :
18102
14298
  cat >>confdefs.h <<_ACEOF
18103
14299
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18104
14300
_ACEOF
18107
14303
 
18108
14304
done
18109
14305
 
18110
 
 
18111
 
 
18112
 
 
18113
 
 
18114
 
 
18115
 
 
18116
 
 
18117
 
for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
18118
 
do
18119
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18120
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18121
 
$as_echo_n "checking for $ac_func... " >&6; }
18122
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18123
 
  $as_echo_n "(cached) " >&6
18124
 
else
18125
 
  cat >conftest.$ac_ext <<_ACEOF
18126
 
/* confdefs.h.  */
18127
 
_ACEOF
18128
 
cat confdefs.h >>conftest.$ac_ext
18129
 
cat >>conftest.$ac_ext <<_ACEOF
18130
 
/* end confdefs.h.  */
18131
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18132
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18133
 
#define $ac_func innocuous_$ac_func
18134
 
 
18135
 
/* System header to define __stub macros and hopefully few prototypes,
18136
 
    which can conflict with char $ac_func (); below.
18137
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18138
 
    <limits.h> exists even on freestanding compilers.  */
18139
 
 
18140
 
#ifdef __STDC__
18141
 
# include <limits.h>
18142
 
#else
18143
 
# include <assert.h>
18144
 
#endif
18145
 
 
18146
 
#undef $ac_func
18147
 
 
18148
 
/* Override any GCC internal prototype to avoid an error.
18149
 
   Use char because int might match the return type of a GCC
18150
 
   builtin and then its argument prototype would still apply.  */
18151
 
#ifdef __cplusplus
18152
 
extern "C"
18153
 
#endif
18154
 
char $ac_func ();
18155
 
/* The GNU C library defines this for functions which it implements
18156
 
    to always fail with ENOSYS.  Some functions are actually named
18157
 
    something starting with __ and the normal name is an alias.  */
18158
 
#if defined __stub_$ac_func || defined __stub___$ac_func
18159
 
choke me
18160
 
#endif
18161
 
 
18162
 
int
18163
 
main ()
18164
 
{
18165
 
return $ac_func ();
18166
 
  ;
18167
 
  return 0;
18168
 
}
18169
 
_ACEOF
18170
 
rm -f conftest.$ac_objext conftest$ac_exeext
18171
 
if { (ac_try="$ac_link"
18172
 
case "(($ac_try" in
18173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174
 
  *) ac_try_echo=$ac_try;;
18175
 
esac
18176
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18177
 
$as_echo "$ac_try_echo") >&5
18178
 
  (eval "$ac_link") 2>conftest.er1
18179
 
  ac_status=$?
18180
 
  grep -v '^ *+' conftest.er1 >conftest.err
18181
 
  rm -f conftest.er1
18182
 
  cat conftest.err >&5
18183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184
 
  (exit $ac_status); } && {
18185
 
         test -z "$ac_c_werror_flag" ||
18186
 
         test ! -s conftest.err
18187
 
       } && test -s conftest$ac_exeext && {
18188
 
         test "$cross_compiling" = yes ||
18189
 
         $as_test_x conftest$ac_exeext
18190
 
       }; then
18191
 
  eval "$as_ac_var=yes"
18192
 
else
18193
 
  $as_echo "$as_me: failed program was:" >&5
18194
 
sed 's/^/| /' conftest.$ac_ext >&5
18195
 
 
18196
 
        eval "$as_ac_var=no"
18197
 
fi
18198
 
 
18199
 
rm -rf conftest.dSYM
18200
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18201
 
      conftest$ac_exeext conftest.$ac_ext
18202
 
fi
18203
 
ac_res=`eval 'as_val=${'$as_ac_var'}
18204
 
                 $as_echo "$as_val"'`
18205
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18206
 
$as_echo "$ac_res" >&6; }
18207
 
as_val=`eval 'as_val=${'$as_ac_var'}
18208
 
                 $as_echo "$as_val"'`
18209
 
   if test "x$as_val" = x""yes; then
 
14306
  for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
 
14307
do :
 
14308
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
14309
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
14310
eval as_val=\$$as_ac_var
 
14311
   if test "x$as_val" = x""yes; then :
18210
14312
  cat >>confdefs.h <<_ACEOF
18211
14313
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18212
14314
_ACEOF
18216
14318
 
18217
14319
 
18218
14320
 
18219
 
  { $as_echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
 
14321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
18220
14322
$as_echo_n "checking whether _snprintf is declared... " >&6; }
18221
 
if test "${ac_cv_have_decl__snprintf+set}" = set; then
 
14323
if test "${ac_cv_have_decl__snprintf+set}" = set; then :
18222
14324
  $as_echo_n "(cached) " >&6
18223
14325
else
18224
 
  cat >conftest.$ac_ext <<_ACEOF
18225
 
/* confdefs.h.  */
18226
 
_ACEOF
18227
 
cat confdefs.h >>conftest.$ac_ext
18228
 
cat >>conftest.$ac_ext <<_ACEOF
 
14326
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229
14327
/* end confdefs.h.  */
18230
14328
#include <stdio.h>
18231
14329
int
18240
14338
  return 0;
18241
14339
}
18242
14340
_ACEOF
18243
 
rm -f conftest.$ac_objext
18244
 
if { (ac_try="$ac_compile"
18245
 
case "(($ac_try" in
18246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247
 
  *) ac_try_echo=$ac_try;;
18248
 
esac
18249
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18250
 
$as_echo "$ac_try_echo") >&5
18251
 
  (eval "$ac_compile") 2>conftest.er1
18252
 
  ac_status=$?
18253
 
  grep -v '^ *+' conftest.er1 >conftest.err
18254
 
  rm -f conftest.er1
18255
 
  cat conftest.err >&5
18256
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257
 
  (exit $ac_status); } && {
18258
 
         test -z "$ac_c_werror_flag" ||
18259
 
         test ! -s conftest.err
18260
 
       } && test -s conftest.$ac_objext; then
 
14341
if ac_fn_c_try_compile "$LINENO"; then :
18261
14342
  ac_cv_have_decl__snprintf=yes
18262
14343
else
18263
 
  $as_echo "$as_me: failed program was:" >&5
18264
 
sed 's/^/| /' conftest.$ac_ext >&5
18265
 
 
18266
 
        ac_cv_have_decl__snprintf=no
 
14344
  ac_cv_have_decl__snprintf=no
18267
14345
fi
18268
 
 
18269
14346
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18270
14347
fi
18271
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
 
14348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
18272
14349
$as_echo "$ac_cv_have_decl__snprintf" >&6; }
18273
14350
  if test $ac_cv_have_decl__snprintf = yes; then
18274
14351
    gt_value=1
18282
14359
 
18283
14360
 
18284
14361
 
18285
 
  { $as_echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
 
14362
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
18286
14363
$as_echo_n "checking whether _snwprintf is declared... " >&6; }
18287
 
if test "${ac_cv_have_decl__snwprintf+set}" = set; then
 
14364
if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
18288
14365
  $as_echo_n "(cached) " >&6
18289
14366
else
18290
 
  cat >conftest.$ac_ext <<_ACEOF
18291
 
/* confdefs.h.  */
18292
 
_ACEOF
18293
 
cat confdefs.h >>conftest.$ac_ext
18294
 
cat >>conftest.$ac_ext <<_ACEOF
 
14367
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295
14368
/* end confdefs.h.  */
18296
14369
#include <stdio.h>
18297
14370
int
18306
14379
  return 0;
18307
14380
}
18308
14381
_ACEOF
18309
 
rm -f conftest.$ac_objext
18310
 
if { (ac_try="$ac_compile"
18311
 
case "(($ac_try" in
18312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18313
 
  *) ac_try_echo=$ac_try;;
18314
 
esac
18315
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18316
 
$as_echo "$ac_try_echo") >&5
18317
 
  (eval "$ac_compile") 2>conftest.er1
18318
 
  ac_status=$?
18319
 
  grep -v '^ *+' conftest.er1 >conftest.err
18320
 
  rm -f conftest.er1
18321
 
  cat conftest.err >&5
18322
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323
 
  (exit $ac_status); } && {
18324
 
         test -z "$ac_c_werror_flag" ||
18325
 
         test ! -s conftest.err
18326
 
       } && test -s conftest.$ac_objext; then
 
14382
if ac_fn_c_try_compile "$LINENO"; then :
18327
14383
  ac_cv_have_decl__snwprintf=yes
18328
14384
else
18329
 
  $as_echo "$as_me: failed program was:" >&5
18330
 
sed 's/^/| /' conftest.$ac_ext >&5
18331
 
 
18332
 
        ac_cv_have_decl__snwprintf=no
 
14385
  ac_cv_have_decl__snwprintf=no
18333
14386
fi
18334
 
 
18335
14387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336
14388
fi
18337
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
 
14389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
18338
14390
$as_echo "$ac_cv_have_decl__snwprintf" >&6; }
18339
14391
  if test $ac_cv_have_decl__snwprintf = yes; then
18340
14392
    gt_value=1
18349
14401
 
18350
14402
 
18351
14403
 
18352
 
  { $as_echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
 
14404
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
18353
14405
$as_echo_n "checking whether getc_unlocked is declared... " >&6; }
18354
 
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
 
14406
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
18355
14407
  $as_echo_n "(cached) " >&6
18356
14408
else
18357
 
  cat >conftest.$ac_ext <<_ACEOF
18358
 
/* confdefs.h.  */
18359
 
_ACEOF
18360
 
cat confdefs.h >>conftest.$ac_ext
18361
 
cat >>conftest.$ac_ext <<_ACEOF
 
14409
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362
14410
/* end confdefs.h.  */
18363
14411
#include <stdio.h>
18364
14412
int
18373
14421
  return 0;
18374
14422
}
18375
14423
_ACEOF
18376
 
rm -f conftest.$ac_objext
18377
 
if { (ac_try="$ac_compile"
18378
 
case "(($ac_try" in
18379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18380
 
  *) ac_try_echo=$ac_try;;
18381
 
esac
18382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18383
 
$as_echo "$ac_try_echo") >&5
18384
 
  (eval "$ac_compile") 2>conftest.er1
18385
 
  ac_status=$?
18386
 
  grep -v '^ *+' conftest.er1 >conftest.err
18387
 
  rm -f conftest.er1
18388
 
  cat conftest.err >&5
18389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390
 
  (exit $ac_status); } && {
18391
 
         test -z "$ac_c_werror_flag" ||
18392
 
         test ! -s conftest.err
18393
 
       } && test -s conftest.$ac_objext; then
 
14424
if ac_fn_c_try_compile "$LINENO"; then :
18394
14425
  ac_cv_have_decl_getc_unlocked=yes
18395
14426
else
18396
 
  $as_echo "$as_me: failed program was:" >&5
18397
 
sed 's/^/| /' conftest.$ac_ext >&5
18398
 
 
18399
 
        ac_cv_have_decl_getc_unlocked=no
 
14427
  ac_cv_have_decl_getc_unlocked=no
18400
14428
fi
18401
 
 
18402
14429
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403
14430
fi
18404
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
 
14431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
18405
14432
$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
18406
14433
  if test $ac_cv_have_decl_getc_unlocked = yes; then
18407
14434
    gt_value=1
18440
14467
 
18441
14468
 
18442
14469
 
18443
 
  { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
 
14470
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
18444
14471
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
18445
 
if test "${am_cv_langinfo_codeset+set}" = set; then
 
14472
if test "${am_cv_langinfo_codeset+set}" = set; then :
18446
14473
  $as_echo_n "(cached) " >&6
18447
14474
else
18448
 
  cat >conftest.$ac_ext <<_ACEOF
18449
 
/* confdefs.h.  */
18450
 
_ACEOF
18451
 
cat confdefs.h >>conftest.$ac_ext
18452
 
cat >>conftest.$ac_ext <<_ACEOF
 
14475
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453
14476
/* end confdefs.h.  */
18454
14477
#include <langinfo.h>
18455
14478
int
18460
14483
  return 0;
18461
14484
}
18462
14485
_ACEOF
18463
 
rm -f conftest.$ac_objext conftest$ac_exeext
18464
 
if { (ac_try="$ac_link"
18465
 
case "(($ac_try" in
18466
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18467
 
  *) ac_try_echo=$ac_try;;
18468
 
esac
18469
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18470
 
$as_echo "$ac_try_echo") >&5
18471
 
  (eval "$ac_link") 2>conftest.er1
18472
 
  ac_status=$?
18473
 
  grep -v '^ *+' conftest.er1 >conftest.err
18474
 
  rm -f conftest.er1
18475
 
  cat conftest.err >&5
18476
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477
 
  (exit $ac_status); } && {
18478
 
         test -z "$ac_c_werror_flag" ||
18479
 
         test ! -s conftest.err
18480
 
       } && test -s conftest$ac_exeext && {
18481
 
         test "$cross_compiling" = yes ||
18482
 
         $as_test_x conftest$ac_exeext
18483
 
       }; then
 
14486
if ac_fn_c_try_link "$LINENO"; then :
18484
14487
  am_cv_langinfo_codeset=yes
18485
14488
else
18486
 
  $as_echo "$as_me: failed program was:" >&5
18487
 
sed 's/^/| /' conftest.$ac_ext >&5
18488
 
 
18489
 
        am_cv_langinfo_codeset=no
18490
 
fi
18491
 
 
18492
 
rm -rf conftest.dSYM
18493
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18494
 
      conftest$ac_exeext conftest.$ac_ext
18495
 
 
18496
 
fi
18497
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
 
14489
  am_cv_langinfo_codeset=no
 
14490
fi
 
14491
rm -f core conftest.err conftest.$ac_objext \
 
14492
    conftest$ac_exeext conftest.$ac_ext
 
14493
 
 
14494
fi
 
14495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
18498
14496
$as_echo "$am_cv_langinfo_codeset" >&6; }
18499
14497
  if test $am_cv_langinfo_codeset = yes; then
18500
14498
 
18501
 
cat >>confdefs.h <<\_ACEOF
18502
 
#define HAVE_LANGINFO_CODESET 1
18503
 
_ACEOF
 
14499
$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
18504
14500
 
18505
14501
  fi
18506
14502
 
18507
14503
 
18508
 
  { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
14504
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
18509
14505
$as_echo_n "checking for LC_MESSAGES... " >&6; }
18510
 
if test "${gt_cv_val_LC_MESSAGES+set}" = set; then
 
14506
if test "${gt_cv_val_LC_MESSAGES+set}" = set; then :
18511
14507
  $as_echo_n "(cached) " >&6
18512
14508
else
18513
 
  cat >conftest.$ac_ext <<_ACEOF
18514
 
/* confdefs.h.  */
18515
 
_ACEOF
18516
 
cat confdefs.h >>conftest.$ac_ext
18517
 
cat >>conftest.$ac_ext <<_ACEOF
 
14509
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518
14510
/* end confdefs.h.  */
18519
14511
#include <locale.h>
18520
14512
int
18525
14517
  return 0;
18526
14518
}
18527
14519
_ACEOF
18528
 
rm -f conftest.$ac_objext conftest$ac_exeext
18529
 
if { (ac_try="$ac_link"
18530
 
case "(($ac_try" in
18531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18532
 
  *) ac_try_echo=$ac_try;;
18533
 
esac
18534
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18535
 
$as_echo "$ac_try_echo") >&5
18536
 
  (eval "$ac_link") 2>conftest.er1
18537
 
  ac_status=$?
18538
 
  grep -v '^ *+' conftest.er1 >conftest.err
18539
 
  rm -f conftest.er1
18540
 
  cat conftest.err >&5
18541
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542
 
  (exit $ac_status); } && {
18543
 
         test -z "$ac_c_werror_flag" ||
18544
 
         test ! -s conftest.err
18545
 
       } && test -s conftest$ac_exeext && {
18546
 
         test "$cross_compiling" = yes ||
18547
 
         $as_test_x conftest$ac_exeext
18548
 
       }; then
 
14520
if ac_fn_c_try_link "$LINENO"; then :
18549
14521
  gt_cv_val_LC_MESSAGES=yes
18550
14522
else
18551
 
  $as_echo "$as_me: failed program was:" >&5
18552
 
sed 's/^/| /' conftest.$ac_ext >&5
18553
 
 
18554
 
        gt_cv_val_LC_MESSAGES=no
18555
 
fi
18556
 
 
18557
 
rm -rf conftest.dSYM
18558
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18559
 
      conftest$ac_exeext conftest.$ac_ext
18560
 
fi
18561
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_val_LC_MESSAGES" >&5
 
14523
  gt_cv_val_LC_MESSAGES=no
 
14524
fi
 
14525
rm -f core conftest.err conftest.$ac_objext \
 
14526
    conftest$ac_exeext conftest.$ac_ext
 
14527
fi
 
14528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
18562
14529
$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
18563
14530
  if test $gt_cv_val_LC_MESSAGES = yes; then
18564
14531
 
18565
 
cat >>confdefs.h <<\_ACEOF
18566
 
#define HAVE_LC_MESSAGES 1
18567
 
_ACEOF
 
14532
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
18568
14533
 
18569
14534
  fi
18570
14535
 
18604
14569
 
18605
14570
 
18606
14571
 
18607
 
 
18608
 
    { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
14572
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18609
14573
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18610
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
 
14574
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
18611
14575
  $as_echo_n "(cached) " >&6
18612
14576
else
18613
14577
  gt_save_LIBS="$LIBS"
18614
14578
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18615
 
     cat >conftest.$ac_ext <<_ACEOF
18616
 
/* confdefs.h.  */
18617
 
_ACEOF
18618
 
cat confdefs.h >>conftest.$ac_ext
18619
 
cat >>conftest.$ac_ext <<_ACEOF
 
14579
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620
14580
/* end confdefs.h.  */
18621
14581
#include <CoreFoundation/CFPreferences.h>
18622
14582
int
18627
14587
  return 0;
18628
14588
}
18629
14589
_ACEOF
18630
 
rm -f conftest.$ac_objext conftest$ac_exeext
18631
 
if { (ac_try="$ac_link"
18632
 
case "(($ac_try" in
18633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18634
 
  *) ac_try_echo=$ac_try;;
18635
 
esac
18636
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18637
 
$as_echo "$ac_try_echo") >&5
18638
 
  (eval "$ac_link") 2>conftest.er1
18639
 
  ac_status=$?
18640
 
  grep -v '^ *+' conftest.er1 >conftest.err
18641
 
  rm -f conftest.er1
18642
 
  cat conftest.err >&5
18643
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644
 
  (exit $ac_status); } && {
18645
 
         test -z "$ac_c_werror_flag" ||
18646
 
         test ! -s conftest.err
18647
 
       } && test -s conftest$ac_exeext && {
18648
 
         test "$cross_compiling" = yes ||
18649
 
         $as_test_x conftest$ac_exeext
18650
 
       }; then
 
14590
if ac_fn_c_try_link "$LINENO"; then :
18651
14591
  gt_cv_func_CFPreferencesCopyAppValue=yes
18652
14592
else
18653
 
  $as_echo "$as_me: failed program was:" >&5
18654
 
sed 's/^/| /' conftest.$ac_ext >&5
18655
 
 
18656
 
        gt_cv_func_CFPreferencesCopyAppValue=no
 
14593
  gt_cv_func_CFPreferencesCopyAppValue=no
18657
14594
fi
18658
 
 
18659
 
rm -rf conftest.dSYM
18660
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18661
 
      conftest$ac_exeext conftest.$ac_ext
 
14595
rm -f core conftest.err conftest.$ac_objext \
 
14596
    conftest$ac_exeext conftest.$ac_ext
18662
14597
     LIBS="$gt_save_LIBS"
18663
14598
fi
18664
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
14599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18665
14600
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18666
14601
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18667
14602
 
18668
 
cat >>confdefs.h <<\_ACEOF
18669
 
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
18670
 
_ACEOF
 
14603
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18671
14604
 
18672
14605
  fi
18673
 
    { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
14606
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18674
14607
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18675
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
 
14608
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
18676
14609
  $as_echo_n "(cached) " >&6
18677
14610
else
18678
14611
  gt_save_LIBS="$LIBS"
18679
14612
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18680
 
     cat >conftest.$ac_ext <<_ACEOF
18681
 
/* confdefs.h.  */
18682
 
_ACEOF
18683
 
cat confdefs.h >>conftest.$ac_ext
18684
 
cat >>conftest.$ac_ext <<_ACEOF
 
14613
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685
14614
/* end confdefs.h.  */
18686
14615
#include <CoreFoundation/CFLocale.h>
18687
14616
int
18692
14621
  return 0;
18693
14622
}
18694
14623
_ACEOF
18695
 
rm -f conftest.$ac_objext conftest$ac_exeext
18696
 
if { (ac_try="$ac_link"
18697
 
case "(($ac_try" in
18698
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699
 
  *) ac_try_echo=$ac_try;;
18700
 
esac
18701
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18702
 
$as_echo "$ac_try_echo") >&5
18703
 
  (eval "$ac_link") 2>conftest.er1
18704
 
  ac_status=$?
18705
 
  grep -v '^ *+' conftest.er1 >conftest.err
18706
 
  rm -f conftest.er1
18707
 
  cat conftest.err >&5
18708
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709
 
  (exit $ac_status); } && {
18710
 
         test -z "$ac_c_werror_flag" ||
18711
 
         test ! -s conftest.err
18712
 
       } && test -s conftest$ac_exeext && {
18713
 
         test "$cross_compiling" = yes ||
18714
 
         $as_test_x conftest$ac_exeext
18715
 
       }; then
 
14624
if ac_fn_c_try_link "$LINENO"; then :
18716
14625
  gt_cv_func_CFLocaleCopyCurrent=yes
18717
14626
else
18718
 
  $as_echo "$as_me: failed program was:" >&5
18719
 
sed 's/^/| /' conftest.$ac_ext >&5
18720
 
 
18721
 
        gt_cv_func_CFLocaleCopyCurrent=no
 
14627
  gt_cv_func_CFLocaleCopyCurrent=no
18722
14628
fi
18723
 
 
18724
 
rm -rf conftest.dSYM
18725
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18726
 
      conftest$ac_exeext conftest.$ac_ext
 
14629
rm -f core conftest.err conftest.$ac_objext \
 
14630
    conftest$ac_exeext conftest.$ac_ext
18727
14631
     LIBS="$gt_save_LIBS"
18728
14632
fi
18729
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
14633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18730
14634
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18731
14635
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18732
14636
 
18733
 
cat >>confdefs.h <<\_ACEOF
18734
 
#define HAVE_CFLOCALECOPYCURRENT 1
18735
 
_ACEOF
 
14637
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18736
14638
 
18737
14639
  fi
18738
14640
  INTL_MACOSX_LIBS=
18763
14665
    if test "$USE_NLS" = "yes"; then
18764
14666
    gt_use_preinstalled_gnugettext=no
18765
14667
 
18766
 
      { $as_echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
 
14668
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
18767
14669
$as_echo_n "checking whether included gettext is requested... " >&6; }
18768
14670
 
18769
14671
# Check whether --with-included-gettext was given.
18770
 
if test "${with_included_gettext+set}" = set; then
 
14672
if test "${with_included_gettext+set}" = set; then :
18771
14673
  withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
18772
14674
else
18773
14675
  nls_cv_force_use_gnu_gettext=no
18774
14676
fi
18775
14677
 
18776
 
      { $as_echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
 
14678
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
18777
14679
$as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
18778
14680
 
18779
14681
      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
18796
14698
          gt_expression_test_code=
18797
14699
        fi
18798
14700
 
18799
 
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
14701
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18800
14702
$as_echo_n "checking for GNU gettext in libc... " >&6; }
18801
 
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
 
14703
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then :
18802
14704
  $as_echo_n "(cached) " >&6
18803
14705
else
18804
 
  cat >conftest.$ac_ext <<_ACEOF
18805
 
/* confdefs.h.  */
18806
 
_ACEOF
18807
 
cat confdefs.h >>conftest.$ac_ext
18808
 
cat >>conftest.$ac_ext <<_ACEOF
 
14706
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809
14707
/* end confdefs.h.  */
18810
14708
#include <libintl.h>
18811
14709
$gt_revision_test_code
18820
14718
  return 0;
18821
14719
}
18822
14720
_ACEOF
18823
 
rm -f conftest.$ac_objext conftest$ac_exeext
18824
 
if { (ac_try="$ac_link"
18825
 
case "(($ac_try" in
18826
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18827
 
  *) ac_try_echo=$ac_try;;
18828
 
esac
18829
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18830
 
$as_echo "$ac_try_echo") >&5
18831
 
  (eval "$ac_link") 2>conftest.er1
18832
 
  ac_status=$?
18833
 
  grep -v '^ *+' conftest.er1 >conftest.err
18834
 
  rm -f conftest.er1
18835
 
  cat conftest.err >&5
18836
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837
 
  (exit $ac_status); } && {
18838
 
         test -z "$ac_c_werror_flag" ||
18839
 
         test ! -s conftest.err
18840
 
       } && test -s conftest$ac_exeext && {
18841
 
         test "$cross_compiling" = yes ||
18842
 
         $as_test_x conftest$ac_exeext
18843
 
       }; then
 
14721
if ac_fn_c_try_link "$LINENO"; then :
18844
14722
  eval "$gt_func_gnugettext_libc=yes"
18845
14723
else
18846
 
  $as_echo "$as_me: failed program was:" >&5
18847
 
sed 's/^/| /' conftest.$ac_ext >&5
18848
 
 
18849
 
        eval "$gt_func_gnugettext_libc=no"
18850
 
fi
18851
 
 
18852
 
rm -rf conftest.dSYM
18853
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18854
 
      conftest$ac_exeext conftest.$ac_ext
18855
 
fi
18856
 
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'}
18857
 
                 $as_echo "$as_val"'`
18858
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14724
  eval "$gt_func_gnugettext_libc=no"
 
14725
fi
 
14726
rm -f core conftest.err conftest.$ac_objext \
 
14727
    conftest$ac_exeext conftest.$ac_ext
 
14728
fi
 
14729
eval ac_res=\$$gt_func_gnugettext_libc
 
14730
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18859
14731
$as_echo "$ac_res" >&6; }
18860
14732
 
18861
14733
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18878
14750
 
18879
14751
 
18880
14752
# Check whether --with-libintl-prefix was given.
18881
 
if test "${with_libintl_prefix+set}" = set; then
 
14753
if test "${with_libintl_prefix+set}" = set; then :
18882
14754
  withval=$with_libintl_prefix;
18883
14755
    if test "X$withval" = "Xno"; then
18884
14756
      use_additional=no
19253
15125
    done
19254
15126
  fi
19255
15127
 
19256
 
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
15128
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
19257
15129
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
19258
 
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
 
15130
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then :
19259
15131
  $as_echo_n "(cached) " >&6
19260
15132
else
19261
15133
  gt_save_CPPFLAGS="$CPPFLAGS"
19262
15134
            CPPFLAGS="$CPPFLAGS $INCINTL"
19263
15135
            gt_save_LIBS="$LIBS"
19264
15136
            LIBS="$LIBS $LIBINTL"
19265
 
                        cat >conftest.$ac_ext <<_ACEOF
19266
 
/* confdefs.h.  */
19267
 
_ACEOF
19268
 
cat confdefs.h >>conftest.$ac_ext
19269
 
cat >>conftest.$ac_ext <<_ACEOF
 
15137
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270
15138
/* end confdefs.h.  */
19271
15139
#include <libintl.h>
19272
15140
$gt_revision_test_code
19285
15153
  return 0;
19286
15154
}
19287
15155
_ACEOF
19288
 
rm -f conftest.$ac_objext conftest$ac_exeext
19289
 
if { (ac_try="$ac_link"
19290
 
case "(($ac_try" in
19291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19292
 
  *) ac_try_echo=$ac_try;;
19293
 
esac
19294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19295
 
$as_echo "$ac_try_echo") >&5
19296
 
  (eval "$ac_link") 2>conftest.er1
19297
 
  ac_status=$?
19298
 
  grep -v '^ *+' conftest.er1 >conftest.err
19299
 
  rm -f conftest.er1
19300
 
  cat conftest.err >&5
19301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302
 
  (exit $ac_status); } && {
19303
 
         test -z "$ac_c_werror_flag" ||
19304
 
         test ! -s conftest.err
19305
 
       } && test -s conftest$ac_exeext && {
19306
 
         test "$cross_compiling" = yes ||
19307
 
         $as_test_x conftest$ac_exeext
19308
 
       }; then
 
15156
if ac_fn_c_try_link "$LINENO"; then :
19309
15157
  eval "$gt_func_gnugettext_libintl=yes"
19310
15158
else
19311
 
  $as_echo "$as_me: failed program was:" >&5
19312
 
sed 's/^/| /' conftest.$ac_ext >&5
19313
 
 
19314
 
        eval "$gt_func_gnugettext_libintl=no"
 
15159
  eval "$gt_func_gnugettext_libintl=no"
19315
15160
fi
19316
 
 
19317
 
rm -rf conftest.dSYM
19318
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19319
 
      conftest$ac_exeext conftest.$ac_ext
 
15161
rm -f core conftest.err conftest.$ac_objext \
 
15162
    conftest$ac_exeext conftest.$ac_ext
19320
15163
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
19321
15164
              LIBS="$LIBS $LIBICONV"
19322
 
              cat >conftest.$ac_ext <<_ACEOF
19323
 
/* confdefs.h.  */
19324
 
_ACEOF
19325
 
cat confdefs.h >>conftest.$ac_ext
19326
 
cat >>conftest.$ac_ext <<_ACEOF
 
15165
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19327
15166
/* end confdefs.h.  */
19328
15167
#include <libintl.h>
19329
15168
$gt_revision_test_code
19342
15181
  return 0;
19343
15182
}
19344
15183
_ACEOF
19345
 
rm -f conftest.$ac_objext conftest$ac_exeext
19346
 
if { (ac_try="$ac_link"
19347
 
case "(($ac_try" in
19348
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349
 
  *) ac_try_echo=$ac_try;;
19350
 
esac
19351
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19352
 
$as_echo "$ac_try_echo") >&5
19353
 
  (eval "$ac_link") 2>conftest.er1
19354
 
  ac_status=$?
19355
 
  grep -v '^ *+' conftest.er1 >conftest.err
19356
 
  rm -f conftest.er1
19357
 
  cat conftest.err >&5
19358
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359
 
  (exit $ac_status); } && {
19360
 
         test -z "$ac_c_werror_flag" ||
19361
 
         test ! -s conftest.err
19362
 
       } && test -s conftest$ac_exeext && {
19363
 
         test "$cross_compiling" = yes ||
19364
 
         $as_test_x conftest$ac_exeext
19365
 
       }; then
 
15184
if ac_fn_c_try_link "$LINENO"; then :
19366
15185
  LIBINTL="$LIBINTL $LIBICONV"
19367
15186
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
19368
15187
                eval "$gt_func_gnugettext_libintl=yes"
19369
15188
 
19370
 
else
19371
 
  $as_echo "$as_me: failed program was:" >&5
19372
 
sed 's/^/| /' conftest.$ac_ext >&5
19373
 
 
19374
 
 
19375
15189
fi
19376
 
 
19377
 
rm -rf conftest.dSYM
19378
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19379
 
      conftest$ac_exeext conftest.$ac_ext
 
15190
rm -f core conftest.err conftest.$ac_objext \
 
15191
    conftest$ac_exeext conftest.$ac_ext
19380
15192
            fi
19381
15193
            CPPFLAGS="$gt_save_CPPFLAGS"
19382
15194
            LIBS="$gt_save_LIBS"
19383
15195
fi
19384
 
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'}
19385
 
                 $as_echo "$as_val"'`
19386
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15196
eval ac_res=\$$gt_func_gnugettext_libintl
 
15197
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19387
15198
$as_echo "$ac_res" >&6; }
19388
15199
        fi
19389
15200
 
19430
15241
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
19431
15242
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
19432
15243
 
19433
 
cat >>confdefs.h <<\_ACEOF
19434
 
#define ENABLE_NLS 1
19435
 
_ACEOF
 
15244
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
19436
15245
 
19437
15246
    else
19438
15247
      USE_NLS=no
19439
15248
    fi
19440
15249
  fi
19441
15250
 
19442
 
  { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
15251
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
19443
15252
$as_echo_n "checking whether to use NLS... " >&6; }
19444
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
15253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
19445
15254
$as_echo "$USE_NLS" >&6; }
19446
15255
  if test "$USE_NLS" = "yes"; then
19447
 
    { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
15256
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
19448
15257
$as_echo_n "checking where the gettext function comes from... " >&6; }
19449
15258
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19450
15259
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19455
15264
    else
19456
15265
      gt_source="included intl directory"
19457
15266
    fi
19458
 
    { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
 
15267
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
19459
15268
$as_echo "$gt_source" >&6; }
19460
15269
  fi
19461
15270
 
19463
15272
 
19464
15273
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19465
15274
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19466
 
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
15275
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
19467
15276
$as_echo_n "checking how to link with libintl... " >&6; }
19468
 
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
15277
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
19469
15278
$as_echo "$LIBINTL" >&6; }
19470
15279
 
19471
15280
  for element in $INCINTL; do
19493
15302
      fi
19494
15303
 
19495
15304
 
19496
 
cat >>confdefs.h <<\_ACEOF
19497
 
#define HAVE_GETTEXT 1
19498
 
_ACEOF
19499
 
 
19500
 
 
19501
 
cat >>confdefs.h <<\_ACEOF
19502
 
#define HAVE_DCGETTEXT 1
19503
 
_ACEOF
 
15305
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
15306
 
 
15307
 
 
15308
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19504
15309
 
19505
15310
    fi
19506
15311
 
19555
15360
if test -n "$ac_tool_prefix"; then
19556
15361
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19557
15362
set dummy ${ac_tool_prefix}gcc; ac_word=$2
19558
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19559
15364
$as_echo_n "checking for $ac_word... " >&6; }
19560
 
if test "${ac_cv_prog_CC+set}" = set; then
 
15365
if test "${ac_cv_prog_CC+set}" = set; then :
19561
15366
  $as_echo_n "(cached) " >&6
19562
15367
else
19563
15368
  if test -n "$CC"; then
19568
15373
do
19569
15374
  IFS=$as_save_IFS
19570
15375
  test -z "$as_dir" && as_dir=.
19571
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15376
    for ac_exec_ext in '' $ac_executable_extensions; do
19572
15377
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19573
15378
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
19574
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15379
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19575
15380
    break 2
19576
15381
  fi
19577
15382
done
19578
 
done
 
15383
  done
19579
15384
IFS=$as_save_IFS
19580
15385
 
19581
15386
fi
19582
15387
fi
19583
15388
CC=$ac_cv_prog_CC
19584
15389
if test -n "$CC"; then
19585
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19586
15391
$as_echo "$CC" >&6; }
19587
15392
else
19588
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19589
15394
$as_echo "no" >&6; }
19590
15395
fi
19591
15396
 
19595
15400
  ac_ct_CC=$CC
19596
15401
  # Extract the first word of "gcc", so it can be a program name with args.
19597
15402
set dummy gcc; ac_word=$2
19598
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19599
15404
$as_echo_n "checking for $ac_word... " >&6; }
19600
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
15405
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
19601
15406
  $as_echo_n "(cached) " >&6
19602
15407
else
19603
15408
  if test -n "$ac_ct_CC"; then
19608
15413
do
19609
15414
  IFS=$as_save_IFS
19610
15415
  test -z "$as_dir" && as_dir=.
19611
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15416
    for ac_exec_ext in '' $ac_executable_extensions; do
19612
15417
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19613
15418
    ac_cv_prog_ac_ct_CC="gcc"
19614
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15419
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19615
15420
    break 2
19616
15421
  fi
19617
15422
done
19618
 
done
 
15423
  done
19619
15424
IFS=$as_save_IFS
19620
15425
 
19621
15426
fi
19622
15427
fi
19623
15428
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19624
15429
if test -n "$ac_ct_CC"; then
19625
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
15430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19626
15431
$as_echo "$ac_ct_CC" >&6; }
19627
15432
else
19628
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19629
15434
$as_echo "no" >&6; }
19630
15435
fi
19631
15436
 
19634
15439
  else
19635
15440
    case $cross_compiling:$ac_tool_warned in
19636
15441
yes:)
19637
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15442
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19638
15443
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19639
15444
ac_tool_warned=yes ;;
19640
15445
esac
19648
15453
          if test -n "$ac_tool_prefix"; then
19649
15454
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19650
15455
set dummy ${ac_tool_prefix}cc; ac_word=$2
19651
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19652
15457
$as_echo_n "checking for $ac_word... " >&6; }
19653
 
if test "${ac_cv_prog_CC+set}" = set; then
 
15458
if test "${ac_cv_prog_CC+set}" = set; then :
19654
15459
  $as_echo_n "(cached) " >&6
19655
15460
else
19656
15461
  if test -n "$CC"; then
19661
15466
do
19662
15467
  IFS=$as_save_IFS
19663
15468
  test -z "$as_dir" && as_dir=.
19664
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15469
    for ac_exec_ext in '' $ac_executable_extensions; do
19665
15470
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19666
15471
    ac_cv_prog_CC="${ac_tool_prefix}cc"
19667
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15472
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19668
15473
    break 2
19669
15474
  fi
19670
15475
done
19671
 
done
 
15476
  done
19672
15477
IFS=$as_save_IFS
19673
15478
 
19674
15479
fi
19675
15480
fi
19676
15481
CC=$ac_cv_prog_CC
19677
15482
if test -n "$CC"; then
19678
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19679
15484
$as_echo "$CC" >&6; }
19680
15485
else
19681
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19682
15487
$as_echo "no" >&6; }
19683
15488
fi
19684
15489
 
19688
15493
if test -z "$CC"; then
19689
15494
  # Extract the first word of "cc", so it can be a program name with args.
19690
15495
set dummy cc; ac_word=$2
19691
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19692
15497
$as_echo_n "checking for $ac_word... " >&6; }
19693
 
if test "${ac_cv_prog_CC+set}" = set; then
 
15498
if test "${ac_cv_prog_CC+set}" = set; then :
19694
15499
  $as_echo_n "(cached) " >&6
19695
15500
else
19696
15501
  if test -n "$CC"; then
19702
15507
do
19703
15508
  IFS=$as_save_IFS
19704
15509
  test -z "$as_dir" && as_dir=.
19705
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15510
    for ac_exec_ext in '' $ac_executable_extensions; do
19706
15511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19707
15512
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19708
15513
       ac_prog_rejected=yes
19709
15514
       continue
19710
15515
     fi
19711
15516
    ac_cv_prog_CC="cc"
19712
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15517
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19713
15518
    break 2
19714
15519
  fi
19715
15520
done
19716
 
done
 
15521
  done
19717
15522
IFS=$as_save_IFS
19718
15523
 
19719
15524
if test $ac_prog_rejected = yes; then
19732
15537
fi
19733
15538
CC=$ac_cv_prog_CC
19734
15539
if test -n "$CC"; then
19735
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19736
15541
$as_echo "$CC" >&6; }
19737
15542
else
19738
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15543
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19739
15544
$as_echo "no" >&6; }
19740
15545
fi
19741
15546
 
19747
15552
  do
19748
15553
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19749
15554
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19750
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19751
15556
$as_echo_n "checking for $ac_word... " >&6; }
19752
 
if test "${ac_cv_prog_CC+set}" = set; then
 
15557
if test "${ac_cv_prog_CC+set}" = set; then :
19753
15558
  $as_echo_n "(cached) " >&6
19754
15559
else
19755
15560
  if test -n "$CC"; then
19760
15565
do
19761
15566
  IFS=$as_save_IFS
19762
15567
  test -z "$as_dir" && as_dir=.
19763
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15568
    for ac_exec_ext in '' $ac_executable_extensions; do
19764
15569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19765
15570
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19766
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19767
15572
    break 2
19768
15573
  fi
19769
15574
done
19770
 
done
 
15575
  done
19771
15576
IFS=$as_save_IFS
19772
15577
 
19773
15578
fi
19774
15579
fi
19775
15580
CC=$ac_cv_prog_CC
19776
15581
if test -n "$CC"; then
19777
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19778
15583
$as_echo "$CC" >&6; }
19779
15584
else
19780
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19781
15586
$as_echo "no" >&6; }
19782
15587
fi
19783
15588
 
19791
15596
do
19792
15597
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19793
15598
set dummy $ac_prog; ac_word=$2
19794
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19795
15600
$as_echo_n "checking for $ac_word... " >&6; }
19796
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
15601
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
19797
15602
  $as_echo_n "(cached) " >&6
19798
15603
else
19799
15604
  if test -n "$ac_ct_CC"; then
19804
15609
do
19805
15610
  IFS=$as_save_IFS
19806
15611
  test -z "$as_dir" && as_dir=.
19807
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15612
    for ac_exec_ext in '' $ac_executable_extensions; do
19808
15613
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19809
15614
    ac_cv_prog_ac_ct_CC="$ac_prog"
19810
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15615
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19811
15616
    break 2
19812
15617
  fi
19813
15618
done
19814
 
done
 
15619
  done
19815
15620
IFS=$as_save_IFS
19816
15621
 
19817
15622
fi
19818
15623
fi
19819
15624
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19820
15625
if test -n "$ac_ct_CC"; then
19821
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
15626
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19822
15627
$as_echo "$ac_ct_CC" >&6; }
19823
15628
else
19824
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19825
15630
$as_echo "no" >&6; }
19826
15631
fi
19827
15632
 
19834
15639
  else
19835
15640
    case $cross_compiling:$ac_tool_warned in
19836
15641
yes:)
19837
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15642
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19838
15643
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19839
15644
ac_tool_warned=yes ;;
19840
15645
esac
19845
15650
fi
19846
15651
 
19847
15652
 
19848
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15653
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19849
15654
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19850
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19851
 
See \`config.log' for more details." >&5
19852
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
19853
 
See \`config.log' for more details." >&2;}
19854
 
   { (exit 1); exit 1; }; }; }
 
15655
as_fn_error "no acceptable C compiler found in \$PATH
 
15656
See \`config.log' for more details." "$LINENO" 5; }
19855
15657
 
19856
15658
# Provide some information about the compiler.
19857
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
15659
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
19858
15660
set X $ac_compile
19859
15661
ac_compiler=$2
19860
 
{ (ac_try="$ac_compiler --version >&5"
19861
 
case "(($ac_try" in
19862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863
 
  *) ac_try_echo=$ac_try;;
19864
 
esac
19865
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19866
 
$as_echo "$ac_try_echo") >&5
19867
 
  (eval "$ac_compiler --version >&5") 2>&5
19868
 
  ac_status=$?
19869
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870
 
  (exit $ac_status); }
19871
 
{ (ac_try="$ac_compiler -v >&5"
19872
 
case "(($ac_try" in
19873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874
 
  *) ac_try_echo=$ac_try;;
19875
 
esac
19876
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19877
 
$as_echo "$ac_try_echo") >&5
19878
 
  (eval "$ac_compiler -v >&5") 2>&5
19879
 
  ac_status=$?
19880
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881
 
  (exit $ac_status); }
19882
 
{ (ac_try="$ac_compiler -V >&5"
19883
 
case "(($ac_try" in
19884
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19885
 
  *) ac_try_echo=$ac_try;;
19886
 
esac
19887
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19888
 
$as_echo "$ac_try_echo") >&5
19889
 
  (eval "$ac_compiler -V >&5") 2>&5
19890
 
  ac_status=$?
19891
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
 
  (exit $ac_status); }
 
15662
for ac_option in --version -v -V -qversion; do
 
15663
  { { ac_try="$ac_compiler $ac_option >&5"
 
15664
case "(($ac_try" in
 
15665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15666
  *) ac_try_echo=$ac_try;;
 
15667
esac
 
15668
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15669
$as_echo "$ac_try_echo"; } >&5
 
15670
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
15671
  ac_status=$?
 
15672
  if test -s conftest.err; then
 
15673
    sed '10a\
 
15674
... rest of stderr output deleted ...
 
15675
         10q' conftest.err >conftest.er1
 
15676
    cat conftest.er1 >&5
 
15677
    rm -f conftest.er1 conftest.err
 
15678
  fi
 
15679
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15680
  test $ac_status = 0; }
 
15681
done
19893
15682
 
19894
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
15683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
19895
15684
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19896
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
15685
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
19897
15686
  $as_echo_n "(cached) " >&6
19898
15687
else
19899
 
  cat >conftest.$ac_ext <<_ACEOF
19900
 
/* confdefs.h.  */
19901
 
_ACEOF
19902
 
cat confdefs.h >>conftest.$ac_ext
19903
 
cat >>conftest.$ac_ext <<_ACEOF
 
15688
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904
15689
/* end confdefs.h.  */
19905
15690
 
19906
15691
int
19914
15699
  return 0;
19915
15700
}
19916
15701
_ACEOF
19917
 
rm -f conftest.$ac_objext
19918
 
if { (ac_try="$ac_compile"
19919
 
case "(($ac_try" in
19920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19921
 
  *) ac_try_echo=$ac_try;;
19922
 
esac
19923
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19924
 
$as_echo "$ac_try_echo") >&5
19925
 
  (eval "$ac_compile") 2>conftest.er1
19926
 
  ac_status=$?
19927
 
  grep -v '^ *+' conftest.er1 >conftest.err
19928
 
  rm -f conftest.er1
19929
 
  cat conftest.err >&5
19930
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931
 
  (exit $ac_status); } && {
19932
 
         test -z "$ac_c_werror_flag" ||
19933
 
         test ! -s conftest.err
19934
 
       } && test -s conftest.$ac_objext; then
 
15702
if ac_fn_c_try_compile "$LINENO"; then :
19935
15703
  ac_compiler_gnu=yes
19936
15704
else
19937
 
  $as_echo "$as_me: failed program was:" >&5
19938
 
sed 's/^/| /' conftest.$ac_ext >&5
19939
 
 
19940
 
        ac_compiler_gnu=no
 
15705
  ac_compiler_gnu=no
19941
15706
fi
19942
 
 
19943
15707
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19944
15708
ac_cv_c_compiler_gnu=$ac_compiler_gnu
19945
15709
 
19946
15710
fi
19947
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
15711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
19948
15712
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
19949
15713
if test $ac_compiler_gnu = yes; then
19950
15714
  GCC=yes
19953
15717
fi
19954
15718
ac_test_CFLAGS=${CFLAGS+set}
19955
15719
ac_save_CFLAGS=$CFLAGS
19956
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
15720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
19957
15721
$as_echo_n "checking whether $CC accepts -g... " >&6; }
19958
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
15722
if test "${ac_cv_prog_cc_g+set}" = set; then :
19959
15723
  $as_echo_n "(cached) " >&6
19960
15724
else
19961
15725
  ac_save_c_werror_flag=$ac_c_werror_flag
19962
15726
   ac_c_werror_flag=yes
19963
15727
   ac_cv_prog_cc_g=no
19964
15728
   CFLAGS="-g"
19965
 
   cat >conftest.$ac_ext <<_ACEOF
19966
 
/* confdefs.h.  */
19967
 
_ACEOF
19968
 
cat confdefs.h >>conftest.$ac_ext
19969
 
cat >>conftest.$ac_ext <<_ACEOF
 
15729
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970
15730
/* end confdefs.h.  */
19971
15731
 
19972
15732
int
19977
15737
  return 0;
19978
15738
}
19979
15739
_ACEOF
19980
 
rm -f conftest.$ac_objext
19981
 
if { (ac_try="$ac_compile"
19982
 
case "(($ac_try" in
19983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19984
 
  *) ac_try_echo=$ac_try;;
19985
 
esac
19986
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19987
 
$as_echo "$ac_try_echo") >&5
19988
 
  (eval "$ac_compile") 2>conftest.er1
19989
 
  ac_status=$?
19990
 
  grep -v '^ *+' conftest.er1 >conftest.err
19991
 
  rm -f conftest.er1
19992
 
  cat conftest.err >&5
19993
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994
 
  (exit $ac_status); } && {
19995
 
         test -z "$ac_c_werror_flag" ||
19996
 
         test ! -s conftest.err
19997
 
       } && test -s conftest.$ac_objext; then
 
15740
if ac_fn_c_try_compile "$LINENO"; then :
19998
15741
  ac_cv_prog_cc_g=yes
19999
15742
else
20000
 
  $as_echo "$as_me: failed program was:" >&5
20001
 
sed 's/^/| /' conftest.$ac_ext >&5
20002
 
 
20003
 
        CFLAGS=""
20004
 
      cat >conftest.$ac_ext <<_ACEOF
20005
 
/* confdefs.h.  */
20006
 
_ACEOF
20007
 
cat confdefs.h >>conftest.$ac_ext
20008
 
cat >>conftest.$ac_ext <<_ACEOF
 
15743
  CFLAGS=""
 
15744
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009
15745
/* end confdefs.h.  */
20010
15746
 
20011
15747
int
20016
15752
  return 0;
20017
15753
}
20018
15754
_ACEOF
20019
 
rm -f conftest.$ac_objext
20020
 
if { (ac_try="$ac_compile"
20021
 
case "(($ac_try" in
20022
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023
 
  *) ac_try_echo=$ac_try;;
20024
 
esac
20025
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20026
 
$as_echo "$ac_try_echo") >&5
20027
 
  (eval "$ac_compile") 2>conftest.er1
20028
 
  ac_status=$?
20029
 
  grep -v '^ *+' conftest.er1 >conftest.err
20030
 
  rm -f conftest.er1
20031
 
  cat conftest.err >&5
20032
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033
 
  (exit $ac_status); } && {
20034
 
         test -z "$ac_c_werror_flag" ||
20035
 
         test ! -s conftest.err
20036
 
       } && test -s conftest.$ac_objext; then
20037
 
  :
 
15755
if ac_fn_c_try_compile "$LINENO"; then :
 
15756
 
20038
15757
else
20039
 
  $as_echo "$as_me: failed program was:" >&5
20040
 
sed 's/^/| /' conftest.$ac_ext >&5
20041
 
 
20042
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
15758
  ac_c_werror_flag=$ac_save_c_werror_flag
20043
15759
         CFLAGS="-g"
20044
 
         cat >conftest.$ac_ext <<_ACEOF
20045
 
/* confdefs.h.  */
20046
 
_ACEOF
20047
 
cat confdefs.h >>conftest.$ac_ext
20048
 
cat >>conftest.$ac_ext <<_ACEOF
 
15760
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049
15761
/* end confdefs.h.  */
20050
15762
 
20051
15763
int
20056
15768
  return 0;
20057
15769
}
20058
15770
_ACEOF
20059
 
rm -f conftest.$ac_objext
20060
 
if { (ac_try="$ac_compile"
20061
 
case "(($ac_try" in
20062
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063
 
  *) ac_try_echo=$ac_try;;
20064
 
esac
20065
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20066
 
$as_echo "$ac_try_echo") >&5
20067
 
  (eval "$ac_compile") 2>conftest.er1
20068
 
  ac_status=$?
20069
 
  grep -v '^ *+' conftest.er1 >conftest.err
20070
 
  rm -f conftest.er1
20071
 
  cat conftest.err >&5
20072
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073
 
  (exit $ac_status); } && {
20074
 
         test -z "$ac_c_werror_flag" ||
20075
 
         test ! -s conftest.err
20076
 
       } && test -s conftest.$ac_objext; then
 
15771
if ac_fn_c_try_compile "$LINENO"; then :
20077
15772
  ac_cv_prog_cc_g=yes
20078
 
else
20079
 
  $as_echo "$as_me: failed program was:" >&5
20080
 
sed 's/^/| /' conftest.$ac_ext >&5
20081
 
 
20082
 
 
20083
 
fi
20084
 
 
20085
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20086
 
fi
20087
 
 
20088
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20089
 
fi
20090
 
 
 
15773
fi
 
15774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15775
fi
 
15776
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15777
fi
20091
15778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20092
15779
   ac_c_werror_flag=$ac_save_c_werror_flag
20093
15780
fi
20094
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
15781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
20095
15782
$as_echo "$ac_cv_prog_cc_g" >&6; }
20096
15783
if test "$ac_test_CFLAGS" = set; then
20097
15784
  CFLAGS=$ac_save_CFLAGS
20108
15795
    CFLAGS=
20109
15796
  fi
20110
15797
fi
20111
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
15798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
20112
15799
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20113
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
15800
if test "${ac_cv_prog_cc_c89+set}" = set; then :
20114
15801
  $as_echo_n "(cached) " >&6
20115
15802
else
20116
15803
  ac_cv_prog_cc_c89=no
20117
15804
ac_save_CC=$CC
20118
 
cat >conftest.$ac_ext <<_ACEOF
20119
 
/* confdefs.h.  */
20120
 
_ACEOF
20121
 
cat confdefs.h >>conftest.$ac_ext
20122
 
cat >>conftest.$ac_ext <<_ACEOF
 
15805
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123
15806
/* end confdefs.h.  */
20124
15807
#include <stdarg.h>
20125
15808
#include <stdio.h>
20176
15859
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20177
15860
do
20178
15861
  CC="$ac_save_CC $ac_arg"
20179
 
  rm -f conftest.$ac_objext
20180
 
if { (ac_try="$ac_compile"
20181
 
case "(($ac_try" in
20182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20183
 
  *) ac_try_echo=$ac_try;;
20184
 
esac
20185
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20186
 
$as_echo "$ac_try_echo") >&5
20187
 
  (eval "$ac_compile") 2>conftest.er1
20188
 
  ac_status=$?
20189
 
  grep -v '^ *+' conftest.er1 >conftest.err
20190
 
  rm -f conftest.er1
20191
 
  cat conftest.err >&5
20192
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193
 
  (exit $ac_status); } && {
20194
 
         test -z "$ac_c_werror_flag" ||
20195
 
         test ! -s conftest.err
20196
 
       } && test -s conftest.$ac_objext; then
 
15862
  if ac_fn_c_try_compile "$LINENO"; then :
20197
15863
  ac_cv_prog_cc_c89=$ac_arg
20198
 
else
20199
 
  $as_echo "$as_me: failed program was:" >&5
20200
 
sed 's/^/| /' conftest.$ac_ext >&5
20201
 
 
20202
 
 
20203
15864
fi
20204
 
 
20205
15865
rm -f core conftest.err conftest.$ac_objext
20206
15866
  test "x$ac_cv_prog_cc_c89" != "xno" && break
20207
15867
done
20212
15872
# AC_CACHE_VAL
20213
15873
case "x$ac_cv_prog_cc_c89" in
20214
15874
  x)
20215
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
15875
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20216
15876
$as_echo "none needed" >&6; } ;;
20217
15877
  xno)
20218
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
15878
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20219
15879
$as_echo "unsupported" >&6; } ;;
20220
15880
  *)
20221
15881
    CC="$CC $ac_cv_prog_cc_c89"
20222
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
15882
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
20223
15883
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
20224
15884
esac
 
15885
if test "x$ac_cv_prog_cc_c89" != xno; then :
20225
15886
 
 
15887
fi
20226
15888
 
20227
15889
ac_ext=c
20228
15890
ac_cpp='$CPP $CPPFLAGS'
20231
15893
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20232
15894
 
20233
15895
if test "x$CC" != xcc; then
20234
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
15896
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
20235
15897
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
20236
15898
else
20237
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
15899
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
20238
15900
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
20239
15901
fi
20240
15902
set dummy $CC; ac_cc=`$as_echo "$2" |
20241
15903
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20242
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
15904
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
20243
15905
  $as_echo_n "(cached) " >&6
20244
15906
else
20245
 
  cat >conftest.$ac_ext <<_ACEOF
20246
 
/* confdefs.h.  */
20247
 
_ACEOF
20248
 
cat confdefs.h >>conftest.$ac_ext
20249
 
cat >>conftest.$ac_ext <<_ACEOF
 
15907
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20250
15908
/* end confdefs.h.  */
20251
15909
 
20252
15910
int
20262
15920
# existing .o file with -o, though they will create one.
20263
15921
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20264
15922
rm -f conftest2.*
20265
 
if { (case "(($ac_try" in
20266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20267
 
  *) ac_try_echo=$ac_try;;
20268
 
esac
20269
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20270
 
$as_echo "$ac_try_echo") >&5
20271
 
  (eval "$ac_try") 2>&5
20272
 
  ac_status=$?
20273
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274
 
  (exit $ac_status); } &&
20275
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
20276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277
 
  *) ac_try_echo=$ac_try;;
20278
 
esac
20279
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20280
 
$as_echo "$ac_try_echo") >&5
20281
 
  (eval "$ac_try") 2>&5
20282
 
  ac_status=$?
20283
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284
 
  (exit $ac_status); };
 
15923
if { { case "(($ac_try" in
 
15924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15925
  *) ac_try_echo=$ac_try;;
 
15926
esac
 
15927
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15928
$as_echo "$ac_try_echo"; } >&5
 
15929
  (eval "$ac_try") 2>&5
 
15930
  ac_status=$?
 
15931
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15932
  test $ac_status = 0; } &&
 
15933
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
15934
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15935
  *) ac_try_echo=$ac_try;;
 
15936
esac
 
15937
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15938
$as_echo "$ac_try_echo"; } >&5
 
15939
  (eval "$ac_try") 2>&5
 
15940
  ac_status=$?
 
15941
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15942
  test $ac_status = 0; };
20285
15943
then
20286
15944
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
20287
15945
  if test "x$CC" != xcc; then
20288
15946
    # Test first that cc exists at all.
20289
15947
    if { ac_try='cc -c conftest.$ac_ext >&5'
20290
 
  { (case "(($ac_try" in
 
15948
  { { case "(($ac_try" in
20291
15949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292
15950
  *) ac_try_echo=$ac_try;;
20293
15951
esac
20294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20295
 
$as_echo "$ac_try_echo") >&5
 
15952
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15953
$as_echo "$ac_try_echo"; } >&5
20296
15954
  (eval "$ac_try") 2>&5
20297
15955
  ac_status=$?
20298
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299
 
  (exit $ac_status); }; }; then
 
15956
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15957
  test $ac_status = 0; }; }; then
20300
15958
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20301
15959
      rm -f conftest2.*
20302
 
      if { (case "(($ac_try" in
20303
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304
 
  *) ac_try_echo=$ac_try;;
20305
 
esac
20306
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20307
 
$as_echo "$ac_try_echo") >&5
20308
 
  (eval "$ac_try") 2>&5
20309
 
  ac_status=$?
20310
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311
 
  (exit $ac_status); } &&
20312
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
20313
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20314
 
  *) ac_try_echo=$ac_try;;
20315
 
esac
20316
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20317
 
$as_echo "$ac_try_echo") >&5
20318
 
  (eval "$ac_try") 2>&5
20319
 
  ac_status=$?
20320
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321
 
  (exit $ac_status); };
 
15960
      if { { case "(($ac_try" in
 
15961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15962
  *) ac_try_echo=$ac_try;;
 
15963
esac
 
15964
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15965
$as_echo "$ac_try_echo"; } >&5
 
15966
  (eval "$ac_try") 2>&5
 
15967
  ac_status=$?
 
15968
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15969
  test $ac_status = 0; } &&
 
15970
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
15971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15972
  *) ac_try_echo=$ac_try;;
 
15973
esac
 
15974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
15975
$as_echo "$ac_try_echo"; } >&5
 
15976
  (eval "$ac_try") 2>&5
 
15977
  ac_status=$?
 
15978
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15979
  test $ac_status = 0; };
20322
15980
      then
20323
15981
        # cc works too.
20324
15982
        :
20335
15993
 
20336
15994
fi
20337
15995
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
20338
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20339
15997
$as_echo "yes" >&6; }
20340
15998
else
20341
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20342
16000
$as_echo "no" >&6; }
20343
16001
 
20344
 
cat >>confdefs.h <<\_ACEOF
20345
 
#define NO_MINUS_C_MINUS_O 1
20346
 
_ACEOF
 
16002
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
20347
16003
 
20348
16004
fi
20349
16005
 
20368
16024
        if test -n "$ac_tool_prefix"; then
20369
16025
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20370
16026
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20371
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20372
16028
$as_echo_n "checking for $ac_word... " >&6; }
20373
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
16029
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20374
16030
  $as_echo_n "(cached) " >&6
20375
16031
else
20376
16032
  case $PKG_CONFIG in
20383
16039
do
20384
16040
  IFS=$as_save_IFS
20385
16041
  test -z "$as_dir" && as_dir=.
20386
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16042
    for ac_exec_ext in '' $ac_executable_extensions; do
20387
16043
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20388
16044
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20389
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20390
16046
    break 2
20391
16047
  fi
20392
16048
done
20393
 
done
 
16049
  done
20394
16050
IFS=$as_save_IFS
20395
16051
 
20396
16052
  ;;
20398
16054
fi
20399
16055
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20400
16056
if test -n "$PKG_CONFIG"; then
20401
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
16057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20402
16058
$as_echo "$PKG_CONFIG" >&6; }
20403
16059
else
20404
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20405
16061
$as_echo "no" >&6; }
20406
16062
fi
20407
16063
 
20411
16067
  ac_pt_PKG_CONFIG=$PKG_CONFIG
20412
16068
  # Extract the first word of "pkg-config", so it can be a program name with args.
20413
16069
set dummy pkg-config; ac_word=$2
20414
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20415
16071
$as_echo_n "checking for $ac_word... " >&6; }
20416
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
16072
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20417
16073
  $as_echo_n "(cached) " >&6
20418
16074
else
20419
16075
  case $ac_pt_PKG_CONFIG in
20426
16082
do
20427
16083
  IFS=$as_save_IFS
20428
16084
  test -z "$as_dir" && as_dir=.
20429
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16085
    for ac_exec_ext in '' $ac_executable_extensions; do
20430
16086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20431
16087
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20432
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16088
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20433
16089
    break 2
20434
16090
  fi
20435
16091
done
20436
 
done
 
16092
  done
20437
16093
IFS=$as_save_IFS
20438
16094
 
20439
16095
  ;;
20441
16097
fi
20442
16098
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20443
16099
if test -n "$ac_pt_PKG_CONFIG"; then
20444
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
16100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20445
16101
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20446
16102
else
20447
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20448
16104
$as_echo "no" >&6; }
20449
16105
fi
20450
16106
 
20453
16109
  else
20454
16110
    case $cross_compiling:$ac_tool_warned in
20455
16111
yes:)
20456
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
16112
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20457
16113
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20458
16114
ac_tool_warned=yes ;;
20459
16115
esac
20466
16122
fi
20467
16123
if test -n "$PKG_CONFIG"; then
20468
16124
        _pkg_min_version=0.9.0
20469
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
16125
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20470
16126
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20471
16127
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20472
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16128
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20473
16129
$as_echo "yes" >&6; }
20474
16130
        else
20475
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
16131
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20476
16132
$as_echo "no" >&6; }
20477
16133
                PKG_CONFIG=""
20478
16134
        fi
20498
16154
        if test -n "$ac_tool_prefix"; then
20499
16155
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20500
16156
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20501
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20502
16158
$as_echo_n "checking for $ac_word... " >&6; }
20503
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
16159
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20504
16160
  $as_echo_n "(cached) " >&6
20505
16161
else
20506
16162
  case $PKG_CONFIG in
20513
16169
do
20514
16170
  IFS=$as_save_IFS
20515
16171
  test -z "$as_dir" && as_dir=.
20516
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16172
    for ac_exec_ext in '' $ac_executable_extensions; do
20517
16173
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20518
16174
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20519
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16175
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20520
16176
    break 2
20521
16177
  fi
20522
16178
done
20523
 
done
 
16179
  done
20524
16180
IFS=$as_save_IFS
20525
16181
 
20526
16182
  ;;
20528
16184
fi
20529
16185
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20530
16186
if test -n "$PKG_CONFIG"; then
20531
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
16187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20532
16188
$as_echo "$PKG_CONFIG" >&6; }
20533
16189
else
20534
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20535
16191
$as_echo "no" >&6; }
20536
16192
fi
20537
16193
 
20541
16197
  ac_pt_PKG_CONFIG=$PKG_CONFIG
20542
16198
  # Extract the first word of "pkg-config", so it can be a program name with args.
20543
16199
set dummy pkg-config; ac_word=$2
20544
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20545
16201
$as_echo_n "checking for $ac_word... " >&6; }
20546
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
16202
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20547
16203
  $as_echo_n "(cached) " >&6
20548
16204
else
20549
16205
  case $ac_pt_PKG_CONFIG in
20556
16212
do
20557
16213
  IFS=$as_save_IFS
20558
16214
  test -z "$as_dir" && as_dir=.
20559
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16215
    for ac_exec_ext in '' $ac_executable_extensions; do
20560
16216
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20561
16217
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20562
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16218
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20563
16219
    break 2
20564
16220
  fi
20565
16221
done
20566
 
done
 
16222
  done
20567
16223
IFS=$as_save_IFS
20568
16224
 
20569
16225
  ;;
20571
16227
fi
20572
16228
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20573
16229
if test -n "$ac_pt_PKG_CONFIG"; then
20574
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
16230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20575
16231
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20576
16232
else
20577
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20578
16234
$as_echo "no" >&6; }
20579
16235
fi
20580
16236
 
20583
16239
  else
20584
16240
    case $cross_compiling:$ac_tool_warned in
20585
16241
yes:)
20586
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
16242
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20587
16243
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20588
16244
ac_tool_warned=yes ;;
20589
16245
esac
20596
16252
fi
20597
16253
if test -n "$PKG_CONFIG"; then
20598
16254
        _pkg_min_version=0.22
20599
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
16255
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20600
16256
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20601
16257
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20602
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16258
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20603
16259
$as_echo "yes" >&6; }
20604
16260
        else
20605
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
16261
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20606
16262
$as_echo "no" >&6; }
20607
16263
                PKG_CONFIG=""
20608
16264
        fi
20612
16268
# Checks for libraries
20613
16269
 
20614
16270
nih_with_dbus=yes
20615
 
if test "x$nih_with_dbus" = "xyes"; then
 
16271
if test "x$nih_with_dbus" = "xyes"; then :
20616
16272
 
20617
16273
pkg_failed=no
20618
 
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
 
16274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
20619
16275
$as_echo_n "checking for DBUS... " >&6; }
20620
16276
 
20621
16277
if test -n "$PKG_CONFIG"; then
20623
16279
        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
20624
16280
    else
20625
16281
        if test -n "$PKG_CONFIG" && \
20626
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\"") >&5
 
16282
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\""; } >&5
20627
16283
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.16") 2>&5
20628
16284
  ac_status=$?
20629
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630
 
  (exit $ac_status); }; then
 
16285
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16286
  test $ac_status = 0; }; then
20631
16287
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.2.16" 2>/dev/null`
20632
16288
else
20633
16289
  pkg_failed=yes
20641
16297
        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
20642
16298
    else
20643
16299
        if test -n "$PKG_CONFIG" && \
20644
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\"") >&5
 
16300
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\""; } >&5
20645
16301
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.16") 2>&5
20646
16302
  ac_status=$?
20647
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648
 
  (exit $ac_status); }; then
 
16303
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16304
  test $ac_status = 0; }; then
20649
16305
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.2.16" 2>/dev/null`
20650
16306
else
20651
16307
  pkg_failed=yes
20672
16328
        # Put the nasty error message in config.log where it belongs
20673
16329
        echo "$DBUS_PKG_ERRORS" >&5
20674
16330
 
20675
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-1 >= 1.2.16) were not met:
20676
 
 
20677
 
$DBUS_PKG_ERRORS
20678
 
 
20679
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20680
 
installed software in a non-standard prefix.
20681
 
 
20682
 
Alternatively, you may set the environment variables DBUS_CFLAGS
20683
 
and DBUS_LIBS to avoid the need to call pkg-config.
20684
 
See the pkg-config man page for more details.
20685
 
" >&5
20686
 
$as_echo "$as_me: error: Package requirements (dbus-1 >= 1.2.16) were not met:
20687
 
 
20688
 
$DBUS_PKG_ERRORS
20689
 
 
20690
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20691
 
installed software in a non-standard prefix.
20692
 
 
20693
 
Alternatively, you may set the environment variables DBUS_CFLAGS
20694
 
and DBUS_LIBS to avoid the need to call pkg-config.
20695
 
See the pkg-config man page for more details.
20696
 
" >&2;}
20697
 
   { (exit 1); exit 1; }; }
 
16331
        as_fn_error "Package requirements (dbus-1 >= 1.2.16) were not met:
 
16332
 
 
16333
$DBUS_PKG_ERRORS
 
16334
 
 
16335
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
16336
installed software in a non-standard prefix.
 
16337
 
 
16338
Alternatively, you may set the environment variables DBUS_CFLAGS
 
16339
and DBUS_LIBS to avoid the need to call pkg-config.
 
16340
See the pkg-config man page for more details.
 
16341
" "$LINENO" 5
20698
16342
elif test $pkg_failed = untried; then
20699
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
16343
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20700
16344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20701
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20702
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20703
 
path to pkg-config.
20704
 
 
20705
 
Alternatively, you may set the environment variables DBUS_CFLAGS
20706
 
and DBUS_LIBS to avoid the need to call pkg-config.
20707
 
See the pkg-config man page for more details.
20708
 
 
20709
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20710
 
See \`config.log' for more details." >&5
20711
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20712
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20713
 
path to pkg-config.
20714
 
 
20715
 
Alternatively, you may set the environment variables DBUS_CFLAGS
20716
 
and DBUS_LIBS to avoid the need to call pkg-config.
20717
 
See the pkg-config man page for more details.
20718
 
 
20719
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20720
 
See \`config.log' for more details." >&2;}
20721
 
   { (exit 1); exit 1; }; }; }
 
16345
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
16346
is in your PATH or set the PKG_CONFIG environment variable to the full
 
16347
path to pkg-config.
 
16348
 
 
16349
Alternatively, you may set the environment variables DBUS_CFLAGS
 
16350
and DBUS_LIBS to avoid the need to call pkg-config.
 
16351
See the pkg-config man page for more details.
 
16352
 
 
16353
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
16354
See \`config.log' for more details." "$LINENO" 5; }
20722
16355
else
20723
16356
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
20724
16357
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
20725
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16358
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20726
16359
$as_echo "yes" >&6; }
20727
16360
        :
20728
16361
fi
20729
 
       { $as_echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
 
16362
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
20730
16363
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
20731
 
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
 
16364
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
20732
16365
  $as_echo_n "(cached) " >&6
20733
16366
else
20734
16367
  ac_check_lib_save_LIBS=$LIBS
20735
16368
LIBS="-lexpat  $LIBS"
20736
 
cat >conftest.$ac_ext <<_ACEOF
20737
 
/* confdefs.h.  */
20738
 
_ACEOF
20739
 
cat confdefs.h >>conftest.$ac_ext
20740
 
cat >>conftest.$ac_ext <<_ACEOF
 
16369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20741
16370
/* end confdefs.h.  */
20742
16371
 
20743
16372
/* Override any GCC internal prototype to avoid an error.
20755
16384
  return 0;
20756
16385
}
20757
16386
_ACEOF
20758
 
rm -f conftest.$ac_objext conftest$ac_exeext
20759
 
if { (ac_try="$ac_link"
20760
 
case "(($ac_try" in
20761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762
 
  *) ac_try_echo=$ac_try;;
20763
 
esac
20764
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20765
 
$as_echo "$ac_try_echo") >&5
20766
 
  (eval "$ac_link") 2>conftest.er1
20767
 
  ac_status=$?
20768
 
  grep -v '^ *+' conftest.er1 >conftest.err
20769
 
  rm -f conftest.er1
20770
 
  cat conftest.err >&5
20771
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772
 
  (exit $ac_status); } && {
20773
 
         test -z "$ac_c_werror_flag" ||
20774
 
         test ! -s conftest.err
20775
 
       } && test -s conftest$ac_exeext && {
20776
 
         test "$cross_compiling" = yes ||
20777
 
         $as_test_x conftest$ac_exeext
20778
 
       }; then
 
16387
if ac_fn_c_try_link "$LINENO"; then :
20779
16388
  ac_cv_lib_expat_XML_ParserCreate=yes
20780
16389
else
20781
 
  $as_echo "$as_me: failed program was:" >&5
20782
 
sed 's/^/| /' conftest.$ac_ext >&5
20783
 
 
20784
 
        ac_cv_lib_expat_XML_ParserCreate=no
 
16390
  ac_cv_lib_expat_XML_ParserCreate=no
20785
16391
fi
20786
 
 
20787
 
rm -rf conftest.dSYM
20788
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20789
 
      conftest$ac_exeext conftest.$ac_ext
 
16392
rm -f core conftest.err conftest.$ac_objext \
 
16393
    conftest$ac_exeext conftest.$ac_ext
20790
16394
LIBS=$ac_check_lib_save_LIBS
20791
16395
fi
20792
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
 
16396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20793
16397
$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
20794
 
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then
20795
 
  { $as_echo "$as_me:$LINENO: checking for XML_StopParser in -lexpat" >&5
 
16398
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
 
16399
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_StopParser in -lexpat" >&5
20796
16400
$as_echo_n "checking for XML_StopParser in -lexpat... " >&6; }
20797
 
if test "${ac_cv_lib_expat_XML_StopParser+set}" = set; then
 
16401
if test "${ac_cv_lib_expat_XML_StopParser+set}" = set; then :
20798
16402
  $as_echo_n "(cached) " >&6
20799
16403
else
20800
16404
  ac_check_lib_save_LIBS=$LIBS
20801
16405
LIBS="-lexpat  $LIBS"
20802
 
cat >conftest.$ac_ext <<_ACEOF
20803
 
/* confdefs.h.  */
20804
 
_ACEOF
20805
 
cat confdefs.h >>conftest.$ac_ext
20806
 
cat >>conftest.$ac_ext <<_ACEOF
 
16406
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20807
16407
/* end confdefs.h.  */
20808
16408
 
20809
16409
/* Override any GCC internal prototype to avoid an error.
20821
16421
  return 0;
20822
16422
}
20823
16423
_ACEOF
20824
 
rm -f conftest.$ac_objext conftest$ac_exeext
20825
 
if { (ac_try="$ac_link"
20826
 
case "(($ac_try" in
20827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20828
 
  *) ac_try_echo=$ac_try;;
20829
 
esac
20830
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20831
 
$as_echo "$ac_try_echo") >&5
20832
 
  (eval "$ac_link") 2>conftest.er1
20833
 
  ac_status=$?
20834
 
  grep -v '^ *+' conftest.er1 >conftest.err
20835
 
  rm -f conftest.er1
20836
 
  cat conftest.err >&5
20837
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838
 
  (exit $ac_status); } && {
20839
 
         test -z "$ac_c_werror_flag" ||
20840
 
         test ! -s conftest.err
20841
 
       } && test -s conftest$ac_exeext && {
20842
 
         test "$cross_compiling" = yes ||
20843
 
         $as_test_x conftest$ac_exeext
20844
 
       }; then
 
16424
if ac_fn_c_try_link "$LINENO"; then :
20845
16425
  ac_cv_lib_expat_XML_StopParser=yes
20846
16426
else
20847
 
  $as_echo "$as_me: failed program was:" >&5
20848
 
sed 's/^/| /' conftest.$ac_ext >&5
20849
 
 
20850
 
        ac_cv_lib_expat_XML_StopParser=no
 
16427
  ac_cv_lib_expat_XML_StopParser=no
20851
16428
fi
20852
 
 
20853
 
rm -rf conftest.dSYM
20854
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20855
 
      conftest$ac_exeext conftest.$ac_ext
 
16429
rm -f core conftest.err conftest.$ac_objext \
 
16430
    conftest$ac_exeext conftest.$ac_ext
20856
16431
LIBS=$ac_check_lib_save_LIBS
20857
16432
fi
20858
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_StopParser" >&5
 
16433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_StopParser" >&5
20859
16434
$as_echo "$ac_cv_lib_expat_XML_StopParser" >&6; }
20860
 
if test "x$ac_cv_lib_expat_XML_StopParser" = x""yes; then
 
16435
if test "x$ac_cv_lib_expat_XML_StopParser" = x""yes; then :
20861
16436
  EXPAT_LIBS=-lexpat
20862
16437
 
20863
16438
else
20864
 
  { { $as_echo "$as_me:$LINENO: error: expat >= 2.0.0 required" >&5
20865
 
$as_echo "$as_me: error: expat >= 2.0.0 required" >&2;}
20866
 
   { (exit 1); exit 1; }; }
20867
 
fi
20868
 
 
20869
 
else
20870
 
  { { $as_echo "$as_me:$LINENO: error: expat library not found" >&5
20871
 
$as_echo "$as_me: error: expat library not found" >&2;}
20872
 
   { (exit 1); exit 1; }; }
20873
 
fi
20874
 
 
20875
 
else
20876
 
  if test "x$nih_with_dbus" != "xno"; then
 
16439
  as_fn_error "expat >= 2.0.0 required" "$LINENO" 5
 
16440
fi
 
16441
 
 
16442
else
 
16443
  as_fn_error "expat library not found" "$LINENO" 5
 
16444
fi
 
16445
 
 
16446
else
 
16447
  if test "x$nih_with_dbus" != "xno"; then :
20877
16448
 
20878
16449
pkg_failed=no
20879
 
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
 
16450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
20880
16451
$as_echo_n "checking for DBUS... " >&6; }
20881
16452
 
20882
16453
if test -n "$PKG_CONFIG"; then
20884
16455
        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
20885
16456
    else
20886
16457
        if test -n "$PKG_CONFIG" && \
20887
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\"") >&5
 
16458
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\""; } >&5
20888
16459
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.16") 2>&5
20889
16460
  ac_status=$?
20890
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891
 
  (exit $ac_status); }; then
 
16461
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16462
  test $ac_status = 0; }; then
20892
16463
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.2.16" 2>/dev/null`
20893
16464
else
20894
16465
  pkg_failed=yes
20902
16473
        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
20903
16474
    else
20904
16475
        if test -n "$PKG_CONFIG" && \
20905
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\"") >&5
 
16476
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.16\""; } >&5
20906
16477
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.16") 2>&5
20907
16478
  ac_status=$?
20908
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909
 
  (exit $ac_status); }; then
 
16479
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16480
  test $ac_status = 0; }; then
20910
16481
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.2.16" 2>/dev/null`
20911
16482
else
20912
16483
  pkg_failed=yes
20933
16504
        # Put the nasty error message in config.log where it belongs
20934
16505
        echo "$DBUS_PKG_ERRORS" >&5
20935
16506
 
20936
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16507
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20937
16508
$as_echo "no" >&6; }
20938
16509
                nih_have_dbus=no
20939
16510
elif test $pkg_failed = untried; then
20941
16512
else
20942
16513
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
20943
16514
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
20944
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16515
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20945
16516
$as_echo "yes" >&6; }
20946
16517
        :
20947
16518
fi
20948
 
              { $as_echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
 
16519
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
20949
16520
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
20950
 
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
 
16521
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
20951
16522
  $as_echo_n "(cached) " >&6
20952
16523
else
20953
16524
  ac_check_lib_save_LIBS=$LIBS
20954
16525
LIBS="-lexpat  $LIBS"
20955
 
cat >conftest.$ac_ext <<_ACEOF
20956
 
/* confdefs.h.  */
20957
 
_ACEOF
20958
 
cat confdefs.h >>conftest.$ac_ext
20959
 
cat >>conftest.$ac_ext <<_ACEOF
 
16526
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960
16527
/* end confdefs.h.  */
20961
16528
 
20962
16529
/* Override any GCC internal prototype to avoid an error.
20974
16541
  return 0;
20975
16542
}
20976
16543
_ACEOF
20977
 
rm -f conftest.$ac_objext conftest$ac_exeext
20978
 
if { (ac_try="$ac_link"
20979
 
case "(($ac_try" in
20980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20981
 
  *) ac_try_echo=$ac_try;;
20982
 
esac
20983
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20984
 
$as_echo "$ac_try_echo") >&5
20985
 
  (eval "$ac_link") 2>conftest.er1
20986
 
  ac_status=$?
20987
 
  grep -v '^ *+' conftest.er1 >conftest.err
20988
 
  rm -f conftest.er1
20989
 
  cat conftest.err >&5
20990
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991
 
  (exit $ac_status); } && {
20992
 
         test -z "$ac_c_werror_flag" ||
20993
 
         test ! -s conftest.err
20994
 
       } && test -s conftest$ac_exeext && {
20995
 
         test "$cross_compiling" = yes ||
20996
 
         $as_test_x conftest$ac_exeext
20997
 
       }; then
 
16544
if ac_fn_c_try_link "$LINENO"; then :
20998
16545
  ac_cv_lib_expat_XML_ParserCreate=yes
20999
16546
else
21000
 
  $as_echo "$as_me: failed program was:" >&5
21001
 
sed 's/^/| /' conftest.$ac_ext >&5
21002
 
 
21003
 
        ac_cv_lib_expat_XML_ParserCreate=no
 
16547
  ac_cv_lib_expat_XML_ParserCreate=no
21004
16548
fi
21005
 
 
21006
 
rm -rf conftest.dSYM
21007
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21008
 
      conftest$ac_exeext conftest.$ac_ext
 
16549
rm -f core conftest.err conftest.$ac_objext \
 
16550
    conftest$ac_exeext conftest.$ac_ext
21009
16551
LIBS=$ac_check_lib_save_LIBS
21010
16552
fi
21011
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
 
16553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21012
16554
$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
21013
 
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then
21014
 
  { $as_echo "$as_me:$LINENO: checking for XML_StopParser in -lexpat" >&5
 
16555
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
 
16556
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_StopParser in -lexpat" >&5
21015
16557
$as_echo_n "checking for XML_StopParser in -lexpat... " >&6; }
21016
 
if test "${ac_cv_lib_expat_XML_StopParser+set}" = set; then
 
16558
if test "${ac_cv_lib_expat_XML_StopParser+set}" = set; then :
21017
16559
  $as_echo_n "(cached) " >&6
21018
16560
else
21019
16561
  ac_check_lib_save_LIBS=$LIBS
21020
16562
LIBS="-lexpat  $LIBS"
21021
 
cat >conftest.$ac_ext <<_ACEOF
21022
 
/* confdefs.h.  */
21023
 
_ACEOF
21024
 
cat confdefs.h >>conftest.$ac_ext
21025
 
cat >>conftest.$ac_ext <<_ACEOF
 
16563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21026
16564
/* end confdefs.h.  */
21027
16565
 
21028
16566
/* Override any GCC internal prototype to avoid an error.
21040
16578
  return 0;
21041
16579
}
21042
16580
_ACEOF
21043
 
rm -f conftest.$ac_objext conftest$ac_exeext
21044
 
if { (ac_try="$ac_link"
21045
 
case "(($ac_try" in
21046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047
 
  *) ac_try_echo=$ac_try;;
21048
 
esac
21049
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21050
 
$as_echo "$ac_try_echo") >&5
21051
 
  (eval "$ac_link") 2>conftest.er1
21052
 
  ac_status=$?
21053
 
  grep -v '^ *+' conftest.er1 >conftest.err
21054
 
  rm -f conftest.er1
21055
 
  cat conftest.err >&5
21056
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057
 
  (exit $ac_status); } && {
21058
 
         test -z "$ac_c_werror_flag" ||
21059
 
         test ! -s conftest.err
21060
 
       } && test -s conftest$ac_exeext && {
21061
 
         test "$cross_compiling" = yes ||
21062
 
         $as_test_x conftest$ac_exeext
21063
 
       }; then
 
16581
if ac_fn_c_try_link "$LINENO"; then :
21064
16582
  ac_cv_lib_expat_XML_StopParser=yes
21065
16583
else
21066
 
  $as_echo "$as_me: failed program was:" >&5
21067
 
sed 's/^/| /' conftest.$ac_ext >&5
21068
 
 
21069
 
        ac_cv_lib_expat_XML_StopParser=no
 
16584
  ac_cv_lib_expat_XML_StopParser=no
21070
16585
fi
21071
 
 
21072
 
rm -rf conftest.dSYM
21073
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21074
 
      conftest$ac_exeext conftest.$ac_ext
 
16586
rm -f core conftest.err conftest.$ac_objext \
 
16587
    conftest$ac_exeext conftest.$ac_ext
21075
16588
LIBS=$ac_check_lib_save_LIBS
21076
16589
fi
21077
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_StopParser" >&5
 
16590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_StopParser" >&5
21078
16591
$as_echo "$ac_cv_lib_expat_XML_StopParser" >&6; }
21079
 
if test "x$ac_cv_lib_expat_XML_StopParser" = x""yes; then
 
16592
if test "x$ac_cv_lib_expat_XML_StopParser" = x""yes; then :
21080
16593
  EXPAT_LIBS=-lexpat
21081
16594
 
21082
16595
else
21090
16603
else
21091
16604
  nih_have_dbus=no
21092
16605
fi
21093
 
 
21094
16606
fi
21095
 
 
21096
16607
 if test "x$nih_have_dbus" != "xno"; then
21097
16608
  HAVE_DBUS_TRUE=
21098
16609
  HAVE_DBUS_FALSE='#'
21104
16615
 
21105
16616
 
21106
16617
# Checks for header files.
21107
 
 
21108
16618
for ac_header in valgrind/valgrind.h
21109
 
do
21110
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21111
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21112
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21113
 
$as_echo_n "checking for $ac_header... " >&6; }
21114
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21115
 
  $as_echo_n "(cached) " >&6
21116
 
fi
21117
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
21118
 
                 $as_echo "$as_val"'`
21119
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21120
 
$as_echo "$ac_res" >&6; }
21121
 
else
21122
 
  # Is the header compilable?
21123
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21124
 
$as_echo_n "checking $ac_header usability... " >&6; }
21125
 
cat >conftest.$ac_ext <<_ACEOF
21126
 
/* confdefs.h.  */
21127
 
_ACEOF
21128
 
cat confdefs.h >>conftest.$ac_ext
21129
 
cat >>conftest.$ac_ext <<_ACEOF
21130
 
/* end confdefs.h.  */
21131
 
$ac_includes_default
21132
 
#include <$ac_header>
21133
 
_ACEOF
21134
 
rm -f conftest.$ac_objext
21135
 
if { (ac_try="$ac_compile"
21136
 
case "(($ac_try" in
21137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21138
 
  *) ac_try_echo=$ac_try;;
21139
 
esac
21140
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21141
 
$as_echo "$ac_try_echo") >&5
21142
 
  (eval "$ac_compile") 2>conftest.er1
21143
 
  ac_status=$?
21144
 
  grep -v '^ *+' conftest.er1 >conftest.err
21145
 
  rm -f conftest.er1
21146
 
  cat conftest.err >&5
21147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148
 
  (exit $ac_status); } && {
21149
 
         test -z "$ac_c_werror_flag" ||
21150
 
         test ! -s conftest.err
21151
 
       } && test -s conftest.$ac_objext; then
21152
 
  ac_header_compiler=yes
21153
 
else
21154
 
  $as_echo "$as_me: failed program was:" >&5
21155
 
sed 's/^/| /' conftest.$ac_ext >&5
21156
 
 
21157
 
        ac_header_compiler=no
21158
 
fi
21159
 
 
21160
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21162
 
$as_echo "$ac_header_compiler" >&6; }
21163
 
 
21164
 
# Is the header present?
21165
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21166
 
$as_echo_n "checking $ac_header presence... " >&6; }
21167
 
cat >conftest.$ac_ext <<_ACEOF
21168
 
/* confdefs.h.  */
21169
 
_ACEOF
21170
 
cat confdefs.h >>conftest.$ac_ext
21171
 
cat >>conftest.$ac_ext <<_ACEOF
21172
 
/* end confdefs.h.  */
21173
 
#include <$ac_header>
21174
 
_ACEOF
21175
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21176
 
case "(($ac_try" in
21177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178
 
  *) ac_try_echo=$ac_try;;
21179
 
esac
21180
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21181
 
$as_echo "$ac_try_echo") >&5
21182
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21183
 
  ac_status=$?
21184
 
  grep -v '^ *+' conftest.er1 >conftest.err
21185
 
  rm -f conftest.er1
21186
 
  cat conftest.err >&5
21187
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188
 
  (exit $ac_status); } >/dev/null && {
21189
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21190
 
         test ! -s conftest.err
21191
 
       }; then
21192
 
  ac_header_preproc=yes
21193
 
else
21194
 
  $as_echo "$as_me: failed program was:" >&5
21195
 
sed 's/^/| /' conftest.$ac_ext >&5
21196
 
 
21197
 
  ac_header_preproc=no
21198
 
fi
21199
 
 
21200
 
rm -f conftest.err conftest.$ac_ext
21201
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21202
 
$as_echo "$ac_header_preproc" >&6; }
21203
 
 
21204
 
# So?  What about this header?
21205
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21206
 
  yes:no: )
21207
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21208
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21209
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21210
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21211
 
    ac_header_preproc=yes
21212
 
    ;;
21213
 
  no:yes:* )
21214
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21215
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21216
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21217
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21218
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21219
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21220
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21221
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21222
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21223
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21224
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21225
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21226
 
    ( cat <<\_ASBOX
21227
 
## -------------------------------------------- ##
21228
 
## Report this to ubuntu-devel@lists.ubuntu.com ##
21229
 
## -------------------------------------------- ##
21230
 
_ASBOX
21231
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21232
 
    ;;
21233
 
esac
21234
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21235
 
$as_echo_n "checking for $ac_header... " >&6; }
21236
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21237
 
  $as_echo_n "(cached) " >&6
21238
 
else
21239
 
  eval "$as_ac_Header=\$ac_header_preproc"
21240
 
fi
21241
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
21242
 
                 $as_echo "$as_val"'`
21243
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21244
 
$as_echo "$ac_res" >&6; }
21245
 
 
21246
 
fi
21247
 
as_val=`eval 'as_val=${'$as_ac_Header'}
21248
 
                 $as_echo "$as_val"'`
21249
 
   if test "x$as_val" = x""yes; then
 
16619
do :
 
16620
  ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
 
16621
if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
21250
16622
  cat >>confdefs.h <<_ACEOF
21251
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
16623
#define HAVE_VALGRIND_VALGRIND_H 1
21252
16624
_ACEOF
21253
16625
 
21254
16626
fi
21257
16629
 
21258
16630
 
21259
16631
# Checks for typedefs, structures, and compiler characteristics.
21260
 
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
16632
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
21261
16633
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
21262
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
16634
if test "${ac_cv_prog_cc_c99+set}" = set; then :
21263
16635
  $as_echo_n "(cached) " >&6
21264
16636
else
21265
16637
  ac_cv_prog_cc_c99=no
21266
16638
ac_save_CC=$CC
21267
 
cat >conftest.$ac_ext <<_ACEOF
21268
 
/* confdefs.h.  */
21269
 
_ACEOF
21270
 
cat confdefs.h >>conftest.$ac_ext
21271
 
cat >>conftest.$ac_ext <<_ACEOF
 
16639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272
16640
/* end confdefs.h.  */
21273
16641
#include <stdarg.h>
21274
16642
#include <stdbool.h>
21410
16778
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
21411
16779
do
21412
16780
  CC="$ac_save_CC $ac_arg"
21413
 
  rm -f conftest.$ac_objext
21414
 
if { (ac_try="$ac_compile"
21415
 
case "(($ac_try" in
21416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417
 
  *) ac_try_echo=$ac_try;;
21418
 
esac
21419
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21420
 
$as_echo "$ac_try_echo") >&5
21421
 
  (eval "$ac_compile") 2>conftest.er1
21422
 
  ac_status=$?
21423
 
  grep -v '^ *+' conftest.er1 >conftest.err
21424
 
  rm -f conftest.er1
21425
 
  cat conftest.err >&5
21426
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427
 
  (exit $ac_status); } && {
21428
 
         test -z "$ac_c_werror_flag" ||
21429
 
         test ! -s conftest.err
21430
 
       } && test -s conftest.$ac_objext; then
 
16781
  if ac_fn_c_try_compile "$LINENO"; then :
21431
16782
  ac_cv_prog_cc_c99=$ac_arg
21432
 
else
21433
 
  $as_echo "$as_me: failed program was:" >&5
21434
 
sed 's/^/| /' conftest.$ac_ext >&5
21435
 
 
21436
 
 
21437
16783
fi
21438
 
 
21439
16784
rm -f core conftest.err conftest.$ac_objext
21440
16785
  test "x$ac_cv_prog_cc_c99" != "xno" && break
21441
16786
done
21446
16791
# AC_CACHE_VAL
21447
16792
case "x$ac_cv_prog_cc_c99" in
21448
16793
  x)
21449
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
16794
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
21450
16795
$as_echo "none needed" >&6; } ;;
21451
16796
  xno)
21452
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
16797
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
21453
16798
$as_echo "unsupported" >&6; } ;;
21454
16799
  *)
21455
16800
    CC="$CC $ac_cv_prog_cc_c99"
21456
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
16801
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
21457
16802
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
21458
16803
esac
 
16804
if test "x$ac_cv_prog_cc_c99" != xno; then :
21459
16805
 
 
16806
fi
21460
16807
 
21461
16808
 
21462
16809
# FIXME: we rely on the cache variable name because
21475
16822
 
21476
16823
 
21477
16824
# Check whether --enable-threading was given.
21478
 
if test "${enable_threading+set}" = set; then
 
16825
if test "${enable_threading+set}" = set; then :
21479
16826
  enableval=$enable_threading;
21480
16827
else
21481
16828
  enable_threading=no
21482
16829
fi
21483
 
if test "x$enable_threading" != "xno" ; then
21484
 
  { $as_echo "$as_me:$LINENO: checking whether compiler supports __thread" >&5
 
16830
if test "x$enable_threading" != "xno" ; then :
 
16831
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports __thread" >&5
21485
16832
$as_echo_n "checking whether compiler supports __thread... " >&6; }
21486
 
if test "${nih_cv_c_thread+set}" = set; then
 
16833
if test "${nih_cv_c_thread+set}" = set; then :
21487
16834
  $as_echo_n "(cached) " >&6
21488
16835
else
21489
 
  cat >conftest.$ac_ext <<_ACEOF
21490
 
/* confdefs.h.  */
21491
 
_ACEOF
21492
 
cat confdefs.h >>conftest.$ac_ext
21493
 
cat >>conftest.$ac_ext <<_ACEOF
 
16836
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494
16837
/* end confdefs.h.  */
21495
16838
int __thread a;
21496
16839
int
21501
16844
  return 0;
21502
16845
}
21503
16846
_ACEOF
21504
 
rm -f conftest.$ac_objext
21505
 
if { (ac_try="$ac_compile"
21506
 
case "(($ac_try" in
21507
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508
 
  *) ac_try_echo=$ac_try;;
21509
 
esac
21510
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21511
 
$as_echo "$ac_try_echo") >&5
21512
 
  (eval "$ac_compile") 2>conftest.er1
21513
 
  ac_status=$?
21514
 
  grep -v '^ *+' conftest.er1 >conftest.err
21515
 
  rm -f conftest.er1
21516
 
  cat conftest.err >&5
21517
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518
 
  (exit $ac_status); } && {
21519
 
         test -z "$ac_c_werror_flag" ||
21520
 
         test ! -s conftest.err
21521
 
       } && test -s conftest.$ac_objext; then
 
16847
if ac_fn_c_try_compile "$LINENO"; then :
21522
16848
  nih_cv_c_thread=yes
21523
16849
else
21524
 
  $as_echo "$as_me: failed program was:" >&5
21525
 
sed 's/^/| /' conftest.$ac_ext >&5
21526
 
 
21527
 
        nih_cv_c_thread=no
 
16850
  nih_cv_c_thread=no
21528
16851
fi
21529
 
 
21530
16852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21531
16853
fi
21532
 
{ $as_echo "$as_me:$LINENO: result: $nih_cv_c_thread" >&5
 
16854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $nih_cv_c_thread" >&5
21533
16855
$as_echo "$nih_cv_c_thread" >&6; }
21534
 
if test "x$nih_cv_c_thread" = "xno"; then
 
16856
if test "x$nih_cv_c_thread" = "xno"; then :
21535
16857
 
21536
 
cat >>confdefs.h <<\_ACEOF
21537
 
#define __thread /**/
21538
 
_ACEOF
 
16858
$as_echo "#define __thread /**/" >>confdefs.h
21539
16859
 
21540
16860
fi
21541
 
 
21542
16861
else
21543
 
  cat >>confdefs.h <<\_ACEOF
21544
 
#define __thread /**/
21545
 
_ACEOF
 
16862
  $as_echo "#define __thread /**/" >>confdefs.h
21546
16863
 
21547
16864
fi
21548
16865
 
21549
 
 
21550
16866
# Other checks
21551
16867
# Check whether --enable-compiler-warnings was given.
21552
 
if test "${enable_compiler_warnings+set}" = set; then
21553
 
  enableval=$enable_compiler_warnings; if test "x$enable_compiler_warnings" = "xyes"; then
21554
 
  if test "x$GCC" = "xyes"; then
 
16868
if test "${enable_compiler_warnings+set}" = set; then :
 
16869
  enableval=$enable_compiler_warnings; if test "x$enable_compiler_warnings" = "xyes"; then :
 
16870
  if test "x$GCC" = "xyes"; then :
21555
16871
  CFLAGS="-Wall -Wextra -Wno-empty-body -Wno-missing-field-initializers -Wno-unused-parameter -Wformat-security -Werror -D_FORTIFY_SOURCE=2 $CFLAGS"
21556
16872
fi
21557
 
 
21558
 
        if test "x$GXX" = "xyes"; then
 
16873
        if test "x$GXX" = "xyes"; then :
21559
16874
  CXXFLAGS="-Wall -Wextra -Wno-empty-body -Wno-missing-field-initializers -Wno-unused-parameter -Wformat-security -Werror -D_FORTIFY_SOURCE=2 $CXXFLAGS"
21560
16875
fi
21561
 
 
21562
16876
fi
21563
 
 
21564
16877
 
21565
16878
fi
21566
16879
 
21567
16880
# Check whether --enable-compiler-optimisations was given.
21568
 
if test "${enable_compiler_optimisations+set}" = set; then
21569
 
  enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then
 
16881
if test "${enable_compiler_optimisations+set}" = set; then :
 
16882
  enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then :
21570
16883
  CFLAGS=`echo "$CFLAGS" | sed -e "s/ -O[1-9s]*\b/ -O0/g"`
21571
16884
         CXXFLAGS=`echo "$CXXFLAGS" | sed -e "s/ -O[1-9s]*\b/ -O0/g"`
21572
16885
fi
21573
16886
 
21574
 
 
21575
16887
fi
21576
16888
 
21577
16889
# Check whether --enable-compiler-coverage was given.
21578
 
if test "${enable_compiler_coverage+set}" = set; then
21579
 
  enableval=$enable_compiler_coverage; if test "x$enable_compiler_coverage" = "xyes"; then
21580
 
  if test "x$GCC" = "xyes"; then
 
16890
if test "${enable_compiler_coverage+set}" = set; then :
 
16891
  enableval=$enable_compiler_coverage; if test "x$enable_compiler_coverage" = "xyes"; then :
 
16892
  if test "x$GCC" = "xyes"; then :
21581
16893
  CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
21582
16894
fi
21583
 
 
21584
 
        if test "x$GXX" = "xyes"; then
 
16895
        if test "x$GXX" = "xyes"; then :
21585
16896
  CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
21586
16897
fi
21587
 
 
21588
16898
fi
21589
 
 
21590
16899
 
21591
16900
fi
21592
16901
 
21593
16902
 
21594
16903
# Check whether --enable-linker-optimisations was given.
21595
 
if test "${enable_linker_optimisations+set}" = set; then
21596
 
  enableval=$enable_linker_optimisations; if test "x$enable_linker_optimisations" = "xno"; then
 
16904
if test "${enable_linker_optimisations+set}" = set; then :
 
16905
  enableval=$enable_linker_optimisations; if test "x$enable_linker_optimisations" = "xno"; then :
21597
16906
  LDFLAGS=`echo "$LDFLAGS" | sed -e "s/ -Wl,-O0-9*\b//g"`
21598
16907
else
21599
16908
  LDFLAGS="$LDFLAGS -Wl,-O1"
21600
16909
fi
21601
16910
 
21602
 
 
21603
16911
fi
21604
16912
 
21605
 
{ $as_echo "$as_me:$LINENO: checking for linker version script argument" >&5
 
16913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker version script argument" >&5
21606
16914
$as_echo_n "checking for linker version script argument... " >&6; }
21607
 
if test "${nih_cv_version_script+set}" = set; then
 
16915
if test "${nih_cv_version_script+set}" = set; then :
21608
16916
  $as_echo_n "(cached) " >&6
21609
16917
else
21610
16918
  nih_cv_version_script=none
21619
16927
};
21620
16928
EOF
21621
16929
 
21622
 
        cat >conftest.$ac_ext <<_ACEOF
21623
 
/* confdefs.h.  */
21624
 
_ACEOF
21625
 
cat confdefs.h >>conftest.$ac_ext
21626
 
cat >>conftest.$ac_ext <<_ACEOF
 
16930
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21627
16931
/* end confdefs.h.  */
21628
16932
 
21629
16933
int
21634
16938
  return 0;
21635
16939
}
21636
16940
_ACEOF
21637
 
rm -f conftest.$ac_objext conftest$ac_exeext
21638
 
if { (ac_try="$ac_link"
21639
 
case "(($ac_try" in
21640
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641
 
  *) ac_try_echo=$ac_try;;
21642
 
esac
21643
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21644
 
$as_echo "$ac_try_echo") >&5
21645
 
  (eval "$ac_link") 2>conftest.er1
21646
 
  ac_status=$?
21647
 
  grep -v '^ *+' conftest.er1 >conftest.err
21648
 
  rm -f conftest.er1
21649
 
  cat conftest.err >&5
21650
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651
 
  (exit $ac_status); } && {
21652
 
         test -z "$ac_c_werror_flag" ||
21653
 
         test ! -s conftest.err
21654
 
       } && test -s conftest$ac_exeext && {
21655
 
         test "$cross_compiling" = yes ||
21656
 
         $as_test_x conftest$ac_exeext
21657
 
       }; then
 
16941
if ac_fn_c_try_link "$LINENO"; then :
21658
16942
 
21659
16943
                rm -f conftest.ver
21660
16944
                LIBS="$nih_old_libs"
21661
16945
                nih_cv_version_script="$nih_try_arg"
21662
16946
                break
21663
16947
 
21664
 
else
21665
 
  $as_echo "$as_me: failed program was:" >&5
21666
 
sed 's/^/| /' conftest.$ac_ext >&5
21667
 
 
21668
 
 
21669
16948
fi
21670
 
 
21671
 
rm -rf conftest.dSYM
21672
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21673
 
      conftest$ac_exeext conftest.$ac_ext
 
16949
rm -f core conftest.err conftest.$ac_objext \
 
16950
    conftest$ac_exeext conftest.$ac_ext
21674
16951
 
21675
16952
        rm -f conftest.ver
21676
16953
        LIBS="$nih_old_libs"
21677
16954
done
21678
16955
fi
21679
 
{ $as_echo "$as_me:$LINENO: result: $nih_cv_version_script" >&5
 
16956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $nih_cv_version_script" >&5
21680
16957
$as_echo "$nih_cv_version_script" >&6; }
21681
 
if test "x$nih_cv_version_script" != "xnone"; then
 
16958
if test "x$nih_cv_version_script" != "xnone"; then :
21682
16959
  VERSION_SCRIPT_ARG=$nih_cv_version_script
21683
16960
 
21684
16961
fi
21685
 
 
21686
16962
 if test "x$nih_cv_version_script" != "xnone"; then
21687
16963
  HAVE_VERSION_SCRIPT_ARG_TRUE=
21688
16964
  HAVE_VERSION_SCRIPT_ARG_FALSE='#'
21698
16974
 
21699
16975
# Checks for typedefs, structures, and compiler characteristics.
21700
16976
# Check whether --enable-largefile was given.
21701
 
if test "${enable_largefile+set}" = set; then
 
16977
if test "${enable_largefile+set}" = set; then :
21702
16978
  enableval=$enable_largefile;
21703
16979
fi
21704
16980
 
21705
16981
if test "$enable_largefile" != no; then
21706
16982
 
21707
 
  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
16983
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
21708
16984
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
21709
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then
 
16985
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
21710
16986
  $as_echo_n "(cached) " >&6
21711
16987
else
21712
16988
  ac_cv_sys_largefile_CC=no
21715
16991
       while :; do
21716
16992
         # IRIX 6.2 and later do not support large files by default,
21717
16993
         # so use the C compiler's -n32 option if that helps.
21718
 
         cat >conftest.$ac_ext <<_ACEOF
21719
 
/* confdefs.h.  */
21720
 
_ACEOF
21721
 
cat confdefs.h >>conftest.$ac_ext
21722
 
cat >>conftest.$ac_ext <<_ACEOF
 
16994
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723
16995
/* end confdefs.h.  */
21724
16996
#include <sys/types.h>
21725
16997
 /* Check that off_t can represent 2**63 - 1 correctly.
21738
17010
  return 0;
21739
17011
}
21740
17012
_ACEOF
21741
 
         rm -f conftest.$ac_objext
21742
 
if { (ac_try="$ac_compile"
21743
 
case "(($ac_try" in
21744
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21745
 
  *) ac_try_echo=$ac_try;;
21746
 
esac
21747
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21748
 
$as_echo "$ac_try_echo") >&5
21749
 
  (eval "$ac_compile") 2>conftest.er1
21750
 
  ac_status=$?
21751
 
  grep -v '^ *+' conftest.er1 >conftest.err
21752
 
  rm -f conftest.er1
21753
 
  cat conftest.err >&5
21754
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755
 
  (exit $ac_status); } && {
21756
 
         test -z "$ac_c_werror_flag" ||
21757
 
         test ! -s conftest.err
21758
 
       } && test -s conftest.$ac_objext; then
 
17013
         if ac_fn_c_try_compile "$LINENO"; then :
21759
17014
  break
21760
 
else
21761
 
  $as_echo "$as_me: failed program was:" >&5
21762
 
sed 's/^/| /' conftest.$ac_ext >&5
21763
 
 
21764
 
 
21765
17015
fi
21766
 
 
21767
17016
rm -f core conftest.err conftest.$ac_objext
21768
17017
         CC="$CC -n32"
21769
 
         rm -f conftest.$ac_objext
21770
 
if { (ac_try="$ac_compile"
21771
 
case "(($ac_try" in
21772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21773
 
  *) ac_try_echo=$ac_try;;
21774
 
esac
21775
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21776
 
$as_echo "$ac_try_echo") >&5
21777
 
  (eval "$ac_compile") 2>conftest.er1
21778
 
  ac_status=$?
21779
 
  grep -v '^ *+' conftest.er1 >conftest.err
21780
 
  rm -f conftest.er1
21781
 
  cat conftest.err >&5
21782
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783
 
  (exit $ac_status); } && {
21784
 
         test -z "$ac_c_werror_flag" ||
21785
 
         test ! -s conftest.err
21786
 
       } && test -s conftest.$ac_objext; then
 
17018
         if ac_fn_c_try_compile "$LINENO"; then :
21787
17019
  ac_cv_sys_largefile_CC=' -n32'; break
21788
 
else
21789
 
  $as_echo "$as_me: failed program was:" >&5
21790
 
sed 's/^/| /' conftest.$ac_ext >&5
21791
 
 
21792
 
 
21793
17020
fi
21794
 
 
21795
17021
rm -f core conftest.err conftest.$ac_objext
21796
17022
         break
21797
17023
       done
21799
17025
       rm -f conftest.$ac_ext
21800
17026
    fi
21801
17027
fi
21802
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
17028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
21803
17029
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
21804
17030
  if test "$ac_cv_sys_largefile_CC" != no; then
21805
17031
    CC=$CC$ac_cv_sys_largefile_CC
21806
17032
  fi
21807
17033
 
21808
 
  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
17034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21809
17035
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
21810
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
 
17036
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
21811
17037
  $as_echo_n "(cached) " >&6
21812
17038
else
21813
17039
  while :; do
21814
 
  cat >conftest.$ac_ext <<_ACEOF
21815
 
/* confdefs.h.  */
21816
 
_ACEOF
21817
 
cat confdefs.h >>conftest.$ac_ext
21818
 
cat >>conftest.$ac_ext <<_ACEOF
 
17040
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819
17041
/* end confdefs.h.  */
21820
17042
#include <sys/types.h>
21821
17043
 /* Check that off_t can represent 2**63 - 1 correctly.
21834
17056
  return 0;
21835
17057
}
21836
17058
_ACEOF
21837
 
rm -f conftest.$ac_objext
21838
 
if { (ac_try="$ac_compile"
21839
 
case "(($ac_try" in
21840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841
 
  *) ac_try_echo=$ac_try;;
21842
 
esac
21843
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21844
 
$as_echo "$ac_try_echo") >&5
21845
 
  (eval "$ac_compile") 2>conftest.er1
21846
 
  ac_status=$?
21847
 
  grep -v '^ *+' conftest.er1 >conftest.err
21848
 
  rm -f conftest.er1
21849
 
  cat conftest.err >&5
21850
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851
 
  (exit $ac_status); } && {
21852
 
         test -z "$ac_c_werror_flag" ||
21853
 
         test ! -s conftest.err
21854
 
       } && test -s conftest.$ac_objext; then
 
17059
if ac_fn_c_try_compile "$LINENO"; then :
21855
17060
  ac_cv_sys_file_offset_bits=no; break
21856
 
else
21857
 
  $as_echo "$as_me: failed program was:" >&5
21858
 
sed 's/^/| /' conftest.$ac_ext >&5
21859
 
 
21860
 
 
21861
17061
fi
21862
 
 
21863
17062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21864
 
  cat >conftest.$ac_ext <<_ACEOF
21865
 
/* confdefs.h.  */
21866
 
_ACEOF
21867
 
cat confdefs.h >>conftest.$ac_ext
21868
 
cat >>conftest.$ac_ext <<_ACEOF
 
17063
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869
17064
/* end confdefs.h.  */
21870
17065
#define _FILE_OFFSET_BITS 64
21871
17066
#include <sys/types.h>
21885
17080
  return 0;
21886
17081
}
21887
17082
_ACEOF
21888
 
rm -f conftest.$ac_objext
21889
 
if { (ac_try="$ac_compile"
21890
 
case "(($ac_try" in
21891
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21892
 
  *) ac_try_echo=$ac_try;;
21893
 
esac
21894
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21895
 
$as_echo "$ac_try_echo") >&5
21896
 
  (eval "$ac_compile") 2>conftest.er1
21897
 
  ac_status=$?
21898
 
  grep -v '^ *+' conftest.er1 >conftest.err
21899
 
  rm -f conftest.er1
21900
 
  cat conftest.err >&5
21901
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902
 
  (exit $ac_status); } && {
21903
 
         test -z "$ac_c_werror_flag" ||
21904
 
         test ! -s conftest.err
21905
 
       } && test -s conftest.$ac_objext; then
 
17083
if ac_fn_c_try_compile "$LINENO"; then :
21906
17084
  ac_cv_sys_file_offset_bits=64; break
21907
 
else
21908
 
  $as_echo "$as_me: failed program was:" >&5
21909
 
sed 's/^/| /' conftest.$ac_ext >&5
21910
 
 
21911
 
 
21912
17085
fi
21913
 
 
21914
17086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21915
17087
  ac_cv_sys_file_offset_bits=unknown
21916
17088
  break
21917
17089
done
21918
17090
fi
21919
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
17091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
21920
17092
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
21921
17093
case $ac_cv_sys_file_offset_bits in #(
21922
17094
  no | unknown) ;;
21928
17100
esac
21929
17101
rm -rf conftest*
21930
17102
  if test $ac_cv_sys_file_offset_bits = unknown; then
21931
 
    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
17103
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
21932
17104
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
21933
 
if test "${ac_cv_sys_large_files+set}" = set; then
 
17105
if test "${ac_cv_sys_large_files+set}" = set; then :
21934
17106
  $as_echo_n "(cached) " >&6
21935
17107
else
21936
17108
  while :; do
21937
 
  cat >conftest.$ac_ext <<_ACEOF
21938
 
/* confdefs.h.  */
21939
 
_ACEOF
21940
 
cat confdefs.h >>conftest.$ac_ext
21941
 
cat >>conftest.$ac_ext <<_ACEOF
 
17109
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21942
17110
/* end confdefs.h.  */
21943
17111
#include <sys/types.h>
21944
17112
 /* Check that off_t can represent 2**63 - 1 correctly.
21957
17125
  return 0;
21958
17126
}
21959
17127
_ACEOF
21960
 
rm -f conftest.$ac_objext
21961
 
if { (ac_try="$ac_compile"
21962
 
case "(($ac_try" in
21963
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964
 
  *) ac_try_echo=$ac_try;;
21965
 
esac
21966
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21967
 
$as_echo "$ac_try_echo") >&5
21968
 
  (eval "$ac_compile") 2>conftest.er1
21969
 
  ac_status=$?
21970
 
  grep -v '^ *+' conftest.er1 >conftest.err
21971
 
  rm -f conftest.er1
21972
 
  cat conftest.err >&5
21973
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974
 
  (exit $ac_status); } && {
21975
 
         test -z "$ac_c_werror_flag" ||
21976
 
         test ! -s conftest.err
21977
 
       } && test -s conftest.$ac_objext; then
 
17128
if ac_fn_c_try_compile "$LINENO"; then :
21978
17129
  ac_cv_sys_large_files=no; break
21979
 
else
21980
 
  $as_echo "$as_me: failed program was:" >&5
21981
 
sed 's/^/| /' conftest.$ac_ext >&5
21982
 
 
21983
 
 
21984
17130
fi
21985
 
 
21986
17131
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21987
 
  cat >conftest.$ac_ext <<_ACEOF
21988
 
/* confdefs.h.  */
21989
 
_ACEOF
21990
 
cat confdefs.h >>conftest.$ac_ext
21991
 
cat >>conftest.$ac_ext <<_ACEOF
 
17132
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992
17133
/* end confdefs.h.  */
21993
17134
#define _LARGE_FILES 1
21994
17135
#include <sys/types.h>
22008
17149
  return 0;
22009
17150
}
22010
17151
_ACEOF
22011
 
rm -f conftest.$ac_objext
22012
 
if { (ac_try="$ac_compile"
22013
 
case "(($ac_try" in
22014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22015
 
  *) ac_try_echo=$ac_try;;
22016
 
esac
22017
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22018
 
$as_echo "$ac_try_echo") >&5
22019
 
  (eval "$ac_compile") 2>conftest.er1
22020
 
  ac_status=$?
22021
 
  grep -v '^ *+' conftest.er1 >conftest.err
22022
 
  rm -f conftest.er1
22023
 
  cat conftest.err >&5
22024
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025
 
  (exit $ac_status); } && {
22026
 
         test -z "$ac_c_werror_flag" ||
22027
 
         test ! -s conftest.err
22028
 
       } && test -s conftest.$ac_objext; then
 
17152
if ac_fn_c_try_compile "$LINENO"; then :
22029
17153
  ac_cv_sys_large_files=1; break
22030
 
else
22031
 
  $as_echo "$as_me: failed program was:" >&5
22032
 
sed 's/^/| /' conftest.$ac_ext >&5
22033
 
 
22034
 
 
22035
17154
fi
22036
 
 
22037
17155
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22038
17156
  ac_cv_sys_large_files=unknown
22039
17157
  break
22040
17158
done
22041
17159
fi
22042
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
17160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
22043
17161
$as_echo "$ac_cv_sys_large_files" >&6; }
22044
17162
case $ac_cv_sys_large_files in #(
22045
17163
  no | unknown) ;;
22059
17177
# Other checks
22060
17178
 
22061
17179
pkg_failed=no
22062
 
{ $as_echo "$as_me:$LINENO: checking for UDEV" >&5
 
17180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
22063
17181
$as_echo_n "checking for UDEV... " >&6; }
22064
17182
 
22065
17183
if test -n "$PKG_CONFIG"; then
22067
17185
        pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
22068
17186
    else
22069
17187
        if test -n "$PKG_CONFIG" && \
22070
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev >= 146\"") >&5
 
17188
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 146\""; } >&5
22071
17189
  ($PKG_CONFIG --exists --print-errors "libudev >= 146") 2>&5
22072
17190
  ac_status=$?
22073
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074
 
  (exit $ac_status); }; then
 
17191
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17192
  test $ac_status = 0; }; then
22075
17193
  pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 146" 2>/dev/null`
22076
17194
else
22077
17195
  pkg_failed=yes
22085
17203
        pkg_cv_UDEV_LIBS="$UDEV_LIBS"
22086
17204
    else
22087
17205
        if test -n "$PKG_CONFIG" && \
22088
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev >= 146\"") >&5
 
17206
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 146\""; } >&5
22089
17207
  ($PKG_CONFIG --exists --print-errors "libudev >= 146") 2>&5
22090
17208
  ac_status=$?
22091
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092
 
  (exit $ac_status); }; then
 
17209
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17210
  test $ac_status = 0; }; then
22093
17211
  pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 146" 2>/dev/null`
22094
17212
else
22095
17213
  pkg_failed=yes
22116
17234
        # Put the nasty error message in config.log where it belongs
22117
17235
        echo "$UDEV_PKG_ERRORS" >&5
22118
17236
 
22119
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libudev >= 146) were not met:
22120
 
 
22121
 
$UDEV_PKG_ERRORS
22122
 
 
22123
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22124
 
installed software in a non-standard prefix.
22125
 
 
22126
 
Alternatively, you may set the environment variables UDEV_CFLAGS
22127
 
and UDEV_LIBS to avoid the need to call pkg-config.
22128
 
See the pkg-config man page for more details.
22129
 
" >&5
22130
 
$as_echo "$as_me: error: Package requirements (libudev >= 146) were not met:
22131
 
 
22132
 
$UDEV_PKG_ERRORS
22133
 
 
22134
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22135
 
installed software in a non-standard prefix.
22136
 
 
22137
 
Alternatively, you may set the environment variables UDEV_CFLAGS
22138
 
and UDEV_LIBS to avoid the need to call pkg-config.
22139
 
See the pkg-config man page for more details.
22140
 
" >&2;}
22141
 
   { (exit 1); exit 1; }; }
 
17237
        as_fn_error "Package requirements (libudev >= 146) were not met:
 
17238
 
 
17239
$UDEV_PKG_ERRORS
 
17240
 
 
17241
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17242
installed software in a non-standard prefix.
 
17243
 
 
17244
Alternatively, you may set the environment variables UDEV_CFLAGS
 
17245
and UDEV_LIBS to avoid the need to call pkg-config.
 
17246
See the pkg-config man page for more details.
 
17247
" "$LINENO" 5
22142
17248
elif test $pkg_failed = untried; then
22143
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
17249
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22144
17250
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22145
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
22146
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22147
 
path to pkg-config.
22148
 
 
22149
 
Alternatively, you may set the environment variables UDEV_CFLAGS
22150
 
and UDEV_LIBS to avoid the need to call pkg-config.
22151
 
See the pkg-config man page for more details.
22152
 
 
22153
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22154
 
See \`config.log' for more details." >&5
22155
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
22156
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22157
 
path to pkg-config.
22158
 
 
22159
 
Alternatively, you may set the environment variables UDEV_CFLAGS
22160
 
and UDEV_LIBS to avoid the need to call pkg-config.
22161
 
See the pkg-config man page for more details.
22162
 
 
22163
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22164
 
See \`config.log' for more details." >&2;}
22165
 
   { (exit 1); exit 1; }; }; }
 
17251
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
17252
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17253
path to pkg-config.
 
17254
 
 
17255
Alternatively, you may set the environment variables UDEV_CFLAGS
 
17256
and UDEV_LIBS to avoid the need to call pkg-config.
 
17257
See the pkg-config man page for more details.
 
17258
 
 
17259
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17260
See \`config.log' for more details." "$LINENO" 5; }
22166
17261
else
22167
17262
        UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
22168
17263
        UDEV_LIBS=$pkg_cv_UDEV_LIBS
22169
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
17264
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22170
17265
$as_echo "yes" >&6; }
22171
17266
        :
22172
17267
fi
22203
17298
    case $ac_val in #(
22204
17299
    *${as_nl}*)
22205
17300
      case $ac_var in #(
22206
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
17301
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22207
17302
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22208
17303
      esac
22209
17304
      case $ac_var in #(
22210
17305
      _ | IFS | as_nl) ;; #(
22211
17306
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22212
 
      *) $as_unset $ac_var ;;
 
17307
      *) { eval $ac_var=; unset $ac_var;} ;;
22213
17308
      esac ;;
22214
17309
    esac
22215
17310
  done
22217
17312
  (set) 2>&1 |
22218
17313
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
22219
17314
    *${as_nl}ac_space=\ *)
22220
 
      # `set' does not quote correctly, so add quotes (double-quote
22221
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
17315
      # `set' does not quote correctly, so add quotes: double-quote
 
17316
      # substitution turns \\\\ into \\, and sed turns \\ into \.
22222
17317
      sed -n \
22223
17318
        "s/'/'\\\\''/g;
22224
17319
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22241
17336
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22242
17337
  if test -w "$cache_file"; then
22243
17338
    test "x$cache_file" != "x/dev/null" &&
22244
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
17339
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22245
17340
$as_echo "$as_me: updating cache $cache_file" >&6;}
22246
17341
    cat confcache >$cache_file
22247
17342
  else
22248
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
17343
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22249
17344
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22250
17345
  fi
22251
17346
fi
22265
17360
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22266
17361
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22267
17362
  #    will be set to the directory where LIBOBJS objects are built.
22268
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22269
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
17363
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17364
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22270
17365
done
22271
17366
LIBOBJS=$ac_libobjs
22272
17367
 
22274
17369
 
22275
17370
 
22276
17371
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22277
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22278
 
Usually this means the macro was only invoked conditionally." >&5
22279
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
22280
 
Usually this means the macro was only invoked conditionally." >&2;}
22281
 
   { (exit 1); exit 1; }; }
 
17372
  as_fn_error "conditional \"AMDEP\" was never defined.
 
17373
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22282
17374
fi
22283
17375
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22284
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22285
 
Usually this means the macro was only invoked conditionally." >&5
22286
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22287
 
Usually this means the macro was only invoked conditionally." >&2;}
22288
 
   { (exit 1); exit 1; }; }
22289
 
fi
 
17376
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17377
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17378
fi
 
17379
 if test -n "$EXEEXT"; then
 
17380
  am__EXEEXT_TRUE=
 
17381
  am__EXEEXT_FALSE='#'
 
17382
else
 
17383
  am__EXEEXT_TRUE='#'
 
17384
  am__EXEEXT_FALSE=
 
17385
fi
 
17386
 
22290
17387
if test -z "${INSTALL_NIH_TRUE}" && test -z "${INSTALL_NIH_FALSE}"; then
22291
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_NIH\" was never defined.
22292
 
Usually this means the macro was only invoked conditionally." >&5
22293
 
$as_echo "$as_me: error: conditional \"INSTALL_NIH\" was never defined.
22294
 
Usually this means the macro was only invoked conditionally." >&2;}
22295
 
   { (exit 1); exit 1; }; }
 
17388
  as_fn_error "conditional \"INSTALL_NIH\" was never defined.
 
17389
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22296
17390
fi
22297
17391
if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
22298
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
22299
 
Usually this means the macro was only invoked conditionally." >&5
22300
 
$as_echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
22301
 
Usually this means the macro was only invoked conditionally." >&2;}
22302
 
   { (exit 1); exit 1; }; }
 
17392
  as_fn_error "conditional \"HAVE_DBUS\" was never defined.
 
17393
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22303
17394
fi
22304
17395
if test -z "${HAVE_VERSION_SCRIPT_ARG_TRUE}" && test -z "${HAVE_VERSION_SCRIPT_ARG_FALSE}"; then
22305
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_VERSION_SCRIPT_ARG\" was never defined.
22306
 
Usually this means the macro was only invoked conditionally." >&5
22307
 
$as_echo "$as_me: error: conditional \"HAVE_VERSION_SCRIPT_ARG\" was never defined.
22308
 
Usually this means the macro was only invoked conditionally." >&2;}
22309
 
   { (exit 1); exit 1; }; }
 
17396
  as_fn_error "conditional \"HAVE_VERSION_SCRIPT_ARG\" was never defined.
 
17397
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22310
17398
fi
22311
17399
 
22312
17400
: ${CONFIG_STATUS=./config.status}
22313
17401
ac_write_fail=0
22314
17402
ac_clean_files_save=$ac_clean_files
22315
17403
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22316
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
17404
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22317
17405
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22318
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17406
as_write_fail=0
 
17407
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22319
17408
#! $SHELL
22320
17409
# Generated by $as_me.
22321
17410
# Run this file to recreate the current configuration.
22325
17414
debug=false
22326
17415
ac_cs_recheck=false
22327
17416
ac_cs_silent=false
 
17417
 
22328
17418
SHELL=\${CONFIG_SHELL-$SHELL}
22329
 
_ACEOF
22330
 
 
22331
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22332
 
## --------------------- ##
22333
 
## M4sh Initialization.  ##
22334
 
## --------------------- ##
 
17419
export SHELL
 
17420
_ASEOF
 
17421
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
17422
## -------------------- ##
 
17423
## M4sh Initialization. ##
 
17424
## -------------------- ##
22335
17425
 
22336
17426
# Be more Bourne compatible
22337
17427
DUALCASE=1; export DUALCASE # for MKS sh
22338
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17428
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22339
17429
  emulate sh
22340
17430
  NULLCMD=:
22341
17431
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22343
17433
  alias -g '${1+"$@"}'='"$@"'
22344
17434
  setopt NO_GLOB_SUBST
22345
17435
else
22346
 
  case `(set -o) 2>/dev/null` in
22347
 
  *posix*) set -o posix ;;
 
17436
  case `(set -o) 2>/dev/null` in #(
 
17437
  *posix*) :
 
17438
    set -o posix ;; #(
 
17439
  *) :
 
17440
     ;;
22348
17441
esac
22349
 
 
22350
17442
fi
22351
17443
 
22352
17444
 
22353
 
 
22354
 
 
22355
 
# PATH needs CR
22356
 
# Avoid depending upon Character Ranges.
22357
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22358
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22359
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22360
 
as_cr_digits='0123456789'
22361
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22362
 
 
22363
17445
as_nl='
22364
17446
'
22365
17447
export as_nl
22367
17449
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22368
17450
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22369
17451
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22370
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17452
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
17453
# but without wasting forks for bash or zsh.
 
17454
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
17455
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17456
  as_echo='print -r --'
 
17457
  as_echo_n='print -rn --'
 
17458
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22371
17459
  as_echo='printf %s\n'
22372
17460
  as_echo_n='printf %s'
22373
17461
else
22378
17466
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22379
17467
    as_echo_n_body='eval
22380
17468
      arg=$1;
22381
 
      case $arg in
 
17469
      case $arg in #(
22382
17470
      *"$as_nl"*)
22383
17471
        expr "X$arg" : "X\\(.*\\)$as_nl";
22384
17472
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22401
17489
  }
22402
17490
fi
22403
17491
 
22404
 
# Support unset when possible.
22405
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22406
 
  as_unset=unset
22407
 
else
22408
 
  as_unset=false
22409
 
fi
22410
 
 
22411
17492
 
22412
17493
# IFS
22413
17494
# We need space, tab and new line, in precisely that order.  Quoting is
22417
17498
IFS=" ""        $as_nl"
22418
17499
 
22419
17500
# Find who we are.  Look in the path if we contain no directory separator.
22420
 
case $0 in
 
17501
case $0 in #((
22421
17502
  *[\\/]* ) as_myself=$0 ;;
22422
17503
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22423
17504
for as_dir in $PATH
22424
17505
do
22425
17506
  IFS=$as_save_IFS
22426
17507
  test -z "$as_dir" && as_dir=.
22427
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22428
 
done
 
17508
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
17509
  done
22429
17510
IFS=$as_save_IFS
22430
17511
 
22431
17512
     ;;
22437
17518
fi
22438
17519
if test ! -f "$as_myself"; then
22439
17520
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22440
 
  { (exit 1); exit 1; }
 
17521
  exit 1
22441
17522
fi
22442
17523
 
22443
 
# Work around bugs in pre-3.0 UWIN ksh.
22444
 
for as_var in ENV MAIL MAILPATH
22445
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
17524
# Unset variables that we do not need and which cause bugs (e.g. in
 
17525
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
17526
# suppresses any "Segmentation fault" message there.  '((' could
 
17527
# trigger a bug in pdksh 5.2.14.
 
17528
for as_var in BASH_ENV ENV MAIL MAILPATH
 
17529
do eval test x\${$as_var+set} = xset \
 
17530
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22446
17531
done
22447
17532
PS1='$ '
22448
17533
PS2='> '
22454
17539
LANGUAGE=C
22455
17540
export LANGUAGE
22456
17541
 
22457
 
# Required to use basename.
 
17542
# CDPATH.
 
17543
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17544
 
 
17545
 
 
17546
# as_fn_error ERROR [LINENO LOG_FD]
 
17547
# ---------------------------------
 
17548
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
17549
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
17550
# script with status $?, using 1 if that was 0.
 
17551
as_fn_error ()
 
17552
{
 
17553
  as_status=$?; test $as_status -eq 0 && as_status=1
 
17554
  if test "$3"; then
 
17555
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
17556
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
17557
  fi
 
17558
  $as_echo "$as_me: error: $1" >&2
 
17559
  as_fn_exit $as_status
 
17560
} # as_fn_error
 
17561
 
 
17562
 
 
17563
# as_fn_set_status STATUS
 
17564
# -----------------------
 
17565
# Set $? to STATUS, without forking.
 
17566
as_fn_set_status ()
 
17567
{
 
17568
  return $1
 
17569
} # as_fn_set_status
 
17570
 
 
17571
# as_fn_exit STATUS
 
17572
# -----------------
 
17573
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
17574
as_fn_exit ()
 
17575
{
 
17576
  set +e
 
17577
  as_fn_set_status $1
 
17578
  exit $1
 
17579
} # as_fn_exit
 
17580
 
 
17581
# as_fn_unset VAR
 
17582
# ---------------
 
17583
# Portably unset VAR.
 
17584
as_fn_unset ()
 
17585
{
 
17586
  { eval $1=; unset $1;}
 
17587
}
 
17588
as_unset=as_fn_unset
 
17589
# as_fn_append VAR VALUE
 
17590
# ----------------------
 
17591
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
17592
# advantage of any shell optimizations that allow amortized linear growth over
 
17593
# repeated appends, instead of the typical quadratic growth present in naive
 
17594
# implementations.
 
17595
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
17596
  eval 'as_fn_append ()
 
17597
  {
 
17598
    eval $1+=\$2
 
17599
  }'
 
17600
else
 
17601
  as_fn_append ()
 
17602
  {
 
17603
    eval $1=\$$1\$2
 
17604
  }
 
17605
fi # as_fn_append
 
17606
 
 
17607
# as_fn_arith ARG...
 
17608
# ------------------
 
17609
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
17610
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
17611
# must be portable across $(()) and expr.
 
17612
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
17613
  eval 'as_fn_arith ()
 
17614
  {
 
17615
    as_val=$(( $* ))
 
17616
  }'
 
17617
else
 
17618
  as_fn_arith ()
 
17619
  {
 
17620
    as_val=`expr "$@" || test $? -eq 1`
 
17621
  }
 
17622
fi # as_fn_arith
 
17623
 
 
17624
 
22458
17625
if expr a : '\(a\)' >/dev/null 2>&1 &&
22459
17626
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22460
17627
  as_expr=expr
22468
17635
  as_basename=false
22469
17636
fi
22470
17637
 
 
17638
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
17639
  as_dirname=dirname
 
17640
else
 
17641
  as_dirname=false
 
17642
fi
22471
17643
 
22472
 
# Name of the executable.
22473
17644
as_me=`$as_basename -- "$0" ||
22474
17645
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22475
17646
         X"$0" : 'X\(//\)$' \| \
22489
17660
          }
22490
17661
          s/.*/./; q'`
22491
17662
 
22492
 
# CDPATH.
22493
 
$as_unset CDPATH
22494
 
 
22495
 
 
22496
 
 
22497
 
  as_lineno_1=$LINENO
22498
 
  as_lineno_2=$LINENO
22499
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22500
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22501
 
 
22502
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22503
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
22504
 
  # line-number line after each line using $LINENO; the second 'sed'
22505
 
  # does the real work.  The second script uses 'N' to pair each
22506
 
  # line-number line with the line containing $LINENO, and appends
22507
 
  # trailing '-' during substitution so that $LINENO is not a special
22508
 
  # case at line end.
22509
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22510
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
22511
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
22512
 
  sed -n '
22513
 
    p
22514
 
    /[$]LINENO/=
22515
 
  ' <$as_myself |
22516
 
    sed '
22517
 
      s/[$]LINENO.*/&-/
22518
 
      t lineno
22519
 
      b
22520
 
      :lineno
22521
 
      N
22522
 
      :loop
22523
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22524
 
      t loop
22525
 
      s/-\n.*//
22526
 
    ' >$as_me.lineno &&
22527
 
  chmod +x "$as_me.lineno" ||
22528
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22529
 
   { (exit 1); exit 1; }; }
22530
 
 
22531
 
  # Don't try to exec as it changes $[0], causing all sort of problems
22532
 
  # (the dirname of $[0] is not the place where we might find the
22533
 
  # original and so on.  Autoconf is especially sensitive to this).
22534
 
  . "./$as_me.lineno"
22535
 
  # Exit status is that of the last command.
22536
 
  exit
22537
 
}
22538
 
 
22539
 
 
22540
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22541
 
  as_dirname=dirname
22542
 
else
22543
 
  as_dirname=false
22544
 
fi
 
17663
# Avoid depending upon Character Ranges.
 
17664
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
17665
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
17666
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
17667
as_cr_digits='0123456789'
 
17668
as_cr_alnum=$as_cr_Letters$as_cr_digits
22545
17669
 
22546
17670
ECHO_C= ECHO_N= ECHO_T=
22547
 
case `echo -n x` in
 
17671
case `echo -n x` in #(((((
22548
17672
-n*)
22549
 
  case `echo 'x\c'` in
 
17673
  case `echo 'xy\c'` in
22550
17674
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22551
 
  *)   ECHO_C='\c';;
 
17675
  xy)  ECHO_C='\c';;
 
17676
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
17677
       ECHO_T=' ';;
22552
17678
  esac;;
22553
17679
*)
22554
17680
  ECHO_N='-n';;
22555
17681
esac
22556
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
22557
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22558
 
  as_expr=expr
22559
 
else
22560
 
  as_expr=false
22561
 
fi
22562
17682
 
22563
17683
rm -f conf$$ conf$$.exe conf$$.file
22564
17684
if test -d conf$$.dir; then
22587
17707
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22588
17708
rmdir conf$$.dir 2>/dev/null
22589
17709
 
 
17710
 
 
17711
# as_fn_mkdir_p
 
17712
# -------------
 
17713
# Create "$as_dir" as a directory, including parents if necessary.
 
17714
as_fn_mkdir_p ()
 
17715
{
 
17716
 
 
17717
  case $as_dir in #(
 
17718
  -*) as_dir=./$as_dir;;
 
17719
  esac
 
17720
  test -d "$as_dir" || eval $as_mkdir_p || {
 
17721
    as_dirs=
 
17722
    while :; do
 
17723
      case $as_dir in #(
 
17724
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
17725
      *) as_qdir=$as_dir;;
 
17726
      esac
 
17727
      as_dirs="'$as_qdir' $as_dirs"
 
17728
      as_dir=`$as_dirname -- "$as_dir" ||
 
17729
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17730
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
17731
         X"$as_dir" : 'X\(//\)$' \| \
 
17732
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
17733
$as_echo X"$as_dir" |
 
17734
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17735
            s//\1/
 
17736
            q
 
17737
          }
 
17738
          /^X\(\/\/\)[^/].*/{
 
17739
            s//\1/
 
17740
            q
 
17741
          }
 
17742
          /^X\(\/\/\)$/{
 
17743
            s//\1/
 
17744
            q
 
17745
          }
 
17746
          /^X\(\/\).*/{
 
17747
            s//\1/
 
17748
            q
 
17749
          }
 
17750
          s/.*/./; q'`
 
17751
      test -d "$as_dir" && break
 
17752
    done
 
17753
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
17754
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
17755
 
 
17756
 
 
17757
} # as_fn_mkdir_p
22590
17758
if mkdir -p . 2>/dev/null; then
22591
 
  as_mkdir_p=:
 
17759
  as_mkdir_p='mkdir -p "$as_dir"'
22592
17760
else
22593
17761
  test -d ./-p && rmdir ./-p
22594
17762
  as_mkdir_p=false
22607
17775
      if test -d "$1"; then
22608
17776
        test -d "$1/.";
22609
17777
      else
22610
 
        case $1 in
 
17778
        case $1 in #(
22611
17779
        -*)set "./$1";;
22612
17780
        esac;
22613
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
17781
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
22614
17782
        ???[sx]*):;;*)false;;esac;fi
22615
17783
    '\'' sh
22616
17784
  '
22625
17793
 
22626
17794
 
22627
17795
exec 6>&1
 
17796
## ----------------------------------- ##
 
17797
## Main body of $CONFIG_STATUS script. ##
 
17798
## ----------------------------------- ##
 
17799
_ASEOF
 
17800
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22628
17801
 
22629
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
17802
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17803
# Save the log message, to keep $0 and so on meaningful, and to
22630
17804
# report actual input values of CONFIG_FILES etc. instead of their
22631
17805
# values after options handling.
22632
17806
ac_log="
22633
 
This file was extended by mountall $as_me 0.1.0, which was
22634
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
17807
This file was extended by mountall $as_me 0.1, which was
 
17808
generated by GNU Autoconf 2.64.  Invocation command line was
22635
17809
 
22636
17810
  CONFIG_FILES    = $CONFIG_FILES
22637
17811
  CONFIG_HEADERS  = $CONFIG_HEADERS
22663
17837
 
22664
17838
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22665
17839
ac_cs_usage="\
22666
 
\`$as_me' instantiates files from templates according to the
22667
 
current configuration.
 
17840
\`$as_me' instantiates files and other configuration actions
 
17841
from templates according to the current configuration.  Unless the files
 
17842
and actions are specified as TAGs, all are instantiated by default.
22668
17843
 
22669
 
Usage: $0 [OPTION]... [FILE]...
 
17844
Usage: $0 [OPTION]... [TAG]...
22670
17845
 
22671
17846
  -h, --help       print this help, then exit
22672
17847
  -V, --version    print version number and configuration settings, then exit
22688
17863
Configuration commands:
22689
17864
$config_commands
22690
17865
 
22691
 
Report bugs to <bug-autoconf@gnu.org>."
 
17866
Report bugs to <ubuntu-devel@lists.ubuntu.com>."
22692
17867
 
22693
17868
_ACEOF
22694
17869
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22695
17870
ac_cs_version="\\
22696
 
mountall config.status 0.1.0
22697
 
configured by $0, generated by GNU Autoconf 2.63,
 
17871
mountall config.status 0.1
 
17872
configured by $0, generated by GNU Autoconf 2.64,
22698
17873
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22699
17874
 
22700
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
17875
Copyright (C) 2009 Free Software Foundation, Inc.
22701
17876
This config.status script is free software; the Free Software Foundation
22702
17877
gives unlimited permission to copy, distribute and modify it."
22703
17878
 
22740
17915
    case $ac_optarg in
22741
17916
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22742
17917
    esac
22743
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
17918
    as_fn_append CONFIG_FILES " '$ac_optarg'"
22744
17919
    ac_need_defaults=false;;
22745
17920
  --header | --heade | --head | --hea )
22746
17921
    $ac_shift
22747
17922
    case $ac_optarg in
22748
17923
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22749
17924
    esac
22750
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
17925
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22751
17926
    ac_need_defaults=false;;
22752
17927
  --he | --h)
22753
17928
    # Conflict between --help and --header
22754
 
    { $as_echo "$as_me: error: ambiguous option: $1
22755
 
Try \`$0 --help' for more information." >&2
22756
 
   { (exit 1); exit 1; }; };;
 
17929
    as_fn_error "ambiguous option: \`$1'
 
17930
Try \`$0 --help' for more information.";;
22757
17931
  --help | --hel | -h )
22758
17932
    $as_echo "$ac_cs_usage"; exit ;;
22759
17933
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22761
17935
    ac_cs_silent=: ;;
22762
17936
 
22763
17937
  # This is an error.
22764
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
22765
 
Try \`$0 --help' for more information." >&2
22766
 
   { (exit 1); exit 1; }; } ;;
 
17938
  -*) as_fn_error "unrecognized option: \`$1'
 
17939
Try \`$0 --help' for more information." ;;
22767
17940
 
22768
 
  *) ac_config_targets="$ac_config_targets $1"
 
17941
  *) as_fn_append ac_config_targets " $1"
22769
17942
     ac_need_defaults=false ;;
22770
17943
 
22771
17944
  esac
23094
18267
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23095
18268
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23096
18269
 
23097
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23098
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23099
 
   { (exit 1); exit 1; }; };;
 
18270
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23100
18271
  esac
23101
18272
done
23102
18273
 
23123
18294
  trap 'exit_status=$?
23124
18295
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23125
18296
' 0
23126
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
18297
  trap 'as_fn_exit 1' 1 2 13 15
23127
18298
}
23128
18299
# Create a (secure) tmp directory for tmp files.
23129
18300
 
23134
18305
{
23135
18306
  tmp=./conf$$-$RANDOM
23136
18307
  (umask 077 && mkdir "$tmp")
23137
 
} ||
23138
 
{
23139
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
23140
 
   { (exit 1); exit 1; }
23141
 
}
 
18308
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
23142
18309
 
23143
18310
# Set up the scripts for CONFIG_FILES section.
23144
18311
# No need to generate them if there are no CONFIG_FILES.
23146
18313
if test -n "$CONFIG_FILES"; then
23147
18314
 
23148
18315
 
23149
 
ac_cr='
 
 
b"'"
 
18316
ac_cr=`echo X | tr X '\015'`
 
18317
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
18318
# But we know of no other shell where ac_cr would be empty at this
 
18319
# point, so we can use a bashism as a fallback.
 
18320
if test "x$ac_cr" = x; then
 
18321
  eval ac_cr=\$\'\\r\'
 
18322
fi
23150
18323
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23151
18324
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23152
 
  ac_cs_awk_cr='\\r'
 
18325
  ac_cs_awk_cr='\r'
23153
18326
else
23154
18327
  ac_cs_awk_cr=$ac_cr
23155
18328
fi
23163
18336
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23164
18337
  echo "_ACEOF"
23165
18338
} >conf$$subs.sh ||
23166
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23167
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23168
 
   { (exit 1); exit 1; }; }
 
18339
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23169
18340
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
23170
18341
ac_delim='%!_!# '
23171
18342
for ac_last_try in false false false false false :; do
23172
18343
  . ./conf$$subs.sh ||
23173
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23174
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23175
 
   { (exit 1); exit 1; }; }
 
18344
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23176
18345
 
23177
18346
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23178
18347
  if test $ac_delim_n = $ac_delim_num; then
23179
18348
    break
23180
18349
  elif $ac_last_try; then
23181
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23182
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23183
 
   { (exit 1); exit 1; }; }
 
18350
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23184
18351
  else
23185
18352
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23186
18353
  fi
23269
18436
else
23270
18437
  cat
23271
18438
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
23272
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
23273
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
23274
 
   { (exit 1); exit 1; }; }
 
18439
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
23275
18440
_ACEOF
23276
18441
 
23277
18442
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23312
18477
  if test -z "$ac_t"; then
23313
18478
    break
23314
18479
  elif $ac_last_try; then
23315
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
23316
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
23317
 
   { (exit 1); exit 1; }; }
 
18480
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
23318
18481
  else
23319
18482
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23320
18483
  fi
23399
18562
_ACAWK
23400
18563
_ACEOF
23401
18564
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23402
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
23403
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
23404
 
   { (exit 1); exit 1; }; }
 
18565
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
23405
18566
fi # test -n "$CONFIG_HEADERS"
23406
18567
 
23407
18568
 
23414
18575
  esac
23415
18576
  case $ac_mode$ac_tag in
23416
18577
  :[FHL]*:*);;
23417
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
23418
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
23419
 
   { (exit 1); exit 1; }; };;
 
18578
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
23420
18579
  :[FH]-) ac_tag=-:-;;
23421
18580
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23422
18581
  esac
23444
18603
           [\\/$]*) false;;
23445
18604
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23446
18605
           esac ||
23447
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23448
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23449
 
   { (exit 1); exit 1; }; };;
 
18606
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23450
18607
      esac
23451
18608
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23452
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
18609
      as_fn_append ac_file_inputs " '$ac_f'"
23453
18610
    done
23454
18611
 
23455
18612
    # Let's still pretend it is `configure' which instantiates (i.e., don't
23460
18617
        `' by configure.'
23461
18618
    if test x"$ac_file" != x-; then
23462
18619
      configure_input="$ac_file.  $configure_input"
23463
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
18620
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23464
18621
$as_echo "$as_me: creating $ac_file" >&6;}
23465
18622
    fi
23466
18623
    # Neutralize special characters interpreted by sed in replacement strings.
23473
18630
 
23474
18631
    case $ac_tag in
23475
18632
    *:-:* | *:-) cat >"$tmp/stdin" \
23476
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23477
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23478
 
   { (exit 1); exit 1; }; } ;;
 
18633
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
23479
18634
    esac
23480
18635
    ;;
23481
18636
  esac
23503
18658
            q
23504
18659
          }
23505
18660
          s/.*/./; q'`
23506
 
  { as_dir="$ac_dir"
23507
 
  case $as_dir in #(
23508
 
  -*) as_dir=./$as_dir;;
23509
 
  esac
23510
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23511
 
    as_dirs=
23512
 
    while :; do
23513
 
      case $as_dir in #(
23514
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23515
 
      *) as_qdir=$as_dir;;
23516
 
      esac
23517
 
      as_dirs="'$as_qdir' $as_dirs"
23518
 
      as_dir=`$as_dirname -- "$as_dir" ||
23519
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23520
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23521
 
         X"$as_dir" : 'X\(//\)$' \| \
23522
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23523
 
$as_echo X"$as_dir" |
23524
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23525
 
            s//\1/
23526
 
            q
23527
 
          }
23528
 
          /^X\(\/\/\)[^/].*/{
23529
 
            s//\1/
23530
 
            q
23531
 
          }
23532
 
          /^X\(\/\/\)$/{
23533
 
            s//\1/
23534
 
            q
23535
 
          }
23536
 
          /^X\(\/\).*/{
23537
 
            s//\1/
23538
 
            q
23539
 
          }
23540
 
          s/.*/./; q'`
23541
 
      test -d "$as_dir" && break
23542
 
    done
23543
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23544
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23545
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23546
 
   { (exit 1); exit 1; }; }; }
 
18661
  as_dir="$ac_dir"; as_fn_mkdir_p
23547
18662
  ac_builddir=.
23548
18663
 
23549
18664
case "$ac_dir" in
23600
18715
# If the template does not know about datarootdir, expand it.
23601
18716
# FIXME: This hack should be removed a few years after 2.60.
23602
18717
ac_datarootdir_hack=; ac_datarootdir_seen=
23603
 
 
23604
18718
ac_sed_dataroot='
23605
18719
/datarootdir/ {
23606
18720
  p
23610
18724
/@docdir@/p
23611
18725
/@infodir@/p
23612
18726
/@localedir@/p
23613
 
/@mandir@/p
23614
 
'
 
18727
/@mandir@/p'
23615
18728
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23616
18729
*datarootdir*) ac_datarootdir_seen=yes;;
23617
18730
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23618
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18731
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23619
18732
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23620
18733
_ACEOF
23621
18734
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23625
18738
  s&@infodir@&$infodir&g
23626
18739
  s&@localedir@&$localedir&g
23627
18740
  s&@mandir@&$mandir&g
23628
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
18741
  s&\\\${datarootdir}&$datarootdir&g' ;;
23629
18742
esac
23630
18743
_ACEOF
23631
18744
 
23654
18767
$ac_datarootdir_hack
23655
18768
"
23656
18769
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
23657
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23658
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23659
 
   { (exit 1); exit 1; }; }
 
18770
  || as_fn_error "could not create $ac_file" "$LINENO" 5
23660
18771
 
23661
18772
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23662
18773
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23663
18774
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23664
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18775
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23665
18776
which seems to be undefined.  Please make sure it is defined." >&5
23666
18777
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23667
18778
which seems to be undefined.  Please make sure it is defined." >&2;}
23671
18782
  -) cat "$tmp/out" && rm -f "$tmp/out";;
23672
18783
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23673
18784
  esac \
23674
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23675
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23676
 
   { (exit 1); exit 1; }; }
 
18785
  || as_fn_error "could not create $ac_file" "$LINENO" 5
23677
18786
 ;;
23678
18787
  :H)
23679
18788
  #
23684
18793
      $as_echo "/* $configure_input  */" \
23685
18794
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23686
18795
    } >"$tmp/config.h" \
23687
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23688
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23689
 
   { (exit 1); exit 1; }; }
 
18796
      || as_fn_error "could not create $ac_file" "$LINENO" 5
23690
18797
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23691
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18798
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23692
18799
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23693
18800
    else
23694
18801
      rm -f "$ac_file"
23695
18802
      mv "$tmp/config.h" "$ac_file" \
23696
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23697
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23698
 
   { (exit 1); exit 1; }; }
 
18803
        || as_fn_error "could not create $ac_file" "$LINENO" 5
23699
18804
    fi
23700
18805
  else
23701
18806
    $as_echo "/* $configure_input  */" \
23702
18807
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23703
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
23704
 
$as_echo "$as_me: error: could not create -" >&2;}
23705
 
   { (exit 1); exit 1; }; }
 
18808
      || as_fn_error "could not create -" "$LINENO" 5
23706
18809
  fi
23707
18810
# Compute "$ac_file"'s index in $config_headers.
23708
18811
_am_arg="$ac_file"
23740
18843
          s/.*/./; q'`/stamp-h$_am_stamp_count
23741
18844
 ;;
23742
18845
 
23743
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18846
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23744
18847
$as_echo "$as_me: executing $ac_file commands" >&6;}
23745
18848
 ;;
23746
18849
  esac
23835
18938
            q
23836
18939
          }
23837
18940
          s/.*/./; q'`
23838
 
      { as_dir=$dirpart/$fdir
23839
 
  case $as_dir in #(
23840
 
  -*) as_dir=./$as_dir;;
23841
 
  esac
23842
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23843
 
    as_dirs=
23844
 
    while :; do
23845
 
      case $as_dir in #(
23846
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23847
 
      *) as_qdir=$as_dir;;
23848
 
      esac
23849
 
      as_dirs="'$as_qdir' $as_dirs"
23850
 
      as_dir=`$as_dirname -- "$as_dir" ||
23851
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23852
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23853
 
         X"$as_dir" : 'X\(//\)$' \| \
23854
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23855
 
$as_echo X"$as_dir" |
23856
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23857
 
            s//\1/
23858
 
            q
23859
 
          }
23860
 
          /^X\(\/\/\)[^/].*/{
23861
 
            s//\1/
23862
 
            q
23863
 
          }
23864
 
          /^X\(\/\/\)$/{
23865
 
            s//\1/
23866
 
            q
23867
 
          }
23868
 
          /^X\(\/\).*/{
23869
 
            s//\1/
23870
 
            q
23871
 
          }
23872
 
          s/.*/./; q'`
23873
 
      test -d "$as_dir" && break
23874
 
    done
23875
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23876
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23877
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23878
 
   { (exit 1); exit 1; }; }; }
 
18941
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
23879
18942
      # echo "creating $dirpart/$file"
23880
18943
      echo '# dummy' > "$dirpart/$file"
23881
18944
    done
24635
19698
done # for ac_tag
24636
19699
 
24637
19700
 
24638
 
{ (exit 0); exit 0; }
 
19701
as_fn_exit 0
24639
19702
_ACEOF
24640
 
chmod +x $CONFIG_STATUS
24641
19703
ac_clean_files=$ac_clean_files_save
24642
19704
 
24643
19705
test $ac_write_fail = 0 ||
24644
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
24645
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
24646
 
   { (exit 1); exit 1; }; }
 
19706
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
24647
19707
 
24648
19708
 
24649
19709
# configure is writing to config.log, and then calls config.status.
24664
19724
  exec 5>>config.log
24665
19725
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24666
19726
  # would make configure fail if this is the last instruction.
24667
 
  $ac_cs_success || { (exit 1); exit 1; }
 
19727
  $ac_cs_success || as_fn_exit $?
24668
19728
fi
24669
19729
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24670
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19730
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24671
19731
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24672
19732
fi
24673
19733