~ubuntu-branches/debian/sid/x11-apps/sid

« back to all changes in this revision

Viewing changes to xeyes/configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-09 18:15:58 UTC
  • mfrom: (9.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110209181558-4wta1q27k11xrtae
Tags: 7.6+4
* debian/rules::get-tarballs: pass "--destdir ." to uscan
* xbiff 1.0.3.
* Remove Brice Goglin and David Nusinow 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 xeyes 1.1.0.
 
3
# Generated by GNU Autoconf 2.68 for xeyes 1.1.1.
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='xeyes'
598
563
PACKAGE_TARNAME='xeyes'
599
 
PACKAGE_VERSION='1.1.0'
600
 
PACKAGE_STRING='xeyes 1.1.0'
 
564
PACKAGE_VERSION='1.1.1'
 
565
PACKAGE_STRING='xeyes 1.1.1'
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>
644
611
XRENDER_CFLAGS
645
612
XEYES_LIBS
646
613
XEYES_CFLAGS
 
614
AM_BACKSLASH
 
615
AM_DEFAULT_VERBOSITY
 
616
MAN_SUBSTS
 
617
XORG_MAN_PAGE
647
618
ADMIN_MAN_DIR
648
619
DRIVER_MAN_DIR
649
620
MISC_MAN_DIR
656
627
FILE_MAN_SUFFIX
657
628
LIB_MAN_SUFFIX
658
629
APP_MAN_SUFFIX
 
630
SED
659
631
host_os
660
632
host_vendor
661
633
host_cpu
667
639
INSTALL_CMD
668
640
PKG_CONFIG
669
641
CHANGELOG_CMD
670
 
AM_BACKSLASH
671
 
AM_DEFAULT_VERBOSITY
672
642
CWARNFLAGS
673
643
EGREP
674
644
GREP
745
715
program_transform_name
746
716
prefix
747
717
exec_prefix
 
718
PACKAGE_URL
748
719
PACKAGE_BUGREPORT
749
720
PACKAGE_STRING
750
721
PACKAGE_VERSION
757
728
enable_option_checking
758
729
enable_maintainer_mode
759
730
enable_dependency_tracking
 
731
enable_strict_compilation
760
732
enable_silent_rules
761
 
enable_strict_compilation
762
 
with_release_version
763
733
with_xrender
764
734
'
765
735
      ac_precious_vars='build_alias
838
808
  fi
839
809
 
840
810
  case $ac_option in
841
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842
 
  *)    ac_optarg=yes ;;
 
811
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
812
  *=)   ac_optarg= ;;
 
813
  *)    ac_optarg=yes ;;
843
814
  esac
844
815
 
845
816
  # Accept the important Cygnus configure options, so we can diagnose typos.
884
855
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885
856
    # Reject names that are not valid shell variable names.
886
857
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
888
 
   { (exit 1); exit 1; }; }
 
858
      as_fn_error $? "invalid feature name: $ac_useropt"
889
859
    ac_useropt_orig=$ac_useropt
890
860
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891
861
    case $ac_user_opts in
911
881
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912
882
    # Reject names that are not valid shell variable names.
913
883
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
915
 
   { (exit 1); exit 1; }; }
 
884
      as_fn_error $? "invalid feature name: $ac_useropt"
916
885
    ac_useropt_orig=$ac_useropt
917
886
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918
887
    case $ac_user_opts in
1116
1085
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117
1086
    # Reject names that are not valid shell variable names.
1118
1087
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1120
 
   { (exit 1); exit 1; }; }
 
1088
      as_fn_error $? "invalid package name: $ac_useropt"
1121
1089
    ac_useropt_orig=$ac_useropt
1122
1090
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123
1091
    case $ac_user_opts in
1133
1101
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134
1102
    # Reject names that are not valid shell variable names.
1135
1103
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1137
 
   { (exit 1); exit 1; }; }
 
1104
      as_fn_error $? "invalid package name: $ac_useropt"
1138
1105
    ac_useropt_orig=$ac_useropt
1139
1106
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140
1107
    case $ac_user_opts in
1164
1131
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165
1132
    x_libraries=$ac_optarg ;;
1166
1133
 
1167
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1168
 
Try \`$0 --help' for more information." >&2
1169
 
   { (exit 1); exit 1; }; }
 
1134
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1135
Try \`$0 --help' for more information"
1170
1136
    ;;
1171
1137
 
1172
1138
  *=*)
1173
1139
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1174
1140
    # Reject names that are not valid shell variable names.
1175
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1176
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1177
 
   { (exit 1); exit 1; }; }
 
1141
    case $ac_envvar in #(
 
1142
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1143
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1144
    esac
1178
1145
    eval $ac_envvar=\$ac_optarg
1179
1146
    export $ac_envvar ;;
1180
1147
 
1183
1150
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184
1151
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185
1152
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1153
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187
1154
    ;;
1188
1155
 
1189
1156
  esac
1191
1158
 
1192
1159
if test -n "$ac_prev"; then
1193
1160
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1195
 
   { (exit 1); exit 1; }; }
 
1161
  as_fn_error $? "missing argument to $ac_option"
1196
1162
fi
1197
1163
 
1198
1164
if test -n "$ac_unrecognized_opts"; then
1199
1165
  case $enable_option_checking in
1200
1166
    no) ;;
1201
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1202
 
   { (exit 1); exit 1; }; } ;;
 
1167
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1203
1168
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204
1169
  esac
1205
1170
fi
1222
1187
    [\\/$]* | ?:[\\/]* )  continue;;
1223
1188
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224
1189
  esac
1225
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1226
 
   { (exit 1); exit 1; }; }
 
1190
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227
1191
done
1228
1192
 
1229
1193
# There might be people who depend on the old broken behavior: `$host'
1237
1201
if test "x$host_alias" != x; then
1238
1202
  if test "x$build_alias" = x; then
1239
1203
    cross_compiling=maybe
1240
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1204
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1205
    If a cross compiler is detected then cross compile mode will be used" >&2
1242
1206
  elif test "x$build_alias" != "x$host_alias"; then
1243
1207
    cross_compiling=yes
1244
1208
  fi
1253
1217
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1254
1218
ac_ls_di=`ls -di .` &&
1255
1219
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1256
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1257
 
   { (exit 1); exit 1; }; }
 
1220
  as_fn_error $? "working directory cannot be determined"
1258
1221
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1260
 
   { (exit 1); exit 1; }; }
 
1222
  as_fn_error $? "pwd does not report name of working directory"
1261
1223
 
1262
1224
 
1263
1225
# Find the source files, if location was not specified.
1296
1258
fi
1297
1259
if test ! -r "$srcdir/$ac_unique_file"; then
1298
1260
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1299
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1300
 
   { (exit 1); exit 1; }; }
 
1261
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301
1262
fi
1302
1263
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303
1264
ac_abs_confdir=`(
1304
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1305
 
   { (exit 1); exit 1; }; }
 
1265
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306
1266
        pwd)`
1307
1267
# When building in place, set srcdir=.
1308
1268
if test "$ac_abs_confdir" = "$ac_pwd"; then
1328
1288
  # Omit some internal or obsolete options to make the list less imposing.
1329
1289
  # This message is too long to be a string in the A/UX 3.1 sh.
1330
1290
  cat <<_ACEOF
1331
 
\`configure' configures xeyes 1.1.0 to adapt to many kinds of systems.
 
1291
\`configure' configures xeyes 1.1.1 to adapt to many kinds of systems.
1332
1292
 
1333
1293
Usage: $0 [OPTION]... [VAR=VALUE]...
1334
1294
 
1342
1302
      --help=short        display options specific to this package
1343
1303
      --help=recursive    display the short help of all the included packages
1344
1304
  -V, --version           display version information and exit
1345
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1305
  -q, --quiet, --silent   do not print \`checking ...' messages
1346
1306
      --cache-file=FILE   cache test results in FILE [disabled]
1347
1307
  -C, --config-cache      alias for \`--cache-file=config.cache'
1348
1308
  -n, --no-create         do not create output files
1398
1358
 
1399
1359
if test -n "$ac_init_help"; then
1400
1360
  case $ac_init_help in
1401
 
     short | recursive ) echo "Configuration of xeyes 1.1.0:";;
 
1361
     short | recursive ) echo "Configuration of xeyes 1.1.1:";;
1402
1362
   esac
1403
1363
  cat <<\_ACEOF
1404
1364
 
1410
1370
                          (and sometimes confusing) to the casual installer
1411
1371
  --disable-dependency-tracking  speeds up one-time build
1412
1372
  --enable-dependency-tracking   do not reject slow dependency extractors
1413
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1414
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1415
1373
  --enable-strict-compilation
1416
1374
                          Enable all warnings from compiler and make them
1417
1375
                          errors (default: disabled)
 
1376
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1377
  --disable-silent-rules         verbose build output (undo: `make V=0')
1418
1378
 
1419
1379
Optional Packages:
1420
1380
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1421
1381
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422
 
  --with-release-version=STRING
1423
 
                          Use release version string in package name
1424
1382
  --with-xrender          Use Xrender for rendering (Default is YES)
1425
1383
 
1426
1384
Some influential environment variables:
1429
1387
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1430
1388
              nonstandard directory <lib dir>
1431
1389
  LIBS        libraries to pass to the linker, e.g. -l<library>
1432
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1390
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433
1391
              you have headers in a nonstandard directory <include dir>
1434
1392
  CPP         C preprocessor
1435
1393
  PKG_CONFIG  path to pkg-config utility
1507
1465
test -n "$ac_init_help" && exit $ac_status
1508
1466
if $ac_init_version; then
1509
1467
  cat <<\_ACEOF
1510
 
xeyes configure 1.1.0
1511
 
generated by GNU Autoconf 2.63
 
1468
xeyes configure 1.1.1
 
1469
generated by GNU Autoconf 2.68
1512
1470
 
1513
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1514
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1471
Copyright (C) 2010 Free Software Foundation, Inc.
1515
1472
This configure script is free software; the Free Software Foundation
1516
1473
gives unlimited permission to copy, distribute and modify it.
1517
1474
_ACEOF
1518
1475
  exit
1519
1476
fi
 
1477
 
 
1478
## ------------------------ ##
 
1479
## Autoconf initialization. ##
 
1480
## ------------------------ ##
 
1481
 
 
1482
# ac_fn_c_try_compile LINENO
 
1483
# --------------------------
 
1484
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1485
ac_fn_c_try_compile ()
 
1486
{
 
1487
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1488
  rm -f conftest.$ac_objext
 
1489
  if { { ac_try="$ac_compile"
 
1490
case "(($ac_try" in
 
1491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1492
  *) ac_try_echo=$ac_try;;
 
1493
esac
 
1494
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1495
$as_echo "$ac_try_echo"; } >&5
 
1496
  (eval "$ac_compile") 2>conftest.err
 
1497
  ac_status=$?
 
1498
  if test -s conftest.err; then
 
1499
    grep -v '^ *+' conftest.err >conftest.er1
 
1500
    cat conftest.er1 >&5
 
1501
    mv -f conftest.er1 conftest.err
 
1502
  fi
 
1503
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1504
  test $ac_status = 0; } && {
 
1505
         test -z "$ac_c_werror_flag" ||
 
1506
         test ! -s conftest.err
 
1507
       } && test -s conftest.$ac_objext; then :
 
1508
  ac_retval=0
 
1509
else
 
1510
  $as_echo "$as_me: failed program was:" >&5
 
1511
sed 's/^/| /' conftest.$ac_ext >&5
 
1512
 
 
1513
        ac_retval=1
 
1514
fi
 
1515
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1516
  as_fn_set_status $ac_retval
 
1517
 
 
1518
} # ac_fn_c_try_compile
 
1519
 
 
1520
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1521
# ---------------------------------------------
 
1522
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1523
# accordingly.
 
1524
ac_fn_c_check_decl ()
 
1525
{
 
1526
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1527
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1528
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1529
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1530
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1531
if eval \${$3+:} false; then :
 
1532
  $as_echo_n "(cached) " >&6
 
1533
else
 
1534
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1535
/* end confdefs.h.  */
 
1536
$4
 
1537
int
 
1538
main ()
 
1539
{
 
1540
#ifndef $as_decl_name
 
1541
#ifdef __cplusplus
 
1542
  (void) $as_decl_use;
 
1543
#else
 
1544
  (void) $as_decl_name;
 
1545
#endif
 
1546
#endif
 
1547
 
 
1548
  ;
 
1549
  return 0;
 
1550
}
 
1551
_ACEOF
 
1552
if ac_fn_c_try_compile "$LINENO"; then :
 
1553
  eval "$3=yes"
 
1554
else
 
1555
  eval "$3=no"
 
1556
fi
 
1557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1558
fi
 
1559
eval ac_res=\$$3
 
1560
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1561
$as_echo "$ac_res" >&6; }
 
1562
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1563
 
 
1564
} # ac_fn_c_check_decl
 
1565
 
 
1566
# ac_fn_c_try_cpp LINENO
 
1567
# ----------------------
 
1568
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1569
ac_fn_c_try_cpp ()
 
1570
{
 
1571
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1572
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1573
case "(($ac_try" in
 
1574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1575
  *) ac_try_echo=$ac_try;;
 
1576
esac
 
1577
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1578
$as_echo "$ac_try_echo"; } >&5
 
1579
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1580
  ac_status=$?
 
1581
  if test -s conftest.err; then
 
1582
    grep -v '^ *+' conftest.err >conftest.er1
 
1583
    cat conftest.er1 >&5
 
1584
    mv -f conftest.er1 conftest.err
 
1585
  fi
 
1586
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1587
  test $ac_status = 0; } > conftest.i && {
 
1588
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1589
         test ! -s conftest.err
 
1590
       }; then :
 
1591
  ac_retval=0
 
1592
else
 
1593
  $as_echo "$as_me: failed program was:" >&5
 
1594
sed 's/^/| /' conftest.$ac_ext >&5
 
1595
 
 
1596
    ac_retval=1
 
1597
fi
 
1598
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1599
  as_fn_set_status $ac_retval
 
1600
 
 
1601
} # ac_fn_c_try_cpp
 
1602
 
 
1603
# ac_fn_c_try_run LINENO
 
1604
# ----------------------
 
1605
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1606
# that executables *can* be run.
 
1607
ac_fn_c_try_run ()
 
1608
{
 
1609
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1610
  if { { ac_try="$ac_link"
 
1611
case "(($ac_try" in
 
1612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1613
  *) ac_try_echo=$ac_try;;
 
1614
esac
 
1615
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1616
$as_echo "$ac_try_echo"; } >&5
 
1617
  (eval "$ac_link") 2>&5
 
1618
  ac_status=$?
 
1619
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1620
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1621
  { { case "(($ac_try" in
 
1622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1623
  *) ac_try_echo=$ac_try;;
 
1624
esac
 
1625
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1626
$as_echo "$ac_try_echo"; } >&5
 
1627
  (eval "$ac_try") 2>&5
 
1628
  ac_status=$?
 
1629
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1630
  test $ac_status = 0; }; }; then :
 
1631
  ac_retval=0
 
1632
else
 
1633
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1634
       $as_echo "$as_me: failed program was:" >&5
 
1635
sed 's/^/| /' conftest.$ac_ext >&5
 
1636
 
 
1637
       ac_retval=$ac_status
 
1638
fi
 
1639
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1640
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1641
  as_fn_set_status $ac_retval
 
1642
 
 
1643
} # ac_fn_c_try_run
 
1644
 
 
1645
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1646
# -------------------------------------------------------
 
1647
# Tests whether HEADER exists and can be compiled using the include files in
 
1648
# INCLUDES, setting the cache variable VAR accordingly.
 
1649
ac_fn_c_check_header_compile ()
 
1650
{
 
1651
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1653
$as_echo_n "checking for $2... " >&6; }
 
1654
if eval \${$3+:} false; then :
 
1655
  $as_echo_n "(cached) " >&6
 
1656
else
 
1657
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1658
/* end confdefs.h.  */
 
1659
$4
 
1660
#include <$2>
 
1661
_ACEOF
 
1662
if ac_fn_c_try_compile "$LINENO"; then :
 
1663
  eval "$3=yes"
 
1664
else
 
1665
  eval "$3=no"
 
1666
fi
 
1667
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1668
fi
 
1669
eval ac_res=\$$3
 
1670
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1671
$as_echo "$ac_res" >&6; }
 
1672
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1673
 
 
1674
} # ac_fn_c_check_header_compile
1520
1675
cat >config.log <<_ACEOF
1521
1676
This file contains any messages produced by compilers while
1522
1677
running configure, to aid debugging if configure makes a mistake.
1523
1678
 
1524
 
It was created by xeyes $as_me 1.1.0, which was
1525
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1679
It was created by xeyes $as_me 1.1.1, which was
 
1680
generated by GNU Autoconf 2.68.  Invocation command line was
1526
1681
 
1527
1682
  $ $0 $@
1528
1683
 
1558
1713
do
1559
1714
  IFS=$as_save_IFS
1560
1715
  test -z "$as_dir" && as_dir=.
1561
 
  $as_echo "PATH: $as_dir"
1562
 
done
 
1716
    $as_echo "PATH: $as_dir"
 
1717
  done
1563
1718
IFS=$as_save_IFS
1564
1719
 
1565
1720
} >&5
1596
1751
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1597
1752
    esac
1598
1753
    case $ac_pass in
1599
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1754
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1600
1755
    2)
1601
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1756
      as_fn_append ac_configure_args1 " '$ac_arg'"
1602
1757
      if test $ac_must_keep_next = true; then
1603
1758
        ac_must_keep_next=false # Got value, back to normal.
1604
1759
      else
1614
1769
          -* ) ac_must_keep_next=true ;;
1615
1770
        esac
1616
1771
      fi
1617
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1772
      as_fn_append ac_configure_args " '$ac_arg'"
1618
1773
      ;;
1619
1774
    esac
1620
1775
  done
1621
1776
done
1622
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1623
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1777
{ ac_configure_args0=; unset ac_configure_args0;}
 
1778
{ ac_configure_args1=; unset ac_configure_args1;}
1624
1779
 
1625
1780
# When interrupted or exit'd, cleanup temporary files, and complete
1626
1781
# config.log.  We remove comments because anyway the quotes in there
1632
1787
  {
1633
1788
    echo
1634
1789
 
1635
 
    cat <<\_ASBOX
1636
 
## ---------------- ##
 
1790
    $as_echo "## ---------------- ##
1637
1791
## Cache variables. ##
1638
 
## ---------------- ##
1639
 
_ASBOX
 
1792
## ---------------- ##"
1640
1793
    echo
1641
1794
    # The following way of writing the cache mishandles newlines in values,
1642
1795
(
1645
1798
    case $ac_val in #(
1646
1799
    *${as_nl}*)
1647
1800
      case $ac_var in #(
1648
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1801
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1649
1802
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1650
1803
      esac
1651
1804
      case $ac_var in #(
1652
1805
      _ | IFS | as_nl) ;; #(
1653
1806
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1654
 
      *) $as_unset $ac_var ;;
 
1807
      *) { eval $ac_var=; unset $ac_var;} ;;
1655
1808
      esac ;;
1656
1809
    esac
1657
1810
  done
1670
1823
)
1671
1824
    echo
1672
1825
 
1673
 
    cat <<\_ASBOX
1674
 
## ----------------- ##
 
1826
    $as_echo "## ----------------- ##
1675
1827
## Output variables. ##
1676
 
## ----------------- ##
1677
 
_ASBOX
 
1828
## ----------------- ##"
1678
1829
    echo
1679
1830
    for ac_var in $ac_subst_vars
1680
1831
    do
1687
1838
    echo
1688
1839
 
1689
1840
    if test -n "$ac_subst_files"; then
1690
 
      cat <<\_ASBOX
1691
 
## ------------------- ##
 
1841
      $as_echo "## ------------------- ##
1692
1842
## File substitutions. ##
1693
 
## ------------------- ##
1694
 
_ASBOX
 
1843
## ------------------- ##"
1695
1844
      echo
1696
1845
      for ac_var in $ac_subst_files
1697
1846
      do
1705
1854
    fi
1706
1855
 
1707
1856
    if test -s confdefs.h; then
1708
 
      cat <<\_ASBOX
1709
 
## ----------- ##
 
1857
      $as_echo "## ----------- ##
1710
1858
## confdefs.h. ##
1711
 
## ----------- ##
1712
 
_ASBOX
 
1859
## ----------- ##"
1713
1860
      echo
1714
1861
      cat confdefs.h
1715
1862
      echo
1723
1870
    exit $exit_status
1724
1871
' 0
1725
1872
for ac_signal in 1 2 13 15; do
1726
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1873
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1727
1874
done
1728
1875
ac_signal=0
1729
1876
 
1730
1877
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1731
1878
rm -f -r conftest* confdefs.h
1732
1879
 
 
1880
$as_echo "/* confdefs.h */" > confdefs.h
 
1881
 
1733
1882
# Predefined preprocessor variables.
1734
1883
 
1735
1884
cat >>confdefs.h <<_ACEOF
1736
1885
#define PACKAGE_NAME "$PACKAGE_NAME"
1737
1886
_ACEOF
1738
1887
 
1739
 
 
1740
1888
cat >>confdefs.h <<_ACEOF
1741
1889
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1742
1890
_ACEOF
1743
1891
 
1744
 
 
1745
1892
cat >>confdefs.h <<_ACEOF
1746
1893
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1747
1894
_ACEOF
1748
1895
 
1749
 
 
1750
1896
cat >>confdefs.h <<_ACEOF
1751
1897
#define PACKAGE_STRING "$PACKAGE_STRING"
1752
1898
_ACEOF
1753
1899
 
1754
 
 
1755
1900
cat >>confdefs.h <<_ACEOF
1756
1901
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1757
1902
_ACEOF
1758
1903
 
 
1904
cat >>confdefs.h <<_ACEOF
 
1905
#define PACKAGE_URL "$PACKAGE_URL"
 
1906
_ACEOF
 
1907
 
1759
1908
 
1760
1909
# Let the site file select an alternate cache file if it wants to.
1761
1910
# Prefer an explicitly selected file to automatically selected ones.
1762
1911
ac_site_file1=NONE
1763
1912
ac_site_file2=NONE
1764
1913
if test -n "$CONFIG_SITE"; then
1765
 
  ac_site_file1=$CONFIG_SITE
 
1914
  # We do not want a PATH search for config.site.
 
1915
  case $CONFIG_SITE in #((
 
1916
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1917
    */*) ac_site_file1=$CONFIG_SITE;;
 
1918
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1919
  esac
1766
1920
elif test "x$prefix" != xNONE; then
1767
1921
  ac_site_file1=$prefix/share/config.site
1768
1922
  ac_site_file2=$prefix/etc/config.site
1773
1927
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1774
1928
do
1775
1929
  test "x$ac_site_file" = xNONE && continue
1776
 
  if test -r "$ac_site_file"; then
1777
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1930
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1931
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1778
1932
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1779
1933
    sed 's/^/| /' "$ac_site_file" >&5
1780
 
    . "$ac_site_file"
 
1934
    . "$ac_site_file" \
 
1935
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1936
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1937
as_fn_error $? "failed to load site script $ac_site_file
 
1938
See \`config.log' for more details" "$LINENO" 5; }
1781
1939
  fi
1782
1940
done
1783
1941
 
1784
1942
if test -r "$cache_file"; then
1785
 
  # Some versions of bash will fail to source /dev/null (special
1786
 
  # files actually), so we avoid doing that.
1787
 
  if test -f "$cache_file"; then
1788
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1943
  # Some versions of bash will fail to source /dev/null (special files
 
1944
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1945
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1946
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1789
1947
$as_echo "$as_me: loading cache $cache_file" >&6;}
1790
1948
    case $cache_file in
1791
1949
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1793
1951
    esac
1794
1952
  fi
1795
1953
else
1796
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1954
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1797
1955
$as_echo "$as_me: creating cache $cache_file" >&6;}
1798
1956
  >$cache_file
1799
1957
fi
1808
1966
  eval ac_new_val=\$ac_env_${ac_var}_value
1809
1967
  case $ac_old_set,$ac_new_set in
1810
1968
    set,)
1811
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1969
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1812
1970
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1813
1971
      ac_cache_corrupted=: ;;
1814
1972
    ,set)
1815
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1973
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1816
1974
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1817
1975
      ac_cache_corrupted=: ;;
1818
1976
    ,);;
1822
1980
        ac_old_val_w=`echo x $ac_old_val`
1823
1981
        ac_new_val_w=`echo x $ac_new_val`
1824
1982
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1825
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1983
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1826
1984
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1827
1985
          ac_cache_corrupted=:
1828
1986
        else
1829
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1987
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1830
1988
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1831
1989
          eval $ac_var=\$ac_old_val
1832
1990
        fi
1833
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1991
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1834
1992
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1835
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1993
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1836
1994
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1837
1995
      fi;;
1838
1996
  esac
1844
2002
    esac
1845
2003
    case " $ac_configure_args " in
1846
2004
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1847
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2005
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1848
2006
    esac
1849
2007
  fi
1850
2008
done
1851
2009
if $ac_cache_corrupted; then
1852
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2010
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1853
2011
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1854
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2012
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1855
2013
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1857
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1858
 
   { (exit 1); exit 1; }; }
 
2014
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1859
2015
fi
1860
 
 
1861
 
 
1862
 
 
1863
 
 
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
1875
 
 
1876
 
 
1877
 
 
1878
 
 
1879
 
 
1880
 
 
1881
 
 
1882
 
 
1883
 
 
 
2016
## -------------------- ##
 
2017
## Main body of script. ##
 
2018
## -------------------- ##
1884
2019
 
1885
2020
ac_ext=c
1886
2021
ac_cpp='$CPP $CPPFLAGS'
1889
2024
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1890
2025
 
1891
2026
 
 
2027
 
 
2028
ac_config_headers="$ac_config_headers config.h"
 
2029
 
 
2030
 
 
2031
# Initialize Automake
1892
2032
am__api_version='1.11'
1893
2033
 
1894
2034
ac_aux_dir=
1908
2048
  fi
1909
2049
done
1910
2050
if test -z "$ac_aux_dir"; then
1911
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1912
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1913
 
   { (exit 1); exit 1; }; }
 
2051
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1914
2052
fi
1915
2053
 
1916
2054
# These three variables are undocumented and unsupported,
1936
2074
# OS/2's system install, which has a completely different semantic
1937
2075
# ./install, which can be erroneously created by make from ./install.sh.
1938
2076
# Reject install programs that cannot install multiple files.
1939
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1940
2078
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1941
2079
if test -z "$INSTALL"; then
1942
 
if test "${ac_cv_path_install+set}" = set; then
 
2080
if ${ac_cv_path_install+:} false; then :
1943
2081
  $as_echo_n "(cached) " >&6
1944
2082
else
1945
2083
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947
2085
do
1948
2086
  IFS=$as_save_IFS
1949
2087
  test -z "$as_dir" && as_dir=.
1950
 
  # Account for people who put trailing slashes in PATH elements.
1951
 
case $as_dir/ in
1952
 
  ./ | .// | /cC/* | \
 
2088
    # Account for people who put trailing slashes in PATH elements.
 
2089
case $as_dir/ in #((
 
2090
  ./ | .// | /[cC]/* | \
1953
2091
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1954
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2092
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1955
2093
  /usr/ucb/* ) ;;
1956
2094
  *)
1957
2095
    # OSF1 and SCO ODT 3.0 have their own names for install.
1988
2126
    ;;
1989
2127
esac
1990
2128
 
1991
 
done
 
2129
  done
1992
2130
IFS=$as_save_IFS
1993
2131
 
1994
2132
rm -rf conftest.one conftest.two conftest.dir
2004
2142
    INSTALL=$ac_install_sh
2005
2143
  fi
2006
2144
fi
2007
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2008
2146
$as_echo "$INSTALL" >&6; }
2009
2147
 
2010
2148
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2015
2153
 
2016
2154
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2017
2155
 
2018
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2019
2157
$as_echo_n "checking whether build environment is sane... " >&6; }
2020
2158
# Just in case
2021
2159
sleep 1
2026
2164
'
2027
2165
case `pwd` in
2028
2166
  *[\\\"\#\$\&\'\`$am_lf]*)
2029
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2030
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2031
 
   { (exit 1); exit 1; }; };;
 
2167
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2032
2168
esac
2033
2169
case $srcdir in
2034
2170
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2035
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2036
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2037
 
   { (exit 1); exit 1; }; };;
 
2171
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2038
2172
esac
2039
2173
 
2040
2174
# Do `set' in a subshell so we don't clobber the current shell's
2056
2190
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2057
2191
      # broken ls alias from the environment.  This has actually
2058
2192
      # happened.  Such a system could not be considered "sane".
2059
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2060
 
alias in your environment" >&5
2061
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2062
 
alias in your environment" >&2;}
2063
 
   { (exit 1); exit 1; }; }
 
2193
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2194
alias in your environment" "$LINENO" 5
2064
2195
   fi
2065
2196
 
2066
2197
   test "$2" = conftest.file
2069
2200
   # Ok.
2070
2201
   :
2071
2202
else
2072
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2073
 
Check your system clock" >&5
2074
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2075
 
Check your system clock" >&2;}
2076
 
   { (exit 1); exit 1; }; }
 
2203
   as_fn_error $? "newly created file is older than distributed files!
 
2204
Check your system clock" "$LINENO" 5
2077
2205
fi
2078
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2079
2207
$as_echo "yes" >&6; }
2080
2208
test "$program_prefix" != NONE &&
2081
2209
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2103
2231
  am_missing_run="$MISSING --run "
2104
2232
else
2105
2233
  am_missing_run=
2106
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2234
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2107
2235
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2108
2236
fi
2109
2237
 
2124
2252
  if test -n "$ac_tool_prefix"; then
2125
2253
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2126
2254
set dummy ${ac_tool_prefix}strip; ac_word=$2
2127
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128
2256
$as_echo_n "checking for $ac_word... " >&6; }
2129
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2257
if ${ac_cv_prog_STRIP+:} false; then :
2130
2258
  $as_echo_n "(cached) " >&6
2131
2259
else
2132
2260
  if test -n "$STRIP"; then
2137
2265
do
2138
2266
  IFS=$as_save_IFS
2139
2267
  test -z "$as_dir" && as_dir=.
2140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2268
    for ac_exec_ext in '' $ac_executable_extensions; do
2141
2269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2142
2270
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2143
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2144
2272
    break 2
2145
2273
  fi
2146
2274
done
2147
 
done
 
2275
  done
2148
2276
IFS=$as_save_IFS
2149
2277
 
2150
2278
fi
2151
2279
fi
2152
2280
STRIP=$ac_cv_prog_STRIP
2153
2281
if test -n "$STRIP"; then
2154
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2155
2283
$as_echo "$STRIP" >&6; }
2156
2284
else
2157
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158
2286
$as_echo "no" >&6; }
2159
2287
fi
2160
2288
 
2164
2292
  ac_ct_STRIP=$STRIP
2165
2293
  # Extract the first word of "strip", so it can be a program name with args.
2166
2294
set dummy strip; ac_word=$2
2167
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168
2296
$as_echo_n "checking for $ac_word... " >&6; }
2169
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2297
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2170
2298
  $as_echo_n "(cached) " >&6
2171
2299
else
2172
2300
  if test -n "$ac_ct_STRIP"; then
2177
2305
do
2178
2306
  IFS=$as_save_IFS
2179
2307
  test -z "$as_dir" && as_dir=.
2180
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2308
    for ac_exec_ext in '' $ac_executable_extensions; do
2181
2309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182
2310
    ac_cv_prog_ac_ct_STRIP="strip"
2183
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2311
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2184
2312
    break 2
2185
2313
  fi
2186
2314
done
2187
 
done
 
2315
  done
2188
2316
IFS=$as_save_IFS
2189
2317
 
2190
2318
fi
2191
2319
fi
2192
2320
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2193
2321
if test -n "$ac_ct_STRIP"; then
2194
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2195
2323
$as_echo "$ac_ct_STRIP" >&6; }
2196
2324
else
2197
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198
2326
$as_echo "no" >&6; }
2199
2327
fi
2200
2328
 
2203
2331
  else
2204
2332
    case $cross_compiling:$ac_tool_warned in
2205
2333
yes:)
2206
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2334
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2207
2335
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2208
2336
ac_tool_warned=yes ;;
2209
2337
esac
2216
2344
fi
2217
2345
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2218
2346
 
2219
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2220
2348
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2221
2349
if test -z "$MKDIR_P"; then
2222
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2350
  if ${ac_cv_path_mkdir+:} false; then :
2223
2351
  $as_echo_n "(cached) " >&6
2224
2352
else
2225
2353
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227
2355
do
2228
2356
  IFS=$as_save_IFS
2229
2357
  test -z "$as_dir" && as_dir=.
2230
 
  for ac_prog in mkdir gmkdir; do
 
2358
    for ac_prog in mkdir gmkdir; do
2231
2359
         for ac_exec_ext in '' $ac_executable_extensions; do
2232
2360
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2233
2361
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2239
2367
           esac
2240
2368
         done
2241
2369
       done
2242
 
done
 
2370
  done
2243
2371
IFS=$as_save_IFS
2244
2372
 
2245
2373
fi
2246
2374
 
 
2375
  test -d ./--version && rmdir ./--version
2247
2376
  if test "${ac_cv_path_mkdir+set}" = set; then
2248
2377
    MKDIR_P="$ac_cv_path_mkdir -p"
2249
2378
  else
2251
2380
    # value for MKDIR_P within a source directory, because that will
2252
2381
    # break other packages using the cache if that directory is
2253
2382
    # removed, or if the value is a relative name.
2254
 
    test -d ./--version && rmdir ./--version
2255
2383
    MKDIR_P="$ac_install_sh -d"
2256
2384
  fi
2257
2385
fi
2258
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2259
2387
$as_echo "$MKDIR_P" >&6; }
2260
2388
 
2261
2389
mkdir_p="$MKDIR_P"
2268
2396
do
2269
2397
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2270
2398
set dummy $ac_prog; ac_word=$2
2271
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2272
2400
$as_echo_n "checking for $ac_word... " >&6; }
2273
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2401
if ${ac_cv_prog_AWK+:} false; then :
2274
2402
  $as_echo_n "(cached) " >&6
2275
2403
else
2276
2404
  if test -n "$AWK"; then
2281
2409
do
2282
2410
  IFS=$as_save_IFS
2283
2411
  test -z "$as_dir" && as_dir=.
2284
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2412
    for ac_exec_ext in '' $ac_executable_extensions; do
2285
2413
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286
2414
    ac_cv_prog_AWK="$ac_prog"
2287
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2415
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288
2416
    break 2
2289
2417
  fi
2290
2418
done
2291
 
done
 
2419
  done
2292
2420
IFS=$as_save_IFS
2293
2421
 
2294
2422
fi
2295
2423
fi
2296
2424
AWK=$ac_cv_prog_AWK
2297
2425
if test -n "$AWK"; then
2298
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2299
2427
$as_echo "$AWK" >&6; }
2300
2428
else
2301
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2429
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302
2430
$as_echo "no" >&6; }
2303
2431
fi
2304
2432
 
2306
2434
  test -n "$AWK" && break
2307
2435
done
2308
2436
 
2309
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2310
2438
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2311
2439
set x ${MAKE-make}
2312
2440
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2313
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2441
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2314
2442
  $as_echo_n "(cached) " >&6
2315
2443
else
2316
2444
  cat >conftest.make <<\_ACEOF
2318
2446
all:
2319
2447
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2320
2448
_ACEOF
2321
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2449
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2322
2450
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2323
2451
  *@@@%%%=?*=@@@%%%*)
2324
2452
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2328
2456
rm -f conftest.make
2329
2457
fi
2330
2458
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2331
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2332
2460
$as_echo "yes" >&6; }
2333
2461
  SET_MAKE=
2334
2462
else
2335
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2336
2464
$as_echo "no" >&6; }
2337
2465
  SET_MAKE="MAKE=${MAKE-make}"
2338
2466
fi
2352
2480
  am__isrc=' -I$(srcdir)'
2353
2481
  # test to see if srcdir already configured
2354
2482
  if test -f $srcdir/config.status; then
2355
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2356
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2357
 
   { (exit 1); exit 1; }; }
 
2483
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2358
2484
  fi
2359
2485
fi
2360
2486
 
2370
2496
 
2371
2497
# Define the identity of the package.
2372
2498
 PACKAGE='xeyes'
2373
 
 VERSION='1.1.0'
 
2499
 VERSION='1.1.1'
2374
2500
 
2375
2501
 
2376
2502
cat >>confdefs.h <<_ACEOF
2411
2537
 
2412
2538
 
2413
2539
 
2414
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2415
2541
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2416
2542
    # Check whether --enable-maintainer-mode was given.
2417
 
if test "${enable_maintainer_mode+set}" = set; then
 
2543
if test "${enable_maintainer_mode+set}" = set; then :
2418
2544
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2419
2545
else
2420
2546
  USE_MAINTAINER_MODE=no
2421
2547
fi
2422
2548
 
2423
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2549
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2424
2550
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2425
2551
   if test $USE_MAINTAINER_MODE = yes; then
2426
2552
  MAINTAINER_MODE_TRUE=
2434
2560
 
2435
2561
 
2436
2562
 
2437
 
ac_config_headers="$ac_config_headers config.h"
2438
 
 
2439
 
 
2440
 
# Require xorg-macros: XORG_DEFAULT_OPTIONS
 
2563
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2441
2564
 
2442
2565
 
2443
2566
 
2461
2584
.PHONY: am__doit
2462
2585
END
2463
2586
# If we don't find an include directive, just comment out the code.
2464
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2465
2588
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2466
2589
am__include="#"
2467
2590
am__quote=
2489
2612
fi
2490
2613
 
2491
2614
 
2492
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2493
2616
$as_echo "$_am_result" >&6; }
2494
2617
rm -f confinc confmf
2495
2618
 
2496
2619
# Check whether --enable-dependency-tracking was given.
2497
 
if test "${enable_dependency_tracking+set}" = set; then
 
2620
if test "${enable_dependency_tracking+set}" = set; then :
2498
2621
  enableval=$enable_dependency_tracking;
2499
2622
fi
2500
2623
 
2519
2642
if test -n "$ac_tool_prefix"; then
2520
2643
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2521
2644
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2522
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523
2646
$as_echo_n "checking for $ac_word... " >&6; }
2524
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2647
if ${ac_cv_prog_CC+:} false; then :
2525
2648
  $as_echo_n "(cached) " >&6
2526
2649
else
2527
2650
  if test -n "$CC"; then
2532
2655
do
2533
2656
  IFS=$as_save_IFS
2534
2657
  test -z "$as_dir" && as_dir=.
2535
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2658
    for ac_exec_ext in '' $ac_executable_extensions; do
2536
2659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537
2660
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2538
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2661
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2539
2662
    break 2
2540
2663
  fi
2541
2664
done
2542
 
done
 
2665
  done
2543
2666
IFS=$as_save_IFS
2544
2667
 
2545
2668
fi
2546
2669
fi
2547
2670
CC=$ac_cv_prog_CC
2548
2671
if test -n "$CC"; then
2549
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2550
2673
$as_echo "$CC" >&6; }
2551
2674
else
2552
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553
2676
$as_echo "no" >&6; }
2554
2677
fi
2555
2678
 
2559
2682
  ac_ct_CC=$CC
2560
2683
  # Extract the first word of "gcc", so it can be a program name with args.
2561
2684
set dummy gcc; ac_word=$2
2562
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563
2686
$as_echo_n "checking for $ac_word... " >&6; }
2564
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2687
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2565
2688
  $as_echo_n "(cached) " >&6
2566
2689
else
2567
2690
  if test -n "$ac_ct_CC"; then
2572
2695
do
2573
2696
  IFS=$as_save_IFS
2574
2697
  test -z "$as_dir" && as_dir=.
2575
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2698
    for ac_exec_ext in '' $ac_executable_extensions; do
2576
2699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577
2700
    ac_cv_prog_ac_ct_CC="gcc"
2578
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2701
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579
2702
    break 2
2580
2703
  fi
2581
2704
done
2582
 
done
 
2705
  done
2583
2706
IFS=$as_save_IFS
2584
2707
 
2585
2708
fi
2586
2709
fi
2587
2710
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2588
2711
if test -n "$ac_ct_CC"; then
2589
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2590
2713
$as_echo "$ac_ct_CC" >&6; }
2591
2714
else
2592
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593
2716
$as_echo "no" >&6; }
2594
2717
fi
2595
2718
 
2598
2721
  else
2599
2722
    case $cross_compiling:$ac_tool_warned in
2600
2723
yes:)
2601
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2724
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2602
2725
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2603
2726
ac_tool_warned=yes ;;
2604
2727
esac
2612
2735
          if test -n "$ac_tool_prefix"; then
2613
2736
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2614
2737
set dummy ${ac_tool_prefix}cc; ac_word=$2
2615
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616
2739
$as_echo_n "checking for $ac_word... " >&6; }
2617
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2740
if ${ac_cv_prog_CC+:} false; then :
2618
2741
  $as_echo_n "(cached) " >&6
2619
2742
else
2620
2743
  if test -n "$CC"; then
2625
2748
do
2626
2749
  IFS=$as_save_IFS
2627
2750
  test -z "$as_dir" && as_dir=.
2628
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2751
    for ac_exec_ext in '' $ac_executable_extensions; do
2629
2752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630
2753
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2631
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2754
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632
2755
    break 2
2633
2756
  fi
2634
2757
done
2635
 
done
 
2758
  done
2636
2759
IFS=$as_save_IFS
2637
2760
 
2638
2761
fi
2639
2762
fi
2640
2763
CC=$ac_cv_prog_CC
2641
2764
if test -n "$CC"; then
2642
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2643
2766
$as_echo "$CC" >&6; }
2644
2767
else
2645
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646
2769
$as_echo "no" >&6; }
2647
2770
fi
2648
2771
 
2652
2775
if test -z "$CC"; then
2653
2776
  # Extract the first word of "cc", so it can be a program name with args.
2654
2777
set dummy cc; ac_word=$2
2655
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656
2779
$as_echo_n "checking for $ac_word... " >&6; }
2657
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2780
if ${ac_cv_prog_CC+:} false; then :
2658
2781
  $as_echo_n "(cached) " >&6
2659
2782
else
2660
2783
  if test -n "$CC"; then
2666
2789
do
2667
2790
  IFS=$as_save_IFS
2668
2791
  test -z "$as_dir" && as_dir=.
2669
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2792
    for ac_exec_ext in '' $ac_executable_extensions; do
2670
2793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671
2794
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2672
2795
       ac_prog_rejected=yes
2673
2796
       continue
2674
2797
     fi
2675
2798
    ac_cv_prog_CC="cc"
2676
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2799
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677
2800
    break 2
2678
2801
  fi
2679
2802
done
2680
 
done
 
2803
  done
2681
2804
IFS=$as_save_IFS
2682
2805
 
2683
2806
if test $ac_prog_rejected = yes; then
2696
2819
fi
2697
2820
CC=$ac_cv_prog_CC
2698
2821
if test -n "$CC"; then
2699
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2700
2823
$as_echo "$CC" >&6; }
2701
2824
else
2702
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703
2826
$as_echo "no" >&6; }
2704
2827
fi
2705
2828
 
2711
2834
  do
2712
2835
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2713
2836
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2714
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715
2838
$as_echo_n "checking for $ac_word... " >&6; }
2716
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2839
if ${ac_cv_prog_CC+:} false; then :
2717
2840
  $as_echo_n "(cached) " >&6
2718
2841
else
2719
2842
  if test -n "$CC"; then
2724
2847
do
2725
2848
  IFS=$as_save_IFS
2726
2849
  test -z "$as_dir" && as_dir=.
2727
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2850
    for ac_exec_ext in '' $ac_executable_extensions; do
2728
2851
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729
2852
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2730
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2853
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731
2854
    break 2
2732
2855
  fi
2733
2856
done
2734
 
done
 
2857
  done
2735
2858
IFS=$as_save_IFS
2736
2859
 
2737
2860
fi
2738
2861
fi
2739
2862
CC=$ac_cv_prog_CC
2740
2863
if test -n "$CC"; then
2741
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2742
2865
$as_echo "$CC" >&6; }
2743
2866
else
2744
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745
2868
$as_echo "no" >&6; }
2746
2869
fi
2747
2870
 
2755
2878
do
2756
2879
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2757
2880
set dummy $ac_prog; ac_word=$2
2758
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759
2882
$as_echo_n "checking for $ac_word... " >&6; }
2760
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2883
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2761
2884
  $as_echo_n "(cached) " >&6
2762
2885
else
2763
2886
  if test -n "$ac_ct_CC"; then
2768
2891
do
2769
2892
  IFS=$as_save_IFS
2770
2893
  test -z "$as_dir" && as_dir=.
2771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2894
    for ac_exec_ext in '' $ac_executable_extensions; do
2772
2895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773
2896
    ac_cv_prog_ac_ct_CC="$ac_prog"
2774
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2897
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775
2898
    break 2
2776
2899
  fi
2777
2900
done
2778
 
done
 
2901
  done
2779
2902
IFS=$as_save_IFS
2780
2903
 
2781
2904
fi
2782
2905
fi
2783
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2784
2907
if test -n "$ac_ct_CC"; then
2785
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2786
2909
$as_echo "$ac_ct_CC" >&6; }
2787
2910
else
2788
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789
2912
$as_echo "no" >&6; }
2790
2913
fi
2791
2914
 
2798
2921
  else
2799
2922
    case $cross_compiling:$ac_tool_warned in
2800
2923
yes:)
2801
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2802
2925
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803
2926
ac_tool_warned=yes ;;
2804
2927
esac
2809
2932
fi
2810
2933
 
2811
2934
 
2812
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2935
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2813
2936
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2815
 
See \`config.log' for more details." >&5
2816
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2817
 
See \`config.log' for more details." >&2;}
2818
 
   { (exit 1); exit 1; }; }; }
 
2937
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2938
See \`config.log' for more details" "$LINENO" 5; }
2819
2939
 
2820
2940
# Provide some information about the compiler.
2821
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2941
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2822
2942
set X $ac_compile
2823
2943
ac_compiler=$2
2824
 
{ (ac_try="$ac_compiler --version >&5"
2825
 
case "(($ac_try" in
2826
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827
 
  *) ac_try_echo=$ac_try;;
2828
 
esac
2829
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2830
 
$as_echo "$ac_try_echo") >&5
2831
 
  (eval "$ac_compiler --version >&5") 2>&5
2832
 
  ac_status=$?
2833
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
 
  (exit $ac_status); }
2835
 
{ (ac_try="$ac_compiler -v >&5"
2836
 
case "(($ac_try" in
2837
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838
 
  *) ac_try_echo=$ac_try;;
2839
 
esac
2840
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841
 
$as_echo "$ac_try_echo") >&5
2842
 
  (eval "$ac_compiler -v >&5") 2>&5
2843
 
  ac_status=$?
2844
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845
 
  (exit $ac_status); }
2846
 
{ (ac_try="$ac_compiler -V >&5"
2847
 
case "(($ac_try" in
2848
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849
 
  *) ac_try_echo=$ac_try;;
2850
 
esac
2851
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2852
 
$as_echo "$ac_try_echo") >&5
2853
 
  (eval "$ac_compiler -V >&5") 2>&5
2854
 
  ac_status=$?
2855
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
 
  (exit $ac_status); }
 
2944
for ac_option in --version -v -V -qversion; do
 
2945
  { { ac_try="$ac_compiler $ac_option >&5"
 
2946
case "(($ac_try" in
 
2947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2948
  *) ac_try_echo=$ac_try;;
 
2949
esac
 
2950
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2951
$as_echo "$ac_try_echo"; } >&5
 
2952
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2953
  ac_status=$?
 
2954
  if test -s conftest.err; then
 
2955
    sed '10a\
 
2956
... rest of stderr output deleted ...
 
2957
         10q' conftest.err >conftest.er1
 
2958
    cat conftest.er1 >&5
 
2959
  fi
 
2960
  rm -f conftest.er1 conftest.err
 
2961
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2962
  test $ac_status = 0; }
 
2963
done
2857
2964
 
2858
 
cat >conftest.$ac_ext <<_ACEOF
2859
 
/* confdefs.h.  */
2860
 
_ACEOF
2861
 
cat confdefs.h >>conftest.$ac_ext
2862
 
cat >>conftest.$ac_ext <<_ACEOF
 
2965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863
2966
/* end confdefs.h.  */
2864
2967
 
2865
2968
int
2875
2978
# Try to create an executable without -o first, disregard a.out.
2876
2979
# It will help us diagnose broken compilers, and finding out an intuition
2877
2980
# of exeext.
2878
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2879
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2982
$as_echo_n "checking whether the C compiler works... " >&6; }
2880
2983
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2881
2984
 
2882
2985
# The possible output files:
2892
2995
done
2893
2996
rm -f $ac_rmfiles
2894
2997
 
2895
 
if { (ac_try="$ac_link_default"
 
2998
if { { ac_try="$ac_link_default"
2896
2999
case "(($ac_try" in
2897
3000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898
3001
  *) ac_try_echo=$ac_try;;
2899
3002
esac
2900
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2901
 
$as_echo "$ac_try_echo") >&5
 
3003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3004
$as_echo "$ac_try_echo"; } >&5
2902
3005
  (eval "$ac_link_default") 2>&5
2903
3006
  ac_status=$?
2904
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
 
  (exit $ac_status); }; then
 
3007
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3008
  test $ac_status = 0; }; then :
2906
3009
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2907
3010
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2908
3011
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2919
3022
        # certainly right.
2920
3023
        break;;
2921
3024
    *.* )
2922
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3025
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2923
3026
        then :; else
2924
3027
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2925
3028
        fi
2938
3041
else
2939
3042
  ac_file=''
2940
3043
fi
 
3044
if test -z "$ac_file"; then :
 
3045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3046
$as_echo "no" >&6; }
 
3047
$as_echo "$as_me: failed program was:" >&5
 
3048
sed 's/^/| /' conftest.$ac_ext >&5
2941
3049
 
2942
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3050
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3052
as_fn_error 77 "C compiler cannot create executables
 
3053
See \`config.log' for more details" "$LINENO" 5; }
 
3054
else
 
3055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3056
$as_echo "yes" >&6; }
 
3057
fi
 
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3059
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2943
3061
$as_echo "$ac_file" >&6; }
2944
 
if test -z "$ac_file"; then
2945
 
  $as_echo "$as_me: failed program was:" >&5
2946
 
sed 's/^/| /' conftest.$ac_ext >&5
2947
 
 
2948
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2949
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2950
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2951
 
See \`config.log' for more details." >&5
2952
 
$as_echo "$as_me: error: C compiler cannot create executables
2953
 
See \`config.log' for more details." >&2;}
2954
 
   { (exit 77); exit 77; }; }; }
2955
 
fi
2956
 
 
2957
3062
ac_exeext=$ac_cv_exeext
2958
3063
 
2959
 
# Check that the compiler produces executables we can run.  If not, either
2960
 
# the compiler is broken, or we cross compile.
2961
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2962
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2963
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2964
 
# If not cross compiling, check that we can run a simple program.
2965
 
if test "$cross_compiling" != yes; then
2966
 
  if { ac_try='./$ac_file'
2967
 
  { (case "(($ac_try" in
2968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969
 
  *) ac_try_echo=$ac_try;;
2970
 
esac
2971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2972
 
$as_echo "$ac_try_echo") >&5
2973
 
  (eval "$ac_try") 2>&5
2974
 
  ac_status=$?
2975
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976
 
  (exit $ac_status); }; }; then
2977
 
    cross_compiling=no
2978
 
  else
2979
 
    if test "$cross_compiling" = maybe; then
2980
 
        cross_compiling=yes
2981
 
    else
2982
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2983
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2984
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2985
 
If you meant to cross compile, use \`--host'.
2986
 
See \`config.log' for more details." >&5
2987
 
$as_echo "$as_me: error: cannot run C compiled programs.
2988
 
If you meant to cross compile, use \`--host'.
2989
 
See \`config.log' for more details." >&2;}
2990
 
   { (exit 1); exit 1; }; }; }
2991
 
    fi
2992
 
  fi
2993
 
fi
2994
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2995
 
$as_echo "yes" >&6; }
2996
 
 
2997
3064
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2998
3065
ac_clean_files=$ac_clean_files_save
2999
 
# Check that the compiler produces executables we can run.  If not, either
3000
 
# the compiler is broken, or we cross compile.
3001
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3002
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3003
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3004
 
$as_echo "$cross_compiling" >&6; }
3005
 
 
3006
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3007
3067
$as_echo_n "checking for suffix of executables... " >&6; }
3008
 
if { (ac_try="$ac_link"
 
3068
if { { ac_try="$ac_link"
3009
3069
case "(($ac_try" in
3010
3070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011
3071
  *) ac_try_echo=$ac_try;;
3012
3072
esac
3013
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3014
 
$as_echo "$ac_try_echo") >&5
 
3073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3074
$as_echo "$ac_try_echo"; } >&5
3015
3075
  (eval "$ac_link") 2>&5
3016
3076
  ac_status=$?
3017
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018
 
  (exit $ac_status); }; then
 
3077
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3078
  test $ac_status = 0; }; then :
3019
3079
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3020
3080
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3021
3081
# work properly (i.e., refer to `conftest.exe'), while it won't with
3030
3090
  esac
3031
3091
done
3032
3092
else
3033
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3093
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034
3094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3036
 
See \`config.log' for more details." >&5
3037
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3038
 
See \`config.log' for more details." >&2;}
3039
 
   { (exit 1); exit 1; }; }; }
 
3095
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3096
See \`config.log' for more details" "$LINENO" 5; }
3040
3097
fi
3041
 
 
3042
 
rm -f conftest$ac_cv_exeext
3043
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3098
rm -f conftest conftest$ac_cv_exeext
 
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3044
3100
$as_echo "$ac_cv_exeext" >&6; }
3045
3101
 
3046
3102
rm -f conftest.$ac_ext
3047
3103
EXEEXT=$ac_cv_exeext
3048
3104
ac_exeext=$EXEEXT
3049
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3106
/* end confdefs.h.  */
 
3107
#include <stdio.h>
 
3108
int
 
3109
main ()
 
3110
{
 
3111
FILE *f = fopen ("conftest.out", "w");
 
3112
 return ferror (f) || fclose (f) != 0;
 
3113
 
 
3114
  ;
 
3115
  return 0;
 
3116
}
 
3117
_ACEOF
 
3118
ac_clean_files="$ac_clean_files conftest.out"
 
3119
# Check that the compiler produces executables we can run.  If not, either
 
3120
# the compiler is broken, or we cross compile.
 
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3122
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3123
if test "$cross_compiling" != yes; then
 
3124
  { { ac_try="$ac_link"
 
3125
case "(($ac_try" in
 
3126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3127
  *) ac_try_echo=$ac_try;;
 
3128
esac
 
3129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3130
$as_echo "$ac_try_echo"; } >&5
 
3131
  (eval "$ac_link") 2>&5
 
3132
  ac_status=$?
 
3133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3134
  test $ac_status = 0; }
 
3135
  if { ac_try='./conftest$ac_cv_exeext'
 
3136
  { { case "(($ac_try" in
 
3137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3138
  *) ac_try_echo=$ac_try;;
 
3139
esac
 
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3141
$as_echo "$ac_try_echo"; } >&5
 
3142
  (eval "$ac_try") 2>&5
 
3143
  ac_status=$?
 
3144
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3145
  test $ac_status = 0; }; }; then
 
3146
    cross_compiling=no
 
3147
  else
 
3148
    if test "$cross_compiling" = maybe; then
 
3149
        cross_compiling=yes
 
3150
    else
 
3151
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3153
as_fn_error $? "cannot run C compiled programs.
 
3154
If you meant to cross compile, use \`--host'.
 
3155
See \`config.log' for more details" "$LINENO" 5; }
 
3156
    fi
 
3157
  fi
 
3158
fi
 
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3160
$as_echo "$cross_compiling" >&6; }
 
3161
 
 
3162
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3163
ac_clean_files=$ac_clean_files_save
 
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3050
3165
$as_echo_n "checking for suffix of object files... " >&6; }
3051
 
if test "${ac_cv_objext+set}" = set; then
 
3166
if ${ac_cv_objext+:} false; then :
3052
3167
  $as_echo_n "(cached) " >&6
3053
3168
else
3054
 
  cat >conftest.$ac_ext <<_ACEOF
3055
 
/* confdefs.h.  */
3056
 
_ACEOF
3057
 
cat confdefs.h >>conftest.$ac_ext
3058
 
cat >>conftest.$ac_ext <<_ACEOF
 
3169
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059
3170
/* end confdefs.h.  */
3060
3171
 
3061
3172
int
3067
3178
}
3068
3179
_ACEOF
3069
3180
rm -f conftest.o conftest.obj
3070
 
if { (ac_try="$ac_compile"
 
3181
if { { ac_try="$ac_compile"
3071
3182
case "(($ac_try" in
3072
3183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073
3184
  *) ac_try_echo=$ac_try;;
3074
3185
esac
3075
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3076
 
$as_echo "$ac_try_echo") >&5
 
3186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3187
$as_echo "$ac_try_echo"; } >&5
3077
3188
  (eval "$ac_compile") 2>&5
3078
3189
  ac_status=$?
3079
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080
 
  (exit $ac_status); }; then
 
3190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3191
  test $ac_status = 0; }; then :
3081
3192
  for ac_file in conftest.o conftest.obj conftest.*; do
3082
3193
  test -f "$ac_file" || continue;
3083
3194
  case $ac_file in
3090
3201
  $as_echo "$as_me: failed program was:" >&5
3091
3202
sed 's/^/| /' conftest.$ac_ext >&5
3092
3203
 
3093
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3204
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
3205
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3096
 
See \`config.log' for more details." >&5
3097
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3098
 
See \`config.log' for more details." >&2;}
3099
 
   { (exit 1); exit 1; }; }; }
 
3206
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3207
See \`config.log' for more details" "$LINENO" 5; }
3100
3208
fi
3101
 
 
3102
3209
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3103
3210
fi
3104
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3105
3212
$as_echo "$ac_cv_objext" >&6; }
3106
3213
OBJEXT=$ac_cv_objext
3107
3214
ac_objext=$OBJEXT
3108
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3109
3216
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3110
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3217
if ${ac_cv_c_compiler_gnu+:} false; then :
3111
3218
  $as_echo_n "(cached) " >&6
3112
3219
else
3113
 
  cat >conftest.$ac_ext <<_ACEOF
3114
 
/* confdefs.h.  */
3115
 
_ACEOF
3116
 
cat confdefs.h >>conftest.$ac_ext
3117
 
cat >>conftest.$ac_ext <<_ACEOF
 
3220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118
3221
/* end confdefs.h.  */
3119
3222
 
3120
3223
int
3128
3231
  return 0;
3129
3232
}
3130
3233
_ACEOF
3131
 
rm -f conftest.$ac_objext
3132
 
if { (ac_try="$ac_compile"
3133
 
case "(($ac_try" in
3134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135
 
  *) ac_try_echo=$ac_try;;
3136
 
esac
3137
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3138
 
$as_echo "$ac_try_echo") >&5
3139
 
  (eval "$ac_compile") 2>conftest.er1
3140
 
  ac_status=$?
3141
 
  grep -v '^ *+' conftest.er1 >conftest.err
3142
 
  rm -f conftest.er1
3143
 
  cat conftest.err >&5
3144
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145
 
  (exit $ac_status); } && {
3146
 
         test -z "$ac_c_werror_flag" ||
3147
 
         test ! -s conftest.err
3148
 
       } && test -s conftest.$ac_objext; then
 
3234
if ac_fn_c_try_compile "$LINENO"; then :
3149
3235
  ac_compiler_gnu=yes
3150
3236
else
3151
 
  $as_echo "$as_me: failed program was:" >&5
3152
 
sed 's/^/| /' conftest.$ac_ext >&5
3153
 
 
3154
 
        ac_compiler_gnu=no
 
3237
  ac_compiler_gnu=no
3155
3238
fi
3156
 
 
3157
3239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158
3240
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3159
3241
 
3160
3242
fi
3161
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3162
3244
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3163
3245
if test $ac_compiler_gnu = yes; then
3164
3246
  GCC=yes
3167
3249
fi
3168
3250
ac_test_CFLAGS=${CFLAGS+set}
3169
3251
ac_save_CFLAGS=$CFLAGS
3170
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3171
3253
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3172
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3254
if ${ac_cv_prog_cc_g+:} false; then :
3173
3255
  $as_echo_n "(cached) " >&6
3174
3256
else
3175
3257
  ac_save_c_werror_flag=$ac_c_werror_flag
3176
3258
   ac_c_werror_flag=yes
3177
3259
   ac_cv_prog_cc_g=no
3178
3260
   CFLAGS="-g"
3179
 
   cat >conftest.$ac_ext <<_ACEOF
3180
 
/* confdefs.h.  */
3181
 
_ACEOF
3182
 
cat confdefs.h >>conftest.$ac_ext
3183
 
cat >>conftest.$ac_ext <<_ACEOF
 
3261
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184
3262
/* end confdefs.h.  */
3185
3263
 
3186
3264
int
3191
3269
  return 0;
3192
3270
}
3193
3271
_ACEOF
3194
 
rm -f conftest.$ac_objext
3195
 
if { (ac_try="$ac_compile"
3196
 
case "(($ac_try" in
3197
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198
 
  *) ac_try_echo=$ac_try;;
3199
 
esac
3200
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3201
 
$as_echo "$ac_try_echo") >&5
3202
 
  (eval "$ac_compile") 2>conftest.er1
3203
 
  ac_status=$?
3204
 
  grep -v '^ *+' conftest.er1 >conftest.err
3205
 
  rm -f conftest.er1
3206
 
  cat conftest.err >&5
3207
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208
 
  (exit $ac_status); } && {
3209
 
         test -z "$ac_c_werror_flag" ||
3210
 
         test ! -s conftest.err
3211
 
       } && test -s conftest.$ac_objext; then
 
3272
if ac_fn_c_try_compile "$LINENO"; then :
3212
3273
  ac_cv_prog_cc_g=yes
3213
3274
else
3214
 
  $as_echo "$as_me: failed program was:" >&5
3215
 
sed 's/^/| /' conftest.$ac_ext >&5
3216
 
 
3217
 
        CFLAGS=""
3218
 
      cat >conftest.$ac_ext <<_ACEOF
3219
 
/* confdefs.h.  */
3220
 
_ACEOF
3221
 
cat confdefs.h >>conftest.$ac_ext
3222
 
cat >>conftest.$ac_ext <<_ACEOF
 
3275
  CFLAGS=""
 
3276
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223
3277
/* end confdefs.h.  */
3224
3278
 
3225
3279
int
3230
3284
  return 0;
3231
3285
}
3232
3286
_ACEOF
3233
 
rm -f conftest.$ac_objext
3234
 
if { (ac_try="$ac_compile"
3235
 
case "(($ac_try" in
3236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237
 
  *) ac_try_echo=$ac_try;;
3238
 
esac
3239
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3240
 
$as_echo "$ac_try_echo") >&5
3241
 
  (eval "$ac_compile") 2>conftest.er1
3242
 
  ac_status=$?
3243
 
  grep -v '^ *+' conftest.er1 >conftest.err
3244
 
  rm -f conftest.er1
3245
 
  cat conftest.err >&5
3246
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247
 
  (exit $ac_status); } && {
3248
 
         test -z "$ac_c_werror_flag" ||
3249
 
         test ! -s conftest.err
3250
 
       } && test -s conftest.$ac_objext; then
3251
 
  :
 
3287
if ac_fn_c_try_compile "$LINENO"; then :
 
3288
 
3252
3289
else
3253
 
  $as_echo "$as_me: failed program was:" >&5
3254
 
sed 's/^/| /' conftest.$ac_ext >&5
3255
 
 
3256
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3290
  ac_c_werror_flag=$ac_save_c_werror_flag
3257
3291
         CFLAGS="-g"
3258
 
         cat >conftest.$ac_ext <<_ACEOF
3259
 
/* confdefs.h.  */
3260
 
_ACEOF
3261
 
cat confdefs.h >>conftest.$ac_ext
3262
 
cat >>conftest.$ac_ext <<_ACEOF
 
3292
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263
3293
/* end confdefs.h.  */
3264
3294
 
3265
3295
int
3270
3300
  return 0;
3271
3301
}
3272
3302
_ACEOF
3273
 
rm -f conftest.$ac_objext
3274
 
if { (ac_try="$ac_compile"
3275
 
case "(($ac_try" in
3276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277
 
  *) ac_try_echo=$ac_try;;
3278
 
esac
3279
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3280
 
$as_echo "$ac_try_echo") >&5
3281
 
  (eval "$ac_compile") 2>conftest.er1
3282
 
  ac_status=$?
3283
 
  grep -v '^ *+' conftest.er1 >conftest.err
3284
 
  rm -f conftest.er1
3285
 
  cat conftest.err >&5
3286
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287
 
  (exit $ac_status); } && {
3288
 
         test -z "$ac_c_werror_flag" ||
3289
 
         test ! -s conftest.err
3290
 
       } && test -s conftest.$ac_objext; then
 
3303
if ac_fn_c_try_compile "$LINENO"; then :
3291
3304
  ac_cv_prog_cc_g=yes
3292
 
else
3293
 
  $as_echo "$as_me: failed program was:" >&5
3294
 
sed 's/^/| /' conftest.$ac_ext >&5
3295
 
 
3296
 
 
3297
 
fi
3298
 
 
3299
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300
 
fi
3301
 
 
3302
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303
 
fi
3304
 
 
 
3305
fi
 
3306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3307
fi
 
3308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3309
fi
3305
3310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306
3311
   ac_c_werror_flag=$ac_save_c_werror_flag
3307
3312
fi
3308
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3309
3314
$as_echo "$ac_cv_prog_cc_g" >&6; }
3310
3315
if test "$ac_test_CFLAGS" = set; then
3311
3316
  CFLAGS=$ac_save_CFLAGS
3322
3327
    CFLAGS=
3323
3328
  fi
3324
3329
fi
3325
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3326
3331
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3327
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3332
if ${ac_cv_prog_cc_c89+:} false; then :
3328
3333
  $as_echo_n "(cached) " >&6
3329
3334
else
3330
3335
  ac_cv_prog_cc_c89=no
3331
3336
ac_save_CC=$CC
3332
 
cat >conftest.$ac_ext <<_ACEOF
3333
 
/* confdefs.h.  */
3334
 
_ACEOF
3335
 
cat confdefs.h >>conftest.$ac_ext
3336
 
cat >>conftest.$ac_ext <<_ACEOF
 
3337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337
3338
/* end confdefs.h.  */
3338
3339
#include <stdarg.h>
3339
3340
#include <stdio.h>
3390
3391
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3391
3392
do
3392
3393
  CC="$ac_save_CC $ac_arg"
3393
 
  rm -f conftest.$ac_objext
3394
 
if { (ac_try="$ac_compile"
3395
 
case "(($ac_try" in
3396
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397
 
  *) ac_try_echo=$ac_try;;
3398
 
esac
3399
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3400
 
$as_echo "$ac_try_echo") >&5
3401
 
  (eval "$ac_compile") 2>conftest.er1
3402
 
  ac_status=$?
3403
 
  grep -v '^ *+' conftest.er1 >conftest.err
3404
 
  rm -f conftest.er1
3405
 
  cat conftest.err >&5
3406
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407
 
  (exit $ac_status); } && {
3408
 
         test -z "$ac_c_werror_flag" ||
3409
 
         test ! -s conftest.err
3410
 
       } && test -s conftest.$ac_objext; then
 
3394
  if ac_fn_c_try_compile "$LINENO"; then :
3411
3395
  ac_cv_prog_cc_c89=$ac_arg
3412
 
else
3413
 
  $as_echo "$as_me: failed program was:" >&5
3414
 
sed 's/^/| /' conftest.$ac_ext >&5
3415
 
 
3416
 
 
3417
3396
fi
3418
 
 
3419
3397
rm -f core conftest.err conftest.$ac_objext
3420
3398
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3421
3399
done
3426
3404
# AC_CACHE_VAL
3427
3405
case "x$ac_cv_prog_cc_c89" in
3428
3406
  x)
3429
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3407
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3430
3408
$as_echo "none needed" >&6; } ;;
3431
3409
  xno)
3432
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3410
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3433
3411
$as_echo "unsupported" >&6; } ;;
3434
3412
  *)
3435
3413
    CC="$CC $ac_cv_prog_cc_c89"
3436
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3414
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3437
3415
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3438
3416
esac
 
3417
if test "x$ac_cv_prog_cc_c89" != xno; then :
3439
3418
 
 
3419
fi
3440
3420
 
3441
3421
ac_ext=c
3442
3422
ac_cpp='$CPP $CPPFLAGS'
3446
3426
 
3447
3427
depcc="$CC"   am_compiler_list=
3448
3428
 
3449
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3450
3430
$as_echo_n "checking dependency style of $depcc... " >&6; }
3451
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3431
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3452
3432
  $as_echo_n "(cached) " >&6
3453
3433
else
3454
3434
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3556
3536
fi
3557
3537
 
3558
3538
fi
3559
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3560
3540
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3561
3541
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3562
3542
 
3571
3551
fi
3572
3552
 
3573
3553
 
3574
 
 
3575
 
ac_ext=c
3576
 
ac_cpp='$CPP $CPPFLAGS'
3577
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3578
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3579
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3580
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3581
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3582
 
# On Suns, sometimes $CPP names a directory.
3583
 
if test -n "$CPP" && test -d "$CPP"; then
3584
 
  CPP=
3585
 
fi
3586
 
if test -z "$CPP"; then
3587
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3588
 
  $as_echo_n "(cached) " >&6
3589
 
else
3590
 
      # Double quotes because CPP needs to be expanded
3591
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3592
 
    do
3593
 
      ac_preproc_ok=false
3594
 
for ac_c_preproc_warn_flag in '' yes
3595
 
do
3596
 
  # Use a header file that comes with gcc, so configuring glibc
3597
 
  # with a fresh cross-compiler works.
3598
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599
 
  # <limits.h> exists even on freestanding compilers.
3600
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3601
 
  # not just through cpp. "Syntax error" is here to catch this case.
3602
 
  cat >conftest.$ac_ext <<_ACEOF
3603
 
/* confdefs.h.  */
3604
 
_ACEOF
3605
 
cat confdefs.h >>conftest.$ac_ext
3606
 
cat >>conftest.$ac_ext <<_ACEOF
3607
 
/* end confdefs.h.  */
3608
 
#ifdef __STDC__
3609
 
# include <limits.h>
3610
 
#else
3611
 
# include <assert.h>
3612
 
#endif
3613
 
                     Syntax error
3614
 
_ACEOF
3615
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3616
 
case "(($ac_try" in
3617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618
 
  *) ac_try_echo=$ac_try;;
3619
 
esac
3620
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3621
 
$as_echo "$ac_try_echo") >&5
3622
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3623
 
  ac_status=$?
3624
 
  grep -v '^ *+' conftest.er1 >conftest.err
3625
 
  rm -f conftest.er1
3626
 
  cat conftest.err >&5
3627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628
 
  (exit $ac_status); } >/dev/null && {
3629
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3630
 
         test ! -s conftest.err
3631
 
       }; then
3632
 
  :
3633
 
else
3634
 
  $as_echo "$as_me: failed program was:" >&5
3635
 
sed 's/^/| /' conftest.$ac_ext >&5
3636
 
 
3637
 
  # Broken: fails on valid input.
3638
 
continue
3639
 
fi
3640
 
 
3641
 
rm -f conftest.err conftest.$ac_ext
3642
 
 
3643
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3644
 
  # can be detected and how.
3645
 
  cat >conftest.$ac_ext <<_ACEOF
3646
 
/* confdefs.h.  */
3647
 
_ACEOF
3648
 
cat confdefs.h >>conftest.$ac_ext
3649
 
cat >>conftest.$ac_ext <<_ACEOF
3650
 
/* end confdefs.h.  */
3651
 
#include <ac_nonexistent.h>
3652
 
_ACEOF
3653
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3654
 
case "(($ac_try" in
3655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656
 
  *) ac_try_echo=$ac_try;;
3657
 
esac
3658
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3659
 
$as_echo "$ac_try_echo") >&5
3660
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3661
 
  ac_status=$?
3662
 
  grep -v '^ *+' conftest.er1 >conftest.err
3663
 
  rm -f conftest.er1
3664
 
  cat conftest.err >&5
3665
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666
 
  (exit $ac_status); } >/dev/null && {
3667
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3668
 
         test ! -s conftest.err
3669
 
       }; then
3670
 
  # Broken: success on invalid input.
3671
 
continue
3672
 
else
3673
 
  $as_echo "$as_me: failed program was:" >&5
3674
 
sed 's/^/| /' conftest.$ac_ext >&5
3675
 
 
3676
 
  # Passes both tests.
3677
 
ac_preproc_ok=:
3678
 
break
3679
 
fi
3680
 
 
3681
 
rm -f conftest.err conftest.$ac_ext
3682
 
 
3683
 
done
3684
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3685
 
rm -f conftest.err conftest.$ac_ext
3686
 
if $ac_preproc_ok; then
3687
 
  break
3688
 
fi
3689
 
 
3690
 
    done
3691
 
    ac_cv_prog_CPP=$CPP
3692
 
 
3693
 
fi
3694
 
  CPP=$ac_cv_prog_CPP
3695
 
else
3696
 
  ac_cv_prog_CPP=$CPP
3697
 
fi
3698
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3699
 
$as_echo "$CPP" >&6; }
3700
 
ac_preproc_ok=false
3701
 
for ac_c_preproc_warn_flag in '' yes
3702
 
do
3703
 
  # Use a header file that comes with gcc, so configuring glibc
3704
 
  # with a fresh cross-compiler works.
3705
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3706
 
  # <limits.h> exists even on freestanding compilers.
3707
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3708
 
  # not just through cpp. "Syntax error" is here to catch this case.
3709
 
  cat >conftest.$ac_ext <<_ACEOF
3710
 
/* confdefs.h.  */
3711
 
_ACEOF
3712
 
cat confdefs.h >>conftest.$ac_ext
3713
 
cat >>conftest.$ac_ext <<_ACEOF
3714
 
/* end confdefs.h.  */
3715
 
#ifdef __STDC__
3716
 
# include <limits.h>
3717
 
#else
3718
 
# include <assert.h>
3719
 
#endif
3720
 
                     Syntax error
3721
 
_ACEOF
3722
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3723
 
case "(($ac_try" in
3724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725
 
  *) ac_try_echo=$ac_try;;
3726
 
esac
3727
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3728
 
$as_echo "$ac_try_echo") >&5
3729
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3730
 
  ac_status=$?
3731
 
  grep -v '^ *+' conftest.er1 >conftest.err
3732
 
  rm -f conftest.er1
3733
 
  cat conftest.err >&5
3734
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735
 
  (exit $ac_status); } >/dev/null && {
3736
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3737
 
         test ! -s conftest.err
3738
 
       }; then
3739
 
  :
3740
 
else
3741
 
  $as_echo "$as_me: failed program was:" >&5
3742
 
sed 's/^/| /' conftest.$ac_ext >&5
3743
 
 
3744
 
  # Broken: fails on valid input.
3745
 
continue
3746
 
fi
3747
 
 
3748
 
rm -f conftest.err conftest.$ac_ext
3749
 
 
3750
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3751
 
  # can be detected and how.
3752
 
  cat >conftest.$ac_ext <<_ACEOF
3753
 
/* confdefs.h.  */
3754
 
_ACEOF
3755
 
cat confdefs.h >>conftest.$ac_ext
3756
 
cat >>conftest.$ac_ext <<_ACEOF
3757
 
/* end confdefs.h.  */
3758
 
#include <ac_nonexistent.h>
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
 
  # Broken: success on invalid input.
3778
 
continue
3779
 
else
3780
 
  $as_echo "$as_me: failed program was:" >&5
3781
 
sed 's/^/| /' conftest.$ac_ext >&5
3782
 
 
3783
 
  # Passes both tests.
3784
 
ac_preproc_ok=:
3785
 
break
3786
 
fi
3787
 
 
3788
 
rm -f conftest.err conftest.$ac_ext
3789
 
 
3790
 
done
3791
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3792
 
rm -f conftest.err conftest.$ac_ext
3793
 
if $ac_preproc_ok; then
3794
 
  :
3795
 
else
3796
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3797
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3798
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3799
 
See \`config.log' for more details." >&5
3800
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3801
 
See \`config.log' for more details." >&2;}
3802
 
   { (exit 1); exit 1; }; }; }
3803
 
fi
3804
 
 
3805
 
ac_ext=c
3806
 
ac_cpp='$CPP $CPPFLAGS'
3807
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810
 
 
3811
 
 
3812
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3813
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3814
 
if test "${ac_cv_path_GREP+set}" = set; then
3815
 
  $as_echo_n "(cached) " >&6
3816
 
else
3817
 
  if test -z "$GREP"; then
3818
 
  ac_path_GREP_found=false
3819
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3820
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3822
 
do
3823
 
  IFS=$as_save_IFS
3824
 
  test -z "$as_dir" && as_dir=.
3825
 
  for ac_prog in grep ggrep; do
3826
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3827
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3828
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3829
 
# Check for GNU ac_path_GREP and select it if it is found.
3830
 
  # Check for GNU $ac_path_GREP
3831
 
case `"$ac_path_GREP" --version 2>&1` in
3832
 
*GNU*)
3833
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3834
 
*)
3835
 
  ac_count=0
3836
 
  $as_echo_n 0123456789 >"conftest.in"
3837
 
  while :
3838
 
  do
3839
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3840
 
    mv "conftest.tmp" "conftest.in"
3841
 
    cp "conftest.in" "conftest.nl"
3842
 
    $as_echo 'GREP' >> "conftest.nl"
3843
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3844
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3845
 
    ac_count=`expr $ac_count + 1`
3846
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3847
 
      # Best one so far, save it but keep looking for a better one
3848
 
      ac_cv_path_GREP="$ac_path_GREP"
3849
 
      ac_path_GREP_max=$ac_count
3850
 
    fi
3851
 
    # 10*(2^10) chars as input seems more than enough
3852
 
    test $ac_count -gt 10 && break
3853
 
  done
3854
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3855
 
esac
3856
 
 
3857
 
      $ac_path_GREP_found && break 3
3858
 
    done
3859
 
  done
3860
 
done
3861
 
IFS=$as_save_IFS
3862
 
  if test -z "$ac_cv_path_GREP"; then
3863
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3864
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3865
 
   { (exit 1); exit 1; }; }
3866
 
  fi
3867
 
else
3868
 
  ac_cv_path_GREP=$GREP
3869
 
fi
3870
 
 
3871
 
fi
3872
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3873
 
$as_echo "$ac_cv_path_GREP" >&6; }
3874
 
 GREP="$ac_cv_path_GREP"
3875
 
 
3876
 
 
3877
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3878
 
$as_echo_n "checking for egrep... " >&6; }
3879
 
if test "${ac_cv_path_EGREP+set}" = set; then
3880
 
  $as_echo_n "(cached) " >&6
3881
 
else
3882
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3883
 
   then ac_cv_path_EGREP="$GREP -E"
3884
 
   else
3885
 
     if test -z "$EGREP"; then
3886
 
  ac_path_EGREP_found=false
3887
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3888
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3890
 
do
3891
 
  IFS=$as_save_IFS
3892
 
  test -z "$as_dir" && as_dir=.
3893
 
  for ac_prog in egrep; do
3894
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3895
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3896
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3897
 
# Check for GNU ac_path_EGREP and select it if it is found.
3898
 
  # Check for GNU $ac_path_EGREP
3899
 
case `"$ac_path_EGREP" --version 2>&1` in
3900
 
*GNU*)
3901
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3902
 
*)
3903
 
  ac_count=0
3904
 
  $as_echo_n 0123456789 >"conftest.in"
3905
 
  while :
3906
 
  do
3907
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3908
 
    mv "conftest.tmp" "conftest.in"
3909
 
    cp "conftest.in" "conftest.nl"
3910
 
    $as_echo 'EGREP' >> "conftest.nl"
3911
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3912
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3913
 
    ac_count=`expr $ac_count + 1`
3914
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3915
 
      # Best one so far, save it but keep looking for a better one
3916
 
      ac_cv_path_EGREP="$ac_path_EGREP"
3917
 
      ac_path_EGREP_max=$ac_count
3918
 
    fi
3919
 
    # 10*(2^10) chars as input seems more than enough
3920
 
    test $ac_count -gt 10 && break
3921
 
  done
3922
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3923
 
esac
3924
 
 
3925
 
      $ac_path_EGREP_found && break 3
3926
 
    done
3927
 
  done
3928
 
done
3929
 
IFS=$as_save_IFS
3930
 
  if test -z "$ac_cv_path_EGREP"; then
3931
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3932
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3933
 
   { (exit 1); exit 1; }; }
3934
 
  fi
3935
 
else
3936
 
  ac_cv_path_EGREP=$EGREP
3937
 
fi
3938
 
 
3939
 
   fi
3940
 
fi
3941
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3942
 
$as_echo "$ac_cv_path_EGREP" >&6; }
3943
 
 EGREP="$ac_cv_path_EGREP"
3944
 
 
3945
 
 
3946
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3947
 
$as_echo_n "checking for ANSI C header files... " >&6; }
3948
 
if test "${ac_cv_header_stdc+set}" = set; then
3949
 
  $as_echo_n "(cached) " >&6
3950
 
else
3951
 
  cat >conftest.$ac_ext <<_ACEOF
3952
 
/* confdefs.h.  */
3953
 
_ACEOF
3954
 
cat confdefs.h >>conftest.$ac_ext
3955
 
cat >>conftest.$ac_ext <<_ACEOF
3956
 
/* end confdefs.h.  */
3957
 
#include <stdlib.h>
3958
 
#include <stdarg.h>
3959
 
#include <string.h>
3960
 
#include <float.h>
3961
 
 
3962
 
int
3963
 
main ()
3964
 
{
3965
 
 
3966
 
  ;
3967
 
  return 0;
3968
 
}
3969
 
_ACEOF
3970
 
rm -f conftest.$ac_objext
3971
 
if { (ac_try="$ac_compile"
3972
 
case "(($ac_try" in
3973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974
 
  *) ac_try_echo=$ac_try;;
3975
 
esac
3976
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3977
 
$as_echo "$ac_try_echo") >&5
3978
 
  (eval "$ac_compile") 2>conftest.er1
3979
 
  ac_status=$?
3980
 
  grep -v '^ *+' conftest.er1 >conftest.err
3981
 
  rm -f conftest.er1
3982
 
  cat conftest.err >&5
3983
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984
 
  (exit $ac_status); } && {
3985
 
         test -z "$ac_c_werror_flag" ||
3986
 
         test ! -s conftest.err
3987
 
       } && test -s conftest.$ac_objext; then
3988
 
  ac_cv_header_stdc=yes
3989
 
else
3990
 
  $as_echo "$as_me: failed program was:" >&5
3991
 
sed 's/^/| /' conftest.$ac_ext >&5
3992
 
 
3993
 
        ac_cv_header_stdc=no
3994
 
fi
3995
 
 
3996
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3997
 
 
3998
 
if test $ac_cv_header_stdc = yes; then
3999
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4000
 
  cat >conftest.$ac_ext <<_ACEOF
4001
 
/* confdefs.h.  */
4002
 
_ACEOF
4003
 
cat confdefs.h >>conftest.$ac_ext
4004
 
cat >>conftest.$ac_ext <<_ACEOF
4005
 
/* end confdefs.h.  */
4006
 
#include <string.h>
4007
 
 
4008
 
_ACEOF
4009
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4010
 
  $EGREP "memchr" >/dev/null 2>&1; then
4011
 
  :
4012
 
else
4013
 
  ac_cv_header_stdc=no
4014
 
fi
4015
 
rm -f conftest*
4016
 
 
4017
 
fi
4018
 
 
4019
 
if test $ac_cv_header_stdc = yes; then
4020
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4021
 
  cat >conftest.$ac_ext <<_ACEOF
4022
 
/* confdefs.h.  */
4023
 
_ACEOF
4024
 
cat confdefs.h >>conftest.$ac_ext
4025
 
cat >>conftest.$ac_ext <<_ACEOF
4026
 
/* end confdefs.h.  */
4027
 
#include <stdlib.h>
4028
 
 
4029
 
_ACEOF
4030
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4031
 
  $EGREP "free" >/dev/null 2>&1; then
4032
 
  :
4033
 
else
4034
 
  ac_cv_header_stdc=no
4035
 
fi
4036
 
rm -f conftest*
4037
 
 
4038
 
fi
4039
 
 
4040
 
if test $ac_cv_header_stdc = yes; then
4041
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4042
 
  if test "$cross_compiling" = yes; then
4043
 
  :
4044
 
else
4045
 
  cat >conftest.$ac_ext <<_ACEOF
4046
 
/* confdefs.h.  */
4047
 
_ACEOF
4048
 
cat confdefs.h >>conftest.$ac_ext
4049
 
cat >>conftest.$ac_ext <<_ACEOF
4050
 
/* end confdefs.h.  */
4051
 
#include <ctype.h>
4052
 
#include <stdlib.h>
4053
 
#if ((' ' & 0x0FF) == 0x020)
4054
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4055
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4056
 
#else
4057
 
# define ISLOWER(c) \
4058
 
                   (('a' <= (c) && (c) <= 'i') \
4059
 
                     || ('j' <= (c) && (c) <= 'r') \
4060
 
                     || ('s' <= (c) && (c) <= 'z'))
4061
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4062
 
#endif
4063
 
 
4064
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4065
 
int
4066
 
main ()
4067
 
{
4068
 
  int i;
4069
 
  for (i = 0; i < 256; i++)
4070
 
    if (XOR (islower (i), ISLOWER (i))
4071
 
        || toupper (i) != TOUPPER (i))
4072
 
      return 2;
4073
 
  return 0;
4074
 
}
4075
 
_ACEOF
4076
 
rm -f conftest$ac_exeext
4077
 
if { (ac_try="$ac_link"
4078
 
case "(($ac_try" in
4079
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080
 
  *) ac_try_echo=$ac_try;;
4081
 
esac
4082
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4083
 
$as_echo "$ac_try_echo") >&5
4084
 
  (eval "$ac_link") 2>&5
4085
 
  ac_status=$?
4086
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4088
 
  { (case "(($ac_try" in
4089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090
 
  *) ac_try_echo=$ac_try;;
4091
 
esac
4092
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4093
 
$as_echo "$ac_try_echo") >&5
4094
 
  (eval "$ac_try") 2>&5
4095
 
  ac_status=$?
4096
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097
 
  (exit $ac_status); }; }; then
4098
 
  :
4099
 
else
4100
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4101
 
$as_echo "$as_me: failed program was:" >&5
4102
 
sed 's/^/| /' conftest.$ac_ext >&5
4103
 
 
4104
 
( exit $ac_status )
4105
 
ac_cv_header_stdc=no
4106
 
fi
4107
 
rm -rf conftest.dSYM
4108
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4109
 
fi
4110
 
 
4111
 
 
4112
 
fi
4113
 
fi
4114
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4115
 
$as_echo "$ac_cv_header_stdc" >&6; }
4116
 
if test $ac_cv_header_stdc = yes; then
4117
 
 
4118
 
cat >>confdefs.h <<\_ACEOF
4119
 
#define STDC_HEADERS 1
4120
 
_ACEOF
4121
 
 
4122
 
fi
4123
 
 
4124
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4125
 
 
4126
 
 
4127
 
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4135
 
                  inttypes.h stdint.h unistd.h
4136
 
do
4137
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4138
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4139
 
$as_echo_n "checking for $ac_header... " >&6; }
4140
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4141
 
  $as_echo_n "(cached) " >&6
4142
 
else
4143
 
  cat >conftest.$ac_ext <<_ACEOF
4144
 
/* confdefs.h.  */
4145
 
_ACEOF
4146
 
cat confdefs.h >>conftest.$ac_ext
4147
 
cat >>conftest.$ac_ext <<_ACEOF
4148
 
/* end confdefs.h.  */
4149
 
$ac_includes_default
4150
 
 
4151
 
#include <$ac_header>
4152
 
_ACEOF
4153
 
rm -f conftest.$ac_objext
4154
 
if { (ac_try="$ac_compile"
4155
 
case "(($ac_try" in
4156
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157
 
  *) ac_try_echo=$ac_try;;
4158
 
esac
4159
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4160
 
$as_echo "$ac_try_echo") >&5
4161
 
  (eval "$ac_compile") 2>conftest.er1
4162
 
  ac_status=$?
4163
 
  grep -v '^ *+' conftest.er1 >conftest.err
4164
 
  rm -f conftest.er1
4165
 
  cat conftest.err >&5
4166
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167
 
  (exit $ac_status); } && {
4168
 
         test -z "$ac_c_werror_flag" ||
4169
 
         test ! -s conftest.err
4170
 
       } && test -s conftest.$ac_objext; then
4171
 
  eval "$as_ac_Header=yes"
4172
 
else
4173
 
  $as_echo "$as_me: failed program was:" >&5
4174
 
sed 's/^/| /' conftest.$ac_ext >&5
4175
 
 
4176
 
        eval "$as_ac_Header=no"
4177
 
fi
4178
 
 
4179
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180
 
fi
4181
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4182
 
                 $as_echo "$as_val"'`
4183
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4184
 
$as_echo "$ac_res" >&6; }
4185
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4186
 
                 $as_echo "$as_val"'`
4187
 
   if test "x$as_val" = x""yes; then
4188
 
  cat >>confdefs.h <<_ACEOF
4189
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4190
 
_ACEOF
4191
 
 
4192
 
fi
4193
 
 
4194
 
done
4195
 
 
4196
 
 
4197
 
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
3554
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4198
3555
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4199
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
3556
if ${ac_cv_prog_cc_c99+:} false; then :
4200
3557
  $as_echo_n "(cached) " >&6
4201
3558
else
4202
3559
  ac_cv_prog_cc_c99=no
4203
3560
ac_save_CC=$CC
4204
 
cat >conftest.$ac_ext <<_ACEOF
4205
 
/* confdefs.h.  */
4206
 
_ACEOF
4207
 
cat confdefs.h >>conftest.$ac_ext
4208
 
cat >>conftest.$ac_ext <<_ACEOF
 
3561
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209
3562
/* end confdefs.h.  */
4210
3563
#include <stdarg.h>
4211
3564
#include <stdbool.h>
4347
3700
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4348
3701
do
4349
3702
  CC="$ac_save_CC $ac_arg"
4350
 
  rm -f conftest.$ac_objext
4351
 
if { (ac_try="$ac_compile"
4352
 
case "(($ac_try" in
4353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354
 
  *) ac_try_echo=$ac_try;;
4355
 
esac
4356
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4357
 
$as_echo "$ac_try_echo") >&5
4358
 
  (eval "$ac_compile") 2>conftest.er1
4359
 
  ac_status=$?
4360
 
  grep -v '^ *+' conftest.er1 >conftest.err
4361
 
  rm -f conftest.er1
4362
 
  cat conftest.err >&5
4363
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364
 
  (exit $ac_status); } && {
4365
 
         test -z "$ac_c_werror_flag" ||
4366
 
         test ! -s conftest.err
4367
 
       } && test -s conftest.$ac_objext; then
 
3703
  if ac_fn_c_try_compile "$LINENO"; then :
4368
3704
  ac_cv_prog_cc_c99=$ac_arg
4369
 
else
4370
 
  $as_echo "$as_me: failed program was:" >&5
4371
 
sed 's/^/| /' conftest.$ac_ext >&5
4372
 
 
4373
 
 
4374
3705
fi
4375
 
 
4376
3706
rm -f core conftest.err conftest.$ac_objext
4377
3707
  test "x$ac_cv_prog_cc_c99" != "xno" && break
4378
3708
done
4383
3713
# AC_CACHE_VAL
4384
3714
case "x$ac_cv_prog_cc_c99" in
4385
3715
  x)
4386
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3716
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4387
3717
$as_echo "none needed" >&6; } ;;
4388
3718
  xno)
4389
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3719
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4390
3720
$as_echo "unsupported" >&6; } ;;
4391
3721
  *)
4392
3722
    CC="$CC $ac_cv_prog_cc_c99"
4393
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
3723
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4394
3724
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4395
3725
esac
4396
 
 
 
3726
if test "x$ac_cv_prog_cc_c99" != xno; then :
 
3727
 
 
3728
fi
 
3729
 
 
3730
 
 
3731
 
 
3732
ac_ext=c
 
3733
ac_cpp='$CPP $CPPFLAGS'
 
3734
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3735
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3736
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3738
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3739
# On Suns, sometimes $CPP names a directory.
 
3740
if test -n "$CPP" && test -d "$CPP"; then
 
3741
  CPP=
 
3742
fi
 
3743
if test -z "$CPP"; then
 
3744
  if ${ac_cv_prog_CPP+:} false; then :
 
3745
  $as_echo_n "(cached) " >&6
 
3746
else
 
3747
      # Double quotes because CPP needs to be expanded
 
3748
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3749
    do
 
3750
      ac_preproc_ok=false
 
3751
for ac_c_preproc_warn_flag in '' yes
 
3752
do
 
3753
  # Use a header file that comes with gcc, so configuring glibc
 
3754
  # with a fresh cross-compiler works.
 
3755
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3756
  # <limits.h> exists even on freestanding compilers.
 
3757
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3758
  # not just through cpp. "Syntax error" is here to catch this case.
 
3759
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3760
/* end confdefs.h.  */
 
3761
#ifdef __STDC__
 
3762
# include <limits.h>
 
3763
#else
 
3764
# include <assert.h>
 
3765
#endif
 
3766
                     Syntax error
 
3767
_ACEOF
 
3768
if ac_fn_c_try_cpp "$LINENO"; then :
 
3769
 
 
3770
else
 
3771
  # Broken: fails on valid input.
 
3772
continue
 
3773
fi
 
3774
rm -f conftest.err conftest.i conftest.$ac_ext
 
3775
 
 
3776
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3777
  # can be detected and how.
 
3778
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3779
/* end confdefs.h.  */
 
3780
#include <ac_nonexistent.h>
 
3781
_ACEOF
 
3782
if ac_fn_c_try_cpp "$LINENO"; then :
 
3783
  # Broken: success on invalid input.
 
3784
continue
 
3785
else
 
3786
  # Passes both tests.
 
3787
ac_preproc_ok=:
 
3788
break
 
3789
fi
 
3790
rm -f conftest.err conftest.i conftest.$ac_ext
 
3791
 
 
3792
done
 
3793
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3794
rm -f conftest.i conftest.err conftest.$ac_ext
 
3795
if $ac_preproc_ok; then :
 
3796
  break
 
3797
fi
 
3798
 
 
3799
    done
 
3800
    ac_cv_prog_CPP=$CPP
 
3801
 
 
3802
fi
 
3803
  CPP=$ac_cv_prog_CPP
 
3804
else
 
3805
  ac_cv_prog_CPP=$CPP
 
3806
fi
 
3807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
3808
$as_echo "$CPP" >&6; }
 
3809
ac_preproc_ok=false
 
3810
for ac_c_preproc_warn_flag in '' yes
 
3811
do
 
3812
  # Use a header file that comes with gcc, so configuring glibc
 
3813
  # with a fresh cross-compiler works.
 
3814
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3815
  # <limits.h> exists even on freestanding compilers.
 
3816
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3817
  # not just through cpp. "Syntax error" is here to catch this case.
 
3818
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3819
/* end confdefs.h.  */
 
3820
#ifdef __STDC__
 
3821
# include <limits.h>
 
3822
#else
 
3823
# include <assert.h>
 
3824
#endif
 
3825
                     Syntax error
 
3826
_ACEOF
 
3827
if ac_fn_c_try_cpp "$LINENO"; then :
 
3828
 
 
3829
else
 
3830
  # Broken: fails on valid input.
 
3831
continue
 
3832
fi
 
3833
rm -f conftest.err conftest.i conftest.$ac_ext
 
3834
 
 
3835
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3836
  # can be detected and how.
 
3837
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3838
/* end confdefs.h.  */
 
3839
#include <ac_nonexistent.h>
 
3840
_ACEOF
 
3841
if ac_fn_c_try_cpp "$LINENO"; then :
 
3842
  # Broken: success on invalid input.
 
3843
continue
 
3844
else
 
3845
  # Passes both tests.
 
3846
ac_preproc_ok=:
 
3847
break
 
3848
fi
 
3849
rm -f conftest.err conftest.i conftest.$ac_ext
 
3850
 
 
3851
done
 
3852
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3853
rm -f conftest.i conftest.err conftest.$ac_ext
 
3854
if $ac_preproc_ok; then :
 
3855
 
 
3856
else
 
3857
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3858
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3859
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
3860
See \`config.log' for more details" "$LINENO" 5; }
 
3861
fi
 
3862
 
 
3863
ac_ext=c
 
3864
ac_cpp='$CPP $CPPFLAGS'
 
3865
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3866
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3867
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3868
 
 
3869
 
 
3870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
3871
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3872
if ${ac_cv_path_GREP+:} false; then :
 
3873
  $as_echo_n "(cached) " >&6
 
3874
else
 
3875
  if test -z "$GREP"; then
 
3876
  ac_path_GREP_found=false
 
3877
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3878
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3879
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3880
do
 
3881
  IFS=$as_save_IFS
 
3882
  test -z "$as_dir" && as_dir=.
 
3883
    for ac_prog in grep ggrep; do
 
3884
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3885
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3886
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3887
# Check for GNU ac_path_GREP and select it if it is found.
 
3888
  # Check for GNU $ac_path_GREP
 
3889
case `"$ac_path_GREP" --version 2>&1` in
 
3890
*GNU*)
 
3891
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3892
*)
 
3893
  ac_count=0
 
3894
  $as_echo_n 0123456789 >"conftest.in"
 
3895
  while :
 
3896
  do
 
3897
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3898
    mv "conftest.tmp" "conftest.in"
 
3899
    cp "conftest.in" "conftest.nl"
 
3900
    $as_echo 'GREP' >> "conftest.nl"
 
3901
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3902
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3903
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3904
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3905
      # Best one so far, save it but keep looking for a better one
 
3906
      ac_cv_path_GREP="$ac_path_GREP"
 
3907
      ac_path_GREP_max=$ac_count
 
3908
    fi
 
3909
    # 10*(2^10) chars as input seems more than enough
 
3910
    test $ac_count -gt 10 && break
 
3911
  done
 
3912
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3913
esac
 
3914
 
 
3915
      $ac_path_GREP_found && break 3
 
3916
    done
 
3917
  done
 
3918
  done
 
3919
IFS=$as_save_IFS
 
3920
  if test -z "$ac_cv_path_GREP"; then
 
3921
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3922
  fi
 
3923
else
 
3924
  ac_cv_path_GREP=$GREP
 
3925
fi
 
3926
 
 
3927
fi
 
3928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
3929
$as_echo "$ac_cv_path_GREP" >&6; }
 
3930
 GREP="$ac_cv_path_GREP"
 
3931
 
 
3932
 
 
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
3934
$as_echo_n "checking for egrep... " >&6; }
 
3935
if ${ac_cv_path_EGREP+:} false; then :
 
3936
  $as_echo_n "(cached) " >&6
 
3937
else
 
3938
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3939
   then ac_cv_path_EGREP="$GREP -E"
 
3940
   else
 
3941
     if test -z "$EGREP"; then
 
3942
  ac_path_EGREP_found=false
 
3943
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3944
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3945
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3946
do
 
3947
  IFS=$as_save_IFS
 
3948
  test -z "$as_dir" && as_dir=.
 
3949
    for ac_prog in egrep; do
 
3950
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3951
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3952
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3953
# Check for GNU ac_path_EGREP and select it if it is found.
 
3954
  # Check for GNU $ac_path_EGREP
 
3955
case `"$ac_path_EGREP" --version 2>&1` in
 
3956
*GNU*)
 
3957
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3958
*)
 
3959
  ac_count=0
 
3960
  $as_echo_n 0123456789 >"conftest.in"
 
3961
  while :
 
3962
  do
 
3963
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3964
    mv "conftest.tmp" "conftest.in"
 
3965
    cp "conftest.in" "conftest.nl"
 
3966
    $as_echo 'EGREP' >> "conftest.nl"
 
3967
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3968
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3969
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3970
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3971
      # Best one so far, save it but keep looking for a better one
 
3972
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3973
      ac_path_EGREP_max=$ac_count
 
3974
    fi
 
3975
    # 10*(2^10) chars as input seems more than enough
 
3976
    test $ac_count -gt 10 && break
 
3977
  done
 
3978
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3979
esac
 
3980
 
 
3981
      $ac_path_EGREP_found && break 3
 
3982
    done
 
3983
  done
 
3984
  done
 
3985
IFS=$as_save_IFS
 
3986
  if test -z "$ac_cv_path_EGREP"; then
 
3987
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3988
  fi
 
3989
else
 
3990
  ac_cv_path_EGREP=$EGREP
 
3991
fi
 
3992
 
 
3993
   fi
 
3994
fi
 
3995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
3996
$as_echo "$ac_cv_path_EGREP" >&6; }
 
3997
 EGREP="$ac_cv_path_EGREP"
 
3998
 
 
3999
 
 
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4001
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4002
if ${ac_cv_header_stdc+:} false; then :
 
4003
  $as_echo_n "(cached) " >&6
 
4004
else
 
4005
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4006
/* end confdefs.h.  */
 
4007
#include <stdlib.h>
 
4008
#include <stdarg.h>
 
4009
#include <string.h>
 
4010
#include <float.h>
 
4011
 
 
4012
int
 
4013
main ()
 
4014
{
 
4015
 
 
4016
  ;
 
4017
  return 0;
 
4018
}
 
4019
_ACEOF
 
4020
if ac_fn_c_try_compile "$LINENO"; then :
 
4021
  ac_cv_header_stdc=yes
 
4022
else
 
4023
  ac_cv_header_stdc=no
 
4024
fi
 
4025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4026
 
 
4027
if test $ac_cv_header_stdc = yes; then
 
4028
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4029
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4030
/* end confdefs.h.  */
 
4031
#include <string.h>
 
4032
 
 
4033
_ACEOF
 
4034
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4035
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4036
 
 
4037
else
 
4038
  ac_cv_header_stdc=no
 
4039
fi
 
4040
rm -f conftest*
 
4041
 
 
4042
fi
 
4043
 
 
4044
if test $ac_cv_header_stdc = yes; then
 
4045
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4046
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4047
/* end confdefs.h.  */
 
4048
#include <stdlib.h>
 
4049
 
 
4050
_ACEOF
 
4051
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4052
  $EGREP "free" >/dev/null 2>&1; then :
 
4053
 
 
4054
else
 
4055
  ac_cv_header_stdc=no
 
4056
fi
 
4057
rm -f conftest*
 
4058
 
 
4059
fi
 
4060
 
 
4061
if test $ac_cv_header_stdc = yes; then
 
4062
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4063
  if test "$cross_compiling" = yes; then :
 
4064
  :
 
4065
else
 
4066
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4067
/* end confdefs.h.  */
 
4068
#include <ctype.h>
 
4069
#include <stdlib.h>
 
4070
#if ((' ' & 0x0FF) == 0x020)
 
4071
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4072
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4073
#else
 
4074
# define ISLOWER(c) \
 
4075
                   (('a' <= (c) && (c) <= 'i') \
 
4076
                     || ('j' <= (c) && (c) <= 'r') \
 
4077
                     || ('s' <= (c) && (c) <= 'z'))
 
4078
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4079
#endif
 
4080
 
 
4081
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4082
int
 
4083
main ()
 
4084
{
 
4085
  int i;
 
4086
  for (i = 0; i < 256; i++)
 
4087
    if (XOR (islower (i), ISLOWER (i))
 
4088
        || toupper (i) != TOUPPER (i))
 
4089
      return 2;
 
4090
  return 0;
 
4091
}
 
4092
_ACEOF
 
4093
if ac_fn_c_try_run "$LINENO"; then :
 
4094
 
 
4095
else
 
4096
  ac_cv_header_stdc=no
 
4097
fi
 
4098
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4099
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4100
fi
 
4101
 
 
4102
fi
 
4103
fi
 
4104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4105
$as_echo "$ac_cv_header_stdc" >&6; }
 
4106
if test $ac_cv_header_stdc = yes; then
 
4107
 
 
4108
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4109
 
 
4110
fi
 
4111
 
 
4112
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4113
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4114
                  inttypes.h stdint.h unistd.h
 
4115
do :
 
4116
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4117
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4118
"
 
4119
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4120
  cat >>confdefs.h <<_ACEOF
 
4121
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4122
_ACEOF
 
4123
 
 
4124
fi
 
4125
 
 
4126
done
4397
4127
 
4398
4128
 
4399
4129
 
4402
4132
        if test -n "$ac_tool_prefix"; then
4403
4133
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4404
4134
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4405
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406
4136
$as_echo_n "checking for $ac_word... " >&6; }
4407
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
4137
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4408
4138
  $as_echo_n "(cached) " >&6
4409
4139
else
4410
4140
  case $PKG_CONFIG in
4417
4147
do
4418
4148
  IFS=$as_save_IFS
4419
4149
  test -z "$as_dir" && as_dir=.
4420
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4150
    for ac_exec_ext in '' $ac_executable_extensions; do
4421
4151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422
4152
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4423
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4153
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424
4154
    break 2
4425
4155
  fi
4426
4156
done
4427
 
done
 
4157
  done
4428
4158
IFS=$as_save_IFS
4429
4159
 
4430
4160
  ;;
4432
4162
fi
4433
4163
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4434
4164
if test -n "$PKG_CONFIG"; then
4435
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
4165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4436
4166
$as_echo "$PKG_CONFIG" >&6; }
4437
4167
else
4438
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4168
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439
4169
$as_echo "no" >&6; }
4440
4170
fi
4441
4171
 
4445
4175
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4446
4176
  # Extract the first word of "pkg-config", so it can be a program name with args.
4447
4177
set dummy pkg-config; ac_word=$2
4448
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449
4179
$as_echo_n "checking for $ac_word... " >&6; }
4450
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
4180
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4451
4181
  $as_echo_n "(cached) " >&6
4452
4182
else
4453
4183
  case $ac_pt_PKG_CONFIG in
4460
4190
do
4461
4191
  IFS=$as_save_IFS
4462
4192
  test -z "$as_dir" && as_dir=.
4463
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4193
    for ac_exec_ext in '' $ac_executable_extensions; do
4464
4194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465
4195
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4466
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4196
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467
4197
    break 2
4468
4198
  fi
4469
4199
done
4470
 
done
 
4200
  done
4471
4201
IFS=$as_save_IFS
4472
4202
 
4473
4203
  ;;
4475
4205
fi
4476
4206
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4477
4207
if test -n "$ac_pt_PKG_CONFIG"; then
4478
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
4208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4479
4209
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4480
4210
else
4481
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482
4212
$as_echo "no" >&6; }
4483
4213
fi
4484
4214
 
4487
4217
  else
4488
4218
    case $cross_compiling:$ac_tool_warned in
4489
4219
yes:)
4490
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4491
4221
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4492
4222
ac_tool_warned=yes ;;
4493
4223
esac
4500
4230
fi
4501
4231
if test -n "$PKG_CONFIG"; then
4502
4232
        _pkg_min_version=0.9.0
4503
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
4233
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4504
4234
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4505
4235
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4506
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4236
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4507
4237
$as_echo "yes" >&6; }
4508
4238
        else
4509
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
4239
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510
4240
$as_echo "no" >&6; }
4511
4241
                PKG_CONFIG=""
4512
4242
        fi
4514
4244
fi
4515
4245
# Make sure we can run config.sub.
4516
4246
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4517
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4518
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4519
 
   { (exit 1); exit 1; }; }
 
4247
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4520
4248
 
4521
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4522
4250
$as_echo_n "checking build system type... " >&6; }
4523
 
if test "${ac_cv_build+set}" = set; then
 
4251
if ${ac_cv_build+:} false; then :
4524
4252
  $as_echo_n "(cached) " >&6
4525
4253
else
4526
4254
  ac_build_alias=$build_alias
4527
4255
test "x$ac_build_alias" = x &&
4528
4256
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4529
4257
test "x$ac_build_alias" = x &&
4530
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4531
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4532
 
   { (exit 1); exit 1; }; }
 
4258
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4533
4259
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4534
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4535
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4536
 
   { (exit 1); exit 1; }; }
 
4260
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4537
4261
 
4538
4262
fi
4539
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4540
4264
$as_echo "$ac_cv_build" >&6; }
4541
4265
case $ac_cv_build in
4542
4266
*-*-*) ;;
4543
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4544
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4545
 
   { (exit 1); exit 1; }; };;
 
4267
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4546
4268
esac
4547
4269
build=$ac_cv_build
4548
4270
ac_save_IFS=$IFS; IFS='-'
4558
4280
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4559
4281
 
4560
4282
 
4561
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4562
4284
$as_echo_n "checking host system type... " >&6; }
4563
 
if test "${ac_cv_host+set}" = set; then
 
4285
if ${ac_cv_host+:} false; then :
4564
4286
  $as_echo_n "(cached) " >&6
4565
4287
else
4566
4288
  if test "x$host_alias" = x; then
4567
4289
  ac_cv_host=$ac_cv_build
4568
4290
else
4569
4291
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4570
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4571
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4572
 
   { (exit 1); exit 1; }; }
 
4292
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4573
4293
fi
4574
4294
 
4575
4295
fi
4576
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4577
4297
$as_echo "$ac_cv_host" >&6; }
4578
4298
case $ac_cv_host in
4579
4299
*-*-*) ;;
4580
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4581
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4582
 
   { (exit 1); exit 1; }; };;
 
4300
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4583
4301
esac
4584
4302
host=$ac_cv_host
4585
4303
ac_save_IFS=$IFS; IFS='-'
4595
4313
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4596
4314
 
4597
4315
 
 
4316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4317
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4318
if ${ac_cv_path_SED+:} false; then :
 
4319
  $as_echo_n "(cached) " >&6
 
4320
else
 
4321
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4322
     for ac_i in 1 2 3 4 5 6 7; do
 
4323
       ac_script="$ac_script$as_nl$ac_script"
 
4324
     done
 
4325
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4326
     { ac_script=; unset ac_script;}
 
4327
     if test -z "$SED"; then
 
4328
  ac_path_SED_found=false
 
4329
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4330
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4331
for as_dir in $PATH
 
4332
do
 
4333
  IFS=$as_save_IFS
 
4334
  test -z "$as_dir" && as_dir=.
 
4335
    for ac_prog in sed gsed; do
 
4336
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4337
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4338
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4339
# Check for GNU ac_path_SED and select it if it is found.
 
4340
  # Check for GNU $ac_path_SED
 
4341
case `"$ac_path_SED" --version 2>&1` in
 
4342
*GNU*)
 
4343
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4344
*)
 
4345
  ac_count=0
 
4346
  $as_echo_n 0123456789 >"conftest.in"
 
4347
  while :
 
4348
  do
 
4349
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4350
    mv "conftest.tmp" "conftest.in"
 
4351
    cp "conftest.in" "conftest.nl"
 
4352
    $as_echo '' >> "conftest.nl"
 
4353
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4354
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4355
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4356
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4357
      # Best one so far, save it but keep looking for a better one
 
4358
      ac_cv_path_SED="$ac_path_SED"
 
4359
      ac_path_SED_max=$ac_count
 
4360
    fi
 
4361
    # 10*(2^10) chars as input seems more than enough
 
4362
    test $ac_count -gt 10 && break
 
4363
  done
 
4364
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4365
esac
 
4366
 
 
4367
      $ac_path_SED_found && break 3
 
4368
    done
 
4369
  done
 
4370
  done
 
4371
IFS=$as_save_IFS
 
4372
  if test -z "$ac_cv_path_SED"; then
 
4373
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4374
  fi
 
4375
else
 
4376
  ac_cv_path_SED=$SED
 
4377
fi
 
4378
 
 
4379
fi
 
4380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4381
$as_echo "$ac_cv_path_SED" >&6; }
 
4382
 SED="$ac_cv_path_SED"
 
4383
  rm -f conftest.sed
 
4384
 
 
4385
 
4598
4386
 
4599
4387
 
4600
4388
 
4601
4389
if  test "x$GCC" = xyes ; then
4602
4390
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4603
4391
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4604
 
-Wbad-function-cast"
 
4392
-Wbad-function-cast -Wformat=2"
4605
4393
    case `$CC -dumpversion` in
4606
4394
    3.4.* | 4.*)
4607
4395
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4608
4396
        ;;
4609
4397
    esac
4610
4398
else
4611
 
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4612
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4613
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4614
 
  $as_echo_n "(cached) " >&6
4615
 
else
4616
 
  cat >conftest.$ac_ext <<_ACEOF
4617
 
/* confdefs.h.  */
4618
 
_ACEOF
4619
 
cat confdefs.h >>conftest.$ac_ext
4620
 
cat >>conftest.$ac_ext <<_ACEOF
4621
 
/* end confdefs.h.  */
4622
 
$ac_includes_default
4623
 
int
4624
 
main ()
4625
 
{
4626
 
#ifndef __SUNPRO_C
4627
 
  (void) __SUNPRO_C;
4628
 
#endif
4629
 
 
4630
 
  ;
4631
 
  return 0;
4632
 
}
4633
 
_ACEOF
4634
 
rm -f conftest.$ac_objext
4635
 
if { (ac_try="$ac_compile"
4636
 
case "(($ac_try" in
4637
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638
 
  *) ac_try_echo=$ac_try;;
4639
 
esac
4640
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4641
 
$as_echo "$ac_try_echo") >&5
4642
 
  (eval "$ac_compile") 2>conftest.er1
4643
 
  ac_status=$?
4644
 
  grep -v '^ *+' conftest.er1 >conftest.err
4645
 
  rm -f conftest.er1
4646
 
  cat conftest.err >&5
4647
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648
 
  (exit $ac_status); } && {
4649
 
         test -z "$ac_c_werror_flag" ||
4650
 
         test ! -s conftest.err
4651
 
       } && test -s conftest.$ac_objext; then
4652
 
  ac_cv_have_decl___SUNPRO_C=yes
4653
 
else
4654
 
  $as_echo "$as_me: failed program was:" >&5
4655
 
sed 's/^/| /' conftest.$ac_ext >&5
4656
 
 
4657
 
        ac_cv_have_decl___SUNPRO_C=no
4658
 
fi
4659
 
 
4660
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661
 
fi
4662
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4663
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4664
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4399
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4400
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4665
4401
  SUNCC="yes"
4666
4402
else
4667
4403
  SUNCC="no"
4672
4408
    fi
4673
4409
fi
4674
4410
 
4675
 
# Check whether --enable-silent-rules was given.
4676
 
if test "${enable_silent_rules+set}" = set; then
4677
 
  enableval=$enable_silent_rules;
4678
 
fi
4679
 
 
4680
 
case $enable_silent_rules in
4681
 
yes) AM_DEFAULT_VERBOSITY=0;;
4682
 
no)  AM_DEFAULT_VERBOSITY=1;;
4683
 
*)   AM_DEFAULT_VERBOSITY=0;;
4684
 
esac
4685
 
AM_BACKSLASH='\'
4686
 
 
4687
 
 
4688
 
 
4689
 
 
 
4411
 
 
4412
 
 
4413
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4690
4414
 
4691
4415
 
4692
4416
 
4693
4417
# Check whether --enable-strict-compilation was given.
4694
 
if test "${enable_strict_compilation+set}" = set; then
 
4418
if test "${enable_strict_compilation+set}" = set; then :
4695
4419
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4696
4420
else
4697
4421
  STRICT_COMPILE=no
4698
4422
fi
4699
4423
 
4700
4424
if test "x$STRICT_COMPILE" = "xyes"; then
4701
 
        { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4702
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4703
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4704
 
  $as_echo_n "(cached) " >&6
4705
 
else
4706
 
  cat >conftest.$ac_ext <<_ACEOF
4707
 
/* confdefs.h.  */
4708
 
_ACEOF
4709
 
cat confdefs.h >>conftest.$ac_ext
4710
 
cat >>conftest.$ac_ext <<_ACEOF
4711
 
/* end confdefs.h.  */
4712
 
$ac_includes_default
4713
 
int
4714
 
main ()
4715
 
{
4716
 
#ifndef __SUNPRO_C
4717
 
  (void) __SUNPRO_C;
4718
 
#endif
4719
 
 
4720
 
  ;
4721
 
  return 0;
4722
 
}
4723
 
_ACEOF
4724
 
rm -f conftest.$ac_objext
4725
 
if { (ac_try="$ac_compile"
4726
 
case "(($ac_try" in
4727
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4728
 
  *) ac_try_echo=$ac_try;;
4729
 
esac
4730
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4731
 
$as_echo "$ac_try_echo") >&5
4732
 
  (eval "$ac_compile") 2>conftest.er1
4733
 
  ac_status=$?
4734
 
  grep -v '^ *+' conftest.er1 >conftest.err
4735
 
  rm -f conftest.er1
4736
 
  cat conftest.err >&5
4737
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738
 
  (exit $ac_status); } && {
4739
 
         test -z "$ac_c_werror_flag" ||
4740
 
         test ! -s conftest.err
4741
 
       } && test -s conftest.$ac_objext; then
4742
 
  ac_cv_have_decl___SUNPRO_C=yes
4743
 
else
4744
 
  $as_echo "$as_me: failed program was:" >&5
4745
 
sed 's/^/| /' conftest.$ac_ext >&5
4746
 
 
4747
 
        ac_cv_have_decl___SUNPRO_C=no
4748
 
fi
4749
 
 
4750
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751
 
fi
4752
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4753
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4754
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4425
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4426
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4755
4427
  SUNCC="yes"
4756
4428
else
4757
4429
  SUNCC="no"
4758
4430
fi
4759
4431
 
4760
 
        { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4761
 
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4762
 
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4763
 
  $as_echo_n "(cached) " >&6
4764
 
else
4765
 
  cat >conftest.$ac_ext <<_ACEOF
4766
 
/* confdefs.h.  */
4767
 
_ACEOF
4768
 
cat confdefs.h >>conftest.$ac_ext
4769
 
cat >>conftest.$ac_ext <<_ACEOF
4770
 
/* end confdefs.h.  */
4771
 
$ac_includes_default
4772
 
int
4773
 
main ()
4774
 
{
4775
 
#ifndef __INTEL_COMPILER
4776
 
  (void) __INTEL_COMPILER;
4777
 
#endif
4778
 
 
4779
 
  ;
4780
 
  return 0;
4781
 
}
4782
 
_ACEOF
4783
 
rm -f conftest.$ac_objext
4784
 
if { (ac_try="$ac_compile"
4785
 
case "(($ac_try" in
4786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787
 
  *) ac_try_echo=$ac_try;;
4788
 
esac
4789
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4790
 
$as_echo "$ac_try_echo") >&5
4791
 
  (eval "$ac_compile") 2>conftest.er1
4792
 
  ac_status=$?
4793
 
  grep -v '^ *+' conftest.er1 >conftest.err
4794
 
  rm -f conftest.er1
4795
 
  cat conftest.err >&5
4796
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
 
  (exit $ac_status); } && {
4798
 
         test -z "$ac_c_werror_flag" ||
4799
 
         test ! -s conftest.err
4800
 
       } && test -s conftest.$ac_objext; then
4801
 
  ac_cv_have_decl___INTEL_COMPILER=yes
4802
 
else
4803
 
  $as_echo "$as_me: failed program was:" >&5
4804
 
sed 's/^/| /' conftest.$ac_ext >&5
4805
 
 
4806
 
        ac_cv_have_decl___INTEL_COMPILER=no
4807
 
fi
4808
 
 
4809
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810
 
fi
4811
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4812
 
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4813
 
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
 
4432
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
 
4433
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4814
4434
  INTELCC="yes"
4815
4435
else
4816
4436
  INTELCC="no"
4829
4449
 
4830
4450
 
4831
4451
 
4832
 
# Check whether --with-release-version was given.
4833
 
if test "${with_release_version+set}" = set; then
4834
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
4835
 
else
4836
 
  RELEASE_VERSION=""
4837
 
fi
4838
 
 
4839
 
        if test "x$RELEASE_VERSION" != "x"; then
4840
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
4841
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4842
 
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4843
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4844
 
        fi
4845
 
 
4846
4452
cat >>confdefs.h <<_ACEOF
4847
4453
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4848
4454
_ACEOF
4875
4481
 
4876
4482
 
4877
4483
 
4878
 
macros_docdir=$($PKG_CONFIG --print-errors --variable=docdir xorg-macros)
4879
 
INSTALL_CMD="(cp -f "$macros_docdir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
 
4484
macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
 
4485
INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4880
4486
mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4881
4487
|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4882
 
echo 'util-macros \"docdir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
 
4488
echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
 
4489
 
4883
4490
 
4884
4491
 
4885
4492
 
4953
4560
 
4954
4561
 
4955
4562
 
4956
 
 
4957
 
 
4958
 
ac_ext=c
4959
 
ac_cpp='$CPP $CPPFLAGS'
4960
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4963
 
if test -n "$ac_tool_prefix"; then
4964
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4965
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4966
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4967
 
$as_echo_n "checking for $ac_word... " >&6; }
4968
 
if test "${ac_cv_prog_CC+set}" = set; then
4969
 
  $as_echo_n "(cached) " >&6
4970
 
else
4971
 
  if test -n "$CC"; then
4972
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4973
 
else
4974
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975
 
for as_dir in $PATH
4976
 
do
4977
 
  IFS=$as_save_IFS
4978
 
  test -z "$as_dir" && as_dir=.
4979
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4980
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4982
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4983
 
    break 2
4984
 
  fi
4985
 
done
4986
 
done
4987
 
IFS=$as_save_IFS
4988
 
 
4989
 
fi
4990
 
fi
4991
 
CC=$ac_cv_prog_CC
4992
 
if test -n "$CC"; then
4993
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4994
 
$as_echo "$CC" >&6; }
4995
 
else
4996
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
4997
 
$as_echo "no" >&6; }
4998
 
fi
4999
 
 
5000
 
 
5001
 
fi
5002
 
if test -z "$ac_cv_prog_CC"; then
5003
 
  ac_ct_CC=$CC
5004
 
  # Extract the first word of "gcc", so it can be a program name with args.
5005
 
set dummy gcc; ac_word=$2
5006
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5007
 
$as_echo_n "checking for $ac_word... " >&6; }
5008
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5009
 
  $as_echo_n "(cached) " >&6
5010
 
else
5011
 
  if test -n "$ac_ct_CC"; then
5012
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5013
 
else
5014
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015
 
for as_dir in $PATH
5016
 
do
5017
 
  IFS=$as_save_IFS
5018
 
  test -z "$as_dir" && as_dir=.
5019
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5021
 
    ac_cv_prog_ac_ct_CC="gcc"
5022
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023
 
    break 2
5024
 
  fi
5025
 
done
5026
 
done
5027
 
IFS=$as_save_IFS
5028
 
 
5029
 
fi
5030
 
fi
5031
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5032
 
if test -n "$ac_ct_CC"; then
5033
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5034
 
$as_echo "$ac_ct_CC" >&6; }
5035
 
else
5036
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5037
 
$as_echo "no" >&6; }
5038
 
fi
5039
 
 
5040
 
  if test "x$ac_ct_CC" = x; then
5041
 
    CC=""
5042
 
  else
5043
 
    case $cross_compiling:$ac_tool_warned in
5044
 
yes:)
5045
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5046
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5047
 
ac_tool_warned=yes ;;
5048
 
esac
5049
 
    CC=$ac_ct_CC
5050
 
  fi
5051
 
else
5052
 
  CC="$ac_cv_prog_CC"
5053
 
fi
5054
 
 
5055
 
if test -z "$CC"; then
5056
 
          if test -n "$ac_tool_prefix"; then
5057
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5058
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
5059
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5060
 
$as_echo_n "checking for $ac_word... " >&6; }
5061
 
if test "${ac_cv_prog_CC+set}" = set; then
5062
 
  $as_echo_n "(cached) " >&6
5063
 
else
5064
 
  if test -n "$CC"; then
5065
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5066
 
else
5067
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068
 
for as_dir in $PATH
5069
 
do
5070
 
  IFS=$as_save_IFS
5071
 
  test -z "$as_dir" && as_dir=.
5072
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5073
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5075
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5076
 
    break 2
5077
 
  fi
5078
 
done
5079
 
done
5080
 
IFS=$as_save_IFS
5081
 
 
5082
 
fi
5083
 
fi
5084
 
CC=$ac_cv_prog_CC
5085
 
if test -n "$CC"; then
5086
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
5087
 
$as_echo "$CC" >&6; }
5088
 
else
5089
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5090
 
$as_echo "no" >&6; }
5091
 
fi
5092
 
 
5093
 
 
5094
 
  fi
5095
 
fi
5096
 
if test -z "$CC"; then
5097
 
  # Extract the first word of "cc", so it can be a program name with args.
5098
 
set dummy cc; ac_word=$2
5099
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5100
 
$as_echo_n "checking for $ac_word... " >&6; }
5101
 
if test "${ac_cv_prog_CC+set}" = set; then
5102
 
  $as_echo_n "(cached) " >&6
5103
 
else
5104
 
  if test -n "$CC"; then
5105
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5106
 
else
5107
 
  ac_prog_rejected=no
5108
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109
 
for as_dir in $PATH
5110
 
do
5111
 
  IFS=$as_save_IFS
5112
 
  test -z "$as_dir" && as_dir=.
5113
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5114
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5116
 
       ac_prog_rejected=yes
5117
 
       continue
5118
 
     fi
5119
 
    ac_cv_prog_CC="cc"
5120
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5121
 
    break 2
5122
 
  fi
5123
 
done
5124
 
done
5125
 
IFS=$as_save_IFS
5126
 
 
5127
 
if test $ac_prog_rejected = yes; then
5128
 
  # We found a bogon in the path, so make sure we never use it.
5129
 
  set dummy $ac_cv_prog_CC
5130
 
  shift
5131
 
  if test $# != 0; then
5132
 
    # We chose a different compiler from the bogus one.
5133
 
    # However, it has the same basename, so the bogon will be chosen
5134
 
    # first if we set CC to just the basename; use the full file name.
5135
 
    shift
5136
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5137
 
  fi
5138
 
fi
5139
 
fi
5140
 
fi
5141
 
CC=$ac_cv_prog_CC
5142
 
if test -n "$CC"; then
5143
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
5144
 
$as_echo "$CC" >&6; }
5145
 
else
5146
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5147
 
$as_echo "no" >&6; }
5148
 
fi
5149
 
 
5150
 
 
5151
 
fi
5152
 
if test -z "$CC"; then
5153
 
  if test -n "$ac_tool_prefix"; then
5154
 
  for ac_prog in cl.exe
5155
 
  do
5156
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5157
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5158
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5159
 
$as_echo_n "checking for $ac_word... " >&6; }
5160
 
if test "${ac_cv_prog_CC+set}" = set; then
5161
 
  $as_echo_n "(cached) " >&6
5162
 
else
5163
 
  if test -n "$CC"; then
5164
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
5165
 
else
5166
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167
 
for as_dir in $PATH
5168
 
do
5169
 
  IFS=$as_save_IFS
5170
 
  test -z "$as_dir" && as_dir=.
5171
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5172
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5174
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5175
 
    break 2
5176
 
  fi
5177
 
done
5178
 
done
5179
 
IFS=$as_save_IFS
5180
 
 
5181
 
fi
5182
 
fi
5183
 
CC=$ac_cv_prog_CC
5184
 
if test -n "$CC"; then
5185
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
5186
 
$as_echo "$CC" >&6; }
5187
 
else
5188
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5189
 
$as_echo "no" >&6; }
5190
 
fi
5191
 
 
5192
 
 
5193
 
    test -n "$CC" && break
5194
 
  done
5195
 
fi
5196
 
if test -z "$CC"; then
5197
 
  ac_ct_CC=$CC
5198
 
  for ac_prog in cl.exe
5199
 
do
5200
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5201
 
set dummy $ac_prog; ac_word=$2
5202
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5203
 
$as_echo_n "checking for $ac_word... " >&6; }
5204
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5205
 
  $as_echo_n "(cached) " >&6
5206
 
else
5207
 
  if test -n "$ac_ct_CC"; then
5208
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5209
 
else
5210
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211
 
for as_dir in $PATH
5212
 
do
5213
 
  IFS=$as_save_IFS
5214
 
  test -z "$as_dir" && as_dir=.
5215
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5216
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
5218
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219
 
    break 2
5220
 
  fi
5221
 
done
5222
 
done
5223
 
IFS=$as_save_IFS
5224
 
 
5225
 
fi
5226
 
fi
5227
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5228
 
if test -n "$ac_ct_CC"; then
5229
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5230
 
$as_echo "$ac_ct_CC" >&6; }
5231
 
else
5232
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
5233
 
$as_echo "no" >&6; }
5234
 
fi
5235
 
 
5236
 
 
5237
 
  test -n "$ac_ct_CC" && break
5238
 
done
5239
 
 
5240
 
  if test "x$ac_ct_CC" = x; then
5241
 
    CC=""
5242
 
  else
5243
 
    case $cross_compiling:$ac_tool_warned in
5244
 
yes:)
5245
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5246
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247
 
ac_tool_warned=yes ;;
5248
 
esac
5249
 
    CC=$ac_ct_CC
5250
 
  fi
5251
 
fi
5252
 
 
5253
 
fi
5254
 
 
5255
 
 
5256
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5257
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5258
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5259
 
See \`config.log' for more details." >&5
5260
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5261
 
See \`config.log' for more details." >&2;}
5262
 
   { (exit 1); exit 1; }; }; }
5263
 
 
5264
 
# Provide some information about the compiler.
5265
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
5266
 
set X $ac_compile
5267
 
ac_compiler=$2
5268
 
{ (ac_try="$ac_compiler --version >&5"
5269
 
case "(($ac_try" in
5270
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5271
 
  *) ac_try_echo=$ac_try;;
5272
 
esac
5273
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5274
 
$as_echo "$ac_try_echo") >&5
5275
 
  (eval "$ac_compiler --version >&5") 2>&5
5276
 
  ac_status=$?
5277
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278
 
  (exit $ac_status); }
5279
 
{ (ac_try="$ac_compiler -v >&5"
5280
 
case "(($ac_try" in
5281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282
 
  *) ac_try_echo=$ac_try;;
5283
 
esac
5284
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5285
 
$as_echo "$ac_try_echo") >&5
5286
 
  (eval "$ac_compiler -v >&5") 2>&5
5287
 
  ac_status=$?
5288
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289
 
  (exit $ac_status); }
5290
 
{ (ac_try="$ac_compiler -V >&5"
5291
 
case "(($ac_try" in
5292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5293
 
  *) ac_try_echo=$ac_try;;
5294
 
esac
5295
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5296
 
$as_echo "$ac_try_echo") >&5
5297
 
  (eval "$ac_compiler -V >&5") 2>&5
5298
 
  ac_status=$?
5299
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300
 
  (exit $ac_status); }
5301
 
 
5302
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5303
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5304
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
5305
 
  $as_echo_n "(cached) " >&6
5306
 
else
5307
 
  cat >conftest.$ac_ext <<_ACEOF
5308
 
/* confdefs.h.  */
5309
 
_ACEOF
5310
 
cat confdefs.h >>conftest.$ac_ext
5311
 
cat >>conftest.$ac_ext <<_ACEOF
5312
 
/* end confdefs.h.  */
5313
 
 
5314
 
int
5315
 
main ()
5316
 
{
5317
 
#ifndef __GNUC__
5318
 
       choke me
5319
 
#endif
5320
 
 
5321
 
  ;
5322
 
  return 0;
5323
 
}
5324
 
_ACEOF
5325
 
rm -f conftest.$ac_objext
5326
 
if { (ac_try="$ac_compile"
5327
 
case "(($ac_try" in
5328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5329
 
  *) ac_try_echo=$ac_try;;
5330
 
esac
5331
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5332
 
$as_echo "$ac_try_echo") >&5
5333
 
  (eval "$ac_compile") 2>conftest.er1
5334
 
  ac_status=$?
5335
 
  grep -v '^ *+' conftest.er1 >conftest.err
5336
 
  rm -f conftest.er1
5337
 
  cat conftest.err >&5
5338
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339
 
  (exit $ac_status); } && {
5340
 
         test -z "$ac_c_werror_flag" ||
5341
 
         test ! -s conftest.err
5342
 
       } && test -s conftest.$ac_objext; then
5343
 
  ac_compiler_gnu=yes
5344
 
else
5345
 
  $as_echo "$as_me: failed program was:" >&5
5346
 
sed 's/^/| /' conftest.$ac_ext >&5
5347
 
 
5348
 
        ac_compiler_gnu=no
5349
 
fi
5350
 
 
5351
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5352
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5353
 
 
5354
 
fi
5355
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5356
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5357
 
if test $ac_compiler_gnu = yes; then
5358
 
  GCC=yes
5359
 
else
5360
 
  GCC=
5361
 
fi
5362
 
ac_test_CFLAGS=${CFLAGS+set}
5363
 
ac_save_CFLAGS=$CFLAGS
5364
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5365
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5366
 
if test "${ac_cv_prog_cc_g+set}" = set; then
5367
 
  $as_echo_n "(cached) " >&6
5368
 
else
5369
 
  ac_save_c_werror_flag=$ac_c_werror_flag
5370
 
   ac_c_werror_flag=yes
5371
 
   ac_cv_prog_cc_g=no
5372
 
   CFLAGS="-g"
5373
 
   cat >conftest.$ac_ext <<_ACEOF
5374
 
/* confdefs.h.  */
5375
 
_ACEOF
5376
 
cat confdefs.h >>conftest.$ac_ext
5377
 
cat >>conftest.$ac_ext <<_ACEOF
5378
 
/* end confdefs.h.  */
5379
 
 
5380
 
int
5381
 
main ()
5382
 
{
5383
 
 
5384
 
  ;
5385
 
  return 0;
5386
 
}
5387
 
_ACEOF
5388
 
rm -f conftest.$ac_objext
5389
 
if { (ac_try="$ac_compile"
5390
 
case "(($ac_try" in
5391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392
 
  *) ac_try_echo=$ac_try;;
5393
 
esac
5394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5395
 
$as_echo "$ac_try_echo") >&5
5396
 
  (eval "$ac_compile") 2>conftest.er1
5397
 
  ac_status=$?
5398
 
  grep -v '^ *+' conftest.er1 >conftest.err
5399
 
  rm -f conftest.er1
5400
 
  cat conftest.err >&5
5401
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
 
  (exit $ac_status); } && {
5403
 
         test -z "$ac_c_werror_flag" ||
5404
 
         test ! -s conftest.err
5405
 
       } && test -s conftest.$ac_objext; then
5406
 
  ac_cv_prog_cc_g=yes
5407
 
else
5408
 
  $as_echo "$as_me: failed program was:" >&5
5409
 
sed 's/^/| /' conftest.$ac_ext >&5
5410
 
 
5411
 
        CFLAGS=""
5412
 
      cat >conftest.$ac_ext <<_ACEOF
5413
 
/* confdefs.h.  */
5414
 
_ACEOF
5415
 
cat confdefs.h >>conftest.$ac_ext
5416
 
cat >>conftest.$ac_ext <<_ACEOF
5417
 
/* end confdefs.h.  */
5418
 
 
5419
 
int
5420
 
main ()
5421
 
{
5422
 
 
5423
 
  ;
5424
 
  return 0;
5425
 
}
5426
 
_ACEOF
5427
 
rm -f conftest.$ac_objext
5428
 
if { (ac_try="$ac_compile"
5429
 
case "(($ac_try" in
5430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5431
 
  *) ac_try_echo=$ac_try;;
5432
 
esac
5433
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5434
 
$as_echo "$ac_try_echo") >&5
5435
 
  (eval "$ac_compile") 2>conftest.er1
5436
 
  ac_status=$?
5437
 
  grep -v '^ *+' conftest.er1 >conftest.err
5438
 
  rm -f conftest.er1
5439
 
  cat conftest.err >&5
5440
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441
 
  (exit $ac_status); } && {
5442
 
         test -z "$ac_c_werror_flag" ||
5443
 
         test ! -s conftest.err
5444
 
       } && test -s conftest.$ac_objext; then
5445
 
  :
5446
 
else
5447
 
  $as_echo "$as_me: failed program was:" >&5
5448
 
sed 's/^/| /' conftest.$ac_ext >&5
5449
 
 
5450
 
        ac_c_werror_flag=$ac_save_c_werror_flag
5451
 
         CFLAGS="-g"
5452
 
         cat >conftest.$ac_ext <<_ACEOF
5453
 
/* confdefs.h.  */
5454
 
_ACEOF
5455
 
cat confdefs.h >>conftest.$ac_ext
5456
 
cat >>conftest.$ac_ext <<_ACEOF
5457
 
/* end confdefs.h.  */
5458
 
 
5459
 
int
5460
 
main ()
5461
 
{
5462
 
 
5463
 
  ;
5464
 
  return 0;
5465
 
}
5466
 
_ACEOF
5467
 
rm -f conftest.$ac_objext
5468
 
if { (ac_try="$ac_compile"
5469
 
case "(($ac_try" in
5470
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5471
 
  *) ac_try_echo=$ac_try;;
5472
 
esac
5473
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5474
 
$as_echo "$ac_try_echo") >&5
5475
 
  (eval "$ac_compile") 2>conftest.er1
5476
 
  ac_status=$?
5477
 
  grep -v '^ *+' conftest.er1 >conftest.err
5478
 
  rm -f conftest.er1
5479
 
  cat conftest.err >&5
5480
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481
 
  (exit $ac_status); } && {
5482
 
         test -z "$ac_c_werror_flag" ||
5483
 
         test ! -s conftest.err
5484
 
       } && test -s conftest.$ac_objext; then
5485
 
  ac_cv_prog_cc_g=yes
5486
 
else
5487
 
  $as_echo "$as_me: failed program was:" >&5
5488
 
sed 's/^/| /' conftest.$ac_ext >&5
5489
 
 
5490
 
 
5491
 
fi
5492
 
 
5493
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5494
 
fi
5495
 
 
5496
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5497
 
fi
5498
 
 
5499
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5501
 
fi
5502
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5503
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
5504
 
if test "$ac_test_CFLAGS" = set; then
5505
 
  CFLAGS=$ac_save_CFLAGS
5506
 
elif test $ac_cv_prog_cc_g = yes; then
5507
 
  if test "$GCC" = yes; then
5508
 
    CFLAGS="-g -O2"
5509
 
  else
5510
 
    CFLAGS="-g"
5511
 
  fi
5512
 
else
5513
 
  if test "$GCC" = yes; then
5514
 
    CFLAGS="-O2"
5515
 
  else
5516
 
    CFLAGS=
5517
 
  fi
5518
 
fi
5519
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5520
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5521
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
5522
 
  $as_echo_n "(cached) " >&6
5523
 
else
5524
 
  ac_cv_prog_cc_c89=no
5525
 
ac_save_CC=$CC
5526
 
cat >conftest.$ac_ext <<_ACEOF
5527
 
/* confdefs.h.  */
5528
 
_ACEOF
5529
 
cat confdefs.h >>conftest.$ac_ext
5530
 
cat >>conftest.$ac_ext <<_ACEOF
5531
 
/* end confdefs.h.  */
5532
 
#include <stdarg.h>
5533
 
#include <stdio.h>
5534
 
#include <sys/types.h>
5535
 
#include <sys/stat.h>
5536
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5537
 
struct buf { int x; };
5538
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5539
 
static char *e (p, i)
5540
 
     char **p;
5541
 
     int i;
5542
 
{
5543
 
  return p[i];
5544
 
}
5545
 
static char *f (char * (*g) (char **, int), char **p, ...)
5546
 
{
5547
 
  char *s;
5548
 
  va_list v;
5549
 
  va_start (v,p);
5550
 
  s = g (p, va_arg (v,int));
5551
 
  va_end (v);
5552
 
  return s;
5553
 
}
5554
 
 
5555
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5556
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5557
 
   These don't provoke an error unfortunately, instead are silently treated
5558
 
   as 'x'.  The following induces an error, until -std is added to get
5559
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5560
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5561
 
   that's true only with -std.  */
5562
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5563
 
 
5564
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5565
 
   inside strings and character constants.  */
5566
 
#define FOO(x) 'x'
5567
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5568
 
 
5569
 
int test (int i, double x);
5570
 
struct s1 {int (*f) (int a);};
5571
 
struct s2 {int (*f) (double a);};
5572
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5573
 
int argc;
5574
 
char **argv;
5575
 
int
5576
 
main ()
5577
 
{
5578
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5579
 
  ;
5580
 
  return 0;
5581
 
}
5582
 
_ACEOF
5583
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5584
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5585
 
do
5586
 
  CC="$ac_save_CC $ac_arg"
5587
 
  rm -f conftest.$ac_objext
5588
 
if { (ac_try="$ac_compile"
5589
 
case "(($ac_try" in
5590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5591
 
  *) ac_try_echo=$ac_try;;
5592
 
esac
5593
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5594
 
$as_echo "$ac_try_echo") >&5
5595
 
  (eval "$ac_compile") 2>conftest.er1
5596
 
  ac_status=$?
5597
 
  grep -v '^ *+' conftest.er1 >conftest.err
5598
 
  rm -f conftest.er1
5599
 
  cat conftest.err >&5
5600
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601
 
  (exit $ac_status); } && {
5602
 
         test -z "$ac_c_werror_flag" ||
5603
 
         test ! -s conftest.err
5604
 
       } && test -s conftest.$ac_objext; then
5605
 
  ac_cv_prog_cc_c89=$ac_arg
5606
 
else
5607
 
  $as_echo "$as_me: failed program was:" >&5
5608
 
sed 's/^/| /' conftest.$ac_ext >&5
5609
 
 
5610
 
 
5611
 
fi
5612
 
 
5613
 
rm -f core conftest.err conftest.$ac_objext
5614
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5615
 
done
5616
 
rm -f conftest.$ac_ext
5617
 
CC=$ac_save_CC
5618
 
 
5619
 
fi
5620
 
# AC_CACHE_VAL
5621
 
case "x$ac_cv_prog_cc_c89" in
5622
 
  x)
5623
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
5624
 
$as_echo "none needed" >&6; } ;;
5625
 
  xno)
5626
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5627
 
$as_echo "unsupported" >&6; } ;;
5628
 
  *)
5629
 
    CC="$CC $ac_cv_prog_cc_c89"
5630
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5631
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5632
 
esac
5633
 
 
5634
 
 
5635
 
ac_ext=c
5636
 
ac_cpp='$CPP $CPPFLAGS'
5637
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5638
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5639
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5640
 
 
5641
 
depcc="$CC"   am_compiler_list=
5642
 
 
5643
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5644
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5645
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5646
 
  $as_echo_n "(cached) " >&6
5647
 
else
5648
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5649
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5650
 
  # making bogus files that we don't know about and never remove.  For
5651
 
  # instance it was reported that on HP-UX the gcc test will end up
5652
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5653
 
  # in D'.
5654
 
  mkdir conftest.dir
5655
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5656
 
  # using a relative directory.
5657
 
  cp "$am_depcomp" conftest.dir
5658
 
  cd conftest.dir
5659
 
  # We will build objects and dependencies in a subdirectory because
5660
 
  # it helps to detect inapplicable dependency modes.  For instance
5661
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5662
 
  # side effect of compilation, but ICC will put the dependencies in
5663
 
  # the current directory while Tru64 will put them in the object
5664
 
  # directory.
5665
 
  mkdir sub
5666
 
 
5667
 
  am_cv_CC_dependencies_compiler_type=none
5668
 
  if test "$am_compiler_list" = ""; then
5669
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5670
 
  fi
5671
 
  am__universal=false
5672
 
  case " $depcc " in #(
5673
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5674
 
     esac
5675
 
 
5676
 
  for depmode in $am_compiler_list; do
5677
 
    # Setup a source with many dependencies, because some compilers
5678
 
    # like to wrap large dependency lists on column 80 (with \), and
5679
 
    # we should not choose a depcomp mode which is confused by this.
5680
 
    #
5681
 
    # We need to recreate these files for each test, as the compiler may
5682
 
    # overwrite some of them when testing with obscure command lines.
5683
 
    # This happens at least with the AIX C compiler.
5684
 
    : > sub/conftest.c
5685
 
    for i in 1 2 3 4 5 6; do
5686
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5687
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5688
 
      # Solaris 8's {/usr,}/bin/sh.
5689
 
      touch sub/conftst$i.h
5690
 
    done
5691
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5692
 
 
5693
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5694
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5695
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5696
 
    # versions had trouble with output in subdirs
5697
 
    am__obj=sub/conftest.${OBJEXT-o}
5698
 
    am__minus_obj="-o $am__obj"
5699
 
    case $depmode in
5700
 
    gcc)
5701
 
      # This depmode causes a compiler race in universal mode.
5702
 
      test "$am__universal" = false || continue
5703
 
      ;;
5704
 
    nosideeffect)
5705
 
      # after this tag, mechanisms are not by side-effect, so they'll
5706
 
      # only be used when explicitly requested
5707
 
      if test "x$enable_dependency_tracking" = xyes; then
5708
 
        continue
5709
 
      else
5710
 
        break
5711
 
      fi
5712
 
      ;;
5713
 
    msvisualcpp | msvcmsys)
5714
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5715
 
      # not run yet.  These depmodes are late enough in the game, and
5716
 
      # so weak that their functioning should not be impacted.
5717
 
      am__obj=conftest.${OBJEXT-o}
5718
 
      am__minus_obj=
5719
 
      ;;
5720
 
    none) break ;;
5721
 
    esac
5722
 
    if depmode=$depmode \
5723
 
       source=sub/conftest.c object=$am__obj \
5724
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5725
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5726
 
         >/dev/null 2>conftest.err &&
5727
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5728
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5729
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5730
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5731
 
      # icc doesn't choke on unknown options, it will just issue warnings
5732
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5733
 
      # that says an option was ignored or not supported.
5734
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5735
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5736
 
      # The diagnosis changed in icc 8.0:
5737
 
      #   icc: Command line remark: option '-MP' not supported
5738
 
      if (grep 'ignoring option' conftest.err ||
5739
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5740
 
        am_cv_CC_dependencies_compiler_type=$depmode
5741
 
        break
5742
 
      fi
5743
 
    fi
5744
 
  done
5745
 
 
5746
 
  cd ..
5747
 
  rm -rf conftest.dir
5748
 
else
5749
 
  am_cv_CC_dependencies_compiler_type=none
5750
 
fi
5751
 
 
5752
 
fi
5753
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5754
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5755
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5756
 
 
5757
 
 if
5758
 
  test "x$enable_dependency_tracking" != xno \
5759
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5760
 
  am__fastdepCC_TRUE=
5761
 
  am__fastdepCC_FALSE='#'
5762
 
else
5763
 
  am__fastdepCC_TRUE='#'
5764
 
  am__fastdepCC_FALSE=
5765
 
fi
5766
 
 
5767
 
 
5768
 
# Find a good install program.  We prefer a C program (faster),
5769
 
# so one script is as good as another.  But avoid the broken or
5770
 
# incompatible versions:
5771
 
# SysV /etc/install, /usr/sbin/install
5772
 
# SunOS /usr/etc/install
5773
 
# IRIX /sbin/install
5774
 
# AIX /bin/install
5775
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
5776
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5777
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5778
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5779
 
# OS/2's system install, which has a completely different semantic
5780
 
# ./install, which can be erroneously created by make from ./install.sh.
5781
 
# Reject install programs that cannot install multiple files.
5782
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5783
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
5784
 
if test -z "$INSTALL"; then
5785
 
if test "${ac_cv_path_install+set}" = set; then
5786
 
  $as_echo_n "(cached) " >&6
5787
 
else
5788
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789
 
for as_dir in $PATH
5790
 
do
5791
 
  IFS=$as_save_IFS
5792
 
  test -z "$as_dir" && as_dir=.
5793
 
  # Account for people who put trailing slashes in PATH elements.
5794
 
case $as_dir/ in
5795
 
  ./ | .// | /cC/* | \
5796
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5797
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5798
 
  /usr/ucb/* ) ;;
5799
 
  *)
5800
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
5801
 
    # Don't use installbsd from OSF since it installs stuff as root
5802
 
    # by default.
5803
 
    for ac_prog in ginstall scoinst install; do
5804
 
      for ac_exec_ext in '' $ac_executable_extensions; do
5805
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5806
 
          if test $ac_prog = install &&
5807
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5808
 
            # AIX install.  It has an incompatible calling convention.
5809
 
            :
5810
 
          elif test $ac_prog = install &&
5811
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5812
 
            # program-specific install script used by HP pwplus--don't use.
5813
 
            :
5814
 
          else
5815
 
            rm -rf conftest.one conftest.two conftest.dir
5816
 
            echo one > conftest.one
5817
 
            echo two > conftest.two
5818
 
            mkdir conftest.dir
5819
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5820
 
              test -s conftest.one && test -s conftest.two &&
5821
 
              test -s conftest.dir/conftest.one &&
5822
 
              test -s conftest.dir/conftest.two
5823
 
            then
5824
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5825
 
              break 3
5826
 
            fi
5827
 
          fi
5828
 
        fi
5829
 
      done
5830
 
    done
5831
 
    ;;
5832
 
esac
5833
 
 
5834
 
done
5835
 
IFS=$as_save_IFS
5836
 
 
5837
 
rm -rf conftest.one conftest.two conftest.dir
5838
 
 
5839
 
fi
5840
 
  if test "${ac_cv_path_install+set}" = set; then
5841
 
    INSTALL=$ac_cv_path_install
5842
 
  else
5843
 
    # As a last resort, use the slow shell script.  Don't cache a
5844
 
    # value for INSTALL within a source directory, because that will
5845
 
    # break other packages using the cache if that directory is
5846
 
    # removed, or if the value is a relative name.
5847
 
    INSTALL=$ac_install_sh
5848
 
  fi
5849
 
fi
5850
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5851
 
$as_echo "$INSTALL" >&6; }
5852
 
 
5853
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5854
 
# It thinks the first close brace ends the variable substitution.
5855
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5856
 
 
5857
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5858
 
 
5859
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
4563
XORG_MAN_PAGE="X Version 11"
 
4564
 
 
4565
MAN_SUBSTS="\
 
4566
        -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4567
        -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4568
        -e 's|__xservername__|Xorg|g' \
 
4569
        -e 's|__xconfigfile__|xorg.conf|g' \
 
4570
        -e 's|__projectroot__|\$(prefix)|g' \
 
4571
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
 
4572
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
 
4573
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
 
4574
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
 
4575
        -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
 
4576
        -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
 
4577
        -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
 
4578
 
 
4579
 
 
4580
 
 
4581
# Check whether --enable-silent-rules was given.
 
4582
if test "${enable_silent_rules+set}" = set; then :
 
4583
  enableval=$enable_silent_rules;
 
4584
fi
 
4585
 
 
4586
case $enable_silent_rules in
 
4587
yes) AM_DEFAULT_VERBOSITY=0;;
 
4588
no)  AM_DEFAULT_VERBOSITY=1;;
 
4589
*)   AM_DEFAULT_VERBOSITY=0;;
 
4590
esac
 
4591
AM_BACKSLASH='\'
5860
4592
 
5861
4593
 
5862
4594
 
5863
4595
# Checks for pkg-config packages
5864
4596
 
5865
4597
pkg_failed=no
5866
 
{ $as_echo "$as_me:$LINENO: checking for XEYES" >&5
 
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEYES" >&5
5867
4599
$as_echo_n "checking for XEYES... " >&6; }
5868
4600
 
5869
4601
if test -n "$XEYES_CFLAGS"; then
5870
4602
    pkg_cv_XEYES_CFLAGS="$XEYES_CFLAGS"
5871
4603
 elif test -n "$PKG_CONFIG"; then
5872
4604
    if test -n "$PKG_CONFIG" && \
5873
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu\"") >&5
 
4605
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu\""; } >&5
5874
4606
  ($PKG_CONFIG --exists --print-errors "x11 xt xext xmu") 2>&5
5875
4607
  ac_status=$?
5876
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877
 
  (exit $ac_status); }; then
 
4608
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4609
  test $ac_status = 0; }; then
5878
4610
  pkg_cv_XEYES_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xmu" 2>/dev/null`
5879
4611
else
5880
4612
  pkg_failed=yes
5886
4618
    pkg_cv_XEYES_LIBS="$XEYES_LIBS"
5887
4619
 elif test -n "$PKG_CONFIG"; then
5888
4620
    if test -n "$PKG_CONFIG" && \
5889
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu\"") >&5
 
4621
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu\""; } >&5
5890
4622
  ($PKG_CONFIG --exists --print-errors "x11 xt xext xmu") 2>&5
5891
4623
  ac_status=$?
5892
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893
 
  (exit $ac_status); }; then
 
4624
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4625
  test $ac_status = 0; }; then
5894
4626
  pkg_cv_XEYES_LIBS=`$PKG_CONFIG --libs "x11 xt xext xmu" 2>/dev/null`
5895
4627
else
5896
4628
  pkg_failed=yes
5916
4648
        # Put the nasty error message in config.log where it belongs
5917
4649
        echo "$XEYES_PKG_ERRORS" >&5
5918
4650
 
5919
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xt xext xmu) were not met:
5920
 
 
5921
 
$XEYES_PKG_ERRORS
5922
 
 
5923
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5924
 
installed software in a non-standard prefix.
5925
 
 
5926
 
Alternatively, you may set the environment variables XEYES_CFLAGS
5927
 
and XEYES_LIBS to avoid the need to call pkg-config.
5928
 
See the pkg-config man page for more details.
5929
 
" >&5
5930
 
$as_echo "$as_me: error: Package requirements (x11 xt xext xmu) were not met:
5931
 
 
5932
 
$XEYES_PKG_ERRORS
5933
 
 
5934
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5935
 
installed software in a non-standard prefix.
5936
 
 
5937
 
Alternatively, you may set the environment variables XEYES_CFLAGS
5938
 
and XEYES_LIBS to avoid the need to call pkg-config.
5939
 
See the pkg-config man page for more details.
5940
 
" >&2;}
5941
 
   { (exit 1); exit 1; }; }
 
4651
        as_fn_error $? "Package requirements (x11 xt xext xmu) were not met:
 
4652
 
 
4653
$XEYES_PKG_ERRORS
 
4654
 
 
4655
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4656
installed software in a non-standard prefix.
 
4657
 
 
4658
Alternatively, you may set the environment variables XEYES_CFLAGS
 
4659
and XEYES_LIBS to avoid the need to call pkg-config.
 
4660
See the pkg-config man page for more details.
 
4661
" "$LINENO" 5
5942
4662
elif test $pkg_failed = untried; then
5943
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4663
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5944
4664
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5945
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5946
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5947
 
path to pkg-config.
5948
 
 
5949
 
Alternatively, you may set the environment variables XEYES_CFLAGS
5950
 
and XEYES_LIBS to avoid the need to call pkg-config.
5951
 
See the pkg-config man page for more details.
5952
 
 
5953
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5954
 
See \`config.log' for more details." >&5
5955
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5956
 
is in your PATH or set the PKG_CONFIG environment variable to the full
5957
 
path to pkg-config.
5958
 
 
5959
 
Alternatively, you may set the environment variables XEYES_CFLAGS
5960
 
and XEYES_LIBS to avoid the need to call pkg-config.
5961
 
See the pkg-config man page for more details.
5962
 
 
5963
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5964
 
See \`config.log' for more details." >&2;}
5965
 
   { (exit 1); exit 1; }; }; }
 
4665
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
4666
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4667
path to pkg-config.
 
4668
 
 
4669
Alternatively, you may set the environment variables XEYES_CFLAGS
 
4670
and XEYES_LIBS to avoid the need to call pkg-config.
 
4671
See the pkg-config man page for more details.
 
4672
 
 
4673
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4674
See \`config.log' for more details" "$LINENO" 5; }
5966
4675
else
5967
4676
        XEYES_CFLAGS=$pkg_cv_XEYES_CFLAGS
5968
4677
        XEYES_LIBS=$pkg_cv_XEYES_LIBS
5969
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4678
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5970
4679
$as_echo "yes" >&6; }
5971
4680
        :
5972
4681
fi
5973
 
XEYES_CFLAGS="$CWARNFLAGS $XEYES_CFLAGS"
5974
 
 
5975
 
 
5976
4682
 
5977
4683
 
5978
4684
# Check whether --with-xrender was given.
5979
 
if test "${with_xrender+set}" = set; then
 
4685
if test "${with_xrender+set}" = set; then :
5980
4686
  withval=$with_xrender; use_xrender="$withval"
5981
4687
else
5982
4688
  use_xrender="try"
5985
4691
if test x$use_xrender != xno ; then
5986
4692
 
5987
4693
pkg_failed=no
5988
 
{ $as_echo "$as_me:$LINENO: checking for XRENDER" >&5
 
4694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
5989
4695
$as_echo_n "checking for XRENDER... " >&6; }
5990
4696
 
5991
4697
if test -n "$XRENDER_CFLAGS"; then
5992
4698
    pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
5993
4699
 elif test -n "$PKG_CONFIG"; then
5994
4700
    if test -n "$PKG_CONFIG" && \
5995
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\"") >&5
 
4701
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
5996
4702
  ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
5997
4703
  ac_status=$?
5998
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999
 
  (exit $ac_status); }; then
 
4704
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4705
  test $ac_status = 0; }; then
6000
4706
  pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.4" 2>/dev/null`
6001
4707
else
6002
4708
  pkg_failed=yes
6008
4714
    pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
6009
4715
 elif test -n "$PKG_CONFIG"; then
6010
4716
    if test -n "$PKG_CONFIG" && \
6011
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\"") >&5
 
4717
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
6012
4718
  ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
6013
4719
  ac_status=$?
6014
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015
 
  (exit $ac_status); }; then
 
4720
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4721
  test $ac_status = 0; }; then
6016
4722
  pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.4" 2>/dev/null`
6017
4723
else
6018
4724
  pkg_failed=yes
6038
4744
        # Put the nasty error message in config.log where it belongs
6039
4745
        echo "$XRENDER_PKG_ERRORS" >&5
6040
4746
 
6041
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xrender >= 0.4) were not met:
6042
 
 
6043
 
$XRENDER_PKG_ERRORS
6044
 
 
6045
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6046
 
installed software in a non-standard prefix.
6047
 
 
6048
 
Alternatively, you may set the environment variables XRENDER_CFLAGS
6049
 
and XRENDER_LIBS to avoid the need to call pkg-config.
6050
 
See the pkg-config man page for more details.
6051
 
" >&5
6052
 
$as_echo "$as_me: error: Package requirements (xrender >= 0.4) were not met:
6053
 
 
6054
 
$XRENDER_PKG_ERRORS
6055
 
 
6056
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6057
 
installed software in a non-standard prefix.
6058
 
 
6059
 
Alternatively, you may set the environment variables XRENDER_CFLAGS
6060
 
and XRENDER_LIBS to avoid the need to call pkg-config.
6061
 
See the pkg-config man page for more details.
6062
 
" >&2;}
6063
 
   { (exit 1); exit 1; }; }
 
4747
        as_fn_error $? "Package requirements (xrender >= 0.4) were not met:
 
4748
 
 
4749
$XRENDER_PKG_ERRORS
 
4750
 
 
4751
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
4752
installed software in a non-standard prefix.
 
4753
 
 
4754
Alternatively, you may set the environment variables XRENDER_CFLAGS
 
4755
and XRENDER_LIBS to avoid the need to call pkg-config.
 
4756
See the pkg-config man page for more details.
 
4757
" "$LINENO" 5
6064
4758
elif test $pkg_failed = untried; then
6065
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4759
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6066
4760
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6067
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
6068
 
is in your PATH or set the PKG_CONFIG environment variable to the full
6069
 
path to pkg-config.
6070
 
 
6071
 
Alternatively, you may set the environment variables XRENDER_CFLAGS
6072
 
and XRENDER_LIBS to avoid the need to call pkg-config.
6073
 
See the pkg-config man page for more details.
6074
 
 
6075
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6076
 
See \`config.log' for more details." >&5
6077
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
6078
 
is in your PATH or set the PKG_CONFIG environment variable to the full
6079
 
path to pkg-config.
6080
 
 
6081
 
Alternatively, you may set the environment variables XRENDER_CFLAGS
6082
 
and XRENDER_LIBS to avoid the need to call pkg-config.
6083
 
See the pkg-config man page for more details.
6084
 
 
6085
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6086
 
See \`config.log' for more details." >&2;}
6087
 
   { (exit 1); exit 1; }; }; }
 
4761
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
4762
is in your PATH or set the PKG_CONFIG environment variable to the full
 
4763
path to pkg-config.
 
4764
 
 
4765
Alternatively, you may set the environment variables XRENDER_CFLAGS
 
4766
and XRENDER_LIBS to avoid the need to call pkg-config.
 
4767
See the pkg-config man page for more details.
 
4768
 
 
4769
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
4770
See \`config.log' for more details" "$LINENO" 5; }
6088
4771
else
6089
4772
        XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
6090
4773
        XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
6091
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4774
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6092
4775
$as_echo "yes" >&6; }
6093
4776
        :
6094
4777
fi
6095
 
        XEYES_CFLAGS="$XEYES_CFLAGS $XRENDER_CFLAGS"
6096
 
        XEYES_LIBS="$XEYES_LIBS $XRENDER_LIBS"
6097
4778
 
6098
 
cat >>confdefs.h <<\_ACEOF
6099
 
#define XRENDER 1
6100
 
_ACEOF
 
4779
$as_echo "#define XRENDER 1" >>confdefs.h
6101
4780
 
6102
4781
fi
6103
4782
 
6130
4809
    case $ac_val in #(
6131
4810
    *${as_nl}*)
6132
4811
      case $ac_var in #(
6133
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
4812
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6134
4813
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6135
4814
      esac
6136
4815
      case $ac_var in #(
6137
4816
      _ | IFS | as_nl) ;; #(
6138
4817
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6139
 
      *) $as_unset $ac_var ;;
 
4818
      *) { eval $ac_var=; unset $ac_var;} ;;
6140
4819
      esac ;;
6141
4820
    esac
6142
4821
  done
6144
4823
  (set) 2>&1 |
6145
4824
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6146
4825
    *${as_nl}ac_space=\ *)
6147
 
      # `set' does not quote correctly, so add quotes (double-quote
6148
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4826
      # `set' does not quote correctly, so add quotes: double-quote
 
4827
      # substitution turns \\\\ into \\, and sed turns \\ into \.
6149
4828
      sed -n \
6150
4829
        "s/'/'\\\\''/g;
6151
4830
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6167
4846
     :end' >>confcache
6168
4847
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6169
4848
  if test -w "$cache_file"; then
6170
 
    test "x$cache_file" != "x/dev/null" &&
6171
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4849
    if test "x$cache_file" != "x/dev/null"; then
 
4850
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6172
4851
$as_echo "$as_me: updating cache $cache_file" >&6;}
6173
 
    cat confcache >$cache_file
 
4852
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
4853
        cat confcache >"$cache_file"
 
4854
      else
 
4855
        case $cache_file in #(
 
4856
        */* | ?:*)
 
4857
          mv -f confcache "$cache_file"$$ &&
 
4858
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
4859
        *)
 
4860
          mv -f confcache "$cache_file" ;;
 
4861
        esac
 
4862
      fi
 
4863
    fi
6174
4864
  else
6175
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4865
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6176
4866
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6177
4867
  fi
6178
4868
fi
6186
4876
 
6187
4877
ac_libobjs=
6188
4878
ac_ltlibobjs=
 
4879
U=
6189
4880
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6190
4881
  # 1. Remove the extension, and $U if already installed.
6191
4882
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6192
4883
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6193
4884
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6194
4885
  #    will be set to the directory where LIBOBJS objects are built.
6195
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6196
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4886
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4887
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6197
4888
done
6198
4889
LIBOBJS=$ac_libobjs
6199
4890
 
6209
4900
fi
6210
4901
 
6211
4902
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6212
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6213
 
Usually this means the macro was only invoked conditionally." >&5
6214
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6215
 
Usually this means the macro was only invoked conditionally." >&2;}
6216
 
   { (exit 1); exit 1; }; }
 
4903
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
4904
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6217
4905
fi
6218
4906
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6219
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6220
 
Usually this means the macro was only invoked conditionally." >&5
6221
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6222
 
Usually this means the macro was only invoked conditionally." >&2;}
6223
 
   { (exit 1); exit 1; }; }
6224
 
fi
6225
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6226
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6227
 
Usually this means the macro was only invoked conditionally." >&5
6228
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6229
 
Usually this means the macro was only invoked conditionally." >&2;}
6230
 
   { (exit 1); exit 1; }; }
6231
 
fi
6232
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6233
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6234
 
Usually this means the macro was only invoked conditionally." >&5
6235
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6236
 
Usually this means the macro was only invoked conditionally." >&2;}
6237
 
   { (exit 1); exit 1; }; }
 
4907
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
4908
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
4909
fi
 
4910
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
4911
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
4912
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6238
4913
fi
6239
4914
 
6240
 
: ${CONFIG_STATUS=./config.status}
 
4915
: "${CONFIG_STATUS=./config.status}"
6241
4916
ac_write_fail=0
6242
4917
ac_clean_files_save=$ac_clean_files
6243
4918
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6244
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4919
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6245
4920
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6246
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4921
as_write_fail=0
 
4922
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6247
4923
#! $SHELL
6248
4924
# Generated by $as_me.
6249
4925
# Run this file to recreate the current configuration.
6253
4929
debug=false
6254
4930
ac_cs_recheck=false
6255
4931
ac_cs_silent=false
 
4932
 
6256
4933
SHELL=\${CONFIG_SHELL-$SHELL}
6257
 
_ACEOF
6258
 
 
6259
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6260
 
## --------------------- ##
6261
 
## M4sh Initialization.  ##
6262
 
## --------------------- ##
 
4934
export SHELL
 
4935
_ASEOF
 
4936
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
4937
## -------------------- ##
 
4938
## M4sh Initialization. ##
 
4939
## -------------------- ##
6263
4940
 
6264
4941
# Be more Bourne compatible
6265
4942
DUALCASE=1; export DUALCASE # for MKS sh
6266
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4943
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6267
4944
  emulate sh
6268
4945
  NULLCMD=:
6269
4946
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6271
4948
  alias -g '${1+"$@"}'='"$@"'
6272
4949
  setopt NO_GLOB_SUBST
6273
4950
else
6274
 
  case `(set -o) 2>/dev/null` in
6275
 
  *posix*) set -o posix ;;
 
4951
  case `(set -o) 2>/dev/null` in #(
 
4952
  *posix*) :
 
4953
    set -o posix ;; #(
 
4954
  *) :
 
4955
     ;;
6276
4956
esac
6277
 
 
6278
4957
fi
6279
4958
 
6280
4959
 
6281
 
 
6282
 
 
6283
 
# PATH needs CR
6284
 
# Avoid depending upon Character Ranges.
6285
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6286
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6287
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6288
 
as_cr_digits='0123456789'
6289
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
6290
 
 
6291
4960
as_nl='
6292
4961
'
6293
4962
export as_nl
6295
4964
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6296
4965
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6297
4966
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6298
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4967
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
4968
# but without wasting forks for bash or zsh.
 
4969
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
4970
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4971
  as_echo='print -r --'
 
4972
  as_echo_n='print -rn --'
 
4973
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6299
4974
  as_echo='printf %s\n'
6300
4975
  as_echo_n='printf %s'
6301
4976
else
6306
4981
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6307
4982
    as_echo_n_body='eval
6308
4983
      arg=$1;
6309
 
      case $arg in
 
4984
      case $arg in #(
6310
4985
      *"$as_nl"*)
6311
4986
        expr "X$arg" : "X\\(.*\\)$as_nl";
6312
4987
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6329
5004
  }
6330
5005
fi
6331
5006
 
6332
 
# Support unset when possible.
6333
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6334
 
  as_unset=unset
6335
 
else
6336
 
  as_unset=false
6337
 
fi
6338
 
 
6339
5007
 
6340
5008
# IFS
6341
5009
# We need space, tab and new line, in precisely that order.  Quoting is
6345
5013
IFS=" ""        $as_nl"
6346
5014
 
6347
5015
# Find who we are.  Look in the path if we contain no directory separator.
6348
 
case $0 in
 
5016
as_myself=
 
5017
case $0 in #((
6349
5018
  *[\\/]* ) as_myself=$0 ;;
6350
5019
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351
5020
for as_dir in $PATH
6352
5021
do
6353
5022
  IFS=$as_save_IFS
6354
5023
  test -z "$as_dir" && as_dir=.
6355
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6356
 
done
 
5024
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5025
  done
6357
5026
IFS=$as_save_IFS
6358
5027
 
6359
5028
     ;;
6365
5034
fi
6366
5035
if test ! -f "$as_myself"; then
6367
5036
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6368
 
  { (exit 1); exit 1; }
 
5037
  exit 1
6369
5038
fi
6370
5039
 
6371
 
# Work around bugs in pre-3.0 UWIN ksh.
6372
 
for as_var in ENV MAIL MAILPATH
6373
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
5040
# Unset variables that we do not need and which cause bugs (e.g. in
 
5041
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
5042
# suppresses any "Segmentation fault" message there.  '((' could
 
5043
# trigger a bug in pdksh 5.2.14.
 
5044
for as_var in BASH_ENV ENV MAIL MAILPATH
 
5045
do eval test x\${$as_var+set} = xset \
 
5046
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6374
5047
done
6375
5048
PS1='$ '
6376
5049
PS2='> '
6382
5055
LANGUAGE=C
6383
5056
export LANGUAGE
6384
5057
 
6385
 
# Required to use basename.
 
5058
# CDPATH.
 
5059
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5060
 
 
5061
 
 
5062
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5063
# ----------------------------------------
 
5064
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5065
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5066
# script with STATUS, using 1 if that was 0.
 
5067
as_fn_error ()
 
5068
{
 
5069
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5070
  if test "$4"; then
 
5071
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5072
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
5073
  fi
 
5074
  $as_echo "$as_me: error: $2" >&2
 
5075
  as_fn_exit $as_status
 
5076
} # as_fn_error
 
5077
 
 
5078
 
 
5079
# as_fn_set_status STATUS
 
5080
# -----------------------
 
5081
# Set $? to STATUS, without forking.
 
5082
as_fn_set_status ()
 
5083
{
 
5084
  return $1
 
5085
} # as_fn_set_status
 
5086
 
 
5087
# as_fn_exit STATUS
 
5088
# -----------------
 
5089
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5090
as_fn_exit ()
 
5091
{
 
5092
  set +e
 
5093
  as_fn_set_status $1
 
5094
  exit $1
 
5095
} # as_fn_exit
 
5096
 
 
5097
# as_fn_unset VAR
 
5098
# ---------------
 
5099
# Portably unset VAR.
 
5100
as_fn_unset ()
 
5101
{
 
5102
  { eval $1=; unset $1;}
 
5103
}
 
5104
as_unset=as_fn_unset
 
5105
# as_fn_append VAR VALUE
 
5106
# ----------------------
 
5107
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
5108
# advantage of any shell optimizations that allow amortized linear growth over
 
5109
# repeated appends, instead of the typical quadratic growth present in naive
 
5110
# implementations.
 
5111
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5112
  eval 'as_fn_append ()
 
5113
  {
 
5114
    eval $1+=\$2
 
5115
  }'
 
5116
else
 
5117
  as_fn_append ()
 
5118
  {
 
5119
    eval $1=\$$1\$2
 
5120
  }
 
5121
fi # as_fn_append
 
5122
 
 
5123
# as_fn_arith ARG...
 
5124
# ------------------
 
5125
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5126
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5127
# must be portable across $(()) and expr.
 
5128
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5129
  eval 'as_fn_arith ()
 
5130
  {
 
5131
    as_val=$(( $* ))
 
5132
  }'
 
5133
else
 
5134
  as_fn_arith ()
 
5135
  {
 
5136
    as_val=`expr "$@" || test $? -eq 1`
 
5137
  }
 
5138
fi # as_fn_arith
 
5139
 
 
5140
 
6386
5141
if expr a : '\(a\)' >/dev/null 2>&1 &&
6387
5142
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6388
5143
  as_expr=expr
6396
5151
  as_basename=false
6397
5152
fi
6398
5153
 
 
5154
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5155
  as_dirname=dirname
 
5156
else
 
5157
  as_dirname=false
 
5158
fi
6399
5159
 
6400
 
# Name of the executable.
6401
5160
as_me=`$as_basename -- "$0" ||
6402
5161
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6403
5162
         X"$0" : 'X\(//\)$' \| \
6417
5176
          }
6418
5177
          s/.*/./; q'`
6419
5178
 
6420
 
# CDPATH.
6421
 
$as_unset CDPATH
6422
 
 
6423
 
 
6424
 
 
6425
 
  as_lineno_1=$LINENO
6426
 
  as_lineno_2=$LINENO
6427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
6428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6429
 
 
6430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
6432
 
  # line-number line after each line using $LINENO; the second 'sed'
6433
 
  # does the real work.  The second script uses 'N' to pair each
6434
 
  # line-number line with the line containing $LINENO, and appends
6435
 
  # trailing '-' during substitution so that $LINENO is not a special
6436
 
  # case at line end.
6437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
6439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
6440
 
  sed -n '
6441
 
    p
6442
 
    /[$]LINENO/=
6443
 
  ' <$as_myself |
6444
 
    sed '
6445
 
      s/[$]LINENO.*/&-/
6446
 
      t lineno
6447
 
      b
6448
 
      :lineno
6449
 
      N
6450
 
      :loop
6451
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6452
 
      t loop
6453
 
      s/-\n.*//
6454
 
    ' >$as_me.lineno &&
6455
 
  chmod +x "$as_me.lineno" ||
6456
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6457
 
   { (exit 1); exit 1; }; }
6458
 
 
6459
 
  # Don't try to exec as it changes $[0], causing all sort of problems
6460
 
  # (the dirname of $[0] is not the place where we might find the
6461
 
  # original and so on.  Autoconf is especially sensitive to this).
6462
 
  . "./$as_me.lineno"
6463
 
  # Exit status is that of the last command.
6464
 
  exit
6465
 
}
6466
 
 
6467
 
 
6468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6469
 
  as_dirname=dirname
6470
 
else
6471
 
  as_dirname=false
6472
 
fi
 
5179
# Avoid depending upon Character Ranges.
 
5180
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5181
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5182
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5183
as_cr_digits='0123456789'
 
5184
as_cr_alnum=$as_cr_Letters$as_cr_digits
6473
5185
 
6474
5186
ECHO_C= ECHO_N= ECHO_T=
6475
 
case `echo -n x` in
 
5187
case `echo -n x` in #(((((
6476
5188
-n*)
6477
 
  case `echo 'x\c'` in
 
5189
  case `echo 'xy\c'` in
6478
5190
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6479
 
  *)   ECHO_C='\c';;
 
5191
  xy)  ECHO_C='\c';;
 
5192
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5193
       ECHO_T=' ';;
6480
5194
  esac;;
6481
5195
*)
6482
5196
  ECHO_N='-n';;
6483
5197
esac
6484
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
6485
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6486
 
  as_expr=expr
6487
 
else
6488
 
  as_expr=false
6489
 
fi
6490
5198
 
6491
5199
rm -f conf$$ conf$$.exe conf$$.file
6492
5200
if test -d conf$$.dir; then
6515
5223
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6516
5224
rmdir conf$$.dir 2>/dev/null
6517
5225
 
 
5226
 
 
5227
# as_fn_mkdir_p
 
5228
# -------------
 
5229
# Create "$as_dir" as a directory, including parents if necessary.
 
5230
as_fn_mkdir_p ()
 
5231
{
 
5232
 
 
5233
  case $as_dir in #(
 
5234
  -*) as_dir=./$as_dir;;
 
5235
  esac
 
5236
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5237
    as_dirs=
 
5238
    while :; do
 
5239
      case $as_dir in #(
 
5240
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5241
      *) as_qdir=$as_dir;;
 
5242
      esac
 
5243
      as_dirs="'$as_qdir' $as_dirs"
 
5244
      as_dir=`$as_dirname -- "$as_dir" ||
 
5245
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5246
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5247
         X"$as_dir" : 'X\(//\)$' \| \
 
5248
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5249
$as_echo X"$as_dir" |
 
5250
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5251
            s//\1/
 
5252
            q
 
5253
          }
 
5254
          /^X\(\/\/\)[^/].*/{
 
5255
            s//\1/
 
5256
            q
 
5257
          }
 
5258
          /^X\(\/\/\)$/{
 
5259
            s//\1/
 
5260
            q
 
5261
          }
 
5262
          /^X\(\/\).*/{
 
5263
            s//\1/
 
5264
            q
 
5265
          }
 
5266
          s/.*/./; q'`
 
5267
      test -d "$as_dir" && break
 
5268
    done
 
5269
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5270
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
5271
 
 
5272
 
 
5273
} # as_fn_mkdir_p
6518
5274
if mkdir -p . 2>/dev/null; then
6519
 
  as_mkdir_p=:
 
5275
  as_mkdir_p='mkdir -p "$as_dir"'
6520
5276
else
6521
5277
  test -d ./-p && rmdir ./-p
6522
5278
  as_mkdir_p=false
6535
5291
      if test -d "$1"; then
6536
5292
        test -d "$1/.";
6537
5293
      else
6538
 
        case $1 in
 
5294
        case $1 in #(
6539
5295
        -*)set "./$1";;
6540
5296
        esac;
6541
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5297
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6542
5298
        ???[sx]*):;;*)false;;esac;fi
6543
5299
    '\'' sh
6544
5300
  '
6553
5309
 
6554
5310
 
6555
5311
exec 6>&1
 
5312
## ----------------------------------- ##
 
5313
## Main body of $CONFIG_STATUS script. ##
 
5314
## ----------------------------------- ##
 
5315
_ASEOF
 
5316
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6556
5317
 
6557
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5318
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5319
# Save the log message, to keep $0 and so on meaningful, and to
6558
5320
# report actual input values of CONFIG_FILES etc. instead of their
6559
5321
# values after options handling.
6560
5322
ac_log="
6561
 
This file was extended by xeyes $as_me 1.1.0, which was
6562
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
5323
This file was extended by xeyes $as_me 1.1.1, which was
 
5324
generated by GNU Autoconf 2.68.  Invocation command line was
6563
5325
 
6564
5326
  CONFIG_FILES    = $CONFIG_FILES
6565
5327
  CONFIG_HEADERS  = $CONFIG_HEADERS
6591
5353
 
6592
5354
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6593
5355
ac_cs_usage="\
6594
 
\`$as_me' instantiates files from templates according to the
6595
 
current configuration.
 
5356
\`$as_me' instantiates files and other configuration actions
 
5357
from templates according to the current configuration.  Unless the files
 
5358
and actions are specified as TAGs, all are instantiated by default.
6596
5359
 
6597
 
Usage: $0 [OPTION]... [FILE]...
 
5360
Usage: $0 [OPTION]... [TAG]...
6598
5361
 
6599
5362
  -h, --help       print this help, then exit
6600
5363
  -V, --version    print version number and configuration settings, then exit
 
5364
      --config     print configuration, then exit
6601
5365
  -q, --quiet, --silent
6602
5366
                   do not print progress messages
6603
5367
  -d, --debug      don't remove temporary files
6616
5380
Configuration commands:
6617
5381
$config_commands
6618
5382
 
6619
 
Report bugs to <bug-autoconf@gnu.org>."
 
5383
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
6620
5384
 
6621
5385
_ACEOF
6622
5386
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5387
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6623
5388
ac_cs_version="\\
6624
 
xeyes config.status 1.1.0
6625
 
configured by $0, generated by GNU Autoconf 2.63,
6626
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5389
xeyes config.status 1.1.1
 
5390
configured by $0, generated by GNU Autoconf 2.68,
 
5391
  with options \\"\$ac_cs_config\\"
6627
5392
 
6628
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
5393
Copyright (C) 2010 Free Software Foundation, Inc.
6629
5394
This config.status script is free software; the Free Software Foundation
6630
5395
gives unlimited permission to copy, distribute and modify it."
6631
5396
 
6643
5408
while test $# != 0
6644
5409
do
6645
5410
  case $1 in
6646
 
  --*=*)
 
5411
  --*=?*)
6647
5412
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6648
5413
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6649
5414
    ac_shift=:
6650
5415
    ;;
 
5416
  --*=)
 
5417
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5418
    ac_optarg=
 
5419
    ac_shift=:
 
5420
    ;;
6651
5421
  *)
6652
5422
    ac_option=$1
6653
5423
    ac_optarg=$2
6661
5431
    ac_cs_recheck=: ;;
6662
5432
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6663
5433
    $as_echo "$ac_cs_version"; exit ;;
 
5434
  --config | --confi | --conf | --con | --co | --c )
 
5435
    $as_echo "$ac_cs_config"; exit ;;
6664
5436
  --debug | --debu | --deb | --de | --d | -d )
6665
5437
    debug=: ;;
6666
5438
  --file | --fil | --fi | --f )
6667
5439
    $ac_shift
6668
5440
    case $ac_optarg in
6669
5441
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5442
    '') as_fn_error $? "missing file argument" ;;
6670
5443
    esac
6671
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
5444
    as_fn_append CONFIG_FILES " '$ac_optarg'"
6672
5445
    ac_need_defaults=false;;
6673
5446
  --header | --heade | --head | --hea )
6674
5447
    $ac_shift
6675
5448
    case $ac_optarg in
6676
5449
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6677
5450
    esac
6678
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
5451
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6679
5452
    ac_need_defaults=false;;
6680
5453
  --he | --h)
6681
5454
    # Conflict between --help and --header
6682
 
    { $as_echo "$as_me: error: ambiguous option: $1
6683
 
Try \`$0 --help' for more information." >&2
6684
 
   { (exit 1); exit 1; }; };;
 
5455
    as_fn_error $? "ambiguous option: \`$1'
 
5456
Try \`$0 --help' for more information.";;
6685
5457
  --help | --hel | -h )
6686
5458
    $as_echo "$ac_cs_usage"; exit ;;
6687
5459
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6689
5461
    ac_cs_silent=: ;;
6690
5462
 
6691
5463
  # This is an error.
6692
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
6693
 
Try \`$0 --help' for more information." >&2
6694
 
   { (exit 1); exit 1; }; } ;;
 
5464
  -*) as_fn_error $? "unrecognized option: \`$1'
 
5465
Try \`$0 --help' for more information." ;;
6695
5466
 
6696
 
  *) ac_config_targets="$ac_config_targets $1"
 
5467
  *) as_fn_append ac_config_targets " $1"
6697
5468
     ac_need_defaults=false ;;
6698
5469
 
6699
5470
  esac
6748
5519
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6749
5520
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6750
5521
 
6751
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6752
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6753
 
   { (exit 1); exit 1; }; };;
 
5522
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6754
5523
  esac
6755
5524
done
6756
5525
 
6773
5542
# after its creation but before its name has been assigned to `$tmp'.
6774
5543
$debug ||
6775
5544
{
6776
 
  tmp=
 
5545
  tmp= ac_tmp=
6777
5546
  trap 'exit_status=$?
6778
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5547
  : "${ac_tmp:=$tmp}"
 
5548
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6779
5549
' 0
6780
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5550
  trap 'as_fn_exit 1' 1 2 13 15
6781
5551
}
6782
5552
# Create a (secure) tmp directory for tmp files.
6783
5553
 
6784
5554
{
6785
5555
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6786
 
  test -n "$tmp" && test -d "$tmp"
 
5556
  test -d "$tmp"
6787
5557
}  ||
6788
5558
{
6789
5559
  tmp=./conf$$-$RANDOM
6790
5560
  (umask 077 && mkdir "$tmp")
6791
 
} ||
6792
 
{
6793
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6794
 
   { (exit 1); exit 1; }
6795
 
}
 
5561
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5562
ac_tmp=$tmp
6796
5563
 
6797
5564
# Set up the scripts for CONFIG_FILES section.
6798
5565
# No need to generate them if there are no CONFIG_FILES.
6800
5567
if test -n "$CONFIG_FILES"; then
6801
5568
 
6802
5569
 
6803
 
ac_cr='
 
 
b"'"
 
5570
ac_cr=`echo X | tr X '\015'`
 
5571
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5572
# But we know of no other shell where ac_cr would be empty at this
 
5573
# point, so we can use a bashism as a fallback.
 
5574
if test "x$ac_cr" = x; then
 
5575
  eval ac_cr=\$\'\\r\'
 
5576
fi
6804
5577
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6805
5578
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6806
5579
  ac_cs_awk_cr='\\r'
6808
5581
  ac_cs_awk_cr=$ac_cr
6809
5582
fi
6810
5583
 
6811
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5584
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6812
5585
_ACEOF
6813
5586
 
6814
5587
 
6817
5590
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6818
5591
  echo "_ACEOF"
6819
5592
} >conf$$subs.sh ||
6820
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6821
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6822
 
   { (exit 1); exit 1; }; }
6823
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5593
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5594
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6824
5595
ac_delim='%!_!# '
6825
5596
for ac_last_try in false false false false false :; do
6826
5597
  . ./conf$$subs.sh ||
6827
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6828
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6829
 
   { (exit 1); exit 1; }; }
 
5598
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6830
5599
 
6831
5600
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6832
5601
  if test $ac_delim_n = $ac_delim_num; then
6833
5602
    break
6834
5603
  elif $ac_last_try; then
6835
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6836
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6837
 
   { (exit 1); exit 1; }; }
 
5604
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6838
5605
  else
6839
5606
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6840
5607
  fi
6842
5609
rm -f conf$$subs.sh
6843
5610
 
6844
5611
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6845
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5612
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6846
5613
_ACEOF
6847
5614
sed -n '
6848
5615
h
6856
5623
t delim
6857
5624
:nl
6858
5625
h
6859
 
s/\(.\{148\}\).*/\1/
 
5626
s/\(.\{148\}\)..*/\1/
6860
5627
t more1
6861
5628
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6862
5629
p
6870
5637
t nl
6871
5638
:delim
6872
5639
h
6873
 
s/\(.\{148\}\).*/\1/
 
5640
s/\(.\{148\}\)..*/\1/
6874
5641
t more2
6875
5642
s/["\\]/\\&/g; s/^/"/; s/$/"/
6876
5643
p
6890
5657
rm -f conf$$subs.awk
6891
5658
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6892
5659
_ACAWK
6893
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5660
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6894
5661
  for (key in S) S_is_set[key] = 1
6895
5662
  FS = ""
6896
5663
 
6922
5689
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6923
5690
else
6924
5691
  cat
6925
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6926
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6927
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6928
 
   { (exit 1); exit 1; }; }
 
5692
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
5693
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6929
5694
_ACEOF
6930
5695
 
6931
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6932
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5696
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
5697
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6933
5698
# trailing colons and then remove the whole line if VPATH becomes empty
6934
5699
# (actually we leave an empty line to preserve line numbers).
6935
5700
if test "x$srcdir" = x.; then
6936
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
6937
 
s/:*\$(srcdir):*/:/
6938
 
s/:*\${srcdir}:*/:/
6939
 
s/:*@srcdir@:*/:/
6940
 
s/^\([^=]*=[     ]*\):*/\1/
 
5701
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
5702
h
 
5703
s///
 
5704
s/^/:/
 
5705
s/[      ]*$/:/
 
5706
s/:\$(srcdir):/:/g
 
5707
s/:\${srcdir}:/:/g
 
5708
s/:@srcdir@:/:/g
 
5709
s/^:*//
6941
5710
s/:*$//
 
5711
x
 
5712
s/\(=[   ]*\).*/\1/
 
5713
G
 
5714
s/\n//
6942
5715
s/^[^=]*=[       ]*$//
6943
5716
}'
6944
5717
fi
6950
5723
# No need to generate them if there are no CONFIG_HEADERS.
6951
5724
# This happens for instance with `./config.status Makefile'.
6952
5725
if test -n "$CONFIG_HEADERS"; then
6953
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5726
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6954
5727
BEGIN {
6955
5728
_ACEOF
6956
5729
 
6962
5735
# handling of long lines.
6963
5736
ac_delim='%!_!# '
6964
5737
for ac_last_try in false false :; do
6965
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6966
 
  if test -z "$ac_t"; then
 
5738
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
5739
  if test -z "$ac_tt"; then
6967
5740
    break
6968
5741
  elif $ac_last_try; then
6969
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6970
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6971
 
   { (exit 1); exit 1; }; }
 
5742
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6972
5743
  else
6973
5744
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6974
5745
  fi
7053
5824
_ACAWK
7054
5825
_ACEOF
7055
5826
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7056
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7057
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7058
 
   { (exit 1); exit 1; }; }
 
5827
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7059
5828
fi # test -n "$CONFIG_HEADERS"
7060
5829
 
7061
5830
 
7068
5837
  esac
7069
5838
  case $ac_mode$ac_tag in
7070
5839
  :[FHL]*:*);;
7071
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7072
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7073
 
   { (exit 1); exit 1; }; };;
 
5840
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7074
5841
  :[FH]-) ac_tag=-:-;;
7075
5842
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7076
5843
  esac
7089
5856
    for ac_f
7090
5857
    do
7091
5858
      case $ac_f in
7092
 
      -) ac_f="$tmp/stdin";;
 
5859
      -) ac_f="$ac_tmp/stdin";;
7093
5860
      *) # Look for the file first in the build tree, then in the source tree
7094
5861
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
7095
5862
         # because $ac_f cannot contain `:'.
7098
5865
           [\\/$]*) false;;
7099
5866
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7100
5867
           esac ||
7101
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7102
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7103
 
   { (exit 1); exit 1; }; };;
 
5868
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7104
5869
      esac
7105
5870
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7106
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
5871
      as_fn_append ac_file_inputs " '$ac_f'"
7107
5872
    done
7108
5873
 
7109
5874
    # Let's still pretend it is `configure' which instantiates (i.e., don't
7114
5879
        `' by configure.'
7115
5880
    if test x"$ac_file" != x-; then
7116
5881
      configure_input="$ac_file.  $configure_input"
7117
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
5882
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7118
5883
$as_echo "$as_me: creating $ac_file" >&6;}
7119
5884
    fi
7120
5885
    # Neutralize special characters interpreted by sed in replacement strings.
7126
5891
    esac
7127
5892
 
7128
5893
    case $ac_tag in
7129
 
    *:-:* | *:-) cat >"$tmp/stdin" \
7130
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7131
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7132
 
   { (exit 1); exit 1; }; } ;;
 
5894
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
5895
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7133
5896
    esac
7134
5897
    ;;
7135
5898
  esac
7157
5920
            q
7158
5921
          }
7159
5922
          s/.*/./; q'`
7160
 
  { as_dir="$ac_dir"
7161
 
  case $as_dir in #(
7162
 
  -*) as_dir=./$as_dir;;
7163
 
  esac
7164
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7165
 
    as_dirs=
7166
 
    while :; do
7167
 
      case $as_dir in #(
7168
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7169
 
      *) as_qdir=$as_dir;;
7170
 
      esac
7171
 
      as_dirs="'$as_qdir' $as_dirs"
7172
 
      as_dir=`$as_dirname -- "$as_dir" ||
7173
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7174
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7175
 
         X"$as_dir" : 'X\(//\)$' \| \
7176
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7177
 
$as_echo X"$as_dir" |
7178
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7179
 
            s//\1/
7180
 
            q
7181
 
          }
7182
 
          /^X\(\/\/\)[^/].*/{
7183
 
            s//\1/
7184
 
            q
7185
 
          }
7186
 
          /^X\(\/\/\)$/{
7187
 
            s//\1/
7188
 
            q
7189
 
          }
7190
 
          /^X\(\/\).*/{
7191
 
            s//\1/
7192
 
            q
7193
 
          }
7194
 
          s/.*/./; q'`
7195
 
      test -d "$as_dir" && break
7196
 
    done
7197
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7198
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7199
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7200
 
   { (exit 1); exit 1; }; }; }
 
5923
  as_dir="$ac_dir"; as_fn_mkdir_p
7201
5924
  ac_builddir=.
7202
5925
 
7203
5926
case "$ac_dir" in
7254
5977
# If the template does not know about datarootdir, expand it.
7255
5978
# FIXME: This hack should be removed a few years after 2.60.
7256
5979
ac_datarootdir_hack=; ac_datarootdir_seen=
7257
 
 
7258
5980
ac_sed_dataroot='
7259
5981
/datarootdir/ {
7260
5982
  p
7264
5986
/@docdir@/p
7265
5987
/@infodir@/p
7266
5988
/@localedir@/p
7267
 
/@mandir@/p
7268
 
'
 
5989
/@mandir@/p'
7269
5990
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7270
5991
*datarootdir*) ac_datarootdir_seen=yes;;
7271
5992
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7272
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5993
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7273
5994
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7274
5995
_ACEOF
7275
5996
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7279
6000
  s&@infodir@&$infodir&g
7280
6001
  s&@localedir@&$localedir&g
7281
6002
  s&@mandir@&$mandir&g
7282
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
6003
  s&\\\${datarootdir}&$datarootdir&g' ;;
7283
6004
esac
7284
6005
_ACEOF
7285
6006
 
7307
6028
s&@MKDIR_P@&$ac_MKDIR_P&;t t
7308
6029
$ac_datarootdir_hack
7309
6030
"
7310
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7311
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7312
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7313
 
   { (exit 1); exit 1; }; }
 
6031
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
6032
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7314
6033
 
7315
6034
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7316
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7317
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7318
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7319
 
which seems to be undefined.  Please make sure it is defined." >&5
 
6035
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6036
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6037
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
6038
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6039
which seems to be undefined.  Please make sure it is defined" >&5
7320
6040
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7321
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6041
which seems to be undefined.  Please make sure it is defined" >&2;}
7322
6042
 
7323
 
  rm -f "$tmp/stdin"
 
6043
  rm -f "$ac_tmp/stdin"
7324
6044
  case $ac_file in
7325
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
7326
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6045
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6046
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7327
6047
  esac \
7328
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7329
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7330
 
   { (exit 1); exit 1; }; }
 
6048
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7331
6049
 ;;
7332
6050
  :H)
7333
6051
  #
7336
6054
  if test x"$ac_file" != x-; then
7337
6055
    {
7338
6056
      $as_echo "/* $configure_input  */" \
7339
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7340
 
    } >"$tmp/config.h" \
7341
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7342
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7343
 
   { (exit 1); exit 1; }; }
7344
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7345
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6057
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6058
    } >"$ac_tmp/config.h" \
 
6059
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6060
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
6061
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7346
6062
$as_echo "$as_me: $ac_file is unchanged" >&6;}
7347
6063
    else
7348
6064
      rm -f "$ac_file"
7349
 
      mv "$tmp/config.h" "$ac_file" \
7350
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7351
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7352
 
   { (exit 1); exit 1; }; }
 
6065
      mv "$ac_tmp/config.h" "$ac_file" \
 
6066
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7353
6067
    fi
7354
6068
  else
7355
6069
    $as_echo "/* $configure_input  */" \
7356
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7357
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7358
 
$as_echo "$as_me: error: could not create -" >&2;}
7359
 
   { (exit 1); exit 1; }; }
 
6070
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
6071
      || as_fn_error $? "could not create -" "$LINENO" 5
7360
6072
  fi
7361
6073
# Compute "$ac_file"'s index in $config_headers.
7362
6074
_am_arg="$ac_file"
7394
6106
          s/.*/./; q'`/stamp-h$_am_stamp_count
7395
6107
 ;;
7396
6108
 
7397
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6109
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7398
6110
$as_echo "$as_me: executing $ac_file commands" >&6;}
7399
6111
 ;;
7400
6112
  esac
7489
6201
            q
7490
6202
          }
7491
6203
          s/.*/./; q'`
7492
 
      { as_dir=$dirpart/$fdir
7493
 
  case $as_dir in #(
7494
 
  -*) as_dir=./$as_dir;;
7495
 
  esac
7496
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7497
 
    as_dirs=
7498
 
    while :; do
7499
 
      case $as_dir in #(
7500
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7501
 
      *) as_qdir=$as_dir;;
7502
 
      esac
7503
 
      as_dirs="'$as_qdir' $as_dirs"
7504
 
      as_dir=`$as_dirname -- "$as_dir" ||
7505
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7506
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7507
 
         X"$as_dir" : 'X\(//\)$' \| \
7508
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7509
 
$as_echo X"$as_dir" |
7510
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7511
 
            s//\1/
7512
 
            q
7513
 
          }
7514
 
          /^X\(\/\/\)[^/].*/{
7515
 
            s//\1/
7516
 
            q
7517
 
          }
7518
 
          /^X\(\/\/\)$/{
7519
 
            s//\1/
7520
 
            q
7521
 
          }
7522
 
          /^X\(\/\).*/{
7523
 
            s//\1/
7524
 
            q
7525
 
          }
7526
 
          s/.*/./; q'`
7527
 
      test -d "$as_dir" && break
7528
 
    done
7529
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7530
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7531
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7532
 
   { (exit 1); exit 1; }; }; }
 
6204
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
7533
6205
      # echo "creating $dirpart/$file"
7534
6206
      echo '# dummy' > "$dirpart/$file"
7535
6207
    done
7541
6213
done # for ac_tag
7542
6214
 
7543
6215
 
7544
 
{ (exit 0); exit 0; }
 
6216
as_fn_exit 0
7545
6217
_ACEOF
7546
 
chmod +x $CONFIG_STATUS
7547
6218
ac_clean_files=$ac_clean_files_save
7548
6219
 
7549
6220
test $ac_write_fail = 0 ||
7550
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7551
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7552
 
   { (exit 1); exit 1; }; }
 
6221
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7553
6222
 
7554
6223
 
7555
6224
# configure is writing to config.log, and then calls config.status.
7570
6239
  exec 5>>config.log
7571
6240
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7572
6241
  # would make configure fail if this is the last instruction.
7573
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6242
  $ac_cs_success || as_fn_exit 1
7574
6243
fi
7575
6244
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7576
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6245
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7577
6246
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7578
6247
fi
7579
6248