~ubuntu-branches/ubuntu/precise/x11-utils/precise-updates

« back to all changes in this revision

Viewing changes to xdriinfo/configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-09 20:34:01 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110209203401-43knowb75duvo9td
Tags: 7.6+1
* Remove David Nusinow and Brice Goglin from Uploaders.  Thanks for your
  work!
* Drop Pre-Depends on x11-common.
* Bump Standards-Version to 3.9.1.
* Upload to unstable.

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 xdriinfo 1.0.3.
 
3
# Generated by GNU Autoconf 2.68 for xdriinfo 1.0.4.
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, 2010 Free Software
 
10
# Foundation, 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
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
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
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
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
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1"
 
178
  if (eval "$as_required") 2>/dev/null; then :
177
179
  as_have_required=yes
178
180
else
179
181
  as_have_required=no
180
182
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
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
189
do
245
190
  IFS=$as_save_IFS
246
191
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
192
  as_found=:
 
193
  case $as_dir in #(
248
194
         /*)
249
195
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
251
205
           done;;
252
206
       esac
 
207
  as_found=false
253
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
254
213
IFS=$as_save_IFS
255
214
 
256
215
 
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
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
 
221
        BASH_ENV=/dev/null
 
222
        ENV=/dev/null
 
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
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.  :-)
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
232
fi
 
233
 
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
 
243
$0: about your system, including any error possibly output
 
244
$0: before this message. Then install a modern shell, or
 
245
$0: manually run the script under such a shell if you do
 
246
$0: have one."
 
247
  fi
 
248
  exit 1
 
249
fi
 
250
fi
 
251
fi
 
252
SHELL=${CONFIG_SHELL-/bin/sh}
 
253
export SHELL
 
254
# Unset more variables known to interfere with behavior of common tools.
 
255
CLICOLOR_FORCE= GREP_OPTIONS=
 
256
unset CLICOLOR_FORCE GREP_OPTIONS
 
257
 
 
258
## --------------------- ##
 
259
## M4sh Shell Functions. ##
 
260
## --------------------- ##
 
261
# as_fn_unset VAR
 
262
# ---------------
 
263
# Portably unset VAR.
 
264
as_fn_unset ()
 
265
{
 
266
  { eval $1=; unset $1;}
 
267
}
 
268
as_unset=as_fn_unset
 
269
 
 
270
# as_fn_set_status STATUS
 
271
# -----------------------
 
272
# Set $? to STATUS, without forking.
 
273
as_fn_set_status ()
 
274
{
 
275
  return $1
 
276
} # as_fn_set_status
 
277
 
 
278
# as_fn_exit STATUS
 
279
# -----------------
 
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
281
as_fn_exit ()
 
282
{
 
283
  set +e
 
284
  as_fn_set_status $1
 
285
  exit $1
 
286
} # as_fn_exit
 
287
 
 
288
# as_fn_mkdir_p
 
289
# -------------
 
290
# Create "$as_dir" as a directory, including parents if necessary.
 
291
as_fn_mkdir_p ()
 
292
{
 
293
 
 
294
  case $as_dir in #(
 
295
  -*) as_dir=./$as_dir;;
 
296
  esac
 
297
  test -d "$as_dir" || eval $as_mkdir_p || {
 
298
    as_dirs=
 
299
    while :; do
 
300
      case $as_dir in #(
 
301
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
302
      *) as_qdir=$as_dir;;
 
303
      esac
 
304
      as_dirs="'$as_qdir' $as_dirs"
 
305
      as_dir=`$as_dirname -- "$as_dir" ||
 
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
307
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
308
         X"$as_dir" : 'X\(//\)$' \| \
 
309
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
310
$as_echo X"$as_dir" |
 
311
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\/\)[^/].*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\).*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          s/.*/./; q'`
 
328
      test -d "$as_dir" && break
 
329
    done
 
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
332
 
 
333
 
 
334
} # as_fn_mkdir_p
 
335
# as_fn_append VAR VALUE
 
336
# ----------------------
 
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
338
# advantage of any shell optimizations that allow amortized linear growth over
 
339
# repeated appends, instead of the typical quadratic growth present in naive
 
340
# implementations.
 
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
342
  eval 'as_fn_append ()
 
343
  {
 
344
    eval $1+=\$2
 
345
  }'
 
346
else
 
347
  as_fn_append ()
 
348
  {
 
349
    eval $1=\$$1\$2
 
350
  }
 
351
fi # as_fn_append
 
352
 
 
353
# as_fn_arith ARG...
 
354
# ------------------
 
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
357
# must be portable across $(()) and expr.
 
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
359
  eval 'as_fn_arith ()
 
360
  {
 
361
    as_val=$(( $* ))
 
362
  }'
 
363
else
 
364
  as_fn_arith ()
 
365
  {
 
366
    as_val=`expr "$@" || test $? -eq 1`
 
367
  }
 
368
fi # as_fn_arith
 
369
 
 
370
 
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
 
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
375
# script with STATUS, using 1 if that was 0.
 
376
as_fn_error ()
 
377
{
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
382
  fi
 
383
  $as_echo "$as_me: error: $2" >&2
 
384
  as_fn_exit $as_status
 
385
} # as_fn_error
 
386
 
 
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
388
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
389
  as_expr=expr
 
390
else
 
391
  as_expr=false
 
392
fi
 
393
 
 
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
395
  as_basename=basename
 
396
else
 
397
  as_basename=false
 
398
fi
 
399
 
 
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
401
  as_dirname=dirname
 
402
else
 
403
  as_dirname=false
 
404
fi
 
405
 
 
406
as_me=`$as_basename -- "$0" ||
 
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
408
         X"$0" : 'X\(//\)$' \| \
 
409
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
410
$as_echo X/"$0" |
 
411
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          /^X\/\(\/\/\)$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\).*/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          s/.*/./; q'`
 
424
 
 
425
# Avoid depending upon Character Ranges.
 
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
429
as_cr_digits='0123456789'
 
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
431
 
 
432
 
 
433
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
434
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
435
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
436
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
437
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
438
  sed -n '
461
439
    p
462
440
    /[$]LINENO/=
473
451
      s/-\n.*//
474
452
    ' >$as_me.lineno &&
475
453
  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; }; }
 
454
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
455
 
479
456
  # Don't try to exec as it changes $[0], causing all sort of problems
480
457
  # (the dirname of $[0] is not the place where we might find the
484
461
  exit
485
462
}
486
463
 
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
464
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
465
case `echo -n x` in #(((((
496
466
-n*)
497
 
  case `echo 'x\c'` in
 
467
  case `echo 'xy\c'` in
498
468
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
469
  xy)  ECHO_C='\c';;
 
470
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
471
       ECHO_T=' ';;
500
472
  esac;;
501
473
*)
502
474
  ECHO_N='-n';;
503
475
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
476
 
511
477
rm -f conf$$ conf$$.exe conf$$.file
512
478
if test -d conf$$.dir; then
536
502
rmdir conf$$.dir 2>/dev/null
537
503
 
538
504
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
505
  as_mkdir_p='mkdir -p "$as_dir"'
540
506
else
541
507
  test -d ./-p && rmdir ./-p
542
508
  as_mkdir_p=false
555
521
      if test -d "$1"; then
556
522
        test -d "$1/.";
557
523
      else
558
 
        case $1 in
 
524
        case $1 in #(
559
525
        -*)set "./$1";;
560
526
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
527
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
528
        ???[sx]*):;;*)false;;esac;fi
563
529
    '\'' sh
564
530
  '
572
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
539
 
574
540
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
541
test -n "$DJDIR" || exec 7<&0 </dev/null
 
542
exec 6>&1
577
543
 
578
544
# Name of the host.
579
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
545
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580
546
# so uname gets run too.
581
547
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
548
 
591
557
subdirs=
592
558
MFLAGS=
593
559
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
560
 
596
561
# Identity of this package.
597
562
PACKAGE_NAME='xdriinfo'
598
563
PACKAGE_TARNAME='xdriinfo'
599
 
PACKAGE_VERSION='1.0.3'
600
 
PACKAGE_STRING='xdriinfo 1.0.3'
 
564
PACKAGE_VERSION='1.0.4'
 
565
PACKAGE_STRING='xdriinfo 1.0.4'
601
566
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
567
PACKAGE_URL=''
602
568
 
 
569
ac_unique_file="Makefile.am"
603
570
# Factoring default headers for most tests.
604
571
ac_includes_default="\
605
572
#include <stdio.h>
642
609
LIBOBJS
643
610
XDRIINFO_LIBS
644
611
XDRIINFO_CFLAGS
645
 
PKG_CONFIG
 
612
AM_BACKSLASH
 
613
AM_DEFAULT_VERBOSITY
 
614
MAN_SUBSTS
 
615
XORG_MAN_PAGE
646
616
ADMIN_MAN_DIR
647
617
DRIVER_MAN_DIR
648
618
MISC_MAN_DIR
655
625
FILE_MAN_SUFFIX
656
626
LIB_MAN_SUFFIX
657
627
APP_MAN_SUFFIX
 
628
SED
658
629
host_os
659
630
host_vendor
660
631
host_cpu
663
634
build_vendor
664
635
build_cpu
665
636
build
666
 
distcleancheck_listfiles
 
637
INSTALL_CMD
 
638
PKG_CONFIG
667
639
CHANGELOG_CMD
668
 
AM_BACKSLASH
669
 
AM_DEFAULT_VERBOSITY
670
640
CWARNFLAGS
671
641
EGREP
672
642
GREP
743
713
program_transform_name
744
714
prefix
745
715
exec_prefix
 
716
PACKAGE_URL
746
717
PACKAGE_BUGREPORT
747
718
PACKAGE_STRING
748
719
PACKAGE_VERSION
755
726
enable_option_checking
756
727
enable_maintainer_mode
757
728
enable_dependency_tracking
 
729
enable_strict_compilation
758
730
enable_silent_rules
759
 
enable_strict_compilation
760
 
with_release_version
761
731
'
762
732
      ac_precious_vars='build_alias
763
733
host_alias
833
803
  fi
834
804
 
835
805
  case $ac_option in
836
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837
 
  *)    ac_optarg=yes ;;
 
806
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
807
  *=)   ac_optarg= ;;
 
808
  *)    ac_optarg=yes ;;
838
809
  esac
839
810
 
840
811
  # Accept the important Cygnus configure options, so we can diagnose typos.
879
850
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880
851
    # Reject names that are not valid shell variable names.
881
852
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
883
 
   { (exit 1); exit 1; }; }
 
853
      as_fn_error $? "invalid feature name: $ac_useropt"
884
854
    ac_useropt_orig=$ac_useropt
885
855
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886
856
    case $ac_user_opts in
906
876
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907
877
    # Reject names that are not valid shell variable names.
908
878
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
910
 
   { (exit 1); exit 1; }; }
 
879
      as_fn_error $? "invalid feature name: $ac_useropt"
911
880
    ac_useropt_orig=$ac_useropt
912
881
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913
882
    case $ac_user_opts in
1111
1080
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112
1081
    # Reject names that are not valid shell variable names.
1113
1082
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1115
 
   { (exit 1); exit 1; }; }
 
1083
      as_fn_error $? "invalid package name: $ac_useropt"
1116
1084
    ac_useropt_orig=$ac_useropt
1117
1085
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118
1086
    case $ac_user_opts in
1128
1096
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129
1097
    # Reject names that are not valid shell variable names.
1130
1098
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1132
 
   { (exit 1); exit 1; }; }
 
1099
      as_fn_error $? "invalid package name: $ac_useropt"
1133
1100
    ac_useropt_orig=$ac_useropt
1134
1101
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135
1102
    case $ac_user_opts in
1159
1126
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160
1127
    x_libraries=$ac_optarg ;;
1161
1128
 
1162
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1163
 
Try \`$0 --help' for more information." >&2
1164
 
   { (exit 1); exit 1; }; }
 
1129
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1130
Try \`$0 --help' for more information"
1165
1131
    ;;
1166
1132
 
1167
1133
  *=*)
1168
1134
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1169
1135
    # Reject names that are not valid shell variable names.
1170
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1171
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1172
 
   { (exit 1); exit 1; }; }
 
1136
    case $ac_envvar in #(
 
1137
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1138
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1139
    esac
1173
1140
    eval $ac_envvar=\$ac_optarg
1174
1141
    export $ac_envvar ;;
1175
1142
 
1178
1145
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179
1146
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180
1147
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1148
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1182
1149
    ;;
1183
1150
 
1184
1151
  esac
1186
1153
 
1187
1154
if test -n "$ac_prev"; then
1188
1155
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1190
 
   { (exit 1); exit 1; }; }
 
1156
  as_fn_error $? "missing argument to $ac_option"
1191
1157
fi
1192
1158
 
1193
1159
if test -n "$ac_unrecognized_opts"; then
1194
1160
  case $enable_option_checking in
1195
1161
    no) ;;
1196
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1197
 
   { (exit 1); exit 1; }; } ;;
 
1162
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198
1163
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199
1164
  esac
1200
1165
fi
1217
1182
    [\\/$]* | ?:[\\/]* )  continue;;
1218
1183
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219
1184
  esac
1220
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1221
 
   { (exit 1); exit 1; }; }
 
1185
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1222
1186
done
1223
1187
 
1224
1188
# There might be people who depend on the old broken behavior: `$host'
1232
1196
if test "x$host_alias" != x; then
1233
1197
  if test "x$build_alias" = x; then
1234
1198
    cross_compiling=maybe
1235
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1236
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1199
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1200
    If a cross compiler is detected then cross compile mode will be used" >&2
1237
1201
  elif test "x$build_alias" != "x$host_alias"; then
1238
1202
    cross_compiling=yes
1239
1203
  fi
1248
1212
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249
1213
ac_ls_di=`ls -di .` &&
1250
1214
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1252
 
   { (exit 1); exit 1; }; }
 
1215
  as_fn_error $? "working directory cannot be determined"
1253
1216
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1255
 
   { (exit 1); exit 1; }; }
 
1217
  as_fn_error $? "pwd does not report name of working directory"
1256
1218
 
1257
1219
 
1258
1220
# Find the source files, if location was not specified.
1291
1253
fi
1292
1254
if test ! -r "$srcdir/$ac_unique_file"; then
1293
1255
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1295
 
   { (exit 1); exit 1; }; }
 
1256
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1296
1257
fi
1297
1258
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298
1259
ac_abs_confdir=`(
1299
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1300
 
   { (exit 1); exit 1; }; }
 
1260
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1301
1261
        pwd)`
1302
1262
# When building in place, set srcdir=.
1303
1263
if test "$ac_abs_confdir" = "$ac_pwd"; then
1323
1283
  # Omit some internal or obsolete options to make the list less imposing.
1324
1284
  # This message is too long to be a string in the A/UX 3.1 sh.
1325
1285
  cat <<_ACEOF
1326
 
\`configure' configures xdriinfo 1.0.3 to adapt to many kinds of systems.
 
1286
\`configure' configures xdriinfo 1.0.4 to adapt to many kinds of systems.
1327
1287
 
1328
1288
Usage: $0 [OPTION]... [VAR=VALUE]...
1329
1289
 
1337
1297
      --help=short        display options specific to this package
1338
1298
      --help=recursive    display the short help of all the included packages
1339
1299
  -V, --version           display version information and exit
1340
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1300
  -q, --quiet, --silent   do not print \`checking ...' messages
1341
1301
      --cache-file=FILE   cache test results in FILE [disabled]
1342
1302
  -C, --config-cache      alias for \`--cache-file=config.cache'
1343
1303
  -n, --no-create         do not create output files
1393
1353
 
1394
1354
if test -n "$ac_init_help"; then
1395
1355
  case $ac_init_help in
1396
 
     short | recursive ) echo "Configuration of xdriinfo 1.0.3:";;
 
1356
     short | recursive ) echo "Configuration of xdriinfo 1.0.4:";;
1397
1357
   esac
1398
1358
  cat <<\_ACEOF
1399
1359
 
1405
1365
                          (and sometimes confusing) to the casual installer
1406
1366
  --disable-dependency-tracking  speeds up one-time build
1407
1367
  --enable-dependency-tracking   do not reject slow dependency extractors
1408
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1409
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1410
1368
  --enable-strict-compilation
1411
1369
                          Enable all warnings from compiler and make them
1412
1370
                          errors (default: disabled)
1413
 
 
1414
 
Optional Packages:
1415
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1416
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1417
 
  --with-release-version=STRING
1418
 
                          Use release version string in package name
 
1371
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1372
  --disable-silent-rules         verbose build output (undo: `make V=0')
1419
1373
 
1420
1374
Some influential environment variables:
1421
1375
  CC          C compiler command
1423
1377
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1424
1378
              nonstandard directory <lib dir>
1425
1379
  LIBS        libraries to pass to the linker, e.g. -l<library>
1426
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1380
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427
1381
              you have headers in a nonstandard directory <include dir>
1428
1382
  CPP         C preprocessor
1429
1383
  PKG_CONFIG  path to pkg-config utility
1498
1452
test -n "$ac_init_help" && exit $ac_status
1499
1453
if $ac_init_version; then
1500
1454
  cat <<\_ACEOF
1501
 
xdriinfo configure 1.0.3
1502
 
generated by GNU Autoconf 2.63
 
1455
xdriinfo configure 1.0.4
 
1456
generated by GNU Autoconf 2.68
1503
1457
 
1504
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1505
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1458
Copyright (C) 2010 Free Software Foundation, Inc.
1506
1459
This configure script is free software; the Free Software Foundation
1507
1460
gives unlimited permission to copy, distribute and modify it.
1508
1461
_ACEOF
1509
1462
  exit
1510
1463
fi
 
1464
 
 
1465
## ------------------------ ##
 
1466
## Autoconf initialization. ##
 
1467
## ------------------------ ##
 
1468
 
 
1469
# ac_fn_c_try_compile LINENO
 
1470
# --------------------------
 
1471
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1472
ac_fn_c_try_compile ()
 
1473
{
 
1474
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1475
  rm -f conftest.$ac_objext
 
1476
  if { { ac_try="$ac_compile"
 
1477
case "(($ac_try" in
 
1478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1479
  *) ac_try_echo=$ac_try;;
 
1480
esac
 
1481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1482
$as_echo "$ac_try_echo"; } >&5
 
1483
  (eval "$ac_compile") 2>conftest.err
 
1484
  ac_status=$?
 
1485
  if test -s conftest.err; then
 
1486
    grep -v '^ *+' conftest.err >conftest.er1
 
1487
    cat conftest.er1 >&5
 
1488
    mv -f conftest.er1 conftest.err
 
1489
  fi
 
1490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1491
  test $ac_status = 0; } && {
 
1492
         test -z "$ac_c_werror_flag" ||
 
1493
         test ! -s conftest.err
 
1494
       } && test -s conftest.$ac_objext; then :
 
1495
  ac_retval=0
 
1496
else
 
1497
  $as_echo "$as_me: failed program was:" >&5
 
1498
sed 's/^/| /' conftest.$ac_ext >&5
 
1499
 
 
1500
        ac_retval=1
 
1501
fi
 
1502
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1503
  as_fn_set_status $ac_retval
 
1504
 
 
1505
} # ac_fn_c_try_compile
 
1506
 
 
1507
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1508
# ---------------------------------------------
 
1509
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1510
# accordingly.
 
1511
ac_fn_c_check_decl ()
 
1512
{
 
1513
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1514
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1515
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1516
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1517
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1518
if eval \${$3+:} false; then :
 
1519
  $as_echo_n "(cached) " >&6
 
1520
else
 
1521
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1522
/* end confdefs.h.  */
 
1523
$4
 
1524
int
 
1525
main ()
 
1526
{
 
1527
#ifndef $as_decl_name
 
1528
#ifdef __cplusplus
 
1529
  (void) $as_decl_use;
 
1530
#else
 
1531
  (void) $as_decl_name;
 
1532
#endif
 
1533
#endif
 
1534
 
 
1535
  ;
 
1536
  return 0;
 
1537
}
 
1538
_ACEOF
 
1539
if ac_fn_c_try_compile "$LINENO"; then :
 
1540
  eval "$3=yes"
 
1541
else
 
1542
  eval "$3=no"
 
1543
fi
 
1544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1545
fi
 
1546
eval ac_res=\$$3
 
1547
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1548
$as_echo "$ac_res" >&6; }
 
1549
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1550
 
 
1551
} # ac_fn_c_check_decl
 
1552
 
 
1553
# ac_fn_c_try_cpp LINENO
 
1554
# ----------------------
 
1555
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1556
ac_fn_c_try_cpp ()
 
1557
{
 
1558
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1559
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1560
case "(($ac_try" in
 
1561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1562
  *) ac_try_echo=$ac_try;;
 
1563
esac
 
1564
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1565
$as_echo "$ac_try_echo"; } >&5
 
1566
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1567
  ac_status=$?
 
1568
  if test -s conftest.err; then
 
1569
    grep -v '^ *+' conftest.err >conftest.er1
 
1570
    cat conftest.er1 >&5
 
1571
    mv -f conftest.er1 conftest.err
 
1572
  fi
 
1573
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1574
  test $ac_status = 0; } > conftest.i && {
 
1575
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1576
         test ! -s conftest.err
 
1577
       }; then :
 
1578
  ac_retval=0
 
1579
else
 
1580
  $as_echo "$as_me: failed program was:" >&5
 
1581
sed 's/^/| /' conftest.$ac_ext >&5
 
1582
 
 
1583
    ac_retval=1
 
1584
fi
 
1585
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1586
  as_fn_set_status $ac_retval
 
1587
 
 
1588
} # ac_fn_c_try_cpp
 
1589
 
 
1590
# ac_fn_c_try_run LINENO
 
1591
# ----------------------
 
1592
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1593
# that executables *can* be run.
 
1594
ac_fn_c_try_run ()
 
1595
{
 
1596
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1597
  if { { ac_try="$ac_link"
 
1598
case "(($ac_try" in
 
1599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1600
  *) ac_try_echo=$ac_try;;
 
1601
esac
 
1602
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1603
$as_echo "$ac_try_echo"; } >&5
 
1604
  (eval "$ac_link") 2>&5
 
1605
  ac_status=$?
 
1606
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1607
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1608
  { { case "(($ac_try" in
 
1609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1610
  *) ac_try_echo=$ac_try;;
 
1611
esac
 
1612
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1613
$as_echo "$ac_try_echo"; } >&5
 
1614
  (eval "$ac_try") 2>&5
 
1615
  ac_status=$?
 
1616
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1617
  test $ac_status = 0; }; }; then :
 
1618
  ac_retval=0
 
1619
else
 
1620
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1621
       $as_echo "$as_me: failed program was:" >&5
 
1622
sed 's/^/| /' conftest.$ac_ext >&5
 
1623
 
 
1624
       ac_retval=$ac_status
 
1625
fi
 
1626
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1627
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1628
  as_fn_set_status $ac_retval
 
1629
 
 
1630
} # ac_fn_c_try_run
 
1631
 
 
1632
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1633
# -------------------------------------------------------
 
1634
# Tests whether HEADER exists and can be compiled using the include files in
 
1635
# INCLUDES, setting the cache variable VAR accordingly.
 
1636
ac_fn_c_check_header_compile ()
 
1637
{
 
1638
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1639
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1640
$as_echo_n "checking for $2... " >&6; }
 
1641
if eval \${$3+:} false; then :
 
1642
  $as_echo_n "(cached) " >&6
 
1643
else
 
1644
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1645
/* end confdefs.h.  */
 
1646
$4
 
1647
#include <$2>
 
1648
_ACEOF
 
1649
if ac_fn_c_try_compile "$LINENO"; then :
 
1650
  eval "$3=yes"
 
1651
else
 
1652
  eval "$3=no"
 
1653
fi
 
1654
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1655
fi
 
1656
eval ac_res=\$$3
 
1657
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1658
$as_echo "$ac_res" >&6; }
 
1659
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1660
 
 
1661
} # ac_fn_c_check_header_compile
 
1662
 
 
1663
# ac_fn_c_try_link LINENO
 
1664
# -----------------------
 
1665
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1666
ac_fn_c_try_link ()
 
1667
{
 
1668
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1669
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1670
  if { { ac_try="$ac_link"
 
1671
case "(($ac_try" in
 
1672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1673
  *) ac_try_echo=$ac_try;;
 
1674
esac
 
1675
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1676
$as_echo "$ac_try_echo"; } >&5
 
1677
  (eval "$ac_link") 2>conftest.err
 
1678
  ac_status=$?
 
1679
  if test -s conftest.err; then
 
1680
    grep -v '^ *+' conftest.err >conftest.er1
 
1681
    cat conftest.er1 >&5
 
1682
    mv -f conftest.er1 conftest.err
 
1683
  fi
 
1684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1685
  test $ac_status = 0; } && {
 
1686
         test -z "$ac_c_werror_flag" ||
 
1687
         test ! -s conftest.err
 
1688
       } && test -s conftest$ac_exeext && {
 
1689
         test "$cross_compiling" = yes ||
 
1690
         $as_test_x conftest$ac_exeext
 
1691
       }; then :
 
1692
  ac_retval=0
 
1693
else
 
1694
  $as_echo "$as_me: failed program was:" >&5
 
1695
sed 's/^/| /' conftest.$ac_ext >&5
 
1696
 
 
1697
        ac_retval=1
 
1698
fi
 
1699
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1700
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1701
  # interfere with the next link command; also delete a directory that is
 
1702
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1703
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1704
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1705
  as_fn_set_status $ac_retval
 
1706
 
 
1707
} # ac_fn_c_try_link
1511
1708
cat >config.log <<_ACEOF
1512
1709
This file contains any messages produced by compilers while
1513
1710
running configure, to aid debugging if configure makes a mistake.
1514
1711
 
1515
 
It was created by xdriinfo $as_me 1.0.3, which was
1516
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1712
It was created by xdriinfo $as_me 1.0.4, which was
 
1713
generated by GNU Autoconf 2.68.  Invocation command line was
1517
1714
 
1518
1715
  $ $0 $@
1519
1716
 
1549
1746
do
1550
1747
  IFS=$as_save_IFS
1551
1748
  test -z "$as_dir" && as_dir=.
1552
 
  $as_echo "PATH: $as_dir"
1553
 
done
 
1749
    $as_echo "PATH: $as_dir"
 
1750
  done
1554
1751
IFS=$as_save_IFS
1555
1752
 
1556
1753
} >&5
1587
1784
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1588
1785
    esac
1589
1786
    case $ac_pass in
1590
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1787
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1591
1788
    2)
1592
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1789
      as_fn_append ac_configure_args1 " '$ac_arg'"
1593
1790
      if test $ac_must_keep_next = true; then
1594
1791
        ac_must_keep_next=false # Got value, back to normal.
1595
1792
      else
1605
1802
          -* ) ac_must_keep_next=true ;;
1606
1803
        esac
1607
1804
      fi
1608
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1805
      as_fn_append ac_configure_args " '$ac_arg'"
1609
1806
      ;;
1610
1807
    esac
1611
1808
  done
1612
1809
done
1613
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1614
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1810
{ ac_configure_args0=; unset ac_configure_args0;}
 
1811
{ ac_configure_args1=; unset ac_configure_args1;}
1615
1812
 
1616
1813
# When interrupted or exit'd, cleanup temporary files, and complete
1617
1814
# config.log.  We remove comments because anyway the quotes in there
1623
1820
  {
1624
1821
    echo
1625
1822
 
1626
 
    cat <<\_ASBOX
1627
 
## ---------------- ##
 
1823
    $as_echo "## ---------------- ##
1628
1824
## Cache variables. ##
1629
 
## ---------------- ##
1630
 
_ASBOX
 
1825
## ---------------- ##"
1631
1826
    echo
1632
1827
    # The following way of writing the cache mishandles newlines in values,
1633
1828
(
1636
1831
    case $ac_val in #(
1637
1832
    *${as_nl}*)
1638
1833
      case $ac_var in #(
1639
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1834
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1640
1835
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1641
1836
      esac
1642
1837
      case $ac_var in #(
1643
1838
      _ | IFS | as_nl) ;; #(
1644
1839
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1645
 
      *) $as_unset $ac_var ;;
 
1840
      *) { eval $ac_var=; unset $ac_var;} ;;
1646
1841
      esac ;;
1647
1842
    esac
1648
1843
  done
1661
1856
)
1662
1857
    echo
1663
1858
 
1664
 
    cat <<\_ASBOX
1665
 
## ----------------- ##
 
1859
    $as_echo "## ----------------- ##
1666
1860
## Output variables. ##
1667
 
## ----------------- ##
1668
 
_ASBOX
 
1861
## ----------------- ##"
1669
1862
    echo
1670
1863
    for ac_var in $ac_subst_vars
1671
1864
    do
1678
1871
    echo
1679
1872
 
1680
1873
    if test -n "$ac_subst_files"; then
1681
 
      cat <<\_ASBOX
1682
 
## ------------------- ##
 
1874
      $as_echo "## ------------------- ##
1683
1875
## File substitutions. ##
1684
 
## ------------------- ##
1685
 
_ASBOX
 
1876
## ------------------- ##"
1686
1877
      echo
1687
1878
      for ac_var in $ac_subst_files
1688
1879
      do
1696
1887
    fi
1697
1888
 
1698
1889
    if test -s confdefs.h; then
1699
 
      cat <<\_ASBOX
1700
 
## ----------- ##
 
1890
      $as_echo "## ----------- ##
1701
1891
## confdefs.h. ##
1702
 
## ----------- ##
1703
 
_ASBOX
 
1892
## ----------- ##"
1704
1893
      echo
1705
1894
      cat confdefs.h
1706
1895
      echo
1714
1903
    exit $exit_status
1715
1904
' 0
1716
1905
for ac_signal in 1 2 13 15; do
1717
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1906
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1718
1907
done
1719
1908
ac_signal=0
1720
1909
 
1721
1910
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1722
1911
rm -f -r conftest* confdefs.h
1723
1912
 
 
1913
$as_echo "/* confdefs.h */" > confdefs.h
 
1914
 
1724
1915
# Predefined preprocessor variables.
1725
1916
 
1726
1917
cat >>confdefs.h <<_ACEOF
1727
1918
#define PACKAGE_NAME "$PACKAGE_NAME"
1728
1919
_ACEOF
1729
1920
 
1730
 
 
1731
1921
cat >>confdefs.h <<_ACEOF
1732
1922
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733
1923
_ACEOF
1734
1924
 
1735
 
 
1736
1925
cat >>confdefs.h <<_ACEOF
1737
1926
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1738
1927
_ACEOF
1739
1928
 
1740
 
 
1741
1929
cat >>confdefs.h <<_ACEOF
1742
1930
#define PACKAGE_STRING "$PACKAGE_STRING"
1743
1931
_ACEOF
1744
1932
 
1745
 
 
1746
1933
cat >>confdefs.h <<_ACEOF
1747
1934
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748
1935
_ACEOF
1749
1936
 
 
1937
cat >>confdefs.h <<_ACEOF
 
1938
#define PACKAGE_URL "$PACKAGE_URL"
 
1939
_ACEOF
 
1940
 
1750
1941
 
1751
1942
# Let the site file select an alternate cache file if it wants to.
1752
1943
# Prefer an explicitly selected file to automatically selected ones.
1753
1944
ac_site_file1=NONE
1754
1945
ac_site_file2=NONE
1755
1946
if test -n "$CONFIG_SITE"; then
1756
 
  ac_site_file1=$CONFIG_SITE
 
1947
  # We do not want a PATH search for config.site.
 
1948
  case $CONFIG_SITE in #((
 
1949
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1950
    */*) ac_site_file1=$CONFIG_SITE;;
 
1951
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1952
  esac
1757
1953
elif test "x$prefix" != xNONE; then
1758
1954
  ac_site_file1=$prefix/share/config.site
1759
1955
  ac_site_file2=$prefix/etc/config.site
1764
1960
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1765
1961
do
1766
1962
  test "x$ac_site_file" = xNONE && continue
1767
 
  if test -r "$ac_site_file"; then
1768
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1963
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1964
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1769
1965
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1770
1966
    sed 's/^/| /' "$ac_site_file" >&5
1771
 
    . "$ac_site_file"
 
1967
    . "$ac_site_file" \
 
1968
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1969
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1970
as_fn_error $? "failed to load site script $ac_site_file
 
1971
See \`config.log' for more details" "$LINENO" 5; }
1772
1972
  fi
1773
1973
done
1774
1974
 
1775
1975
if test -r "$cache_file"; then
1776
 
  # Some versions of bash will fail to source /dev/null (special
1777
 
  # files actually), so we avoid doing that.
1778
 
  if test -f "$cache_file"; then
1779
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1976
  # Some versions of bash will fail to source /dev/null (special files
 
1977
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1978
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1979
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1780
1980
$as_echo "$as_me: loading cache $cache_file" >&6;}
1781
1981
    case $cache_file in
1782
1982
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1784
1984
    esac
1785
1985
  fi
1786
1986
else
1787
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1987
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1788
1988
$as_echo "$as_me: creating cache $cache_file" >&6;}
1789
1989
  >$cache_file
1790
1990
fi
1799
1999
  eval ac_new_val=\$ac_env_${ac_var}_value
1800
2000
  case $ac_old_set,$ac_new_set in
1801
2001
    set,)
1802
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2002
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1803
2003
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1804
2004
      ac_cache_corrupted=: ;;
1805
2005
    ,set)
1806
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2006
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1807
2007
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1808
2008
      ac_cache_corrupted=: ;;
1809
2009
    ,);;
1813
2013
        ac_old_val_w=`echo x $ac_old_val`
1814
2014
        ac_new_val_w=`echo x $ac_new_val`
1815
2015
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1816
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2016
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1817
2017
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1818
2018
          ac_cache_corrupted=:
1819
2019
        else
1820
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2020
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1821
2021
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1822
2022
          eval $ac_var=\$ac_old_val
1823
2023
        fi
1824
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2024
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1825
2025
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1826
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2026
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1827
2027
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1828
2028
      fi;;
1829
2029
  esac
1835
2035
    esac
1836
2036
    case " $ac_configure_args " in
1837
2037
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1838
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2038
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1839
2039
    esac
1840
2040
  fi
1841
2041
done
1842
2042
if $ac_cache_corrupted; then
1843
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2043
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1844
2044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1845
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2045
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1846
2046
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1847
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1848
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1849
 
   { (exit 1); exit 1; }; }
 
2047
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1850
2048
fi
1851
 
 
1852
 
 
1853
 
 
1854
 
 
1855
 
 
1856
 
 
1857
 
 
1858
 
 
1859
 
 
1860
 
 
1861
 
 
1862
 
 
1863
 
 
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
 
2049
## -------------------- ##
 
2050
## Main body of script. ##
 
2051
## -------------------- ##
1875
2052
 
1876
2053
ac_ext=c
1877
2054
ac_cpp='$CPP $CPPFLAGS'
1880
2057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1881
2058
 
1882
2059
 
 
2060
 
 
2061
ac_config_headers="$ac_config_headers config.h"
 
2062
 
 
2063
 
 
2064
# Initialize Automake
1883
2065
am__api_version='1.11'
1884
2066
 
1885
2067
ac_aux_dir=
1899
2081
  fi
1900
2082
done
1901
2083
if test -z "$ac_aux_dir"; then
1902
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1903
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1904
 
   { (exit 1); exit 1; }; }
 
2084
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1905
2085
fi
1906
2086
 
1907
2087
# These three variables are undocumented and unsupported,
1927
2107
# OS/2's system install, which has a completely different semantic
1928
2108
# ./install, which can be erroneously created by make from ./install.sh.
1929
2109
# Reject install programs that cannot install multiple files.
1930
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1931
2111
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1932
2112
if test -z "$INSTALL"; then
1933
 
if test "${ac_cv_path_install+set}" = set; then
 
2113
if ${ac_cv_path_install+:} false; then :
1934
2114
  $as_echo_n "(cached) " >&6
1935
2115
else
1936
2116
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938
2118
do
1939
2119
  IFS=$as_save_IFS
1940
2120
  test -z "$as_dir" && as_dir=.
1941
 
  # Account for people who put trailing slashes in PATH elements.
1942
 
case $as_dir/ in
1943
 
  ./ | .// | /cC/* | \
 
2121
    # Account for people who put trailing slashes in PATH elements.
 
2122
case $as_dir/ in #((
 
2123
  ./ | .// | /[cC]/* | \
1944
2124
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1945
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2125
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1946
2126
  /usr/ucb/* ) ;;
1947
2127
  *)
1948
2128
    # OSF1 and SCO ODT 3.0 have their own names for install.
1979
2159
    ;;
1980
2160
esac
1981
2161
 
1982
 
done
 
2162
  done
1983
2163
IFS=$as_save_IFS
1984
2164
 
1985
2165
rm -rf conftest.one conftest.two conftest.dir
1995
2175
    INSTALL=$ac_install_sh
1996
2176
  fi
1997
2177
fi
1998
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1999
2179
$as_echo "$INSTALL" >&6; }
2000
2180
 
2001
2181
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2006
2186
 
2007
2187
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2008
2188
 
2009
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2010
2190
$as_echo_n "checking whether build environment is sane... " >&6; }
2011
2191
# Just in case
2012
2192
sleep 1
2017
2197
'
2018
2198
case `pwd` in
2019
2199
  *[\\\"\#\$\&\'\`$am_lf]*)
2020
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2021
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2022
 
   { (exit 1); exit 1; }; };;
 
2200
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2023
2201
esac
2024
2202
case $srcdir in
2025
2203
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2026
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2027
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2028
 
   { (exit 1); exit 1; }; };;
 
2204
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2029
2205
esac
2030
2206
 
2031
2207
# Do `set' in a subshell so we don't clobber the current shell's
2047
2223
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2048
2224
      # broken ls alias from the environment.  This has actually
2049
2225
      # happened.  Such a system could not be considered "sane".
2050
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2051
 
alias in your environment" >&5
2052
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2053
 
alias in your environment" >&2;}
2054
 
   { (exit 1); exit 1; }; }
 
2226
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2227
alias in your environment" "$LINENO" 5
2055
2228
   fi
2056
2229
 
2057
2230
   test "$2" = conftest.file
2060
2233
   # Ok.
2061
2234
   :
2062
2235
else
2063
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2064
 
Check your system clock" >&5
2065
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2066
 
Check your system clock" >&2;}
2067
 
   { (exit 1); exit 1; }; }
 
2236
   as_fn_error $? "newly created file is older than distributed files!
 
2237
Check your system clock" "$LINENO" 5
2068
2238
fi
2069
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2070
2240
$as_echo "yes" >&6; }
2071
2241
test "$program_prefix" != NONE &&
2072
2242
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2094
2264
  am_missing_run="$MISSING --run "
2095
2265
else
2096
2266
  am_missing_run=
2097
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2267
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2098
2268
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2099
2269
fi
2100
2270
 
2115
2285
  if test -n "$ac_tool_prefix"; then
2116
2286
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2117
2287
set dummy ${ac_tool_prefix}strip; ac_word=$2
2118
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2119
2289
$as_echo_n "checking for $ac_word... " >&6; }
2120
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2290
if ${ac_cv_prog_STRIP+:} false; then :
2121
2291
  $as_echo_n "(cached) " >&6
2122
2292
else
2123
2293
  if test -n "$STRIP"; then
2128
2298
do
2129
2299
  IFS=$as_save_IFS
2130
2300
  test -z "$as_dir" && as_dir=.
2131
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2301
    for ac_exec_ext in '' $ac_executable_extensions; do
2132
2302
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133
2303
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2134
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2304
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135
2305
    break 2
2136
2306
  fi
2137
2307
done
2138
 
done
 
2308
  done
2139
2309
IFS=$as_save_IFS
2140
2310
 
2141
2311
fi
2142
2312
fi
2143
2313
STRIP=$ac_cv_prog_STRIP
2144
2314
if test -n "$STRIP"; then
2145
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2146
2316
$as_echo "$STRIP" >&6; }
2147
2317
else
2148
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2149
2319
$as_echo "no" >&6; }
2150
2320
fi
2151
2321
 
2155
2325
  ac_ct_STRIP=$STRIP
2156
2326
  # Extract the first word of "strip", so it can be a program name with args.
2157
2327
set dummy strip; ac_word=$2
2158
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2159
2329
$as_echo_n "checking for $ac_word... " >&6; }
2160
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2330
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2161
2331
  $as_echo_n "(cached) " >&6
2162
2332
else
2163
2333
  if test -n "$ac_ct_STRIP"; then
2168
2338
do
2169
2339
  IFS=$as_save_IFS
2170
2340
  test -z "$as_dir" && as_dir=.
2171
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2341
    for ac_exec_ext in '' $ac_executable_extensions; do
2172
2342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173
2343
    ac_cv_prog_ac_ct_STRIP="strip"
2174
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2344
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2175
2345
    break 2
2176
2346
  fi
2177
2347
done
2178
 
done
 
2348
  done
2179
2349
IFS=$as_save_IFS
2180
2350
 
2181
2351
fi
2182
2352
fi
2183
2353
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2184
2354
if test -n "$ac_ct_STRIP"; then
2185
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2186
2356
$as_echo "$ac_ct_STRIP" >&6; }
2187
2357
else
2188
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2189
2359
$as_echo "no" >&6; }
2190
2360
fi
2191
2361
 
2194
2364
  else
2195
2365
    case $cross_compiling:$ac_tool_warned in
2196
2366
yes:)
2197
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2198
2368
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2199
2369
ac_tool_warned=yes ;;
2200
2370
esac
2207
2377
fi
2208
2378
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2209
2379
 
2210
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2211
2381
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2212
2382
if test -z "$MKDIR_P"; then
2213
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2383
  if ${ac_cv_path_mkdir+:} false; then :
2214
2384
  $as_echo_n "(cached) " >&6
2215
2385
else
2216
2386
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218
2388
do
2219
2389
  IFS=$as_save_IFS
2220
2390
  test -z "$as_dir" && as_dir=.
2221
 
  for ac_prog in mkdir gmkdir; do
 
2391
    for ac_prog in mkdir gmkdir; do
2222
2392
         for ac_exec_ext in '' $ac_executable_extensions; do
2223
2393
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2224
2394
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2230
2400
           esac
2231
2401
         done
2232
2402
       done
2233
 
done
 
2403
  done
2234
2404
IFS=$as_save_IFS
2235
2405
 
2236
2406
fi
2237
2407
 
 
2408
  test -d ./--version && rmdir ./--version
2238
2409
  if test "${ac_cv_path_mkdir+set}" = set; then
2239
2410
    MKDIR_P="$ac_cv_path_mkdir -p"
2240
2411
  else
2242
2413
    # value for MKDIR_P within a source directory, because that will
2243
2414
    # break other packages using the cache if that directory is
2244
2415
    # removed, or if the value is a relative name.
2245
 
    test -d ./--version && rmdir ./--version
2246
2416
    MKDIR_P="$ac_install_sh -d"
2247
2417
  fi
2248
2418
fi
2249
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2250
2420
$as_echo "$MKDIR_P" >&6; }
2251
2421
 
2252
2422
mkdir_p="$MKDIR_P"
2259
2429
do
2260
2430
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2261
2431
set dummy $ac_prog; ac_word=$2
2262
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263
2433
$as_echo_n "checking for $ac_word... " >&6; }
2264
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2434
if ${ac_cv_prog_AWK+:} false; then :
2265
2435
  $as_echo_n "(cached) " >&6
2266
2436
else
2267
2437
  if test -n "$AWK"; then
2272
2442
do
2273
2443
  IFS=$as_save_IFS
2274
2444
  test -z "$as_dir" && as_dir=.
2275
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2445
    for ac_exec_ext in '' $ac_executable_extensions; do
2276
2446
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277
2447
    ac_cv_prog_AWK="$ac_prog"
2278
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2448
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279
2449
    break 2
2280
2450
  fi
2281
2451
done
2282
 
done
 
2452
  done
2283
2453
IFS=$as_save_IFS
2284
2454
 
2285
2455
fi
2286
2456
fi
2287
2457
AWK=$ac_cv_prog_AWK
2288
2458
if test -n "$AWK"; then
2289
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2290
2460
$as_echo "$AWK" >&6; }
2291
2461
else
2292
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2462
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293
2463
$as_echo "no" >&6; }
2294
2464
fi
2295
2465
 
2297
2467
  test -n "$AWK" && break
2298
2468
done
2299
2469
 
2300
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2301
2471
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2302
2472
set x ${MAKE-make}
2303
2473
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2304
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2474
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2305
2475
  $as_echo_n "(cached) " >&6
2306
2476
else
2307
2477
  cat >conftest.make <<\_ACEOF
2309
2479
all:
2310
2480
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2311
2481
_ACEOF
2312
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2482
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2313
2483
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2314
2484
  *@@@%%%=?*=@@@%%%*)
2315
2485
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2319
2489
rm -f conftest.make
2320
2490
fi
2321
2491
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2322
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2323
2493
$as_echo "yes" >&6; }
2324
2494
  SET_MAKE=
2325
2495
else
2326
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327
2497
$as_echo "no" >&6; }
2328
2498
  SET_MAKE="MAKE=${MAKE-make}"
2329
2499
fi
2343
2513
  am__isrc=' -I$(srcdir)'
2344
2514
  # test to see if srcdir already configured
2345
2515
  if test -f $srcdir/config.status; then
2346
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2347
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2348
 
   { (exit 1); exit 1; }; }
 
2516
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2349
2517
  fi
2350
2518
fi
2351
2519
 
2361
2529
 
2362
2530
# Define the identity of the package.
2363
2531
 PACKAGE='xdriinfo'
2364
 
 VERSION='1.0.3'
 
2532
 VERSION='1.0.4'
2365
2533
 
2366
2534
 
2367
2535
cat >>confdefs.h <<_ACEOF
2402
2570
 
2403
2571
 
2404
2572
 
2405
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2406
2574
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2407
2575
    # Check whether --enable-maintainer-mode was given.
2408
 
if test "${enable_maintainer_mode+set}" = set; then
 
2576
if test "${enable_maintainer_mode+set}" = set; then :
2409
2577
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2410
2578
else
2411
2579
  USE_MAINTAINER_MODE=no
2412
2580
fi
2413
2581
 
2414
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2415
2583
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2416
2584
   if test $USE_MAINTAINER_MODE = yes; then
2417
2585
  MAINTAINER_MODE_TRUE=
2425
2593
 
2426
2594
 
2427
2595
 
2428
 
# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
2429
 
 
2430
 
 
2431
 
 
2432
 
 
2433
 
 
2434
 
 
2435
 
 
2436
 
 
2437
 
 
2438
 
 
2439
 
 
2440
 
 
2441
 
ac_config_headers="$ac_config_headers config.h"
 
2596
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
 
2597
 
 
2598
 
 
2599
 
 
2600
 
 
2601
 
 
2602
 
 
2603
 
 
2604
 
 
2605
 
 
2606
 
 
2607
 
 
2608
DEPDIR="${am__leading_dot}deps"
 
2609
 
 
2610
ac_config_commands="$ac_config_commands depfiles"
 
2611
 
 
2612
 
 
2613
am_make=${MAKE-make}
 
2614
cat > confinc << 'END'
 
2615
am__doit:
 
2616
        @echo this is the am__doit target
 
2617
.PHONY: am__doit
 
2618
END
 
2619
# If we don't find an include directive, just comment out the code.
 
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2621
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2622
am__include="#"
 
2623
am__quote=
 
2624
_am_result=none
 
2625
# First try GNU make style include.
 
2626
echo "include confinc" > confmf
 
2627
# Ignore all kinds of additional output from `make'.
 
2628
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2629
*the\ am__doit\ target*)
 
2630
  am__include=include
 
2631
  am__quote=
 
2632
  _am_result=GNU
 
2633
  ;;
 
2634
esac
 
2635
# Now try BSD make style include.
 
2636
if test "$am__include" = "#"; then
 
2637
   echo '.include "confinc"' > confmf
 
2638
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2639
   *the\ am__doit\ target*)
 
2640
     am__include=.include
 
2641
     am__quote="\""
 
2642
     _am_result=BSD
 
2643
     ;;
 
2644
   esac
 
2645
fi
 
2646
 
 
2647
 
 
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2649
$as_echo "$_am_result" >&6; }
 
2650
rm -f confinc confmf
 
2651
 
 
2652
# Check whether --enable-dependency-tracking was given.
 
2653
if test "${enable_dependency_tracking+set}" = set; then :
 
2654
  enableval=$enable_dependency_tracking;
 
2655
fi
 
2656
 
 
2657
if test "x$enable_dependency_tracking" != xno; then
 
2658
  am_depcomp="$ac_aux_dir/depcomp"
 
2659
  AMDEPBACKSLASH='\'
 
2660
fi
 
2661
 if test "x$enable_dependency_tracking" != xno; then
 
2662
  AMDEP_TRUE=
 
2663
  AMDEP_FALSE='#'
 
2664
else
 
2665
  AMDEP_TRUE='#'
 
2666
  AMDEP_FALSE=
 
2667
fi
2442
2668
 
2443
2669
 
2444
2670
ac_ext=c
2449
2675
if test -n "$ac_tool_prefix"; then
2450
2676
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2451
2677
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2452
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453
2679
$as_echo_n "checking for $ac_word... " >&6; }
2454
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2680
if ${ac_cv_prog_CC+:} false; then :
2455
2681
  $as_echo_n "(cached) " >&6
2456
2682
else
2457
2683
  if test -n "$CC"; then
2462
2688
do
2463
2689
  IFS=$as_save_IFS
2464
2690
  test -z "$as_dir" && as_dir=.
2465
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2691
    for ac_exec_ext in '' $ac_executable_extensions; do
2466
2692
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467
2693
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2468
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2469
2695
    break 2
2470
2696
  fi
2471
2697
done
2472
 
done
 
2698
  done
2473
2699
IFS=$as_save_IFS
2474
2700
 
2475
2701
fi
2476
2702
fi
2477
2703
CC=$ac_cv_prog_CC
2478
2704
if test -n "$CC"; then
2479
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2480
2706
$as_echo "$CC" >&6; }
2481
2707
else
2482
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2708
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483
2709
$as_echo "no" >&6; }
2484
2710
fi
2485
2711
 
2489
2715
  ac_ct_CC=$CC
2490
2716
  # Extract the first word of "gcc", so it can be a program name with args.
2491
2717
set dummy gcc; ac_word=$2
2492
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2493
2719
$as_echo_n "checking for $ac_word... " >&6; }
2494
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2720
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2495
2721
  $as_echo_n "(cached) " >&6
2496
2722
else
2497
2723
  if test -n "$ac_ct_CC"; then
2502
2728
do
2503
2729
  IFS=$as_save_IFS
2504
2730
  test -z "$as_dir" && as_dir=.
2505
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2731
    for ac_exec_ext in '' $ac_executable_extensions; do
2506
2732
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507
2733
    ac_cv_prog_ac_ct_CC="gcc"
2508
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2734
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509
2735
    break 2
2510
2736
  fi
2511
2737
done
2512
 
done
 
2738
  done
2513
2739
IFS=$as_save_IFS
2514
2740
 
2515
2741
fi
2516
2742
fi
2517
2743
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2518
2744
if test -n "$ac_ct_CC"; then
2519
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2520
2746
$as_echo "$ac_ct_CC" >&6; }
2521
2747
else
2522
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2523
2749
$as_echo "no" >&6; }
2524
2750
fi
2525
2751
 
2528
2754
  else
2529
2755
    case $cross_compiling:$ac_tool_warned in
2530
2756
yes:)
2531
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2532
2758
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2533
2759
ac_tool_warned=yes ;;
2534
2760
esac
2542
2768
          if test -n "$ac_tool_prefix"; then
2543
2769
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2544
2770
set dummy ${ac_tool_prefix}cc; ac_word=$2
2545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546
2772
$as_echo_n "checking for $ac_word... " >&6; }
2547
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2773
if ${ac_cv_prog_CC+:} false; then :
2548
2774
  $as_echo_n "(cached) " >&6
2549
2775
else
2550
2776
  if test -n "$CC"; then
2555
2781
do
2556
2782
  IFS=$as_save_IFS
2557
2783
  test -z "$as_dir" && as_dir=.
2558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2784
    for ac_exec_ext in '' $ac_executable_extensions; do
2559
2785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560
2786
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2561
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2787
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562
2788
    break 2
2563
2789
  fi
2564
2790
done
2565
 
done
 
2791
  done
2566
2792
IFS=$as_save_IFS
2567
2793
 
2568
2794
fi
2569
2795
fi
2570
2796
CC=$ac_cv_prog_CC
2571
2797
if test -n "$CC"; then
2572
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2573
2799
$as_echo "$CC" >&6; }
2574
2800
else
2575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576
2802
$as_echo "no" >&6; }
2577
2803
fi
2578
2804
 
2582
2808
if test -z "$CC"; then
2583
2809
  # Extract the first word of "cc", so it can be a program name with args.
2584
2810
set dummy cc; ac_word=$2
2585
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586
2812
$as_echo_n "checking for $ac_word... " >&6; }
2587
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2813
if ${ac_cv_prog_CC+:} false; then :
2588
2814
  $as_echo_n "(cached) " >&6
2589
2815
else
2590
2816
  if test -n "$CC"; then
2596
2822
do
2597
2823
  IFS=$as_save_IFS
2598
2824
  test -z "$as_dir" && as_dir=.
2599
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2825
    for ac_exec_ext in '' $ac_executable_extensions; do
2600
2826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601
2827
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2602
2828
       ac_prog_rejected=yes
2603
2829
       continue
2604
2830
     fi
2605
2831
    ac_cv_prog_CC="cc"
2606
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2832
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607
2833
    break 2
2608
2834
  fi
2609
2835
done
2610
 
done
 
2836
  done
2611
2837
IFS=$as_save_IFS
2612
2838
 
2613
2839
if test $ac_prog_rejected = yes; then
2626
2852
fi
2627
2853
CC=$ac_cv_prog_CC
2628
2854
if test -n "$CC"; then
2629
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2630
2856
$as_echo "$CC" >&6; }
2631
2857
else
2632
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633
2859
$as_echo "no" >&6; }
2634
2860
fi
2635
2861
 
2641
2867
  do
2642
2868
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2643
2869
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2644
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645
2871
$as_echo_n "checking for $ac_word... " >&6; }
2646
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2872
if ${ac_cv_prog_CC+:} false; then :
2647
2873
  $as_echo_n "(cached) " >&6
2648
2874
else
2649
2875
  if test -n "$CC"; then
2654
2880
do
2655
2881
  IFS=$as_save_IFS
2656
2882
  test -z "$as_dir" && as_dir=.
2657
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2883
    for ac_exec_ext in '' $ac_executable_extensions; do
2658
2884
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659
2885
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2660
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2886
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661
2887
    break 2
2662
2888
  fi
2663
2889
done
2664
 
done
 
2890
  done
2665
2891
IFS=$as_save_IFS
2666
2892
 
2667
2893
fi
2668
2894
fi
2669
2895
CC=$ac_cv_prog_CC
2670
2896
if test -n "$CC"; then
2671
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2672
2898
$as_echo "$CC" >&6; }
2673
2899
else
2674
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675
2901
$as_echo "no" >&6; }
2676
2902
fi
2677
2903
 
2685
2911
do
2686
2912
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2687
2913
set dummy $ac_prog; ac_word=$2
2688
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689
2915
$as_echo_n "checking for $ac_word... " >&6; }
2690
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2916
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2691
2917
  $as_echo_n "(cached) " >&6
2692
2918
else
2693
2919
  if test -n "$ac_ct_CC"; then
2698
2924
do
2699
2925
  IFS=$as_save_IFS
2700
2926
  test -z "$as_dir" && as_dir=.
2701
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2927
    for ac_exec_ext in '' $ac_executable_extensions; do
2702
2928
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703
2929
    ac_cv_prog_ac_ct_CC="$ac_prog"
2704
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2930
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705
2931
    break 2
2706
2932
  fi
2707
2933
done
2708
 
done
 
2934
  done
2709
2935
IFS=$as_save_IFS
2710
2936
 
2711
2937
fi
2712
2938
fi
2713
2939
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2714
2940
if test -n "$ac_ct_CC"; then
2715
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2716
2942
$as_echo "$ac_ct_CC" >&6; }
2717
2943
else
2718
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719
2945
$as_echo "no" >&6; }
2720
2946
fi
2721
2947
 
2728
2954
  else
2729
2955
    case $cross_compiling:$ac_tool_warned in
2730
2956
yes:)
2731
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2732
2958
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2733
2959
ac_tool_warned=yes ;;
2734
2960
esac
2739
2965
fi
2740
2966
 
2741
2967
 
2742
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2968
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743
2969
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2745
 
See \`config.log' for more details." >&5
2746
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2747
 
See \`config.log' for more details." >&2;}
2748
 
   { (exit 1); exit 1; }; }; }
 
2970
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2971
See \`config.log' for more details" "$LINENO" 5; }
2749
2972
 
2750
2973
# Provide some information about the compiler.
2751
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2974
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2752
2975
set X $ac_compile
2753
2976
ac_compiler=$2
2754
 
{ (ac_try="$ac_compiler --version >&5"
2755
 
case "(($ac_try" in
2756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757
 
  *) ac_try_echo=$ac_try;;
2758
 
esac
2759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2760
 
$as_echo "$ac_try_echo") >&5
2761
 
  (eval "$ac_compiler --version >&5") 2>&5
2762
 
  ac_status=$?
2763
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
 
  (exit $ac_status); }
2765
 
{ (ac_try="$ac_compiler -v >&5"
2766
 
case "(($ac_try" in
2767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768
 
  *) ac_try_echo=$ac_try;;
2769
 
esac
2770
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2771
 
$as_echo "$ac_try_echo") >&5
2772
 
  (eval "$ac_compiler -v >&5") 2>&5
2773
 
  ac_status=$?
2774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
 
  (exit $ac_status); }
2776
 
{ (ac_try="$ac_compiler -V >&5"
2777
 
case "(($ac_try" in
2778
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779
 
  *) ac_try_echo=$ac_try;;
2780
 
esac
2781
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2782
 
$as_echo "$ac_try_echo") >&5
2783
 
  (eval "$ac_compiler -V >&5") 2>&5
2784
 
  ac_status=$?
2785
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786
 
  (exit $ac_status); }
 
2977
for ac_option in --version -v -V -qversion; do
 
2978
  { { ac_try="$ac_compiler $ac_option >&5"
 
2979
case "(($ac_try" in
 
2980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2981
  *) ac_try_echo=$ac_try;;
 
2982
esac
 
2983
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2984
$as_echo "$ac_try_echo"; } >&5
 
2985
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2986
  ac_status=$?
 
2987
  if test -s conftest.err; then
 
2988
    sed '10a\
 
2989
... rest of stderr output deleted ...
 
2990
         10q' conftest.err >conftest.er1
 
2991
    cat conftest.er1 >&5
 
2992
  fi
 
2993
  rm -f conftest.er1 conftest.err
 
2994
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2995
  test $ac_status = 0; }
 
2996
done
2787
2997
 
2788
 
cat >conftest.$ac_ext <<_ACEOF
2789
 
/* confdefs.h.  */
2790
 
_ACEOF
2791
 
cat confdefs.h >>conftest.$ac_ext
2792
 
cat >>conftest.$ac_ext <<_ACEOF
 
2998
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793
2999
/* end confdefs.h.  */
2794
3000
 
2795
3001
int
2805
3011
# Try to create an executable without -o first, disregard a.out.
2806
3012
# It will help us diagnose broken compilers, and finding out an intuition
2807
3013
# of exeext.
2808
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2809
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3015
$as_echo_n "checking whether the C compiler works... " >&6; }
2810
3016
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2811
3017
 
2812
3018
# The possible output files:
2822
3028
done
2823
3029
rm -f $ac_rmfiles
2824
3030
 
2825
 
if { (ac_try="$ac_link_default"
 
3031
if { { ac_try="$ac_link_default"
2826
3032
case "(($ac_try" in
2827
3033
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828
3034
  *) ac_try_echo=$ac_try;;
2829
3035
esac
2830
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2831
 
$as_echo "$ac_try_echo") >&5
 
3036
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3037
$as_echo "$ac_try_echo"; } >&5
2832
3038
  (eval "$ac_link_default") 2>&5
2833
3039
  ac_status=$?
2834
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835
 
  (exit $ac_status); }; then
 
3040
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3041
  test $ac_status = 0; }; then :
2836
3042
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2837
3043
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2838
3044
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2849
3055
        # certainly right.
2850
3056
        break;;
2851
3057
    *.* )
2852
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3058
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2853
3059
        then :; else
2854
3060
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2855
3061
        fi
2868
3074
else
2869
3075
  ac_file=''
2870
3076
fi
 
3077
if test -z "$ac_file"; then :
 
3078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3079
$as_echo "no" >&6; }
 
3080
$as_echo "$as_me: failed program was:" >&5
 
3081
sed 's/^/| /' conftest.$ac_ext >&5
2871
3082
 
2872
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3083
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3084
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3085
as_fn_error 77 "C compiler cannot create executables
 
3086
See \`config.log' for more details" "$LINENO" 5; }
 
3087
else
 
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3089
$as_echo "yes" >&6; }
 
3090
fi
 
3091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3092
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2873
3094
$as_echo "$ac_file" >&6; }
2874
 
if test -z "$ac_file"; then
2875
 
  $as_echo "$as_me: failed program was:" >&5
2876
 
sed 's/^/| /' conftest.$ac_ext >&5
2877
 
 
2878
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2879
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2880
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2881
 
See \`config.log' for more details." >&5
2882
 
$as_echo "$as_me: error: C compiler cannot create executables
2883
 
See \`config.log' for more details." >&2;}
2884
 
   { (exit 77); exit 77; }; }; }
2885
 
fi
2886
 
 
2887
3095
ac_exeext=$ac_cv_exeext
2888
3096
 
2889
 
# Check that the compiler produces executables we can run.  If not, either
2890
 
# the compiler is broken, or we cross compile.
2891
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2892
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2893
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2894
 
# If not cross compiling, check that we can run a simple program.
2895
 
if test "$cross_compiling" != yes; then
2896
 
  if { ac_try='./$ac_file'
2897
 
  { (case "(($ac_try" in
2898
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899
 
  *) ac_try_echo=$ac_try;;
2900
 
esac
2901
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2902
 
$as_echo "$ac_try_echo") >&5
2903
 
  (eval "$ac_try") 2>&5
2904
 
  ac_status=$?
2905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
 
  (exit $ac_status); }; }; then
2907
 
    cross_compiling=no
2908
 
  else
2909
 
    if test "$cross_compiling" = maybe; then
2910
 
        cross_compiling=yes
2911
 
    else
2912
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2913
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2914
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2915
 
If you meant to cross compile, use \`--host'.
2916
 
See \`config.log' for more details." >&5
2917
 
$as_echo "$as_me: error: cannot run C compiled programs.
2918
 
If you meant to cross compile, use \`--host'.
2919
 
See \`config.log' for more details." >&2;}
2920
 
   { (exit 1); exit 1; }; }; }
2921
 
    fi
2922
 
  fi
2923
 
fi
2924
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2925
 
$as_echo "yes" >&6; }
2926
 
 
2927
3097
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2928
3098
ac_clean_files=$ac_clean_files_save
2929
 
# Check that the compiler produces executables we can run.  If not, either
2930
 
# the compiler is broken, or we cross compile.
2931
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2932
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2933
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2934
 
$as_echo "$cross_compiling" >&6; }
2935
 
 
2936
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2937
3100
$as_echo_n "checking for suffix of executables... " >&6; }
2938
 
if { (ac_try="$ac_link"
 
3101
if { { ac_try="$ac_link"
2939
3102
case "(($ac_try" in
2940
3103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941
3104
  *) ac_try_echo=$ac_try;;
2942
3105
esac
2943
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2944
 
$as_echo "$ac_try_echo") >&5
 
3106
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3107
$as_echo "$ac_try_echo"; } >&5
2945
3108
  (eval "$ac_link") 2>&5
2946
3109
  ac_status=$?
2947
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
 
  (exit $ac_status); }; then
 
3110
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3111
  test $ac_status = 0; }; then :
2949
3112
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2950
3113
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2951
3114
# work properly (i.e., refer to `conftest.exe'), while it won't with
2960
3123
  esac
2961
3124
done
2962
3125
else
2963
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3126
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2964
3127
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2965
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2966
 
See \`config.log' for more details." >&5
2967
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2968
 
See \`config.log' for more details." >&2;}
2969
 
   { (exit 1); exit 1; }; }; }
 
3128
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3129
See \`config.log' for more details" "$LINENO" 5; }
2970
3130
fi
2971
 
 
2972
 
rm -f conftest$ac_cv_exeext
2973
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3131
rm -f conftest conftest$ac_cv_exeext
 
3132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2974
3133
$as_echo "$ac_cv_exeext" >&6; }
2975
3134
 
2976
3135
rm -f conftest.$ac_ext
2977
3136
EXEEXT=$ac_cv_exeext
2978
3137
ac_exeext=$EXEEXT
2979
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3138
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3139
/* end confdefs.h.  */
 
3140
#include <stdio.h>
 
3141
int
 
3142
main ()
 
3143
{
 
3144
FILE *f = fopen ("conftest.out", "w");
 
3145
 return ferror (f) || fclose (f) != 0;
 
3146
 
 
3147
  ;
 
3148
  return 0;
 
3149
}
 
3150
_ACEOF
 
3151
ac_clean_files="$ac_clean_files conftest.out"
 
3152
# Check that the compiler produces executables we can run.  If not, either
 
3153
# the compiler is broken, or we cross compile.
 
3154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3155
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3156
if test "$cross_compiling" != yes; then
 
3157
  { { ac_try="$ac_link"
 
3158
case "(($ac_try" in
 
3159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3160
  *) ac_try_echo=$ac_try;;
 
3161
esac
 
3162
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3163
$as_echo "$ac_try_echo"; } >&5
 
3164
  (eval "$ac_link") 2>&5
 
3165
  ac_status=$?
 
3166
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3167
  test $ac_status = 0; }
 
3168
  if { ac_try='./conftest$ac_cv_exeext'
 
3169
  { { case "(($ac_try" in
 
3170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3171
  *) ac_try_echo=$ac_try;;
 
3172
esac
 
3173
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3174
$as_echo "$ac_try_echo"; } >&5
 
3175
  (eval "$ac_try") 2>&5
 
3176
  ac_status=$?
 
3177
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3178
  test $ac_status = 0; }; }; then
 
3179
    cross_compiling=no
 
3180
  else
 
3181
    if test "$cross_compiling" = maybe; then
 
3182
        cross_compiling=yes
 
3183
    else
 
3184
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3185
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3186
as_fn_error $? "cannot run C compiled programs.
 
3187
If you meant to cross compile, use \`--host'.
 
3188
See \`config.log' for more details" "$LINENO" 5; }
 
3189
    fi
 
3190
  fi
 
3191
fi
 
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3193
$as_echo "$cross_compiling" >&6; }
 
3194
 
 
3195
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3196
ac_clean_files=$ac_clean_files_save
 
3197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2980
3198
$as_echo_n "checking for suffix of object files... " >&6; }
2981
 
if test "${ac_cv_objext+set}" = set; then
 
3199
if ${ac_cv_objext+:} false; then :
2982
3200
  $as_echo_n "(cached) " >&6
2983
3201
else
2984
 
  cat >conftest.$ac_ext <<_ACEOF
2985
 
/* confdefs.h.  */
2986
 
_ACEOF
2987
 
cat confdefs.h >>conftest.$ac_ext
2988
 
cat >>conftest.$ac_ext <<_ACEOF
 
3202
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2989
3203
/* end confdefs.h.  */
2990
3204
 
2991
3205
int
2997
3211
}
2998
3212
_ACEOF
2999
3213
rm -f conftest.o conftest.obj
3000
 
if { (ac_try="$ac_compile"
 
3214
if { { ac_try="$ac_compile"
3001
3215
case "(($ac_try" in
3002
3216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003
3217
  *) ac_try_echo=$ac_try;;
3004
3218
esac
3005
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3006
 
$as_echo "$ac_try_echo") >&5
 
3219
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3220
$as_echo "$ac_try_echo"; } >&5
3007
3221
  (eval "$ac_compile") 2>&5
3008
3222
  ac_status=$?
3009
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
 
  (exit $ac_status); }; then
 
3223
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3224
  test $ac_status = 0; }; then :
3011
3225
  for ac_file in conftest.o conftest.obj conftest.*; do
3012
3226
  test -f "$ac_file" || continue;
3013
3227
  case $ac_file in
3020
3234
  $as_echo "$as_me: failed program was:" >&5
3021
3235
sed 's/^/| /' conftest.$ac_ext >&5
3022
3236
 
3023
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3237
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024
3238
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3026
 
See \`config.log' for more details." >&5
3027
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3028
 
See \`config.log' for more details." >&2;}
3029
 
   { (exit 1); exit 1; }; }; }
 
3239
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3240
See \`config.log' for more details" "$LINENO" 5; }
3030
3241
fi
3031
 
 
3032
3242
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3033
3243
fi
3034
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3035
3245
$as_echo "$ac_cv_objext" >&6; }
3036
3246
OBJEXT=$ac_cv_objext
3037
3247
ac_objext=$OBJEXT
3038
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3039
3249
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3040
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3250
if ${ac_cv_c_compiler_gnu+:} false; then :
3041
3251
  $as_echo_n "(cached) " >&6
3042
3252
else
3043
 
  cat >conftest.$ac_ext <<_ACEOF
3044
 
/* confdefs.h.  */
3045
 
_ACEOF
3046
 
cat confdefs.h >>conftest.$ac_ext
3047
 
cat >>conftest.$ac_ext <<_ACEOF
 
3253
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048
3254
/* end confdefs.h.  */
3049
3255
 
3050
3256
int
3058
3264
  return 0;
3059
3265
}
3060
3266
_ACEOF
3061
 
rm -f conftest.$ac_objext
3062
 
if { (ac_try="$ac_compile"
3063
 
case "(($ac_try" in
3064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065
 
  *) ac_try_echo=$ac_try;;
3066
 
esac
3067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3068
 
$as_echo "$ac_try_echo") >&5
3069
 
  (eval "$ac_compile") 2>conftest.er1
3070
 
  ac_status=$?
3071
 
  grep -v '^ *+' conftest.er1 >conftest.err
3072
 
  rm -f conftest.er1
3073
 
  cat conftest.err >&5
3074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075
 
  (exit $ac_status); } && {
3076
 
         test -z "$ac_c_werror_flag" ||
3077
 
         test ! -s conftest.err
3078
 
       } && test -s conftest.$ac_objext; then
 
3267
if ac_fn_c_try_compile "$LINENO"; then :
3079
3268
  ac_compiler_gnu=yes
3080
3269
else
3081
 
  $as_echo "$as_me: failed program was:" >&5
3082
 
sed 's/^/| /' conftest.$ac_ext >&5
3083
 
 
3084
 
        ac_compiler_gnu=no
 
3270
  ac_compiler_gnu=no
3085
3271
fi
3086
 
 
3087
3272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088
3273
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3089
3274
 
3090
3275
fi
3091
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3092
3277
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3093
3278
if test $ac_compiler_gnu = yes; then
3094
3279
  GCC=yes
3097
3282
fi
3098
3283
ac_test_CFLAGS=${CFLAGS+set}
3099
3284
ac_save_CFLAGS=$CFLAGS
3100
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3101
3286
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3102
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3287
if ${ac_cv_prog_cc_g+:} false; then :
3103
3288
  $as_echo_n "(cached) " >&6
3104
3289
else
3105
3290
  ac_save_c_werror_flag=$ac_c_werror_flag
3106
3291
   ac_c_werror_flag=yes
3107
3292
   ac_cv_prog_cc_g=no
3108
3293
   CFLAGS="-g"
3109
 
   cat >conftest.$ac_ext <<_ACEOF
3110
 
/* confdefs.h.  */
3111
 
_ACEOF
3112
 
cat confdefs.h >>conftest.$ac_ext
3113
 
cat >>conftest.$ac_ext <<_ACEOF
 
3294
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114
3295
/* end confdefs.h.  */
3115
3296
 
3116
3297
int
3121
3302
  return 0;
3122
3303
}
3123
3304
_ACEOF
3124
 
rm -f conftest.$ac_objext
3125
 
if { (ac_try="$ac_compile"
3126
 
case "(($ac_try" in
3127
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128
 
  *) ac_try_echo=$ac_try;;
3129
 
esac
3130
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3131
 
$as_echo "$ac_try_echo") >&5
3132
 
  (eval "$ac_compile") 2>conftest.er1
3133
 
  ac_status=$?
3134
 
  grep -v '^ *+' conftest.er1 >conftest.err
3135
 
  rm -f conftest.er1
3136
 
  cat conftest.err >&5
3137
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138
 
  (exit $ac_status); } && {
3139
 
         test -z "$ac_c_werror_flag" ||
3140
 
         test ! -s conftest.err
3141
 
       } && test -s conftest.$ac_objext; then
 
3305
if ac_fn_c_try_compile "$LINENO"; then :
3142
3306
  ac_cv_prog_cc_g=yes
3143
3307
else
3144
 
  $as_echo "$as_me: failed program was:" >&5
3145
 
sed 's/^/| /' conftest.$ac_ext >&5
3146
 
 
3147
 
        CFLAGS=""
3148
 
      cat >conftest.$ac_ext <<_ACEOF
3149
 
/* confdefs.h.  */
3150
 
_ACEOF
3151
 
cat confdefs.h >>conftest.$ac_ext
3152
 
cat >>conftest.$ac_ext <<_ACEOF
 
3308
  CFLAGS=""
 
3309
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153
3310
/* end confdefs.h.  */
3154
3311
 
3155
3312
int
3160
3317
  return 0;
3161
3318
}
3162
3319
_ACEOF
3163
 
rm -f conftest.$ac_objext
3164
 
if { (ac_try="$ac_compile"
3165
 
case "(($ac_try" in
3166
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167
 
  *) ac_try_echo=$ac_try;;
3168
 
esac
3169
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170
 
$as_echo "$ac_try_echo") >&5
3171
 
  (eval "$ac_compile") 2>conftest.er1
3172
 
  ac_status=$?
3173
 
  grep -v '^ *+' conftest.er1 >conftest.err
3174
 
  rm -f conftest.er1
3175
 
  cat conftest.err >&5
3176
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
 
  (exit $ac_status); } && {
3178
 
         test -z "$ac_c_werror_flag" ||
3179
 
         test ! -s conftest.err
3180
 
       } && test -s conftest.$ac_objext; then
3181
 
  :
 
3320
if ac_fn_c_try_compile "$LINENO"; then :
 
3321
 
3182
3322
else
3183
 
  $as_echo "$as_me: failed program was:" >&5
3184
 
sed 's/^/| /' conftest.$ac_ext >&5
3185
 
 
3186
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3323
  ac_c_werror_flag=$ac_save_c_werror_flag
3187
3324
         CFLAGS="-g"
3188
 
         cat >conftest.$ac_ext <<_ACEOF
3189
 
/* confdefs.h.  */
3190
 
_ACEOF
3191
 
cat confdefs.h >>conftest.$ac_ext
3192
 
cat >>conftest.$ac_ext <<_ACEOF
 
3325
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193
3326
/* end confdefs.h.  */
3194
3327
 
3195
3328
int
3200
3333
  return 0;
3201
3334
}
3202
3335
_ACEOF
3203
 
rm -f conftest.$ac_objext
3204
 
if { (ac_try="$ac_compile"
3205
 
case "(($ac_try" in
3206
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207
 
  *) ac_try_echo=$ac_try;;
3208
 
esac
3209
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3210
 
$as_echo "$ac_try_echo") >&5
3211
 
  (eval "$ac_compile") 2>conftest.er1
3212
 
  ac_status=$?
3213
 
  grep -v '^ *+' conftest.er1 >conftest.err
3214
 
  rm -f conftest.er1
3215
 
  cat conftest.err >&5
3216
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217
 
  (exit $ac_status); } && {
3218
 
         test -z "$ac_c_werror_flag" ||
3219
 
         test ! -s conftest.err
3220
 
       } && test -s conftest.$ac_objext; then
 
3336
if ac_fn_c_try_compile "$LINENO"; then :
3221
3337
  ac_cv_prog_cc_g=yes
3222
 
else
3223
 
  $as_echo "$as_me: failed program was:" >&5
3224
 
sed 's/^/| /' conftest.$ac_ext >&5
3225
 
 
3226
 
 
3227
 
fi
3228
 
 
3229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230
 
fi
3231
 
 
3232
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233
 
fi
3234
 
 
 
3338
fi
 
3339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3340
fi
 
3341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3342
fi
3235
3343
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236
3344
   ac_c_werror_flag=$ac_save_c_werror_flag
3237
3345
fi
3238
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3239
3347
$as_echo "$ac_cv_prog_cc_g" >&6; }
3240
3348
if test "$ac_test_CFLAGS" = set; then
3241
3349
  CFLAGS=$ac_save_CFLAGS
3252
3360
    CFLAGS=
3253
3361
  fi
3254
3362
fi
3255
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3256
3364
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3257
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3365
if ${ac_cv_prog_cc_c89+:} false; then :
3258
3366
  $as_echo_n "(cached) " >&6
3259
3367
else
3260
3368
  ac_cv_prog_cc_c89=no
3261
3369
ac_save_CC=$CC
3262
 
cat >conftest.$ac_ext <<_ACEOF
3263
 
/* confdefs.h.  */
3264
 
_ACEOF
3265
 
cat confdefs.h >>conftest.$ac_ext
3266
 
cat >>conftest.$ac_ext <<_ACEOF
 
3370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267
3371
/* end confdefs.h.  */
3268
3372
#include <stdarg.h>
3269
3373
#include <stdio.h>
3320
3424
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321
3425
do
3322
3426
  CC="$ac_save_CC $ac_arg"
3323
 
  rm -f conftest.$ac_objext
3324
 
if { (ac_try="$ac_compile"
3325
 
case "(($ac_try" in
3326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327
 
  *) ac_try_echo=$ac_try;;
3328
 
esac
3329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3330
 
$as_echo "$ac_try_echo") >&5
3331
 
  (eval "$ac_compile") 2>conftest.er1
3332
 
  ac_status=$?
3333
 
  grep -v '^ *+' conftest.er1 >conftest.err
3334
 
  rm -f conftest.er1
3335
 
  cat conftest.err >&5
3336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337
 
  (exit $ac_status); } && {
3338
 
         test -z "$ac_c_werror_flag" ||
3339
 
         test ! -s conftest.err
3340
 
       } && test -s conftest.$ac_objext; then
 
3427
  if ac_fn_c_try_compile "$LINENO"; then :
3341
3428
  ac_cv_prog_cc_c89=$ac_arg
3342
 
else
3343
 
  $as_echo "$as_me: failed program was:" >&5
3344
 
sed 's/^/| /' conftest.$ac_ext >&5
3345
 
 
3346
 
 
3347
3429
fi
3348
 
 
3349
3430
rm -f core conftest.err conftest.$ac_objext
3350
3431
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3351
3432
done
3356
3437
# AC_CACHE_VAL
3357
3438
case "x$ac_cv_prog_cc_c89" in
3358
3439
  x)
3359
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3440
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3360
3441
$as_echo "none needed" >&6; } ;;
3361
3442
  xno)
3362
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3443
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3363
3444
$as_echo "unsupported" >&6; } ;;
3364
3445
  *)
3365
3446
    CC="$CC $ac_cv_prog_cc_c89"
3366
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3447
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3367
3448
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3368
3449
esac
 
3450
if test "x$ac_cv_prog_cc_c89" != xno; then :
3369
3451
 
 
3452
fi
3370
3453
 
3371
3454
ac_ext=c
3372
3455
ac_cpp='$CPP $CPPFLAGS'
3373
3456
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374
3457
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375
3458
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376
 
DEPDIR="${am__leading_dot}deps"
3377
 
 
3378
 
ac_config_commands="$ac_config_commands depfiles"
3379
 
 
3380
 
 
3381
 
am_make=${MAKE-make}
3382
 
cat > confinc << 'END'
3383
 
am__doit:
3384
 
        @echo this is the am__doit target
3385
 
.PHONY: am__doit
3386
 
END
3387
 
# If we don't find an include directive, just comment out the code.
3388
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3389
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3390
 
am__include="#"
3391
 
am__quote=
3392
 
_am_result=none
3393
 
# First try GNU make style include.
3394
 
echo "include confinc" > confmf
3395
 
# Ignore all kinds of additional output from `make'.
3396
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3397
 
*the\ am__doit\ target*)
3398
 
  am__include=include
3399
 
  am__quote=
3400
 
  _am_result=GNU
3401
 
  ;;
3402
 
esac
3403
 
# Now try BSD make style include.
3404
 
if test "$am__include" = "#"; then
3405
 
   echo '.include "confinc"' > confmf
3406
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3407
 
   *the\ am__doit\ target*)
3408
 
     am__include=.include
3409
 
     am__quote="\""
3410
 
     _am_result=BSD
3411
 
     ;;
3412
 
   esac
3413
 
fi
3414
 
 
3415
 
 
3416
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3417
 
$as_echo "$_am_result" >&6; }
3418
 
rm -f confinc confmf
3419
 
 
3420
 
# Check whether --enable-dependency-tracking was given.
3421
 
if test "${enable_dependency_tracking+set}" = set; then
3422
 
  enableval=$enable_dependency_tracking;
3423
 
fi
3424
 
 
3425
 
if test "x$enable_dependency_tracking" != xno; then
3426
 
  am_depcomp="$ac_aux_dir/depcomp"
3427
 
  AMDEPBACKSLASH='\'
3428
 
fi
3429
 
 if test "x$enable_dependency_tracking" != xno; then
3430
 
  AMDEP_TRUE=
3431
 
  AMDEP_FALSE='#'
3432
 
else
3433
 
  AMDEP_TRUE='#'
3434
 
  AMDEP_FALSE=
3435
 
fi
3436
 
 
3437
 
 
3438
3459
 
3439
3460
depcc="$CC"   am_compiler_list=
3440
3461
 
3441
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3442
3463
$as_echo_n "checking dependency style of $depcc... " >&6; }
3443
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3464
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3444
3465
  $as_echo_n "(cached) " >&6
3445
3466
else
3446
3467
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3548
3569
fi
3549
3570
 
3550
3571
fi
3551
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3552
3573
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3553
3574
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3554
3575
 
3563
3584
fi
3564
3585
 
3565
3586
 
3566
 
# Find a good install program.  We prefer a C program (faster),
3567
 
# so one script is as good as another.  But avoid the broken or
3568
 
# incompatible versions:
3569
 
# SysV /etc/install, /usr/sbin/install
3570
 
# SunOS /usr/etc/install
3571
 
# IRIX /sbin/install
3572
 
# AIX /bin/install
3573
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3574
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3575
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3576
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3577
 
# OS/2's system install, which has a completely different semantic
3578
 
# ./install, which can be erroneously created by make from ./install.sh.
3579
 
# Reject install programs that cannot install multiple files.
3580
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3581
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3582
 
if test -z "$INSTALL"; then
3583
 
if test "${ac_cv_path_install+set}" = set; then
3584
 
  $as_echo_n "(cached) " >&6
3585
 
else
3586
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587
 
for as_dir in $PATH
3588
 
do
3589
 
  IFS=$as_save_IFS
3590
 
  test -z "$as_dir" && as_dir=.
3591
 
  # Account for people who put trailing slashes in PATH elements.
3592
 
case $as_dir/ in
3593
 
  ./ | .// | /cC/* | \
3594
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3595
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3596
 
  /usr/ucb/* ) ;;
3597
 
  *)
3598
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3599
 
    # Don't use installbsd from OSF since it installs stuff as root
3600
 
    # by default.
3601
 
    for ac_prog in ginstall scoinst install; do
3602
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3603
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3604
 
          if test $ac_prog = install &&
3605
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3606
 
            # AIX install.  It has an incompatible calling convention.
3607
 
            :
3608
 
          elif test $ac_prog = install &&
3609
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3610
 
            # program-specific install script used by HP pwplus--don't use.
3611
 
            :
3612
 
          else
3613
 
            rm -rf conftest.one conftest.two conftest.dir
3614
 
            echo one > conftest.one
3615
 
            echo two > conftest.two
3616
 
            mkdir conftest.dir
3617
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3618
 
              test -s conftest.one && test -s conftest.two &&
3619
 
              test -s conftest.dir/conftest.one &&
3620
 
              test -s conftest.dir/conftest.two
3621
 
            then
3622
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3623
 
              break 3
3624
 
            fi
3625
 
          fi
3626
 
        fi
3627
 
      done
3628
 
    done
3629
 
    ;;
3630
 
esac
3631
 
 
3632
 
done
3633
 
IFS=$as_save_IFS
3634
 
 
3635
 
rm -rf conftest.one conftest.two conftest.dir
3636
 
 
3637
 
fi
3638
 
  if test "${ac_cv_path_install+set}" = set; then
3639
 
    INSTALL=$ac_cv_path_install
3640
 
  else
3641
 
    # As a last resort, use the slow shell script.  Don't cache a
3642
 
    # value for INSTALL within a source directory, because that will
3643
 
    # break other packages using the cache if that directory is
3644
 
    # removed, or if the value is a relative name.
3645
 
    INSTALL=$ac_install_sh
3646
 
  fi
3647
 
fi
3648
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3649
 
$as_echo "$INSTALL" >&6; }
3650
 
 
3651
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3652
 
# It thinks the first close brace ends the variable substitution.
3653
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3654
 
 
3655
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3656
 
 
3657
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3658
 
 
3659
 
 
3660
 
 
3661
 
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3662
 
$as_echo_n "checking return type of signal handlers... " >&6; }
3663
 
if test "${ac_cv_type_signal+set}" = set; then
3664
 
  $as_echo_n "(cached) " >&6
3665
 
else
3666
 
  cat >conftest.$ac_ext <<_ACEOF
3667
 
/* confdefs.h.  */
3668
 
_ACEOF
3669
 
cat confdefs.h >>conftest.$ac_ext
3670
 
cat >>conftest.$ac_ext <<_ACEOF
3671
 
/* end confdefs.h.  */
3672
 
#include <sys/types.h>
3673
 
#include <signal.h>
3674
 
 
3675
 
int
3676
 
main ()
3677
 
{
3678
 
return *(signal (0, 0)) (0) == 1;
3679
 
  ;
3680
 
  return 0;
3681
 
}
3682
 
_ACEOF
3683
 
rm -f conftest.$ac_objext
3684
 
if { (ac_try="$ac_compile"
3685
 
case "(($ac_try" in
3686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687
 
  *) ac_try_echo=$ac_try;;
3688
 
esac
3689
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3690
 
$as_echo "$ac_try_echo") >&5
3691
 
  (eval "$ac_compile") 2>conftest.er1
3692
 
  ac_status=$?
3693
 
  grep -v '^ *+' conftest.er1 >conftest.err
3694
 
  rm -f conftest.er1
3695
 
  cat conftest.err >&5
3696
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697
 
  (exit $ac_status); } && {
3698
 
         test -z "$ac_c_werror_flag" ||
3699
 
         test ! -s conftest.err
3700
 
       } && test -s conftest.$ac_objext; then
3701
 
  ac_cv_type_signal=int
3702
 
else
3703
 
  $as_echo "$as_me: failed program was:" >&5
3704
 
sed 's/^/| /' conftest.$ac_ext >&5
3705
 
 
3706
 
        ac_cv_type_signal=void
3707
 
fi
3708
 
 
3709
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710
 
fi
3711
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3712
 
$as_echo "$ac_cv_type_signal" >&6; }
3713
 
 
3714
 
cat >>confdefs.h <<_ACEOF
3715
 
#define RETSIGTYPE $ac_cv_type_signal
3716
 
_ACEOF
3717
 
 
3718
 
 
3719
 
 
3720
 
ac_ext=c
3721
 
ac_cpp='$CPP $CPPFLAGS'
3722
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3726
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3727
 
# On Suns, sometimes $CPP names a directory.
3728
 
if test -n "$CPP" && test -d "$CPP"; then
3729
 
  CPP=
3730
 
fi
3731
 
if test -z "$CPP"; then
3732
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3733
 
  $as_echo_n "(cached) " >&6
3734
 
else
3735
 
      # Double quotes because CPP needs to be expanded
3736
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3737
 
    do
3738
 
      ac_preproc_ok=false
3739
 
for ac_c_preproc_warn_flag in '' yes
3740
 
do
3741
 
  # Use a header file that comes with gcc, so configuring glibc
3742
 
  # with a fresh cross-compiler works.
3743
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3744
 
  # <limits.h> exists even on freestanding compilers.
3745
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3746
 
  # not just through cpp. "Syntax error" is here to catch this case.
3747
 
  cat >conftest.$ac_ext <<_ACEOF
3748
 
/* confdefs.h.  */
3749
 
_ACEOF
3750
 
cat confdefs.h >>conftest.$ac_ext
3751
 
cat >>conftest.$ac_ext <<_ACEOF
3752
 
/* end confdefs.h.  */
3753
 
#ifdef __STDC__
3754
 
# include <limits.h>
3755
 
#else
3756
 
# include <assert.h>
3757
 
#endif
3758
 
                     Syntax error
3759
 
_ACEOF
3760
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3761
 
case "(($ac_try" in
3762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763
 
  *) ac_try_echo=$ac_try;;
3764
 
esac
3765
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3766
 
$as_echo "$ac_try_echo") >&5
3767
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3768
 
  ac_status=$?
3769
 
  grep -v '^ *+' conftest.er1 >conftest.err
3770
 
  rm -f conftest.er1
3771
 
  cat conftest.err >&5
3772
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773
 
  (exit $ac_status); } >/dev/null && {
3774
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3775
 
         test ! -s conftest.err
3776
 
       }; then
3777
 
  :
3778
 
else
3779
 
  $as_echo "$as_me: failed program was:" >&5
3780
 
sed 's/^/| /' conftest.$ac_ext >&5
3781
 
 
3782
 
  # Broken: fails on valid input.
3783
 
continue
3784
 
fi
3785
 
 
3786
 
rm -f conftest.err conftest.$ac_ext
3787
 
 
3788
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3789
 
  # can be detected and how.
3790
 
  cat >conftest.$ac_ext <<_ACEOF
3791
 
/* confdefs.h.  */
3792
 
_ACEOF
3793
 
cat confdefs.h >>conftest.$ac_ext
3794
 
cat >>conftest.$ac_ext <<_ACEOF
3795
 
/* end confdefs.h.  */
3796
 
#include <ac_nonexistent.h>
3797
 
_ACEOF
3798
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3799
 
case "(($ac_try" in
3800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801
 
  *) ac_try_echo=$ac_try;;
3802
 
esac
3803
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3804
 
$as_echo "$ac_try_echo") >&5
3805
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3806
 
  ac_status=$?
3807
 
  grep -v '^ *+' conftest.er1 >conftest.err
3808
 
  rm -f conftest.er1
3809
 
  cat conftest.err >&5
3810
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811
 
  (exit $ac_status); } >/dev/null && {
3812
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3813
 
         test ! -s conftest.err
3814
 
       }; then
3815
 
  # Broken: success on invalid input.
3816
 
continue
3817
 
else
3818
 
  $as_echo "$as_me: failed program was:" >&5
3819
 
sed 's/^/| /' conftest.$ac_ext >&5
3820
 
 
3821
 
  # Passes both tests.
3822
 
ac_preproc_ok=:
3823
 
break
3824
 
fi
3825
 
 
3826
 
rm -f conftest.err conftest.$ac_ext
3827
 
 
3828
 
done
3829
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3830
 
rm -f conftest.err conftest.$ac_ext
3831
 
if $ac_preproc_ok; then
3832
 
  break
3833
 
fi
3834
 
 
3835
 
    done
3836
 
    ac_cv_prog_CPP=$CPP
3837
 
 
3838
 
fi
3839
 
  CPP=$ac_cv_prog_CPP
3840
 
else
3841
 
  ac_cv_prog_CPP=$CPP
3842
 
fi
3843
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3844
 
$as_echo "$CPP" >&6; }
3845
 
ac_preproc_ok=false
3846
 
for ac_c_preproc_warn_flag in '' yes
3847
 
do
3848
 
  # Use a header file that comes with gcc, so configuring glibc
3849
 
  # with a fresh cross-compiler works.
3850
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3851
 
  # <limits.h> exists even on freestanding compilers.
3852
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3853
 
  # not just through cpp. "Syntax error" is here to catch this case.
3854
 
  cat >conftest.$ac_ext <<_ACEOF
3855
 
/* confdefs.h.  */
3856
 
_ACEOF
3857
 
cat confdefs.h >>conftest.$ac_ext
3858
 
cat >>conftest.$ac_ext <<_ACEOF
3859
 
/* end confdefs.h.  */
3860
 
#ifdef __STDC__
3861
 
# include <limits.h>
3862
 
#else
3863
 
# include <assert.h>
3864
 
#endif
3865
 
                     Syntax error
3866
 
_ACEOF
3867
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3868
 
case "(($ac_try" in
3869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870
 
  *) ac_try_echo=$ac_try;;
3871
 
esac
3872
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3873
 
$as_echo "$ac_try_echo") >&5
3874
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3875
 
  ac_status=$?
3876
 
  grep -v '^ *+' conftest.er1 >conftest.err
3877
 
  rm -f conftest.er1
3878
 
  cat conftest.err >&5
3879
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880
 
  (exit $ac_status); } >/dev/null && {
3881
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3882
 
         test ! -s conftest.err
3883
 
       }; then
3884
 
  :
3885
 
else
3886
 
  $as_echo "$as_me: failed program was:" >&5
3887
 
sed 's/^/| /' conftest.$ac_ext >&5
3888
 
 
3889
 
  # Broken: fails on valid input.
3890
 
continue
3891
 
fi
3892
 
 
3893
 
rm -f conftest.err conftest.$ac_ext
3894
 
 
3895
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3896
 
  # can be detected and how.
3897
 
  cat >conftest.$ac_ext <<_ACEOF
3898
 
/* confdefs.h.  */
3899
 
_ACEOF
3900
 
cat confdefs.h >>conftest.$ac_ext
3901
 
cat >>conftest.$ac_ext <<_ACEOF
3902
 
/* end confdefs.h.  */
3903
 
#include <ac_nonexistent.h>
3904
 
_ACEOF
3905
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3906
 
case "(($ac_try" in
3907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908
 
  *) ac_try_echo=$ac_try;;
3909
 
esac
3910
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3911
 
$as_echo "$ac_try_echo") >&5
3912
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3913
 
  ac_status=$?
3914
 
  grep -v '^ *+' conftest.er1 >conftest.err
3915
 
  rm -f conftest.er1
3916
 
  cat conftest.err >&5
3917
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918
 
  (exit $ac_status); } >/dev/null && {
3919
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3920
 
         test ! -s conftest.err
3921
 
       }; then
3922
 
  # Broken: success on invalid input.
3923
 
continue
3924
 
else
3925
 
  $as_echo "$as_me: failed program was:" >&5
3926
 
sed 's/^/| /' conftest.$ac_ext >&5
3927
 
 
3928
 
  # Passes both tests.
3929
 
ac_preproc_ok=:
3930
 
break
3931
 
fi
3932
 
 
3933
 
rm -f conftest.err conftest.$ac_ext
3934
 
 
3935
 
done
3936
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3937
 
rm -f conftest.err conftest.$ac_ext
3938
 
if $ac_preproc_ok; then
3939
 
  :
3940
 
else
3941
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3942
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3944
 
See \`config.log' for more details." >&5
3945
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3946
 
See \`config.log' for more details." >&2;}
3947
 
   { (exit 1); exit 1; }; }; }
3948
 
fi
3949
 
 
3950
 
ac_ext=c
3951
 
ac_cpp='$CPP $CPPFLAGS'
3952
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955
 
 
3956
 
 
3957
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3958
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3959
 
if test "${ac_cv_path_GREP+set}" = set; then
3960
 
  $as_echo_n "(cached) " >&6
3961
 
else
3962
 
  if test -z "$GREP"; then
3963
 
  ac_path_GREP_found=false
3964
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3965
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3967
 
do
3968
 
  IFS=$as_save_IFS
3969
 
  test -z "$as_dir" && as_dir=.
3970
 
  for ac_prog in grep ggrep; do
3971
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3972
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3973
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3974
 
# Check for GNU ac_path_GREP and select it if it is found.
3975
 
  # Check for GNU $ac_path_GREP
3976
 
case `"$ac_path_GREP" --version 2>&1` in
3977
 
*GNU*)
3978
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3979
 
*)
3980
 
  ac_count=0
3981
 
  $as_echo_n 0123456789 >"conftest.in"
3982
 
  while :
3983
 
  do
3984
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3985
 
    mv "conftest.tmp" "conftest.in"
3986
 
    cp "conftest.in" "conftest.nl"
3987
 
    $as_echo 'GREP' >> "conftest.nl"
3988
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3989
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3990
 
    ac_count=`expr $ac_count + 1`
3991
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3992
 
      # Best one so far, save it but keep looking for a better one
3993
 
      ac_cv_path_GREP="$ac_path_GREP"
3994
 
      ac_path_GREP_max=$ac_count
3995
 
    fi
3996
 
    # 10*(2^10) chars as input seems more than enough
3997
 
    test $ac_count -gt 10 && break
3998
 
  done
3999
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4000
 
esac
4001
 
 
4002
 
      $ac_path_GREP_found && break 3
4003
 
    done
4004
 
  done
4005
 
done
4006
 
IFS=$as_save_IFS
4007
 
  if test -z "$ac_cv_path_GREP"; then
4008
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4009
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4010
 
   { (exit 1); exit 1; }; }
4011
 
  fi
4012
 
else
4013
 
  ac_cv_path_GREP=$GREP
4014
 
fi
4015
 
 
4016
 
fi
4017
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4018
 
$as_echo "$ac_cv_path_GREP" >&6; }
4019
 
 GREP="$ac_cv_path_GREP"
4020
 
 
4021
 
 
4022
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4023
 
$as_echo_n "checking for egrep... " >&6; }
4024
 
if test "${ac_cv_path_EGREP+set}" = set; then
4025
 
  $as_echo_n "(cached) " >&6
4026
 
else
4027
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4028
 
   then ac_cv_path_EGREP="$GREP -E"
4029
 
   else
4030
 
     if test -z "$EGREP"; then
4031
 
  ac_path_EGREP_found=false
4032
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4033
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4035
 
do
4036
 
  IFS=$as_save_IFS
4037
 
  test -z "$as_dir" && as_dir=.
4038
 
  for ac_prog in egrep; do
4039
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4040
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4041
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4042
 
# Check for GNU ac_path_EGREP and select it if it is found.
4043
 
  # Check for GNU $ac_path_EGREP
4044
 
case `"$ac_path_EGREP" --version 2>&1` in
4045
 
*GNU*)
4046
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4047
 
*)
4048
 
  ac_count=0
4049
 
  $as_echo_n 0123456789 >"conftest.in"
4050
 
  while :
4051
 
  do
4052
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4053
 
    mv "conftest.tmp" "conftest.in"
4054
 
    cp "conftest.in" "conftest.nl"
4055
 
    $as_echo 'EGREP' >> "conftest.nl"
4056
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4057
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4058
 
    ac_count=`expr $ac_count + 1`
4059
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4060
 
      # Best one so far, save it but keep looking for a better one
4061
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4062
 
      ac_path_EGREP_max=$ac_count
4063
 
    fi
4064
 
    # 10*(2^10) chars as input seems more than enough
4065
 
    test $ac_count -gt 10 && break
4066
 
  done
4067
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4068
 
esac
4069
 
 
4070
 
      $ac_path_EGREP_found && break 3
4071
 
    done
4072
 
  done
4073
 
done
4074
 
IFS=$as_save_IFS
4075
 
  if test -z "$ac_cv_path_EGREP"; then
4076
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4077
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4078
 
   { (exit 1); exit 1; }; }
4079
 
  fi
4080
 
else
4081
 
  ac_cv_path_EGREP=$EGREP
4082
 
fi
4083
 
 
4084
 
   fi
4085
 
fi
4086
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4087
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4088
 
 EGREP="$ac_cv_path_EGREP"
4089
 
 
4090
 
 
4091
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4092
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4093
 
if test "${ac_cv_header_stdc+set}" = set; then
4094
 
  $as_echo_n "(cached) " >&6
4095
 
else
4096
 
  cat >conftest.$ac_ext <<_ACEOF
4097
 
/* confdefs.h.  */
4098
 
_ACEOF
4099
 
cat confdefs.h >>conftest.$ac_ext
4100
 
cat >>conftest.$ac_ext <<_ACEOF
4101
 
/* end confdefs.h.  */
4102
 
#include <stdlib.h>
4103
 
#include <stdarg.h>
4104
 
#include <string.h>
4105
 
#include <float.h>
4106
 
 
4107
 
int
4108
 
main ()
4109
 
{
4110
 
 
4111
 
  ;
4112
 
  return 0;
4113
 
}
4114
 
_ACEOF
4115
 
rm -f conftest.$ac_objext
4116
 
if { (ac_try="$ac_compile"
4117
 
case "(($ac_try" in
4118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119
 
  *) ac_try_echo=$ac_try;;
4120
 
esac
4121
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4122
 
$as_echo "$ac_try_echo") >&5
4123
 
  (eval "$ac_compile") 2>conftest.er1
4124
 
  ac_status=$?
4125
 
  grep -v '^ *+' conftest.er1 >conftest.err
4126
 
  rm -f conftest.er1
4127
 
  cat conftest.err >&5
4128
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
 
  (exit $ac_status); } && {
4130
 
         test -z "$ac_c_werror_flag" ||
4131
 
         test ! -s conftest.err
4132
 
       } && test -s conftest.$ac_objext; then
4133
 
  ac_cv_header_stdc=yes
4134
 
else
4135
 
  $as_echo "$as_me: failed program was:" >&5
4136
 
sed 's/^/| /' conftest.$ac_ext >&5
4137
 
 
4138
 
        ac_cv_header_stdc=no
4139
 
fi
4140
 
 
4141
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142
 
 
4143
 
if test $ac_cv_header_stdc = yes; then
4144
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4145
 
  cat >conftest.$ac_ext <<_ACEOF
4146
 
/* confdefs.h.  */
4147
 
_ACEOF
4148
 
cat confdefs.h >>conftest.$ac_ext
4149
 
cat >>conftest.$ac_ext <<_ACEOF
4150
 
/* end confdefs.h.  */
4151
 
#include <string.h>
4152
 
 
4153
 
_ACEOF
4154
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4155
 
  $EGREP "memchr" >/dev/null 2>&1; then
4156
 
  :
4157
 
else
4158
 
  ac_cv_header_stdc=no
4159
 
fi
4160
 
rm -f conftest*
4161
 
 
4162
 
fi
4163
 
 
4164
 
if test $ac_cv_header_stdc = yes; then
4165
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4166
 
  cat >conftest.$ac_ext <<_ACEOF
4167
 
/* confdefs.h.  */
4168
 
_ACEOF
4169
 
cat confdefs.h >>conftest.$ac_ext
4170
 
cat >>conftest.$ac_ext <<_ACEOF
4171
 
/* end confdefs.h.  */
4172
 
#include <stdlib.h>
4173
 
 
4174
 
_ACEOF
4175
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4176
 
  $EGREP "free" >/dev/null 2>&1; then
4177
 
  :
4178
 
else
4179
 
  ac_cv_header_stdc=no
4180
 
fi
4181
 
rm -f conftest*
4182
 
 
4183
 
fi
4184
 
 
4185
 
if test $ac_cv_header_stdc = yes; then
4186
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4187
 
  if test "$cross_compiling" = yes; then
4188
 
  :
4189
 
else
4190
 
  cat >conftest.$ac_ext <<_ACEOF
4191
 
/* confdefs.h.  */
4192
 
_ACEOF
4193
 
cat confdefs.h >>conftest.$ac_ext
4194
 
cat >>conftest.$ac_ext <<_ACEOF
4195
 
/* end confdefs.h.  */
4196
 
#include <ctype.h>
4197
 
#include <stdlib.h>
4198
 
#if ((' ' & 0x0FF) == 0x020)
4199
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4200
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4201
 
#else
4202
 
# define ISLOWER(c) \
4203
 
                   (('a' <= (c) && (c) <= 'i') \
4204
 
                     || ('j' <= (c) && (c) <= 'r') \
4205
 
                     || ('s' <= (c) && (c) <= 'z'))
4206
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4207
 
#endif
4208
 
 
4209
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4210
 
int
4211
 
main ()
4212
 
{
4213
 
  int i;
4214
 
  for (i = 0; i < 256; i++)
4215
 
    if (XOR (islower (i), ISLOWER (i))
4216
 
        || toupper (i) != TOUPPER (i))
4217
 
      return 2;
4218
 
  return 0;
4219
 
}
4220
 
_ACEOF
4221
 
rm -f conftest$ac_exeext
4222
 
if { (ac_try="$ac_link"
4223
 
case "(($ac_try" in
4224
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225
 
  *) ac_try_echo=$ac_try;;
4226
 
esac
4227
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4228
 
$as_echo "$ac_try_echo") >&5
4229
 
  (eval "$ac_link") 2>&5
4230
 
  ac_status=$?
4231
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4233
 
  { (case "(($ac_try" in
4234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235
 
  *) ac_try_echo=$ac_try;;
4236
 
esac
4237
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4238
 
$as_echo "$ac_try_echo") >&5
4239
 
  (eval "$ac_try") 2>&5
4240
 
  ac_status=$?
4241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242
 
  (exit $ac_status); }; }; then
4243
 
  :
4244
 
else
4245
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4246
 
$as_echo "$as_me: failed program was:" >&5
4247
 
sed 's/^/| /' conftest.$ac_ext >&5
4248
 
 
4249
 
( exit $ac_status )
4250
 
ac_cv_header_stdc=no
4251
 
fi
4252
 
rm -rf conftest.dSYM
4253
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4254
 
fi
4255
 
 
4256
 
 
4257
 
fi
4258
 
fi
4259
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4260
 
$as_echo "$ac_cv_header_stdc" >&6; }
4261
 
if test $ac_cv_header_stdc = yes; then
4262
 
 
4263
 
cat >>confdefs.h <<\_ACEOF
4264
 
#define STDC_HEADERS 1
4265
 
_ACEOF
4266
 
 
4267
 
fi
4268
 
 
4269
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4270
 
 
4271
 
 
4272
 
 
4273
 
 
4274
 
 
4275
 
 
4276
 
 
4277
 
 
4278
 
 
4279
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4280
 
                  inttypes.h stdint.h unistd.h
4281
 
do
4282
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4283
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4284
 
$as_echo_n "checking for $ac_header... " >&6; }
4285
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4286
 
  $as_echo_n "(cached) " >&6
4287
 
else
4288
 
  cat >conftest.$ac_ext <<_ACEOF
4289
 
/* confdefs.h.  */
4290
 
_ACEOF
4291
 
cat confdefs.h >>conftest.$ac_ext
4292
 
cat >>conftest.$ac_ext <<_ACEOF
4293
 
/* end confdefs.h.  */
4294
 
$ac_includes_default
4295
 
 
4296
 
#include <$ac_header>
4297
 
_ACEOF
4298
 
rm -f conftest.$ac_objext
4299
 
if { (ac_try="$ac_compile"
4300
 
case "(($ac_try" in
4301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302
 
  *) ac_try_echo=$ac_try;;
4303
 
esac
4304
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4305
 
$as_echo "$ac_try_echo") >&5
4306
 
  (eval "$ac_compile") 2>conftest.er1
4307
 
  ac_status=$?
4308
 
  grep -v '^ *+' conftest.er1 >conftest.err
4309
 
  rm -f conftest.er1
4310
 
  cat conftest.err >&5
4311
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312
 
  (exit $ac_status); } && {
4313
 
         test -z "$ac_c_werror_flag" ||
4314
 
         test ! -s conftest.err
4315
 
       } && test -s conftest.$ac_objext; then
4316
 
  eval "$as_ac_Header=yes"
4317
 
else
4318
 
  $as_echo "$as_me: failed program was:" >&5
4319
 
sed 's/^/| /' conftest.$ac_ext >&5
4320
 
 
4321
 
        eval "$as_ac_Header=no"
4322
 
fi
4323
 
 
4324
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4325
 
fi
4326
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4327
 
                 $as_echo "$as_val"'`
4328
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4329
 
$as_echo "$ac_res" >&6; }
4330
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4331
 
                 $as_echo "$as_val"'`
4332
 
   if test "x$as_val" = x""yes; then
4333
 
  cat >>confdefs.h <<_ACEOF
4334
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4335
 
_ACEOF
4336
 
 
4337
 
fi
4338
 
 
4339
 
done
4340
 
 
4341
 
 
4342
 
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
3587
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4343
3588
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4344
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
3589
if ${ac_cv_prog_cc_c99+:} false; then :
4345
3590
  $as_echo_n "(cached) " >&6
4346
3591
else
4347
3592
  ac_cv_prog_cc_c99=no
4348
3593
ac_save_CC=$CC
4349
 
cat >conftest.$ac_ext <<_ACEOF
4350
 
/* confdefs.h.  */
4351
 
_ACEOF
4352
 
cat confdefs.h >>conftest.$ac_ext
4353
 
cat >>conftest.$ac_ext <<_ACEOF
 
3594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354
3595
/* end confdefs.h.  */
4355
3596
#include <stdarg.h>
4356
3597
#include <stdbool.h>
4492
3733
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4493
3734
do
4494
3735
  CC="$ac_save_CC $ac_arg"
4495
 
  rm -f conftest.$ac_objext
4496
 
if { (ac_try="$ac_compile"
4497
 
case "(($ac_try" in
4498
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499
 
  *) ac_try_echo=$ac_try;;
4500
 
esac
4501
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4502
 
$as_echo "$ac_try_echo") >&5
4503
 
  (eval "$ac_compile") 2>conftest.er1
4504
 
  ac_status=$?
4505
 
  grep -v '^ *+' conftest.er1 >conftest.err
4506
 
  rm -f conftest.er1
4507
 
  cat conftest.err >&5
4508
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509
 
  (exit $ac_status); } && {
4510
 
         test -z "$ac_c_werror_flag" ||
4511
 
         test ! -s conftest.err
4512
 
       } && test -s conftest.$ac_objext; then
 
3736
  if ac_fn_c_try_compile "$LINENO"; then :
4513
3737
  ac_cv_prog_cc_c99=$ac_arg
4514
 
else
4515
 
  $as_echo "$as_me: failed program was:" >&5
4516
 
sed 's/^/| /' conftest.$ac_ext >&5
4517
 
 
4518
 
 
4519
3738
fi
4520
 
 
4521
3739
rm -f core conftest.err conftest.$ac_objext
4522
3740
  test "x$ac_cv_prog_cc_c99" != "xno" && break
4523
3741
done
4528
3746
# AC_CACHE_VAL
4529
3747
case "x$ac_cv_prog_cc_c99" in
4530
3748
  x)
4531
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3749
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4532
3750
$as_echo "none needed" >&6; } ;;
4533
3751
  xno)
4534
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3752
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4535
3753
$as_echo "unsupported" >&6; } ;;
4536
3754
  *)
4537
3755
    CC="$CC $ac_cv_prog_cc_c99"
4538
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
3756
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4539
3757
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4540
3758
esac
4541
 
 
4542
 
 
4543
 
 
 
3759
if test "x$ac_cv_prog_cc_c99" != xno; then :
 
3760
 
 
3761
fi
 
3762
 
 
3763
 
 
3764
 
 
3765
ac_ext=c
 
3766
ac_cpp='$CPP $CPPFLAGS'
 
3767
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3768
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3769
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3771
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3772
# On Suns, sometimes $CPP names a directory.
 
3773
if test -n "$CPP" && test -d "$CPP"; then
 
3774
  CPP=
 
3775
fi
 
3776
if test -z "$CPP"; then
 
3777
  if ${ac_cv_prog_CPP+:} false; then :
 
3778
  $as_echo_n "(cached) " >&6
 
3779
else
 
3780
      # Double quotes because CPP needs to be expanded
 
3781
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3782
    do
 
3783
      ac_preproc_ok=false
 
3784
for ac_c_preproc_warn_flag in '' yes
 
3785
do
 
3786
  # Use a header file that comes with gcc, so configuring glibc
 
3787
  # with a fresh cross-compiler works.
 
3788
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3789
  # <limits.h> exists even on freestanding compilers.
 
3790
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3791
  # not just through cpp. "Syntax error" is here to catch this case.
 
3792
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3793
/* end confdefs.h.  */
 
3794
#ifdef __STDC__
 
3795
# include <limits.h>
 
3796
#else
 
3797
# include <assert.h>
 
3798
#endif
 
3799
                     Syntax error
 
3800
_ACEOF
 
3801
if ac_fn_c_try_cpp "$LINENO"; then :
 
3802
 
 
3803
else
 
3804
  # Broken: fails on valid input.
 
3805
continue
 
3806
fi
 
3807
rm -f conftest.err conftest.i conftest.$ac_ext
 
3808
 
 
3809
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3810
  # can be detected and how.
 
3811
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3812
/* end confdefs.h.  */
 
3813
#include <ac_nonexistent.h>
 
3814
_ACEOF
 
3815
if ac_fn_c_try_cpp "$LINENO"; then :
 
3816
  # Broken: success on invalid input.
 
3817
continue
 
3818
else
 
3819
  # Passes both tests.
 
3820
ac_preproc_ok=:
 
3821
break
 
3822
fi
 
3823
rm -f conftest.err conftest.i conftest.$ac_ext
 
3824
 
 
3825
done
 
3826
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3827
rm -f conftest.i conftest.err conftest.$ac_ext
 
3828
if $ac_preproc_ok; then :
 
3829
  break
 
3830
fi
 
3831
 
 
3832
    done
 
3833
    ac_cv_prog_CPP=$CPP
 
3834
 
 
3835
fi
 
3836
  CPP=$ac_cv_prog_CPP
 
3837
else
 
3838
  ac_cv_prog_CPP=$CPP
 
3839
fi
 
3840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
3841
$as_echo "$CPP" >&6; }
 
3842
ac_preproc_ok=false
 
3843
for ac_c_preproc_warn_flag in '' yes
 
3844
do
 
3845
  # Use a header file that comes with gcc, so configuring glibc
 
3846
  # with a fresh cross-compiler works.
 
3847
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3848
  # <limits.h> exists even on freestanding compilers.
 
3849
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3850
  # not just through cpp. "Syntax error" is here to catch this case.
 
3851
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3852
/* end confdefs.h.  */
 
3853
#ifdef __STDC__
 
3854
# include <limits.h>
 
3855
#else
 
3856
# include <assert.h>
 
3857
#endif
 
3858
                     Syntax error
 
3859
_ACEOF
 
3860
if ac_fn_c_try_cpp "$LINENO"; then :
 
3861
 
 
3862
else
 
3863
  # Broken: fails on valid input.
 
3864
continue
 
3865
fi
 
3866
rm -f conftest.err conftest.i conftest.$ac_ext
 
3867
 
 
3868
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3869
  # can be detected and how.
 
3870
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3871
/* end confdefs.h.  */
 
3872
#include <ac_nonexistent.h>
 
3873
_ACEOF
 
3874
if ac_fn_c_try_cpp "$LINENO"; then :
 
3875
  # Broken: success on invalid input.
 
3876
continue
 
3877
else
 
3878
  # Passes both tests.
 
3879
ac_preproc_ok=:
 
3880
break
 
3881
fi
 
3882
rm -f conftest.err conftest.i conftest.$ac_ext
 
3883
 
 
3884
done
 
3885
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3886
rm -f conftest.i conftest.err conftest.$ac_ext
 
3887
if $ac_preproc_ok; then :
 
3888
 
 
3889
else
 
3890
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3891
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3892
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
3893
See \`config.log' for more details" "$LINENO" 5; }
 
3894
fi
 
3895
 
 
3896
ac_ext=c
 
3897
ac_cpp='$CPP $CPPFLAGS'
 
3898
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3899
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3900
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3901
 
 
3902
 
 
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
3904
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3905
if ${ac_cv_path_GREP+:} false; then :
 
3906
  $as_echo_n "(cached) " >&6
 
3907
else
 
3908
  if test -z "$GREP"; then
 
3909
  ac_path_GREP_found=false
 
3910
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3911
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3912
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3913
do
 
3914
  IFS=$as_save_IFS
 
3915
  test -z "$as_dir" && as_dir=.
 
3916
    for ac_prog in grep ggrep; do
 
3917
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3918
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3919
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3920
# Check for GNU ac_path_GREP and select it if it is found.
 
3921
  # Check for GNU $ac_path_GREP
 
3922
case `"$ac_path_GREP" --version 2>&1` in
 
3923
*GNU*)
 
3924
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3925
*)
 
3926
  ac_count=0
 
3927
  $as_echo_n 0123456789 >"conftest.in"
 
3928
  while :
 
3929
  do
 
3930
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3931
    mv "conftest.tmp" "conftest.in"
 
3932
    cp "conftest.in" "conftest.nl"
 
3933
    $as_echo 'GREP' >> "conftest.nl"
 
3934
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3935
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3936
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3937
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3938
      # Best one so far, save it but keep looking for a better one
 
3939
      ac_cv_path_GREP="$ac_path_GREP"
 
3940
      ac_path_GREP_max=$ac_count
 
3941
    fi
 
3942
    # 10*(2^10) chars as input seems more than enough
 
3943
    test $ac_count -gt 10 && break
 
3944
  done
 
3945
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3946
esac
 
3947
 
 
3948
      $ac_path_GREP_found && break 3
 
3949
    done
 
3950
  done
 
3951
  done
 
3952
IFS=$as_save_IFS
 
3953
  if test -z "$ac_cv_path_GREP"; then
 
3954
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3955
  fi
 
3956
else
 
3957
  ac_cv_path_GREP=$GREP
 
3958
fi
 
3959
 
 
3960
fi
 
3961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
3962
$as_echo "$ac_cv_path_GREP" >&6; }
 
3963
 GREP="$ac_cv_path_GREP"
 
3964
 
 
3965
 
 
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
3967
$as_echo_n "checking for egrep... " >&6; }
 
3968
if ${ac_cv_path_EGREP+:} false; then :
 
3969
  $as_echo_n "(cached) " >&6
 
3970
else
 
3971
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3972
   then ac_cv_path_EGREP="$GREP -E"
 
3973
   else
 
3974
     if test -z "$EGREP"; then
 
3975
  ac_path_EGREP_found=false
 
3976
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3977
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3978
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3979
do
 
3980
  IFS=$as_save_IFS
 
3981
  test -z "$as_dir" && as_dir=.
 
3982
    for ac_prog in egrep; do
 
3983
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3984
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3985
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3986
# Check for GNU ac_path_EGREP and select it if it is found.
 
3987
  # Check for GNU $ac_path_EGREP
 
3988
case `"$ac_path_EGREP" --version 2>&1` in
 
3989
*GNU*)
 
3990
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3991
*)
 
3992
  ac_count=0
 
3993
  $as_echo_n 0123456789 >"conftest.in"
 
3994
  while :
 
3995
  do
 
3996
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3997
    mv "conftest.tmp" "conftest.in"
 
3998
    cp "conftest.in" "conftest.nl"
 
3999
    $as_echo 'EGREP' >> "conftest.nl"
 
4000
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4001
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4002
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4003
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4004
      # Best one so far, save it but keep looking for a better one
 
4005
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4006
      ac_path_EGREP_max=$ac_count
 
4007
    fi
 
4008
    # 10*(2^10) chars as input seems more than enough
 
4009
    test $ac_count -gt 10 && break
 
4010
  done
 
4011
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4012
esac
 
4013
 
 
4014
      $ac_path_EGREP_found && break 3
 
4015
    done
 
4016
  done
 
4017
  done
 
4018
IFS=$as_save_IFS
 
4019
  if test -z "$ac_cv_path_EGREP"; then
 
4020
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4021
  fi
 
4022
else
 
4023
  ac_cv_path_EGREP=$EGREP
 
4024
fi
 
4025
 
 
4026
   fi
 
4027
fi
 
4028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4029
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4030
 EGREP="$ac_cv_path_EGREP"
 
4031
 
 
4032
 
 
4033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4034
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4035
if ${ac_cv_header_stdc+:} false; then :
 
4036
  $as_echo_n "(cached) " >&6
 
4037
else
 
4038
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4039
/* end confdefs.h.  */
 
4040
#include <stdlib.h>
 
4041
#include <stdarg.h>
 
4042
#include <string.h>
 
4043
#include <float.h>
 
4044
 
 
4045
int
 
4046
main ()
 
4047
{
 
4048
 
 
4049
  ;
 
4050
  return 0;
 
4051
}
 
4052
_ACEOF
 
4053
if ac_fn_c_try_compile "$LINENO"; then :
 
4054
  ac_cv_header_stdc=yes
 
4055
else
 
4056
  ac_cv_header_stdc=no
 
4057
fi
 
4058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4059
 
 
4060
if test $ac_cv_header_stdc = yes; then
 
4061
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4062
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4063
/* end confdefs.h.  */
 
4064
#include <string.h>
 
4065
 
 
4066
_ACEOF
 
4067
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4068
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4069
 
 
4070
else
 
4071
  ac_cv_header_stdc=no
 
4072
fi
 
4073
rm -f conftest*
 
4074
 
 
4075
fi
 
4076
 
 
4077
if test $ac_cv_header_stdc = yes; then
 
4078
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4079
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4080
/* end confdefs.h.  */
 
4081
#include <stdlib.h>
 
4082
 
 
4083
_ACEOF
 
4084
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4085
  $EGREP "free" >/dev/null 2>&1; then :
 
4086
 
 
4087
else
 
4088
  ac_cv_header_stdc=no
 
4089
fi
 
4090
rm -f conftest*
 
4091
 
 
4092
fi
 
4093
 
 
4094
if test $ac_cv_header_stdc = yes; then
 
4095
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4096
  if test "$cross_compiling" = yes; then :
 
4097
  :
 
4098
else
 
4099
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4100
/* end confdefs.h.  */
 
4101
#include <ctype.h>
 
4102
#include <stdlib.h>
 
4103
#if ((' ' & 0x0FF) == 0x020)
 
4104
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4105
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4106
#else
 
4107
# define ISLOWER(c) \
 
4108
                   (('a' <= (c) && (c) <= 'i') \
 
4109
                     || ('j' <= (c) && (c) <= 'r') \
 
4110
                     || ('s' <= (c) && (c) <= 'z'))
 
4111
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4112
#endif
 
4113
 
 
4114
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4115
int
 
4116
main ()
 
4117
{
 
4118
  int i;
 
4119
  for (i = 0; i < 256; i++)
 
4120
    if (XOR (islower (i), ISLOWER (i))
 
4121
        || toupper (i) != TOUPPER (i))
 
4122
      return 2;
 
4123
  return 0;
 
4124
}
 
4125
_ACEOF
 
4126
if ac_fn_c_try_run "$LINENO"; then :
 
4127
 
 
4128
else
 
4129
  ac_cv_header_stdc=no
 
4130
fi
 
4131
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4132
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4133
fi
 
4134
 
 
4135
fi
 
4136
fi
 
4137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4138
$as_echo "$ac_cv_header_stdc" >&6; }
 
4139
if test $ac_cv_header_stdc = yes; then
 
4140
 
 
4141
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4142
 
 
4143
fi
 
4144
 
 
4145
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4146
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4147
                  inttypes.h stdint.h unistd.h
 
4148
do :
 
4149
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4150
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4151
"
 
4152
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4153
  cat >>confdefs.h <<_ACEOF
 
4154
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4155
_ACEOF
 
4156
 
 
4157
fi
 
4158
 
 
4159
done
 
4160
 
 
4161
 
 
4162
 
 
4163
 
 
4164
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
4165
        if test -n "$ac_tool_prefix"; then
 
4166
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
4167
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4169
$as_echo_n "checking for $ac_word... " >&6; }
 
4170
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
4171
  $as_echo_n "(cached) " >&6
 
4172
else
 
4173
  case $PKG_CONFIG in
 
4174
  [\\/]* | ?:[\\/]*)
 
4175
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
4176
  ;;
 
4177
  *)
 
4178
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4179
for as_dir in $PATH
 
4180
do
 
4181
  IFS=$as_save_IFS
 
4182
  test -z "$as_dir" && as_dir=.
 
4183
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4185
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4187
    break 2
 
4188
  fi
 
4189
done
 
4190
  done
 
4191
IFS=$as_save_IFS
 
4192
 
 
4193
  ;;
 
4194
esac
 
4195
fi
 
4196
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
4197
if test -n "$PKG_CONFIG"; then
 
4198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
4199
$as_echo "$PKG_CONFIG" >&6; }
 
4200
else
 
4201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4202
$as_echo "no" >&6; }
 
4203
fi
 
4204
 
 
4205
 
 
4206
fi
 
4207
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
4208
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
4209
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
4210
set dummy pkg-config; ac_word=$2
 
4211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4212
$as_echo_n "checking for $ac_word... " >&6; }
 
4213
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
4214
  $as_echo_n "(cached) " >&6
 
4215
else
 
4216
  case $ac_pt_PKG_CONFIG in
 
4217
  [\\/]* | ?:[\\/]*)
 
4218
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
4219
  ;;
 
4220
  *)
 
4221
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4222
for as_dir in $PATH
 
4223
do
 
4224
  IFS=$as_save_IFS
 
4225
  test -z "$as_dir" && as_dir=.
 
4226
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4228
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4229
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4230
    break 2
 
4231
  fi
 
4232
done
 
4233
  done
 
4234
IFS=$as_save_IFS
 
4235
 
 
4236
  ;;
 
4237
esac
 
4238
fi
 
4239
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
4240
if test -n "$ac_pt_PKG_CONFIG"; then
 
4241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
4242
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
4243
else
 
4244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4245
$as_echo "no" >&6; }
 
4246
fi
 
4247
 
 
4248
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
4249
    PKG_CONFIG=""
 
4250
  else
 
4251
    case $cross_compiling:$ac_tool_warned in
 
4252
yes:)
 
4253
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4254
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4255
ac_tool_warned=yes ;;
 
4256
esac
 
4257
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
4258
  fi
 
4259
else
 
4260
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
4261
fi
 
4262
 
 
4263
fi
 
4264
if test -n "$PKG_CONFIG"; then
 
4265
        _pkg_min_version=0.9.0
 
4266
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
4267
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
4268
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
4269
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4270
$as_echo "yes" >&6; }
 
4271
        else
 
4272
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4273
$as_echo "no" >&6; }
 
4274
                PKG_CONFIG=""
 
4275
        fi
 
4276
 
 
4277
fi
4544
4278
# Make sure we can run config.sub.
4545
4279
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4546
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4547
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4548
 
   { (exit 1); exit 1; }; }
 
4280
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4549
4281
 
4550
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4551
4283
$as_echo_n "checking build system type... " >&6; }
4552
 
if test "${ac_cv_build+set}" = set; then
 
4284
if ${ac_cv_build+:} false; then :
4553
4285
  $as_echo_n "(cached) " >&6
4554
4286
else
4555
4287
  ac_build_alias=$build_alias
4556
4288
test "x$ac_build_alias" = x &&
4557
4289
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4558
4290
test "x$ac_build_alias" = x &&
4559
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4560
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4561
 
   { (exit 1); exit 1; }; }
 
4291
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4562
4292
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4563
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4564
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4565
 
   { (exit 1); exit 1; }; }
 
4293
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4566
4294
 
4567
4295
fi
4568
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4569
4297
$as_echo "$ac_cv_build" >&6; }
4570
4298
case $ac_cv_build in
4571
4299
*-*-*) ;;
4572
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4573
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4574
 
   { (exit 1); exit 1; }; };;
 
4300
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4575
4301
esac
4576
4302
build=$ac_cv_build
4577
4303
ac_save_IFS=$IFS; IFS='-'
4587
4313
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4588
4314
 
4589
4315
 
4590
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4591
4317
$as_echo_n "checking host system type... " >&6; }
4592
 
if test "${ac_cv_host+set}" = set; then
 
4318
if ${ac_cv_host+:} false; then :
4593
4319
  $as_echo_n "(cached) " >&6
4594
4320
else
4595
4321
  if test "x$host_alias" = x; then
4596
4322
  ac_cv_host=$ac_cv_build
4597
4323
else
4598
4324
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4599
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4600
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4601
 
   { (exit 1); exit 1; }; }
 
4325
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4602
4326
fi
4603
4327
 
4604
4328
fi
4605
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4606
4330
$as_echo "$ac_cv_host" >&6; }
4607
4331
case $ac_cv_host in
4608
4332
*-*-*) ;;
4609
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4610
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4611
 
   { (exit 1); exit 1; }; };;
 
4333
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4612
4334
esac
4613
4335
host=$ac_cv_host
4614
4336
ac_save_IFS=$IFS; IFS='-'
4624
4346
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4625
4347
 
4626
4348
 
 
4349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4350
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4351
if ${ac_cv_path_SED+:} false; then :
 
4352
  $as_echo_n "(cached) " >&6
 
4353
else
 
4354
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4355
     for ac_i in 1 2 3 4 5 6 7; do
 
4356
       ac_script="$ac_script$as_nl$ac_script"
 
4357
     done
 
4358
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4359
     { ac_script=; unset ac_script;}
 
4360
     if test -z "$SED"; then
 
4361
  ac_path_SED_found=false
 
4362
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4363
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4364
for as_dir in $PATH
 
4365
do
 
4366
  IFS=$as_save_IFS
 
4367
  test -z "$as_dir" && as_dir=.
 
4368
    for ac_prog in sed gsed; do
 
4369
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4370
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4371
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4372
# Check for GNU ac_path_SED and select it if it is found.
 
4373
  # Check for GNU $ac_path_SED
 
4374
case `"$ac_path_SED" --version 2>&1` in
 
4375
*GNU*)
 
4376
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4377
*)
 
4378
  ac_count=0
 
4379
  $as_echo_n 0123456789 >"conftest.in"
 
4380
  while :
 
4381
  do
 
4382
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4383
    mv "conftest.tmp" "conftest.in"
 
4384
    cp "conftest.in" "conftest.nl"
 
4385
    $as_echo '' >> "conftest.nl"
 
4386
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4387
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4388
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4389
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4390
      # Best one so far, save it but keep looking for a better one
 
4391
      ac_cv_path_SED="$ac_path_SED"
 
4392
      ac_path_SED_max=$ac_count
 
4393
    fi
 
4394
    # 10*(2^10) chars as input seems more than enough
 
4395
    test $ac_count -gt 10 && break
 
4396
  done
 
4397
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4398
esac
 
4399
 
 
4400
      $ac_path_SED_found && break 3
 
4401
    done
 
4402
  done
 
4403
  done
 
4404
IFS=$as_save_IFS
 
4405
  if test -z "$ac_cv_path_SED"; then
 
4406
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4407
  fi
 
4408
else
 
4409
  ac_cv_path_SED=$SED
 
4410
fi
 
4411
 
 
4412
fi
 
4413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4414
$as_echo "$ac_cv_path_SED" >&6; }
 
4415
 SED="$ac_cv_path_SED"
 
4416
  rm -f conftest.sed
 
4417
 
 
4418
 
4627
4419
 
4628
4420
 
4629
4421
 
4630
4422
if  test "x$GCC" = xyes ; then
4631
4423
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4632
4424
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4633
 
-Wbad-function-cast"
 
4425
-Wbad-function-cast -Wformat=2"
4634
4426
    case `$CC -dumpversion` in
4635
4427
    3.4.* | 4.*)
4636
4428
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4637
4429
        ;;
4638
4430
    esac
4639
4431
else
4640
 
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4641
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4642
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4643
 
  $as_echo_n "(cached) " >&6
4644
 
else
4645
 
  cat >conftest.$ac_ext <<_ACEOF
4646
 
/* confdefs.h.  */
4647
 
_ACEOF
4648
 
cat confdefs.h >>conftest.$ac_ext
4649
 
cat >>conftest.$ac_ext <<_ACEOF
4650
 
/* end confdefs.h.  */
4651
 
$ac_includes_default
4652
 
int
4653
 
main ()
4654
 
{
4655
 
#ifndef __SUNPRO_C
4656
 
  (void) __SUNPRO_C;
4657
 
#endif
4658
 
 
4659
 
  ;
4660
 
  return 0;
4661
 
}
4662
 
_ACEOF
4663
 
rm -f conftest.$ac_objext
4664
 
if { (ac_try="$ac_compile"
4665
 
case "(($ac_try" in
4666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667
 
  *) ac_try_echo=$ac_try;;
4668
 
esac
4669
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4670
 
$as_echo "$ac_try_echo") >&5
4671
 
  (eval "$ac_compile") 2>conftest.er1
4672
 
  ac_status=$?
4673
 
  grep -v '^ *+' conftest.er1 >conftest.err
4674
 
  rm -f conftest.er1
4675
 
  cat conftest.err >&5
4676
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677
 
  (exit $ac_status); } && {
4678
 
         test -z "$ac_c_werror_flag" ||
4679
 
         test ! -s conftest.err
4680
 
       } && test -s conftest.$ac_objext; then
4681
 
  ac_cv_have_decl___SUNPRO_C=yes
4682
 
else
4683
 
  $as_echo "$as_me: failed program was:" >&5
4684
 
sed 's/^/| /' conftest.$ac_ext >&5
4685
 
 
4686
 
        ac_cv_have_decl___SUNPRO_C=no
4687
 
fi
4688
 
 
4689
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690
 
fi
4691
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4692
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4693
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4432
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4433
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4694
4434
  SUNCC="yes"
4695
4435
else
4696
4436
  SUNCC="no"
4701
4441
    fi
4702
4442
fi
4703
4443
 
4704
 
# Check whether --enable-silent-rules was given.
4705
 
if test "${enable_silent_rules+set}" = set; then
4706
 
  enableval=$enable_silent_rules;
4707
 
fi
4708
 
 
4709
 
case $enable_silent_rules in
4710
 
yes) AM_DEFAULT_VERBOSITY=0;;
4711
 
no)  AM_DEFAULT_VERBOSITY=1;;
4712
 
*)   AM_DEFAULT_VERBOSITY=0;;
4713
 
esac
4714
 
AM_BACKSLASH='\'
4715
 
 
4716
 
 
4717
 
 
4718
 
 
 
4444
 
 
4445
 
 
4446
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4719
4447
 
4720
4448
 
4721
4449
 
4722
4450
# Check whether --enable-strict-compilation was given.
4723
 
if test "${enable_strict_compilation+set}" = set; then
 
4451
if test "${enable_strict_compilation+set}" = set; then :
4724
4452
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4725
4453
else
4726
4454
  STRICT_COMPILE=no
4727
4455
fi
4728
4456
 
4729
4457
if test "x$STRICT_COMPILE" = "xyes"; then
4730
 
        { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4731
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4732
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4733
 
  $as_echo_n "(cached) " >&6
4734
 
else
4735
 
  cat >conftest.$ac_ext <<_ACEOF
4736
 
/* confdefs.h.  */
4737
 
_ACEOF
4738
 
cat confdefs.h >>conftest.$ac_ext
4739
 
cat >>conftest.$ac_ext <<_ACEOF
4740
 
/* end confdefs.h.  */
4741
 
$ac_includes_default
4742
 
int
4743
 
main ()
4744
 
{
4745
 
#ifndef __SUNPRO_C
4746
 
  (void) __SUNPRO_C;
4747
 
#endif
4748
 
 
4749
 
  ;
4750
 
  return 0;
4751
 
}
4752
 
_ACEOF
4753
 
rm -f conftest.$ac_objext
4754
 
if { (ac_try="$ac_compile"
4755
 
case "(($ac_try" in
4756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757
 
  *) ac_try_echo=$ac_try;;
4758
 
esac
4759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4760
 
$as_echo "$ac_try_echo") >&5
4761
 
  (eval "$ac_compile") 2>conftest.er1
4762
 
  ac_status=$?
4763
 
  grep -v '^ *+' conftest.er1 >conftest.err
4764
 
  rm -f conftest.er1
4765
 
  cat conftest.err >&5
4766
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767
 
  (exit $ac_status); } && {
4768
 
         test -z "$ac_c_werror_flag" ||
4769
 
         test ! -s conftest.err
4770
 
       } && test -s conftest.$ac_objext; then
4771
 
  ac_cv_have_decl___SUNPRO_C=yes
4772
 
else
4773
 
  $as_echo "$as_me: failed program was:" >&5
4774
 
sed 's/^/| /' conftest.$ac_ext >&5
4775
 
 
4776
 
        ac_cv_have_decl___SUNPRO_C=no
4777
 
fi
4778
 
 
4779
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780
 
fi
4781
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4782
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4783
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4458
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4459
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4784
4460
  SUNCC="yes"
4785
4461
else
4786
4462
  SUNCC="no"
4787
4463
fi
4788
4464
 
4789
 
        { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4790
 
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4791
 
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4792
 
  $as_echo_n "(cached) " >&6
4793
 
else
4794
 
  cat >conftest.$ac_ext <<_ACEOF
4795
 
/* confdefs.h.  */
4796
 
_ACEOF
4797
 
cat confdefs.h >>conftest.$ac_ext
4798
 
cat >>conftest.$ac_ext <<_ACEOF
4799
 
/* end confdefs.h.  */
4800
 
$ac_includes_default
4801
 
int
4802
 
main ()
4803
 
{
4804
 
#ifndef __INTEL_COMPILER
4805
 
  (void) __INTEL_COMPILER;
4806
 
#endif
4807
 
 
4808
 
  ;
4809
 
  return 0;
4810
 
}
4811
 
_ACEOF
4812
 
rm -f conftest.$ac_objext
4813
 
if { (ac_try="$ac_compile"
4814
 
case "(($ac_try" in
4815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816
 
  *) ac_try_echo=$ac_try;;
4817
 
esac
4818
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4819
 
$as_echo "$ac_try_echo") >&5
4820
 
  (eval "$ac_compile") 2>conftest.er1
4821
 
  ac_status=$?
4822
 
  grep -v '^ *+' conftest.er1 >conftest.err
4823
 
  rm -f conftest.er1
4824
 
  cat conftest.err >&5
4825
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826
 
  (exit $ac_status); } && {
4827
 
         test -z "$ac_c_werror_flag" ||
4828
 
         test ! -s conftest.err
4829
 
       } && test -s conftest.$ac_objext; then
4830
 
  ac_cv_have_decl___INTEL_COMPILER=yes
4831
 
else
4832
 
  $as_echo "$as_me: failed program was:" >&5
4833
 
sed 's/^/| /' conftest.$ac_ext >&5
4834
 
 
4835
 
        ac_cv_have_decl___INTEL_COMPILER=no
4836
 
fi
4837
 
 
4838
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4839
 
fi
4840
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4841
 
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4842
 
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
 
4465
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
 
4466
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4843
4467
  INTELCC="yes"
4844
4468
else
4845
4469
  INTELCC="no"
4858
4482
 
4859
4483
 
4860
4484
 
4861
 
# Check whether --with-release-version was given.
4862
 
if test "${with_release_version+set}" = set; then
4863
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
4864
 
else
4865
 
  RELEASE_VERSION=""
4866
 
fi
4867
 
 
4868
 
        if test "x$RELEASE_VERSION" != "x"; then
4869
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
4870
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4871
 
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4872
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4873
 
        fi
4874
 
 
4875
4485
cat >>confdefs.h <<_ACEOF
4876
4486
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4877
4487
_ACEOF
4896
4506
 
4897
4507
 
4898
4508
 
4899
 
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4900
 
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
 
4509
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
 
4510
mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
 
4511
|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4901
4512
echo 'git directory not found: installing possibly empty changelog.' >&2)"
4902
4513
 
4903
 
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
 
4514
 
 
4515
 
 
4516
 
 
4517
macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
 
4518
INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
 
4519
mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
 
4520
|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
 
4521
echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
 
4522
 
4904
4523
 
4905
4524
 
4906
4525
 
4974
4593
 
4975
4594
 
4976
4595
 
 
4596
XORG_MAN_PAGE="X Version 11"
 
4597
 
 
4598
MAN_SUBSTS="\
 
4599
        -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4600
        -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4601
        -e 's|__xservername__|Xorg|g' \
 
4602
        -e 's|__xconfigfile__|xorg.conf|g' \
 
4603
        -e 's|__projectroot__|\$(prefix)|g' \
 
4604
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
 
4605
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
 
4606
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
 
4607
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
 
4608
        -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
 
4609
        -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
 
4610
        -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
 
4611
 
 
4612
 
 
4613
 
 
4614
# Check whether --enable-silent-rules was given.
 
4615
if test "${enable_silent_rules+set}" = set; then :
 
4616
  enableval=$enable_silent_rules;
 
4617
fi
 
4618
 
 
4619
case $enable_silent_rules in
 
4620
yes) AM_DEFAULT_VERBOSITY=0;;
 
4621
no)  AM_DEFAULT_VERBOSITY=1;;
 
4622
*)   AM_DEFAULT_VERBOSITY=0;;
 
4623
esac
 
4624
AM_BACKSLASH='\'
 
4625
 
4977
4626
 
4978
4627
 
4979
4628
# Checks for pkg-config packages
4980
4629
 
4981
 
 
4982
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4983
 
        if test -n "$ac_tool_prefix"; then
4984
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4985
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4986
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4987
 
$as_echo_n "checking for $ac_word... " >&6; }
4988
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4989
 
  $as_echo_n "(cached) " >&6
4990
 
else
4991
 
  case $PKG_CONFIG in
4992
 
  [\\/]* | ?:[\\/]*)
4993
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4994
 
  ;;
4995
 
  *)
4996
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997
 
for as_dir in $PATH
4998
 
do
4999
 
  IFS=$as_save_IFS
5000
 
  test -z "$as_dir" && as_dir=.
5001
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5002
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5004
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5005
 
    break 2
5006
 
  fi
5007
 
done
5008
 
done
5009
 
IFS=$as_save_IFS
5010
 
 
5011
 
  ;;
5012
 
esac
5013
 
fi
5014
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5015
 
if test -n "$PKG_CONFIG"; then
5016
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5017
 
$as_echo "$PKG_CONFIG" >&6; }
5018
 
else
5019
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5020
 
$as_echo "no" >&6; }
5021
 
fi
5022
 
 
5023
 
 
5024
 
fi
5025
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
5026
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
5027
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
5028
 
set dummy pkg-config; ac_word=$2
5029
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5030
 
$as_echo_n "checking for $ac_word... " >&6; }
5031
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5032
 
  $as_echo_n "(cached) " >&6
5033
 
else
5034
 
  case $ac_pt_PKG_CONFIG in
5035
 
  [\\/]* | ?:[\\/]*)
5036
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5037
 
  ;;
5038
 
  *)
5039
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040
 
for as_dir in $PATH
5041
 
do
5042
 
  IFS=$as_save_IFS
5043
 
  test -z "$as_dir" && as_dir=.
5044
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5045
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5047
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5048
 
    break 2
5049
 
  fi
5050
 
done
5051
 
done
5052
 
IFS=$as_save_IFS
5053
 
 
5054
 
  ;;
5055
 
esac
5056
 
fi
5057
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5058
 
if test -n "$ac_pt_PKG_CONFIG"; then
5059
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5060
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5061
 
else
5062
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5063
 
$as_echo "no" >&6; }
5064
 
fi
5065
 
 
5066
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
5067
 
    PKG_CONFIG=""
5068
 
  else
5069
 
    case $cross_compiling:$ac_tool_warned in
5070
 
yes:)
5071
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5072
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5073
 
ac_tool_warned=yes ;;
5074
 
esac
5075
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
5076
 
  fi
5077
 
else
5078
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5079
 
fi
5080
 
 
5081
 
fi
5082
 
if test -n "$PKG_CONFIG"; then
5083
 
        _pkg_min_version=0.9.0
5084
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5085
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5086
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5087
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
5088
 
$as_echo "yes" >&6; }
5089
 
        else
5090
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
5091
 
$as_echo "no" >&6; }
5092
 
                PKG_CONFIG=""
5093
 
        fi
5094
 
 
5095
 
fi
5096
 
 
5097
4630
pkg_failed=no
5098
 
{ $as_echo "$as_me:$LINENO: checking for XDRIINFO" >&5
 
4631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDRIINFO" >&5
5099
4632
$as_echo_n "checking for XDRIINFO... " >&6; }
5100
4633
 
5101
4634
if test -n "$XDRIINFO_CFLAGS"; then
5102
4635
    pkg_cv_XDRIINFO_CFLAGS="$XDRIINFO_CFLAGS"
5103
4636
 elif test -n "$PKG_CONFIG"; then
5104
4637
    if test -n "$PKG_CONFIG" && \
5105
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 glproto\"") >&5
 
4638
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 glproto\""; } >&5
5106
4639
  ($PKG_CONFIG --exists --print-errors "x11 glproto") 2>&5
5107
4640
  ac_status=$?
5108
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109
 
  (exit $ac_status); }; then
 
4641
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4642
  test $ac_status = 0; }; then
5110
4643
  pkg_cv_XDRIINFO_CFLAGS=`$PKG_CONFIG --cflags "x11 glproto" 2>/dev/null`
5111
4644
else
5112
4645
  pkg_failed=yes
5118
4651
    pkg_cv_XDRIINFO_LIBS="$XDRIINFO_LIBS"
5119
4652
 elif test -n "$PKG_CONFIG"; then
5120
4653
    if test -n "$PKG_CONFIG" && \
5121
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 glproto\"") >&5
 
4654
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 glproto\""; } >&5
5122
4655
  ($PKG_CONFIG --exists --print-errors "x11 glproto") 2>&5
5123
4656
  ac_status=$?
5124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125
 
  (exit $ac_status); }; then
 
4657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4658
  test $ac_status = 0; }; then
5126
4659
  pkg_cv_XDRIINFO_LIBS=`$PKG_CONFIG --libs "x11 glproto" 2>/dev/null`
5127
4660
else
5128
4661
  pkg_failed=yes
5148
4681
        # Put the nasty error message in config.log where it belongs
5149
4682
        echo "$XDRIINFO_PKG_ERRORS" >&5
5150
4683
 
5151
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 glproto) were not met:
5152
 
 
5153
 
$XDRIINFO_PKG_ERRORS
5154
 
 
5155
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5156
 
installed software in a non-standard prefix.
5157
 
 
5158
 
Alternatively, you may set the environment variables XDRIINFO_CFLAGS
5159
 
and XDRIINFO_LIBS to avoid the need to call pkg-config.
5160
 
See the pkg-config man page for more details.
5161
 
" >&5
5162
 
$as_echo "$as_me: error: Package requirements (x11 glproto) were not met:
5163
 
 
5164
 
$XDRIINFO_PKG_ERRORS
5165
 
 
5166
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5167
 
installed software in a non-standard prefix.
5168
 
 
5169
 
Alternatively, you may set the environment variables XDRIINFO_CFLAGS
5170
 
and XDRIINFO_LIBS to avoid the need to call pkg-config.
5171
 
See the pkg-config man page for more details.
5172
 
" >&2;}
5173
 
   { (exit 1); exit 1; }; }
 
4684
        as_fn_error $? "Package requirements (x11 glproto) were not met:
 
4685
 
 
4686
$XDRIINFO_PKG_ERRORS
 
4687
 
 
4688
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4689
installed software in a non-standard prefix.
 
4690
 
 
4691
Alternatively, you may set the environment variables XDRIINFO_CFLAGS
 
4692
and XDRIINFO_LIBS to avoid the need to call pkg-config.
 
4693
See the pkg-config man page for more details.
 
4694
" "$LINENO" 5
5174
4695
elif test $pkg_failed = untried; then
5175
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4696
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5176
4697
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5177
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5178
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5179
 
path to pkg-config.
5180
 
 
5181
 
Alternatively, you may set the environment variables XDRIINFO_CFLAGS
5182
 
and XDRIINFO_LIBS to avoid the need to call pkg-config.
5183
 
See the pkg-config man page for more details.
5184
 
 
5185
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5186
 
See \`config.log' for more details." >&5
5187
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5188
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5189
 
path to pkg-config.
5190
 
 
5191
 
Alternatively, you may set the environment variables XDRIINFO_CFLAGS
5192
 
and XDRIINFO_LIBS to avoid the need to call pkg-config.
5193
 
See the pkg-config man page for more details.
5194
 
 
5195
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5196
 
See \`config.log' for more details." >&2;}
5197
 
   { (exit 1); exit 1; }; }; }
 
4698
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
4699
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4700
path to pkg-config.
 
4701
 
 
4702
Alternatively, you may set the environment variables XDRIINFO_CFLAGS
 
4703
and XDRIINFO_LIBS to avoid the need to call pkg-config.
 
4704
See the pkg-config man page for more details.
 
4705
 
 
4706
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4707
See \`config.log' for more details" "$LINENO" 5; }
5198
4708
else
5199
4709
        XDRIINFO_CFLAGS=$pkg_cv_XDRIINFO_CFLAGS
5200
4710
        XDRIINFO_LIBS=$pkg_cv_XDRIINFO_LIBS
5201
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4711
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202
4712
$as_echo "yes" >&6; }
5203
4713
        :
5204
4714
fi
5205
4715
 
5206
 
 
5207
 
 
5208
4716
# Checks for non-pkg-config packages (Mesa or vendor OpenGL)
5209
 
{ $as_echo "$as_me:$LINENO: checking for library containing glXGetProcAddressARB" >&5
 
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing glXGetProcAddressARB" >&5
5210
4718
$as_echo_n "checking for library containing glXGetProcAddressARB... " >&6; }
5211
 
if test "${ac_cv_search_glXGetProcAddressARB+set}" = set; then
 
4719
if ${ac_cv_search_glXGetProcAddressARB+:} false; then :
5212
4720
  $as_echo_n "(cached) " >&6
5213
4721
else
5214
4722
  ac_func_search_save_LIBS=$LIBS
5215
 
cat >conftest.$ac_ext <<_ACEOF
5216
 
/* confdefs.h.  */
5217
 
_ACEOF
5218
 
cat confdefs.h >>conftest.$ac_ext
5219
 
cat >>conftest.$ac_ext <<_ACEOF
 
4723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220
4724
/* end confdefs.h.  */
5221
4725
 
5222
4726
/* Override any GCC internal prototype to avoid an error.
5241
4745
    ac_res=-l$ac_lib
5242
4746
    LIBS="-l$ac_lib $XDRIINFO_LIBS $ac_func_search_save_LIBS"
5243
4747
  fi
5244
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5245
 
if { (ac_try="$ac_link"
5246
 
case "(($ac_try" in
5247
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5248
 
  *) ac_try_echo=$ac_try;;
5249
 
esac
5250
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5251
 
$as_echo "$ac_try_echo") >&5
5252
 
  (eval "$ac_link") 2>conftest.er1
5253
 
  ac_status=$?
5254
 
  grep -v '^ *+' conftest.er1 >conftest.err
5255
 
  rm -f conftest.er1
5256
 
  cat conftest.err >&5
5257
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258
 
  (exit $ac_status); } && {
5259
 
         test -z "$ac_c_werror_flag" ||
5260
 
         test ! -s conftest.err
5261
 
       } && test -s conftest$ac_exeext && {
5262
 
         test "$cross_compiling" = yes ||
5263
 
         $as_test_x conftest$ac_exeext
5264
 
       }; then
 
4748
  if ac_fn_c_try_link "$LINENO"; then :
5265
4749
  ac_cv_search_glXGetProcAddressARB=$ac_res
5266
 
else
5267
 
  $as_echo "$as_me: failed program was:" >&5
5268
 
sed 's/^/| /' conftest.$ac_ext >&5
5269
 
 
5270
 
 
5271
4750
fi
5272
 
 
5273
 
rm -rf conftest.dSYM
5274
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5275
 
      conftest$ac_exeext
5276
 
  if test "${ac_cv_search_glXGetProcAddressARB+set}" = set; then
 
4751
rm -f core conftest.err conftest.$ac_objext \
 
4752
    conftest$ac_exeext
 
4753
  if ${ac_cv_search_glXGetProcAddressARB+:} false; then :
5277
4754
  break
5278
4755
fi
5279
4756
done
5280
 
if test "${ac_cv_search_glXGetProcAddressARB+set}" = set; then
5281
 
  :
 
4757
if ${ac_cv_search_glXGetProcAddressARB+:} false; then :
 
4758
 
5282
4759
else
5283
4760
  ac_cv_search_glXGetProcAddressARB=no
5284
4761
fi
5285
4762
rm conftest.$ac_ext
5286
4763
LIBS=$ac_func_search_save_LIBS
5287
4764
fi
5288
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_glXGetProcAddressARB" >&5
 
4765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_glXGetProcAddressARB" >&5
5289
4766
$as_echo "$ac_cv_search_glXGetProcAddressARB" >&6; }
5290
4767
ac_res=$ac_cv_search_glXGetProcAddressARB
5291
 
if test "$ac_res" != no; then
 
4768
if test "$ac_res" != no; then :
5292
4769
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5293
4770
 
5294
4771
else
5295
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4772
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5296
4773
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5297
 
{ { $as_echo "$as_me:$LINENO: error: cannot find GL library - make sure Mesa or other OpenGL package is installed
5298
 
See \`config.log' for more details." >&5
5299
 
$as_echo "$as_me: error: cannot find GL library - make sure Mesa or other OpenGL package is installed
5300
 
See \`config.log' for more details." >&2;}
5301
 
   { (exit 1); exit 1; }; }; }
 
4774
as_fn_error $? "cannot find GL library - make sure Mesa or other OpenGL package is installed
 
4775
See \`config.log' for more details" "$LINENO" 5; }
5302
4776
fi
5303
4777
 
5304
4778
 
5331
4805
    case $ac_val in #(
5332
4806
    *${as_nl}*)
5333
4807
      case $ac_var in #(
5334
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
4808
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5335
4809
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5336
4810
      esac
5337
4811
      case $ac_var in #(
5338
4812
      _ | IFS | as_nl) ;; #(
5339
4813
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5340
 
      *) $as_unset $ac_var ;;
 
4814
      *) { eval $ac_var=; unset $ac_var;} ;;
5341
4815
      esac ;;
5342
4816
    esac
5343
4817
  done
5345
4819
  (set) 2>&1 |
5346
4820
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5347
4821
    *${as_nl}ac_space=\ *)
5348
 
      # `set' does not quote correctly, so add quotes (double-quote
5349
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4822
      # `set' does not quote correctly, so add quotes: double-quote
 
4823
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5350
4824
      sed -n \
5351
4825
        "s/'/'\\\\''/g;
5352
4826
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5368
4842
     :end' >>confcache
5369
4843
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5370
4844
  if test -w "$cache_file"; then
5371
 
    test "x$cache_file" != "x/dev/null" &&
5372
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4845
    if test "x$cache_file" != "x/dev/null"; then
 
4846
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5373
4847
$as_echo "$as_me: updating cache $cache_file" >&6;}
5374
 
    cat confcache >$cache_file
 
4848
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
4849
        cat confcache >"$cache_file"
 
4850
      else
 
4851
        case $cache_file in #(
 
4852
        */* | ?:*)
 
4853
          mv -f confcache "$cache_file"$$ &&
 
4854
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
4855
        *)
 
4856
          mv -f confcache "$cache_file" ;;
 
4857
        esac
 
4858
      fi
 
4859
    fi
5375
4860
  else
5376
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4861
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5377
4862
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5378
4863
  fi
5379
4864
fi
5387
4872
 
5388
4873
ac_libobjs=
5389
4874
ac_ltlibobjs=
 
4875
U=
5390
4876
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5391
4877
  # 1. Remove the extension, and $U if already installed.
5392
4878
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5393
4879
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5394
4880
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5395
4881
  #    will be set to the directory where LIBOBJS objects are built.
5396
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5397
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4882
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4883
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5398
4884
done
5399
4885
LIBOBJS=$ac_libobjs
5400
4886
 
5410
4896
fi
5411
4897
 
5412
4898
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5413
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5414
 
Usually this means the macro was only invoked conditionally." >&5
5415
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5416
 
Usually this means the macro was only invoked conditionally." >&2;}
5417
 
   { (exit 1); exit 1; }; }
 
4899
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
4900
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5418
4901
fi
5419
4902
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5420
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5421
 
Usually this means the macro was only invoked conditionally." >&5
5422
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5423
 
Usually this means the macro was only invoked conditionally." >&2;}
5424
 
   { (exit 1); exit 1; }; }
 
4903
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
4904
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5425
4905
fi
5426
4906
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5427
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5428
 
Usually this means the macro was only invoked conditionally." >&5
5429
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5430
 
Usually this means the macro was only invoked conditionally." >&2;}
5431
 
   { (exit 1); exit 1; }; }
 
4907
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
4908
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5432
4909
fi
5433
4910
 
5434
 
: ${CONFIG_STATUS=./config.status}
 
4911
: "${CONFIG_STATUS=./config.status}"
5435
4912
ac_write_fail=0
5436
4913
ac_clean_files_save=$ac_clean_files
5437
4914
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5438
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4915
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5439
4916
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5440
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4917
as_write_fail=0
 
4918
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5441
4919
#! $SHELL
5442
4920
# Generated by $as_me.
5443
4921
# Run this file to recreate the current configuration.
5447
4925
debug=false
5448
4926
ac_cs_recheck=false
5449
4927
ac_cs_silent=false
 
4928
 
5450
4929
SHELL=\${CONFIG_SHELL-$SHELL}
5451
 
_ACEOF
5452
 
 
5453
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5454
 
## --------------------- ##
5455
 
## M4sh Initialization.  ##
5456
 
## --------------------- ##
 
4930
export SHELL
 
4931
_ASEOF
 
4932
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
4933
## -------------------- ##
 
4934
## M4sh Initialization. ##
 
4935
## -------------------- ##
5457
4936
 
5458
4937
# Be more Bourne compatible
5459
4938
DUALCASE=1; export DUALCASE # for MKS sh
5460
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4939
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5461
4940
  emulate sh
5462
4941
  NULLCMD=:
5463
4942
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5465
4944
  alias -g '${1+"$@"}'='"$@"'
5466
4945
  setopt NO_GLOB_SUBST
5467
4946
else
5468
 
  case `(set -o) 2>/dev/null` in
5469
 
  *posix*) set -o posix ;;
 
4947
  case `(set -o) 2>/dev/null` in #(
 
4948
  *posix*) :
 
4949
    set -o posix ;; #(
 
4950
  *) :
 
4951
     ;;
5470
4952
esac
5471
 
 
5472
4953
fi
5473
4954
 
5474
4955
 
5475
 
 
5476
 
 
5477
 
# PATH needs CR
5478
 
# Avoid depending upon Character Ranges.
5479
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5480
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5481
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5482
 
as_cr_digits='0123456789'
5483
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5484
 
 
5485
4956
as_nl='
5486
4957
'
5487
4958
export as_nl
5489
4960
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5490
4961
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5491
4962
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5492
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4963
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
4964
# but without wasting forks for bash or zsh.
 
4965
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
4966
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4967
  as_echo='print -r --'
 
4968
  as_echo_n='print -rn --'
 
4969
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5493
4970
  as_echo='printf %s\n'
5494
4971
  as_echo_n='printf %s'
5495
4972
else
5500
4977
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5501
4978
    as_echo_n_body='eval
5502
4979
      arg=$1;
5503
 
      case $arg in
 
4980
      case $arg in #(
5504
4981
      *"$as_nl"*)
5505
4982
        expr "X$arg" : "X\\(.*\\)$as_nl";
5506
4983
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5523
5000
  }
5524
5001
fi
5525
5002
 
5526
 
# Support unset when possible.
5527
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5528
 
  as_unset=unset
5529
 
else
5530
 
  as_unset=false
5531
 
fi
5532
 
 
5533
5003
 
5534
5004
# IFS
5535
5005
# We need space, tab and new line, in precisely that order.  Quoting is
5539
5009
IFS=" ""        $as_nl"
5540
5010
 
5541
5011
# Find who we are.  Look in the path if we contain no directory separator.
5542
 
case $0 in
 
5012
as_myself=
 
5013
case $0 in #((
5543
5014
  *[\\/]* ) as_myself=$0 ;;
5544
5015
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545
5016
for as_dir in $PATH
5546
5017
do
5547
5018
  IFS=$as_save_IFS
5548
5019
  test -z "$as_dir" && as_dir=.
5549
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5550
 
done
 
5020
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5021
  done
5551
5022
IFS=$as_save_IFS
5552
5023
 
5553
5024
     ;;
5559
5030
fi
5560
5031
if test ! -f "$as_myself"; then
5561
5032
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5562
 
  { (exit 1); exit 1; }
 
5033
  exit 1
5563
5034
fi
5564
5035
 
5565
 
# Work around bugs in pre-3.0 UWIN ksh.
5566
 
for as_var in ENV MAIL MAILPATH
5567
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5036
# Unset variables that we do not need and which cause bugs (e.g. in
 
5037
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
5038
# suppresses any "Segmentation fault" message there.  '((' could
 
5039
# trigger a bug in pdksh 5.2.14.
 
5040
for as_var in BASH_ENV ENV MAIL MAILPATH
 
5041
do eval test x\${$as_var+set} = xset \
 
5042
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5568
5043
done
5569
5044
PS1='$ '
5570
5045
PS2='> '
5576
5051
LANGUAGE=C
5577
5052
export LANGUAGE
5578
5053
 
5579
 
# Required to use basename.
 
5054
# CDPATH.
 
5055
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5056
 
 
5057
 
 
5058
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5059
# ----------------------------------------
 
5060
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5061
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5062
# script with STATUS, using 1 if that was 0.
 
5063
as_fn_error ()
 
5064
{
 
5065
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5066
  if test "$4"; then
 
5067
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5068
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
5069
  fi
 
5070
  $as_echo "$as_me: error: $2" >&2
 
5071
  as_fn_exit $as_status
 
5072
} # as_fn_error
 
5073
 
 
5074
 
 
5075
# as_fn_set_status STATUS
 
5076
# -----------------------
 
5077
# Set $? to STATUS, without forking.
 
5078
as_fn_set_status ()
 
5079
{
 
5080
  return $1
 
5081
} # as_fn_set_status
 
5082
 
 
5083
# as_fn_exit STATUS
 
5084
# -----------------
 
5085
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5086
as_fn_exit ()
 
5087
{
 
5088
  set +e
 
5089
  as_fn_set_status $1
 
5090
  exit $1
 
5091
} # as_fn_exit
 
5092
 
 
5093
# as_fn_unset VAR
 
5094
# ---------------
 
5095
# Portably unset VAR.
 
5096
as_fn_unset ()
 
5097
{
 
5098
  { eval $1=; unset $1;}
 
5099
}
 
5100
as_unset=as_fn_unset
 
5101
# as_fn_append VAR VALUE
 
5102
# ----------------------
 
5103
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
5104
# advantage of any shell optimizations that allow amortized linear growth over
 
5105
# repeated appends, instead of the typical quadratic growth present in naive
 
5106
# implementations.
 
5107
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5108
  eval 'as_fn_append ()
 
5109
  {
 
5110
    eval $1+=\$2
 
5111
  }'
 
5112
else
 
5113
  as_fn_append ()
 
5114
  {
 
5115
    eval $1=\$$1\$2
 
5116
  }
 
5117
fi # as_fn_append
 
5118
 
 
5119
# as_fn_arith ARG...
 
5120
# ------------------
 
5121
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5122
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5123
# must be portable across $(()) and expr.
 
5124
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5125
  eval 'as_fn_arith ()
 
5126
  {
 
5127
    as_val=$(( $* ))
 
5128
  }'
 
5129
else
 
5130
  as_fn_arith ()
 
5131
  {
 
5132
    as_val=`expr "$@" || test $? -eq 1`
 
5133
  }
 
5134
fi # as_fn_arith
 
5135
 
 
5136
 
5580
5137
if expr a : '\(a\)' >/dev/null 2>&1 &&
5581
5138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5582
5139
  as_expr=expr
5590
5147
  as_basename=false
5591
5148
fi
5592
5149
 
 
5150
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5151
  as_dirname=dirname
 
5152
else
 
5153
  as_dirname=false
 
5154
fi
5593
5155
 
5594
 
# Name of the executable.
5595
5156
as_me=`$as_basename -- "$0" ||
5596
5157
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5597
5158
         X"$0" : 'X\(//\)$' \| \
5611
5172
          }
5612
5173
          s/.*/./; q'`
5613
5174
 
5614
 
# CDPATH.
5615
 
$as_unset CDPATH
5616
 
 
5617
 
 
5618
 
 
5619
 
  as_lineno_1=$LINENO
5620
 
  as_lineno_2=$LINENO
5621
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5622
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5623
 
 
5624
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5625
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
5626
 
  # line-number line after each line using $LINENO; the second 'sed'
5627
 
  # does the real work.  The second script uses 'N' to pair each
5628
 
  # line-number line with the line containing $LINENO, and appends
5629
 
  # trailing '-' during substitution so that $LINENO is not a special
5630
 
  # case at line end.
5631
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5632
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5633
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5634
 
  sed -n '
5635
 
    p
5636
 
    /[$]LINENO/=
5637
 
  ' <$as_myself |
5638
 
    sed '
5639
 
      s/[$]LINENO.*/&-/
5640
 
      t lineno
5641
 
      b
5642
 
      :lineno
5643
 
      N
5644
 
      :loop
5645
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5646
 
      t loop
5647
 
      s/-\n.*//
5648
 
    ' >$as_me.lineno &&
5649
 
  chmod +x "$as_me.lineno" ||
5650
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5651
 
   { (exit 1); exit 1; }; }
5652
 
 
5653
 
  # Don't try to exec as it changes $[0], causing all sort of problems
5654
 
  # (the dirname of $[0] is not the place where we might find the
5655
 
  # original and so on.  Autoconf is especially sensitive to this).
5656
 
  . "./$as_me.lineno"
5657
 
  # Exit status is that of the last command.
5658
 
  exit
5659
 
}
5660
 
 
5661
 
 
5662
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5663
 
  as_dirname=dirname
5664
 
else
5665
 
  as_dirname=false
5666
 
fi
 
5175
# Avoid depending upon Character Ranges.
 
5176
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5177
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5178
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5179
as_cr_digits='0123456789'
 
5180
as_cr_alnum=$as_cr_Letters$as_cr_digits
5667
5181
 
5668
5182
ECHO_C= ECHO_N= ECHO_T=
5669
 
case `echo -n x` in
 
5183
case `echo -n x` in #(((((
5670
5184
-n*)
5671
 
  case `echo 'x\c'` in
 
5185
  case `echo 'xy\c'` in
5672
5186
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5673
 
  *)   ECHO_C='\c';;
 
5187
  xy)  ECHO_C='\c';;
 
5188
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5189
       ECHO_T=' ';;
5674
5190
  esac;;
5675
5191
*)
5676
5192
  ECHO_N='-n';;
5677
5193
esac
5678
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5679
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5680
 
  as_expr=expr
5681
 
else
5682
 
  as_expr=false
5683
 
fi
5684
5194
 
5685
5195
rm -f conf$$ conf$$.exe conf$$.file
5686
5196
if test -d conf$$.dir; then
5709
5219
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5710
5220
rmdir conf$$.dir 2>/dev/null
5711
5221
 
 
5222
 
 
5223
# as_fn_mkdir_p
 
5224
# -------------
 
5225
# Create "$as_dir" as a directory, including parents if necessary.
 
5226
as_fn_mkdir_p ()
 
5227
{
 
5228
 
 
5229
  case $as_dir in #(
 
5230
  -*) as_dir=./$as_dir;;
 
5231
  esac
 
5232
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5233
    as_dirs=
 
5234
    while :; do
 
5235
      case $as_dir in #(
 
5236
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5237
      *) as_qdir=$as_dir;;
 
5238
      esac
 
5239
      as_dirs="'$as_qdir' $as_dirs"
 
5240
      as_dir=`$as_dirname -- "$as_dir" ||
 
5241
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5242
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5243
         X"$as_dir" : 'X\(//\)$' \| \
 
5244
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5245
$as_echo X"$as_dir" |
 
5246
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5247
            s//\1/
 
5248
            q
 
5249
          }
 
5250
          /^X\(\/\/\)[^/].*/{
 
5251
            s//\1/
 
5252
            q
 
5253
          }
 
5254
          /^X\(\/\/\)$/{
 
5255
            s//\1/
 
5256
            q
 
5257
          }
 
5258
          /^X\(\/\).*/{
 
5259
            s//\1/
 
5260
            q
 
5261
          }
 
5262
          s/.*/./; q'`
 
5263
      test -d "$as_dir" && break
 
5264
    done
 
5265
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5266
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
5267
 
 
5268
 
 
5269
} # as_fn_mkdir_p
5712
5270
if mkdir -p . 2>/dev/null; then
5713
 
  as_mkdir_p=:
 
5271
  as_mkdir_p='mkdir -p "$as_dir"'
5714
5272
else
5715
5273
  test -d ./-p && rmdir ./-p
5716
5274
  as_mkdir_p=false
5729
5287
      if test -d "$1"; then
5730
5288
        test -d "$1/.";
5731
5289
      else
5732
 
        case $1 in
 
5290
        case $1 in #(
5733
5291
        -*)set "./$1";;
5734
5292
        esac;
5735
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5293
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5736
5294
        ???[sx]*):;;*)false;;esac;fi
5737
5295
    '\'' sh
5738
5296
  '
5747
5305
 
5748
5306
 
5749
5307
exec 6>&1
 
5308
## ----------------------------------- ##
 
5309
## Main body of $CONFIG_STATUS script. ##
 
5310
## ----------------------------------- ##
 
5311
_ASEOF
 
5312
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5750
5313
 
5751
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5314
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5315
# Save the log message, to keep $0 and so on meaningful, and to
5752
5316
# report actual input values of CONFIG_FILES etc. instead of their
5753
5317
# values after options handling.
5754
5318
ac_log="
5755
 
This file was extended by xdriinfo $as_me 1.0.3, which was
5756
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
5319
This file was extended by xdriinfo $as_me 1.0.4, which was
 
5320
generated by GNU Autoconf 2.68.  Invocation command line was
5757
5321
 
5758
5322
  CONFIG_FILES    = $CONFIG_FILES
5759
5323
  CONFIG_HEADERS  = $CONFIG_HEADERS
5785
5349
 
5786
5350
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5787
5351
ac_cs_usage="\
5788
 
\`$as_me' instantiates files from templates according to the
5789
 
current configuration.
 
5352
\`$as_me' instantiates files and other configuration actions
 
5353
from templates according to the current configuration.  Unless the files
 
5354
and actions are specified as TAGs, all are instantiated by default.
5790
5355
 
5791
 
Usage: $0 [OPTION]... [FILE]...
 
5356
Usage: $0 [OPTION]... [TAG]...
5792
5357
 
5793
5358
  -h, --help       print this help, then exit
5794
5359
  -V, --version    print version number and configuration settings, then exit
 
5360
      --config     print configuration, then exit
5795
5361
  -q, --quiet, --silent
5796
5362
                   do not print progress messages
5797
5363
  -d, --debug      don't remove temporary files
5810
5376
Configuration commands:
5811
5377
$config_commands
5812
5378
 
5813
 
Report bugs to <bug-autoconf@gnu.org>."
 
5379
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5814
5380
 
5815
5381
_ACEOF
5816
5382
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5383
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5817
5384
ac_cs_version="\\
5818
 
xdriinfo config.status 1.0.3
5819
 
configured by $0, generated by GNU Autoconf 2.63,
5820
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5385
xdriinfo config.status 1.0.4
 
5386
configured by $0, generated by GNU Autoconf 2.68,
 
5387
  with options \\"\$ac_cs_config\\"
5821
5388
 
5822
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
5389
Copyright (C) 2010 Free Software Foundation, Inc.
5823
5390
This config.status script is free software; the Free Software Foundation
5824
5391
gives unlimited permission to copy, distribute and modify it."
5825
5392
 
5837
5404
while test $# != 0
5838
5405
do
5839
5406
  case $1 in
5840
 
  --*=*)
 
5407
  --*=?*)
5841
5408
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5842
5409
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5843
5410
    ac_shift=:
5844
5411
    ;;
 
5412
  --*=)
 
5413
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5414
    ac_optarg=
 
5415
    ac_shift=:
 
5416
    ;;
5845
5417
  *)
5846
5418
    ac_option=$1
5847
5419
    ac_optarg=$2
5855
5427
    ac_cs_recheck=: ;;
5856
5428
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5857
5429
    $as_echo "$ac_cs_version"; exit ;;
 
5430
  --config | --confi | --conf | --con | --co | --c )
 
5431
    $as_echo "$ac_cs_config"; exit ;;
5858
5432
  --debug | --debu | --deb | --de | --d | -d )
5859
5433
    debug=: ;;
5860
5434
  --file | --fil | --fi | --f )
5861
5435
    $ac_shift
5862
5436
    case $ac_optarg in
5863
5437
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5438
    '') as_fn_error $? "missing file argument" ;;
5864
5439
    esac
5865
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
5440
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5866
5441
    ac_need_defaults=false;;
5867
5442
  --header | --heade | --head | --hea )
5868
5443
    $ac_shift
5869
5444
    case $ac_optarg in
5870
5445
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5871
5446
    esac
5872
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
5447
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5873
5448
    ac_need_defaults=false;;
5874
5449
  --he | --h)
5875
5450
    # Conflict between --help and --header
5876
 
    { $as_echo "$as_me: error: ambiguous option: $1
5877
 
Try \`$0 --help' for more information." >&2
5878
 
   { (exit 1); exit 1; }; };;
 
5451
    as_fn_error $? "ambiguous option: \`$1'
 
5452
Try \`$0 --help' for more information.";;
5879
5453
  --help | --hel | -h )
5880
5454
    $as_echo "$ac_cs_usage"; exit ;;
5881
5455
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5883
5457
    ac_cs_silent=: ;;
5884
5458
 
5885
5459
  # This is an error.
5886
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
5887
 
Try \`$0 --help' for more information." >&2
5888
 
   { (exit 1); exit 1; }; } ;;
 
5460
  -*) as_fn_error $? "unrecognized option: \`$1'
 
5461
Try \`$0 --help' for more information." ;;
5889
5462
 
5890
 
  *) ac_config_targets="$ac_config_targets $1"
 
5463
  *) as_fn_append ac_config_targets " $1"
5891
5464
     ac_need_defaults=false ;;
5892
5465
 
5893
5466
  esac
5942
5515
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5943
5516
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5944
5517
 
5945
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5946
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5947
 
   { (exit 1); exit 1; }; };;
 
5518
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5948
5519
  esac
5949
5520
done
5950
5521
 
5967
5538
# after its creation but before its name has been assigned to `$tmp'.
5968
5539
$debug ||
5969
5540
{
5970
 
  tmp=
 
5541
  tmp= ac_tmp=
5971
5542
  trap 'exit_status=$?
5972
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5543
  : "${ac_tmp:=$tmp}"
 
5544
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5973
5545
' 0
5974
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5546
  trap 'as_fn_exit 1' 1 2 13 15
5975
5547
}
5976
5548
# Create a (secure) tmp directory for tmp files.
5977
5549
 
5978
5550
{
5979
5551
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5980
 
  test -n "$tmp" && test -d "$tmp"
 
5552
  test -d "$tmp"
5981
5553
}  ||
5982
5554
{
5983
5555
  tmp=./conf$$-$RANDOM
5984
5556
  (umask 077 && mkdir "$tmp")
5985
 
} ||
5986
 
{
5987
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5988
 
   { (exit 1); exit 1; }
5989
 
}
 
5557
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5558
ac_tmp=$tmp
5990
5559
 
5991
5560
# Set up the scripts for CONFIG_FILES section.
5992
5561
# No need to generate them if there are no CONFIG_FILES.
5994
5563
if test -n "$CONFIG_FILES"; then
5995
5564
 
5996
5565
 
5997
 
ac_cr='
 
 
b"'"
 
5566
ac_cr=`echo X | tr X '\015'`
 
5567
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5568
# But we know of no other shell where ac_cr would be empty at this
 
5569
# point, so we can use a bashism as a fallback.
 
5570
if test "x$ac_cr" = x; then
 
5571
  eval ac_cr=\$\'\\r\'
 
5572
fi
5998
5573
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5999
5574
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6000
5575
  ac_cs_awk_cr='\\r'
6002
5577
  ac_cs_awk_cr=$ac_cr
6003
5578
fi
6004
5579
 
6005
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5580
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6006
5581
_ACEOF
6007
5582
 
6008
5583
 
6011
5586
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6012
5587
  echo "_ACEOF"
6013
5588
} >conf$$subs.sh ||
6014
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6015
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6016
 
   { (exit 1); exit 1; }; }
6017
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5589
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5590
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6018
5591
ac_delim='%!_!# '
6019
5592
for ac_last_try in false false false false false :; do
6020
5593
  . ./conf$$subs.sh ||
6021
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6022
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6023
 
   { (exit 1); exit 1; }; }
 
5594
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6024
5595
 
6025
5596
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6026
5597
  if test $ac_delim_n = $ac_delim_num; then
6027
5598
    break
6028
5599
  elif $ac_last_try; then
6029
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6030
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6031
 
   { (exit 1); exit 1; }; }
 
5600
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6032
5601
  else
6033
5602
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6034
5603
  fi
6036
5605
rm -f conf$$subs.sh
6037
5606
 
6038
5607
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6039
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5608
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6040
5609
_ACEOF
6041
5610
sed -n '
6042
5611
h
6050
5619
t delim
6051
5620
:nl
6052
5621
h
6053
 
s/\(.\{148\}\).*/\1/
 
5622
s/\(.\{148\}\)..*/\1/
6054
5623
t more1
6055
5624
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6056
5625
p
6064
5633
t nl
6065
5634
:delim
6066
5635
h
6067
 
s/\(.\{148\}\).*/\1/
 
5636
s/\(.\{148\}\)..*/\1/
6068
5637
t more2
6069
5638
s/["\\]/\\&/g; s/^/"/; s/$/"/
6070
5639
p
6084
5653
rm -f conf$$subs.awk
6085
5654
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6086
5655
_ACAWK
6087
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5656
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6088
5657
  for (key in S) S_is_set[key] = 1
6089
5658
  FS = ""
6090
5659
 
6116
5685
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6117
5686
else
6118
5687
  cat
6119
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6120
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6121
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6122
 
   { (exit 1); exit 1; }; }
 
5688
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
5689
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6123
5690
_ACEOF
6124
5691
 
6125
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6126
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5692
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
5693
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6127
5694
# trailing colons and then remove the whole line if VPATH becomes empty
6128
5695
# (actually we leave an empty line to preserve line numbers).
6129
5696
if test "x$srcdir" = x.; then
6130
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
6131
 
s/:*\$(srcdir):*/:/
6132
 
s/:*\${srcdir}:*/:/
6133
 
s/:*@srcdir@:*/:/
6134
 
s/^\([^=]*=[     ]*\):*/\1/
 
5697
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
5698
h
 
5699
s///
 
5700
s/^/:/
 
5701
s/[      ]*$/:/
 
5702
s/:\$(srcdir):/:/g
 
5703
s/:\${srcdir}:/:/g
 
5704
s/:@srcdir@:/:/g
 
5705
s/^:*//
6135
5706
s/:*$//
 
5707
x
 
5708
s/\(=[   ]*\).*/\1/
 
5709
G
 
5710
s/\n//
6136
5711
s/^[^=]*=[       ]*$//
6137
5712
}'
6138
5713
fi
6144
5719
# No need to generate them if there are no CONFIG_HEADERS.
6145
5720
# This happens for instance with `./config.status Makefile'.
6146
5721
if test -n "$CONFIG_HEADERS"; then
6147
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5722
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6148
5723
BEGIN {
6149
5724
_ACEOF
6150
5725
 
6156
5731
# handling of long lines.
6157
5732
ac_delim='%!_!# '
6158
5733
for ac_last_try in false false :; do
6159
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6160
 
  if test -z "$ac_t"; then
 
5734
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
5735
  if test -z "$ac_tt"; then
6161
5736
    break
6162
5737
  elif $ac_last_try; then
6163
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6164
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6165
 
   { (exit 1); exit 1; }; }
 
5738
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6166
5739
  else
6167
5740
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6168
5741
  fi
6247
5820
_ACAWK
6248
5821
_ACEOF
6249
5822
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6250
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6251
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6252
 
   { (exit 1); exit 1; }; }
 
5823
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6253
5824
fi # test -n "$CONFIG_HEADERS"
6254
5825
 
6255
5826
 
6262
5833
  esac
6263
5834
  case $ac_mode$ac_tag in
6264
5835
  :[FHL]*:*);;
6265
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6266
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6267
 
   { (exit 1); exit 1; }; };;
 
5836
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6268
5837
  :[FH]-) ac_tag=-:-;;
6269
5838
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6270
5839
  esac
6283
5852
    for ac_f
6284
5853
    do
6285
5854
      case $ac_f in
6286
 
      -) ac_f="$tmp/stdin";;
 
5855
      -) ac_f="$ac_tmp/stdin";;
6287
5856
      *) # Look for the file first in the build tree, then in the source tree
6288
5857
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6289
5858
         # because $ac_f cannot contain `:'.
6292
5861
           [\\/$]*) false;;
6293
5862
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6294
5863
           esac ||
6295
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6296
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6297
 
   { (exit 1); exit 1; }; };;
 
5864
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6298
5865
      esac
6299
5866
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6300
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
5867
      as_fn_append ac_file_inputs " '$ac_f'"
6301
5868
    done
6302
5869
 
6303
5870
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6308
5875
        `' by configure.'
6309
5876
    if test x"$ac_file" != x-; then
6310
5877
      configure_input="$ac_file.  $configure_input"
6311
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
5878
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6312
5879
$as_echo "$as_me: creating $ac_file" >&6;}
6313
5880
    fi
6314
5881
    # Neutralize special characters interpreted by sed in replacement strings.
6320
5887
    esac
6321
5888
 
6322
5889
    case $ac_tag in
6323
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6324
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6325
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6326
 
   { (exit 1); exit 1; }; } ;;
 
5890
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
5891
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6327
5892
    esac
6328
5893
    ;;
6329
5894
  esac
6351
5916
            q
6352
5917
          }
6353
5918
          s/.*/./; q'`
6354
 
  { as_dir="$ac_dir"
6355
 
  case $as_dir in #(
6356
 
  -*) as_dir=./$as_dir;;
6357
 
  esac
6358
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6359
 
    as_dirs=
6360
 
    while :; do
6361
 
      case $as_dir in #(
6362
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6363
 
      *) as_qdir=$as_dir;;
6364
 
      esac
6365
 
      as_dirs="'$as_qdir' $as_dirs"
6366
 
      as_dir=`$as_dirname -- "$as_dir" ||
6367
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6368
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6369
 
         X"$as_dir" : 'X\(//\)$' \| \
6370
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6371
 
$as_echo X"$as_dir" |
6372
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6373
 
            s//\1/
6374
 
            q
6375
 
          }
6376
 
          /^X\(\/\/\)[^/].*/{
6377
 
            s//\1/
6378
 
            q
6379
 
          }
6380
 
          /^X\(\/\/\)$/{
6381
 
            s//\1/
6382
 
            q
6383
 
          }
6384
 
          /^X\(\/\).*/{
6385
 
            s//\1/
6386
 
            q
6387
 
          }
6388
 
          s/.*/./; q'`
6389
 
      test -d "$as_dir" && break
6390
 
    done
6391
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6392
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6393
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6394
 
   { (exit 1); exit 1; }; }; }
 
5919
  as_dir="$ac_dir"; as_fn_mkdir_p
6395
5920
  ac_builddir=.
6396
5921
 
6397
5922
case "$ac_dir" in
6448
5973
# If the template does not know about datarootdir, expand it.
6449
5974
# FIXME: This hack should be removed a few years after 2.60.
6450
5975
ac_datarootdir_hack=; ac_datarootdir_seen=
6451
 
 
6452
5976
ac_sed_dataroot='
6453
5977
/datarootdir/ {
6454
5978
  p
6458
5982
/@docdir@/p
6459
5983
/@infodir@/p
6460
5984
/@localedir@/p
6461
 
/@mandir@/p
6462
 
'
 
5985
/@mandir@/p'
6463
5986
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6464
5987
*datarootdir*) ac_datarootdir_seen=yes;;
6465
5988
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6466
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5989
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6467
5990
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6468
5991
_ACEOF
6469
5992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6473
5996
  s&@infodir@&$infodir&g
6474
5997
  s&@localedir@&$localedir&g
6475
5998
  s&@mandir@&$mandir&g
6476
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5999
  s&\\\${datarootdir}&$datarootdir&g' ;;
6477
6000
esac
6478
6001
_ACEOF
6479
6002
 
6501
6024
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6502
6025
$ac_datarootdir_hack
6503
6026
"
6504
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6505
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6506
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6507
 
   { (exit 1); exit 1; }; }
 
6027
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
6028
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6508
6029
 
6509
6030
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6510
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6511
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6512
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6513
 
which seems to be undefined.  Please make sure it is defined." >&5
 
6031
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6032
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6033
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
6034
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6035
which seems to be undefined.  Please make sure it is defined" >&5
6514
6036
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6515
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6037
which seems to be undefined.  Please make sure it is defined" >&2;}
6516
6038
 
6517
 
  rm -f "$tmp/stdin"
 
6039
  rm -f "$ac_tmp/stdin"
6518
6040
  case $ac_file in
6519
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6520
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6041
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6042
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6521
6043
  esac \
6522
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6523
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6524
 
   { (exit 1); exit 1; }; }
 
6044
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6525
6045
 ;;
6526
6046
  :H)
6527
6047
  #
6530
6050
  if test x"$ac_file" != x-; then
6531
6051
    {
6532
6052
      $as_echo "/* $configure_input  */" \
6533
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6534
 
    } >"$tmp/config.h" \
6535
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6536
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6537
 
   { (exit 1); exit 1; }; }
6538
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6539
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6053
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6054
    } >"$ac_tmp/config.h" \
 
6055
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6056
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
6057
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6540
6058
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6541
6059
    else
6542
6060
      rm -f "$ac_file"
6543
 
      mv "$tmp/config.h" "$ac_file" \
6544
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6545
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6546
 
   { (exit 1); exit 1; }; }
 
6061
      mv "$ac_tmp/config.h" "$ac_file" \
 
6062
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6547
6063
    fi
6548
6064
  else
6549
6065
    $as_echo "/* $configure_input  */" \
6550
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6551
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6552
 
$as_echo "$as_me: error: could not create -" >&2;}
6553
 
   { (exit 1); exit 1; }; }
 
6066
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
6067
      || as_fn_error $? "could not create -" "$LINENO" 5
6554
6068
  fi
6555
6069
# Compute "$ac_file"'s index in $config_headers.
6556
6070
_am_arg="$ac_file"
6588
6102
          s/.*/./; q'`/stamp-h$_am_stamp_count
6589
6103
 ;;
6590
6104
 
6591
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6105
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6592
6106
$as_echo "$as_me: executing $ac_file commands" >&6;}
6593
6107
 ;;
6594
6108
  esac
6683
6197
            q
6684
6198
          }
6685
6199
          s/.*/./; q'`
6686
 
      { as_dir=$dirpart/$fdir
6687
 
  case $as_dir in #(
6688
 
  -*) as_dir=./$as_dir;;
6689
 
  esac
6690
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6691
 
    as_dirs=
6692
 
    while :; do
6693
 
      case $as_dir in #(
6694
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6695
 
      *) as_qdir=$as_dir;;
6696
 
      esac
6697
 
      as_dirs="'$as_qdir' $as_dirs"
6698
 
      as_dir=`$as_dirname -- "$as_dir" ||
6699
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6700
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6701
 
         X"$as_dir" : 'X\(//\)$' \| \
6702
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6703
 
$as_echo X"$as_dir" |
6704
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6705
 
            s//\1/
6706
 
            q
6707
 
          }
6708
 
          /^X\(\/\/\)[^/].*/{
6709
 
            s//\1/
6710
 
            q
6711
 
          }
6712
 
          /^X\(\/\/\)$/{
6713
 
            s//\1/
6714
 
            q
6715
 
          }
6716
 
          /^X\(\/\).*/{
6717
 
            s//\1/
6718
 
            q
6719
 
          }
6720
 
          s/.*/./; q'`
6721
 
      test -d "$as_dir" && break
6722
 
    done
6723
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6724
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6725
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6726
 
   { (exit 1); exit 1; }; }; }
 
6200
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6727
6201
      # echo "creating $dirpart/$file"
6728
6202
      echo '# dummy' > "$dirpart/$file"
6729
6203
    done
6735
6209
done # for ac_tag
6736
6210
 
6737
6211
 
6738
 
{ (exit 0); exit 0; }
 
6212
as_fn_exit 0
6739
6213
_ACEOF
6740
 
chmod +x $CONFIG_STATUS
6741
6214
ac_clean_files=$ac_clean_files_save
6742
6215
 
6743
6216
test $ac_write_fail = 0 ||
6744
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6745
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6746
 
   { (exit 1); exit 1; }; }
 
6217
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6747
6218
 
6748
6219
 
6749
6220
# configure is writing to config.log, and then calls config.status.
6764
6235
  exec 5>>config.log
6765
6236
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6766
6237
  # would make configure fail if this is the last instruction.
6767
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6238
  $ac_cs_success || as_fn_exit 1
6768
6239
fi
6769
6240
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6770
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6241
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6771
6242
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6772
6243
fi
6773
6244