~ubuntu-branches/ubuntu/trusty/libice/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2010-11-08 01:24:07 UTC
  • mfrom: (1.1.6 upstream) (0.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101108012407-wgbivb9z29rxt1wf
Tags: 2:1.0.7-1
* New upstream release.
* Drop 0001-Set-the-close-on-exec-flag-for-listening-sockets.patch
* Bump xutils-dev build-dep for new macros.
* Add xmlto, xorg-sgml-doctools, and w3m build-dep for the doc.
* Kill *.xml in the doc directory, no point in shipping them.
* Ship *.html, *.css, and *.txt from the doc directory.
* Switch from --list-missing to --fail-missing for additional safety.

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 libICE 1.0.6.
 
3
# Generated by GNU Autoconf 2.65 for libICE 1.0.7.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
430
  sed -n '
461
431
    p
462
432
    /[$]LINENO/=
473
443
      s/-\n.*//
474
444
    ' >$as_me.lineno &&
475
445
  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; }; }
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
447
 
479
448
  # Don't try to exec as it changes $[0], causing all sort of problems
480
449
  # (the dirname of $[0] is not the place where we might find the
484
453
  exit
485
454
}
486
455
 
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
456
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
457
case `echo -n x` in #(((((
496
458
-n*)
497
 
  case `echo 'x\c'` in
 
459
  case `echo 'xy\c'` in
498
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
500
464
  esac;;
501
465
*)
502
466
  ECHO_N='-n';;
503
467
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
468
 
511
469
rm -f conf$$ conf$$.exe conf$$.file
512
470
if test -d conf$$.dir; then
536
494
rmdir conf$$.dir 2>/dev/null
537
495
 
538
496
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
540
498
else
541
499
  test -d ./-p && rmdir ./-p
542
500
  as_mkdir_p=false
555
513
      if test -d "$1"; then
556
514
        test -d "$1/.";
557
515
      else
558
 
        case $1 in
 
516
        case $1 in #(
559
517
        -*)set "./$1";;
560
518
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
520
        ???[sx]*):;;*)false;;esac;fi
563
521
    '\'' sh
564
522
  '
571
529
# Sed expression to map a string onto a valid variable name.
572
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
531
 
574
 
 
 
532
as_awk_strverscmp='
 
533
  # Use only awk features that work with 7th edition Unix awk (1978).
 
534
  # My, what an old awk you have, Mr. Solaris!
 
535
  END {
 
536
    while (length(v1) && length(v2)) {
 
537
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
538
      # Normally this is a single character, but if v1 and v2 contain digits,
 
539
      # compare them as integers and fractions as strverscmp does.
 
540
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
541
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
542
        # and advance v1 and v2 past the leading digit strings.
 
543
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
544
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
545
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
546
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
547
        if (d1 ~ /^0/) {
 
548
          if (d2 ~ /^0/) {
 
549
            # Compare two fractions.
 
550
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
551
              d1 = substr(d1, 2); len1--
 
552
              d2 = substr(d2, 2); len2--
 
553
            }
 
554
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
555
              # The two components differ in length, and the common prefix
 
556
              # contains only leading zeros.  Consider the longer to be less.
 
557
              d1 = -len1
 
558
              d2 = -len2
 
559
            } else {
 
560
              # Otherwise, compare as strings.
 
561
              d1 = "x" d1
 
562
              d2 = "x" d2
 
563
            }
 
564
          } else {
 
565
            # A fraction is less than an integer.
 
566
            exit 1
 
567
          }
 
568
        } else {
 
569
          if (d2 ~ /^0/) {
 
570
            # An integer is greater than a fraction.
 
571
            exit 2
 
572
          } else {
 
573
            # Compare two integers.
 
574
            d1 += 0
 
575
            d2 += 0
 
576
          }
 
577
        }
 
578
      } else {
 
579
        # The normal case, without worrying about digits.
 
580
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
581
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
582
      }
 
583
      if (d1 < d2) exit 1
 
584
      if (d1 > d2) exit 2
 
585
    }
 
586
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
587
    # which mishandles some comparisons of empty strings to integers.
 
588
    if (length(v2)) exit 1
 
589
    if (length(v1)) exit 2
 
590
  }
 
591
'
575
592
 
576
593
 
577
594
# Check that we are running under the correct shell.
722
739
 
723
740
 
724
741
 
725
 
exec 7<&0 </dev/null 6>&1
 
742
test -n "$DJDIR" || exec 7<&0 </dev/null
 
743
exec 6>&1
726
744
 
727
745
# Name of the host.
728
746
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
740
758
subdirs=
741
759
MFLAGS=
742
760
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
761
 
745
762
# Identity of this package.
746
763
PACKAGE_NAME='libICE'
747
764
PACKAGE_TARNAME='libICE'
748
 
PACKAGE_VERSION='1.0.6'
749
 
PACKAGE_STRING='libICE 1.0.6'
 
765
PACKAGE_VERSION='1.0.7'
 
766
PACKAGE_STRING='libICE 1.0.7'
750
767
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
768
PACKAGE_URL=''
751
769
 
752
770
ac_unique_file="Makefile.am"
753
771
# Factoring default headers for most tests.
790
808
am__EXEEXT_TRUE
791
809
LTLIBOBJS
792
810
LIBOBJS
793
 
distcleancheck_listfiles
794
 
CHANGELOG_CMD
795
811
MAKE_LINT_LIB_FALSE
796
812
MAKE_LINT_LIB_TRUE
797
813
LINTLIB
803
819
XTRANS_CFLAGS
804
820
ICE_LIBS
805
821
ICE_CFLAGS
806
 
PKG_CONFIG
807
 
AM_BACKSLASH
808
 
AM_DEFAULT_VERBOSITY
809
 
CWARNFLAGS
810
 
CPP
811
822
OTOOL64
812
823
OTOOL
813
824
LIPO
823
834
DUMPBIN
824
835
LD
825
836
FGREP
 
837
LIBTOOL
 
838
HAVE_STYLESHEETS_FALSE
 
839
HAVE_STYLESHEETS_TRUE
 
840
XSL_STYLESHEET
 
841
STYLESHEET_SRCDIR
 
842
XORG_SGML_PATH
 
843
HAVE_FOP_FALSE
 
844
HAVE_FOP_TRUE
 
845
FOP
 
846
HAVE_XMLTO_FALSE
 
847
HAVE_XMLTO_TRUE
 
848
HAVE_XMLTO_TEXT_FALSE
 
849
HAVE_XMLTO_TEXT_TRUE
 
850
XMLTO
 
851
ENABLE_SPECS_FALSE
 
852
ENABLE_SPECS_TRUE
 
853
ENABLE_DOCS_FALSE
 
854
ENABLE_DOCS_TRUE
 
855
AM_BACKSLASH
 
856
AM_DEFAULT_VERBOSITY
 
857
MAN_SUBSTS
 
858
XORG_MAN_PAGE
 
859
ADMIN_MAN_DIR
 
860
DRIVER_MAN_DIR
 
861
MISC_MAN_DIR
 
862
FILE_MAN_DIR
 
863
LIB_MAN_DIR
 
864
APP_MAN_DIR
 
865
ADMIN_MAN_SUFFIX
 
866
DRIVER_MAN_SUFFIX
 
867
MISC_MAN_SUFFIX
 
868
FILE_MAN_SUFFIX
 
869
LIB_MAN_SUFFIX
 
870
APP_MAN_SUFFIX
 
871
SED
 
872
host_os
 
873
host_vendor
 
874
host_cpu
 
875
host
 
876
build_os
 
877
build_vendor
 
878
build_cpu
 
879
build
 
880
INSTALL_CMD
 
881
PKG_CONFIG
 
882
CHANGELOG_CMD
 
883
CWARNFLAGS
826
884
EGREP
827
885
GREP
828
 
SED
 
886
CPP
829
887
am__fastdepCC_FALSE
830
888
am__fastdepCC_TRUE
831
889
CCDEPMODE
842
900
LDFLAGS
843
901
CFLAGS
844
902
CC
845
 
host_os
846
 
host_vendor
847
 
host_cpu
848
 
host
849
 
build_os
850
 
build_vendor
851
 
build_cpu
852
 
build
853
 
LIBTOOL
854
903
MAINT
855
904
MAINTAINER_MODE_FALSE
856
905
MAINTAINER_MODE_TRUE
907
956
program_transform_name
908
957
prefix
909
958
exec_prefix
 
959
PACKAGE_URL
910
960
PACKAGE_BUGREPORT
911
961
PACKAGE_STRING
912
962
PACKAGE_VERSION
918
968
ac_user_opts='
919
969
enable_option_checking
920
970
enable_maintainer_mode
 
971
enable_dependency_tracking
 
972
enable_strict_compilation
 
973
enable_silent_rules
 
974
enable_docs
 
975
enable_specs
 
976
with_xmlto
 
977
with_fop
921
978
enable_shared
922
979
enable_static
923
980
with_pic
924
981
enable_fast_install
925
 
enable_dependency_tracking
926
982
with_gnu_ld
927
983
enable_libtool_lock
928
 
enable_silent_rules
929
984
enable_unix_transport
930
985
enable_tcp_transport
931
986
enable_ipv6
932
987
enable_local_transport
933
988
with_lint
934
989
enable_lint_library
935
 
with_release_version
936
990
'
937
991
      ac_precious_vars='build_alias
938
992
host_alias
944
998
CPPFLAGS
945
999
CPP
946
1000
PKG_CONFIG
 
1001
XMLTO
 
1002
FOP
947
1003
ICE_CFLAGS
948
1004
ICE_LIBS
949
1005
XTRANS_CFLAGS
950
 
XTRANS_LIBS'
 
1006
XTRANS_LIBS
 
1007
LINT
 
1008
LINT_FLAGS'
951
1009
 
952
1010
 
953
1011
# Initialize some variables set by options.
1056
1114
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057
1115
    # Reject names that are not valid shell variable names.
1058
1116
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1060
 
   { (exit 1); exit 1; }; }
 
1117
      as_fn_error "invalid feature name: $ac_useropt"
1061
1118
    ac_useropt_orig=$ac_useropt
1062
1119
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063
1120
    case $ac_user_opts in
1083
1140
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084
1141
    # Reject names that are not valid shell variable names.
1085
1142
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1087
 
   { (exit 1); exit 1; }; }
 
1143
      as_fn_error "invalid feature name: $ac_useropt"
1088
1144
    ac_useropt_orig=$ac_useropt
1089
1145
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090
1146
    case $ac_user_opts in
1288
1344
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289
1345
    # Reject names that are not valid shell variable names.
1290
1346
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292
 
   { (exit 1); exit 1; }; }
 
1347
      as_fn_error "invalid package name: $ac_useropt"
1293
1348
    ac_useropt_orig=$ac_useropt
1294
1349
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295
1350
    case $ac_user_opts in
1305
1360
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306
1361
    # Reject names that are not valid shell variable names.
1307
1362
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1309
 
   { (exit 1); exit 1; }; }
 
1363
      as_fn_error "invalid package name: $ac_useropt"
1310
1364
    ac_useropt_orig=$ac_useropt
1311
1365
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312
1366
    case $ac_user_opts in
1336
1390
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1337
1391
    x_libraries=$ac_optarg ;;
1338
1392
 
1339
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1340
 
Try \`$0 --help' for more information." >&2
1341
 
   { (exit 1); exit 1; }; }
 
1393
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1394
Try \`$0 --help' for more information."
1342
1395
    ;;
1343
1396
 
1344
1397
  *=*)
1345
1398
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1346
1399
    # Reject names that are not valid shell variable names.
1347
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1348
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1349
 
   { (exit 1); exit 1; }; }
 
1400
    case $ac_envvar in #(
 
1401
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1402
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1403
    esac
1350
1404
    eval $ac_envvar=\$ac_optarg
1351
1405
    export $ac_envvar ;;
1352
1406
 
1363
1417
 
1364
1418
if test -n "$ac_prev"; then
1365
1419
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1366
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1367
 
   { (exit 1); exit 1; }; }
 
1420
  as_fn_error "missing argument to $ac_option"
1368
1421
fi
1369
1422
 
1370
1423
if test -n "$ac_unrecognized_opts"; then
1371
1424
  case $enable_option_checking in
1372
1425
    no) ;;
1373
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1374
 
   { (exit 1); exit 1; }; } ;;
 
1426
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1375
1427
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376
1428
  esac
1377
1429
fi
1394
1446
    [\\/$]* | ?:[\\/]* )  continue;;
1395
1447
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1396
1448
  esac
1397
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1398
 
   { (exit 1); exit 1; }; }
 
1449
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1399
1450
done
1400
1451
 
1401
1452
# There might be people who depend on the old broken behavior: `$host'
1425
1476
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426
1477
ac_ls_di=`ls -di .` &&
1427
1478
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1429
 
   { (exit 1); exit 1; }; }
 
1479
  as_fn_error "working directory cannot be determined"
1430
1480
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1432
 
   { (exit 1); exit 1; }; }
 
1481
  as_fn_error "pwd does not report name of working directory"
1433
1482
 
1434
1483
 
1435
1484
# Find the source files, if location was not specified.
1468
1517
fi
1469
1518
if test ! -r "$srcdir/$ac_unique_file"; then
1470
1519
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1472
 
   { (exit 1); exit 1; }; }
 
1520
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1473
1521
fi
1474
1522
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1475
1523
ac_abs_confdir=`(
1476
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1477
 
   { (exit 1); exit 1; }; }
 
1524
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1478
1525
        pwd)`
1479
1526
# When building in place, set srcdir=.
1480
1527
if test "$ac_abs_confdir" = "$ac_pwd"; then
1500
1547
  # Omit some internal or obsolete options to make the list less imposing.
1501
1548
  # This message is too long to be a string in the A/UX 3.1 sh.
1502
1549
  cat <<_ACEOF
1503
 
\`configure' configures libICE 1.0.6 to adapt to many kinds of systems.
 
1550
\`configure' configures libICE 1.0.7 to adapt to many kinds of systems.
1504
1551
 
1505
1552
Usage: $0 [OPTION]... [VAR=VALUE]...
1506
1553
 
1570
1617
 
1571
1618
if test -n "$ac_init_help"; then
1572
1619
  case $ac_init_help in
1573
 
     short | recursive ) echo "Configuration of libICE 1.0.6:";;
 
1620
     short | recursive ) echo "Configuration of libICE 1.0.7:";;
1574
1621
   esac
1575
1622
  cat <<\_ACEOF
1576
1623
 
1580
1627
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1581
1628
  --enable-maintainer-mode  enable make rules and dependencies not useful
1582
1629
                          (and sometimes confusing) to the casual installer
 
1630
  --disable-dependency-tracking  speeds up one-time build
 
1631
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1632
  --enable-strict-compilation
 
1633
                          Enable all warnings from compiler and make them
 
1634
                          errors (default: disabled)
 
1635
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1636
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1637
  --enable-docs           Enable building the documentation (default: yes)
 
1638
  --enable-specs          Enable building the specs (default: yes)
1583
1639
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1584
1640
  --enable-static[=PKGS]  build static libraries [default=yes]
1585
1641
  --enable-fast-install[=PKGS]
1586
1642
                          optimize for fast installation [default=yes]
1587
 
  --disable-dependency-tracking  speeds up one-time build
1588
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1589
1643
  --disable-libtool-lock  avoid locking (might break parallel builds)
1590
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1591
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1592
1644
  --enable-unix-transport Enable UNIX domain socket transport
1593
1645
  --enable-tcp-transport  Enable TCP socket transport
1594
 
  --enable-ipv6           Enable IPv6 support
 
1646
  --enable-IPv6           Enable IPv6 support
1595
1647
  --enable-local-transport
1596
1648
                          Enable os-specific local transport
1597
1649
  --enable-lint-library   Create lint library (default: disabled)
1599
1651
Optional Packages:
1600
1652
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1601
1653
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1654
  --with-xmlto            Use xmlto to regenerate documentation (default: yes,
 
1655
                          if installed)
 
1656
  --with-fop              Use fop to regenerate documentation (default: yes,
 
1657
                          if installed)
1602
1658
  --with-pic              try to use only PIC/non-PIC objects [default=use
1603
1659
                          both]
1604
1660
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1605
1661
  --with-lint             Use a lint-style source code checker (default:
1606
1662
                          disabled)
1607
 
  --with-release-version=STRING
1608
 
                          Use release version string in package name
1609
1663
 
1610
1664
Some influential environment variables:
1611
1665
  CC          C compiler command
1613
1667
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1614
1668
              nonstandard directory <lib dir>
1615
1669
  LIBS        libraries to pass to the linker, e.g. -l<library>
1616
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1670
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1617
1671
              you have headers in a nonstandard directory <include dir>
1618
1672
  CPP         C preprocessor
1619
1673
  PKG_CONFIG  path to pkg-config utility
 
1674
  XMLTO       Path to xmlto command
 
1675
  FOP         Path to fop command
1620
1676
  ICE_CFLAGS  C compiler flags for ICE, overriding pkg-config
1621
1677
  ICE_LIBS    linker flags for ICE, overriding pkg-config
1622
1678
  XTRANS_CFLAGS
1623
1679
              C compiler flags for XTRANS, overriding pkg-config
1624
1680
  XTRANS_LIBS linker flags for XTRANS, overriding pkg-config
 
1681
  LINT        Path to a lint-style command
 
1682
  LINT_FLAGS  Flags for the lint-style command
1625
1683
 
1626
1684
Use these variables to override the choices made by `configure' or to help
1627
1685
it to find libraries and programs with nonstandard names/locations.
1689
1747
test -n "$ac_init_help" && exit $ac_status
1690
1748
if $ac_init_version; then
1691
1749
  cat <<\_ACEOF
1692
 
libICE configure 1.0.6
1693
 
generated by GNU Autoconf 2.63
 
1750
libICE configure 1.0.7
 
1751
generated by GNU Autoconf 2.65
1694
1752
 
1695
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1696
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1753
Copyright (C) 2009 Free Software Foundation, Inc.
1697
1754
This configure script is free software; the Free Software Foundation
1698
1755
gives unlimited permission to copy, distribute and modify it.
1699
1756
_ACEOF
1700
1757
  exit
1701
1758
fi
 
1759
 
 
1760
## ------------------------ ##
 
1761
## Autoconf initialization. ##
 
1762
## ------------------------ ##
 
1763
 
 
1764
# ac_fn_c_try_compile LINENO
 
1765
# --------------------------
 
1766
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1767
ac_fn_c_try_compile ()
 
1768
{
 
1769
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1770
  rm -f conftest.$ac_objext
 
1771
  if { { ac_try="$ac_compile"
 
1772
case "(($ac_try" in
 
1773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1774
  *) ac_try_echo=$ac_try;;
 
1775
esac
 
1776
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1777
$as_echo "$ac_try_echo"; } >&5
 
1778
  (eval "$ac_compile") 2>conftest.err
 
1779
  ac_status=$?
 
1780
  if test -s conftest.err; then
 
1781
    grep -v '^ *+' conftest.err >conftest.er1
 
1782
    cat conftest.er1 >&5
 
1783
    mv -f conftest.er1 conftest.err
 
1784
  fi
 
1785
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1786
  test $ac_status = 0; } && {
 
1787
         test -z "$ac_c_werror_flag" ||
 
1788
         test ! -s conftest.err
 
1789
       } && test -s conftest.$ac_objext; then :
 
1790
  ac_retval=0
 
1791
else
 
1792
  $as_echo "$as_me: failed program was:" >&5
 
1793
sed 's/^/| /' conftest.$ac_ext >&5
 
1794
 
 
1795
        ac_retval=1
 
1796
fi
 
1797
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1798
  as_fn_set_status $ac_retval
 
1799
 
 
1800
} # ac_fn_c_try_compile
 
1801
 
 
1802
# ac_fn_c_check_decl LINENO SYMBOL VAR
 
1803
# ------------------------------------
 
1804
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1805
ac_fn_c_check_decl ()
 
1806
{
 
1807
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1808
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
1809
$as_echo_n "checking whether $2 is declared... " >&6; }
 
1810
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1811
  $as_echo_n "(cached) " >&6
 
1812
else
 
1813
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1814
/* end confdefs.h.  */
 
1815
$4
 
1816
int
 
1817
main ()
 
1818
{
 
1819
#ifndef $2
 
1820
  (void) $2;
 
1821
#endif
 
1822
 
 
1823
  ;
 
1824
  return 0;
 
1825
}
 
1826
_ACEOF
 
1827
if ac_fn_c_try_compile "$LINENO"; then :
 
1828
  eval "$3=yes"
 
1829
else
 
1830
  eval "$3=no"
 
1831
fi
 
1832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1833
fi
 
1834
eval ac_res=\$$3
 
1835
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1836
$as_echo "$ac_res" >&6; }
 
1837
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1838
 
 
1839
} # ac_fn_c_check_decl
 
1840
 
 
1841
# ac_fn_c_try_cpp LINENO
 
1842
# ----------------------
 
1843
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1844
ac_fn_c_try_cpp ()
 
1845
{
 
1846
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1847
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1848
case "(($ac_try" in
 
1849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1850
  *) ac_try_echo=$ac_try;;
 
1851
esac
 
1852
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1853
$as_echo "$ac_try_echo"; } >&5
 
1854
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1855
  ac_status=$?
 
1856
  if test -s conftest.err; then
 
1857
    grep -v '^ *+' conftest.err >conftest.er1
 
1858
    cat conftest.er1 >&5
 
1859
    mv -f conftest.er1 conftest.err
 
1860
  fi
 
1861
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1862
  test $ac_status = 0; } >/dev/null && {
 
1863
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1864
         test ! -s conftest.err
 
1865
       }; then :
 
1866
  ac_retval=0
 
1867
else
 
1868
  $as_echo "$as_me: failed program was:" >&5
 
1869
sed 's/^/| /' conftest.$ac_ext >&5
 
1870
 
 
1871
    ac_retval=1
 
1872
fi
 
1873
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1874
  as_fn_set_status $ac_retval
 
1875
 
 
1876
} # ac_fn_c_try_cpp
 
1877
 
 
1878
# ac_fn_c_try_run LINENO
 
1879
# ----------------------
 
1880
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1881
# that executables *can* be run.
 
1882
ac_fn_c_try_run ()
 
1883
{
 
1884
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1885
  if { { ac_try="$ac_link"
 
1886
case "(($ac_try" in
 
1887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1888
  *) ac_try_echo=$ac_try;;
 
1889
esac
 
1890
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1891
$as_echo "$ac_try_echo"; } >&5
 
1892
  (eval "$ac_link") 2>&5
 
1893
  ac_status=$?
 
1894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1895
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1896
  { { case "(($ac_try" in
 
1897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1898
  *) ac_try_echo=$ac_try;;
 
1899
esac
 
1900
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1901
$as_echo "$ac_try_echo"; } >&5
 
1902
  (eval "$ac_try") 2>&5
 
1903
  ac_status=$?
 
1904
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1905
  test $ac_status = 0; }; }; then :
 
1906
  ac_retval=0
 
1907
else
 
1908
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1909
       $as_echo "$as_me: failed program was:" >&5
 
1910
sed 's/^/| /' conftest.$ac_ext >&5
 
1911
 
 
1912
       ac_retval=$ac_status
 
1913
fi
 
1914
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1915
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1916
  as_fn_set_status $ac_retval
 
1917
 
 
1918
} # ac_fn_c_try_run
 
1919
 
 
1920
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1921
# -------------------------------------------------------
 
1922
# Tests whether HEADER exists and can be compiled using the include files in
 
1923
# INCLUDES, setting the cache variable VAR accordingly.
 
1924
ac_fn_c_check_header_compile ()
 
1925
{
 
1926
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1927
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1928
$as_echo_n "checking for $2... " >&6; }
 
1929
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1930
  $as_echo_n "(cached) " >&6
 
1931
else
 
1932
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1933
/* end confdefs.h.  */
 
1934
$4
 
1935
#include <$2>
 
1936
_ACEOF
 
1937
if ac_fn_c_try_compile "$LINENO"; then :
 
1938
  eval "$3=yes"
 
1939
else
 
1940
  eval "$3=no"
 
1941
fi
 
1942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1943
fi
 
1944
eval ac_res=\$$3
 
1945
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1946
$as_echo "$ac_res" >&6; }
 
1947
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1948
 
 
1949
} # ac_fn_c_check_header_compile
 
1950
 
 
1951
# ac_fn_c_try_link LINENO
 
1952
# -----------------------
 
1953
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1954
ac_fn_c_try_link ()
 
1955
{
 
1956
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1957
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1958
  if { { ac_try="$ac_link"
 
1959
case "(($ac_try" in
 
1960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1961
  *) ac_try_echo=$ac_try;;
 
1962
esac
 
1963
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1964
$as_echo "$ac_try_echo"; } >&5
 
1965
  (eval "$ac_link") 2>conftest.err
 
1966
  ac_status=$?
 
1967
  if test -s conftest.err; then
 
1968
    grep -v '^ *+' conftest.err >conftest.er1
 
1969
    cat conftest.er1 >&5
 
1970
    mv -f conftest.er1 conftest.err
 
1971
  fi
 
1972
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1973
  test $ac_status = 0; } && {
 
1974
         test -z "$ac_c_werror_flag" ||
 
1975
         test ! -s conftest.err
 
1976
       } && test -s conftest$ac_exeext && {
 
1977
         test "$cross_compiling" = yes ||
 
1978
         $as_test_x conftest$ac_exeext
 
1979
       }; then :
 
1980
  ac_retval=0
 
1981
else
 
1982
  $as_echo "$as_me: failed program was:" >&5
 
1983
sed 's/^/| /' conftest.$ac_ext >&5
 
1984
 
 
1985
        ac_retval=1
 
1986
fi
 
1987
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1988
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1989
  # interfere with the next link command; also delete a directory that is
 
1990
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1991
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1992
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1993
  as_fn_set_status $ac_retval
 
1994
 
 
1995
} # ac_fn_c_try_link
 
1996
 
 
1997
# ac_fn_c_check_func LINENO FUNC VAR
 
1998
# ----------------------------------
 
1999
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2000
ac_fn_c_check_func ()
 
2001
{
 
2002
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2003
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2004
$as_echo_n "checking for $2... " >&6; }
 
2005
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2006
  $as_echo_n "(cached) " >&6
 
2007
else
 
2008
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2009
/* end confdefs.h.  */
 
2010
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2011
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2012
#define $2 innocuous_$2
 
2013
 
 
2014
/* System header to define __stub macros and hopefully few prototypes,
 
2015
    which can conflict with char $2 (); below.
 
2016
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2017
    <limits.h> exists even on freestanding compilers.  */
 
2018
 
 
2019
#ifdef __STDC__
 
2020
# include <limits.h>
 
2021
#else
 
2022
# include <assert.h>
 
2023
#endif
 
2024
 
 
2025
#undef $2
 
2026
 
 
2027
/* Override any GCC internal prototype to avoid an error.
 
2028
   Use char because int might match the return type of a GCC
 
2029
   builtin and then its argument prototype would still apply.  */
 
2030
#ifdef __cplusplus
 
2031
extern "C"
 
2032
#endif
 
2033
char $2 ();
 
2034
/* The GNU C library defines this for functions which it implements
 
2035
    to always fail with ENOSYS.  Some functions are actually named
 
2036
    something starting with __ and the normal name is an alias.  */
 
2037
#if defined __stub_$2 || defined __stub___$2
 
2038
choke me
 
2039
#endif
 
2040
 
 
2041
int
 
2042
main ()
 
2043
{
 
2044
return $2 ();
 
2045
  ;
 
2046
  return 0;
 
2047
}
 
2048
_ACEOF
 
2049
if ac_fn_c_try_link "$LINENO"; then :
 
2050
  eval "$3=yes"
 
2051
else
 
2052
  eval "$3=no"
 
2053
fi
 
2054
rm -f core conftest.err conftest.$ac_objext \
 
2055
    conftest$ac_exeext conftest.$ac_ext
 
2056
fi
 
2057
eval ac_res=\$$3
 
2058
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2059
$as_echo "$ac_res" >&6; }
 
2060
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2061
 
 
2062
} # ac_fn_c_check_func
 
2063
 
 
2064
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
2065
# ----------------------------------------------------
 
2066
# Tries to find if the field MEMBER exists in type AGGR, after including
 
2067
# INCLUDES, setting cache variable VAR accordingly.
 
2068
ac_fn_c_check_member ()
 
2069
{
 
2070
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
2072
$as_echo_n "checking for $2.$3... " >&6; }
 
2073
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2074
  $as_echo_n "(cached) " >&6
 
2075
else
 
2076
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2077
/* end confdefs.h.  */
 
2078
$5
 
2079
int
 
2080
main ()
 
2081
{
 
2082
static $2 ac_aggr;
 
2083
if (ac_aggr.$3)
 
2084
return 0;
 
2085
  ;
 
2086
  return 0;
 
2087
}
 
2088
_ACEOF
 
2089
if ac_fn_c_try_compile "$LINENO"; then :
 
2090
  eval "$4=yes"
 
2091
else
 
2092
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2093
/* end confdefs.h.  */
 
2094
$5
 
2095
int
 
2096
main ()
 
2097
{
 
2098
static $2 ac_aggr;
 
2099
if (sizeof ac_aggr.$3)
 
2100
return 0;
 
2101
  ;
 
2102
  return 0;
 
2103
}
 
2104
_ACEOF
 
2105
if ac_fn_c_try_compile "$LINENO"; then :
 
2106
  eval "$4=yes"
 
2107
else
 
2108
  eval "$4=no"
 
2109
fi
 
2110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2111
fi
 
2112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2113
fi
 
2114
eval ac_res=\$$4
 
2115
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2116
$as_echo "$ac_res" >&6; }
 
2117
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2118
 
 
2119
} # ac_fn_c_check_member
 
2120
 
 
2121
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2122
# -------------------------------------------
 
2123
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2124
# variable VAR accordingly.
 
2125
ac_fn_c_check_type ()
 
2126
{
 
2127
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2128
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2129
$as_echo_n "checking for $2... " >&6; }
 
2130
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2131
  $as_echo_n "(cached) " >&6
 
2132
else
 
2133
  eval "$3=no"
 
2134
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2135
/* end confdefs.h.  */
 
2136
$4
 
2137
int
 
2138
main ()
 
2139
{
 
2140
if (sizeof ($2))
 
2141
         return 0;
 
2142
  ;
 
2143
  return 0;
 
2144
}
 
2145
_ACEOF
 
2146
if ac_fn_c_try_compile "$LINENO"; then :
 
2147
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2148
/* end confdefs.h.  */
 
2149
$4
 
2150
int
 
2151
main ()
 
2152
{
 
2153
if (sizeof (($2)))
 
2154
            return 0;
 
2155
  ;
 
2156
  return 0;
 
2157
}
 
2158
_ACEOF
 
2159
if ac_fn_c_try_compile "$LINENO"; then :
 
2160
 
 
2161
else
 
2162
  eval "$3=yes"
 
2163
fi
 
2164
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2165
fi
 
2166
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2167
fi
 
2168
eval ac_res=\$$3
 
2169
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2170
$as_echo "$ac_res" >&6; }
 
2171
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2172
 
 
2173
} # ac_fn_c_check_type
1702
2174
cat >config.log <<_ACEOF
1703
2175
This file contains any messages produced by compilers while
1704
2176
running configure, to aid debugging if configure makes a mistake.
1705
2177
 
1706
 
It was created by libICE $as_me 1.0.6, which was
1707
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2178
It was created by libICE $as_me 1.0.7, which was
 
2179
generated by GNU Autoconf 2.65.  Invocation command line was
1708
2180
 
1709
2181
  $ $0 $@
1710
2182
 
1740
2212
do
1741
2213
  IFS=$as_save_IFS
1742
2214
  test -z "$as_dir" && as_dir=.
1743
 
  $as_echo "PATH: $as_dir"
1744
 
done
 
2215
    $as_echo "PATH: $as_dir"
 
2216
  done
1745
2217
IFS=$as_save_IFS
1746
2218
 
1747
2219
} >&5
1778
2250
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1779
2251
    esac
1780
2252
    case $ac_pass in
1781
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2253
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1782
2254
    2)
1783
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2255
      as_fn_append ac_configure_args1 " '$ac_arg'"
1784
2256
      if test $ac_must_keep_next = true; then
1785
2257
        ac_must_keep_next=false # Got value, back to normal.
1786
2258
      else
1796
2268
          -* ) ac_must_keep_next=true ;;
1797
2269
        esac
1798
2270
      fi
1799
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2271
      as_fn_append ac_configure_args " '$ac_arg'"
1800
2272
      ;;
1801
2273
    esac
1802
2274
  done
1803
2275
done
1804
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1805
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2276
{ ac_configure_args0=; unset ac_configure_args0;}
 
2277
{ ac_configure_args1=; unset ac_configure_args1;}
1806
2278
 
1807
2279
# When interrupted or exit'd, cleanup temporary files, and complete
1808
2280
# config.log.  We remove comments because anyway the quotes in there
1827
2299
    case $ac_val in #(
1828
2300
    *${as_nl}*)
1829
2301
      case $ac_var in #(
1830
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2302
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1831
2303
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1832
2304
      esac
1833
2305
      case $ac_var in #(
1834
2306
      _ | IFS | as_nl) ;; #(
1835
2307
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1836
 
      *) $as_unset $ac_var ;;
 
2308
      *) { eval $ac_var=; unset $ac_var;} ;;
1837
2309
      esac ;;
1838
2310
    esac
1839
2311
  done
1905
2377
    exit $exit_status
1906
2378
' 0
1907
2379
for ac_signal in 1 2 13 15; do
1908
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2380
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1909
2381
done
1910
2382
ac_signal=0
1911
2383
 
1912
2384
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1913
2385
rm -f -r conftest* confdefs.h
1914
2386
 
 
2387
$as_echo "/* confdefs.h */" > confdefs.h
 
2388
 
1915
2389
# Predefined preprocessor variables.
1916
2390
 
1917
2391
cat >>confdefs.h <<_ACEOF
1918
2392
#define PACKAGE_NAME "$PACKAGE_NAME"
1919
2393
_ACEOF
1920
2394
 
1921
 
 
1922
2395
cat >>confdefs.h <<_ACEOF
1923
2396
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1924
2397
_ACEOF
1925
2398
 
1926
 
 
1927
2399
cat >>confdefs.h <<_ACEOF
1928
2400
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1929
2401
_ACEOF
1930
2402
 
1931
 
 
1932
2403
cat >>confdefs.h <<_ACEOF
1933
2404
#define PACKAGE_STRING "$PACKAGE_STRING"
1934
2405
_ACEOF
1935
2406
 
1936
 
 
1937
2407
cat >>confdefs.h <<_ACEOF
1938
2408
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1939
2409
_ACEOF
1940
2410
 
 
2411
cat >>confdefs.h <<_ACEOF
 
2412
#define PACKAGE_URL "$PACKAGE_URL"
 
2413
_ACEOF
 
2414
 
1941
2415
 
1942
2416
# Let the site file select an alternate cache file if it wants to.
1943
2417
# Prefer an explicitly selected file to automatically selected ones.
1955
2429
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1956
2430
do
1957
2431
  test "x$ac_site_file" = xNONE && continue
1958
 
  if test -r "$ac_site_file"; then
1959
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2432
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2433
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1960
2434
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1961
2435
    sed 's/^/| /' "$ac_site_file" >&5
1962
2436
    . "$ac_site_file"
1964
2438
done
1965
2439
 
1966
2440
if test -r "$cache_file"; then
1967
 
  # Some versions of bash will fail to source /dev/null (special
1968
 
  # files actually), so we avoid doing that.
1969
 
  if test -f "$cache_file"; then
1970
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2441
  # Some versions of bash will fail to source /dev/null (special files
 
2442
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2443
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2444
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1971
2445
$as_echo "$as_me: loading cache $cache_file" >&6;}
1972
2446
    case $cache_file in
1973
2447
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1975
2449
    esac
1976
2450
  fi
1977
2451
else
1978
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2452
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1979
2453
$as_echo "$as_me: creating cache $cache_file" >&6;}
1980
2454
  >$cache_file
1981
2455
fi
1990
2464
  eval ac_new_val=\$ac_env_${ac_var}_value
1991
2465
  case $ac_old_set,$ac_new_set in
1992
2466
    set,)
1993
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2467
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1994
2468
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1995
2469
      ac_cache_corrupted=: ;;
1996
2470
    ,set)
1997
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2471
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1998
2472
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1999
2473
      ac_cache_corrupted=: ;;
2000
2474
    ,);;
2004
2478
        ac_old_val_w=`echo x $ac_old_val`
2005
2479
        ac_new_val_w=`echo x $ac_new_val`
2006
2480
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2007
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2481
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2008
2482
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2009
2483
          ac_cache_corrupted=:
2010
2484
        else
2011
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2485
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2012
2486
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2013
2487
          eval $ac_var=\$ac_old_val
2014
2488
        fi
2015
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2489
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2016
2490
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2017
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2491
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2018
2492
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2019
2493
      fi;;
2020
2494
  esac
2026
2500
    esac
2027
2501
    case " $ac_configure_args " in
2028
2502
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2029
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2503
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2030
2504
    esac
2031
2505
  fi
2032
2506
done
2033
2507
if $ac_cache_corrupted; then
2034
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2508
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2035
2509
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2036
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2510
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2037
2511
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2038
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2039
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2040
 
   { (exit 1); exit 1; }; }
 
2512
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2041
2513
fi
2042
 
 
2043
 
 
2044
 
 
2045
 
 
2046
 
 
2047
 
 
2048
 
 
2049
 
 
2050
 
 
2051
 
 
2052
 
 
2053
 
 
2054
 
 
2055
 
 
2056
 
 
2057
 
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
 
2514
## -------------------- ##
 
2515
## Main body of script. ##
 
2516
## -------------------- ##
2066
2517
 
2067
2518
ac_ext=c
2068
2519
ac_cpp='$CPP $CPPFLAGS'
2077
2528
 
2078
2529
ac_aux_dir=
2079
2530
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2080
 
  if test -f "$ac_dir/install-sh"; then
2081
 
    ac_aux_dir=$ac_dir
2082
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2083
 
    break
2084
 
  elif test -f "$ac_dir/install.sh"; then
2085
 
    ac_aux_dir=$ac_dir
2086
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2087
 
    break
2088
 
  elif test -f "$ac_dir/shtool"; then
2089
 
    ac_aux_dir=$ac_dir
2090
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2091
 
    break
2092
 
  fi
 
2531
  for ac_t in install-sh install.sh shtool; do
 
2532
    if test -f "$ac_dir/$ac_t"; then
 
2533
      ac_aux_dir=$ac_dir
 
2534
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2535
      break 2
 
2536
    fi
 
2537
  done
2093
2538
done
2094
2539
if test -z "$ac_aux_dir"; then
2095
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2096
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2097
 
   { (exit 1); exit 1; }; }
 
2540
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2098
2541
fi
2099
2542
 
2100
2543
# These three variables are undocumented and unsupported,
2120
2563
# OS/2's system install, which has a completely different semantic
2121
2564
# ./install, which can be erroneously created by make from ./install.sh.
2122
2565
# Reject install programs that cannot install multiple files.
2123
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2124
2567
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2125
2568
if test -z "$INSTALL"; then
2126
 
if test "${ac_cv_path_install+set}" = set; then
 
2569
if test "${ac_cv_path_install+set}" = set; then :
2127
2570
  $as_echo_n "(cached) " >&6
2128
2571
else
2129
2572
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131
2574
do
2132
2575
  IFS=$as_save_IFS
2133
2576
  test -z "$as_dir" && as_dir=.
2134
 
  # Account for people who put trailing slashes in PATH elements.
2135
 
case $as_dir/ in
2136
 
  ./ | .// | /cC/* | \
 
2577
    # Account for people who put trailing slashes in PATH elements.
 
2578
case $as_dir/ in #((
 
2579
  ./ | .// | /[cC]/* | \
2137
2580
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2138
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2581
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2139
2582
  /usr/ucb/* ) ;;
2140
2583
  *)
2141
2584
    # OSF1 and SCO ODT 3.0 have their own names for install.
2172
2615
    ;;
2173
2616
esac
2174
2617
 
2175
 
done
 
2618
  done
2176
2619
IFS=$as_save_IFS
2177
2620
 
2178
2621
rm -rf conftest.one conftest.two conftest.dir
2188
2631
    INSTALL=$ac_install_sh
2189
2632
  fi
2190
2633
fi
2191
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2192
2635
$as_echo "$INSTALL" >&6; }
2193
2636
 
2194
2637
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2199
2642
 
2200
2643
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2201
2644
 
2202
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2203
2646
$as_echo_n "checking whether build environment is sane... " >&6; }
2204
2647
# Just in case
2205
2648
sleep 1
2210
2653
'
2211
2654
case `pwd` in
2212
2655
  *[\\\"\#\$\&\'\`$am_lf]*)
2213
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2214
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2215
 
   { (exit 1); exit 1; }; };;
 
2656
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2216
2657
esac
2217
2658
case $srcdir in
2218
2659
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2219
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2220
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2221
 
   { (exit 1); exit 1; }; };;
 
2660
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2222
2661
esac
2223
2662
 
2224
2663
# Do `set' in a subshell so we don't clobber the current shell's
2240
2679
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2241
2680
      # broken ls alias from the environment.  This has actually
2242
2681
      # happened.  Such a system could not be considered "sane".
2243
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2244
 
alias in your environment" >&5
2245
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2246
 
alias in your environment" >&2;}
2247
 
   { (exit 1); exit 1; }; }
 
2682
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2683
alias in your environment" "$LINENO" 5
2248
2684
   fi
2249
2685
 
2250
2686
   test "$2" = conftest.file
2253
2689
   # Ok.
2254
2690
   :
2255
2691
else
2256
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2257
 
Check your system clock" >&5
2258
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2259
 
Check your system clock" >&2;}
2260
 
   { (exit 1); exit 1; }; }
 
2692
   as_fn_error "newly created file is older than distributed files!
 
2693
Check your system clock" "$LINENO" 5
2261
2694
fi
2262
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2263
2696
$as_echo "yes" >&6; }
2264
2697
test "$program_prefix" != NONE &&
2265
2698
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2287
2720
  am_missing_run="$MISSING --run "
2288
2721
else
2289
2722
  am_missing_run=
2290
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2723
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2291
2724
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2292
2725
fi
2293
2726
 
2308
2741
  if test -n "$ac_tool_prefix"; then
2309
2742
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2310
2743
set dummy ${ac_tool_prefix}strip; ac_word=$2
2311
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2312
2745
$as_echo_n "checking for $ac_word... " >&6; }
2313
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2746
if test "${ac_cv_prog_STRIP+set}" = set; then :
2314
2747
  $as_echo_n "(cached) " >&6
2315
2748
else
2316
2749
  if test -n "$STRIP"; then
2321
2754
do
2322
2755
  IFS=$as_save_IFS
2323
2756
  test -z "$as_dir" && as_dir=.
2324
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2757
    for ac_exec_ext in '' $ac_executable_extensions; do
2325
2758
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326
2759
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2327
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2760
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328
2761
    break 2
2329
2762
  fi
2330
2763
done
2331
 
done
 
2764
  done
2332
2765
IFS=$as_save_IFS
2333
2766
 
2334
2767
fi
2335
2768
fi
2336
2769
STRIP=$ac_cv_prog_STRIP
2337
2770
if test -n "$STRIP"; then
2338
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2339
2772
$as_echo "$STRIP" >&6; }
2340
2773
else
2341
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342
2775
$as_echo "no" >&6; }
2343
2776
fi
2344
2777
 
2348
2781
  ac_ct_STRIP=$STRIP
2349
2782
  # Extract the first word of "strip", so it can be a program name with args.
2350
2783
set dummy strip; ac_word=$2
2351
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352
2785
$as_echo_n "checking for $ac_word... " >&6; }
2353
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2786
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2354
2787
  $as_echo_n "(cached) " >&6
2355
2788
else
2356
2789
  if test -n "$ac_ct_STRIP"; then
2361
2794
do
2362
2795
  IFS=$as_save_IFS
2363
2796
  test -z "$as_dir" && as_dir=.
2364
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2797
    for ac_exec_ext in '' $ac_executable_extensions; do
2365
2798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366
2799
    ac_cv_prog_ac_ct_STRIP="strip"
2367
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2800
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368
2801
    break 2
2369
2802
  fi
2370
2803
done
2371
 
done
 
2804
  done
2372
2805
IFS=$as_save_IFS
2373
2806
 
2374
2807
fi
2375
2808
fi
2376
2809
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2377
2810
if test -n "$ac_ct_STRIP"; then
2378
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2379
2812
$as_echo "$ac_ct_STRIP" >&6; }
2380
2813
else
2381
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382
2815
$as_echo "no" >&6; }
2383
2816
fi
2384
2817
 
2387
2820
  else
2388
2821
    case $cross_compiling:$ac_tool_warned in
2389
2822
yes:)
2390
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2823
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2391
2824
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2392
2825
ac_tool_warned=yes ;;
2393
2826
esac
2400
2833
fi
2401
2834
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2402
2835
 
2403
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2404
2837
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2405
2838
if test -z "$MKDIR_P"; then
2406
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2839
  if test "${ac_cv_path_mkdir+set}" = set; then :
2407
2840
  $as_echo_n "(cached) " >&6
2408
2841
else
2409
2842
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411
2844
do
2412
2845
  IFS=$as_save_IFS
2413
2846
  test -z "$as_dir" && as_dir=.
2414
 
  for ac_prog in mkdir gmkdir; do
 
2847
    for ac_prog in mkdir gmkdir; do
2415
2848
         for ac_exec_ext in '' $ac_executable_extensions; do
2416
2849
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2417
2850
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2423
2856
           esac
2424
2857
         done
2425
2858
       done
2426
 
done
 
2859
  done
2427
2860
IFS=$as_save_IFS
2428
2861
 
2429
2862
fi
2430
2863
 
 
2864
  test -d ./--version && rmdir ./--version
2431
2865
  if test "${ac_cv_path_mkdir+set}" = set; then
2432
2866
    MKDIR_P="$ac_cv_path_mkdir -p"
2433
2867
  else
2435
2869
    # value for MKDIR_P within a source directory, because that will
2436
2870
    # break other packages using the cache if that directory is
2437
2871
    # removed, or if the value is a relative name.
2438
 
    test -d ./--version && rmdir ./--version
2439
2872
    MKDIR_P="$ac_install_sh -d"
2440
2873
  fi
2441
2874
fi
2442
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2443
2876
$as_echo "$MKDIR_P" >&6; }
2444
2877
 
2445
2878
mkdir_p="$MKDIR_P"
2452
2885
do
2453
2886
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2454
2887
set dummy $ac_prog; ac_word=$2
2455
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2456
2889
$as_echo_n "checking for $ac_word... " >&6; }
2457
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2890
if test "${ac_cv_prog_AWK+set}" = set; then :
2458
2891
  $as_echo_n "(cached) " >&6
2459
2892
else
2460
2893
  if test -n "$AWK"; then
2465
2898
do
2466
2899
  IFS=$as_save_IFS
2467
2900
  test -z "$as_dir" && as_dir=.
2468
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2901
    for ac_exec_ext in '' $ac_executable_extensions; do
2469
2902
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470
2903
    ac_cv_prog_AWK="$ac_prog"
2471
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2904
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2472
2905
    break 2
2473
2906
  fi
2474
2907
done
2475
 
done
 
2908
  done
2476
2909
IFS=$as_save_IFS
2477
2910
 
2478
2911
fi
2479
2912
fi
2480
2913
AWK=$ac_cv_prog_AWK
2481
2914
if test -n "$AWK"; then
2482
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2483
2916
$as_echo "$AWK" >&6; }
2484
2917
else
2485
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486
2919
$as_echo "no" >&6; }
2487
2920
fi
2488
2921
 
2490
2923
  test -n "$AWK" && break
2491
2924
done
2492
2925
 
2493
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2494
2927
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2495
2928
set x ${MAKE-make}
2496
2929
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2497
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2930
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2498
2931
  $as_echo_n "(cached) " >&6
2499
2932
else
2500
2933
  cat >conftest.make <<\_ACEOF
2512
2945
rm -f conftest.make
2513
2946
fi
2514
2947
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2515
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2516
2949
$as_echo "yes" >&6; }
2517
2950
  SET_MAKE=
2518
2951
else
2519
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2952
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520
2953
$as_echo "no" >&6; }
2521
2954
  SET_MAKE="MAKE=${MAKE-make}"
2522
2955
fi
2536
2969
  am__isrc=' -I$(srcdir)'
2537
2970
  # test to see if srcdir already configured
2538
2971
  if test -f $srcdir/config.status; then
2539
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2540
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2541
 
   { (exit 1); exit 1; }; }
 
2972
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2542
2973
  fi
2543
2974
fi
2544
2975
 
2554
2985
 
2555
2986
# Define the identity of the package.
2556
2987
 PACKAGE='libICE'
2557
 
 VERSION='1.0.6'
 
2988
 VERSION='1.0.7'
2558
2989
 
2559
2990
 
2560
2991
cat >>confdefs.h <<_ACEOF
2596
3027
 
2597
3028
 
2598
3029
 
2599
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2600
3031
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2601
3032
    # Check whether --enable-maintainer-mode was given.
2602
 
if test "${enable_maintainer_mode+set}" = set; then
 
3033
if test "${enable_maintainer_mode+set}" = set; then :
2603
3034
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2604
3035
else
2605
3036
  USE_MAINTAINER_MODE=no
2606
3037
fi
2607
3038
 
2608
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2609
3040
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2610
3041
   if test $USE_MAINTAINER_MODE = yes; then
2611
3042
  MAINTAINER_MODE_TRUE=
2618
3049
  MAINT=$MAINTAINER_MODE_TRUE
2619
3050
 
2620
3051
 
2621
 
 
2622
 
# Require xorg-macros at least 1.2.1
2623
 
 
2624
 
 
2625
 
 
2626
 
 
2627
 
 
2628
 
 
2629
 
 
2630
 
 
2631
 
 
2632
 
 
2633
 
 
2634
3052
ac_config_headers="$ac_config_headers config.h"
2635
3053
 
2636
3054
 
2637
 
# Checks for programs.
2638
 
case `pwd` in
2639
 
  *\ * | *\     *)
2640
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2641
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2642
 
esac
2643
 
 
2644
 
 
2645
 
 
2646
 
macro_version='2.2.6'
2647
 
macro_revision='1.3012'
2648
 
 
2649
 
 
2650
 
 
2651
 
 
2652
 
 
2653
 
 
2654
 
 
2655
 
 
2656
 
 
2657
 
 
2658
 
 
2659
 
 
2660
 
 
2661
 
ltmain="$ac_aux_dir/ltmain.sh"
2662
 
 
2663
 
# Make sure we can run config.sub.
2664
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2665
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2666
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2667
 
   { (exit 1); exit 1; }; }
2668
 
 
2669
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2670
 
$as_echo_n "checking build system type... " >&6; }
2671
 
if test "${ac_cv_build+set}" = set; then
2672
 
  $as_echo_n "(cached) " >&6
2673
 
else
2674
 
  ac_build_alias=$build_alias
2675
 
test "x$ac_build_alias" = x &&
2676
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2677
 
test "x$ac_build_alias" = x &&
2678
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2679
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2680
 
   { (exit 1); exit 1; }; }
2681
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2682
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2683
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2684
 
   { (exit 1); exit 1; }; }
2685
 
 
2686
 
fi
2687
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2688
 
$as_echo "$ac_cv_build" >&6; }
2689
 
case $ac_cv_build in
2690
 
*-*-*) ;;
2691
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2692
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2693
 
   { (exit 1); exit 1; }; };;
2694
 
esac
2695
 
build=$ac_cv_build
2696
 
ac_save_IFS=$IFS; IFS='-'
2697
 
set x $ac_cv_build
2698
 
shift
2699
 
build_cpu=$1
2700
 
build_vendor=$2
2701
 
shift; shift
2702
 
# Remember, the first character of IFS is used to create $*,
2703
 
# except with old shells:
2704
 
build_os=$*
2705
 
IFS=$ac_save_IFS
2706
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2707
 
 
2708
 
 
2709
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2710
 
$as_echo_n "checking host system type... " >&6; }
2711
 
if test "${ac_cv_host+set}" = set; then
2712
 
  $as_echo_n "(cached) " >&6
2713
 
else
2714
 
  if test "x$host_alias" = x; then
2715
 
  ac_cv_host=$ac_cv_build
2716
 
else
2717
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2718
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2719
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2720
 
   { (exit 1); exit 1; }; }
2721
 
fi
2722
 
 
2723
 
fi
2724
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2725
 
$as_echo "$ac_cv_host" >&6; }
2726
 
case $ac_cv_host in
2727
 
*-*-*) ;;
2728
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2729
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2730
 
   { (exit 1); exit 1; }; };;
2731
 
esac
2732
 
host=$ac_cv_host
2733
 
ac_save_IFS=$IFS; IFS='-'
2734
 
set x $ac_cv_host
2735
 
shift
2736
 
host_cpu=$1
2737
 
host_vendor=$2
2738
 
shift; shift
2739
 
# Remember, the first character of IFS is used to create $*,
2740
 
# except with old shells:
2741
 
host_os=$*
2742
 
IFS=$ac_save_IFS
2743
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3055
# Require xorg-macros minimum of 1.10 for DocBook XML documentation
 
3056
 
 
3057
 
 
3058
 
 
3059
 
 
3060
 
 
3061
 
 
3062
 
 
3063
 
 
3064
 
2744
3065
 
2745
3066
 
2746
3067
DEPDIR="${am__leading_dot}deps"
2755
3076
.PHONY: am__doit
2756
3077
END
2757
3078
# If we don't find an include directive, just comment out the code.
2758
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2759
3080
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2760
3081
am__include="#"
2761
3082
am__quote=
2783
3104
fi
2784
3105
 
2785
3106
 
2786
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2787
3108
$as_echo "$_am_result" >&6; }
2788
3109
rm -f confinc confmf
2789
3110
 
2790
3111
# Check whether --enable-dependency-tracking was given.
2791
 
if test "${enable_dependency_tracking+set}" = set; then
 
3112
if test "${enable_dependency_tracking+set}" = set; then :
2792
3113
  enableval=$enable_dependency_tracking;
2793
3114
fi
2794
3115
 
2813
3134
if test -n "$ac_tool_prefix"; then
2814
3135
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2815
3136
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2816
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817
3138
$as_echo_n "checking for $ac_word... " >&6; }
2818
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3139
if test "${ac_cv_prog_CC+set}" = set; then :
2819
3140
  $as_echo_n "(cached) " >&6
2820
3141
else
2821
3142
  if test -n "$CC"; then
2826
3147
do
2827
3148
  IFS=$as_save_IFS
2828
3149
  test -z "$as_dir" && as_dir=.
2829
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3150
    for ac_exec_ext in '' $ac_executable_extensions; do
2830
3151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831
3152
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2832
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3153
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833
3154
    break 2
2834
3155
  fi
2835
3156
done
2836
 
done
 
3157
  done
2837
3158
IFS=$as_save_IFS
2838
3159
 
2839
3160
fi
2840
3161
fi
2841
3162
CC=$ac_cv_prog_CC
2842
3163
if test -n "$CC"; then
2843
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844
3165
$as_echo "$CC" >&6; }
2845
3166
else
2846
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847
3168
$as_echo "no" >&6; }
2848
3169
fi
2849
3170
 
2853
3174
  ac_ct_CC=$CC
2854
3175
  # Extract the first word of "gcc", so it can be a program name with args.
2855
3176
set dummy gcc; ac_word=$2
2856
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857
3178
$as_echo_n "checking for $ac_word... " >&6; }
2858
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3179
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2859
3180
  $as_echo_n "(cached) " >&6
2860
3181
else
2861
3182
  if test -n "$ac_ct_CC"; then
2866
3187
do
2867
3188
  IFS=$as_save_IFS
2868
3189
  test -z "$as_dir" && as_dir=.
2869
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3190
    for ac_exec_ext in '' $ac_executable_extensions; do
2870
3191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2871
3192
    ac_cv_prog_ac_ct_CC="gcc"
2872
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3193
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2873
3194
    break 2
2874
3195
  fi
2875
3196
done
2876
 
done
 
3197
  done
2877
3198
IFS=$as_save_IFS
2878
3199
 
2879
3200
fi
2880
3201
fi
2881
3202
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2882
3203
if test -n "$ac_ct_CC"; then
2883
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2884
3205
$as_echo "$ac_ct_CC" >&6; }
2885
3206
else
2886
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887
3208
$as_echo "no" >&6; }
2888
3209
fi
2889
3210
 
2892
3213
  else
2893
3214
    case $cross_compiling:$ac_tool_warned in
2894
3215
yes:)
2895
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2896
3217
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2897
3218
ac_tool_warned=yes ;;
2898
3219
esac
2906
3227
          if test -n "$ac_tool_prefix"; then
2907
3228
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2908
3229
set dummy ${ac_tool_prefix}cc; ac_word=$2
2909
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910
3231
$as_echo_n "checking for $ac_word... " >&6; }
2911
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3232
if test "${ac_cv_prog_CC+set}" = set; then :
2912
3233
  $as_echo_n "(cached) " >&6
2913
3234
else
2914
3235
  if test -n "$CC"; then
2919
3240
do
2920
3241
  IFS=$as_save_IFS
2921
3242
  test -z "$as_dir" && as_dir=.
2922
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3243
    for ac_exec_ext in '' $ac_executable_extensions; do
2923
3244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924
3245
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2925
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3246
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926
3247
    break 2
2927
3248
  fi
2928
3249
done
2929
 
done
 
3250
  done
2930
3251
IFS=$as_save_IFS
2931
3252
 
2932
3253
fi
2933
3254
fi
2934
3255
CC=$ac_cv_prog_CC
2935
3256
if test -n "$CC"; then
2936
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2937
3258
$as_echo "$CC" >&6; }
2938
3259
else
2939
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3260
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940
3261
$as_echo "no" >&6; }
2941
3262
fi
2942
3263
 
2946
3267
if test -z "$CC"; then
2947
3268
  # Extract the first word of "cc", so it can be a program name with args.
2948
3269
set dummy cc; ac_word=$2
2949
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950
3271
$as_echo_n "checking for $ac_word... " >&6; }
2951
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3272
if test "${ac_cv_prog_CC+set}" = set; then :
2952
3273
  $as_echo_n "(cached) " >&6
2953
3274
else
2954
3275
  if test -n "$CC"; then
2960
3281
do
2961
3282
  IFS=$as_save_IFS
2962
3283
  test -z "$as_dir" && as_dir=.
2963
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3284
    for ac_exec_ext in '' $ac_executable_extensions; do
2964
3285
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965
3286
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2966
3287
       ac_prog_rejected=yes
2967
3288
       continue
2968
3289
     fi
2969
3290
    ac_cv_prog_CC="cc"
2970
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2971
3292
    break 2
2972
3293
  fi
2973
3294
done
2974
 
done
 
3295
  done
2975
3296
IFS=$as_save_IFS
2976
3297
 
2977
3298
if test $ac_prog_rejected = yes; then
2990
3311
fi
2991
3312
CC=$ac_cv_prog_CC
2992
3313
if test -n "$CC"; then
2993
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3314
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994
3315
$as_echo "$CC" >&6; }
2995
3316
else
2996
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997
3318
$as_echo "no" >&6; }
2998
3319
fi
2999
3320
 
3005
3326
  do
3006
3327
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3007
3328
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3008
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009
3330
$as_echo_n "checking for $ac_word... " >&6; }
3010
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3331
if test "${ac_cv_prog_CC+set}" = set; then :
3011
3332
  $as_echo_n "(cached) " >&6
3012
3333
else
3013
3334
  if test -n "$CC"; then
3018
3339
do
3019
3340
  IFS=$as_save_IFS
3020
3341
  test -z "$as_dir" && as_dir=.
3021
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3342
    for ac_exec_ext in '' $ac_executable_extensions; do
3022
3343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023
3344
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3024
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3345
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025
3346
    break 2
3026
3347
  fi
3027
3348
done
3028
 
done
 
3349
  done
3029
3350
IFS=$as_save_IFS
3030
3351
 
3031
3352
fi
3032
3353
fi
3033
3354
CC=$ac_cv_prog_CC
3034
3355
if test -n "$CC"; then
3035
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3036
3357
$as_echo "$CC" >&6; }
3037
3358
else
3038
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3359
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039
3360
$as_echo "no" >&6; }
3040
3361
fi
3041
3362
 
3049
3370
do
3050
3371
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3051
3372
set dummy $ac_prog; ac_word=$2
3052
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053
3374
$as_echo_n "checking for $ac_word... " >&6; }
3054
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3375
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3055
3376
  $as_echo_n "(cached) " >&6
3056
3377
else
3057
3378
  if test -n "$ac_ct_CC"; then
3062
3383
do
3063
3384
  IFS=$as_save_IFS
3064
3385
  test -z "$as_dir" && as_dir=.
3065
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3386
    for ac_exec_ext in '' $ac_executable_extensions; do
3066
3387
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067
3388
    ac_cv_prog_ac_ct_CC="$ac_prog"
3068
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3389
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069
3390
    break 2
3070
3391
  fi
3071
3392
done
3072
 
done
 
3393
  done
3073
3394
IFS=$as_save_IFS
3074
3395
 
3075
3396
fi
3076
3397
fi
3077
3398
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3078
3399
if test -n "$ac_ct_CC"; then
3079
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3080
3401
$as_echo "$ac_ct_CC" >&6; }
3081
3402
else
3082
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083
3404
$as_echo "no" >&6; }
3084
3405
fi
3085
3406
 
3092
3413
  else
3093
3414
    case $cross_compiling:$ac_tool_warned in
3094
3415
yes:)
3095
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3096
3417
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3097
3418
ac_tool_warned=yes ;;
3098
3419
esac
3103
3424
fi
3104
3425
 
3105
3426
 
3106
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3427
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107
3428
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3109
 
See \`config.log' for more details." >&5
3110
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3111
 
See \`config.log' for more details." >&2;}
3112
 
   { (exit 1); exit 1; }; }; }
 
3429
as_fn_error "no acceptable C compiler found in \$PATH
 
3430
See \`config.log' for more details." "$LINENO" 5; }
3113
3431
 
3114
3432
# Provide some information about the compiler.
3115
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3433
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3116
3434
set X $ac_compile
3117
3435
ac_compiler=$2
3118
 
{ (ac_try="$ac_compiler --version >&5"
3119
 
case "(($ac_try" in
3120
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121
 
  *) ac_try_echo=$ac_try;;
3122
 
esac
3123
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3124
 
$as_echo "$ac_try_echo") >&5
3125
 
  (eval "$ac_compiler --version >&5") 2>&5
3126
 
  ac_status=$?
3127
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128
 
  (exit $ac_status); }
3129
 
{ (ac_try="$ac_compiler -v >&5"
3130
 
case "(($ac_try" in
3131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132
 
  *) ac_try_echo=$ac_try;;
3133
 
esac
3134
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3135
 
$as_echo "$ac_try_echo") >&5
3136
 
  (eval "$ac_compiler -v >&5") 2>&5
3137
 
  ac_status=$?
3138
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139
 
  (exit $ac_status); }
3140
 
{ (ac_try="$ac_compiler -V >&5"
3141
 
case "(($ac_try" in
3142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143
 
  *) ac_try_echo=$ac_try;;
3144
 
esac
3145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3146
 
$as_echo "$ac_try_echo") >&5
3147
 
  (eval "$ac_compiler -V >&5") 2>&5
3148
 
  ac_status=$?
3149
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150
 
  (exit $ac_status); }
 
3436
for ac_option in --version -v -V -qversion; do
 
3437
  { { ac_try="$ac_compiler $ac_option >&5"
 
3438
case "(($ac_try" in
 
3439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3440
  *) ac_try_echo=$ac_try;;
 
3441
esac
 
3442
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3443
$as_echo "$ac_try_echo"; } >&5
 
3444
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3445
  ac_status=$?
 
3446
  if test -s conftest.err; then
 
3447
    sed '10a\
 
3448
... rest of stderr output deleted ...
 
3449
         10q' conftest.err >conftest.er1
 
3450
    cat conftest.er1 >&5
 
3451
  fi
 
3452
  rm -f conftest.er1 conftest.err
 
3453
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3454
  test $ac_status = 0; }
 
3455
done
3151
3456
 
3152
 
cat >conftest.$ac_ext <<_ACEOF
3153
 
/* confdefs.h.  */
3154
 
_ACEOF
3155
 
cat confdefs.h >>conftest.$ac_ext
3156
 
cat >>conftest.$ac_ext <<_ACEOF
 
3457
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157
3458
/* end confdefs.h.  */
3158
3459
 
3159
3460
int
3169
3470
# Try to create an executable without -o first, disregard a.out.
3170
3471
# It will help us diagnose broken compilers, and finding out an intuition
3171
3472
# of exeext.
3172
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3173
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3474
$as_echo_n "checking whether the C compiler works... " >&6; }
3174
3475
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3175
3476
 
3176
3477
# The possible output files:
3186
3487
done
3187
3488
rm -f $ac_rmfiles
3188
3489
 
3189
 
if { (ac_try="$ac_link_default"
 
3490
if { { ac_try="$ac_link_default"
3190
3491
case "(($ac_try" in
3191
3492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192
3493
  *) ac_try_echo=$ac_try;;
3193
3494
esac
3194
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3195
 
$as_echo "$ac_try_echo") >&5
 
3495
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3496
$as_echo "$ac_try_echo"; } >&5
3196
3497
  (eval "$ac_link_default") 2>&5
3197
3498
  ac_status=$?
3198
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199
 
  (exit $ac_status); }; then
 
3499
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3500
  test $ac_status = 0; }; then :
3200
3501
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3201
3502
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3202
3503
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3213
3514
        # certainly right.
3214
3515
        break;;
3215
3516
    *.* )
3216
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3517
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3217
3518
        then :; else
3218
3519
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3219
3520
        fi
3232
3533
else
3233
3534
  ac_file=''
3234
3535
fi
 
3536
if test -z "$ac_file"; then :
 
3537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3538
$as_echo "no" >&6; }
 
3539
$as_echo "$as_me: failed program was:" >&5
 
3540
sed 's/^/| /' conftest.$ac_ext >&5
3235
3541
 
3236
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3542
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3543
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3544
{ as_fn_set_status 77
 
3545
as_fn_error "C compiler cannot create executables
 
3546
See \`config.log' for more details." "$LINENO" 5; }; }
 
3547
else
 
3548
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3549
$as_echo "yes" >&6; }
 
3550
fi
 
3551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3552
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3237
3554
$as_echo "$ac_file" >&6; }
3238
 
if test -z "$ac_file"; then
3239
 
  $as_echo "$as_me: failed program was:" >&5
3240
 
sed 's/^/| /' conftest.$ac_ext >&5
3241
 
 
3242
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3243
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3245
 
See \`config.log' for more details." >&5
3246
 
$as_echo "$as_me: error: C compiler cannot create executables
3247
 
See \`config.log' for more details." >&2;}
3248
 
   { (exit 77); exit 77; }; }; }
3249
 
fi
3250
 
 
3251
3555
ac_exeext=$ac_cv_exeext
3252
3556
 
3253
 
# Check that the compiler produces executables we can run.  If not, either
3254
 
# the compiler is broken, or we cross compile.
3255
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3256
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3257
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3258
 
# If not cross compiling, check that we can run a simple program.
3259
 
if test "$cross_compiling" != yes; then
3260
 
  if { ac_try='./$ac_file'
3261
 
  { (case "(($ac_try" in
3262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263
 
  *) ac_try_echo=$ac_try;;
3264
 
esac
3265
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3266
 
$as_echo "$ac_try_echo") >&5
3267
 
  (eval "$ac_try") 2>&5
3268
 
  ac_status=$?
3269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270
 
  (exit $ac_status); }; }; then
3271
 
    cross_compiling=no
3272
 
  else
3273
 
    if test "$cross_compiling" = maybe; then
3274
 
        cross_compiling=yes
3275
 
    else
3276
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3277
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3279
 
If you meant to cross compile, use \`--host'.
3280
 
See \`config.log' for more details." >&5
3281
 
$as_echo "$as_me: error: cannot run C compiled programs.
3282
 
If you meant to cross compile, use \`--host'.
3283
 
See \`config.log' for more details." >&2;}
3284
 
   { (exit 1); exit 1; }; }; }
3285
 
    fi
3286
 
  fi
3287
 
fi
3288
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3289
 
$as_echo "yes" >&6; }
3290
 
 
3291
3557
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3292
3558
ac_clean_files=$ac_clean_files_save
3293
 
# Check that the compiler produces executables we can run.  If not, either
3294
 
# the compiler is broken, or we cross compile.
3295
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3296
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3297
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3298
 
$as_echo "$cross_compiling" >&6; }
3299
 
 
3300
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3301
3560
$as_echo_n "checking for suffix of executables... " >&6; }
3302
 
if { (ac_try="$ac_link"
 
3561
if { { ac_try="$ac_link"
3303
3562
case "(($ac_try" in
3304
3563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305
3564
  *) ac_try_echo=$ac_try;;
3306
3565
esac
3307
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3308
 
$as_echo "$ac_try_echo") >&5
 
3566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3567
$as_echo "$ac_try_echo"; } >&5
3309
3568
  (eval "$ac_link") 2>&5
3310
3569
  ac_status=$?
3311
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312
 
  (exit $ac_status); }; then
 
3570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3571
  test $ac_status = 0; }; then :
3313
3572
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3314
3573
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3315
3574
# work properly (i.e., refer to `conftest.exe'), while it won't with
3324
3583
  esac
3325
3584
done
3326
3585
else
3327
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3586
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328
3587
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3330
 
See \`config.log' for more details." >&5
3331
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3332
 
See \`config.log' for more details." >&2;}
3333
 
   { (exit 1); exit 1; }; }; }
 
3588
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3589
See \`config.log' for more details." "$LINENO" 5; }
3334
3590
fi
3335
 
 
3336
 
rm -f conftest$ac_cv_exeext
3337
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3591
rm -f conftest conftest$ac_cv_exeext
 
3592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3338
3593
$as_echo "$ac_cv_exeext" >&6; }
3339
3594
 
3340
3595
rm -f conftest.$ac_ext
3341
3596
EXEEXT=$ac_cv_exeext
3342
3597
ac_exeext=$EXEEXT
3343
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3598
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3599
/* end confdefs.h.  */
 
3600
#include <stdio.h>
 
3601
int
 
3602
main ()
 
3603
{
 
3604
FILE *f = fopen ("conftest.out", "w");
 
3605
 return ferror (f) || fclose (f) != 0;
 
3606
 
 
3607
  ;
 
3608
  return 0;
 
3609
}
 
3610
_ACEOF
 
3611
ac_clean_files="$ac_clean_files conftest.out"
 
3612
# Check that the compiler produces executables we can run.  If not, either
 
3613
# the compiler is broken, or we cross compile.
 
3614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3615
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3616
if test "$cross_compiling" != yes; then
 
3617
  { { ac_try="$ac_link"
 
3618
case "(($ac_try" in
 
3619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3620
  *) ac_try_echo=$ac_try;;
 
3621
esac
 
3622
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3623
$as_echo "$ac_try_echo"; } >&5
 
3624
  (eval "$ac_link") 2>&5
 
3625
  ac_status=$?
 
3626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3627
  test $ac_status = 0; }
 
3628
  if { ac_try='./conftest$ac_cv_exeext'
 
3629
  { { case "(($ac_try" in
 
3630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3631
  *) ac_try_echo=$ac_try;;
 
3632
esac
 
3633
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3634
$as_echo "$ac_try_echo"; } >&5
 
3635
  (eval "$ac_try") 2>&5
 
3636
  ac_status=$?
 
3637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3638
  test $ac_status = 0; }; }; then
 
3639
    cross_compiling=no
 
3640
  else
 
3641
    if test "$cross_compiling" = maybe; then
 
3642
        cross_compiling=yes
 
3643
    else
 
3644
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3645
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3646
as_fn_error "cannot run C compiled programs.
 
3647
If you meant to cross compile, use \`--host'.
 
3648
See \`config.log' for more details." "$LINENO" 5; }
 
3649
    fi
 
3650
  fi
 
3651
fi
 
3652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3653
$as_echo "$cross_compiling" >&6; }
 
3654
 
 
3655
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3656
ac_clean_files=$ac_clean_files_save
 
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3344
3658
$as_echo_n "checking for suffix of object files... " >&6; }
3345
 
if test "${ac_cv_objext+set}" = set; then
 
3659
if test "${ac_cv_objext+set}" = set; then :
3346
3660
  $as_echo_n "(cached) " >&6
3347
3661
else
3348
 
  cat >conftest.$ac_ext <<_ACEOF
3349
 
/* confdefs.h.  */
3350
 
_ACEOF
3351
 
cat confdefs.h >>conftest.$ac_ext
3352
 
cat >>conftest.$ac_ext <<_ACEOF
 
3662
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353
3663
/* end confdefs.h.  */
3354
3664
 
3355
3665
int
3361
3671
}
3362
3672
_ACEOF
3363
3673
rm -f conftest.o conftest.obj
3364
 
if { (ac_try="$ac_compile"
 
3674
if { { ac_try="$ac_compile"
3365
3675
case "(($ac_try" in
3366
3676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367
3677
  *) ac_try_echo=$ac_try;;
3368
3678
esac
3369
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3370
 
$as_echo "$ac_try_echo") >&5
 
3679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3680
$as_echo "$ac_try_echo"; } >&5
3371
3681
  (eval "$ac_compile") 2>&5
3372
3682
  ac_status=$?
3373
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374
 
  (exit $ac_status); }; then
 
3683
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3684
  test $ac_status = 0; }; then :
3375
3685
  for ac_file in conftest.o conftest.obj conftest.*; do
3376
3686
  test -f "$ac_file" || continue;
3377
3687
  case $ac_file in
3384
3694
  $as_echo "$as_me: failed program was:" >&5
3385
3695
sed 's/^/| /' conftest.$ac_ext >&5
3386
3696
 
3387
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3697
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388
3698
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3390
 
See \`config.log' for more details." >&5
3391
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3392
 
See \`config.log' for more details." >&2;}
3393
 
   { (exit 1); exit 1; }; }; }
 
3699
as_fn_error "cannot compute suffix of object files: cannot compile
 
3700
See \`config.log' for more details." "$LINENO" 5; }
3394
3701
fi
3395
 
 
3396
3702
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3397
3703
fi
3398
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3399
3705
$as_echo "$ac_cv_objext" >&6; }
3400
3706
OBJEXT=$ac_cv_objext
3401
3707
ac_objext=$OBJEXT
3402
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3403
3709
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3404
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3710
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3405
3711
  $as_echo_n "(cached) " >&6
3406
3712
else
3407
 
  cat >conftest.$ac_ext <<_ACEOF
3408
 
/* confdefs.h.  */
3409
 
_ACEOF
3410
 
cat confdefs.h >>conftest.$ac_ext
3411
 
cat >>conftest.$ac_ext <<_ACEOF
 
3713
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412
3714
/* end confdefs.h.  */
3413
3715
 
3414
3716
int
3422
3724
  return 0;
3423
3725
}
3424
3726
_ACEOF
3425
 
rm -f conftest.$ac_objext
3426
 
if { (ac_try="$ac_compile"
3427
 
case "(($ac_try" in
3428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429
 
  *) ac_try_echo=$ac_try;;
3430
 
esac
3431
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3432
 
$as_echo "$ac_try_echo") >&5
3433
 
  (eval "$ac_compile") 2>conftest.er1
3434
 
  ac_status=$?
3435
 
  grep -v '^ *+' conftest.er1 >conftest.err
3436
 
  rm -f conftest.er1
3437
 
  cat conftest.err >&5
3438
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439
 
  (exit $ac_status); } && {
3440
 
         test -z "$ac_c_werror_flag" ||
3441
 
         test ! -s conftest.err
3442
 
       } && test -s conftest.$ac_objext; then
 
3727
if ac_fn_c_try_compile "$LINENO"; then :
3443
3728
  ac_compiler_gnu=yes
3444
3729
else
3445
 
  $as_echo "$as_me: failed program was:" >&5
3446
 
sed 's/^/| /' conftest.$ac_ext >&5
3447
 
 
3448
 
        ac_compiler_gnu=no
 
3730
  ac_compiler_gnu=no
3449
3731
fi
3450
 
 
3451
3732
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452
3733
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3453
3734
 
3454
3735
fi
3455
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3456
3737
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3457
3738
if test $ac_compiler_gnu = yes; then
3458
3739
  GCC=yes
3461
3742
fi
3462
3743
ac_test_CFLAGS=${CFLAGS+set}
3463
3744
ac_save_CFLAGS=$CFLAGS
3464
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3465
3746
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3466
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3747
if test "${ac_cv_prog_cc_g+set}" = set; then :
3467
3748
  $as_echo_n "(cached) " >&6
3468
3749
else
3469
3750
  ac_save_c_werror_flag=$ac_c_werror_flag
3470
3751
   ac_c_werror_flag=yes
3471
3752
   ac_cv_prog_cc_g=no
3472
3753
   CFLAGS="-g"
3473
 
   cat >conftest.$ac_ext <<_ACEOF
3474
 
/* confdefs.h.  */
3475
 
_ACEOF
3476
 
cat confdefs.h >>conftest.$ac_ext
3477
 
cat >>conftest.$ac_ext <<_ACEOF
 
3754
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478
3755
/* end confdefs.h.  */
3479
3756
 
3480
3757
int
3485
3762
  return 0;
3486
3763
}
3487
3764
_ACEOF
3488
 
rm -f conftest.$ac_objext
3489
 
if { (ac_try="$ac_compile"
3490
 
case "(($ac_try" in
3491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492
 
  *) ac_try_echo=$ac_try;;
3493
 
esac
3494
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3495
 
$as_echo "$ac_try_echo") >&5
3496
 
  (eval "$ac_compile") 2>conftest.er1
3497
 
  ac_status=$?
3498
 
  grep -v '^ *+' conftest.er1 >conftest.err
3499
 
  rm -f conftest.er1
3500
 
  cat conftest.err >&5
3501
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502
 
  (exit $ac_status); } && {
3503
 
         test -z "$ac_c_werror_flag" ||
3504
 
         test ! -s conftest.err
3505
 
       } && test -s conftest.$ac_objext; then
 
3765
if ac_fn_c_try_compile "$LINENO"; then :
3506
3766
  ac_cv_prog_cc_g=yes
3507
3767
else
3508
 
  $as_echo "$as_me: failed program was:" >&5
3509
 
sed 's/^/| /' conftest.$ac_ext >&5
3510
 
 
3511
 
        CFLAGS=""
3512
 
      cat >conftest.$ac_ext <<_ACEOF
3513
 
/* confdefs.h.  */
3514
 
_ACEOF
3515
 
cat confdefs.h >>conftest.$ac_ext
3516
 
cat >>conftest.$ac_ext <<_ACEOF
 
3768
  CFLAGS=""
 
3769
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517
3770
/* end confdefs.h.  */
3518
3771
 
3519
3772
int
3524
3777
  return 0;
3525
3778
}
3526
3779
_ACEOF
3527
 
rm -f conftest.$ac_objext
3528
 
if { (ac_try="$ac_compile"
3529
 
case "(($ac_try" in
3530
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531
 
  *) ac_try_echo=$ac_try;;
3532
 
esac
3533
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3534
 
$as_echo "$ac_try_echo") >&5
3535
 
  (eval "$ac_compile") 2>conftest.er1
3536
 
  ac_status=$?
3537
 
  grep -v '^ *+' conftest.er1 >conftest.err
3538
 
  rm -f conftest.er1
3539
 
  cat conftest.err >&5
3540
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541
 
  (exit $ac_status); } && {
3542
 
         test -z "$ac_c_werror_flag" ||
3543
 
         test ! -s conftest.err
3544
 
       } && test -s conftest.$ac_objext; then
3545
 
  :
 
3780
if ac_fn_c_try_compile "$LINENO"; then :
 
3781
 
3546
3782
else
3547
 
  $as_echo "$as_me: failed program was:" >&5
3548
 
sed 's/^/| /' conftest.$ac_ext >&5
3549
 
 
3550
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3783
  ac_c_werror_flag=$ac_save_c_werror_flag
3551
3784
         CFLAGS="-g"
3552
 
         cat >conftest.$ac_ext <<_ACEOF
3553
 
/* confdefs.h.  */
3554
 
_ACEOF
3555
 
cat confdefs.h >>conftest.$ac_ext
3556
 
cat >>conftest.$ac_ext <<_ACEOF
 
3785
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557
3786
/* end confdefs.h.  */
3558
3787
 
3559
3788
int
3564
3793
  return 0;
3565
3794
}
3566
3795
_ACEOF
3567
 
rm -f conftest.$ac_objext
3568
 
if { (ac_try="$ac_compile"
3569
 
case "(($ac_try" in
3570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571
 
  *) ac_try_echo=$ac_try;;
3572
 
esac
3573
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3574
 
$as_echo "$ac_try_echo") >&5
3575
 
  (eval "$ac_compile") 2>conftest.er1
3576
 
  ac_status=$?
3577
 
  grep -v '^ *+' conftest.er1 >conftest.err
3578
 
  rm -f conftest.er1
3579
 
  cat conftest.err >&5
3580
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581
 
  (exit $ac_status); } && {
3582
 
         test -z "$ac_c_werror_flag" ||
3583
 
         test ! -s conftest.err
3584
 
       } && test -s conftest.$ac_objext; then
 
3796
if ac_fn_c_try_compile "$LINENO"; then :
3585
3797
  ac_cv_prog_cc_g=yes
3586
 
else
3587
 
  $as_echo "$as_me: failed program was:" >&5
3588
 
sed 's/^/| /' conftest.$ac_ext >&5
3589
 
 
3590
 
 
3591
 
fi
3592
 
 
3593
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594
 
fi
3595
 
 
3596
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597
 
fi
3598
 
 
 
3798
fi
 
3799
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3800
fi
 
3801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3802
fi
3599
3803
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600
3804
   ac_c_werror_flag=$ac_save_c_werror_flag
3601
3805
fi
3602
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3603
3807
$as_echo "$ac_cv_prog_cc_g" >&6; }
3604
3808
if test "$ac_test_CFLAGS" = set; then
3605
3809
  CFLAGS=$ac_save_CFLAGS
3616
3820
    CFLAGS=
3617
3821
  fi
3618
3822
fi
3619
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3620
3824
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3621
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3825
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3622
3826
  $as_echo_n "(cached) " >&6
3623
3827
else
3624
3828
  ac_cv_prog_cc_c89=no
3625
3829
ac_save_CC=$CC
3626
 
cat >conftest.$ac_ext <<_ACEOF
3627
 
/* confdefs.h.  */
3628
 
_ACEOF
3629
 
cat confdefs.h >>conftest.$ac_ext
3630
 
cat >>conftest.$ac_ext <<_ACEOF
 
3830
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631
3831
/* end confdefs.h.  */
3632
3832
#include <stdarg.h>
3633
3833
#include <stdio.h>
3684
3884
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685
3885
do
3686
3886
  CC="$ac_save_CC $ac_arg"
3687
 
  rm -f conftest.$ac_objext
3688
 
if { (ac_try="$ac_compile"
3689
 
case "(($ac_try" in
3690
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3691
 
  *) ac_try_echo=$ac_try;;
3692
 
esac
3693
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3694
 
$as_echo "$ac_try_echo") >&5
3695
 
  (eval "$ac_compile") 2>conftest.er1
3696
 
  ac_status=$?
3697
 
  grep -v '^ *+' conftest.er1 >conftest.err
3698
 
  rm -f conftest.er1
3699
 
  cat conftest.err >&5
3700
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701
 
  (exit $ac_status); } && {
3702
 
         test -z "$ac_c_werror_flag" ||
3703
 
         test ! -s conftest.err
3704
 
       } && test -s conftest.$ac_objext; then
 
3887
  if ac_fn_c_try_compile "$LINENO"; then :
3705
3888
  ac_cv_prog_cc_c89=$ac_arg
3706
 
else
3707
 
  $as_echo "$as_me: failed program was:" >&5
3708
 
sed 's/^/| /' conftest.$ac_ext >&5
3709
 
 
3710
 
 
3711
3889
fi
3712
 
 
3713
3890
rm -f core conftest.err conftest.$ac_objext
3714
3891
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3715
3892
done
3720
3897
# AC_CACHE_VAL
3721
3898
case "x$ac_cv_prog_cc_c89" in
3722
3899
  x)
3723
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3900
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3724
3901
$as_echo "none needed" >&6; } ;;
3725
3902
  xno)
3726
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3903
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3727
3904
$as_echo "unsupported" >&6; } ;;
3728
3905
  *)
3729
3906
    CC="$CC $ac_cv_prog_cc_c89"
3730
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3907
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3731
3908
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3732
3909
esac
 
3910
if test "x$ac_cv_prog_cc_c89" != xno; then :
3733
3911
 
 
3912
fi
3734
3913
 
3735
3914
ac_ext=c
3736
3915
ac_cpp='$CPP $CPPFLAGS'
3740
3919
 
3741
3920
depcc="$CC"   am_compiler_list=
3742
3921
 
3743
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3744
3923
$as_echo_n "checking dependency style of $depcc... " >&6; }
3745
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3924
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3746
3925
  $as_echo_n "(cached) " >&6
3747
3926
else
3748
3927
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3850
4029
fi
3851
4030
 
3852
4031
fi
3853
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3854
4033
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3855
4034
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3856
4035
 
3865
4044
fi
3866
4045
 
3867
4046
 
3868
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3869
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3870
 
if test "${ac_cv_path_SED+set}" = set; then
 
4047
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
 
4048
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
 
4049
if test "${ac_cv_prog_cc_c99+set}" = set; then :
3871
4050
  $as_echo_n "(cached) " >&6
3872
4051
else
3873
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3874
 
     for ac_i in 1 2 3 4 5 6 7; do
3875
 
       ac_script="$ac_script$as_nl$ac_script"
3876
 
     done
3877
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3878
 
     $as_unset ac_script || ac_script=
3879
 
     if test -z "$SED"; then
3880
 
  ac_path_SED_found=false
3881
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3882
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883
 
for as_dir in $PATH
 
4052
  ac_cv_prog_cc_c99=no
 
4053
ac_save_CC=$CC
 
4054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4055
/* end confdefs.h.  */
 
4056
#include <stdarg.h>
 
4057
#include <stdbool.h>
 
4058
#include <stdlib.h>
 
4059
#include <wchar.h>
 
4060
#include <stdio.h>
 
4061
 
 
4062
// Check varargs macros.  These examples are taken from C99 6.10.3.5.
 
4063
#define debug(...) fprintf (stderr, __VA_ARGS__)
 
4064
#define showlist(...) puts (#__VA_ARGS__)
 
4065
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
 
4066
static void
 
4067
test_varargs_macros (void)
 
4068
{
 
4069
  int x = 1234;
 
4070
  int y = 5678;
 
4071
  debug ("Flag");
 
4072
  debug ("X = %d\n", x);
 
4073
  showlist (The first, second, and third items.);
 
4074
  report (x>y, "x is %d but y is %d", x, y);
 
4075
}
 
4076
 
 
4077
// Check long long types.
 
4078
#define BIG64 18446744073709551615ull
 
4079
#define BIG32 4294967295ul
 
4080
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
 
4081
#if !BIG_OK
 
4082
  your preprocessor is broken;
 
4083
#endif
 
4084
#if BIG_OK
 
4085
#else
 
4086
  your preprocessor is broken;
 
4087
#endif
 
4088
static long long int bignum = -9223372036854775807LL;
 
4089
static unsigned long long int ubignum = BIG64;
 
4090
 
 
4091
struct incomplete_array
 
4092
{
 
4093
  int datasize;
 
4094
  double data[];
 
4095
};
 
4096
 
 
4097
struct named_init {
 
4098
  int number;
 
4099
  const wchar_t *name;
 
4100
  double average;
 
4101
};
 
4102
 
 
4103
typedef const char *ccp;
 
4104
 
 
4105
static inline int
 
4106
test_restrict (ccp restrict text)
 
4107
{
 
4108
  // See if C++-style comments work.
 
4109
  // Iterate through items via the restricted pointer.
 
4110
  // Also check for declarations in for loops.
 
4111
  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
 
4112
    continue;
 
4113
  return 0;
 
4114
}
 
4115
 
 
4116
// Check varargs and va_copy.
 
4117
static void
 
4118
test_varargs (const char *format, ...)
 
4119
{
 
4120
  va_list args;
 
4121
  va_start (args, format);
 
4122
  va_list args_copy;
 
4123
  va_copy (args_copy, args);
 
4124
 
 
4125
  const char *str;
 
4126
  int number;
 
4127
  float fnumber;
 
4128
 
 
4129
  while (*format)
 
4130
    {
 
4131
      switch (*format++)
 
4132
        {
 
4133
        case 's': // string
 
4134
          str = va_arg (args_copy, const char *);
 
4135
          break;
 
4136
        case 'd': // int
 
4137
          number = va_arg (args_copy, int);
 
4138
          break;
 
4139
        case 'f': // float
 
4140
          fnumber = va_arg (args_copy, double);
 
4141
          break;
 
4142
        default:
 
4143
          break;
 
4144
        }
 
4145
    }
 
4146
  va_end (args_copy);
 
4147
  va_end (args);
 
4148
}
 
4149
 
 
4150
int
 
4151
main ()
 
4152
{
 
4153
 
 
4154
  // Check bool.
 
4155
  _Bool success = false;
 
4156
 
 
4157
  // Check restrict.
 
4158
  if (test_restrict ("String literal") == 0)
 
4159
    success = true;
 
4160
  char *restrict newvar = "Another string";
 
4161
 
 
4162
  // Check varargs.
 
4163
  test_varargs ("s, d' f .", "string", 65, 34.234);
 
4164
  test_varargs_macros ();
 
4165
 
 
4166
  // Check flexible array members.
 
4167
  struct incomplete_array *ia =
 
4168
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
 
4169
  ia->datasize = 10;
 
4170
  for (int i = 0; i < ia->datasize; ++i)
 
4171
    ia->data[i] = i * 1.234;
 
4172
 
 
4173
  // Check named initializers.
 
4174
  struct named_init ni = {
 
4175
    .number = 34,
 
4176
    .name = L"Test wide string",
 
4177
    .average = 543.34343,
 
4178
  };
 
4179
 
 
4180
  ni.number = 58;
 
4181
 
 
4182
  int dynamic_array[ni.number];
 
4183
  dynamic_array[ni.number - 1] = 543;
 
4184
 
 
4185
  // work around unused variable warnings
 
4186
  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
 
4187
          || dynamic_array[ni.number - 1] != 543);
 
4188
 
 
4189
  ;
 
4190
  return 0;
 
4191
}
 
4192
_ACEOF
 
4193
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3884
4194
do
3885
 
  IFS=$as_save_IFS
3886
 
  test -z "$as_dir" && as_dir=.
3887
 
  for ac_prog in sed gsed; do
3888
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3889
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3890
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3891
 
# Check for GNU ac_path_SED and select it if it is found.
3892
 
  # Check for GNU $ac_path_SED
3893
 
case `"$ac_path_SED" --version 2>&1` in
3894
 
*GNU*)
3895
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3896
 
*)
3897
 
  ac_count=0
3898
 
  $as_echo_n 0123456789 >"conftest.in"
3899
 
  while :
3900
 
  do
3901
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3902
 
    mv "conftest.tmp" "conftest.in"
3903
 
    cp "conftest.in" "conftest.nl"
3904
 
    $as_echo '' >> "conftest.nl"
3905
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3906
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3907
 
    ac_count=`expr $ac_count + 1`
3908
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3909
 
      # Best one so far, save it but keep looking for a better one
3910
 
      ac_cv_path_SED="$ac_path_SED"
3911
 
      ac_path_SED_max=$ac_count
3912
 
    fi
3913
 
    # 10*(2^10) chars as input seems more than enough
3914
 
    test $ac_count -gt 10 && break
3915
 
  done
3916
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4195
  CC="$ac_save_CC $ac_arg"
 
4196
  if ac_fn_c_try_compile "$LINENO"; then :
 
4197
  ac_cv_prog_cc_c99=$ac_arg
 
4198
fi
 
4199
rm -f core conftest.err conftest.$ac_objext
 
4200
  test "x$ac_cv_prog_cc_c99" != "xno" && break
 
4201
done
 
4202
rm -f conftest.$ac_ext
 
4203
CC=$ac_save_CC
 
4204
 
 
4205
fi
 
4206
# AC_CACHE_VAL
 
4207
case "x$ac_cv_prog_cc_c99" in
 
4208
  x)
 
4209
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4210
$as_echo "none needed" >&6; } ;;
 
4211
  xno)
 
4212
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4213
$as_echo "unsupported" >&6; } ;;
 
4214
  *)
 
4215
    CC="$CC $ac_cv_prog_cc_c99"
 
4216
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
 
4217
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3917
4218
esac
3918
 
 
3919
 
      $ac_path_SED_found && break 3
 
4219
if test "x$ac_cv_prog_cc_c99" != xno; then :
 
4220
 
 
4221
fi
 
4222
 
 
4223
 
 
4224
 
 
4225
ac_ext=c
 
4226
ac_cpp='$CPP $CPPFLAGS'
 
4227
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4228
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4229
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4231
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4232
# On Suns, sometimes $CPP names a directory.
 
4233
if test -n "$CPP" && test -d "$CPP"; then
 
4234
  CPP=
 
4235
fi
 
4236
if test -z "$CPP"; then
 
4237
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4238
  $as_echo_n "(cached) " >&6
 
4239
else
 
4240
      # Double quotes because CPP needs to be expanded
 
4241
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4242
    do
 
4243
      ac_preproc_ok=false
 
4244
for ac_c_preproc_warn_flag in '' yes
 
4245
do
 
4246
  # Use a header file that comes with gcc, so configuring glibc
 
4247
  # with a fresh cross-compiler works.
 
4248
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4249
  # <limits.h> exists even on freestanding compilers.
 
4250
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4251
  # not just through cpp. "Syntax error" is here to catch this case.
 
4252
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4253
/* end confdefs.h.  */
 
4254
#ifdef __STDC__
 
4255
# include <limits.h>
 
4256
#else
 
4257
# include <assert.h>
 
4258
#endif
 
4259
                     Syntax error
 
4260
_ACEOF
 
4261
if ac_fn_c_try_cpp "$LINENO"; then :
 
4262
 
 
4263
else
 
4264
  # Broken: fails on valid input.
 
4265
continue
 
4266
fi
 
4267
rm -f conftest.err conftest.$ac_ext
 
4268
 
 
4269
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4270
  # can be detected and how.
 
4271
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4272
/* end confdefs.h.  */
 
4273
#include <ac_nonexistent.h>
 
4274
_ACEOF
 
4275
if ac_fn_c_try_cpp "$LINENO"; then :
 
4276
  # Broken: success on invalid input.
 
4277
continue
 
4278
else
 
4279
  # Passes both tests.
 
4280
ac_preproc_ok=:
 
4281
break
 
4282
fi
 
4283
rm -f conftest.err conftest.$ac_ext
 
4284
 
 
4285
done
 
4286
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4287
rm -f conftest.err conftest.$ac_ext
 
4288
if $ac_preproc_ok; then :
 
4289
  break
 
4290
fi
 
4291
 
3920
4292
    done
3921
 
  done
 
4293
    ac_cv_prog_CPP=$CPP
 
4294
 
 
4295
fi
 
4296
  CPP=$ac_cv_prog_CPP
 
4297
else
 
4298
  ac_cv_prog_CPP=$CPP
 
4299
fi
 
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4301
$as_echo "$CPP" >&6; }
 
4302
ac_preproc_ok=false
 
4303
for ac_c_preproc_warn_flag in '' yes
 
4304
do
 
4305
  # Use a header file that comes with gcc, so configuring glibc
 
4306
  # with a fresh cross-compiler works.
 
4307
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4308
  # <limits.h> exists even on freestanding compilers.
 
4309
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4310
  # not just through cpp. "Syntax error" is here to catch this case.
 
4311
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4312
/* end confdefs.h.  */
 
4313
#ifdef __STDC__
 
4314
# include <limits.h>
 
4315
#else
 
4316
# include <assert.h>
 
4317
#endif
 
4318
                     Syntax error
 
4319
_ACEOF
 
4320
if ac_fn_c_try_cpp "$LINENO"; then :
 
4321
 
 
4322
else
 
4323
  # Broken: fails on valid input.
 
4324
continue
 
4325
fi
 
4326
rm -f conftest.err conftest.$ac_ext
 
4327
 
 
4328
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4329
  # can be detected and how.
 
4330
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4331
/* end confdefs.h.  */
 
4332
#include <ac_nonexistent.h>
 
4333
_ACEOF
 
4334
if ac_fn_c_try_cpp "$LINENO"; then :
 
4335
  # Broken: success on invalid input.
 
4336
continue
 
4337
else
 
4338
  # Passes both tests.
 
4339
ac_preproc_ok=:
 
4340
break
 
4341
fi
 
4342
rm -f conftest.err conftest.$ac_ext
 
4343
 
3922
4344
done
3923
 
IFS=$as_save_IFS
3924
 
  if test -z "$ac_cv_path_SED"; then
3925
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3926
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3927
 
   { (exit 1); exit 1; }; }
3928
 
  fi
 
4345
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4346
rm -f conftest.err conftest.$ac_ext
 
4347
if $ac_preproc_ok; then :
 
4348
 
3929
4349
else
3930
 
  ac_cv_path_SED=$SED
3931
 
fi
3932
 
 
3933
 
fi
3934
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3935
 
$as_echo "$ac_cv_path_SED" >&6; }
3936
 
 SED="$ac_cv_path_SED"
3937
 
  rm -f conftest.sed
3938
 
 
3939
 
test -z "$SED" && SED=sed
3940
 
Xsed="$SED -e 1s/^X//"
3941
 
 
3942
 
 
3943
 
 
3944
 
 
3945
 
 
3946
 
 
3947
 
 
3948
 
 
3949
 
 
3950
 
 
3951
 
 
3952
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4350
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4352
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4353
See \`config.log' for more details." "$LINENO" 5; }
 
4354
fi
 
4355
 
 
4356
ac_ext=c
 
4357
ac_cpp='$CPP $CPPFLAGS'
 
4358
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4359
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4360
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4361
 
 
4362
 
 
4363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3953
4364
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3954
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4365
if test "${ac_cv_path_GREP+set}" = set; then :
3955
4366
  $as_echo_n "(cached) " >&6
3956
4367
else
3957
4368
  if test -z "$GREP"; then
3962
4373
do
3963
4374
  IFS=$as_save_IFS
3964
4375
  test -z "$as_dir" && as_dir=.
3965
 
  for ac_prog in grep ggrep; do
 
4376
    for ac_prog in grep ggrep; do
3966
4377
    for ac_exec_ext in '' $ac_executable_extensions; do
3967
4378
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3968
4379
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3982
4393
    $as_echo 'GREP' >> "conftest.nl"
3983
4394
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3984
4395
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3985
 
    ac_count=`expr $ac_count + 1`
 
4396
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3986
4397
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3987
4398
      # Best one so far, save it but keep looking for a better one
3988
4399
      ac_cv_path_GREP="$ac_path_GREP"
3997
4408
      $ac_path_GREP_found && break 3
3998
4409
    done
3999
4410
  done
4000
 
done
 
4411
  done
4001
4412
IFS=$as_save_IFS
4002
4413
  if test -z "$ac_cv_path_GREP"; then
4003
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4004
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4005
 
   { (exit 1); exit 1; }; }
 
4414
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4006
4415
  fi
4007
4416
else
4008
4417
  ac_cv_path_GREP=$GREP
4009
4418
fi
4010
4419
 
4011
4420
fi
4012
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4013
4422
$as_echo "$ac_cv_path_GREP" >&6; }
4014
4423
 GREP="$ac_cv_path_GREP"
4015
4424
 
4016
4425
 
4017
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4018
4427
$as_echo_n "checking for egrep... " >&6; }
4019
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4428
if test "${ac_cv_path_EGREP+set}" = set; then :
4020
4429
  $as_echo_n "(cached) " >&6
4021
4430
else
4022
4431
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4030
4439
do
4031
4440
  IFS=$as_save_IFS
4032
4441
  test -z "$as_dir" && as_dir=.
4033
 
  for ac_prog in egrep; do
 
4442
    for ac_prog in egrep; do
4034
4443
    for ac_exec_ext in '' $ac_executable_extensions; do
4035
4444
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4036
4445
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4050
4459
    $as_echo 'EGREP' >> "conftest.nl"
4051
4460
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4052
4461
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4053
 
    ac_count=`expr $ac_count + 1`
 
4462
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4054
4463
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4055
4464
      # Best one so far, save it but keep looking for a better one
4056
4465
      ac_cv_path_EGREP="$ac_path_EGREP"
4065
4474
      $ac_path_EGREP_found && break 3
4066
4475
    done
4067
4476
  done
4068
 
done
 
4477
  done
4069
4478
IFS=$as_save_IFS
4070
4479
  if test -z "$ac_cv_path_EGREP"; then
4071
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4072
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4073
 
   { (exit 1); exit 1; }; }
 
4480
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4074
4481
  fi
4075
4482
else
4076
4483
  ac_cv_path_EGREP=$EGREP
4078
4485
 
4079
4486
   fi
4080
4487
fi
4081
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4082
4489
$as_echo "$ac_cv_path_EGREP" >&6; }
4083
4490
 EGREP="$ac_cv_path_EGREP"
4084
4491
 
4085
4492
 
4086
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4494
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4495
if test "${ac_cv_header_stdc+set}" = set; then :
 
4496
  $as_echo_n "(cached) " >&6
 
4497
else
 
4498
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4499
/* end confdefs.h.  */
 
4500
#include <stdlib.h>
 
4501
#include <stdarg.h>
 
4502
#include <string.h>
 
4503
#include <float.h>
 
4504
 
 
4505
int
 
4506
main ()
 
4507
{
 
4508
 
 
4509
  ;
 
4510
  return 0;
 
4511
}
 
4512
_ACEOF
 
4513
if ac_fn_c_try_compile "$LINENO"; then :
 
4514
  ac_cv_header_stdc=yes
 
4515
else
 
4516
  ac_cv_header_stdc=no
 
4517
fi
 
4518
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4519
 
 
4520
if test $ac_cv_header_stdc = yes; then
 
4521
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4522
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4523
/* end confdefs.h.  */
 
4524
#include <string.h>
 
4525
 
 
4526
_ACEOF
 
4527
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4528
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4529
 
 
4530
else
 
4531
  ac_cv_header_stdc=no
 
4532
fi
 
4533
rm -f conftest*
 
4534
 
 
4535
fi
 
4536
 
 
4537
if test $ac_cv_header_stdc = yes; then
 
4538
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4539
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4540
/* end confdefs.h.  */
 
4541
#include <stdlib.h>
 
4542
 
 
4543
_ACEOF
 
4544
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4545
  $EGREP "free" >/dev/null 2>&1; then :
 
4546
 
 
4547
else
 
4548
  ac_cv_header_stdc=no
 
4549
fi
 
4550
rm -f conftest*
 
4551
 
 
4552
fi
 
4553
 
 
4554
if test $ac_cv_header_stdc = yes; then
 
4555
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4556
  if test "$cross_compiling" = yes; then :
 
4557
  :
 
4558
else
 
4559
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4560
/* end confdefs.h.  */
 
4561
#include <ctype.h>
 
4562
#include <stdlib.h>
 
4563
#if ((' ' & 0x0FF) == 0x020)
 
4564
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4565
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4566
#else
 
4567
# define ISLOWER(c) \
 
4568
                   (('a' <= (c) && (c) <= 'i') \
 
4569
                     || ('j' <= (c) && (c) <= 'r') \
 
4570
                     || ('s' <= (c) && (c) <= 'z'))
 
4571
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4572
#endif
 
4573
 
 
4574
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4575
int
 
4576
main ()
 
4577
{
 
4578
  int i;
 
4579
  for (i = 0; i < 256; i++)
 
4580
    if (XOR (islower (i), ISLOWER (i))
 
4581
        || toupper (i) != TOUPPER (i))
 
4582
      return 2;
 
4583
  return 0;
 
4584
}
 
4585
_ACEOF
 
4586
if ac_fn_c_try_run "$LINENO"; then :
 
4587
 
 
4588
else
 
4589
  ac_cv_header_stdc=no
 
4590
fi
 
4591
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4592
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4593
fi
 
4594
 
 
4595
fi
 
4596
fi
 
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4598
$as_echo "$ac_cv_header_stdc" >&6; }
 
4599
if test $ac_cv_header_stdc = yes; then
 
4600
 
 
4601
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4602
 
 
4603
fi
 
4604
 
 
4605
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4606
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4607
                  inttypes.h stdint.h unistd.h
 
4608
do :
 
4609
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4610
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4611
"
 
4612
eval as_val=\$$as_ac_Header
 
4613
   if test "x$as_val" = x""yes; then :
 
4614
  cat >>confdefs.h <<_ACEOF
 
4615
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4616
_ACEOF
 
4617
 
 
4618
fi
 
4619
 
 
4620
done
 
4621
 
 
4622
 
 
4623
 
 
4624
 
 
4625
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
4626
        if test -n "$ac_tool_prefix"; then
 
4627
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
4628
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4630
$as_echo_n "checking for $ac_word... " >&6; }
 
4631
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
4632
  $as_echo_n "(cached) " >&6
 
4633
else
 
4634
  case $PKG_CONFIG in
 
4635
  [\\/]* | ?:[\\/]*)
 
4636
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
4637
  ;;
 
4638
  *)
 
4639
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4640
for as_dir in $PATH
 
4641
do
 
4642
  IFS=$as_save_IFS
 
4643
  test -z "$as_dir" && as_dir=.
 
4644
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4645
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4646
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4647
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4648
    break 2
 
4649
  fi
 
4650
done
 
4651
  done
 
4652
IFS=$as_save_IFS
 
4653
 
 
4654
  ;;
 
4655
esac
 
4656
fi
 
4657
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
4658
if test -n "$PKG_CONFIG"; then
 
4659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
4660
$as_echo "$PKG_CONFIG" >&6; }
 
4661
else
 
4662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4663
$as_echo "no" >&6; }
 
4664
fi
 
4665
 
 
4666
 
 
4667
fi
 
4668
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
4669
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
4670
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
4671
set dummy pkg-config; ac_word=$2
 
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4673
$as_echo_n "checking for $ac_word... " >&6; }
 
4674
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
4675
  $as_echo_n "(cached) " >&6
 
4676
else
 
4677
  case $ac_pt_PKG_CONFIG in
 
4678
  [\\/]* | ?:[\\/]*)
 
4679
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
4680
  ;;
 
4681
  *)
 
4682
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4683
for as_dir in $PATH
 
4684
do
 
4685
  IFS=$as_save_IFS
 
4686
  test -z "$as_dir" && as_dir=.
 
4687
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4688
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4689
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4690
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4691
    break 2
 
4692
  fi
 
4693
done
 
4694
  done
 
4695
IFS=$as_save_IFS
 
4696
 
 
4697
  ;;
 
4698
esac
 
4699
fi
 
4700
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
4701
if test -n "$ac_pt_PKG_CONFIG"; then
 
4702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
4703
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
4704
else
 
4705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4706
$as_echo "no" >&6; }
 
4707
fi
 
4708
 
 
4709
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
4710
    PKG_CONFIG=""
 
4711
  else
 
4712
    case $cross_compiling:$ac_tool_warned in
 
4713
yes:)
 
4714
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4715
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4716
ac_tool_warned=yes ;;
 
4717
esac
 
4718
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
4719
  fi
 
4720
else
 
4721
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
4722
fi
 
4723
 
 
4724
fi
 
4725
if test -n "$PKG_CONFIG"; then
 
4726
        _pkg_min_version=0.9.0
 
4727
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
4728
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
4729
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
4730
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4731
$as_echo "yes" >&6; }
 
4732
        else
 
4733
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4734
$as_echo "no" >&6; }
 
4735
                PKG_CONFIG=""
 
4736
        fi
 
4737
 
 
4738
fi
 
4739
# Make sure we can run config.sub.
 
4740
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4741
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4742
 
 
4743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4744
$as_echo_n "checking build system type... " >&6; }
 
4745
if test "${ac_cv_build+set}" = set; then :
 
4746
  $as_echo_n "(cached) " >&6
 
4747
else
 
4748
  ac_build_alias=$build_alias
 
4749
test "x$ac_build_alias" = x &&
 
4750
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4751
test "x$ac_build_alias" = x &&
 
4752
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4753
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4754
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4755
 
 
4756
fi
 
4757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4758
$as_echo "$ac_cv_build" >&6; }
 
4759
case $ac_cv_build in
 
4760
*-*-*) ;;
 
4761
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4762
esac
 
4763
build=$ac_cv_build
 
4764
ac_save_IFS=$IFS; IFS='-'
 
4765
set x $ac_cv_build
 
4766
shift
 
4767
build_cpu=$1
 
4768
build_vendor=$2
 
4769
shift; shift
 
4770
# Remember, the first character of IFS is used to create $*,
 
4771
# except with old shells:
 
4772
build_os=$*
 
4773
IFS=$ac_save_IFS
 
4774
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4775
 
 
4776
 
 
4777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4778
$as_echo_n "checking host system type... " >&6; }
 
4779
if test "${ac_cv_host+set}" = set; then :
 
4780
  $as_echo_n "(cached) " >&6
 
4781
else
 
4782
  if test "x$host_alias" = x; then
 
4783
  ac_cv_host=$ac_cv_build
 
4784
else
 
4785
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4786
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4787
fi
 
4788
 
 
4789
fi
 
4790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4791
$as_echo "$ac_cv_host" >&6; }
 
4792
case $ac_cv_host in
 
4793
*-*-*) ;;
 
4794
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4795
esac
 
4796
host=$ac_cv_host
 
4797
ac_save_IFS=$IFS; IFS='-'
 
4798
set x $ac_cv_host
 
4799
shift
 
4800
host_cpu=$1
 
4801
host_vendor=$2
 
4802
shift; shift
 
4803
# Remember, the first character of IFS is used to create $*,
 
4804
# except with old shells:
 
4805
host_os=$*
 
4806
IFS=$ac_save_IFS
 
4807
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4808
 
 
4809
 
 
4810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4811
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4812
if test "${ac_cv_path_SED+set}" = set; then :
 
4813
  $as_echo_n "(cached) " >&6
 
4814
else
 
4815
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4816
     for ac_i in 1 2 3 4 5 6 7; do
 
4817
       ac_script="$ac_script$as_nl$ac_script"
 
4818
     done
 
4819
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4820
     { ac_script=; unset ac_script;}
 
4821
     if test -z "$SED"; then
 
4822
  ac_path_SED_found=false
 
4823
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4824
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4825
for as_dir in $PATH
 
4826
do
 
4827
  IFS=$as_save_IFS
 
4828
  test -z "$as_dir" && as_dir=.
 
4829
    for ac_prog in sed gsed; do
 
4830
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4831
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4832
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4833
# Check for GNU ac_path_SED and select it if it is found.
 
4834
  # Check for GNU $ac_path_SED
 
4835
case `"$ac_path_SED" --version 2>&1` in
 
4836
*GNU*)
 
4837
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4838
*)
 
4839
  ac_count=0
 
4840
  $as_echo_n 0123456789 >"conftest.in"
 
4841
  while :
 
4842
  do
 
4843
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4844
    mv "conftest.tmp" "conftest.in"
 
4845
    cp "conftest.in" "conftest.nl"
 
4846
    $as_echo '' >> "conftest.nl"
 
4847
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4848
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4849
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4850
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4851
      # Best one so far, save it but keep looking for a better one
 
4852
      ac_cv_path_SED="$ac_path_SED"
 
4853
      ac_path_SED_max=$ac_count
 
4854
    fi
 
4855
    # 10*(2^10) chars as input seems more than enough
 
4856
    test $ac_count -gt 10 && break
 
4857
  done
 
4858
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4859
esac
 
4860
 
 
4861
      $ac_path_SED_found && break 3
 
4862
    done
 
4863
  done
 
4864
  done
 
4865
IFS=$as_save_IFS
 
4866
  if test -z "$ac_cv_path_SED"; then
 
4867
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4868
  fi
 
4869
else
 
4870
  ac_cv_path_SED=$SED
 
4871
fi
 
4872
 
 
4873
fi
 
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4875
$as_echo "$ac_cv_path_SED" >&6; }
 
4876
 SED="$ac_cv_path_SED"
 
4877
  rm -f conftest.sed
 
4878
 
 
4879
 
 
4880
 
 
4881
 
 
4882
 
 
4883
if  test "x$GCC" = xyes ; then
 
4884
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
 
4885
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
 
4886
-Wbad-function-cast -Wformat=2"
 
4887
    case `$CC -dumpversion` in
 
4888
    3.4.* | 4.*)
 
4889
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
 
4890
        ;;
 
4891
    esac
 
4892
else
 
4893
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4894
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
4895
  SUNCC="yes"
 
4896
else
 
4897
  SUNCC="no"
 
4898
fi
 
4899
 
 
4900
    if test "x$SUNCC" = "xyes"; then
 
4901
        CWARNFLAGS="-v"
 
4902
    fi
 
4903
fi
 
4904
 
 
4905
 
 
4906
 
 
4907
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
 
4908
 
 
4909
 
 
4910
 
 
4911
# Check whether --enable-strict-compilation was given.
 
4912
if test "${enable_strict_compilation+set}" = set; then :
 
4913
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
 
4914
else
 
4915
  STRICT_COMPILE=no
 
4916
fi
 
4917
 
 
4918
if test "x$STRICT_COMPILE" = "xyes"; then
 
4919
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4920
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
4921
  SUNCC="yes"
 
4922
else
 
4923
  SUNCC="no"
 
4924
fi
 
4925
 
 
4926
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
 
4927
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
 
4928
  INTELCC="yes"
 
4929
else
 
4930
  INTELCC="no"
 
4931
fi
 
4932
 
 
4933
        if test "x$GCC" = xyes ; then
 
4934
                STRICT_CFLAGS="-pedantic -Werror"
 
4935
        elif test "x$SUNCC" = "xyes"; then
 
4936
                STRICT_CFLAGS="-errwarn"
 
4937
    elif test "x$INTELCC" = "xyes"; then
 
4938
                STRICT_CFLAGS="-Werror"
 
4939
        fi
 
4940
fi
 
4941
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
 
4942
 
 
4943
 
 
4944
 
 
4945
 
 
4946
cat >>confdefs.h <<_ACEOF
 
4947
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
4948
_ACEOF
 
4949
 
 
4950
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
 
4951
        if test "x$PVM" = "x"; then
 
4952
                PVM="0"
 
4953
        fi
 
4954
 
 
4955
cat >>confdefs.h <<_ACEOF
 
4956
#define PACKAGE_VERSION_MINOR $PVM
 
4957
_ACEOF
 
4958
 
 
4959
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
 
4960
        if test "x$PVP" = "x"; then
 
4961
                PVP="0"
 
4962
        fi
 
4963
 
 
4964
cat >>confdefs.h <<_ACEOF
 
4965
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
4966
_ACEOF
 
4967
 
 
4968
 
 
4969
 
 
4970
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
 
4971
mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
 
4972
|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
 
4973
echo 'git directory not found: installing possibly empty changelog.' >&2)"
 
4974
 
 
4975
 
 
4976
 
 
4977
 
 
4978
macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
 
4979
INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
 
4980
mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
 
4981
|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
 
4982
echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
 
4983
 
 
4984
 
 
4985
 
 
4986
 
 
4987
 
 
4988
 
 
4989
if test x$APP_MAN_SUFFIX = x    ; then
 
4990
    APP_MAN_SUFFIX=1
 
4991
fi
 
4992
if test x$APP_MAN_DIR = x    ; then
 
4993
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
 
4994
fi
 
4995
 
 
4996
if test x$LIB_MAN_SUFFIX = x    ; then
 
4997
    LIB_MAN_SUFFIX=3
 
4998
fi
 
4999
if test x$LIB_MAN_DIR = x    ; then
 
5000
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
 
5001
fi
 
5002
 
 
5003
if test x$FILE_MAN_SUFFIX = x    ; then
 
5004
    case $host_os in
 
5005
        solaris*)       FILE_MAN_SUFFIX=4  ;;
 
5006
        *)              FILE_MAN_SUFFIX=5  ;;
 
5007
    esac
 
5008
fi
 
5009
if test x$FILE_MAN_DIR = x    ; then
 
5010
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
 
5011
fi
 
5012
 
 
5013
if test x$MISC_MAN_SUFFIX = x    ; then
 
5014
    case $host_os in
 
5015
        solaris*)       MISC_MAN_SUFFIX=5  ;;
 
5016
        *)              MISC_MAN_SUFFIX=7  ;;
 
5017
    esac
 
5018
fi
 
5019
if test x$MISC_MAN_DIR = x    ; then
 
5020
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
 
5021
fi
 
5022
 
 
5023
if test x$DRIVER_MAN_SUFFIX = x    ; then
 
5024
    case $host_os in
 
5025
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
 
5026
        *)              DRIVER_MAN_SUFFIX=4  ;;
 
5027
    esac
 
5028
fi
 
5029
if test x$DRIVER_MAN_DIR = x    ; then
 
5030
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
 
5031
fi
 
5032
 
 
5033
if test x$ADMIN_MAN_SUFFIX = x    ; then
 
5034
    case $host_os in
 
5035
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
 
5036
        *)              ADMIN_MAN_SUFFIX=8  ;;
 
5037
    esac
 
5038
fi
 
5039
if test x$ADMIN_MAN_DIR = x    ; then
 
5040
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
 
5041
fi
 
5042
 
 
5043
 
 
5044
 
 
5045
 
 
5046
 
 
5047
 
 
5048
 
 
5049
 
 
5050
 
 
5051
 
 
5052
 
 
5053
 
 
5054
 
 
5055
 
 
5056
 
 
5057
XORG_MAN_PAGE="X Version 11"
 
5058
 
 
5059
MAN_SUBSTS="\
 
5060
        -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
5061
        -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
5062
        -e 's|__xservername__|Xorg|g' \
 
5063
        -e 's|__xconfigfile__|xorg.conf|g' \
 
5064
        -e 's|__projectroot__|\$(prefix)|g' \
 
5065
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
 
5066
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
 
5067
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
 
5068
        -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
 
5069
        -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
 
5070
        -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
 
5071
 
 
5072
 
 
5073
 
 
5074
# Check whether --enable-silent-rules was given.
 
5075
if test "${enable_silent_rules+set}" = set; then :
 
5076
  enableval=$enable_silent_rules;
 
5077
fi
 
5078
 
 
5079
case $enable_silent_rules in
 
5080
yes) AM_DEFAULT_VERBOSITY=0;;
 
5081
no)  AM_DEFAULT_VERBOSITY=1;;
 
5082
*)   AM_DEFAULT_VERBOSITY=0;;
 
5083
esac
 
5084
AM_BACKSLASH='\'
 
5085
 
 
5086
 
 
5087
 
 
5088
default=
 
5089
if test "x$default" = x ; then
 
5090
  default="yes"
 
5091
fi
 
5092
# Check whether --enable-docs was given.
 
5093
if test "${enable_docs+set}" = set; then :
 
5094
  enableval=$enable_docs; build_docs=$enableval
 
5095
else
 
5096
  build_docs=$default
 
5097
fi
 
5098
 
 
5099
 if test x$build_docs = xyes; then
 
5100
  ENABLE_DOCS_TRUE=
 
5101
  ENABLE_DOCS_FALSE='#'
 
5102
else
 
5103
  ENABLE_DOCS_TRUE='#'
 
5104
  ENABLE_DOCS_FALSE=
 
5105
fi
 
5106
 
 
5107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
 
5108
$as_echo_n "checking whether to build documentation... " >&6; }
 
5109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
 
5110
$as_echo "$build_docs" >&6; }
 
5111
 
 
5112
 
 
5113
spec_default=
 
5114
if test "x$spec_default" = x ; then
 
5115
  spec_default="yes"
 
5116
fi
 
5117
# Check whether --enable-specs was given.
 
5118
if test "${enable_specs+set}" = set; then :
 
5119
  enableval=$enable_specs; build_specs=$enableval
 
5120
else
 
5121
  build_specs=$spec_default
 
5122
fi
 
5123
 
 
5124
 if test x$build_specs = xyes; then
 
5125
  ENABLE_SPECS_TRUE=
 
5126
  ENABLE_SPECS_FALSE='#'
 
5127
else
 
5128
  ENABLE_SPECS_TRUE='#'
 
5129
  ENABLE_SPECS_FALSE=
 
5130
fi
 
5131
 
 
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
 
5133
$as_echo_n "checking whether to build functional specifications... " >&6; }
 
5134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
 
5135
$as_echo "$build_specs" >&6; }
 
5136
 
 
5137
 
 
5138
 
 
5139
 
 
5140
# Check whether --with-xmlto was given.
 
5141
if test "${with_xmlto+set}" = set; then :
 
5142
  withval=$with_xmlto; use_xmlto=$withval
 
5143
else
 
5144
  use_xmlto=auto
 
5145
fi
 
5146
 
 
5147
 
 
5148
if test "x$use_xmlto" = x"auto"; then
 
5149
   # Extract the first word of "xmlto", so it can be a program name with args.
 
5150
set dummy xmlto; ac_word=$2
 
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5152
$as_echo_n "checking for $ac_word... " >&6; }
 
5153
if test "${ac_cv_path_XMLTO+set}" = set; then :
 
5154
  $as_echo_n "(cached) " >&6
 
5155
else
 
5156
  case $XMLTO in
 
5157
  [\\/]* | ?:[\\/]*)
 
5158
  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
 
5159
  ;;
 
5160
  *)
 
5161
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5162
for as_dir in $PATH
 
5163
do
 
5164
  IFS=$as_save_IFS
 
5165
  test -z "$as_dir" && as_dir=.
 
5166
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5168
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
 
5169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5170
    break 2
 
5171
  fi
 
5172
done
 
5173
  done
 
5174
IFS=$as_save_IFS
 
5175
 
 
5176
  ;;
 
5177
esac
 
5178
fi
 
5179
XMLTO=$ac_cv_path_XMLTO
 
5180
if test -n "$XMLTO"; then
 
5181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
 
5182
$as_echo "$XMLTO" >&6; }
 
5183
else
 
5184
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5185
$as_echo "no" >&6; }
 
5186
fi
 
5187
 
 
5188
 
 
5189
   if test "x$XMLTO" = "x"; then
 
5190
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
 
5191
$as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
 
5192
        have_xmlto=no
 
5193
   else
 
5194
        have_xmlto=yes
 
5195
   fi
 
5196
elif test "x$use_xmlto" = x"yes" ; then
 
5197
   # Extract the first word of "xmlto", so it can be a program name with args.
 
5198
set dummy xmlto; ac_word=$2
 
5199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5200
$as_echo_n "checking for $ac_word... " >&6; }
 
5201
if test "${ac_cv_path_XMLTO+set}" = set; then :
 
5202
  $as_echo_n "(cached) " >&6
 
5203
else
 
5204
  case $XMLTO in
 
5205
  [\\/]* | ?:[\\/]*)
 
5206
  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
 
5207
  ;;
 
5208
  *)
 
5209
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5210
for as_dir in $PATH
 
5211
do
 
5212
  IFS=$as_save_IFS
 
5213
  test -z "$as_dir" && as_dir=.
 
5214
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5215
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5216
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
 
5217
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5218
    break 2
 
5219
  fi
 
5220
done
 
5221
  done
 
5222
IFS=$as_save_IFS
 
5223
 
 
5224
  ;;
 
5225
esac
 
5226
fi
 
5227
XMLTO=$ac_cv_path_XMLTO
 
5228
if test -n "$XMLTO"; then
 
5229
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
 
5230
$as_echo "$XMLTO" >&6; }
 
5231
else
 
5232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5233
$as_echo "no" >&6; }
 
5234
fi
 
5235
 
 
5236
 
 
5237
   if test "x$XMLTO" = "x"; then
 
5238
        as_fn_error "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
 
5239
   fi
 
5240
   have_xmlto=yes
 
5241
elif test "x$use_xmlto" = x"no" ; then
 
5242
   if test "x$XMLTO" != "x"; then
 
5243
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
 
5244
$as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
 
5245
   fi
 
5246
   have_xmlto=no
 
5247
else
 
5248
   as_fn_error "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
 
5249
fi
 
5250
 
 
5251
# Test for a minimum version of xmlto, if provided.
 
5252
if test "$have_xmlto" = yes; then
 
5253
    # scrape the xmlto version
 
5254
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
 
5255
$as_echo_n "checking the xmlto version... " >&6; }
 
5256
    xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
 
5257
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
 
5258
$as_echo "$xmlto_version" >&6; }
 
5259
    as_arg_v1=$xmlto_version
 
5260
as_arg_v2=0.0.20
 
5261
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
5262
case $? in #(
 
5263
  1) :
 
5264
    if test "x$use_xmlto" = xauto; then
 
5265
            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
 
5266
$as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
 
5267
            have_xmlto=no
 
5268
        else
 
5269
            as_fn_error "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
 
5270
        fi ;; #(
 
5271
  0) :
 
5272
     ;; #(
 
5273
  2) :
 
5274
     ;; #(
 
5275
  *) :
 
5276
     ;;
 
5277
esac
 
5278
fi
 
5279
 
 
5280
# Test for the ability of xmlto to generate a text target
 
5281
have_xmlto_text=no
 
5282
cat > conftest.xml << "EOF"
 
5283
EOF
 
5284
if test "$have_xmlto" = yes; then :
 
5285
  if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
 
5286
  have_xmlto_text=yes
 
5287
else
 
5288
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
 
5289
$as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
 
5290
fi
 
5291
fi
 
5292
rm -f conftest.xml
 
5293
 if test $have_xmlto_text = yes; then
 
5294
  HAVE_XMLTO_TEXT_TRUE=
 
5295
  HAVE_XMLTO_TEXT_FALSE='#'
 
5296
else
 
5297
  HAVE_XMLTO_TEXT_TRUE='#'
 
5298
  HAVE_XMLTO_TEXT_FALSE=
 
5299
fi
 
5300
 
 
5301
 if test "$have_xmlto" = yes; then
 
5302
  HAVE_XMLTO_TRUE=
 
5303
  HAVE_XMLTO_FALSE='#'
 
5304
else
 
5305
  HAVE_XMLTO_TRUE='#'
 
5306
  HAVE_XMLTO_FALSE=
 
5307
fi
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
# Check whether --with-fop was given.
 
5314
if test "${with_fop+set}" = set; then :
 
5315
  withval=$with_fop; use_fop=$withval
 
5316
else
 
5317
  use_fop=auto
 
5318
fi
 
5319
 
 
5320
 
 
5321
if test "x$use_fop" = x"auto"; then
 
5322
   # Extract the first word of "fop", so it can be a program name with args.
 
5323
set dummy fop; ac_word=$2
 
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5325
$as_echo_n "checking for $ac_word... " >&6; }
 
5326
if test "${ac_cv_path_FOP+set}" = set; then :
 
5327
  $as_echo_n "(cached) " >&6
 
5328
else
 
5329
  case $FOP in
 
5330
  [\\/]* | ?:[\\/]*)
 
5331
  ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
 
5332
  ;;
 
5333
  *)
 
5334
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5335
for as_dir in $PATH
 
5336
do
 
5337
  IFS=$as_save_IFS
 
5338
  test -z "$as_dir" && as_dir=.
 
5339
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5341
    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
 
5342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5343
    break 2
 
5344
  fi
 
5345
done
 
5346
  done
 
5347
IFS=$as_save_IFS
 
5348
 
 
5349
  ;;
 
5350
esac
 
5351
fi
 
5352
FOP=$ac_cv_path_FOP
 
5353
if test -n "$FOP"; then
 
5354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
 
5355
$as_echo "$FOP" >&6; }
 
5356
else
 
5357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5358
$as_echo "no" >&6; }
 
5359
fi
 
5360
 
 
5361
 
 
5362
   if test "x$FOP" = "x"; then
 
5363
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
 
5364
$as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
 
5365
        have_fop=no
 
5366
   else
 
5367
        have_fop=yes
 
5368
   fi
 
5369
elif test "x$use_fop" = x"yes" ; then
 
5370
   # Extract the first word of "fop", so it can be a program name with args.
 
5371
set dummy fop; ac_word=$2
 
5372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5373
$as_echo_n "checking for $ac_word... " >&6; }
 
5374
if test "${ac_cv_path_FOP+set}" = set; then :
 
5375
  $as_echo_n "(cached) " >&6
 
5376
else
 
5377
  case $FOP in
 
5378
  [\\/]* | ?:[\\/]*)
 
5379
  ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
 
5380
  ;;
 
5381
  *)
 
5382
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5383
for as_dir in $PATH
 
5384
do
 
5385
  IFS=$as_save_IFS
 
5386
  test -z "$as_dir" && as_dir=.
 
5387
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5388
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5389
    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
 
5390
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5391
    break 2
 
5392
  fi
 
5393
done
 
5394
  done
 
5395
IFS=$as_save_IFS
 
5396
 
 
5397
  ;;
 
5398
esac
 
5399
fi
 
5400
FOP=$ac_cv_path_FOP
 
5401
if test -n "$FOP"; then
 
5402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
 
5403
$as_echo "$FOP" >&6; }
 
5404
else
 
5405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5406
$as_echo "no" >&6; }
 
5407
fi
 
5408
 
 
5409
 
 
5410
   if test "x$FOP" = "x"; then
 
5411
        as_fn_error "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
 
5412
   fi
 
5413
   have_fop=yes
 
5414
elif test "x$use_fop" = x"no" ; then
 
5415
   if test "x$FOP" != "x"; then
 
5416
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
 
5417
$as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
 
5418
   fi
 
5419
   have_fop=no
 
5420
else
 
5421
   as_fn_error "--with-fop expects 'yes' or 'no'" "$LINENO" 5
 
5422
fi
 
5423
 if test "$have_fop" = yes; then
 
5424
  HAVE_FOP_TRUE=
 
5425
  HAVE_FOP_FALSE='#'
 
5426
else
 
5427
  HAVE_FOP_TRUE='#'
 
5428
  HAVE_FOP_FALSE=
 
5429
fi
 
5430
 
 
5431
 
 
5432
 
 
5433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
 
5434
$as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
 
5435
XORG_SGML_PATH=
 
5436
if test -n "$PKG_CONFIG" && \
 
5437
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
 
5438
  ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
 
5439
  ac_status=$?
 
5440
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5441
  test $ac_status = 0; }; then
 
5442
  XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
 
5443
else
 
5444
  :
 
5445
 
 
5446
fi
 
5447
 
 
5448
# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
 
5449
# the path and the name of the doc stylesheet
 
5450
if test "x$XORG_SGML_PATH" != "x" ; then
 
5451
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
 
5452
$as_echo "$XORG_SGML_PATH" >&6; }
 
5453
   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
 
5454
   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
 
5455
else
 
5456
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5457
$as_echo "no" >&6; }
 
5458
fi
 
5459
 
 
5460
 
 
5461
 
 
5462
 
 
5463
 if test "x$XSL_STYLESHEET" != "x"; then
 
5464
  HAVE_STYLESHEETS_TRUE=
 
5465
  HAVE_STYLESHEETS_FALSE='#'
 
5466
else
 
5467
  HAVE_STYLESHEETS_TRUE='#'
 
5468
  HAVE_STYLESHEETS_FALSE=
 
5469
fi
 
5470
 
 
5471
 
 
5472
 
 
5473
# Checks for programs.
 
5474
case `pwd` in
 
5475
  *\ * | *\     *)
 
5476
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5477
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5478
esac
 
5479
 
 
5480
 
 
5481
 
 
5482
macro_version='2.2.6b'
 
5483
macro_revision='1.3017'
 
5484
 
 
5485
 
 
5486
 
 
5487
 
 
5488
 
 
5489
 
 
5490
 
 
5491
 
 
5492
 
 
5493
 
 
5494
 
 
5495
 
 
5496
 
 
5497
ltmain="$ac_aux_dir/ltmain.sh"
 
5498
 
 
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5500
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5501
if test "${ac_cv_path_SED+set}" = set; then :
 
5502
  $as_echo_n "(cached) " >&6
 
5503
else
 
5504
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5505
     for ac_i in 1 2 3 4 5 6 7; do
 
5506
       ac_script="$ac_script$as_nl$ac_script"
 
5507
     done
 
5508
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5509
     { ac_script=; unset ac_script;}
 
5510
     if test -z "$SED"; then
 
5511
  ac_path_SED_found=false
 
5512
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5513
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5514
for as_dir in $PATH
 
5515
do
 
5516
  IFS=$as_save_IFS
 
5517
  test -z "$as_dir" && as_dir=.
 
5518
    for ac_prog in sed gsed; do
 
5519
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5520
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5521
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5522
# Check for GNU ac_path_SED and select it if it is found.
 
5523
  # Check for GNU $ac_path_SED
 
5524
case `"$ac_path_SED" --version 2>&1` in
 
5525
*GNU*)
 
5526
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5527
*)
 
5528
  ac_count=0
 
5529
  $as_echo_n 0123456789 >"conftest.in"
 
5530
  while :
 
5531
  do
 
5532
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5533
    mv "conftest.tmp" "conftest.in"
 
5534
    cp "conftest.in" "conftest.nl"
 
5535
    $as_echo '' >> "conftest.nl"
 
5536
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5537
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5538
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5539
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5540
      # Best one so far, save it but keep looking for a better one
 
5541
      ac_cv_path_SED="$ac_path_SED"
 
5542
      ac_path_SED_max=$ac_count
 
5543
    fi
 
5544
    # 10*(2^10) chars as input seems more than enough
 
5545
    test $ac_count -gt 10 && break
 
5546
  done
 
5547
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5548
esac
 
5549
 
 
5550
      $ac_path_SED_found && break 3
 
5551
    done
 
5552
  done
 
5553
  done
 
5554
IFS=$as_save_IFS
 
5555
  if test -z "$ac_cv_path_SED"; then
 
5556
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5557
  fi
 
5558
else
 
5559
  ac_cv_path_SED=$SED
 
5560
fi
 
5561
 
 
5562
fi
 
5563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5564
$as_echo "$ac_cv_path_SED" >&6; }
 
5565
 SED="$ac_cv_path_SED"
 
5566
  rm -f conftest.sed
 
5567
 
 
5568
test -z "$SED" && SED=sed
 
5569
Xsed="$SED -e 1s/^X//"
 
5570
 
 
5571
 
 
5572
 
 
5573
 
 
5574
 
 
5575
 
 
5576
 
 
5577
 
 
5578
 
 
5579
 
 
5580
 
 
5581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4087
5582
$as_echo_n "checking for fgrep... " >&6; }
4088
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5583
if test "${ac_cv_path_FGREP+set}" = set; then :
4089
5584
  $as_echo_n "(cached) " >&6
4090
5585
else
4091
5586
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4099
5594
do
4100
5595
  IFS=$as_save_IFS
4101
5596
  test -z "$as_dir" && as_dir=.
4102
 
  for ac_prog in fgrep; do
 
5597
    for ac_prog in fgrep; do
4103
5598
    for ac_exec_ext in '' $ac_executable_extensions; do
4104
5599
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4105
5600
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4119
5614
    $as_echo 'FGREP' >> "conftest.nl"
4120
5615
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4121
5616
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4122
 
    ac_count=`expr $ac_count + 1`
 
5617
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4123
5618
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4124
5619
      # Best one so far, save it but keep looking for a better one
4125
5620
      ac_cv_path_FGREP="$ac_path_FGREP"
4134
5629
      $ac_path_FGREP_found && break 3
4135
5630
    done
4136
5631
  done
4137
 
done
 
5632
  done
4138
5633
IFS=$as_save_IFS
4139
5634
  if test -z "$ac_cv_path_FGREP"; then
4140
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4141
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4142
 
   { (exit 1); exit 1; }; }
 
5635
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4143
5636
  fi
4144
5637
else
4145
5638
  ac_cv_path_FGREP=$FGREP
4147
5640
 
4148
5641
   fi
4149
5642
fi
4150
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4151
5644
$as_echo "$ac_cv_path_FGREP" >&6; }
4152
5645
 FGREP="$ac_cv_path_FGREP"
4153
5646
 
4173
5666
 
4174
5667
 
4175
5668
# Check whether --with-gnu-ld was given.
4176
 
if test "${with_gnu_ld+set}" = set; then
 
5669
if test "${with_gnu_ld+set}" = set; then :
4177
5670
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4178
5671
else
4179
5672
  with_gnu_ld=no
4182
5675
ac_prog=ld
4183
5676
if test "$GCC" = yes; then
4184
5677
  # Check if gcc -print-prog-name=ld gives a path.
4185
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5678
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4186
5679
$as_echo_n "checking for ld used by $CC... " >&6; }
4187
5680
  case $host in
4188
5681
  *-*-mingw*)
4212
5705
    ;;
4213
5706
  esac
4214
5707
elif test "$with_gnu_ld" = yes; then
4215
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5708
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4216
5709
$as_echo_n "checking for GNU ld... " >&6; }
4217
5710
else
4218
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5711
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4219
5712
$as_echo_n "checking for non-GNU ld... " >&6; }
4220
5713
fi
4221
 
if test "${lt_cv_path_LD+set}" = set; then
 
5714
if test "${lt_cv_path_LD+set}" = set; then :
4222
5715
  $as_echo_n "(cached) " >&6
4223
5716
else
4224
5717
  if test -z "$LD"; then
4249
5742
 
4250
5743
LD="$lt_cv_path_LD"
4251
5744
if test -n "$LD"; then
4252
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4253
5746
$as_echo "$LD" >&6; }
4254
5747
else
4255
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256
5749
$as_echo "no" >&6; }
4257
5750
fi
4258
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4259
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4260
 
   { (exit 1); exit 1; }; }
4261
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5751
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4262
5753
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4263
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5754
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4264
5755
  $as_echo_n "(cached) " >&6
4265
5756
else
4266
5757
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4273
5764
  ;;
4274
5765
esac
4275
5766
fi
4276
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4277
5768
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4278
5769
with_gnu_ld=$lt_cv_prog_gnu_ld
4279
5770
 
4285
5776
 
4286
5777
 
4287
5778
 
4288
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4289
5780
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4290
 
if test "${lt_cv_path_NM+set}" = set; then
 
5781
if test "${lt_cv_path_NM+set}" = set; then :
4291
5782
  $as_echo_n "(cached) " >&6
4292
5783
else
4293
5784
  if test -n "$NM"; then
4334
5825
  : ${lt_cv_path_NM=no}
4335
5826
fi
4336
5827
fi
4337
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4338
5829
$as_echo "$lt_cv_path_NM" >&6; }
4339
5830
if test "$lt_cv_path_NM" != "no"; then
4340
5831
  NM="$lt_cv_path_NM"
4345
5836
  do
4346
5837
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4347
5838
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4348
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349
5840
$as_echo_n "checking for $ac_word... " >&6; }
4350
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5841
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4351
5842
  $as_echo_n "(cached) " >&6
4352
5843
else
4353
5844
  if test -n "$DUMPBIN"; then
4358
5849
do
4359
5850
  IFS=$as_save_IFS
4360
5851
  test -z "$as_dir" && as_dir=.
4361
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5852
    for ac_exec_ext in '' $ac_executable_extensions; do
4362
5853
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4363
5854
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4364
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5855
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365
5856
    break 2
4366
5857
  fi
4367
5858
done
4368
 
done
 
5859
  done
4369
5860
IFS=$as_save_IFS
4370
5861
 
4371
5862
fi
4372
5863
fi
4373
5864
DUMPBIN=$ac_cv_prog_DUMPBIN
4374
5865
if test -n "$DUMPBIN"; then
4375
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4376
5867
$as_echo "$DUMPBIN" >&6; }
4377
5868
else
4378
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379
5870
$as_echo "no" >&6; }
4380
5871
fi
4381
5872
 
4389
5880
do
4390
5881
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4391
5882
set dummy $ac_prog; ac_word=$2
4392
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393
5884
$as_echo_n "checking for $ac_word... " >&6; }
4394
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5885
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4395
5886
  $as_echo_n "(cached) " >&6
4396
5887
else
4397
5888
  if test -n "$ac_ct_DUMPBIN"; then
4402
5893
do
4403
5894
  IFS=$as_save_IFS
4404
5895
  test -z "$as_dir" && as_dir=.
4405
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5896
    for ac_exec_ext in '' $ac_executable_extensions; do
4406
5897
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4407
5898
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4408
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5899
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409
5900
    break 2
4410
5901
  fi
4411
5902
done
4412
 
done
 
5903
  done
4413
5904
IFS=$as_save_IFS
4414
5905
 
4415
5906
fi
4416
5907
fi
4417
5908
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4418
5909
if test -n "$ac_ct_DUMPBIN"; then
4419
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4420
5911
$as_echo "$ac_ct_DUMPBIN" >&6; }
4421
5912
else
4422
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423
5914
$as_echo "no" >&6; }
4424
5915
fi
4425
5916
 
4432
5923
  else
4433
5924
    case $cross_compiling:$ac_tool_warned in
4434
5925
yes:)
4435
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4436
5927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4437
5928
ac_tool_warned=yes ;;
4438
5929
esac
4452
5943
 
4453
5944
 
4454
5945
 
4455
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4456
5947
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4457
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5948
if test "${lt_cv_nm_interface+set}" = set; then :
4458
5949
  $as_echo_n "(cached) " >&6
4459
5950
else
4460
5951
  lt_cv_nm_interface="BSD nm"
4461
5952
  echo "int some_variable = 0;" > conftest.$ac_ext
4462
 
  (eval echo "\"\$as_me:4462: $ac_compile\"" >&5)
 
5953
  (eval echo "\"\$as_me:5953: $ac_compile\"" >&5)
4463
5954
  (eval "$ac_compile" 2>conftest.err)
4464
5955
  cat conftest.err >&5
4465
 
  (eval echo "\"\$as_me:4465: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5956
  (eval echo "\"\$as_me:5956: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4466
5957
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4467
5958
  cat conftest.err >&5
4468
 
  (eval echo "\"\$as_me:4468: output\"" >&5)
 
5959
  (eval echo "\"\$as_me:5959: output\"" >&5)
4469
5960
  cat conftest.out >&5
4470
5961
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4471
5962
    lt_cv_nm_interface="MS dumpbin"
4472
5963
  fi
4473
5964
  rm -f conftest*
4474
5965
fi
4475
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4476
5967
$as_echo "$lt_cv_nm_interface" >&6; }
4477
5968
 
4478
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4479
5970
$as_echo_n "checking whether ln -s works... " >&6; }
4480
5971
LN_S=$as_ln_s
4481
5972
if test "$LN_S" = "ln -s"; then
4482
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4483
5974
$as_echo "yes" >&6; }
4484
5975
else
4485
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5976
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4486
5977
$as_echo "no, using $LN_S" >&6; }
4487
5978
fi
4488
5979
 
4489
5980
# find the maximum length of command line arguments
4490
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4491
5982
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4492
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5983
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4493
5984
  $as_echo_n "(cached) " >&6
4494
5985
else
4495
5986
    i=0
4607
6098
fi
4608
6099
 
4609
6100
if test -n $lt_cv_sys_max_cmd_len ; then
4610
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4611
6102
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4612
6103
else
4613
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4614
6105
$as_echo "none" >&6; }
4615
6106
fi
4616
6107
max_cmd_len=$lt_cv_sys_max_cmd_len
4624
6115
: ${MV="mv -f"}
4625
6116
: ${RM="rm -f"}
4626
6117
 
4627
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4628
6119
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4629
6120
# Try some XSI features
4630
6121
xsi_shell=no
4634
6125
    && eval 'test $(( 1 + 1 )) -eq 2 \
4635
6126
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4636
6127
  && xsi_shell=yes
4637
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4638
6129
$as_echo "$xsi_shell" >&6; }
4639
6130
 
4640
6131
 
4641
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4642
6133
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4643
6134
lt_shell_append=no
4644
6135
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4645
6136
    >/dev/null 2>&1 \
4646
6137
  && lt_shell_append=yes
4647
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4648
6139
$as_echo "$lt_shell_append" >&6; }
4649
6140
 
4650
6141
 
4679
6170
 
4680
6171
 
4681
6172
 
4682
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4683
6174
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4684
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6175
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4685
6176
  $as_echo_n "(cached) " >&6
4686
6177
else
4687
6178
  lt_cv_ld_reload_flag='-r'
4688
6179
fi
4689
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4690
6181
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4691
6182
reload_flag=$lt_cv_ld_reload_flag
4692
6183
case $reload_flag in
4715
6206
if test -n "$ac_tool_prefix"; then
4716
6207
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4717
6208
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4718
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719
6210
$as_echo_n "checking for $ac_word... " >&6; }
4720
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6211
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4721
6212
  $as_echo_n "(cached) " >&6
4722
6213
else
4723
6214
  if test -n "$OBJDUMP"; then
4728
6219
do
4729
6220
  IFS=$as_save_IFS
4730
6221
  test -z "$as_dir" && as_dir=.
4731
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6222
    for ac_exec_ext in '' $ac_executable_extensions; do
4732
6223
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733
6224
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4734
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6225
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735
6226
    break 2
4736
6227
  fi
4737
6228
done
4738
 
done
 
6229
  done
4739
6230
IFS=$as_save_IFS
4740
6231
 
4741
6232
fi
4742
6233
fi
4743
6234
OBJDUMP=$ac_cv_prog_OBJDUMP
4744
6235
if test -n "$OBJDUMP"; then
4745
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4746
6237
$as_echo "$OBJDUMP" >&6; }
4747
6238
else
4748
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749
6240
$as_echo "no" >&6; }
4750
6241
fi
4751
6242
 
4755
6246
  ac_ct_OBJDUMP=$OBJDUMP
4756
6247
  # Extract the first word of "objdump", so it can be a program name with args.
4757
6248
set dummy objdump; ac_word=$2
4758
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759
6250
$as_echo_n "checking for $ac_word... " >&6; }
4760
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6251
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4761
6252
  $as_echo_n "(cached) " >&6
4762
6253
else
4763
6254
  if test -n "$ac_ct_OBJDUMP"; then
4768
6259
do
4769
6260
  IFS=$as_save_IFS
4770
6261
  test -z "$as_dir" && as_dir=.
4771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6262
    for ac_exec_ext in '' $ac_executable_extensions; do
4772
6263
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4773
6264
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4774
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6265
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775
6266
    break 2
4776
6267
  fi
4777
6268
done
4778
 
done
 
6269
  done
4779
6270
IFS=$as_save_IFS
4780
6271
 
4781
6272
fi
4782
6273
fi
4783
6274
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4784
6275
if test -n "$ac_ct_OBJDUMP"; then
4785
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4786
6277
$as_echo "$ac_ct_OBJDUMP" >&6; }
4787
6278
else
4788
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789
6280
$as_echo "no" >&6; }
4790
6281
fi
4791
6282
 
4794
6285
  else
4795
6286
    case $cross_compiling:$ac_tool_warned in
4796
6287
yes:)
4797
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6288
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4798
6289
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4799
6290
ac_tool_warned=yes ;;
4800
6291
esac
4814
6305
 
4815
6306
 
4816
6307
 
4817
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4818
6309
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4819
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6310
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4820
6311
  $as_echo_n "(cached) " >&6
4821
6312
else
4822
6313
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5010
6501
esac
5011
6502
 
5012
6503
fi
5013
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5014
6505
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5015
6506
file_magic_cmd=$lt_cv_file_magic_cmd
5016
6507
deplibs_check_method=$lt_cv_deplibs_check_method
5030
6521
if test -n "$ac_tool_prefix"; then
5031
6522
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5032
6523
set dummy ${ac_tool_prefix}ar; ac_word=$2
5033
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034
6525
$as_echo_n "checking for $ac_word... " >&6; }
5035
 
if test "${ac_cv_prog_AR+set}" = set; then
 
6526
if test "${ac_cv_prog_AR+set}" = set; then :
5036
6527
  $as_echo_n "(cached) " >&6
5037
6528
else
5038
6529
  if test -n "$AR"; then
5043
6534
do
5044
6535
  IFS=$as_save_IFS
5045
6536
  test -z "$as_dir" && as_dir=.
5046
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6537
    for ac_exec_ext in '' $ac_executable_extensions; do
5047
6538
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048
6539
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5049
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050
6541
    break 2
5051
6542
  fi
5052
6543
done
5053
 
done
 
6544
  done
5054
6545
IFS=$as_save_IFS
5055
6546
 
5056
6547
fi
5057
6548
fi
5058
6549
AR=$ac_cv_prog_AR
5059
6550
if test -n "$AR"; then
5060
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5061
6552
$as_echo "$AR" >&6; }
5062
6553
else
5063
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064
6555
$as_echo "no" >&6; }
5065
6556
fi
5066
6557
 
5070
6561
  ac_ct_AR=$AR
5071
6562
  # Extract the first word of "ar", so it can be a program name with args.
5072
6563
set dummy ar; ac_word=$2
5073
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074
6565
$as_echo_n "checking for $ac_word... " >&6; }
5075
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6566
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5076
6567
  $as_echo_n "(cached) " >&6
5077
6568
else
5078
6569
  if test -n "$ac_ct_AR"; then
5083
6574
do
5084
6575
  IFS=$as_save_IFS
5085
6576
  test -z "$as_dir" && as_dir=.
5086
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6577
    for ac_exec_ext in '' $ac_executable_extensions; do
5087
6578
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088
6579
    ac_cv_prog_ac_ct_AR="ar"
5089
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090
6581
    break 2
5091
6582
  fi
5092
6583
done
5093
 
done
 
6584
  done
5094
6585
IFS=$as_save_IFS
5095
6586
 
5096
6587
fi
5097
6588
fi
5098
6589
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5099
6590
if test -n "$ac_ct_AR"; then
5100
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5101
6592
$as_echo "$ac_ct_AR" >&6; }
5102
6593
else
5103
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104
6595
$as_echo "no" >&6; }
5105
6596
fi
5106
6597
 
5109
6600
  else
5110
6601
    case $cross_compiling:$ac_tool_warned in
5111
6602
yes:)
5112
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5113
6604
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5114
6605
ac_tool_warned=yes ;;
5115
6606
esac
5135
6626
if test -n "$ac_tool_prefix"; then
5136
6627
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5137
6628
set dummy ${ac_tool_prefix}strip; ac_word=$2
5138
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139
6630
$as_echo_n "checking for $ac_word... " >&6; }
5140
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6631
if test "${ac_cv_prog_STRIP+set}" = set; then :
5141
6632
  $as_echo_n "(cached) " >&6
5142
6633
else
5143
6634
  if test -n "$STRIP"; then
5148
6639
do
5149
6640
  IFS=$as_save_IFS
5150
6641
  test -z "$as_dir" && as_dir=.
5151
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6642
    for ac_exec_ext in '' $ac_executable_extensions; do
5152
6643
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153
6644
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5154
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6645
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155
6646
    break 2
5156
6647
  fi
5157
6648
done
5158
 
done
 
6649
  done
5159
6650
IFS=$as_save_IFS
5160
6651
 
5161
6652
fi
5162
6653
fi
5163
6654
STRIP=$ac_cv_prog_STRIP
5164
6655
if test -n "$STRIP"; then
5165
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6656
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5166
6657
$as_echo "$STRIP" >&6; }
5167
6658
else
5168
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169
6660
$as_echo "no" >&6; }
5170
6661
fi
5171
6662
 
5175
6666
  ac_ct_STRIP=$STRIP
5176
6667
  # Extract the first word of "strip", so it can be a program name with args.
5177
6668
set dummy strip; ac_word=$2
5178
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179
6670
$as_echo_n "checking for $ac_word... " >&6; }
5180
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6671
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5181
6672
  $as_echo_n "(cached) " >&6
5182
6673
else
5183
6674
  if test -n "$ac_ct_STRIP"; then
5188
6679
do
5189
6680
  IFS=$as_save_IFS
5190
6681
  test -z "$as_dir" && as_dir=.
5191
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6682
    for ac_exec_ext in '' $ac_executable_extensions; do
5192
6683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193
6684
    ac_cv_prog_ac_ct_STRIP="strip"
5194
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6685
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195
6686
    break 2
5196
6687
  fi
5197
6688
done
5198
 
done
 
6689
  done
5199
6690
IFS=$as_save_IFS
5200
6691
 
5201
6692
fi
5202
6693
fi
5203
6694
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5204
6695
if test -n "$ac_ct_STRIP"; then
5205
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5206
6697
$as_echo "$ac_ct_STRIP" >&6; }
5207
6698
else
5208
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209
6700
$as_echo "no" >&6; }
5210
6701
fi
5211
6702
 
5214
6705
  else
5215
6706
    case $cross_compiling:$ac_tool_warned in
5216
6707
yes:)
5217
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6708
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5218
6709
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5219
6710
ac_tool_warned=yes ;;
5220
6711
esac
5234
6725
if test -n "$ac_tool_prefix"; then
5235
6726
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5236
6727
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5237
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238
6729
$as_echo_n "checking for $ac_word... " >&6; }
5239
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6730
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5240
6731
  $as_echo_n "(cached) " >&6
5241
6732
else
5242
6733
  if test -n "$RANLIB"; then
5247
6738
do
5248
6739
  IFS=$as_save_IFS
5249
6740
  test -z "$as_dir" && as_dir=.
5250
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6741
    for ac_exec_ext in '' $ac_executable_extensions; do
5251
6742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252
6743
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5253
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6744
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254
6745
    break 2
5255
6746
  fi
5256
6747
done
5257
 
done
 
6748
  done
5258
6749
IFS=$as_save_IFS
5259
6750
 
5260
6751
fi
5261
6752
fi
5262
6753
RANLIB=$ac_cv_prog_RANLIB
5263
6754
if test -n "$RANLIB"; then
5264
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5265
6756
$as_echo "$RANLIB" >&6; }
5266
6757
else
5267
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268
6759
$as_echo "no" >&6; }
5269
6760
fi
5270
6761
 
5274
6765
  ac_ct_RANLIB=$RANLIB
5275
6766
  # Extract the first word of "ranlib", so it can be a program name with args.
5276
6767
set dummy ranlib; ac_word=$2
5277
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278
6769
$as_echo_n "checking for $ac_word... " >&6; }
5279
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6770
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5280
6771
  $as_echo_n "(cached) " >&6
5281
6772
else
5282
6773
  if test -n "$ac_ct_RANLIB"; then
5287
6778
do
5288
6779
  IFS=$as_save_IFS
5289
6780
  test -z "$as_dir" && as_dir=.
5290
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6781
    for ac_exec_ext in '' $ac_executable_extensions; do
5291
6782
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5292
6783
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5293
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6784
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294
6785
    break 2
5295
6786
  fi
5296
6787
done
5297
 
done
 
6788
  done
5298
6789
IFS=$as_save_IFS
5299
6790
 
5300
6791
fi
5301
6792
fi
5302
6793
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5303
6794
if test -n "$ac_ct_RANLIB"; then
5304
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5305
6796
$as_echo "$ac_ct_RANLIB" >&6; }
5306
6797
else
5307
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308
6799
$as_echo "no" >&6; }
5309
6800
fi
5310
6801
 
5313
6804
  else
5314
6805
    case $cross_compiling:$ac_tool_warned in
5315
6806
yes:)
5316
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5317
6808
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5318
6809
ac_tool_warned=yes ;;
5319
6810
esac
5391
6882
 
5392
6883
 
5393
6884
# Check for command to grab the raw symbol name followed by C symbol from nm.
5394
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5395
6886
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5396
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6887
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5397
6888
  $as_echo_n "(cached) " >&6
5398
6889
else
5399
6890
 
5509
7000
int main(){nm_test_var='a';nm_test_func();return(0);}
5510
7001
_LT_EOF
5511
7002
 
5512
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7003
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5513
7004
  (eval $ac_compile) 2>&5
5514
7005
  ac_status=$?
5515
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516
 
  (exit $ac_status); }; then
 
7006
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7007
  test $ac_status = 0; }; then
5517
7008
    # Now try to grab the symbols.
5518
7009
    nlist=conftest.nm
5519
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7010
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5520
7011
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5521
7012
  ac_status=$?
5522
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7013
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7014
  test $ac_status = 0; } && test -s "$nlist"; then
5524
7015
      # Try sorting and uniquifying the output.
5525
7016
      if sort "$nlist" | uniq > "$nlist"T; then
5526
7017
        mv -f "$nlist"T "$nlist"
5573
7064
          lt_save_CFLAGS="$CFLAGS"
5574
7065
          LIBS="conftstm.$ac_objext"
5575
7066
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5576
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7067
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5577
7068
  (eval $ac_link) 2>&5
5578
7069
  ac_status=$?
5579
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7070
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7071
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5581
7072
            pipe_works=yes
5582
7073
          fi
5583
7074
          LIBS="$lt_save_LIBS"
5611
7102
  lt_cv_sys_global_symbol_to_cdecl=
5612
7103
fi
5613
7104
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5614
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5615
7106
$as_echo "failed" >&6; }
5616
7107
else
5617
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5618
7109
$as_echo "ok" >&6; }
5619
7110
fi
5620
7111
 
5639
7130
 
5640
7131
 
5641
7132
 
5642
 
 
5643
7133
# Check whether --enable-libtool-lock was given.
5644
 
if test "${enable_libtool_lock+set}" = set; then
 
7134
if test "${enable_libtool_lock+set}" = set; then :
5645
7135
  enableval=$enable_libtool_lock;
5646
7136
fi
5647
7137
 
5653
7143
ia64-*-hpux*)
5654
7144
  # Find out which ABI we are using.
5655
7145
  echo 'int i;' > conftest.$ac_ext
5656
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7146
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5657
7147
  (eval $ac_compile) 2>&5
5658
7148
  ac_status=$?
5659
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660
 
  (exit $ac_status); }; then
 
7149
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7150
  test $ac_status = 0; }; then
5661
7151
    case `/usr/bin/file conftest.$ac_objext` in
5662
7152
      *ELF-32*)
5663
7153
        HPUX_IA64_MODE="32"
5671
7161
  ;;
5672
7162
*-*-irix6*)
5673
7163
  # Find out which ABI we are using.
5674
 
  echo '#line 5674 "configure"' > conftest.$ac_ext
5675
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7164
  echo '#line 7164 "configure"' > conftest.$ac_ext
 
7165
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5676
7166
  (eval $ac_compile) 2>&5
5677
7167
  ac_status=$?
5678
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679
 
  (exit $ac_status); }; then
 
7168
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7169
  test $ac_status = 0; }; then
5680
7170
    if test "$lt_cv_prog_gnu_ld" = yes; then
5681
7171
      case `/usr/bin/file conftest.$ac_objext` in
5682
7172
        *32-bit*)
5710
7200
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5711
7201
  # Find out which ABI we are using.
5712
7202
  echo 'int i;' > conftest.$ac_ext
5713
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7203
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5714
7204
  (eval $ac_compile) 2>&5
5715
7205
  ac_status=$?
5716
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717
 
  (exit $ac_status); }; then
 
7206
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7207
  test $ac_status = 0; }; then
5718
7208
    case `/usr/bin/file conftest.o` in
5719
7209
      *32-bit*)
5720
7210
        case $host in
5763
7253
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5764
7254
  SAVE_CFLAGS="$CFLAGS"
5765
7255
  CFLAGS="$CFLAGS -belf"
5766
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7256
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5767
7257
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5768
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7258
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5769
7259
  $as_echo_n "(cached) " >&6
5770
7260
else
5771
7261
  ac_ext=c
5774
7264
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5775
7265
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5776
7266
 
5777
 
     cat >conftest.$ac_ext <<_ACEOF
5778
 
/* confdefs.h.  */
5779
 
_ACEOF
5780
 
cat confdefs.h >>conftest.$ac_ext
5781
 
cat >>conftest.$ac_ext <<_ACEOF
 
7267
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782
7268
/* end confdefs.h.  */
5783
7269
 
5784
7270
int
5789
7275
  return 0;
5790
7276
}
5791
7277
_ACEOF
5792
 
rm -f conftest.$ac_objext conftest$ac_exeext
5793
 
if { (ac_try="$ac_link"
5794
 
case "(($ac_try" in
5795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5796
 
  *) ac_try_echo=$ac_try;;
5797
 
esac
5798
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5799
 
$as_echo "$ac_try_echo") >&5
5800
 
  (eval "$ac_link") 2>conftest.er1
5801
 
  ac_status=$?
5802
 
  grep -v '^ *+' conftest.er1 >conftest.err
5803
 
  rm -f conftest.er1
5804
 
  cat conftest.err >&5
5805
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806
 
  (exit $ac_status); } && {
5807
 
         test -z "$ac_c_werror_flag" ||
5808
 
         test ! -s conftest.err
5809
 
       } && test -s conftest$ac_exeext && {
5810
 
         test "$cross_compiling" = yes ||
5811
 
         $as_test_x conftest$ac_exeext
5812
 
       }; then
 
7278
if ac_fn_c_try_link "$LINENO"; then :
5813
7279
  lt_cv_cc_needs_belf=yes
5814
7280
else
5815
 
  $as_echo "$as_me: failed program was:" >&5
5816
 
sed 's/^/| /' conftest.$ac_ext >&5
5817
 
 
5818
 
        lt_cv_cc_needs_belf=no
 
7281
  lt_cv_cc_needs_belf=no
5819
7282
fi
5820
 
 
5821
 
rm -rf conftest.dSYM
5822
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5823
 
      conftest$ac_exeext conftest.$ac_ext
 
7283
rm -f core conftest.err conftest.$ac_objext \
 
7284
    conftest$ac_exeext conftest.$ac_ext
5824
7285
     ac_ext=c
5825
7286
ac_cpp='$CPP $CPPFLAGS'
5826
7287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5828
7289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5829
7290
 
5830
7291
fi
5831
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5832
7293
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5833
7294
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5834
7295
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5838
7299
sparc*-*solaris*)
5839
7300
  # Find out which ABI we are using.
5840
7301
  echo 'int i;' > conftest.$ac_ext
5841
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7302
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5842
7303
  (eval $ac_compile) 2>&5
5843
7304
  ac_status=$?
5844
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845
 
  (exit $ac_status); }; then
 
7305
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7306
  test $ac_status = 0; }; then
5846
7307
    case `/usr/bin/file conftest.o` in
5847
7308
    *64-bit*)
5848
7309
      case $lt_cv_prog_gnu_ld in
5868
7329
    if test -n "$ac_tool_prefix"; then
5869
7330
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5870
7331
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5871
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872
7333
$as_echo_n "checking for $ac_word... " >&6; }
5873
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7334
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5874
7335
  $as_echo_n "(cached) " >&6
5875
7336
else
5876
7337
  if test -n "$DSYMUTIL"; then
5881
7342
do
5882
7343
  IFS=$as_save_IFS
5883
7344
  test -z "$as_dir" && as_dir=.
5884
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7345
    for ac_exec_ext in '' $ac_executable_extensions; do
5885
7346
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886
7347
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5887
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7348
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888
7349
    break 2
5889
7350
  fi
5890
7351
done
5891
 
done
 
7352
  done
5892
7353
IFS=$as_save_IFS
5893
7354
 
5894
7355
fi
5895
7356
fi
5896
7357
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5897
7358
if test -n "$DSYMUTIL"; then
5898
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7359
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5899
7360
$as_echo "$DSYMUTIL" >&6; }
5900
7361
else
5901
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7362
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902
7363
$as_echo "no" >&6; }
5903
7364
fi
5904
7365
 
5908
7369
  ac_ct_DSYMUTIL=$DSYMUTIL
5909
7370
  # Extract the first word of "dsymutil", so it can be a program name with args.
5910
7371
set dummy dsymutil; ac_word=$2
5911
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912
7373
$as_echo_n "checking for $ac_word... " >&6; }
5913
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7374
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5914
7375
  $as_echo_n "(cached) " >&6
5915
7376
else
5916
7377
  if test -n "$ac_ct_DSYMUTIL"; then
5921
7382
do
5922
7383
  IFS=$as_save_IFS
5923
7384
  test -z "$as_dir" && as_dir=.
5924
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7385
    for ac_exec_ext in '' $ac_executable_extensions; do
5925
7386
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5926
7387
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5927
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7388
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928
7389
    break 2
5929
7390
  fi
5930
7391
done
5931
 
done
 
7392
  done
5932
7393
IFS=$as_save_IFS
5933
7394
 
5934
7395
fi
5935
7396
fi
5936
7397
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5937
7398
if test -n "$ac_ct_DSYMUTIL"; then
5938
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5939
7400
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5940
7401
else
5941
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942
7403
$as_echo "no" >&6; }
5943
7404
fi
5944
7405
 
5947
7408
  else
5948
7409
    case $cross_compiling:$ac_tool_warned in
5949
7410
yes:)
5950
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7411
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5951
7412
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5952
7413
ac_tool_warned=yes ;;
5953
7414
esac
5960
7421
    if test -n "$ac_tool_prefix"; then
5961
7422
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5962
7423
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5963
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964
7425
$as_echo_n "checking for $ac_word... " >&6; }
5965
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7426
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5966
7427
  $as_echo_n "(cached) " >&6
5967
7428
else
5968
7429
  if test -n "$NMEDIT"; then
5973
7434
do
5974
7435
  IFS=$as_save_IFS
5975
7436
  test -z "$as_dir" && as_dir=.
5976
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7437
    for ac_exec_ext in '' $ac_executable_extensions; do
5977
7438
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5978
7439
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5979
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7440
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980
7441
    break 2
5981
7442
  fi
5982
7443
done
5983
 
done
 
7444
  done
5984
7445
IFS=$as_save_IFS
5985
7446
 
5986
7447
fi
5987
7448
fi
5988
7449
NMEDIT=$ac_cv_prog_NMEDIT
5989
7450
if test -n "$NMEDIT"; then
5990
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7451
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5991
7452
$as_echo "$NMEDIT" >&6; }
5992
7453
else
5993
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994
7455
$as_echo "no" >&6; }
5995
7456
fi
5996
7457
 
6000
7461
  ac_ct_NMEDIT=$NMEDIT
6001
7462
  # Extract the first word of "nmedit", so it can be a program name with args.
6002
7463
set dummy nmedit; ac_word=$2
6003
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004
7465
$as_echo_n "checking for $ac_word... " >&6; }
6005
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7466
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6006
7467
  $as_echo_n "(cached) " >&6
6007
7468
else
6008
7469
  if test -n "$ac_ct_NMEDIT"; then
6013
7474
do
6014
7475
  IFS=$as_save_IFS
6015
7476
  test -z "$as_dir" && as_dir=.
6016
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7477
    for ac_exec_ext in '' $ac_executable_extensions; do
6017
7478
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6018
7479
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6019
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020
7481
    break 2
6021
7482
  fi
6022
7483
done
6023
 
done
 
7484
  done
6024
7485
IFS=$as_save_IFS
6025
7486
 
6026
7487
fi
6027
7488
fi
6028
7489
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6029
7490
if test -n "$ac_ct_NMEDIT"; then
6030
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6031
7492
$as_echo "$ac_ct_NMEDIT" >&6; }
6032
7493
else
6033
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034
7495
$as_echo "no" >&6; }
6035
7496
fi
6036
7497
 
6039
7500
  else
6040
7501
    case $cross_compiling:$ac_tool_warned in
6041
7502
yes:)
6042
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7503
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6043
7504
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6044
7505
ac_tool_warned=yes ;;
6045
7506
esac
6052
7513
    if test -n "$ac_tool_prefix"; then
6053
7514
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6054
7515
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6055
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056
7517
$as_echo_n "checking for $ac_word... " >&6; }
6057
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7518
if test "${ac_cv_prog_LIPO+set}" = set; then :
6058
7519
  $as_echo_n "(cached) " >&6
6059
7520
else
6060
7521
  if test -n "$LIPO"; then
6065
7526
do
6066
7527
  IFS=$as_save_IFS
6067
7528
  test -z "$as_dir" && as_dir=.
6068
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7529
    for ac_exec_ext in '' $ac_executable_extensions; do
6069
7530
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070
7531
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6071
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072
7533
    break 2
6073
7534
  fi
6074
7535
done
6075
 
done
 
7536
  done
6076
7537
IFS=$as_save_IFS
6077
7538
 
6078
7539
fi
6079
7540
fi
6080
7541
LIPO=$ac_cv_prog_LIPO
6081
7542
if test -n "$LIPO"; then
6082
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7543
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6083
7544
$as_echo "$LIPO" >&6; }
6084
7545
else
6085
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7546
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086
7547
$as_echo "no" >&6; }
6087
7548
fi
6088
7549
 
6092
7553
  ac_ct_LIPO=$LIPO
6093
7554
  # Extract the first word of "lipo", so it can be a program name with args.
6094
7555
set dummy lipo; ac_word=$2
6095
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096
7557
$as_echo_n "checking for $ac_word... " >&6; }
6097
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7558
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6098
7559
  $as_echo_n "(cached) " >&6
6099
7560
else
6100
7561
  if test -n "$ac_ct_LIPO"; then
6105
7566
do
6106
7567
  IFS=$as_save_IFS
6107
7568
  test -z "$as_dir" && as_dir=.
6108
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7569
    for ac_exec_ext in '' $ac_executable_extensions; do
6109
7570
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110
7571
    ac_cv_prog_ac_ct_LIPO="lipo"
6111
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7572
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112
7573
    break 2
6113
7574
  fi
6114
7575
done
6115
 
done
 
7576
  done
6116
7577
IFS=$as_save_IFS
6117
7578
 
6118
7579
fi
6119
7580
fi
6120
7581
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6121
7582
if test -n "$ac_ct_LIPO"; then
6122
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6123
7584
$as_echo "$ac_ct_LIPO" >&6; }
6124
7585
else
6125
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126
7587
$as_echo "no" >&6; }
6127
7588
fi
6128
7589
 
6131
7592
  else
6132
7593
    case $cross_compiling:$ac_tool_warned in
6133
7594
yes:)
6134
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7595
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135
7596
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136
7597
ac_tool_warned=yes ;;
6137
7598
esac
6144
7605
    if test -n "$ac_tool_prefix"; then
6145
7606
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6146
7607
set dummy ${ac_tool_prefix}otool; ac_word=$2
6147
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148
7609
$as_echo_n "checking for $ac_word... " >&6; }
6149
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7610
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6150
7611
  $as_echo_n "(cached) " >&6
6151
7612
else
6152
7613
  if test -n "$OTOOL"; then
6157
7618
do
6158
7619
  IFS=$as_save_IFS
6159
7620
  test -z "$as_dir" && as_dir=.
6160
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7621
    for ac_exec_ext in '' $ac_executable_extensions; do
6161
7622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162
7623
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6163
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164
7625
    break 2
6165
7626
  fi
6166
7627
done
6167
 
done
 
7628
  done
6168
7629
IFS=$as_save_IFS
6169
7630
 
6170
7631
fi
6171
7632
fi
6172
7633
OTOOL=$ac_cv_prog_OTOOL
6173
7634
if test -n "$OTOOL"; then
6174
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6175
7636
$as_echo "$OTOOL" >&6; }
6176
7637
else
6177
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178
7639
$as_echo "no" >&6; }
6179
7640
fi
6180
7641
 
6184
7645
  ac_ct_OTOOL=$OTOOL
6185
7646
  # Extract the first word of "otool", so it can be a program name with args.
6186
7647
set dummy otool; ac_word=$2
6187
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188
7649
$as_echo_n "checking for $ac_word... " >&6; }
6189
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7650
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6190
7651
  $as_echo_n "(cached) " >&6
6191
7652
else
6192
7653
  if test -n "$ac_ct_OTOOL"; then
6197
7658
do
6198
7659
  IFS=$as_save_IFS
6199
7660
  test -z "$as_dir" && as_dir=.
6200
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7661
    for ac_exec_ext in '' $ac_executable_extensions; do
6201
7662
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202
7663
    ac_cv_prog_ac_ct_OTOOL="otool"
6203
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7664
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204
7665
    break 2
6205
7666
  fi
6206
7667
done
6207
 
done
 
7668
  done
6208
7669
IFS=$as_save_IFS
6209
7670
 
6210
7671
fi
6211
7672
fi
6212
7673
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6213
7674
if test -n "$ac_ct_OTOOL"; then
6214
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6215
7676
$as_echo "$ac_ct_OTOOL" >&6; }
6216
7677
else
6217
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218
7679
$as_echo "no" >&6; }
6219
7680
fi
6220
7681
 
6223
7684
  else
6224
7685
    case $cross_compiling:$ac_tool_warned in
6225
7686
yes:)
6226
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227
7688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228
7689
ac_tool_warned=yes ;;
6229
7690
esac
6236
7697
    if test -n "$ac_tool_prefix"; then
6237
7698
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6238
7699
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6239
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240
7701
$as_echo_n "checking for $ac_word... " >&6; }
6241
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7702
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6242
7703
  $as_echo_n "(cached) " >&6
6243
7704
else
6244
7705
  if test -n "$OTOOL64"; then
6249
7710
do
6250
7711
  IFS=$as_save_IFS
6251
7712
  test -z "$as_dir" && as_dir=.
6252
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7713
    for ac_exec_ext in '' $ac_executable_extensions; do
6253
7714
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254
7715
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6255
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7716
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256
7717
    break 2
6257
7718
  fi
6258
7719
done
6259
 
done
 
7720
  done
6260
7721
IFS=$as_save_IFS
6261
7722
 
6262
7723
fi
6263
7724
fi
6264
7725
OTOOL64=$ac_cv_prog_OTOOL64
6265
7726
if test -n "$OTOOL64"; then
6266
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6267
7728
$as_echo "$OTOOL64" >&6; }
6268
7729
else
6269
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270
7731
$as_echo "no" >&6; }
6271
7732
fi
6272
7733
 
6276
7737
  ac_ct_OTOOL64=$OTOOL64
6277
7738
  # Extract the first word of "otool64", so it can be a program name with args.
6278
7739
set dummy otool64; ac_word=$2
6279
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280
7741
$as_echo_n "checking for $ac_word... " >&6; }
6281
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7742
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6282
7743
  $as_echo_n "(cached) " >&6
6283
7744
else
6284
7745
  if test -n "$ac_ct_OTOOL64"; then
6289
7750
do
6290
7751
  IFS=$as_save_IFS
6291
7752
  test -z "$as_dir" && as_dir=.
6292
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7753
    for ac_exec_ext in '' $ac_executable_extensions; do
6293
7754
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294
7755
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6295
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7756
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296
7757
    break 2
6297
7758
  fi
6298
7759
done
6299
 
done
 
7760
  done
6300
7761
IFS=$as_save_IFS
6301
7762
 
6302
7763
fi
6303
7764
fi
6304
7765
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6305
7766
if test -n "$ac_ct_OTOOL64"; then
6306
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6307
7768
$as_echo "$ac_ct_OTOOL64" >&6; }
6308
7769
else
6309
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310
7771
$as_echo "no" >&6; }
6311
7772
fi
6312
7773
 
6315
7776
  else
6316
7777
    case $cross_compiling:$ac_tool_warned in
6317
7778
yes:)
6318
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6319
7780
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6320
7781
ac_tool_warned=yes ;;
6321
7782
esac
6351
7812
 
6352
7813
 
6353
7814
 
6354
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7815
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6355
7816
$as_echo_n "checking for -single_module linker flag... " >&6; }
6356
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7817
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6357
7818
  $as_echo_n "(cached) " >&6
6358
7819
else
6359
7820
  lt_cv_apple_cc_single_mod=no
6378
7839
        rm -f conftest.*
6379
7840
      fi
6380
7841
fi
6381
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6382
7843
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6383
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7844
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6384
7845
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6385
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7846
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6386
7847
  $as_echo_n "(cached) " >&6
6387
7848
else
6388
7849
  lt_cv_ld_exported_symbols_list=no
6389
7850
      save_LDFLAGS=$LDFLAGS
6390
7851
      echo "_main" > conftest.sym
6391
7852
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6392
 
      cat >conftest.$ac_ext <<_ACEOF
6393
 
/* confdefs.h.  */
6394
 
_ACEOF
6395
 
cat confdefs.h >>conftest.$ac_ext
6396
 
cat >>conftest.$ac_ext <<_ACEOF
 
7853
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397
7854
/* end confdefs.h.  */
6398
7855
 
6399
7856
int
6404
7861
  return 0;
6405
7862
}
6406
7863
_ACEOF
6407
 
rm -f conftest.$ac_objext conftest$ac_exeext
6408
 
if { (ac_try="$ac_link"
6409
 
case "(($ac_try" in
6410
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6411
 
  *) ac_try_echo=$ac_try;;
6412
 
esac
6413
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6414
 
$as_echo "$ac_try_echo") >&5
6415
 
  (eval "$ac_link") 2>conftest.er1
6416
 
  ac_status=$?
6417
 
  grep -v '^ *+' conftest.er1 >conftest.err
6418
 
  rm -f conftest.er1
6419
 
  cat conftest.err >&5
6420
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421
 
  (exit $ac_status); } && {
6422
 
         test -z "$ac_c_werror_flag" ||
6423
 
         test ! -s conftest.err
6424
 
       } && test -s conftest$ac_exeext && {
6425
 
         test "$cross_compiling" = yes ||
6426
 
         $as_test_x conftest$ac_exeext
6427
 
       }; then
 
7864
if ac_fn_c_try_link "$LINENO"; then :
6428
7865
  lt_cv_ld_exported_symbols_list=yes
6429
7866
else
6430
 
  $as_echo "$as_me: failed program was:" >&5
6431
 
sed 's/^/| /' conftest.$ac_ext >&5
6432
 
 
6433
 
        lt_cv_ld_exported_symbols_list=no
 
7867
  lt_cv_ld_exported_symbols_list=no
6434
7868
fi
6435
 
 
6436
 
rm -rf conftest.dSYM
6437
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6438
 
      conftest$ac_exeext conftest.$ac_ext
 
7869
rm -f core conftest.err conftest.$ac_objext \
 
7870
    conftest$ac_exeext conftest.$ac_ext
6439
7871
        LDFLAGS="$save_LDFLAGS"
6440
7872
 
6441
7873
fi
6442
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6443
7875
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6444
7876
    case $host_os in
6445
7877
    rhapsody* | darwin1.[012])
6476
7908
    ;;
6477
7909
  esac
6478
7910
 
6479
 
ac_ext=c
6480
 
ac_cpp='$CPP $CPPFLAGS'
6481
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6484
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6485
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6486
 
# On Suns, sometimes $CPP names a directory.
6487
 
if test -n "$CPP" && test -d "$CPP"; then
6488
 
  CPP=
6489
 
fi
6490
 
if test -z "$CPP"; then
6491
 
  if test "${ac_cv_prog_CPP+set}" = set; then
6492
 
  $as_echo_n "(cached) " >&6
6493
 
else
6494
 
      # Double quotes because CPP needs to be expanded
6495
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6496
 
    do
6497
 
      ac_preproc_ok=false
6498
 
for ac_c_preproc_warn_flag in '' yes
6499
 
do
6500
 
  # Use a header file that comes with gcc, so configuring glibc
6501
 
  # with a fresh cross-compiler works.
6502
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6503
 
  # <limits.h> exists even on freestanding compilers.
6504
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6505
 
  # not just through cpp. "Syntax error" is here to catch this case.
6506
 
  cat >conftest.$ac_ext <<_ACEOF
6507
 
/* confdefs.h.  */
6508
 
_ACEOF
6509
 
cat confdefs.h >>conftest.$ac_ext
6510
 
cat >>conftest.$ac_ext <<_ACEOF
6511
 
/* end confdefs.h.  */
6512
 
#ifdef __STDC__
6513
 
# include <limits.h>
6514
 
#else
6515
 
# include <assert.h>
6516
 
#endif
6517
 
                     Syntax error
6518
 
_ACEOF
6519
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6520
 
case "(($ac_try" in
6521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6522
 
  *) ac_try_echo=$ac_try;;
6523
 
esac
6524
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6525
 
$as_echo "$ac_try_echo") >&5
6526
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6527
 
  ac_status=$?
6528
 
  grep -v '^ *+' conftest.er1 >conftest.err
6529
 
  rm -f conftest.er1
6530
 
  cat conftest.err >&5
6531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532
 
  (exit $ac_status); } >/dev/null && {
6533
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6534
 
         test ! -s conftest.err
6535
 
       }; then
6536
 
  :
6537
 
else
6538
 
  $as_echo "$as_me: failed program was:" >&5
6539
 
sed 's/^/| /' conftest.$ac_ext >&5
6540
 
 
6541
 
  # Broken: fails on valid input.
6542
 
continue
6543
 
fi
6544
 
 
6545
 
rm -f conftest.err conftest.$ac_ext
6546
 
 
6547
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6548
 
  # can be detected and how.
6549
 
  cat >conftest.$ac_ext <<_ACEOF
6550
 
/* confdefs.h.  */
6551
 
_ACEOF
6552
 
cat confdefs.h >>conftest.$ac_ext
6553
 
cat >>conftest.$ac_ext <<_ACEOF
6554
 
/* end confdefs.h.  */
6555
 
#include <ac_nonexistent.h>
6556
 
_ACEOF
6557
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6558
 
case "(($ac_try" in
6559
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6560
 
  *) ac_try_echo=$ac_try;;
6561
 
esac
6562
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6563
 
$as_echo "$ac_try_echo") >&5
6564
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6565
 
  ac_status=$?
6566
 
  grep -v '^ *+' conftest.er1 >conftest.err
6567
 
  rm -f conftest.er1
6568
 
  cat conftest.err >&5
6569
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570
 
  (exit $ac_status); } >/dev/null && {
6571
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6572
 
         test ! -s conftest.err
6573
 
       }; then
6574
 
  # Broken: success on invalid input.
6575
 
continue
6576
 
else
6577
 
  $as_echo "$as_me: failed program was:" >&5
6578
 
sed 's/^/| /' conftest.$ac_ext >&5
6579
 
 
6580
 
  # Passes both tests.
6581
 
ac_preproc_ok=:
6582
 
break
6583
 
fi
6584
 
 
6585
 
rm -f conftest.err conftest.$ac_ext
6586
 
 
6587
 
done
6588
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6589
 
rm -f conftest.err conftest.$ac_ext
6590
 
if $ac_preproc_ok; then
6591
 
  break
6592
 
fi
6593
 
 
6594
 
    done
6595
 
    ac_cv_prog_CPP=$CPP
6596
 
 
6597
 
fi
6598
 
  CPP=$ac_cv_prog_CPP
6599
 
else
6600
 
  ac_cv_prog_CPP=$CPP
6601
 
fi
6602
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6603
 
$as_echo "$CPP" >&6; }
6604
 
ac_preproc_ok=false
6605
 
for ac_c_preproc_warn_flag in '' yes
6606
 
do
6607
 
  # Use a header file that comes with gcc, so configuring glibc
6608
 
  # with a fresh cross-compiler works.
6609
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6610
 
  # <limits.h> exists even on freestanding compilers.
6611
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6612
 
  # not just through cpp. "Syntax error" is here to catch this case.
6613
 
  cat >conftest.$ac_ext <<_ACEOF
6614
 
/* confdefs.h.  */
6615
 
_ACEOF
6616
 
cat confdefs.h >>conftest.$ac_ext
6617
 
cat >>conftest.$ac_ext <<_ACEOF
6618
 
/* end confdefs.h.  */
6619
 
#ifdef __STDC__
6620
 
# include <limits.h>
6621
 
#else
6622
 
# include <assert.h>
6623
 
#endif
6624
 
                     Syntax error
6625
 
_ACEOF
6626
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6627
 
case "(($ac_try" in
6628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6629
 
  *) ac_try_echo=$ac_try;;
6630
 
esac
6631
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6632
 
$as_echo "$ac_try_echo") >&5
6633
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6634
 
  ac_status=$?
6635
 
  grep -v '^ *+' conftest.er1 >conftest.err
6636
 
  rm -f conftest.er1
6637
 
  cat conftest.err >&5
6638
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639
 
  (exit $ac_status); } >/dev/null && {
6640
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6641
 
         test ! -s conftest.err
6642
 
       }; then
6643
 
  :
6644
 
else
6645
 
  $as_echo "$as_me: failed program was:" >&5
6646
 
sed 's/^/| /' conftest.$ac_ext >&5
6647
 
 
6648
 
  # Broken: fails on valid input.
6649
 
continue
6650
 
fi
6651
 
 
6652
 
rm -f conftest.err conftest.$ac_ext
6653
 
 
6654
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6655
 
  # can be detected and how.
6656
 
  cat >conftest.$ac_ext <<_ACEOF
6657
 
/* confdefs.h.  */
6658
 
_ACEOF
6659
 
cat confdefs.h >>conftest.$ac_ext
6660
 
cat >>conftest.$ac_ext <<_ACEOF
6661
 
/* end confdefs.h.  */
6662
 
#include <ac_nonexistent.h>
6663
 
_ACEOF
6664
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6665
 
case "(($ac_try" in
6666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6667
 
  *) ac_try_echo=$ac_try;;
6668
 
esac
6669
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6670
 
$as_echo "$ac_try_echo") >&5
6671
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6672
 
  ac_status=$?
6673
 
  grep -v '^ *+' conftest.er1 >conftest.err
6674
 
  rm -f conftest.er1
6675
 
  cat conftest.err >&5
6676
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677
 
  (exit $ac_status); } >/dev/null && {
6678
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6679
 
         test ! -s conftest.err
6680
 
       }; then
6681
 
  # Broken: success on invalid input.
6682
 
continue
6683
 
else
6684
 
  $as_echo "$as_me: failed program was:" >&5
6685
 
sed 's/^/| /' conftest.$ac_ext >&5
6686
 
 
6687
 
  # Passes both tests.
6688
 
ac_preproc_ok=:
6689
 
break
6690
 
fi
6691
 
 
6692
 
rm -f conftest.err conftest.$ac_ext
6693
 
 
6694
 
done
6695
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6696
 
rm -f conftest.err conftest.$ac_ext
6697
 
if $ac_preproc_ok; then
6698
 
  :
6699
 
else
6700
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6701
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6702
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6703
 
See \`config.log' for more details." >&5
6704
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6705
 
See \`config.log' for more details." >&2;}
6706
 
   { (exit 1); exit 1; }; }; }
6707
 
fi
6708
 
 
6709
 
ac_ext=c
6710
 
ac_cpp='$CPP $CPPFLAGS'
6711
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6712
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6713
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6714
 
 
6715
 
 
6716
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6717
 
$as_echo_n "checking for ANSI C header files... " >&6; }
6718
 
if test "${ac_cv_header_stdc+set}" = set; then
6719
 
  $as_echo_n "(cached) " >&6
6720
 
else
6721
 
  cat >conftest.$ac_ext <<_ACEOF
6722
 
/* confdefs.h.  */
6723
 
_ACEOF
6724
 
cat confdefs.h >>conftest.$ac_ext
6725
 
cat >>conftest.$ac_ext <<_ACEOF
6726
 
/* end confdefs.h.  */
6727
 
#include <stdlib.h>
6728
 
#include <stdarg.h>
6729
 
#include <string.h>
6730
 
#include <float.h>
6731
 
 
6732
 
int
6733
 
main ()
6734
 
{
6735
 
 
6736
 
  ;
6737
 
  return 0;
6738
 
}
6739
 
_ACEOF
6740
 
rm -f conftest.$ac_objext
6741
 
if { (ac_try="$ac_compile"
6742
 
case "(($ac_try" in
6743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6744
 
  *) ac_try_echo=$ac_try;;
6745
 
esac
6746
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6747
 
$as_echo "$ac_try_echo") >&5
6748
 
  (eval "$ac_compile") 2>conftest.er1
6749
 
  ac_status=$?
6750
 
  grep -v '^ *+' conftest.er1 >conftest.err
6751
 
  rm -f conftest.er1
6752
 
  cat conftest.err >&5
6753
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754
 
  (exit $ac_status); } && {
6755
 
         test -z "$ac_c_werror_flag" ||
6756
 
         test ! -s conftest.err
6757
 
       } && test -s conftest.$ac_objext; then
6758
 
  ac_cv_header_stdc=yes
6759
 
else
6760
 
  $as_echo "$as_me: failed program was:" >&5
6761
 
sed 's/^/| /' conftest.$ac_ext >&5
6762
 
 
6763
 
        ac_cv_header_stdc=no
6764
 
fi
6765
 
 
6766
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6767
 
 
6768
 
if test $ac_cv_header_stdc = yes; then
6769
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6770
 
  cat >conftest.$ac_ext <<_ACEOF
6771
 
/* confdefs.h.  */
6772
 
_ACEOF
6773
 
cat confdefs.h >>conftest.$ac_ext
6774
 
cat >>conftest.$ac_ext <<_ACEOF
6775
 
/* end confdefs.h.  */
6776
 
#include <string.h>
6777
 
 
6778
 
_ACEOF
6779
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6780
 
  $EGREP "memchr" >/dev/null 2>&1; then
6781
 
  :
6782
 
else
6783
 
  ac_cv_header_stdc=no
6784
 
fi
6785
 
rm -f conftest*
6786
 
 
6787
 
fi
6788
 
 
6789
 
if test $ac_cv_header_stdc = yes; then
6790
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6791
 
  cat >conftest.$ac_ext <<_ACEOF
6792
 
/* confdefs.h.  */
6793
 
_ACEOF
6794
 
cat confdefs.h >>conftest.$ac_ext
6795
 
cat >>conftest.$ac_ext <<_ACEOF
6796
 
/* end confdefs.h.  */
6797
 
#include <stdlib.h>
6798
 
 
6799
 
_ACEOF
6800
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6801
 
  $EGREP "free" >/dev/null 2>&1; then
6802
 
  :
6803
 
else
6804
 
  ac_cv_header_stdc=no
6805
 
fi
6806
 
rm -f conftest*
6807
 
 
6808
 
fi
6809
 
 
6810
 
if test $ac_cv_header_stdc = yes; then
6811
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6812
 
  if test "$cross_compiling" = yes; then
6813
 
  :
6814
 
else
6815
 
  cat >conftest.$ac_ext <<_ACEOF
6816
 
/* confdefs.h.  */
6817
 
_ACEOF
6818
 
cat confdefs.h >>conftest.$ac_ext
6819
 
cat >>conftest.$ac_ext <<_ACEOF
6820
 
/* end confdefs.h.  */
6821
 
#include <ctype.h>
6822
 
#include <stdlib.h>
6823
 
#if ((' ' & 0x0FF) == 0x020)
6824
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6825
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6826
 
#else
6827
 
# define ISLOWER(c) \
6828
 
                   (('a' <= (c) && (c) <= 'i') \
6829
 
                     || ('j' <= (c) && (c) <= 'r') \
6830
 
                     || ('s' <= (c) && (c) <= 'z'))
6831
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6832
 
#endif
6833
 
 
6834
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6835
 
int
6836
 
main ()
6837
 
{
6838
 
  int i;
6839
 
  for (i = 0; i < 256; i++)
6840
 
    if (XOR (islower (i), ISLOWER (i))
6841
 
        || toupper (i) != TOUPPER (i))
6842
 
      return 2;
6843
 
  return 0;
6844
 
}
6845
 
_ACEOF
6846
 
rm -f conftest$ac_exeext
6847
 
if { (ac_try="$ac_link"
6848
 
case "(($ac_try" in
6849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6850
 
  *) ac_try_echo=$ac_try;;
6851
 
esac
6852
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6853
 
$as_echo "$ac_try_echo") >&5
6854
 
  (eval "$ac_link") 2>&5
6855
 
  ac_status=$?
6856
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6858
 
  { (case "(($ac_try" in
6859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6860
 
  *) ac_try_echo=$ac_try;;
6861
 
esac
6862
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6863
 
$as_echo "$ac_try_echo") >&5
6864
 
  (eval "$ac_try") 2>&5
6865
 
  ac_status=$?
6866
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867
 
  (exit $ac_status); }; }; then
6868
 
  :
6869
 
else
6870
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6871
 
$as_echo "$as_me: failed program was:" >&5
6872
 
sed 's/^/| /' conftest.$ac_ext >&5
6873
 
 
6874
 
( exit $ac_status )
6875
 
ac_cv_header_stdc=no
6876
 
fi
6877
 
rm -rf conftest.dSYM
6878
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6879
 
fi
6880
 
 
6881
 
 
6882
 
fi
6883
 
fi
6884
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6885
 
$as_echo "$ac_cv_header_stdc" >&6; }
6886
 
if test $ac_cv_header_stdc = yes; then
6887
 
 
6888
 
cat >>confdefs.h <<\_ACEOF
6889
 
#define STDC_HEADERS 1
6890
 
_ACEOF
6891
 
 
6892
 
fi
6893
 
 
6894
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
 
6902
 
 
6903
 
 
6904
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6905
 
                  inttypes.h stdint.h unistd.h
6906
 
do
6907
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6908
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6909
 
$as_echo_n "checking for $ac_header... " >&6; }
6910
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6911
 
  $as_echo_n "(cached) " >&6
6912
 
else
6913
 
  cat >conftest.$ac_ext <<_ACEOF
6914
 
/* confdefs.h.  */
6915
 
_ACEOF
6916
 
cat confdefs.h >>conftest.$ac_ext
6917
 
cat >>conftest.$ac_ext <<_ACEOF
6918
 
/* end confdefs.h.  */
6919
 
$ac_includes_default
6920
 
 
6921
 
#include <$ac_header>
6922
 
_ACEOF
6923
 
rm -f conftest.$ac_objext
6924
 
if { (ac_try="$ac_compile"
6925
 
case "(($ac_try" in
6926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6927
 
  *) ac_try_echo=$ac_try;;
6928
 
esac
6929
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6930
 
$as_echo "$ac_try_echo") >&5
6931
 
  (eval "$ac_compile") 2>conftest.er1
6932
 
  ac_status=$?
6933
 
  grep -v '^ *+' conftest.er1 >conftest.err
6934
 
  rm -f conftest.er1
6935
 
  cat conftest.err >&5
6936
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937
 
  (exit $ac_status); } && {
6938
 
         test -z "$ac_c_werror_flag" ||
6939
 
         test ! -s conftest.err
6940
 
       } && test -s conftest.$ac_objext; then
6941
 
  eval "$as_ac_Header=yes"
6942
 
else
6943
 
  $as_echo "$as_me: failed program was:" >&5
6944
 
sed 's/^/| /' conftest.$ac_ext >&5
6945
 
 
6946
 
        eval "$as_ac_Header=no"
6947
 
fi
6948
 
 
6949
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6950
 
fi
6951
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6952
 
                 $as_echo "$as_val"'`
6953
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6954
 
$as_echo "$ac_res" >&6; }
6955
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6956
 
                 $as_echo "$as_val"'`
6957
 
   if test "x$as_val" = x""yes; then
6958
 
  cat >>confdefs.h <<_ACEOF
6959
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6960
 
_ACEOF
6961
 
 
6962
 
fi
6963
 
 
6964
 
done
6965
 
 
6966
 
 
6967
 
 
6968
7911
for ac_header in dlfcn.h
6969
 
do
6970
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6971
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6972
 
$as_echo_n "checking for $ac_header... " >&6; }
6973
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6974
 
  $as_echo_n "(cached) " >&6
6975
 
else
6976
 
  cat >conftest.$ac_ext <<_ACEOF
6977
 
/* confdefs.h.  */
6978
 
_ACEOF
6979
 
cat confdefs.h >>conftest.$ac_ext
6980
 
cat >>conftest.$ac_ext <<_ACEOF
6981
 
/* end confdefs.h.  */
6982
 
$ac_includes_default
6983
 
 
6984
 
#include <$ac_header>
6985
 
_ACEOF
6986
 
rm -f conftest.$ac_objext
6987
 
if { (ac_try="$ac_compile"
6988
 
case "(($ac_try" in
6989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6990
 
  *) ac_try_echo=$ac_try;;
6991
 
esac
6992
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6993
 
$as_echo "$ac_try_echo") >&5
6994
 
  (eval "$ac_compile") 2>conftest.er1
6995
 
  ac_status=$?
6996
 
  grep -v '^ *+' conftest.er1 >conftest.err
6997
 
  rm -f conftest.er1
6998
 
  cat conftest.err >&5
6999
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000
 
  (exit $ac_status); } && {
7001
 
         test -z "$ac_c_werror_flag" ||
7002
 
         test ! -s conftest.err
7003
 
       } && test -s conftest.$ac_objext; then
7004
 
  eval "$as_ac_Header=yes"
7005
 
else
7006
 
  $as_echo "$as_me: failed program was:" >&5
7007
 
sed 's/^/| /' conftest.$ac_ext >&5
7008
 
 
7009
 
        eval "$as_ac_Header=no"
7010
 
fi
7011
 
 
7012
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7013
 
fi
7014
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7015
 
                 $as_echo "$as_val"'`
7016
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7017
 
$as_echo "$ac_res" >&6; }
7018
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7019
 
                 $as_echo "$as_val"'`
7020
 
   if test "x$as_val" = x""yes; then
 
7912
do :
 
7913
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7914
"
 
7915
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7021
7916
  cat >>confdefs.h <<_ACEOF
7022
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7917
#define HAVE_DLFCN_H 1
7023
7918
_ACEOF
7024
7919
 
7025
7920
fi
7039
7934
 
7040
7935
 
7041
7936
            # Check whether --enable-shared was given.
7042
 
if test "${enable_shared+set}" = set; then
 
7937
if test "${enable_shared+set}" = set; then :
7043
7938
  enableval=$enable_shared; p=${PACKAGE-default}
7044
7939
    case $enableval in
7045
7940
    yes) enable_shared=yes ;;
7070
7965
 
7071
7966
 
7072
7967
  # Check whether --enable-static was given.
7073
 
if test "${enable_static+set}" = set; then
 
7968
if test "${enable_static+set}" = set; then :
7074
7969
  enableval=$enable_static; p=${PACKAGE-default}
7075
7970
    case $enableval in
7076
7971
    yes) enable_static=yes ;;
7102
7997
 
7103
7998
 
7104
7999
# Check whether --with-pic was given.
7105
 
if test "${with_pic+set}" = set; then
 
8000
if test "${with_pic+set}" = set; then :
7106
8001
  withval=$with_pic; pic_mode="$withval"
7107
8002
else
7108
8003
  pic_mode=default
7118
8013
 
7119
8014
 
7120
8015
  # Check whether --enable-fast-install was given.
7121
 
if test "${enable_fast_install+set}" = set; then
 
8016
if test "${enable_fast_install+set}" = set; then :
7122
8017
  enableval=$enable_fast_install; p=${PACKAGE-default}
7123
8018
    case $enableval in
7124
8019
    yes) enable_fast_install=yes ;;
7199
8094
   setopt NO_GLOB_SUBST
7200
8095
fi
7201
8096
 
7202
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7203
8098
$as_echo_n "checking for objdir... " >&6; }
7204
 
if test "${lt_cv_objdir+set}" = set; then
 
8099
if test "${lt_cv_objdir+set}" = set; then :
7205
8100
  $as_echo_n "(cached) " >&6
7206
8101
else
7207
8102
  rm -f .libs 2>/dev/null
7214
8109
fi
7215
8110
rmdir .libs 2>/dev/null
7216
8111
fi
7217
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7218
8113
$as_echo "$lt_cv_objdir" >&6; }
7219
8114
objdir=$lt_cv_objdir
7220
8115
 
7307
8202
case $deplibs_check_method in
7308
8203
file_magic*)
7309
8204
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7310
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8205
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7311
8206
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7312
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8207
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7313
8208
  $as_echo_n "(cached) " >&6
7314
8209
else
7315
8210
  case $MAGIC_CMD in
7360
8255
 
7361
8256
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7362
8257
if test -n "$MAGIC_CMD"; then
7363
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7364
8259
$as_echo "$MAGIC_CMD" >&6; }
7365
8260
else
7366
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367
8262
$as_echo "no" >&6; }
7368
8263
fi
7369
8264
 
7373
8268
 
7374
8269
if test -z "$lt_cv_path_MAGIC_CMD"; then
7375
8270
  if test -n "$ac_tool_prefix"; then
7376
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8271
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7377
8272
$as_echo_n "checking for file... " >&6; }
7378
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8273
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7379
8274
  $as_echo_n "(cached) " >&6
7380
8275
else
7381
8276
  case $MAGIC_CMD in
7426
8321
 
7427
8322
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7428
8323
if test -n "$MAGIC_CMD"; then
7429
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7430
8325
$as_echo "$MAGIC_CMD" >&6; }
7431
8326
else
7432
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433
8328
$as_echo "no" >&6; }
7434
8329
fi
7435
8330
 
7506
8401
if test "$GCC" = yes; then
7507
8402
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7508
8403
 
7509
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8404
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7510
8405
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7511
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8406
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7512
8407
  $as_echo_n "(cached) " >&6
7513
8408
else
7514
8409
  lt_cv_prog_compiler_rtti_exceptions=no
7524
8419
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7525
8420
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7526
8421
   -e 's:$: $lt_compiler_flag:'`
7527
 
   (eval echo "\"\$as_me:7527: $lt_compile\"" >&5)
 
8422
   (eval echo "\"\$as_me:8422: $lt_compile\"" >&5)
7528
8423
   (eval "$lt_compile" 2>conftest.err)
7529
8424
   ac_status=$?
7530
8425
   cat conftest.err >&5
7531
 
   echo "$as_me:7531: \$? = $ac_status" >&5
 
8426
   echo "$as_me:8426: \$? = $ac_status" >&5
7532
8427
   if (exit $ac_status) && test -s "$ac_outfile"; then
7533
8428
     # The compiler can only warn and ignore the option if not recognized
7534
8429
     # So say no if there are warnings other than the usual output.
7541
8436
   $RM conftest*
7542
8437
 
7543
8438
fi
7544
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7545
8440
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7546
8441
 
7547
8442
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7561
8456
lt_prog_compiler_pic=
7562
8457
lt_prog_compiler_static=
7563
8458
 
7564
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7565
8460
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7566
8461
 
7567
8462
  if test "$GCC" = yes; then
7833
8728
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7834
8729
    ;;
7835
8730
esac
7836
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7837
8732
$as_echo "$lt_prog_compiler_pic" >&6; }
7838
8733
 
7839
8734
 
7845
8740
# Check to make sure the PIC flag actually works.
7846
8741
#
7847
8742
if test -n "$lt_prog_compiler_pic"; then
7848
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8743
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7849
8744
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7850
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8745
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7851
8746
  $as_echo_n "(cached) " >&6
7852
8747
else
7853
8748
  lt_cv_prog_compiler_pic_works=no
7863
8758
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7864
8759
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7865
8760
   -e 's:$: $lt_compiler_flag:'`
7866
 
   (eval echo "\"\$as_me:7866: $lt_compile\"" >&5)
 
8761
   (eval echo "\"\$as_me:8761: $lt_compile\"" >&5)
7867
8762
   (eval "$lt_compile" 2>conftest.err)
7868
8763
   ac_status=$?
7869
8764
   cat conftest.err >&5
7870
 
   echo "$as_me:7870: \$? = $ac_status" >&5
 
8765
   echo "$as_me:8765: \$? = $ac_status" >&5
7871
8766
   if (exit $ac_status) && test -s "$ac_outfile"; then
7872
8767
     # The compiler can only warn and ignore the option if not recognized
7873
8768
     # So say no if there are warnings other than the usual output.
7880
8775
   $RM conftest*
7881
8776
 
7882
8777
fi
7883
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7884
8779
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7885
8780
 
7886
8781
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7904
8799
# Check to make sure the static flag actually works.
7905
8800
#
7906
8801
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7907
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7908
8803
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7909
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8804
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7910
8805
  $as_echo_n "(cached) " >&6
7911
8806
else
7912
8807
  lt_cv_prog_compiler_static_works=no
7932
8827
   LDFLAGS="$save_LDFLAGS"
7933
8828
 
7934
8829
fi
7935
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7936
8831
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7937
8832
 
7938
8833
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7947
8842
 
7948
8843
 
7949
8844
 
7950
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7951
8846
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7952
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8847
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7953
8848
  $as_echo_n "(cached) " >&6
7954
8849
else
7955
8850
  lt_cv_prog_compiler_c_o=no
7968
8863
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7969
8864
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7970
8865
   -e 's:$: $lt_compiler_flag:'`
7971
 
   (eval echo "\"\$as_me:7971: $lt_compile\"" >&5)
 
8866
   (eval echo "\"\$as_me:8866: $lt_compile\"" >&5)
7972
8867
   (eval "$lt_compile" 2>out/conftest.err)
7973
8868
   ac_status=$?
7974
8869
   cat out/conftest.err >&5
7975
 
   echo "$as_me:7975: \$? = $ac_status" >&5
 
8870
   echo "$as_me:8870: \$? = $ac_status" >&5
7976
8871
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7977
8872
   then
7978
8873
     # The compiler can only warn and ignore the option if not recognized
7994
8889
   $RM conftest*
7995
8890
 
7996
8891
fi
7997
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7998
8893
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7999
8894
 
8000
8895
 
8002
8897
 
8003
8898
 
8004
8899
 
8005
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8900
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8006
8901
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8007
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8902
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8008
8903
  $as_echo_n "(cached) " >&6
8009
8904
else
8010
8905
  lt_cv_prog_compiler_c_o=no
8023
8918
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8024
8919
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8025
8920
   -e 's:$: $lt_compiler_flag:'`
8026
 
   (eval echo "\"\$as_me:8026: $lt_compile\"" >&5)
 
8921
   (eval echo "\"\$as_me:8921: $lt_compile\"" >&5)
8027
8922
   (eval "$lt_compile" 2>out/conftest.err)
8028
8923
   ac_status=$?
8029
8924
   cat out/conftest.err >&5
8030
 
   echo "$as_me:8030: \$? = $ac_status" >&5
 
8925
   echo "$as_me:8925: \$? = $ac_status" >&5
8031
8926
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8032
8927
   then
8033
8928
     # The compiler can only warn and ignore the option if not recognized
8049
8944
   $RM conftest*
8050
8945
 
8051
8946
fi
8052
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8053
8948
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8054
8949
 
8055
8950
 
8058
8953
hard_links="nottested"
8059
8954
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8060
8955
  # do not overwrite the value of need_locks provided by the user
8061
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8062
8957
$as_echo_n "checking if we can lock with hard links... " >&6; }
8063
8958
  hard_links=yes
8064
8959
  $RM conftest*
8066
8961
  touch conftest.a
8067
8962
  ln conftest.a conftest.b 2>&5 || hard_links=no
8068
8963
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8069
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8070
8965
$as_echo "$hard_links" >&6; }
8071
8966
  if test "$hard_links" = no; then
8072
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8967
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8073
8968
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8074
8969
    need_locks=warn
8075
8970
  fi
8082
8977
 
8083
8978
 
8084
8979
 
8085
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8980
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8086
8981
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8087
8982
 
8088
8983
  runpath_var=
8524
9419
        allow_undefined_flag='-berok'
8525
9420
        # Determine the default libpath from the value encoded in an
8526
9421
        # empty executable.
8527
 
        cat >conftest.$ac_ext <<_ACEOF
8528
 
/* confdefs.h.  */
8529
 
_ACEOF
8530
 
cat confdefs.h >>conftest.$ac_ext
8531
 
cat >>conftest.$ac_ext <<_ACEOF
 
9422
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532
9423
/* end confdefs.h.  */
8533
9424
 
8534
9425
int
8539
9430
  return 0;
8540
9431
}
8541
9432
_ACEOF
8542
 
rm -f conftest.$ac_objext conftest$ac_exeext
8543
 
if { (ac_try="$ac_link"
8544
 
case "(($ac_try" in
8545
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8546
 
  *) ac_try_echo=$ac_try;;
8547
 
esac
8548
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8549
 
$as_echo "$ac_try_echo") >&5
8550
 
  (eval "$ac_link") 2>conftest.er1
8551
 
  ac_status=$?
8552
 
  grep -v '^ *+' conftest.er1 >conftest.err
8553
 
  rm -f conftest.er1
8554
 
  cat conftest.err >&5
8555
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556
 
  (exit $ac_status); } && {
8557
 
         test -z "$ac_c_werror_flag" ||
8558
 
         test ! -s conftest.err
8559
 
       } && test -s conftest$ac_exeext && {
8560
 
         test "$cross_compiling" = yes ||
8561
 
         $as_test_x conftest$ac_exeext
8562
 
       }; then
 
9433
if ac_fn_c_try_link "$LINENO"; then :
8563
9434
 
8564
9435
lt_aix_libpath_sed='
8565
9436
    /Import File Strings/,/^$/ {
8573
9444
if test -z "$aix_libpath"; then
8574
9445
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8575
9446
fi
8576
 
else
8577
 
  $as_echo "$as_me: failed program was:" >&5
8578
 
sed 's/^/| /' conftest.$ac_ext >&5
8579
 
 
8580
 
 
8581
9447
fi
8582
 
 
8583
 
rm -rf conftest.dSYM
8584
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8585
 
      conftest$ac_exeext conftest.$ac_ext
 
9448
rm -f core conftest.err conftest.$ac_objext \
 
9449
    conftest$ac_exeext conftest.$ac_ext
8586
9450
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8587
9451
 
8588
9452
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8595
9459
        else
8596
9460
         # Determine the default libpath from the value encoded in an
8597
9461
         # empty executable.
8598
 
         cat >conftest.$ac_ext <<_ACEOF
8599
 
/* confdefs.h.  */
8600
 
_ACEOF
8601
 
cat confdefs.h >>conftest.$ac_ext
8602
 
cat >>conftest.$ac_ext <<_ACEOF
 
9462
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603
9463
/* end confdefs.h.  */
8604
9464
 
8605
9465
int
8610
9470
  return 0;
8611
9471
}
8612
9472
_ACEOF
8613
 
rm -f conftest.$ac_objext conftest$ac_exeext
8614
 
if { (ac_try="$ac_link"
8615
 
case "(($ac_try" in
8616
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8617
 
  *) ac_try_echo=$ac_try;;
8618
 
esac
8619
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8620
 
$as_echo "$ac_try_echo") >&5
8621
 
  (eval "$ac_link") 2>conftest.er1
8622
 
  ac_status=$?
8623
 
  grep -v '^ *+' conftest.er1 >conftest.err
8624
 
  rm -f conftest.er1
8625
 
  cat conftest.err >&5
8626
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627
 
  (exit $ac_status); } && {
8628
 
         test -z "$ac_c_werror_flag" ||
8629
 
         test ! -s conftest.err
8630
 
       } && test -s conftest$ac_exeext && {
8631
 
         test "$cross_compiling" = yes ||
8632
 
         $as_test_x conftest$ac_exeext
8633
 
       }; then
 
9473
if ac_fn_c_try_link "$LINENO"; then :
8634
9474
 
8635
9475
lt_aix_libpath_sed='
8636
9476
    /Import File Strings/,/^$/ {
8644
9484
if test -z "$aix_libpath"; then
8645
9485
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8646
9486
fi
8647
 
else
8648
 
  $as_echo "$as_me: failed program was:" >&5
8649
 
sed 's/^/| /' conftest.$ac_ext >&5
8650
 
 
8651
 
 
8652
9487
fi
8653
 
 
8654
 
rm -rf conftest.dSYM
8655
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8656
 
      conftest$ac_exeext conftest.$ac_ext
 
9488
rm -f core conftest.err conftest.$ac_objext \
 
9489
    conftest$ac_exeext conftest.$ac_ext
8657
9490
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8658
9491
 
8659
9492
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8865
9698
        # implicitly export all symbols.
8866
9699
        save_LDFLAGS="$LDFLAGS"
8867
9700
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8868
 
        cat >conftest.$ac_ext <<_ACEOF
 
9701
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9702
/* end confdefs.h.  */
8869
9703
int foo(void) {}
8870
9704
_ACEOF
8871
 
rm -f conftest.$ac_objext conftest$ac_exeext
8872
 
if { (ac_try="$ac_link"
8873
 
case "(($ac_try" in
8874
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8875
 
  *) ac_try_echo=$ac_try;;
8876
 
esac
8877
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8878
 
$as_echo "$ac_try_echo") >&5
8879
 
  (eval "$ac_link") 2>conftest.er1
8880
 
  ac_status=$?
8881
 
  grep -v '^ *+' conftest.er1 >conftest.err
8882
 
  rm -f conftest.er1
8883
 
  cat conftest.err >&5
8884
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885
 
  (exit $ac_status); } && {
8886
 
         test -z "$ac_c_werror_flag" ||
8887
 
         test ! -s conftest.err
8888
 
       } && test -s conftest$ac_exeext && {
8889
 
         test "$cross_compiling" = yes ||
8890
 
         $as_test_x conftest$ac_exeext
8891
 
       }; then
 
9705
if ac_fn_c_try_link "$LINENO"; then :
8892
9706
  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'
8893
9707
 
8894
 
else
8895
 
  $as_echo "$as_me: failed program was:" >&5
8896
 
sed 's/^/| /' conftest.$ac_ext >&5
8897
 
 
8898
 
 
8899
9708
fi
8900
 
 
8901
 
rm -rf conftest.dSYM
8902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8903
 
      conftest$ac_exeext conftest.$ac_ext
 
9709
rm -f core conftest.err conftest.$ac_objext \
 
9710
    conftest$ac_exeext conftest.$ac_ext
8904
9711
        LDFLAGS="$save_LDFLAGS"
8905
9712
      else
8906
9713
        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'
9156
9963
    fi
9157
9964
  fi
9158
9965
 
9159
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9160
9967
$as_echo "$ld_shlibs" >&6; }
9161
9968
test "$ld_shlibs" = no && can_build_shared=no
9162
9969
 
9193
10000
      # Test whether the compiler implicitly links with -lc since on some
9194
10001
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9195
10002
      # to ld, don't add -lc before -lgcc.
9196
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10003
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9197
10004
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9198
10005
      $RM conftest*
9199
10006
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9200
10007
 
9201
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10008
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9202
10009
  (eval $ac_compile) 2>&5
9203
10010
  ac_status=$?
9204
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205
 
  (exit $ac_status); } 2>conftest.err; then
 
10011
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10012
  test $ac_status = 0; } 2>conftest.err; then
9206
10013
        soname=conftest
9207
10014
        lib=conftest
9208
10015
        libobjs=conftest.$ac_objext
9216
10023
        libname=conftest
9217
10024
        lt_save_allow_undefined_flag=$allow_undefined_flag
9218
10025
        allow_undefined_flag=
9219
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10026
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9220
10027
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9221
10028
  ac_status=$?
9222
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223
 
  (exit $ac_status); }
 
10029
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10030
  test $ac_status = 0; }
9224
10031
        then
9225
10032
          archive_cmds_need_lc=no
9226
10033
        else
9231
10038
        cat conftest.err 1>&5
9232
10039
      fi
9233
10040
      $RM conftest*
9234
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10041
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9235
10042
$as_echo "$archive_cmds_need_lc" >&6; }
9236
10043
      ;;
9237
10044
    esac
9395
10202
 
9396
10203
 
9397
10204
 
9398
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10205
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9399
10206
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9400
10207
 
9401
10208
if test "$GCC" = yes; then
9817
10624
  save_libdir=$libdir
9818
10625
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9819
10626
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9820
 
  cat >conftest.$ac_ext <<_ACEOF
9821
 
/* confdefs.h.  */
9822
 
_ACEOF
9823
 
cat confdefs.h >>conftest.$ac_ext
9824
 
cat >>conftest.$ac_ext <<_ACEOF
 
10627
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825
10628
/* end confdefs.h.  */
9826
10629
 
9827
10630
int
9832
10635
  return 0;
9833
10636
}
9834
10637
_ACEOF
9835
 
rm -f conftest.$ac_objext conftest$ac_exeext
9836
 
if { (ac_try="$ac_link"
9837
 
case "(($ac_try" in
9838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9839
 
  *) ac_try_echo=$ac_try;;
9840
 
esac
9841
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9842
 
$as_echo "$ac_try_echo") >&5
9843
 
  (eval "$ac_link") 2>conftest.er1
9844
 
  ac_status=$?
9845
 
  grep -v '^ *+' conftest.er1 >conftest.err
9846
 
  rm -f conftest.er1
9847
 
  cat conftest.err >&5
9848
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849
 
  (exit $ac_status); } && {
9850
 
         test -z "$ac_c_werror_flag" ||
9851
 
         test ! -s conftest.err
9852
 
       } && test -s conftest$ac_exeext && {
9853
 
         test "$cross_compiling" = yes ||
9854
 
         $as_test_x conftest$ac_exeext
9855
 
       }; then
9856
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10638
if ac_fn_c_try_link "$LINENO"; then :
 
10639
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9857
10640
  shlibpath_overrides_runpath=yes
9858
10641
fi
9859
 
 
9860
 
else
9861
 
  $as_echo "$as_me: failed program was:" >&5
9862
 
sed 's/^/| /' conftest.$ac_ext >&5
9863
 
 
9864
 
 
9865
10642
fi
9866
 
 
9867
 
rm -rf conftest.dSYM
9868
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9869
 
      conftest$ac_exeext conftest.$ac_ext
 
10643
rm -f core conftest.err conftest.$ac_objext \
 
10644
    conftest$ac_exeext conftest.$ac_ext
9870
10645
  LDFLAGS=$save_LDFLAGS
9871
10646
  libdir=$save_libdir
9872
10647
 
10081
10856
  dynamic_linker=no
10082
10857
  ;;
10083
10858
esac
10084
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10085
10860
$as_echo "$dynamic_linker" >&6; }
10086
10861
test "$dynamic_linker" = no && can_build_shared=no
10087
10862
 
10183
10958
 
10184
10959
 
10185
10960
 
10186
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10961
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10187
10962
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10188
10963
hardcode_action=
10189
10964
if test -n "$hardcode_libdir_flag_spec" ||
10208
10983
  # directories.
10209
10984
  hardcode_action=unsupported
10210
10985
fi
10211
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10212
10987
$as_echo "$hardcode_action" >&6; }
10213
10988
 
10214
10989
if test "$hardcode_action" = relink ||
10253
11028
 
10254
11029
  darwin*)
10255
11030
  # if libdl is installed we need to link against it
10256
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11031
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10257
11032
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10258
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11033
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10259
11034
  $as_echo_n "(cached) " >&6
10260
11035
else
10261
11036
  ac_check_lib_save_LIBS=$LIBS
10262
11037
LIBS="-ldl  $LIBS"
10263
 
cat >conftest.$ac_ext <<_ACEOF
10264
 
/* confdefs.h.  */
10265
 
_ACEOF
10266
 
cat confdefs.h >>conftest.$ac_ext
10267
 
cat >>conftest.$ac_ext <<_ACEOF
 
11038
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268
11039
/* end confdefs.h.  */
10269
11040
 
10270
11041
/* Override any GCC internal prototype to avoid an error.
10282
11053
  return 0;
10283
11054
}
10284
11055
_ACEOF
10285
 
rm -f conftest.$ac_objext conftest$ac_exeext
10286
 
if { (ac_try="$ac_link"
10287
 
case "(($ac_try" in
10288
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289
 
  *) ac_try_echo=$ac_try;;
10290
 
esac
10291
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10292
 
$as_echo "$ac_try_echo") >&5
10293
 
  (eval "$ac_link") 2>conftest.er1
10294
 
  ac_status=$?
10295
 
  grep -v '^ *+' conftest.er1 >conftest.err
10296
 
  rm -f conftest.er1
10297
 
  cat conftest.err >&5
10298
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299
 
  (exit $ac_status); } && {
10300
 
         test -z "$ac_c_werror_flag" ||
10301
 
         test ! -s conftest.err
10302
 
       } && test -s conftest$ac_exeext && {
10303
 
         test "$cross_compiling" = yes ||
10304
 
         $as_test_x conftest$ac_exeext
10305
 
       }; then
 
11056
if ac_fn_c_try_link "$LINENO"; then :
10306
11057
  ac_cv_lib_dl_dlopen=yes
10307
11058
else
10308
 
  $as_echo "$as_me: failed program was:" >&5
10309
 
sed 's/^/| /' conftest.$ac_ext >&5
10310
 
 
10311
 
        ac_cv_lib_dl_dlopen=no
 
11059
  ac_cv_lib_dl_dlopen=no
10312
11060
fi
10313
 
 
10314
 
rm -rf conftest.dSYM
10315
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10316
 
      conftest$ac_exeext conftest.$ac_ext
 
11061
rm -f core conftest.err conftest.$ac_objext \
 
11062
    conftest$ac_exeext conftest.$ac_ext
10317
11063
LIBS=$ac_check_lib_save_LIBS
10318
11064
fi
10319
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10320
11066
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10321
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11067
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10322
11068
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10323
11069
else
10324
11070
 
10331
11077
    ;;
10332
11078
 
10333
11079
  *)
10334
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10335
 
$as_echo_n "checking for shl_load... " >&6; }
10336
 
if test "${ac_cv_func_shl_load+set}" = set; then
10337
 
  $as_echo_n "(cached) " >&6
10338
 
else
10339
 
  cat >conftest.$ac_ext <<_ACEOF
10340
 
/* confdefs.h.  */
10341
 
_ACEOF
10342
 
cat confdefs.h >>conftest.$ac_ext
10343
 
cat >>conftest.$ac_ext <<_ACEOF
10344
 
/* end confdefs.h.  */
10345
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10346
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10347
 
#define shl_load innocuous_shl_load
10348
 
 
10349
 
/* System header to define __stub macros and hopefully few prototypes,
10350
 
    which can conflict with char shl_load (); below.
10351
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10352
 
    <limits.h> exists even on freestanding compilers.  */
10353
 
 
10354
 
#ifdef __STDC__
10355
 
# include <limits.h>
10356
 
#else
10357
 
# include <assert.h>
10358
 
#endif
10359
 
 
10360
 
#undef shl_load
10361
 
 
10362
 
/* Override any GCC internal prototype to avoid an error.
10363
 
   Use char because int might match the return type of a GCC
10364
 
   builtin and then its argument prototype would still apply.  */
10365
 
#ifdef __cplusplus
10366
 
extern "C"
10367
 
#endif
10368
 
char shl_load ();
10369
 
/* The GNU C library defines this for functions which it implements
10370
 
    to always fail with ENOSYS.  Some functions are actually named
10371
 
    something starting with __ and the normal name is an alias.  */
10372
 
#if defined __stub_shl_load || defined __stub___shl_load
10373
 
choke me
10374
 
#endif
10375
 
 
10376
 
int
10377
 
main ()
10378
 
{
10379
 
return shl_load ();
10380
 
  ;
10381
 
  return 0;
10382
 
}
10383
 
_ACEOF
10384
 
rm -f conftest.$ac_objext conftest$ac_exeext
10385
 
if { (ac_try="$ac_link"
10386
 
case "(($ac_try" in
10387
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10388
 
  *) ac_try_echo=$ac_try;;
10389
 
esac
10390
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10391
 
$as_echo "$ac_try_echo") >&5
10392
 
  (eval "$ac_link") 2>conftest.er1
10393
 
  ac_status=$?
10394
 
  grep -v '^ *+' conftest.er1 >conftest.err
10395
 
  rm -f conftest.er1
10396
 
  cat conftest.err >&5
10397
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398
 
  (exit $ac_status); } && {
10399
 
         test -z "$ac_c_werror_flag" ||
10400
 
         test ! -s conftest.err
10401
 
       } && test -s conftest$ac_exeext && {
10402
 
         test "$cross_compiling" = yes ||
10403
 
         $as_test_x conftest$ac_exeext
10404
 
       }; then
10405
 
  ac_cv_func_shl_load=yes
10406
 
else
10407
 
  $as_echo "$as_me: failed program was:" >&5
10408
 
sed 's/^/| /' conftest.$ac_ext >&5
10409
 
 
10410
 
        ac_cv_func_shl_load=no
10411
 
fi
10412
 
 
10413
 
rm -rf conftest.dSYM
10414
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10415
 
      conftest$ac_exeext conftest.$ac_ext
10416
 
fi
10417
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10418
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10419
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11080
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11081
if test "x$ac_cv_func_shl_load" = x""yes; then :
10420
11082
  lt_cv_dlopen="shl_load"
10421
11083
else
10422
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11084
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10423
11085
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10424
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11086
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10425
11087
  $as_echo_n "(cached) " >&6
10426
11088
else
10427
11089
  ac_check_lib_save_LIBS=$LIBS
10428
11090
LIBS="-ldld  $LIBS"
10429
 
cat >conftest.$ac_ext <<_ACEOF
10430
 
/* confdefs.h.  */
10431
 
_ACEOF
10432
 
cat confdefs.h >>conftest.$ac_ext
10433
 
cat >>conftest.$ac_ext <<_ACEOF
 
11091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434
11092
/* end confdefs.h.  */
10435
11093
 
10436
11094
/* Override any GCC internal prototype to avoid an error.
10448
11106
  return 0;
10449
11107
}
10450
11108
_ACEOF
10451
 
rm -f conftest.$ac_objext conftest$ac_exeext
10452
 
if { (ac_try="$ac_link"
10453
 
case "(($ac_try" in
10454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10455
 
  *) ac_try_echo=$ac_try;;
10456
 
esac
10457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10458
 
$as_echo "$ac_try_echo") >&5
10459
 
  (eval "$ac_link") 2>conftest.er1
10460
 
  ac_status=$?
10461
 
  grep -v '^ *+' conftest.er1 >conftest.err
10462
 
  rm -f conftest.er1
10463
 
  cat conftest.err >&5
10464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465
 
  (exit $ac_status); } && {
10466
 
         test -z "$ac_c_werror_flag" ||
10467
 
         test ! -s conftest.err
10468
 
       } && test -s conftest$ac_exeext && {
10469
 
         test "$cross_compiling" = yes ||
10470
 
         $as_test_x conftest$ac_exeext
10471
 
       }; then
 
11109
if ac_fn_c_try_link "$LINENO"; then :
10472
11110
  ac_cv_lib_dld_shl_load=yes
10473
11111
else
10474
 
  $as_echo "$as_me: failed program was:" >&5
10475
 
sed 's/^/| /' conftest.$ac_ext >&5
10476
 
 
10477
 
        ac_cv_lib_dld_shl_load=no
 
11112
  ac_cv_lib_dld_shl_load=no
10478
11113
fi
10479
 
 
10480
 
rm -rf conftest.dSYM
10481
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10482
 
      conftest$ac_exeext conftest.$ac_ext
 
11114
rm -f core conftest.err conftest.$ac_objext \
 
11115
    conftest$ac_exeext conftest.$ac_ext
10483
11116
LIBS=$ac_check_lib_save_LIBS
10484
11117
fi
10485
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10486
11119
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10487
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11120
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10488
11121
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10489
11122
else
10490
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10491
 
$as_echo_n "checking for dlopen... " >&6; }
10492
 
if test "${ac_cv_func_dlopen+set}" = set; then
10493
 
  $as_echo_n "(cached) " >&6
10494
 
else
10495
 
  cat >conftest.$ac_ext <<_ACEOF
10496
 
/* confdefs.h.  */
10497
 
_ACEOF
10498
 
cat confdefs.h >>conftest.$ac_ext
10499
 
cat >>conftest.$ac_ext <<_ACEOF
10500
 
/* end confdefs.h.  */
10501
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10502
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10503
 
#define dlopen innocuous_dlopen
10504
 
 
10505
 
/* System header to define __stub macros and hopefully few prototypes,
10506
 
    which can conflict with char dlopen (); below.
10507
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10508
 
    <limits.h> exists even on freestanding compilers.  */
10509
 
 
10510
 
#ifdef __STDC__
10511
 
# include <limits.h>
10512
 
#else
10513
 
# include <assert.h>
10514
 
#endif
10515
 
 
10516
 
#undef dlopen
10517
 
 
10518
 
/* Override any GCC internal prototype to avoid an error.
10519
 
   Use char because int might match the return type of a GCC
10520
 
   builtin and then its argument prototype would still apply.  */
10521
 
#ifdef __cplusplus
10522
 
extern "C"
10523
 
#endif
10524
 
char dlopen ();
10525
 
/* The GNU C library defines this for functions which it implements
10526
 
    to always fail with ENOSYS.  Some functions are actually named
10527
 
    something starting with __ and the normal name is an alias.  */
10528
 
#if defined __stub_dlopen || defined __stub___dlopen
10529
 
choke me
10530
 
#endif
10531
 
 
10532
 
int
10533
 
main ()
10534
 
{
10535
 
return dlopen ();
10536
 
  ;
10537
 
  return 0;
10538
 
}
10539
 
_ACEOF
10540
 
rm -f conftest.$ac_objext conftest$ac_exeext
10541
 
if { (ac_try="$ac_link"
10542
 
case "(($ac_try" in
10543
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10544
 
  *) ac_try_echo=$ac_try;;
10545
 
esac
10546
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10547
 
$as_echo "$ac_try_echo") >&5
10548
 
  (eval "$ac_link") 2>conftest.er1
10549
 
  ac_status=$?
10550
 
  grep -v '^ *+' conftest.er1 >conftest.err
10551
 
  rm -f conftest.er1
10552
 
  cat conftest.err >&5
10553
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554
 
  (exit $ac_status); } && {
10555
 
         test -z "$ac_c_werror_flag" ||
10556
 
         test ! -s conftest.err
10557
 
       } && test -s conftest$ac_exeext && {
10558
 
         test "$cross_compiling" = yes ||
10559
 
         $as_test_x conftest$ac_exeext
10560
 
       }; then
10561
 
  ac_cv_func_dlopen=yes
10562
 
else
10563
 
  $as_echo "$as_me: failed program was:" >&5
10564
 
sed 's/^/| /' conftest.$ac_ext >&5
10565
 
 
10566
 
        ac_cv_func_dlopen=no
10567
 
fi
10568
 
 
10569
 
rm -rf conftest.dSYM
10570
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10571
 
      conftest$ac_exeext conftest.$ac_ext
10572
 
fi
10573
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10574
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10575
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11123
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11124
if test "x$ac_cv_func_dlopen" = x""yes; then :
10576
11125
  lt_cv_dlopen="dlopen"
10577
11126
else
10578
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11127
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10579
11128
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10580
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11129
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10581
11130
  $as_echo_n "(cached) " >&6
10582
11131
else
10583
11132
  ac_check_lib_save_LIBS=$LIBS
10584
11133
LIBS="-ldl  $LIBS"
10585
 
cat >conftest.$ac_ext <<_ACEOF
10586
 
/* confdefs.h.  */
10587
 
_ACEOF
10588
 
cat confdefs.h >>conftest.$ac_ext
10589
 
cat >>conftest.$ac_ext <<_ACEOF
 
11134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590
11135
/* end confdefs.h.  */
10591
11136
 
10592
11137
/* Override any GCC internal prototype to avoid an error.
10604
11149
  return 0;
10605
11150
}
10606
11151
_ACEOF
10607
 
rm -f conftest.$ac_objext conftest$ac_exeext
10608
 
if { (ac_try="$ac_link"
10609
 
case "(($ac_try" in
10610
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611
 
  *) ac_try_echo=$ac_try;;
10612
 
esac
10613
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10614
 
$as_echo "$ac_try_echo") >&5
10615
 
  (eval "$ac_link") 2>conftest.er1
10616
 
  ac_status=$?
10617
 
  grep -v '^ *+' conftest.er1 >conftest.err
10618
 
  rm -f conftest.er1
10619
 
  cat conftest.err >&5
10620
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621
 
  (exit $ac_status); } && {
10622
 
         test -z "$ac_c_werror_flag" ||
10623
 
         test ! -s conftest.err
10624
 
       } && test -s conftest$ac_exeext && {
10625
 
         test "$cross_compiling" = yes ||
10626
 
         $as_test_x conftest$ac_exeext
10627
 
       }; then
 
11152
if ac_fn_c_try_link "$LINENO"; then :
10628
11153
  ac_cv_lib_dl_dlopen=yes
10629
11154
else
10630
 
  $as_echo "$as_me: failed program was:" >&5
10631
 
sed 's/^/| /' conftest.$ac_ext >&5
10632
 
 
10633
 
        ac_cv_lib_dl_dlopen=no
 
11155
  ac_cv_lib_dl_dlopen=no
10634
11156
fi
10635
 
 
10636
 
rm -rf conftest.dSYM
10637
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638
 
      conftest$ac_exeext conftest.$ac_ext
 
11157
rm -f core conftest.err conftest.$ac_objext \
 
11158
    conftest$ac_exeext conftest.$ac_ext
10639
11159
LIBS=$ac_check_lib_save_LIBS
10640
11160
fi
10641
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10642
11162
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10643
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11163
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10644
11164
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10645
11165
else
10646
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11166
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10647
11167
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10648
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11168
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10649
11169
  $as_echo_n "(cached) " >&6
10650
11170
else
10651
11171
  ac_check_lib_save_LIBS=$LIBS
10652
11172
LIBS="-lsvld  $LIBS"
10653
 
cat >conftest.$ac_ext <<_ACEOF
10654
 
/* confdefs.h.  */
10655
 
_ACEOF
10656
 
cat confdefs.h >>conftest.$ac_ext
10657
 
cat >>conftest.$ac_ext <<_ACEOF
 
11173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658
11174
/* end confdefs.h.  */
10659
11175
 
10660
11176
/* Override any GCC internal prototype to avoid an error.
10672
11188
  return 0;
10673
11189
}
10674
11190
_ACEOF
10675
 
rm -f conftest.$ac_objext conftest$ac_exeext
10676
 
if { (ac_try="$ac_link"
10677
 
case "(($ac_try" in
10678
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10679
 
  *) ac_try_echo=$ac_try;;
10680
 
esac
10681
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10682
 
$as_echo "$ac_try_echo") >&5
10683
 
  (eval "$ac_link") 2>conftest.er1
10684
 
  ac_status=$?
10685
 
  grep -v '^ *+' conftest.er1 >conftest.err
10686
 
  rm -f conftest.er1
10687
 
  cat conftest.err >&5
10688
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689
 
  (exit $ac_status); } && {
10690
 
         test -z "$ac_c_werror_flag" ||
10691
 
         test ! -s conftest.err
10692
 
       } && test -s conftest$ac_exeext && {
10693
 
         test "$cross_compiling" = yes ||
10694
 
         $as_test_x conftest$ac_exeext
10695
 
       }; then
 
11191
if ac_fn_c_try_link "$LINENO"; then :
10696
11192
  ac_cv_lib_svld_dlopen=yes
10697
11193
else
10698
 
  $as_echo "$as_me: failed program was:" >&5
10699
 
sed 's/^/| /' conftest.$ac_ext >&5
10700
 
 
10701
 
        ac_cv_lib_svld_dlopen=no
 
11194
  ac_cv_lib_svld_dlopen=no
10702
11195
fi
10703
 
 
10704
 
rm -rf conftest.dSYM
10705
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10706
 
      conftest$ac_exeext conftest.$ac_ext
 
11196
rm -f core conftest.err conftest.$ac_objext \
 
11197
    conftest$ac_exeext conftest.$ac_ext
10707
11198
LIBS=$ac_check_lib_save_LIBS
10708
11199
fi
10709
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10710
11201
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10711
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11202
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10712
11203
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10713
11204
else
10714
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11205
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10715
11206
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10716
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11207
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10717
11208
  $as_echo_n "(cached) " >&6
10718
11209
else
10719
11210
  ac_check_lib_save_LIBS=$LIBS
10720
11211
LIBS="-ldld  $LIBS"
10721
 
cat >conftest.$ac_ext <<_ACEOF
10722
 
/* confdefs.h.  */
10723
 
_ACEOF
10724
 
cat confdefs.h >>conftest.$ac_ext
10725
 
cat >>conftest.$ac_ext <<_ACEOF
 
11212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726
11213
/* end confdefs.h.  */
10727
11214
 
10728
11215
/* Override any GCC internal prototype to avoid an error.
10740
11227
  return 0;
10741
11228
}
10742
11229
_ACEOF
10743
 
rm -f conftest.$ac_objext conftest$ac_exeext
10744
 
if { (ac_try="$ac_link"
10745
 
case "(($ac_try" in
10746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10747
 
  *) ac_try_echo=$ac_try;;
10748
 
esac
10749
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10750
 
$as_echo "$ac_try_echo") >&5
10751
 
  (eval "$ac_link") 2>conftest.er1
10752
 
  ac_status=$?
10753
 
  grep -v '^ *+' conftest.er1 >conftest.err
10754
 
  rm -f conftest.er1
10755
 
  cat conftest.err >&5
10756
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757
 
  (exit $ac_status); } && {
10758
 
         test -z "$ac_c_werror_flag" ||
10759
 
         test ! -s conftest.err
10760
 
       } && test -s conftest$ac_exeext && {
10761
 
         test "$cross_compiling" = yes ||
10762
 
         $as_test_x conftest$ac_exeext
10763
 
       }; then
 
11230
if ac_fn_c_try_link "$LINENO"; then :
10764
11231
  ac_cv_lib_dld_dld_link=yes
10765
11232
else
10766
 
  $as_echo "$as_me: failed program was:" >&5
10767
 
sed 's/^/| /' conftest.$ac_ext >&5
10768
 
 
10769
 
        ac_cv_lib_dld_dld_link=no
 
11233
  ac_cv_lib_dld_dld_link=no
10770
11234
fi
10771
 
 
10772
 
rm -rf conftest.dSYM
10773
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10774
 
      conftest$ac_exeext conftest.$ac_ext
 
11235
rm -f core conftest.err conftest.$ac_objext \
 
11236
    conftest$ac_exeext conftest.$ac_ext
10775
11237
LIBS=$ac_check_lib_save_LIBS
10776
11238
fi
10777
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10778
11240
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10779
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11241
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10780
11242
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10781
11243
fi
10782
11244
 
10815
11277
    save_LIBS="$LIBS"
10816
11278
    LIBS="$lt_cv_dlopen_libs $LIBS"
10817
11279
 
10818
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11280
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10819
11281
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10820
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11282
if test "${lt_cv_dlopen_self+set}" = set; then :
10821
11283
  $as_echo_n "(cached) " >&6
10822
11284
else
10823
11285
          if test "$cross_compiling" = yes; then :
10826
11288
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10827
11289
  lt_status=$lt_dlunknown
10828
11290
  cat > conftest.$ac_ext <<_LT_EOF
10829
 
#line 10829 "configure"
 
11291
#line 11291 "configure"
10830
11292
#include "confdefs.h"
10831
11293
 
10832
11294
#if HAVE_DLFCN_H
10885
11347
  return status;
10886
11348
}
10887
11349
_LT_EOF
10888
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11350
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10889
11351
  (eval $ac_link) 2>&5
10890
11352
  ac_status=$?
10891
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11353
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11354
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10893
11355
    (./conftest; exit; ) >&5 2>/dev/null
10894
11356
    lt_status=$?
10895
11357
    case x$lt_status in
10906
11368
 
10907
11369
 
10908
11370
fi
10909
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10910
11372
$as_echo "$lt_cv_dlopen_self" >&6; }
10911
11373
 
10912
11374
    if test "x$lt_cv_dlopen_self" = xyes; then
10913
11375
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10914
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11376
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10915
11377
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10916
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11378
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10917
11379
  $as_echo_n "(cached) " >&6
10918
11380
else
10919
11381
          if test "$cross_compiling" = yes; then :
10922
11384
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10923
11385
  lt_status=$lt_dlunknown
10924
11386
  cat > conftest.$ac_ext <<_LT_EOF
10925
 
#line 10925 "configure"
 
11387
#line 11387 "configure"
10926
11388
#include "confdefs.h"
10927
11389
 
10928
11390
#if HAVE_DLFCN_H
10981
11443
  return status;
10982
11444
}
10983
11445
_LT_EOF
10984
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11446
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10985
11447
  (eval $ac_link) 2>&5
10986
11448
  ac_status=$?
10987
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11449
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11450
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10989
11451
    (./conftest; exit; ) >&5 2>/dev/null
10990
11452
    lt_status=$?
10991
11453
    case x$lt_status in
11002
11464
 
11003
11465
 
11004
11466
fi
11005
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11006
11468
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11007
11469
    fi
11008
11470
 
11041
11503
 
11042
11504
striplib=
11043
11505
old_striplib=
11044
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11045
11507
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11046
11508
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11047
11509
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11048
11510
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11049
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11050
11512
$as_echo "yes" >&6; }
11051
11513
else
11052
11514
# FIXME - insert some real tests, host_os isn't really good enough
11055
11517
    if test -n "$STRIP" ; then
11056
11518
      striplib="$STRIP -x"
11057
11519
      old_striplib="$STRIP -S"
11058
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11520
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11059
11521
$as_echo "yes" >&6; }
11060
11522
    else
11061
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11523
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11062
11524
$as_echo "no" >&6; }
11063
11525
    fi
11064
11526
    ;;
11065
11527
  *)
11066
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11528
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11067
11529
$as_echo "no" >&6; }
11068
11530
    ;;
11069
11531
  esac
11081
11543
 
11082
11544
 
11083
11545
  # Report which library types will actually be built
11084
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11546
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11085
11547
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11086
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11548
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11087
11549
$as_echo "$can_build_shared" >&6; }
11088
11550
 
11089
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11551
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11090
11552
$as_echo_n "checking whether to build shared libraries... " >&6; }
11091
11553
  test "$can_build_shared" = "no" && enable_shared=no
11092
11554
 
11107
11569
    fi
11108
11570
    ;;
11109
11571
  esac
11110
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11572
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11111
11573
$as_echo "$enable_shared" >&6; }
11112
11574
 
11113
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11575
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11114
11576
$as_echo_n "checking whether to build static libraries... " >&6; }
11115
11577
  # Make sure either enable_shared or enable_static is yes.
11116
11578
  test "$enable_shared" = yes || enable_static=yes
11117
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11579
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11118
11580
$as_echo "$enable_static" >&6; }
11119
11581
 
11120
11582
 
11157
11619
if test -n "$ac_tool_prefix"; then
11158
11620
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11159
11621
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11160
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11161
11623
$as_echo_n "checking for $ac_word... " >&6; }
11162
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11624
if test "${ac_cv_prog_CC+set}" = set; then :
11163
11625
  $as_echo_n "(cached) " >&6
11164
11626
else
11165
11627
  if test -n "$CC"; then
11170
11632
do
11171
11633
  IFS=$as_save_IFS
11172
11634
  test -z "$as_dir" && as_dir=.
11173
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11635
    for ac_exec_ext in '' $ac_executable_extensions; do
11174
11636
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11175
11637
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
11176
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11638
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11177
11639
    break 2
11178
11640
  fi
11179
11641
done
11180
 
done
 
11642
  done
11181
11643
IFS=$as_save_IFS
11182
11644
 
11183
11645
fi
11184
11646
fi
11185
11647
CC=$ac_cv_prog_CC
11186
11648
if test -n "$CC"; then
11187
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11188
11650
$as_echo "$CC" >&6; }
11189
11651
else
11190
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11191
11653
$as_echo "no" >&6; }
11192
11654
fi
11193
11655
 
11197
11659
  ac_ct_CC=$CC
11198
11660
  # Extract the first word of "gcc", so it can be a program name with args.
11199
11661
set dummy gcc; ac_word=$2
11200
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11201
11663
$as_echo_n "checking for $ac_word... " >&6; }
11202
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
11664
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11203
11665
  $as_echo_n "(cached) " >&6
11204
11666
else
11205
11667
  if test -n "$ac_ct_CC"; then
11210
11672
do
11211
11673
  IFS=$as_save_IFS
11212
11674
  test -z "$as_dir" && as_dir=.
11213
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11675
    for ac_exec_ext in '' $ac_executable_extensions; do
11214
11676
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11215
11677
    ac_cv_prog_ac_ct_CC="gcc"
11216
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11678
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11217
11679
    break 2
11218
11680
  fi
11219
11681
done
11220
 
done
 
11682
  done
11221
11683
IFS=$as_save_IFS
11222
11684
 
11223
11685
fi
11224
11686
fi
11225
11687
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11226
11688
if test -n "$ac_ct_CC"; then
11227
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
11689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11228
11690
$as_echo "$ac_ct_CC" >&6; }
11229
11691
else
11230
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11692
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231
11693
$as_echo "no" >&6; }
11232
11694
fi
11233
11695
 
11236
11698
  else
11237
11699
    case $cross_compiling:$ac_tool_warned in
11238
11700
yes:)
11239
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11701
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11240
11702
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11241
11703
ac_tool_warned=yes ;;
11242
11704
esac
11250
11712
          if test -n "$ac_tool_prefix"; then
11251
11713
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11252
11714
set dummy ${ac_tool_prefix}cc; ac_word=$2
11253
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11254
11716
$as_echo_n "checking for $ac_word... " >&6; }
11255
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11717
if test "${ac_cv_prog_CC+set}" = set; then :
11256
11718
  $as_echo_n "(cached) " >&6
11257
11719
else
11258
11720
  if test -n "$CC"; then
11263
11725
do
11264
11726
  IFS=$as_save_IFS
11265
11727
  test -z "$as_dir" && as_dir=.
11266
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11728
    for ac_exec_ext in '' $ac_executable_extensions; do
11267
11729
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11268
11730
    ac_cv_prog_CC="${ac_tool_prefix}cc"
11269
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11731
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11270
11732
    break 2
11271
11733
  fi
11272
11734
done
11273
 
done
 
11735
  done
11274
11736
IFS=$as_save_IFS
11275
11737
 
11276
11738
fi
11277
11739
fi
11278
11740
CC=$ac_cv_prog_CC
11279
11741
if test -n "$CC"; then
11280
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11281
11743
$as_echo "$CC" >&6; }
11282
11744
else
11283
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11284
11746
$as_echo "no" >&6; }
11285
11747
fi
11286
11748
 
11290
11752
if test -z "$CC"; then
11291
11753
  # Extract the first word of "cc", so it can be a program name with args.
11292
11754
set dummy cc; ac_word=$2
11293
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11294
11756
$as_echo_n "checking for $ac_word... " >&6; }
11295
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11757
if test "${ac_cv_prog_CC+set}" = set; then :
11296
11758
  $as_echo_n "(cached) " >&6
11297
11759
else
11298
11760
  if test -n "$CC"; then
11304
11766
do
11305
11767
  IFS=$as_save_IFS
11306
11768
  test -z "$as_dir" && as_dir=.
11307
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11769
    for ac_exec_ext in '' $ac_executable_extensions; do
11308
11770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11309
11771
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11310
11772
       ac_prog_rejected=yes
11311
11773
       continue
11312
11774
     fi
11313
11775
    ac_cv_prog_CC="cc"
11314
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11776
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11315
11777
    break 2
11316
11778
  fi
11317
11779
done
11318
 
done
 
11780
  done
11319
11781
IFS=$as_save_IFS
11320
11782
 
11321
11783
if test $ac_prog_rejected = yes; then
11334
11796
fi
11335
11797
CC=$ac_cv_prog_CC
11336
11798
if test -n "$CC"; then
11337
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11338
11800
$as_echo "$CC" >&6; }
11339
11801
else
11340
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11341
11803
$as_echo "no" >&6; }
11342
11804
fi
11343
11805
 
11349
11811
  do
11350
11812
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11351
11813
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11352
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353
11815
$as_echo_n "checking for $ac_word... " >&6; }
11354
 
if test "${ac_cv_prog_CC+set}" = set; then
 
11816
if test "${ac_cv_prog_CC+set}" = set; then :
11355
11817
  $as_echo_n "(cached) " >&6
11356
11818
else
11357
11819
  if test -n "$CC"; then
11362
11824
do
11363
11825
  IFS=$as_save_IFS
11364
11826
  test -z "$as_dir" && as_dir=.
11365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11827
    for ac_exec_ext in '' $ac_executable_extensions; do
11366
11828
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367
11829
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11368
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11830
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11369
11831
    break 2
11370
11832
  fi
11371
11833
done
11372
 
done
 
11834
  done
11373
11835
IFS=$as_save_IFS
11374
11836
 
11375
11837
fi
11376
11838
fi
11377
11839
CC=$ac_cv_prog_CC
11378
11840
if test -n "$CC"; then
11379
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
11841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11380
11842
$as_echo "$CC" >&6; }
11381
11843
else
11382
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383
11845
$as_echo "no" >&6; }
11384
11846
fi
11385
11847
 
11393
11855
do
11394
11856
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11395
11857
set dummy $ac_prog; ac_word=$2
11396
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11397
11859
$as_echo_n "checking for $ac_word... " >&6; }
11398
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
11860
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11399
11861
  $as_echo_n "(cached) " >&6
11400
11862
else
11401
11863
  if test -n "$ac_ct_CC"; then
11406
11868
do
11407
11869
  IFS=$as_save_IFS
11408
11870
  test -z "$as_dir" && as_dir=.
11409
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11871
    for ac_exec_ext in '' $ac_executable_extensions; do
11410
11872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11411
11873
    ac_cv_prog_ac_ct_CC="$ac_prog"
11412
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11874
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11413
11875
    break 2
11414
11876
  fi
11415
11877
done
11416
 
done
 
11878
  done
11417
11879
IFS=$as_save_IFS
11418
11880
 
11419
11881
fi
11420
11882
fi
11421
11883
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11422
11884
if test -n "$ac_ct_CC"; then
11423
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
11885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11424
11886
$as_echo "$ac_ct_CC" >&6; }
11425
11887
else
11426
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11427
11889
$as_echo "no" >&6; }
11428
11890
fi
11429
11891
 
11436
11898
  else
11437
11899
    case $cross_compiling:$ac_tool_warned in
11438
11900
yes:)
11439
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
11901
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11440
11902
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11441
11903
ac_tool_warned=yes ;;
11442
11904
esac
11447
11909
fi
11448
11910
 
11449
11911
 
11450
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11912
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11451
11913
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11452
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11453
 
See \`config.log' for more details." >&5
11454
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
11455
 
See \`config.log' for more details." >&2;}
11456
 
   { (exit 1); exit 1; }; }; }
 
11914
as_fn_error "no acceptable C compiler found in \$PATH
 
11915
See \`config.log' for more details." "$LINENO" 5; }
11457
11916
 
11458
11917
# Provide some information about the compiler.
11459
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
11918
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11460
11919
set X $ac_compile
11461
11920
ac_compiler=$2
11462
 
{ (ac_try="$ac_compiler --version >&5"
11463
 
case "(($ac_try" in
11464
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11465
 
  *) ac_try_echo=$ac_try;;
11466
 
esac
11467
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11468
 
$as_echo "$ac_try_echo") >&5
11469
 
  (eval "$ac_compiler --version >&5") 2>&5
11470
 
  ac_status=$?
11471
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472
 
  (exit $ac_status); }
11473
 
{ (ac_try="$ac_compiler -v >&5"
11474
 
case "(($ac_try" in
11475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11476
 
  *) ac_try_echo=$ac_try;;
11477
 
esac
11478
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11479
 
$as_echo "$ac_try_echo") >&5
11480
 
  (eval "$ac_compiler -v >&5") 2>&5
11481
 
  ac_status=$?
11482
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483
 
  (exit $ac_status); }
11484
 
{ (ac_try="$ac_compiler -V >&5"
11485
 
case "(($ac_try" in
11486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11487
 
  *) ac_try_echo=$ac_try;;
11488
 
esac
11489
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11490
 
$as_echo "$ac_try_echo") >&5
11491
 
  (eval "$ac_compiler -V >&5") 2>&5
11492
 
  ac_status=$?
11493
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494
 
  (exit $ac_status); }
 
11921
for ac_option in --version -v -V -qversion; do
 
11922
  { { ac_try="$ac_compiler $ac_option >&5"
 
11923
case "(($ac_try" in
 
11924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11925
  *) ac_try_echo=$ac_try;;
 
11926
esac
 
11927
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11928
$as_echo "$ac_try_echo"; } >&5
 
11929
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11930
  ac_status=$?
 
11931
  if test -s conftest.err; then
 
11932
    sed '10a\
 
11933
... rest of stderr output deleted ...
 
11934
         10q' conftest.err >conftest.er1
 
11935
    cat conftest.er1 >&5
 
11936
  fi
 
11937
  rm -f conftest.er1 conftest.err
 
11938
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11939
  test $ac_status = 0; }
 
11940
done
11495
11941
 
11496
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
11942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11497
11943
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11498
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
11944
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11499
11945
  $as_echo_n "(cached) " >&6
11500
11946
else
11501
 
  cat >conftest.$ac_ext <<_ACEOF
11502
 
/* confdefs.h.  */
11503
 
_ACEOF
11504
 
cat confdefs.h >>conftest.$ac_ext
11505
 
cat >>conftest.$ac_ext <<_ACEOF
 
11947
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506
11948
/* end confdefs.h.  */
11507
11949
 
11508
11950
int
11516
11958
  return 0;
11517
11959
}
11518
11960
_ACEOF
11519
 
rm -f conftest.$ac_objext
11520
 
if { (ac_try="$ac_compile"
11521
 
case "(($ac_try" in
11522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523
 
  *) ac_try_echo=$ac_try;;
11524
 
esac
11525
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11526
 
$as_echo "$ac_try_echo") >&5
11527
 
  (eval "$ac_compile") 2>conftest.er1
11528
 
  ac_status=$?
11529
 
  grep -v '^ *+' conftest.er1 >conftest.err
11530
 
  rm -f conftest.er1
11531
 
  cat conftest.err >&5
11532
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533
 
  (exit $ac_status); } && {
11534
 
         test -z "$ac_c_werror_flag" ||
11535
 
         test ! -s conftest.err
11536
 
       } && test -s conftest.$ac_objext; then
 
11961
if ac_fn_c_try_compile "$LINENO"; then :
11537
11962
  ac_compiler_gnu=yes
11538
11963
else
11539
 
  $as_echo "$as_me: failed program was:" >&5
11540
 
sed 's/^/| /' conftest.$ac_ext >&5
11541
 
 
11542
 
        ac_compiler_gnu=no
 
11964
  ac_compiler_gnu=no
11543
11965
fi
11544
 
 
11545
11966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11546
11967
ac_cv_c_compiler_gnu=$ac_compiler_gnu
11547
11968
 
11548
11969
fi
11549
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
11970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11550
11971
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11551
11972
if test $ac_compiler_gnu = yes; then
11552
11973
  GCC=yes
11555
11976
fi
11556
11977
ac_test_CFLAGS=${CFLAGS+set}
11557
11978
ac_save_CFLAGS=$CFLAGS
11558
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
11979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11559
11980
$as_echo_n "checking whether $CC accepts -g... " >&6; }
11560
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
11981
if test "${ac_cv_prog_cc_g+set}" = set; then :
11561
11982
  $as_echo_n "(cached) " >&6
11562
11983
else
11563
11984
  ac_save_c_werror_flag=$ac_c_werror_flag
11564
11985
   ac_c_werror_flag=yes
11565
11986
   ac_cv_prog_cc_g=no
11566
11987
   CFLAGS="-g"
11567
 
   cat >conftest.$ac_ext <<_ACEOF
11568
 
/* confdefs.h.  */
11569
 
_ACEOF
11570
 
cat confdefs.h >>conftest.$ac_ext
11571
 
cat >>conftest.$ac_ext <<_ACEOF
 
11988
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572
11989
/* end confdefs.h.  */
11573
11990
 
11574
11991
int
11579
11996
  return 0;
11580
11997
}
11581
11998
_ACEOF
11582
 
rm -f conftest.$ac_objext
11583
 
if { (ac_try="$ac_compile"
11584
 
case "(($ac_try" in
11585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586
 
  *) ac_try_echo=$ac_try;;
11587
 
esac
11588
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11589
 
$as_echo "$ac_try_echo") >&5
11590
 
  (eval "$ac_compile") 2>conftest.er1
11591
 
  ac_status=$?
11592
 
  grep -v '^ *+' conftest.er1 >conftest.err
11593
 
  rm -f conftest.er1
11594
 
  cat conftest.err >&5
11595
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596
 
  (exit $ac_status); } && {
11597
 
         test -z "$ac_c_werror_flag" ||
11598
 
         test ! -s conftest.err
11599
 
       } && test -s conftest.$ac_objext; then
 
11999
if ac_fn_c_try_compile "$LINENO"; then :
11600
12000
  ac_cv_prog_cc_g=yes
11601
12001
else
11602
 
  $as_echo "$as_me: failed program was:" >&5
11603
 
sed 's/^/| /' conftest.$ac_ext >&5
11604
 
 
11605
 
        CFLAGS=""
11606
 
      cat >conftest.$ac_ext <<_ACEOF
11607
 
/* confdefs.h.  */
11608
 
_ACEOF
11609
 
cat confdefs.h >>conftest.$ac_ext
11610
 
cat >>conftest.$ac_ext <<_ACEOF
 
12002
  CFLAGS=""
 
12003
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611
12004
/* end confdefs.h.  */
11612
12005
 
11613
12006
int
11618
12011
  return 0;
11619
12012
}
11620
12013
_ACEOF
11621
 
rm -f conftest.$ac_objext
11622
 
if { (ac_try="$ac_compile"
11623
 
case "(($ac_try" in
11624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11625
 
  *) ac_try_echo=$ac_try;;
11626
 
esac
11627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11628
 
$as_echo "$ac_try_echo") >&5
11629
 
  (eval "$ac_compile") 2>conftest.er1
11630
 
  ac_status=$?
11631
 
  grep -v '^ *+' conftest.er1 >conftest.err
11632
 
  rm -f conftest.er1
11633
 
  cat conftest.err >&5
11634
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635
 
  (exit $ac_status); } && {
11636
 
         test -z "$ac_c_werror_flag" ||
11637
 
         test ! -s conftest.err
11638
 
       } && test -s conftest.$ac_objext; then
11639
 
  :
 
12014
if ac_fn_c_try_compile "$LINENO"; then :
 
12015
 
11640
12016
else
11641
 
  $as_echo "$as_me: failed program was:" >&5
11642
 
sed 's/^/| /' conftest.$ac_ext >&5
11643
 
 
11644
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
12017
  ac_c_werror_flag=$ac_save_c_werror_flag
11645
12018
         CFLAGS="-g"
11646
 
         cat >conftest.$ac_ext <<_ACEOF
11647
 
/* confdefs.h.  */
11648
 
_ACEOF
11649
 
cat confdefs.h >>conftest.$ac_ext
11650
 
cat >>conftest.$ac_ext <<_ACEOF
 
12019
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651
12020
/* end confdefs.h.  */
11652
12021
 
11653
12022
int
11658
12027
  return 0;
11659
12028
}
11660
12029
_ACEOF
11661
 
rm -f conftest.$ac_objext
11662
 
if { (ac_try="$ac_compile"
11663
 
case "(($ac_try" in
11664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11665
 
  *) ac_try_echo=$ac_try;;
11666
 
esac
11667
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11668
 
$as_echo "$ac_try_echo") >&5
11669
 
  (eval "$ac_compile") 2>conftest.er1
11670
 
  ac_status=$?
11671
 
  grep -v '^ *+' conftest.er1 >conftest.err
11672
 
  rm -f conftest.er1
11673
 
  cat conftest.err >&5
11674
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675
 
  (exit $ac_status); } && {
11676
 
         test -z "$ac_c_werror_flag" ||
11677
 
         test ! -s conftest.err
11678
 
       } && test -s conftest.$ac_objext; then
 
12030
if ac_fn_c_try_compile "$LINENO"; then :
11679
12031
  ac_cv_prog_cc_g=yes
11680
 
else
11681
 
  $as_echo "$as_me: failed program was:" >&5
11682
 
sed 's/^/| /' conftest.$ac_ext >&5
11683
 
 
11684
 
 
11685
 
fi
11686
 
 
11687
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11688
 
fi
11689
 
 
11690
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11691
 
fi
11692
 
 
 
12032
fi
 
12033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12034
fi
 
12035
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12036
fi
11693
12037
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11694
12038
   ac_c_werror_flag=$ac_save_c_werror_flag
11695
12039
fi
11696
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
12040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11697
12041
$as_echo "$ac_cv_prog_cc_g" >&6; }
11698
12042
if test "$ac_test_CFLAGS" = set; then
11699
12043
  CFLAGS=$ac_save_CFLAGS
11710
12054
    CFLAGS=
11711
12055
  fi
11712
12056
fi
11713
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
12057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11714
12058
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11715
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
12059
if test "${ac_cv_prog_cc_c89+set}" = set; then :
11716
12060
  $as_echo_n "(cached) " >&6
11717
12061
else
11718
12062
  ac_cv_prog_cc_c89=no
11719
12063
ac_save_CC=$CC
11720
 
cat >conftest.$ac_ext <<_ACEOF
11721
 
/* confdefs.h.  */
11722
 
_ACEOF
11723
 
cat confdefs.h >>conftest.$ac_ext
11724
 
cat >>conftest.$ac_ext <<_ACEOF
 
12064
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725
12065
/* end confdefs.h.  */
11726
12066
#include <stdarg.h>
11727
12067
#include <stdio.h>
11778
12118
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11779
12119
do
11780
12120
  CC="$ac_save_CC $ac_arg"
11781
 
  rm -f conftest.$ac_objext
11782
 
if { (ac_try="$ac_compile"
11783
 
case "(($ac_try" in
11784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11785
 
  *) ac_try_echo=$ac_try;;
11786
 
esac
11787
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11788
 
$as_echo "$ac_try_echo") >&5
11789
 
  (eval "$ac_compile") 2>conftest.er1
11790
 
  ac_status=$?
11791
 
  grep -v '^ *+' conftest.er1 >conftest.err
11792
 
  rm -f conftest.er1
11793
 
  cat conftest.err >&5
11794
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795
 
  (exit $ac_status); } && {
11796
 
         test -z "$ac_c_werror_flag" ||
11797
 
         test ! -s conftest.err
11798
 
       } && test -s conftest.$ac_objext; then
 
12121
  if ac_fn_c_try_compile "$LINENO"; then :
11799
12122
  ac_cv_prog_cc_c89=$ac_arg
11800
 
else
11801
 
  $as_echo "$as_me: failed program was:" >&5
11802
 
sed 's/^/| /' conftest.$ac_ext >&5
11803
 
 
11804
 
 
11805
12123
fi
11806
 
 
11807
12124
rm -f core conftest.err conftest.$ac_objext
11808
12125
  test "x$ac_cv_prog_cc_c89" != "xno" && break
11809
12126
done
11814
12131
# AC_CACHE_VAL
11815
12132
case "x$ac_cv_prog_cc_c89" in
11816
12133
  x)
11817
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
12134
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11818
12135
$as_echo "none needed" >&6; } ;;
11819
12136
  xno)
11820
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
12137
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11821
12138
$as_echo "unsupported" >&6; } ;;
11822
12139
  *)
11823
12140
    CC="$CC $ac_cv_prog_cc_c89"
11824
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
12141
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11825
12142
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11826
12143
esac
 
12144
if test "x$ac_cv_prog_cc_c89" != xno; then :
11827
12145
 
 
12146
fi
11828
12147
 
11829
12148
ac_ext=c
11830
12149
ac_cpp='$CPP $CPPFLAGS'
11834
12153
 
11835
12154
depcc="$CC"   am_compiler_list=
11836
12155
 
11837
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
12156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11838
12157
$as_echo_n "checking dependency style of $depcc... " >&6; }
11839
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
12158
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11840
12159
  $as_echo_n "(cached) " >&6
11841
12160
else
11842
12161
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11944
12263
fi
11945
12264
 
11946
12265
fi
11947
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
12266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11948
12267
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11949
12268
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11950
12269
 
11960
12279
 
11961
12280
 
11962
12281
 
11963
 
 
11964
 
if  test "x$GCC" = xyes ; then
11965
 
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11966
 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11967
 
-Wbad-function-cast"
11968
 
    case `$CC -dumpversion` in
11969
 
    3.4.* | 4.*)
11970
 
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
11971
 
        ;;
11972
 
    esac
11973
 
else
11974
 
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
11975
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
11976
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
11977
 
  $as_echo_n "(cached) " >&6
11978
 
else
11979
 
  cat >conftest.$ac_ext <<_ACEOF
11980
 
/* confdefs.h.  */
11981
 
_ACEOF
11982
 
cat confdefs.h >>conftest.$ac_ext
11983
 
cat >>conftest.$ac_ext <<_ACEOF
11984
 
/* end confdefs.h.  */
11985
 
$ac_includes_default
11986
 
int
11987
 
main ()
11988
 
{
11989
 
#ifndef __SUNPRO_C
11990
 
  (void) __SUNPRO_C;
11991
 
#endif
11992
 
 
11993
 
  ;
11994
 
  return 0;
11995
 
}
11996
 
_ACEOF
11997
 
rm -f conftest.$ac_objext
11998
 
if { (ac_try="$ac_compile"
11999
 
case "(($ac_try" in
12000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12001
 
  *) ac_try_echo=$ac_try;;
12002
 
esac
12003
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12004
 
$as_echo "$ac_try_echo") >&5
12005
 
  (eval "$ac_compile") 2>conftest.er1
12006
 
  ac_status=$?
12007
 
  grep -v '^ *+' conftest.er1 >conftest.err
12008
 
  rm -f conftest.er1
12009
 
  cat conftest.err >&5
12010
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011
 
  (exit $ac_status); } && {
12012
 
         test -z "$ac_c_werror_flag" ||
12013
 
         test ! -s conftest.err
12014
 
       } && test -s conftest.$ac_objext; then
12015
 
  ac_cv_have_decl___SUNPRO_C=yes
12016
 
else
12017
 
  $as_echo "$as_me: failed program was:" >&5
12018
 
sed 's/^/| /' conftest.$ac_ext >&5
12019
 
 
12020
 
        ac_cv_have_decl___SUNPRO_C=no
12021
 
fi
12022
 
 
12023
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12024
 
fi
12025
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
12026
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
12027
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
12028
 
  SUNCC="yes"
12029
 
else
12030
 
  SUNCC="no"
12031
 
fi
12032
 
 
12033
 
    if test "x$SUNCC" = "xyes"; then
12034
 
        CWARNFLAGS="-v"
12035
 
    fi
12036
 
fi
12037
 
 
12038
 
# Check whether --enable-silent-rules was given.
12039
 
if test "${enable_silent_rules+set}" = set; then
12040
 
  enableval=$enable_silent_rules;
12041
 
fi
12042
 
 
12043
 
case $enable_silent_rules in
12044
 
yes) AM_DEFAULT_VERBOSITY=0;;
12045
 
no)  AM_DEFAULT_VERBOSITY=1;;
12046
 
*)   AM_DEFAULT_VERBOSITY=0;;
12047
 
esac
12048
 
AM_BACKSLASH='\'
12049
 
 
12050
 
 
12051
 
 
12052
12282
# Checks for pkg-config packages
12053
12283
 
12054
 
 
12055
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12056
 
        if test -n "$ac_tool_prefix"; then
12057
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12058
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12059
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12060
 
$as_echo_n "checking for $ac_word... " >&6; }
12061
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12062
 
  $as_echo_n "(cached) " >&6
12063
 
else
12064
 
  case $PKG_CONFIG in
12065
 
  [\\/]* | ?:[\\/]*)
12066
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12067
 
  ;;
12068
 
  *)
12069
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12070
 
for as_dir in $PATH
12071
 
do
12072
 
  IFS=$as_save_IFS
12073
 
  test -z "$as_dir" && as_dir=.
12074
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12075
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12076
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12077
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12078
 
    break 2
12079
 
  fi
12080
 
done
12081
 
done
12082
 
IFS=$as_save_IFS
12083
 
 
12084
 
  ;;
12085
 
esac
12086
 
fi
12087
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12088
 
if test -n "$PKG_CONFIG"; then
12089
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12090
 
$as_echo "$PKG_CONFIG" >&6; }
12091
 
else
12092
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12093
 
$as_echo "no" >&6; }
12094
 
fi
12095
 
 
12096
 
 
12097
 
fi
12098
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12099
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12100
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12101
 
set dummy pkg-config; ac_word=$2
12102
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12103
 
$as_echo_n "checking for $ac_word... " >&6; }
12104
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12105
 
  $as_echo_n "(cached) " >&6
12106
 
else
12107
 
  case $ac_pt_PKG_CONFIG in
12108
 
  [\\/]* | ?:[\\/]*)
12109
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12110
 
  ;;
12111
 
  *)
12112
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12113
 
for as_dir in $PATH
12114
 
do
12115
 
  IFS=$as_save_IFS
12116
 
  test -z "$as_dir" && as_dir=.
12117
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12118
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12119
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12120
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12121
 
    break 2
12122
 
  fi
12123
 
done
12124
 
done
12125
 
IFS=$as_save_IFS
12126
 
 
12127
 
  ;;
12128
 
esac
12129
 
fi
12130
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12131
 
if test -n "$ac_pt_PKG_CONFIG"; then
12132
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12133
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12134
 
else
12135
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12136
 
$as_echo "no" >&6; }
12137
 
fi
12138
 
 
12139
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12140
 
    PKG_CONFIG=""
12141
 
  else
12142
 
    case $cross_compiling:$ac_tool_warned in
12143
 
yes:)
12144
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12145
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12146
 
ac_tool_warned=yes ;;
12147
 
esac
12148
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12149
 
  fi
12150
 
else
12151
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12152
 
fi
12153
 
 
12154
 
fi
12155
 
if test -n "$PKG_CONFIG"; then
12156
 
        _pkg_min_version=0.9.0
12157
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12158
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12159
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12160
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
12161
 
$as_echo "yes" >&6; }
12162
 
        else
12163
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
12164
 
$as_echo "no" >&6; }
12165
 
                PKG_CONFIG=""
12166
 
        fi
12167
 
 
12168
 
fi
12169
 
 
12170
12284
pkg_failed=no
12171
 
{ $as_echo "$as_me:$LINENO: checking for ICE" >&5
 
12285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICE" >&5
12172
12286
$as_echo_n "checking for ICE... " >&6; }
12173
12287
 
12174
12288
if test -n "$ICE_CFLAGS"; then
12175
12289
    pkg_cv_ICE_CFLAGS="$ICE_CFLAGS"
12176
12290
 elif test -n "$PKG_CONFIG"; then
12177
12291
    if test -n "$PKG_CONFIG" && \
12178
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
 
12292
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
12179
12293
  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
12180
12294
  ac_status=$?
12181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182
 
  (exit $ac_status); }; then
 
12295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12296
  test $ac_status = 0; }; then
12183
12297
  pkg_cv_ICE_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
12184
12298
else
12185
12299
  pkg_failed=yes
12191
12305
    pkg_cv_ICE_LIBS="$ICE_LIBS"
12192
12306
 elif test -n "$PKG_CONFIG"; then
12193
12307
    if test -n "$PKG_CONFIG" && \
12194
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
 
12308
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
12195
12309
  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
12196
12310
  ac_status=$?
12197
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198
 
  (exit $ac_status); }; then
 
12311
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12312
  test $ac_status = 0; }; then
12199
12313
  pkg_cv_ICE_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
12200
12314
else
12201
12315
  pkg_failed=yes
12221
12335
        # Put the nasty error message in config.log where it belongs
12222
12336
        echo "$ICE_PKG_ERRORS" >&5
12223
12337
 
12224
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
12225
 
 
12226
 
$ICE_PKG_ERRORS
12227
 
 
12228
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12229
 
installed software in a non-standard prefix.
12230
 
 
12231
 
Alternatively, you may set the environment variables ICE_CFLAGS
12232
 
and ICE_LIBS to avoid the need to call pkg-config.
12233
 
See the pkg-config man page for more details.
12234
 
" >&5
12235
 
$as_echo "$as_me: error: Package requirements (xproto) were not met:
12236
 
 
12237
 
$ICE_PKG_ERRORS
12238
 
 
12239
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12240
 
installed software in a non-standard prefix.
12241
 
 
12242
 
Alternatively, you may set the environment variables ICE_CFLAGS
12243
 
and ICE_LIBS to avoid the need to call pkg-config.
12244
 
See the pkg-config man page for more details.
12245
 
" >&2;}
12246
 
   { (exit 1); exit 1; }; }
 
12338
        as_fn_error "Package requirements (xproto) were not met:
 
12339
 
 
12340
$ICE_PKG_ERRORS
 
12341
 
 
12342
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12343
installed software in a non-standard prefix.
 
12344
 
 
12345
Alternatively, you may set the environment variables ICE_CFLAGS
 
12346
and ICE_LIBS to avoid the need to call pkg-config.
 
12347
See the pkg-config man page for more details.
 
12348
" "$LINENO" 5
12247
12349
elif test $pkg_failed = untried; then
12248
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12350
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12249
12351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12250
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
12251
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12252
 
path to pkg-config.
12253
 
 
12254
 
Alternatively, you may set the environment variables ICE_CFLAGS
12255
 
and ICE_LIBS to avoid the need to call pkg-config.
12256
 
See the pkg-config man page for more details.
12257
 
 
12258
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12259
 
See \`config.log' for more details." >&5
12260
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
12261
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12262
 
path to pkg-config.
12263
 
 
12264
 
Alternatively, you may set the environment variables ICE_CFLAGS
12265
 
and ICE_LIBS to avoid the need to call pkg-config.
12266
 
See the pkg-config man page for more details.
12267
 
 
12268
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12269
 
See \`config.log' for more details." >&2;}
12270
 
   { (exit 1); exit 1; }; }; }
 
12352
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12353
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12354
path to pkg-config.
 
12355
 
 
12356
Alternatively, you may set the environment variables ICE_CFLAGS
 
12357
and ICE_LIBS to avoid the need to call pkg-config.
 
12358
See the pkg-config man page for more details.
 
12359
 
 
12360
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12361
See \`config.log' for more details." "$LINENO" 5; }
12271
12362
else
12272
12363
        ICE_CFLAGS=$pkg_cv_ICE_CFLAGS
12273
12364
        ICE_LIBS=$pkg_cv_ICE_LIBS
12274
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12365
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12275
12366
$as_echo "yes" >&6; }
12276
12367
        :
12277
12368
fi
12278
 
ICE_CFLAGS="$CWARNFLAGS $ICE_CFLAGS"
12279
 
 
12280
 
 
12281
12369
 
12282
12370
 
12283
12371
pkg_failed=no
12284
 
{ $as_echo "$as_me:$LINENO: checking for XTRANS" >&5
 
12372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTRANS" >&5
12285
12373
$as_echo_n "checking for XTRANS... " >&6; }
12286
12374
 
12287
12375
if test -n "$XTRANS_CFLAGS"; then
12288
12376
    pkg_cv_XTRANS_CFLAGS="$XTRANS_CFLAGS"
12289
12377
 elif test -n "$PKG_CONFIG"; then
12290
12378
    if test -n "$PKG_CONFIG" && \
12291
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtrans\"") >&5
 
12379
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtrans\""; } >&5
12292
12380
  ($PKG_CONFIG --exists --print-errors "xtrans") 2>&5
12293
12381
  ac_status=$?
12294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295
 
  (exit $ac_status); }; then
 
12382
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12383
  test $ac_status = 0; }; then
12296
12384
  pkg_cv_XTRANS_CFLAGS=`$PKG_CONFIG --cflags "xtrans" 2>/dev/null`
12297
12385
else
12298
12386
  pkg_failed=yes
12304
12392
    pkg_cv_XTRANS_LIBS="$XTRANS_LIBS"
12305
12393
 elif test -n "$PKG_CONFIG"; then
12306
12394
    if test -n "$PKG_CONFIG" && \
12307
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtrans\"") >&5
 
12395
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtrans\""; } >&5
12308
12396
  ($PKG_CONFIG --exists --print-errors "xtrans") 2>&5
12309
12397
  ac_status=$?
12310
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311
 
  (exit $ac_status); }; then
 
12398
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12399
  test $ac_status = 0; }; then
12312
12400
  pkg_cv_XTRANS_LIBS=`$PKG_CONFIG --libs "xtrans" 2>/dev/null`
12313
12401
else
12314
12402
  pkg_failed=yes
12334
12422
        # Put the nasty error message in config.log where it belongs
12335
12423
        echo "$XTRANS_PKG_ERRORS" >&5
12336
12424
 
12337
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xtrans) were not met:
12338
 
 
12339
 
$XTRANS_PKG_ERRORS
12340
 
 
12341
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12342
 
installed software in a non-standard prefix.
12343
 
 
12344
 
Alternatively, you may set the environment variables XTRANS_CFLAGS
12345
 
and XTRANS_LIBS to avoid the need to call pkg-config.
12346
 
See the pkg-config man page for more details.
12347
 
" >&5
12348
 
$as_echo "$as_me: error: Package requirements (xtrans) were not met:
12349
 
 
12350
 
$XTRANS_PKG_ERRORS
12351
 
 
12352
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12353
 
installed software in a non-standard prefix.
12354
 
 
12355
 
Alternatively, you may set the environment variables XTRANS_CFLAGS
12356
 
and XTRANS_LIBS to avoid the need to call pkg-config.
12357
 
See the pkg-config man page for more details.
12358
 
" >&2;}
12359
 
   { (exit 1); exit 1; }; }
 
12425
        as_fn_error "Package requirements (xtrans) were not met:
 
12426
 
 
12427
$XTRANS_PKG_ERRORS
 
12428
 
 
12429
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12430
installed software in a non-standard prefix.
 
12431
 
 
12432
Alternatively, you may set the environment variables XTRANS_CFLAGS
 
12433
and XTRANS_LIBS to avoid the need to call pkg-config.
 
12434
See the pkg-config man page for more details.
 
12435
" "$LINENO" 5
12360
12436
elif test $pkg_failed = untried; then
12361
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
12437
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12362
12438
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12363
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
12364
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12365
 
path to pkg-config.
12366
 
 
12367
 
Alternatively, you may set the environment variables XTRANS_CFLAGS
12368
 
and XTRANS_LIBS to avoid the need to call pkg-config.
12369
 
See the pkg-config man page for more details.
12370
 
 
12371
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12372
 
See \`config.log' for more details." >&5
12373
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
12374
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12375
 
path to pkg-config.
12376
 
 
12377
 
Alternatively, you may set the environment variables XTRANS_CFLAGS
12378
 
and XTRANS_LIBS to avoid the need to call pkg-config.
12379
 
See the pkg-config man page for more details.
12380
 
 
12381
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12382
 
See \`config.log' for more details." >&2;}
12383
 
   { (exit 1); exit 1; }; }; }
 
12439
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12440
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12441
path to pkg-config.
 
12442
 
 
12443
Alternatively, you may set the environment variables XTRANS_CFLAGS
 
12444
and XTRANS_LIBS to avoid the need to call pkg-config.
 
12445
See the pkg-config man page for more details.
 
12446
 
 
12447
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12448
See \`config.log' for more details." "$LINENO" 5; }
12384
12449
else
12385
12450
        XTRANS_CFLAGS=$pkg_cv_XTRANS_CFLAGS
12386
12451
        XTRANS_LIBS=$pkg_cv_XTRANS_LIBS
12387
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12452
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12388
12453
$as_echo "yes" >&6; }
12389
12454
        :
12390
12455
fi
12392
12457
 
12393
12458
 
12394
12459
# Transport selection macro from xtrans.m4
12395
 
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
12460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12396
12461
$as_echo_n "checking return type of signal handlers... " >&6; }
12397
 
if test "${ac_cv_type_signal+set}" = set; then
 
12462
if test "${ac_cv_type_signal+set}" = set; then :
12398
12463
  $as_echo_n "(cached) " >&6
12399
12464
else
12400
 
  cat >conftest.$ac_ext <<_ACEOF
12401
 
/* confdefs.h.  */
12402
 
_ACEOF
12403
 
cat confdefs.h >>conftest.$ac_ext
12404
 
cat >>conftest.$ac_ext <<_ACEOF
 
12465
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405
12466
/* end confdefs.h.  */
12406
12467
#include <sys/types.h>
12407
12468
#include <signal.h>
12414
12475
  return 0;
12415
12476
}
12416
12477
_ACEOF
12417
 
rm -f conftest.$ac_objext
12418
 
if { (ac_try="$ac_compile"
12419
 
case "(($ac_try" in
12420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12421
 
  *) ac_try_echo=$ac_try;;
12422
 
esac
12423
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12424
 
$as_echo "$ac_try_echo") >&5
12425
 
  (eval "$ac_compile") 2>conftest.er1
12426
 
  ac_status=$?
12427
 
  grep -v '^ *+' conftest.er1 >conftest.err
12428
 
  rm -f conftest.er1
12429
 
  cat conftest.err >&5
12430
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431
 
  (exit $ac_status); } && {
12432
 
         test -z "$ac_c_werror_flag" ||
12433
 
         test ! -s conftest.err
12434
 
       } && test -s conftest.$ac_objext; then
 
12478
if ac_fn_c_try_compile "$LINENO"; then :
12435
12479
  ac_cv_type_signal=int
12436
12480
else
12437
 
  $as_echo "$as_me: failed program was:" >&5
12438
 
sed 's/^/| /' conftest.$ac_ext >&5
12439
 
 
12440
 
        ac_cv_type_signal=void
 
12481
  ac_cv_type_signal=void
12441
12482
fi
12442
 
 
12443
12483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444
12484
fi
12445
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
12485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12446
12486
$as_echo "$ac_cv_type_signal" >&6; }
12447
12487
 
12448
12488
cat >>confdefs.h <<_ACEOF
12458
12498
        *)      unixdef="yes"  ;;
12459
12499
 esac
12460
12500
 # Check whether --enable-unix-transport was given.
12461
 
if test "${enable_unix_transport+set}" = set; then
 
12501
if test "${enable_unix_transport+set}" = set; then :
12462
12502
  enableval=$enable_unix_transport; UNIXCONN=$enableval
12463
12503
else
12464
12504
  UNIXCONN=$unixdef
12465
12505
fi
12466
12506
 
12467
 
 { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
 
12507
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
12468
12508
$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
12469
12509
 if test "$UNIXCONN" = "yes"; then
12470
12510
 
12471
 
cat >>confdefs.h <<\_ACEOF
12472
 
#define UNIXCONN 1
12473
 
_ACEOF
 
12511
$as_echo "#define UNIXCONN 1" >>confdefs.h
12474
12512
 
12475
12513
 fi
12476
 
 { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5
 
12514
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
12477
12515
$as_echo "$UNIXCONN" >&6; }
12478
12516
 # Check whether --enable-tcp-transport was given.
12479
 
if test "${enable_tcp_transport+set}" = set; then
 
12517
if test "${enable_tcp_transport+set}" = set; then :
12480
12518
  enableval=$enable_tcp_transport; TCPCONN=$enableval
12481
12519
else
12482
12520
  TCPCONN=yes
12483
12521
fi
12484
12522
 
12485
 
 { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
 
12523
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
12486
12524
$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
12487
 
 { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5
 
12525
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
12488
12526
$as_echo "$TCPCONN" >&6; }
12489
12527
 if test "$TCPCONN" = "yes"; then
12490
12528
 
12491
 
cat >>confdefs.h <<\_ACEOF
12492
 
#define TCPCONN 1
12493
 
_ACEOF
 
12529
$as_echo "#define TCPCONN 1" >>confdefs.h
12494
12530
 
12495
12531
 
12496
12532
 # SVR4 hides these in libraries other than libc
12497
 
 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
 
12533
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12498
12534
$as_echo_n "checking for library containing socket... " >&6; }
12499
 
if test "${ac_cv_search_socket+set}" = set; then
 
12535
if test "${ac_cv_search_socket+set}" = set; then :
12500
12536
  $as_echo_n "(cached) " >&6
12501
12537
else
12502
12538
  ac_func_search_save_LIBS=$LIBS
12503
 
cat >conftest.$ac_ext <<_ACEOF
12504
 
/* confdefs.h.  */
12505
 
_ACEOF
12506
 
cat confdefs.h >>conftest.$ac_ext
12507
 
cat >>conftest.$ac_ext <<_ACEOF
 
12539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508
12540
/* end confdefs.h.  */
12509
12541
 
12510
12542
/* Override any GCC internal prototype to avoid an error.
12529
12561
    ac_res=-l$ac_lib
12530
12562
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12531
12563
  fi
12532
 
  rm -f conftest.$ac_objext conftest$ac_exeext
12533
 
if { (ac_try="$ac_link"
12534
 
case "(($ac_try" in
12535
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12536
 
  *) ac_try_echo=$ac_try;;
12537
 
esac
12538
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12539
 
$as_echo "$ac_try_echo") >&5
12540
 
  (eval "$ac_link") 2>conftest.er1
12541
 
  ac_status=$?
12542
 
  grep -v '^ *+' conftest.er1 >conftest.err
12543
 
  rm -f conftest.er1
12544
 
  cat conftest.err >&5
12545
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546
 
  (exit $ac_status); } && {
12547
 
         test -z "$ac_c_werror_flag" ||
12548
 
         test ! -s conftest.err
12549
 
       } && test -s conftest$ac_exeext && {
12550
 
         test "$cross_compiling" = yes ||
12551
 
         $as_test_x conftest$ac_exeext
12552
 
       }; then
 
12564
  if ac_fn_c_try_link "$LINENO"; then :
12553
12565
  ac_cv_search_socket=$ac_res
12554
 
else
12555
 
  $as_echo "$as_me: failed program was:" >&5
12556
 
sed 's/^/| /' conftest.$ac_ext >&5
12557
 
 
12558
 
 
12559
12566
fi
12560
 
 
12561
 
rm -rf conftest.dSYM
12562
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12563
 
      conftest$ac_exeext
12564
 
  if test "${ac_cv_search_socket+set}" = set; then
 
12567
rm -f core conftest.err conftest.$ac_objext \
 
12568
    conftest$ac_exeext
 
12569
  if test "${ac_cv_search_socket+set}" = set; then :
12565
12570
  break
12566
12571
fi
12567
12572
done
12568
 
if test "${ac_cv_search_socket+set}" = set; then
12569
 
  :
 
12573
if test "${ac_cv_search_socket+set}" = set; then :
 
12574
 
12570
12575
else
12571
12576
  ac_cv_search_socket=no
12572
12577
fi
12573
12578
rm conftest.$ac_ext
12574
12579
LIBS=$ac_func_search_save_LIBS
12575
12580
fi
12576
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 
12581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12577
12582
$as_echo "$ac_cv_search_socket" >&6; }
12578
12583
ac_res=$ac_cv_search_socket
12579
 
if test "$ac_res" != no; then
 
12584
if test "$ac_res" != no; then :
12580
12585
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12581
12586
 
12582
12587
fi
12583
12588
 
12584
 
 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 
12589
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12585
12590
$as_echo_n "checking for library containing gethostbyname... " >&6; }
12586
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
 
12591
if test "${ac_cv_search_gethostbyname+set}" = set; then :
12587
12592
  $as_echo_n "(cached) " >&6
12588
12593
else
12589
12594
  ac_func_search_save_LIBS=$LIBS
12590
 
cat >conftest.$ac_ext <<_ACEOF
12591
 
/* confdefs.h.  */
12592
 
_ACEOF
12593
 
cat confdefs.h >>conftest.$ac_ext
12594
 
cat >>conftest.$ac_ext <<_ACEOF
 
12595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595
12596
/* end confdefs.h.  */
12596
12597
 
12597
12598
/* Override any GCC internal prototype to avoid an error.
12616
12617
    ac_res=-l$ac_lib
12617
12618
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12618
12619
  fi
12619
 
  rm -f conftest.$ac_objext conftest$ac_exeext
12620
 
if { (ac_try="$ac_link"
12621
 
case "(($ac_try" in
12622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12623
 
  *) ac_try_echo=$ac_try;;
12624
 
esac
12625
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12626
 
$as_echo "$ac_try_echo") >&5
12627
 
  (eval "$ac_link") 2>conftest.er1
12628
 
  ac_status=$?
12629
 
  grep -v '^ *+' conftest.er1 >conftest.err
12630
 
  rm -f conftest.er1
12631
 
  cat conftest.err >&5
12632
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633
 
  (exit $ac_status); } && {
12634
 
         test -z "$ac_c_werror_flag" ||
12635
 
         test ! -s conftest.err
12636
 
       } && test -s conftest$ac_exeext && {
12637
 
         test "$cross_compiling" = yes ||
12638
 
         $as_test_x conftest$ac_exeext
12639
 
       }; then
 
12620
  if ac_fn_c_try_link "$LINENO"; then :
12640
12621
  ac_cv_search_gethostbyname=$ac_res
12641
 
else
12642
 
  $as_echo "$as_me: failed program was:" >&5
12643
 
sed 's/^/| /' conftest.$ac_ext >&5
12644
 
 
12645
 
 
12646
12622
fi
12647
 
 
12648
 
rm -rf conftest.dSYM
12649
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12650
 
      conftest$ac_exeext
12651
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then
 
12623
rm -f core conftest.err conftest.$ac_objext \
 
12624
    conftest$ac_exeext
 
12625
  if test "${ac_cv_search_gethostbyname+set}" = set; then :
12652
12626
  break
12653
12627
fi
12654
12628
done
12655
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
12656
 
  :
 
12629
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
12630
 
12657
12631
else
12658
12632
  ac_cv_search_gethostbyname=no
12659
12633
fi
12660
12634
rm conftest.$ac_ext
12661
12635
LIBS=$ac_func_search_save_LIBS
12662
12636
fi
12663
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 
12637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12664
12638
$as_echo "$ac_cv_search_gethostbyname" >&6; }
12665
12639
ac_res=$ac_cv_search_gethostbyname
12666
 
if test "$ac_res" != no; then
 
12640
if test "$ac_res" != no; then :
12667
12641
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12668
12642
 
12669
12643
fi
12670
12644
 
12671
12645
 
12672
 
{ $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
12673
 
$as_echo_n "checking for main in -lws2_32... " >&6; }
12674
 
if test "${ac_cv_lib_ws2_32_main+set}" = set; then
12675
 
  $as_echo_n "(cached) " >&6
12676
 
else
12677
 
  ac_check_lib_save_LIBS=$LIBS
12678
 
LIBS="-lws2_32  $LIBS"
12679
 
cat >conftest.$ac_ext <<_ACEOF
12680
 
/* confdefs.h.  */
12681
 
_ACEOF
12682
 
cat confdefs.h >>conftest.$ac_ext
12683
 
cat >>conftest.$ac_ext <<_ACEOF
12684
 
/* end confdefs.h.  */
12685
 
 
12686
 
 
12687
 
int
12688
 
main ()
12689
 
{
12690
 
return main ();
12691
 
  ;
12692
 
  return 0;
12693
 
}
12694
 
_ACEOF
12695
 
rm -f conftest.$ac_objext conftest$ac_exeext
12696
 
if { (ac_try="$ac_link"
12697
 
case "(($ac_try" in
12698
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12699
 
  *) ac_try_echo=$ac_try;;
12700
 
esac
12701
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12702
 
$as_echo "$ac_try_echo") >&5
12703
 
  (eval "$ac_link") 2>conftest.er1
12704
 
  ac_status=$?
12705
 
  grep -v '^ *+' conftest.er1 >conftest.err
12706
 
  rm -f conftest.er1
12707
 
  cat conftest.err >&5
12708
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709
 
  (exit $ac_status); } && {
12710
 
         test -z "$ac_c_werror_flag" ||
12711
 
         test ! -s conftest.err
12712
 
       } && test -s conftest$ac_exeext && {
12713
 
         test "$cross_compiling" = yes ||
12714
 
         $as_test_x conftest$ac_exeext
12715
 
       }; then
12716
 
  ac_cv_lib_ws2_32_main=yes
12717
 
else
12718
 
  $as_echo "$as_me: failed program was:" >&5
12719
 
sed 's/^/| /' conftest.$ac_ext >&5
12720
 
 
12721
 
        ac_cv_lib_ws2_32_main=no
12722
 
fi
12723
 
 
12724
 
rm -rf conftest.dSYM
12725
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12726
 
      conftest$ac_exeext conftest.$ac_ext
12727
 
LIBS=$ac_check_lib_save_LIBS
12728
 
fi
12729
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
12730
 
$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
12731
 
if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
12732
 
  cat >>confdefs.h <<_ACEOF
12733
 
#define HAVE_LIBWS2_32 1
12734
 
_ACEOF
12735
 
 
12736
 
  LIBS="-lws2_32 $LIBS"
12737
 
 
12738
 
fi
12739
 
ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
12740
 
 
12741
 
 
12742
12646
 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
12743
12647
 # Check whether --enable-ipv6 was given.
12744
 
if test "${enable_ipv6+set}" = set; then
 
12648
if test "${enable_ipv6+set}" = set; then :
12745
12649
  enableval=$enable_ipv6; IPV6CONN=$enableval
12746
12650
else
12747
 
  { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
12748
 
$as_echo_n "checking for getaddrinfo... " >&6; }
12749
 
if test "${ac_cv_func_getaddrinfo+set}" = set; then
12750
 
  $as_echo_n "(cached) " >&6
12751
 
else
12752
 
  cat >conftest.$ac_ext <<_ACEOF
12753
 
/* confdefs.h.  */
12754
 
_ACEOF
12755
 
cat confdefs.h >>conftest.$ac_ext
12756
 
cat >>conftest.$ac_ext <<_ACEOF
12757
 
/* end confdefs.h.  */
12758
 
/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
12759
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12760
 
#define getaddrinfo innocuous_getaddrinfo
12761
 
 
12762
 
/* System header to define __stub macros and hopefully few prototypes,
12763
 
    which can conflict with char getaddrinfo (); below.
12764
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12765
 
    <limits.h> exists even on freestanding compilers.  */
12766
 
 
12767
 
#ifdef __STDC__
12768
 
# include <limits.h>
12769
 
#else
12770
 
# include <assert.h>
12771
 
#endif
12772
 
 
12773
 
#undef getaddrinfo
12774
 
 
12775
 
/* Override any GCC internal prototype to avoid an error.
12776
 
   Use char because int might match the return type of a GCC
12777
 
   builtin and then its argument prototype would still apply.  */
12778
 
#ifdef __cplusplus
12779
 
extern "C"
12780
 
#endif
12781
 
char getaddrinfo ();
12782
 
/* The GNU C library defines this for functions which it implements
12783
 
    to always fail with ENOSYS.  Some functions are actually named
12784
 
    something starting with __ and the normal name is an alias.  */
12785
 
#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
12786
 
choke me
12787
 
#endif
12788
 
 
12789
 
int
12790
 
main ()
12791
 
{
12792
 
return getaddrinfo ();
12793
 
  ;
12794
 
  return 0;
12795
 
}
12796
 
_ACEOF
12797
 
rm -f conftest.$ac_objext conftest$ac_exeext
12798
 
if { (ac_try="$ac_link"
12799
 
case "(($ac_try" in
12800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12801
 
  *) ac_try_echo=$ac_try;;
12802
 
esac
12803
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12804
 
$as_echo "$ac_try_echo") >&5
12805
 
  (eval "$ac_link") 2>conftest.er1
12806
 
  ac_status=$?
12807
 
  grep -v '^ *+' conftest.er1 >conftest.err
12808
 
  rm -f conftest.er1
12809
 
  cat conftest.err >&5
12810
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811
 
  (exit $ac_status); } && {
12812
 
         test -z "$ac_c_werror_flag" ||
12813
 
         test ! -s conftest.err
12814
 
       } && test -s conftest$ac_exeext && {
12815
 
         test "$cross_compiling" = yes ||
12816
 
         $as_test_x conftest$ac_exeext
12817
 
       }; then
12818
 
  ac_cv_func_getaddrinfo=yes
12819
 
else
12820
 
  $as_echo "$as_me: failed program was:" >&5
12821
 
sed 's/^/| /' conftest.$ac_ext >&5
12822
 
 
12823
 
        ac_cv_func_getaddrinfo=no
12824
 
fi
12825
 
 
12826
 
rm -rf conftest.dSYM
12827
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12828
 
      conftest$ac_exeext conftest.$ac_ext
12829
 
fi
12830
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
12831
 
$as_echo "$ac_cv_func_getaddrinfo" >&6; }
12832
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then
 
12651
  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
 
12652
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
12833
12653
  IPV6CONN=yes
12834
12654
else
12835
12655
  IPV6CONN=no
12837
12657
 
12838
12658
fi
12839
12659
 
12840
 
 { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
 
12660
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
12841
12661
$as_echo_n "checking if IPv6 support should be built... " >&6; }
12842
12662
 if test "$IPV6CONN" = "yes"; then
12843
12663
 
12844
 
cat >>confdefs.h <<\_ACEOF
12845
 
#define IPv6 1
12846
 
_ACEOF
 
12664
$as_echo "#define IPv6 1" >>confdefs.h
12847
12665
 
12848
12666
 fi
12849
 
 { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5
 
12667
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
12850
12668
$as_echo "$IPV6CONN" >&6; }
12851
12669
 
12852
12670
 # 4.3BSD-Reno added a new member to struct sockaddr_in
12853
 
 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
12854
 
$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
12855
 
if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
12856
 
  $as_echo_n "(cached) " >&6
12857
 
else
12858
 
  cat >conftest.$ac_ext <<_ACEOF
12859
 
/* confdefs.h.  */
12860
 
_ACEOF
12861
 
cat confdefs.h >>conftest.$ac_ext
12862
 
cat >>conftest.$ac_ext <<_ACEOF
12863
 
/* end confdefs.h.  */
12864
 
 
12865
 
#include <sys/types.h>
12866
 
#include <sys/socket.h>
12867
 
#include <netinet/in.h>
12868
 
 
12869
 
 
12870
 
int
12871
 
main ()
12872
 
{
12873
 
static struct sockaddr_in ac_aggr;
12874
 
if (ac_aggr.sin_len)
12875
 
return 0;
12876
 
  ;
12877
 
  return 0;
12878
 
}
12879
 
_ACEOF
12880
 
rm -f conftest.$ac_objext
12881
 
if { (ac_try="$ac_compile"
12882
 
case "(($ac_try" in
12883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12884
 
  *) ac_try_echo=$ac_try;;
12885
 
esac
12886
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12887
 
$as_echo "$ac_try_echo") >&5
12888
 
  (eval "$ac_compile") 2>conftest.er1
12889
 
  ac_status=$?
12890
 
  grep -v '^ *+' conftest.er1 >conftest.err
12891
 
  rm -f conftest.er1
12892
 
  cat conftest.err >&5
12893
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894
 
  (exit $ac_status); } && {
12895
 
         test -z "$ac_c_werror_flag" ||
12896
 
         test ! -s conftest.err
12897
 
       } && test -s conftest.$ac_objext; then
12898
 
  ac_cv_member_struct_sockaddr_in_sin_len=yes
12899
 
else
12900
 
  $as_echo "$as_me: failed program was:" >&5
12901
 
sed 's/^/| /' conftest.$ac_ext >&5
12902
 
 
12903
 
        cat >conftest.$ac_ext <<_ACEOF
12904
 
/* confdefs.h.  */
12905
 
_ACEOF
12906
 
cat confdefs.h >>conftest.$ac_ext
12907
 
cat >>conftest.$ac_ext <<_ACEOF
12908
 
/* end confdefs.h.  */
12909
 
 
12910
 
#include <sys/types.h>
12911
 
#include <sys/socket.h>
12912
 
#include <netinet/in.h>
12913
 
 
12914
 
 
12915
 
int
12916
 
main ()
12917
 
{
12918
 
static struct sockaddr_in ac_aggr;
12919
 
if (sizeof ac_aggr.sin_len)
12920
 
return 0;
12921
 
  ;
12922
 
  return 0;
12923
 
}
12924
 
_ACEOF
12925
 
rm -f conftest.$ac_objext
12926
 
if { (ac_try="$ac_compile"
12927
 
case "(($ac_try" in
12928
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929
 
  *) ac_try_echo=$ac_try;;
12930
 
esac
12931
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12932
 
$as_echo "$ac_try_echo") >&5
12933
 
  (eval "$ac_compile") 2>conftest.er1
12934
 
  ac_status=$?
12935
 
  grep -v '^ *+' conftest.er1 >conftest.err
12936
 
  rm -f conftest.er1
12937
 
  cat conftest.err >&5
12938
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939
 
  (exit $ac_status); } && {
12940
 
         test -z "$ac_c_werror_flag" ||
12941
 
         test ! -s conftest.err
12942
 
       } && test -s conftest.$ac_objext; then
12943
 
  ac_cv_member_struct_sockaddr_in_sin_len=yes
12944
 
else
12945
 
  $as_echo "$as_me: failed program was:" >&5
12946
 
sed 's/^/| /' conftest.$ac_ext >&5
12947
 
 
12948
 
        ac_cv_member_struct_sockaddr_in_sin_len=no
12949
 
fi
12950
 
 
12951
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12952
 
fi
12953
 
 
12954
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12955
 
fi
12956
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
12957
 
$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
12958
 
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
12959
 
 
12960
 
cat >>confdefs.h <<\_ACEOF
12961
 
#define BSD44SOCKETS 1
12962
 
_ACEOF
 
12671
 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
 
12672
#include <sys/types.h>
 
12673
#include <sys/socket.h>
 
12674
#include <netinet/in.h>
 
12675
 
 
12676
"
 
12677
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
 
12678
 
 
12679
$as_echo "#define BSD44SOCKETS 1" >>confdefs.h
12963
12680
 
12964
12681
fi
12965
12682
 
12966
12683
 
12967
12684
 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
12968
 
 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
12969
 
$as_echo_n "checking for socklen_t... " >&6; }
12970
 
if test "${ac_cv_type_socklen_t+set}" = set; then
12971
 
  $as_echo_n "(cached) " >&6
12972
 
else
12973
 
  ac_cv_type_socklen_t=no
12974
 
cat >conftest.$ac_ext <<_ACEOF
12975
 
/* confdefs.h.  */
12976
 
_ACEOF
12977
 
cat confdefs.h >>conftest.$ac_ext
12978
 
cat >>conftest.$ac_ext <<_ACEOF
12979
 
/* end confdefs.h.  */
12980
 
 
12981
 
$ac_includes_default
12982
 
#include <sys/socket.h>
12983
 
 
12984
 
int
12985
 
main ()
12986
 
{
12987
 
if (sizeof (socklen_t))
12988
 
       return 0;
12989
 
  ;
12990
 
  return 0;
12991
 
}
12992
 
_ACEOF
12993
 
rm -f conftest.$ac_objext
12994
 
if { (ac_try="$ac_compile"
12995
 
case "(($ac_try" in
12996
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12997
 
  *) ac_try_echo=$ac_try;;
12998
 
esac
12999
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13000
 
$as_echo "$ac_try_echo") >&5
13001
 
  (eval "$ac_compile") 2>conftest.er1
13002
 
  ac_status=$?
13003
 
  grep -v '^ *+' conftest.er1 >conftest.err
13004
 
  rm -f conftest.er1
13005
 
  cat conftest.err >&5
13006
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007
 
  (exit $ac_status); } && {
13008
 
         test -z "$ac_c_werror_flag" ||
13009
 
         test ! -s conftest.err
13010
 
       } && test -s conftest.$ac_objext; then
13011
 
  cat >conftest.$ac_ext <<_ACEOF
13012
 
/* confdefs.h.  */
13013
 
_ACEOF
13014
 
cat confdefs.h >>conftest.$ac_ext
13015
 
cat >>conftest.$ac_ext <<_ACEOF
13016
 
/* end confdefs.h.  */
13017
 
 
13018
 
$ac_includes_default
13019
 
#include <sys/socket.h>
13020
 
 
13021
 
int
13022
 
main ()
13023
 
{
13024
 
if (sizeof ((socklen_t)))
13025
 
          return 0;
13026
 
  ;
13027
 
  return 0;
13028
 
}
13029
 
_ACEOF
13030
 
rm -f conftest.$ac_objext
13031
 
if { (ac_try="$ac_compile"
13032
 
case "(($ac_try" in
13033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13034
 
  *) ac_try_echo=$ac_try;;
13035
 
esac
13036
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13037
 
$as_echo "$ac_try_echo") >&5
13038
 
  (eval "$ac_compile") 2>conftest.er1
13039
 
  ac_status=$?
13040
 
  grep -v '^ *+' conftest.er1 >conftest.err
13041
 
  rm -f conftest.er1
13042
 
  cat conftest.err >&5
13043
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044
 
  (exit $ac_status); } && {
13045
 
         test -z "$ac_c_werror_flag" ||
13046
 
         test ! -s conftest.err
13047
 
       } && test -s conftest.$ac_objext; then
13048
 
  :
13049
 
else
13050
 
  $as_echo "$as_me: failed program was:" >&5
13051
 
sed 's/^/| /' conftest.$ac_ext >&5
13052
 
 
13053
 
        ac_cv_type_socklen_t=yes
13054
 
fi
13055
 
 
13056
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13057
 
else
13058
 
  $as_echo "$as_me: failed program was:" >&5
13059
 
sed 's/^/| /' conftest.$ac_ext >&5
13060
 
 
13061
 
 
13062
 
fi
13063
 
 
13064
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13065
 
fi
13066
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13067
 
$as_echo "$ac_cv_type_socklen_t" >&6; }
13068
 
if test "x$ac_cv_type_socklen_t" = x""yes; then
 
12685
 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
 
12686
$ac_includes_default
 
12687
#include <sys/socket.h>
 
12688
"
 
12689
if test "x$ac_cv_type_socklen_t" = x""yes; then :
13069
12690
 
13070
12691
cat >>confdefs.h <<_ACEOF
13071
12692
#define HAVE_SOCKLEN_T 1
13082
12703
        *)                      localdef="no"  ;;
13083
12704
 esac
13084
12705
 # Check whether --enable-local-transport was given.
13085
 
if test "${enable_local_transport+set}" = set; then
 
12706
if test "${enable_local_transport+set}" = set; then :
13086
12707
  enableval=$enable_local_transport; LOCALCONN=$enableval
13087
12708
else
13088
12709
  LOCALCONN=$localdef
13089
12710
fi
13090
12711
 
13091
 
 { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
 
12712
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
13092
12713
$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
13093
 
 { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5
 
12714
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
13094
12715
$as_echo "$LOCALCONN" >&6; }
13095
12716
 if test "$LOCALCONN" = "yes"; then
13096
12717
 
13097
 
cat >>confdefs.h <<\_ACEOF
13098
 
#define LOCALCONN 1
13099
 
_ACEOF
 
12718
$as_echo "#define LOCALCONN 1" >>confdefs.h
13100
12719
 
13101
12720
 fi
13102
12721
 
13103
12722
 
13104
12723
 
13105
 
cat >>confdefs.h <<\_ACEOF
13106
 
#define ICE_t 1
13107
 
_ACEOF
 
12724
$as_echo "#define ICE_t 1" >>confdefs.h
13108
12725
 
13109
12726
 
13110
12727
# Checks for libraries.
13111
12728
 
13112
12729
# Checks for header files.
13113
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13114
12731
$as_echo_n "checking for ANSI C header files... " >&6; }
13115
 
if test "${ac_cv_header_stdc+set}" = set; then
 
12732
if test "${ac_cv_header_stdc+set}" = set; then :
13116
12733
  $as_echo_n "(cached) " >&6
13117
12734
else
13118
 
  cat >conftest.$ac_ext <<_ACEOF
13119
 
/* confdefs.h.  */
13120
 
_ACEOF
13121
 
cat confdefs.h >>conftest.$ac_ext
13122
 
cat >>conftest.$ac_ext <<_ACEOF
 
12735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123
12736
/* end confdefs.h.  */
13124
12737
#include <stdlib.h>
13125
12738
#include <stdarg.h>
13134
12747
  return 0;
13135
12748
}
13136
12749
_ACEOF
13137
 
rm -f conftest.$ac_objext
13138
 
if { (ac_try="$ac_compile"
13139
 
case "(($ac_try" in
13140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13141
 
  *) ac_try_echo=$ac_try;;
13142
 
esac
13143
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13144
 
$as_echo "$ac_try_echo") >&5
13145
 
  (eval "$ac_compile") 2>conftest.er1
13146
 
  ac_status=$?
13147
 
  grep -v '^ *+' conftest.er1 >conftest.err
13148
 
  rm -f conftest.er1
13149
 
  cat conftest.err >&5
13150
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151
 
  (exit $ac_status); } && {
13152
 
         test -z "$ac_c_werror_flag" ||
13153
 
         test ! -s conftest.err
13154
 
       } && test -s conftest.$ac_objext; then
 
12750
if ac_fn_c_try_compile "$LINENO"; then :
13155
12751
  ac_cv_header_stdc=yes
13156
12752
else
13157
 
  $as_echo "$as_me: failed program was:" >&5
13158
 
sed 's/^/| /' conftest.$ac_ext >&5
13159
 
 
13160
 
        ac_cv_header_stdc=no
 
12753
  ac_cv_header_stdc=no
13161
12754
fi
13162
 
 
13163
12755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13164
12756
 
13165
12757
if test $ac_cv_header_stdc = yes; then
13166
12758
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13167
 
  cat >conftest.$ac_ext <<_ACEOF
13168
 
/* confdefs.h.  */
13169
 
_ACEOF
13170
 
cat confdefs.h >>conftest.$ac_ext
13171
 
cat >>conftest.$ac_ext <<_ACEOF
 
12759
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172
12760
/* end confdefs.h.  */
13173
12761
#include <string.h>
13174
12762
 
13175
12763
_ACEOF
13176
12764
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13177
 
  $EGREP "memchr" >/dev/null 2>&1; then
13178
 
  :
 
12765
  $EGREP "memchr" >/dev/null 2>&1; then :
 
12766
 
13179
12767
else
13180
12768
  ac_cv_header_stdc=no
13181
12769
fi
13185
12773
 
13186
12774
if test $ac_cv_header_stdc = yes; then
13187
12775
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13188
 
  cat >conftest.$ac_ext <<_ACEOF
13189
 
/* confdefs.h.  */
13190
 
_ACEOF
13191
 
cat confdefs.h >>conftest.$ac_ext
13192
 
cat >>conftest.$ac_ext <<_ACEOF
 
12776
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193
12777
/* end confdefs.h.  */
13194
12778
#include <stdlib.h>
13195
12779
 
13196
12780
_ACEOF
13197
12781
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13198
 
  $EGREP "free" >/dev/null 2>&1; then
13199
 
  :
 
12782
  $EGREP "free" >/dev/null 2>&1; then :
 
12783
 
13200
12784
else
13201
12785
  ac_cv_header_stdc=no
13202
12786
fi
13206
12790
 
13207
12791
if test $ac_cv_header_stdc = yes; then
13208
12792
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13209
 
  if test "$cross_compiling" = yes; then
 
12793
  if test "$cross_compiling" = yes; then :
13210
12794
  :
13211
12795
else
13212
 
  cat >conftest.$ac_ext <<_ACEOF
13213
 
/* confdefs.h.  */
13214
 
_ACEOF
13215
 
cat confdefs.h >>conftest.$ac_ext
13216
 
cat >>conftest.$ac_ext <<_ACEOF
 
12796
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217
12797
/* end confdefs.h.  */
13218
12798
#include <ctype.h>
13219
12799
#include <stdlib.h>
13240
12820
  return 0;
13241
12821
}
13242
12822
_ACEOF
13243
 
rm -f conftest$ac_exeext
13244
 
if { (ac_try="$ac_link"
13245
 
case "(($ac_try" in
13246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13247
 
  *) ac_try_echo=$ac_try;;
13248
 
esac
13249
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13250
 
$as_echo "$ac_try_echo") >&5
13251
 
  (eval "$ac_link") 2>&5
13252
 
  ac_status=$?
13253
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13255
 
  { (case "(($ac_try" in
13256
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13257
 
  *) ac_try_echo=$ac_try;;
13258
 
esac
13259
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13260
 
$as_echo "$ac_try_echo") >&5
13261
 
  (eval "$ac_try") 2>&5
13262
 
  ac_status=$?
13263
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264
 
  (exit $ac_status); }; }; then
13265
 
  :
 
12823
if ac_fn_c_try_run "$LINENO"; then :
 
12824
 
13266
12825
else
13267
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
13268
 
$as_echo "$as_me: failed program was:" >&5
13269
 
sed 's/^/| /' conftest.$ac_ext >&5
13270
 
 
13271
 
( exit $ac_status )
13272
 
ac_cv_header_stdc=no
13273
 
fi
13274
 
rm -rf conftest.dSYM
13275
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13276
 
fi
13277
 
 
13278
 
 
13279
 
fi
13280
 
fi
13281
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12826
  ac_cv_header_stdc=no
 
12827
fi
 
12828
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12829
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12830
fi
 
12831
 
 
12832
fi
 
12833
fi
 
12834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13282
12835
$as_echo "$ac_cv_header_stdc" >&6; }
13283
12836
if test $ac_cv_header_stdc = yes; then
13284
12837
 
13285
 
cat >>confdefs.h <<\_ACEOF
13286
 
#define STDC_HEADERS 1
13287
 
_ACEOF
 
12838
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13288
12839
 
13289
12840
fi
13290
12841
 
13291
12842
 
13292
12843
 
13293
12844
 
13294
 
# Allow checking code with lint, sparse, etc.
 
12845
 
 
12846
 
13295
12847
 
13296
12848
# Check whether --with-lint was given.
13297
 
if test "${with_lint+set}" = set; then
 
12849
if test "${with_lint+set}" = set; then :
13298
12850
  withval=$with_lint; use_lint=$withval
13299
12851
else
13300
12852
  use_lint=no
13301
12853
fi
13302
12854
 
13303
 
if test "x$use_lint" = "xyes" ; then
13304
 
        LINT="lint"
13305
 
else
13306
 
        LINT="$use_lint"
13307
 
fi
13308
 
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
13309
 
    case $LINT in
13310
 
        lint|*/lint)
13311
 
            case $host_os in
13312
 
                solaris*)
13313
 
                        LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
13314
 
                        ;;
13315
 
            esac
13316
 
            ;;
13317
 
    esac
13318
 
fi
13319
 
 
13320
 
 
13321
 
 
13322
 
 if test x$LINT != xno; then
 
12855
 
 
12856
# Obtain platform specific info like program name and options
 
12857
# The lint program on FreeBSD and NetBSD is different from the one on Solaris
 
12858
case $host_os in
 
12859
  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
 
12860
        lint_name=splint
 
12861
        lint_options="-badflag"
 
12862
        ;;
 
12863
  *freebsd* | *netbsd*)
 
12864
        lint_name=lint
 
12865
        lint_options="-u -b"
 
12866
        ;;
 
12867
  *solaris*)
 
12868
        lint_name=lint
 
12869
        lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
 
12870
        ;;
 
12871
esac
 
12872
 
 
12873
# Test for the presence of the program (either guessed by the code or spelled out by the user)
 
12874
if test "x$use_lint" = x"yes" ; then
 
12875
   # Extract the first word of "$lint_name", so it can be a program name with args.
 
12876
set dummy $lint_name; ac_word=$2
 
12877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12878
$as_echo_n "checking for $ac_word... " >&6; }
 
12879
if test "${ac_cv_path_LINT+set}" = set; then :
 
12880
  $as_echo_n "(cached) " >&6
 
12881
else
 
12882
  case $LINT in
 
12883
  [\\/]* | ?:[\\/]*)
 
12884
  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
 
12885
  ;;
 
12886
  *)
 
12887
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12888
for as_dir in $PATH
 
12889
do
 
12890
  IFS=$as_save_IFS
 
12891
  test -z "$as_dir" && as_dir=.
 
12892
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12894
    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
 
12895
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12896
    break 2
 
12897
  fi
 
12898
done
 
12899
  done
 
12900
IFS=$as_save_IFS
 
12901
 
 
12902
  ;;
 
12903
esac
 
12904
fi
 
12905
LINT=$ac_cv_path_LINT
 
12906
if test -n "$LINT"; then
 
12907
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
 
12908
$as_echo "$LINT" >&6; }
 
12909
else
 
12910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12911
$as_echo "no" >&6; }
 
12912
fi
 
12913
 
 
12914
 
 
12915
   if test "x$LINT" = "x"; then
 
12916
        as_fn_error "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
 
12917
   fi
 
12918
elif test "x$use_lint" = x"no" ; then
 
12919
   if test "x$LINT" != "x"; then
 
12920
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
 
12921
$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
 
12922
   fi
 
12923
else
 
12924
   as_fn_error "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
 
12925
fi
 
12926
 
 
12927
# User supplied flags override default flags
 
12928
if test "x$LINT_FLAGS" != "x"; then
 
12929
   lint_options=$LINT_FLAGS
 
12930
fi
 
12931
 
 
12932
LINT_FLAGS=$lint_options
 
12933
 
 
12934
 if test "x$LINT" != x; then
13323
12935
  LINT_TRUE=
13324
12936
  LINT_FALSE='#'
13325
12937
else
13331
12943
 
13332
12944
 
13333
12945
 
13334
 
# Build lint "library" for more indepth checks of programs calling this library
13335
12946
# Check whether --enable-lint-library was given.
13336
 
if test "${enable_lint_library+set}" = set; then
 
12947
if test "${enable_lint_library+set}" = set; then :
13337
12948
  enableval=$enable_lint_library; make_lint_lib=$enableval
13338
12949
else
13339
12950
  make_lint_lib=no
13340
12951
fi
13341
12952
 
13342
 
if test "x$make_lint_lib" != "xno" ; then
13343
 
        if test "x$LINT" = "xno" ; then
13344
 
                { { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
13345
 
$as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
13346
 
   { (exit 1); exit 1; }; }
13347
 
        fi
13348
 
        if test "x$make_lint_lib" = "xyes" ; then
13349
 
                LINTLIB=llib-lICE.ln
13350
 
        else
13351
 
                LINTLIB=$make_lint_lib
13352
 
        fi
 
12953
 
 
12954
if test "x$make_lint_lib" = x"yes" ; then
 
12955
   LINTLIB=llib-lICE.ln
 
12956
   if test "x$LINT" = "x"; then
 
12957
        as_fn_error "Cannot make lint library without --with-lint" "$LINENO" 5
 
12958
   fi
 
12959
elif test "x$make_lint_lib" != x"no" ; then
 
12960
   as_fn_error "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
13353
12961
fi
13354
12962
 
 
12963
 
13355
12964
 if test x$make_lint_lib != xno; then
13356
12965
  MAKE_LINT_LIB_TRUE=
13357
12966
  MAKE_LINT_LIB_FALSE='#'
13365
12974
LINT_FLAGS="${LINT_FLAGS} ${ICE_CFLAGS} ${XTRANS_CFLAGS}"
13366
12975
 
13367
12976
 
13368
 
 
13369
 
# Check whether --with-release-version was given.
13370
 
if test "${with_release_version+set}" = set; then
13371
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
13372
 
else
13373
 
  RELEASE_VERSION=""
13374
 
fi
13375
 
 
13376
 
        if test "x$RELEASE_VERSION" != "x"; then
13377
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
13378
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
13379
 
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
13380
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
13381
 
        fi
13382
 
 
13383
 
cat >>confdefs.h <<_ACEOF
13384
 
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
13385
 
_ACEOF
13386
 
 
13387
 
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
13388
 
        if test "x$PVM" = "x"; then
13389
 
                PVM="0"
13390
 
        fi
13391
 
 
13392
 
cat >>confdefs.h <<_ACEOF
13393
 
#define PACKAGE_VERSION_MINOR $PVM
13394
 
_ACEOF
13395
 
 
13396
 
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
13397
 
        if test "x$PVP" = "x"; then
13398
 
                PVP="0"
13399
 
        fi
13400
 
 
13401
 
cat >>confdefs.h <<_ACEOF
13402
 
#define PACKAGE_VERSION_PATCHLEVEL $PVP
13403
 
_ACEOF
13404
 
 
13405
 
 
13406
 
 
13407
 
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
13408
 
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
13409
 
echo 'git directory not found: installing possibly empty changelog.' >&2)"
13410
 
 
13411
 
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
13412
 
 
13413
 
 
13414
 
 
13415
 
ac_config_files="$ac_config_files Makefile src/Makefile ice.pc"
 
12977
ac_config_files="$ac_config_files Makefile doc/Makefile specs/Makefile src/Makefile ice.pc"
13416
12978
 
13417
12979
cat >confcache <<\_ACEOF
13418
12980
# This file is a shell script that caches the results of configure
13441
13003
    case $ac_val in #(
13442
13004
    *${as_nl}*)
13443
13005
      case $ac_var in #(
13444
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13006
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13445
13007
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13446
13008
      esac
13447
13009
      case $ac_var in #(
13448
13010
      _ | IFS | as_nl) ;; #(
13449
13011
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13450
 
      *) $as_unset $ac_var ;;
 
13012
      *) { eval $ac_var=; unset $ac_var;} ;;
13451
13013
      esac ;;
13452
13014
    esac
13453
13015
  done
13455
13017
  (set) 2>&1 |
13456
13018
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13457
13019
    *${as_nl}ac_space=\ *)
13458
 
      # `set' does not quote correctly, so add quotes (double-quote
13459
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13020
      # `set' does not quote correctly, so add quotes: double-quote
 
13021
      # substitution turns \\\\ into \\, and sed turns \\ into \.
13460
13022
      sed -n \
13461
13023
        "s/'/'\\\\''/g;
13462
13024
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13479
13041
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13480
13042
  if test -w "$cache_file"; then
13481
13043
    test "x$cache_file" != "x/dev/null" &&
13482
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13044
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13483
13045
$as_echo "$as_me: updating cache $cache_file" >&6;}
13484
13046
    cat confcache >$cache_file
13485
13047
  else
13486
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13048
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13487
13049
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13488
13050
  fi
13489
13051
fi
13503
13065
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13504
13066
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13505
13067
  #    will be set to the directory where LIBOBJS objects are built.
13506
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13507
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
13068
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13069
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13508
13070
done
13509
13071
LIBOBJS=$ac_libobjs
13510
13072
 
13520
13082
fi
13521
13083
 
13522
13084
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13523
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13524
 
Usually this means the macro was only invoked conditionally." >&5
13525
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13526
 
Usually this means the macro was only invoked conditionally." >&2;}
13527
 
   { (exit 1); exit 1; }; }
 
13085
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
13086
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13528
13087
fi
13529
13088
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13530
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13531
 
Usually this means the macro was only invoked conditionally." >&5
13532
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13533
 
Usually this means the macro was only invoked conditionally." >&2;}
13534
 
   { (exit 1); exit 1; }; }
13535
 
fi
13536
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13537
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13538
 
Usually this means the macro was only invoked conditionally." >&5
13539
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13540
 
Usually this means the macro was only invoked conditionally." >&2;}
13541
 
   { (exit 1); exit 1; }; }
13542
 
fi
13543
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13544
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13545
 
Usually this means the macro was only invoked conditionally." >&5
13546
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13547
 
Usually this means the macro was only invoked conditionally." >&2;}
13548
 
   { (exit 1); exit 1; }; }
 
13089
  as_fn_error "conditional \"AMDEP\" was never defined.
 
13090
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13091
fi
 
13092
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13093
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
13094
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13095
fi
 
13096
if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
 
13097
  as_fn_error "conditional \"ENABLE_DOCS\" was never defined.
 
13098
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13099
fi
 
13100
if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
 
13101
  as_fn_error "conditional \"ENABLE_SPECS\" was never defined.
 
13102
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13103
fi
 
13104
if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
 
13105
  as_fn_error "conditional \"HAVE_XMLTO_TEXT\" was never defined.
 
13106
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13107
fi
 
13108
if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
 
13109
  as_fn_error "conditional \"HAVE_XMLTO\" was never defined.
 
13110
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13111
fi
 
13112
if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
 
13113
  as_fn_error "conditional \"HAVE_FOP\" was never defined.
 
13114
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13115
fi
 
13116
if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
 
13117
  as_fn_error "conditional \"HAVE_STYLESHEETS\" was never defined.
 
13118
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13119
fi
 
13120
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13121
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
13122
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13549
13123
fi
13550
13124
if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
13551
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
13552
 
Usually this means the macro was only invoked conditionally." >&5
13553
 
$as_echo "$as_me: error: conditional \"LINT\" was never defined.
13554
 
Usually this means the macro was only invoked conditionally." >&2;}
13555
 
   { (exit 1); exit 1; }; }
 
13125
  as_fn_error "conditional \"LINT\" was never defined.
 
13126
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13556
13127
fi
13557
13128
if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
13558
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
13559
 
Usually this means the macro was only invoked conditionally." >&5
13560
 
$as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
13561
 
Usually this means the macro was only invoked conditionally." >&2;}
13562
 
   { (exit 1); exit 1; }; }
 
13129
  as_fn_error "conditional \"MAKE_LINT_LIB\" was never defined.
 
13130
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13563
13131
fi
13564
13132
 
13565
13133
: ${CONFIG_STATUS=./config.status}
13566
13134
ac_write_fail=0
13567
13135
ac_clean_files_save=$ac_clean_files
13568
13136
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13569
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13137
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13570
13138
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13571
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13139
as_write_fail=0
 
13140
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13572
13141
#! $SHELL
13573
13142
# Generated by $as_me.
13574
13143
# Run this file to recreate the current configuration.
13578
13147
debug=false
13579
13148
ac_cs_recheck=false
13580
13149
ac_cs_silent=false
 
13150
 
13581
13151
SHELL=\${CONFIG_SHELL-$SHELL}
13582
 
_ACEOF
13583
 
 
13584
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13585
 
## --------------------- ##
13586
 
## M4sh Initialization.  ##
13587
 
## --------------------- ##
 
13152
export SHELL
 
13153
_ASEOF
 
13154
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13155
## -------------------- ##
 
13156
## M4sh Initialization. ##
 
13157
## -------------------- ##
13588
13158
 
13589
13159
# Be more Bourne compatible
13590
13160
DUALCASE=1; export DUALCASE # for MKS sh
13591
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13161
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13592
13162
  emulate sh
13593
13163
  NULLCMD=:
13594
13164
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13596
13166
  alias -g '${1+"$@"}'='"$@"'
13597
13167
  setopt NO_GLOB_SUBST
13598
13168
else
13599
 
  case `(set -o) 2>/dev/null` in
13600
 
  *posix*) set -o posix ;;
 
13169
  case `(set -o) 2>/dev/null` in #(
 
13170
  *posix*) :
 
13171
    set -o posix ;; #(
 
13172
  *) :
 
13173
     ;;
13601
13174
esac
13602
 
 
13603
13175
fi
13604
13176
 
13605
13177
 
13606
 
 
13607
 
 
13608
 
# PATH needs CR
13609
 
# Avoid depending upon Character Ranges.
13610
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13611
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13612
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13613
 
as_cr_digits='0123456789'
13614
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13615
 
 
13616
13178
as_nl='
13617
13179
'
13618
13180
export as_nl
13620
13182
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13621
13183
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13622
13184
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13623
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13185
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13186
# but without wasting forks for bash or zsh.
 
13187
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13188
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13189
  as_echo='print -r --'
 
13190
  as_echo_n='print -rn --'
 
13191
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13624
13192
  as_echo='printf %s\n'
13625
13193
  as_echo_n='printf %s'
13626
13194
else
13631
13199
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13632
13200
    as_echo_n_body='eval
13633
13201
      arg=$1;
13634
 
      case $arg in
 
13202
      case $arg in #(
13635
13203
      *"$as_nl"*)
13636
13204
        expr "X$arg" : "X\\(.*\\)$as_nl";
13637
13205
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13654
13222
  }
13655
13223
fi
13656
13224
 
13657
 
# Support unset when possible.
13658
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13659
 
  as_unset=unset
13660
 
else
13661
 
  as_unset=false
13662
 
fi
13663
 
 
13664
13225
 
13665
13226
# IFS
13666
13227
# We need space, tab and new line, in precisely that order.  Quoting is
13670
13231
IFS=" ""        $as_nl"
13671
13232
 
13672
13233
# Find who we are.  Look in the path if we contain no directory separator.
13673
 
case $0 in
 
13234
case $0 in #((
13674
13235
  *[\\/]* ) as_myself=$0 ;;
13675
13236
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13676
13237
for as_dir in $PATH
13677
13238
do
13678
13239
  IFS=$as_save_IFS
13679
13240
  test -z "$as_dir" && as_dir=.
13680
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13681
 
done
 
13241
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13242
  done
13682
13243
IFS=$as_save_IFS
13683
13244
 
13684
13245
     ;;
13690
13251
fi
13691
13252
if test ! -f "$as_myself"; then
13692
13253
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13693
 
  { (exit 1); exit 1; }
 
13254
  exit 1
13694
13255
fi
13695
13256
 
13696
 
# Work around bugs in pre-3.0 UWIN ksh.
13697
 
for as_var in ENV MAIL MAILPATH
13698
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
13257
# Unset variables that we do not need and which cause bugs (e.g. in
 
13258
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13259
# suppresses any "Segmentation fault" message there.  '((' could
 
13260
# trigger a bug in pdksh 5.2.14.
 
13261
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13262
do eval test x\${$as_var+set} = xset \
 
13263
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13699
13264
done
13700
13265
PS1='$ '
13701
13266
PS2='> '
13707
13272
LANGUAGE=C
13708
13273
export LANGUAGE
13709
13274
 
13710
 
# Required to use basename.
 
13275
# CDPATH.
 
13276
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13277
 
 
13278
 
 
13279
# as_fn_error ERROR [LINENO LOG_FD]
 
13280
# ---------------------------------
 
13281
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13282
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13283
# script with status $?, using 1 if that was 0.
 
13284
as_fn_error ()
 
13285
{
 
13286
  as_status=$?; test $as_status -eq 0 && as_status=1
 
13287
  if test "$3"; then
 
13288
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13289
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
13290
  fi
 
13291
  $as_echo "$as_me: error: $1" >&2
 
13292
  as_fn_exit $as_status
 
13293
} # as_fn_error
 
13294
 
 
13295
 
 
13296
# as_fn_set_status STATUS
 
13297
# -----------------------
 
13298
# Set $? to STATUS, without forking.
 
13299
as_fn_set_status ()
 
13300
{
 
13301
  return $1
 
13302
} # as_fn_set_status
 
13303
 
 
13304
# as_fn_exit STATUS
 
13305
# -----------------
 
13306
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13307
as_fn_exit ()
 
13308
{
 
13309
  set +e
 
13310
  as_fn_set_status $1
 
13311
  exit $1
 
13312
} # as_fn_exit
 
13313
 
 
13314
# as_fn_unset VAR
 
13315
# ---------------
 
13316
# Portably unset VAR.
 
13317
as_fn_unset ()
 
13318
{
 
13319
  { eval $1=; unset $1;}
 
13320
}
 
13321
as_unset=as_fn_unset
 
13322
# as_fn_append VAR VALUE
 
13323
# ----------------------
 
13324
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13325
# advantage of any shell optimizations that allow amortized linear growth over
 
13326
# repeated appends, instead of the typical quadratic growth present in naive
 
13327
# implementations.
 
13328
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13329
  eval 'as_fn_append ()
 
13330
  {
 
13331
    eval $1+=\$2
 
13332
  }'
 
13333
else
 
13334
  as_fn_append ()
 
13335
  {
 
13336
    eval $1=\$$1\$2
 
13337
  }
 
13338
fi # as_fn_append
 
13339
 
 
13340
# as_fn_arith ARG...
 
13341
# ------------------
 
13342
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13343
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13344
# must be portable across $(()) and expr.
 
13345
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13346
  eval 'as_fn_arith ()
 
13347
  {
 
13348
    as_val=$(( $* ))
 
13349
  }'
 
13350
else
 
13351
  as_fn_arith ()
 
13352
  {
 
13353
    as_val=`expr "$@" || test $? -eq 1`
 
13354
  }
 
13355
fi # as_fn_arith
 
13356
 
 
13357
 
13711
13358
if expr a : '\(a\)' >/dev/null 2>&1 &&
13712
13359
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13713
13360
  as_expr=expr
13721
13368
  as_basename=false
13722
13369
fi
13723
13370
 
 
13371
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13372
  as_dirname=dirname
 
13373
else
 
13374
  as_dirname=false
 
13375
fi
13724
13376
 
13725
 
# Name of the executable.
13726
13377
as_me=`$as_basename -- "$0" ||
13727
13378
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13728
13379
         X"$0" : 'X\(//\)$' \| \
13742
13393
          }
13743
13394
          s/.*/./; q'`
13744
13395
 
13745
 
# CDPATH.
13746
 
$as_unset CDPATH
13747
 
 
13748
 
 
13749
 
 
13750
 
  as_lineno_1=$LINENO
13751
 
  as_lineno_2=$LINENO
13752
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
13753
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13754
 
 
13755
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13756
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
13757
 
  # line-number line after each line using $LINENO; the second 'sed'
13758
 
  # does the real work.  The second script uses 'N' to pair each
13759
 
  # line-number line with the line containing $LINENO, and appends
13760
 
  # trailing '-' during substitution so that $LINENO is not a special
13761
 
  # case at line end.
13762
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13763
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13764
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
13765
 
  sed -n '
13766
 
    p
13767
 
    /[$]LINENO/=
13768
 
  ' <$as_myself |
13769
 
    sed '
13770
 
      s/[$]LINENO.*/&-/
13771
 
      t lineno
13772
 
      b
13773
 
      :lineno
13774
 
      N
13775
 
      :loop
13776
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13777
 
      t loop
13778
 
      s/-\n.*//
13779
 
    ' >$as_me.lineno &&
13780
 
  chmod +x "$as_me.lineno" ||
13781
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13782
 
   { (exit 1); exit 1; }; }
13783
 
 
13784
 
  # Don't try to exec as it changes $[0], causing all sort of problems
13785
 
  # (the dirname of $[0] is not the place where we might find the
13786
 
  # original and so on.  Autoconf is especially sensitive to this).
13787
 
  . "./$as_me.lineno"
13788
 
  # Exit status is that of the last command.
13789
 
  exit
13790
 
}
13791
 
 
13792
 
 
13793
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13794
 
  as_dirname=dirname
13795
 
else
13796
 
  as_dirname=false
13797
 
fi
 
13396
# Avoid depending upon Character Ranges.
 
13397
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
13398
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
13399
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
13400
as_cr_digits='0123456789'
 
13401
as_cr_alnum=$as_cr_Letters$as_cr_digits
13798
13402
 
13799
13403
ECHO_C= ECHO_N= ECHO_T=
13800
 
case `echo -n x` in
 
13404
case `echo -n x` in #(((((
13801
13405
-n*)
13802
 
  case `echo 'x\c'` in
 
13406
  case `echo 'xy\c'` in
13803
13407
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13804
 
  *)   ECHO_C='\c';;
 
13408
  xy)  ECHO_C='\c';;
 
13409
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
13410
       ECHO_T=' ';;
13805
13411
  esac;;
13806
13412
*)
13807
13413
  ECHO_N='-n';;
13808
13414
esac
13809
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13810
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13811
 
  as_expr=expr
13812
 
else
13813
 
  as_expr=false
13814
 
fi
13815
13415
 
13816
13416
rm -f conf$$ conf$$.exe conf$$.file
13817
13417
if test -d conf$$.dir; then
13840
13440
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13841
13441
rmdir conf$$.dir 2>/dev/null
13842
13442
 
 
13443
 
 
13444
# as_fn_mkdir_p
 
13445
# -------------
 
13446
# Create "$as_dir" as a directory, including parents if necessary.
 
13447
as_fn_mkdir_p ()
 
13448
{
 
13449
 
 
13450
  case $as_dir in #(
 
13451
  -*) as_dir=./$as_dir;;
 
13452
  esac
 
13453
  test -d "$as_dir" || eval $as_mkdir_p || {
 
13454
    as_dirs=
 
13455
    while :; do
 
13456
      case $as_dir in #(
 
13457
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
13458
      *) as_qdir=$as_dir;;
 
13459
      esac
 
13460
      as_dirs="'$as_qdir' $as_dirs"
 
13461
      as_dir=`$as_dirname -- "$as_dir" ||
 
13462
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13463
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13464
         X"$as_dir" : 'X\(//\)$' \| \
 
13465
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13466
$as_echo X"$as_dir" |
 
13467
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13468
            s//\1/
 
13469
            q
 
13470
          }
 
13471
          /^X\(\/\/\)[^/].*/{
 
13472
            s//\1/
 
13473
            q
 
13474
          }
 
13475
          /^X\(\/\/\)$/{
 
13476
            s//\1/
 
13477
            q
 
13478
          }
 
13479
          /^X\(\/\).*/{
 
13480
            s//\1/
 
13481
            q
 
13482
          }
 
13483
          s/.*/./; q'`
 
13484
      test -d "$as_dir" && break
 
13485
    done
 
13486
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13487
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13488
 
 
13489
 
 
13490
} # as_fn_mkdir_p
13843
13491
if mkdir -p . 2>/dev/null; then
13844
 
  as_mkdir_p=:
 
13492
  as_mkdir_p='mkdir -p "$as_dir"'
13845
13493
else
13846
13494
  test -d ./-p && rmdir ./-p
13847
13495
  as_mkdir_p=false
13860
13508
      if test -d "$1"; then
13861
13509
        test -d "$1/.";
13862
13510
      else
13863
 
        case $1 in
 
13511
        case $1 in #(
13864
13512
        -*)set "./$1";;
13865
13513
        esac;
13866
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
13514
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13867
13515
        ???[sx]*):;;*)false;;esac;fi
13868
13516
    '\'' sh
13869
13517
  '
13878
13526
 
13879
13527
 
13880
13528
exec 6>&1
 
13529
## ----------------------------------- ##
 
13530
## Main body of $CONFIG_STATUS script. ##
 
13531
## ----------------------------------- ##
 
13532
_ASEOF
 
13533
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13881
13534
 
13882
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
13535
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13536
# Save the log message, to keep $0 and so on meaningful, and to
13883
13537
# report actual input values of CONFIG_FILES etc. instead of their
13884
13538
# values after options handling.
13885
13539
ac_log="
13886
 
This file was extended by libICE $as_me 1.0.6, which was
13887
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
13540
This file was extended by libICE $as_me 1.0.7, which was
 
13541
generated by GNU Autoconf 2.65.  Invocation command line was
13888
13542
 
13889
13543
  CONFIG_FILES    = $CONFIG_FILES
13890
13544
  CONFIG_HEADERS  = $CONFIG_HEADERS
13916
13570
 
13917
13571
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13918
13572
ac_cs_usage="\
13919
 
\`$as_me' instantiates files from templates according to the
13920
 
current configuration.
 
13573
\`$as_me' instantiates files and other configuration actions
 
13574
from templates according to the current configuration.  Unless the files
 
13575
and actions are specified as TAGs, all are instantiated by default.
13921
13576
 
13922
 
Usage: $0 [OPTION]... [FILE]...
 
13577
Usage: $0 [OPTION]... [TAG]...
13923
13578
 
13924
13579
  -h, --help       print this help, then exit
13925
13580
  -V, --version    print version number and configuration settings, then exit
 
13581
      --config     print configuration, then exit
13926
13582
  -q, --quiet, --silent
13927
13583
                   do not print progress messages
13928
13584
  -d, --debug      don't remove temporary files
13941
13597
Configuration commands:
13942
13598
$config_commands
13943
13599
 
13944
 
Report bugs to <bug-autoconf@gnu.org>."
 
13600
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
13945
13601
 
13946
13602
_ACEOF
13947
13603
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13604
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13948
13605
ac_cs_version="\\
13949
 
libICE config.status 1.0.6
13950
 
configured by $0, generated by GNU Autoconf 2.63,
13951
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13606
libICE config.status 1.0.7
 
13607
configured by $0, generated by GNU Autoconf 2.65,
 
13608
  with options \\"\$ac_cs_config\\"
13952
13609
 
13953
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
13610
Copyright (C) 2009 Free Software Foundation, Inc.
13954
13611
This config.status script is free software; the Free Software Foundation
13955
13612
gives unlimited permission to copy, distribute and modify it."
13956
13613
 
13986
13643
    ac_cs_recheck=: ;;
13987
13644
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13988
13645
    $as_echo "$ac_cs_version"; exit ;;
 
13646
  --config | --confi | --conf | --con | --co | --c )
 
13647
    $as_echo "$ac_cs_config"; exit ;;
13989
13648
  --debug | --debu | --deb | --de | --d | -d )
13990
13649
    debug=: ;;
13991
13650
  --file | --fil | --fi | --f )
13993
13652
    case $ac_optarg in
13994
13653
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13995
13654
    esac
13996
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
13655
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13997
13656
    ac_need_defaults=false;;
13998
13657
  --header | --heade | --head | --hea )
13999
13658
    $ac_shift
14000
13659
    case $ac_optarg in
14001
13660
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14002
13661
    esac
14003
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
13662
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14004
13663
    ac_need_defaults=false;;
14005
13664
  --he | --h)
14006
13665
    # Conflict between --help and --header
14007
 
    { $as_echo "$as_me: error: ambiguous option: $1
14008
 
Try \`$0 --help' for more information." >&2
14009
 
   { (exit 1); exit 1; }; };;
 
13666
    as_fn_error "ambiguous option: \`$1'
 
13667
Try \`$0 --help' for more information.";;
14010
13668
  --help | --hel | -h )
14011
13669
    $as_echo "$ac_cs_usage"; exit ;;
14012
13670
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14014
13672
    ac_cs_silent=: ;;
14015
13673
 
14016
13674
  # This is an error.
14017
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
14018
 
Try \`$0 --help' for more information." >&2
14019
 
   { (exit 1); exit 1; }; } ;;
 
13675
  -*) as_fn_error "unrecognized option: \`$1'
 
13676
Try \`$0 --help' for more information." ;;
14020
13677
 
14021
 
  *) ac_config_targets="$ac_config_targets $1"
 
13678
  *) as_fn_append ac_config_targets " $1"
14022
13679
     ac_need_defaults=false ;;
14023
13680
 
14024
13681
  esac
14328
13985
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14329
13986
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14330
13987
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
13988
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
13989
    "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
14331
13990
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14332
13991
    "ice.pc") CONFIG_FILES="$CONFIG_FILES ice.pc" ;;
14333
13992
 
14334
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14335
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14336
 
   { (exit 1); exit 1; }; };;
 
13993
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14337
13994
  esac
14338
13995
done
14339
13996
 
14360
14017
  trap 'exit_status=$?
14361
14018
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14362
14019
' 0
14363
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14020
  trap 'as_fn_exit 1' 1 2 13 15
14364
14021
}
14365
14022
# Create a (secure) tmp directory for tmp files.
14366
14023
 
14371
14028
{
14372
14029
  tmp=./conf$$-$RANDOM
14373
14030
  (umask 077 && mkdir "$tmp")
14374
 
} ||
14375
 
{
14376
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
14377
 
   { (exit 1); exit 1; }
14378
 
}
 
14031
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14379
14032
 
14380
14033
# Set up the scripts for CONFIG_FILES section.
14381
14034
# No need to generate them if there are no CONFIG_FILES.
14383
14036
if test -n "$CONFIG_FILES"; then
14384
14037
 
14385
14038
 
14386
 
ac_cr='
 
 
b"'"
 
14039
ac_cr=`echo X | tr X '\015'`
 
14040
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14041
# But we know of no other shell where ac_cr would be empty at this
 
14042
# point, so we can use a bashism as a fallback.
 
14043
if test "x$ac_cr" = x; then
 
14044
  eval ac_cr=\$\'\\r\'
 
14045
fi
14387
14046
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14388
14047
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14389
 
  ac_cs_awk_cr='\\r'
 
14048
  ac_cs_awk_cr='\r'
14390
14049
else
14391
14050
  ac_cs_awk_cr=$ac_cr
14392
14051
fi
14400
14059
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14401
14060
  echo "_ACEOF"
14402
14061
} >conf$$subs.sh ||
14403
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14404
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14405
 
   { (exit 1); exit 1; }; }
 
14062
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14406
14063
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14407
14064
ac_delim='%!_!# '
14408
14065
for ac_last_try in false false false false false :; do
14409
14066
  . ./conf$$subs.sh ||
14410
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14411
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14412
 
   { (exit 1); exit 1; }; }
 
14067
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14413
14068
 
14414
14069
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14415
14070
  if test $ac_delim_n = $ac_delim_num; then
14416
14071
    break
14417
14072
  elif $ac_last_try; then
14418
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14419
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14420
 
   { (exit 1); exit 1; }; }
 
14073
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14421
14074
  else
14422
14075
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14423
14076
  fi
14439
14092
t delim
14440
14093
:nl
14441
14094
h
14442
 
s/\(.\{148\}\).*/\1/
 
14095
s/\(.\{148\}\)..*/\1/
14443
14096
t more1
14444
14097
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14445
14098
p
14453
14106
t nl
14454
14107
:delim
14455
14108
h
14456
 
s/\(.\{148\}\).*/\1/
 
14109
s/\(.\{148\}\)..*/\1/
14457
14110
t more2
14458
14111
s/["\\]/\\&/g; s/^/"/; s/$/"/
14459
14112
p
14506
14159
else
14507
14160
  cat
14508
14161
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14509
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14510
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
14511
 
   { (exit 1); exit 1; }; }
 
14162
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14512
14163
_ACEOF
14513
14164
 
14514
14165
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14549
14200
  if test -z "$ac_t"; then
14550
14201
    break
14551
14202
  elif $ac_last_try; then
14552
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14553
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14554
 
   { (exit 1); exit 1; }; }
 
14203
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14555
14204
  else
14556
14205
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14557
14206
  fi
14636
14285
_ACAWK
14637
14286
_ACEOF
14638
14287
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14639
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14640
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14641
 
   { (exit 1); exit 1; }; }
 
14288
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
14642
14289
fi # test -n "$CONFIG_HEADERS"
14643
14290
 
14644
14291
 
14651
14298
  esac
14652
14299
  case $ac_mode$ac_tag in
14653
14300
  :[FHL]*:*);;
14654
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14655
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14656
 
   { (exit 1); exit 1; }; };;
 
14301
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14657
14302
  :[FH]-) ac_tag=-:-;;
14658
14303
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14659
14304
  esac
14681
14326
           [\\/$]*) false;;
14682
14327
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14683
14328
           esac ||
14684
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14685
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14686
 
   { (exit 1); exit 1; }; };;
 
14329
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14687
14330
      esac
14688
14331
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14689
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
14332
      as_fn_append ac_file_inputs " '$ac_f'"
14690
14333
    done
14691
14334
 
14692
14335
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14697
14340
        `' by configure.'
14698
14341
    if test x"$ac_file" != x-; then
14699
14342
      configure_input="$ac_file.  $configure_input"
14700
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14343
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14701
14344
$as_echo "$as_me: creating $ac_file" >&6;}
14702
14345
    fi
14703
14346
    # Neutralize special characters interpreted by sed in replacement strings.
14710
14353
 
14711
14354
    case $ac_tag in
14712
14355
    *:-:* | *:-) cat >"$tmp/stdin" \
14713
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14714
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14715
 
   { (exit 1); exit 1; }; } ;;
 
14356
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14716
14357
    esac
14717
14358
    ;;
14718
14359
  esac
14740
14381
            q
14741
14382
          }
14742
14383
          s/.*/./; q'`
14743
 
  { as_dir="$ac_dir"
14744
 
  case $as_dir in #(
14745
 
  -*) as_dir=./$as_dir;;
14746
 
  esac
14747
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14748
 
    as_dirs=
14749
 
    while :; do
14750
 
      case $as_dir in #(
14751
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14752
 
      *) as_qdir=$as_dir;;
14753
 
      esac
14754
 
      as_dirs="'$as_qdir' $as_dirs"
14755
 
      as_dir=`$as_dirname -- "$as_dir" ||
14756
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14757
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
14758
 
         X"$as_dir" : 'X\(//\)$' \| \
14759
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14760
 
$as_echo X"$as_dir" |
14761
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14762
 
            s//\1/
14763
 
            q
14764
 
          }
14765
 
          /^X\(\/\/\)[^/].*/{
14766
 
            s//\1/
14767
 
            q
14768
 
          }
14769
 
          /^X\(\/\/\)$/{
14770
 
            s//\1/
14771
 
            q
14772
 
          }
14773
 
          /^X\(\/\).*/{
14774
 
            s//\1/
14775
 
            q
14776
 
          }
14777
 
          s/.*/./; q'`
14778
 
      test -d "$as_dir" && break
14779
 
    done
14780
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14781
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14782
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14783
 
   { (exit 1); exit 1; }; }; }
 
14384
  as_dir="$ac_dir"; as_fn_mkdir_p
14784
14385
  ac_builddir=.
14785
14386
 
14786
14387
case "$ac_dir" in
14837
14438
# If the template does not know about datarootdir, expand it.
14838
14439
# FIXME: This hack should be removed a few years after 2.60.
14839
14440
ac_datarootdir_hack=; ac_datarootdir_seen=
14840
 
 
14841
14441
ac_sed_dataroot='
14842
14442
/datarootdir/ {
14843
14443
  p
14847
14447
/@docdir@/p
14848
14448
/@infodir@/p
14849
14449
/@localedir@/p
14850
 
/@mandir@/p
14851
 
'
 
14450
/@mandir@/p'
14852
14451
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14853
14452
*datarootdir*) ac_datarootdir_seen=yes;;
14854
14453
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14855
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14454
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14856
14455
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14857
14456
_ACEOF
14858
14457
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14862
14461
  s&@infodir@&$infodir&g
14863
14462
  s&@localedir@&$localedir&g
14864
14463
  s&@mandir@&$mandir&g
14865
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
14464
  s&\\\${datarootdir}&$datarootdir&g' ;;
14866
14465
esac
14867
14466
_ACEOF
14868
14467
 
14891
14490
$ac_datarootdir_hack
14892
14491
"
14893
14492
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14894
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14895
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14896
 
   { (exit 1); exit 1; }; }
 
14493
  || as_fn_error "could not create $ac_file" "$LINENO" 5
14897
14494
 
14898
14495
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14899
14496
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14900
14497
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14901
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14498
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14902
14499
which seems to be undefined.  Please make sure it is defined." >&5
14903
14500
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14904
14501
which seems to be undefined.  Please make sure it is defined." >&2;}
14908
14505
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14909
14506
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14910
14507
  esac \
14911
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14912
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14913
 
   { (exit 1); exit 1; }; }
 
14508
  || as_fn_error "could not create $ac_file" "$LINENO" 5
14914
14509
 ;;
14915
14510
  :H)
14916
14511
  #
14921
14516
      $as_echo "/* $configure_input  */" \
14922
14517
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14923
14518
    } >"$tmp/config.h" \
14924
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14925
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14926
 
   { (exit 1); exit 1; }; }
 
14519
      || as_fn_error "could not create $ac_file" "$LINENO" 5
14927
14520
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14928
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14521
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14929
14522
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14930
14523
    else
14931
14524
      rm -f "$ac_file"
14932
14525
      mv "$tmp/config.h" "$ac_file" \
14933
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14934
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14935
 
   { (exit 1); exit 1; }; }
 
14526
        || as_fn_error "could not create $ac_file" "$LINENO" 5
14936
14527
    fi
14937
14528
  else
14938
14529
    $as_echo "/* $configure_input  */" \
14939
14530
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14940
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14941
 
$as_echo "$as_me: error: could not create -" >&2;}
14942
 
   { (exit 1); exit 1; }; }
 
14531
      || as_fn_error "could not create -" "$LINENO" 5
14943
14532
  fi
14944
14533
# Compute "$ac_file"'s index in $config_headers.
14945
14534
_am_arg="$ac_file"
14977
14566
          s/.*/./; q'`/stamp-h$_am_stamp_count
14978
14567
 ;;
14979
14568
 
14980
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14569
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14981
14570
$as_echo "$as_me: executing $ac_file commands" >&6;}
14982
14571
 ;;
14983
14572
  esac
15072
14661
            q
15073
14662
          }
15074
14663
          s/.*/./; q'`
15075
 
      { as_dir=$dirpart/$fdir
15076
 
  case $as_dir in #(
15077
 
  -*) as_dir=./$as_dir;;
15078
 
  esac
15079
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15080
 
    as_dirs=
15081
 
    while :; do
15082
 
      case $as_dir in #(
15083
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15084
 
      *) as_qdir=$as_dir;;
15085
 
      esac
15086
 
      as_dirs="'$as_qdir' $as_dirs"
15087
 
      as_dir=`$as_dirname -- "$as_dir" ||
15088
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15089
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
15090
 
         X"$as_dir" : 'X\(//\)$' \| \
15091
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15092
 
$as_echo X"$as_dir" |
15093
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15094
 
            s//\1/
15095
 
            q
15096
 
          }
15097
 
          /^X\(\/\/\)[^/].*/{
15098
 
            s//\1/
15099
 
            q
15100
 
          }
15101
 
          /^X\(\/\/\)$/{
15102
 
            s//\1/
15103
 
            q
15104
 
          }
15105
 
          /^X\(\/\).*/{
15106
 
            s//\1/
15107
 
            q
15108
 
          }
15109
 
          s/.*/./; q'`
15110
 
      test -d "$as_dir" && break
15111
 
    done
15112
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15113
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15114
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15115
 
   { (exit 1); exit 1; }; }; }
 
14664
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15116
14665
      # echo "creating $dirpart/$file"
15117
14666
      echo '# dummy' > "$dirpart/$file"
15118
14667
    done
15759
15308
done # for ac_tag
15760
15309
 
15761
15310
 
15762
 
{ (exit 0); exit 0; }
 
15311
as_fn_exit 0
15763
15312
_ACEOF
15764
 
chmod +x $CONFIG_STATUS
15765
15313
ac_clean_files=$ac_clean_files_save
15766
15314
 
15767
15315
test $ac_write_fail = 0 ||
15768
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15769
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15770
 
   { (exit 1); exit 1; }; }
 
15316
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15771
15317
 
15772
15318
 
15773
15319
# configure is writing to config.log, and then calls config.status.
15788
15334
  exec 5>>config.log
15789
15335
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15790
15336
  # would make configure fail if this is the last instruction.
15791
 
  $ac_cs_success || { (exit 1); exit 1; }
 
15337
  $ac_cs_success || as_fn_exit $?
15792
15338
fi
15793
15339
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15794
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15340
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15795
15341
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15796
15342
fi
15797
15343