~ubuntu-branches/debian/squeeze/util-linux/squeeze

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Milan Broz, Ken Kopin, Mike Frysinger, Cristian Rodríguez, Lawrence Rust, Scott James Remnant, Peter Breitenlohner, kevin.granade at gmail, Theodore Ts'o, Karel Zak, localization folks
  • Date: 2009-12-06 17:38:15 UTC
  • mfrom: (1.4.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20091206173815-assrul1ezb5jezar
Tags: 2.16.2-0
[Milan Broz]

* libuuid: remove .UE macro from libuuid man pages.

[Ken Kopin]

* Fix typo in dmesg manpage.

[Mike Frysinger]

* tailf: fix printf format
* swapon: handle <=linux-2.6.19 bug in /proc/swaps

[Cristian Rodríguez]

* fdformat: fix memory leak in verify_disk()

[Lawrence Rust]

* libblkid: fix FAT super block definition

[Scott James Remnant]

* hwclock: do not access hardware clock when using --systz
* hwclock: set kernel timezone with --systz --utc

[Peter Breitenlohner]

* mkswap: restore device argument in mkswap.8 synopsis

[kevin.granade@gmail.com]

* mount: document changed semantics of tmpfs size option in mount.8

[Theodore Ts'o]

* lib: fix file descriptor leak in is_mounted()

[Karel Zak]

* libblkid: fix typo (swsupend -> swsuspend)
* switch_root: remove TIOCSCTTY and setsid().  red: #519237
* libblkid: add missing packed attributes, add new UFS magic strings
* mount: update list of pseudo filesystems
* sfdisk: dump has to be $LANG insensitive
* mount: more explicitly explain 'strictatime' in mount.8
* libblkid: fix the default cache file path
* fsck.minix: fix broken zone checking
* docs: update AUTHORS file
* docs: add v2.16.2 ReleaseNotes
* build-sys: release++ (v2.16.2)
* po: merge changes

[localization folks]

* po: update vi.po (from translationproject.org) (Clytie Siddall)
* po: update pl.po (from translationproject.org) (Jakub Bogusz)
* po: update id.po (from translationproject.org) (Arif E. Nugroho)

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 util-linux-ng 2.16.1.
 
3
# Generated by GNU Autoconf 2.64 for util-linux-ng 2.16.2.
4
4
#
5
5
# Report bugs to <kzak@redhat.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
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
14
16
 
15
17
# Be more Bourne compatible
16
18
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
20
  emulate sh
19
21
  NULLCMD=:
20
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
24
  alias -g '${1+"$@"}'='"$@"'
23
25
  setopt NO_GLOB_SUBST
24
26
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
27
32
esac
28
 
 
29
33
fi
30
34
 
31
35
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
36
as_nl='
43
37
'
44
38
export as_nl
46
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
50
  as_echo='printf %s\n'
51
51
  as_echo_n='printf %s'
52
52
else
57
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
58
    as_echo_n_body='eval
59
59
      arg=$1;
60
 
      case $arg in
 
60
      case $arg in #(
61
61
      *"$as_nl"*)
62
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
80
  }
81
81
fi
82
82
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
83
 
91
84
# IFS
92
85
# We need space, tab and new line, in precisely that order.  Quoting is
96
89
IFS=" ""        $as_nl"
97
90
 
98
91
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
92
case $0 in #((
100
93
  *[\\/]* ) as_myself=$0 ;;
101
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
95
for as_dir in $PATH
103
96
do
104
97
  IFS=$as_save_IFS
105
98
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
108
101
IFS=$as_save_IFS
109
102
 
110
103
     ;;
116
109
fi
117
110
if test ! -f "$as_myself"; then
118
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
112
  exit 1
120
113
fi
121
114
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
122
done
126
123
PS1='$ '
127
124
PS2='> '
133
130
LANGUAGE=C
134
131
export LANGUAGE
135
132
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
133
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
135
 
175
136
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
177
176
  as_have_required=yes
178
177
else
179
178
  as_have_required=no
180
179
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
243
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
186
do
245
187
  IFS=$as_save_IFS
246
188
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
248
191
         /*)
249
192
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
251
202
           done;;
252
203
       esac
 
204
  as_found=false
253
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
254
210
IFS=$as_save_IFS
255
211
 
256
212
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
220
        export CONFIG_SHELL
368
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
222
fi
370
223
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
230
  else
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org and kzak@redhat.com
 
232
$0: about your system, including any error possibly output
 
233
$0: before this message. Then install a modern shell, or
 
234
$0: manually run the script under such a shell if you do
 
235
$0: have one."
 
236
  fi
 
237
  exit 1
 
238
fi
 
239
fi
 
240
fi
 
241
SHELL=${CONFIG_SHELL-/bin/sh}
 
242
export SHELL
 
243
# Unset more variables known to interfere with behavior of common tools.
 
244
CLICOLOR_FORCE= GREP_OPTIONS=
 
245
unset CLICOLOR_FORCE GREP_OPTIONS
 
246
 
 
247
## --------------------- ##
 
248
## M4sh Shell Functions. ##
 
249
## --------------------- ##
 
250
# as_fn_unset VAR
 
251
# ---------------
 
252
# Portably unset VAR.
 
253
as_fn_unset ()
 
254
{
 
255
  { eval $1=; unset $1;}
 
256
}
 
257
as_unset=as_fn_unset
 
258
 
 
259
# as_fn_set_status STATUS
 
260
# -----------------------
 
261
# Set $? to STATUS, without forking.
 
262
as_fn_set_status ()
 
263
{
 
264
  return $1
 
265
} # as_fn_set_status
 
266
 
 
267
# as_fn_exit STATUS
 
268
# -----------------
 
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
270
as_fn_exit ()
 
271
{
 
272
  set +e
 
273
  as_fn_set_status $1
 
274
  exit $1
 
275
} # as_fn_exit
 
276
 
 
277
# as_fn_mkdir_p
 
278
# -------------
 
279
# Create "$as_dir" as a directory, including parents if necessary.
 
280
as_fn_mkdir_p ()
 
281
{
 
282
 
 
283
  case $as_dir in #(
 
284
  -*) as_dir=./$as_dir;;
 
285
  esac
 
286
  test -d "$as_dir" || eval $as_mkdir_p || {
 
287
    as_dirs=
 
288
    while :; do
 
289
      case $as_dir in #(
 
290
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
291
      *) as_qdir=$as_dir;;
 
292
      esac
 
293
      as_dirs="'$as_qdir' $as_dirs"
 
294
      as_dir=`$as_dirname -- "$as_dir" ||
 
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
296
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
297
         X"$as_dir" : 'X\(//\)$' \| \
 
298
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
299
$as_echo X"$as_dir" |
 
300
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
301
            s//\1/
 
302
            q
 
303
          }
 
304
          /^X\(\/\/\)[^/].*/{
 
305
            s//\1/
 
306
            q
 
307
          }
 
308
          /^X\(\/\/\)$/{
 
309
            s//\1/
 
310
            q
 
311
          }
 
312
          /^X\(\/\).*/{
 
313
            s//\1/
 
314
            q
 
315
          }
 
316
          s/.*/./; q'`
 
317
      test -d "$as_dir" && break
 
318
    done
 
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
321
 
 
322
 
 
323
} # as_fn_mkdir_p
 
324
# as_fn_append VAR VALUE
 
325
# ----------------------
 
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
327
# advantage of any shell optimizations that allow amortized linear growth over
 
328
# repeated appends, instead of the typical quadratic growth present in naive
 
329
# implementations.
 
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
331
  eval 'as_fn_append ()
 
332
  {
 
333
    eval $1+=\$2
 
334
  }'
 
335
else
 
336
  as_fn_append ()
 
337
  {
 
338
    eval $1=\$$1\$2
 
339
  }
 
340
fi # as_fn_append
 
341
 
 
342
# as_fn_arith ARG...
 
343
# ------------------
 
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
346
# must be portable across $(()) and expr.
 
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
348
  eval 'as_fn_arith ()
 
349
  {
 
350
    as_val=$(( $* ))
 
351
  }'
 
352
else
 
353
  as_fn_arith ()
 
354
  {
 
355
    as_val=`expr "$@" || test $? -eq 1`
 
356
  }
 
357
fi # as_fn_arith
 
358
 
 
359
 
 
360
# as_fn_error ERROR [LINENO LOG_FD]
 
361
# ---------------------------------
 
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
364
# script with status $?, using 1 if that was 0.
 
365
as_fn_error ()
 
366
{
 
367
  as_status=$?; test $as_status -eq 0 && as_status=1
 
368
  if test "$3"; then
 
369
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
370
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
371
  fi
 
372
  $as_echo "$as_me: error: $1" >&2
 
373
  as_fn_exit $as_status
 
374
} # as_fn_error
 
375
 
 
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
377
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
378
  as_expr=expr
 
379
else
 
380
  as_expr=false
 
381
fi
 
382
 
 
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
384
  as_basename=basename
 
385
else
 
386
  as_basename=false
 
387
fi
 
388
 
 
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
390
  as_dirname=dirname
 
391
else
 
392
  as_dirname=false
 
393
fi
 
394
 
 
395
as_me=`$as_basename -- "$0" ||
 
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
397
         X"$0" : 'X\(//\)$' \| \
 
398
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
399
$as_echo X/"$0" |
 
400
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
401
            s//\1/
 
402
            q
 
403
          }
 
404
          /^X\/\(\/\/\)$/{
 
405
            s//\1/
 
406
            q
 
407
          }
 
408
          /^X\/\(\/\).*/{
 
409
            s//\1/
 
410
            q
 
411
          }
 
412
          s/.*/./; q'`
 
413
 
 
414
# Avoid depending upon Character Ranges.
 
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
418
as_cr_digits='0123456789'
 
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
420
 
 
421
 
 
422
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
423
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
424
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
425
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
426
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
427
  sed -n '
461
428
    p
462
429
    /[$]LINENO/=
473
440
      s/-\n.*//
474
441
    ' >$as_me.lineno &&
475
442
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
443
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
444
 
479
445
  # Don't try to exec as it changes $[0], causing all sort of problems
480
446
  # (the dirname of $[0] is not the place where we might find the
484
450
  exit
485
451
}
486
452
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
453
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
454
case `echo -n x` in #(((((
496
455
-n*)
497
 
  case `echo 'x\c'` in
 
456
  case `echo 'xy\c'` in
498
457
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
458
  xy)  ECHO_C='\c';;
 
459
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
460
       ECHO_T=' ';;
500
461
  esac;;
501
462
*)
502
463
  ECHO_N='-n';;
503
464
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
465
 
511
466
rm -f conf$$ conf$$.exe conf$$.file
512
467
if test -d conf$$.dir; then
536
491
rmdir conf$$.dir 2>/dev/null
537
492
 
538
493
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
494
  as_mkdir_p='mkdir -p "$as_dir"'
540
495
else
541
496
  test -d ./-p && rmdir ./-p
542
497
  as_mkdir_p=false
555
510
      if test -d "$1"; then
556
511
        test -d "$1/.";
557
512
      else
558
 
        case $1 in
 
513
        case $1 in #(
559
514
        -*)set "./$1";;
560
515
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
516
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
517
        ???[sx]*):;;*)false;;esac;fi
563
518
    '\'' sh
564
519
  '
573
528
 
574
529
 
575
530
 
576
 
 
577
531
# Check that we are running under the correct shell.
578
532
SHELL=${CONFIG_SHELL-/bin/sh}
579
533
 
740
694
subdirs=
741
695
MFLAGS=
742
696
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
697
 
745
698
# Identity of this package.
746
699
PACKAGE_NAME='util-linux-ng'
747
700
PACKAGE_TARNAME='util-linux-ng'
748
 
PACKAGE_VERSION='2.16.1'
749
 
PACKAGE_STRING='util-linux-ng 2.16.1'
 
701
PACKAGE_VERSION='2.16.2'
 
702
PACKAGE_STRING='util-linux-ng 2.16.2'
750
703
PACKAGE_BUGREPORT='kzak@redhat.com'
 
704
PACKAGE_URL=''
751
705
 
752
706
ac_unique_file="mount/mount.c"
753
707
ac_default_prefix=/usr
787
741
# include <unistd.h>
788
742
#endif"
789
743
 
790
 
ac_subst_vars='LTLIBOBJS
 
744
ac_subst_vars='am__EXEEXT_FALSE
 
745
am__EXEEXT_TRUE
 
746
LTLIBOBJS
791
747
LIBOBJS
792
748
SUID_LDFLAGS
793
749
SUID_CFLAGS
1034
990
program_transform_name
1035
991
prefix
1036
992
exec_prefix
 
993
PACKAGE_URL
1037
994
PACKAGE_BUGREPORT
1038
995
PACKAGE_STRING
1039
996
PACKAGE_VERSION
1219
1176
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1220
1177
    # Reject names that are not valid shell variable names.
1221
1178
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1223
 
   { (exit 1); exit 1; }; }
 
1179
      as_fn_error "invalid feature name: $ac_useropt"
1224
1180
    ac_useropt_orig=$ac_useropt
1225
1181
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226
1182
    case $ac_user_opts in
1246
1202
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247
1203
    # Reject names that are not valid shell variable names.
1248
1204
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1250
 
   { (exit 1); exit 1; }; }
 
1205
      as_fn_error "invalid feature name: $ac_useropt"
1251
1206
    ac_useropt_orig=$ac_useropt
1252
1207
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253
1208
    case $ac_user_opts in
1451
1406
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1452
1407
    # Reject names that are not valid shell variable names.
1453
1408
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1454
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1455
 
   { (exit 1); exit 1; }; }
 
1409
      as_fn_error "invalid package name: $ac_useropt"
1456
1410
    ac_useropt_orig=$ac_useropt
1457
1411
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1458
1412
    case $ac_user_opts in
1468
1422
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1469
1423
    # Reject names that are not valid shell variable names.
1470
1424
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1471
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1472
 
   { (exit 1); exit 1; }; }
 
1425
      as_fn_error "invalid package name: $ac_useropt"
1473
1426
    ac_useropt_orig=$ac_useropt
1474
1427
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1475
1428
    case $ac_user_opts in
1499
1452
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1500
1453
    x_libraries=$ac_optarg ;;
1501
1454
 
1502
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1503
 
Try \`$0 --help' for more information." >&2
1504
 
   { (exit 1); exit 1; }; }
 
1455
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1456
Try \`$0 --help' for more information."
1505
1457
    ;;
1506
1458
 
1507
1459
  *=*)
1508
1460
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1509
1461
    # Reject names that are not valid shell variable names.
1510
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1511
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1512
 
   { (exit 1); exit 1; }; }
 
1462
    case $ac_envvar in #(
 
1463
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1464
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1465
    esac
1513
1466
    eval $ac_envvar=\$ac_optarg
1514
1467
    export $ac_envvar ;;
1515
1468
 
1526
1479
 
1527
1480
if test -n "$ac_prev"; then
1528
1481
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1529
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1530
 
   { (exit 1); exit 1; }; }
 
1482
  as_fn_error "missing argument to $ac_option"
1531
1483
fi
1532
1484
 
1533
1485
if test -n "$ac_unrecognized_opts"; then
1534
1486
  case $enable_option_checking in
1535
1487
    no) ;;
1536
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1537
 
   { (exit 1); exit 1; }; } ;;
 
1488
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1538
1489
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1539
1490
  esac
1540
1491
fi
1557
1508
    [\\/$]* | ?:[\\/]* )  continue;;
1558
1509
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1559
1510
  esac
1560
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1561
 
   { (exit 1); exit 1; }; }
 
1511
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1562
1512
done
1563
1513
 
1564
1514
# There might be people who depend on the old broken behavior: `$host'
1588
1538
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1589
1539
ac_ls_di=`ls -di .` &&
1590
1540
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1591
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1592
 
   { (exit 1); exit 1; }; }
 
1541
  as_fn_error "working directory cannot be determined"
1593
1542
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1594
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1595
 
   { (exit 1); exit 1; }; }
 
1543
  as_fn_error "pwd does not report name of working directory"
1596
1544
 
1597
1545
 
1598
1546
# Find the source files, if location was not specified.
1631
1579
fi
1632
1580
if test ! -r "$srcdir/$ac_unique_file"; then
1633
1581
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1634
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1635
 
   { (exit 1); exit 1; }; }
 
1582
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1636
1583
fi
1637
1584
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1638
1585
ac_abs_confdir=`(
1639
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1640
 
   { (exit 1); exit 1; }; }
 
1586
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1641
1587
        pwd)`
1642
1588
# When building in place, set srcdir=.
1643
1589
if test "$ac_abs_confdir" = "$ac_pwd"; then
1663
1609
  # Omit some internal or obsolete options to make the list less imposing.
1664
1610
  # This message is too long to be a string in the A/UX 3.1 sh.
1665
1611
  cat <<_ACEOF
1666
 
\`configure' configures util-linux-ng 2.16.1 to adapt to many kinds of systems.
 
1612
\`configure' configures util-linux-ng 2.16.2 to adapt to many kinds of systems.
1667
1613
 
1668
1614
Usage: $0 [OPTION]... [VAR=VALUE]...
1669
1615
 
1733
1679
 
1734
1680
if test -n "$ac_init_help"; then
1735
1681
  case $ac_init_help in
1736
 
     short | recursive ) echo "Configuration of util-linux-ng 2.16.1:";;
 
1682
     short | recursive ) echo "Configuration of util-linux-ng 2.16.2:";;
1737
1683
   esac
1738
1684
  cat <<\_ACEOF
1739
1685
 
1899
1845
test -n "$ac_init_help" && exit $ac_status
1900
1846
if $ac_init_version; then
1901
1847
  cat <<\_ACEOF
1902
 
util-linux-ng configure 2.16.1
1903
 
generated by GNU Autoconf 2.63
 
1848
util-linux-ng configure 2.16.2
 
1849
generated by GNU Autoconf 2.64
1904
1850
 
1905
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1906
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1851
Copyright (C) 2009 Free Software Foundation, Inc.
1907
1852
This configure script is free software; the Free Software Foundation
1908
1853
gives unlimited permission to copy, distribute and modify it.
1909
1854
_ACEOF
1910
1855
  exit
1911
1856
fi
 
1857
 
 
1858
## ------------------------ ##
 
1859
## Autoconf initialization. ##
 
1860
## ------------------------ ##
 
1861
 
 
1862
# ac_fn_c_try_compile LINENO
 
1863
# --------------------------
 
1864
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1865
ac_fn_c_try_compile ()
 
1866
{
 
1867
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1868
  rm -f conftest.$ac_objext
 
1869
  if { { ac_try="$ac_compile"
 
1870
case "(($ac_try" in
 
1871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1872
  *) ac_try_echo=$ac_try;;
 
1873
esac
 
1874
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1875
$as_echo "$ac_try_echo"; } >&5
 
1876
  (eval "$ac_compile") 2>conftest.err
 
1877
  ac_status=$?
 
1878
  if test -s conftest.err; then
 
1879
    grep -v '^ *+' conftest.err >conftest.er1
 
1880
    cat conftest.er1 >&5
 
1881
    mv -f conftest.er1 conftest.err
 
1882
  fi
 
1883
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1884
  test $ac_status = 0; } && {
 
1885
         test -z "$ac_c_werror_flag" ||
 
1886
         test ! -s conftest.err
 
1887
       } && test -s conftest.$ac_objext; then :
 
1888
  ac_retval=0
 
1889
else
 
1890
  $as_echo "$as_me: failed program was:" >&5
 
1891
sed 's/^/| /' conftest.$ac_ext >&5
 
1892
 
 
1893
        ac_retval=1
 
1894
fi
 
1895
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1896
  return $ac_retval
 
1897
 
 
1898
} # ac_fn_c_try_compile
 
1899
 
 
1900
# ac_fn_c_try_cpp LINENO
 
1901
# ----------------------
 
1902
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1903
ac_fn_c_try_cpp ()
 
1904
{
 
1905
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1906
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1907
case "(($ac_try" in
 
1908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1909
  *) ac_try_echo=$ac_try;;
 
1910
esac
 
1911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1912
$as_echo "$ac_try_echo"; } >&5
 
1913
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1914
  ac_status=$?
 
1915
  if test -s conftest.err; then
 
1916
    grep -v '^ *+' conftest.err >conftest.er1
 
1917
    cat conftest.er1 >&5
 
1918
    mv -f conftest.er1 conftest.err
 
1919
  fi
 
1920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1921
  test $ac_status = 0; } >/dev/null && {
 
1922
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1923
         test ! -s conftest.err
 
1924
       }; then :
 
1925
  ac_retval=0
 
1926
else
 
1927
  $as_echo "$as_me: failed program was:" >&5
 
1928
sed 's/^/| /' conftest.$ac_ext >&5
 
1929
 
 
1930
    ac_retval=1
 
1931
fi
 
1932
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1933
  return $ac_retval
 
1934
 
 
1935
} # ac_fn_c_try_cpp
 
1936
 
 
1937
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1938
# -------------------------------------------------------
 
1939
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1940
# the include files in INCLUDES and setting the cache variable VAR
 
1941
# accordingly.
 
1942
ac_fn_c_check_header_mongrel ()
 
1943
{
 
1944
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1945
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1946
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1947
$as_echo_n "checking for $2... " >&6; }
 
1948
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1949
  $as_echo_n "(cached) " >&6
 
1950
fi
 
1951
eval ac_res=\$$3
 
1952
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1953
$as_echo "$ac_res" >&6; }
 
1954
else
 
1955
  # Is the header compilable?
 
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1957
$as_echo_n "checking $2 usability... " >&6; }
 
1958
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1959
/* end confdefs.h.  */
 
1960
$4
 
1961
#include <$2>
 
1962
_ACEOF
 
1963
if ac_fn_c_try_compile "$LINENO"; then :
 
1964
  ac_header_compiler=yes
 
1965
else
 
1966
  ac_header_compiler=no
 
1967
fi
 
1968
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1970
$as_echo "$ac_header_compiler" >&6; }
 
1971
 
 
1972
# Is the header present?
 
1973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1974
$as_echo_n "checking $2 presence... " >&6; }
 
1975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1976
/* end confdefs.h.  */
 
1977
#include <$2>
 
1978
_ACEOF
 
1979
if ac_fn_c_try_cpp "$LINENO"; then :
 
1980
  ac_header_preproc=yes
 
1981
else
 
1982
  ac_header_preproc=no
 
1983
fi
 
1984
rm -f conftest.err conftest.$ac_ext
 
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1986
$as_echo "$ac_header_preproc" >&6; }
 
1987
 
 
1988
# So?  What about this header?
 
1989
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1990
  yes:no: )
 
1991
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1992
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1993
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1994
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1995
    ;;
 
1996
  no:yes:* )
 
1997
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1998
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1999
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2000
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2001
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2002
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2003
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2004
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2005
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2006
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2007
( cat <<\_ASBOX
 
2008
## ------------------------------ ##
 
2009
## Report this to kzak@redhat.com ##
 
2010
## ------------------------------ ##
 
2011
_ASBOX
 
2012
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2013
    ;;
 
2014
esac
 
2015
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2016
$as_echo_n "checking for $2... " >&6; }
 
2017
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2018
  $as_echo_n "(cached) " >&6
 
2019
else
 
2020
  eval "$3=\$ac_header_compiler"
 
2021
fi
 
2022
eval ac_res=\$$3
 
2023
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2024
$as_echo "$ac_res" >&6; }
 
2025
fi
 
2026
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2027
 
 
2028
} # ac_fn_c_check_header_mongrel
 
2029
 
 
2030
# ac_fn_c_try_run LINENO
 
2031
# ----------------------
 
2032
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2033
# that executables *can* be run.
 
2034
ac_fn_c_try_run ()
 
2035
{
 
2036
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2037
  if { { ac_try="$ac_link"
 
2038
case "(($ac_try" in
 
2039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2040
  *) ac_try_echo=$ac_try;;
 
2041
esac
 
2042
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2043
$as_echo "$ac_try_echo"; } >&5
 
2044
  (eval "$ac_link") 2>&5
 
2045
  ac_status=$?
 
2046
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2047
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2048
  { { case "(($ac_try" in
 
2049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2050
  *) ac_try_echo=$ac_try;;
 
2051
esac
 
2052
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2053
$as_echo "$ac_try_echo"; } >&5
 
2054
  (eval "$ac_try") 2>&5
 
2055
  ac_status=$?
 
2056
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2057
  test $ac_status = 0; }; }; then :
 
2058
  ac_retval=0
 
2059
else
 
2060
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2061
       $as_echo "$as_me: failed program was:" >&5
 
2062
sed 's/^/| /' conftest.$ac_ext >&5
 
2063
 
 
2064
       ac_retval=$ac_status
 
2065
fi
 
2066
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2067
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2068
  return $ac_retval
 
2069
 
 
2070
} # ac_fn_c_try_run
 
2071
 
 
2072
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2073
# -------------------------------------------------------
 
2074
# Tests whether HEADER exists and can be compiled using the include files in
 
2075
# INCLUDES, setting the cache variable VAR accordingly.
 
2076
ac_fn_c_check_header_compile ()
 
2077
{
 
2078
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2080
$as_echo_n "checking for $2... " >&6; }
 
2081
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2082
  $as_echo_n "(cached) " >&6
 
2083
else
 
2084
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2085
/* end confdefs.h.  */
 
2086
$4
 
2087
#include <$2>
 
2088
_ACEOF
 
2089
if ac_fn_c_try_compile "$LINENO"; then :
 
2090
  eval "$3=yes"
 
2091
else
 
2092
  eval "$3=no"
 
2093
fi
 
2094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2095
fi
 
2096
eval ac_res=\$$3
 
2097
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2098
$as_echo "$ac_res" >&6; }
 
2099
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2100
 
 
2101
} # ac_fn_c_check_header_compile
 
2102
 
 
2103
# ac_fn_c_try_link LINENO
 
2104
# -----------------------
 
2105
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2106
ac_fn_c_try_link ()
 
2107
{
 
2108
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2109
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2110
  if { { ac_try="$ac_link"
 
2111
case "(($ac_try" in
 
2112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2113
  *) ac_try_echo=$ac_try;;
 
2114
esac
 
2115
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2116
$as_echo "$ac_try_echo"; } >&5
 
2117
  (eval "$ac_link") 2>conftest.err
 
2118
  ac_status=$?
 
2119
  if test -s conftest.err; then
 
2120
    grep -v '^ *+' conftest.err >conftest.er1
 
2121
    cat conftest.er1 >&5
 
2122
    mv -f conftest.er1 conftest.err
 
2123
  fi
 
2124
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2125
  test $ac_status = 0; } && {
 
2126
         test -z "$ac_c_werror_flag" ||
 
2127
         test ! -s conftest.err
 
2128
       } && test -s conftest$ac_exeext && {
 
2129
         test "$cross_compiling" = yes ||
 
2130
         $as_test_x conftest$ac_exeext
 
2131
       }; then :
 
2132
  ac_retval=0
 
2133
else
 
2134
  $as_echo "$as_me: failed program was:" >&5
 
2135
sed 's/^/| /' conftest.$ac_ext >&5
 
2136
 
 
2137
        ac_retval=1
 
2138
fi
 
2139
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2140
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2141
  # interfere with the next link command; also delete a directory that is
 
2142
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2143
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2144
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2145
  return $ac_retval
 
2146
 
 
2147
} # ac_fn_c_try_link
 
2148
 
 
2149
# ac_fn_c_check_func LINENO FUNC VAR
 
2150
# ----------------------------------
 
2151
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2152
ac_fn_c_check_func ()
 
2153
{
 
2154
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2155
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2156
$as_echo_n "checking for $2... " >&6; }
 
2157
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2158
  $as_echo_n "(cached) " >&6
 
2159
else
 
2160
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2161
/* end confdefs.h.  */
 
2162
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2163
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2164
#define $2 innocuous_$2
 
2165
 
 
2166
/* System header to define __stub macros and hopefully few prototypes,
 
2167
    which can conflict with char $2 (); below.
 
2168
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2169
    <limits.h> exists even on freestanding compilers.  */
 
2170
 
 
2171
#ifdef __STDC__
 
2172
# include <limits.h>
 
2173
#else
 
2174
# include <assert.h>
 
2175
#endif
 
2176
 
 
2177
#undef $2
 
2178
 
 
2179
/* Override any GCC internal prototype to avoid an error.
 
2180
   Use char because int might match the return type of a GCC
 
2181
   builtin and then its argument prototype would still apply.  */
 
2182
#ifdef __cplusplus
 
2183
extern "C"
 
2184
#endif
 
2185
char $2 ();
 
2186
/* The GNU C library defines this for functions which it implements
 
2187
    to always fail with ENOSYS.  Some functions are actually named
 
2188
    something starting with __ and the normal name is an alias.  */
 
2189
#if defined __stub_$2 || defined __stub___$2
 
2190
choke me
 
2191
#endif
 
2192
 
 
2193
int
 
2194
main ()
 
2195
{
 
2196
return $2 ();
 
2197
  ;
 
2198
  return 0;
 
2199
}
 
2200
_ACEOF
 
2201
if ac_fn_c_try_link "$LINENO"; then :
 
2202
  eval "$3=yes"
 
2203
else
 
2204
  eval "$3=no"
 
2205
fi
 
2206
rm -f core conftest.err conftest.$ac_objext \
 
2207
    conftest$ac_exeext conftest.$ac_ext
 
2208
fi
 
2209
eval ac_res=\$$3
 
2210
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2211
$as_echo "$ac_res" >&6; }
 
2212
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2213
 
 
2214
} # ac_fn_c_check_func
 
2215
 
 
2216
# ac_fn_c_check_decl LINENO SYMBOL VAR
 
2217
# ------------------------------------
 
2218
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2219
ac_fn_c_check_decl ()
 
2220
{
 
2221
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2222
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
2223
$as_echo_n "checking whether $2 is declared... " >&6; }
 
2224
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2225
  $as_echo_n "(cached) " >&6
 
2226
else
 
2227
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2228
/* end confdefs.h.  */
 
2229
$4
 
2230
int
 
2231
main ()
 
2232
{
 
2233
#ifndef $2
 
2234
  (void) $2;
 
2235
#endif
 
2236
 
 
2237
  ;
 
2238
  return 0;
 
2239
}
 
2240
_ACEOF
 
2241
if ac_fn_c_try_compile "$LINENO"; then :
 
2242
  eval "$3=yes"
 
2243
else
 
2244
  eval "$3=no"
 
2245
fi
 
2246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2247
fi
 
2248
eval ac_res=\$$3
 
2249
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2250
$as_echo "$ac_res" >&6; }
 
2251
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2252
 
 
2253
} # ac_fn_c_check_decl
 
2254
 
 
2255
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
2256
# ----------------------------------------------------
 
2257
# Tries to find if the field MEMBER exists in type AGGR, after including
 
2258
# INCLUDES, setting cache variable VAR accordingly.
 
2259
ac_fn_c_check_member ()
 
2260
{
 
2261
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2262
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
2263
$as_echo_n "checking for $2.$3... " >&6; }
 
2264
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2265
  $as_echo_n "(cached) " >&6
 
2266
else
 
2267
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2268
/* end confdefs.h.  */
 
2269
$5
 
2270
int
 
2271
main ()
 
2272
{
 
2273
static $2 ac_aggr;
 
2274
if (ac_aggr.$3)
 
2275
return 0;
 
2276
  ;
 
2277
  return 0;
 
2278
}
 
2279
_ACEOF
 
2280
if ac_fn_c_try_compile "$LINENO"; then :
 
2281
  eval "$4=yes"
 
2282
else
 
2283
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2284
/* end confdefs.h.  */
 
2285
$5
 
2286
int
 
2287
main ()
 
2288
{
 
2289
static $2 ac_aggr;
 
2290
if (sizeof ac_aggr.$3)
 
2291
return 0;
 
2292
  ;
 
2293
  return 0;
 
2294
}
 
2295
_ACEOF
 
2296
if ac_fn_c_try_compile "$LINENO"; then :
 
2297
  eval "$4=yes"
 
2298
else
 
2299
  eval "$4=no"
 
2300
fi
 
2301
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2302
fi
 
2303
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2304
fi
 
2305
eval ac_res=\$$4
 
2306
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2307
$as_echo "$ac_res" >&6; }
 
2308
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2309
 
 
2310
} # ac_fn_c_check_member
1912
2311
cat >config.log <<_ACEOF
1913
2312
This file contains any messages produced by compilers while
1914
2313
running configure, to aid debugging if configure makes a mistake.
1915
2314
 
1916
 
It was created by util-linux-ng $as_me 2.16.1, which was
1917
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2315
It was created by util-linux-ng $as_me 2.16.2, which was
 
2316
generated by GNU Autoconf 2.64.  Invocation command line was
1918
2317
 
1919
2318
  $ $0 $@
1920
2319
 
1950
2349
do
1951
2350
  IFS=$as_save_IFS
1952
2351
  test -z "$as_dir" && as_dir=.
1953
 
  $as_echo "PATH: $as_dir"
1954
 
done
 
2352
    $as_echo "PATH: $as_dir"
 
2353
  done
1955
2354
IFS=$as_save_IFS
1956
2355
 
1957
2356
} >&5
1988
2387
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1989
2388
    esac
1990
2389
    case $ac_pass in
1991
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2390
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1992
2391
    2)
1993
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2392
      as_fn_append ac_configure_args1 " '$ac_arg'"
1994
2393
      if test $ac_must_keep_next = true; then
1995
2394
        ac_must_keep_next=false # Got value, back to normal.
1996
2395
      else
2006
2405
          -* ) ac_must_keep_next=true ;;
2007
2406
        esac
2008
2407
      fi
2009
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2408
      as_fn_append ac_configure_args " '$ac_arg'"
2010
2409
      ;;
2011
2410
    esac
2012
2411
  done
2013
2412
done
2014
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2015
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2413
{ ac_configure_args0=; unset ac_configure_args0;}
 
2414
{ ac_configure_args1=; unset ac_configure_args1;}
2016
2415
 
2017
2416
# When interrupted or exit'd, cleanup temporary files, and complete
2018
2417
# config.log.  We remove comments because anyway the quotes in there
2037
2436
    case $ac_val in #(
2038
2437
    *${as_nl}*)
2039
2438
      case $ac_var in #(
2040
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2439
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2041
2440
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2042
2441
      esac
2043
2442
      case $ac_var in #(
2044
2443
      _ | IFS | as_nl) ;; #(
2045
2444
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2046
 
      *) $as_unset $ac_var ;;
 
2445
      *) { eval $ac_var=; unset $ac_var;} ;;
2047
2446
      esac ;;
2048
2447
    esac
2049
2448
  done
2115
2514
    exit $exit_status
2116
2515
' 0
2117
2516
for ac_signal in 1 2 13 15; do
2118
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2517
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2119
2518
done
2120
2519
ac_signal=0
2121
2520
 
2122
2521
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2123
2522
rm -f -r conftest* confdefs.h
2124
2523
 
 
2524
$as_echo "/* confdefs.h */" > confdefs.h
 
2525
 
2125
2526
# Predefined preprocessor variables.
2126
2527
 
2127
2528
cat >>confdefs.h <<_ACEOF
2128
2529
#define PACKAGE_NAME "$PACKAGE_NAME"
2129
2530
_ACEOF
2130
2531
 
2131
 
 
2132
2532
cat >>confdefs.h <<_ACEOF
2133
2533
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2134
2534
_ACEOF
2135
2535
 
2136
 
 
2137
2536
cat >>confdefs.h <<_ACEOF
2138
2537
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2139
2538
_ACEOF
2140
2539
 
2141
 
 
2142
2540
cat >>confdefs.h <<_ACEOF
2143
2541
#define PACKAGE_STRING "$PACKAGE_STRING"
2144
2542
_ACEOF
2145
2543
 
2146
 
 
2147
2544
cat >>confdefs.h <<_ACEOF
2148
2545
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149
2546
_ACEOF
2150
2547
 
 
2548
cat >>confdefs.h <<_ACEOF
 
2549
#define PACKAGE_URL "$PACKAGE_URL"
 
2550
_ACEOF
 
2551
 
2151
2552
 
2152
2553
# Let the site file select an alternate cache file if it wants to.
2153
2554
# Prefer an explicitly selected file to automatically selected ones.
2166
2567
do
2167
2568
  test "x$ac_site_file" = xNONE && continue
2168
2569
  if test -r "$ac_site_file"; then
2169
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2570
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2170
2571
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2171
2572
    sed 's/^/| /' "$ac_site_file" >&5
2172
2573
    . "$ac_site_file"
2177
2578
  # Some versions of bash will fail to source /dev/null (special
2178
2579
  # files actually), so we avoid doing that.
2179
2580
  if test -f "$cache_file"; then
2180
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2581
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2181
2582
$as_echo "$as_me: loading cache $cache_file" >&6;}
2182
2583
    case $cache_file in
2183
2584
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2185
2586
    esac
2186
2587
  fi
2187
2588
else
2188
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2589
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2189
2590
$as_echo "$as_me: creating cache $cache_file" >&6;}
2190
2591
  >$cache_file
2191
2592
fi
2200
2601
  eval ac_new_val=\$ac_env_${ac_var}_value
2201
2602
  case $ac_old_set,$ac_new_set in
2202
2603
    set,)
2203
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2604
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2204
2605
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2205
2606
      ac_cache_corrupted=: ;;
2206
2607
    ,set)
2207
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2608
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2208
2609
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2209
2610
      ac_cache_corrupted=: ;;
2210
2611
    ,);;
2214
2615
        ac_old_val_w=`echo x $ac_old_val`
2215
2616
        ac_new_val_w=`echo x $ac_new_val`
2216
2617
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2217
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2618
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2218
2619
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2219
2620
          ac_cache_corrupted=:
2220
2621
        else
2221
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2622
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2222
2623
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2223
2624
          eval $ac_var=\$ac_old_val
2224
2625
        fi
2225
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2626
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2226
2627
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2227
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2628
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2228
2629
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2229
2630
      fi;;
2230
2631
  esac
2236
2637
    esac
2237
2638
    case " $ac_configure_args " in
2238
2639
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2239
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2640
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2240
2641
    esac
2241
2642
  fi
2242
2643
done
2243
2644
if $ac_cache_corrupted; then
2244
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2645
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245
2646
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2647
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2247
2648
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2248
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2249
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2250
 
   { (exit 1); exit 1; }; }
 
2649
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2251
2650
fi
2252
 
 
2253
 
 
2254
 
 
2255
 
 
2256
 
 
2257
 
 
2258
 
 
2259
 
 
2260
 
 
2261
 
 
2262
 
 
2263
 
 
2264
 
 
2265
 
 
2266
 
 
2267
 
 
2268
 
 
2269
 
 
2270
 
 
2271
 
 
2272
 
 
2273
 
 
2274
 
 
2275
 
 
 
2651
## -------------------- ##
 
2652
## Main body of script. ##
 
2653
## -------------------- ##
2276
2654
 
2277
2655
ac_ext=c
2278
2656
ac_cpp='$CPP $CPPFLAGS'
2286
2664
 
2287
2665
ac_aux_dir=
2288
2666
for ac_dir in config "$srcdir"/config; do
2289
 
  if test -f "$ac_dir/install-sh"; then
2290
 
    ac_aux_dir=$ac_dir
2291
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2292
 
    break
2293
 
  elif test -f "$ac_dir/install.sh"; then
2294
 
    ac_aux_dir=$ac_dir
2295
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2296
 
    break
2297
 
  elif test -f "$ac_dir/shtool"; then
2298
 
    ac_aux_dir=$ac_dir
2299
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2300
 
    break
2301
 
  fi
 
2667
  for ac_t in install-sh install.sh shtool; do
 
2668
    if test -f "$ac_dir/$ac_t"; then
 
2669
      ac_aux_dir=$ac_dir
 
2670
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2671
      break 2
 
2672
    fi
 
2673
  done
2302
2674
done
2303
2675
if test -z "$ac_aux_dir"; then
2304
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2305
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2306
 
   { (exit 1); exit 1; }; }
 
2676
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2307
2677
fi
2308
2678
 
2309
2679
# These three variables are undocumented and unsupported,
2317
2687
 
2318
2688
 
2319
2689
 
2320
 
am__api_version='1.10'
 
2690
am__api_version='1.11'
2321
2691
 
2322
2692
# Find a good install program.  We prefer a C program (faster),
2323
2693
# so one script is as good as another.  But avoid the broken or
2333
2703
# OS/2's system install, which has a completely different semantic
2334
2704
# ./install, which can be erroneously created by make from ./install.sh.
2335
2705
# Reject install programs that cannot install multiple files.
2336
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2337
2707
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2338
2708
if test -z "$INSTALL"; then
2339
 
if test "${ac_cv_path_install+set}" = set; then
 
2709
if test "${ac_cv_path_install+set}" = set; then :
2340
2710
  $as_echo_n "(cached) " >&6
2341
2711
else
2342
2712
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344
2714
do
2345
2715
  IFS=$as_save_IFS
2346
2716
  test -z "$as_dir" && as_dir=.
2347
 
  # Account for people who put trailing slashes in PATH elements.
2348
 
case $as_dir/ in
2349
 
  ./ | .// | /cC/* | \
 
2717
    # Account for people who put trailing slashes in PATH elements.
 
2718
case $as_dir/ in #((
 
2719
  ./ | .// | /[cC]/* | \
2350
2720
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2351
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2721
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2352
2722
  /usr/ucb/* ) ;;
2353
2723
  *)
2354
2724
    # OSF1 and SCO ODT 3.0 have their own names for install.
2385
2755
    ;;
2386
2756
esac
2387
2757
 
2388
 
done
 
2758
  done
2389
2759
IFS=$as_save_IFS
2390
2760
 
2391
2761
rm -rf conftest.one conftest.two conftest.dir
2401
2771
    INSTALL=$ac_install_sh
2402
2772
  fi
2403
2773
fi
2404
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2405
2775
$as_echo "$INSTALL" >&6; }
2406
2776
 
2407
2777
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2412
2782
 
2413
2783
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2414
2784
 
2415
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2416
2786
$as_echo_n "checking whether build environment is sane... " >&6; }
2417
2787
# Just in case
2418
2788
sleep 1
2419
2789
echo timestamp > conftest.file
 
2790
# Reject unsafe characters in $srcdir or the absolute working directory
 
2791
# name.  Accept space and tab only in the latter.
 
2792
am_lf='
 
2793
'
 
2794
case `pwd` in
 
2795
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2796
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2797
esac
 
2798
case $srcdir in
 
2799
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2800
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2801
esac
 
2802
 
2420
2803
# Do `set' in a subshell so we don't clobber the current shell's
2421
2804
# arguments.  Must try -L first in case configure is actually a
2422
2805
# symlink; some systems play weird games with the mod time of symlinks
2423
2806
# (eg FreeBSD returns the mod time of the symlink's containing
2424
2807
# directory).
2425
2808
if (
2426
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2809
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2427
2810
   if test "$*" = "X"; then
2428
2811
      # -L didn't work.
2429
 
      set X `ls -t $srcdir/configure conftest.file`
 
2812
      set X `ls -t "$srcdir/configure" conftest.file`
2430
2813
   fi
2431
2814
   rm -f conftest.file
2432
2815
   if test "$*" != "X $srcdir/configure conftest.file" \
2436
2819
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2437
2820
      # broken ls alias from the environment.  This has actually
2438
2821
      # happened.  Such a system could not be considered "sane".
2439
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2440
 
alias in your environment" >&5
2441
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2442
 
alias in your environment" >&2;}
2443
 
   { (exit 1); exit 1; }; }
 
2822
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2823
alias in your environment" "$LINENO" 5
2444
2824
   fi
2445
2825
 
2446
2826
   test "$2" = conftest.file
2449
2829
   # Ok.
2450
2830
   :
2451
2831
else
2452
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2453
 
Check your system clock" >&5
2454
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2455
 
Check your system clock" >&2;}
2456
 
   { (exit 1); exit 1; }; }
 
2832
   as_fn_error "newly created file is older than distributed files!
 
2833
Check your system clock" "$LINENO" 5
2457
2834
fi
2458
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2459
2836
$as_echo "yes" >&6; }
2460
2837
test "$program_prefix" != NONE &&
2461
2838
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2470
2847
# expand $ac_aux_dir to an absolute path
2471
2848
am_aux_dir=`cd $ac_aux_dir && pwd`
2472
2849
 
2473
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2850
if test x"${MISSING+set}" != xset; then
 
2851
  case $am_aux_dir in
 
2852
  *\ * | *\     *)
 
2853
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2854
  *)
 
2855
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2856
  esac
 
2857
fi
2474
2858
# Use eval to expand $SHELL
2475
2859
if eval "$MISSING --run true"; then
2476
2860
  am_missing_run="$MISSING --run "
2477
2861
else
2478
2862
  am_missing_run=
2479
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2863
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2480
2864
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2481
2865
fi
2482
2866
 
2483
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2867
if test x"${install_sh}" != xset; then
 
2868
  case $am_aux_dir in
 
2869
  *\ * | *\     *)
 
2870
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2871
  *)
 
2872
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2873
  esac
 
2874
fi
 
2875
 
 
2876
# Installed binaries are usually stripped using `strip' when the user
 
2877
# run `make install-strip'.  However `strip' might not be the right
 
2878
# tool to use in cross-compilation environments, therefore Automake
 
2879
# will honor the `STRIP' environment variable to overrule this program.
 
2880
if test "$cross_compiling" != no; then
 
2881
  if test -n "$ac_tool_prefix"; then
 
2882
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2883
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2885
$as_echo_n "checking for $ac_word... " >&6; }
 
2886
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2887
  $as_echo_n "(cached) " >&6
 
2888
else
 
2889
  if test -n "$STRIP"; then
 
2890
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2891
else
 
2892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2893
for as_dir in $PATH
 
2894
do
 
2895
  IFS=$as_save_IFS
 
2896
  test -z "$as_dir" && as_dir=.
 
2897
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2898
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2899
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2900
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2901
    break 2
 
2902
  fi
 
2903
done
 
2904
  done
 
2905
IFS=$as_save_IFS
 
2906
 
 
2907
fi
 
2908
fi
 
2909
STRIP=$ac_cv_prog_STRIP
 
2910
if test -n "$STRIP"; then
 
2911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2912
$as_echo "$STRIP" >&6; }
 
2913
else
 
2914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2915
$as_echo "no" >&6; }
 
2916
fi
 
2917
 
 
2918
 
 
2919
fi
 
2920
if test -z "$ac_cv_prog_STRIP"; then
 
2921
  ac_ct_STRIP=$STRIP
 
2922
  # Extract the first word of "strip", so it can be a program name with args.
 
2923
set dummy strip; ac_word=$2
 
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2925
$as_echo_n "checking for $ac_word... " >&6; }
 
2926
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2927
  $as_echo_n "(cached) " >&6
 
2928
else
 
2929
  if test -n "$ac_ct_STRIP"; then
 
2930
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2931
else
 
2932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2933
for as_dir in $PATH
 
2934
do
 
2935
  IFS=$as_save_IFS
 
2936
  test -z "$as_dir" && as_dir=.
 
2937
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2938
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2939
    ac_cv_prog_ac_ct_STRIP="strip"
 
2940
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2941
    break 2
 
2942
  fi
 
2943
done
 
2944
  done
 
2945
IFS=$as_save_IFS
 
2946
 
 
2947
fi
 
2948
fi
 
2949
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2950
if test -n "$ac_ct_STRIP"; then
 
2951
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2952
$as_echo "$ac_ct_STRIP" >&6; }
 
2953
else
 
2954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2955
$as_echo "no" >&6; }
 
2956
fi
 
2957
 
 
2958
  if test "x$ac_ct_STRIP" = x; then
 
2959
    STRIP=":"
 
2960
  else
 
2961
    case $cross_compiling:$ac_tool_warned in
 
2962
yes:)
 
2963
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2964
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2965
ac_tool_warned=yes ;;
 
2966
esac
 
2967
    STRIP=$ac_ct_STRIP
 
2968
  fi
 
2969
else
 
2970
  STRIP="$ac_cv_prog_STRIP"
 
2971
fi
 
2972
 
 
2973
fi
 
2974
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2975
 
 
2976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2484
2977
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2485
2978
if test -z "$MKDIR_P"; then
2486
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2979
  if test "${ac_cv_path_mkdir+set}" = set; then :
2487
2980
  $as_echo_n "(cached) " >&6
2488
2981
else
2489
2982
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491
2984
do
2492
2985
  IFS=$as_save_IFS
2493
2986
  test -z "$as_dir" && as_dir=.
2494
 
  for ac_prog in mkdir gmkdir; do
 
2987
    for ac_prog in mkdir gmkdir; do
2495
2988
         for ac_exec_ext in '' $ac_executable_extensions; do
2496
2989
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2497
2990
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2503
2996
           esac
2504
2997
         done
2505
2998
       done
2506
 
done
 
2999
  done
2507
3000
IFS=$as_save_IFS
2508
3001
 
2509
3002
fi
2519
3012
    MKDIR_P="$ac_install_sh -d"
2520
3013
  fi
2521
3014
fi
2522
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2523
3016
$as_echo "$MKDIR_P" >&6; }
2524
3017
 
2525
3018
mkdir_p="$MKDIR_P"
2532
3025
do
2533
3026
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2534
3027
set dummy $ac_prog; ac_word=$2
2535
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536
3029
$as_echo_n "checking for $ac_word... " >&6; }
2537
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
3030
if test "${ac_cv_prog_AWK+set}" = set; then :
2538
3031
  $as_echo_n "(cached) " >&6
2539
3032
else
2540
3033
  if test -n "$AWK"; then
2545
3038
do
2546
3039
  IFS=$as_save_IFS
2547
3040
  test -z "$as_dir" && as_dir=.
2548
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3041
    for ac_exec_ext in '' $ac_executable_extensions; do
2549
3042
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550
3043
    ac_cv_prog_AWK="$ac_prog"
2551
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3044
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552
3045
    break 2
2553
3046
  fi
2554
3047
done
2555
 
done
 
3048
  done
2556
3049
IFS=$as_save_IFS
2557
3050
 
2558
3051
fi
2559
3052
fi
2560
3053
AWK=$ac_cv_prog_AWK
2561
3054
if test -n "$AWK"; then
2562
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
3055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2563
3056
$as_echo "$AWK" >&6; }
2564
3057
else
2565
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566
3059
$as_echo "no" >&6; }
2567
3060
fi
2568
3061
 
2570
3063
  test -n "$AWK" && break
2571
3064
done
2572
3065
 
2573
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2574
3067
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2575
3068
set x ${MAKE-make}
2576
3069
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2577
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
3070
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2578
3071
  $as_echo_n "(cached) " >&6
2579
3072
else
2580
3073
  cat >conftest.make <<\_ACEOF
2592
3085
rm -f conftest.make
2593
3086
fi
2594
3087
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2595
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2596
3089
$as_echo "yes" >&6; }
2597
3090
  SET_MAKE=
2598
3091
else
2599
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600
3093
$as_echo "no" >&6; }
2601
3094
  SET_MAKE="MAKE=${MAKE-make}"
2602
3095
fi
2616
3109
  am__isrc=' -I$(srcdir)'
2617
3110
  # test to see if srcdir already configured
2618
3111
  if test -f $srcdir/config.status; then
2619
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2620
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2621
 
   { (exit 1); exit 1; }; }
 
3112
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2622
3113
  fi
2623
3114
fi
2624
3115
 
2634
3125
 
2635
3126
# Define the identity of the package.
2636
3127
 PACKAGE='util-linux-ng'
2637
 
 VERSION='2.16.1'
 
3128
 VERSION='2.16.2'
2638
3129
 
2639
3130
 
2640
3131
cat >>confdefs.h <<_ACEOF
2662
3153
 
2663
3154
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2664
3155
 
2665
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2666
 
 
2667
 
# Installed binaries are usually stripped using `strip' when the user
2668
 
# run `make install-strip'.  However `strip' might not be the right
2669
 
# tool to use in cross-compilation environments, therefore Automake
2670
 
# will honor the `STRIP' environment variable to overrule this program.
2671
 
if test "$cross_compiling" != no; then
2672
 
  if test -n "$ac_tool_prefix"; then
2673
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2674
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2675
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2676
 
$as_echo_n "checking for $ac_word... " >&6; }
2677
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2678
 
  $as_echo_n "(cached) " >&6
2679
 
else
2680
 
  if test -n "$STRIP"; then
2681
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2682
 
else
2683
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684
 
for as_dir in $PATH
2685
 
do
2686
 
  IFS=$as_save_IFS
2687
 
  test -z "$as_dir" && as_dir=.
2688
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2689
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2691
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692
 
    break 2
2693
 
  fi
2694
 
done
2695
 
done
2696
 
IFS=$as_save_IFS
2697
 
 
2698
 
fi
2699
 
fi
2700
 
STRIP=$ac_cv_prog_STRIP
2701
 
if test -n "$STRIP"; then
2702
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2703
 
$as_echo "$STRIP" >&6; }
2704
 
else
2705
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2706
 
$as_echo "no" >&6; }
2707
 
fi
2708
 
 
2709
 
 
2710
 
fi
2711
 
if test -z "$ac_cv_prog_STRIP"; then
2712
 
  ac_ct_STRIP=$STRIP
2713
 
  # Extract the first word of "strip", so it can be a program name with args.
2714
 
set dummy strip; ac_word=$2
2715
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2716
 
$as_echo_n "checking for $ac_word... " >&6; }
2717
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2718
 
  $as_echo_n "(cached) " >&6
2719
 
else
2720
 
  if test -n "$ac_ct_STRIP"; then
2721
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2722
 
else
2723
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724
 
for as_dir in $PATH
2725
 
do
2726
 
  IFS=$as_save_IFS
2727
 
  test -z "$as_dir" && as_dir=.
2728
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2729
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2730
 
    ac_cv_prog_ac_ct_STRIP="strip"
2731
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732
 
    break 2
2733
 
  fi
2734
 
done
2735
 
done
2736
 
IFS=$as_save_IFS
2737
 
 
2738
 
fi
2739
 
fi
2740
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2741
 
if test -n "$ac_ct_STRIP"; then
2742
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2743
 
$as_echo "$ac_ct_STRIP" >&6; }
2744
 
else
2745
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2746
 
$as_echo "no" >&6; }
2747
 
fi
2748
 
 
2749
 
  if test "x$ac_ct_STRIP" = x; then
2750
 
    STRIP=":"
2751
 
  else
2752
 
    case $cross_compiling:$ac_tool_warned in
2753
 
yes:)
2754
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2755
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2756
 
ac_tool_warned=yes ;;
2757
 
esac
2758
 
    STRIP=$ac_ct_STRIP
2759
 
  fi
2760
 
else
2761
 
  STRIP="$ac_cv_prog_STRIP"
2762
 
fi
2763
 
 
2764
 
fi
2765
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2766
 
 
2767
3156
# We need awk for the "check" target.  The system "awk" is bad on
2768
3157
# some platforms.
2769
3158
# Always define AMTAR for backward compatibility.
2802
3191
# Check whether exec_prefix=/usr:
2803
3192
case $exec_prefix:$prefix in
2804
3193
NONE:NONE | NONE:/usr | /usr:*)
2805
 
  { $as_echo "$as_me:$LINENO: Default --exec-prefix detected." >&5
 
3194
  { $as_echo "$as_me:${as_lineno-$LINENO}: Default --exec-prefix detected." >&5
2806
3195
$as_echo "$as_me: Default --exec-prefix detected." >&6;}
2807
3196
  case $bindir in
2808
3197
  '${exec_prefix}/bin') bindir=/bin
2809
 
    { $as_echo "$as_me:$LINENO:   --bindir defaults to /bin" >&5
 
3198
    { $as_echo "$as_me:${as_lineno-$LINENO}:   --bindir defaults to /bin" >&5
2810
3199
$as_echo "$as_me:   --bindir defaults to /bin" >&6;} ;;
2811
3200
  esac
2812
3201
  case $sbindir in
2813
3202
  '${exec_prefix}/sbin') sbindir=/sbin
2814
 
    { $as_echo "$as_me:$LINENO:   --sbindir defaults to /sbin" >&5
 
3203
    { $as_echo "$as_me:${as_lineno-$LINENO}:   --sbindir defaults to /sbin" >&5
2815
3204
$as_echo "$as_me:   --sbindir defaults to /sbin" >&6;} ;;
2816
3205
  esac
2817
3206
  case $libdir in
2818
3207
  '${exec_prefix}/lib') libdir=/lib
2819
 
    { $as_echo "$as_me:$LINENO:   --libdir defaults to /lib" >&5
 
3208
    { $as_echo "$as_me:${as_lineno-$LINENO}:   --libdir defaults to /lib" >&5
2820
3209
$as_echo "$as_me:   --libdir defaults to /lib" >&6;} ;;
2821
3210
  esac ;;
2822
3211
esac
2843
3232
am_make=${MAKE-make}
2844
3233
cat > confinc << 'END'
2845
3234
am__doit:
2846
 
        @echo done
 
3235
        @echo this is the am__doit target
2847
3236
.PHONY: am__doit
2848
3237
END
2849
3238
# If we don't find an include directive, just comment out the code.
2850
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2851
3240
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2852
3241
am__include="#"
2853
3242
am__quote=
2854
3243
_am_result=none
2855
3244
# First try GNU make style include.
2856
3245
echo "include confinc" > confmf
2857
 
# We grep out `Entering directory' and `Leaving directory'
2858
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2859
 
# In particular we don't look at `^make:' because GNU make might
2860
 
# be invoked under some other name (usually "gmake"), in which
2861
 
# case it prints its new name instead of `make'.
2862
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2863
 
   am__include=include
2864
 
   am__quote=
2865
 
   _am_result=GNU
2866
 
fi
 
3246
# Ignore all kinds of additional output from `make'.
 
3247
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3248
*the\ am__doit\ target*)
 
3249
  am__include=include
 
3250
  am__quote=
 
3251
  _am_result=GNU
 
3252
  ;;
 
3253
esac
2867
3254
# Now try BSD make style include.
2868
3255
if test "$am__include" = "#"; then
2869
3256
   echo '.include "confinc"' > confmf
2870
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2871
 
      am__include=.include
2872
 
      am__quote="\""
2873
 
      _am_result=BSD
2874
 
   fi
 
3257
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3258
   *the\ am__doit\ target*)
 
3259
     am__include=.include
 
3260
     am__quote="\""
 
3261
     _am_result=BSD
 
3262
     ;;
 
3263
   esac
2875
3264
fi
2876
3265
 
2877
3266
 
2878
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2879
3268
$as_echo "$_am_result" >&6; }
2880
3269
rm -f confinc confmf
2881
3270
 
2882
3271
# Check whether --enable-dependency-tracking was given.
2883
 
if test "${enable_dependency_tracking+set}" = set; then
 
3272
if test "${enable_dependency_tracking+set}" = set; then :
2884
3273
  enableval=$enable_dependency_tracking;
2885
3274
fi
2886
3275
 
2905
3294
if test -n "$ac_tool_prefix"; then
2906
3295
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2907
3296
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2908
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909
3298
$as_echo_n "checking for $ac_word... " >&6; }
2910
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3299
if test "${ac_cv_prog_CC+set}" = set; then :
2911
3300
  $as_echo_n "(cached) " >&6
2912
3301
else
2913
3302
  if test -n "$CC"; then
2918
3307
do
2919
3308
  IFS=$as_save_IFS
2920
3309
  test -z "$as_dir" && as_dir=.
2921
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3310
    for ac_exec_ext in '' $ac_executable_extensions; do
2922
3311
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923
3312
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2924
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3313
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925
3314
    break 2
2926
3315
  fi
2927
3316
done
2928
 
done
 
3317
  done
2929
3318
IFS=$as_save_IFS
2930
3319
 
2931
3320
fi
2932
3321
fi
2933
3322
CC=$ac_cv_prog_CC
2934
3323
if test -n "$CC"; then
2935
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2936
3325
$as_echo "$CC" >&6; }
2937
3326
else
2938
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939
3328
$as_echo "no" >&6; }
2940
3329
fi
2941
3330
 
2945
3334
  ac_ct_CC=$CC
2946
3335
  # Extract the first word of "gcc", so it can be a program name with args.
2947
3336
set dummy gcc; ac_word=$2
2948
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949
3338
$as_echo_n "checking for $ac_word... " >&6; }
2950
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3339
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2951
3340
  $as_echo_n "(cached) " >&6
2952
3341
else
2953
3342
  if test -n "$ac_ct_CC"; then
2958
3347
do
2959
3348
  IFS=$as_save_IFS
2960
3349
  test -z "$as_dir" && as_dir=.
2961
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3350
    for ac_exec_ext in '' $ac_executable_extensions; do
2962
3351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2963
3352
    ac_cv_prog_ac_ct_CC="gcc"
2964
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3353
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965
3354
    break 2
2966
3355
  fi
2967
3356
done
2968
 
done
 
3357
  done
2969
3358
IFS=$as_save_IFS
2970
3359
 
2971
3360
fi
2972
3361
fi
2973
3362
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2974
3363
if test -n "$ac_ct_CC"; then
2975
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2976
3365
$as_echo "$ac_ct_CC" >&6; }
2977
3366
else
2978
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979
3368
$as_echo "no" >&6; }
2980
3369
fi
2981
3370
 
2984
3373
  else
2985
3374
    case $cross_compiling:$ac_tool_warned in
2986
3375
yes:)
2987
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2988
3377
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2989
3378
ac_tool_warned=yes ;;
2990
3379
esac
2998
3387
          if test -n "$ac_tool_prefix"; then
2999
3388
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3000
3389
set dummy ${ac_tool_prefix}cc; ac_word=$2
3001
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002
3391
$as_echo_n "checking for $ac_word... " >&6; }
3003
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3392
if test "${ac_cv_prog_CC+set}" = set; then :
3004
3393
  $as_echo_n "(cached) " >&6
3005
3394
else
3006
3395
  if test -n "$CC"; then
3011
3400
do
3012
3401
  IFS=$as_save_IFS
3013
3402
  test -z "$as_dir" && as_dir=.
3014
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3403
    for ac_exec_ext in '' $ac_executable_extensions; do
3015
3404
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016
3405
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3017
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3406
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018
3407
    break 2
3019
3408
  fi
3020
3409
done
3021
 
done
 
3410
  done
3022
3411
IFS=$as_save_IFS
3023
3412
 
3024
3413
fi
3025
3414
fi
3026
3415
CC=$ac_cv_prog_CC
3027
3416
if test -n "$CC"; then
3028
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3029
3418
$as_echo "$CC" >&6; }
3030
3419
else
3031
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3420
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032
3421
$as_echo "no" >&6; }
3033
3422
fi
3034
3423
 
3038
3427
if test -z "$CC"; then
3039
3428
  # Extract the first word of "cc", so it can be a program name with args.
3040
3429
set dummy cc; ac_word=$2
3041
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042
3431
$as_echo_n "checking for $ac_word... " >&6; }
3043
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3432
if test "${ac_cv_prog_CC+set}" = set; then :
3044
3433
  $as_echo_n "(cached) " >&6
3045
3434
else
3046
3435
  if test -n "$CC"; then
3052
3441
do
3053
3442
  IFS=$as_save_IFS
3054
3443
  test -z "$as_dir" && as_dir=.
3055
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3444
    for ac_exec_ext in '' $ac_executable_extensions; do
3056
3445
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057
3446
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3058
3447
       ac_prog_rejected=yes
3059
3448
       continue
3060
3449
     fi
3061
3450
    ac_cv_prog_CC="cc"
3062
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3451
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063
3452
    break 2
3064
3453
  fi
3065
3454
done
3066
 
done
 
3455
  done
3067
3456
IFS=$as_save_IFS
3068
3457
 
3069
3458
if test $ac_prog_rejected = yes; then
3082
3471
fi
3083
3472
CC=$ac_cv_prog_CC
3084
3473
if test -n "$CC"; then
3085
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3086
3475
$as_echo "$CC" >&6; }
3087
3476
else
3088
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089
3478
$as_echo "no" >&6; }
3090
3479
fi
3091
3480
 
3097
3486
  do
3098
3487
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3099
3488
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3100
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101
3490
$as_echo_n "checking for $ac_word... " >&6; }
3102
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3491
if test "${ac_cv_prog_CC+set}" = set; then :
3103
3492
  $as_echo_n "(cached) " >&6
3104
3493
else
3105
3494
  if test -n "$CC"; then
3110
3499
do
3111
3500
  IFS=$as_save_IFS
3112
3501
  test -z "$as_dir" && as_dir=.
3113
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3502
    for ac_exec_ext in '' $ac_executable_extensions; do
3114
3503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115
3504
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3116
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3505
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117
3506
    break 2
3118
3507
  fi
3119
3508
done
3120
 
done
 
3509
  done
3121
3510
IFS=$as_save_IFS
3122
3511
 
3123
3512
fi
3124
3513
fi
3125
3514
CC=$ac_cv_prog_CC
3126
3515
if test -n "$CC"; then
3127
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3128
3517
$as_echo "$CC" >&6; }
3129
3518
else
3130
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3519
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131
3520
$as_echo "no" >&6; }
3132
3521
fi
3133
3522
 
3141
3530
do
3142
3531
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3143
3532
set dummy $ac_prog; ac_word=$2
3144
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145
3534
$as_echo_n "checking for $ac_word... " >&6; }
3146
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3535
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3147
3536
  $as_echo_n "(cached) " >&6
3148
3537
else
3149
3538
  if test -n "$ac_ct_CC"; then
3154
3543
do
3155
3544
  IFS=$as_save_IFS
3156
3545
  test -z "$as_dir" && as_dir=.
3157
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3546
    for ac_exec_ext in '' $ac_executable_extensions; do
3158
3547
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159
3548
    ac_cv_prog_ac_ct_CC="$ac_prog"
3160
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3549
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161
3550
    break 2
3162
3551
  fi
3163
3552
done
3164
 
done
 
3553
  done
3165
3554
IFS=$as_save_IFS
3166
3555
 
3167
3556
fi
3168
3557
fi
3169
3558
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3170
3559
if test -n "$ac_ct_CC"; then
3171
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3172
3561
$as_echo "$ac_ct_CC" >&6; }
3173
3562
else
3174
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3563
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175
3564
$as_echo "no" >&6; }
3176
3565
fi
3177
3566
 
3184
3573
  else
3185
3574
    case $cross_compiling:$ac_tool_warned in
3186
3575
yes:)
3187
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3576
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188
3577
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189
3578
ac_tool_warned=yes ;;
3190
3579
esac
3195
3584
fi
3196
3585
 
3197
3586
 
3198
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3587
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199
3588
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3201
 
See \`config.log' for more details." >&5
3202
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3203
 
See \`config.log' for more details." >&2;}
3204
 
   { (exit 1); exit 1; }; }; }
 
3589
as_fn_error "no acceptable C compiler found in \$PATH
 
3590
See \`config.log' for more details." "$LINENO" 5; }
3205
3591
 
3206
3592
# Provide some information about the compiler.
3207
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3593
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3208
3594
set X $ac_compile
3209
3595
ac_compiler=$2
3210
 
{ (ac_try="$ac_compiler --version >&5"
3211
 
case "(($ac_try" in
3212
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213
 
  *) ac_try_echo=$ac_try;;
3214
 
esac
3215
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3216
 
$as_echo "$ac_try_echo") >&5
3217
 
  (eval "$ac_compiler --version >&5") 2>&5
3218
 
  ac_status=$?
3219
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220
 
  (exit $ac_status); }
3221
 
{ (ac_try="$ac_compiler -v >&5"
3222
 
case "(($ac_try" in
3223
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224
 
  *) ac_try_echo=$ac_try;;
3225
 
esac
3226
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3227
 
$as_echo "$ac_try_echo") >&5
3228
 
  (eval "$ac_compiler -v >&5") 2>&5
3229
 
  ac_status=$?
3230
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
 
  (exit $ac_status); }
3232
 
{ (ac_try="$ac_compiler -V >&5"
3233
 
case "(($ac_try" in
3234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235
 
  *) ac_try_echo=$ac_try;;
3236
 
esac
3237
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3238
 
$as_echo "$ac_try_echo") >&5
3239
 
  (eval "$ac_compiler -V >&5") 2>&5
3240
 
  ac_status=$?
3241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242
 
  (exit $ac_status); }
 
3596
for ac_option in --version -v -V -qversion; do
 
3597
  { { ac_try="$ac_compiler $ac_option >&5"
 
3598
case "(($ac_try" in
 
3599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3600
  *) ac_try_echo=$ac_try;;
 
3601
esac
 
3602
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3603
$as_echo "$ac_try_echo"; } >&5
 
3604
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3605
  ac_status=$?
 
3606
  if test -s conftest.err; then
 
3607
    sed '10a\
 
3608
... rest of stderr output deleted ...
 
3609
         10q' conftest.err >conftest.er1
 
3610
    cat conftest.er1 >&5
 
3611
    rm -f conftest.er1 conftest.err
 
3612
  fi
 
3613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3614
  test $ac_status = 0; }
 
3615
done
3243
3616
 
3244
 
cat >conftest.$ac_ext <<_ACEOF
3245
 
/* confdefs.h.  */
3246
 
_ACEOF
3247
 
cat confdefs.h >>conftest.$ac_ext
3248
 
cat >>conftest.$ac_ext <<_ACEOF
 
3617
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249
3618
/* end confdefs.h.  */
3250
 
 
 
3619
#include <stdio.h>
3251
3620
int
3252
3621
main ()
3253
3622
{
 
3623
FILE *f = fopen ("conftest.out", "w");
 
3624
 return ferror (f) || fclose (f) != 0;
3254
3625
 
3255
3626
  ;
3256
3627
  return 0;
3257
3628
}
3258
3629
_ACEOF
3259
3630
ac_clean_files_save=$ac_clean_files
3260
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3631
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3261
3632
# Try to create an executable without -o first, disregard a.out.
3262
3633
# It will help us diagnose broken compilers, and finding out an intuition
3263
3634
# of exeext.
3264
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3265
3636
$as_echo_n "checking for C compiler default output file name... " >&6; }
3266
3637
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3267
3638
 
3278
3649
done
3279
3650
rm -f $ac_rmfiles
3280
3651
 
3281
 
if { (ac_try="$ac_link_default"
 
3652
if { { ac_try="$ac_link_default"
3282
3653
case "(($ac_try" in
3283
3654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284
3655
  *) ac_try_echo=$ac_try;;
3285
3656
esac
3286
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3287
 
$as_echo "$ac_try_echo") >&5
 
3657
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3658
$as_echo "$ac_try_echo"; } >&5
3288
3659
  (eval "$ac_link_default") 2>&5
3289
3660
  ac_status=$?
3290
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291
 
  (exit $ac_status); }; then
 
3661
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3662
  test $ac_status = 0; }; then :
3292
3663
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3293
3664
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3294
3665
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3305
3676
        # certainly right.
3306
3677
        break;;
3307
3678
    *.* )
3308
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3679
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3309
3680
        then :; else
3310
3681
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311
3682
        fi
3324
3695
else
3325
3696
  ac_file=''
3326
3697
fi
3327
 
 
3328
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3329
3699
$as_echo "$ac_file" >&6; }
3330
 
if test -z "$ac_file"; then
 
3700
if test -z "$ac_file"; then :
3331
3701
  $as_echo "$as_me: failed program was:" >&5
3332
3702
sed 's/^/| /' conftest.$ac_ext >&5
3333
3703
 
3334
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3704
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3335
3705
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3337
 
See \`config.log' for more details." >&5
3338
 
$as_echo "$as_me: error: C compiler cannot create executables
3339
 
See \`config.log' for more details." >&2;}
3340
 
   { (exit 77); exit 77; }; }; }
 
3706
{ as_fn_set_status 77
 
3707
as_fn_error "C compiler cannot create executables
 
3708
See \`config.log' for more details." "$LINENO" 5; }; }
3341
3709
fi
3342
 
 
3343
3710
ac_exeext=$ac_cv_exeext
3344
3711
 
3345
3712
# Check that the compiler produces executables we can run.  If not, either
3346
3713
# the compiler is broken, or we cross compile.
3347
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3348
3715
$as_echo_n "checking whether the C compiler works... " >&6; }
3349
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3350
3716
# If not cross compiling, check that we can run a simple program.
3351
3717
if test "$cross_compiling" != yes; then
3352
3718
  if { ac_try='./$ac_file'
3353
 
  { (case "(($ac_try" in
 
3719
  { { case "(($ac_try" in
3354
3720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355
3721
  *) ac_try_echo=$ac_try;;
3356
3722
esac
3357
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3358
 
$as_echo "$ac_try_echo") >&5
 
3723
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3724
$as_echo "$ac_try_echo"; } >&5
3359
3725
  (eval "$ac_try") 2>&5
3360
3726
  ac_status=$?
3361
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362
 
  (exit $ac_status); }; }; then
 
3727
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3728
  test $ac_status = 0; }; }; then
3363
3729
    cross_compiling=no
3364
3730
  else
3365
3731
    if test "$cross_compiling" = maybe; then
3366
3732
        cross_compiling=yes
3367
3733
    else
3368
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3734
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369
3735
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3371
 
If you meant to cross compile, use \`--host'.
3372
 
See \`config.log' for more details." >&5
3373
 
$as_echo "$as_me: error: cannot run C compiled programs.
3374
 
If you meant to cross compile, use \`--host'.
3375
 
See \`config.log' for more details." >&2;}
3376
 
   { (exit 1); exit 1; }; }; }
 
3736
as_fn_error "cannot run C compiled programs.
 
3737
If you meant to cross compile, use \`--host'.
 
3738
See \`config.log' for more details." "$LINENO" 5; }
3377
3739
    fi
3378
3740
  fi
3379
3741
fi
3380
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381
3743
$as_echo "yes" >&6; }
3382
3744
 
3383
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3745
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3384
3746
ac_clean_files=$ac_clean_files_save
3385
3747
# Check that the compiler produces executables we can run.  If not, either
3386
3748
# the compiler is broken, or we cross compile.
3387
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3388
3750
$as_echo_n "checking whether we are cross compiling... " >&6; }
3389
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3390
3752
$as_echo "$cross_compiling" >&6; }
3391
3753
 
3392
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3393
3755
$as_echo_n "checking for suffix of executables... " >&6; }
3394
 
if { (ac_try="$ac_link"
 
3756
if { { ac_try="$ac_link"
3395
3757
case "(($ac_try" in
3396
3758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397
3759
  *) ac_try_echo=$ac_try;;
3398
3760
esac
3399
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3400
 
$as_echo "$ac_try_echo") >&5
 
3761
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3762
$as_echo "$ac_try_echo"; } >&5
3401
3763
  (eval "$ac_link") 2>&5
3402
3764
  ac_status=$?
3403
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404
 
  (exit $ac_status); }; then
 
3765
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3766
  test $ac_status = 0; }; then :
3405
3767
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3406
3768
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3407
3769
# work properly (i.e., refer to `conftest.exe'), while it won't with
3416
3778
  esac
3417
3779
done
3418
3780
else
3419
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3781
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420
3782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3422
 
See \`config.log' for more details." >&5
3423
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3424
 
See \`config.log' for more details." >&2;}
3425
 
   { (exit 1); exit 1; }; }; }
 
3783
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3784
See \`config.log' for more details." "$LINENO" 5; }
3426
3785
fi
3427
 
 
3428
3786
rm -f conftest$ac_cv_exeext
3429
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3430
3788
$as_echo "$ac_cv_exeext" >&6; }
3431
3789
 
3432
3790
rm -f conftest.$ac_ext
3433
3791
EXEEXT=$ac_cv_exeext
3434
3792
ac_exeext=$EXEEXT
3435
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3436
3794
$as_echo_n "checking for suffix of object files... " >&6; }
3437
 
if test "${ac_cv_objext+set}" = set; then
 
3795
if test "${ac_cv_objext+set}" = set; then :
3438
3796
  $as_echo_n "(cached) " >&6
3439
3797
else
3440
 
  cat >conftest.$ac_ext <<_ACEOF
3441
 
/* confdefs.h.  */
3442
 
_ACEOF
3443
 
cat confdefs.h >>conftest.$ac_ext
3444
 
cat >>conftest.$ac_ext <<_ACEOF
 
3798
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445
3799
/* end confdefs.h.  */
3446
3800
 
3447
3801
int
3453
3807
}
3454
3808
_ACEOF
3455
3809
rm -f conftest.o conftest.obj
3456
 
if { (ac_try="$ac_compile"
 
3810
if { { ac_try="$ac_compile"
3457
3811
case "(($ac_try" in
3458
3812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459
3813
  *) ac_try_echo=$ac_try;;
3460
3814
esac
3461
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3462
 
$as_echo "$ac_try_echo") >&5
 
3815
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3816
$as_echo "$ac_try_echo"; } >&5
3463
3817
  (eval "$ac_compile") 2>&5
3464
3818
  ac_status=$?
3465
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466
 
  (exit $ac_status); }; then
 
3819
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3820
  test $ac_status = 0; }; then :
3467
3821
  for ac_file in conftest.o conftest.obj conftest.*; do
3468
3822
  test -f "$ac_file" || continue;
3469
3823
  case $ac_file in
3476
3830
  $as_echo "$as_me: failed program was:" >&5
3477
3831
sed 's/^/| /' conftest.$ac_ext >&5
3478
3832
 
3479
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3833
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480
3834
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3482
 
See \`config.log' for more details." >&5
3483
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3484
 
See \`config.log' for more details." >&2;}
3485
 
   { (exit 1); exit 1; }; }; }
 
3835
as_fn_error "cannot compute suffix of object files: cannot compile
 
3836
See \`config.log' for more details." "$LINENO" 5; }
3486
3837
fi
3487
 
 
3488
3838
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3489
3839
fi
3490
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3491
3841
$as_echo "$ac_cv_objext" >&6; }
3492
3842
OBJEXT=$ac_cv_objext
3493
3843
ac_objext=$OBJEXT
3494
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3495
3845
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3496
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3846
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3497
3847
  $as_echo_n "(cached) " >&6
3498
3848
else
3499
 
  cat >conftest.$ac_ext <<_ACEOF
3500
 
/* confdefs.h.  */
3501
 
_ACEOF
3502
 
cat confdefs.h >>conftest.$ac_ext
3503
 
cat >>conftest.$ac_ext <<_ACEOF
 
3849
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504
3850
/* end confdefs.h.  */
3505
3851
 
3506
3852
int
3514
3860
  return 0;
3515
3861
}
3516
3862
_ACEOF
3517
 
rm -f conftest.$ac_objext
3518
 
if { (ac_try="$ac_compile"
3519
 
case "(($ac_try" in
3520
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521
 
  *) ac_try_echo=$ac_try;;
3522
 
esac
3523
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3524
 
$as_echo "$ac_try_echo") >&5
3525
 
  (eval "$ac_compile") 2>conftest.er1
3526
 
  ac_status=$?
3527
 
  grep -v '^ *+' conftest.er1 >conftest.err
3528
 
  rm -f conftest.er1
3529
 
  cat conftest.err >&5
3530
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531
 
  (exit $ac_status); } && {
3532
 
         test -z "$ac_c_werror_flag" ||
3533
 
         test ! -s conftest.err
3534
 
       } && test -s conftest.$ac_objext; then
 
3863
if ac_fn_c_try_compile "$LINENO"; then :
3535
3864
  ac_compiler_gnu=yes
3536
3865
else
3537
 
  $as_echo "$as_me: failed program was:" >&5
3538
 
sed 's/^/| /' conftest.$ac_ext >&5
3539
 
 
3540
 
        ac_compiler_gnu=no
 
3866
  ac_compiler_gnu=no
3541
3867
fi
3542
 
 
3543
3868
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544
3869
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3545
3870
 
3546
3871
fi
3547
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3548
3873
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3549
3874
if test $ac_compiler_gnu = yes; then
3550
3875
  GCC=yes
3553
3878
fi
3554
3879
ac_test_CFLAGS=${CFLAGS+set}
3555
3880
ac_save_CFLAGS=$CFLAGS
3556
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3557
3882
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3558
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3883
if test "${ac_cv_prog_cc_g+set}" = set; then :
3559
3884
  $as_echo_n "(cached) " >&6
3560
3885
else
3561
3886
  ac_save_c_werror_flag=$ac_c_werror_flag
3562
3887
   ac_c_werror_flag=yes
3563
3888
   ac_cv_prog_cc_g=no
3564
3889
   CFLAGS="-g"
3565
 
   cat >conftest.$ac_ext <<_ACEOF
3566
 
/* confdefs.h.  */
3567
 
_ACEOF
3568
 
cat confdefs.h >>conftest.$ac_ext
3569
 
cat >>conftest.$ac_ext <<_ACEOF
 
3890
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570
3891
/* end confdefs.h.  */
3571
3892
 
3572
3893
int
3577
3898
  return 0;
3578
3899
}
3579
3900
_ACEOF
3580
 
rm -f conftest.$ac_objext
3581
 
if { (ac_try="$ac_compile"
3582
 
case "(($ac_try" in
3583
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584
 
  *) ac_try_echo=$ac_try;;
3585
 
esac
3586
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3587
 
$as_echo "$ac_try_echo") >&5
3588
 
  (eval "$ac_compile") 2>conftest.er1
3589
 
  ac_status=$?
3590
 
  grep -v '^ *+' conftest.er1 >conftest.err
3591
 
  rm -f conftest.er1
3592
 
  cat conftest.err >&5
3593
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594
 
  (exit $ac_status); } && {
3595
 
         test -z "$ac_c_werror_flag" ||
3596
 
         test ! -s conftest.err
3597
 
       } && test -s conftest.$ac_objext; then
 
3901
if ac_fn_c_try_compile "$LINENO"; then :
3598
3902
  ac_cv_prog_cc_g=yes
3599
3903
else
3600
 
  $as_echo "$as_me: failed program was:" >&5
3601
 
sed 's/^/| /' conftest.$ac_ext >&5
3602
 
 
3603
 
        CFLAGS=""
3604
 
      cat >conftest.$ac_ext <<_ACEOF
3605
 
/* confdefs.h.  */
3606
 
_ACEOF
3607
 
cat confdefs.h >>conftest.$ac_ext
3608
 
cat >>conftest.$ac_ext <<_ACEOF
 
3904
  CFLAGS=""
 
3905
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609
3906
/* end confdefs.h.  */
3610
3907
 
3611
3908
int
3616
3913
  return 0;
3617
3914
}
3618
3915
_ACEOF
3619
 
rm -f conftest.$ac_objext
3620
 
if { (ac_try="$ac_compile"
3621
 
case "(($ac_try" in
3622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623
 
  *) ac_try_echo=$ac_try;;
3624
 
esac
3625
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3626
 
$as_echo "$ac_try_echo") >&5
3627
 
  (eval "$ac_compile") 2>conftest.er1
3628
 
  ac_status=$?
3629
 
  grep -v '^ *+' conftest.er1 >conftest.err
3630
 
  rm -f conftest.er1
3631
 
  cat conftest.err >&5
3632
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633
 
  (exit $ac_status); } && {
3634
 
         test -z "$ac_c_werror_flag" ||
3635
 
         test ! -s conftest.err
3636
 
       } && test -s conftest.$ac_objext; then
3637
 
  :
 
3916
if ac_fn_c_try_compile "$LINENO"; then :
 
3917
 
3638
3918
else
3639
 
  $as_echo "$as_me: failed program was:" >&5
3640
 
sed 's/^/| /' conftest.$ac_ext >&5
3641
 
 
3642
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3919
  ac_c_werror_flag=$ac_save_c_werror_flag
3643
3920
         CFLAGS="-g"
3644
 
         cat >conftest.$ac_ext <<_ACEOF
3645
 
/* confdefs.h.  */
3646
 
_ACEOF
3647
 
cat confdefs.h >>conftest.$ac_ext
3648
 
cat >>conftest.$ac_ext <<_ACEOF
 
3921
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649
3922
/* end confdefs.h.  */
3650
3923
 
3651
3924
int
3656
3929
  return 0;
3657
3930
}
3658
3931
_ACEOF
3659
 
rm -f conftest.$ac_objext
3660
 
if { (ac_try="$ac_compile"
3661
 
case "(($ac_try" in
3662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663
 
  *) ac_try_echo=$ac_try;;
3664
 
esac
3665
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3666
 
$as_echo "$ac_try_echo") >&5
3667
 
  (eval "$ac_compile") 2>conftest.er1
3668
 
  ac_status=$?
3669
 
  grep -v '^ *+' conftest.er1 >conftest.err
3670
 
  rm -f conftest.er1
3671
 
  cat conftest.err >&5
3672
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673
 
  (exit $ac_status); } && {
3674
 
         test -z "$ac_c_werror_flag" ||
3675
 
         test ! -s conftest.err
3676
 
       } && test -s conftest.$ac_objext; then
 
3932
if ac_fn_c_try_compile "$LINENO"; then :
3677
3933
  ac_cv_prog_cc_g=yes
3678
 
else
3679
 
  $as_echo "$as_me: failed program was:" >&5
3680
 
sed 's/^/| /' conftest.$ac_ext >&5
3681
 
 
3682
 
 
3683
 
fi
3684
 
 
3685
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686
 
fi
3687
 
 
3688
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689
 
fi
3690
 
 
 
3934
fi
 
3935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3936
fi
 
3937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3938
fi
3691
3939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692
3940
   ac_c_werror_flag=$ac_save_c_werror_flag
3693
3941
fi
3694
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3695
3943
$as_echo "$ac_cv_prog_cc_g" >&6; }
3696
3944
if test "$ac_test_CFLAGS" = set; then
3697
3945
  CFLAGS=$ac_save_CFLAGS
3708
3956
    CFLAGS=
3709
3957
  fi
3710
3958
fi
3711
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3712
3960
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3713
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3961
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3714
3962
  $as_echo_n "(cached) " >&6
3715
3963
else
3716
3964
  ac_cv_prog_cc_c89=no
3717
3965
ac_save_CC=$CC
3718
 
cat >conftest.$ac_ext <<_ACEOF
3719
 
/* confdefs.h.  */
3720
 
_ACEOF
3721
 
cat confdefs.h >>conftest.$ac_ext
3722
 
cat >>conftest.$ac_ext <<_ACEOF
 
3966
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723
3967
/* end confdefs.h.  */
3724
3968
#include <stdarg.h>
3725
3969
#include <stdio.h>
3776
4020
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3777
4021
do
3778
4022
  CC="$ac_save_CC $ac_arg"
3779
 
  rm -f conftest.$ac_objext
3780
 
if { (ac_try="$ac_compile"
3781
 
case "(($ac_try" in
3782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783
 
  *) ac_try_echo=$ac_try;;
3784
 
esac
3785
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3786
 
$as_echo "$ac_try_echo") >&5
3787
 
  (eval "$ac_compile") 2>conftest.er1
3788
 
  ac_status=$?
3789
 
  grep -v '^ *+' conftest.er1 >conftest.err
3790
 
  rm -f conftest.er1
3791
 
  cat conftest.err >&5
3792
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793
 
  (exit $ac_status); } && {
3794
 
         test -z "$ac_c_werror_flag" ||
3795
 
         test ! -s conftest.err
3796
 
       } && test -s conftest.$ac_objext; then
 
4023
  if ac_fn_c_try_compile "$LINENO"; then :
3797
4024
  ac_cv_prog_cc_c89=$ac_arg
3798
 
else
3799
 
  $as_echo "$as_me: failed program was:" >&5
3800
 
sed 's/^/| /' conftest.$ac_ext >&5
3801
 
 
3802
 
 
3803
4025
fi
3804
 
 
3805
4026
rm -f core conftest.err conftest.$ac_objext
3806
4027
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3807
4028
done
3812
4033
# AC_CACHE_VAL
3813
4034
case "x$ac_cv_prog_cc_c89" in
3814
4035
  x)
3815
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4036
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3816
4037
$as_echo "none needed" >&6; } ;;
3817
4038
  xno)
3818
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4039
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3819
4040
$as_echo "unsupported" >&6; } ;;
3820
4041
  *)
3821
4042
    CC="$CC $ac_cv_prog_cc_c89"
3822
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4043
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3823
4044
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3824
4045
esac
 
4046
if test "x$ac_cv_prog_cc_c89" != xno; then :
3825
4047
 
 
4048
fi
3826
4049
 
3827
4050
ac_ext=c
3828
4051
ac_cpp='$CPP $CPPFLAGS'
3832
4055
 
3833
4056
depcc="$CC"   am_compiler_list=
3834
4057
 
3835
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3836
4059
$as_echo_n "checking dependency style of $depcc... " >&6; }
3837
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4060
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3838
4061
  $as_echo_n "(cached) " >&6
3839
4062
else
3840
4063
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3860
4083
  if test "$am_compiler_list" = ""; then
3861
4084
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3862
4085
  fi
 
4086
  am__universal=false
 
4087
  case " $depcc " in #(
 
4088
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4089
     esac
 
4090
 
3863
4091
  for depmode in $am_compiler_list; do
3864
4092
    # Setup a source with many dependencies, because some compilers
3865
4093
    # like to wrap large dependency lists on column 80 (with \), and
3877
4105
    done
3878
4106
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3879
4107
 
 
4108
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4109
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4110
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4111
    # versions had trouble with output in subdirs
 
4112
    am__obj=sub/conftest.${OBJEXT-o}
 
4113
    am__minus_obj="-o $am__obj"
3880
4114
    case $depmode in
 
4115
    gcc)
 
4116
      # This depmode causes a compiler race in universal mode.
 
4117
      test "$am__universal" = false || continue
 
4118
      ;;
3881
4119
    nosideeffect)
3882
4120
      # after this tag, mechanisms are not by side-effect, so they'll
3883
4121
      # only be used when explicitly requested
3887
4125
        break
3888
4126
      fi
3889
4127
      ;;
 
4128
    msvisualcpp | msvcmsys)
 
4129
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4130
      # not run yet.  These depmodes are late enough in the game, and
 
4131
      # so weak that their functioning should not be impacted.
 
4132
      am__obj=conftest.${OBJEXT-o}
 
4133
      am__minus_obj=
 
4134
      ;;
3890
4135
    none) break ;;
3891
4136
    esac
3892
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3893
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3894
 
    # handle `-M -o', and we need to detect this.
3895
4137
    if depmode=$depmode \
3896
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4138
       source=sub/conftest.c object=$am__obj \
3897
4139
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3898
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4140
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3899
4141
         >/dev/null 2>conftest.err &&
3900
4142
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3901
4143
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3902
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4144
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3903
4145
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3904
4146
      # icc doesn't choke on unknown options, it will just issue warnings
3905
4147
      # or remarks (even with -Werror).  So we grep stderr for any message
3923
4165
fi
3924
4166
 
3925
4167
fi
3926
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3927
4169
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3928
4170
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3929
4171
 
3938
4180
fi
3939
4181
 
3940
4182
 
3941
 
   case $ac_cv_prog_cc_stdc in
3942
 
  no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3943
 
  *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
4183
   case $ac_cv_prog_cc_stdc in #(
 
4184
  no) :
 
4185
    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
 
4186
  *) :
 
4187
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3944
4188
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3945
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
4189
if test "${ac_cv_prog_cc_c99+set}" = set; then :
3946
4190
  $as_echo_n "(cached) " >&6
3947
4191
else
3948
4192
  ac_cv_prog_cc_c99=no
3949
4193
ac_save_CC=$CC
3950
 
cat >conftest.$ac_ext <<_ACEOF
3951
 
/* confdefs.h.  */
3952
 
_ACEOF
3953
 
cat confdefs.h >>conftest.$ac_ext
3954
 
cat >>conftest.$ac_ext <<_ACEOF
 
4194
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955
4195
/* end confdefs.h.  */
3956
4196
#include <stdarg.h>
3957
4197
#include <stdbool.h>
4093
4333
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4094
4334
do
4095
4335
  CC="$ac_save_CC $ac_arg"
4096
 
  rm -f conftest.$ac_objext
4097
 
if { (ac_try="$ac_compile"
4098
 
case "(($ac_try" in
4099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100
 
  *) ac_try_echo=$ac_try;;
4101
 
esac
4102
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4103
 
$as_echo "$ac_try_echo") >&5
4104
 
  (eval "$ac_compile") 2>conftest.er1
4105
 
  ac_status=$?
4106
 
  grep -v '^ *+' conftest.er1 >conftest.err
4107
 
  rm -f conftest.er1
4108
 
  cat conftest.err >&5
4109
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110
 
  (exit $ac_status); } && {
4111
 
         test -z "$ac_c_werror_flag" ||
4112
 
         test ! -s conftest.err
4113
 
       } && test -s conftest.$ac_objext; then
 
4336
  if ac_fn_c_try_compile "$LINENO"; then :
4114
4337
  ac_cv_prog_cc_c99=$ac_arg
4115
 
else
4116
 
  $as_echo "$as_me: failed program was:" >&5
4117
 
sed 's/^/| /' conftest.$ac_ext >&5
4118
 
 
4119
 
 
4120
4338
fi
4121
 
 
4122
4339
rm -f core conftest.err conftest.$ac_objext
4123
4340
  test "x$ac_cv_prog_cc_c99" != "xno" && break
4124
4341
done
4129
4346
# AC_CACHE_VAL
4130
4347
case "x$ac_cv_prog_cc_c99" in
4131
4348
  x)
4132
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4349
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4133
4350
$as_echo "none needed" >&6; } ;;
4134
4351
  xno)
4135
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4352
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4136
4353
$as_echo "unsupported" >&6; } ;;
4137
4354
  *)
4138
4355
    CC="$CC $ac_cv_prog_cc_c99"
4139
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
4356
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4140
4357
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4141
4358
esac
4142
 
if test "x$ac_cv_prog_cc_c99" != xno; then
 
4359
if test "x$ac_cv_prog_cc_c99" != xno; then :
4143
4360
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4144
4361
else
4145
 
  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4362
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4146
4363
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4147
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4364
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4148
4365
  $as_echo_n "(cached) " >&6
4149
4366
else
4150
4367
  ac_cv_prog_cc_c89=no
4151
4368
ac_save_CC=$CC
4152
 
cat >conftest.$ac_ext <<_ACEOF
4153
 
/* confdefs.h.  */
4154
 
_ACEOF
4155
 
cat confdefs.h >>conftest.$ac_ext
4156
 
cat >>conftest.$ac_ext <<_ACEOF
 
4369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157
4370
/* end confdefs.h.  */
4158
4371
#include <stdarg.h>
4159
4372
#include <stdio.h>
4210
4423
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4211
4424
do
4212
4425
  CC="$ac_save_CC $ac_arg"
4213
 
  rm -f conftest.$ac_objext
4214
 
if { (ac_try="$ac_compile"
4215
 
case "(($ac_try" in
4216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4217
 
  *) ac_try_echo=$ac_try;;
4218
 
esac
4219
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4220
 
$as_echo "$ac_try_echo") >&5
4221
 
  (eval "$ac_compile") 2>conftest.er1
4222
 
  ac_status=$?
4223
 
  grep -v '^ *+' conftest.er1 >conftest.err
4224
 
  rm -f conftest.er1
4225
 
  cat conftest.err >&5
4226
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227
 
  (exit $ac_status); } && {
4228
 
         test -z "$ac_c_werror_flag" ||
4229
 
         test ! -s conftest.err
4230
 
       } && test -s conftest.$ac_objext; then
 
4426
  if ac_fn_c_try_compile "$LINENO"; then :
4231
4427
  ac_cv_prog_cc_c89=$ac_arg
4232
 
else
4233
 
  $as_echo "$as_me: failed program was:" >&5
4234
 
sed 's/^/| /' conftest.$ac_ext >&5
4235
 
 
4236
 
 
4237
4428
fi
4238
 
 
4239
4429
rm -f core conftest.err conftest.$ac_objext
4240
4430
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4241
4431
done
4246
4436
# AC_CACHE_VAL
4247
4437
case "x$ac_cv_prog_cc_c89" in
4248
4438
  x)
4249
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4439
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4250
4440
$as_echo "none needed" >&6; } ;;
4251
4441
  xno)
4252
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4442
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4253
4443
$as_echo "unsupported" >&6; } ;;
4254
4444
  *)
4255
4445
    CC="$CC $ac_cv_prog_cc_c89"
4256
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4446
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4257
4447
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4258
4448
esac
4259
 
if test "x$ac_cv_prog_cc_c89" != xno; then
 
4449
if test "x$ac_cv_prog_cc_c89" != xno; then :
4260
4450
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4261
4451
else
4262
4452
  ac_cv_prog_cc_stdc=no
4263
4453
fi
4264
4454
 
4265
 
 
4266
4455
fi
4267
 
 
4268
4456
 ;;
4269
4457
esac
4270
 
  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
 
4458
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4271
4459
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4272
 
  if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
4460
  if test "${ac_cv_prog_cc_stdc+set}" = set; then :
4273
4461
  $as_echo_n "(cached) " >&6
4274
4462
fi
4275
4463
 
4276
 
  case $ac_cv_prog_cc_stdc in
4277
 
  no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4278
 
$as_echo "unsupported" >&6; } ;;
4279
 
  '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
4280
 
$as_echo "none needed" >&6; } ;;
4281
 
  *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
4464
  case $ac_cv_prog_cc_stdc in #(
 
4465
  no) :
 
4466
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4467
$as_echo "unsupported" >&6; } ;; #(
 
4468
  '') :
 
4469
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4470
$as_echo "none needed" >&6; } ;; #(
 
4471
  *) :
 
4472
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4282
4473
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4283
4474
esac
4284
4475
 
4285
4476
 
4286
 
 
4287
4477
ac_ext=c
4288
4478
ac_cpp='$CPP $CPPFLAGS'
4289
4479
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290
4480
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291
4481
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4293
4483
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4294
4484
# On Suns, sometimes $CPP names a directory.
4295
4485
if test -n "$CPP" && test -d "$CPP"; then
4296
4486
  CPP=
4297
4487
fi
4298
4488
if test -z "$CPP"; then
4299
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4489
  if test "${ac_cv_prog_CPP+set}" = set; then :
4300
4490
  $as_echo_n "(cached) " >&6
4301
4491
else
4302
4492
      # Double quotes because CPP needs to be expanded
4311
4501
  # <limits.h> exists even on freestanding compilers.
4312
4502
  # On the NeXT, cc -E runs the code through the compiler's parser,
4313
4503
  # not just through cpp. "Syntax error" is here to catch this case.
4314
 
  cat >conftest.$ac_ext <<_ACEOF
4315
 
/* confdefs.h.  */
4316
 
_ACEOF
4317
 
cat confdefs.h >>conftest.$ac_ext
4318
 
cat >>conftest.$ac_ext <<_ACEOF
 
4504
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319
4505
/* end confdefs.h.  */
4320
4506
#ifdef __STDC__
4321
4507
# include <limits.h>
4324
4510
#endif
4325
4511
                     Syntax error
4326
4512
_ACEOF
4327
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4328
 
case "(($ac_try" in
4329
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4330
 
  *) ac_try_echo=$ac_try;;
4331
 
esac
4332
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4333
 
$as_echo "$ac_try_echo") >&5
4334
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4335
 
  ac_status=$?
4336
 
  grep -v '^ *+' conftest.er1 >conftest.err
4337
 
  rm -f conftest.er1
4338
 
  cat conftest.err >&5
4339
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340
 
  (exit $ac_status); } >/dev/null && {
4341
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4342
 
         test ! -s conftest.err
4343
 
       }; then
4344
 
  :
 
4513
if ac_fn_c_try_cpp "$LINENO"; then :
 
4514
 
4345
4515
else
4346
 
  $as_echo "$as_me: failed program was:" >&5
4347
 
sed 's/^/| /' conftest.$ac_ext >&5
4348
 
 
4349
4516
  # Broken: fails on valid input.
4350
4517
continue
4351
4518
fi
4352
 
 
4353
4519
rm -f conftest.err conftest.$ac_ext
4354
4520
 
4355
4521
  # OK, works on sane cases.  Now check whether nonexistent headers
4356
4522
  # can be detected and how.
4357
 
  cat >conftest.$ac_ext <<_ACEOF
4358
 
/* confdefs.h.  */
4359
 
_ACEOF
4360
 
cat confdefs.h >>conftest.$ac_ext
4361
 
cat >>conftest.$ac_ext <<_ACEOF
 
4523
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362
4524
/* end confdefs.h.  */
4363
4525
#include <ac_nonexistent.h>
4364
4526
_ACEOF
4365
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4366
 
case "(($ac_try" in
4367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368
 
  *) ac_try_echo=$ac_try;;
4369
 
esac
4370
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4371
 
$as_echo "$ac_try_echo") >&5
4372
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4373
 
  ac_status=$?
4374
 
  grep -v '^ *+' conftest.er1 >conftest.err
4375
 
  rm -f conftest.er1
4376
 
  cat conftest.err >&5
4377
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378
 
  (exit $ac_status); } >/dev/null && {
4379
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4380
 
         test ! -s conftest.err
4381
 
       }; then
 
4527
if ac_fn_c_try_cpp "$LINENO"; then :
4382
4528
  # Broken: success on invalid input.
4383
4529
continue
4384
4530
else
4385
 
  $as_echo "$as_me: failed program was:" >&5
4386
 
sed 's/^/| /' conftest.$ac_ext >&5
4387
 
 
4388
4531
  # Passes both tests.
4389
4532
ac_preproc_ok=:
4390
4533
break
4391
4534
fi
4392
 
 
4393
4535
rm -f conftest.err conftest.$ac_ext
4394
4536
 
4395
4537
done
4396
4538
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4397
4539
rm -f conftest.err conftest.$ac_ext
4398
 
if $ac_preproc_ok; then
 
4540
if $ac_preproc_ok; then :
4399
4541
  break
4400
4542
fi
4401
4543
 
4407
4549
else
4408
4550
  ac_cv_prog_CPP=$CPP
4409
4551
fi
4410
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4411
4553
$as_echo "$CPP" >&6; }
4412
4554
ac_preproc_ok=false
4413
4555
for ac_c_preproc_warn_flag in '' yes
4418
4560
  # <limits.h> exists even on freestanding compilers.
4419
4561
  # On the NeXT, cc -E runs the code through the compiler's parser,
4420
4562
  # not just through cpp. "Syntax error" is here to catch this case.
4421
 
  cat >conftest.$ac_ext <<_ACEOF
4422
 
/* confdefs.h.  */
4423
 
_ACEOF
4424
 
cat confdefs.h >>conftest.$ac_ext
4425
 
cat >>conftest.$ac_ext <<_ACEOF
 
4563
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426
4564
/* end confdefs.h.  */
4427
4565
#ifdef __STDC__
4428
4566
# include <limits.h>
4431
4569
#endif
4432
4570
                     Syntax error
4433
4571
_ACEOF
4434
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4435
 
case "(($ac_try" in
4436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437
 
  *) ac_try_echo=$ac_try;;
4438
 
esac
4439
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4440
 
$as_echo "$ac_try_echo") >&5
4441
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4442
 
  ac_status=$?
4443
 
  grep -v '^ *+' conftest.er1 >conftest.err
4444
 
  rm -f conftest.er1
4445
 
  cat conftest.err >&5
4446
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447
 
  (exit $ac_status); } >/dev/null && {
4448
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4449
 
         test ! -s conftest.err
4450
 
       }; then
4451
 
  :
 
4572
if ac_fn_c_try_cpp "$LINENO"; then :
 
4573
 
4452
4574
else
4453
 
  $as_echo "$as_me: failed program was:" >&5
4454
 
sed 's/^/| /' conftest.$ac_ext >&5
4455
 
 
4456
4575
  # Broken: fails on valid input.
4457
4576
continue
4458
4577
fi
4459
 
 
4460
4578
rm -f conftest.err conftest.$ac_ext
4461
4579
 
4462
4580
  # OK, works on sane cases.  Now check whether nonexistent headers
4463
4581
  # can be detected and how.
4464
 
  cat >conftest.$ac_ext <<_ACEOF
4465
 
/* confdefs.h.  */
4466
 
_ACEOF
4467
 
cat confdefs.h >>conftest.$ac_ext
4468
 
cat >>conftest.$ac_ext <<_ACEOF
 
4582
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469
4583
/* end confdefs.h.  */
4470
4584
#include <ac_nonexistent.h>
4471
4585
_ACEOF
4472
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4473
 
case "(($ac_try" in
4474
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4475
 
  *) ac_try_echo=$ac_try;;
4476
 
esac
4477
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4478
 
$as_echo "$ac_try_echo") >&5
4479
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4480
 
  ac_status=$?
4481
 
  grep -v '^ *+' conftest.er1 >conftest.err
4482
 
  rm -f conftest.er1
4483
 
  cat conftest.err >&5
4484
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485
 
  (exit $ac_status); } >/dev/null && {
4486
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4487
 
         test ! -s conftest.err
4488
 
       }; then
 
4586
if ac_fn_c_try_cpp "$LINENO"; then :
4489
4587
  # Broken: success on invalid input.
4490
4588
continue
4491
4589
else
4492
 
  $as_echo "$as_me: failed program was:" >&5
4493
 
sed 's/^/| /' conftest.$ac_ext >&5
4494
 
 
4495
4590
  # Passes both tests.
4496
4591
ac_preproc_ok=:
4497
4592
break
4498
4593
fi
4499
 
 
4500
4594
rm -f conftest.err conftest.$ac_ext
4501
4595
 
4502
4596
done
4503
4597
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4504
4598
rm -f conftest.err conftest.$ac_ext
4505
 
if $ac_preproc_ok; then
4506
 
  :
 
4599
if $ac_preproc_ok; then :
 
4600
 
4507
4601
else
4508
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4602
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4509
4603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4510
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4511
 
See \`config.log' for more details." >&5
4512
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4513
 
See \`config.log' for more details." >&2;}
4514
 
   { (exit 1); exit 1; }; }; }
 
4604
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4605
See \`config.log' for more details." "$LINENO" 5; }
4515
4606
fi
4516
4607
 
4517
4608
ac_ext=c
4521
4612
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4522
4613
 
4523
4614
 
4524
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4525
4616
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4526
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4617
if test "${ac_cv_path_GREP+set}" = set; then :
4527
4618
  $as_echo_n "(cached) " >&6
4528
4619
else
4529
4620
  if test -z "$GREP"; then
4534
4625
do
4535
4626
  IFS=$as_save_IFS
4536
4627
  test -z "$as_dir" && as_dir=.
4537
 
  for ac_prog in grep ggrep; do
 
4628
    for ac_prog in grep ggrep; do
4538
4629
    for ac_exec_ext in '' $ac_executable_extensions; do
4539
4630
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4540
4631
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4554
4645
    $as_echo 'GREP' >> "conftest.nl"
4555
4646
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4556
4647
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4557
 
    ac_count=`expr $ac_count + 1`
 
4648
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4558
4649
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4559
4650
      # Best one so far, save it but keep looking for a better one
4560
4651
      ac_cv_path_GREP="$ac_path_GREP"
4569
4660
      $ac_path_GREP_found && break 3
4570
4661
    done
4571
4662
  done
4572
 
done
 
4663
  done
4573
4664
IFS=$as_save_IFS
4574
4665
  if test -z "$ac_cv_path_GREP"; then
4575
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4576
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4577
 
   { (exit 1); exit 1; }; }
 
4666
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4578
4667
  fi
4579
4668
else
4580
4669
  ac_cv_path_GREP=$GREP
4581
4670
fi
4582
4671
 
4583
4672
fi
4584
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4585
4674
$as_echo "$ac_cv_path_GREP" >&6; }
4586
4675
 GREP="$ac_cv_path_GREP"
4587
4676
 
4588
4677
 
4589
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4590
4679
$as_echo_n "checking for egrep... " >&6; }
4591
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4680
if test "${ac_cv_path_EGREP+set}" = set; then :
4592
4681
  $as_echo_n "(cached) " >&6
4593
4682
else
4594
4683
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4602
4691
do
4603
4692
  IFS=$as_save_IFS
4604
4693
  test -z "$as_dir" && as_dir=.
4605
 
  for ac_prog in egrep; do
 
4694
    for ac_prog in egrep; do
4606
4695
    for ac_exec_ext in '' $ac_executable_extensions; do
4607
4696
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4608
4697
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4622
4711
    $as_echo 'EGREP' >> "conftest.nl"
4623
4712
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4624
4713
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4625
 
    ac_count=`expr $ac_count + 1`
 
4714
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4626
4715
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4627
4716
      # Best one so far, save it but keep looking for a better one
4628
4717
      ac_cv_path_EGREP="$ac_path_EGREP"
4637
4726
      $ac_path_EGREP_found && break 3
4638
4727
    done
4639
4728
  done
4640
 
done
 
4729
  done
4641
4730
IFS=$as_save_IFS
4642
4731
  if test -z "$ac_cv_path_EGREP"; then
4643
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4644
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4645
 
   { (exit 1); exit 1; }; }
 
4732
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4646
4733
  fi
4647
4734
else
4648
4735
  ac_cv_path_EGREP=$EGREP
4650
4737
 
4651
4738
   fi
4652
4739
fi
4653
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4654
4741
$as_echo "$ac_cv_path_EGREP" >&6; }
4655
4742
 EGREP="$ac_cv_path_EGREP"
4656
4743
 
4657
4744
 
4658
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4659
4746
$as_echo_n "checking for ANSI C header files... " >&6; }
4660
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4747
if test "${ac_cv_header_stdc+set}" = set; then :
4661
4748
  $as_echo_n "(cached) " >&6
4662
4749
else
4663
 
  cat >conftest.$ac_ext <<_ACEOF
4664
 
/* confdefs.h.  */
4665
 
_ACEOF
4666
 
cat confdefs.h >>conftest.$ac_ext
4667
 
cat >>conftest.$ac_ext <<_ACEOF
 
4750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668
4751
/* end confdefs.h.  */
4669
4752
#include <stdlib.h>
4670
4753
#include <stdarg.h>
4679
4762
  return 0;
4680
4763
}
4681
4764
_ACEOF
4682
 
rm -f conftest.$ac_objext
4683
 
if { (ac_try="$ac_compile"
4684
 
case "(($ac_try" in
4685
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686
 
  *) ac_try_echo=$ac_try;;
4687
 
esac
4688
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4689
 
$as_echo "$ac_try_echo") >&5
4690
 
  (eval "$ac_compile") 2>conftest.er1
4691
 
  ac_status=$?
4692
 
  grep -v '^ *+' conftest.er1 >conftest.err
4693
 
  rm -f conftest.er1
4694
 
  cat conftest.err >&5
4695
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696
 
  (exit $ac_status); } && {
4697
 
         test -z "$ac_c_werror_flag" ||
4698
 
         test ! -s conftest.err
4699
 
       } && test -s conftest.$ac_objext; then
 
4765
if ac_fn_c_try_compile "$LINENO"; then :
4700
4766
  ac_cv_header_stdc=yes
4701
4767
else
4702
 
  $as_echo "$as_me: failed program was:" >&5
4703
 
sed 's/^/| /' conftest.$ac_ext >&5
4704
 
 
4705
 
        ac_cv_header_stdc=no
 
4768
  ac_cv_header_stdc=no
4706
4769
fi
4707
 
 
4708
4770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709
4771
 
4710
4772
if test $ac_cv_header_stdc = yes; then
4711
4773
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4712
 
  cat >conftest.$ac_ext <<_ACEOF
4713
 
/* confdefs.h.  */
4714
 
_ACEOF
4715
 
cat confdefs.h >>conftest.$ac_ext
4716
 
cat >>conftest.$ac_ext <<_ACEOF
 
4774
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717
4775
/* end confdefs.h.  */
4718
4776
#include <string.h>
4719
4777
 
4720
4778
_ACEOF
4721
4779
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4722
 
  $EGREP "memchr" >/dev/null 2>&1; then
4723
 
  :
 
4780
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4781
 
4724
4782
else
4725
4783
  ac_cv_header_stdc=no
4726
4784
fi
4730
4788
 
4731
4789
if test $ac_cv_header_stdc = yes; then
4732
4790
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4733
 
  cat >conftest.$ac_ext <<_ACEOF
4734
 
/* confdefs.h.  */
4735
 
_ACEOF
4736
 
cat confdefs.h >>conftest.$ac_ext
4737
 
cat >>conftest.$ac_ext <<_ACEOF
 
4791
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738
4792
/* end confdefs.h.  */
4739
4793
#include <stdlib.h>
4740
4794
 
4741
4795
_ACEOF
4742
4796
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4743
 
  $EGREP "free" >/dev/null 2>&1; then
4744
 
  :
 
4797
  $EGREP "free" >/dev/null 2>&1; then :
 
4798
 
4745
4799
else
4746
4800
  ac_cv_header_stdc=no
4747
4801
fi
4751
4805
 
4752
4806
if test $ac_cv_header_stdc = yes; then
4753
4807
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4754
 
  if test "$cross_compiling" = yes; then
 
4808
  if test "$cross_compiling" = yes; then :
4755
4809
  :
4756
4810
else
4757
 
  cat >conftest.$ac_ext <<_ACEOF
4758
 
/* confdefs.h.  */
4759
 
_ACEOF
4760
 
cat confdefs.h >>conftest.$ac_ext
4761
 
cat >>conftest.$ac_ext <<_ACEOF
 
4811
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762
4812
/* end confdefs.h.  */
4763
4813
#include <ctype.h>
4764
4814
#include <stdlib.h>
4785
4835
  return 0;
4786
4836
}
4787
4837
_ACEOF
4788
 
rm -f conftest$ac_exeext
4789
 
if { (ac_try="$ac_link"
4790
 
case "(($ac_try" in
4791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792
 
  *) ac_try_echo=$ac_try;;
4793
 
esac
4794
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4795
 
$as_echo "$ac_try_echo") >&5
4796
 
  (eval "$ac_link") 2>&5
4797
 
  ac_status=$?
4798
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4800
 
  { (case "(($ac_try" in
4801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4802
 
  *) ac_try_echo=$ac_try;;
4803
 
esac
4804
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4805
 
$as_echo "$ac_try_echo") >&5
4806
 
  (eval "$ac_try") 2>&5
4807
 
  ac_status=$?
4808
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809
 
  (exit $ac_status); }; }; then
4810
 
  :
 
4838
if ac_fn_c_try_run "$LINENO"; then :
 
4839
 
4811
4840
else
4812
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4813
 
$as_echo "$as_me: failed program was:" >&5
4814
 
sed 's/^/| /' conftest.$ac_ext >&5
4815
 
 
4816
 
( exit $ac_status )
4817
 
ac_cv_header_stdc=no
4818
 
fi
4819
 
rm -rf conftest.dSYM
4820
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4821
 
fi
4822
 
 
4823
 
 
4824
 
fi
4825
 
fi
4826
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4841
  ac_cv_header_stdc=no
 
4842
fi
 
4843
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4844
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4845
fi
 
4846
 
 
4847
fi
 
4848
fi
 
4849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4827
4850
$as_echo "$ac_cv_header_stdc" >&6; }
4828
4851
if test $ac_cv_header_stdc = yes; then
4829
4852
 
4830
 
cat >>confdefs.h <<\_ACEOF
4831
 
#define STDC_HEADERS 1
4832
 
_ACEOF
 
4853
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4833
4854
 
4834
4855
fi
4835
4856
 
4836
4857
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4837
 
 
4838
 
 
4839
 
 
4840
 
 
4841
 
 
4842
 
 
4843
 
 
4844
 
 
4845
 
 
4846
4858
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4847
4859
                  inttypes.h stdint.h unistd.h
4848
 
do
4849
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4850
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4851
 
$as_echo_n "checking for $ac_header... " >&6; }
4852
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4853
 
  $as_echo_n "(cached) " >&6
4854
 
else
4855
 
  cat >conftest.$ac_ext <<_ACEOF
4856
 
/* confdefs.h.  */
4857
 
_ACEOF
4858
 
cat confdefs.h >>conftest.$ac_ext
4859
 
cat >>conftest.$ac_ext <<_ACEOF
4860
 
/* end confdefs.h.  */
4861
 
$ac_includes_default
4862
 
 
4863
 
#include <$ac_header>
4864
 
_ACEOF
4865
 
rm -f conftest.$ac_objext
4866
 
if { (ac_try="$ac_compile"
4867
 
case "(($ac_try" in
4868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869
 
  *) ac_try_echo=$ac_try;;
4870
 
esac
4871
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4872
 
$as_echo "$ac_try_echo") >&5
4873
 
  (eval "$ac_compile") 2>conftest.er1
4874
 
  ac_status=$?
4875
 
  grep -v '^ *+' conftest.er1 >conftest.err
4876
 
  rm -f conftest.er1
4877
 
  cat conftest.err >&5
4878
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879
 
  (exit $ac_status); } && {
4880
 
         test -z "$ac_c_werror_flag" ||
4881
 
         test ! -s conftest.err
4882
 
       } && test -s conftest.$ac_objext; then
4883
 
  eval "$as_ac_Header=yes"
4884
 
else
4885
 
  $as_echo "$as_me: failed program was:" >&5
4886
 
sed 's/^/| /' conftest.$ac_ext >&5
4887
 
 
4888
 
        eval "$as_ac_Header=no"
4889
 
fi
4890
 
 
4891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892
 
fi
4893
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4894
 
                 $as_echo "$as_val"'`
4895
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4896
 
$as_echo "$ac_res" >&6; }
4897
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4898
 
                 $as_echo "$as_val"'`
4899
 
   if test "x$as_val" = x""yes; then
 
4860
do :
 
4861
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4862
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4863
"
 
4864
eval as_val=\$$as_ac_Header
 
4865
   if test "x$as_val" = x""yes; then :
4900
4866
  cat >>confdefs.h <<_ACEOF
4901
4867
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4902
4868
_ACEOF
4907
4873
 
4908
4874
 
4909
4875
 
4910
 
  if test "${ac_cv_header_minix_config_h+set}" = set; then
4911
 
  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4912
 
$as_echo_n "checking for minix/config.h... " >&6; }
4913
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4914
 
  $as_echo_n "(cached) " >&6
4915
 
fi
4916
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4917
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4918
 
else
4919
 
  # Is the header compilable?
4920
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4921
 
$as_echo_n "checking minix/config.h usability... " >&6; }
4922
 
cat >conftest.$ac_ext <<_ACEOF
4923
 
/* confdefs.h.  */
4924
 
_ACEOF
4925
 
cat confdefs.h >>conftest.$ac_ext
4926
 
cat >>conftest.$ac_ext <<_ACEOF
4927
 
/* end confdefs.h.  */
4928
 
$ac_includes_default
4929
 
#include <minix/config.h>
4930
 
_ACEOF
4931
 
rm -f conftest.$ac_objext
4932
 
if { (ac_try="$ac_compile"
4933
 
case "(($ac_try" in
4934
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935
 
  *) ac_try_echo=$ac_try;;
4936
 
esac
4937
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4938
 
$as_echo "$ac_try_echo") >&5
4939
 
  (eval "$ac_compile") 2>conftest.er1
4940
 
  ac_status=$?
4941
 
  grep -v '^ *+' conftest.er1 >conftest.err
4942
 
  rm -f conftest.er1
4943
 
  cat conftest.err >&5
4944
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945
 
  (exit $ac_status); } && {
4946
 
         test -z "$ac_c_werror_flag" ||
4947
 
         test ! -s conftest.err
4948
 
       } && test -s conftest.$ac_objext; then
4949
 
  ac_header_compiler=yes
4950
 
else
4951
 
  $as_echo "$as_me: failed program was:" >&5
4952
 
sed 's/^/| /' conftest.$ac_ext >&5
4953
 
 
4954
 
        ac_header_compiler=no
4955
 
fi
4956
 
 
4957
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4958
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4959
 
$as_echo "$ac_header_compiler" >&6; }
4960
 
 
4961
 
# Is the header present?
4962
 
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4963
 
$as_echo_n "checking minix/config.h presence... " >&6; }
4964
 
cat >conftest.$ac_ext <<_ACEOF
4965
 
/* confdefs.h.  */
4966
 
_ACEOF
4967
 
cat confdefs.h >>conftest.$ac_ext
4968
 
cat >>conftest.$ac_ext <<_ACEOF
4969
 
/* end confdefs.h.  */
4970
 
#include <minix/config.h>
4971
 
_ACEOF
4972
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4973
 
case "(($ac_try" in
4974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975
 
  *) ac_try_echo=$ac_try;;
4976
 
esac
4977
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4978
 
$as_echo "$ac_try_echo") >&5
4979
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4980
 
  ac_status=$?
4981
 
  grep -v '^ *+' conftest.er1 >conftest.err
4982
 
  rm -f conftest.er1
4983
 
  cat conftest.err >&5
4984
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985
 
  (exit $ac_status); } >/dev/null && {
4986
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4987
 
         test ! -s conftest.err
4988
 
       }; then
4989
 
  ac_header_preproc=yes
4990
 
else
4991
 
  $as_echo "$as_me: failed program was:" >&5
4992
 
sed 's/^/| /' conftest.$ac_ext >&5
4993
 
 
4994
 
  ac_header_preproc=no
4995
 
fi
4996
 
 
4997
 
rm -f conftest.err conftest.$ac_ext
4998
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4999
 
$as_echo "$ac_header_preproc" >&6; }
5000
 
 
5001
 
# So?  What about this header?
5002
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5003
 
  yes:no: )
5004
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
5005
 
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5006
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
5007
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
5008
 
    ac_header_preproc=yes
5009
 
    ;;
5010
 
  no:yes:* )
5011
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
5012
 
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
5013
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
5014
 
$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
5015
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
5016
 
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
5017
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
5018
 
$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5019
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
5020
 
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
5021
 
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
5022
 
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
5023
 
    ( cat <<\_ASBOX
5024
 
## ------------------------------ ##
5025
 
## Report this to kzak@redhat.com ##
5026
 
## ------------------------------ ##
5027
 
_ASBOX
5028
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5029
 
    ;;
5030
 
esac
5031
 
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
5032
 
$as_echo_n "checking for minix/config.h... " >&6; }
5033
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
5034
 
  $as_echo_n "(cached) " >&6
5035
 
else
5036
 
  ac_cv_header_minix_config_h=$ac_header_preproc
5037
 
fi
5038
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
5039
 
$as_echo "$ac_cv_header_minix_config_h" >&6; }
5040
 
 
5041
 
fi
5042
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then
 
4876
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
4877
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5043
4878
  MINIX=yes
5044
4879
else
5045
4880
  MINIX=
5048
4883
 
5049
4884
  if test "$MINIX" = yes; then
5050
4885
 
5051
 
cat >>confdefs.h <<\_ACEOF
5052
 
#define _POSIX_SOURCE 1
5053
 
_ACEOF
5054
 
 
5055
 
 
5056
 
cat >>confdefs.h <<\_ACEOF
5057
 
#define _POSIX_1_SOURCE 2
5058
 
_ACEOF
5059
 
 
5060
 
 
5061
 
cat >>confdefs.h <<\_ACEOF
5062
 
#define _MINIX 1
5063
 
_ACEOF
 
4886
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
4887
 
 
4888
 
 
4889
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
4890
 
 
4891
 
 
4892
$as_echo "#define _MINIX 1" >>confdefs.h
5064
4893
 
5065
4894
  fi
5066
4895
 
5067
4896
 
5068
 
 
5069
 
  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
 
4897
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5070
4898
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5071
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
 
4899
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5072
4900
  $as_echo_n "(cached) " >&6
5073
4901
else
5074
 
  cat >conftest.$ac_ext <<_ACEOF
5075
 
/* confdefs.h.  */
5076
 
_ACEOF
5077
 
cat confdefs.h >>conftest.$ac_ext
5078
 
cat >>conftest.$ac_ext <<_ACEOF
 
4902
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079
4903
/* end confdefs.h.  */
5080
4904
 
5081
4905
#         define __EXTENSIONS__ 1
5088
4912
  return 0;
5089
4913
}
5090
4914
_ACEOF
5091
 
rm -f conftest.$ac_objext
5092
 
if { (ac_try="$ac_compile"
5093
 
case "(($ac_try" in
5094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095
 
  *) ac_try_echo=$ac_try;;
5096
 
esac
5097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5098
 
$as_echo "$ac_try_echo") >&5
5099
 
  (eval "$ac_compile") 2>conftest.er1
5100
 
  ac_status=$?
5101
 
  grep -v '^ *+' conftest.er1 >conftest.err
5102
 
  rm -f conftest.er1
5103
 
  cat conftest.err >&5
5104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105
 
  (exit $ac_status); } && {
5106
 
         test -z "$ac_c_werror_flag" ||
5107
 
         test ! -s conftest.err
5108
 
       } && test -s conftest.$ac_objext; then
 
4915
if ac_fn_c_try_compile "$LINENO"; then :
5109
4916
  ac_cv_safe_to_define___extensions__=yes
5110
4917
else
5111
 
  $as_echo "$as_me: failed program was:" >&5
5112
 
sed 's/^/| /' conftest.$ac_ext >&5
5113
 
 
5114
 
        ac_cv_safe_to_define___extensions__=no
 
4918
  ac_cv_safe_to_define___extensions__=no
5115
4919
fi
5116
 
 
5117
4920
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118
4921
fi
5119
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
 
4922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5120
4923
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5121
4924
  test $ac_cv_safe_to_define___extensions__ = yes &&
5122
 
    cat >>confdefs.h <<\_ACEOF
5123
 
#define __EXTENSIONS__ 1
5124
 
_ACEOF
5125
 
 
5126
 
  cat >>confdefs.h <<\_ACEOF
5127
 
#define _ALL_SOURCE 1
5128
 
_ACEOF
5129
 
 
5130
 
  cat >>confdefs.h <<\_ACEOF
5131
 
#define _GNU_SOURCE 1
5132
 
_ACEOF
5133
 
 
5134
 
  cat >>confdefs.h <<\_ACEOF
5135
 
#define _POSIX_PTHREAD_SEMANTICS 1
5136
 
_ACEOF
5137
 
 
5138
 
  cat >>confdefs.h <<\_ACEOF
5139
 
#define _TANDEM_SOURCE 1
5140
 
_ACEOF
 
4925
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
4926
 
 
4927
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
4928
 
 
4929
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
4930
 
 
4931
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
4932
 
 
4933
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
4934
 
5141
4935
 
5142
4936
 
5143
4937
# Make sure we can run config.sub.
5144
4938
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5145
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5146
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5147
 
   { (exit 1); exit 1; }; }
 
4939
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5148
4940
 
5149
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5150
4942
$as_echo_n "checking build system type... " >&6; }
5151
 
if test "${ac_cv_build+set}" = set; then
 
4943
if test "${ac_cv_build+set}" = set; then :
5152
4944
  $as_echo_n "(cached) " >&6
5153
4945
else
5154
4946
  ac_build_alias=$build_alias
5155
4947
test "x$ac_build_alias" = x &&
5156
4948
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5157
4949
test "x$ac_build_alias" = x &&
5158
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5159
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5160
 
   { (exit 1); exit 1; }; }
 
4950
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5161
4951
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5162
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5163
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5164
 
   { (exit 1); exit 1; }; }
 
4952
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5165
4953
 
5166
4954
fi
5167
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5168
4956
$as_echo "$ac_cv_build" >&6; }
5169
4957
case $ac_cv_build in
5170
4958
*-*-*) ;;
5171
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5172
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5173
 
   { (exit 1); exit 1; }; };;
 
4959
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5174
4960
esac
5175
4961
build=$ac_cv_build
5176
4962
ac_save_IFS=$IFS; IFS='-'
5186
4972
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5187
4973
 
5188
4974
 
5189
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5190
4976
$as_echo_n "checking host system type... " >&6; }
5191
 
if test "${ac_cv_host+set}" = set; then
 
4977
if test "${ac_cv_host+set}" = set; then :
5192
4978
  $as_echo_n "(cached) " >&6
5193
4979
else
5194
4980
  if test "x$host_alias" = x; then
5195
4981
  ac_cv_host=$ac_cv_build
5196
4982
else
5197
4983
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5198
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5199
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5200
 
   { (exit 1); exit 1; }; }
 
4984
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5201
4985
fi
5202
4986
 
5203
4987
fi
5204
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5205
4989
$as_echo "$ac_cv_host" >&6; }
5206
4990
case $ac_cv_host in
5207
4991
*-*-*) ;;
5208
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5209
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
5210
 
   { (exit 1); exit 1; }; };;
 
4992
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5211
4993
esac
5212
4994
host=$ac_cv_host
5213
4995
ac_save_IFS=$IFS; IFS='-'
5223
5005
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5224
5006
 
5225
5007
 
5226
 
 
5227
 
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
5008
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5228
5009
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5229
 
if test "${ac_cv_c_bigendian+set}" = set; then
 
5010
if test "${ac_cv_c_bigendian+set}" = set; then :
5230
5011
  $as_echo_n "(cached) " >&6
5231
5012
else
5232
5013
  ac_cv_c_bigendian=unknown
5233
5014
    # See if we're dealing with a universal compiler.
5234
 
    cat >conftest.$ac_ext <<_ACEOF
5235
 
/* confdefs.h.  */
5236
 
_ACEOF
5237
 
cat confdefs.h >>conftest.$ac_ext
5238
 
cat >>conftest.$ac_ext <<_ACEOF
 
5015
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5239
5016
/* end confdefs.h.  */
5240
5017
#ifndef __APPLE_CC__
5241
5018
               not a universal capable compiler
5243
5020
             typedef int dummy;
5244
5021
 
5245
5022
_ACEOF
5246
 
rm -f conftest.$ac_objext
5247
 
if { (ac_try="$ac_compile"
5248
 
case "(($ac_try" in
5249
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5250
 
  *) ac_try_echo=$ac_try;;
5251
 
esac
5252
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5253
 
$as_echo "$ac_try_echo") >&5
5254
 
  (eval "$ac_compile") 2>conftest.er1
5255
 
  ac_status=$?
5256
 
  grep -v '^ *+' conftest.er1 >conftest.err
5257
 
  rm -f conftest.er1
5258
 
  cat conftest.err >&5
5259
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260
 
  (exit $ac_status); } && {
5261
 
         test -z "$ac_c_werror_flag" ||
5262
 
         test ! -s conftest.err
5263
 
       } && test -s conftest.$ac_objext; then
 
5023
if ac_fn_c_try_compile "$LINENO"; then :
5264
5024
 
5265
5025
        # Check for potential -arch flags.  It is not universal unless
5266
 
        # there are some -arch flags.  Note that *ppc* also matches
5267
 
        # ppc64.  This check is also rather less than ideal.
5268
 
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
5269
 
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
5270
 
        esac
5271
 
else
5272
 
  $as_echo "$as_me: failed program was:" >&5
5273
 
sed 's/^/| /' conftest.$ac_ext >&5
5274
 
 
5275
 
 
 
5026
        # there are at least two -arch flags with different values.
 
5027
        ac_arch=
 
5028
        ac_prev=
 
5029
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
5030
         if test -n "$ac_prev"; then
 
5031
           case $ac_word in
 
5032
             i?86 | x86_64 | ppc | ppc64)
 
5033
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
5034
                 ac_arch=$ac_word
 
5035
               else
 
5036
                 ac_cv_c_bigendian=universal
 
5037
                 break
 
5038
               fi
 
5039
               ;;
 
5040
           esac
 
5041
           ac_prev=
 
5042
         elif test "x$ac_word" = "x-arch"; then
 
5043
           ac_prev=arch
 
5044
         fi
 
5045
       done
5276
5046
fi
5277
 
 
5278
5047
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279
5048
    if test $ac_cv_c_bigendian = unknown; then
5280
5049
      # See if sys/param.h defines the BYTE_ORDER macro.
5281
 
      cat >conftest.$ac_ext <<_ACEOF
5282
 
/* confdefs.h.  */
5283
 
_ACEOF
5284
 
cat confdefs.h >>conftest.$ac_ext
5285
 
cat >>conftest.$ac_ext <<_ACEOF
 
5050
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5286
5051
/* end confdefs.h.  */
5287
5052
#include <sys/types.h>
5288
5053
             #include <sys/param.h>
5300
5065
  return 0;
5301
5066
}
5302
5067
_ACEOF
5303
 
rm -f conftest.$ac_objext
5304
 
if { (ac_try="$ac_compile"
5305
 
case "(($ac_try" in
5306
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5307
 
  *) ac_try_echo=$ac_try;;
5308
 
esac
5309
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5310
 
$as_echo "$ac_try_echo") >&5
5311
 
  (eval "$ac_compile") 2>conftest.er1
5312
 
  ac_status=$?
5313
 
  grep -v '^ *+' conftest.er1 >conftest.err
5314
 
  rm -f conftest.er1
5315
 
  cat conftest.err >&5
5316
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317
 
  (exit $ac_status); } && {
5318
 
         test -z "$ac_c_werror_flag" ||
5319
 
         test ! -s conftest.err
5320
 
       } && test -s conftest.$ac_objext; then
 
5068
if ac_fn_c_try_compile "$LINENO"; then :
5321
5069
  # It does; now see whether it defined to BIG_ENDIAN or not.
5322
 
         cat >conftest.$ac_ext <<_ACEOF
5323
 
/* confdefs.h.  */
5324
 
_ACEOF
5325
 
cat confdefs.h >>conftest.$ac_ext
5326
 
cat >>conftest.$ac_ext <<_ACEOF
 
5070
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327
5071
/* end confdefs.h.  */
5328
5072
#include <sys/types.h>
5329
5073
                #include <sys/param.h>
5339
5083
  return 0;
5340
5084
}
5341
5085
_ACEOF
5342
 
rm -f conftest.$ac_objext
5343
 
if { (ac_try="$ac_compile"
5344
 
case "(($ac_try" in
5345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5346
 
  *) ac_try_echo=$ac_try;;
5347
 
esac
5348
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5349
 
$as_echo "$ac_try_echo") >&5
5350
 
  (eval "$ac_compile") 2>conftest.er1
5351
 
  ac_status=$?
5352
 
  grep -v '^ *+' conftest.er1 >conftest.err
5353
 
  rm -f conftest.er1
5354
 
  cat conftest.err >&5
5355
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356
 
  (exit $ac_status); } && {
5357
 
         test -z "$ac_c_werror_flag" ||
5358
 
         test ! -s conftest.err
5359
 
       } && test -s conftest.$ac_objext; then
 
5086
if ac_fn_c_try_compile "$LINENO"; then :
5360
5087
  ac_cv_c_bigendian=yes
5361
5088
else
5362
 
  $as_echo "$as_me: failed program was:" >&5
5363
 
sed 's/^/| /' conftest.$ac_ext >&5
5364
 
 
5365
 
        ac_cv_c_bigendian=no
 
5089
  ac_cv_c_bigendian=no
5366
5090
fi
5367
 
 
5368
5091
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369
 
else
5370
 
  $as_echo "$as_me: failed program was:" >&5
5371
 
sed 's/^/| /' conftest.$ac_ext >&5
5372
 
 
5373
 
 
5374
5092
fi
5375
 
 
5376
5093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5377
5094
    fi
5378
5095
    if test $ac_cv_c_bigendian = unknown; then
5379
5096
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5380
 
      cat >conftest.$ac_ext <<_ACEOF
5381
 
/* confdefs.h.  */
5382
 
_ACEOF
5383
 
cat confdefs.h >>conftest.$ac_ext
5384
 
cat >>conftest.$ac_ext <<_ACEOF
 
5097
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385
5098
/* end confdefs.h.  */
5386
5099
#include <limits.h>
5387
5100
 
5396
5109
  return 0;
5397
5110
}
5398
5111
_ACEOF
5399
 
rm -f conftest.$ac_objext
5400
 
if { (ac_try="$ac_compile"
5401
 
case "(($ac_try" in
5402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5403
 
  *) ac_try_echo=$ac_try;;
5404
 
esac
5405
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5406
 
$as_echo "$ac_try_echo") >&5
5407
 
  (eval "$ac_compile") 2>conftest.er1
5408
 
  ac_status=$?
5409
 
  grep -v '^ *+' conftest.er1 >conftest.err
5410
 
  rm -f conftest.er1
5411
 
  cat conftest.err >&5
5412
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413
 
  (exit $ac_status); } && {
5414
 
         test -z "$ac_c_werror_flag" ||
5415
 
         test ! -s conftest.err
5416
 
       } && test -s conftest.$ac_objext; then
 
5112
if ac_fn_c_try_compile "$LINENO"; then :
5417
5113
  # It does; now see whether it defined to _BIG_ENDIAN or not.
5418
 
         cat >conftest.$ac_ext <<_ACEOF
5419
 
/* confdefs.h.  */
5420
 
_ACEOF
5421
 
cat confdefs.h >>conftest.$ac_ext
5422
 
cat >>conftest.$ac_ext <<_ACEOF
 
5114
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423
5115
/* end confdefs.h.  */
5424
5116
#include <limits.h>
5425
5117
 
5434
5126
  return 0;
5435
5127
}
5436
5128
_ACEOF
5437
 
rm -f conftest.$ac_objext
5438
 
if { (ac_try="$ac_compile"
5439
 
case "(($ac_try" in
5440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5441
 
  *) ac_try_echo=$ac_try;;
5442
 
esac
5443
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5444
 
$as_echo "$ac_try_echo") >&5
5445
 
  (eval "$ac_compile") 2>conftest.er1
5446
 
  ac_status=$?
5447
 
  grep -v '^ *+' conftest.er1 >conftest.err
5448
 
  rm -f conftest.er1
5449
 
  cat conftest.err >&5
5450
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451
 
  (exit $ac_status); } && {
5452
 
         test -z "$ac_c_werror_flag" ||
5453
 
         test ! -s conftest.err
5454
 
       } && test -s conftest.$ac_objext; then
 
5129
if ac_fn_c_try_compile "$LINENO"; then :
5455
5130
  ac_cv_c_bigendian=yes
5456
5131
else
5457
 
  $as_echo "$as_me: failed program was:" >&5
5458
 
sed 's/^/| /' conftest.$ac_ext >&5
5459
 
 
5460
 
        ac_cv_c_bigendian=no
 
5132
  ac_cv_c_bigendian=no
5461
5133
fi
5462
 
 
5463
5134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5464
 
else
5465
 
  $as_echo "$as_me: failed program was:" >&5
5466
 
sed 's/^/| /' conftest.$ac_ext >&5
5467
 
 
5468
 
 
5469
5135
fi
5470
 
 
5471
5136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472
5137
    fi
5473
5138
    if test $ac_cv_c_bigendian = unknown; then
5474
5139
      # Compile a test program.
5475
 
      if test "$cross_compiling" = yes; then
 
5140
      if test "$cross_compiling" = yes; then :
5476
5141
  # Try to guess by grepping values from an object file.
5477
 
         cat >conftest.$ac_ext <<_ACEOF
5478
 
/* confdefs.h.  */
5479
 
_ACEOF
5480
 
cat confdefs.h >>conftest.$ac_ext
5481
 
cat >>conftest.$ac_ext <<_ACEOF
 
5142
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482
5143
/* end confdefs.h.  */
5483
5144
short int ascii_mm[] =
5484
5145
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5504
5165
  return 0;
5505
5166
}
5506
5167
_ACEOF
5507
 
rm -f conftest.$ac_objext
5508
 
if { (ac_try="$ac_compile"
5509
 
case "(($ac_try" in
5510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5511
 
  *) ac_try_echo=$ac_try;;
5512
 
esac
5513
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5514
 
$as_echo "$ac_try_echo") >&5
5515
 
  (eval "$ac_compile") 2>conftest.er1
5516
 
  ac_status=$?
5517
 
  grep -v '^ *+' conftest.er1 >conftest.err
5518
 
  rm -f conftest.er1
5519
 
  cat conftest.err >&5
5520
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521
 
  (exit $ac_status); } && {
5522
 
         test -z "$ac_c_werror_flag" ||
5523
 
         test ! -s conftest.err
5524
 
       } && test -s conftest.$ac_objext; then
 
5168
if ac_fn_c_try_compile "$LINENO"; then :
5525
5169
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5526
5170
              ac_cv_c_bigendian=yes
5527
5171
            fi
5533
5177
                ac_cv_c_bigendian=unknown
5534
5178
              fi
5535
5179
            fi
5536
 
else
5537
 
  $as_echo "$as_me: failed program was:" >&5
5538
 
sed 's/^/| /' conftest.$ac_ext >&5
5539
 
 
5540
 
 
5541
5180
fi
5542
 
 
5543
5181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544
5182
else
5545
 
  cat >conftest.$ac_ext <<_ACEOF
5546
 
/* confdefs.h.  */
5547
 
_ACEOF
5548
 
cat confdefs.h >>conftest.$ac_ext
5549
 
cat >>conftest.$ac_ext <<_ACEOF
 
5183
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5550
5184
/* end confdefs.h.  */
5551
5185
$ac_includes_default
5552
5186
int
5566
5200
  return 0;
5567
5201
}
5568
5202
_ACEOF
5569
 
rm -f conftest$ac_exeext
5570
 
if { (ac_try="$ac_link"
5571
 
case "(($ac_try" in
5572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573
 
  *) ac_try_echo=$ac_try;;
5574
 
esac
5575
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5576
 
$as_echo "$ac_try_echo") >&5
5577
 
  (eval "$ac_link") 2>&5
5578
 
  ac_status=$?
5579
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5581
 
  { (case "(($ac_try" in
5582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5583
 
  *) ac_try_echo=$ac_try;;
5584
 
esac
5585
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5586
 
$as_echo "$ac_try_echo") >&5
5587
 
  (eval "$ac_try") 2>&5
5588
 
  ac_status=$?
5589
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590
 
  (exit $ac_status); }; }; then
 
5203
if ac_fn_c_try_run "$LINENO"; then :
5591
5204
  ac_cv_c_bigendian=no
5592
5205
else
5593
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5594
 
$as_echo "$as_me: failed program was:" >&5
5595
 
sed 's/^/| /' conftest.$ac_ext >&5
5596
 
 
5597
 
( exit $ac_status )
5598
 
ac_cv_c_bigendian=yes
5599
 
fi
5600
 
rm -rf conftest.dSYM
5601
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5602
 
fi
5603
 
 
 
5206
  ac_cv_c_bigendian=yes
 
5207
fi
 
5208
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5209
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5210
fi
5604
5211
 
5605
5212
    fi
5606
5213
fi
5607
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
5214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5608
5215
$as_echo "$ac_cv_c_bigendian" >&6; }
5609
5216
 case $ac_cv_c_bigendian in #(
5610
5217
   yes)
5611
 
     cat >>confdefs.h <<\_ACEOF
5612
 
#define WORDS_BIGENDIAN 1
5613
 
_ACEOF
 
5218
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5614
5219
;; #(
5615
5220
   no)
5616
5221
      ;; #(
5617
5222
   universal)
5618
5223
 
5619
 
cat >>confdefs.h <<\_ACEOF
5620
 
#define AC_APPLE_UNIVERSAL_BUILD 1
5621
 
_ACEOF
 
5224
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5622
5225
 
5623
5226
     ;; #(
5624
5227
   *)
5625
 
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
5626
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5627
 
$as_echo "$as_me: error: unknown endianness
5628
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5629
 
   { (exit 1); exit 1; }; } ;;
 
5228
     as_fn_error "unknown endianness
 
5229
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5630
5230
 esac
5631
5231
 
5632
5232
 
5633
5233
case `pwd` in
5634
5234
  *\ * | *\     *)
5635
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5235
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5636
5236
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5637
5237
esac
5638
5238
 
5655
5255
 
5656
5256
ltmain="$ac_aux_dir/ltmain.sh"
5657
5257
 
5658
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5659
5259
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5660
 
if test "${ac_cv_path_SED+set}" = set; then
 
5260
if test "${ac_cv_path_SED+set}" = set; then :
5661
5261
  $as_echo_n "(cached) " >&6
5662
5262
else
5663
5263
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5665
5265
       ac_script="$ac_script$as_nl$ac_script"
5666
5266
     done
5667
5267
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5668
 
     $as_unset ac_script || ac_script=
 
5268
     { ac_script=; unset ac_script;}
5669
5269
     if test -z "$SED"; then
5670
5270
  ac_path_SED_found=false
5671
5271
  # Loop through the user's path and test for each of PROGNAME-LIST
5674
5274
do
5675
5275
  IFS=$as_save_IFS
5676
5276
  test -z "$as_dir" && as_dir=.
5677
 
  for ac_prog in sed gsed; do
 
5277
    for ac_prog in sed gsed; do
5678
5278
    for ac_exec_ext in '' $ac_executable_extensions; do
5679
5279
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5680
5280
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5694
5294
    $as_echo '' >> "conftest.nl"
5695
5295
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5696
5296
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5697
 
    ac_count=`expr $ac_count + 1`
 
5297
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5698
5298
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5699
5299
      # Best one so far, save it but keep looking for a better one
5700
5300
      ac_cv_path_SED="$ac_path_SED"
5709
5309
      $ac_path_SED_found && break 3
5710
5310
    done
5711
5311
  done
5712
 
done
 
5312
  done
5713
5313
IFS=$as_save_IFS
5714
5314
  if test -z "$ac_cv_path_SED"; then
5715
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5716
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5717
 
   { (exit 1); exit 1; }; }
 
5315
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5718
5316
  fi
5719
5317
else
5720
5318
  ac_cv_path_SED=$SED
5721
5319
fi
5722
5320
 
5723
5321
fi
5724
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5725
5323
$as_echo "$ac_cv_path_SED" >&6; }
5726
5324
 SED="$ac_cv_path_SED"
5727
5325
  rm -f conftest.sed
5739
5337
 
5740
5338
 
5741
5339
 
5742
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5743
5341
$as_echo_n "checking for fgrep... " >&6; }
5744
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5342
if test "${ac_cv_path_FGREP+set}" = set; then :
5745
5343
  $as_echo_n "(cached) " >&6
5746
5344
else
5747
5345
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5755
5353
do
5756
5354
  IFS=$as_save_IFS
5757
5355
  test -z "$as_dir" && as_dir=.
5758
 
  for ac_prog in fgrep; do
 
5356
    for ac_prog in fgrep; do
5759
5357
    for ac_exec_ext in '' $ac_executable_extensions; do
5760
5358
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5761
5359
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5775
5373
    $as_echo 'FGREP' >> "conftest.nl"
5776
5374
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5777
5375
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5778
 
    ac_count=`expr $ac_count + 1`
 
5376
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5779
5377
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5780
5378
      # Best one so far, save it but keep looking for a better one
5781
5379
      ac_cv_path_FGREP="$ac_path_FGREP"
5790
5388
      $ac_path_FGREP_found && break 3
5791
5389
    done
5792
5390
  done
5793
 
done
 
5391
  done
5794
5392
IFS=$as_save_IFS
5795
5393
  if test -z "$ac_cv_path_FGREP"; then
5796
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5797
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5798
 
   { (exit 1); exit 1; }; }
 
5394
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5799
5395
  fi
5800
5396
else
5801
5397
  ac_cv_path_FGREP=$FGREP
5803
5399
 
5804
5400
   fi
5805
5401
fi
5806
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5807
5403
$as_echo "$ac_cv_path_FGREP" >&6; }
5808
5404
 FGREP="$ac_cv_path_FGREP"
5809
5405
 
5829
5425
 
5830
5426
 
5831
5427
# Check whether --with-gnu-ld was given.
5832
 
if test "${with_gnu_ld+set}" = set; then
 
5428
if test "${with_gnu_ld+set}" = set; then :
5833
5429
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5834
5430
else
5835
5431
  with_gnu_ld=no
5838
5434
ac_prog=ld
5839
5435
if test "$GCC" = yes; then
5840
5436
  # Check if gcc -print-prog-name=ld gives a path.
5841
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5437
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5842
5438
$as_echo_n "checking for ld used by $CC... " >&6; }
5843
5439
  case $host in
5844
5440
  *-*-mingw*)
5868
5464
    ;;
5869
5465
  esac
5870
5466
elif test "$with_gnu_ld" = yes; then
5871
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5467
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5872
5468
$as_echo_n "checking for GNU ld... " >&6; }
5873
5469
else
5874
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5470
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5875
5471
$as_echo_n "checking for non-GNU ld... " >&6; }
5876
5472
fi
5877
 
if test "${lt_cv_path_LD+set}" = set; then
 
5473
if test "${lt_cv_path_LD+set}" = set; then :
5878
5474
  $as_echo_n "(cached) " >&6
5879
5475
else
5880
5476
  if test -z "$LD"; then
5905
5501
 
5906
5502
LD="$lt_cv_path_LD"
5907
5503
if test -n "$LD"; then
5908
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5504
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5909
5505
$as_echo "$LD" >&6; }
5910
5506
else
5911
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5507
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912
5508
$as_echo "no" >&6; }
5913
5509
fi
5914
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5915
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5916
 
   { (exit 1); exit 1; }; }
5917
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5510
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5918
5512
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5919
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5513
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5920
5514
  $as_echo_n "(cached) " >&6
5921
5515
else
5922
5516
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5929
5523
  ;;
5930
5524
esac
5931
5525
fi
5932
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5933
5527
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5934
5528
with_gnu_ld=$lt_cv_prog_gnu_ld
5935
5529
 
5941
5535
 
5942
5536
 
5943
5537
 
5944
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5945
5539
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5946
 
if test "${lt_cv_path_NM+set}" = set; then
 
5540
if test "${lt_cv_path_NM+set}" = set; then :
5947
5541
  $as_echo_n "(cached) " >&6
5948
5542
else
5949
5543
  if test -n "$NM"; then
5990
5584
  : ${lt_cv_path_NM=no}
5991
5585
fi
5992
5586
fi
5993
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5994
5588
$as_echo "$lt_cv_path_NM" >&6; }
5995
5589
if test "$lt_cv_path_NM" != "no"; then
5996
5590
  NM="$lt_cv_path_NM"
6001
5595
  do
6002
5596
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6003
5597
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6004
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005
5599
$as_echo_n "checking for $ac_word... " >&6; }
6006
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5600
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6007
5601
  $as_echo_n "(cached) " >&6
6008
5602
else
6009
5603
  if test -n "$DUMPBIN"; then
6014
5608
do
6015
5609
  IFS=$as_save_IFS
6016
5610
  test -z "$as_dir" && as_dir=.
6017
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5611
    for ac_exec_ext in '' $ac_executable_extensions; do
6018
5612
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019
5613
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6020
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5614
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
5615
    break 2
6022
5616
  fi
6023
5617
done
6024
 
done
 
5618
  done
6025
5619
IFS=$as_save_IFS
6026
5620
 
6027
5621
fi
6028
5622
fi
6029
5623
DUMPBIN=$ac_cv_prog_DUMPBIN
6030
5624
if test -n "$DUMPBIN"; then
6031
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6032
5626
$as_echo "$DUMPBIN" >&6; }
6033
5627
else
6034
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035
5629
$as_echo "no" >&6; }
6036
5630
fi
6037
5631
 
6045
5639
do
6046
5640
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6047
5641
set dummy $ac_prog; ac_word=$2
6048
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049
5643
$as_echo_n "checking for $ac_word... " >&6; }
6050
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5644
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6051
5645
  $as_echo_n "(cached) " >&6
6052
5646
else
6053
5647
  if test -n "$ac_ct_DUMPBIN"; then
6058
5652
do
6059
5653
  IFS=$as_save_IFS
6060
5654
  test -z "$as_dir" && as_dir=.
6061
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5655
    for ac_exec_ext in '' $ac_executable_extensions; do
6062
5656
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063
5657
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6064
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5658
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065
5659
    break 2
6066
5660
  fi
6067
5661
done
6068
 
done
 
5662
  done
6069
5663
IFS=$as_save_IFS
6070
5664
 
6071
5665
fi
6072
5666
fi
6073
5667
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6074
5668
if test -n "$ac_ct_DUMPBIN"; then
6075
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6076
5670
$as_echo "$ac_ct_DUMPBIN" >&6; }
6077
5671
else
6078
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079
5673
$as_echo "no" >&6; }
6080
5674
fi
6081
5675
 
6088
5682
  else
6089
5683
    case $cross_compiling:$ac_tool_warned in
6090
5684
yes:)
6091
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092
5686
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093
5687
ac_tool_warned=yes ;;
6094
5688
esac
6108
5702
 
6109
5703
 
6110
5704
 
6111
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6112
5706
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6113
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5707
if test "${lt_cv_nm_interface+set}" = set; then :
6114
5708
  $as_echo_n "(cached) " >&6
6115
5709
else
6116
5710
  lt_cv_nm_interface="BSD nm"
6117
5711
  echo "int some_variable = 0;" > conftest.$ac_ext
6118
 
  (eval echo "\"\$as_me:6118: $ac_compile\"" >&5)
 
5712
  (eval echo "\"\$as_me:5712: $ac_compile\"" >&5)
6119
5713
  (eval "$ac_compile" 2>conftest.err)
6120
5714
  cat conftest.err >&5
6121
 
  (eval echo "\"\$as_me:6121: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5715
  (eval echo "\"\$as_me:5715: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6122
5716
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6123
5717
  cat conftest.err >&5
6124
 
  (eval echo "\"\$as_me:6124: output\"" >&5)
 
5718
  (eval echo "\"\$as_me:5718: output\"" >&5)
6125
5719
  cat conftest.out >&5
6126
5720
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6127
5721
    lt_cv_nm_interface="MS dumpbin"
6128
5722
  fi
6129
5723
  rm -f conftest*
6130
5724
fi
6131
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6132
5726
$as_echo "$lt_cv_nm_interface" >&6; }
6133
5727
 
6134
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6135
5729
$as_echo_n "checking whether ln -s works... " >&6; }
6136
5730
LN_S=$as_ln_s
6137
5731
if test "$LN_S" = "ln -s"; then
6138
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6139
5733
$as_echo "yes" >&6; }
6140
5734
else
6141
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6142
5736
$as_echo "no, using $LN_S" >&6; }
6143
5737
fi
6144
5738
 
6145
5739
# find the maximum length of command line arguments
6146
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6147
5741
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6148
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5742
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6149
5743
  $as_echo_n "(cached) " >&6
6150
5744
else
6151
5745
    i=0
6263
5857
fi
6264
5858
 
6265
5859
if test -n $lt_cv_sys_max_cmd_len ; then
6266
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6267
5861
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6268
5862
else
6269
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6270
5864
$as_echo "none" >&6; }
6271
5865
fi
6272
5866
max_cmd_len=$lt_cv_sys_max_cmd_len
6280
5874
: ${MV="mv -f"}
6281
5875
: ${RM="rm -f"}
6282
5876
 
6283
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6284
5878
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6285
5879
# Try some XSI features
6286
5880
xsi_shell=no
6290
5884
    && eval 'test $(( 1 + 1 )) -eq 2 \
6291
5885
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6292
5886
  && xsi_shell=yes
6293
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6294
5888
$as_echo "$xsi_shell" >&6; }
6295
5889
 
6296
5890
 
6297
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6298
5892
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6299
5893
lt_shell_append=no
6300
5894
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6301
5895
    >/dev/null 2>&1 \
6302
5896
  && lt_shell_append=yes
6303
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6304
5898
$as_echo "$lt_shell_append" >&6; }
6305
5899
 
6306
5900
 
6335
5929
 
6336
5930
 
6337
5931
 
6338
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6339
5933
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6340
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5934
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6341
5935
  $as_echo_n "(cached) " >&6
6342
5936
else
6343
5937
  lt_cv_ld_reload_flag='-r'
6344
5938
fi
6345
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6346
5940
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6347
5941
reload_flag=$lt_cv_ld_reload_flag
6348
5942
case $reload_flag in
6371
5965
if test -n "$ac_tool_prefix"; then
6372
5966
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6373
5967
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6374
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375
5969
$as_echo_n "checking for $ac_word... " >&6; }
6376
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5970
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6377
5971
  $as_echo_n "(cached) " >&6
6378
5972
else
6379
5973
  if test -n "$OBJDUMP"; then
6384
5978
do
6385
5979
  IFS=$as_save_IFS
6386
5980
  test -z "$as_dir" && as_dir=.
6387
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5981
    for ac_exec_ext in '' $ac_executable_extensions; do
6388
5982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389
5983
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6390
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391
5985
    break 2
6392
5986
  fi
6393
5987
done
6394
 
done
 
5988
  done
6395
5989
IFS=$as_save_IFS
6396
5990
 
6397
5991
fi
6398
5992
fi
6399
5993
OBJDUMP=$ac_cv_prog_OBJDUMP
6400
5994
if test -n "$OBJDUMP"; then
6401
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6402
5996
$as_echo "$OBJDUMP" >&6; }
6403
5997
else
6404
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5998
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405
5999
$as_echo "no" >&6; }
6406
6000
fi
6407
6001
 
6411
6005
  ac_ct_OBJDUMP=$OBJDUMP
6412
6006
  # Extract the first word of "objdump", so it can be a program name with args.
6413
6007
set dummy objdump; ac_word=$2
6414
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415
6009
$as_echo_n "checking for $ac_word... " >&6; }
6416
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6010
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6417
6011
  $as_echo_n "(cached) " >&6
6418
6012
else
6419
6013
  if test -n "$ac_ct_OBJDUMP"; then
6424
6018
do
6425
6019
  IFS=$as_save_IFS
6426
6020
  test -z "$as_dir" && as_dir=.
6427
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6021
    for ac_exec_ext in '' $ac_executable_extensions; do
6428
6022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429
6023
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6430
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431
6025
    break 2
6432
6026
  fi
6433
6027
done
6434
 
done
 
6028
  done
6435
6029
IFS=$as_save_IFS
6436
6030
 
6437
6031
fi
6438
6032
fi
6439
6033
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6440
6034
if test -n "$ac_ct_OBJDUMP"; then
6441
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6442
6036
$as_echo "$ac_ct_OBJDUMP" >&6; }
6443
6037
else
6444
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445
6039
$as_echo "no" >&6; }
6446
6040
fi
6447
6041
 
6450
6044
  else
6451
6045
    case $cross_compiling:$ac_tool_warned in
6452
6046
yes:)
6453
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454
6048
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455
6049
ac_tool_warned=yes ;;
6456
6050
esac
6470
6064
 
6471
6065
 
6472
6066
 
6473
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6474
6068
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6475
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6069
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6476
6070
  $as_echo_n "(cached) " >&6
6477
6071
else
6478
6072
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6666
6260
esac
6667
6261
 
6668
6262
fi
6669
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6670
6264
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6671
6265
file_magic_cmd=$lt_cv_file_magic_cmd
6672
6266
deplibs_check_method=$lt_cv_deplibs_check_method
6686
6280
if test -n "$ac_tool_prefix"; then
6687
6281
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6688
6282
set dummy ${ac_tool_prefix}ar; ac_word=$2
6689
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690
6284
$as_echo_n "checking for $ac_word... " >&6; }
6691
 
if test "${ac_cv_prog_AR+set}" = set; then
 
6285
if test "${ac_cv_prog_AR+set}" = set; then :
6692
6286
  $as_echo_n "(cached) " >&6
6693
6287
else
6694
6288
  if test -n "$AR"; then
6699
6293
do
6700
6294
  IFS=$as_save_IFS
6701
6295
  test -z "$as_dir" && as_dir=.
6702
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6296
    for ac_exec_ext in '' $ac_executable_extensions; do
6703
6297
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704
6298
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6705
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6299
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706
6300
    break 2
6707
6301
  fi
6708
6302
done
6709
 
done
 
6303
  done
6710
6304
IFS=$as_save_IFS
6711
6305
 
6712
6306
fi
6713
6307
fi
6714
6308
AR=$ac_cv_prog_AR
6715
6309
if test -n "$AR"; then
6716
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6717
6311
$as_echo "$AR" >&6; }
6718
6312
else
6719
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720
6314
$as_echo "no" >&6; }
6721
6315
fi
6722
6316
 
6726
6320
  ac_ct_AR=$AR
6727
6321
  # Extract the first word of "ar", so it can be a program name with args.
6728
6322
set dummy ar; ac_word=$2
6729
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730
6324
$as_echo_n "checking for $ac_word... " >&6; }
6731
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6325
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6732
6326
  $as_echo_n "(cached) " >&6
6733
6327
else
6734
6328
  if test -n "$ac_ct_AR"; then
6739
6333
do
6740
6334
  IFS=$as_save_IFS
6741
6335
  test -z "$as_dir" && as_dir=.
6742
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6336
    for ac_exec_ext in '' $ac_executable_extensions; do
6743
6337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6744
6338
    ac_cv_prog_ac_ct_AR="ar"
6745
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746
6340
    break 2
6747
6341
  fi
6748
6342
done
6749
 
done
 
6343
  done
6750
6344
IFS=$as_save_IFS
6751
6345
 
6752
6346
fi
6753
6347
fi
6754
6348
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6755
6349
if test -n "$ac_ct_AR"; then
6756
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6757
6351
$as_echo "$ac_ct_AR" >&6; }
6758
6352
else
6759
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760
6354
$as_echo "no" >&6; }
6761
6355
fi
6762
6356
 
6765
6359
  else
6766
6360
    case $cross_compiling:$ac_tool_warned in
6767
6361
yes:)
6768
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6362
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6769
6363
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6770
6364
ac_tool_warned=yes ;;
6771
6365
esac
6791
6385
if test -n "$ac_tool_prefix"; then
6792
6386
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6793
6387
set dummy ${ac_tool_prefix}strip; ac_word=$2
6794
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795
6389
$as_echo_n "checking for $ac_word... " >&6; }
6796
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6390
if test "${ac_cv_prog_STRIP+set}" = set; then :
6797
6391
  $as_echo_n "(cached) " >&6
6798
6392
else
6799
6393
  if test -n "$STRIP"; then
6804
6398
do
6805
6399
  IFS=$as_save_IFS
6806
6400
  test -z "$as_dir" && as_dir=.
6807
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6401
    for ac_exec_ext in '' $ac_executable_extensions; do
6808
6402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809
6403
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6810
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6404
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811
6405
    break 2
6812
6406
  fi
6813
6407
done
6814
 
done
 
6408
  done
6815
6409
IFS=$as_save_IFS
6816
6410
 
6817
6411
fi
6818
6412
fi
6819
6413
STRIP=$ac_cv_prog_STRIP
6820
6414
if test -n "$STRIP"; then
6821
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6822
6416
$as_echo "$STRIP" >&6; }
6823
6417
else
6824
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825
6419
$as_echo "no" >&6; }
6826
6420
fi
6827
6421
 
6831
6425
  ac_ct_STRIP=$STRIP
6832
6426
  # Extract the first word of "strip", so it can be a program name with args.
6833
6427
set dummy strip; ac_word=$2
6834
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835
6429
$as_echo_n "checking for $ac_word... " >&6; }
6836
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6430
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6837
6431
  $as_echo_n "(cached) " >&6
6838
6432
else
6839
6433
  if test -n "$ac_ct_STRIP"; then
6844
6438
do
6845
6439
  IFS=$as_save_IFS
6846
6440
  test -z "$as_dir" && as_dir=.
6847
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6441
    for ac_exec_ext in '' $ac_executable_extensions; do
6848
6442
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6849
6443
    ac_cv_prog_ac_ct_STRIP="strip"
6850
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6444
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851
6445
    break 2
6852
6446
  fi
6853
6447
done
6854
 
done
 
6448
  done
6855
6449
IFS=$as_save_IFS
6856
6450
 
6857
6451
fi
6858
6452
fi
6859
6453
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6860
6454
if test -n "$ac_ct_STRIP"; then
6861
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6862
6456
$as_echo "$ac_ct_STRIP" >&6; }
6863
6457
else
6864
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865
6459
$as_echo "no" >&6; }
6866
6460
fi
6867
6461
 
6870
6464
  else
6871
6465
    case $cross_compiling:$ac_tool_warned in
6872
6466
yes:)
6873
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874
6468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875
6469
ac_tool_warned=yes ;;
6876
6470
esac
6890
6484
if test -n "$ac_tool_prefix"; then
6891
6485
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6892
6486
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6893
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894
6488
$as_echo_n "checking for $ac_word... " >&6; }
6895
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6489
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6896
6490
  $as_echo_n "(cached) " >&6
6897
6491
else
6898
6492
  if test -n "$RANLIB"; then
6903
6497
do
6904
6498
  IFS=$as_save_IFS
6905
6499
  test -z "$as_dir" && as_dir=.
6906
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6500
    for ac_exec_ext in '' $ac_executable_extensions; do
6907
6501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908
6502
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6909
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910
6504
    break 2
6911
6505
  fi
6912
6506
done
6913
 
done
 
6507
  done
6914
6508
IFS=$as_save_IFS
6915
6509
 
6916
6510
fi
6917
6511
fi
6918
6512
RANLIB=$ac_cv_prog_RANLIB
6919
6513
if test -n "$RANLIB"; then
6920
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6921
6515
$as_echo "$RANLIB" >&6; }
6922
6516
else
6923
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924
6518
$as_echo "no" >&6; }
6925
6519
fi
6926
6520
 
6930
6524
  ac_ct_RANLIB=$RANLIB
6931
6525
  # Extract the first word of "ranlib", so it can be a program name with args.
6932
6526
set dummy ranlib; ac_word=$2
6933
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934
6528
$as_echo_n "checking for $ac_word... " >&6; }
6935
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6529
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6936
6530
  $as_echo_n "(cached) " >&6
6937
6531
else
6938
6532
  if test -n "$ac_ct_RANLIB"; then
6943
6537
do
6944
6538
  IFS=$as_save_IFS
6945
6539
  test -z "$as_dir" && as_dir=.
6946
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6540
    for ac_exec_ext in '' $ac_executable_extensions; do
6947
6541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948
6542
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6949
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950
6544
    break 2
6951
6545
  fi
6952
6546
done
6953
 
done
 
6547
  done
6954
6548
IFS=$as_save_IFS
6955
6549
 
6956
6550
fi
6957
6551
fi
6958
6552
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6959
6553
if test -n "$ac_ct_RANLIB"; then
6960
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6961
6555
$as_echo "$ac_ct_RANLIB" >&6; }
6962
6556
else
6963
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964
6558
$as_echo "no" >&6; }
6965
6559
fi
6966
6560
 
6969
6563
  else
6970
6564
    case $cross_compiling:$ac_tool_warned in
6971
6565
yes:)
6972
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6566
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973
6567
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974
6568
ac_tool_warned=yes ;;
6975
6569
esac
7047
6641
 
7048
6642
 
7049
6643
# Check for command to grab the raw symbol name followed by C symbol from nm.
7050
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7051
6645
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7052
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6646
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7053
6647
  $as_echo_n "(cached) " >&6
7054
6648
else
7055
6649
 
7165
6759
int main(){nm_test_var='a';nm_test_func();return(0);}
7166
6760
_LT_EOF
7167
6761
 
7168
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6762
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169
6763
  (eval $ac_compile) 2>&5
7170
6764
  ac_status=$?
7171
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172
 
  (exit $ac_status); }; then
 
6765
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6766
  test $ac_status = 0; }; then
7173
6767
    # Now try to grab the symbols.
7174
6768
    nlist=conftest.nm
7175
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6769
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7176
6770
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7177
6771
  ac_status=$?
7178
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6772
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6773
  test $ac_status = 0; } && test -s "$nlist"; then
7180
6774
      # Try sorting and uniquifying the output.
7181
6775
      if sort "$nlist" | uniq > "$nlist"T; then
7182
6776
        mv -f "$nlist"T "$nlist"
7229
6823
          lt_save_CFLAGS="$CFLAGS"
7230
6824
          LIBS="conftstm.$ac_objext"
7231
6825
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7232
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6826
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7233
6827
  (eval $ac_link) 2>&5
7234
6828
  ac_status=$?
7235
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6829
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6830
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7237
6831
            pipe_works=yes
7238
6832
          fi
7239
6833
          LIBS="$lt_save_LIBS"
7267
6861
  lt_cv_sys_global_symbol_to_cdecl=
7268
6862
fi
7269
6863
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7270
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7271
6865
$as_echo "failed" >&6; }
7272
6866
else
7273
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7274
6868
$as_echo "ok" >&6; }
7275
6869
fi
7276
6870
 
7296
6890
 
7297
6891
 
7298
6892
# Check whether --enable-libtool-lock was given.
7299
 
if test "${enable_libtool_lock+set}" = set; then
 
6893
if test "${enable_libtool_lock+set}" = set; then :
7300
6894
  enableval=$enable_libtool_lock;
7301
6895
fi
7302
6896
 
7308
6902
ia64-*-hpux*)
7309
6903
  # Find out which ABI we are using.
7310
6904
  echo 'int i;' > conftest.$ac_ext
7311
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6905
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312
6906
  (eval $ac_compile) 2>&5
7313
6907
  ac_status=$?
7314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315
 
  (exit $ac_status); }; then
 
6908
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6909
  test $ac_status = 0; }; then
7316
6910
    case `/usr/bin/file conftest.$ac_objext` in
7317
6911
      *ELF-32*)
7318
6912
        HPUX_IA64_MODE="32"
7326
6920
  ;;
7327
6921
*-*-irix6*)
7328
6922
  # Find out which ABI we are using.
7329
 
  echo '#line 7329 "configure"' > conftest.$ac_ext
7330
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6923
  echo '#line 6923 "configure"' > conftest.$ac_ext
 
6924
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7331
6925
  (eval $ac_compile) 2>&5
7332
6926
  ac_status=$?
7333
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334
 
  (exit $ac_status); }; then
 
6927
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6928
  test $ac_status = 0; }; then
7335
6929
    if test "$lt_cv_prog_gnu_ld" = yes; then
7336
6930
      case `/usr/bin/file conftest.$ac_objext` in
7337
6931
        *32-bit*)
7365
6959
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7366
6960
  # Find out which ABI we are using.
7367
6961
  echo 'int i;' > conftest.$ac_ext
7368
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6962
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369
6963
  (eval $ac_compile) 2>&5
7370
6964
  ac_status=$?
7371
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372
 
  (exit $ac_status); }; then
 
6965
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6966
  test $ac_status = 0; }; then
7373
6967
    case `/usr/bin/file conftest.o` in
7374
6968
      *32-bit*)
7375
6969
        case $host in
7418
7012
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7419
7013
  SAVE_CFLAGS="$CFLAGS"
7420
7014
  CFLAGS="$CFLAGS -belf"
7421
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7015
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7422
7016
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7423
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7017
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7424
7018
  $as_echo_n "(cached) " >&6
7425
7019
else
7426
7020
  ac_ext=c
7429
7023
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430
7024
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7431
7025
 
7432
 
     cat >conftest.$ac_ext <<_ACEOF
7433
 
/* confdefs.h.  */
7434
 
_ACEOF
7435
 
cat confdefs.h >>conftest.$ac_ext
7436
 
cat >>conftest.$ac_ext <<_ACEOF
 
7026
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437
7027
/* end confdefs.h.  */
7438
7028
 
7439
7029
int
7444
7034
  return 0;
7445
7035
}
7446
7036
_ACEOF
7447
 
rm -f conftest.$ac_objext conftest$ac_exeext
7448
 
if { (ac_try="$ac_link"
7449
 
case "(($ac_try" in
7450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7451
 
  *) ac_try_echo=$ac_try;;
7452
 
esac
7453
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7454
 
$as_echo "$ac_try_echo") >&5
7455
 
  (eval "$ac_link") 2>conftest.er1
7456
 
  ac_status=$?
7457
 
  grep -v '^ *+' conftest.er1 >conftest.err
7458
 
  rm -f conftest.er1
7459
 
  cat conftest.err >&5
7460
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461
 
  (exit $ac_status); } && {
7462
 
         test -z "$ac_c_werror_flag" ||
7463
 
         test ! -s conftest.err
7464
 
       } && test -s conftest$ac_exeext && {
7465
 
         test "$cross_compiling" = yes ||
7466
 
         $as_test_x conftest$ac_exeext
7467
 
       }; then
 
7037
if ac_fn_c_try_link "$LINENO"; then :
7468
7038
  lt_cv_cc_needs_belf=yes
7469
7039
else
7470
 
  $as_echo "$as_me: failed program was:" >&5
7471
 
sed 's/^/| /' conftest.$ac_ext >&5
7472
 
 
7473
 
        lt_cv_cc_needs_belf=no
 
7040
  lt_cv_cc_needs_belf=no
7474
7041
fi
7475
 
 
7476
 
rm -rf conftest.dSYM
7477
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7478
 
      conftest$ac_exeext conftest.$ac_ext
 
7042
rm -f core conftest.err conftest.$ac_objext \
 
7043
    conftest$ac_exeext conftest.$ac_ext
7479
7044
     ac_ext=c
7480
7045
ac_cpp='$CPP $CPPFLAGS'
7481
7046
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7483
7048
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7484
7049
 
7485
7050
fi
7486
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7487
7052
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7488
7053
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7489
7054
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7493
7058
sparc*-*solaris*)
7494
7059
  # Find out which ABI we are using.
7495
7060
  echo 'int i;' > conftest.$ac_ext
7496
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7061
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7497
7062
  (eval $ac_compile) 2>&5
7498
7063
  ac_status=$?
7499
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500
 
  (exit $ac_status); }; then
 
7064
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7065
  test $ac_status = 0; }; then
7501
7066
    case `/usr/bin/file conftest.o` in
7502
7067
    *64-bit*)
7503
7068
      case $lt_cv_prog_gnu_ld in
7523
7088
    if test -n "$ac_tool_prefix"; then
7524
7089
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7525
7090
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7526
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527
7092
$as_echo_n "checking for $ac_word... " >&6; }
7528
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7093
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7529
7094
  $as_echo_n "(cached) " >&6
7530
7095
else
7531
7096
  if test -n "$DSYMUTIL"; then
7536
7101
do
7537
7102
  IFS=$as_save_IFS
7538
7103
  test -z "$as_dir" && as_dir=.
7539
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7104
    for ac_exec_ext in '' $ac_executable_extensions; do
7540
7105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7541
7106
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7542
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543
7108
    break 2
7544
7109
  fi
7545
7110
done
7546
 
done
 
7111
  done
7547
7112
IFS=$as_save_IFS
7548
7113
 
7549
7114
fi
7550
7115
fi
7551
7116
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7552
7117
if test -n "$DSYMUTIL"; then
7553
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7554
7119
$as_echo "$DSYMUTIL" >&6; }
7555
7120
else
7556
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557
7122
$as_echo "no" >&6; }
7558
7123
fi
7559
7124
 
7563
7128
  ac_ct_DSYMUTIL=$DSYMUTIL
7564
7129
  # Extract the first word of "dsymutil", so it can be a program name with args.
7565
7130
set dummy dsymutil; ac_word=$2
7566
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567
7132
$as_echo_n "checking for $ac_word... " >&6; }
7568
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7133
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7569
7134
  $as_echo_n "(cached) " >&6
7570
7135
else
7571
7136
  if test -n "$ac_ct_DSYMUTIL"; then
7576
7141
do
7577
7142
  IFS=$as_save_IFS
7578
7143
  test -z "$as_dir" && as_dir=.
7579
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7144
    for ac_exec_ext in '' $ac_executable_extensions; do
7580
7145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7581
7146
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7582
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583
7148
    break 2
7584
7149
  fi
7585
7150
done
7586
 
done
 
7151
  done
7587
7152
IFS=$as_save_IFS
7588
7153
 
7589
7154
fi
7590
7155
fi
7591
7156
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7592
7157
if test -n "$ac_ct_DSYMUTIL"; then
7593
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7594
7159
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7595
7160
else
7596
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597
7162
$as_echo "no" >&6; }
7598
7163
fi
7599
7164
 
7602
7167
  else
7603
7168
    case $cross_compiling:$ac_tool_warned in
7604
7169
yes:)
7605
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7170
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7606
7171
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7607
7172
ac_tool_warned=yes ;;
7608
7173
esac
7615
7180
    if test -n "$ac_tool_prefix"; then
7616
7181
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7617
7182
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7618
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619
7184
$as_echo_n "checking for $ac_word... " >&6; }
7620
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7185
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7621
7186
  $as_echo_n "(cached) " >&6
7622
7187
else
7623
7188
  if test -n "$NMEDIT"; then
7628
7193
do
7629
7194
  IFS=$as_save_IFS
7630
7195
  test -z "$as_dir" && as_dir=.
7631
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7196
    for ac_exec_ext in '' $ac_executable_extensions; do
7632
7197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7633
7198
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7634
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7199
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635
7200
    break 2
7636
7201
  fi
7637
7202
done
7638
 
done
 
7203
  done
7639
7204
IFS=$as_save_IFS
7640
7205
 
7641
7206
fi
7642
7207
fi
7643
7208
NMEDIT=$ac_cv_prog_NMEDIT
7644
7209
if test -n "$NMEDIT"; then
7645
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7646
7211
$as_echo "$NMEDIT" >&6; }
7647
7212
else
7648
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649
7214
$as_echo "no" >&6; }
7650
7215
fi
7651
7216
 
7655
7220
  ac_ct_NMEDIT=$NMEDIT
7656
7221
  # Extract the first word of "nmedit", so it can be a program name with args.
7657
7222
set dummy nmedit; ac_word=$2
7658
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7659
7224
$as_echo_n "checking for $ac_word... " >&6; }
7660
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7225
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7661
7226
  $as_echo_n "(cached) " >&6
7662
7227
else
7663
7228
  if test -n "$ac_ct_NMEDIT"; then
7668
7233
do
7669
7234
  IFS=$as_save_IFS
7670
7235
  test -z "$as_dir" && as_dir=.
7671
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7236
    for ac_exec_ext in '' $ac_executable_extensions; do
7672
7237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7673
7238
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7674
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7675
7240
    break 2
7676
7241
  fi
7677
7242
done
7678
 
done
 
7243
  done
7679
7244
IFS=$as_save_IFS
7680
7245
 
7681
7246
fi
7682
7247
fi
7683
7248
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7684
7249
if test -n "$ac_ct_NMEDIT"; then
7685
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7686
7251
$as_echo "$ac_ct_NMEDIT" >&6; }
7687
7252
else
7688
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7689
7254
$as_echo "no" >&6; }
7690
7255
fi
7691
7256
 
7694
7259
  else
7695
7260
    case $cross_compiling:$ac_tool_warned in
7696
7261
yes:)
7697
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7262
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7698
7263
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7699
7264
ac_tool_warned=yes ;;
7700
7265
esac
7707
7272
    if test -n "$ac_tool_prefix"; then
7708
7273
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7709
7274
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7710
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7711
7276
$as_echo_n "checking for $ac_word... " >&6; }
7712
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7277
if test "${ac_cv_prog_LIPO+set}" = set; then :
7713
7278
  $as_echo_n "(cached) " >&6
7714
7279
else
7715
7280
  if test -n "$LIPO"; then
7720
7285
do
7721
7286
  IFS=$as_save_IFS
7722
7287
  test -z "$as_dir" && as_dir=.
7723
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7288
    for ac_exec_ext in '' $ac_executable_extensions; do
7724
7289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7725
7290
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7726
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7727
7292
    break 2
7728
7293
  fi
7729
7294
done
7730
 
done
 
7295
  done
7731
7296
IFS=$as_save_IFS
7732
7297
 
7733
7298
fi
7734
7299
fi
7735
7300
LIPO=$ac_cv_prog_LIPO
7736
7301
if test -n "$LIPO"; then
7737
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7738
7303
$as_echo "$LIPO" >&6; }
7739
7304
else
7740
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7741
7306
$as_echo "no" >&6; }
7742
7307
fi
7743
7308
 
7747
7312
  ac_ct_LIPO=$LIPO
7748
7313
  # Extract the first word of "lipo", so it can be a program name with args.
7749
7314
set dummy lipo; ac_word=$2
7750
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751
7316
$as_echo_n "checking for $ac_word... " >&6; }
7752
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7317
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7753
7318
  $as_echo_n "(cached) " >&6
7754
7319
else
7755
7320
  if test -n "$ac_ct_LIPO"; then
7760
7325
do
7761
7326
  IFS=$as_save_IFS
7762
7327
  test -z "$as_dir" && as_dir=.
7763
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7328
    for ac_exec_ext in '' $ac_executable_extensions; do
7764
7329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7765
7330
    ac_cv_prog_ac_ct_LIPO="lipo"
7766
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7331
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7767
7332
    break 2
7768
7333
  fi
7769
7334
done
7770
 
done
 
7335
  done
7771
7336
IFS=$as_save_IFS
7772
7337
 
7773
7338
fi
7774
7339
fi
7775
7340
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7776
7341
if test -n "$ac_ct_LIPO"; then
7777
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7778
7343
$as_echo "$ac_ct_LIPO" >&6; }
7779
7344
else
7780
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781
7346
$as_echo "no" >&6; }
7782
7347
fi
7783
7348
 
7786
7351
  else
7787
7352
    case $cross_compiling:$ac_tool_warned in
7788
7353
yes:)
7789
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7354
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7790
7355
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7791
7356
ac_tool_warned=yes ;;
7792
7357
esac
7799
7364
    if test -n "$ac_tool_prefix"; then
7800
7365
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7801
7366
set dummy ${ac_tool_prefix}otool; ac_word=$2
7802
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803
7368
$as_echo_n "checking for $ac_word... " >&6; }
7804
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7369
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7805
7370
  $as_echo_n "(cached) " >&6
7806
7371
else
7807
7372
  if test -n "$OTOOL"; then
7812
7377
do
7813
7378
  IFS=$as_save_IFS
7814
7379
  test -z "$as_dir" && as_dir=.
7815
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7380
    for ac_exec_ext in '' $ac_executable_extensions; do
7816
7381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7817
7382
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7818
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7383
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819
7384
    break 2
7820
7385
  fi
7821
7386
done
7822
 
done
 
7387
  done
7823
7388
IFS=$as_save_IFS
7824
7389
 
7825
7390
fi
7826
7391
fi
7827
7392
OTOOL=$ac_cv_prog_OTOOL
7828
7393
if test -n "$OTOOL"; then
7829
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7394
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7830
7395
$as_echo "$OTOOL" >&6; }
7831
7396
else
7832
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833
7398
$as_echo "no" >&6; }
7834
7399
fi
7835
7400
 
7839
7404
  ac_ct_OTOOL=$OTOOL
7840
7405
  # Extract the first word of "otool", so it can be a program name with args.
7841
7406
set dummy otool; ac_word=$2
7842
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843
7408
$as_echo_n "checking for $ac_word... " >&6; }
7844
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7409
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7845
7410
  $as_echo_n "(cached) " >&6
7846
7411
else
7847
7412
  if test -n "$ac_ct_OTOOL"; then
7852
7417
do
7853
7418
  IFS=$as_save_IFS
7854
7419
  test -z "$as_dir" && as_dir=.
7855
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7420
    for ac_exec_ext in '' $ac_executable_extensions; do
7856
7421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7857
7422
    ac_cv_prog_ac_ct_OTOOL="otool"
7858
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7423
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7859
7424
    break 2
7860
7425
  fi
7861
7426
done
7862
 
done
 
7427
  done
7863
7428
IFS=$as_save_IFS
7864
7429
 
7865
7430
fi
7866
7431
fi
7867
7432
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7868
7433
if test -n "$ac_ct_OTOOL"; then
7869
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7870
7435
$as_echo "$ac_ct_OTOOL" >&6; }
7871
7436
else
7872
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873
7438
$as_echo "no" >&6; }
7874
7439
fi
7875
7440
 
7878
7443
  else
7879
7444
    case $cross_compiling:$ac_tool_warned in
7880
7445
yes:)
7881
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7446
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7882
7447
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7883
7448
ac_tool_warned=yes ;;
7884
7449
esac
7891
7456
    if test -n "$ac_tool_prefix"; then
7892
7457
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7893
7458
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7894
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895
7460
$as_echo_n "checking for $ac_word... " >&6; }
7896
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7461
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7897
7462
  $as_echo_n "(cached) " >&6
7898
7463
else
7899
7464
  if test -n "$OTOOL64"; then
7904
7469
do
7905
7470
  IFS=$as_save_IFS
7906
7471
  test -z "$as_dir" && as_dir=.
7907
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7472
    for ac_exec_ext in '' $ac_executable_extensions; do
7908
7473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7909
7474
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7910
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7475
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911
7476
    break 2
7912
7477
  fi
7913
7478
done
7914
 
done
 
7479
  done
7915
7480
IFS=$as_save_IFS
7916
7481
 
7917
7482
fi
7918
7483
fi
7919
7484
OTOOL64=$ac_cv_prog_OTOOL64
7920
7485
if test -n "$OTOOL64"; then
7921
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7922
7487
$as_echo "$OTOOL64" >&6; }
7923
7488
else
7924
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925
7490
$as_echo "no" >&6; }
7926
7491
fi
7927
7492
 
7931
7496
  ac_ct_OTOOL64=$OTOOL64
7932
7497
  # Extract the first word of "otool64", so it can be a program name with args.
7933
7498
set dummy otool64; ac_word=$2
7934
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935
7500
$as_echo_n "checking for $ac_word... " >&6; }
7936
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7501
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7937
7502
  $as_echo_n "(cached) " >&6
7938
7503
else
7939
7504
  if test -n "$ac_ct_OTOOL64"; then
7944
7509
do
7945
7510
  IFS=$as_save_IFS
7946
7511
  test -z "$as_dir" && as_dir=.
7947
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7512
    for ac_exec_ext in '' $ac_executable_extensions; do
7948
7513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7949
7514
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7950
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7515
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951
7516
    break 2
7952
7517
  fi
7953
7518
done
7954
 
done
 
7519
  done
7955
7520
IFS=$as_save_IFS
7956
7521
 
7957
7522
fi
7958
7523
fi
7959
7524
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7960
7525
if test -n "$ac_ct_OTOOL64"; then
7961
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7962
7527
$as_echo "$ac_ct_OTOOL64" >&6; }
7963
7528
else
7964
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965
7530
$as_echo "no" >&6; }
7966
7531
fi
7967
7532
 
7970
7535
  else
7971
7536
    case $cross_compiling:$ac_tool_warned in
7972
7537
yes:)
7973
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7974
7539
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7975
7540
ac_tool_warned=yes ;;
7976
7541
esac
8006
7571
 
8007
7572
 
8008
7573
 
8009
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7574
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8010
7575
$as_echo_n "checking for -single_module linker flag... " >&6; }
8011
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7576
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8012
7577
  $as_echo_n "(cached) " >&6
8013
7578
else
8014
7579
  lt_cv_apple_cc_single_mod=no
8033
7598
        rm -f conftest.*
8034
7599
      fi
8035
7600
fi
8036
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8037
7602
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8038
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7603
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8039
7604
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8040
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7605
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8041
7606
  $as_echo_n "(cached) " >&6
8042
7607
else
8043
7608
  lt_cv_ld_exported_symbols_list=no
8044
7609
      save_LDFLAGS=$LDFLAGS
8045
7610
      echo "_main" > conftest.sym
8046
7611
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8047
 
      cat >conftest.$ac_ext <<_ACEOF
8048
 
/* confdefs.h.  */
8049
 
_ACEOF
8050
 
cat confdefs.h >>conftest.$ac_ext
8051
 
cat >>conftest.$ac_ext <<_ACEOF
 
7612
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8052
7613
/* end confdefs.h.  */
8053
7614
 
8054
7615
int
8059
7620
  return 0;
8060
7621
}
8061
7622
_ACEOF
8062
 
rm -f conftest.$ac_objext conftest$ac_exeext
8063
 
if { (ac_try="$ac_link"
8064
 
case "(($ac_try" in
8065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8066
 
  *) ac_try_echo=$ac_try;;
8067
 
esac
8068
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8069
 
$as_echo "$ac_try_echo") >&5
8070
 
  (eval "$ac_link") 2>conftest.er1
8071
 
  ac_status=$?
8072
 
  grep -v '^ *+' conftest.er1 >conftest.err
8073
 
  rm -f conftest.er1
8074
 
  cat conftest.err >&5
8075
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076
 
  (exit $ac_status); } && {
8077
 
         test -z "$ac_c_werror_flag" ||
8078
 
         test ! -s conftest.err
8079
 
       } && test -s conftest$ac_exeext && {
8080
 
         test "$cross_compiling" = yes ||
8081
 
         $as_test_x conftest$ac_exeext
8082
 
       }; then
 
7623
if ac_fn_c_try_link "$LINENO"; then :
8083
7624
  lt_cv_ld_exported_symbols_list=yes
8084
7625
else
8085
 
  $as_echo "$as_me: failed program was:" >&5
8086
 
sed 's/^/| /' conftest.$ac_ext >&5
8087
 
 
8088
 
        lt_cv_ld_exported_symbols_list=no
 
7626
  lt_cv_ld_exported_symbols_list=no
8089
7627
fi
8090
 
 
8091
 
rm -rf conftest.dSYM
8092
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8093
 
      conftest$ac_exeext conftest.$ac_ext
 
7628
rm -f core conftest.err conftest.$ac_objext \
 
7629
    conftest$ac_exeext conftest.$ac_ext
8094
7630
        LDFLAGS="$save_LDFLAGS"
8095
7631
 
8096
7632
fi
8097
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8098
7634
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8099
7635
    case $host_os in
8100
7636
    rhapsody* | darwin1.[012])
8131
7667
    ;;
8132
7668
  esac
8133
7669
 
8134
 
 
8135
7670
for ac_header in dlfcn.h
8136
 
do
8137
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8138
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8139
 
$as_echo_n "checking for $ac_header... " >&6; }
8140
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8141
 
  $as_echo_n "(cached) " >&6
8142
 
else
8143
 
  cat >conftest.$ac_ext <<_ACEOF
8144
 
/* confdefs.h.  */
8145
 
_ACEOF
8146
 
cat confdefs.h >>conftest.$ac_ext
8147
 
cat >>conftest.$ac_ext <<_ACEOF
8148
 
/* end confdefs.h.  */
8149
 
$ac_includes_default
8150
 
 
8151
 
#include <$ac_header>
8152
 
_ACEOF
8153
 
rm -f conftest.$ac_objext
8154
 
if { (ac_try="$ac_compile"
8155
 
case "(($ac_try" in
8156
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8157
 
  *) ac_try_echo=$ac_try;;
8158
 
esac
8159
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8160
 
$as_echo "$ac_try_echo") >&5
8161
 
  (eval "$ac_compile") 2>conftest.er1
8162
 
  ac_status=$?
8163
 
  grep -v '^ *+' conftest.er1 >conftest.err
8164
 
  rm -f conftest.er1
8165
 
  cat conftest.err >&5
8166
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167
 
  (exit $ac_status); } && {
8168
 
         test -z "$ac_c_werror_flag" ||
8169
 
         test ! -s conftest.err
8170
 
       } && test -s conftest.$ac_objext; then
8171
 
  eval "$as_ac_Header=yes"
8172
 
else
8173
 
  $as_echo "$as_me: failed program was:" >&5
8174
 
sed 's/^/| /' conftest.$ac_ext >&5
8175
 
 
8176
 
        eval "$as_ac_Header=no"
8177
 
fi
8178
 
 
8179
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8180
 
fi
8181
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8182
 
                 $as_echo "$as_val"'`
8183
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8184
 
$as_echo "$ac_res" >&6; }
8185
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8186
 
                 $as_echo "$as_val"'`
8187
 
   if test "x$as_val" = x""yes; then
 
7671
do :
 
7672
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7673
"
 
7674
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8188
7675
  cat >>confdefs.h <<_ACEOF
8189
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7676
#define HAVE_DLFCN_H 1
8190
7677
_ACEOF
8191
7678
 
8192
7679
fi
8206
7693
 
8207
7694
 
8208
7695
            # Check whether --enable-shared was given.
8209
 
if test "${enable_shared+set}" = set; then
 
7696
if test "${enable_shared+set}" = set; then :
8210
7697
  enableval=$enable_shared; p=${PACKAGE-default}
8211
7698
    case $enableval in
8212
7699
    yes) enable_shared=yes ;;
8237
7724
 
8238
7725
 
8239
7726
  # Check whether --enable-static was given.
8240
 
if test "${enable_static+set}" = set; then
 
7727
if test "${enable_static+set}" = set; then :
8241
7728
  enableval=$enable_static; p=${PACKAGE-default}
8242
7729
    case $enableval in
8243
7730
    yes) enable_static=yes ;;
8269
7756
 
8270
7757
 
8271
7758
# Check whether --with-pic was given.
8272
 
if test "${with_pic+set}" = set; then
 
7759
if test "${with_pic+set}" = set; then :
8273
7760
  withval=$with_pic; pic_mode="$withval"
8274
7761
else
8275
7762
  pic_mode=default
8285
7772
 
8286
7773
 
8287
7774
  # Check whether --enable-fast-install was given.
8288
 
if test "${enable_fast_install+set}" = set; then
 
7775
if test "${enable_fast_install+set}" = set; then :
8289
7776
  enableval=$enable_fast_install; p=${PACKAGE-default}
8290
7777
    case $enableval in
8291
7778
    yes) enable_fast_install=yes ;;
8366
7853
   setopt NO_GLOB_SUBST
8367
7854
fi
8368
7855
 
8369
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8370
7857
$as_echo_n "checking for objdir... " >&6; }
8371
 
if test "${lt_cv_objdir+set}" = set; then
 
7858
if test "${lt_cv_objdir+set}" = set; then :
8372
7859
  $as_echo_n "(cached) " >&6
8373
7860
else
8374
7861
  rm -f .libs 2>/dev/null
8381
7868
fi
8382
7869
rmdir .libs 2>/dev/null
8383
7870
fi
8384
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8385
7872
$as_echo "$lt_cv_objdir" >&6; }
8386
7873
objdir=$lt_cv_objdir
8387
7874
 
8474
7961
case $deplibs_check_method in
8475
7962
file_magic*)
8476
7963
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8477
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7964
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8478
7965
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8479
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7966
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8480
7967
  $as_echo_n "(cached) " >&6
8481
7968
else
8482
7969
  case $MAGIC_CMD in
8527
8014
 
8528
8015
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8529
8016
if test -n "$MAGIC_CMD"; then
8530
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8017
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8531
8018
$as_echo "$MAGIC_CMD" >&6; }
8532
8019
else
8533
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8020
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8534
8021
$as_echo "no" >&6; }
8535
8022
fi
8536
8023
 
8540
8027
 
8541
8028
if test -z "$lt_cv_path_MAGIC_CMD"; then
8542
8029
  if test -n "$ac_tool_prefix"; then
8543
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8030
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8544
8031
$as_echo_n "checking for file... " >&6; }
8545
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8032
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8546
8033
  $as_echo_n "(cached) " >&6
8547
8034
else
8548
8035
  case $MAGIC_CMD in
8593
8080
 
8594
8081
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8595
8082
if test -n "$MAGIC_CMD"; then
8596
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8597
8084
$as_echo "$MAGIC_CMD" >&6; }
8598
8085
else
8599
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8086
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8600
8087
$as_echo "no" >&6; }
8601
8088
fi
8602
8089
 
8677
8164
if test "$GCC" = yes; then
8678
8165
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8679
8166
 
8680
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8167
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8681
8168
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8682
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8169
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8683
8170
  $as_echo_n "(cached) " >&6
8684
8171
else
8685
8172
  lt_cv_prog_compiler_rtti_exceptions=no
8695
8182
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8696
8183
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8697
8184
   -e 's:$: $lt_compiler_flag:'`
8698
 
   (eval echo "\"\$as_me:8698: $lt_compile\"" >&5)
 
8185
   (eval echo "\"\$as_me:8185: $lt_compile\"" >&5)
8699
8186
   (eval "$lt_compile" 2>conftest.err)
8700
8187
   ac_status=$?
8701
8188
   cat conftest.err >&5
8702
 
   echo "$as_me:8702: \$? = $ac_status" >&5
 
8189
   echo "$as_me:8189: \$? = $ac_status" >&5
8703
8190
   if (exit $ac_status) && test -s "$ac_outfile"; then
8704
8191
     # The compiler can only warn and ignore the option if not recognized
8705
8192
     # So say no if there are warnings other than the usual output.
8712
8199
   $RM conftest*
8713
8200
 
8714
8201
fi
8715
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8716
8203
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8717
8204
 
8718
8205
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8732
8219
lt_prog_compiler_pic=
8733
8220
lt_prog_compiler_static=
8734
8221
 
8735
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8736
8223
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8737
8224
 
8738
8225
  if test "$GCC" = yes; then
9004
8491
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9005
8492
    ;;
9006
8493
esac
9007
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9008
8495
$as_echo "$lt_prog_compiler_pic" >&6; }
9009
8496
 
9010
8497
 
9016
8503
# Check to make sure the PIC flag actually works.
9017
8504
#
9018
8505
if test -n "$lt_prog_compiler_pic"; then
9019
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8506
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9020
8507
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9021
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8508
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9022
8509
  $as_echo_n "(cached) " >&6
9023
8510
else
9024
8511
  lt_cv_prog_compiler_pic_works=no
9034
8521
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9035
8522
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9036
8523
   -e 's:$: $lt_compiler_flag:'`
9037
 
   (eval echo "\"\$as_me:9037: $lt_compile\"" >&5)
 
8524
   (eval echo "\"\$as_me:8524: $lt_compile\"" >&5)
9038
8525
   (eval "$lt_compile" 2>conftest.err)
9039
8526
   ac_status=$?
9040
8527
   cat conftest.err >&5
9041
 
   echo "$as_me:9041: \$? = $ac_status" >&5
 
8528
   echo "$as_me:8528: \$? = $ac_status" >&5
9042
8529
   if (exit $ac_status) && test -s "$ac_outfile"; then
9043
8530
     # The compiler can only warn and ignore the option if not recognized
9044
8531
     # So say no if there are warnings other than the usual output.
9051
8538
   $RM conftest*
9052
8539
 
9053
8540
fi
9054
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9055
8542
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9056
8543
 
9057
8544
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9075
8562
# Check to make sure the static flag actually works.
9076
8563
#
9077
8564
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9078
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9079
8566
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9080
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8567
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9081
8568
  $as_echo_n "(cached) " >&6
9082
8569
else
9083
8570
  lt_cv_prog_compiler_static_works=no
9103
8590
   LDFLAGS="$save_LDFLAGS"
9104
8591
 
9105
8592
fi
9106
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9107
8594
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9108
8595
 
9109
8596
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9118
8605
 
9119
8606
 
9120
8607
 
9121
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8608
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9122
8609
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9123
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8610
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9124
8611
  $as_echo_n "(cached) " >&6
9125
8612
else
9126
8613
  lt_cv_prog_compiler_c_o=no
9139
8626
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9140
8627
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9141
8628
   -e 's:$: $lt_compiler_flag:'`
9142
 
   (eval echo "\"\$as_me:9142: $lt_compile\"" >&5)
 
8629
   (eval echo "\"\$as_me:8629: $lt_compile\"" >&5)
9143
8630
   (eval "$lt_compile" 2>out/conftest.err)
9144
8631
   ac_status=$?
9145
8632
   cat out/conftest.err >&5
9146
 
   echo "$as_me:9146: \$? = $ac_status" >&5
 
8633
   echo "$as_me:8633: \$? = $ac_status" >&5
9147
8634
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9148
8635
   then
9149
8636
     # The compiler can only warn and ignore the option if not recognized
9165
8652
   $RM conftest*
9166
8653
 
9167
8654
fi
9168
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9169
8656
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9170
8657
 
9171
8658
 
9173
8660
 
9174
8661
 
9175
8662
 
9176
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8663
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9177
8664
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9178
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8665
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9179
8666
  $as_echo_n "(cached) " >&6
9180
8667
else
9181
8668
  lt_cv_prog_compiler_c_o=no
9194
8681
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9195
8682
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9196
8683
   -e 's:$: $lt_compiler_flag:'`
9197
 
   (eval echo "\"\$as_me:9197: $lt_compile\"" >&5)
 
8684
   (eval echo "\"\$as_me:8684: $lt_compile\"" >&5)
9198
8685
   (eval "$lt_compile" 2>out/conftest.err)
9199
8686
   ac_status=$?
9200
8687
   cat out/conftest.err >&5
9201
 
   echo "$as_me:9201: \$? = $ac_status" >&5
 
8688
   echo "$as_me:8688: \$? = $ac_status" >&5
9202
8689
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9203
8690
   then
9204
8691
     # The compiler can only warn and ignore the option if not recognized
9220
8707
   $RM conftest*
9221
8708
 
9222
8709
fi
9223
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9224
8711
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9225
8712
 
9226
8713
 
9229
8716
hard_links="nottested"
9230
8717
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9231
8718
  # do not overwrite the value of need_locks provided by the user
9232
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9233
8720
$as_echo_n "checking if we can lock with hard links... " >&6; }
9234
8721
  hard_links=yes
9235
8722
  $RM conftest*
9237
8724
  touch conftest.a
9238
8725
  ln conftest.a conftest.b 2>&5 || hard_links=no
9239
8726
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9240
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9241
8728
$as_echo "$hard_links" >&6; }
9242
8729
  if test "$hard_links" = no; then
9243
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8730
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9244
8731
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9245
8732
    need_locks=warn
9246
8733
  fi
9253
8740
 
9254
8741
 
9255
8742
 
9256
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8743
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9257
8744
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9258
8745
 
9259
8746
  runpath_var=
9695
9182
        allow_undefined_flag='-berok'
9696
9183
        # Determine the default libpath from the value encoded in an
9697
9184
        # empty executable.
9698
 
        cat >conftest.$ac_ext <<_ACEOF
9699
 
/* confdefs.h.  */
9700
 
_ACEOF
9701
 
cat confdefs.h >>conftest.$ac_ext
9702
 
cat >>conftest.$ac_ext <<_ACEOF
 
9185
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703
9186
/* end confdefs.h.  */
9704
9187
 
9705
9188
int
9710
9193
  return 0;
9711
9194
}
9712
9195
_ACEOF
9713
 
rm -f conftest.$ac_objext conftest$ac_exeext
9714
 
if { (ac_try="$ac_link"
9715
 
case "(($ac_try" in
9716
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9717
 
  *) ac_try_echo=$ac_try;;
9718
 
esac
9719
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9720
 
$as_echo "$ac_try_echo") >&5
9721
 
  (eval "$ac_link") 2>conftest.er1
9722
 
  ac_status=$?
9723
 
  grep -v '^ *+' conftest.er1 >conftest.err
9724
 
  rm -f conftest.er1
9725
 
  cat conftest.err >&5
9726
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727
 
  (exit $ac_status); } && {
9728
 
         test -z "$ac_c_werror_flag" ||
9729
 
         test ! -s conftest.err
9730
 
       } && test -s conftest$ac_exeext && {
9731
 
         test "$cross_compiling" = yes ||
9732
 
         $as_test_x conftest$ac_exeext
9733
 
       }; then
 
9196
if ac_fn_c_try_link "$LINENO"; then :
9734
9197
 
9735
9198
lt_aix_libpath_sed='
9736
9199
    /Import File Strings/,/^$/ {
9744
9207
if test -z "$aix_libpath"; then
9745
9208
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9746
9209
fi
9747
 
else
9748
 
  $as_echo "$as_me: failed program was:" >&5
9749
 
sed 's/^/| /' conftest.$ac_ext >&5
9750
 
 
9751
 
 
9752
9210
fi
9753
 
 
9754
 
rm -rf conftest.dSYM
9755
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9756
 
      conftest$ac_exeext conftest.$ac_ext
 
9211
rm -f core conftest.err conftest.$ac_objext \
 
9212
    conftest$ac_exeext conftest.$ac_ext
9757
9213
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9758
9214
 
9759
9215
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9766
9222
        else
9767
9223
         # Determine the default libpath from the value encoded in an
9768
9224
         # empty executable.
9769
 
         cat >conftest.$ac_ext <<_ACEOF
9770
 
/* confdefs.h.  */
9771
 
_ACEOF
9772
 
cat confdefs.h >>conftest.$ac_ext
9773
 
cat >>conftest.$ac_ext <<_ACEOF
 
9225
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774
9226
/* end confdefs.h.  */
9775
9227
 
9776
9228
int
9781
9233
  return 0;
9782
9234
}
9783
9235
_ACEOF
9784
 
rm -f conftest.$ac_objext conftest$ac_exeext
9785
 
if { (ac_try="$ac_link"
9786
 
case "(($ac_try" in
9787
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9788
 
  *) ac_try_echo=$ac_try;;
9789
 
esac
9790
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9791
 
$as_echo "$ac_try_echo") >&5
9792
 
  (eval "$ac_link") 2>conftest.er1
9793
 
  ac_status=$?
9794
 
  grep -v '^ *+' conftest.er1 >conftest.err
9795
 
  rm -f conftest.er1
9796
 
  cat conftest.err >&5
9797
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798
 
  (exit $ac_status); } && {
9799
 
         test -z "$ac_c_werror_flag" ||
9800
 
         test ! -s conftest.err
9801
 
       } && test -s conftest$ac_exeext && {
9802
 
         test "$cross_compiling" = yes ||
9803
 
         $as_test_x conftest$ac_exeext
9804
 
       }; then
 
9236
if ac_fn_c_try_link "$LINENO"; then :
9805
9237
 
9806
9238
lt_aix_libpath_sed='
9807
9239
    /Import File Strings/,/^$/ {
9815
9247
if test -z "$aix_libpath"; then
9816
9248
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9817
9249
fi
9818
 
else
9819
 
  $as_echo "$as_me: failed program was:" >&5
9820
 
sed 's/^/| /' conftest.$ac_ext >&5
9821
 
 
9822
 
 
9823
9250
fi
9824
 
 
9825
 
rm -rf conftest.dSYM
9826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9827
 
      conftest$ac_exeext conftest.$ac_ext
 
9251
rm -f core conftest.err conftest.$ac_objext \
 
9252
    conftest$ac_exeext conftest.$ac_ext
9828
9253
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9829
9254
 
9830
9255
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10036
9461
        # implicitly export all symbols.
10037
9462
        save_LDFLAGS="$LDFLAGS"
10038
9463
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10039
 
        cat >conftest.$ac_ext <<_ACEOF
 
9464
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9465
/* end confdefs.h.  */
10040
9466
int foo(void) {}
10041
9467
_ACEOF
10042
 
rm -f conftest.$ac_objext conftest$ac_exeext
10043
 
if { (ac_try="$ac_link"
10044
 
case "(($ac_try" in
10045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046
 
  *) ac_try_echo=$ac_try;;
10047
 
esac
10048
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10049
 
$as_echo "$ac_try_echo") >&5
10050
 
  (eval "$ac_link") 2>conftest.er1
10051
 
  ac_status=$?
10052
 
  grep -v '^ *+' conftest.er1 >conftest.err
10053
 
  rm -f conftest.er1
10054
 
  cat conftest.err >&5
10055
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056
 
  (exit $ac_status); } && {
10057
 
         test -z "$ac_c_werror_flag" ||
10058
 
         test ! -s conftest.err
10059
 
       } && test -s conftest$ac_exeext && {
10060
 
         test "$cross_compiling" = yes ||
10061
 
         $as_test_x conftest$ac_exeext
10062
 
       }; then
 
9468
if ac_fn_c_try_link "$LINENO"; then :
10063
9469
  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'
10064
9470
 
10065
 
else
10066
 
  $as_echo "$as_me: failed program was:" >&5
10067
 
sed 's/^/| /' conftest.$ac_ext >&5
10068
 
 
10069
 
 
10070
9471
fi
10071
 
 
10072
 
rm -rf conftest.dSYM
10073
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10074
 
      conftest$ac_exeext conftest.$ac_ext
 
9472
rm -f core conftest.err conftest.$ac_objext \
 
9473
    conftest$ac_exeext conftest.$ac_ext
10075
9474
        LDFLAGS="$save_LDFLAGS"
10076
9475
      else
10077
9476
        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'
10327
9726
    fi
10328
9727
  fi
10329
9728
 
10330
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10331
9730
$as_echo "$ld_shlibs" >&6; }
10332
9731
test "$ld_shlibs" = no && can_build_shared=no
10333
9732
 
10364
9763
      # Test whether the compiler implicitly links with -lc since on some
10365
9764
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10366
9765
      # to ld, don't add -lc before -lgcc.
10367
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9766
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10368
9767
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10369
9768
      $RM conftest*
10370
9769
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10371
9770
 
10372
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9771
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10373
9772
  (eval $ac_compile) 2>&5
10374
9773
  ac_status=$?
10375
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376
 
  (exit $ac_status); } 2>conftest.err; then
 
9774
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9775
  test $ac_status = 0; } 2>conftest.err; then
10377
9776
        soname=conftest
10378
9777
        lib=conftest
10379
9778
        libobjs=conftest.$ac_objext
10387
9786
        libname=conftest
10388
9787
        lt_save_allow_undefined_flag=$allow_undefined_flag
10389
9788
        allow_undefined_flag=
10390
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9789
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10391
9790
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10392
9791
  ac_status=$?
10393
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394
 
  (exit $ac_status); }
 
9792
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9793
  test $ac_status = 0; }
10395
9794
        then
10396
9795
          archive_cmds_need_lc=no
10397
9796
        else
10402
9801
        cat conftest.err 1>&5
10403
9802
      fi
10404
9803
      $RM conftest*
10405
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9804
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10406
9805
$as_echo "$archive_cmds_need_lc" >&6; }
10407
9806
      ;;
10408
9807
    esac
10566
9965
 
10567
9966
 
10568
9967
 
10569
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9968
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10570
9969
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10571
9970
 
10572
9971
if test "$GCC" = yes; then
10988
10387
  save_libdir=$libdir
10989
10388
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10990
10389
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10991
 
  cat >conftest.$ac_ext <<_ACEOF
10992
 
/* confdefs.h.  */
10993
 
_ACEOF
10994
 
cat confdefs.h >>conftest.$ac_ext
10995
 
cat >>conftest.$ac_ext <<_ACEOF
 
10390
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996
10391
/* end confdefs.h.  */
10997
10392
 
10998
10393
int
11003
10398
  return 0;
11004
10399
}
11005
10400
_ACEOF
11006
 
rm -f conftest.$ac_objext conftest$ac_exeext
11007
 
if { (ac_try="$ac_link"
11008
 
case "(($ac_try" in
11009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11010
 
  *) ac_try_echo=$ac_try;;
11011
 
esac
11012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11013
 
$as_echo "$ac_try_echo") >&5
11014
 
  (eval "$ac_link") 2>conftest.er1
11015
 
  ac_status=$?
11016
 
  grep -v '^ *+' conftest.er1 >conftest.err
11017
 
  rm -f conftest.er1
11018
 
  cat conftest.err >&5
11019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020
 
  (exit $ac_status); } && {
11021
 
         test -z "$ac_c_werror_flag" ||
11022
 
         test ! -s conftest.err
11023
 
       } && test -s conftest$ac_exeext && {
11024
 
         test "$cross_compiling" = yes ||
11025
 
         $as_test_x conftest$ac_exeext
11026
 
       }; then
11027
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10401
if ac_fn_c_try_link "$LINENO"; then :
 
10402
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11028
10403
  shlibpath_overrides_runpath=yes
11029
10404
fi
11030
 
 
11031
 
else
11032
 
  $as_echo "$as_me: failed program was:" >&5
11033
 
sed 's/^/| /' conftest.$ac_ext >&5
11034
 
 
11035
 
 
11036
10405
fi
11037
 
 
11038
 
rm -rf conftest.dSYM
11039
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11040
 
      conftest$ac_exeext conftest.$ac_ext
 
10406
rm -f core conftest.err conftest.$ac_objext \
 
10407
    conftest$ac_exeext conftest.$ac_ext
11041
10408
  LDFLAGS=$save_LDFLAGS
11042
10409
  libdir=$save_libdir
11043
10410
 
11252
10619
  dynamic_linker=no
11253
10620
  ;;
11254
10621
esac
11255
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11256
10623
$as_echo "$dynamic_linker" >&6; }
11257
10624
test "$dynamic_linker" = no && can_build_shared=no
11258
10625
 
11354
10721
 
11355
10722
 
11356
10723
 
11357
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10724
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11358
10725
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11359
10726
hardcode_action=
11360
10727
if test -n "$hardcode_libdir_flag_spec" ||
11379
10746
  # directories.
11380
10747
  hardcode_action=unsupported
11381
10748
fi
11382
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11383
10750
$as_echo "$hardcode_action" >&6; }
11384
10751
 
11385
10752
if test "$hardcode_action" = relink ||
11424
10791
 
11425
10792
  darwin*)
11426
10793
  # if libdl is installed we need to link against it
11427
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10794
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11428
10795
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11429
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10796
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430
10797
  $as_echo_n "(cached) " >&6
11431
10798
else
11432
10799
  ac_check_lib_save_LIBS=$LIBS
11433
10800
LIBS="-ldl  $LIBS"
11434
 
cat >conftest.$ac_ext <<_ACEOF
11435
 
/* confdefs.h.  */
11436
 
_ACEOF
11437
 
cat confdefs.h >>conftest.$ac_ext
11438
 
cat >>conftest.$ac_ext <<_ACEOF
 
10801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439
10802
/* end confdefs.h.  */
11440
10803
 
11441
10804
/* Override any GCC internal prototype to avoid an error.
11453
10816
  return 0;
11454
10817
}
11455
10818
_ACEOF
11456
 
rm -f conftest.$ac_objext conftest$ac_exeext
11457
 
if { (ac_try="$ac_link"
11458
 
case "(($ac_try" in
11459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11460
 
  *) ac_try_echo=$ac_try;;
11461
 
esac
11462
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11463
 
$as_echo "$ac_try_echo") >&5
11464
 
  (eval "$ac_link") 2>conftest.er1
11465
 
  ac_status=$?
11466
 
  grep -v '^ *+' conftest.er1 >conftest.err
11467
 
  rm -f conftest.er1
11468
 
  cat conftest.err >&5
11469
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470
 
  (exit $ac_status); } && {
11471
 
         test -z "$ac_c_werror_flag" ||
11472
 
         test ! -s conftest.err
11473
 
       } && test -s conftest$ac_exeext && {
11474
 
         test "$cross_compiling" = yes ||
11475
 
         $as_test_x conftest$ac_exeext
11476
 
       }; then
 
10819
if ac_fn_c_try_link "$LINENO"; then :
11477
10820
  ac_cv_lib_dl_dlopen=yes
11478
10821
else
11479
 
  $as_echo "$as_me: failed program was:" >&5
11480
 
sed 's/^/| /' conftest.$ac_ext >&5
11481
 
 
11482
 
        ac_cv_lib_dl_dlopen=no
 
10822
  ac_cv_lib_dl_dlopen=no
11483
10823
fi
11484
 
 
11485
 
rm -rf conftest.dSYM
11486
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11487
 
      conftest$ac_exeext conftest.$ac_ext
 
10824
rm -f core conftest.err conftest.$ac_objext \
 
10825
    conftest$ac_exeext conftest.$ac_ext
11488
10826
LIBS=$ac_check_lib_save_LIBS
11489
10827
fi
11490
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11491
10829
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11492
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10830
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11493
10831
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11494
10832
else
11495
10833
 
11502
10840
    ;;
11503
10841
 
11504
10842
  *)
11505
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11506
 
$as_echo_n "checking for shl_load... " >&6; }
11507
 
if test "${ac_cv_func_shl_load+set}" = set; then
11508
 
  $as_echo_n "(cached) " >&6
11509
 
else
11510
 
  cat >conftest.$ac_ext <<_ACEOF
11511
 
/* confdefs.h.  */
11512
 
_ACEOF
11513
 
cat confdefs.h >>conftest.$ac_ext
11514
 
cat >>conftest.$ac_ext <<_ACEOF
11515
 
/* end confdefs.h.  */
11516
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11517
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11518
 
#define shl_load innocuous_shl_load
11519
 
 
11520
 
/* System header to define __stub macros and hopefully few prototypes,
11521
 
    which can conflict with char shl_load (); below.
11522
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11523
 
    <limits.h> exists even on freestanding compilers.  */
11524
 
 
11525
 
#ifdef __STDC__
11526
 
# include <limits.h>
11527
 
#else
11528
 
# include <assert.h>
11529
 
#endif
11530
 
 
11531
 
#undef shl_load
11532
 
 
11533
 
/* Override any GCC internal prototype to avoid an error.
11534
 
   Use char because int might match the return type of a GCC
11535
 
   builtin and then its argument prototype would still apply.  */
11536
 
#ifdef __cplusplus
11537
 
extern "C"
11538
 
#endif
11539
 
char shl_load ();
11540
 
/* The GNU C library defines this for functions which it implements
11541
 
    to always fail with ENOSYS.  Some functions are actually named
11542
 
    something starting with __ and the normal name is an alias.  */
11543
 
#if defined __stub_shl_load || defined __stub___shl_load
11544
 
choke me
11545
 
#endif
11546
 
 
11547
 
int
11548
 
main ()
11549
 
{
11550
 
return shl_load ();
11551
 
  ;
11552
 
  return 0;
11553
 
}
11554
 
_ACEOF
11555
 
rm -f conftest.$ac_objext conftest$ac_exeext
11556
 
if { (ac_try="$ac_link"
11557
 
case "(($ac_try" in
11558
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559
 
  *) ac_try_echo=$ac_try;;
11560
 
esac
11561
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11562
 
$as_echo "$ac_try_echo") >&5
11563
 
  (eval "$ac_link") 2>conftest.er1
11564
 
  ac_status=$?
11565
 
  grep -v '^ *+' conftest.er1 >conftest.err
11566
 
  rm -f conftest.er1
11567
 
  cat conftest.err >&5
11568
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569
 
  (exit $ac_status); } && {
11570
 
         test -z "$ac_c_werror_flag" ||
11571
 
         test ! -s conftest.err
11572
 
       } && test -s conftest$ac_exeext && {
11573
 
         test "$cross_compiling" = yes ||
11574
 
         $as_test_x conftest$ac_exeext
11575
 
       }; then
11576
 
  ac_cv_func_shl_load=yes
11577
 
else
11578
 
  $as_echo "$as_me: failed program was:" >&5
11579
 
sed 's/^/| /' conftest.$ac_ext >&5
11580
 
 
11581
 
        ac_cv_func_shl_load=no
11582
 
fi
11583
 
 
11584
 
rm -rf conftest.dSYM
11585
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11586
 
      conftest$ac_exeext conftest.$ac_ext
11587
 
fi
11588
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11589
 
$as_echo "$ac_cv_func_shl_load" >&6; }
11590
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10843
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10844
if test "x$ac_cv_func_shl_load" = x""yes; then :
11591
10845
  lt_cv_dlopen="shl_load"
11592
10846
else
11593
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10847
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11594
10848
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11595
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10849
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11596
10850
  $as_echo_n "(cached) " >&6
11597
10851
else
11598
10852
  ac_check_lib_save_LIBS=$LIBS
11599
10853
LIBS="-ldld  $LIBS"
11600
 
cat >conftest.$ac_ext <<_ACEOF
11601
 
/* confdefs.h.  */
11602
 
_ACEOF
11603
 
cat confdefs.h >>conftest.$ac_ext
11604
 
cat >>conftest.$ac_ext <<_ACEOF
 
10854
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605
10855
/* end confdefs.h.  */
11606
10856
 
11607
10857
/* Override any GCC internal prototype to avoid an error.
11619
10869
  return 0;
11620
10870
}
11621
10871
_ACEOF
11622
 
rm -f conftest.$ac_objext conftest$ac_exeext
11623
 
if { (ac_try="$ac_link"
11624
 
case "(($ac_try" in
11625
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11626
 
  *) ac_try_echo=$ac_try;;
11627
 
esac
11628
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11629
 
$as_echo "$ac_try_echo") >&5
11630
 
  (eval "$ac_link") 2>conftest.er1
11631
 
  ac_status=$?
11632
 
  grep -v '^ *+' conftest.er1 >conftest.err
11633
 
  rm -f conftest.er1
11634
 
  cat conftest.err >&5
11635
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636
 
  (exit $ac_status); } && {
11637
 
         test -z "$ac_c_werror_flag" ||
11638
 
         test ! -s conftest.err
11639
 
       } && test -s conftest$ac_exeext && {
11640
 
         test "$cross_compiling" = yes ||
11641
 
         $as_test_x conftest$ac_exeext
11642
 
       }; then
 
10872
if ac_fn_c_try_link "$LINENO"; then :
11643
10873
  ac_cv_lib_dld_shl_load=yes
11644
10874
else
11645
 
  $as_echo "$as_me: failed program was:" >&5
11646
 
sed 's/^/| /' conftest.$ac_ext >&5
11647
 
 
11648
 
        ac_cv_lib_dld_shl_load=no
 
10875
  ac_cv_lib_dld_shl_load=no
11649
10876
fi
11650
 
 
11651
 
rm -rf conftest.dSYM
11652
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11653
 
      conftest$ac_exeext conftest.$ac_ext
 
10877
rm -f core conftest.err conftest.$ac_objext \
 
10878
    conftest$ac_exeext conftest.$ac_ext
11654
10879
LIBS=$ac_check_lib_save_LIBS
11655
10880
fi
11656
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11657
10882
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11658
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10883
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11659
10884
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11660
10885
else
11661
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11662
 
$as_echo_n "checking for dlopen... " >&6; }
11663
 
if test "${ac_cv_func_dlopen+set}" = set; then
11664
 
  $as_echo_n "(cached) " >&6
11665
 
else
11666
 
  cat >conftest.$ac_ext <<_ACEOF
11667
 
/* confdefs.h.  */
11668
 
_ACEOF
11669
 
cat confdefs.h >>conftest.$ac_ext
11670
 
cat >>conftest.$ac_ext <<_ACEOF
11671
 
/* end confdefs.h.  */
11672
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11673
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11674
 
#define dlopen innocuous_dlopen
11675
 
 
11676
 
/* System header to define __stub macros and hopefully few prototypes,
11677
 
    which can conflict with char dlopen (); below.
11678
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11679
 
    <limits.h> exists even on freestanding compilers.  */
11680
 
 
11681
 
#ifdef __STDC__
11682
 
# include <limits.h>
11683
 
#else
11684
 
# include <assert.h>
11685
 
#endif
11686
 
 
11687
 
#undef dlopen
11688
 
 
11689
 
/* Override any GCC internal prototype to avoid an error.
11690
 
   Use char because int might match the return type of a GCC
11691
 
   builtin and then its argument prototype would still apply.  */
11692
 
#ifdef __cplusplus
11693
 
extern "C"
11694
 
#endif
11695
 
char dlopen ();
11696
 
/* The GNU C library defines this for functions which it implements
11697
 
    to always fail with ENOSYS.  Some functions are actually named
11698
 
    something starting with __ and the normal name is an alias.  */
11699
 
#if defined __stub_dlopen || defined __stub___dlopen
11700
 
choke me
11701
 
#endif
11702
 
 
11703
 
int
11704
 
main ()
11705
 
{
11706
 
return dlopen ();
11707
 
  ;
11708
 
  return 0;
11709
 
}
11710
 
_ACEOF
11711
 
rm -f conftest.$ac_objext conftest$ac_exeext
11712
 
if { (ac_try="$ac_link"
11713
 
case "(($ac_try" in
11714
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11715
 
  *) ac_try_echo=$ac_try;;
11716
 
esac
11717
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11718
 
$as_echo "$ac_try_echo") >&5
11719
 
  (eval "$ac_link") 2>conftest.er1
11720
 
  ac_status=$?
11721
 
  grep -v '^ *+' conftest.er1 >conftest.err
11722
 
  rm -f conftest.er1
11723
 
  cat conftest.err >&5
11724
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725
 
  (exit $ac_status); } && {
11726
 
         test -z "$ac_c_werror_flag" ||
11727
 
         test ! -s conftest.err
11728
 
       } && test -s conftest$ac_exeext && {
11729
 
         test "$cross_compiling" = yes ||
11730
 
         $as_test_x conftest$ac_exeext
11731
 
       }; then
11732
 
  ac_cv_func_dlopen=yes
11733
 
else
11734
 
  $as_echo "$as_me: failed program was:" >&5
11735
 
sed 's/^/| /' conftest.$ac_ext >&5
11736
 
 
11737
 
        ac_cv_func_dlopen=no
11738
 
fi
11739
 
 
11740
 
rm -rf conftest.dSYM
11741
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11742
 
      conftest$ac_exeext conftest.$ac_ext
11743
 
fi
11744
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11745
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11746
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10886
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10887
if test "x$ac_cv_func_dlopen" = x""yes; then :
11747
10888
  lt_cv_dlopen="dlopen"
11748
10889
else
11749
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10890
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11750
10891
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11751
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10892
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11752
10893
  $as_echo_n "(cached) " >&6
11753
10894
else
11754
10895
  ac_check_lib_save_LIBS=$LIBS
11755
10896
LIBS="-ldl  $LIBS"
11756
 
cat >conftest.$ac_ext <<_ACEOF
11757
 
/* confdefs.h.  */
11758
 
_ACEOF
11759
 
cat confdefs.h >>conftest.$ac_ext
11760
 
cat >>conftest.$ac_ext <<_ACEOF
 
10897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761
10898
/* end confdefs.h.  */
11762
10899
 
11763
10900
/* Override any GCC internal prototype to avoid an error.
11775
10912
  return 0;
11776
10913
}
11777
10914
_ACEOF
11778
 
rm -f conftest.$ac_objext conftest$ac_exeext
11779
 
if { (ac_try="$ac_link"
11780
 
case "(($ac_try" in
11781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11782
 
  *) ac_try_echo=$ac_try;;
11783
 
esac
11784
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11785
 
$as_echo "$ac_try_echo") >&5
11786
 
  (eval "$ac_link") 2>conftest.er1
11787
 
  ac_status=$?
11788
 
  grep -v '^ *+' conftest.er1 >conftest.err
11789
 
  rm -f conftest.er1
11790
 
  cat conftest.err >&5
11791
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792
 
  (exit $ac_status); } && {
11793
 
         test -z "$ac_c_werror_flag" ||
11794
 
         test ! -s conftest.err
11795
 
       } && test -s conftest$ac_exeext && {
11796
 
         test "$cross_compiling" = yes ||
11797
 
         $as_test_x conftest$ac_exeext
11798
 
       }; then
 
10915
if ac_fn_c_try_link "$LINENO"; then :
11799
10916
  ac_cv_lib_dl_dlopen=yes
11800
10917
else
11801
 
  $as_echo "$as_me: failed program was:" >&5
11802
 
sed 's/^/| /' conftest.$ac_ext >&5
11803
 
 
11804
 
        ac_cv_lib_dl_dlopen=no
 
10918
  ac_cv_lib_dl_dlopen=no
11805
10919
fi
11806
 
 
11807
 
rm -rf conftest.dSYM
11808
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11809
 
      conftest$ac_exeext conftest.$ac_ext
 
10920
rm -f core conftest.err conftest.$ac_objext \
 
10921
    conftest$ac_exeext conftest.$ac_ext
11810
10922
LIBS=$ac_check_lib_save_LIBS
11811
10923
fi
11812
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11813
10925
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11814
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10926
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11815
10927
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11816
10928
else
11817
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10929
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11818
10930
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11819
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10931
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11820
10932
  $as_echo_n "(cached) " >&6
11821
10933
else
11822
10934
  ac_check_lib_save_LIBS=$LIBS
11823
10935
LIBS="-lsvld  $LIBS"
11824
 
cat >conftest.$ac_ext <<_ACEOF
11825
 
/* confdefs.h.  */
11826
 
_ACEOF
11827
 
cat confdefs.h >>conftest.$ac_ext
11828
 
cat >>conftest.$ac_ext <<_ACEOF
 
10936
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11829
10937
/* end confdefs.h.  */
11830
10938
 
11831
10939
/* Override any GCC internal prototype to avoid an error.
11843
10951
  return 0;
11844
10952
}
11845
10953
_ACEOF
11846
 
rm -f conftest.$ac_objext conftest$ac_exeext
11847
 
if { (ac_try="$ac_link"
11848
 
case "(($ac_try" in
11849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11850
 
  *) ac_try_echo=$ac_try;;
11851
 
esac
11852
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11853
 
$as_echo "$ac_try_echo") >&5
11854
 
  (eval "$ac_link") 2>conftest.er1
11855
 
  ac_status=$?
11856
 
  grep -v '^ *+' conftest.er1 >conftest.err
11857
 
  rm -f conftest.er1
11858
 
  cat conftest.err >&5
11859
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860
 
  (exit $ac_status); } && {
11861
 
         test -z "$ac_c_werror_flag" ||
11862
 
         test ! -s conftest.err
11863
 
       } && test -s conftest$ac_exeext && {
11864
 
         test "$cross_compiling" = yes ||
11865
 
         $as_test_x conftest$ac_exeext
11866
 
       }; then
 
10954
if ac_fn_c_try_link "$LINENO"; then :
11867
10955
  ac_cv_lib_svld_dlopen=yes
11868
10956
else
11869
 
  $as_echo "$as_me: failed program was:" >&5
11870
 
sed 's/^/| /' conftest.$ac_ext >&5
11871
 
 
11872
 
        ac_cv_lib_svld_dlopen=no
 
10957
  ac_cv_lib_svld_dlopen=no
11873
10958
fi
11874
 
 
11875
 
rm -rf conftest.dSYM
11876
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11877
 
      conftest$ac_exeext conftest.$ac_ext
 
10959
rm -f core conftest.err conftest.$ac_objext \
 
10960
    conftest$ac_exeext conftest.$ac_ext
11878
10961
LIBS=$ac_check_lib_save_LIBS
11879
10962
fi
11880
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11881
10964
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11882
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10965
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11883
10966
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11884
10967
else
11885
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10968
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11886
10969
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11887
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10970
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11888
10971
  $as_echo_n "(cached) " >&6
11889
10972
else
11890
10973
  ac_check_lib_save_LIBS=$LIBS
11891
10974
LIBS="-ldld  $LIBS"
11892
 
cat >conftest.$ac_ext <<_ACEOF
11893
 
/* confdefs.h.  */
11894
 
_ACEOF
11895
 
cat confdefs.h >>conftest.$ac_ext
11896
 
cat >>conftest.$ac_ext <<_ACEOF
 
10975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897
10976
/* end confdefs.h.  */
11898
10977
 
11899
10978
/* Override any GCC internal prototype to avoid an error.
11911
10990
  return 0;
11912
10991
}
11913
10992
_ACEOF
11914
 
rm -f conftest.$ac_objext conftest$ac_exeext
11915
 
if { (ac_try="$ac_link"
11916
 
case "(($ac_try" in
11917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11918
 
  *) ac_try_echo=$ac_try;;
11919
 
esac
11920
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11921
 
$as_echo "$ac_try_echo") >&5
11922
 
  (eval "$ac_link") 2>conftest.er1
11923
 
  ac_status=$?
11924
 
  grep -v '^ *+' conftest.er1 >conftest.err
11925
 
  rm -f conftest.er1
11926
 
  cat conftest.err >&5
11927
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928
 
  (exit $ac_status); } && {
11929
 
         test -z "$ac_c_werror_flag" ||
11930
 
         test ! -s conftest.err
11931
 
       } && test -s conftest$ac_exeext && {
11932
 
         test "$cross_compiling" = yes ||
11933
 
         $as_test_x conftest$ac_exeext
11934
 
       }; then
 
10993
if ac_fn_c_try_link "$LINENO"; then :
11935
10994
  ac_cv_lib_dld_dld_link=yes
11936
10995
else
11937
 
  $as_echo "$as_me: failed program was:" >&5
11938
 
sed 's/^/| /' conftest.$ac_ext >&5
11939
 
 
11940
 
        ac_cv_lib_dld_dld_link=no
 
10996
  ac_cv_lib_dld_dld_link=no
11941
10997
fi
11942
 
 
11943
 
rm -rf conftest.dSYM
11944
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11945
 
      conftest$ac_exeext conftest.$ac_ext
 
10998
rm -f core conftest.err conftest.$ac_objext \
 
10999
    conftest$ac_exeext conftest.$ac_ext
11946
11000
LIBS=$ac_check_lib_save_LIBS
11947
11001
fi
11948
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11949
11003
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11950
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11004
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11951
11005
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11952
11006
fi
11953
11007
 
11986
11040
    save_LIBS="$LIBS"
11987
11041
    LIBS="$lt_cv_dlopen_libs $LIBS"
11988
11042
 
11989
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11043
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11990
11044
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11991
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11045
if test "${lt_cv_dlopen_self+set}" = set; then :
11992
11046
  $as_echo_n "(cached) " >&6
11993
11047
else
11994
11048
          if test "$cross_compiling" = yes; then :
11997
11051
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11998
11052
  lt_status=$lt_dlunknown
11999
11053
  cat > conftest.$ac_ext <<_LT_EOF
12000
 
#line 12000 "configure"
 
11054
#line 11054 "configure"
12001
11055
#include "confdefs.h"
12002
11056
 
12003
11057
#if HAVE_DLFCN_H
12056
11110
  return status;
12057
11111
}
12058
11112
_LT_EOF
12059
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11113
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12060
11114
  (eval $ac_link) 2>&5
12061
11115
  ac_status=$?
12062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11116
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11117
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12064
11118
    (./conftest; exit; ) >&5 2>/dev/null
12065
11119
    lt_status=$?
12066
11120
    case x$lt_status in
12077
11131
 
12078
11132
 
12079
11133
fi
12080
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12081
11135
$as_echo "$lt_cv_dlopen_self" >&6; }
12082
11136
 
12083
11137
    if test "x$lt_cv_dlopen_self" = xyes; then
12084
11138
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12085
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11139
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12086
11140
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12087
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11141
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12088
11142
  $as_echo_n "(cached) " >&6
12089
11143
else
12090
11144
          if test "$cross_compiling" = yes; then :
12093
11147
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12094
11148
  lt_status=$lt_dlunknown
12095
11149
  cat > conftest.$ac_ext <<_LT_EOF
12096
 
#line 12096 "configure"
 
11150
#line 11150 "configure"
12097
11151
#include "confdefs.h"
12098
11152
 
12099
11153
#if HAVE_DLFCN_H
12152
11206
  return status;
12153
11207
}
12154
11208
_LT_EOF
12155
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11209
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12156
11210
  (eval $ac_link) 2>&5
12157
11211
  ac_status=$?
12158
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11212
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11213
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12160
11214
    (./conftest; exit; ) >&5 2>/dev/null
12161
11215
    lt_status=$?
12162
11216
    case x$lt_status in
12173
11227
 
12174
11228
 
12175
11229
fi
12176
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12177
11231
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12178
11232
    fi
12179
11233
 
12212
11266
 
12213
11267
striplib=
12214
11268
old_striplib=
12215
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12216
11270
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12217
11271
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12218
11272
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12219
11273
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12220
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11274
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12221
11275
$as_echo "yes" >&6; }
12222
11276
else
12223
11277
# FIXME - insert some real tests, host_os isn't really good enough
12226
11280
    if test -n "$STRIP" ; then
12227
11281
      striplib="$STRIP -x"
12228
11282
      old_striplib="$STRIP -S"
12229
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11283
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12230
11284
$as_echo "yes" >&6; }
12231
11285
    else
12232
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11286
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233
11287
$as_echo "no" >&6; }
12234
11288
    fi
12235
11289
    ;;
12236
11290
  *)
12237
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11291
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238
11292
$as_echo "no" >&6; }
12239
11293
    ;;
12240
11294
  esac
12252
11306
 
12253
11307
 
12254
11308
  # Report which library types will actually be built
12255
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11309
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12256
11310
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12257
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12258
11312
$as_echo "$can_build_shared" >&6; }
12259
11313
 
12260
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11314
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12261
11315
$as_echo_n "checking whether to build shared libraries... " >&6; }
12262
11316
  test "$can_build_shared" = "no" && enable_shared=no
12263
11317
 
12278
11332
    fi
12279
11333
    ;;
12280
11334
  esac
12281
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12282
11336
$as_echo "$enable_shared" >&6; }
12283
11337
 
12284
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12285
11339
$as_echo_n "checking whether to build static libraries... " >&6; }
12286
11340
  # Make sure either enable_shared or enable_static is yes.
12287
11341
  test "$enable_shared" = yes || enable_static=yes
12288
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12289
11343
$as_echo "$enable_static" >&6; }
12290
11344
 
12291
11345
 
12327
11381
        if test -n "$ac_tool_prefix"; then
12328
11382
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12329
11383
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12330
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12331
11385
$as_echo_n "checking for $ac_word... " >&6; }
12332
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
11386
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12333
11387
  $as_echo_n "(cached) " >&6
12334
11388
else
12335
11389
  case $PKG_CONFIG in
12342
11396
do
12343
11397
  IFS=$as_save_IFS
12344
11398
  test -z "$as_dir" && as_dir=.
12345
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11399
    for ac_exec_ext in '' $ac_executable_extensions; do
12346
11400
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12347
11401
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12348
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11402
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12349
11403
    break 2
12350
11404
  fi
12351
11405
done
12352
 
done
 
11406
  done
12353
11407
IFS=$as_save_IFS
12354
11408
 
12355
11409
  ;;
12357
11411
fi
12358
11412
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12359
11413
if test -n "$PKG_CONFIG"; then
12360
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
11414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12361
11415
$as_echo "$PKG_CONFIG" >&6; }
12362
11416
else
12363
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364
11418
$as_echo "no" >&6; }
12365
11419
fi
12366
11420
 
12370
11424
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12371
11425
  # Extract the first word of "pkg-config", so it can be a program name with args.
12372
11426
set dummy pkg-config; ac_word=$2
12373
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12374
11428
$as_echo_n "checking for $ac_word... " >&6; }
12375
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
11429
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12376
11430
  $as_echo_n "(cached) " >&6
12377
11431
else
12378
11432
  case $ac_pt_PKG_CONFIG in
12385
11439
do
12386
11440
  IFS=$as_save_IFS
12387
11441
  test -z "$as_dir" && as_dir=.
12388
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11442
    for ac_exec_ext in '' $ac_executable_extensions; do
12389
11443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12390
11444
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12391
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11445
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12392
11446
    break 2
12393
11447
  fi
12394
11448
done
12395
 
done
 
11449
  done
12396
11450
IFS=$as_save_IFS
12397
11451
 
12398
11452
  ;;
12400
11454
fi
12401
11455
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12402
11456
if test -n "$ac_pt_PKG_CONFIG"; then
12403
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
11457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12404
11458
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12405
11459
else
12406
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407
11461
$as_echo "no" >&6; }
12408
11462
fi
12409
11463
 
12412
11466
  else
12413
11467
    case $cross_compiling:$ac_tool_warned in
12414
11468
yes:)
12415
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11469
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12416
11470
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12417
11471
ac_tool_warned=yes ;;
12418
11472
esac
12425
11479
fi
12426
11480
if test -n "$PKG_CONFIG"; then
12427
11481
        _pkg_min_version=0.9.0
12428
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
11482
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12429
11483
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12430
11484
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12431
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11485
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12432
11486
$as_echo "yes" >&6; }
12433
11487
        else
12434
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
11488
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12435
11489
$as_echo "no" >&6; }
12436
11490
                PKG_CONFIG=""
12437
11491
        fi
12455
11509
 
12456
11510
# Extract the first word of "perl", so it can be a program name with args.
12457
11511
set dummy perl; ac_word=$2
12458
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459
11513
$as_echo_n "checking for $ac_word... " >&6; }
12460
 
if test "${ac_cv_path_PERL+set}" = set; then
 
11514
if test "${ac_cv_path_PERL+set}" = set; then :
12461
11515
  $as_echo_n "(cached) " >&6
12462
11516
else
12463
11517
  case $PERL in
12470
11524
do
12471
11525
  IFS=$as_save_IFS
12472
11526
  test -z "$as_dir" && as_dir=.
12473
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11527
    for ac_exec_ext in '' $ac_executable_extensions; do
12474
11528
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475
11529
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12476
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11530
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12477
11531
    break 2
12478
11532
  fi
12479
11533
done
12480
 
done
 
11534
  done
12481
11535
IFS=$as_save_IFS
12482
11536
 
12483
11537
  ;;
12485
11539
fi
12486
11540
PERL=$ac_cv_path_PERL
12487
11541
if test -n "$PERL"; then
12488
 
  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
 
11542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
12489
11543
$as_echo "$PERL" >&6; }
12490
11544
else
12491
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492
11546
$as_echo "no" >&6; }
12493
11547
fi
12494
11548
 
12495
11549
 
12496
11550
# Extract the first word of "blkid", so it can be a program name with args.
12497
11551
set dummy blkid; ac_word=$2
12498
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12499
11553
$as_echo_n "checking for $ac_word... " >&6; }
12500
 
if test "${ac_cv_path_BLKID+set}" = set; then
 
11554
if test "${ac_cv_path_BLKID+set}" = set; then :
12501
11555
  $as_echo_n "(cached) " >&6
12502
11556
else
12503
11557
  case $BLKID in
12511
11565
do
12512
11566
  IFS=$as_save_IFS
12513
11567
  test -z "$as_dir" && as_dir=.
12514
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11568
    for ac_exec_ext in '' $ac_executable_extensions; do
12515
11569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12516
11570
    ac_cv_path_BLKID="$as_dir/$ac_word$ac_exec_ext"
12517
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12518
11572
    break 2
12519
11573
  fi
12520
11574
done
12521
 
done
 
11575
  done
12522
11576
IFS=$as_save_IFS
12523
11577
 
12524
11578
  ;;
12526
11580
fi
12527
11581
BLKID=$ac_cv_path_BLKID
12528
11582
if test -n "$BLKID"; then
12529
 
  { $as_echo "$as_me:$LINENO: result: $BLKID" >&5
 
11583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BLKID" >&5
12530
11584
$as_echo "$BLKID" >&6; }
12531
11585
else
12532
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12533
11587
$as_echo "no" >&6; }
12534
11588
fi
12535
11589
 
12536
11590
 
12537
11591
# Extract the first word of "vol_id", so it can be a program name with args.
12538
11592
set dummy vol_id; ac_word=$2
12539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12540
11594
$as_echo_n "checking for $ac_word... " >&6; }
12541
 
if test "${ac_cv_path_VOLID+set}" = set; then
 
11595
if test "${ac_cv_path_VOLID+set}" = set; then :
12542
11596
  $as_echo_n "(cached) " >&6
12543
11597
else
12544
11598
  case $VOLID in
12552
11606
do
12553
11607
  IFS=$as_save_IFS
12554
11608
  test -z "$as_dir" && as_dir=.
12555
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11609
    for ac_exec_ext in '' $ac_executable_extensions; do
12556
11610
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12557
11611
    ac_cv_path_VOLID="$as_dir/$ac_word$ac_exec_ext"
12558
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11612
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12559
11613
    break 2
12560
11614
  fi
12561
11615
done
12562
 
done
 
11616
  done
12563
11617
IFS=$as_save_IFS
12564
11618
 
12565
11619
  ;;
12567
11621
fi
12568
11622
VOLID=$ac_cv_path_VOLID
12569
11623
if test -n "$VOLID"; then
12570
 
  { $as_echo "$as_me:$LINENO: result: $VOLID" >&5
 
11624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VOLID" >&5
12571
11625
$as_echo "$VOLID" >&6; }
12572
11626
else
12573
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12574
11628
$as_echo "no" >&6; }
12575
11629
fi
12576
11630
 
12577
11631
 
12578
11632
 
12579
11633
# Check whether --enable-largefile was given.
12580
 
if test "${enable_largefile+set}" = set; then
 
11634
if test "${enable_largefile+set}" = set; then :
12581
11635
  enableval=$enable_largefile;
12582
11636
fi
12583
11637
 
12584
11638
if test "$enable_largefile" != no; then
12585
11639
 
12586
 
  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
11640
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12587
11641
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12588
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then
 
11642
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
12589
11643
  $as_echo_n "(cached) " >&6
12590
11644
else
12591
11645
  ac_cv_sys_largefile_CC=no
12594
11648
       while :; do
12595
11649
         # IRIX 6.2 and later do not support large files by default,
12596
11650
         # so use the C compiler's -n32 option if that helps.
12597
 
         cat >conftest.$ac_ext <<_ACEOF
12598
 
/* confdefs.h.  */
12599
 
_ACEOF
12600
 
cat confdefs.h >>conftest.$ac_ext
12601
 
cat >>conftest.$ac_ext <<_ACEOF
 
11651
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602
11652
/* end confdefs.h.  */
12603
11653
#include <sys/types.h>
12604
11654
 /* Check that off_t can represent 2**63 - 1 correctly.
12617
11667
  return 0;
12618
11668
}
12619
11669
_ACEOF
12620
 
         rm -f conftest.$ac_objext
12621
 
if { (ac_try="$ac_compile"
12622
 
case "(($ac_try" in
12623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12624
 
  *) ac_try_echo=$ac_try;;
12625
 
esac
12626
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12627
 
$as_echo "$ac_try_echo") >&5
12628
 
  (eval "$ac_compile") 2>conftest.er1
12629
 
  ac_status=$?
12630
 
  grep -v '^ *+' conftest.er1 >conftest.err
12631
 
  rm -f conftest.er1
12632
 
  cat conftest.err >&5
12633
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634
 
  (exit $ac_status); } && {
12635
 
         test -z "$ac_c_werror_flag" ||
12636
 
         test ! -s conftest.err
12637
 
       } && test -s conftest.$ac_objext; then
 
11670
         if ac_fn_c_try_compile "$LINENO"; then :
12638
11671
  break
12639
 
else
12640
 
  $as_echo "$as_me: failed program was:" >&5
12641
 
sed 's/^/| /' conftest.$ac_ext >&5
12642
 
 
12643
 
 
12644
11672
fi
12645
 
 
12646
11673
rm -f core conftest.err conftest.$ac_objext
12647
11674
         CC="$CC -n32"
12648
 
         rm -f conftest.$ac_objext
12649
 
if { (ac_try="$ac_compile"
12650
 
case "(($ac_try" in
12651
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652
 
  *) ac_try_echo=$ac_try;;
12653
 
esac
12654
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12655
 
$as_echo "$ac_try_echo") >&5
12656
 
  (eval "$ac_compile") 2>conftest.er1
12657
 
  ac_status=$?
12658
 
  grep -v '^ *+' conftest.er1 >conftest.err
12659
 
  rm -f conftest.er1
12660
 
  cat conftest.err >&5
12661
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662
 
  (exit $ac_status); } && {
12663
 
         test -z "$ac_c_werror_flag" ||
12664
 
         test ! -s conftest.err
12665
 
       } && test -s conftest.$ac_objext; then
 
11675
         if ac_fn_c_try_compile "$LINENO"; then :
12666
11676
  ac_cv_sys_largefile_CC=' -n32'; break
12667
 
else
12668
 
  $as_echo "$as_me: failed program was:" >&5
12669
 
sed 's/^/| /' conftest.$ac_ext >&5
12670
 
 
12671
 
 
12672
11677
fi
12673
 
 
12674
11678
rm -f core conftest.err conftest.$ac_objext
12675
11679
         break
12676
11680
       done
12678
11682
       rm -f conftest.$ac_ext
12679
11683
    fi
12680
11684
fi
12681
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
11685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12682
11686
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
12683
11687
  if test "$ac_cv_sys_largefile_CC" != no; then
12684
11688
    CC=$CC$ac_cv_sys_largefile_CC
12685
11689
  fi
12686
11690
 
12687
 
  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
11691
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12688
11692
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12689
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
 
11693
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
12690
11694
  $as_echo_n "(cached) " >&6
12691
11695
else
12692
11696
  while :; do
12693
 
  cat >conftest.$ac_ext <<_ACEOF
12694
 
/* confdefs.h.  */
12695
 
_ACEOF
12696
 
cat confdefs.h >>conftest.$ac_ext
12697
 
cat >>conftest.$ac_ext <<_ACEOF
 
11697
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698
11698
/* end confdefs.h.  */
12699
11699
#include <sys/types.h>
12700
11700
 /* Check that off_t can represent 2**63 - 1 correctly.
12713
11713
  return 0;
12714
11714
}
12715
11715
_ACEOF
12716
 
rm -f conftest.$ac_objext
12717
 
if { (ac_try="$ac_compile"
12718
 
case "(($ac_try" in
12719
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12720
 
  *) ac_try_echo=$ac_try;;
12721
 
esac
12722
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12723
 
$as_echo "$ac_try_echo") >&5
12724
 
  (eval "$ac_compile") 2>conftest.er1
12725
 
  ac_status=$?
12726
 
  grep -v '^ *+' conftest.er1 >conftest.err
12727
 
  rm -f conftest.er1
12728
 
  cat conftest.err >&5
12729
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730
 
  (exit $ac_status); } && {
12731
 
         test -z "$ac_c_werror_flag" ||
12732
 
         test ! -s conftest.err
12733
 
       } && test -s conftest.$ac_objext; then
 
11716
if ac_fn_c_try_compile "$LINENO"; then :
12734
11717
  ac_cv_sys_file_offset_bits=no; break
12735
 
else
12736
 
  $as_echo "$as_me: failed program was:" >&5
12737
 
sed 's/^/| /' conftest.$ac_ext >&5
12738
 
 
12739
 
 
12740
11718
fi
12741
 
 
12742
11719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12743
 
  cat >conftest.$ac_ext <<_ACEOF
12744
 
/* confdefs.h.  */
12745
 
_ACEOF
12746
 
cat confdefs.h >>conftest.$ac_ext
12747
 
cat >>conftest.$ac_ext <<_ACEOF
 
11720
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748
11721
/* end confdefs.h.  */
12749
11722
#define _FILE_OFFSET_BITS 64
12750
11723
#include <sys/types.h>
12764
11737
  return 0;
12765
11738
}
12766
11739
_ACEOF
12767
 
rm -f conftest.$ac_objext
12768
 
if { (ac_try="$ac_compile"
12769
 
case "(($ac_try" in
12770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12771
 
  *) ac_try_echo=$ac_try;;
12772
 
esac
12773
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12774
 
$as_echo "$ac_try_echo") >&5
12775
 
  (eval "$ac_compile") 2>conftest.er1
12776
 
  ac_status=$?
12777
 
  grep -v '^ *+' conftest.er1 >conftest.err
12778
 
  rm -f conftest.er1
12779
 
  cat conftest.err >&5
12780
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781
 
  (exit $ac_status); } && {
12782
 
         test -z "$ac_c_werror_flag" ||
12783
 
         test ! -s conftest.err
12784
 
       } && test -s conftest.$ac_objext; then
 
11740
if ac_fn_c_try_compile "$LINENO"; then :
12785
11741
  ac_cv_sys_file_offset_bits=64; break
12786
 
else
12787
 
  $as_echo "$as_me: failed program was:" >&5
12788
 
sed 's/^/| /' conftest.$ac_ext >&5
12789
 
 
12790
 
 
12791
11742
fi
12792
 
 
12793
11743
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12794
11744
  ac_cv_sys_file_offset_bits=unknown
12795
11745
  break
12796
11746
done
12797
11747
fi
12798
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
11748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12799
11749
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12800
11750
case $ac_cv_sys_file_offset_bits in #(
12801
11751
  no | unknown) ;;
12807
11757
esac
12808
11758
rm -rf conftest*
12809
11759
  if test $ac_cv_sys_file_offset_bits = unknown; then
12810
 
    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
11760
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12811
11761
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12812
 
if test "${ac_cv_sys_large_files+set}" = set; then
 
11762
if test "${ac_cv_sys_large_files+set}" = set; then :
12813
11763
  $as_echo_n "(cached) " >&6
12814
11764
else
12815
11765
  while :; do
12816
 
  cat >conftest.$ac_ext <<_ACEOF
12817
 
/* confdefs.h.  */
12818
 
_ACEOF
12819
 
cat confdefs.h >>conftest.$ac_ext
12820
 
cat >>conftest.$ac_ext <<_ACEOF
 
11766
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821
11767
/* end confdefs.h.  */
12822
11768
#include <sys/types.h>
12823
11769
 /* Check that off_t can represent 2**63 - 1 correctly.
12836
11782
  return 0;
12837
11783
}
12838
11784
_ACEOF
12839
 
rm -f conftest.$ac_objext
12840
 
if { (ac_try="$ac_compile"
12841
 
case "(($ac_try" in
12842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12843
 
  *) ac_try_echo=$ac_try;;
12844
 
esac
12845
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12846
 
$as_echo "$ac_try_echo") >&5
12847
 
  (eval "$ac_compile") 2>conftest.er1
12848
 
  ac_status=$?
12849
 
  grep -v '^ *+' conftest.er1 >conftest.err
12850
 
  rm -f conftest.er1
12851
 
  cat conftest.err >&5
12852
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853
 
  (exit $ac_status); } && {
12854
 
         test -z "$ac_c_werror_flag" ||
12855
 
         test ! -s conftest.err
12856
 
       } && test -s conftest.$ac_objext; then
 
11785
if ac_fn_c_try_compile "$LINENO"; then :
12857
11786
  ac_cv_sys_large_files=no; break
12858
 
else
12859
 
  $as_echo "$as_me: failed program was:" >&5
12860
 
sed 's/^/| /' conftest.$ac_ext >&5
12861
 
 
12862
 
 
12863
11787
fi
12864
 
 
12865
11788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12866
 
  cat >conftest.$ac_ext <<_ACEOF
12867
 
/* confdefs.h.  */
12868
 
_ACEOF
12869
 
cat confdefs.h >>conftest.$ac_ext
12870
 
cat >>conftest.$ac_ext <<_ACEOF
 
11789
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871
11790
/* end confdefs.h.  */
12872
11791
#define _LARGE_FILES 1
12873
11792
#include <sys/types.h>
12887
11806
  return 0;
12888
11807
}
12889
11808
_ACEOF
12890
 
rm -f conftest.$ac_objext
12891
 
if { (ac_try="$ac_compile"
12892
 
case "(($ac_try" in
12893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894
 
  *) ac_try_echo=$ac_try;;
12895
 
esac
12896
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12897
 
$as_echo "$ac_try_echo") >&5
12898
 
  (eval "$ac_compile") 2>conftest.er1
12899
 
  ac_status=$?
12900
 
  grep -v '^ *+' conftest.er1 >conftest.err
12901
 
  rm -f conftest.er1
12902
 
  cat conftest.err >&5
12903
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904
 
  (exit $ac_status); } && {
12905
 
         test -z "$ac_c_werror_flag" ||
12906
 
         test ! -s conftest.err
12907
 
       } && test -s conftest.$ac_objext; then
 
11809
if ac_fn_c_try_compile "$LINENO"; then :
12908
11810
  ac_cv_sys_large_files=1; break
12909
 
else
12910
 
  $as_echo "$as_me: failed program was:" >&5
12911
 
sed 's/^/| /' conftest.$ac_ext >&5
12912
 
 
12913
 
 
12914
11811
fi
12915
 
 
12916
11812
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12917
11813
  ac_cv_sys_large_files=unknown
12918
11814
  break
12919
11815
done
12920
11816
fi
12921
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
11817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12922
11818
$as_echo "$ac_cv_sys_large_files" >&6; }
12923
11819
case $ac_cv_sys_large_files in #(
12924
11820
  no | unknown) ;;
12933
11829
fi
12934
11830
 
12935
11831
 
12936
 
 
12937
 
 
12938
 
 
12939
11832
for ac_header in linux/compiler.h linux/blkpg.h linux/major.h
12940
 
do
12941
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12942
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12943
 
$as_echo_n "checking for $ac_header... " >&6; }
12944
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12945
 
  $as_echo_n "(cached) " >&6
12946
 
else
12947
 
  cat >conftest.$ac_ext <<_ACEOF
12948
 
/* confdefs.h.  */
12949
 
_ACEOF
12950
 
cat confdefs.h >>conftest.$ac_ext
12951
 
cat >>conftest.$ac_ext <<_ACEOF
12952
 
/* end confdefs.h.  */
12953
 
 
 
11833
do :
 
11834
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11835
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
12954
11836
#ifdef HAVE_LINUX_COMPILER_H
12955
11837
#include <linux/compiler.h>
12956
11838
#endif
12957
11839
 
12958
 
 
12959
 
#include <$ac_header>
12960
 
_ACEOF
12961
 
rm -f conftest.$ac_objext
12962
 
if { (ac_try="$ac_compile"
12963
 
case "(($ac_try" in
12964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965
 
  *) ac_try_echo=$ac_try;;
12966
 
esac
12967
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12968
 
$as_echo "$ac_try_echo") >&5
12969
 
  (eval "$ac_compile") 2>conftest.er1
12970
 
  ac_status=$?
12971
 
  grep -v '^ *+' conftest.er1 >conftest.err
12972
 
  rm -f conftest.er1
12973
 
  cat conftest.err >&5
12974
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975
 
  (exit $ac_status); } && {
12976
 
         test -z "$ac_c_werror_flag" ||
12977
 
         test ! -s conftest.err
12978
 
       } && test -s conftest.$ac_objext; then
12979
 
  eval "$as_ac_Header=yes"
12980
 
else
12981
 
  $as_echo "$as_me: failed program was:" >&5
12982
 
sed 's/^/| /' conftest.$ac_ext >&5
12983
 
 
12984
 
        eval "$as_ac_Header=no"
12985
 
fi
12986
 
 
12987
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988
 
fi
12989
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12990
 
                 $as_echo "$as_val"'`
12991
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12992
 
$as_echo "$ac_res" >&6; }
12993
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12994
 
                 $as_echo "$as_val"'`
12995
 
   if test "x$as_val" = x""yes; then
 
11840
"
 
11841
eval as_val=\$$as_ac_Header
 
11842
   if test "x$as_val" = x""yes; then :
12996
11843
  cat >>confdefs.h <<_ACEOF
12997
11844
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12998
11845
_ACEOF
13001
11848
 
13002
11849
done
13003
11850
 
13004
 
 
13005
 
 
13006
 
 
13007
 
 
13008
 
 
13009
 
 
13010
 
 
13011
 
 
13012
 
 
13013
 
 
13014
 
 
13015
 
 
13016
 
 
13017
 
 
13018
 
 
13019
 
 
13020
 
 
13021
 
 
13022
 
 
13023
 
 
13024
 
 
13025
 
 
13026
 
 
13027
 
 
13028
 
 
13029
 
 
13030
 
 
13031
 
 
13032
 
 
13033
 
 
13034
 
 
13035
 
 
13036
 
 
13037
 
 
13038
 
 
13039
11851
for ac_header in err.h \
13040
11852
        errno.h \
13041
11853
        getopt.h \
13071
11883
        sys/user.h \
13072
11884
        sys/resource.h \
13073
11885
        unistd.h
13074
 
do
13075
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13076
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13077
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13078
 
$as_echo_n "checking for $ac_header... " >&6; }
13079
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13080
 
  $as_echo_n "(cached) " >&6
13081
 
fi
13082
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13083
 
                 $as_echo "$as_val"'`
13084
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13085
 
$as_echo "$ac_res" >&6; }
13086
 
else
13087
 
  # Is the header compilable?
13088
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13089
 
$as_echo_n "checking $ac_header usability... " >&6; }
13090
 
cat >conftest.$ac_ext <<_ACEOF
13091
 
/* confdefs.h.  */
13092
 
_ACEOF
13093
 
cat confdefs.h >>conftest.$ac_ext
13094
 
cat >>conftest.$ac_ext <<_ACEOF
13095
 
/* end confdefs.h.  */
13096
 
$ac_includes_default
13097
 
#include <$ac_header>
13098
 
_ACEOF
13099
 
rm -f conftest.$ac_objext
13100
 
if { (ac_try="$ac_compile"
13101
 
case "(($ac_try" in
13102
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13103
 
  *) ac_try_echo=$ac_try;;
13104
 
esac
13105
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13106
 
$as_echo "$ac_try_echo") >&5
13107
 
  (eval "$ac_compile") 2>conftest.er1
13108
 
  ac_status=$?
13109
 
  grep -v '^ *+' conftest.er1 >conftest.err
13110
 
  rm -f conftest.er1
13111
 
  cat conftest.err >&5
13112
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113
 
  (exit $ac_status); } && {
13114
 
         test -z "$ac_c_werror_flag" ||
13115
 
         test ! -s conftest.err
13116
 
       } && test -s conftest.$ac_objext; then
13117
 
  ac_header_compiler=yes
13118
 
else
13119
 
  $as_echo "$as_me: failed program was:" >&5
13120
 
sed 's/^/| /' conftest.$ac_ext >&5
13121
 
 
13122
 
        ac_header_compiler=no
13123
 
fi
13124
 
 
13125
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13126
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13127
 
$as_echo "$ac_header_compiler" >&6; }
13128
 
 
13129
 
# Is the header present?
13130
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13131
 
$as_echo_n "checking $ac_header presence... " >&6; }
13132
 
cat >conftest.$ac_ext <<_ACEOF
13133
 
/* confdefs.h.  */
13134
 
_ACEOF
13135
 
cat confdefs.h >>conftest.$ac_ext
13136
 
cat >>conftest.$ac_ext <<_ACEOF
13137
 
/* end confdefs.h.  */
13138
 
#include <$ac_header>
13139
 
_ACEOF
13140
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13141
 
case "(($ac_try" in
13142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13143
 
  *) ac_try_echo=$ac_try;;
13144
 
esac
13145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13146
 
$as_echo "$ac_try_echo") >&5
13147
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13148
 
  ac_status=$?
13149
 
  grep -v '^ *+' conftest.er1 >conftest.err
13150
 
  rm -f conftest.er1
13151
 
  cat conftest.err >&5
13152
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153
 
  (exit $ac_status); } >/dev/null && {
13154
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13155
 
         test ! -s conftest.err
13156
 
       }; then
13157
 
  ac_header_preproc=yes
13158
 
else
13159
 
  $as_echo "$as_me: failed program was:" >&5
13160
 
sed 's/^/| /' conftest.$ac_ext >&5
13161
 
 
13162
 
  ac_header_preproc=no
13163
 
fi
13164
 
 
13165
 
rm -f conftest.err conftest.$ac_ext
13166
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13167
 
$as_echo "$ac_header_preproc" >&6; }
13168
 
 
13169
 
# So?  What about this header?
13170
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13171
 
  yes:no: )
13172
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13173
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13174
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13175
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13176
 
    ac_header_preproc=yes
13177
 
    ;;
13178
 
  no:yes:* )
13179
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13180
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13181
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13182
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13183
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13184
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13185
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13186
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13187
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13188
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13189
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13190
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13191
 
    ( cat <<\_ASBOX
13192
 
## ------------------------------ ##
13193
 
## Report this to kzak@redhat.com ##
13194
 
## ------------------------------ ##
13195
 
_ASBOX
13196
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13197
 
    ;;
13198
 
esac
13199
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13200
 
$as_echo_n "checking for $ac_header... " >&6; }
13201
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13202
 
  $as_echo_n "(cached) " >&6
13203
 
else
13204
 
  eval "$as_ac_Header=\$ac_header_preproc"
13205
 
fi
13206
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13207
 
                 $as_echo "$as_val"'`
13208
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13209
 
$as_echo "$ac_res" >&6; }
13210
 
 
13211
 
fi
13212
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13213
 
                 $as_echo "$as_val"'`
13214
 
   if test "x$as_val" = x""yes; then
 
11886
do :
 
11887
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11888
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
11889
eval as_val=\$$as_ac_Header
 
11890
   if test "x$as_val" = x""yes; then :
13215
11891
  cat >>confdefs.h <<_ACEOF
13216
11892
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13217
11893
_ACEOF
13220
11896
 
13221
11897
done
13222
11898
 
13223
 
 
13224
11899
for ac_header in linux/raw.h
13225
 
do
13226
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13227
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13228
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13229
 
$as_echo_n "checking for $ac_header... " >&6; }
13230
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13231
 
  $as_echo_n "(cached) " >&6
13232
 
fi
13233
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13234
 
                 $as_echo "$as_val"'`
13235
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13236
 
$as_echo "$ac_res" >&6; }
13237
 
else
13238
 
  # Is the header compilable?
13239
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13240
 
$as_echo_n "checking $ac_header usability... " >&6; }
13241
 
cat >conftest.$ac_ext <<_ACEOF
13242
 
/* confdefs.h.  */
13243
 
_ACEOF
13244
 
cat confdefs.h >>conftest.$ac_ext
13245
 
cat >>conftest.$ac_ext <<_ACEOF
13246
 
/* end confdefs.h.  */
13247
 
$ac_includes_default
13248
 
#include <$ac_header>
13249
 
_ACEOF
13250
 
rm -f conftest.$ac_objext
13251
 
if { (ac_try="$ac_compile"
13252
 
case "(($ac_try" in
13253
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254
 
  *) ac_try_echo=$ac_try;;
13255
 
esac
13256
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13257
 
$as_echo "$ac_try_echo") >&5
13258
 
  (eval "$ac_compile") 2>conftest.er1
13259
 
  ac_status=$?
13260
 
  grep -v '^ *+' conftest.er1 >conftest.err
13261
 
  rm -f conftest.er1
13262
 
  cat conftest.err >&5
13263
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264
 
  (exit $ac_status); } && {
13265
 
         test -z "$ac_c_werror_flag" ||
13266
 
         test ! -s conftest.err
13267
 
       } && test -s conftest.$ac_objext; then
13268
 
  ac_header_compiler=yes
13269
 
else
13270
 
  $as_echo "$as_me: failed program was:" >&5
13271
 
sed 's/^/| /' conftest.$ac_ext >&5
13272
 
 
13273
 
        ac_header_compiler=no
13274
 
fi
13275
 
 
13276
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13277
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13278
 
$as_echo "$ac_header_compiler" >&6; }
13279
 
 
13280
 
# Is the header present?
13281
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13282
 
$as_echo_n "checking $ac_header presence... " >&6; }
13283
 
cat >conftest.$ac_ext <<_ACEOF
13284
 
/* confdefs.h.  */
13285
 
_ACEOF
13286
 
cat confdefs.h >>conftest.$ac_ext
13287
 
cat >>conftest.$ac_ext <<_ACEOF
13288
 
/* end confdefs.h.  */
13289
 
#include <$ac_header>
13290
 
_ACEOF
13291
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13292
 
case "(($ac_try" in
13293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13294
 
  *) ac_try_echo=$ac_try;;
13295
 
esac
13296
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13297
 
$as_echo "$ac_try_echo") >&5
13298
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13299
 
  ac_status=$?
13300
 
  grep -v '^ *+' conftest.er1 >conftest.err
13301
 
  rm -f conftest.er1
13302
 
  cat conftest.err >&5
13303
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304
 
  (exit $ac_status); } >/dev/null && {
13305
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13306
 
         test ! -s conftest.err
13307
 
       }; then
13308
 
  ac_header_preproc=yes
13309
 
else
13310
 
  $as_echo "$as_me: failed program was:" >&5
13311
 
sed 's/^/| /' conftest.$ac_ext >&5
13312
 
 
13313
 
  ac_header_preproc=no
13314
 
fi
13315
 
 
13316
 
rm -f conftest.err conftest.$ac_ext
13317
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13318
 
$as_echo "$ac_header_preproc" >&6; }
13319
 
 
13320
 
# So?  What about this header?
13321
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13322
 
  yes:no: )
13323
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13324
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13325
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13326
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13327
 
    ac_header_preproc=yes
13328
 
    ;;
13329
 
  no:yes:* )
13330
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13331
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13332
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13333
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13334
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13335
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13336
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13337
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13338
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13339
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13340
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13341
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13342
 
    ( cat <<\_ASBOX
13343
 
## ------------------------------ ##
13344
 
## Report this to kzak@redhat.com ##
13345
 
## ------------------------------ ##
13346
 
_ASBOX
13347
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13348
 
    ;;
13349
 
esac
13350
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13351
 
$as_echo_n "checking for $ac_header... " >&6; }
13352
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13353
 
  $as_echo_n "(cached) " >&6
13354
 
else
13355
 
  eval "$as_ac_Header=\$ac_header_preproc"
13356
 
fi
13357
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13358
 
                 $as_echo "$as_val"'`
13359
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13360
 
$as_echo "$ac_res" >&6; }
13361
 
 
13362
 
fi
13363
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13364
 
                 $as_echo "$as_val"'`
13365
 
   if test "x$as_val" = x""yes; then
 
11900
do :
 
11901
  ac_fn_c_check_header_mongrel "$LINENO" "linux/raw.h" "ac_cv_header_linux_raw_h" "$ac_includes_default"
 
11902
if test "x$ac_cv_header_linux_raw_h" = x""yes; then :
13366
11903
  cat >>confdefs.h <<_ACEOF
13367
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11904
#define HAVE_LINUX_RAW_H 1
13368
11905
_ACEOF
13369
11906
  if true; then
13370
11907
  HAVE_RAW_TRUE=
13388
11925
done
13389
11926
 
13390
11927
 
13391
 
{ $as_echo "$as_me:$LINENO: checking whether _NL_TIME_WEEK_1STDAY is declared" >&5
13392
 
$as_echo_n "checking whether _NL_TIME_WEEK_1STDAY is declared... " >&6; }
13393
 
if test "${ac_cv_have_decl__NL_TIME_WEEK_1STDAY+set}" = set; then
13394
 
  $as_echo_n "(cached) " >&6
13395
 
else
13396
 
  cat >conftest.$ac_ext <<_ACEOF
13397
 
/* confdefs.h.  */
13398
 
_ACEOF
13399
 
cat confdefs.h >>conftest.$ac_ext
13400
 
cat >>conftest.$ac_ext <<_ACEOF
13401
 
/* end confdefs.h.  */
13402
 
#include <langinfo.h>
13403
 
 
13404
 
int
13405
 
main ()
13406
 
{
13407
 
#ifndef _NL_TIME_WEEK_1STDAY
13408
 
  (void) _NL_TIME_WEEK_1STDAY;
13409
 
#endif
13410
 
 
13411
 
  ;
13412
 
  return 0;
13413
 
}
13414
 
_ACEOF
13415
 
rm -f conftest.$ac_objext
13416
 
if { (ac_try="$ac_compile"
13417
 
case "(($ac_try" in
13418
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419
 
  *) ac_try_echo=$ac_try;;
13420
 
esac
13421
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13422
 
$as_echo "$ac_try_echo") >&5
13423
 
  (eval "$ac_compile") 2>conftest.er1
13424
 
  ac_status=$?
13425
 
  grep -v '^ *+' conftest.er1 >conftest.err
13426
 
  rm -f conftest.er1
13427
 
  cat conftest.err >&5
13428
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429
 
  (exit $ac_status); } && {
13430
 
         test -z "$ac_c_werror_flag" ||
13431
 
         test ! -s conftest.err
13432
 
       } && test -s conftest.$ac_objext; then
13433
 
  ac_cv_have_decl__NL_TIME_WEEK_1STDAY=yes
13434
 
else
13435
 
  $as_echo "$as_me: failed program was:" >&5
13436
 
sed 's/^/| /' conftest.$ac_ext >&5
13437
 
 
13438
 
        ac_cv_have_decl__NL_TIME_WEEK_1STDAY=no
13439
 
fi
13440
 
 
13441
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13442
 
fi
13443
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__NL_TIME_WEEK_1STDAY" >&5
13444
 
$as_echo "$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" >&6; }
13445
 
if test "x$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" = x""yes; then
 
11928
ac_fn_c_check_decl "$LINENO" "_NL_TIME_WEEK_1STDAY" "ac_cv_have_decl__NL_TIME_WEEK_1STDAY" "#include <langinfo.h>
 
11929
"
 
11930
if test "x$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" = x""yes; then :
 
11931
  ac_have_decl=1
 
11932
else
 
11933
  ac_have_decl=0
 
11934
fi
13446
11935
 
13447
11936
cat >>confdefs.h <<_ACEOF
13448
 
#define HAVE_DECL__NL_TIME_WEEK_1STDAY 1
13449
 
_ACEOF
13450
 
 
13451
 
 
13452
 
else
13453
 
  cat >>confdefs.h <<_ACEOF
13454
 
#define HAVE_DECL__NL_TIME_WEEK_1STDAY 0
13455
 
_ACEOF
13456
 
 
13457
 
 
13458
 
fi
13459
 
 
13460
 
 
13461
 
 
13462
 
 
13463
 
 
13464
 
 
13465
 
 
13466
 
 
13467
 
 
13468
 
 
13469
 
 
13470
 
 
13471
 
 
13472
 
 
13473
 
 
13474
 
 
13475
 
 
13476
 
 
13477
 
 
13478
 
 
13479
 
 
13480
 
 
13481
 
 
13482
 
 
 
11937
#define HAVE_DECL__NL_TIME_WEEK_1STDAY $ac_have_decl
 
11938
_ACEOF
13483
11939
 
13484
11940
 
13485
11941
for ac_func in inet_aton \
13505
11961
        prctl \
13506
11962
        __secure_getenv \
13507
11963
        rpmatch
13508
 
do
13509
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13510
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13511
 
$as_echo_n "checking for $ac_func... " >&6; }
13512
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13513
 
  $as_echo_n "(cached) " >&6
13514
 
else
13515
 
  cat >conftest.$ac_ext <<_ACEOF
13516
 
/* confdefs.h.  */
13517
 
_ACEOF
13518
 
cat confdefs.h >>conftest.$ac_ext
13519
 
cat >>conftest.$ac_ext <<_ACEOF
13520
 
/* end confdefs.h.  */
13521
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13522
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13523
 
#define $ac_func innocuous_$ac_func
13524
 
 
13525
 
/* System header to define __stub macros and hopefully few prototypes,
13526
 
    which can conflict with char $ac_func (); below.
13527
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13528
 
    <limits.h> exists even on freestanding compilers.  */
13529
 
 
13530
 
#ifdef __STDC__
13531
 
# include <limits.h>
13532
 
#else
13533
 
# include <assert.h>
13534
 
#endif
13535
 
 
13536
 
#undef $ac_func
13537
 
 
13538
 
/* Override any GCC internal prototype to avoid an error.
13539
 
   Use char because int might match the return type of a GCC
13540
 
   builtin and then its argument prototype would still apply.  */
13541
 
#ifdef __cplusplus
13542
 
extern "C"
13543
 
#endif
13544
 
char $ac_func ();
13545
 
/* The GNU C library defines this for functions which it implements
13546
 
    to always fail with ENOSYS.  Some functions are actually named
13547
 
    something starting with __ and the normal name is an alias.  */
13548
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13549
 
choke me
13550
 
#endif
13551
 
 
13552
 
int
13553
 
main ()
13554
 
{
13555
 
return $ac_func ();
13556
 
  ;
13557
 
  return 0;
13558
 
}
13559
 
_ACEOF
13560
 
rm -f conftest.$ac_objext conftest$ac_exeext
13561
 
if { (ac_try="$ac_link"
13562
 
case "(($ac_try" in
13563
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13564
 
  *) ac_try_echo=$ac_try;;
13565
 
esac
13566
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13567
 
$as_echo "$ac_try_echo") >&5
13568
 
  (eval "$ac_link") 2>conftest.er1
13569
 
  ac_status=$?
13570
 
  grep -v '^ *+' conftest.er1 >conftest.err
13571
 
  rm -f conftest.er1
13572
 
  cat conftest.err >&5
13573
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574
 
  (exit $ac_status); } && {
13575
 
         test -z "$ac_c_werror_flag" ||
13576
 
         test ! -s conftest.err
13577
 
       } && test -s conftest$ac_exeext && {
13578
 
         test "$cross_compiling" = yes ||
13579
 
         $as_test_x conftest$ac_exeext
13580
 
       }; then
13581
 
  eval "$as_ac_var=yes"
13582
 
else
13583
 
  $as_echo "$as_me: failed program was:" >&5
13584
 
sed 's/^/| /' conftest.$ac_ext >&5
13585
 
 
13586
 
        eval "$as_ac_var=no"
13587
 
fi
13588
 
 
13589
 
rm -rf conftest.dSYM
13590
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13591
 
      conftest$ac_exeext conftest.$ac_ext
13592
 
fi
13593
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13594
 
                 $as_echo "$as_val"'`
13595
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13596
 
$as_echo "$ac_res" >&6; }
13597
 
as_val=`eval 'as_val=${'$as_ac_var'}
13598
 
                 $as_echo "$as_val"'`
13599
 
   if test "x$as_val" = x""yes; then
 
11964
do :
 
11965
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
11966
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
11967
eval as_val=\$$as_ac_var
 
11968
   if test "x$as_val" = x""yes; then :
13600
11969
  cat >>confdefs.h <<_ACEOF
13601
11970
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13602
11971
_ACEOF
13604
11973
fi
13605
11974
done
13606
11975
 
13607
 
{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
 
11976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13608
11977
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13609
 
if test "${ac_cv_sys_largefile_source+set}" = set; then
 
11978
if test "${ac_cv_sys_largefile_source+set}" = set; then :
13610
11979
  $as_echo_n "(cached) " >&6
13611
11980
else
13612
11981
  while :; do
13613
 
  cat >conftest.$ac_ext <<_ACEOF
13614
 
/* confdefs.h.  */
13615
 
_ACEOF
13616
 
cat confdefs.h >>conftest.$ac_ext
13617
 
cat >>conftest.$ac_ext <<_ACEOF
 
11982
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618
11983
/* end confdefs.h.  */
13619
11984
#include <sys/types.h> /* for off_t */
13620
11985
     #include <stdio.h>
13627
11992
  return 0;
13628
11993
}
13629
11994
_ACEOF
13630
 
rm -f conftest.$ac_objext conftest$ac_exeext
13631
 
if { (ac_try="$ac_link"
13632
 
case "(($ac_try" in
13633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13634
 
  *) ac_try_echo=$ac_try;;
13635
 
esac
13636
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13637
 
$as_echo "$ac_try_echo") >&5
13638
 
  (eval "$ac_link") 2>conftest.er1
13639
 
  ac_status=$?
13640
 
  grep -v '^ *+' conftest.er1 >conftest.err
13641
 
  rm -f conftest.er1
13642
 
  cat conftest.err >&5
13643
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644
 
  (exit $ac_status); } && {
13645
 
         test -z "$ac_c_werror_flag" ||
13646
 
         test ! -s conftest.err
13647
 
       } && test -s conftest$ac_exeext && {
13648
 
         test "$cross_compiling" = yes ||
13649
 
         $as_test_x conftest$ac_exeext
13650
 
       }; then
 
11995
if ac_fn_c_try_link "$LINENO"; then :
13651
11996
  ac_cv_sys_largefile_source=no; break
13652
 
else
13653
 
  $as_echo "$as_me: failed program was:" >&5
13654
 
sed 's/^/| /' conftest.$ac_ext >&5
13655
 
 
13656
 
 
13657
11997
fi
13658
 
 
13659
 
rm -rf conftest.dSYM
13660
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13661
 
      conftest$ac_exeext conftest.$ac_ext
13662
 
  cat >conftest.$ac_ext <<_ACEOF
13663
 
/* confdefs.h.  */
13664
 
_ACEOF
13665
 
cat confdefs.h >>conftest.$ac_ext
13666
 
cat >>conftest.$ac_ext <<_ACEOF
 
11998
rm -f core conftest.err conftest.$ac_objext \
 
11999
    conftest$ac_exeext conftest.$ac_ext
 
12000
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667
12001
/* end confdefs.h.  */
13668
12002
#define _LARGEFILE_SOURCE 1
13669
12003
#include <sys/types.h> /* for off_t */
13677
12011
  return 0;
13678
12012
}
13679
12013
_ACEOF
13680
 
rm -f conftest.$ac_objext conftest$ac_exeext
13681
 
if { (ac_try="$ac_link"
13682
 
case "(($ac_try" in
13683
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13684
 
  *) ac_try_echo=$ac_try;;
13685
 
esac
13686
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13687
 
$as_echo "$ac_try_echo") >&5
13688
 
  (eval "$ac_link") 2>conftest.er1
13689
 
  ac_status=$?
13690
 
  grep -v '^ *+' conftest.er1 >conftest.err
13691
 
  rm -f conftest.er1
13692
 
  cat conftest.err >&5
13693
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694
 
  (exit $ac_status); } && {
13695
 
         test -z "$ac_c_werror_flag" ||
13696
 
         test ! -s conftest.err
13697
 
       } && test -s conftest$ac_exeext && {
13698
 
         test "$cross_compiling" = yes ||
13699
 
         $as_test_x conftest$ac_exeext
13700
 
       }; then
 
12014
if ac_fn_c_try_link "$LINENO"; then :
13701
12015
  ac_cv_sys_largefile_source=1; break
13702
 
else
13703
 
  $as_echo "$as_me: failed program was:" >&5
13704
 
sed 's/^/| /' conftest.$ac_ext >&5
13705
 
 
13706
 
 
13707
12016
fi
13708
 
 
13709
 
rm -rf conftest.dSYM
13710
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13711
 
      conftest$ac_exeext conftest.$ac_ext
 
12017
rm -f core conftest.err conftest.$ac_objext \
 
12018
    conftest$ac_exeext conftest.$ac_ext
13712
12019
  ac_cv_sys_largefile_source=unknown
13713
12020
  break
13714
12021
done
13715
12022
fi
13716
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
 
12023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13717
12024
$as_echo "$ac_cv_sys_largefile_source" >&6; }
13718
12025
case $ac_cv_sys_largefile_source in #(
13719
12026
  no | unknown) ;;
13730
12037
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13731
12038
if test $ac_cv_sys_largefile_source != unknown; then
13732
12039
 
13733
 
cat >>confdefs.h <<\_ACEOF
13734
 
#define HAVE_FSEEKO 1
13735
 
_ACEOF
 
12040
$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13736
12041
 
13737
12042
fi
13738
12043
 
13739
12044
 
13740
 
 
13741
 
 
13742
 
 
13743
12045
for ac_func in openat fstatat unlinkat
13744
 
do
13745
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13746
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13747
 
$as_echo_n "checking for $ac_func... " >&6; }
13748
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13749
 
  $as_echo_n "(cached) " >&6
13750
 
else
13751
 
  cat >conftest.$ac_ext <<_ACEOF
13752
 
/* confdefs.h.  */
13753
 
_ACEOF
13754
 
cat confdefs.h >>conftest.$ac_ext
13755
 
cat >>conftest.$ac_ext <<_ACEOF
13756
 
/* end confdefs.h.  */
13757
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13758
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13759
 
#define $ac_func innocuous_$ac_func
13760
 
 
13761
 
/* System header to define __stub macros and hopefully few prototypes,
13762
 
    which can conflict with char $ac_func (); below.
13763
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13764
 
    <limits.h> exists even on freestanding compilers.  */
13765
 
 
13766
 
#ifdef __STDC__
13767
 
# include <limits.h>
13768
 
#else
13769
 
# include <assert.h>
13770
 
#endif
13771
 
 
13772
 
#undef $ac_func
13773
 
 
13774
 
/* Override any GCC internal prototype to avoid an error.
13775
 
   Use char because int might match the return type of a GCC
13776
 
   builtin and then its argument prototype would still apply.  */
13777
 
#ifdef __cplusplus
13778
 
extern "C"
13779
 
#endif
13780
 
char $ac_func ();
13781
 
/* The GNU C library defines this for functions which it implements
13782
 
    to always fail with ENOSYS.  Some functions are actually named
13783
 
    something starting with __ and the normal name is an alias.  */
13784
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13785
 
choke me
13786
 
#endif
13787
 
 
13788
 
int
13789
 
main ()
13790
 
{
13791
 
return $ac_func ();
13792
 
  ;
13793
 
  return 0;
13794
 
}
13795
 
_ACEOF
13796
 
rm -f conftest.$ac_objext conftest$ac_exeext
13797
 
if { (ac_try="$ac_link"
13798
 
case "(($ac_try" in
13799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13800
 
  *) ac_try_echo=$ac_try;;
13801
 
esac
13802
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13803
 
$as_echo "$ac_try_echo") >&5
13804
 
  (eval "$ac_link") 2>conftest.er1
13805
 
  ac_status=$?
13806
 
  grep -v '^ *+' conftest.er1 >conftest.err
13807
 
  rm -f conftest.er1
13808
 
  cat conftest.err >&5
13809
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810
 
  (exit $ac_status); } && {
13811
 
         test -z "$ac_c_werror_flag" ||
13812
 
         test ! -s conftest.err
13813
 
       } && test -s conftest$ac_exeext && {
13814
 
         test "$cross_compiling" = yes ||
13815
 
         $as_test_x conftest$ac_exeext
13816
 
       }; then
13817
 
  eval "$as_ac_var=yes"
13818
 
else
13819
 
  $as_echo "$as_me: failed program was:" >&5
13820
 
sed 's/^/| /' conftest.$ac_ext >&5
13821
 
 
13822
 
        eval "$as_ac_var=no"
13823
 
fi
13824
 
 
13825
 
rm -rf conftest.dSYM
13826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13827
 
      conftest$ac_exeext conftest.$ac_ext
13828
 
fi
13829
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13830
 
                 $as_echo "$as_val"'`
13831
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13832
 
$as_echo "$ac_res" >&6; }
13833
 
as_val=`eval 'as_val=${'$as_ac_var'}
13834
 
                 $as_echo "$as_val"'`
13835
 
   if test "x$as_val" = x""yes; then
 
12046
do :
 
12047
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12048
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
12049
eval as_val=\$$as_ac_var
 
12050
   if test "x$as_val" = x""yes; then :
13836
12051
  cat >>confdefs.h <<_ACEOF
13837
12052
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13838
12053
_ACEOF
13843
12058
done
13844
12059
 
13845
12060
 
13846
 
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
13847
 
$as_echo_n "checking for struct sockaddr.sa_len... " >&6; }
13848
 
if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
13849
 
  $as_echo_n "(cached) " >&6
13850
 
else
13851
 
  cat >conftest.$ac_ext <<_ACEOF
13852
 
/* confdefs.h.  */
13853
 
_ACEOF
13854
 
cat confdefs.h >>conftest.$ac_ext
13855
 
cat >>conftest.$ac_ext <<_ACEOF
13856
 
/* end confdefs.h.  */
13857
 
#include <sys/types.h>
13858
 
         #include <sys/socket.h>
13859
 
 
13860
 
int
13861
 
main ()
13862
 
{
13863
 
static struct sockaddr ac_aggr;
13864
 
if (ac_aggr.sa_len)
13865
 
return 0;
13866
 
  ;
13867
 
  return 0;
13868
 
}
13869
 
_ACEOF
13870
 
rm -f conftest.$ac_objext
13871
 
if { (ac_try="$ac_compile"
13872
 
case "(($ac_try" in
13873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13874
 
  *) ac_try_echo=$ac_try;;
13875
 
esac
13876
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13877
 
$as_echo "$ac_try_echo") >&5
13878
 
  (eval "$ac_compile") 2>conftest.er1
13879
 
  ac_status=$?
13880
 
  grep -v '^ *+' conftest.er1 >conftest.err
13881
 
  rm -f conftest.er1
13882
 
  cat conftest.err >&5
13883
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884
 
  (exit $ac_status); } && {
13885
 
         test -z "$ac_c_werror_flag" ||
13886
 
         test ! -s conftest.err
13887
 
       } && test -s conftest.$ac_objext; then
13888
 
  ac_cv_member_struct_sockaddr_sa_len=yes
13889
 
else
13890
 
  $as_echo "$as_me: failed program was:" >&5
13891
 
sed 's/^/| /' conftest.$ac_ext >&5
13892
 
 
13893
 
        cat >conftest.$ac_ext <<_ACEOF
13894
 
/* confdefs.h.  */
13895
 
_ACEOF
13896
 
cat confdefs.h >>conftest.$ac_ext
13897
 
cat >>conftest.$ac_ext <<_ACEOF
13898
 
/* end confdefs.h.  */
13899
 
#include <sys/types.h>
13900
 
         #include <sys/socket.h>
13901
 
 
13902
 
int
13903
 
main ()
13904
 
{
13905
 
static struct sockaddr ac_aggr;
13906
 
if (sizeof ac_aggr.sa_len)
13907
 
return 0;
13908
 
  ;
13909
 
  return 0;
13910
 
}
13911
 
_ACEOF
13912
 
rm -f conftest.$ac_objext
13913
 
if { (ac_try="$ac_compile"
13914
 
case "(($ac_try" in
13915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13916
 
  *) ac_try_echo=$ac_try;;
13917
 
esac
13918
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13919
 
$as_echo "$ac_try_echo") >&5
13920
 
  (eval "$ac_compile") 2>conftest.er1
13921
 
  ac_status=$?
13922
 
  grep -v '^ *+' conftest.er1 >conftest.err
13923
 
  rm -f conftest.er1
13924
 
  cat conftest.err >&5
13925
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926
 
  (exit $ac_status); } && {
13927
 
         test -z "$ac_c_werror_flag" ||
13928
 
         test ! -s conftest.err
13929
 
       } && test -s conftest.$ac_objext; then
13930
 
  ac_cv_member_struct_sockaddr_sa_len=yes
13931
 
else
13932
 
  $as_echo "$as_me: failed program was:" >&5
13933
 
sed 's/^/| /' conftest.$ac_ext >&5
13934
 
 
13935
 
        ac_cv_member_struct_sockaddr_sa_len=no
13936
 
fi
13937
 
 
13938
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13939
 
fi
13940
 
 
13941
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942
 
fi
13943
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
13944
 
$as_echo "$ac_cv_member_struct_sockaddr_sa_len" >&6; }
13945
 
if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then
 
12061
ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
 
12062
         #include <sys/socket.h>
 
12063
"
 
12064
if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
13946
12065
 
13947
12066
cat >>confdefs.h <<_ACEOF
13948
12067
#define HAVE_SA_LEN 1
13954
12073
 
13955
12074
 
13956
12075
# Check whether --enable-static-programs was given.
13957
 
if test "${enable_static_programs+set}" = set; then
 
12076
if test "${enable_static_programs+set}" = set; then :
13958
12077
  enableval=$enable_static_programs;
13959
12078
fi
13960
12079
 
14048
12167
 
14049
12168
 
14050
12169
# Check whether --enable-tls was given.
14051
 
if test "${enable_tls+set}" = set; then
 
12170
if test "${enable_tls+set}" = set; then :
14052
12171
  enableval=$enable_tls;
14053
12172
else
14054
12173
  enable_tls=yes
14057
12176
 
14058
12177
if test "x$enable_tls" = xyes; then
14059
12178
 
14060
 
  { $as_echo "$as_me:$LINENO: checking for thread local storage (TLS) class" >&5
 
12179
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
14061
12180
$as_echo_n "checking for thread local storage (TLS) class... " >&6; }
14062
 
  if test "${ac_cv_tls+set}" = set; then
 
12181
  if test "${ac_cv_tls+set}" = set; then :
14063
12182
  $as_echo_n "(cached) " >&6
14064
12183
else
14065
12184
 
14068
12187
       case $ax_tls_keyword in
14069
12188
          none) ac_cv_tls=none ; break ;;
14070
12189
          *)
14071
 
             cat >conftest.$ac_ext <<_ACEOF
14072
 
/* confdefs.h.  */
14073
 
_ACEOF
14074
 
cat confdefs.h >>conftest.$ac_ext
14075
 
cat >>conftest.$ac_ext <<_ACEOF
 
12190
             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076
12191
/* end confdefs.h.  */
14077
12192
#include <stdlib.h>
14078
12193
                 static void
14088
12203
  return 0;
14089
12204
}
14090
12205
_ACEOF
14091
 
rm -f conftest.$ac_objext
14092
 
if { (ac_try="$ac_compile"
14093
 
case "(($ac_try" in
14094
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14095
 
  *) ac_try_echo=$ac_try;;
14096
 
esac
14097
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14098
 
$as_echo "$ac_try_echo") >&5
14099
 
  (eval "$ac_compile") 2>conftest.er1
14100
 
  ac_status=$?
14101
 
  grep -v '^ *+' conftest.er1 >conftest.err
14102
 
  rm -f conftest.er1
14103
 
  cat conftest.err >&5
14104
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105
 
  (exit $ac_status); } && {
14106
 
         test -z "$ac_c_werror_flag" ||
14107
 
         test ! -s conftest.err
14108
 
       } && test -s conftest.$ac_objext; then
 
12206
if ac_fn_c_try_compile "$LINENO"; then :
14109
12207
  ac_cv_tls=$ax_tls_keyword ; break
14110
12208
else
14111
 
  $as_echo "$as_me: failed program was:" >&5
14112
 
sed 's/^/| /' conftest.$ac_ext >&5
14113
 
 
14114
 
        ac_cv_tls=none
 
12209
  ac_cv_tls=none
14115
12210
 
14116
12211
fi
14117
 
 
14118
12212
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14119
12213
          esac
14120
12214
    done
14129
12223
_ACEOF
14130
12224
 
14131
12225
  fi
14132
 
  { $as_echo "$as_me:$LINENO: result: $ac_cv_tls" >&5
 
12226
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
14133
12227
$as_echo "$ac_cv_tls" >&6; }
14134
12228
 
14135
12229
fi
14136
12230
 
14137
12231
 
14138
12232
# Check whether --enable-mount was given.
14139
 
if test "${enable_mount+set}" = set; then
 
12233
if test "${enable_mount+set}" = set; then :
14140
12234
  enableval=$enable_mount;
14141
12235
else
14142
12236
  enable_mount=check
14146
12240
build_mount=yes
14147
12241
if test "x$enable_mount" = xcheck; then
14148
12242
  if test "x$linux_os" = xno; then
14149
 
    { $as_echo "$as_me:$LINENO: WARNING: non-linux system; do not build mount utilities" >&5
 
12243
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build mount utilities" >&5
14150
12244
$as_echo "$as_me: WARNING: non-linux system; do not build mount utilities" >&2;}
14151
12245
    build_mount=no
14152
12246
  fi
14164
12258
 
14165
12259
 
14166
12260
# Check whether --enable-fsck was given.
14167
 
if test "${enable_fsck+set}" = set; then
 
12261
if test "${enable_fsck+set}" = set; then :
14168
12262
  enableval=$enable_fsck;
14169
12263
else
14170
12264
  enable_fsck=yes
14182
12276
 
14183
12277
 
14184
12278
# Check whether --enable-libuuid was given.
14185
 
if test "${enable_libuuid+set}" = set; then
 
12279
if test "${enable_libuuid+set}" = set; then :
14186
12280
  enableval=$enable_libuuid;
14187
12281
else
14188
12282
  enable_libuuid=yes
14205
12299
  # Check for external (e2fsprogs) libuuid
14206
12300
 
14207
12301
pkg_failed=no
14208
 
{ $as_echo "$as_me:$LINENO: checking for UUID" >&5
 
12302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
14209
12303
$as_echo_n "checking for UUID... " >&6; }
14210
12304
 
14211
12305
if test -n "$PKG_CONFIG"; then
14213
12307
        pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
14214
12308
    else
14215
12309
        if test -n "$PKG_CONFIG" && \
14216
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"uuid\"") >&5
 
12310
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
14217
12311
  ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
14218
12312
  ac_status=$?
14219
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220
 
  (exit $ac_status); }; then
 
12313
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12314
  test $ac_status = 0; }; then
14221
12315
  pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
14222
12316
else
14223
12317
  pkg_failed=yes
14231
12325
        pkg_cv_UUID_LIBS="$UUID_LIBS"
14232
12326
    else
14233
12327
        if test -n "$PKG_CONFIG" && \
14234
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"uuid\"") >&5
 
12328
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
14235
12329
  ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
14236
12330
  ac_status=$?
14237
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238
 
  (exit $ac_status); }; then
 
12331
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12332
  test $ac_status = 0; }; then
14239
12333
  pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
14240
12334
else
14241
12335
  pkg_failed=yes
14262
12356
        # Put the nasty error message in config.log where it belongs
14263
12357
        echo "$UUID_PKG_ERRORS" >&5
14264
12358
 
14265
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12359
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14266
12360
$as_echo "no" >&6; }
14267
12361
                have_uuid=no
14268
12362
elif test $pkg_failed = untried; then
14270
12364
else
14271
12365
        UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
14272
12366
        UUID_LIBS=$pkg_cv_UUID_LIBS
14273
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12367
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14274
12368
$as_echo "yes" >&6; }
14275
12369
        have_uuid=yes
14276
12370
fi
14277
12371
  if test "x$have_uuid" = xno; then
14278
12372
    # system without pkg-config or so, try classic check
14279
 
    { $as_echo "$as_me:$LINENO: checking for uuid_is_null in -luuid" >&5
 
12373
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_is_null in -luuid" >&5
14280
12374
$as_echo_n "checking for uuid_is_null in -luuid... " >&6; }
14281
 
if test "${ac_cv_lib_uuid_uuid_is_null+set}" = set; then
 
12375
if test "${ac_cv_lib_uuid_uuid_is_null+set}" = set; then :
14282
12376
  $as_echo_n "(cached) " >&6
14283
12377
else
14284
12378
  ac_check_lib_save_LIBS=$LIBS
14285
12379
LIBS="-luuid  $LIBS"
14286
 
cat >conftest.$ac_ext <<_ACEOF
14287
 
/* confdefs.h.  */
14288
 
_ACEOF
14289
 
cat confdefs.h >>conftest.$ac_ext
14290
 
cat >>conftest.$ac_ext <<_ACEOF
 
12380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291
12381
/* end confdefs.h.  */
14292
12382
 
14293
12383
/* Override any GCC internal prototype to avoid an error.
14305
12395
  return 0;
14306
12396
}
14307
12397
_ACEOF
14308
 
rm -f conftest.$ac_objext conftest$ac_exeext
14309
 
if { (ac_try="$ac_link"
14310
 
case "(($ac_try" in
14311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14312
 
  *) ac_try_echo=$ac_try;;
14313
 
esac
14314
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14315
 
$as_echo "$ac_try_echo") >&5
14316
 
  (eval "$ac_link") 2>conftest.er1
14317
 
  ac_status=$?
14318
 
  grep -v '^ *+' conftest.er1 >conftest.err
14319
 
  rm -f conftest.er1
14320
 
  cat conftest.err >&5
14321
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322
 
  (exit $ac_status); } && {
14323
 
         test -z "$ac_c_werror_flag" ||
14324
 
         test ! -s conftest.err
14325
 
       } && test -s conftest$ac_exeext && {
14326
 
         test "$cross_compiling" = yes ||
14327
 
         $as_test_x conftest$ac_exeext
14328
 
       }; then
 
12398
if ac_fn_c_try_link "$LINENO"; then :
14329
12399
  ac_cv_lib_uuid_uuid_is_null=yes
14330
12400
else
14331
 
  $as_echo "$as_me: failed program was:" >&5
14332
 
sed 's/^/| /' conftest.$ac_ext >&5
14333
 
 
14334
 
        ac_cv_lib_uuid_uuid_is_null=no
 
12401
  ac_cv_lib_uuid_uuid_is_null=no
14335
12402
fi
14336
 
 
14337
 
rm -rf conftest.dSYM
14338
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14339
 
      conftest$ac_exeext conftest.$ac_ext
 
12403
rm -f core conftest.err conftest.$ac_objext \
 
12404
    conftest$ac_exeext conftest.$ac_ext
14340
12405
LIBS=$ac_check_lib_save_LIBS
14341
12406
fi
14342
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_is_null" >&5
 
12407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_is_null" >&5
14343
12408
$as_echo "$ac_cv_lib_uuid_uuid_is_null" >&6; }
14344
 
if test "x$ac_cv_lib_uuid_uuid_is_null" = x""yes; then
 
12409
if test "x$ac_cv_lib_uuid_uuid_is_null" = x""yes; then :
14345
12410
  have_uuid=yes
14346
12411
else
14347
12412
  have_uuid=no
14357
12422
  CPPFLAGS="$CPPFLAGS $UUID_CFLAGS"
14358
12423
  LDFLAGS="$LDFLAGS $UUID_LIBS"
14359
12424
 
14360
 
 
14361
 
 
14362
 
for ac_header in uuid.h uuid/uuid.h
14363
 
do
14364
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14365
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14366
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14367
 
$as_echo_n "checking for $ac_header... " >&6; }
14368
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14369
 
  $as_echo_n "(cached) " >&6
14370
 
fi
14371
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14372
 
                 $as_echo "$as_val"'`
14373
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14374
 
$as_echo "$ac_res" >&6; }
14375
 
else
14376
 
  # Is the header compilable?
14377
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14378
 
$as_echo_n "checking $ac_header usability... " >&6; }
14379
 
cat >conftest.$ac_ext <<_ACEOF
14380
 
/* confdefs.h.  */
14381
 
_ACEOF
14382
 
cat confdefs.h >>conftest.$ac_ext
14383
 
cat >>conftest.$ac_ext <<_ACEOF
14384
 
/* end confdefs.h.  */
14385
 
$ac_includes_default
14386
 
#include <$ac_header>
14387
 
_ACEOF
14388
 
rm -f conftest.$ac_objext
14389
 
if { (ac_try="$ac_compile"
14390
 
case "(($ac_try" in
14391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392
 
  *) ac_try_echo=$ac_try;;
14393
 
esac
14394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14395
 
$as_echo "$ac_try_echo") >&5
14396
 
  (eval "$ac_compile") 2>conftest.er1
14397
 
  ac_status=$?
14398
 
  grep -v '^ *+' conftest.er1 >conftest.err
14399
 
  rm -f conftest.er1
14400
 
  cat conftest.err >&5
14401
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402
 
  (exit $ac_status); } && {
14403
 
         test -z "$ac_c_werror_flag" ||
14404
 
         test ! -s conftest.err
14405
 
       } && test -s conftest.$ac_objext; then
14406
 
  ac_header_compiler=yes
14407
 
else
14408
 
  $as_echo "$as_me: failed program was:" >&5
14409
 
sed 's/^/| /' conftest.$ac_ext >&5
14410
 
 
14411
 
        ac_header_compiler=no
14412
 
fi
14413
 
 
14414
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14415
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14416
 
$as_echo "$ac_header_compiler" >&6; }
14417
 
 
14418
 
# Is the header present?
14419
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14420
 
$as_echo_n "checking $ac_header presence... " >&6; }
14421
 
cat >conftest.$ac_ext <<_ACEOF
14422
 
/* confdefs.h.  */
14423
 
_ACEOF
14424
 
cat confdefs.h >>conftest.$ac_ext
14425
 
cat >>conftest.$ac_ext <<_ACEOF
14426
 
/* end confdefs.h.  */
14427
 
#include <$ac_header>
14428
 
_ACEOF
14429
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14430
 
case "(($ac_try" in
14431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14432
 
  *) ac_try_echo=$ac_try;;
14433
 
esac
14434
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14435
 
$as_echo "$ac_try_echo") >&5
14436
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14437
 
  ac_status=$?
14438
 
  grep -v '^ *+' conftest.er1 >conftest.err
14439
 
  rm -f conftest.er1
14440
 
  cat conftest.err >&5
14441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442
 
  (exit $ac_status); } >/dev/null && {
14443
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14444
 
         test ! -s conftest.err
14445
 
       }; then
14446
 
  ac_header_preproc=yes
14447
 
else
14448
 
  $as_echo "$as_me: failed program was:" >&5
14449
 
sed 's/^/| /' conftest.$ac_ext >&5
14450
 
 
14451
 
  ac_header_preproc=no
14452
 
fi
14453
 
 
14454
 
rm -f conftest.err conftest.$ac_ext
14455
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14456
 
$as_echo "$ac_header_preproc" >&6; }
14457
 
 
14458
 
# So?  What about this header?
14459
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14460
 
  yes:no: )
14461
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14462
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14463
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14464
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14465
 
    ac_header_preproc=yes
14466
 
    ;;
14467
 
  no:yes:* )
14468
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14469
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14470
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14471
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14472
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14473
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14474
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14475
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14476
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14477
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14478
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14479
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14480
 
    ( cat <<\_ASBOX
14481
 
## ------------------------------ ##
14482
 
## Report this to kzak@redhat.com ##
14483
 
## ------------------------------ ##
14484
 
_ASBOX
14485
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14486
 
    ;;
14487
 
esac
14488
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14489
 
$as_echo_n "checking for $ac_header... " >&6; }
14490
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14491
 
  $as_echo_n "(cached) " >&6
14492
 
else
14493
 
  eval "$as_ac_Header=\$ac_header_preproc"
14494
 
fi
14495
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14496
 
                 $as_echo "$as_val"'`
14497
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14498
 
$as_echo "$ac_res" >&6; }
14499
 
 
14500
 
fi
14501
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14502
 
                 $as_echo "$as_val"'`
14503
 
   if test "x$as_val" = x""yes; then
 
12425
    for ac_header in uuid.h uuid/uuid.h
 
12426
do :
 
12427
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12428
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12429
eval as_val=\$$as_ac_Header
 
12430
   if test "x$as_val" = x""yes; then :
14504
12431
  cat >>confdefs.h <<_ACEOF
14505
12432
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14506
12433
_ACEOF
14518
12445
else
14519
12446
  # internal library
14520
12447
 
14521
 
cat >>confdefs.h <<\_ACEOF
14522
 
#define HAVE_UUID_H 1
14523
 
_ACEOF
 
12448
$as_echo "#define HAVE_UUID_H 1" >>confdefs.h
14524
12449
 
14525
12450
fi
14526
12451
 
14527
12452
if test "x$have_uuid" = xyes; then
14528
12453
 
14529
 
cat >>confdefs.h <<\_ACEOF
14530
 
#define HAVE_LIBUUID 1
14531
 
_ACEOF
 
12454
$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h
14532
12455
 
14533
12456
else
14534
 
  { $as_echo "$as_me:$LINENO: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&5
 
12457
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&5
14535
12458
$as_echo "$as_me: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&2;}
14536
12459
fi
14537
12460
 if test "x$have_uuid" = xyes; then
14547
12470
 
14548
12471
 
14549
12472
# Check whether --enable-uuidd was given.
14550
 
if test "${enable_uuidd+set}" = set; then
 
12473
if test "${enable_uuidd+set}" = set; then :
14551
12474
  enableval=$enable_uuidd;
14552
12475
else
14553
12476
  enable_uuidd=auto
14557
12480
 
14558
12481
case "$enable_uuidd:$have_uuid" in
14559
12482
yes:no)
14560
 
  { { $as_echo "$as_me:$LINENO: error: cannot enable uuidd when libuuid is disabled" >&5
14561
 
$as_echo "$as_me: error: cannot enable uuidd when libuuid is disabled" >&2;}
14562
 
   { (exit 1); exit 1; }; } ;;
 
12483
  as_fn_error "cannot enable uuidd when libuuid is disabled" "$LINENO" 5 ;;
14563
12484
auto:*)
14564
12485
  enable_uuidd=$have_uuid ;;
14565
12486
esac
14566
12487
if test "x$enable_uuidd" = xyes; then
14567
12488
 
14568
 
cat >>confdefs.h <<\_ACEOF
14569
 
#define HAVE_UUIDD 1
14570
 
_ACEOF
 
12489
$as_echo "#define HAVE_UUIDD 1" >>confdefs.h
14571
12490
 
14572
12491
fi
14573
12492
 if test "x$enable_uuidd" = xyes; then
14581
12500
 
14582
12501
 
14583
12502
# Check whether --enable-libblkid was given.
14584
 
if test "${enable_libblkid+set}" = set; then
 
12503
if test "${enable_libblkid+set}" = set; then :
14585
12504
  enableval=$enable_libblkid;
14586
12505
else
14587
12506
  enable_libblkid=yes
14615
12534
    # Check for external (e2fsprogs) libblkid
14616
12535
 
14617
12536
pkg_failed=no
14618
 
{ $as_echo "$as_me:$LINENO: checking for BLKID" >&5
 
12537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKID" >&5
14619
12538
$as_echo_n "checking for BLKID... " >&6; }
14620
12539
 
14621
12540
if test -n "$PKG_CONFIG"; then
14623
12542
        pkg_cv_BLKID_CFLAGS="$BLKID_CFLAGS"
14624
12543
    else
14625
12544
        if test -n "$PKG_CONFIG" && \
14626
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"blkid\"") >&5
 
12545
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"blkid\""; } >&5
14627
12546
  ($PKG_CONFIG --exists --print-errors "blkid") 2>&5
14628
12547
  ac_status=$?
14629
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630
 
  (exit $ac_status); }; then
 
12548
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12549
  test $ac_status = 0; }; then
14631
12550
  pkg_cv_BLKID_CFLAGS=`$PKG_CONFIG --cflags "blkid" 2>/dev/null`
14632
12551
else
14633
12552
  pkg_failed=yes
14641
12560
        pkg_cv_BLKID_LIBS="$BLKID_LIBS"
14642
12561
    else
14643
12562
        if test -n "$PKG_CONFIG" && \
14644
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"blkid\"") >&5
 
12563
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"blkid\""; } >&5
14645
12564
  ($PKG_CONFIG --exists --print-errors "blkid") 2>&5
14646
12565
  ac_status=$?
14647
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648
 
  (exit $ac_status); }; then
 
12566
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12567
  test $ac_status = 0; }; then
14649
12568
  pkg_cv_BLKID_LIBS=`$PKG_CONFIG --libs "blkid" 2>/dev/null`
14650
12569
else
14651
12570
  pkg_failed=yes
14672
12591
        # Put the nasty error message in config.log where it belongs
14673
12592
        echo "$BLKID_PKG_ERRORS" >&5
14674
12593
 
14675
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12594
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676
12595
$as_echo "no" >&6; }
14677
12596
                have_blkid=no
14678
12597
elif test $pkg_failed = untried; then
14680
12599
else
14681
12600
        BLKID_CFLAGS=$pkg_cv_BLKID_CFLAGS
14682
12601
        BLKID_LIBS=$pkg_cv_BLKID_LIBS
14683
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12602
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14684
12603
$as_echo "yes" >&6; }
14685
12604
        have_blkid=yes
14686
12605
fi
14687
12606
    if test "x$have_blkid" = xno; then
14688
12607
      # system without pkg-config or so, try classic check
14689
 
      { $as_echo "$as_me:$LINENO: checking for blkid_get_cache in -lblkid" >&5
 
12608
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
14690
12609
$as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
14691
 
if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then
 
12610
if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then :
14692
12611
  $as_echo_n "(cached) " >&6
14693
12612
else
14694
12613
  ac_check_lib_save_LIBS=$LIBS
14695
12614
LIBS="-lblkid  $LIBS"
14696
 
cat >conftest.$ac_ext <<_ACEOF
14697
 
/* confdefs.h.  */
14698
 
_ACEOF
14699
 
cat confdefs.h >>conftest.$ac_ext
14700
 
cat >>conftest.$ac_ext <<_ACEOF
 
12615
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701
12616
/* end confdefs.h.  */
14702
12617
 
14703
12618
/* Override any GCC internal prototype to avoid an error.
14715
12630
  return 0;
14716
12631
}
14717
12632
_ACEOF
14718
 
rm -f conftest.$ac_objext conftest$ac_exeext
14719
 
if { (ac_try="$ac_link"
14720
 
case "(($ac_try" in
14721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14722
 
  *) ac_try_echo=$ac_try;;
14723
 
esac
14724
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14725
 
$as_echo "$ac_try_echo") >&5
14726
 
  (eval "$ac_link") 2>conftest.er1
14727
 
  ac_status=$?
14728
 
  grep -v '^ *+' conftest.er1 >conftest.err
14729
 
  rm -f conftest.er1
14730
 
  cat conftest.err >&5
14731
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732
 
  (exit $ac_status); } && {
14733
 
         test -z "$ac_c_werror_flag" ||
14734
 
         test ! -s conftest.err
14735
 
       } && test -s conftest$ac_exeext && {
14736
 
         test "$cross_compiling" = yes ||
14737
 
         $as_test_x conftest$ac_exeext
14738
 
       }; then
 
12633
if ac_fn_c_try_link "$LINENO"; then :
14739
12634
  ac_cv_lib_blkid_blkid_get_cache=yes
14740
12635
else
14741
 
  $as_echo "$as_me: failed program was:" >&5
14742
 
sed 's/^/| /' conftest.$ac_ext >&5
14743
 
 
14744
 
        ac_cv_lib_blkid_blkid_get_cache=no
 
12636
  ac_cv_lib_blkid_blkid_get_cache=no
14745
12637
fi
14746
 
 
14747
 
rm -rf conftest.dSYM
14748
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14749
 
      conftest$ac_exeext conftest.$ac_ext
 
12638
rm -f core conftest.err conftest.$ac_objext \
 
12639
    conftest$ac_exeext conftest.$ac_ext
14750
12640
LIBS=$ac_check_lib_save_LIBS
14751
12641
fi
14752
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
 
12642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
14753
12643
$as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
14754
 
if test "x$ac_cv_lib_blkid_blkid_get_cache" = x""yes; then
 
12644
if test "x$ac_cv_lib_blkid_blkid_get_cache" = x""yes; then :
14755
12645
  have_blkid=yes
14756
12646
else
14757
12647
  have_blkid=no
14767
12657
  CPPFLAGS="$CPPFLAGS $BLKID_CFLAGS"
14768
12658
  LDFLAGS="$LDFLAGS $BLKID_LIBS"
14769
12659
 
14770
 
 
14771
 
 
14772
 
for ac_header in blkid.h blkid/blkid.h
14773
 
do
14774
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14775
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14776
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14777
 
$as_echo_n "checking for $ac_header... " >&6; }
14778
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14779
 
  $as_echo_n "(cached) " >&6
14780
 
fi
14781
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14782
 
                 $as_echo "$as_val"'`
14783
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14784
 
$as_echo "$ac_res" >&6; }
14785
 
else
14786
 
  # Is the header compilable?
14787
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14788
 
$as_echo_n "checking $ac_header usability... " >&6; }
14789
 
cat >conftest.$ac_ext <<_ACEOF
14790
 
/* confdefs.h.  */
14791
 
_ACEOF
14792
 
cat confdefs.h >>conftest.$ac_ext
14793
 
cat >>conftest.$ac_ext <<_ACEOF
14794
 
/* end confdefs.h.  */
14795
 
$ac_includes_default
14796
 
#include <$ac_header>
14797
 
_ACEOF
14798
 
rm -f conftest.$ac_objext
14799
 
if { (ac_try="$ac_compile"
14800
 
case "(($ac_try" in
14801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14802
 
  *) ac_try_echo=$ac_try;;
14803
 
esac
14804
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14805
 
$as_echo "$ac_try_echo") >&5
14806
 
  (eval "$ac_compile") 2>conftest.er1
14807
 
  ac_status=$?
14808
 
  grep -v '^ *+' conftest.er1 >conftest.err
14809
 
  rm -f conftest.er1
14810
 
  cat conftest.err >&5
14811
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812
 
  (exit $ac_status); } && {
14813
 
         test -z "$ac_c_werror_flag" ||
14814
 
         test ! -s conftest.err
14815
 
       } && test -s conftest.$ac_objext; then
14816
 
  ac_header_compiler=yes
14817
 
else
14818
 
  $as_echo "$as_me: failed program was:" >&5
14819
 
sed 's/^/| /' conftest.$ac_ext >&5
14820
 
 
14821
 
        ac_header_compiler=no
14822
 
fi
14823
 
 
14824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14825
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14826
 
$as_echo "$ac_header_compiler" >&6; }
14827
 
 
14828
 
# Is the header present?
14829
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14830
 
$as_echo_n "checking $ac_header presence... " >&6; }
14831
 
cat >conftest.$ac_ext <<_ACEOF
14832
 
/* confdefs.h.  */
14833
 
_ACEOF
14834
 
cat confdefs.h >>conftest.$ac_ext
14835
 
cat >>conftest.$ac_ext <<_ACEOF
14836
 
/* end confdefs.h.  */
14837
 
#include <$ac_header>
14838
 
_ACEOF
14839
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14840
 
case "(($ac_try" in
14841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14842
 
  *) ac_try_echo=$ac_try;;
14843
 
esac
14844
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14845
 
$as_echo "$ac_try_echo") >&5
14846
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14847
 
  ac_status=$?
14848
 
  grep -v '^ *+' conftest.er1 >conftest.err
14849
 
  rm -f conftest.er1
14850
 
  cat conftest.err >&5
14851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852
 
  (exit $ac_status); } >/dev/null && {
14853
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14854
 
         test ! -s conftest.err
14855
 
       }; then
14856
 
  ac_header_preproc=yes
14857
 
else
14858
 
  $as_echo "$as_me: failed program was:" >&5
14859
 
sed 's/^/| /' conftest.$ac_ext >&5
14860
 
 
14861
 
  ac_header_preproc=no
14862
 
fi
14863
 
 
14864
 
rm -f conftest.err conftest.$ac_ext
14865
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14866
 
$as_echo "$ac_header_preproc" >&6; }
14867
 
 
14868
 
# So?  What about this header?
14869
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14870
 
  yes:no: )
14871
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14872
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14873
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14874
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14875
 
    ac_header_preproc=yes
14876
 
    ;;
14877
 
  no:yes:* )
14878
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14879
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14880
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14881
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14882
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14883
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14884
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14885
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14886
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14887
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14888
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14889
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14890
 
    ( cat <<\_ASBOX
14891
 
## ------------------------------ ##
14892
 
## Report this to kzak@redhat.com ##
14893
 
## ------------------------------ ##
14894
 
_ASBOX
14895
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14896
 
    ;;
14897
 
esac
14898
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14899
 
$as_echo_n "checking for $ac_header... " >&6; }
14900
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14901
 
  $as_echo_n "(cached) " >&6
14902
 
else
14903
 
  eval "$as_ac_Header=\$ac_header_preproc"
14904
 
fi
14905
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14906
 
                 $as_echo "$as_val"'`
14907
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14908
 
$as_echo "$ac_res" >&6; }
14909
 
 
14910
 
fi
14911
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14912
 
                 $as_echo "$as_val"'`
14913
 
   if test "x$as_val" = x""yes; then
 
12660
      for ac_header in blkid.h blkid/blkid.h
 
12661
do :
 
12662
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12663
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12664
eval as_val=\$$as_ac_Header
 
12665
   if test "x$as_val" = x""yes; then :
14914
12666
  cat >>confdefs.h <<_ACEOF
14915
12667
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14916
12668
_ACEOF
14928
12680
    if test -n "$enable_static_programs"; then
14929
12681
      # TODO check only when mount of fsck are requested
14930
12682
 
14931
 
  if { ($as_echo "$as_me:$LINENO: pkg-config --exists --print-errors \"blkid\"") >&5
 
12683
  if { { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config --exists --print-errors \"blkid\""; } >&5
14932
12684
  (pkg-config --exists --print-errors "blkid") 2>&5
14933
12685
  ac_status=$?
14934
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935
 
  (exit $ac_status); }; then
 
12686
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12687
  test $ac_status = 0; }; then
14936
12688
    BLKID_LIBS_STATIC=`pkg-config --libs --static "blkid"`
14937
12689
  else
14938
 
    { { $as_echo "$as_me:$LINENO: error: pkg-config description of blkid, needed for static build, is not available" >&5
14939
 
$as_echo "$as_me: error: pkg-config description of blkid, needed for static build, is not available" >&2;}
14940
 
   { (exit 1); exit 1; }; }
 
12690
    as_fn_error "pkg-config description of blkid, needed for static build, is not available" "$LINENO" 5
14941
12691
  fi
14942
12692
 
14943
12693
    fi
14945
12695
else
14946
12696
  # internal library
14947
12697
 
14948
 
cat >>confdefs.h <<\_ACEOF
14949
 
#define HAVE_BLKID_H 1
14950
 
_ACEOF
14951
 
 
14952
 
 
14953
 
cat >>confdefs.h <<\_ACEOF
14954
 
#define HAVE_BLKID_EVALUATE_TAG 1
14955
 
_ACEOF
 
12698
$as_echo "#define HAVE_BLKID_H 1" >>confdefs.h
 
12699
 
 
12700
 
 
12701
$as_echo "#define HAVE_BLKID_EVALUATE_TAG 1" >>confdefs.h
14956
12702
 
14957
12703
fi
14958
12704
 
14959
12705
if test "x$have_blkid" = xyes; then
14960
12706
 
14961
 
cat >>confdefs.h <<\_ACEOF
14962
 
#define HAVE_LIBBLKID 1
14963
 
_ACEOF
 
12707
$as_echo "#define HAVE_LIBBLKID 1" >>confdefs.h
14964
12708
 
14965
12709
else
14966
12710
  if test "x$build_mount" = xyes; then
14967
 
    { { $as_echo "$as_me:$LINENO: error: libblkid is needed to build util-linux-ng mount" >&5
14968
 
$as_echo "$as_me: error: libblkid is needed to build util-linux-ng mount" >&2;}
14969
 
   { (exit 1); exit 1; }; }
 
12711
    as_fn_error "libblkid is needed to build util-linux-ng mount" "$LINENO" 5
14970
12712
  fi
14971
12713
  if test "x$enable_fsck" = xyes; then
14972
 
    { { $as_echo "$as_me:$LINENO: error: libblkid is needed to build util-linux-ng fsck" >&5
14973
 
$as_echo "$as_me: error: libblkid is needed to build util-linux-ng fsck" >&2;}
14974
 
   { (exit 1); exit 1; }; }
 
12714
    as_fn_error "libblkid is needed to build util-linux-ng fsck" "$LINENO" 5
14975
12715
  fi
14976
12716
fi
14977
12717
 if test "x$have_blkid" = xyes; then
14991
12731
 
14992
12732
 
14993
12733
  have_util=yes
14994
 
 
14995
 
{ $as_echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
 
12734
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
14996
12735
$as_echo_n "checking for openpty in -lutil... " >&6; }
14997
 
if test "${ac_cv_lib_util_openpty+set}" = set; then
 
12736
if test "${ac_cv_lib_util_openpty+set}" = set; then :
14998
12737
  $as_echo_n "(cached) " >&6
14999
12738
else
15000
12739
  ac_check_lib_save_LIBS=$LIBS
15001
12740
LIBS="-lutil  $LIBS"
15002
 
cat >conftest.$ac_ext <<_ACEOF
15003
 
/* confdefs.h.  */
15004
 
_ACEOF
15005
 
cat confdefs.h >>conftest.$ac_ext
15006
 
cat >>conftest.$ac_ext <<_ACEOF
 
12741
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007
12742
/* end confdefs.h.  */
15008
12743
 
15009
12744
/* Override any GCC internal prototype to avoid an error.
15021
12756
  return 0;
15022
12757
}
15023
12758
_ACEOF
15024
 
rm -f conftest.$ac_objext conftest$ac_exeext
15025
 
if { (ac_try="$ac_link"
15026
 
case "(($ac_try" in
15027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15028
 
  *) ac_try_echo=$ac_try;;
15029
 
esac
15030
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15031
 
$as_echo "$ac_try_echo") >&5
15032
 
  (eval "$ac_link") 2>conftest.er1
15033
 
  ac_status=$?
15034
 
  grep -v '^ *+' conftest.er1 >conftest.err
15035
 
  rm -f conftest.er1
15036
 
  cat conftest.err >&5
15037
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038
 
  (exit $ac_status); } && {
15039
 
         test -z "$ac_c_werror_flag" ||
15040
 
         test ! -s conftest.err
15041
 
       } && test -s conftest$ac_exeext && {
15042
 
         test "$cross_compiling" = yes ||
15043
 
         $as_test_x conftest$ac_exeext
15044
 
       }; then
 
12759
if ac_fn_c_try_link "$LINENO"; then :
15045
12760
  ac_cv_lib_util_openpty=yes
15046
12761
else
15047
 
  $as_echo "$as_me: failed program was:" >&5
15048
 
sed 's/^/| /' conftest.$ac_ext >&5
15049
 
 
15050
 
        ac_cv_lib_util_openpty=no
 
12762
  ac_cv_lib_util_openpty=no
15051
12763
fi
15052
 
 
15053
 
rm -rf conftest.dSYM
15054
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15055
 
      conftest$ac_exeext conftest.$ac_ext
 
12764
rm -f core conftest.err conftest.$ac_objext \
 
12765
    conftest$ac_exeext conftest.$ac_ext
15056
12766
LIBS=$ac_check_lib_save_LIBS
15057
12767
fi
15058
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
 
12768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
15059
12769
$as_echo "$ac_cv_lib_util_openpty" >&6; }
15060
 
if test "x$ac_cv_lib_util_openpty" = x""yes; then
 
12770
if test "x$ac_cv_lib_util_openpty" = x""yes; then :
15061
12771
  cat >>confdefs.h <<_ACEOF
15062
12772
#define HAVE_LIBUTIL 1
15063
12773
_ACEOF
15080
12790
 
15081
12791
 
15082
12792
  have_termcap=yes
15083
 
 
15084
 
{ $as_echo "$as_me:$LINENO: checking for tgetnum in -ltermcap" >&5
 
12793
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetnum in -ltermcap" >&5
15085
12794
$as_echo_n "checking for tgetnum in -ltermcap... " >&6; }
15086
 
if test "${ac_cv_lib_termcap_tgetnum+set}" = set; then
 
12795
if test "${ac_cv_lib_termcap_tgetnum+set}" = set; then :
15087
12796
  $as_echo_n "(cached) " >&6
15088
12797
else
15089
12798
  ac_check_lib_save_LIBS=$LIBS
15090
12799
LIBS="-ltermcap  $LIBS"
15091
 
cat >conftest.$ac_ext <<_ACEOF
15092
 
/* confdefs.h.  */
15093
 
_ACEOF
15094
 
cat confdefs.h >>conftest.$ac_ext
15095
 
cat >>conftest.$ac_ext <<_ACEOF
 
12800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096
12801
/* end confdefs.h.  */
15097
12802
 
15098
12803
/* Override any GCC internal prototype to avoid an error.
15110
12815
  return 0;
15111
12816
}
15112
12817
_ACEOF
15113
 
rm -f conftest.$ac_objext conftest$ac_exeext
15114
 
if { (ac_try="$ac_link"
15115
 
case "(($ac_try" in
15116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15117
 
  *) ac_try_echo=$ac_try;;
15118
 
esac
15119
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15120
 
$as_echo "$ac_try_echo") >&5
15121
 
  (eval "$ac_link") 2>conftest.er1
15122
 
  ac_status=$?
15123
 
  grep -v '^ *+' conftest.er1 >conftest.err
15124
 
  rm -f conftest.er1
15125
 
  cat conftest.err >&5
15126
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127
 
  (exit $ac_status); } && {
15128
 
         test -z "$ac_c_werror_flag" ||
15129
 
         test ! -s conftest.err
15130
 
       } && test -s conftest$ac_exeext && {
15131
 
         test "$cross_compiling" = yes ||
15132
 
         $as_test_x conftest$ac_exeext
15133
 
       }; then
 
12818
if ac_fn_c_try_link "$LINENO"; then :
15134
12819
  ac_cv_lib_termcap_tgetnum=yes
15135
12820
else
15136
 
  $as_echo "$as_me: failed program was:" >&5
15137
 
sed 's/^/| /' conftest.$ac_ext >&5
15138
 
 
15139
 
        ac_cv_lib_termcap_tgetnum=no
 
12821
  ac_cv_lib_termcap_tgetnum=no
15140
12822
fi
15141
 
 
15142
 
rm -rf conftest.dSYM
15143
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15144
 
      conftest$ac_exeext conftest.$ac_ext
 
12823
rm -f core conftest.err conftest.$ac_objext \
 
12824
    conftest$ac_exeext conftest.$ac_ext
15145
12825
LIBS=$ac_check_lib_save_LIBS
15146
12826
fi
15147
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetnum" >&5
 
12827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetnum" >&5
15148
12828
$as_echo "$ac_cv_lib_termcap_tgetnum" >&6; }
15149
 
if test "x$ac_cv_lib_termcap_tgetnum" = x""yes; then
 
12829
if test "x$ac_cv_lib_termcap_tgetnum" = x""yes; then :
15150
12830
  cat >>confdefs.h <<_ACEOF
15151
12831
#define HAVE_LIBTERMCAP 1
15152
12832
_ACEOF
15182
12862
 
15183
12863
 
15184
12864
 
15185
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
12865
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15186
12866
$as_echo_n "checking whether NLS is requested... " >&6; }
15187
12867
    # Check whether --enable-nls was given.
15188
 
if test "${enable_nls+set}" = set; then
 
12868
if test "${enable_nls+set}" = set; then :
15189
12869
  enableval=$enable_nls; USE_NLS=$enableval
15190
12870
else
15191
12871
  USE_NLS=yes
15192
12872
fi
15193
12873
 
15194
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
12874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15195
12875
$as_echo "$USE_NLS" >&6; }
15196
12876
 
15197
12877
 
15229
12909
 
15230
12910
# Extract the first word of "msgfmt", so it can be a program name with args.
15231
12911
set dummy msgfmt; ac_word=$2
15232
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15233
12913
$as_echo_n "checking for $ac_word... " >&6; }
15234
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
12914
if test "${ac_cv_path_MSGFMT+set}" = set; then :
15235
12915
  $as_echo_n "(cached) " >&6
15236
12916
else
15237
12917
  case "$MSGFMT" in
15260
12940
fi
15261
12941
MSGFMT="$ac_cv_path_MSGFMT"
15262
12942
if test "$MSGFMT" != ":"; then
15263
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
12943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15264
12944
$as_echo "$MSGFMT" >&6; }
15265
12945
else
15266
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15267
12947
$as_echo "no" >&6; }
15268
12948
fi
15269
12949
 
15270
12950
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
15271
12951
set dummy gmsgfmt; ac_word=$2
15272
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15273
12953
$as_echo_n "checking for $ac_word... " >&6; }
15274
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
12954
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15275
12955
  $as_echo_n "(cached) " >&6
15276
12956
else
15277
12957
  case $GMSGFMT in
15284
12964
do
15285
12965
  IFS=$as_save_IFS
15286
12966
  test -z "$as_dir" && as_dir=.
15287
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12967
    for ac_exec_ext in '' $ac_executable_extensions; do
15288
12968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15289
12969
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15290
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15291
12971
    break 2
15292
12972
  fi
15293
12973
done
15294
 
done
 
12974
  done
15295
12975
IFS=$as_save_IFS
15296
12976
 
15297
12977
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15300
12980
fi
15301
12981
GMSGFMT=$ac_cv_path_GMSGFMT
15302
12982
if test -n "$GMSGFMT"; then
15303
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
12983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15304
12984
$as_echo "$GMSGFMT" >&6; }
15305
12985
else
15306
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15307
12987
$as_echo "no" >&6; }
15308
12988
fi
15309
12989
 
15340
13020
 
15341
13021
# Extract the first word of "xgettext", so it can be a program name with args.
15342
13022
set dummy xgettext; ac_word=$2
15343
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15344
13024
$as_echo_n "checking for $ac_word... " >&6; }
15345
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
13025
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15346
13026
  $as_echo_n "(cached) " >&6
15347
13027
else
15348
13028
  case "$XGETTEXT" in
15371
13051
fi
15372
13052
XGETTEXT="$ac_cv_path_XGETTEXT"
15373
13053
if test "$XGETTEXT" != ":"; then
15374
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
13054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15375
13055
$as_echo "$XGETTEXT" >&6; }
15376
13056
else
15377
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15378
13058
$as_echo "no" >&6; }
15379
13059
fi
15380
13060
 
15411
13091
 
15412
13092
# Extract the first word of "msgmerge", so it can be a program name with args.
15413
13093
set dummy msgmerge; ac_word=$2
15414
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15415
13095
$as_echo_n "checking for $ac_word... " >&6; }
15416
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
13096
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
15417
13097
  $as_echo_n "(cached) " >&6
15418
13098
else
15419
13099
  case "$MSGMERGE" in
15441
13121
fi
15442
13122
MSGMERGE="$ac_cv_path_MSGMERGE"
15443
13123
if test "$MSGMERGE" != ":"; then
15444
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
13124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15445
13125
$as_echo "$MSGMERGE" >&6; }
15446
13126
else
15447
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15448
13128
$as_echo "no" >&6; }
15449
13129
fi
15450
13130
 
15455
13135
      : ;
15456
13136
    else
15457
13137
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15458
 
      { $as_echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
13138
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15459
13139
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
15460
13140
      GMSGFMT=":"
15461
13141
    fi
15466
13146
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
15467
13147
      : ;
15468
13148
    else
15469
 
      { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
13149
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15470
13150
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15471
13151
      XGETTEXT=":"
15472
13152
    fi
15494
13174
 
15495
13175
 
15496
13176
# Check whether --with-gnu-ld was given.
15497
 
if test "${with_gnu_ld+set}" = set; then
 
13177
if test "${with_gnu_ld+set}" = set; then :
15498
13178
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15499
13179
else
15500
13180
  with_gnu_ld=no
15516
13196
ac_prog=ld
15517
13197
if test "$GCC" = yes; then
15518
13198
  # Check if gcc -print-prog-name=ld gives a path.
15519
 
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
13199
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15520
13200
$as_echo_n "checking for ld used by GCC... " >&6; }
15521
13201
  case $host in
15522
13202
  *-*-mingw*)
15546
13226
    ;;
15547
13227
  esac
15548
13228
elif test "$with_gnu_ld" = yes; then
15549
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15550
13230
$as_echo_n "checking for GNU ld... " >&6; }
15551
13231
else
15552
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13232
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15553
13233
$as_echo_n "checking for non-GNU ld... " >&6; }
15554
13234
fi
15555
 
if test "${acl_cv_path_LD+set}" = set; then
 
13235
if test "${acl_cv_path_LD+set}" = set; then :
15556
13236
  $as_echo_n "(cached) " >&6
15557
13237
else
15558
13238
  if test -z "$LD"; then
15580
13260
 
15581
13261
LD="$acl_cv_path_LD"
15582
13262
if test -n "$LD"; then
15583
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
13263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15584
13264
$as_echo "$LD" >&6; }
15585
13265
else
15586
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15587
13267
$as_echo "no" >&6; }
15588
13268
fi
15589
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15590
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15591
 
   { (exit 1); exit 1; }; }
15592
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13269
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
13270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15593
13271
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15594
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then
 
13272
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
15595
13273
  $as_echo_n "(cached) " >&6
15596
13274
else
15597
13275
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15602
13280
  acl_cv_prog_gnu_ld=no ;;
15603
13281
esac
15604
13282
fi
15605
 
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
13283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15606
13284
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
15607
13285
with_gnu_ld=$acl_cv_prog_gnu_ld
15608
13286
 
15609
13287
 
15610
13288
 
15611
 
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
13289
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15612
13290
$as_echo_n "checking for shared library run path origin... " >&6; }
15613
 
if test "${acl_cv_rpath+set}" = set; then
 
13291
if test "${acl_cv_rpath+set}" = set; then :
15614
13292
  $as_echo_n "(cached) " >&6
15615
13293
else
15616
13294
 
15621
13299
    acl_cv_rpath=done
15622
13300
 
15623
13301
fi
15624
 
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
13302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15625
13303
$as_echo "$acl_cv_rpath" >&6; }
15626
13304
  wl="$acl_cv_wl"
15627
13305
  libext="$acl_cv_libext"
15631
13309
  hardcode_direct="$acl_cv_hardcode_direct"
15632
13310
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
15633
13311
    # Check whether --enable-rpath was given.
15634
 
if test "${enable_rpath+set}" = set; then
 
13312
if test "${enable_rpath+set}" = set; then :
15635
13313
  enableval=$enable_rpath; :
15636
13314
else
15637
13315
  enable_rpath=yes
15659
13337
 
15660
13338
 
15661
13339
# Check whether --with-libiconv-prefix was given.
15662
 
if test "${with_libiconv_prefix+set}" = set; then
 
13340
if test "${with_libiconv_prefix+set}" = set; then :
15663
13341
  withval=$with_libiconv_prefix;
15664
13342
    if test "X$withval" = "Xno"; then
15665
13343
      use_additional=no
16037
13715
 
16038
13716
 
16039
13717
 
16040
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
13718
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16041
13719
$as_echo_n "checking whether NLS is requested... " >&6; }
16042
13720
    # Check whether --enable-nls was given.
16043
 
if test "${enable_nls+set}" = set; then
 
13721
if test "${enable_nls+set}" = set; then :
16044
13722
  enableval=$enable_nls; USE_NLS=$enableval
16045
13723
else
16046
13724
  USE_NLS=yes
16047
13725
fi
16048
13726
 
16049
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
13727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16050
13728
$as_echo "$USE_NLS" >&6; }
16051
13729
 
16052
13730
 
16064
13742
 
16065
13743
 
16066
13744
 
16067
 
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
13745
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16068
13746
$as_echo_n "checking for GNU gettext in libc... " >&6; }
16069
 
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
 
13747
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
16070
13748
  $as_echo_n "(cached) " >&6
16071
13749
else
16072
 
  cat >conftest.$ac_ext <<_ACEOF
16073
 
/* confdefs.h.  */
16074
 
_ACEOF
16075
 
cat confdefs.h >>conftest.$ac_ext
16076
 
cat >>conftest.$ac_ext <<_ACEOF
 
13750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16077
13751
/* end confdefs.h.  */
16078
13752
#include <libintl.h>
16079
13753
extern int _nl_msg_cat_cntr;
16087
13761
  return 0;
16088
13762
}
16089
13763
_ACEOF
16090
 
rm -f conftest.$ac_objext conftest$ac_exeext
16091
 
if { (ac_try="$ac_link"
16092
 
case "(($ac_try" in
16093
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16094
 
  *) ac_try_echo=$ac_try;;
16095
 
esac
16096
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16097
 
$as_echo "$ac_try_echo") >&5
16098
 
  (eval "$ac_link") 2>conftest.er1
16099
 
  ac_status=$?
16100
 
  grep -v '^ *+' conftest.er1 >conftest.err
16101
 
  rm -f conftest.er1
16102
 
  cat conftest.err >&5
16103
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104
 
  (exit $ac_status); } && {
16105
 
         test -z "$ac_c_werror_flag" ||
16106
 
         test ! -s conftest.err
16107
 
       } && test -s conftest$ac_exeext && {
16108
 
         test "$cross_compiling" = yes ||
16109
 
         $as_test_x conftest$ac_exeext
16110
 
       }; then
 
13764
if ac_fn_c_try_link "$LINENO"; then :
16111
13765
  gt_cv_func_gnugettext1_libc=yes
16112
13766
else
16113
 
  $as_echo "$as_me: failed program was:" >&5
16114
 
sed 's/^/| /' conftest.$ac_ext >&5
16115
 
 
16116
 
        gt_cv_func_gnugettext1_libc=no
16117
 
fi
16118
 
 
16119
 
rm -rf conftest.dSYM
16120
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16121
 
      conftest$ac_exeext conftest.$ac_ext
16122
 
fi
16123
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
 
13767
  gt_cv_func_gnugettext1_libc=no
 
13768
fi
 
13769
rm -f core conftest.err conftest.$ac_objext \
 
13770
    conftest$ac_exeext conftest.$ac_ext
 
13771
fi
 
13772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
16124
13773
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
16125
13774
 
16126
13775
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
16154
13803
  done
16155
13804
 
16156
13805
 
16157
 
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
13806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16158
13807
$as_echo_n "checking for iconv... " >&6; }
16159
 
if test "${am_cv_func_iconv+set}" = set; then
 
13808
if test "${am_cv_func_iconv+set}" = set; then :
16160
13809
  $as_echo_n "(cached) " >&6
16161
13810
else
16162
13811
 
16163
13812
    am_cv_func_iconv="no, consider installing GNU libiconv"
16164
13813
    am_cv_lib_iconv=no
16165
 
    cat >conftest.$ac_ext <<_ACEOF
16166
 
/* confdefs.h.  */
16167
 
_ACEOF
16168
 
cat confdefs.h >>conftest.$ac_ext
16169
 
cat >>conftest.$ac_ext <<_ACEOF
 
13814
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170
13815
/* end confdefs.h.  */
16171
13816
#include <stdlib.h>
16172
13817
#include <iconv.h>
16180
13825
  return 0;
16181
13826
}
16182
13827
_ACEOF
16183
 
rm -f conftest.$ac_objext conftest$ac_exeext
16184
 
if { (ac_try="$ac_link"
16185
 
case "(($ac_try" in
16186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16187
 
  *) ac_try_echo=$ac_try;;
16188
 
esac
16189
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16190
 
$as_echo "$ac_try_echo") >&5
16191
 
  (eval "$ac_link") 2>conftest.er1
16192
 
  ac_status=$?
16193
 
  grep -v '^ *+' conftest.er1 >conftest.err
16194
 
  rm -f conftest.er1
16195
 
  cat conftest.err >&5
16196
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197
 
  (exit $ac_status); } && {
16198
 
         test -z "$ac_c_werror_flag" ||
16199
 
         test ! -s conftest.err
16200
 
       } && test -s conftest$ac_exeext && {
16201
 
         test "$cross_compiling" = yes ||
16202
 
         $as_test_x conftest$ac_exeext
16203
 
       }; then
 
13828
if ac_fn_c_try_link "$LINENO"; then :
16204
13829
  am_cv_func_iconv=yes
16205
 
else
16206
 
  $as_echo "$as_me: failed program was:" >&5
16207
 
sed 's/^/| /' conftest.$ac_ext >&5
16208
 
 
16209
 
 
16210
13830
fi
16211
 
 
16212
 
rm -rf conftest.dSYM
16213
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16214
 
      conftest$ac_exeext conftest.$ac_ext
 
13831
rm -f core conftest.err conftest.$ac_objext \
 
13832
    conftest$ac_exeext conftest.$ac_ext
16215
13833
    if test "$am_cv_func_iconv" != yes; then
16216
13834
      am_save_LIBS="$LIBS"
16217
13835
      LIBS="$LIBS $LIBICONV"
16218
 
      cat >conftest.$ac_ext <<_ACEOF
16219
 
/* confdefs.h.  */
16220
 
_ACEOF
16221
 
cat confdefs.h >>conftest.$ac_ext
16222
 
cat >>conftest.$ac_ext <<_ACEOF
 
13836
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16223
13837
/* end confdefs.h.  */
16224
13838
#include <stdlib.h>
16225
13839
#include <iconv.h>
16233
13847
  return 0;
16234
13848
}
16235
13849
_ACEOF
16236
 
rm -f conftest.$ac_objext conftest$ac_exeext
16237
 
if { (ac_try="$ac_link"
16238
 
case "(($ac_try" in
16239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16240
 
  *) ac_try_echo=$ac_try;;
16241
 
esac
16242
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16243
 
$as_echo "$ac_try_echo") >&5
16244
 
  (eval "$ac_link") 2>conftest.er1
16245
 
  ac_status=$?
16246
 
  grep -v '^ *+' conftest.er1 >conftest.err
16247
 
  rm -f conftest.er1
16248
 
  cat conftest.err >&5
16249
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250
 
  (exit $ac_status); } && {
16251
 
         test -z "$ac_c_werror_flag" ||
16252
 
         test ! -s conftest.err
16253
 
       } && test -s conftest$ac_exeext && {
16254
 
         test "$cross_compiling" = yes ||
16255
 
         $as_test_x conftest$ac_exeext
16256
 
       }; then
 
13850
if ac_fn_c_try_link "$LINENO"; then :
16257
13851
  am_cv_lib_iconv=yes
16258
13852
        am_cv_func_iconv=yes
16259
 
else
16260
 
  $as_echo "$as_me: failed program was:" >&5
16261
 
sed 's/^/| /' conftest.$ac_ext >&5
16262
 
 
16263
 
 
16264
13853
fi
16265
 
 
16266
 
rm -rf conftest.dSYM
16267
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16268
 
      conftest$ac_exeext conftest.$ac_ext
 
13854
rm -f core conftest.err conftest.$ac_objext \
 
13855
    conftest$ac_exeext conftest.$ac_ext
16269
13856
      LIBS="$am_save_LIBS"
16270
13857
    fi
16271
13858
 
16272
13859
fi
16273
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
13860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
16274
13861
$as_echo "$am_cv_func_iconv" >&6; }
16275
13862
  if test "$am_cv_func_iconv" = yes; then
16276
13863
 
16277
 
cat >>confdefs.h <<\_ACEOF
16278
 
#define HAVE_ICONV 1
16279
 
_ACEOF
 
13864
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
16280
13865
 
16281
13866
  fi
16282
13867
  if test "$am_cv_lib_iconv" = yes; then
16283
 
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
13868
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
16284
13869
$as_echo_n "checking how to link with libiconv... " >&6; }
16285
 
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
13870
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
16286
13871
$as_echo "$LIBICONV" >&6; }
16287
13872
  else
16288
13873
            CPPFLAGS="$am_save_CPPFLAGS"
16310
13895
 
16311
13896
 
16312
13897
# Check whether --with-libintl-prefix was given.
16313
 
if test "${with_libintl_prefix+set}" = set; then
 
13898
if test "${with_libintl_prefix+set}" = set; then :
16314
13899
  withval=$with_libintl_prefix;
16315
13900
    if test "X$withval" = "Xno"; then
16316
13901
      use_additional=no
16671
14256
    done
16672
14257
  fi
16673
14258
 
16674
 
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
14259
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16675
14260
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
16676
 
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
 
14261
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
16677
14262
  $as_echo_n "(cached) " >&6
16678
14263
else
16679
14264
  gt_save_CPPFLAGS="$CPPFLAGS"
16680
14265
            CPPFLAGS="$CPPFLAGS $INCINTL"
16681
14266
            gt_save_LIBS="$LIBS"
16682
14267
            LIBS="$LIBS $LIBINTL"
16683
 
                        cat >conftest.$ac_ext <<_ACEOF
16684
 
/* confdefs.h.  */
16685
 
_ACEOF
16686
 
cat confdefs.h >>conftest.$ac_ext
16687
 
cat >>conftest.$ac_ext <<_ACEOF
 
14268
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688
14269
/* end confdefs.h.  */
16689
14270
#include <libintl.h>
16690
14271
extern int _nl_msg_cat_cntr;
16702
14283
  return 0;
16703
14284
}
16704
14285
_ACEOF
16705
 
rm -f conftest.$ac_objext conftest$ac_exeext
16706
 
if { (ac_try="$ac_link"
16707
 
case "(($ac_try" in
16708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709
 
  *) ac_try_echo=$ac_try;;
16710
 
esac
16711
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16712
 
$as_echo "$ac_try_echo") >&5
16713
 
  (eval "$ac_link") 2>conftest.er1
16714
 
  ac_status=$?
16715
 
  grep -v '^ *+' conftest.er1 >conftest.err
16716
 
  rm -f conftest.er1
16717
 
  cat conftest.err >&5
16718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719
 
  (exit $ac_status); } && {
16720
 
         test -z "$ac_c_werror_flag" ||
16721
 
         test ! -s conftest.err
16722
 
       } && test -s conftest$ac_exeext && {
16723
 
         test "$cross_compiling" = yes ||
16724
 
         $as_test_x conftest$ac_exeext
16725
 
       }; then
 
14286
if ac_fn_c_try_link "$LINENO"; then :
16726
14287
  gt_cv_func_gnugettext1_libintl=yes
16727
14288
else
16728
 
  $as_echo "$as_me: failed program was:" >&5
16729
 
sed 's/^/| /' conftest.$ac_ext >&5
16730
 
 
16731
 
        gt_cv_func_gnugettext1_libintl=no
 
14289
  gt_cv_func_gnugettext1_libintl=no
16732
14290
fi
16733
 
 
16734
 
rm -rf conftest.dSYM
16735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16736
 
      conftest$ac_exeext conftest.$ac_ext
 
14291
rm -f core conftest.err conftest.$ac_objext \
 
14292
    conftest$ac_exeext conftest.$ac_ext
16737
14293
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
16738
14294
              LIBS="$LIBS $LIBICONV"
16739
 
              cat >conftest.$ac_ext <<_ACEOF
16740
 
/* confdefs.h.  */
16741
 
_ACEOF
16742
 
cat confdefs.h >>conftest.$ac_ext
16743
 
cat >>conftest.$ac_ext <<_ACEOF
 
14295
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744
14296
/* end confdefs.h.  */
16745
14297
#include <libintl.h>
16746
14298
extern int _nl_msg_cat_cntr;
16758
14310
  return 0;
16759
14311
}
16760
14312
_ACEOF
16761
 
rm -f conftest.$ac_objext conftest$ac_exeext
16762
 
if { (ac_try="$ac_link"
16763
 
case "(($ac_try" in
16764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765
 
  *) ac_try_echo=$ac_try;;
16766
 
esac
16767
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16768
 
$as_echo "$ac_try_echo") >&5
16769
 
  (eval "$ac_link") 2>conftest.er1
16770
 
  ac_status=$?
16771
 
  grep -v '^ *+' conftest.er1 >conftest.err
16772
 
  rm -f conftest.er1
16773
 
  cat conftest.err >&5
16774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775
 
  (exit $ac_status); } && {
16776
 
         test -z "$ac_c_werror_flag" ||
16777
 
         test ! -s conftest.err
16778
 
       } && test -s conftest$ac_exeext && {
16779
 
         test "$cross_compiling" = yes ||
16780
 
         $as_test_x conftest$ac_exeext
16781
 
       }; then
 
14313
if ac_fn_c_try_link "$LINENO"; then :
16782
14314
  LIBINTL="$LIBINTL $LIBICONV"
16783
14315
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16784
14316
                gt_cv_func_gnugettext1_libintl=yes
16785
14317
 
16786
 
else
16787
 
  $as_echo "$as_me: failed program was:" >&5
16788
 
sed 's/^/| /' conftest.$ac_ext >&5
16789
 
 
16790
 
 
16791
14318
fi
16792
 
 
16793
 
rm -rf conftest.dSYM
16794
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16795
 
      conftest$ac_exeext conftest.$ac_ext
 
14319
rm -f core conftest.err conftest.$ac_objext \
 
14320
    conftest$ac_exeext conftest.$ac_ext
16796
14321
            fi
16797
14322
            CPPFLAGS="$gt_save_CPPFLAGS"
16798
14323
            LIBS="$gt_save_LIBS"
16799
14324
fi
16800
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
 
14325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
16801
14326
$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
16802
14327
        fi
16803
14328
 
16817
14342
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
16818
14343
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
16819
14344
 
16820
 
cat >>confdefs.h <<\_ACEOF
16821
 
#define ENABLE_NLS 1
16822
 
_ACEOF
 
14345
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
16823
14346
 
16824
14347
    else
16825
14348
      USE_NLS=no
16826
14349
    fi
16827
14350
  fi
16828
14351
 
16829
 
  { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
14352
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16830
14353
$as_echo_n "checking whether to use NLS... " >&6; }
16831
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
14354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16832
14355
$as_echo "$USE_NLS" >&6; }
16833
14356
  if test "$USE_NLS" = "yes"; then
16834
 
    { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
14357
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16835
14358
$as_echo_n "checking where the gettext function comes from... " >&6; }
16836
14359
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16837
14360
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
16842
14365
    else
16843
14366
      gt_source="included intl directory"
16844
14367
    fi
16845
 
    { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
 
14368
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16846
14369
$as_echo "$gt_source" >&6; }
16847
14370
  fi
16848
14371
 
16850
14373
 
16851
14374
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16852
14375
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
16853
 
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
14376
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16854
14377
$as_echo_n "checking how to link with libintl... " >&6; }
16855
 
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
14378
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16856
14379
$as_echo "$LIBINTL" >&6; }
16857
14380
 
16858
14381
  for element in $INCINTL; do
16880
14403
      fi
16881
14404
 
16882
14405
 
16883
 
cat >>confdefs.h <<\_ACEOF
16884
 
#define HAVE_GETTEXT 1
16885
 
_ACEOF
16886
 
 
16887
 
 
16888
 
cat >>confdefs.h <<\_ACEOF
16889
 
#define HAVE_DCGETTEXT 1
16890
 
_ACEOF
 
14406
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
14407
 
 
14408
 
 
14409
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16891
14410
 
16892
14411
    fi
16893
14412
 
16912
14431
 
16913
14432
 
16914
14433
# Check whether --with-ncurses was given.
16915
 
if test "${with_ncurses+set}" = set; then
 
14434
if test "${with_ncurses+set}" = set; then :
16916
14435
  withval=$with_ncurses;
16917
14436
else
16918
14437
  with_ncurses=auto
16930
14449
 
16931
14450
if test "x$with_ncurses" != xno; then
16932
14451
  have_ncurses=no
16933
 
 
16934
 
 
16935
 
for ac_header in ncurses.h ncurses/ncurses.h
16936
 
do
16937
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16938
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16939
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16940
 
$as_echo_n "checking for $ac_header... " >&6; }
16941
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16942
 
  $as_echo_n "(cached) " >&6
16943
 
fi
16944
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
16945
 
                 $as_echo "$as_val"'`
16946
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16947
 
$as_echo "$ac_res" >&6; }
16948
 
else
16949
 
  # Is the header compilable?
16950
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16951
 
$as_echo_n "checking $ac_header usability... " >&6; }
16952
 
cat >conftest.$ac_ext <<_ACEOF
16953
 
/* confdefs.h.  */
16954
 
_ACEOF
16955
 
cat confdefs.h >>conftest.$ac_ext
16956
 
cat >>conftest.$ac_ext <<_ACEOF
16957
 
/* end confdefs.h.  */
16958
 
$ac_includes_default
16959
 
#include <$ac_header>
16960
 
_ACEOF
16961
 
rm -f conftest.$ac_objext
16962
 
if { (ac_try="$ac_compile"
16963
 
case "(($ac_try" in
16964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965
 
  *) ac_try_echo=$ac_try;;
16966
 
esac
16967
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16968
 
$as_echo "$ac_try_echo") >&5
16969
 
  (eval "$ac_compile") 2>conftest.er1
16970
 
  ac_status=$?
16971
 
  grep -v '^ *+' conftest.er1 >conftest.err
16972
 
  rm -f conftest.er1
16973
 
  cat conftest.err >&5
16974
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975
 
  (exit $ac_status); } && {
16976
 
         test -z "$ac_c_werror_flag" ||
16977
 
         test ! -s conftest.err
16978
 
       } && test -s conftest.$ac_objext; then
16979
 
  ac_header_compiler=yes
16980
 
else
16981
 
  $as_echo "$as_me: failed program was:" >&5
16982
 
sed 's/^/| /' conftest.$ac_ext >&5
16983
 
 
16984
 
        ac_header_compiler=no
16985
 
fi
16986
 
 
16987
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16989
 
$as_echo "$ac_header_compiler" >&6; }
16990
 
 
16991
 
# Is the header present?
16992
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16993
 
$as_echo_n "checking $ac_header presence... " >&6; }
16994
 
cat >conftest.$ac_ext <<_ACEOF
16995
 
/* confdefs.h.  */
16996
 
_ACEOF
16997
 
cat confdefs.h >>conftest.$ac_ext
16998
 
cat >>conftest.$ac_ext <<_ACEOF
16999
 
/* end confdefs.h.  */
17000
 
#include <$ac_header>
17001
 
_ACEOF
17002
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17003
 
case "(($ac_try" in
17004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17005
 
  *) ac_try_echo=$ac_try;;
17006
 
esac
17007
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17008
 
$as_echo "$ac_try_echo") >&5
17009
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17010
 
  ac_status=$?
17011
 
  grep -v '^ *+' conftest.er1 >conftest.err
17012
 
  rm -f conftest.er1
17013
 
  cat conftest.err >&5
17014
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015
 
  (exit $ac_status); } >/dev/null && {
17016
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17017
 
         test ! -s conftest.err
17018
 
       }; then
17019
 
  ac_header_preproc=yes
17020
 
else
17021
 
  $as_echo "$as_me: failed program was:" >&5
17022
 
sed 's/^/| /' conftest.$ac_ext >&5
17023
 
 
17024
 
  ac_header_preproc=no
17025
 
fi
17026
 
 
17027
 
rm -f conftest.err conftest.$ac_ext
17028
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17029
 
$as_echo "$ac_header_preproc" >&6; }
17030
 
 
17031
 
# So?  What about this header?
17032
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17033
 
  yes:no: )
17034
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17035
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17036
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17037
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17038
 
    ac_header_preproc=yes
17039
 
    ;;
17040
 
  no:yes:* )
17041
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17042
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17043
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17044
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17045
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17046
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17047
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17048
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17049
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17050
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17051
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17052
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17053
 
    ( cat <<\_ASBOX
17054
 
## ------------------------------ ##
17055
 
## Report this to kzak@redhat.com ##
17056
 
## ------------------------------ ##
17057
 
_ASBOX
17058
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17059
 
    ;;
17060
 
esac
17061
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17062
 
$as_echo_n "checking for $ac_header... " >&6; }
17063
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17064
 
  $as_echo_n "(cached) " >&6
17065
 
else
17066
 
  eval "$as_ac_Header=\$ac_header_preproc"
17067
 
fi
17068
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
17069
 
                 $as_echo "$as_val"'`
17070
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17071
 
$as_echo "$ac_res" >&6; }
17072
 
 
17073
 
fi
17074
 
as_val=`eval 'as_val=${'$as_ac_Header'}
17075
 
                 $as_echo "$as_val"'`
17076
 
   if test "x$as_val" = x""yes; then
 
14452
  for ac_header in ncurses.h ncurses/ncurses.h
 
14453
do :
 
14454
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14455
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
14456
eval as_val=\$$as_ac_Header
 
14457
   if test "x$as_val" = x""yes; then :
17077
14458
  cat >>confdefs.h <<_ACEOF
17078
14459
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17079
14460
_ACEOF
17082
14463
 
17083
14464
 
17084
14465
  have_ncurses=yes
17085
 
 
17086
 
{ $as_echo "$as_me:$LINENO: checking for initscr in -lncursesw" >&5
 
14466
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
17087
14467
$as_echo_n "checking for initscr in -lncursesw... " >&6; }
17088
 
if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then
 
14468
if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then :
17089
14469
  $as_echo_n "(cached) " >&6
17090
14470
else
17091
14471
  ac_check_lib_save_LIBS=$LIBS
17092
14472
LIBS="-lncursesw  $LIBS"
17093
 
cat >conftest.$ac_ext <<_ACEOF
17094
 
/* confdefs.h.  */
17095
 
_ACEOF
17096
 
cat confdefs.h >>conftest.$ac_ext
17097
 
cat >>conftest.$ac_ext <<_ACEOF
 
14473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098
14474
/* end confdefs.h.  */
17099
14475
 
17100
14476
/* Override any GCC internal prototype to avoid an error.
17112
14488
  return 0;
17113
14489
}
17114
14490
_ACEOF
17115
 
rm -f conftest.$ac_objext conftest$ac_exeext
17116
 
if { (ac_try="$ac_link"
17117
 
case "(($ac_try" in
17118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17119
 
  *) ac_try_echo=$ac_try;;
17120
 
esac
17121
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17122
 
$as_echo "$ac_try_echo") >&5
17123
 
  (eval "$ac_link") 2>conftest.er1
17124
 
  ac_status=$?
17125
 
  grep -v '^ *+' conftest.er1 >conftest.err
17126
 
  rm -f conftest.er1
17127
 
  cat conftest.err >&5
17128
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129
 
  (exit $ac_status); } && {
17130
 
         test -z "$ac_c_werror_flag" ||
17131
 
         test ! -s conftest.err
17132
 
       } && test -s conftest$ac_exeext && {
17133
 
         test "$cross_compiling" = yes ||
17134
 
         $as_test_x conftest$ac_exeext
17135
 
       }; then
 
14491
if ac_fn_c_try_link "$LINENO"; then :
17136
14492
  ac_cv_lib_ncursesw_initscr=yes
17137
14493
else
17138
 
  $as_echo "$as_me: failed program was:" >&5
17139
 
sed 's/^/| /' conftest.$ac_ext >&5
17140
 
 
17141
 
        ac_cv_lib_ncursesw_initscr=no
 
14494
  ac_cv_lib_ncursesw_initscr=no
17142
14495
fi
17143
 
 
17144
 
rm -rf conftest.dSYM
17145
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17146
 
      conftest$ac_exeext conftest.$ac_ext
 
14496
rm -f core conftest.err conftest.$ac_objext \
 
14497
    conftest$ac_exeext conftest.$ac_ext
17147
14498
LIBS=$ac_check_lib_save_LIBS
17148
14499
fi
17149
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_initscr" >&5
 
14500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
17150
14501
$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
17151
 
if test "x$ac_cv_lib_ncursesw_initscr" = x""yes; then
 
14502
if test "x$ac_cv_lib_ncursesw_initscr" = x""yes; then :
17152
14503
  cat >>confdefs.h <<_ACEOF
17153
14504
#define HAVE_LIBNCURSESW 1
17154
14505
_ACEOF
17176
14527
 
17177
14528
 
17178
14529
  have_ncurses=yes
17179
 
 
17180
 
{ $as_echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
 
14530
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
17181
14531
$as_echo_n "checking for initscr in -lncurses... " >&6; }
17182
 
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
 
14532
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then :
17183
14533
  $as_echo_n "(cached) " >&6
17184
14534
else
17185
14535
  ac_check_lib_save_LIBS=$LIBS
17186
14536
LIBS="-lncurses  $LIBS"
17187
 
cat >conftest.$ac_ext <<_ACEOF
17188
 
/* confdefs.h.  */
17189
 
_ACEOF
17190
 
cat confdefs.h >>conftest.$ac_ext
17191
 
cat >>conftest.$ac_ext <<_ACEOF
 
14537
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192
14538
/* end confdefs.h.  */
17193
14539
 
17194
14540
/* Override any GCC internal prototype to avoid an error.
17206
14552
  return 0;
17207
14553
}
17208
14554
_ACEOF
17209
 
rm -f conftest.$ac_objext conftest$ac_exeext
17210
 
if { (ac_try="$ac_link"
17211
 
case "(($ac_try" in
17212
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17213
 
  *) ac_try_echo=$ac_try;;
17214
 
esac
17215
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17216
 
$as_echo "$ac_try_echo") >&5
17217
 
  (eval "$ac_link") 2>conftest.er1
17218
 
  ac_status=$?
17219
 
  grep -v '^ *+' conftest.er1 >conftest.err
17220
 
  rm -f conftest.er1
17221
 
  cat conftest.err >&5
17222
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223
 
  (exit $ac_status); } && {
17224
 
         test -z "$ac_c_werror_flag" ||
17225
 
         test ! -s conftest.err
17226
 
       } && test -s conftest$ac_exeext && {
17227
 
         test "$cross_compiling" = yes ||
17228
 
         $as_test_x conftest$ac_exeext
17229
 
       }; then
 
14555
if ac_fn_c_try_link "$LINENO"; then :
17230
14556
  ac_cv_lib_ncurses_initscr=yes
17231
14557
else
17232
 
  $as_echo "$as_me: failed program was:" >&5
17233
 
sed 's/^/| /' conftest.$ac_ext >&5
17234
 
 
17235
 
        ac_cv_lib_ncurses_initscr=no
 
14558
  ac_cv_lib_ncurses_initscr=no
17236
14559
fi
17237
 
 
17238
 
rm -rf conftest.dSYM
17239
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17240
 
      conftest$ac_exeext conftest.$ac_ext
 
14560
rm -f core conftest.err conftest.$ac_objext \
 
14561
    conftest$ac_exeext conftest.$ac_ext
17241
14562
LIBS=$ac_check_lib_save_LIBS
17242
14563
fi
17243
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
 
14564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
17244
14565
$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
17245
 
if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then
 
14566
if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then :
17246
14567
  cat >>confdefs.h <<_ACEOF
17247
14568
#define HAVE_LIBNCURSES 1
17248
14569
_ACEOF
17272
14593
done
17273
14594
 
17274
14595
  if test "x$have_ncurses" = xno; then
17275
 
    { { $as_echo "$as_me:$LINENO: error: ncurses or ncursesw selected, but library not found (--without-ncurses to disable)" >&5
17276
 
$as_echo "$as_me: error: ncurses or ncursesw selected, but library not found (--without-ncurses to disable)" >&2;}
17277
 
   { (exit 1); exit 1; }; }
 
14596
    as_fn_error "ncurses or ncursesw selected, but library not found (--without-ncurses to disable)" "$LINENO" 5
17278
14597
  fi
17279
14598
fi
17280
14599
 
17282
14601
 
17283
14602
 
17284
14603
# Check whether --with-slang was given.
17285
 
if test "${with_slang+set}" = set; then
 
14604
if test "${with_slang+set}" = set; then :
17286
14605
  withval=$with_slang;
17287
14606
else
17288
14607
  with_slang=no
17291
14610
 
17292
14611
 
17293
14612
have_tinfo=no
17294
 
{ $as_echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
 
14613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
17295
14614
$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
17296
 
if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
 
14615
if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then :
17297
14616
  $as_echo_n "(cached) " >&6
17298
14617
else
17299
14618
  ac_check_lib_save_LIBS=$LIBS
17300
14619
LIBS="-ltinfo  $LIBS"
17301
 
cat >conftest.$ac_ext <<_ACEOF
17302
 
/* confdefs.h.  */
17303
 
_ACEOF
17304
 
cat confdefs.h >>conftest.$ac_ext
17305
 
cat >>conftest.$ac_ext <<_ACEOF
 
14620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306
14621
/* end confdefs.h.  */
17307
14622
 
17308
14623
/* Override any GCC internal prototype to avoid an error.
17320
14635
  return 0;
17321
14636
}
17322
14637
_ACEOF
17323
 
rm -f conftest.$ac_objext conftest$ac_exeext
17324
 
if { (ac_try="$ac_link"
17325
 
case "(($ac_try" in
17326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327
 
  *) ac_try_echo=$ac_try;;
17328
 
esac
17329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17330
 
$as_echo "$ac_try_echo") >&5
17331
 
  (eval "$ac_link") 2>conftest.er1
17332
 
  ac_status=$?
17333
 
  grep -v '^ *+' conftest.er1 >conftest.err
17334
 
  rm -f conftest.er1
17335
 
  cat conftest.err >&5
17336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337
 
  (exit $ac_status); } && {
17338
 
         test -z "$ac_c_werror_flag" ||
17339
 
         test ! -s conftest.err
17340
 
       } && test -s conftest$ac_exeext && {
17341
 
         test "$cross_compiling" = yes ||
17342
 
         $as_test_x conftest$ac_exeext
17343
 
       }; then
 
14638
if ac_fn_c_try_link "$LINENO"; then :
17344
14639
  ac_cv_lib_tinfo_tgetent=yes
17345
14640
else
17346
 
  $as_echo "$as_me: failed program was:" >&5
17347
 
sed 's/^/| /' conftest.$ac_ext >&5
17348
 
 
17349
 
        ac_cv_lib_tinfo_tgetent=no
 
14641
  ac_cv_lib_tinfo_tgetent=no
17350
14642
fi
17351
 
 
17352
 
rm -rf conftest.dSYM
17353
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17354
 
      conftest$ac_exeext conftest.$ac_ext
 
14643
rm -f core conftest.err conftest.$ac_objext \
 
14644
    conftest$ac_exeext conftest.$ac_ext
17355
14645
LIBS=$ac_check_lib_save_LIBS
17356
14646
fi
17357
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
 
14647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
17358
14648
$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
17359
 
if test "x$ac_cv_lib_tinfo_tgetent" = x""yes; then
 
14649
if test "x$ac_cv_lib_tinfo_tgetent" = x""yes; then :
17360
14650
  have_tinfo=yes
17361
14651
fi
17362
14652
 
17371
14661
 
17372
14662
use_slang=no
17373
14663
if test "x$with_slang" = xyes; then
17374
 
 
17375
 
 
17376
 
for ac_header in slcurses.h slang/slcurses.h
17377
 
do
17378
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17379
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17380
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17381
 
$as_echo_n "checking for $ac_header... " >&6; }
17382
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17383
 
  $as_echo_n "(cached) " >&6
17384
 
fi
17385
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
17386
 
                 $as_echo "$as_val"'`
17387
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17388
 
$as_echo "$ac_res" >&6; }
17389
 
else
17390
 
  # Is the header compilable?
17391
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17392
 
$as_echo_n "checking $ac_header usability... " >&6; }
17393
 
cat >conftest.$ac_ext <<_ACEOF
17394
 
/* confdefs.h.  */
17395
 
_ACEOF
17396
 
cat confdefs.h >>conftest.$ac_ext
17397
 
cat >>conftest.$ac_ext <<_ACEOF
17398
 
/* end confdefs.h.  */
17399
 
$ac_includes_default
17400
 
#include <$ac_header>
17401
 
_ACEOF
17402
 
rm -f conftest.$ac_objext
17403
 
if { (ac_try="$ac_compile"
17404
 
case "(($ac_try" in
17405
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406
 
  *) ac_try_echo=$ac_try;;
17407
 
esac
17408
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17409
 
$as_echo "$ac_try_echo") >&5
17410
 
  (eval "$ac_compile") 2>conftest.er1
17411
 
  ac_status=$?
17412
 
  grep -v '^ *+' conftest.er1 >conftest.err
17413
 
  rm -f conftest.er1
17414
 
  cat conftest.err >&5
17415
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416
 
  (exit $ac_status); } && {
17417
 
         test -z "$ac_c_werror_flag" ||
17418
 
         test ! -s conftest.err
17419
 
       } && test -s conftest.$ac_objext; then
17420
 
  ac_header_compiler=yes
17421
 
else
17422
 
  $as_echo "$as_me: failed program was:" >&5
17423
 
sed 's/^/| /' conftest.$ac_ext >&5
17424
 
 
17425
 
        ac_header_compiler=no
17426
 
fi
17427
 
 
17428
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17430
 
$as_echo "$ac_header_compiler" >&6; }
17431
 
 
17432
 
# Is the header present?
17433
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17434
 
$as_echo_n "checking $ac_header presence... " >&6; }
17435
 
cat >conftest.$ac_ext <<_ACEOF
17436
 
/* confdefs.h.  */
17437
 
_ACEOF
17438
 
cat confdefs.h >>conftest.$ac_ext
17439
 
cat >>conftest.$ac_ext <<_ACEOF
17440
 
/* end confdefs.h.  */
17441
 
#include <$ac_header>
17442
 
_ACEOF
17443
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
17444
 
case "(($ac_try" in
17445
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17446
 
  *) ac_try_echo=$ac_try;;
17447
 
esac
17448
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17449
 
$as_echo "$ac_try_echo") >&5
17450
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17451
 
  ac_status=$?
17452
 
  grep -v '^ *+' conftest.er1 >conftest.err
17453
 
  rm -f conftest.er1
17454
 
  cat conftest.err >&5
17455
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456
 
  (exit $ac_status); } >/dev/null && {
17457
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17458
 
         test ! -s conftest.err
17459
 
       }; then
17460
 
  ac_header_preproc=yes
17461
 
else
17462
 
  $as_echo "$as_me: failed program was:" >&5
17463
 
sed 's/^/| /' conftest.$ac_ext >&5
17464
 
 
17465
 
  ac_header_preproc=no
17466
 
fi
17467
 
 
17468
 
rm -f conftest.err conftest.$ac_ext
17469
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17470
 
$as_echo "$ac_header_preproc" >&6; }
17471
 
 
17472
 
# So?  What about this header?
17473
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17474
 
  yes:no: )
17475
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17476
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17477
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17478
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17479
 
    ac_header_preproc=yes
17480
 
    ;;
17481
 
  no:yes:* )
17482
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17483
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17484
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17485
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17486
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17487
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17488
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17489
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17490
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17491
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17492
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17493
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17494
 
    ( cat <<\_ASBOX
17495
 
## ------------------------------ ##
17496
 
## Report this to kzak@redhat.com ##
17497
 
## ------------------------------ ##
17498
 
_ASBOX
17499
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17500
 
    ;;
17501
 
esac
17502
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17503
 
$as_echo_n "checking for $ac_header... " >&6; }
17504
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17505
 
  $as_echo_n "(cached) " >&6
17506
 
else
17507
 
  eval "$as_ac_Header=\$ac_header_preproc"
17508
 
fi
17509
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
17510
 
                 $as_echo "$as_val"'`
17511
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17512
 
$as_echo "$ac_res" >&6; }
17513
 
 
17514
 
fi
17515
 
as_val=`eval 'as_val=${'$as_ac_Header'}
17516
 
                 $as_echo "$as_val"'`
17517
 
   if test "x$as_val" = x""yes; then
 
14664
  for ac_header in slcurses.h slang/slcurses.h
 
14665
do :
 
14666
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14667
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
14668
eval as_val=\$$as_ac_Header
 
14669
   if test "x$as_val" = x""yes; then :
17518
14670
  cat >>confdefs.h <<_ACEOF
17519
14671
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17520
14672
_ACEOF
17524
14676
done
17525
14677
 
17526
14678
  if test "x$use_slang" = xno; then
17527
 
    { { $as_echo "$as_me:$LINENO: error: slang selected but slcurses.h not found" >&5
17528
 
$as_echo "$as_me: error: slang selected but slcurses.h not found" >&2;}
17529
 
   { (exit 1); exit 1; }; }
 
14679
    as_fn_error "slang selected but slcurses.h not found" "$LINENO" 5
17530
14680
  fi
17531
14681
fi
17532
14682
 if test "x$use_slang" = xyes; then
17539
14689
 
17540
14690
 
17541
14691
 
17542
 
cat >conftest.$ac_ext <<_ACEOF
17543
 
/* confdefs.h.  */
17544
 
_ACEOF
17545
 
cat confdefs.h >>conftest.$ac_ext
17546
 
cat >>conftest.$ac_ext <<_ACEOF
 
14692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547
14693
/* end confdefs.h.  */
17548
14694
 
17549
14695
#define _XOPEN_SOURCE
17559
14705
  return 0;
17560
14706
}
17561
14707
_ACEOF
17562
 
rm -f conftest.$ac_objext conftest$ac_exeext
17563
 
if { (ac_try="$ac_link"
17564
 
case "(($ac_try" in
17565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566
 
  *) ac_try_echo=$ac_try;;
17567
 
esac
17568
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17569
 
$as_echo "$ac_try_echo") >&5
17570
 
  (eval "$ac_link") 2>conftest.er1
17571
 
  ac_status=$?
17572
 
  grep -v '^ *+' conftest.er1 >conftest.err
17573
 
  rm -f conftest.er1
17574
 
  cat conftest.err >&5
17575
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576
 
  (exit $ac_status); } && {
17577
 
         test -z "$ac_c_werror_flag" ||
17578
 
         test ! -s conftest.err
17579
 
       } && test -s conftest$ac_exeext && {
17580
 
         test "$cross_compiling" = yes ||
17581
 
         $as_test_x conftest$ac_exeext
17582
 
       }; then
17583
 
  :
 
14708
if ac_fn_c_try_link "$LINENO"; then :
 
14709
 
17584
14710
else
17585
 
  $as_echo "$as_me: failed program was:" >&5
17586
 
sed 's/^/| /' conftest.$ac_ext >&5
17587
 
 
17588
14711
 
17589
14712
  LIBS="$LIBS -lcrypt"
17590
 
  cat >conftest.$ac_ext <<_ACEOF
17591
 
/* confdefs.h.  */
17592
 
_ACEOF
17593
 
cat confdefs.h >>conftest.$ac_ext
17594
 
cat >>conftest.$ac_ext <<_ACEOF
 
14713
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595
14714
/* end confdefs.h.  */
17596
14715
 
17597
14716
  #define _XOPEN_SOURCE
17607
14726
  return 0;
17608
14727
}
17609
14728
_ACEOF
17610
 
rm -f conftest.$ac_objext
17611
 
if { (ac_try="$ac_compile"
17612
 
case "(($ac_try" in
17613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17614
 
  *) ac_try_echo=$ac_try;;
17615
 
esac
17616
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17617
 
$as_echo "$ac_try_echo") >&5
17618
 
  (eval "$ac_compile") 2>conftest.er1
17619
 
  ac_status=$?
17620
 
  grep -v '^ *+' conftest.er1 >conftest.err
17621
 
  rm -f conftest.er1
17622
 
  cat conftest.err >&5
17623
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624
 
  (exit $ac_status); } && {
17625
 
         test -z "$ac_c_werror_flag" ||
17626
 
         test ! -s conftest.err
17627
 
       } && test -s conftest.$ac_objext; then
17628
 
 
17629
 
 
17630
 
cat >>confdefs.h <<\_ACEOF
17631
 
#define NEED_LIBCRYPT 1
17632
 
_ACEOF
 
14729
if ac_fn_c_try_compile "$LINENO"; then :
 
14730
 
 
14731
 
 
14732
$as_echo "#define NEED_LIBCRYPT 1" >>confdefs.h
17633
14733
 
17634
14734
  need_libcrypt=yes
17635
14735
 
17636
14736
else
17637
 
  $as_echo "$as_me: failed program was:" >&5
17638
 
sed 's/^/| /' conftest.$ac_ext >&5
17639
 
 
17640
 
 
17641
 
  { { $as_echo "$as_me:$LINENO: error: crypt() is not available" >&5
17642
 
$as_echo "$as_me: error: crypt() is not available" >&2;}
17643
 
   { (exit 1); exit 1; }; }
 
14737
 
 
14738
  as_fn_error "crypt() is not available" "$LINENO" 5
17644
14739
 
17645
14740
fi
17646
 
 
17647
14741
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648
14742
 
17649
14743
fi
17650
 
 
17651
 
rm -rf conftest.dSYM
17652
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17653
 
      conftest$ac_exeext conftest.$ac_ext
 
14744
rm -f core conftest.err conftest.$ac_objext \
 
14745
    conftest$ac_exeext conftest.$ac_ext
17654
14746
 
17655
14747
 if test "x$need_libcrypt" = xyes; then
17656
14748
  NEED_LIBCRYPT_TRUE=
17661
14753
fi
17662
14754
 
17663
14755
 
17664
 
cat >conftest.$ac_ext <<_ACEOF
17665
 
/* confdefs.h.  */
17666
 
_ACEOF
17667
 
cat confdefs.h >>conftest.$ac_ext
17668
 
cat >>conftest.$ac_ext <<_ACEOF
 
14756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669
14757
/* end confdefs.h.  */
17670
14758
 
17671
14759
#include <stdio.h>
17680
14768
  return 0;
17681
14769
}
17682
14770
_ACEOF
17683
 
rm -f conftest.$ac_objext
17684
 
if { (ac_try="$ac_compile"
17685
 
case "(($ac_try" in
17686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687
 
  *) ac_try_echo=$ac_try;;
17688
 
esac
17689
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17690
 
$as_echo "$ac_try_echo") >&5
17691
 
  (eval "$ac_compile") 2>conftest.er1
17692
 
  ac_status=$?
17693
 
  grep -v '^ *+' conftest.er1 >conftest.err
17694
 
  rm -f conftest.er1
17695
 
  cat conftest.err >&5
17696
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697
 
  (exit $ac_status); } && {
17698
 
         test -z "$ac_c_werror_flag" ||
17699
 
         test ! -s conftest.err
17700
 
       } && test -s conftest.$ac_objext; then
17701
 
 
17702
 
cat >>confdefs.h <<\_ACEOF
17703
 
#define HAVE___PROGNAME 1
17704
 
_ACEOF
17705
 
 
17706
 
 
17707
 
else
17708
 
  $as_echo "$as_me: failed program was:" >&5
17709
 
sed 's/^/| /' conftest.$ac_ext >&5
 
14771
if ac_fn_c_try_compile "$LINENO"; then :
 
14772
 
 
14773
$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
17710
14774
 
17711
14775
 
17712
14776
fi
17713
 
 
17714
14777
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715
14778
 
17716
14779
 
17717
 
cat >conftest.$ac_ext <<_ACEOF
17718
 
/* confdefs.h.  */
17719
 
_ACEOF
17720
 
cat confdefs.h >>conftest.$ac_ext
17721
 
cat >>conftest.$ac_ext <<_ACEOF
 
14780
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722
14781
/* end confdefs.h.  */
17723
14782
 
17724
14783
#include <wchar.h>
17740
14799
  return 0;
17741
14800
}
17742
14801
_ACEOF
17743
 
rm -f conftest.$ac_objext
17744
 
if { (ac_try="$ac_compile"
17745
 
case "(($ac_try" in
17746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17747
 
  *) ac_try_echo=$ac_try;;
17748
 
esac
17749
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17750
 
$as_echo "$ac_try_echo") >&5
17751
 
  (eval "$ac_compile") 2>conftest.er1
17752
 
  ac_status=$?
17753
 
  grep -v '^ *+' conftest.er1 >conftest.err
17754
 
  rm -f conftest.er1
17755
 
  cat conftest.err >&5
17756
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757
 
  (exit $ac_status); } && {
17758
 
         test -z "$ac_c_werror_flag" ||
17759
 
         test ! -s conftest.err
17760
 
       } && test -s conftest.$ac_objext; then
17761
 
 
17762
 
cat >>confdefs.h <<\_ACEOF
17763
 
#define HAVE_WIDECHAR 1
17764
 
_ACEOF
17765
 
 
17766
 
 
17767
 
else
17768
 
  $as_echo "$as_me: failed program was:" >&5
17769
 
sed 's/^/| /' conftest.$ac_ext >&5
 
14802
if ac_fn_c_try_compile "$LINENO"; then :
 
14803
 
 
14804
$as_echo "#define HAVE_WIDECHAR 1" >>confdefs.h
17770
14805
 
17771
14806
 
17772
14807
fi
17773
 
 
17774
14808
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17775
14809
 
17776
14810
 
17783
14817
 
17784
14818
 
17785
14819
 
17786
 
  { $as_echo "$as_me:$LINENO: checking for syscall pivot_root" >&5
 
14820
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall pivot_root" >&5
17787
14821
$as_echo_n "checking for syscall pivot_root... " >&6; }
17788
 
if test "${util_cv_syscall_pivot_root+set}" = set; then
 
14822
if test "${util_cv_syscall_pivot_root+set}" = set; then :
17789
14823
  $as_echo_n "(cached) " >&6
17790
14824
else
17791
 
  cat >conftest.$ac_ext <<_ACEOF
17792
 
/* confdefs.h.  */
17793
 
_ACEOF
17794
 
cat confdefs.h >>conftest.$ac_ext
17795
 
cat >>conftest.$ac_ext <<_ACEOF
 
14825
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796
14826
/* end confdefs.h.  */
17797
14827
 
17798
14828
#include <sys/syscall.h>
17806
14836
  return 0;
17807
14837
}
17808
14838
_ACEOF
17809
 
rm -f conftest.$ac_objext
17810
 
if { (ac_try="$ac_compile"
17811
 
case "(($ac_try" in
17812
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17813
 
  *) ac_try_echo=$ac_try;;
17814
 
esac
17815
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17816
 
$as_echo "$ac_try_echo") >&5
17817
 
  (eval "$ac_compile") 2>conftest.er1
17818
 
  ac_status=$?
17819
 
  grep -v '^ *+' conftest.er1 >conftest.err
17820
 
  rm -f conftest.er1
17821
 
  cat conftest.err >&5
17822
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823
 
  (exit $ac_status); } && {
17824
 
         test -z "$ac_c_werror_flag" ||
17825
 
         test ! -s conftest.err
17826
 
       } && test -s conftest.$ac_objext; then
 
14839
if ac_fn_c_try_compile "$LINENO"; then :
17827
14840
  syscall=SYS_pivot_root
17828
14841
else
17829
 
  $as_echo "$as_me: failed program was:" >&5
17830
 
sed 's/^/| /' conftest.$ac_ext >&5
17831
 
 
17832
 
                    cat >conftest.$ac_ext <<_ACEOF
17833
 
/* confdefs.h.  */
17834
 
_ACEOF
17835
 
cat confdefs.h >>conftest.$ac_ext
17836
 
cat >>conftest.$ac_ext <<_ACEOF
 
14842
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837
14843
/* end confdefs.h.  */
17838
14844
 
17839
14845
#include <sys/syscall.h>
17847
14853
  return 0;
17848
14854
}
17849
14855
_ACEOF
17850
 
rm -f conftest.$ac_objext
17851
 
if { (ac_try="$ac_compile"
17852
 
case "(($ac_try" in
17853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854
 
  *) ac_try_echo=$ac_try;;
17855
 
esac
17856
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17857
 
$as_echo "$ac_try_echo") >&5
17858
 
  (eval "$ac_compile") 2>conftest.er1
17859
 
  ac_status=$?
17860
 
  grep -v '^ *+' conftest.er1 >conftest.err
17861
 
  rm -f conftest.er1
17862
 
  cat conftest.err >&5
17863
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864
 
  (exit $ac_status); } && {
17865
 
         test -z "$ac_c_werror_flag" ||
17866
 
         test ! -s conftest.err
17867
 
       } && test -s conftest.$ac_objext; then
 
14856
if ac_fn_c_try_compile "$LINENO"; then :
17868
14857
  syscall=_NR_pivot_root
17869
14858
else
17870
 
  $as_echo "$as_me: failed program was:" >&5
17871
 
sed 's/^/| /' conftest.$ac_ext >&5
17872
 
 
17873
14859
 
17874
14860
          syscall=no
17875
14861
          if test "x$linux_os" = xyes; then
17879
14865
          fi
17880
14866
 
17881
14867
fi
17882
 
 
17883
14868
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17884
14869
 
17885
14870
 
17886
14871
fi
17887
 
 
17888
14872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889
14873
 
17890
14874
    util_cv_syscall_pivot_root=$syscall
17891
14875
 
17892
14876
fi
17893
 
{ $as_echo "$as_me:$LINENO: result: $util_cv_syscall_pivot_root" >&5
 
14877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $util_cv_syscall_pivot_root" >&5
17894
14878
$as_echo "$util_cv_syscall_pivot_root" >&6; }
17895
14879
   if test "x$util_cv_syscall_pivot_root" != xno; then
17896
14880
  HAVE_PIVOT_ROOT_TRUE=
17901
14885
fi
17902
14886
 
17903
14887
  case $util_cv_syscall_pivot_root in #(
17904
 
  no) { $as_echo "$as_me:$LINENO: WARNING: Unable to detect syscall pivot_root." >&5
 
14888
  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall pivot_root." >&5
17905
14889
$as_echo "$as_me: WARNING: Unable to detect syscall pivot_root." >&2;} ;;
17906
14890
  SYS_*) ;;
17907
14891
  *)
17913
14897
 
17914
14898
 
17915
14899
 
17916
 
  { $as_echo "$as_me:$LINENO: checking for syscall sched_getaffinity" >&5
 
14900
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall sched_getaffinity" >&5
17917
14901
$as_echo_n "checking for syscall sched_getaffinity... " >&6; }
17918
 
if test "${util_cv_syscall_sched_getaffinity+set}" = set; then
 
14902
if test "${util_cv_syscall_sched_getaffinity+set}" = set; then :
17919
14903
  $as_echo_n "(cached) " >&6
17920
14904
else
17921
 
  cat >conftest.$ac_ext <<_ACEOF
17922
 
/* confdefs.h.  */
17923
 
_ACEOF
17924
 
cat confdefs.h >>conftest.$ac_ext
17925
 
cat >>conftest.$ac_ext <<_ACEOF
 
14905
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926
14906
/* end confdefs.h.  */
17927
14907
 
17928
14908
#include <sys/syscall.h>
17936
14916
  return 0;
17937
14917
}
17938
14918
_ACEOF
17939
 
rm -f conftest.$ac_objext
17940
 
if { (ac_try="$ac_compile"
17941
 
case "(($ac_try" in
17942
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17943
 
  *) ac_try_echo=$ac_try;;
17944
 
esac
17945
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17946
 
$as_echo "$ac_try_echo") >&5
17947
 
  (eval "$ac_compile") 2>conftest.er1
17948
 
  ac_status=$?
17949
 
  grep -v '^ *+' conftest.er1 >conftest.err
17950
 
  rm -f conftest.er1
17951
 
  cat conftest.err >&5
17952
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953
 
  (exit $ac_status); } && {
17954
 
         test -z "$ac_c_werror_flag" ||
17955
 
         test ! -s conftest.err
17956
 
       } && test -s conftest.$ac_objext; then
 
14919
if ac_fn_c_try_compile "$LINENO"; then :
17957
14920
  syscall=SYS_sched_getaffinity
17958
14921
else
17959
 
  $as_echo "$as_me: failed program was:" >&5
17960
 
sed 's/^/| /' conftest.$ac_ext >&5
17961
 
 
17962
 
                    cat >conftest.$ac_ext <<_ACEOF
17963
 
/* confdefs.h.  */
17964
 
_ACEOF
17965
 
cat confdefs.h >>conftest.$ac_ext
17966
 
cat >>conftest.$ac_ext <<_ACEOF
 
14922
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967
14923
/* end confdefs.h.  */
17968
14924
 
17969
14925
#include <sys/syscall.h>
17977
14933
  return 0;
17978
14934
}
17979
14935
_ACEOF
17980
 
rm -f conftest.$ac_objext
17981
 
if { (ac_try="$ac_compile"
17982
 
case "(($ac_try" in
17983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17984
 
  *) ac_try_echo=$ac_try;;
17985
 
esac
17986
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17987
 
$as_echo "$ac_try_echo") >&5
17988
 
  (eval "$ac_compile") 2>conftest.er1
17989
 
  ac_status=$?
17990
 
  grep -v '^ *+' conftest.er1 >conftest.err
17991
 
  rm -f conftest.er1
17992
 
  cat conftest.err >&5
17993
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994
 
  (exit $ac_status); } && {
17995
 
         test -z "$ac_c_werror_flag" ||
17996
 
         test ! -s conftest.err
17997
 
       } && test -s conftest.$ac_objext; then
 
14936
if ac_fn_c_try_compile "$LINENO"; then :
17998
14937
  syscall=_NR_sched_getaffinity
17999
14938
else
18000
 
  $as_echo "$as_me: failed program was:" >&5
18001
 
sed 's/^/| /' conftest.$ac_ext >&5
18002
 
 
18003
14939
 
18004
14940
          syscall=no
18005
14941
          if test "x$linux_os" = xyes; then
18009
14945
          fi
18010
14946
 
18011
14947
fi
18012
 
 
18013
14948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014
14949
 
18015
14950
 
18016
14951
fi
18017
 
 
18018
14952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
14953
 
18020
14954
    util_cv_syscall_sched_getaffinity=$syscall
18021
14955
 
18022
14956
fi
18023
 
{ $as_echo "$as_me:$LINENO: result: $util_cv_syscall_sched_getaffinity" >&5
 
14957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $util_cv_syscall_sched_getaffinity" >&5
18024
14958
$as_echo "$util_cv_syscall_sched_getaffinity" >&6; }
18025
14959
   if test "x$util_cv_syscall_sched_getaffinity" != xno; then
18026
14960
  HAVE_SCHED_GETAFFINITY_TRUE=
18031
14965
fi
18032
14966
 
18033
14967
  case $util_cv_syscall_sched_getaffinity in #(
18034
 
  no) { $as_echo "$as_me:$LINENO: WARNING: Unable to detect syscall sched_getaffinity." >&5
 
14968
  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall sched_getaffinity." >&5
18035
14969
$as_echo "$as_me: WARNING: Unable to detect syscall sched_getaffinity." >&2;} ;;
18036
14970
  SYS_*) ;;
18037
14971
  *)
18043
14977
 
18044
14978
 
18045
14979
 
18046
 
  { $as_echo "$as_me:$LINENO: checking for syscall ioprio_set" >&5
 
14980
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_set" >&5
18047
14981
$as_echo_n "checking for syscall ioprio_set... " >&6; }
18048
 
if test "${util_cv_syscall_ioprio_set+set}" = set; then
 
14982
if test "${util_cv_syscall_ioprio_set+set}" = set; then :
18049
14983
  $as_echo_n "(cached) " >&6
18050
14984
else
18051
 
  cat >conftest.$ac_ext <<_ACEOF
18052
 
/* confdefs.h.  */
18053
 
_ACEOF
18054
 
cat confdefs.h >>conftest.$ac_ext
18055
 
cat >>conftest.$ac_ext <<_ACEOF
 
14985
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056
14986
/* end confdefs.h.  */
18057
14987
 
18058
14988
#include <sys/syscall.h>
18066
14996
  return 0;
18067
14997
}
18068
14998
_ACEOF
18069
 
rm -f conftest.$ac_objext
18070
 
if { (ac_try="$ac_compile"
18071
 
case "(($ac_try" in
18072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18073
 
  *) ac_try_echo=$ac_try;;
18074
 
esac
18075
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18076
 
$as_echo "$ac_try_echo") >&5
18077
 
  (eval "$ac_compile") 2>conftest.er1
18078
 
  ac_status=$?
18079
 
  grep -v '^ *+' conftest.er1 >conftest.err
18080
 
  rm -f conftest.er1
18081
 
  cat conftest.err >&5
18082
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083
 
  (exit $ac_status); } && {
18084
 
         test -z "$ac_c_werror_flag" ||
18085
 
         test ! -s conftest.err
18086
 
       } && test -s conftest.$ac_objext; then
 
14999
if ac_fn_c_try_compile "$LINENO"; then :
18087
15000
  syscall=SYS_ioprio_set
18088
15001
else
18089
 
  $as_echo "$as_me: failed program was:" >&5
18090
 
sed 's/^/| /' conftest.$ac_ext >&5
18091
 
 
18092
 
                    cat >conftest.$ac_ext <<_ACEOF
18093
 
/* confdefs.h.  */
18094
 
_ACEOF
18095
 
cat confdefs.h >>conftest.$ac_ext
18096
 
cat >>conftest.$ac_ext <<_ACEOF
 
15002
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097
15003
/* end confdefs.h.  */
18098
15004
 
18099
15005
#include <sys/syscall.h>
18107
15013
  return 0;
18108
15014
}
18109
15015
_ACEOF
18110
 
rm -f conftest.$ac_objext
18111
 
if { (ac_try="$ac_compile"
18112
 
case "(($ac_try" in
18113
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114
 
  *) ac_try_echo=$ac_try;;
18115
 
esac
18116
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18117
 
$as_echo "$ac_try_echo") >&5
18118
 
  (eval "$ac_compile") 2>conftest.er1
18119
 
  ac_status=$?
18120
 
  grep -v '^ *+' conftest.er1 >conftest.err
18121
 
  rm -f conftest.er1
18122
 
  cat conftest.err >&5
18123
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124
 
  (exit $ac_status); } && {
18125
 
         test -z "$ac_c_werror_flag" ||
18126
 
         test ! -s conftest.err
18127
 
       } && test -s conftest.$ac_objext; then
 
15016
if ac_fn_c_try_compile "$LINENO"; then :
18128
15017
  syscall=_NR_ioprio_set
18129
15018
else
18130
 
  $as_echo "$as_me: failed program was:" >&5
18131
 
sed 's/^/| /' conftest.$ac_ext >&5
18132
 
 
18133
15019
 
18134
15020
          syscall=no
18135
15021
          if test "x$linux_os" = xyes; then
18147
15033
          fi
18148
15034
 
18149
15035
fi
18150
 
 
18151
15036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152
15037
 
18153
15038
 
18154
15039
fi
18155
 
 
18156
15040
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18157
15041
 
18158
15042
    util_cv_syscall_ioprio_set=$syscall
18159
15043
 
18160
15044
fi
18161
 
{ $as_echo "$as_me:$LINENO: result: $util_cv_syscall_ioprio_set" >&5
 
15045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $util_cv_syscall_ioprio_set" >&5
18162
15046
$as_echo "$util_cv_syscall_ioprio_set" >&6; }
18163
15047
   if test "x$util_cv_syscall_ioprio_set" != xno; then
18164
15048
  HAVE_IOPRIO_SET_TRUE=
18169
15053
fi
18170
15054
 
18171
15055
  case $util_cv_syscall_ioprio_set in #(
18172
 
  no) { $as_echo "$as_me:$LINENO: WARNING: Unable to detect syscall ioprio_set." >&5
 
15056
  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall ioprio_set." >&5
18173
15057
$as_echo "$as_me: WARNING: Unable to detect syscall ioprio_set." >&2;} ;;
18174
15058
  SYS_*) ;;
18175
15059
  *)
18181
15065
 
18182
15066
 
18183
15067
 
18184
 
  { $as_echo "$as_me:$LINENO: checking for syscall ioprio_get" >&5
 
15068
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_get" >&5
18185
15069
$as_echo_n "checking for syscall ioprio_get... " >&6; }
18186
 
if test "${util_cv_syscall_ioprio_get+set}" = set; then
 
15070
if test "${util_cv_syscall_ioprio_get+set}" = set; then :
18187
15071
  $as_echo_n "(cached) " >&6
18188
15072
else
18189
 
  cat >conftest.$ac_ext <<_ACEOF
18190
 
/* confdefs.h.  */
18191
 
_ACEOF
18192
 
cat confdefs.h >>conftest.$ac_ext
18193
 
cat >>conftest.$ac_ext <<_ACEOF
 
15073
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18194
15074
/* end confdefs.h.  */
18195
15075
 
18196
15076
#include <sys/syscall.h>
18204
15084
  return 0;
18205
15085
}
18206
15086
_ACEOF
18207
 
rm -f conftest.$ac_objext
18208
 
if { (ac_try="$ac_compile"
18209
 
case "(($ac_try" in
18210
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18211
 
  *) ac_try_echo=$ac_try;;
18212
 
esac
18213
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18214
 
$as_echo "$ac_try_echo") >&5
18215
 
  (eval "$ac_compile") 2>conftest.er1
18216
 
  ac_status=$?
18217
 
  grep -v '^ *+' conftest.er1 >conftest.err
18218
 
  rm -f conftest.er1
18219
 
  cat conftest.err >&5
18220
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221
 
  (exit $ac_status); } && {
18222
 
         test -z "$ac_c_werror_flag" ||
18223
 
         test ! -s conftest.err
18224
 
       } && test -s conftest.$ac_objext; then
 
15087
if ac_fn_c_try_compile "$LINENO"; then :
18225
15088
  syscall=SYS_ioprio_get
18226
15089
else
18227
 
  $as_echo "$as_me: failed program was:" >&5
18228
 
sed 's/^/| /' conftest.$ac_ext >&5
18229
 
 
18230
 
                    cat >conftest.$ac_ext <<_ACEOF
18231
 
/* confdefs.h.  */
18232
 
_ACEOF
18233
 
cat confdefs.h >>conftest.$ac_ext
18234
 
cat >>conftest.$ac_ext <<_ACEOF
 
15090
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235
15091
/* end confdefs.h.  */
18236
15092
 
18237
15093
#include <sys/syscall.h>
18245
15101
  return 0;
18246
15102
}
18247
15103
_ACEOF
18248
 
rm -f conftest.$ac_objext
18249
 
if { (ac_try="$ac_compile"
18250
 
case "(($ac_try" in
18251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18252
 
  *) ac_try_echo=$ac_try;;
18253
 
esac
18254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18255
 
$as_echo "$ac_try_echo") >&5
18256
 
  (eval "$ac_compile") 2>conftest.er1
18257
 
  ac_status=$?
18258
 
  grep -v '^ *+' conftest.er1 >conftest.err
18259
 
  rm -f conftest.er1
18260
 
  cat conftest.err >&5
18261
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262
 
  (exit $ac_status); } && {
18263
 
         test -z "$ac_c_werror_flag" ||
18264
 
         test ! -s conftest.err
18265
 
       } && test -s conftest.$ac_objext; then
 
15104
if ac_fn_c_try_compile "$LINENO"; then :
18266
15105
  syscall=_NR_ioprio_get
18267
15106
else
18268
 
  $as_echo "$as_me: failed program was:" >&5
18269
 
sed 's/^/| /' conftest.$ac_ext >&5
18270
 
 
18271
15107
 
18272
15108
          syscall=no
18273
15109
          if test "x$linux_os" = xyes; then
18285
15121
          fi
18286
15122
 
18287
15123
fi
18288
 
 
18289
15124
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18290
15125
 
18291
15126
 
18292
15127
fi
18293
 
 
18294
15128
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295
15129
 
18296
15130
    util_cv_syscall_ioprio_get=$syscall
18297
15131
 
18298
15132
fi
18299
 
{ $as_echo "$as_me:$LINENO: result: $util_cv_syscall_ioprio_get" >&5
 
15133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $util_cv_syscall_ioprio_get" >&5
18300
15134
$as_echo "$util_cv_syscall_ioprio_get" >&6; }
18301
15135
   if test "x$util_cv_syscall_ioprio_get" != xno; then
18302
15136
  HAVE_IOPRIO_GET_TRUE=
18307
15141
fi
18308
15142
 
18309
15143
  case $util_cv_syscall_ioprio_get in #(
18310
 
  no) { $as_echo "$as_me:$LINENO: WARNING: Unable to detect syscall ioprio_get." >&5
 
15144
  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall ioprio_get." >&5
18311
15145
$as_echo "$as_me: WARNING: Unable to detect syscall ioprio_get." >&2;} ;;
18312
15146
  SYS_*) ;;
18313
15147
  *)
18319
15153
 
18320
15154
 
18321
15155
 
18322
 
cat >conftest.$ac_ext <<_ACEOF
18323
 
/* confdefs.h.  */
18324
 
_ACEOF
18325
 
cat confdefs.h >>conftest.$ac_ext
18326
 
cat >>conftest.$ac_ext <<_ACEOF
 
15156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327
15157
/* end confdefs.h.  */
18328
15158
 
18329
15159
#include <time.h>
18342
15172
  return 0;
18343
15173
}
18344
15174
_ACEOF
18345
 
rm -f conftest.$ac_objext
18346
 
if { (ac_try="$ac_compile"
18347
 
case "(($ac_try" in
18348
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18349
 
  *) ac_try_echo=$ac_try;;
18350
 
esac
18351
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18352
 
$as_echo "$ac_try_echo") >&5
18353
 
  (eval "$ac_compile") 2>conftest.er1
18354
 
  ac_status=$?
18355
 
  grep -v '^ *+' conftest.er1 >conftest.err
18356
 
  rm -f conftest.er1
18357
 
  cat conftest.err >&5
18358
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359
 
  (exit $ac_status); } && {
18360
 
         test -z "$ac_c_werror_flag" ||
18361
 
         test ! -s conftest.err
18362
 
       } && test -s conftest.$ac_objext; then
18363
 
 
18364
 
cat >>confdefs.h <<\_ACEOF
18365
 
#define HAVE_TM_GMTOFF 1
18366
 
_ACEOF
18367
 
 
18368
 
 
18369
 
else
18370
 
  $as_echo "$as_me: failed program was:" >&5
18371
 
sed 's/^/| /' conftest.$ac_ext >&5
18372
 
 
18373
 
 
18374
 
fi
18375
 
 
18376
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377
 
 
18378
 
{ $as_echo "$as_me:$LINENO: checking for struct termios.c_line" >&5
18379
 
$as_echo_n "checking for struct termios.c_line... " >&6; }
18380
 
if test "${ac_cv_member_struct_termios_c_line+set}" = set; then
18381
 
  $as_echo_n "(cached) " >&6
18382
 
else
18383
 
  cat >conftest.$ac_ext <<_ACEOF
18384
 
/* confdefs.h.  */
18385
 
_ACEOF
18386
 
cat confdefs.h >>conftest.$ac_ext
18387
 
cat >>conftest.$ac_ext <<_ACEOF
18388
 
/* end confdefs.h.  */
18389
 
#include <termios.h>
18390
 
 
18391
 
int
18392
 
main ()
18393
 
{
18394
 
static struct termios ac_aggr;
18395
 
if (ac_aggr.c_line)
18396
 
return 0;
18397
 
  ;
18398
 
  return 0;
18399
 
}
18400
 
_ACEOF
18401
 
rm -f conftest.$ac_objext
18402
 
if { (ac_try="$ac_compile"
18403
 
case "(($ac_try" in
18404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405
 
  *) ac_try_echo=$ac_try;;
18406
 
esac
18407
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18408
 
$as_echo "$ac_try_echo") >&5
18409
 
  (eval "$ac_compile") 2>conftest.er1
18410
 
  ac_status=$?
18411
 
  grep -v '^ *+' conftest.er1 >conftest.err
18412
 
  rm -f conftest.er1
18413
 
  cat conftest.err >&5
18414
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415
 
  (exit $ac_status); } && {
18416
 
         test -z "$ac_c_werror_flag" ||
18417
 
         test ! -s conftest.err
18418
 
       } && test -s conftest.$ac_objext; then
18419
 
  ac_cv_member_struct_termios_c_line=yes
18420
 
else
18421
 
  $as_echo "$as_me: failed program was:" >&5
18422
 
sed 's/^/| /' conftest.$ac_ext >&5
18423
 
 
18424
 
        cat >conftest.$ac_ext <<_ACEOF
18425
 
/* confdefs.h.  */
18426
 
_ACEOF
18427
 
cat confdefs.h >>conftest.$ac_ext
18428
 
cat >>conftest.$ac_ext <<_ACEOF
18429
 
/* end confdefs.h.  */
18430
 
#include <termios.h>
18431
 
 
18432
 
int
18433
 
main ()
18434
 
{
18435
 
static struct termios ac_aggr;
18436
 
if (sizeof ac_aggr.c_line)
18437
 
return 0;
18438
 
  ;
18439
 
  return 0;
18440
 
}
18441
 
_ACEOF
18442
 
rm -f conftest.$ac_objext
18443
 
if { (ac_try="$ac_compile"
18444
 
case "(($ac_try" in
18445
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446
 
  *) ac_try_echo=$ac_try;;
18447
 
esac
18448
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18449
 
$as_echo "$ac_try_echo") >&5
18450
 
  (eval "$ac_compile") 2>conftest.er1
18451
 
  ac_status=$?
18452
 
  grep -v '^ *+' conftest.er1 >conftest.err
18453
 
  rm -f conftest.er1
18454
 
  cat conftest.err >&5
18455
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456
 
  (exit $ac_status); } && {
18457
 
         test -z "$ac_c_werror_flag" ||
18458
 
         test ! -s conftest.err
18459
 
       } && test -s conftest.$ac_objext; then
18460
 
  ac_cv_member_struct_termios_c_line=yes
18461
 
else
18462
 
  $as_echo "$as_me: failed program was:" >&5
18463
 
sed 's/^/| /' conftest.$ac_ext >&5
18464
 
 
18465
 
        ac_cv_member_struct_termios_c_line=no
18466
 
fi
18467
 
 
18468
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18469
 
fi
18470
 
 
18471
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18472
 
fi
18473
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_termios_c_line" >&5
18474
 
$as_echo "$ac_cv_member_struct_termios_c_line" >&6; }
18475
 
if test "x$ac_cv_member_struct_termios_c_line" = x""yes; then
 
15175
if ac_fn_c_try_compile "$LINENO"; then :
 
15176
 
 
15177
$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
 
15178
 
 
15179
 
 
15180
fi
 
15181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15182
 
 
15183
ac_fn_c_check_member "$LINENO" "struct termios" "c_line" "ac_cv_member_struct_termios_c_line" "#include <termios.h>
 
15184
"
 
15185
if test "x$ac_cv_member_struct_termios_c_line" = x""yes; then :
18476
15186
 
18477
15187
cat >>confdefs.h <<_ACEOF
18478
15188
#define HAVE_STRUCT_TERMIOS_C_LINE 1
18482
15192
fi
18483
15193
 
18484
15194
 
18485
 
{ $as_echo "$as_me:$LINENO: checking whether ADDR_NO_RANDOMIZE is declared" >&5
18486
 
$as_echo_n "checking whether ADDR_NO_RANDOMIZE is declared... " >&6; }
18487
 
if test "${ac_cv_have_decl_ADDR_NO_RANDOMIZE+set}" = set; then
18488
 
  $as_echo_n "(cached) " >&6
18489
 
else
18490
 
  cat >conftest.$ac_ext <<_ACEOF
18491
 
/* confdefs.h.  */
18492
 
_ACEOF
18493
 
cat confdefs.h >>conftest.$ac_ext
18494
 
cat >>conftest.$ac_ext <<_ACEOF
18495
 
/* end confdefs.h.  */
18496
 
#include <linux/personality.h>
18497
 
 
18498
 
int
18499
 
main ()
18500
 
{
18501
 
#ifndef ADDR_NO_RANDOMIZE
18502
 
  (void) ADDR_NO_RANDOMIZE;
18503
 
#endif
18504
 
 
18505
 
  ;
18506
 
  return 0;
18507
 
}
18508
 
_ACEOF
18509
 
rm -f conftest.$ac_objext
18510
 
if { (ac_try="$ac_compile"
18511
 
case "(($ac_try" in
18512
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18513
 
  *) ac_try_echo=$ac_try;;
18514
 
esac
18515
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18516
 
$as_echo "$ac_try_echo") >&5
18517
 
  (eval "$ac_compile") 2>conftest.er1
18518
 
  ac_status=$?
18519
 
  grep -v '^ *+' conftest.er1 >conftest.err
18520
 
  rm -f conftest.er1
18521
 
  cat conftest.err >&5
18522
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523
 
  (exit $ac_status); } && {
18524
 
         test -z "$ac_c_werror_flag" ||
18525
 
         test ! -s conftest.err
18526
 
       } && test -s conftest.$ac_objext; then
18527
 
  ac_cv_have_decl_ADDR_NO_RANDOMIZE=yes
18528
 
else
18529
 
  $as_echo "$as_me: failed program was:" >&5
18530
 
sed 's/^/| /' conftest.$ac_ext >&5
18531
 
 
18532
 
        ac_cv_have_decl_ADDR_NO_RANDOMIZE=no
18533
 
fi
18534
 
 
18535
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536
 
fi
18537
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_NO_RANDOMIZE" >&5
18538
 
$as_echo "$ac_cv_have_decl_ADDR_NO_RANDOMIZE" >&6; }
18539
 
if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x""yes; then
18540
 
 
18541
 
cat >>confdefs.h <<_ACEOF
18542
 
#define HAVE_DECL_ADDR_NO_RANDOMIZE 1
18543
 
_ACEOF
18544
 
 
18545
 
 
18546
 
else
18547
 
  cat >>confdefs.h <<_ACEOF
18548
 
#define HAVE_DECL_ADDR_NO_RANDOMIZE 0
18549
 
_ACEOF
18550
 
 
18551
 
 
18552
 
fi
18553
 
{ $as_echo "$as_me:$LINENO: checking whether FDPIC_FUNCPTRS is declared" >&5
18554
 
$as_echo_n "checking whether FDPIC_FUNCPTRS is declared... " >&6; }
18555
 
if test "${ac_cv_have_decl_FDPIC_FUNCPTRS+set}" = set; then
18556
 
  $as_echo_n "(cached) " >&6
18557
 
else
18558
 
  cat >conftest.$ac_ext <<_ACEOF
18559
 
/* confdefs.h.  */
18560
 
_ACEOF
18561
 
cat confdefs.h >>conftest.$ac_ext
18562
 
cat >>conftest.$ac_ext <<_ACEOF
18563
 
/* end confdefs.h.  */
18564
 
#include <linux/personality.h>
18565
 
 
18566
 
int
18567
 
main ()
18568
 
{
18569
 
#ifndef FDPIC_FUNCPTRS
18570
 
  (void) FDPIC_FUNCPTRS;
18571
 
#endif
18572
 
 
18573
 
  ;
18574
 
  return 0;
18575
 
}
18576
 
_ACEOF
18577
 
rm -f conftest.$ac_objext
18578
 
if { (ac_try="$ac_compile"
18579
 
case "(($ac_try" in
18580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18581
 
  *) ac_try_echo=$ac_try;;
18582
 
esac
18583
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18584
 
$as_echo "$ac_try_echo") >&5
18585
 
  (eval "$ac_compile") 2>conftest.er1
18586
 
  ac_status=$?
18587
 
  grep -v '^ *+' conftest.er1 >conftest.err
18588
 
  rm -f conftest.er1
18589
 
  cat conftest.err >&5
18590
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591
 
  (exit $ac_status); } && {
18592
 
         test -z "$ac_c_werror_flag" ||
18593
 
         test ! -s conftest.err
18594
 
       } && test -s conftest.$ac_objext; then
18595
 
  ac_cv_have_decl_FDPIC_FUNCPTRS=yes
18596
 
else
18597
 
  $as_echo "$as_me: failed program was:" >&5
18598
 
sed 's/^/| /' conftest.$ac_ext >&5
18599
 
 
18600
 
        ac_cv_have_decl_FDPIC_FUNCPTRS=no
18601
 
fi
18602
 
 
18603
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604
 
fi
18605
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_FDPIC_FUNCPTRS" >&5
18606
 
$as_echo "$ac_cv_have_decl_FDPIC_FUNCPTRS" >&6; }
18607
 
if test "x$ac_cv_have_decl_FDPIC_FUNCPTRS" = x""yes; then
18608
 
 
18609
 
cat >>confdefs.h <<_ACEOF
18610
 
#define HAVE_DECL_FDPIC_FUNCPTRS 1
18611
 
_ACEOF
18612
 
 
18613
 
 
18614
 
else
18615
 
  cat >>confdefs.h <<_ACEOF
18616
 
#define HAVE_DECL_FDPIC_FUNCPTRS 0
18617
 
_ACEOF
18618
 
 
18619
 
 
18620
 
fi
18621
 
{ $as_echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
18622
 
$as_echo_n "checking whether MMAP_PAGE_ZERO is declared... " >&6; }
18623
 
if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
18624
 
  $as_echo_n "(cached) " >&6
18625
 
else
18626
 
  cat >conftest.$ac_ext <<_ACEOF
18627
 
/* confdefs.h.  */
18628
 
_ACEOF
18629
 
cat confdefs.h >>conftest.$ac_ext
18630
 
cat >>conftest.$ac_ext <<_ACEOF
18631
 
/* end confdefs.h.  */
18632
 
#include <linux/personality.h>
18633
 
 
18634
 
int
18635
 
main ()
18636
 
{
18637
 
#ifndef MMAP_PAGE_ZERO
18638
 
  (void) MMAP_PAGE_ZERO;
18639
 
#endif
18640
 
 
18641
 
  ;
18642
 
  return 0;
18643
 
}
18644
 
_ACEOF
18645
 
rm -f conftest.$ac_objext
18646
 
if { (ac_try="$ac_compile"
18647
 
case "(($ac_try" in
18648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649
 
  *) ac_try_echo=$ac_try;;
18650
 
esac
18651
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18652
 
$as_echo "$ac_try_echo") >&5
18653
 
  (eval "$ac_compile") 2>conftest.er1
18654
 
  ac_status=$?
18655
 
  grep -v '^ *+' conftest.er1 >conftest.err
18656
 
  rm -f conftest.er1
18657
 
  cat conftest.err >&5
18658
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659
 
  (exit $ac_status); } && {
18660
 
         test -z "$ac_c_werror_flag" ||
18661
 
         test ! -s conftest.err
18662
 
       } && test -s conftest.$ac_objext; then
18663
 
  ac_cv_have_decl_MMAP_PAGE_ZERO=yes
18664
 
else
18665
 
  $as_echo "$as_me: failed program was:" >&5
18666
 
sed 's/^/| /' conftest.$ac_ext >&5
18667
 
 
18668
 
        ac_cv_have_decl_MMAP_PAGE_ZERO=no
18669
 
fi
18670
 
 
18671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18672
 
fi
18673
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
18674
 
$as_echo "$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6; }
18675
 
if test "x$ac_cv_have_decl_MMAP_PAGE_ZERO" = x""yes; then
18676
 
 
18677
 
cat >>confdefs.h <<_ACEOF
18678
 
#define HAVE_DECL_MMAP_PAGE_ZERO 1
18679
 
_ACEOF
18680
 
 
18681
 
 
18682
 
else
18683
 
  cat >>confdefs.h <<_ACEOF
18684
 
#define HAVE_DECL_MMAP_PAGE_ZERO 0
18685
 
_ACEOF
18686
 
 
18687
 
 
18688
 
fi
18689
 
{ $as_echo "$as_me:$LINENO: checking whether ADDR_COMPAT_LAYOUT is declared" >&5
18690
 
$as_echo_n "checking whether ADDR_COMPAT_LAYOUT is declared... " >&6; }
18691
 
if test "${ac_cv_have_decl_ADDR_COMPAT_LAYOUT+set}" = set; then
18692
 
  $as_echo_n "(cached) " >&6
18693
 
else
18694
 
  cat >conftest.$ac_ext <<_ACEOF
18695
 
/* confdefs.h.  */
18696
 
_ACEOF
18697
 
cat confdefs.h >>conftest.$ac_ext
18698
 
cat >>conftest.$ac_ext <<_ACEOF
18699
 
/* end confdefs.h.  */
18700
 
#include <linux/personality.h>
18701
 
 
18702
 
int
18703
 
main ()
18704
 
{
18705
 
#ifndef ADDR_COMPAT_LAYOUT
18706
 
  (void) ADDR_COMPAT_LAYOUT;
18707
 
#endif
18708
 
 
18709
 
  ;
18710
 
  return 0;
18711
 
}
18712
 
_ACEOF
18713
 
rm -f conftest.$ac_objext
18714
 
if { (ac_try="$ac_compile"
18715
 
case "(($ac_try" in
18716
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18717
 
  *) ac_try_echo=$ac_try;;
18718
 
esac
18719
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18720
 
$as_echo "$ac_try_echo") >&5
18721
 
  (eval "$ac_compile") 2>conftest.er1
18722
 
  ac_status=$?
18723
 
  grep -v '^ *+' conftest.er1 >conftest.err
18724
 
  rm -f conftest.er1
18725
 
  cat conftest.err >&5
18726
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727
 
  (exit $ac_status); } && {
18728
 
         test -z "$ac_c_werror_flag" ||
18729
 
         test ! -s conftest.err
18730
 
       } && test -s conftest.$ac_objext; then
18731
 
  ac_cv_have_decl_ADDR_COMPAT_LAYOUT=yes
18732
 
else
18733
 
  $as_echo "$as_me: failed program was:" >&5
18734
 
sed 's/^/| /' conftest.$ac_ext >&5
18735
 
 
18736
 
        ac_cv_have_decl_ADDR_COMPAT_LAYOUT=no
18737
 
fi
18738
 
 
18739
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18740
 
fi
18741
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_COMPAT_LAYOUT" >&5
18742
 
$as_echo "$ac_cv_have_decl_ADDR_COMPAT_LAYOUT" >&6; }
18743
 
if test "x$ac_cv_have_decl_ADDR_COMPAT_LAYOUT" = x""yes; then
18744
 
 
18745
 
cat >>confdefs.h <<_ACEOF
18746
 
#define HAVE_DECL_ADDR_COMPAT_LAYOUT 1
18747
 
_ACEOF
18748
 
 
18749
 
 
18750
 
else
18751
 
  cat >>confdefs.h <<_ACEOF
18752
 
#define HAVE_DECL_ADDR_COMPAT_LAYOUT 0
18753
 
_ACEOF
18754
 
 
18755
 
 
18756
 
fi
18757
 
{ $as_echo "$as_me:$LINENO: checking whether READ_IMPLIES_EXEC is declared" >&5
18758
 
$as_echo_n "checking whether READ_IMPLIES_EXEC is declared... " >&6; }
18759
 
if test "${ac_cv_have_decl_READ_IMPLIES_EXEC+set}" = set; then
18760
 
  $as_echo_n "(cached) " >&6
18761
 
else
18762
 
  cat >conftest.$ac_ext <<_ACEOF
18763
 
/* confdefs.h.  */
18764
 
_ACEOF
18765
 
cat confdefs.h >>conftest.$ac_ext
18766
 
cat >>conftest.$ac_ext <<_ACEOF
18767
 
/* end confdefs.h.  */
18768
 
#include <linux/personality.h>
18769
 
 
18770
 
int
18771
 
main ()
18772
 
{
18773
 
#ifndef READ_IMPLIES_EXEC
18774
 
  (void) READ_IMPLIES_EXEC;
18775
 
#endif
18776
 
 
18777
 
  ;
18778
 
  return 0;
18779
 
}
18780
 
_ACEOF
18781
 
rm -f conftest.$ac_objext
18782
 
if { (ac_try="$ac_compile"
18783
 
case "(($ac_try" in
18784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18785
 
  *) ac_try_echo=$ac_try;;
18786
 
esac
18787
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18788
 
$as_echo "$ac_try_echo") >&5
18789
 
  (eval "$ac_compile") 2>conftest.er1
18790
 
  ac_status=$?
18791
 
  grep -v '^ *+' conftest.er1 >conftest.err
18792
 
  rm -f conftest.er1
18793
 
  cat conftest.err >&5
18794
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795
 
  (exit $ac_status); } && {
18796
 
         test -z "$ac_c_werror_flag" ||
18797
 
         test ! -s conftest.err
18798
 
       } && test -s conftest.$ac_objext; then
18799
 
  ac_cv_have_decl_READ_IMPLIES_EXEC=yes
18800
 
else
18801
 
  $as_echo "$as_me: failed program was:" >&5
18802
 
sed 's/^/| /' conftest.$ac_ext >&5
18803
 
 
18804
 
        ac_cv_have_decl_READ_IMPLIES_EXEC=no
18805
 
fi
18806
 
 
18807
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808
 
fi
18809
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_READ_IMPLIES_EXEC" >&5
18810
 
$as_echo "$ac_cv_have_decl_READ_IMPLIES_EXEC" >&6; }
18811
 
if test "x$ac_cv_have_decl_READ_IMPLIES_EXEC" = x""yes; then
18812
 
 
18813
 
cat >>confdefs.h <<_ACEOF
18814
 
#define HAVE_DECL_READ_IMPLIES_EXEC 1
18815
 
_ACEOF
18816
 
 
18817
 
 
18818
 
else
18819
 
  cat >>confdefs.h <<_ACEOF
18820
 
#define HAVE_DECL_READ_IMPLIES_EXEC 0
18821
 
_ACEOF
18822
 
 
18823
 
 
18824
 
fi
18825
 
{ $as_echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
18826
 
$as_echo_n "checking whether ADDR_LIMIT_32BIT is declared... " >&6; }
18827
 
if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
18828
 
  $as_echo_n "(cached) " >&6
18829
 
else
18830
 
  cat >conftest.$ac_ext <<_ACEOF
18831
 
/* confdefs.h.  */
18832
 
_ACEOF
18833
 
cat confdefs.h >>conftest.$ac_ext
18834
 
cat >>conftest.$ac_ext <<_ACEOF
18835
 
/* end confdefs.h.  */
18836
 
#include <linux/personality.h>
18837
 
 
18838
 
int
18839
 
main ()
18840
 
{
18841
 
#ifndef ADDR_LIMIT_32BIT
18842
 
  (void) ADDR_LIMIT_32BIT;
18843
 
#endif
18844
 
 
18845
 
  ;
18846
 
  return 0;
18847
 
}
18848
 
_ACEOF
18849
 
rm -f conftest.$ac_objext
18850
 
if { (ac_try="$ac_compile"
18851
 
case "(($ac_try" in
18852
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853
 
  *) ac_try_echo=$ac_try;;
18854
 
esac
18855
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18856
 
$as_echo "$ac_try_echo") >&5
18857
 
  (eval "$ac_compile") 2>conftest.er1
18858
 
  ac_status=$?
18859
 
  grep -v '^ *+' conftest.er1 >conftest.err
18860
 
  rm -f conftest.er1
18861
 
  cat conftest.err >&5
18862
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863
 
  (exit $ac_status); } && {
18864
 
         test -z "$ac_c_werror_flag" ||
18865
 
         test ! -s conftest.err
18866
 
       } && test -s conftest.$ac_objext; then
18867
 
  ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
18868
 
else
18869
 
  $as_echo "$as_me: failed program was:" >&5
18870
 
sed 's/^/| /' conftest.$ac_ext >&5
18871
 
 
18872
 
        ac_cv_have_decl_ADDR_LIMIT_32BIT=no
18873
 
fi
18874
 
 
18875
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18876
 
fi
18877
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
18878
 
$as_echo "$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6; }
18879
 
if test "x$ac_cv_have_decl_ADDR_LIMIT_32BIT" = x""yes; then
18880
 
 
18881
 
cat >>confdefs.h <<_ACEOF
18882
 
#define HAVE_DECL_ADDR_LIMIT_32BIT 1
18883
 
_ACEOF
18884
 
 
18885
 
 
18886
 
else
18887
 
  cat >>confdefs.h <<_ACEOF
18888
 
#define HAVE_DECL_ADDR_LIMIT_32BIT 0
18889
 
_ACEOF
18890
 
 
18891
 
 
18892
 
fi
18893
 
{ $as_echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
18894
 
$as_echo_n "checking whether WHOLE_SECONDS is declared... " >&6; }
18895
 
if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
18896
 
  $as_echo_n "(cached) " >&6
18897
 
else
18898
 
  cat >conftest.$ac_ext <<_ACEOF
18899
 
/* confdefs.h.  */
18900
 
_ACEOF
18901
 
cat confdefs.h >>conftest.$ac_ext
18902
 
cat >>conftest.$ac_ext <<_ACEOF
18903
 
/* end confdefs.h.  */
18904
 
#include <linux/personality.h>
18905
 
 
18906
 
int
18907
 
main ()
18908
 
{
18909
 
#ifndef WHOLE_SECONDS
18910
 
  (void) WHOLE_SECONDS;
18911
 
#endif
18912
 
 
18913
 
  ;
18914
 
  return 0;
18915
 
}
18916
 
_ACEOF
18917
 
rm -f conftest.$ac_objext
18918
 
if { (ac_try="$ac_compile"
18919
 
case "(($ac_try" in
18920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18921
 
  *) ac_try_echo=$ac_try;;
18922
 
esac
18923
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18924
 
$as_echo "$ac_try_echo") >&5
18925
 
  (eval "$ac_compile") 2>conftest.er1
18926
 
  ac_status=$?
18927
 
  grep -v '^ *+' conftest.er1 >conftest.err
18928
 
  rm -f conftest.er1
18929
 
  cat conftest.err >&5
18930
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931
 
  (exit $ac_status); } && {
18932
 
         test -z "$ac_c_werror_flag" ||
18933
 
         test ! -s conftest.err
18934
 
       } && test -s conftest.$ac_objext; then
18935
 
  ac_cv_have_decl_WHOLE_SECONDS=yes
18936
 
else
18937
 
  $as_echo "$as_me: failed program was:" >&5
18938
 
sed 's/^/| /' conftest.$ac_ext >&5
18939
 
 
18940
 
        ac_cv_have_decl_WHOLE_SECONDS=no
18941
 
fi
18942
 
 
18943
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944
 
fi
18945
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
18946
 
$as_echo "$ac_cv_have_decl_WHOLE_SECONDS" >&6; }
18947
 
if test "x$ac_cv_have_decl_WHOLE_SECONDS" = x""yes; then
18948
 
 
18949
 
cat >>confdefs.h <<_ACEOF
18950
 
#define HAVE_DECL_WHOLE_SECONDS 1
18951
 
_ACEOF
18952
 
 
18953
 
 
18954
 
else
18955
 
  cat >>confdefs.h <<_ACEOF
18956
 
#define HAVE_DECL_WHOLE_SECONDS 0
18957
 
_ACEOF
18958
 
 
18959
 
 
18960
 
fi
18961
 
{ $as_echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
18962
 
$as_echo_n "checking whether STICKY_TIMEOUTS is declared... " >&6; }
18963
 
if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
18964
 
  $as_echo_n "(cached) " >&6
18965
 
else
18966
 
  cat >conftest.$ac_ext <<_ACEOF
18967
 
/* confdefs.h.  */
18968
 
_ACEOF
18969
 
cat confdefs.h >>conftest.$ac_ext
18970
 
cat >>conftest.$ac_ext <<_ACEOF
18971
 
/* end confdefs.h.  */
18972
 
#include <linux/personality.h>
18973
 
 
18974
 
int
18975
 
main ()
18976
 
{
18977
 
#ifndef STICKY_TIMEOUTS
18978
 
  (void) STICKY_TIMEOUTS;
18979
 
#endif
18980
 
 
18981
 
  ;
18982
 
  return 0;
18983
 
}
18984
 
_ACEOF
18985
 
rm -f conftest.$ac_objext
18986
 
if { (ac_try="$ac_compile"
18987
 
case "(($ac_try" in
18988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18989
 
  *) ac_try_echo=$ac_try;;
18990
 
esac
18991
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18992
 
$as_echo "$ac_try_echo") >&5
18993
 
  (eval "$ac_compile") 2>conftest.er1
18994
 
  ac_status=$?
18995
 
  grep -v '^ *+' conftest.er1 >conftest.err
18996
 
  rm -f conftest.er1
18997
 
  cat conftest.err >&5
18998
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999
 
  (exit $ac_status); } && {
19000
 
         test -z "$ac_c_werror_flag" ||
19001
 
         test ! -s conftest.err
19002
 
       } && test -s conftest.$ac_objext; then
19003
 
  ac_cv_have_decl_STICKY_TIMEOUTS=yes
19004
 
else
19005
 
  $as_echo "$as_me: failed program was:" >&5
19006
 
sed 's/^/| /' conftest.$ac_ext >&5
19007
 
 
19008
 
        ac_cv_have_decl_STICKY_TIMEOUTS=no
19009
 
fi
19010
 
 
19011
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19012
 
fi
19013
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
19014
 
$as_echo "$ac_cv_have_decl_STICKY_TIMEOUTS" >&6; }
19015
 
if test "x$ac_cv_have_decl_STICKY_TIMEOUTS" = x""yes; then
19016
 
 
19017
 
cat >>confdefs.h <<_ACEOF
19018
 
#define HAVE_DECL_STICKY_TIMEOUTS 1
19019
 
_ACEOF
19020
 
 
19021
 
 
19022
 
else
19023
 
  cat >>confdefs.h <<_ACEOF
19024
 
#define HAVE_DECL_STICKY_TIMEOUTS 0
19025
 
_ACEOF
19026
 
 
19027
 
 
19028
 
fi
19029
 
{ $as_echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
19030
 
$as_echo_n "checking whether ADDR_LIMIT_3GB is declared... " >&6; }
19031
 
if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
19032
 
  $as_echo_n "(cached) " >&6
19033
 
else
19034
 
  cat >conftest.$ac_ext <<_ACEOF
19035
 
/* confdefs.h.  */
19036
 
_ACEOF
19037
 
cat confdefs.h >>conftest.$ac_ext
19038
 
cat >>conftest.$ac_ext <<_ACEOF
19039
 
/* end confdefs.h.  */
19040
 
#include <linux/personality.h>
19041
 
 
19042
 
int
19043
 
main ()
19044
 
{
19045
 
#ifndef ADDR_LIMIT_3GB
19046
 
  (void) ADDR_LIMIT_3GB;
19047
 
#endif
19048
 
 
19049
 
  ;
19050
 
  return 0;
19051
 
}
19052
 
_ACEOF
19053
 
rm -f conftest.$ac_objext
19054
 
if { (ac_try="$ac_compile"
19055
 
case "(($ac_try" in
19056
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19057
 
  *) ac_try_echo=$ac_try;;
19058
 
esac
19059
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19060
 
$as_echo "$ac_try_echo") >&5
19061
 
  (eval "$ac_compile") 2>conftest.er1
19062
 
  ac_status=$?
19063
 
  grep -v '^ *+' conftest.er1 >conftest.err
19064
 
  rm -f conftest.er1
19065
 
  cat conftest.err >&5
19066
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067
 
  (exit $ac_status); } && {
19068
 
         test -z "$ac_c_werror_flag" ||
19069
 
         test ! -s conftest.err
19070
 
       } && test -s conftest.$ac_objext; then
19071
 
  ac_cv_have_decl_ADDR_LIMIT_3GB=yes
19072
 
else
19073
 
  $as_echo "$as_me: failed program was:" >&5
19074
 
sed 's/^/| /' conftest.$ac_ext >&5
19075
 
 
19076
 
        ac_cv_have_decl_ADDR_LIMIT_3GB=no
19077
 
fi
19078
 
 
19079
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080
 
fi
19081
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
19082
 
$as_echo "$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6; }
19083
 
if test "x$ac_cv_have_decl_ADDR_LIMIT_3GB" = x""yes; then
19084
 
 
19085
 
cat >>confdefs.h <<_ACEOF
19086
 
#define HAVE_DECL_ADDR_LIMIT_3GB 1
19087
 
_ACEOF
19088
 
 
19089
 
 
19090
 
else
19091
 
  cat >>confdefs.h <<_ACEOF
19092
 
#define HAVE_DECL_ADDR_LIMIT_3GB 0
19093
 
_ACEOF
19094
 
 
19095
 
 
19096
 
fi
19097
 
 
19098
 
 
 
15195
ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <linux/personality.h>
 
15196
"
 
15197
if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x""yes; then :
 
15198
  ac_have_decl=1
 
15199
else
 
15200
  ac_have_decl=0
 
15201
fi
 
15202
 
 
15203
cat >>confdefs.h <<_ACEOF
 
15204
#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
 
15205
_ACEOF
 
15206
ac_fn_c_check_decl "$LINENO" "FDPIC_FUNCPTRS" "ac_cv_have_decl_FDPIC_FUNCPTRS" "#include <linux/personality.h>
 
15207
"
 
15208
if test "x$ac_cv_have_decl_FDPIC_FUNCPTRS" = x""yes; then :
 
15209
  ac_have_decl=1
 
15210
else
 
15211
  ac_have_decl=0
 
15212
fi
 
15213
 
 
15214
cat >>confdefs.h <<_ACEOF
 
15215
#define HAVE_DECL_FDPIC_FUNCPTRS $ac_have_decl
 
15216
_ACEOF
 
15217
ac_fn_c_check_decl "$LINENO" "MMAP_PAGE_ZERO" "ac_cv_have_decl_MMAP_PAGE_ZERO" "#include <linux/personality.h>
 
15218
"
 
15219
if test "x$ac_cv_have_decl_MMAP_PAGE_ZERO" = x""yes; then :
 
15220
  ac_have_decl=1
 
15221
else
 
15222
  ac_have_decl=0
 
15223
fi
 
15224
 
 
15225
cat >>confdefs.h <<_ACEOF
 
15226
#define HAVE_DECL_MMAP_PAGE_ZERO $ac_have_decl
 
15227
_ACEOF
 
15228
ac_fn_c_check_decl "$LINENO" "ADDR_COMPAT_LAYOUT" "ac_cv_have_decl_ADDR_COMPAT_LAYOUT" "#include <linux/personality.h>
 
15229
"
 
15230
if test "x$ac_cv_have_decl_ADDR_COMPAT_LAYOUT" = x""yes; then :
 
15231
  ac_have_decl=1
 
15232
else
 
15233
  ac_have_decl=0
 
15234
fi
 
15235
 
 
15236
cat >>confdefs.h <<_ACEOF
 
15237
#define HAVE_DECL_ADDR_COMPAT_LAYOUT $ac_have_decl
 
15238
_ACEOF
 
15239
ac_fn_c_check_decl "$LINENO" "READ_IMPLIES_EXEC" "ac_cv_have_decl_READ_IMPLIES_EXEC" "#include <linux/personality.h>
 
15240
"
 
15241
if test "x$ac_cv_have_decl_READ_IMPLIES_EXEC" = x""yes; then :
 
15242
  ac_have_decl=1
 
15243
else
 
15244
  ac_have_decl=0
 
15245
fi
 
15246
 
 
15247
cat >>confdefs.h <<_ACEOF
 
15248
#define HAVE_DECL_READ_IMPLIES_EXEC $ac_have_decl
 
15249
_ACEOF
 
15250
ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_32BIT" "ac_cv_have_decl_ADDR_LIMIT_32BIT" "#include <linux/personality.h>
 
15251
"
 
15252
if test "x$ac_cv_have_decl_ADDR_LIMIT_32BIT" = x""yes; then :
 
15253
  ac_have_decl=1
 
15254
else
 
15255
  ac_have_decl=0
 
15256
fi
 
15257
 
 
15258
cat >>confdefs.h <<_ACEOF
 
15259
#define HAVE_DECL_ADDR_LIMIT_32BIT $ac_have_decl
 
15260
_ACEOF
 
15261
ac_fn_c_check_decl "$LINENO" "WHOLE_SECONDS" "ac_cv_have_decl_WHOLE_SECONDS" "#include <linux/personality.h>
 
15262
"
 
15263
if test "x$ac_cv_have_decl_WHOLE_SECONDS" = x""yes; then :
 
15264
  ac_have_decl=1
 
15265
else
 
15266
  ac_have_decl=0
 
15267
fi
 
15268
 
 
15269
cat >>confdefs.h <<_ACEOF
 
15270
#define HAVE_DECL_WHOLE_SECONDS $ac_have_decl
 
15271
_ACEOF
 
15272
ac_fn_c_check_decl "$LINENO" "STICKY_TIMEOUTS" "ac_cv_have_decl_STICKY_TIMEOUTS" "#include <linux/personality.h>
 
15273
"
 
15274
if test "x$ac_cv_have_decl_STICKY_TIMEOUTS" = x""yes; then :
 
15275
  ac_have_decl=1
 
15276
else
 
15277
  ac_have_decl=0
 
15278
fi
 
15279
 
 
15280
cat >>confdefs.h <<_ACEOF
 
15281
#define HAVE_DECL_STICKY_TIMEOUTS $ac_have_decl
 
15282
_ACEOF
 
15283
ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_3GB" "ac_cv_have_decl_ADDR_LIMIT_3GB" "#include <linux/personality.h>
 
15284
"
 
15285
if test "x$ac_cv_have_decl_ADDR_LIMIT_3GB" = x""yes; then :
 
15286
  ac_have_decl=1
 
15287
else
 
15288
  ac_have_decl=0
 
15289
fi
 
15290
 
 
15291
cat >>confdefs.h <<_ACEOF
 
15292
#define HAVE_DECL_ADDR_LIMIT_3GB $ac_have_decl
 
15293
_ACEOF
19099
15294
 
19100
15295
 
19101
15296
for ac_header in sys/swap.h
19102
 
do
19103
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19104
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19105
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19106
 
$as_echo_n "checking for $ac_header... " >&6; }
19107
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19108
 
  $as_echo_n "(cached) " >&6
19109
 
fi
19110
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19111
 
                 $as_echo "$as_val"'`
19112
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19113
 
$as_echo "$ac_res" >&6; }
19114
 
else
19115
 
  # Is the header compilable?
19116
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19117
 
$as_echo_n "checking $ac_header usability... " >&6; }
19118
 
cat >conftest.$ac_ext <<_ACEOF
19119
 
/* confdefs.h.  */
19120
 
_ACEOF
19121
 
cat confdefs.h >>conftest.$ac_ext
19122
 
cat >>conftest.$ac_ext <<_ACEOF
19123
 
/* end confdefs.h.  */
19124
 
$ac_includes_default
19125
 
#include <$ac_header>
19126
 
_ACEOF
19127
 
rm -f conftest.$ac_objext
19128
 
if { (ac_try="$ac_compile"
19129
 
case "(($ac_try" in
19130
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131
 
  *) ac_try_echo=$ac_try;;
19132
 
esac
19133
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19134
 
$as_echo "$ac_try_echo") >&5
19135
 
  (eval "$ac_compile") 2>conftest.er1
19136
 
  ac_status=$?
19137
 
  grep -v '^ *+' conftest.er1 >conftest.err
19138
 
  rm -f conftest.er1
19139
 
  cat conftest.err >&5
19140
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141
 
  (exit $ac_status); } && {
19142
 
         test -z "$ac_c_werror_flag" ||
19143
 
         test ! -s conftest.err
19144
 
       } && test -s conftest.$ac_objext; then
19145
 
  ac_header_compiler=yes
19146
 
else
19147
 
  $as_echo "$as_me: failed program was:" >&5
19148
 
sed 's/^/| /' conftest.$ac_ext >&5
19149
 
 
19150
 
        ac_header_compiler=no
19151
 
fi
19152
 
 
19153
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19154
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19155
 
$as_echo "$ac_header_compiler" >&6; }
19156
 
 
19157
 
# Is the header present?
19158
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19159
 
$as_echo_n "checking $ac_header presence... " >&6; }
19160
 
cat >conftest.$ac_ext <<_ACEOF
19161
 
/* confdefs.h.  */
19162
 
_ACEOF
19163
 
cat confdefs.h >>conftest.$ac_ext
19164
 
cat >>conftest.$ac_ext <<_ACEOF
19165
 
/* end confdefs.h.  */
19166
 
#include <$ac_header>
19167
 
_ACEOF
19168
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19169
 
case "(($ac_try" in
19170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171
 
  *) ac_try_echo=$ac_try;;
19172
 
esac
19173
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19174
 
$as_echo "$ac_try_echo") >&5
19175
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19176
 
  ac_status=$?
19177
 
  grep -v '^ *+' conftest.er1 >conftest.err
19178
 
  rm -f conftest.er1
19179
 
  cat conftest.err >&5
19180
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181
 
  (exit $ac_status); } >/dev/null && {
19182
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19183
 
         test ! -s conftest.err
19184
 
       }; then
19185
 
  ac_header_preproc=yes
19186
 
else
19187
 
  $as_echo "$as_me: failed program was:" >&5
19188
 
sed 's/^/| /' conftest.$ac_ext >&5
19189
 
 
19190
 
  ac_header_preproc=no
19191
 
fi
19192
 
 
19193
 
rm -f conftest.err conftest.$ac_ext
19194
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19195
 
$as_echo "$ac_header_preproc" >&6; }
19196
 
 
19197
 
# So?  What about this header?
19198
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19199
 
  yes:no: )
19200
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19201
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19202
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19203
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19204
 
    ac_header_preproc=yes
19205
 
    ;;
19206
 
  no:yes:* )
19207
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19208
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19209
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19210
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19211
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19212
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19213
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19214
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19215
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19216
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19217
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19218
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19219
 
    ( cat <<\_ASBOX
19220
 
## ------------------------------ ##
19221
 
## Report this to kzak@redhat.com ##
19222
 
## ------------------------------ ##
19223
 
_ASBOX
19224
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19225
 
    ;;
19226
 
esac
19227
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19228
 
$as_echo_n "checking for $ac_header... " >&6; }
19229
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19230
 
  $as_echo_n "(cached) " >&6
19231
 
else
19232
 
  eval "$as_ac_Header=\$ac_header_preproc"
19233
 
fi
19234
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19235
 
                 $as_echo "$as_val"'`
19236
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19237
 
$as_echo "$ac_res" >&6; }
19238
 
 
19239
 
fi
19240
 
as_val=`eval 'as_val=${'$as_ac_Header'}
19241
 
                 $as_echo "$as_val"'`
19242
 
   if test "x$as_val" = x""yes; then
 
15297
do :
 
15298
  ac_fn_c_check_header_mongrel "$LINENO" "sys/swap.h" "ac_cv_header_sys_swap_h" "$ac_includes_default"
 
15299
if test "x$ac_cv_header_sys_swap_h" = x""yes; then :
19243
15300
  cat >>confdefs.h <<_ACEOF
19244
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15301
#define HAVE_SYS_SWAP_H 1
19245
15302
_ACEOF
19246
15303
 
19247
15304
fi
19249
15306
done
19250
15307
 
19251
15308
 
19252
 
cat >conftest.$ac_ext <<_ACEOF
19253
 
/* confdefs.h.  */
19254
 
_ACEOF
19255
 
cat confdefs.h >>conftest.$ac_ext
19256
 
cat >>conftest.$ac_ext <<_ACEOF
 
15309
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257
15310
/* end confdefs.h.  */
19258
15311
 
19259
15312
#ifdef HAVE_SYS_SWAP_H
19269
15322
  return 0;
19270
15323
}
19271
15324
_ACEOF
19272
 
rm -f conftest.$ac_objext
19273
 
if { (ac_try="$ac_compile"
19274
 
case "(($ac_try" in
19275
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276
 
  *) ac_try_echo=$ac_try;;
19277
 
esac
19278
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19279
 
$as_echo "$ac_try_echo") >&5
19280
 
  (eval "$ac_compile") 2>conftest.er1
19281
 
  ac_status=$?
19282
 
  grep -v '^ *+' conftest.er1 >conftest.err
19283
 
  rm -f conftest.er1
19284
 
  cat conftest.err >&5
19285
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286
 
  (exit $ac_status); } && {
19287
 
         test -z "$ac_c_werror_flag" ||
19288
 
         test ! -s conftest.err
19289
 
       } && test -s conftest.$ac_objext; then
 
15325
if ac_fn_c_try_compile "$LINENO"; then :
19290
15326
 
19291
 
cat >>confdefs.h <<\_ACEOF
19292
 
#define SWAPON_HAS_TWO_ARGS 1
19293
 
_ACEOF
 
15327
$as_echo "#define SWAPON_HAS_TWO_ARGS 1" >>confdefs.h
19294
15328
 
19295
15329
 
19296
15330
else
19297
 
  $as_echo "$as_me: failed program was:" >&5
19298
 
sed 's/^/| /' conftest.$ac_ext >&5
19299
 
 
19300
 
        { $as_echo "$as_me:$LINENO: Your libc thinks that swapon has 1 arg only." >&5
 
15331
  { $as_echo "$as_me:${as_lineno-$LINENO}: Your libc thinks that swapon has 1 arg only." >&5
19301
15332
$as_echo "$as_me: Your libc thinks that swapon has 1 arg only." >&6;}
19302
15333
 
19303
15334
fi
19304
 
 
19305
15335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19306
15336
 
19307
15337
 
19435
15465
 
19436
15466
 
19437
15467
# Check whether --enable-arch was given.
19438
 
if test "${enable_arch+set}" = set; then
 
15468
if test "${enable_arch+set}" = set; then :
19439
15469
  enableval=$enable_arch;
19440
15470
else
19441
15471
  enable_arch=no
19452
15482
 
19453
15483
 
19454
15484
# Check whether --enable-agetty was given.
19455
 
if test "${enable_agetty+set}" = set; then
 
15485
if test "${enable_agetty+set}" = set; then :
19456
15486
  enableval=$enable_agetty;
19457
15487
else
19458
15488
  enable_agetty=yes
19469
15499
 
19470
15500
 
19471
15501
# Check whether --enable-cramfs was given.
19472
 
if test "${enable_cramfs+set}" = set; then
 
15502
if test "${enable_cramfs+set}" = set; then :
19473
15503
  enableval=$enable_cramfs;
19474
15504
else
19475
15505
  enable_cramfs=check
19481
15511
  build_cramfs=no
19482
15512
else
19483
15513
  build_cramfs=yes
19484
 
 
19485
 
{ $as_echo "$as_me:$LINENO: checking for crc32 in -lz" >&5
 
15514
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crc32 in -lz" >&5
19486
15515
$as_echo_n "checking for crc32 in -lz... " >&6; }
19487
 
if test "${ac_cv_lib_z_crc32+set}" = set; then
 
15516
if test "${ac_cv_lib_z_crc32+set}" = set; then :
19488
15517
  $as_echo_n "(cached) " >&6
19489
15518
else
19490
15519
  ac_check_lib_save_LIBS=$LIBS
19491
15520
LIBS="-lz  $LIBS"
19492
 
cat >conftest.$ac_ext <<_ACEOF
19493
 
/* confdefs.h.  */
19494
 
_ACEOF
19495
 
cat confdefs.h >>conftest.$ac_ext
19496
 
cat >>conftest.$ac_ext <<_ACEOF
 
15521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497
15522
/* end confdefs.h.  */
19498
15523
 
19499
15524
/* Override any GCC internal prototype to avoid an error.
19511
15536
  return 0;
19512
15537
}
19513
15538
_ACEOF
19514
 
rm -f conftest.$ac_objext conftest$ac_exeext
19515
 
if { (ac_try="$ac_link"
19516
 
case "(($ac_try" in
19517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19518
 
  *) ac_try_echo=$ac_try;;
19519
 
esac
19520
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19521
 
$as_echo "$ac_try_echo") >&5
19522
 
  (eval "$ac_link") 2>conftest.er1
19523
 
  ac_status=$?
19524
 
  grep -v '^ *+' conftest.er1 >conftest.err
19525
 
  rm -f conftest.er1
19526
 
  cat conftest.err >&5
19527
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528
 
  (exit $ac_status); } && {
19529
 
         test -z "$ac_c_werror_flag" ||
19530
 
         test ! -s conftest.err
19531
 
       } && test -s conftest$ac_exeext && {
19532
 
         test "$cross_compiling" = yes ||
19533
 
         $as_test_x conftest$ac_exeext
19534
 
       }; then
 
15539
if ac_fn_c_try_link "$LINENO"; then :
19535
15540
  ac_cv_lib_z_crc32=yes
19536
15541
else
19537
 
  $as_echo "$as_me: failed program was:" >&5
19538
 
sed 's/^/| /' conftest.$ac_ext >&5
19539
 
 
19540
 
        ac_cv_lib_z_crc32=no
 
15542
  ac_cv_lib_z_crc32=no
19541
15543
fi
19542
 
 
19543
 
rm -rf conftest.dSYM
19544
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19545
 
      conftest$ac_exeext conftest.$ac_ext
 
15544
rm -f core conftest.err conftest.$ac_objext \
 
15545
    conftest$ac_exeext conftest.$ac_ext
19546
15546
LIBS=$ac_check_lib_save_LIBS
19547
15547
fi
19548
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_crc32" >&5
 
15548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_crc32" >&5
19549
15549
$as_echo "$ac_cv_lib_z_crc32" >&6; }
19550
 
if test "x$ac_cv_lib_z_crc32" = x""yes; then
 
15550
if test "x$ac_cv_lib_z_crc32" = x""yes; then :
19551
15551
  cat >>confdefs.h <<_ACEOF
19552
15552
#define HAVE_LIBZ 1
19553
15553
_ACEOF
19559
15559
fi
19560
15560
 
19561
15561
  case $enable_cramfs:$build_cramfs in
19562
 
  yes:no) { { $as_echo "$as_me:$LINENO: error: cramfs selected but libz not found" >&5
19563
 
$as_echo "$as_me: error: cramfs selected but libz not found" >&2;}
19564
 
   { (exit 1); exit 1; }; };;
 
15562
  yes:no) as_fn_error "cramfs selected but libz not found" "$LINENO" 5;;
19565
15563
  esac
19566
15564
fi
19567
15565
 if test "x$build_cramfs" = xyes; then
19575
15573
 
19576
15574
 
19577
15575
# Check whether --enable-switch_root was given.
19578
 
if test "${enable_switch_root+set}" = set; then
 
15576
if test "${enable_switch_root+set}" = set; then :
19579
15577
  enableval=$enable_switch_root;
19580
15578
else
19581
15579
  enable_switch_root=check
19588
15586
else
19589
15587
  build_switch_root=yes
19590
15588
  case $enable_switch_root:$linux_os in
19591
 
  yes:no) { { $as_echo "$as_me:$LINENO: error: switch_root selected for non-linux system" >&5
19592
 
$as_echo "$as_me: error: switch_root selected for non-linux system" >&2;}
19593
 
   { (exit 1); exit 1; }; };;
19594
 
  check:no) { $as_echo "$as_me:$LINENO: WARNING: non-linux system; do not build switch_root" >&5
 
15589
  yes:no) as_fn_error "switch_root selected for non-linux system" "$LINENO" 5;;
 
15590
  check:no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build switch_root" >&5
19595
15591
$as_echo "$as_me: WARNING: non-linux system; do not build switch_root" >&2;}
19596
15592
            build_switch_root=no;;
19597
15593
  esac
19598
15594
  if test "x$build_switch_root" = xyes; then
19599
15595
    case $enable_switch_root:$have_openat in
19600
 
    yes:no) { { $as_echo "$as_me:$LINENO: error: switch_root selected but openat() function not found" >&5
19601
 
$as_echo "$as_me: error: switch_root selected but openat() function not found" >&2;}
19602
 
   { (exit 1); exit 1; }; };;
19603
 
    check:no) { $as_echo "$as_me:$LINENO: WARNING: openat() function not found; do not build switch_root" >&5
 
15596
    yes:no) as_fn_error "switch_root selected but openat() function not found" "$LINENO" 5;;
 
15597
    check:no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat() function not found; do not build switch_root" >&5
19604
15598
$as_echo "$as_me: WARNING: openat() function not found; do not build switch_root" >&2;}
19605
15599
              build_switch_root=no;;
19606
15600
    esac
19617
15611
 
19618
15612
 
19619
15613
# Check whether --enable-elvtune was given.
19620
 
if test "${enable_elvtune+set}" = set; then
 
15614
if test "${enable_elvtune+set}" = set; then :
19621
15615
  enableval=$enable_elvtune;
19622
15616
else
19623
15617
  enable_elvtune=no
19635
15629
 
19636
15630
 
19637
15631
# Check whether --enable-init was given.
19638
 
if test "${enable_init+set}" = set; then
 
15632
if test "${enable_init+set}" = set; then :
19639
15633
  enableval=$enable_init;
19640
15634
else
19641
15635
  enable_init=no
19653
15647
 
19654
15648
 
19655
15649
# Check whether --enable-kill was given.
19656
 
if test "${enable_kill+set}" = set; then
 
15650
if test "${enable_kill+set}" = set; then :
19657
15651
  enableval=$enable_kill;
19658
15652
else
19659
15653
  enable_kill=no
19671
15665
 
19672
15666
 
19673
15667
# Check whether --enable-last was given.
19674
 
if test "${enable_last+set}" = set; then
 
15668
if test "${enable_last+set}" = set; then :
19675
15669
  enableval=$enable_last;
19676
15670
else
19677
15671
  enable_last=no
19689
15683
 
19690
15684
 
19691
15685
# Check whether --enable-mesg was given.
19692
 
if test "${enable_mesg+set}" = set; then
 
15686
if test "${enable_mesg+set}" = set; then :
19693
15687
  enableval=$enable_mesg;
19694
15688
else
19695
15689
  enable_mesg=no
19707
15701
 
19708
15702
 
19709
15703
# Check whether --enable-partx was given.
19710
 
if test "${enable_partx+set}" = set; then
 
15704
if test "${enable_partx+set}" = set; then :
19711
15705
  enableval=$enable_partx;
19712
15706
else
19713
15707
  enable_partx=no
19725
15719
 
19726
15720
 
19727
15721
# Check whether --enable-raw was given.
19728
 
if test "${enable_raw+set}" = set; then
 
15722
if test "${enable_raw+set}" = set; then :
19729
15723
  enableval=$enable_raw;
19730
15724
else
19731
15725
  enable_raw=no
19743
15737
 
19744
15738
 
19745
15739
# Check whether --enable-rdev was given.
19746
 
if test "${enable_rdev+set}" = set; then
 
15740
if test "${enable_rdev+set}" = set; then :
19747
15741
  enableval=$enable_rdev;
19748
15742
else
19749
15743
  enable_rdev=no
19761
15755
 
19762
15756
 
19763
15757
# Check whether --enable-rename was given.
19764
 
if test "${enable_rename+set}" = set; then
 
15758
if test "${enable_rename+set}" = set; then :
19765
15759
  enableval=$enable_rename;
19766
15760
else
19767
15761
  enable_rename=yes
19779
15773
 
19780
15774
 
19781
15775
# Check whether --enable-reset was given.
19782
 
if test "${enable_reset+set}" = set; then
 
15776
if test "${enable_reset+set}" = set; then :
19783
15777
  enableval=$enable_reset;
19784
15778
else
19785
15779
  enable_reset=no
19797
15791
 
19798
15792
 
19799
15793
# Check whether --enable-login-utils was given.
19800
 
if test "${enable_login_utils+set}" = set; then
 
15794
if test "${enable_login_utils+set}" = set; then :
19801
15795
  enableval=$enable_login_utils;
19802
15796
else
19803
15797
  enable_login_utils=no
19815
15809
 
19816
15810
 
19817
15811
# Check whether --with-pam was given.
19818
 
if test "${with_pam+set}" = set; then
 
15812
if test "${with_pam+set}" = set; then :
19819
15813
  withval=$with_pam;
19820
15814
fi
19821
15815
 
19829
15823
fi
19830
15824
 
19831
15825
if test "x$enable_login_utils" = xyes && test "x$with_pam" != xno; then
19832
 
 
19833
 
for ac_header in security/pam_misc.h
19834
 
do
19835
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19836
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19837
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19838
 
$as_echo_n "checking for $ac_header... " >&6; }
19839
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19840
 
  $as_echo_n "(cached) " >&6
19841
 
fi
19842
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19843
 
                 $as_echo "$as_val"'`
19844
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19845
 
$as_echo "$ac_res" >&6; }
19846
 
else
19847
 
  # Is the header compilable?
19848
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19849
 
$as_echo_n "checking $ac_header usability... " >&6; }
19850
 
cat >conftest.$ac_ext <<_ACEOF
19851
 
/* confdefs.h.  */
19852
 
_ACEOF
19853
 
cat confdefs.h >>conftest.$ac_ext
19854
 
cat >>conftest.$ac_ext <<_ACEOF
19855
 
/* end confdefs.h.  */
19856
 
$ac_includes_default
19857
 
#include <$ac_header>
19858
 
_ACEOF
19859
 
rm -f conftest.$ac_objext
19860
 
if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19868
 
  ac_status=$?
19869
 
  grep -v '^ *+' conftest.er1 >conftest.err
19870
 
  rm -f conftest.er1
19871
 
  cat conftest.err >&5
19872
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873
 
  (exit $ac_status); } && {
19874
 
         test -z "$ac_c_werror_flag" ||
19875
 
         test ! -s conftest.err
19876
 
       } && test -s conftest.$ac_objext; then
19877
 
  ac_header_compiler=yes
19878
 
else
19879
 
  $as_echo "$as_me: failed program was:" >&5
19880
 
sed 's/^/| /' conftest.$ac_ext >&5
19881
 
 
19882
 
        ac_header_compiler=no
19883
 
fi
19884
 
 
19885
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19887
 
$as_echo "$ac_header_compiler" >&6; }
19888
 
 
19889
 
# Is the header present?
19890
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19891
 
$as_echo_n "checking $ac_header presence... " >&6; }
19892
 
cat >conftest.$ac_ext <<_ACEOF
19893
 
/* confdefs.h.  */
19894
 
_ACEOF
19895
 
cat confdefs.h >>conftest.$ac_ext
19896
 
cat >>conftest.$ac_ext <<_ACEOF
19897
 
/* end confdefs.h.  */
19898
 
#include <$ac_header>
19899
 
_ACEOF
19900
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19901
 
case "(($ac_try" in
19902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19903
 
  *) ac_try_echo=$ac_try;;
19904
 
esac
19905
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19906
 
$as_echo "$ac_try_echo") >&5
19907
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19908
 
  ac_status=$?
19909
 
  grep -v '^ *+' conftest.er1 >conftest.err
19910
 
  rm -f conftest.er1
19911
 
  cat conftest.err >&5
19912
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913
 
  (exit $ac_status); } >/dev/null && {
19914
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19915
 
         test ! -s conftest.err
19916
 
       }; then
19917
 
  ac_header_preproc=yes
19918
 
else
19919
 
  $as_echo "$as_me: failed program was:" >&5
19920
 
sed 's/^/| /' conftest.$ac_ext >&5
19921
 
 
19922
 
  ac_header_preproc=no
19923
 
fi
19924
 
 
19925
 
rm -f conftest.err conftest.$ac_ext
19926
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19927
 
$as_echo "$ac_header_preproc" >&6; }
19928
 
 
19929
 
# So?  What about this header?
19930
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19931
 
  yes:no: )
19932
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19933
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19934
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19935
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19936
 
    ac_header_preproc=yes
19937
 
    ;;
19938
 
  no:yes:* )
19939
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19940
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19941
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19942
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19943
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19944
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19945
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19946
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19947
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19948
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19949
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19950
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19951
 
    ( cat <<\_ASBOX
19952
 
## ------------------------------ ##
19953
 
## Report this to kzak@redhat.com ##
19954
 
## ------------------------------ ##
19955
 
_ASBOX
19956
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19957
 
    ;;
19958
 
esac
19959
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19960
 
$as_echo_n "checking for $ac_header... " >&6; }
19961
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19962
 
  $as_echo_n "(cached) " >&6
19963
 
else
19964
 
  eval "$as_ac_Header=\$ac_header_preproc"
19965
 
fi
19966
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19967
 
                 $as_echo "$as_val"'`
19968
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19969
 
$as_echo "$ac_res" >&6; }
19970
 
 
19971
 
fi
19972
 
as_val=`eval 'as_val=${'$as_ac_Header'}
19973
 
                 $as_echo "$as_val"'`
19974
 
   if test "x$as_val" = x""yes; then
 
15826
  for ac_header in security/pam_misc.h
 
15827
do :
 
15828
  ac_fn_c_check_header_mongrel "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "$ac_includes_default"
 
15829
if test "x$ac_cv_header_security_pam_misc_h" = x""yes; then :
19975
15830
  cat >>confdefs.h <<_ACEOF
19976
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15831
#define HAVE_SECURITY_PAM_MISC_H 1
19977
15832
_ACEOF
19978
15833
  if true; then
19979
15834
  HAVE_PAM_TRUE=
19985
15840
 
19986
15841
else
19987
15842
  if test "x$with_pam" = xyes; then
19988
 
        { { $as_echo "$as_me:$LINENO: error: PAM selected but security/pam_misc.h not found" >&5
19989
 
$as_echo "$as_me: error: PAM selected but security/pam_misc.h not found" >&2;}
19990
 
   { (exit 1); exit 1; }; }
 
15843
        as_fn_error "PAM selected but security/pam_misc.h not found" "$LINENO" 5
19991
15844
     fi
19992
15845
 
19993
15846
fi
19998
15851
 
19999
15852
 
20000
15853
# Check whether --with-selinux was given.
20001
 
if test "${with_selinux+set}" = set; then
 
15854
if test "${with_selinux+set}" = set; then :
20002
15855
  withval=$with_selinux;
20003
15856
else
20004
15857
  with_selinux=no
20019
15872
 
20020
15873
 
20021
15874
  have_selinux=yes
20022
 
 
20023
 
{ $as_echo "$as_me:$LINENO: checking for getprevcon in -lselinux" >&5
 
15875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getprevcon in -lselinux" >&5
20024
15876
$as_echo_n "checking for getprevcon in -lselinux... " >&6; }
20025
 
if test "${ac_cv_lib_selinux_getprevcon+set}" = set; then
 
15877
if test "${ac_cv_lib_selinux_getprevcon+set}" = set; then :
20026
15878
  $as_echo_n "(cached) " >&6
20027
15879
else
20028
15880
  ac_check_lib_save_LIBS=$LIBS
20029
15881
LIBS="-lselinux  $LIBS"
20030
 
cat >conftest.$ac_ext <<_ACEOF
20031
 
/* confdefs.h.  */
20032
 
_ACEOF
20033
 
cat confdefs.h >>conftest.$ac_ext
20034
 
cat >>conftest.$ac_ext <<_ACEOF
 
15882
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035
15883
/* end confdefs.h.  */
20036
15884
 
20037
15885
/* Override any GCC internal prototype to avoid an error.
20049
15897
  return 0;
20050
15898
}
20051
15899
_ACEOF
20052
 
rm -f conftest.$ac_objext conftest$ac_exeext
20053
 
if { (ac_try="$ac_link"
20054
 
case "(($ac_try" in
20055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20056
 
  *) ac_try_echo=$ac_try;;
20057
 
esac
20058
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20059
 
$as_echo "$ac_try_echo") >&5
20060
 
  (eval "$ac_link") 2>conftest.er1
20061
 
  ac_status=$?
20062
 
  grep -v '^ *+' conftest.er1 >conftest.err
20063
 
  rm -f conftest.er1
20064
 
  cat conftest.err >&5
20065
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066
 
  (exit $ac_status); } && {
20067
 
         test -z "$ac_c_werror_flag" ||
20068
 
         test ! -s conftest.err
20069
 
       } && test -s conftest$ac_exeext && {
20070
 
         test "$cross_compiling" = yes ||
20071
 
         $as_test_x conftest$ac_exeext
20072
 
       }; then
 
15900
if ac_fn_c_try_link "$LINENO"; then :
20073
15901
  ac_cv_lib_selinux_getprevcon=yes
20074
15902
else
20075
 
  $as_echo "$as_me: failed program was:" >&5
20076
 
sed 's/^/| /' conftest.$ac_ext >&5
20077
 
 
20078
 
        ac_cv_lib_selinux_getprevcon=no
 
15903
  ac_cv_lib_selinux_getprevcon=no
20079
15904
fi
20080
 
 
20081
 
rm -rf conftest.dSYM
20082
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20083
 
      conftest$ac_exeext conftest.$ac_ext
 
15905
rm -f core conftest.err conftest.$ac_objext \
 
15906
    conftest$ac_exeext conftest.$ac_ext
20084
15907
LIBS=$ac_check_lib_save_LIBS
20085
15908
fi
20086
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_getprevcon" >&5
 
15909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_getprevcon" >&5
20087
15910
$as_echo "$ac_cv_lib_selinux_getprevcon" >&6; }
20088
 
if test "x$ac_cv_lib_selinux_getprevcon" = x""yes; then
 
15911
if test "x$ac_cv_lib_selinux_getprevcon" = x""yes; then :
20089
15912
  cat >>confdefs.h <<_ACEOF
20090
15913
#define HAVE_LIBSELINUX 1
20091
15914
_ACEOF
20106
15929
 
20107
15930
 
20108
15931
  case "$with_selinux:$have_selinux" in
20109
 
  yes:no) { { $as_echo "$as_me:$LINENO: error: SELinux selected but libselinux not found" >&5
20110
 
$as_echo "$as_me: error: SELinux selected but libselinux not found" >&2;}
20111
 
   { (exit 1); exit 1; }; };;
 
15932
  yes:no) as_fn_error "SELinux selected but libselinux not found" "$LINENO" 5;;
20112
15933
  esac
20113
15934
fi
20114
15935
 
20118
15939
  old_LDFLAGS="$LDFLAGS"
20119
15940
  LDFLAGS="$LDFLAGS $SELINUX_LIBS"
20120
15941
  # This function is missing in old libselinux 1.xx versions
20121
 
 
20122
 
for ac_func in security_get_initial_context
20123
 
do
20124
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20125
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20126
 
$as_echo_n "checking for $ac_func... " >&6; }
20127
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20128
 
  $as_echo_n "(cached) " >&6
20129
 
else
20130
 
  cat >conftest.$ac_ext <<_ACEOF
20131
 
/* confdefs.h.  */
20132
 
_ACEOF
20133
 
cat confdefs.h >>conftest.$ac_ext
20134
 
cat >>conftest.$ac_ext <<_ACEOF
20135
 
/* end confdefs.h.  */
20136
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20137
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20138
 
#define $ac_func innocuous_$ac_func
20139
 
 
20140
 
/* System header to define __stub macros and hopefully few prototypes,
20141
 
    which can conflict with char $ac_func (); below.
20142
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20143
 
    <limits.h> exists even on freestanding compilers.  */
20144
 
 
20145
 
#ifdef __STDC__
20146
 
# include <limits.h>
20147
 
#else
20148
 
# include <assert.h>
20149
 
#endif
20150
 
 
20151
 
#undef $ac_func
20152
 
 
20153
 
/* Override any GCC internal prototype to avoid an error.
20154
 
   Use char because int might match the return type of a GCC
20155
 
   builtin and then its argument prototype would still apply.  */
20156
 
#ifdef __cplusplus
20157
 
extern "C"
20158
 
#endif
20159
 
char $ac_func ();
20160
 
/* The GNU C library defines this for functions which it implements
20161
 
    to always fail with ENOSYS.  Some functions are actually named
20162
 
    something starting with __ and the normal name is an alias.  */
20163
 
#if defined __stub_$ac_func || defined __stub___$ac_func
20164
 
choke me
20165
 
#endif
20166
 
 
20167
 
int
20168
 
main ()
20169
 
{
20170
 
return $ac_func ();
20171
 
  ;
20172
 
  return 0;
20173
 
}
20174
 
_ACEOF
20175
 
rm -f conftest.$ac_objext conftest$ac_exeext
20176
 
if { (ac_try="$ac_link"
20177
 
case "(($ac_try" in
20178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20179
 
  *) ac_try_echo=$ac_try;;
20180
 
esac
20181
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20182
 
$as_echo "$ac_try_echo") >&5
20183
 
  (eval "$ac_link") 2>conftest.er1
20184
 
  ac_status=$?
20185
 
  grep -v '^ *+' conftest.er1 >conftest.err
20186
 
  rm -f conftest.er1
20187
 
  cat conftest.err >&5
20188
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189
 
  (exit $ac_status); } && {
20190
 
         test -z "$ac_c_werror_flag" ||
20191
 
         test ! -s conftest.err
20192
 
       } && test -s conftest$ac_exeext && {
20193
 
         test "$cross_compiling" = yes ||
20194
 
         $as_test_x conftest$ac_exeext
20195
 
       }; then
20196
 
  eval "$as_ac_var=yes"
20197
 
else
20198
 
  $as_echo "$as_me: failed program was:" >&5
20199
 
sed 's/^/| /' conftest.$ac_ext >&5
20200
 
 
20201
 
        eval "$as_ac_var=no"
20202
 
fi
20203
 
 
20204
 
rm -rf conftest.dSYM
20205
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20206
 
      conftest$ac_exeext conftest.$ac_ext
20207
 
fi
20208
 
ac_res=`eval 'as_val=${'$as_ac_var'}
20209
 
                 $as_echo "$as_val"'`
20210
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20211
 
$as_echo "$ac_res" >&6; }
20212
 
as_val=`eval 'as_val=${'$as_ac_var'}
20213
 
                 $as_echo "$as_val"'`
20214
 
   if test "x$as_val" = x""yes; then
 
15942
  for ac_func in security_get_initial_context
 
15943
do :
 
15944
  ac_fn_c_check_func "$LINENO" "security_get_initial_context" "ac_cv_func_security_get_initial_context"
 
15945
if test "x$ac_cv_func_security_get_initial_context" = x""yes; then :
20215
15946
  cat >>confdefs.h <<_ACEOF
20216
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
15947
#define HAVE_SECURITY_GET_INITIAL_CONTEXT 1
20217
15948
_ACEOF
20218
15949
 
20219
15950
fi
20226
15957
 
20227
15958
 
20228
15959
# Check whether --with-audit was given.
20229
 
if test "${with_audit+set}" = set; then
 
15960
if test "${with_audit+set}" = set; then :
20230
15961
  withval=$with_audit;
20231
15962
else
20232
15963
  with_audit=no
20247
15978
 
20248
15979
 
20249
15980
  have_audit=yes
20250
 
 
20251
 
{ $as_echo "$as_me:$LINENO: checking for audit_log_user_message in -laudit" >&5
 
15981
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_message in -laudit" >&5
20252
15982
$as_echo_n "checking for audit_log_user_message in -laudit... " >&6; }
20253
 
if test "${ac_cv_lib_audit_audit_log_user_message+set}" = set; then
 
15983
if test "${ac_cv_lib_audit_audit_log_user_message+set}" = set; then :
20254
15984
  $as_echo_n "(cached) " >&6
20255
15985
else
20256
15986
  ac_check_lib_save_LIBS=$LIBS
20257
15987
LIBS="-laudit  $LIBS"
20258
 
cat >conftest.$ac_ext <<_ACEOF
20259
 
/* confdefs.h.  */
20260
 
_ACEOF
20261
 
cat confdefs.h >>conftest.$ac_ext
20262
 
cat >>conftest.$ac_ext <<_ACEOF
 
15988
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263
15989
/* end confdefs.h.  */
20264
15990
 
20265
15991
/* Override any GCC internal prototype to avoid an error.
20277
16003
  return 0;
20278
16004
}
20279
16005
_ACEOF
20280
 
rm -f conftest.$ac_objext conftest$ac_exeext
20281
 
if { (ac_try="$ac_link"
20282
 
case "(($ac_try" in
20283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284
 
  *) ac_try_echo=$ac_try;;
20285
 
esac
20286
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20287
 
$as_echo "$ac_try_echo") >&5
20288
 
  (eval "$ac_link") 2>conftest.er1
20289
 
  ac_status=$?
20290
 
  grep -v '^ *+' conftest.er1 >conftest.err
20291
 
  rm -f conftest.er1
20292
 
  cat conftest.err >&5
20293
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294
 
  (exit $ac_status); } && {
20295
 
         test -z "$ac_c_werror_flag" ||
20296
 
         test ! -s conftest.err
20297
 
       } && test -s conftest$ac_exeext && {
20298
 
         test "$cross_compiling" = yes ||
20299
 
         $as_test_x conftest$ac_exeext
20300
 
       }; then
 
16006
if ac_fn_c_try_link "$LINENO"; then :
20301
16007
  ac_cv_lib_audit_audit_log_user_message=yes
20302
16008
else
20303
 
  $as_echo "$as_me: failed program was:" >&5
20304
 
sed 's/^/| /' conftest.$ac_ext >&5
20305
 
 
20306
 
        ac_cv_lib_audit_audit_log_user_message=no
 
16009
  ac_cv_lib_audit_audit_log_user_message=no
20307
16010
fi
20308
 
 
20309
 
rm -rf conftest.dSYM
20310
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20311
 
      conftest$ac_exeext conftest.$ac_ext
 
16011
rm -f core conftest.err conftest.$ac_objext \
 
16012
    conftest$ac_exeext conftest.$ac_ext
20312
16013
LIBS=$ac_check_lib_save_LIBS
20313
16014
fi
20314
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_log_user_message" >&5
 
16015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_message" >&5
20315
16016
$as_echo "$ac_cv_lib_audit_audit_log_user_message" >&6; }
20316
 
if test "x$ac_cv_lib_audit_audit_log_user_message" = x""yes; then
 
16017
if test "x$ac_cv_lib_audit_audit_log_user_message" = x""yes; then :
20317
16018
  cat >>confdefs.h <<_ACEOF
20318
16019
#define HAVE_LIBAUDIT 1
20319
16020
_ACEOF
20335
16036
 
20336
16037
  case "$with_audit:$have_audit" in
20337
16038
  yes:no)
20338
 
   { { $as_echo "$as_me:$LINENO: error: Audit selected but libaudit not found (or doesn't support audit_log_user_message())" >&5
20339
 
$as_echo "$as_me: error: Audit selected but libaudit not found (or doesn't support audit_log_user_message())" >&2;}
20340
 
   { (exit 1); exit 1; }; }
 
16039
   as_fn_error "Audit selected but libaudit not found (or doesn't support audit_log_user_message())" "$LINENO" 5
20341
16040
   ;;
20342
16041
  esac
20343
16042
fi
20344
16043
 
20345
16044
# Check whether --enable-schedutils was given.
20346
 
if test "${enable_schedutils+set}" = set; then
 
16045
if test "${enable_schedutils+set}" = set; then :
20347
16046
  enableval=$enable_schedutils;
20348
16047
else
20349
16048
  enable_schedutils=yes
20361
16060
 
20362
16061
 
20363
16062
# Check whether --enable-wall was given.
20364
 
if test "${enable_wall+set}" = set; then
 
16063
if test "${enable_wall+set}" = set; then :
20365
16064
  enableval=$enable_wall;
20366
16065
else
20367
16066
  enable_wall=yes
20379
16078
 
20380
16079
 
20381
16080
# Check whether --enable-write was given.
20382
 
if test "${enable_write+set}" = set; then
 
16081
if test "${enable_write+set}" = set; then :
20383
16082
  enableval=$enable_write;
20384
16083
else
20385
16084
  enable_write=no
20397
16096
 
20398
16097
 
20399
16098
# Check whether --enable-chsh-only-listed was given.
20400
 
if test "${enable_chsh_only_listed+set}" = set; then
 
16099
if test "${enable_chsh_only_listed+set}" = set; then :
20401
16100
  enableval=$enable_chsh_only_listed;
20402
16101
else
20403
16102
  enable_chsh_only_listed=yes
20407
16106
 
20408
16107
if test "x$enable_chsh_only_listed" = xyes; then
20409
16108
 
20410
 
cat >>confdefs.h <<\_ACEOF
20411
 
#define ONLY_LISTED_SHELLS 1
20412
 
_ACEOF
 
16109
$as_echo "#define ONLY_LISTED_SHELLS 1" >>confdefs.h
20413
16110
 
20414
16111
fi
20415
16112
 
20416
16113
 
20417
16114
# Check whether --enable-login-chown-vcs was given.
20418
 
if test "${enable_login_chown_vcs+set}" = set; then
 
16115
if test "${enable_login_chown_vcs+set}" = set; then :
20419
16116
  enableval=$enable_login_chown_vcs;
20420
16117
else
20421
16118
  enable_login_chown_vcs=no
20425
16122
 
20426
16123
if test "x$enable_login_chown_vcs" = xyes; then
20427
16124
 
20428
 
cat >>confdefs.h <<\_ACEOF
20429
 
#define LOGIN_CHOWN_VCS 1
20430
 
_ACEOF
 
16125
$as_echo "#define LOGIN_CHOWN_VCS 1" >>confdefs.h
20431
16126
 
20432
16127
fi
20433
16128
 
20434
16129
 
20435
16130
# Check whether --enable-login-stat-mail was given.
20436
 
if test "${enable_login_stat_mail+set}" = set; then
 
16131
if test "${enable_login_stat_mail+set}" = set; then :
20437
16132
  enableval=$enable_login_stat_mail;
20438
16133
else
20439
16134
  enable_login_stat_mail=no
20443
16138
 
20444
16139
if test "x$enable_login_stat_mail" = xyes; then
20445
16140
 
20446
 
cat >>confdefs.h <<\_ACEOF
20447
 
#define LOGIN_STAT_MAIL 1
20448
 
_ACEOF
 
16141
$as_echo "#define LOGIN_STAT_MAIL 1" >>confdefs.h
20449
16142
 
20450
16143
fi
20451
16144
 
20452
16145
 
20453
16146
# Check whether --enable-pg-bell was given.
20454
 
if test "${enable_pg_bell+set}" = set; then
 
16147
if test "${enable_pg_bell+set}" = set; then :
20455
16148
  enableval=$enable_pg_bell;
20456
16149
else
20457
16150
  enable_pg_bell=yes
20461
16154
 
20462
16155
if test "x$enable_pg_bell" = xyes; then
20463
16156
 
20464
 
cat >>confdefs.h <<\_ACEOF
20465
 
#define PG_BELL 1
20466
 
_ACEOF
 
16157
$as_echo "#define PG_BELL 1" >>confdefs.h
20467
16158
 
20468
16159
fi
20469
16160
 
20470
16161
 
20471
16162
# Check whether --enable-require-password was given.
20472
 
if test "${enable_require_password+set}" = set; then
 
16163
if test "${enable_require_password+set}" = set; then :
20473
16164
  enableval=$enable_require_password;
20474
16165
else
20475
16166
  enable_require_password=yes
20479
16170
 
20480
16171
if test "x$enable_require_password" = xyes; then
20481
16172
 
20482
 
cat >>confdefs.h <<\_ACEOF
20483
 
#define REQUIRE_PASSWORD 1
20484
 
_ACEOF
 
16173
$as_echo "#define REQUIRE_PASSWORD 1" >>confdefs.h
20485
16174
 
20486
16175
fi
20487
16176
 
20488
16177
 
20489
16178
# Check whether --enable-use-tty-group was given.
20490
 
if test "${enable_use_tty_group+set}" = set; then
 
16179
if test "${enable_use_tty_group+set}" = set; then :
20491
16180
  enableval=$enable_use_tty_group;
20492
16181
else
20493
16182
  enable_use_tty_group=yes
20505
16194
 
20506
16195
if test "x$enable_use_tty_group" = xyes; then
20507
16196
 
20508
 
cat >>confdefs.h <<\_ACEOF
20509
 
#define USE_TTY_GROUP 1
20510
 
_ACEOF
 
16197
$as_echo "#define USE_TTY_GROUP 1" >>confdefs.h
20511
16198
 
20512
16199
fi
20513
16200
 
20514
16201
# Check whether --enable-makeinstall-chown was given.
20515
 
if test "${enable_makeinstall_chown+set}" = set; then
 
16202
if test "${enable_makeinstall_chown+set}" = set; then :
20516
16203
  enableval=$enable_makeinstall_chown;
20517
16204
else
20518
16205
  enable_makeinstall_chown=yes
20569
16256
    case $ac_val in #(
20570
16257
    *${as_nl}*)
20571
16258
      case $ac_var in #(
20572
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
16259
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20573
16260
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20574
16261
      esac
20575
16262
      case $ac_var in #(
20576
16263
      _ | IFS | as_nl) ;; #(
20577
16264
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20578
 
      *) $as_unset $ac_var ;;
 
16265
      *) { eval $ac_var=; unset $ac_var;} ;;
20579
16266
      esac ;;
20580
16267
    esac
20581
16268
  done
20583
16270
  (set) 2>&1 |
20584
16271
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20585
16272
    *${as_nl}ac_space=\ *)
20586
 
      # `set' does not quote correctly, so add quotes (double-quote
20587
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
16273
      # `set' does not quote correctly, so add quotes: double-quote
 
16274
      # substitution turns \\\\ into \\, and sed turns \\ into \.
20588
16275
      sed -n \
20589
16276
        "s/'/'\\\\''/g;
20590
16277
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20607
16294
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20608
16295
  if test -w "$cache_file"; then
20609
16296
    test "x$cache_file" != "x/dev/null" &&
20610
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
16297
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20611
16298
$as_echo "$as_me: updating cache $cache_file" >&6;}
20612
16299
    cat confcache >$cache_file
20613
16300
  else
20614
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
16301
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20615
16302
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20616
16303
  fi
20617
16304
fi
20631
16318
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20632
16319
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20633
16320
  #    will be set to the directory where LIBOBJS objects are built.
20634
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20635
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
16321
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
16322
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20636
16323
done
20637
16324
LIBOBJS=$ac_libobjs
20638
16325
 
20639
16326
LTLIBOBJS=$ac_ltlibobjs
20640
16327
 
20641
16328
 
 
16329
 if test -n "$EXEEXT"; then
 
16330
  am__EXEEXT_TRUE=
 
16331
  am__EXEEXT_FALSE='#'
 
16332
else
 
16333
  am__EXEEXT_TRUE='#'
 
16334
  am__EXEEXT_FALSE=
 
16335
fi
 
16336
 
20642
16337
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20643
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20644
 
Usually this means the macro was only invoked conditionally." >&5
20645
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20646
 
Usually this means the macro was only invoked conditionally." >&2;}
20647
 
   { (exit 1); exit 1; }; }
 
16338
  as_fn_error "conditional \"AMDEP\" was never defined.
 
16339
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20648
16340
fi
20649
16341
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20650
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20651
 
Usually this means the macro was only invoked conditionally." >&5
20652
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20653
 
Usually this means the macro was only invoked conditionally." >&2;}
20654
 
   { (exit 1); exit 1; }; }
 
16342
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
16343
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20655
16344
fi
20656
16345
 
20657
16346
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
20658
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
20659
 
Usually this means the macro was only invoked conditionally." >&5
20660
 
$as_echo "$as_me: error: conditional \"LINUX\" was never defined.
20661
 
Usually this means the macro was only invoked conditionally." >&2;}
20662
 
   { (exit 1); exit 1; }; }
20663
 
fi
20664
 
if test -z "${HAVE_RAW_TRUE}" && test -z "${HAVE_RAW_FALSE}"; then
20665
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_RAW\" was never defined.
20666
 
Usually this means the macro was only invoked conditionally." >&5
20667
 
$as_echo "$as_me: error: conditional \"HAVE_RAW\" was never defined.
20668
 
Usually this means the macro was only invoked conditionally." >&2;}
20669
 
   { (exit 1); exit 1; }; }
20670
 
fi
20671
 
if test -z "${HAVE_RAW_TRUE}" && test -z "${HAVE_RAW_FALSE}"; then
20672
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_RAW\" was never defined.
20673
 
Usually this means the macro was only invoked conditionally." >&5
20674
 
$as_echo "$as_me: error: conditional \"HAVE_RAW\" was never defined.
20675
 
Usually this means the macro was only invoked conditionally." >&2;}
20676
 
   { (exit 1); exit 1; }; }
 
16347
  as_fn_error "conditional \"LINUX\" was never defined.
 
16348
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16349
fi
 
16350
if test -z "${HAVE_RAW_TRUE}" && test -z "${HAVE_RAW_FALSE}"; then
 
16351
  as_fn_error "conditional \"HAVE_RAW\" was never defined.
 
16352
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16353
fi
 
16354
if test -z "${HAVE_RAW_TRUE}" && test -z "${HAVE_RAW_FALSE}"; then
 
16355
  as_fn_error "conditional \"HAVE_RAW\" was never defined.
 
16356
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20677
16357
fi
20678
16358
if test -z "${HAVE_STATIC_LOSETUP_TRUE}" && test -z "${HAVE_STATIC_LOSETUP_FALSE}"; then
20679
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_STATIC_LOSETUP\" was never defined.
20680
 
Usually this means the macro was only invoked conditionally." >&5
20681
 
$as_echo "$as_me: error: conditional \"HAVE_STATIC_LOSETUP\" was never defined.
20682
 
Usually this means the macro was only invoked conditionally." >&2;}
20683
 
   { (exit 1); exit 1; }; }
 
16359
  as_fn_error "conditional \"HAVE_STATIC_LOSETUP\" was never defined.
 
16360
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20684
16361
fi
20685
16362
if test -z "${HAVE_STATIC_MOUNT_TRUE}" && test -z "${HAVE_STATIC_MOUNT_FALSE}"; then
20686
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_STATIC_MOUNT\" was never defined.
20687
 
Usually this means the macro was only invoked conditionally." >&5
20688
 
$as_echo "$as_me: error: conditional \"HAVE_STATIC_MOUNT\" was never defined.
20689
 
Usually this means the macro was only invoked conditionally." >&2;}
20690
 
   { (exit 1); exit 1; }; }
 
16363
  as_fn_error "conditional \"HAVE_STATIC_MOUNT\" was never defined.
 
16364
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20691
16365
fi
20692
16366
if test -z "${HAVE_STATIC_UMOUNT_TRUE}" && test -z "${HAVE_STATIC_UMOUNT_FALSE}"; then
20693
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_STATIC_UMOUNT\" was never defined.
20694
 
Usually this means the macro was only invoked conditionally." >&5
20695
 
$as_echo "$as_me: error: conditional \"HAVE_STATIC_UMOUNT\" was never defined.
20696
 
Usually this means the macro was only invoked conditionally." >&2;}
20697
 
   { (exit 1); exit 1; }; }
 
16367
  as_fn_error "conditional \"HAVE_STATIC_UMOUNT\" was never defined.
 
16368
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20698
16369
fi
20699
16370
if test -z "${HAVE_STATIC_FDISK_TRUE}" && test -z "${HAVE_STATIC_FDISK_FALSE}"; then
20700
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_STATIC_FDISK\" was never defined.
20701
 
Usually this means the macro was only invoked conditionally." >&5
20702
 
$as_echo "$as_me: error: conditional \"HAVE_STATIC_FDISK\" was never defined.
20703
 
Usually this means the macro was only invoked conditionally." >&2;}
20704
 
   { (exit 1); exit 1; }; }
 
16371
  as_fn_error "conditional \"HAVE_STATIC_FDISK\" was never defined.
 
16372
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20705
16373
fi
20706
16374
if test -z "${HAVE_STATIC_SFDISK_TRUE}" && test -z "${HAVE_STATIC_SFDISK_FALSE}"; then
20707
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_STATIC_SFDISK\" was never defined.
20708
 
Usually this means the macro was only invoked conditionally." >&5
20709
 
$as_echo "$as_me: error: conditional \"HAVE_STATIC_SFDISK\" was never defined.
20710
 
Usually this means the macro was only invoked conditionally." >&2;}
20711
 
   { (exit 1); exit 1; }; }
 
16375
  as_fn_error "conditional \"HAVE_STATIC_SFDISK\" was never defined.
 
16376
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20712
16377
fi
20713
16378
if test -z "${HAVE_STATIC_BLKID_TRUE}" && test -z "${HAVE_STATIC_BLKID_FALSE}"; then
20714
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_STATIC_BLKID\" was never defined.
20715
 
Usually this means the macro was only invoked conditionally." >&5
20716
 
$as_echo "$as_me: error: conditional \"HAVE_STATIC_BLKID\" was never defined.
20717
 
Usually this means the macro was only invoked conditionally." >&2;}
20718
 
   { (exit 1); exit 1; }; }
 
16379
  as_fn_error "conditional \"HAVE_STATIC_BLKID\" was never defined.
 
16380
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20719
16381
fi
20720
16382
if test -z "${BUILD_MOUNT_TRUE}" && test -z "${BUILD_MOUNT_FALSE}"; then
20721
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_MOUNT\" was never defined.
20722
 
Usually this means the macro was only invoked conditionally." >&5
20723
 
$as_echo "$as_me: error: conditional \"BUILD_MOUNT\" was never defined.
20724
 
Usually this means the macro was only invoked conditionally." >&2;}
20725
 
   { (exit 1); exit 1; }; }
 
16383
  as_fn_error "conditional \"BUILD_MOUNT\" was never defined.
 
16384
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20726
16385
fi
20727
16386
if test -z "${BUILD_FSCK_TRUE}" && test -z "${BUILD_FSCK_FALSE}"; then
20728
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_FSCK\" was never defined.
20729
 
Usually this means the macro was only invoked conditionally." >&5
20730
 
$as_echo "$as_me: error: conditional \"BUILD_FSCK\" was never defined.
20731
 
Usually this means the macro was only invoked conditionally." >&2;}
20732
 
   { (exit 1); exit 1; }; }
 
16387
  as_fn_error "conditional \"BUILD_FSCK\" was never defined.
 
16388
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20733
16389
fi
20734
16390
if test -z "${BUILD_LIBUUID_TRUE}" && test -z "${BUILD_LIBUUID_FALSE}"; then
20735
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBUUID\" was never defined.
20736
 
Usually this means the macro was only invoked conditionally." >&5
20737
 
$as_echo "$as_me: error: conditional \"BUILD_LIBUUID\" was never defined.
20738
 
Usually this means the macro was only invoked conditionally." >&2;}
20739
 
   { (exit 1); exit 1; }; }
 
16391
  as_fn_error "conditional \"BUILD_LIBUUID\" was never defined.
 
16392
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20740
16393
fi
20741
16394
if test -z "${HAVE_UUID_TRUE}" && test -z "${HAVE_UUID_FALSE}"; then
20742
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_UUID\" was never defined.
20743
 
Usually this means the macro was only invoked conditionally." >&5
20744
 
$as_echo "$as_me: error: conditional \"HAVE_UUID\" was never defined.
20745
 
Usually this means the macro was only invoked conditionally." >&2;}
20746
 
   { (exit 1); exit 1; }; }
 
16395
  as_fn_error "conditional \"HAVE_UUID\" was never defined.
 
16396
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20747
16397
fi
20748
16398
if test -z "${BUILD_UUIDD_TRUE}" && test -z "${BUILD_UUIDD_FALSE}"; then
20749
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_UUIDD\" was never defined.
20750
 
Usually this means the macro was only invoked conditionally." >&5
20751
 
$as_echo "$as_me: error: conditional \"BUILD_UUIDD\" was never defined.
20752
 
Usually this means the macro was only invoked conditionally." >&2;}
20753
 
   { (exit 1); exit 1; }; }
 
16399
  as_fn_error "conditional \"BUILD_UUIDD\" was never defined.
 
16400
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20754
16401
fi
20755
16402
if test -z "${BUILD_LIBBLKID_TRUE}" && test -z "${BUILD_LIBBLKID_FALSE}"; then
20756
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBBLKID\" was never defined.
20757
 
Usually this means the macro was only invoked conditionally." >&5
20758
 
$as_echo "$as_me: error: conditional \"BUILD_LIBBLKID\" was never defined.
20759
 
Usually this means the macro was only invoked conditionally." >&2;}
20760
 
   { (exit 1); exit 1; }; }
 
16403
  as_fn_error "conditional \"BUILD_LIBBLKID\" was never defined.
 
16404
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20761
16405
fi
20762
16406
if test -z "${HAVE_BLKID_TRUE}" && test -z "${HAVE_BLKID_FALSE}"; then
20763
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_BLKID\" was never defined.
20764
 
Usually this means the macro was only invoked conditionally." >&5
20765
 
$as_echo "$as_me: error: conditional \"HAVE_BLKID\" was never defined.
20766
 
Usually this means the macro was only invoked conditionally." >&2;}
20767
 
   { (exit 1); exit 1; }; }
 
16407
  as_fn_error "conditional \"HAVE_BLKID\" was never defined.
 
16408
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20768
16409
fi
20769
16410
if test -z "${HAVE_UTIL_TRUE}" && test -z "${HAVE_UTIL_FALSE}"; then
20770
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_UTIL\" was never defined.
20771
 
Usually this means the macro was only invoked conditionally." >&5
20772
 
$as_echo "$as_me: error: conditional \"HAVE_UTIL\" was never defined.
20773
 
Usually this means the macro was only invoked conditionally." >&2;}
20774
 
   { (exit 1); exit 1; }; }
 
16411
  as_fn_error "conditional \"HAVE_UTIL\" was never defined.
 
16412
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20775
16413
fi
20776
16414
if test -z "${HAVE_TERMCAP_TRUE}" && test -z "${HAVE_TERMCAP_FALSE}"; then
20777
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_TERMCAP\" was never defined.
20778
 
Usually this means the macro was only invoked conditionally." >&5
20779
 
$as_echo "$as_me: error: conditional \"HAVE_TERMCAP\" was never defined.
20780
 
Usually this means the macro was only invoked conditionally." >&2;}
20781
 
   { (exit 1); exit 1; }; }
20782
 
fi
20783
 
if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
20784
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined.
20785
 
Usually this means the macro was only invoked conditionally." >&5
20786
 
$as_echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined.
20787
 
Usually this means the macro was only invoked conditionally." >&2;}
20788
 
   { (exit 1); exit 1; }; }
20789
 
fi
20790
 
if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
20791
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined.
20792
 
Usually this means the macro was only invoked conditionally." >&5
20793
 
$as_echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined.
20794
 
Usually this means the macro was only invoked conditionally." >&2;}
20795
 
   { (exit 1); exit 1; }; }
20796
 
fi
20797
 
if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
20798
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined.
20799
 
Usually this means the macro was only invoked conditionally." >&5
20800
 
$as_echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined.
20801
 
Usually this means the macro was only invoked conditionally." >&2;}
20802
 
   { (exit 1); exit 1; }; }
 
16415
  as_fn_error "conditional \"HAVE_TERMCAP\" was never defined.
 
16416
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16417
fi
 
16418
if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
 
16419
  as_fn_error "conditional \"HAVE_NCURSES\" was never defined.
 
16420
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16421
fi
 
16422
if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
 
16423
  as_fn_error "conditional \"HAVE_NCURSES\" was never defined.
 
16424
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16425
fi
 
16426
if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
 
16427
  as_fn_error "conditional \"HAVE_NCURSES\" was never defined.
 
16428
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20803
16429
fi
20804
16430
if test -z "${HAVE_TINFO_TRUE}" && test -z "${HAVE_TINFO_FALSE}"; then
20805
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_TINFO\" was never defined.
20806
 
Usually this means the macro was only invoked conditionally." >&5
20807
 
$as_echo "$as_me: error: conditional \"HAVE_TINFO\" was never defined.
20808
 
Usually this means the macro was only invoked conditionally." >&2;}
20809
 
   { (exit 1); exit 1; }; }
 
16431
  as_fn_error "conditional \"HAVE_TINFO\" was never defined.
 
16432
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20810
16433
fi
20811
16434
if test -z "${USE_SLANG_TRUE}" && test -z "${USE_SLANG_FALSE}"; then
20812
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SLANG\" was never defined.
20813
 
Usually this means the macro was only invoked conditionally." >&5
20814
 
$as_echo "$as_me: error: conditional \"USE_SLANG\" was never defined.
20815
 
Usually this means the macro was only invoked conditionally." >&2;}
20816
 
   { (exit 1); exit 1; }; }
 
16435
  as_fn_error "conditional \"USE_SLANG\" was never defined.
 
16436
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20817
16437
fi
20818
16438
if test -z "${NEED_LIBCRYPT_TRUE}" && test -z "${NEED_LIBCRYPT_FALSE}"; then
20819
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"NEED_LIBCRYPT\" was never defined.
20820
 
Usually this means the macro was only invoked conditionally." >&5
20821
 
$as_echo "$as_me: error: conditional \"NEED_LIBCRYPT\" was never defined.
20822
 
Usually this means the macro was only invoked conditionally." >&2;}
20823
 
   { (exit 1); exit 1; }; }
 
16439
  as_fn_error "conditional \"NEED_LIBCRYPT\" was never defined.
 
16440
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20824
16441
fi
20825
16442
if test -z "${HAVE_PIVOT_ROOT_TRUE}" && test -z "${HAVE_PIVOT_ROOT_FALSE}"; then
20826
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_PIVOT_ROOT\" was never defined.
20827
 
Usually this means the macro was only invoked conditionally." >&5
20828
 
$as_echo "$as_me: error: conditional \"HAVE_PIVOT_ROOT\" was never defined.
20829
 
Usually this means the macro was only invoked conditionally." >&2;}
20830
 
   { (exit 1); exit 1; }; }
 
16443
  as_fn_error "conditional \"HAVE_PIVOT_ROOT\" was never defined.
 
16444
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20831
16445
fi
20832
16446
if test -z "${HAVE_SCHED_GETAFFINITY_TRUE}" && test -z "${HAVE_SCHED_GETAFFINITY_FALSE}"; then
20833
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SCHED_GETAFFINITY\" was never defined.
20834
 
Usually this means the macro was only invoked conditionally." >&5
20835
 
$as_echo "$as_me: error: conditional \"HAVE_SCHED_GETAFFINITY\" was never defined.
20836
 
Usually this means the macro was only invoked conditionally." >&2;}
20837
 
   { (exit 1); exit 1; }; }
 
16447
  as_fn_error "conditional \"HAVE_SCHED_GETAFFINITY\" was never defined.
 
16448
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20838
16449
fi
20839
16450
if test -z "${HAVE_IOPRIO_SET_TRUE}" && test -z "${HAVE_IOPRIO_SET_FALSE}"; then
20840
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_IOPRIO_SET\" was never defined.
20841
 
Usually this means the macro was only invoked conditionally." >&5
20842
 
$as_echo "$as_me: error: conditional \"HAVE_IOPRIO_SET\" was never defined.
20843
 
Usually this means the macro was only invoked conditionally." >&2;}
20844
 
   { (exit 1); exit 1; }; }
 
16451
  as_fn_error "conditional \"HAVE_IOPRIO_SET\" was never defined.
 
16452
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20845
16453
fi
20846
16454
if test -z "${HAVE_IOPRIO_GET_TRUE}" && test -z "${HAVE_IOPRIO_GET_FALSE}"; then
20847
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_IOPRIO_GET\" was never defined.
20848
 
Usually this means the macro was only invoked conditionally." >&5
20849
 
$as_echo "$as_me: error: conditional \"HAVE_IOPRIO_GET\" was never defined.
20850
 
Usually this means the macro was only invoked conditionally." >&2;}
20851
 
   { (exit 1); exit 1; }; }
 
16455
  as_fn_error "conditional \"HAVE_IOPRIO_GET\" was never defined.
 
16456
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20852
16457
fi
20853
16458
if test -z "${ARCH_I86_TRUE}" && test -z "${ARCH_I86_FALSE}"; then
20854
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_I86\" was never defined.
20855
 
Usually this means the macro was only invoked conditionally." >&5
20856
 
$as_echo "$as_me: error: conditional \"ARCH_I86\" was never defined.
20857
 
Usually this means the macro was only invoked conditionally." >&2;}
20858
 
   { (exit 1); exit 1; }; }
 
16459
  as_fn_error "conditional \"ARCH_I86\" was never defined.
 
16460
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20859
16461
fi
20860
16462
if test -z "${ARCH_86_64_TRUE}" && test -z "${ARCH_86_64_FALSE}"; then
20861
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_86_64\" was never defined.
20862
 
Usually this means the macro was only invoked conditionally." >&5
20863
 
$as_echo "$as_me: error: conditional \"ARCH_86_64\" was never defined.
20864
 
Usually this means the macro was only invoked conditionally." >&2;}
20865
 
   { (exit 1); exit 1; }; }
 
16463
  as_fn_error "conditional \"ARCH_86_64\" was never defined.
 
16464
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20866
16465
fi
20867
16466
if test -z "${ARCH_IA64_TRUE}" && test -z "${ARCH_IA64_FALSE}"; then
20868
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_IA64\" was never defined.
20869
 
Usually this means the macro was only invoked conditionally." >&5
20870
 
$as_echo "$as_me: error: conditional \"ARCH_IA64\" was never defined.
20871
 
Usually this means the macro was only invoked conditionally." >&2;}
20872
 
   { (exit 1); exit 1; }; }
 
16467
  as_fn_error "conditional \"ARCH_IA64\" was never defined.
 
16468
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20873
16469
fi
20874
16470
if test -z "${ARCH_S390_TRUE}" && test -z "${ARCH_S390_FALSE}"; then
20875
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_S390\" was never defined.
20876
 
Usually this means the macro was only invoked conditionally." >&5
20877
 
$as_echo "$as_me: error: conditional \"ARCH_S390\" was never defined.
20878
 
Usually this means the macro was only invoked conditionally." >&2;}
20879
 
   { (exit 1); exit 1; }; }
 
16471
  as_fn_error "conditional \"ARCH_S390\" was never defined.
 
16472
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20880
16473
fi
20881
16474
if test -z "${ARCH_SPARC_TRUE}" && test -z "${ARCH_SPARC_FALSE}"; then
20882
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_SPARC\" was never defined.
20883
 
Usually this means the macro was only invoked conditionally." >&5
20884
 
$as_echo "$as_me: error: conditional \"ARCH_SPARC\" was never defined.
20885
 
Usually this means the macro was only invoked conditionally." >&2;}
20886
 
   { (exit 1); exit 1; }; }
 
16475
  as_fn_error "conditional \"ARCH_SPARC\" was never defined.
 
16476
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20887
16477
fi
20888
16478
if test -z "${ARCH_PPC_TRUE}" && test -z "${ARCH_PPC_FALSE}"; then
20889
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_PPC\" was never defined.
20890
 
Usually this means the macro was only invoked conditionally." >&5
20891
 
$as_echo "$as_me: error: conditional \"ARCH_PPC\" was never defined.
20892
 
Usually this means the macro was only invoked conditionally." >&2;}
20893
 
   { (exit 1); exit 1; }; }
 
16479
  as_fn_error "conditional \"ARCH_PPC\" was never defined.
 
16480
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20894
16481
fi
20895
16482
if test -z "${ARCH_M68K_TRUE}" && test -z "${ARCH_M68K_FALSE}"; then
20896
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_M68K\" was never defined.
20897
 
Usually this means the macro was only invoked conditionally." >&5
20898
 
$as_echo "$as_me: error: conditional \"ARCH_M68K\" was never defined.
20899
 
Usually this means the macro was only invoked conditionally." >&2;}
20900
 
   { (exit 1); exit 1; }; }
 
16483
  as_fn_error "conditional \"ARCH_M68K\" was never defined.
 
16484
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20901
16485
fi
20902
16486
if test -z "${ARCH_MIPS_TRUE}" && test -z "${ARCH_MIPS_FALSE}"; then
20903
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_MIPS\" was never defined.
20904
 
Usually this means the macro was only invoked conditionally." >&5
20905
 
$as_echo "$as_me: error: conditional \"ARCH_MIPS\" was never defined.
20906
 
Usually this means the macro was only invoked conditionally." >&2;}
20907
 
   { (exit 1); exit 1; }; }
 
16487
  as_fn_error "conditional \"ARCH_MIPS\" was never defined.
 
16488
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20908
16489
fi
20909
16490
if test -z "${ARCH_HPPA_TRUE}" && test -z "${ARCH_HPPA_FALSE}"; then
20910
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_HPPA\" was never defined.
20911
 
Usually this means the macro was only invoked conditionally." >&5
20912
 
$as_echo "$as_me: error: conditional \"ARCH_HPPA\" was never defined.
20913
 
Usually this means the macro was only invoked conditionally." >&2;}
20914
 
   { (exit 1); exit 1; }; }
 
16491
  as_fn_error "conditional \"ARCH_HPPA\" was never defined.
 
16492
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20915
16493
fi
20916
16494
if test -z "${BUILD_ARCH_TRUE}" && test -z "${BUILD_ARCH_FALSE}"; then
20917
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARCH\" was never defined.
20918
 
Usually this means the macro was only invoked conditionally." >&5
20919
 
$as_echo "$as_me: error: conditional \"BUILD_ARCH\" was never defined.
20920
 
Usually this means the macro was only invoked conditionally." >&2;}
20921
 
   { (exit 1); exit 1; }; }
 
16495
  as_fn_error "conditional \"BUILD_ARCH\" was never defined.
 
16496
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20922
16497
fi
20923
16498
if test -z "${BUILD_AGETTY_TRUE}" && test -z "${BUILD_AGETTY_FALSE}"; then
20924
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_AGETTY\" was never defined.
20925
 
Usually this means the macro was only invoked conditionally." >&5
20926
 
$as_echo "$as_me: error: conditional \"BUILD_AGETTY\" was never defined.
20927
 
Usually this means the macro was only invoked conditionally." >&2;}
20928
 
   { (exit 1); exit 1; }; }
 
16499
  as_fn_error "conditional \"BUILD_AGETTY\" was never defined.
 
16500
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20929
16501
fi
20930
16502
if test -z "${BUILD_CRAMFS_TRUE}" && test -z "${BUILD_CRAMFS_FALSE}"; then
20931
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CRAMFS\" was never defined.
20932
 
Usually this means the macro was only invoked conditionally." >&5
20933
 
$as_echo "$as_me: error: conditional \"BUILD_CRAMFS\" was never defined.
20934
 
Usually this means the macro was only invoked conditionally." >&2;}
20935
 
   { (exit 1); exit 1; }; }
 
16503
  as_fn_error "conditional \"BUILD_CRAMFS\" was never defined.
 
16504
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20936
16505
fi
20937
16506
if test -z "${BUILD_SWITCH_ROOT_TRUE}" && test -z "${BUILD_SWITCH_ROOT_FALSE}"; then
20938
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SWITCH_ROOT\" was never defined.
20939
 
Usually this means the macro was only invoked conditionally." >&5
20940
 
$as_echo "$as_me: error: conditional \"BUILD_SWITCH_ROOT\" was never defined.
20941
 
Usually this means the macro was only invoked conditionally." >&2;}
20942
 
   { (exit 1); exit 1; }; }
 
16507
  as_fn_error "conditional \"BUILD_SWITCH_ROOT\" was never defined.
 
16508
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20943
16509
fi
20944
16510
if test -z "${BUILD_ELVTUNE_TRUE}" && test -z "${BUILD_ELVTUNE_FALSE}"; then
20945
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ELVTUNE\" was never defined.
20946
 
Usually this means the macro was only invoked conditionally." >&5
20947
 
$as_echo "$as_me: error: conditional \"BUILD_ELVTUNE\" was never defined.
20948
 
Usually this means the macro was only invoked conditionally." >&2;}
20949
 
   { (exit 1); exit 1; }; }
 
16511
  as_fn_error "conditional \"BUILD_ELVTUNE\" was never defined.
 
16512
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20950
16513
fi
20951
16514
if test -z "${BUILD_INIT_TRUE}" && test -z "${BUILD_INIT_FALSE}"; then
20952
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_INIT\" was never defined.
20953
 
Usually this means the macro was only invoked conditionally." >&5
20954
 
$as_echo "$as_me: error: conditional \"BUILD_INIT\" was never defined.
20955
 
Usually this means the macro was only invoked conditionally." >&2;}
20956
 
   { (exit 1); exit 1; }; }
 
16515
  as_fn_error "conditional \"BUILD_INIT\" was never defined.
 
16516
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20957
16517
fi
20958
16518
if test -z "${BUILD_KILL_TRUE}" && test -z "${BUILD_KILL_FALSE}"; then
20959
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_KILL\" was never defined.
20960
 
Usually this means the macro was only invoked conditionally." >&5
20961
 
$as_echo "$as_me: error: conditional \"BUILD_KILL\" was never defined.
20962
 
Usually this means the macro was only invoked conditionally." >&2;}
20963
 
   { (exit 1); exit 1; }; }
 
16519
  as_fn_error "conditional \"BUILD_KILL\" was never defined.
 
16520
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20964
16521
fi
20965
16522
if test -z "${BUILD_LAST_TRUE}" && test -z "${BUILD_LAST_FALSE}"; then
20966
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LAST\" was never defined.
20967
 
Usually this means the macro was only invoked conditionally." >&5
20968
 
$as_echo "$as_me: error: conditional \"BUILD_LAST\" was never defined.
20969
 
Usually this means the macro was only invoked conditionally." >&2;}
20970
 
   { (exit 1); exit 1; }; }
 
16523
  as_fn_error "conditional \"BUILD_LAST\" was never defined.
 
16524
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20971
16525
fi
20972
16526
if test -z "${BUILD_MESG_TRUE}" && test -z "${BUILD_MESG_FALSE}"; then
20973
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_MESG\" was never defined.
20974
 
Usually this means the macro was only invoked conditionally." >&5
20975
 
$as_echo "$as_me: error: conditional \"BUILD_MESG\" was never defined.
20976
 
Usually this means the macro was only invoked conditionally." >&2;}
20977
 
   { (exit 1); exit 1; }; }
 
16527
  as_fn_error "conditional \"BUILD_MESG\" was never defined.
 
16528
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20978
16529
fi
20979
16530
if test -z "${BUILD_PARTX_TRUE}" && test -z "${BUILD_PARTX_FALSE}"; then
20980
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PARTX\" was never defined.
20981
 
Usually this means the macro was only invoked conditionally." >&5
20982
 
$as_echo "$as_me: error: conditional \"BUILD_PARTX\" was never defined.
20983
 
Usually this means the macro was only invoked conditionally." >&2;}
20984
 
   { (exit 1); exit 1; }; }
 
16531
  as_fn_error "conditional \"BUILD_PARTX\" was never defined.
 
16532
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20985
16533
fi
20986
16534
if test -z "${BUILD_RAW_TRUE}" && test -z "${BUILD_RAW_FALSE}"; then
20987
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_RAW\" was never defined.
20988
 
Usually this means the macro was only invoked conditionally." >&5
20989
 
$as_echo "$as_me: error: conditional \"BUILD_RAW\" was never defined.
20990
 
Usually this means the macro was only invoked conditionally." >&2;}
20991
 
   { (exit 1); exit 1; }; }
 
16535
  as_fn_error "conditional \"BUILD_RAW\" was never defined.
 
16536
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20992
16537
fi
20993
16538
if test -z "${BUILD_RDEV_TRUE}" && test -z "${BUILD_RDEV_FALSE}"; then
20994
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_RDEV\" was never defined.
20995
 
Usually this means the macro was only invoked conditionally." >&5
20996
 
$as_echo "$as_me: error: conditional \"BUILD_RDEV\" was never defined.
20997
 
Usually this means the macro was only invoked conditionally." >&2;}
20998
 
   { (exit 1); exit 1; }; }
 
16539
  as_fn_error "conditional \"BUILD_RDEV\" was never defined.
 
16540
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20999
16541
fi
21000
16542
if test -z "${BUILD_RENAME_TRUE}" && test -z "${BUILD_RENAME_FALSE}"; then
21001
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_RENAME\" was never defined.
21002
 
Usually this means the macro was only invoked conditionally." >&5
21003
 
$as_echo "$as_me: error: conditional \"BUILD_RENAME\" was never defined.
21004
 
Usually this means the macro was only invoked conditionally." >&2;}
21005
 
   { (exit 1); exit 1; }; }
 
16543
  as_fn_error "conditional \"BUILD_RENAME\" was never defined.
 
16544
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21006
16545
fi
21007
16546
if test -z "${BUILD_RESET_TRUE}" && test -z "${BUILD_RESET_FALSE}"; then
21008
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_RESET\" was never defined.
21009
 
Usually this means the macro was only invoked conditionally." >&5
21010
 
$as_echo "$as_me: error: conditional \"BUILD_RESET\" was never defined.
21011
 
Usually this means the macro was only invoked conditionally." >&2;}
21012
 
   { (exit 1); exit 1; }; }
 
16547
  as_fn_error "conditional \"BUILD_RESET\" was never defined.
 
16548
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21013
16549
fi
21014
16550
if test -z "${BUILD_LOGIN_UTILS_TRUE}" && test -z "${BUILD_LOGIN_UTILS_FALSE}"; then
21015
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LOGIN_UTILS\" was never defined.
21016
 
Usually this means the macro was only invoked conditionally." >&5
21017
 
$as_echo "$as_me: error: conditional \"BUILD_LOGIN_UTILS\" was never defined.
21018
 
Usually this means the macro was only invoked conditionally." >&2;}
21019
 
   { (exit 1); exit 1; }; }
21020
 
fi
21021
 
if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
21022
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_PAM\" was never defined.
21023
 
Usually this means the macro was only invoked conditionally." >&5
21024
 
$as_echo "$as_me: error: conditional \"HAVE_PAM\" was never defined.
21025
 
Usually this means the macro was only invoked conditionally." >&2;}
21026
 
   { (exit 1); exit 1; }; }
21027
 
fi
21028
 
if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
21029
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_PAM\" was never defined.
21030
 
Usually this means the macro was only invoked conditionally." >&5
21031
 
$as_echo "$as_me: error: conditional \"HAVE_PAM\" was never defined.
21032
 
Usually this means the macro was only invoked conditionally." >&2;}
21033
 
   { (exit 1); exit 1; }; }
21034
 
fi
21035
 
if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
21036
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SELINUX\" was never defined.
21037
 
Usually this means the macro was only invoked conditionally." >&5
21038
 
$as_echo "$as_me: error: conditional \"HAVE_SELINUX\" was never defined.
21039
 
Usually this means the macro was only invoked conditionally." >&2;}
21040
 
   { (exit 1); exit 1; }; }
21041
 
fi
21042
 
if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
21043
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SELINUX\" was never defined.
21044
 
Usually this means the macro was only invoked conditionally." >&5
21045
 
$as_echo "$as_me: error: conditional \"HAVE_SELINUX\" was never defined.
21046
 
Usually this means the macro was only invoked conditionally." >&2;}
21047
 
   { (exit 1); exit 1; }; }
21048
 
fi
21049
 
if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then
21050
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_AUDIT\" was never defined.
21051
 
Usually this means the macro was only invoked conditionally." >&5
21052
 
$as_echo "$as_me: error: conditional \"HAVE_AUDIT\" was never defined.
21053
 
Usually this means the macro was only invoked conditionally." >&2;}
21054
 
   { (exit 1); exit 1; }; }
21055
 
fi
21056
 
if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then
21057
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_AUDIT\" was never defined.
21058
 
Usually this means the macro was only invoked conditionally." >&5
21059
 
$as_echo "$as_me: error: conditional \"HAVE_AUDIT\" was never defined.
21060
 
Usually this means the macro was only invoked conditionally." >&2;}
21061
 
   { (exit 1); exit 1; }; }
 
16551
  as_fn_error "conditional \"BUILD_LOGIN_UTILS\" was never defined.
 
16552
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16553
fi
 
16554
if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
 
16555
  as_fn_error "conditional \"HAVE_PAM\" was never defined.
 
16556
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16557
fi
 
16558
if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
 
16559
  as_fn_error "conditional \"HAVE_PAM\" was never defined.
 
16560
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16561
fi
 
16562
if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
 
16563
  as_fn_error "conditional \"HAVE_SELINUX\" was never defined.
 
16564
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16565
fi
 
16566
if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
 
16567
  as_fn_error "conditional \"HAVE_SELINUX\" was never defined.
 
16568
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16569
fi
 
16570
if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then
 
16571
  as_fn_error "conditional \"HAVE_AUDIT\" was never defined.
 
16572
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16573
fi
 
16574
if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then
 
16575
  as_fn_error "conditional \"HAVE_AUDIT\" was never defined.
 
16576
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21062
16577
fi
21063
16578
if test -z "${BUILD_SCHEDUTILS_TRUE}" && test -z "${BUILD_SCHEDUTILS_FALSE}"; then
21064
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SCHEDUTILS\" was never defined.
21065
 
Usually this means the macro was only invoked conditionally." >&5
21066
 
$as_echo "$as_me: error: conditional \"BUILD_SCHEDUTILS\" was never defined.
21067
 
Usually this means the macro was only invoked conditionally." >&2;}
21068
 
   { (exit 1); exit 1; }; }
 
16579
  as_fn_error "conditional \"BUILD_SCHEDUTILS\" was never defined.
 
16580
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21069
16581
fi
21070
16582
if test -z "${BUILD_WALL_TRUE}" && test -z "${BUILD_WALL_FALSE}"; then
21071
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_WALL\" was never defined.
21072
 
Usually this means the macro was only invoked conditionally." >&5
21073
 
$as_echo "$as_me: error: conditional \"BUILD_WALL\" was never defined.
21074
 
Usually this means the macro was only invoked conditionally." >&2;}
21075
 
   { (exit 1); exit 1; }; }
 
16583
  as_fn_error "conditional \"BUILD_WALL\" was never defined.
 
16584
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21076
16585
fi
21077
16586
if test -z "${BUILD_WRITE_TRUE}" && test -z "${BUILD_WRITE_FALSE}"; then
21078
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_WRITE\" was never defined.
21079
 
Usually this means the macro was only invoked conditionally." >&5
21080
 
$as_echo "$as_me: error: conditional \"BUILD_WRITE\" was never defined.
21081
 
Usually this means the macro was only invoked conditionally." >&2;}
21082
 
   { (exit 1); exit 1; }; }
 
16587
  as_fn_error "conditional \"BUILD_WRITE\" was never defined.
 
16588
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21083
16589
fi
21084
16590
if test -z "${USE_TTY_GROUP_TRUE}" && test -z "${USE_TTY_GROUP_FALSE}"; then
21085
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_TTY_GROUP\" was never defined.
21086
 
Usually this means the macro was only invoked conditionally." >&5
21087
 
$as_echo "$as_me: error: conditional \"USE_TTY_GROUP\" was never defined.
21088
 
Usually this means the macro was only invoked conditionally." >&2;}
21089
 
   { (exit 1); exit 1; }; }
 
16591
  as_fn_error "conditional \"USE_TTY_GROUP\" was never defined.
 
16592
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21090
16593
fi
21091
16594
if test -z "${MAKEINSTALL_DO_CHOWN_TRUE}" && test -z "${MAKEINSTALL_DO_CHOWN_FALSE}"; then
21092
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAKEINSTALL_DO_CHOWN\" was never defined.
21093
 
Usually this means the macro was only invoked conditionally." >&5
21094
 
$as_echo "$as_me: error: conditional \"MAKEINSTALL_DO_CHOWN\" was never defined.
21095
 
Usually this means the macro was only invoked conditionally." >&2;}
21096
 
   { (exit 1); exit 1; }; }
 
16595
  as_fn_error "conditional \"MAKEINSTALL_DO_CHOWN\" was never defined.
 
16596
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21097
16597
fi
21098
16598
 
21099
16599
: ${CONFIG_STATUS=./config.status}
21100
16600
ac_write_fail=0
21101
16601
ac_clean_files_save=$ac_clean_files
21102
16602
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21103
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
16603
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21104
16604
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21105
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16605
as_write_fail=0
 
16606
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21106
16607
#! $SHELL
21107
16608
# Generated by $as_me.
21108
16609
# Run this file to recreate the current configuration.
21112
16613
debug=false
21113
16614
ac_cs_recheck=false
21114
16615
ac_cs_silent=false
 
16616
 
21115
16617
SHELL=\${CONFIG_SHELL-$SHELL}
21116
 
_ACEOF
21117
 
 
21118
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21119
 
## --------------------- ##
21120
 
## M4sh Initialization.  ##
21121
 
## --------------------- ##
 
16618
export SHELL
 
16619
_ASEOF
 
16620
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
16621
## -------------------- ##
 
16622
## M4sh Initialization. ##
 
16623
## -------------------- ##
21122
16624
 
21123
16625
# Be more Bourne compatible
21124
16626
DUALCASE=1; export DUALCASE # for MKS sh
21125
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16627
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21126
16628
  emulate sh
21127
16629
  NULLCMD=:
21128
16630
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21130
16632
  alias -g '${1+"$@"}'='"$@"'
21131
16633
  setopt NO_GLOB_SUBST
21132
16634
else
21133
 
  case `(set -o) 2>/dev/null` in
21134
 
  *posix*) set -o posix ;;
 
16635
  case `(set -o) 2>/dev/null` in #(
 
16636
  *posix*) :
 
16637
    set -o posix ;; #(
 
16638
  *) :
 
16639
     ;;
21135
16640
esac
21136
 
 
21137
16641
fi
21138
16642
 
21139
16643
 
21140
 
 
21141
 
 
21142
 
# PATH needs CR
21143
 
# Avoid depending upon Character Ranges.
21144
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21145
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21146
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21147
 
as_cr_digits='0123456789'
21148
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21149
 
 
21150
16644
as_nl='
21151
16645
'
21152
16646
export as_nl
21154
16648
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21155
16649
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21156
16650
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21157
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16651
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
16652
# but without wasting forks for bash or zsh.
 
16653
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
16654
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16655
  as_echo='print -r --'
 
16656
  as_echo_n='print -rn --'
 
16657
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21158
16658
  as_echo='printf %s\n'
21159
16659
  as_echo_n='printf %s'
21160
16660
else
21165
16665
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21166
16666
    as_echo_n_body='eval
21167
16667
      arg=$1;
21168
 
      case $arg in
 
16668
      case $arg in #(
21169
16669
      *"$as_nl"*)
21170
16670
        expr "X$arg" : "X\\(.*\\)$as_nl";
21171
16671
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21188
16688
  }
21189
16689
fi
21190
16690
 
21191
 
# Support unset when possible.
21192
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21193
 
  as_unset=unset
21194
 
else
21195
 
  as_unset=false
21196
 
fi
21197
 
 
21198
16691
 
21199
16692
# IFS
21200
16693
# We need space, tab and new line, in precisely that order.  Quoting is
21204
16697
IFS=" ""        $as_nl"
21205
16698
 
21206
16699
# Find who we are.  Look in the path if we contain no directory separator.
21207
 
case $0 in
 
16700
case $0 in #((
21208
16701
  *[\\/]* ) as_myself=$0 ;;
21209
16702
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21210
16703
for as_dir in $PATH
21211
16704
do
21212
16705
  IFS=$as_save_IFS
21213
16706
  test -z "$as_dir" && as_dir=.
21214
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21215
 
done
 
16707
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16708
  done
21216
16709
IFS=$as_save_IFS
21217
16710
 
21218
16711
     ;;
21224
16717
fi
21225
16718
if test ! -f "$as_myself"; then
21226
16719
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21227
 
  { (exit 1); exit 1; }
 
16720
  exit 1
21228
16721
fi
21229
16722
 
21230
 
# Work around bugs in pre-3.0 UWIN ksh.
21231
 
for as_var in ENV MAIL MAILPATH
21232
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16723
# Unset variables that we do not need and which cause bugs (e.g. in
 
16724
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
16725
# suppresses any "Segmentation fault" message there.  '((' could
 
16726
# trigger a bug in pdksh 5.2.14.
 
16727
for as_var in BASH_ENV ENV MAIL MAILPATH
 
16728
do eval test x\${$as_var+set} = xset \
 
16729
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21233
16730
done
21234
16731
PS1='$ '
21235
16732
PS2='> '
21241
16738
LANGUAGE=C
21242
16739
export LANGUAGE
21243
16740
 
21244
 
# Required to use basename.
 
16741
# CDPATH.
 
16742
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16743
 
 
16744
 
 
16745
# as_fn_error ERROR [LINENO LOG_FD]
 
16746
# ---------------------------------
 
16747
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
16748
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
16749
# script with status $?, using 1 if that was 0.
 
16750
as_fn_error ()
 
16751
{
 
16752
  as_status=$?; test $as_status -eq 0 && as_status=1
 
16753
  if test "$3"; then
 
16754
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16755
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
16756
  fi
 
16757
  $as_echo "$as_me: error: $1" >&2
 
16758
  as_fn_exit $as_status
 
16759
} # as_fn_error
 
16760
 
 
16761
 
 
16762
# as_fn_set_status STATUS
 
16763
# -----------------------
 
16764
# Set $? to STATUS, without forking.
 
16765
as_fn_set_status ()
 
16766
{
 
16767
  return $1
 
16768
} # as_fn_set_status
 
16769
 
 
16770
# as_fn_exit STATUS
 
16771
# -----------------
 
16772
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16773
as_fn_exit ()
 
16774
{
 
16775
  set +e
 
16776
  as_fn_set_status $1
 
16777
  exit $1
 
16778
} # as_fn_exit
 
16779
 
 
16780
# as_fn_unset VAR
 
16781
# ---------------
 
16782
# Portably unset VAR.
 
16783
as_fn_unset ()
 
16784
{
 
16785
  { eval $1=; unset $1;}
 
16786
}
 
16787
as_unset=as_fn_unset
 
16788
# as_fn_append VAR VALUE
 
16789
# ----------------------
 
16790
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16791
# advantage of any shell optimizations that allow amortized linear growth over
 
16792
# repeated appends, instead of the typical quadratic growth present in naive
 
16793
# implementations.
 
16794
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16795
  eval 'as_fn_append ()
 
16796
  {
 
16797
    eval $1+=\$2
 
16798
  }'
 
16799
else
 
16800
  as_fn_append ()
 
16801
  {
 
16802
    eval $1=\$$1\$2
 
16803
  }
 
16804
fi # as_fn_append
 
16805
 
 
16806
# as_fn_arith ARG...
 
16807
# ------------------
 
16808
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16809
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16810
# must be portable across $(()) and expr.
 
16811
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16812
  eval 'as_fn_arith ()
 
16813
  {
 
16814
    as_val=$(( $* ))
 
16815
  }'
 
16816
else
 
16817
  as_fn_arith ()
 
16818
  {
 
16819
    as_val=`expr "$@" || test $? -eq 1`
 
16820
  }
 
16821
fi # as_fn_arith
 
16822
 
 
16823
 
21245
16824
if expr a : '\(a\)' >/dev/null 2>&1 &&
21246
16825
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21247
16826
  as_expr=expr
21255
16834
  as_basename=false
21256
16835
fi
21257
16836
 
 
16837
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16838
  as_dirname=dirname
 
16839
else
 
16840
  as_dirname=false
 
16841
fi
21258
16842
 
21259
 
# Name of the executable.
21260
16843
as_me=`$as_basename -- "$0" ||
21261
16844
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21262
16845
         X"$0" : 'X\(//\)$' \| \
21276
16859
          }
21277
16860
          s/.*/./; q'`
21278
16861
 
21279
 
# CDPATH.
21280
 
$as_unset CDPATH
21281
 
 
21282
 
 
21283
 
 
21284
 
  as_lineno_1=$LINENO
21285
 
  as_lineno_2=$LINENO
21286
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21287
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21288
 
 
21289
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21290
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
21291
 
  # line-number line after each line using $LINENO; the second 'sed'
21292
 
  # does the real work.  The second script uses 'N' to pair each
21293
 
  # line-number line with the line containing $LINENO, and appends
21294
 
  # trailing '-' during substitution so that $LINENO is not a special
21295
 
  # case at line end.
21296
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21297
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
21298
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
21299
 
  sed -n '
21300
 
    p
21301
 
    /[$]LINENO/=
21302
 
  ' <$as_myself |
21303
 
    sed '
21304
 
      s/[$]LINENO.*/&-/
21305
 
      t lineno
21306
 
      b
21307
 
      :lineno
21308
 
      N
21309
 
      :loop
21310
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21311
 
      t loop
21312
 
      s/-\n.*//
21313
 
    ' >$as_me.lineno &&
21314
 
  chmod +x "$as_me.lineno" ||
21315
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21316
 
   { (exit 1); exit 1; }; }
21317
 
 
21318
 
  # Don't try to exec as it changes $[0], causing all sort of problems
21319
 
  # (the dirname of $[0] is not the place where we might find the
21320
 
  # original and so on.  Autoconf is especially sensitive to this).
21321
 
  . "./$as_me.lineno"
21322
 
  # Exit status is that of the last command.
21323
 
  exit
21324
 
}
21325
 
 
21326
 
 
21327
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21328
 
  as_dirname=dirname
21329
 
else
21330
 
  as_dirname=false
21331
 
fi
 
16862
# Avoid depending upon Character Ranges.
 
16863
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16864
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16865
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16866
as_cr_digits='0123456789'
 
16867
as_cr_alnum=$as_cr_Letters$as_cr_digits
21332
16868
 
21333
16869
ECHO_C= ECHO_N= ECHO_T=
21334
 
case `echo -n x` in
 
16870
case `echo -n x` in #(((((
21335
16871
-n*)
21336
 
  case `echo 'x\c'` in
 
16872
  case `echo 'xy\c'` in
21337
16873
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
21338
 
  *)   ECHO_C='\c';;
 
16874
  xy)  ECHO_C='\c';;
 
16875
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16876
       ECHO_T=' ';;
21339
16877
  esac;;
21340
16878
*)
21341
16879
  ECHO_N='-n';;
21342
16880
esac
21343
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
21344
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21345
 
  as_expr=expr
21346
 
else
21347
 
  as_expr=false
21348
 
fi
21349
16881
 
21350
16882
rm -f conf$$ conf$$.exe conf$$.file
21351
16883
if test -d conf$$.dir; then
21374
16906
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21375
16907
rmdir conf$$.dir 2>/dev/null
21376
16908
 
 
16909
 
 
16910
# as_fn_mkdir_p
 
16911
# -------------
 
16912
# Create "$as_dir" as a directory, including parents if necessary.
 
16913
as_fn_mkdir_p ()
 
16914
{
 
16915
 
 
16916
  case $as_dir in #(
 
16917
  -*) as_dir=./$as_dir;;
 
16918
  esac
 
16919
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16920
    as_dirs=
 
16921
    while :; do
 
16922
      case $as_dir in #(
 
16923
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16924
      *) as_qdir=$as_dir;;
 
16925
      esac
 
16926
      as_dirs="'$as_qdir' $as_dirs"
 
16927
      as_dir=`$as_dirname -- "$as_dir" ||
 
16928
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16929
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16930
         X"$as_dir" : 'X\(//\)$' \| \
 
16931
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16932
$as_echo X"$as_dir" |
 
16933
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16934
            s//\1/
 
16935
            q
 
16936
          }
 
16937
          /^X\(\/\/\)[^/].*/{
 
16938
            s//\1/
 
16939
            q
 
16940
          }
 
16941
          /^X\(\/\/\)$/{
 
16942
            s//\1/
 
16943
            q
 
16944
          }
 
16945
          /^X\(\/\).*/{
 
16946
            s//\1/
 
16947
            q
 
16948
          }
 
16949
          s/.*/./; q'`
 
16950
      test -d "$as_dir" && break
 
16951
    done
 
16952
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
16953
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16954
 
 
16955
 
 
16956
} # as_fn_mkdir_p
21377
16957
if mkdir -p . 2>/dev/null; then
21378
 
  as_mkdir_p=:
 
16958
  as_mkdir_p='mkdir -p "$as_dir"'
21379
16959
else
21380
16960
  test -d ./-p && rmdir ./-p
21381
16961
  as_mkdir_p=false
21394
16974
      if test -d "$1"; then
21395
16975
        test -d "$1/.";
21396
16976
      else
21397
 
        case $1 in
 
16977
        case $1 in #(
21398
16978
        -*)set "./$1";;
21399
16979
        esac;
21400
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
16980
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21401
16981
        ???[sx]*):;;*)false;;esac;fi
21402
16982
    '\'' sh
21403
16983
  '
21412
16992
 
21413
16993
 
21414
16994
exec 6>&1
 
16995
## ----------------------------------- ##
 
16996
## Main body of $CONFIG_STATUS script. ##
 
16997
## ----------------------------------- ##
 
16998
_ASEOF
 
16999
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21415
17000
 
21416
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
17001
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17002
# Save the log message, to keep $0 and so on meaningful, and to
21417
17003
# report actual input values of CONFIG_FILES etc. instead of their
21418
17004
# values after options handling.
21419
17005
ac_log="
21420
 
This file was extended by util-linux-ng $as_me 2.16.1, which was
21421
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
17006
This file was extended by util-linux-ng $as_me 2.16.2, which was
 
17007
generated by GNU Autoconf 2.64.  Invocation command line was
21422
17008
 
21423
17009
  CONFIG_FILES    = $CONFIG_FILES
21424
17010
  CONFIG_HEADERS  = $CONFIG_HEADERS
21450
17036
 
21451
17037
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21452
17038
ac_cs_usage="\
21453
 
\`$as_me' instantiates files from templates according to the
21454
 
current configuration.
 
17039
\`$as_me' instantiates files and other configuration actions
 
17040
from templates according to the current configuration.  Unless the files
 
17041
and actions are specified as TAGs, all are instantiated by default.
21455
17042
 
21456
 
Usage: $0 [OPTION]... [FILE]...
 
17043
Usage: $0 [OPTION]... [TAG]...
21457
17044
 
21458
17045
  -h, --help       print this help, then exit
21459
17046
  -V, --version    print version number and configuration settings, then exit
21475
17062
Configuration commands:
21476
17063
$config_commands
21477
17064
 
21478
 
Report bugs to <bug-autoconf@gnu.org>."
 
17065
Report bugs to <kzak@redhat.com>."
21479
17066
 
21480
17067
_ACEOF
21481
17068
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21482
17069
ac_cs_version="\\
21483
 
util-linux-ng config.status 2.16.1
21484
 
configured by $0, generated by GNU Autoconf 2.63,
 
17070
util-linux-ng config.status 2.16.2
 
17071
configured by $0, generated by GNU Autoconf 2.64,
21485
17072
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21486
17073
 
21487
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
17074
Copyright (C) 2009 Free Software Foundation, Inc.
21488
17075
This config.status script is free software; the Free Software Foundation
21489
17076
gives unlimited permission to copy, distribute and modify it."
21490
17077
 
21527
17114
    case $ac_optarg in
21528
17115
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21529
17116
    esac
21530
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
17117
    as_fn_append CONFIG_FILES " '$ac_optarg'"
21531
17118
    ac_need_defaults=false;;
21532
17119
  --header | --heade | --head | --hea )
21533
17120
    $ac_shift
21534
17121
    case $ac_optarg in
21535
17122
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21536
17123
    esac
21537
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
17124
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21538
17125
    ac_need_defaults=false;;
21539
17126
  --he | --h)
21540
17127
    # Conflict between --help and --header
21541
 
    { $as_echo "$as_me: error: ambiguous option: $1
21542
 
Try \`$0 --help' for more information." >&2
21543
 
   { (exit 1); exit 1; }; };;
 
17128
    as_fn_error "ambiguous option: \`$1'
 
17129
Try \`$0 --help' for more information.";;
21544
17130
  --help | --hel | -h )
21545
17131
    $as_echo "$ac_cs_usage"; exit ;;
21546
17132
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21548
17134
    ac_cs_silent=: ;;
21549
17135
 
21550
17136
  # This is an error.
21551
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
21552
 
Try \`$0 --help' for more information." >&2
21553
 
   { (exit 1); exit 1; }; } ;;
 
17137
  -*) as_fn_error "unrecognized option: \`$1'
 
17138
Try \`$0 --help' for more information." ;;
21554
17139
 
21555
 
  *) ac_config_targets="$ac_config_targets $1"
 
17140
  *) as_fn_append ac_config_targets " $1"
21556
17141
     ac_need_defaults=false ;;
21557
17142
 
21558
17143
  esac
21899
17484
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
21900
17485
    "text-utils/Makefile") CONFIG_FILES="$CONFIG_FILES text-utils/Makefile" ;;
21901
17486
 
21902
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21903
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21904
 
   { (exit 1); exit 1; }; };;
 
17487
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21905
17488
  esac
21906
17489
done
21907
17490
 
21928
17511
  trap 'exit_status=$?
21929
17512
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21930
17513
' 0
21931
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
17514
  trap 'as_fn_exit 1' 1 2 13 15
21932
17515
}
21933
17516
# Create a (secure) tmp directory for tmp files.
21934
17517
 
21939
17522
{
21940
17523
  tmp=./conf$$-$RANDOM
21941
17524
  (umask 077 && mkdir "$tmp")
21942
 
} ||
21943
 
{
21944
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
21945
 
   { (exit 1); exit 1; }
21946
 
}
 
17525
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
21947
17526
 
21948
17527
# Set up the scripts for CONFIG_FILES section.
21949
17528
# No need to generate them if there are no CONFIG_FILES.
21951
17530
if test -n "$CONFIG_FILES"; then
21952
17531
 
21953
17532
 
21954
 
ac_cr='
 
 
b"'"
 
17533
ac_cr=`echo X | tr X '\015'`
 
17534
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
17535
# But we know of no other shell where ac_cr would be empty at this
 
17536
# point, so we can use a bashism as a fallback.
 
17537
if test "x$ac_cr" = x; then
 
17538
  eval ac_cr=\$\'\\r\'
 
17539
fi
21955
17540
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21956
17541
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21957
 
  ac_cs_awk_cr='\\r'
 
17542
  ac_cs_awk_cr='\r'
21958
17543
else
21959
17544
  ac_cs_awk_cr=$ac_cr
21960
17545
fi
21968
17553
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21969
17554
  echo "_ACEOF"
21970
17555
} >conf$$subs.sh ||
21971
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21972
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21973
 
   { (exit 1); exit 1; }; }
 
17556
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21974
17557
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21975
17558
ac_delim='%!_!# '
21976
17559
for ac_last_try in false false false false false :; do
21977
17560
  . ./conf$$subs.sh ||
21978
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21979
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21980
 
   { (exit 1); exit 1; }; }
 
17561
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21981
17562
 
21982
17563
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21983
17564
  if test $ac_delim_n = $ac_delim_num; then
21984
17565
    break
21985
17566
  elif $ac_last_try; then
21986
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21987
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21988
 
   { (exit 1); exit 1; }; }
 
17567
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21989
17568
  else
21990
17569
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21991
17570
  fi
22074
17653
else
22075
17654
  cat
22076
17655
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22077
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22078
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
22079
 
   { (exit 1); exit 1; }; }
 
17656
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
22080
17657
_ACEOF
22081
17658
 
22082
17659
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22117
17694
  if test -z "$ac_t"; then
22118
17695
    break
22119
17696
  elif $ac_last_try; then
22120
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22121
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22122
 
   { (exit 1); exit 1; }; }
 
17697
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
22123
17698
  else
22124
17699
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22125
17700
  fi
22204
17779
_ACAWK
22205
17780
_ACEOF
22206
17781
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22207
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22208
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22209
 
   { (exit 1); exit 1; }; }
 
17782
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
22210
17783
fi # test -n "$CONFIG_HEADERS"
22211
17784
 
22212
17785
 
22219
17792
  esac
22220
17793
  case $ac_mode$ac_tag in
22221
17794
  :[FHL]*:*);;
22222
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22223
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22224
 
   { (exit 1); exit 1; }; };;
 
17795
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
22225
17796
  :[FH]-) ac_tag=-:-;;
22226
17797
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22227
17798
  esac
22249
17820
           [\\/$]*) false;;
22250
17821
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22251
17822
           esac ||
22252
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22253
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22254
 
   { (exit 1); exit 1; }; };;
 
17823
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22255
17824
      esac
22256
17825
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22257
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
17826
      as_fn_append ac_file_inputs " '$ac_f'"
22258
17827
    done
22259
17828
 
22260
17829
    # Let's still pretend it is `configure' which instantiates (i.e., don't
22265
17834
        `' by configure.'
22266
17835
    if test x"$ac_file" != x-; then
22267
17836
      configure_input="$ac_file.  $configure_input"
22268
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
17837
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22269
17838
$as_echo "$as_me: creating $ac_file" >&6;}
22270
17839
    fi
22271
17840
    # Neutralize special characters interpreted by sed in replacement strings.
22278
17847
 
22279
17848
    case $ac_tag in
22280
17849
    *:-:* | *:-) cat >"$tmp/stdin" \
22281
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22282
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22283
 
   { (exit 1); exit 1; }; } ;;
 
17850
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
22284
17851
    esac
22285
17852
    ;;
22286
17853
  esac
22308
17875
            q
22309
17876
          }
22310
17877
          s/.*/./; q'`
22311
 
  { as_dir="$ac_dir"
22312
 
  case $as_dir in #(
22313
 
  -*) as_dir=./$as_dir;;
22314
 
  esac
22315
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22316
 
    as_dirs=
22317
 
    while :; do
22318
 
      case $as_dir in #(
22319
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22320
 
      *) as_qdir=$as_dir;;
22321
 
      esac
22322
 
      as_dirs="'$as_qdir' $as_dirs"
22323
 
      as_dir=`$as_dirname -- "$as_dir" ||
22324
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22325
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22326
 
         X"$as_dir" : 'X\(//\)$' \| \
22327
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22328
 
$as_echo X"$as_dir" |
22329
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22330
 
            s//\1/
22331
 
            q
22332
 
          }
22333
 
          /^X\(\/\/\)[^/].*/{
22334
 
            s//\1/
22335
 
            q
22336
 
          }
22337
 
          /^X\(\/\/\)$/{
22338
 
            s//\1/
22339
 
            q
22340
 
          }
22341
 
          /^X\(\/\).*/{
22342
 
            s//\1/
22343
 
            q
22344
 
          }
22345
 
          s/.*/./; q'`
22346
 
      test -d "$as_dir" && break
22347
 
    done
22348
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22349
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22350
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22351
 
   { (exit 1); exit 1; }; }; }
 
17878
  as_dir="$ac_dir"; as_fn_mkdir_p
22352
17879
  ac_builddir=.
22353
17880
 
22354
17881
case "$ac_dir" in
22405
17932
# If the template does not know about datarootdir, expand it.
22406
17933
# FIXME: This hack should be removed a few years after 2.60.
22407
17934
ac_datarootdir_hack=; ac_datarootdir_seen=
22408
 
 
22409
17935
ac_sed_dataroot='
22410
17936
/datarootdir/ {
22411
17937
  p
22415
17941
/@docdir@/p
22416
17942
/@infodir@/p
22417
17943
/@localedir@/p
22418
 
/@mandir@/p
22419
 
'
 
17944
/@mandir@/p'
22420
17945
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22421
17946
*datarootdir*) ac_datarootdir_seen=yes;;
22422
17947
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22423
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17948
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22424
17949
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22425
17950
_ACEOF
22426
17951
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22430
17955
  s&@infodir@&$infodir&g
22431
17956
  s&@localedir@&$localedir&g
22432
17957
  s&@mandir@&$mandir&g
22433
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
17958
  s&\\\${datarootdir}&$datarootdir&g' ;;
22434
17959
esac
22435
17960
_ACEOF
22436
17961
 
22459
17984
$ac_datarootdir_hack
22460
17985
"
22461
17986
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22462
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22463
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22464
 
   { (exit 1); exit 1; }; }
 
17987
  || as_fn_error "could not create $ac_file" "$LINENO" 5
22465
17988
 
22466
17989
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22467
17990
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22468
17991
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22469
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17992
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22470
17993
which seems to be undefined.  Please make sure it is defined." >&5
22471
17994
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22472
17995
which seems to be undefined.  Please make sure it is defined." >&2;}
22476
17999
  -) cat "$tmp/out" && rm -f "$tmp/out";;
22477
18000
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22478
18001
  esac \
22479
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22480
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22481
 
   { (exit 1); exit 1; }; }
 
18002
  || as_fn_error "could not create $ac_file" "$LINENO" 5
22482
18003
 ;;
22483
18004
  :H)
22484
18005
  #
22489
18010
      $as_echo "/* $configure_input  */" \
22490
18011
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22491
18012
    } >"$tmp/config.h" \
22492
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22493
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22494
 
   { (exit 1); exit 1; }; }
 
18013
      || as_fn_error "could not create $ac_file" "$LINENO" 5
22495
18014
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22496
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18015
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22497
18016
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22498
18017
    else
22499
18018
      rm -f "$ac_file"
22500
18019
      mv "$tmp/config.h" "$ac_file" \
22501
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22502
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22503
 
   { (exit 1); exit 1; }; }
 
18020
        || as_fn_error "could not create $ac_file" "$LINENO" 5
22504
18021
    fi
22505
18022
  else
22506
18023
    $as_echo "/* $configure_input  */" \
22507
18024
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22508
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22509
 
$as_echo "$as_me: error: could not create -" >&2;}
22510
 
   { (exit 1); exit 1; }; }
 
18025
      || as_fn_error "could not create -" "$LINENO" 5
22511
18026
  fi
22512
18027
# Compute "$ac_file"'s index in $config_headers.
22513
18028
_am_arg="$ac_file"
22545
18060
          s/.*/./; q'`/stamp-h$_am_stamp_count
22546
18061
 ;;
22547
18062
 
22548
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18063
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22549
18064
$as_echo "$as_me: executing $ac_file commands" >&6;}
22550
18065
 ;;
22551
18066
  esac
22640
18155
            q
22641
18156
          }
22642
18157
          s/.*/./; q'`
22643
 
      { as_dir=$dirpart/$fdir
22644
 
  case $as_dir in #(
22645
 
  -*) as_dir=./$as_dir;;
22646
 
  esac
22647
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22648
 
    as_dirs=
22649
 
    while :; do
22650
 
      case $as_dir in #(
22651
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22652
 
      *) as_qdir=$as_dir;;
22653
 
      esac
22654
 
      as_dirs="'$as_qdir' $as_dirs"
22655
 
      as_dir=`$as_dirname -- "$as_dir" ||
22656
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22657
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22658
 
         X"$as_dir" : 'X\(//\)$' \| \
22659
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22660
 
$as_echo X"$as_dir" |
22661
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22662
 
            s//\1/
22663
 
            q
22664
 
          }
22665
 
          /^X\(\/\/\)[^/].*/{
22666
 
            s//\1/
22667
 
            q
22668
 
          }
22669
 
          /^X\(\/\/\)$/{
22670
 
            s//\1/
22671
 
            q
22672
 
          }
22673
 
          /^X\(\/\).*/{
22674
 
            s//\1/
22675
 
            q
22676
 
          }
22677
 
          s/.*/./; q'`
22678
 
      test -d "$as_dir" && break
22679
 
    done
22680
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22681
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22682
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22683
 
   { (exit 1); exit 1; }; }; }
 
18158
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
22684
18159
      # echo "creating $dirpart/$file"
22685
18160
      echo '# dummy' > "$dirpart/$file"
22686
18161
    done
23436
18911
done # for ac_tag
23437
18912
 
23438
18913
 
23439
 
{ (exit 0); exit 0; }
 
18914
as_fn_exit 0
23440
18915
_ACEOF
23441
 
chmod +x $CONFIG_STATUS
23442
18916
ac_clean_files=$ac_clean_files_save
23443
18917
 
23444
18918
test $ac_write_fail = 0 ||
23445
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
23446
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
23447
 
   { (exit 1); exit 1; }; }
 
18919
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
23448
18920
 
23449
18921
 
23450
18922
# configure is writing to config.log, and then calls config.status.
23465
18937
  exec 5>>config.log
23466
18938
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23467
18939
  # would make configure fail if this is the last instruction.
23468
 
  $ac_cs_success || { (exit 1); exit 1; }
 
18940
  $ac_cs_success || as_fn_exit $?
23469
18941
fi
23470
18942
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23471
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18943
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23472
18944
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23473
18945
fi
23474
18946