~ubuntu-branches/debian/sid/x11proto-dri2/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-06-05 22:14:02 UTC
  • Revision ID: james.westby@ubuntu.com-20080605221402-1kir09u8mj7vhteb
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.61 for DRI2Proto 1.1.
 
4
#
 
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
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
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
 
54
 
 
55
# Support unset when possible.
 
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
57
  as_unset=unset
 
58
else
 
59
  as_unset=false
 
60
fi
 
61
 
 
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
 
96
# Work around bugs in pre-3.0 UWIN ksh.
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
 
100
PS1='$ '
 
101
PS2='> '
 
102
PS4='+ '
 
103
 
 
104
# NLS nuisances.
 
105
for as_var in \
 
106
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
107
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
108
  LC_TELEPHONE LC_TIME
 
109
do
 
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
111
    eval $as_var=C; export $as_var
 
112
  else
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
114
  fi
 
115
done
 
116
 
 
117
# Required to use basename.
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
120
  as_expr=expr
 
121
else
 
122
  as_expr=false
 
123
fi
 
124
 
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
126
  as_basename=basename
 
127
else
 
128
  as_basename=false
 
129
fi
 
130
 
 
131
 
 
132
# Name of the executable.
 
133
as_me=`$as_basename -- "$0" ||
 
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
135
         X"$0" : 'X\(//\)$' \| \
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
137
echo X/"$0" |
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
 
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
225
do
 
226
  IFS=$as_save_IFS
 
227
  test -z "$as_dir" && as_dir=.
 
228
  case $as_dir in
 
229
         /*)
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
 
234
done
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
429
 
 
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
 
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
 
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
 
449
      N
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
452
      t loop
 
453
      s/-\n.*//
 
454
    ' >$as_me.lineno &&
 
455
  chmod +x "$as_me.lineno" ||
 
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
457
   { (exit 1); exit 1; }; }
 
458
 
 
459
  # Don't try to exec as it changes $[0], causing all sort of problems
 
460
  # (the dirname of $[0] is not the place where we might find the
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
 
463
  # Exit status is that of the last command.
 
464
  exit
 
465
}
 
466
 
 
467
 
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
 
483
esac
 
484
 
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
487
  as_expr=expr
 
488
else
 
489
  as_expr=false
 
490
fi
 
491
 
 
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
 
499
echo >conf$$.file
 
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
507
    as_ln_s='cp -p'
 
508
elif ln conf$$.file conf$$ 2>/dev/null; then
 
509
  as_ln_s=ln
 
510
else
 
511
  as_ln_s='cp -p'
 
512
fi
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
 
515
 
 
516
if mkdir -p . 2>/dev/null; then
 
517
  as_mkdir_p=:
 
518
else
 
519
  test -d ./-p && rmdir ./-p
 
520
  as_mkdir_p=false
 
521
fi
 
522
 
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
 
545
 
 
546
# Sed expression to map a string onto a valid CPP name.
 
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
548
 
 
549
# Sed expression to map a string onto a valid variable name.
 
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
551
 
 
552
 
 
553
 
 
554
exec 7<&0 </dev/null 6>&1
 
555
 
 
556
# Name of the host.
 
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
558
# so uname gets run too.
 
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
560
 
 
561
#
 
562
# Initializations.
 
563
#
 
564
ac_default_prefix=/usr/local
 
565
ac_clean_files=
 
566
ac_config_libobj_dir=.
 
567
LIBOBJS=
 
568
cross_compiling=no
 
569
subdirs=
 
570
MFLAGS=
 
571
MAKEFLAGS=
 
572
SHELL=${CONFIG_SHELL-/bin/sh}
 
573
 
 
574
# Identity of this package.
 
575
PACKAGE_NAME='DRI2Proto'
 
576
PACKAGE_TARNAME='dri2proto'
 
577
PACKAGE_VERSION='1.1'
 
578
PACKAGE_STRING='DRI2Proto 1.1'
 
579
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
580
 
 
581
ac_subst_vars='SHELL
 
582
PATH_SEPARATOR
 
583
PACKAGE_NAME
 
584
PACKAGE_TARNAME
 
585
PACKAGE_VERSION
 
586
PACKAGE_STRING
 
587
PACKAGE_BUGREPORT
 
588
exec_prefix
 
589
prefix
 
590
program_transform_name
 
591
bindir
 
592
sbindir
 
593
libexecdir
 
594
datarootdir
 
595
datadir
 
596
sysconfdir
 
597
sharedstatedir
 
598
localstatedir
 
599
includedir
 
600
oldincludedir
 
601
docdir
 
602
infodir
 
603
htmldir
 
604
dvidir
 
605
pdfdir
 
606
psdir
 
607
libdir
 
608
localedir
 
609
mandir
 
610
DEFS
 
611
ECHO_C
 
612
ECHO_N
 
613
ECHO_T
 
614
LIBS
 
615
build_alias
 
616
host_alias
 
617
target_alias
 
618
INSTALL_PROGRAM
 
619
INSTALL_SCRIPT
 
620
INSTALL_DATA
 
621
am__isrc
 
622
CYGPATH_W
 
623
PACKAGE
 
624
VERSION
 
625
ACLOCAL
 
626
AUTOCONF
 
627
AUTOMAKE
 
628
AUTOHEADER
 
629
MAKEINFO
 
630
install_sh
 
631
STRIP
 
632
INSTALL_STRIP_PROGRAM
 
633
mkdir_p
 
634
AWK
 
635
SET_MAKE
 
636
am__leading_dot
 
637
AMTAR
 
638
am__tar
 
639
am__untar
 
640
LIBOBJS
 
641
LTLIBOBJS'
 
642
ac_subst_files=''
 
643
      ac_precious_vars='build_alias
 
644
host_alias
 
645
target_alias'
 
646
 
 
647
 
 
648
# Initialize some variables set by options.
 
649
ac_init_help=
 
650
ac_init_version=false
 
651
# The variables have the same names as the options, with
 
652
# dashes changed to underlines.
 
653
cache_file=/dev/null
 
654
exec_prefix=NONE
 
655
no_create=
 
656
no_recursion=
 
657
prefix=NONE
 
658
program_prefix=NONE
 
659
program_suffix=NONE
 
660
program_transform_name=s,x,x,
 
661
silent=
 
662
site=
 
663
srcdir=
 
664
verbose=
 
665
x_includes=NONE
 
666
x_libraries=NONE
 
667
 
 
668
# Installation directory options.
 
669
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
670
# and all the variables that are supposed to be based on exec_prefix
 
671
# by default will actually change.
 
672
# Use braces instead of parens because sh, perl, etc. also accept them.
 
673
# (The list follows the same order as the GNU Coding Standards.)
 
674
bindir='${exec_prefix}/bin'
 
675
sbindir='${exec_prefix}/sbin'
 
676
libexecdir='${exec_prefix}/libexec'
 
677
datarootdir='${prefix}/share'
 
678
datadir='${datarootdir}'
 
679
sysconfdir='${prefix}/etc'
 
680
sharedstatedir='${prefix}/com'
 
681
localstatedir='${prefix}/var'
 
682
includedir='${prefix}/include'
 
683
oldincludedir='/usr/include'
 
684
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
685
infodir='${datarootdir}/info'
 
686
htmldir='${docdir}'
 
687
dvidir='${docdir}'
 
688
pdfdir='${docdir}'
 
689
psdir='${docdir}'
 
690
libdir='${exec_prefix}/lib'
 
691
localedir='${datarootdir}/locale'
 
692
mandir='${datarootdir}/man'
 
693
 
 
694
ac_prev=
 
695
ac_dashdash=
 
696
for ac_option
 
697
do
 
698
  # If the previous option needs an argument, assign it.
 
699
  if test -n "$ac_prev"; then
 
700
    eval $ac_prev=\$ac_option
 
701
    ac_prev=
 
702
    continue
 
703
  fi
 
704
 
 
705
  case $ac_option in
 
706
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
707
  *)    ac_optarg=yes ;;
 
708
  esac
 
709
 
 
710
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
711
 
 
712
  case $ac_dashdash$ac_option in
 
713
  --)
 
714
    ac_dashdash=yes ;;
 
715
 
 
716
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
717
    ac_prev=bindir ;;
 
718
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
719
    bindir=$ac_optarg ;;
 
720
 
 
721
  -build | --build | --buil | --bui | --bu)
 
722
    ac_prev=build_alias ;;
 
723
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
724
    build_alias=$ac_optarg ;;
 
725
 
 
726
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
727
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
728
    ac_prev=cache_file ;;
 
729
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
730
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
731
    cache_file=$ac_optarg ;;
 
732
 
 
733
  --config-cache | -C)
 
734
    cache_file=config.cache ;;
 
735
 
 
736
  -datadir | --datadir | --datadi | --datad)
 
737
    ac_prev=datadir ;;
 
738
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
739
    datadir=$ac_optarg ;;
 
740
 
 
741
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
742
  | --dataroo | --dataro | --datar)
 
743
    ac_prev=datarootdir ;;
 
744
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
745
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
746
    datarootdir=$ac_optarg ;;
 
747
 
 
748
  -disable-* | --disable-*)
 
749
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
750
    # Reject names that are not valid shell variable names.
 
751
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
752
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
753
   { (exit 1); exit 1; }; }
 
754
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
755
    eval enable_$ac_feature=no ;;
 
756
 
 
757
  -docdir | --docdir | --docdi | --doc | --do)
 
758
    ac_prev=docdir ;;
 
759
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
760
    docdir=$ac_optarg ;;
 
761
 
 
762
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
763
    ac_prev=dvidir ;;
 
764
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
765
    dvidir=$ac_optarg ;;
 
766
 
 
767
  -enable-* | --enable-*)
 
768
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
769
    # Reject names that are not valid shell variable names.
 
770
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
771
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
772
   { (exit 1); exit 1; }; }
 
773
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
774
    eval enable_$ac_feature=\$ac_optarg ;;
 
775
 
 
776
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
777
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
778
  | --exec | --exe | --ex)
 
779
    ac_prev=exec_prefix ;;
 
780
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
781
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
782
  | --exec=* | --exe=* | --ex=*)
 
783
    exec_prefix=$ac_optarg ;;
 
784
 
 
785
  -gas | --gas | --ga | --g)
 
786
    # Obsolete; use --with-gas.
 
787
    with_gas=yes ;;
 
788
 
 
789
  -help | --help | --hel | --he | -h)
 
790
    ac_init_help=long ;;
 
791
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
792
    ac_init_help=recursive ;;
 
793
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
794
    ac_init_help=short ;;
 
795
 
 
796
  -host | --host | --hos | --ho)
 
797
    ac_prev=host_alias ;;
 
798
  -host=* | --host=* | --hos=* | --ho=*)
 
799
    host_alias=$ac_optarg ;;
 
800
 
 
801
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
802
    ac_prev=htmldir ;;
 
803
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
804
  | --ht=*)
 
805
    htmldir=$ac_optarg ;;
 
806
 
 
807
  -includedir | --includedir | --includedi | --included | --include \
 
808
  | --includ | --inclu | --incl | --inc)
 
809
    ac_prev=includedir ;;
 
810
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
811
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
812
    includedir=$ac_optarg ;;
 
813
 
 
814
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
815
    ac_prev=infodir ;;
 
816
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
817
    infodir=$ac_optarg ;;
 
818
 
 
819
  -libdir | --libdir | --libdi | --libd)
 
820
    ac_prev=libdir ;;
 
821
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
822
    libdir=$ac_optarg ;;
 
823
 
 
824
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
825
  | --libexe | --libex | --libe)
 
826
    ac_prev=libexecdir ;;
 
827
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
828
  | --libexe=* | --libex=* | --libe=*)
 
829
    libexecdir=$ac_optarg ;;
 
830
 
 
831
  -localedir | --localedir | --localedi | --localed | --locale)
 
832
    ac_prev=localedir ;;
 
833
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
834
    localedir=$ac_optarg ;;
 
835
 
 
836
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
837
  | --localstate | --localstat | --localsta | --localst | --locals)
 
838
    ac_prev=localstatedir ;;
 
839
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
840
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
841
    localstatedir=$ac_optarg ;;
 
842
 
 
843
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
844
    ac_prev=mandir ;;
 
845
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
846
    mandir=$ac_optarg ;;
 
847
 
 
848
  -nfp | --nfp | --nf)
 
849
    # Obsolete; use --without-fp.
 
850
    with_fp=no ;;
 
851
 
 
852
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
853
  | --no-cr | --no-c | -n)
 
854
    no_create=yes ;;
 
855
 
 
856
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
857
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
858
    no_recursion=yes ;;
 
859
 
 
860
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
861
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
862
  | --oldin | --oldi | --old | --ol | --o)
 
863
    ac_prev=oldincludedir ;;
 
864
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
865
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
866
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
867
    oldincludedir=$ac_optarg ;;
 
868
 
 
869
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
870
    ac_prev=prefix ;;
 
871
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
872
    prefix=$ac_optarg ;;
 
873
 
 
874
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
875
  | --program-pre | --program-pr | --program-p)
 
876
    ac_prev=program_prefix ;;
 
877
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
878
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
879
    program_prefix=$ac_optarg ;;
 
880
 
 
881
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
882
  | --program-suf | --program-su | --program-s)
 
883
    ac_prev=program_suffix ;;
 
884
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
885
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
886
    program_suffix=$ac_optarg ;;
 
887
 
 
888
  -program-transform-name | --program-transform-name \
 
889
  | --program-transform-nam | --program-transform-na \
 
890
  | --program-transform-n | --program-transform- \
 
891
  | --program-transform | --program-transfor \
 
892
  | --program-transfo | --program-transf \
 
893
  | --program-trans | --program-tran \
 
894
  | --progr-tra | --program-tr | --program-t)
 
895
    ac_prev=program_transform_name ;;
 
896
  -program-transform-name=* | --program-transform-name=* \
 
897
  | --program-transform-nam=* | --program-transform-na=* \
 
898
  | --program-transform-n=* | --program-transform-=* \
 
899
  | --program-transform=* | --program-transfor=* \
 
900
  | --program-transfo=* | --program-transf=* \
 
901
  | --program-trans=* | --program-tran=* \
 
902
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
903
    program_transform_name=$ac_optarg ;;
 
904
 
 
905
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
906
    ac_prev=pdfdir ;;
 
907
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
908
    pdfdir=$ac_optarg ;;
 
909
 
 
910
  -psdir | --psdir | --psdi | --psd | --ps)
 
911
    ac_prev=psdir ;;
 
912
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
913
    psdir=$ac_optarg ;;
 
914
 
 
915
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
916
  | -silent | --silent | --silen | --sile | --sil)
 
917
    silent=yes ;;
 
918
 
 
919
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
920
    ac_prev=sbindir ;;
 
921
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
922
  | --sbi=* | --sb=*)
 
923
    sbindir=$ac_optarg ;;
 
924
 
 
925
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
926
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
927
  | --sharedst | --shareds | --shared | --share | --shar \
 
928
  | --sha | --sh)
 
929
    ac_prev=sharedstatedir ;;
 
930
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
931
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
932
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
933
  | --sha=* | --sh=*)
 
934
    sharedstatedir=$ac_optarg ;;
 
935
 
 
936
  -site | --site | --sit)
 
937
    ac_prev=site ;;
 
938
  -site=* | --site=* | --sit=*)
 
939
    site=$ac_optarg ;;
 
940
 
 
941
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
942
    ac_prev=srcdir ;;
 
943
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
944
    srcdir=$ac_optarg ;;
 
945
 
 
946
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
947
  | --syscon | --sysco | --sysc | --sys | --sy)
 
948
    ac_prev=sysconfdir ;;
 
949
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
950
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
951
    sysconfdir=$ac_optarg ;;
 
952
 
 
953
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
954
    ac_prev=target_alias ;;
 
955
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
956
    target_alias=$ac_optarg ;;
 
957
 
 
958
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
959
    verbose=yes ;;
 
960
 
 
961
  -version | --version | --versio | --versi | --vers | -V)
 
962
    ac_init_version=: ;;
 
963
 
 
964
  -with-* | --with-*)
 
965
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
966
    # Reject names that are not valid shell variable names.
 
967
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
968
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
969
   { (exit 1); exit 1; }; }
 
970
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
971
    eval with_$ac_package=\$ac_optarg ;;
 
972
 
 
973
  -without-* | --without-*)
 
974
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
975
    # Reject names that are not valid shell variable names.
 
976
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
977
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
978
   { (exit 1); exit 1; }; }
 
979
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
980
    eval with_$ac_package=no ;;
 
981
 
 
982
  --x)
 
983
    # Obsolete; use --with-x.
 
984
    with_x=yes ;;
 
985
 
 
986
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
987
  | --x-incl | --x-inc | --x-in | --x-i)
 
988
    ac_prev=x_includes ;;
 
989
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
990
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
991
    x_includes=$ac_optarg ;;
 
992
 
 
993
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
994
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
995
    ac_prev=x_libraries ;;
 
996
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
997
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
998
    x_libraries=$ac_optarg ;;
 
999
 
 
1000
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1001
Try \`$0 --help' for more information." >&2
 
1002
   { (exit 1); exit 1; }; }
 
1003
    ;;
 
1004
 
 
1005
  *=*)
 
1006
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1007
    # Reject names that are not valid shell variable names.
 
1008
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1009
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1010
   { (exit 1); exit 1; }; }
 
1011
    eval $ac_envvar=\$ac_optarg
 
1012
    export $ac_envvar ;;
 
1013
 
 
1014
  *)
 
1015
    # FIXME: should be removed in autoconf 3.0.
 
1016
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1017
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1018
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1019
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1020
    ;;
 
1021
 
 
1022
  esac
 
1023
done
 
1024
 
 
1025
if test -n "$ac_prev"; then
 
1026
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1027
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1028
   { (exit 1); exit 1; }; }
 
1029
fi
 
1030
 
 
1031
# Be sure to have absolute directory names.
 
1032
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1033
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1034
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1035
                libdir localedir mandir
 
1036
do
 
1037
  eval ac_val=\$$ac_var
 
1038
  case $ac_val in
 
1039
    [\\/$]* | ?:[\\/]* )  continue;;
 
1040
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1041
  esac
 
1042
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1043
   { (exit 1); exit 1; }; }
 
1044
done
 
1045
 
 
1046
# There might be people who depend on the old broken behavior: `$host'
 
1047
# used to hold the argument of --host etc.
 
1048
# FIXME: To remove some day.
 
1049
build=$build_alias
 
1050
host=$host_alias
 
1051
target=$target_alias
 
1052
 
 
1053
# FIXME: To remove some day.
 
1054
if test "x$host_alias" != x; then
 
1055
  if test "x$build_alias" = x; then
 
1056
    cross_compiling=maybe
 
1057
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1058
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1059
  elif test "x$build_alias" != "x$host_alias"; then
 
1060
    cross_compiling=yes
 
1061
  fi
 
1062
fi
 
1063
 
 
1064
ac_tool_prefix=
 
1065
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1066
 
 
1067
test "$silent" = yes && exec 6>/dev/null
 
1068
 
 
1069
 
 
1070
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1071
ac_ls_di=`ls -di .` &&
 
1072
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1073
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1074
   { (exit 1); exit 1; }; }
 
1075
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1076
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1077
   { (exit 1); exit 1; }; }
 
1078
 
 
1079
 
 
1080
# Find the source files, if location was not specified.
 
1081
if test -z "$srcdir"; then
 
1082
  ac_srcdir_defaulted=yes
 
1083
  # Try the directory containing this script, then the parent directory.
 
1084
  ac_confdir=`$as_dirname -- "$0" ||
 
1085
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1086
         X"$0" : 'X\(//\)[^/]' \| \
 
1087
         X"$0" : 'X\(//\)$' \| \
 
1088
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
1089
echo X"$0" |
 
1090
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1091
            s//\1/
 
1092
            q
 
1093
          }
 
1094
          /^X\(\/\/\)[^/].*/{
 
1095
            s//\1/
 
1096
            q
 
1097
          }
 
1098
          /^X\(\/\/\)$/{
 
1099
            s//\1/
 
1100
            q
 
1101
          }
 
1102
          /^X\(\/\).*/{
 
1103
            s//\1/
 
1104
            q
 
1105
          }
 
1106
          s/.*/./; q'`
 
1107
  srcdir=$ac_confdir
 
1108
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1109
    srcdir=..
 
1110
  fi
 
1111
else
 
1112
  ac_srcdir_defaulted=no
 
1113
fi
 
1114
if test ! -r "$srcdir/$ac_unique_file"; then
 
1115
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1116
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1117
   { (exit 1); exit 1; }; }
 
1118
fi
 
1119
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1120
ac_abs_confdir=`(
 
1121
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1122
   { (exit 1); exit 1; }; }
 
1123
        pwd)`
 
1124
# When building in place, set srcdir=.
 
1125
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1126
  srcdir=.
 
1127
fi
 
1128
# Remove unnecessary trailing slashes from srcdir.
 
1129
# Double slashes in file names in object file debugging info
 
1130
# mess up M-x gdb in Emacs.
 
1131
case $srcdir in
 
1132
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1133
esac
 
1134
for ac_var in $ac_precious_vars; do
 
1135
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1136
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1137
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1138
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1139
done
 
1140
 
 
1141
#
 
1142
# Report the --help message.
 
1143
#
 
1144
if test "$ac_init_help" = "long"; then
 
1145
  # Omit some internal or obsolete options to make the list less imposing.
 
1146
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1147
  cat <<_ACEOF
 
1148
\`configure' configures DRI2Proto 1.1 to adapt to many kinds of systems.
 
1149
 
 
1150
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1151
 
 
1152
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1153
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1154
 
 
1155
Defaults for the options are specified in brackets.
 
1156
 
 
1157
Configuration:
 
1158
  -h, --help              display this help and exit
 
1159
      --help=short        display options specific to this package
 
1160
      --help=recursive    display the short help of all the included packages
 
1161
  -V, --version           display version information and exit
 
1162
  -q, --quiet, --silent   do not print \`checking...' messages
 
1163
      --cache-file=FILE   cache test results in FILE [disabled]
 
1164
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1165
  -n, --no-create         do not create output files
 
1166
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1167
 
 
1168
Installation directories:
 
1169
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1170
                          [$ac_default_prefix]
 
1171
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1172
                          [PREFIX]
 
1173
 
 
1174
By default, \`make install' will install all the files in
 
1175
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1176
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1177
for instance \`--prefix=\$HOME'.
 
1178
 
 
1179
For better control, use the options below.
 
1180
 
 
1181
Fine tuning of the installation directories:
 
1182
  --bindir=DIR           user executables [EPREFIX/bin]
 
1183
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
1184
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
1185
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
1186
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
1187
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
1188
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
1189
  --includedir=DIR       C header files [PREFIX/include]
 
1190
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
1191
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1192
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1193
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1194
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1195
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1196
  --docdir=DIR           documentation root [DATAROOTDIR/doc/dri2proto]
 
1197
  --htmldir=DIR          html documentation [DOCDIR]
 
1198
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1199
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1200
  --psdir=DIR            ps documentation [DOCDIR]
 
1201
_ACEOF
 
1202
 
 
1203
  cat <<\_ACEOF
 
1204
 
 
1205
Program names:
 
1206
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1207
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1208
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1209
_ACEOF
 
1210
fi
 
1211
 
 
1212
if test -n "$ac_init_help"; then
 
1213
  case $ac_init_help in
 
1214
     short | recursive ) echo "Configuration of DRI2Proto 1.1:";;
 
1215
   esac
 
1216
  cat <<\_ACEOF
 
1217
 
 
1218
Optional Packages:
 
1219
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1220
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1221
  --with-release-version=STRING
 
1222
                          Use release version string in package name
 
1223
 
 
1224
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
 
1225
_ACEOF
 
1226
ac_status=$?
 
1227
fi
 
1228
 
 
1229
if test "$ac_init_help" = "recursive"; then
 
1230
  # If there are subdirs, report their specific --help.
 
1231
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1232
    test -d "$ac_dir" || continue
 
1233
    ac_builddir=.
 
1234
 
 
1235
case "$ac_dir" in
 
1236
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1237
*)
 
1238
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1239
  # A ".." for each directory in $ac_dir_suffix.
 
1240
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1241
  case $ac_top_builddir_sub in
 
1242
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1243
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1244
  esac ;;
 
1245
esac
 
1246
ac_abs_top_builddir=$ac_pwd
 
1247
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1248
# for backward compatibility:
 
1249
ac_top_builddir=$ac_top_build_prefix
 
1250
 
 
1251
case $srcdir in
 
1252
  .)  # We are building in place.
 
1253
    ac_srcdir=.
 
1254
    ac_top_srcdir=$ac_top_builddir_sub
 
1255
    ac_abs_top_srcdir=$ac_pwd ;;
 
1256
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1257
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1258
    ac_top_srcdir=$srcdir
 
1259
    ac_abs_top_srcdir=$srcdir ;;
 
1260
  *) # Relative name.
 
1261
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1262
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1263
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1264
esac
 
1265
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1266
 
 
1267
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1268
    # Check for guested configure.
 
1269
    if test -f "$ac_srcdir/configure.gnu"; then
 
1270
      echo &&
 
1271
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1272
    elif test -f "$ac_srcdir/configure"; then
 
1273
      echo &&
 
1274
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1275
    else
 
1276
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1277
    fi || ac_status=$?
 
1278
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1279
  done
 
1280
fi
 
1281
 
 
1282
test -n "$ac_init_help" && exit $ac_status
 
1283
if $ac_init_version; then
 
1284
  cat <<\_ACEOF
 
1285
DRI2Proto configure 1.1
 
1286
generated by GNU Autoconf 2.61
 
1287
 
 
1288
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1289
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1290
This configure script is free software; the Free Software Foundation
 
1291
gives unlimited permission to copy, distribute and modify it.
 
1292
_ACEOF
 
1293
  exit
 
1294
fi
 
1295
cat >config.log <<_ACEOF
 
1296
This file contains any messages produced by compilers while
 
1297
running configure, to aid debugging if configure makes a mistake.
 
1298
 
 
1299
It was created by DRI2Proto $as_me 1.1, which was
 
1300
generated by GNU Autoconf 2.61.  Invocation command line was
 
1301
 
 
1302
  $ $0 $@
 
1303
 
 
1304
_ACEOF
 
1305
exec 5>>config.log
 
1306
{
 
1307
cat <<_ASUNAME
 
1308
## --------- ##
 
1309
## Platform. ##
 
1310
## --------- ##
 
1311
 
 
1312
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1313
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1314
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1315
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1316
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1317
 
 
1318
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1319
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1320
 
 
1321
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1322
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1323
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1324
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1325
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1326
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1327
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1328
 
 
1329
_ASUNAME
 
1330
 
 
1331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1332
for as_dir in $PATH
 
1333
do
 
1334
  IFS=$as_save_IFS
 
1335
  test -z "$as_dir" && as_dir=.
 
1336
  echo "PATH: $as_dir"
 
1337
done
 
1338
IFS=$as_save_IFS
 
1339
 
 
1340
} >&5
 
1341
 
 
1342
cat >&5 <<_ACEOF
 
1343
 
 
1344
 
 
1345
## ----------- ##
 
1346
## Core tests. ##
 
1347
## ----------- ##
 
1348
 
 
1349
_ACEOF
 
1350
 
 
1351
 
 
1352
# Keep a trace of the command line.
 
1353
# Strip out --no-create and --no-recursion so they do not pile up.
 
1354
# Strip out --silent because we don't want to record it for future runs.
 
1355
# Also quote any args containing shell meta-characters.
 
1356
# Make two passes to allow for proper duplicate-argument suppression.
 
1357
ac_configure_args=
 
1358
ac_configure_args0=
 
1359
ac_configure_args1=
 
1360
ac_must_keep_next=false
 
1361
for ac_pass in 1 2
 
1362
do
 
1363
  for ac_arg
 
1364
  do
 
1365
    case $ac_arg in
 
1366
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1367
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1368
    | -silent | --silent | --silen | --sile | --sil)
 
1369
      continue ;;
 
1370
    *\'*)
 
1371
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1372
    esac
 
1373
    case $ac_pass in
 
1374
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1375
    2)
 
1376
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1377
      if test $ac_must_keep_next = true; then
 
1378
        ac_must_keep_next=false # Got value, back to normal.
 
1379
      else
 
1380
        case $ac_arg in
 
1381
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1382
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1383
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1384
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1385
            case "$ac_configure_args0 " in
 
1386
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1387
            esac
 
1388
            ;;
 
1389
          -* ) ac_must_keep_next=true ;;
 
1390
        esac
 
1391
      fi
 
1392
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1393
      ;;
 
1394
    esac
 
1395
  done
 
1396
done
 
1397
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1398
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1399
 
 
1400
# When interrupted or exit'd, cleanup temporary files, and complete
 
1401
# config.log.  We remove comments because anyway the quotes in there
 
1402
# would cause problems or look ugly.
 
1403
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1404
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1405
trap 'exit_status=$?
 
1406
  # Save into config.log some information that might help in debugging.
 
1407
  {
 
1408
    echo
 
1409
 
 
1410
    cat <<\_ASBOX
 
1411
## ---------------- ##
 
1412
## Cache variables. ##
 
1413
## ---------------- ##
 
1414
_ASBOX
 
1415
    echo
 
1416
    # The following way of writing the cache mishandles newlines in values,
 
1417
(
 
1418
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1419
    eval ac_val=\$$ac_var
 
1420
    case $ac_val in #(
 
1421
    *${as_nl}*)
 
1422
      case $ac_var in #(
 
1423
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1424
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1425
      esac
 
1426
      case $ac_var in #(
 
1427
      _ | IFS | as_nl) ;; #(
 
1428
      *) $as_unset $ac_var ;;
 
1429
      esac ;;
 
1430
    esac
 
1431
  done
 
1432
  (set) 2>&1 |
 
1433
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1434
    *${as_nl}ac_space=\ *)
 
1435
      sed -n \
 
1436
        "s/'\''/'\''\\\\'\'''\''/g;
 
1437
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1438
      ;; #(
 
1439
    *)
 
1440
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1441
      ;;
 
1442
    esac |
 
1443
    sort
 
1444
)
 
1445
    echo
 
1446
 
 
1447
    cat <<\_ASBOX
 
1448
## ----------------- ##
 
1449
## Output variables. ##
 
1450
## ----------------- ##
 
1451
_ASBOX
 
1452
    echo
 
1453
    for ac_var in $ac_subst_vars
 
1454
    do
 
1455
      eval ac_val=\$$ac_var
 
1456
      case $ac_val in
 
1457
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1458
      esac
 
1459
      echo "$ac_var='\''$ac_val'\''"
 
1460
    done | sort
 
1461
    echo
 
1462
 
 
1463
    if test -n "$ac_subst_files"; then
 
1464
      cat <<\_ASBOX
 
1465
## ------------------- ##
 
1466
## File substitutions. ##
 
1467
## ------------------- ##
 
1468
_ASBOX
 
1469
      echo
 
1470
      for ac_var in $ac_subst_files
 
1471
      do
 
1472
        eval ac_val=\$$ac_var
 
1473
        case $ac_val in
 
1474
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1475
        esac
 
1476
        echo "$ac_var='\''$ac_val'\''"
 
1477
      done | sort
 
1478
      echo
 
1479
    fi
 
1480
 
 
1481
    if test -s confdefs.h; then
 
1482
      cat <<\_ASBOX
 
1483
## ----------- ##
 
1484
## confdefs.h. ##
 
1485
## ----------- ##
 
1486
_ASBOX
 
1487
      echo
 
1488
      cat confdefs.h
 
1489
      echo
 
1490
    fi
 
1491
    test "$ac_signal" != 0 &&
 
1492
      echo "$as_me: caught signal $ac_signal"
 
1493
    echo "$as_me: exit $exit_status"
 
1494
  } >&5
 
1495
  rm -f core *.core core.conftest.* &&
 
1496
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1497
    exit $exit_status
 
1498
' 0
 
1499
for ac_signal in 1 2 13 15; do
 
1500
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1501
done
 
1502
ac_signal=0
 
1503
 
 
1504
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1505
rm -f -r conftest* confdefs.h
 
1506
 
 
1507
# Predefined preprocessor variables.
 
1508
 
 
1509
cat >>confdefs.h <<_ACEOF
 
1510
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1511
_ACEOF
 
1512
 
 
1513
 
 
1514
cat >>confdefs.h <<_ACEOF
 
1515
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1516
_ACEOF
 
1517
 
 
1518
 
 
1519
cat >>confdefs.h <<_ACEOF
 
1520
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1521
_ACEOF
 
1522
 
 
1523
 
 
1524
cat >>confdefs.h <<_ACEOF
 
1525
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1526
_ACEOF
 
1527
 
 
1528
 
 
1529
cat >>confdefs.h <<_ACEOF
 
1530
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1531
_ACEOF
 
1532
 
 
1533
 
 
1534
# Let the site file select an alternate cache file if it wants to.
 
1535
# Prefer explicitly selected file to automatically selected ones.
 
1536
if test -n "$CONFIG_SITE"; then
 
1537
  set x "$CONFIG_SITE"
 
1538
elif test "x$prefix" != xNONE; then
 
1539
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1540
else
 
1541
  set x "$ac_default_prefix/share/config.site" \
 
1542
        "$ac_default_prefix/etc/config.site"
 
1543
fi
 
1544
shift
 
1545
for ac_site_file
 
1546
do
 
1547
  if test -r "$ac_site_file"; then
 
1548
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1549
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1550
    sed 's/^/| /' "$ac_site_file" >&5
 
1551
    . "$ac_site_file"
 
1552
  fi
 
1553
done
 
1554
 
 
1555
if test -r "$cache_file"; then
 
1556
  # Some versions of bash will fail to source /dev/null (special
 
1557
  # files actually), so we avoid doing that.
 
1558
  if test -f "$cache_file"; then
 
1559
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1560
echo "$as_me: loading cache $cache_file" >&6;}
 
1561
    case $cache_file in
 
1562
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1563
      *)                      . "./$cache_file";;
 
1564
    esac
 
1565
  fi
 
1566
else
 
1567
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1568
echo "$as_me: creating cache $cache_file" >&6;}
 
1569
  >$cache_file
 
1570
fi
 
1571
 
 
1572
# Check that the precious variables saved in the cache have kept the same
 
1573
# value.
 
1574
ac_cache_corrupted=false
 
1575
for ac_var in $ac_precious_vars; do
 
1576
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1577
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1578
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1579
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1580
  case $ac_old_set,$ac_new_set in
 
1581
    set,)
 
1582
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1583
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1584
      ac_cache_corrupted=: ;;
 
1585
    ,set)
 
1586
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1587
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1588
      ac_cache_corrupted=: ;;
 
1589
    ,);;
 
1590
    *)
 
1591
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1592
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1593
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1594
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1595
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1596
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1597
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1598
        ac_cache_corrupted=:
 
1599
      fi;;
 
1600
  esac
 
1601
  # Pass precious variables to config.status.
 
1602
  if test "$ac_new_set" = set; then
 
1603
    case $ac_new_val in
 
1604
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1605
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1606
    esac
 
1607
    case " $ac_configure_args " in
 
1608
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1609
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1610
    esac
 
1611
  fi
 
1612
done
 
1613
if $ac_cache_corrupted; then
 
1614
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1615
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1616
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1617
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1618
   { (exit 1); exit 1; }; }
 
1619
fi
 
1620
 
 
1621
 
 
1622
 
 
1623
 
 
1624
 
 
1625
 
 
1626
 
 
1627
 
 
1628
 
 
1629
 
 
1630
 
 
1631
 
 
1632
 
 
1633
 
 
1634
 
 
1635
 
 
1636
 
 
1637
 
 
1638
 
 
1639
 
 
1640
 
 
1641
 
 
1642
 
 
1643
 
 
1644
 
 
1645
ac_ext=c
 
1646
ac_cpp='$CPP $CPPFLAGS'
 
1647
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1648
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1649
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1650
 
 
1651
 
 
1652
am__api_version='1.10'
 
1653
 
 
1654
ac_aux_dir=
 
1655
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1656
  if test -f "$ac_dir/install-sh"; then
 
1657
    ac_aux_dir=$ac_dir
 
1658
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1659
    break
 
1660
  elif test -f "$ac_dir/install.sh"; then
 
1661
    ac_aux_dir=$ac_dir
 
1662
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1663
    break
 
1664
  elif test -f "$ac_dir/shtool"; then
 
1665
    ac_aux_dir=$ac_dir
 
1666
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1667
    break
 
1668
  fi
 
1669
done
 
1670
if test -z "$ac_aux_dir"; then
 
1671
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1672
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1673
   { (exit 1); exit 1; }; }
 
1674
fi
 
1675
 
 
1676
# These three variables are undocumented and unsupported,
 
1677
# and are intended to be withdrawn in a future Autoconf release.
 
1678
# They can cause serious problems if a builder's source tree is in a directory
 
1679
# whose full name contains unusual characters.
 
1680
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1681
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1682
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1683
 
 
1684
 
 
1685
# Find a good install program.  We prefer a C program (faster),
 
1686
# so one script is as good as another.  But avoid the broken or
 
1687
# incompatible versions:
 
1688
# SysV /etc/install, /usr/sbin/install
 
1689
# SunOS /usr/etc/install
 
1690
# IRIX /sbin/install
 
1691
# AIX /bin/install
 
1692
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1693
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1694
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1695
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1696
# OS/2's system install, which has a completely different semantic
 
1697
# ./install, which can be erroneously created by make from ./install.sh.
 
1698
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1699
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1700
if test -z "$INSTALL"; then
 
1701
if test "${ac_cv_path_install+set}" = set; then
 
1702
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1703
else
 
1704
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1705
for as_dir in $PATH
 
1706
do
 
1707
  IFS=$as_save_IFS
 
1708
  test -z "$as_dir" && as_dir=.
 
1709
  # Account for people who put trailing slashes in PATH elements.
 
1710
case $as_dir/ in
 
1711
  ./ | .// | /cC/* | \
 
1712
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1713
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1714
  /usr/ucb/* ) ;;
 
1715
  *)
 
1716
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1717
    # Don't use installbsd from OSF since it installs stuff as root
 
1718
    # by default.
 
1719
    for ac_prog in ginstall scoinst install; do
 
1720
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1721
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1722
          if test $ac_prog = install &&
 
1723
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1724
            # AIX install.  It has an incompatible calling convention.
 
1725
            :
 
1726
          elif test $ac_prog = install &&
 
1727
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1728
            # program-specific install script used by HP pwplus--don't use.
 
1729
            :
 
1730
          else
 
1731
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1732
            break 3
 
1733
          fi
 
1734
        fi
 
1735
      done
 
1736
    done
 
1737
    ;;
 
1738
esac
 
1739
done
 
1740
IFS=$as_save_IFS
 
1741
 
 
1742
 
 
1743
fi
 
1744
  if test "${ac_cv_path_install+set}" = set; then
 
1745
    INSTALL=$ac_cv_path_install
 
1746
  else
 
1747
    # As a last resort, use the slow shell script.  Don't cache a
 
1748
    # value for INSTALL within a source directory, because that will
 
1749
    # break other packages using the cache if that directory is
 
1750
    # removed, or if the value is a relative name.
 
1751
    INSTALL=$ac_install_sh
 
1752
  fi
 
1753
fi
 
1754
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1755
echo "${ECHO_T}$INSTALL" >&6; }
 
1756
 
 
1757
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1758
# It thinks the first close brace ends the variable substitution.
 
1759
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1760
 
 
1761
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1762
 
 
1763
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1764
 
 
1765
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1766
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1767
# Just in case
 
1768
sleep 1
 
1769
echo timestamp > conftest.file
 
1770
# Do `set' in a subshell so we don't clobber the current shell's
 
1771
# arguments.  Must try -L first in case configure is actually a
 
1772
# symlink; some systems play weird games with the mod time of symlinks
 
1773
# (eg FreeBSD returns the mod time of the symlink's containing
 
1774
# directory).
 
1775
if (
 
1776
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1777
   if test "$*" = "X"; then
 
1778
      # -L didn't work.
 
1779
      set X `ls -t $srcdir/configure conftest.file`
 
1780
   fi
 
1781
   rm -f conftest.file
 
1782
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1783
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1784
 
 
1785
      # If neither matched, then we have a broken ls.  This can happen
 
1786
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1787
      # broken ls alias from the environment.  This has actually
 
1788
      # happened.  Such a system could not be considered "sane".
 
1789
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1790
alias in your environment" >&5
 
1791
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1792
alias in your environment" >&2;}
 
1793
   { (exit 1); exit 1; }; }
 
1794
   fi
 
1795
 
 
1796
   test "$2" = conftest.file
 
1797
   )
 
1798
then
 
1799
   # Ok.
 
1800
   :
 
1801
else
 
1802
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1803
Check your system clock" >&5
 
1804
echo "$as_me: error: newly created file is older than distributed files!
 
1805
Check your system clock" >&2;}
 
1806
   { (exit 1); exit 1; }; }
 
1807
fi
 
1808
{ echo "$as_me:$LINENO: result: yes" >&5
 
1809
echo "${ECHO_T}yes" >&6; }
 
1810
test "$program_prefix" != NONE &&
 
1811
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
1812
# Use a double $ so make ignores it.
 
1813
test "$program_suffix" != NONE &&
 
1814
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
1815
# Double any \ or $.  echo might interpret backslashes.
 
1816
# By default was `s,x,x', remove it if useless.
 
1817
cat <<\_ACEOF >conftest.sed
 
1818
s/[\\$]/&&/g;s/;s,x,x,$//
 
1819
_ACEOF
 
1820
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1821
rm -f conftest.sed
 
1822
 
 
1823
# expand $ac_aux_dir to an absolute path
 
1824
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1825
 
 
1826
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1827
# Use eval to expand $SHELL
 
1828
if eval "$MISSING --run true"; then
 
1829
  am_missing_run="$MISSING --run "
 
1830
else
 
1831
  am_missing_run=
 
1832
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1833
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1834
fi
 
1835
 
 
1836
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
1837
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
1838
if test -z "$MKDIR_P"; then
 
1839
  if test "${ac_cv_path_mkdir+set}" = set; then
 
1840
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1841
else
 
1842
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1843
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
1844
do
 
1845
  IFS=$as_save_IFS
 
1846
  test -z "$as_dir" && as_dir=.
 
1847
  for ac_prog in mkdir gmkdir; do
 
1848
         for ac_exec_ext in '' $ac_executable_extensions; do
 
1849
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
1850
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
1851
             'mkdir (GNU coreutils) '* | \
 
1852
             'mkdir (coreutils) '* | \
 
1853
             'mkdir (fileutils) '4.1*)
 
1854
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
1855
               break 3;;
 
1856
           esac
 
1857
         done
 
1858
       done
 
1859
done
 
1860
IFS=$as_save_IFS
 
1861
 
 
1862
fi
 
1863
 
 
1864
  if test "${ac_cv_path_mkdir+set}" = set; then
 
1865
    MKDIR_P="$ac_cv_path_mkdir -p"
 
1866
  else
 
1867
    # As a last resort, use the slow shell script.  Don't cache a
 
1868
    # value for MKDIR_P within a source directory, because that will
 
1869
    # break other packages using the cache if that directory is
 
1870
    # removed, or if the value is a relative name.
 
1871
    test -d ./--version && rmdir ./--version
 
1872
    MKDIR_P="$ac_install_sh -d"
 
1873
  fi
 
1874
fi
 
1875
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
1876
echo "${ECHO_T}$MKDIR_P" >&6; }
 
1877
 
 
1878
mkdir_p="$MKDIR_P"
 
1879
case $mkdir_p in
 
1880
  [\\/$]* | ?:[\\/]*) ;;
 
1881
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
1882
esac
 
1883
 
 
1884
for ac_prog in gawk mawk nawk awk
 
1885
do
 
1886
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1887
set dummy $ac_prog; ac_word=$2
 
1888
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1889
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1890
if test "${ac_cv_prog_AWK+set}" = set; then
 
1891
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1892
else
 
1893
  if test -n "$AWK"; then
 
1894
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1895
else
 
1896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1897
for as_dir in $PATH
 
1898
do
 
1899
  IFS=$as_save_IFS
 
1900
  test -z "$as_dir" && as_dir=.
 
1901
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1902
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1903
    ac_cv_prog_AWK="$ac_prog"
 
1904
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1905
    break 2
 
1906
  fi
 
1907
done
 
1908
done
 
1909
IFS=$as_save_IFS
 
1910
 
 
1911
fi
 
1912
fi
 
1913
AWK=$ac_cv_prog_AWK
 
1914
if test -n "$AWK"; then
 
1915
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
1916
echo "${ECHO_T}$AWK" >&6; }
 
1917
else
 
1918
  { echo "$as_me:$LINENO: result: no" >&5
 
1919
echo "${ECHO_T}no" >&6; }
 
1920
fi
 
1921
 
 
1922
 
 
1923
  test -n "$AWK" && break
 
1924
done
 
1925
 
 
1926
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1927
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1928
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1929
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
1930
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1931
else
 
1932
  cat >conftest.make <<\_ACEOF
 
1933
SHELL = /bin/sh
 
1934
all:
 
1935
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
1936
_ACEOF
 
1937
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1938
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1939
  *@@@%%%=?*=@@@%%%*)
 
1940
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1941
  *)
 
1942
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1943
esac
 
1944
rm -f conftest.make
 
1945
fi
 
1946
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1947
  { echo "$as_me:$LINENO: result: yes" >&5
 
1948
echo "${ECHO_T}yes" >&6; }
 
1949
  SET_MAKE=
 
1950
else
 
1951
  { echo "$as_me:$LINENO: result: no" >&5
 
1952
echo "${ECHO_T}no" >&6; }
 
1953
  SET_MAKE="MAKE=${MAKE-make}"
 
1954
fi
 
1955
 
 
1956
rm -rf .tst 2>/dev/null
 
1957
mkdir .tst 2>/dev/null
 
1958
if test -d .tst; then
 
1959
  am__leading_dot=.
 
1960
else
 
1961
  am__leading_dot=_
 
1962
fi
 
1963
rmdir .tst 2>/dev/null
 
1964
 
 
1965
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
1966
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
1967
  # is not polluted with repeated "-I."
 
1968
  am__isrc=' -I$(srcdir)'
 
1969
  # test to see if srcdir already configured
 
1970
  if test -f $srcdir/config.status; then
 
1971
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1972
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
1973
   { (exit 1); exit 1; }; }
 
1974
  fi
 
1975
fi
 
1976
 
 
1977
# test whether we have cygpath
 
1978
if test -z "$CYGPATH_W"; then
 
1979
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1980
    CYGPATH_W='cygpath -w'
 
1981
  else
 
1982
    CYGPATH_W=echo
 
1983
  fi
 
1984
fi
 
1985
 
 
1986
 
 
1987
# Define the identity of the package.
 
1988
 PACKAGE='dri2proto'
 
1989
 VERSION='1.1'
 
1990
 
 
1991
 
 
1992
cat >>confdefs.h <<_ACEOF
 
1993
#define PACKAGE "$PACKAGE"
 
1994
_ACEOF
 
1995
 
 
1996
 
 
1997
cat >>confdefs.h <<_ACEOF
 
1998
#define VERSION "$VERSION"
 
1999
_ACEOF
 
2000
 
 
2001
# Some tools Automake needs.
 
2002
 
 
2003
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2004
 
 
2005
 
 
2006
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2007
 
 
2008
 
 
2009
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2010
 
 
2011
 
 
2012
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2013
 
 
2014
 
 
2015
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2016
 
 
2017
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2018
 
 
2019
# Installed binaries are usually stripped using `strip' when the user
 
2020
# run `make install-strip'.  However `strip' might not be the right
 
2021
# tool to use in cross-compilation environments, therefore Automake
 
2022
# will honor the `STRIP' environment variable to overrule this program.
 
2023
if test "$cross_compiling" != no; then
 
2024
  if test -n "$ac_tool_prefix"; then
 
2025
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2026
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2027
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2028
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2029
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2030
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2031
else
 
2032
  if test -n "$STRIP"; then
 
2033
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2034
else
 
2035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2036
for as_dir in $PATH
 
2037
do
 
2038
  IFS=$as_save_IFS
 
2039
  test -z "$as_dir" && as_dir=.
 
2040
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2041
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2042
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2043
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2044
    break 2
 
2045
  fi
 
2046
done
 
2047
done
 
2048
IFS=$as_save_IFS
 
2049
 
 
2050
fi
 
2051
fi
 
2052
STRIP=$ac_cv_prog_STRIP
 
2053
if test -n "$STRIP"; then
 
2054
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2055
echo "${ECHO_T}$STRIP" >&6; }
 
2056
else
 
2057
  { echo "$as_me:$LINENO: result: no" >&5
 
2058
echo "${ECHO_T}no" >&6; }
 
2059
fi
 
2060
 
 
2061
 
 
2062
fi
 
2063
if test -z "$ac_cv_prog_STRIP"; then
 
2064
  ac_ct_STRIP=$STRIP
 
2065
  # Extract the first word of "strip", so it can be a program name with args.
 
2066
set dummy strip; ac_word=$2
 
2067
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2068
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2069
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2070
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2071
else
 
2072
  if test -n "$ac_ct_STRIP"; then
 
2073
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2074
else
 
2075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2076
for as_dir in $PATH
 
2077
do
 
2078
  IFS=$as_save_IFS
 
2079
  test -z "$as_dir" && as_dir=.
 
2080
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2081
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2082
    ac_cv_prog_ac_ct_STRIP="strip"
 
2083
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2084
    break 2
 
2085
  fi
 
2086
done
 
2087
done
 
2088
IFS=$as_save_IFS
 
2089
 
 
2090
fi
 
2091
fi
 
2092
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2093
if test -n "$ac_ct_STRIP"; then
 
2094
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2095
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2096
else
 
2097
  { echo "$as_me:$LINENO: result: no" >&5
 
2098
echo "${ECHO_T}no" >&6; }
 
2099
fi
 
2100
 
 
2101
  if test "x$ac_ct_STRIP" = x; then
 
2102
    STRIP=":"
 
2103
  else
 
2104
    case $cross_compiling:$ac_tool_warned in
 
2105
yes:)
 
2106
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2107
whose name does not start with the host triplet.  If you think this
 
2108
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2109
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2110
whose name does not start with the host triplet.  If you think this
 
2111
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2112
ac_tool_warned=yes ;;
 
2113
esac
 
2114
    STRIP=$ac_ct_STRIP
 
2115
  fi
 
2116
else
 
2117
  STRIP="$ac_cv_prog_STRIP"
 
2118
fi
 
2119
 
 
2120
fi
 
2121
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2122
 
 
2123
# We need awk for the "check" target.  The system "awk" is bad on
 
2124
# some platforms.
 
2125
# Always define AMTAR for backward compatibility.
 
2126
 
 
2127
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2128
 
 
2129
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
# Check whether --with-release-version was given.
 
2139
if test "${with_release_version+set}" = set; then
 
2140
  withval=$with_release_version; RELEASE_VERSION="$withval"
 
2141
else
 
2142
  RELEASE_VERSION=""
 
2143
fi
 
2144
 
 
2145
        if test "x$RELEASE_VERSION" != "x"; then
 
2146
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
 
2147
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
 
2148
                { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
 
2149
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
 
2150
        fi
 
2151
 
 
2152
cat >>confdefs.h <<_ACEOF
 
2153
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
2154
_ACEOF
 
2155
 
 
2156
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
 
2157
        if test "x$PVM" = "x"; then
 
2158
                PVM="0"
 
2159
        fi
 
2160
 
 
2161
cat >>confdefs.h <<_ACEOF
 
2162
#define PACKAGE_VERSION_MINOR $PVM
 
2163
_ACEOF
 
2164
 
 
2165
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
 
2166
        if test "x$PVP" = "x"; then
 
2167
                PVP="0"
 
2168
        fi
 
2169
 
 
2170
cat >>confdefs.h <<_ACEOF
 
2171
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
2172
_ACEOF
 
2173
 
 
2174
 
 
2175
 
 
2176
ac_config_files="$ac_config_files Makefile dri2proto.pc"
 
2177
 
 
2178
cat >confcache <<\_ACEOF
 
2179
# This file is a shell script that caches the results of configure
 
2180
# tests run on this system so they can be shared between configure
 
2181
# scripts and configure runs, see configure's option --config-cache.
 
2182
# It is not useful on other systems.  If it contains results you don't
 
2183
# want to keep, you may remove or edit it.
 
2184
#
 
2185
# config.status only pays attention to the cache file if you give it
 
2186
# the --recheck option to rerun configure.
 
2187
#
 
2188
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
2189
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
2190
# following values.
 
2191
 
 
2192
_ACEOF
 
2193
 
 
2194
# The following way of writing the cache mishandles newlines in values,
 
2195
# but we know of no workaround that is simple, portable, and efficient.
 
2196
# So, we kill variables containing newlines.
 
2197
# Ultrix sh set writes to stderr and can't be redirected directly,
 
2198
# and sets the high bit in the cache file unless we assign to the vars.
 
2199
(
 
2200
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
2201
    eval ac_val=\$$ac_var
 
2202
    case $ac_val in #(
 
2203
    *${as_nl}*)
 
2204
      case $ac_var in #(
 
2205
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
2206
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2207
      esac
 
2208
      case $ac_var in #(
 
2209
      _ | IFS | as_nl) ;; #(
 
2210
      *) $as_unset $ac_var ;;
 
2211
      esac ;;
 
2212
    esac
 
2213
  done
 
2214
 
 
2215
  (set) 2>&1 |
 
2216
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
2217
    *${as_nl}ac_space=\ *)
 
2218
      # `set' does not quote correctly, so add quotes (double-quote
 
2219
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
2220
      sed -n \
 
2221
        "s/'/'\\\\''/g;
 
2222
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
2223
      ;; #(
 
2224
    *)
 
2225
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
2226
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2227
      ;;
 
2228
    esac |
 
2229
    sort
 
2230
) |
 
2231
  sed '
 
2232
     /^ac_cv_env_/b end
 
2233
     t clear
 
2234
     :clear
 
2235
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
2236
     t end
 
2237
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2238
     :end' >>confcache
 
2239
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
2240
  if test -w "$cache_file"; then
 
2241
    test "x$cache_file" != "x/dev/null" &&
 
2242
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
2243
echo "$as_me: updating cache $cache_file" >&6;}
 
2244
    cat confcache >$cache_file
 
2245
  else
 
2246
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
2247
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
2248
  fi
 
2249
fi
 
2250
rm -f confcache
 
2251
 
 
2252
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
2253
# Let make expand exec_prefix.
 
2254
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
2255
 
 
2256
# Transform confdefs.h into DEFS.
 
2257
# Protect against shell expansion while executing Makefile rules.
 
2258
# Protect against Makefile macro expansion.
 
2259
#
 
2260
# If the first sed substitution is executed (which looks for macros that
 
2261
# take arguments), then branch to the quote section.  Otherwise,
 
2262
# look for a macro that doesn't take arguments.
 
2263
ac_script='
 
2264
t clear
 
2265
:clear
 
2266
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
2267
t quote
 
2268
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
2269
t quote
 
2270
b any
 
2271
:quote
 
2272
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
2273
s/\[/\\&/g
 
2274
s/\]/\\&/g
 
2275
s/\$/$$/g
 
2276
H
 
2277
:any
 
2278
${
 
2279
        g
 
2280
        s/^\n//
 
2281
        s/\n/ /g
 
2282
        p
 
2283
}
 
2284
'
 
2285
DEFS=`sed -n "$ac_script" confdefs.h`
 
2286
 
 
2287
 
 
2288
ac_libobjs=
 
2289
ac_ltlibobjs=
 
2290
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
2291
  # 1. Remove the extension, and $U if already installed.
 
2292
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
2293
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
2294
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
2295
  #    will be set to the directory where LIBOBJS objects are built.
 
2296
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2297
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
2298
done
 
2299
LIBOBJS=$ac_libobjs
 
2300
 
 
2301
LTLIBOBJS=$ac_ltlibobjs
 
2302
 
 
2303
 
 
2304
 
 
2305
: ${CONFIG_STATUS=./config.status}
 
2306
ac_clean_files_save=$ac_clean_files
 
2307
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
2308
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
2309
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
2310
cat >$CONFIG_STATUS <<_ACEOF
 
2311
#! $SHELL
 
2312
# Generated by $as_me.
 
2313
# Run this file to recreate the current configuration.
 
2314
# Compiler output produced by configure, useful for debugging
 
2315
# configure, is in config.log if it exists.
 
2316
 
 
2317
debug=false
 
2318
ac_cs_recheck=false
 
2319
ac_cs_silent=false
 
2320
SHELL=\${CONFIG_SHELL-$SHELL}
 
2321
_ACEOF
 
2322
 
 
2323
cat >>$CONFIG_STATUS <<\_ACEOF
 
2324
## --------------------- ##
 
2325
## M4sh Initialization.  ##
 
2326
## --------------------- ##
 
2327
 
 
2328
# Be more Bourne compatible
 
2329
DUALCASE=1; export DUALCASE # for MKS sh
 
2330
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2331
  emulate sh
 
2332
  NULLCMD=:
 
2333
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
2334
  # is contrary to our usage.  Disable this feature.
 
2335
  alias -g '${1+"$@"}'='"$@"'
 
2336
  setopt NO_GLOB_SUBST
 
2337
else
 
2338
  case `(set -o) 2>/dev/null` in
 
2339
  *posix*) set -o posix ;;
 
2340
esac
 
2341
 
 
2342
fi
 
2343
 
 
2344
 
 
2345
 
 
2346
 
 
2347
# PATH needs CR
 
2348
# Avoid depending upon Character Ranges.
 
2349
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2350
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2351
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2352
as_cr_digits='0123456789'
 
2353
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2354
 
 
2355
# The user is always right.
 
2356
if test "${PATH_SEPARATOR+set}" != set; then
 
2357
  echo "#! /bin/sh" >conf$$.sh
 
2358
  echo  "exit 0"   >>conf$$.sh
 
2359
  chmod +x conf$$.sh
 
2360
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2361
    PATH_SEPARATOR=';'
 
2362
  else
 
2363
    PATH_SEPARATOR=:
 
2364
  fi
 
2365
  rm -f conf$$.sh
 
2366
fi
 
2367
 
 
2368
# Support unset when possible.
 
2369
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
2370
  as_unset=unset
 
2371
else
 
2372
  as_unset=false
 
2373
fi
 
2374
 
 
2375
 
 
2376
# IFS
 
2377
# We need space, tab and new line, in precisely that order.  Quoting is
 
2378
# there to prevent editors from complaining about space-tab.
 
2379
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
2380
# splitting by setting IFS to empty value.)
 
2381
as_nl='
 
2382
'
 
2383
IFS=" ""        $as_nl"
 
2384
 
 
2385
# Find who we are.  Look in the path if we contain no directory separator.
 
2386
case $0 in
 
2387
  *[\\/]* ) as_myself=$0 ;;
 
2388
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2389
for as_dir in $PATH
 
2390
do
 
2391
  IFS=$as_save_IFS
 
2392
  test -z "$as_dir" && as_dir=.
 
2393
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2394
done
 
2395
IFS=$as_save_IFS
 
2396
 
 
2397
     ;;
 
2398
esac
 
2399
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
2400
# in which case we are not to be found in the path.
 
2401
if test "x$as_myself" = x; then
 
2402
  as_myself=$0
 
2403
fi
 
2404
if test ! -f "$as_myself"; then
 
2405
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2406
  { (exit 1); exit 1; }
 
2407
fi
 
2408
 
 
2409
# Work around bugs in pre-3.0 UWIN ksh.
 
2410
for as_var in ENV MAIL MAILPATH
 
2411
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2412
done
 
2413
PS1='$ '
 
2414
PS2='> '
 
2415
PS4='+ '
 
2416
 
 
2417
# NLS nuisances.
 
2418
for as_var in \
 
2419
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
2420
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
2421
  LC_TELEPHONE LC_TIME
 
2422
do
 
2423
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
2424
    eval $as_var=C; export $as_var
 
2425
  else
 
2426
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2427
  fi
 
2428
done
 
2429
 
 
2430
# Required to use basename.
 
2431
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2432
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
2433
  as_expr=expr
 
2434
else
 
2435
  as_expr=false
 
2436
fi
 
2437
 
 
2438
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
2439
  as_basename=basename
 
2440
else
 
2441
  as_basename=false
 
2442
fi
 
2443
 
 
2444
 
 
2445
# Name of the executable.
 
2446
as_me=`$as_basename -- "$0" ||
 
2447
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
2448
         X"$0" : 'X\(//\)$' \| \
 
2449
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
2450
echo X/"$0" |
 
2451
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
2452
            s//\1/
 
2453
            q
 
2454
          }
 
2455
          /^X\/\(\/\/\)$/{
 
2456
            s//\1/
 
2457
            q
 
2458
          }
 
2459
          /^X\/\(\/\).*/{
 
2460
            s//\1/
 
2461
            q
 
2462
          }
 
2463
          s/.*/./; q'`
 
2464
 
 
2465
# CDPATH.
 
2466
$as_unset CDPATH
 
2467
 
 
2468
 
 
2469
 
 
2470
  as_lineno_1=$LINENO
 
2471
  as_lineno_2=$LINENO
 
2472
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2473
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
2474
 
 
2475
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
2476
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
2477
  # line-number line after each line using $LINENO; the second 'sed'
 
2478
  # does the real work.  The second script uses 'N' to pair each
 
2479
  # line-number line with the line containing $LINENO, and appends
 
2480
  # trailing '-' during substitution so that $LINENO is not a special
 
2481
  # case at line end.
 
2482
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
2483
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
2484
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
2485
  sed -n '
 
2486
    p
 
2487
    /[$]LINENO/=
 
2488
  ' <$as_myself |
 
2489
    sed '
 
2490
      s/[$]LINENO.*/&-/
 
2491
      t lineno
 
2492
      b
 
2493
      :lineno
 
2494
      N
 
2495
      :loop
 
2496
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
2497
      t loop
 
2498
      s/-\n.*//
 
2499
    ' >$as_me.lineno &&
 
2500
  chmod +x "$as_me.lineno" ||
 
2501
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
2502
   { (exit 1); exit 1; }; }
 
2503
 
 
2504
  # Don't try to exec as it changes $[0], causing all sort of problems
 
2505
  # (the dirname of $[0] is not the place where we might find the
 
2506
  # original and so on.  Autoconf is especially sensitive to this).
 
2507
  . "./$as_me.lineno"
 
2508
  # Exit status is that of the last command.
 
2509
  exit
 
2510
}
 
2511
 
 
2512
 
 
2513
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2514
  as_dirname=dirname
 
2515
else
 
2516
  as_dirname=false
 
2517
fi
 
2518
 
 
2519
ECHO_C= ECHO_N= ECHO_T=
 
2520
case `echo -n x` in
 
2521
-n*)
 
2522
  case `echo 'x\c'` in
 
2523
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
2524
  *)   ECHO_C='\c';;
 
2525
  esac;;
 
2526
*)
 
2527
  ECHO_N='-n';;
 
2528
esac
 
2529
 
 
2530
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2531
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
2532
  as_expr=expr
 
2533
else
 
2534
  as_expr=false
 
2535
fi
 
2536
 
 
2537
rm -f conf$$ conf$$.exe conf$$.file
 
2538
if test -d conf$$.dir; then
 
2539
  rm -f conf$$.dir/conf$$.file
 
2540
else
 
2541
  rm -f conf$$.dir
 
2542
  mkdir conf$$.dir
 
2543
fi
 
2544
echo >conf$$.file
 
2545
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
2546
  as_ln_s='ln -s'
 
2547
  # ... but there are two gotchas:
 
2548
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2549
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2550
  # In both cases, we have to default to `cp -p'.
 
2551
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2552
    as_ln_s='cp -p'
 
2553
elif ln conf$$.file conf$$ 2>/dev/null; then
 
2554
  as_ln_s=ln
 
2555
else
 
2556
  as_ln_s='cp -p'
 
2557
fi
 
2558
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
2559
rmdir conf$$.dir 2>/dev/null
 
2560
 
 
2561
if mkdir -p . 2>/dev/null; then
 
2562
  as_mkdir_p=:
 
2563
else
 
2564
  test -d ./-p && rmdir ./-p
 
2565
  as_mkdir_p=false
 
2566
fi
 
2567
 
 
2568
if test -x / >/dev/null 2>&1; then
 
2569
  as_test_x='test -x'
 
2570
else
 
2571
  if ls -dL / >/dev/null 2>&1; then
 
2572
    as_ls_L_option=L
 
2573
  else
 
2574
    as_ls_L_option=
 
2575
  fi
 
2576
  as_test_x='
 
2577
    eval sh -c '\''
 
2578
      if test -d "$1"; then
 
2579
        test -d "$1/.";
 
2580
      else
 
2581
        case $1 in
 
2582
        -*)set "./$1";;
 
2583
        esac;
 
2584
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
2585
        ???[sx]*):;;*)false;;esac;fi
 
2586
    '\'' sh
 
2587
  '
 
2588
fi
 
2589
as_executable_p=$as_test_x
 
2590
 
 
2591
# Sed expression to map a string onto a valid CPP name.
 
2592
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
2593
 
 
2594
# Sed expression to map a string onto a valid variable name.
 
2595
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
2596
 
 
2597
 
 
2598
exec 6>&1
 
2599
 
 
2600
# Save the log message, to keep $[0] and so on meaningful, and to
 
2601
# report actual input values of CONFIG_FILES etc. instead of their
 
2602
# values after options handling.
 
2603
ac_log="
 
2604
This file was extended by DRI2Proto $as_me 1.1, which was
 
2605
generated by GNU Autoconf 2.61.  Invocation command line was
 
2606
 
 
2607
  CONFIG_FILES    = $CONFIG_FILES
 
2608
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
2609
  CONFIG_LINKS    = $CONFIG_LINKS
 
2610
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
2611
  $ $0 $@
 
2612
 
 
2613
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2614
"
 
2615
 
 
2616
_ACEOF
 
2617
 
 
2618
cat >>$CONFIG_STATUS <<_ACEOF
 
2619
# Files that config.status was made for.
 
2620
config_files="$ac_config_files"
 
2621
 
 
2622
_ACEOF
 
2623
 
 
2624
cat >>$CONFIG_STATUS <<\_ACEOF
 
2625
ac_cs_usage="\
 
2626
\`$as_me' instantiates files from templates according to the
 
2627
current configuration.
 
2628
 
 
2629
Usage: $0 [OPTIONS] [FILE]...
 
2630
 
 
2631
  -h, --help       print this help, then exit
 
2632
  -V, --version    print version number and configuration settings, then exit
 
2633
  -q, --quiet      do not print progress messages
 
2634
  -d, --debug      don't remove temporary files
 
2635
      --recheck    update $as_me by reconfiguring in the same conditions
 
2636
  --file=FILE[:TEMPLATE]
 
2637
                   instantiate the configuration file FILE
 
2638
 
 
2639
Configuration files:
 
2640
$config_files
 
2641
 
 
2642
Report bugs to <bug-autoconf@gnu.org>."
 
2643
 
 
2644
_ACEOF
 
2645
cat >>$CONFIG_STATUS <<_ACEOF
 
2646
ac_cs_version="\\
 
2647
DRI2Proto config.status 1.1
 
2648
configured by $0, generated by GNU Autoconf 2.61,
 
2649
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
2650
 
 
2651
Copyright (C) 2006 Free Software Foundation, Inc.
 
2652
This config.status script is free software; the Free Software Foundation
 
2653
gives unlimited permission to copy, distribute and modify it."
 
2654
 
 
2655
ac_pwd='$ac_pwd'
 
2656
srcdir='$srcdir'
 
2657
INSTALL='$INSTALL'
 
2658
MKDIR_P='$MKDIR_P'
 
2659
_ACEOF
 
2660
 
 
2661
cat >>$CONFIG_STATUS <<\_ACEOF
 
2662
# If no file are specified by the user, then we need to provide default
 
2663
# value.  By we need to know if files were specified by the user.
 
2664
ac_need_defaults=:
 
2665
while test $# != 0
 
2666
do
 
2667
  case $1 in
 
2668
  --*=*)
 
2669
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
2670
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
2671
    ac_shift=:
 
2672
    ;;
 
2673
  *)
 
2674
    ac_option=$1
 
2675
    ac_optarg=$2
 
2676
    ac_shift=shift
 
2677
    ;;
 
2678
  esac
 
2679
 
 
2680
  case $ac_option in
 
2681
  # Handling of the options.
 
2682
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
2683
    ac_cs_recheck=: ;;
 
2684
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
2685
    echo "$ac_cs_version"; exit ;;
 
2686
  --debug | --debu | --deb | --de | --d | -d )
 
2687
    debug=: ;;
 
2688
  --file | --fil | --fi | --f )
 
2689
    $ac_shift
 
2690
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
2691
    ac_need_defaults=false;;
 
2692
  --he | --h |  --help | --hel | -h )
 
2693
    echo "$ac_cs_usage"; exit ;;
 
2694
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2695
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
2696
    ac_cs_silent=: ;;
 
2697
 
 
2698
  # This is an error.
 
2699
  -*) { echo "$as_me: error: unrecognized option: $1
 
2700
Try \`$0 --help' for more information." >&2
 
2701
   { (exit 1); exit 1; }; } ;;
 
2702
 
 
2703
  *) ac_config_targets="$ac_config_targets $1"
 
2704
     ac_need_defaults=false ;;
 
2705
 
 
2706
  esac
 
2707
  shift
 
2708
done
 
2709
 
 
2710
ac_configure_extra_args=
 
2711
 
 
2712
if $ac_cs_silent; then
 
2713
  exec 6>/dev/null
 
2714
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
2715
fi
 
2716
 
 
2717
_ACEOF
 
2718
cat >>$CONFIG_STATUS <<_ACEOF
 
2719
if \$ac_cs_recheck; then
 
2720
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
2721
  CONFIG_SHELL=$SHELL
 
2722
  export CONFIG_SHELL
 
2723
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2724
fi
 
2725
 
 
2726
_ACEOF
 
2727
cat >>$CONFIG_STATUS <<\_ACEOF
 
2728
exec 5>>config.log
 
2729
{
 
2730
  echo
 
2731
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2732
## Running $as_me. ##
 
2733
_ASBOX
 
2734
  echo "$ac_log"
 
2735
} >&5
 
2736
 
 
2737
_ACEOF
 
2738
cat >>$CONFIG_STATUS <<_ACEOF
 
2739
_ACEOF
 
2740
 
 
2741
cat >>$CONFIG_STATUS <<\_ACEOF
 
2742
 
 
2743
# Handling of arguments.
 
2744
for ac_config_target in $ac_config_targets
 
2745
do
 
2746
  case $ac_config_target in
 
2747
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
2748
    "dri2proto.pc") CONFIG_FILES="$CONFIG_FILES dri2proto.pc" ;;
 
2749
 
 
2750
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
2751
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
2752
   { (exit 1); exit 1; }; };;
 
2753
  esac
 
2754
done
 
2755
 
 
2756
 
 
2757
# If the user did not use the arguments to specify the items to instantiate,
 
2758
# then the envvar interface is used.  Set only those that are not.
 
2759
# We use the long form for the default assignment because of an extremely
 
2760
# bizarre bug on SunOS 4.1.3.
 
2761
if $ac_need_defaults; then
 
2762
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
2763
fi
 
2764
 
 
2765
# Have a temporary directory for convenience.  Make it in the build tree
 
2766
# simply because there is no reason against having it here, and in addition,
 
2767
# creating and moving files from /tmp can sometimes cause problems.
 
2768
# Hook for its removal unless debugging.
 
2769
# Note that there is a small window in which the directory will not be cleaned:
 
2770
# after its creation but before its name has been assigned to `$tmp'.
 
2771
$debug ||
 
2772
{
 
2773
  tmp=
 
2774
  trap 'exit_status=$?
 
2775
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
2776
' 0
 
2777
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
2778
}
 
2779
# Create a (secure) tmp directory for tmp files.
 
2780
 
 
2781
{
 
2782
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
2783
  test -n "$tmp" && test -d "$tmp"
 
2784
}  ||
 
2785
{
 
2786
  tmp=./conf$$-$RANDOM
 
2787
  (umask 077 && mkdir "$tmp")
 
2788
} ||
 
2789
{
 
2790
   echo "$me: cannot create a temporary directory in ." >&2
 
2791
   { (exit 1); exit 1; }
 
2792
}
 
2793
 
 
2794
#
 
2795
# Set up the sed scripts for CONFIG_FILES section.
 
2796
#
 
2797
 
 
2798
# No need to generate the scripts if there are no CONFIG_FILES.
 
2799
# This happens for instance when ./config.status config.h
 
2800
if test -n "$CONFIG_FILES"; then
 
2801
 
 
2802
_ACEOF
 
2803
 
 
2804
 
 
2805
 
 
2806
ac_delim='%!_!# '
 
2807
for ac_last_try in false false false false false :; do
 
2808
  cat >conf$$subs.sed <<_ACEOF
 
2809
SHELL!$SHELL$ac_delim
 
2810
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
2811
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
2812
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
2813
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
2814
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
2815
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
2816
exec_prefix!$exec_prefix$ac_delim
 
2817
prefix!$prefix$ac_delim
 
2818
program_transform_name!$program_transform_name$ac_delim
 
2819
bindir!$bindir$ac_delim
 
2820
sbindir!$sbindir$ac_delim
 
2821
libexecdir!$libexecdir$ac_delim
 
2822
datarootdir!$datarootdir$ac_delim
 
2823
datadir!$datadir$ac_delim
 
2824
sysconfdir!$sysconfdir$ac_delim
 
2825
sharedstatedir!$sharedstatedir$ac_delim
 
2826
localstatedir!$localstatedir$ac_delim
 
2827
includedir!$includedir$ac_delim
 
2828
oldincludedir!$oldincludedir$ac_delim
 
2829
docdir!$docdir$ac_delim
 
2830
infodir!$infodir$ac_delim
 
2831
htmldir!$htmldir$ac_delim
 
2832
dvidir!$dvidir$ac_delim
 
2833
pdfdir!$pdfdir$ac_delim
 
2834
psdir!$psdir$ac_delim
 
2835
libdir!$libdir$ac_delim
 
2836
localedir!$localedir$ac_delim
 
2837
mandir!$mandir$ac_delim
 
2838
DEFS!$DEFS$ac_delim
 
2839
ECHO_C!$ECHO_C$ac_delim
 
2840
ECHO_N!$ECHO_N$ac_delim
 
2841
ECHO_T!$ECHO_T$ac_delim
 
2842
LIBS!$LIBS$ac_delim
 
2843
build_alias!$build_alias$ac_delim
 
2844
host_alias!$host_alias$ac_delim
 
2845
target_alias!$target_alias$ac_delim
 
2846
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
2847
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
2848
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
2849
am__isrc!$am__isrc$ac_delim
 
2850
CYGPATH_W!$CYGPATH_W$ac_delim
 
2851
PACKAGE!$PACKAGE$ac_delim
 
2852
VERSION!$VERSION$ac_delim
 
2853
ACLOCAL!$ACLOCAL$ac_delim
 
2854
AUTOCONF!$AUTOCONF$ac_delim
 
2855
AUTOMAKE!$AUTOMAKE$ac_delim
 
2856
AUTOHEADER!$AUTOHEADER$ac_delim
 
2857
MAKEINFO!$MAKEINFO$ac_delim
 
2858
install_sh!$install_sh$ac_delim
 
2859
STRIP!$STRIP$ac_delim
 
2860
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
2861
mkdir_p!$mkdir_p$ac_delim
 
2862
AWK!$AWK$ac_delim
 
2863
SET_MAKE!$SET_MAKE$ac_delim
 
2864
am__leading_dot!$am__leading_dot$ac_delim
 
2865
AMTAR!$AMTAR$ac_delim
 
2866
am__tar!$am__tar$ac_delim
 
2867
am__untar!$am__untar$ac_delim
 
2868
LIBOBJS!$LIBOBJS$ac_delim
 
2869
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
2870
_ACEOF
 
2871
 
 
2872
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
 
2873
    break
 
2874
  elif $ac_last_try; then
 
2875
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
2876
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
2877
   { (exit 1); exit 1; }; }
 
2878
  else
 
2879
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
2880
  fi
 
2881
done
 
2882
 
 
2883
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
2884
if test -n "$ac_eof"; then
 
2885
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
2886
  ac_eof=`expr $ac_eof + 1`
 
2887
fi
 
2888
 
 
2889
cat >>$CONFIG_STATUS <<_ACEOF
 
2890
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
2891
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
2892
_ACEOF
 
2893
sed '
 
2894
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
2895
s/^/s,@/; s/!/@,|#_!!_#|/
 
2896
:n
 
2897
t n
 
2898
s/'"$ac_delim"'$/,g/; t
 
2899
s/$/\\/; p
 
2900
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
2901
' >>$CONFIG_STATUS <conf$$subs.sed
 
2902
rm -f conf$$subs.sed
 
2903
cat >>$CONFIG_STATUS <<_ACEOF
 
2904
:end
 
2905
s/|#_!!_#|//g
 
2906
CEOF$ac_eof
 
2907
_ACEOF
 
2908
 
 
2909
 
 
2910
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
2911
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
2912
# trailing colons and then remove the whole line if VPATH becomes empty
 
2913
# (actually we leave an empty line to preserve line numbers).
 
2914
if test "x$srcdir" = x.; then
 
2915
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
2916
s/:*\$(srcdir):*/:/
 
2917
s/:*\${srcdir}:*/:/
 
2918
s/:*@srcdir@:*/:/
 
2919
s/^\([^=]*=[     ]*\):*/\1/
 
2920
s/:*$//
 
2921
s/^[^=]*=[       ]*$//
 
2922
}'
 
2923
fi
 
2924
 
 
2925
cat >>$CONFIG_STATUS <<\_ACEOF
 
2926
fi # test -n "$CONFIG_FILES"
 
2927
 
 
2928
 
 
2929
for ac_tag in  :F $CONFIG_FILES
 
2930
do
 
2931
  case $ac_tag in
 
2932
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
2933
  esac
 
2934
  case $ac_mode$ac_tag in
 
2935
  :[FHL]*:*);;
 
2936
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
2937
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
2938
   { (exit 1); exit 1; }; };;
 
2939
  :[FH]-) ac_tag=-:-;;
 
2940
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
2941
  esac
 
2942
  ac_save_IFS=$IFS
 
2943
  IFS=:
 
2944
  set x $ac_tag
 
2945
  IFS=$ac_save_IFS
 
2946
  shift
 
2947
  ac_file=$1
 
2948
  shift
 
2949
 
 
2950
  case $ac_mode in
 
2951
  :L) ac_source=$1;;
 
2952
  :[FH])
 
2953
    ac_file_inputs=
 
2954
    for ac_f
 
2955
    do
 
2956
      case $ac_f in
 
2957
      -) ac_f="$tmp/stdin";;
 
2958
      *) # Look for the file first in the build tree, then in the source tree
 
2959
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
2960
         # because $ac_f cannot contain `:'.
 
2961
         test -f "$ac_f" ||
 
2962
           case $ac_f in
 
2963
           [\\/$]*) false;;
 
2964
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
2965
           esac ||
 
2966
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
2967
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
2968
   { (exit 1); exit 1; }; };;
 
2969
      esac
 
2970
      ac_file_inputs="$ac_file_inputs $ac_f"
 
2971
    done
 
2972
 
 
2973
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
2974
    # use $as_me), people would be surprised to read:
 
2975
    #    /* config.h.  Generated by config.status.  */
 
2976
    configure_input="Generated from "`IFS=:
 
2977
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
2978
    if test x"$ac_file" != x-; then
 
2979
      configure_input="$ac_file.  $configure_input"
 
2980
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
2981
echo "$as_me: creating $ac_file" >&6;}
 
2982
    fi
 
2983
 
 
2984
    case $ac_tag in
 
2985
    *:-:* | *:-) cat >"$tmp/stdin";;
 
2986
    esac
 
2987
    ;;
 
2988
  esac
 
2989
 
 
2990
  ac_dir=`$as_dirname -- "$ac_file" ||
 
2991
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2992
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
2993
         X"$ac_file" : 'X\(//\)$' \| \
 
2994
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
2995
echo X"$ac_file" |
 
2996
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2997
            s//\1/
 
2998
            q
 
2999
          }
 
3000
          /^X\(\/\/\)[^/].*/{
 
3001
            s//\1/
 
3002
            q
 
3003
          }
 
3004
          /^X\(\/\/\)$/{
 
3005
            s//\1/
 
3006
            q
 
3007
          }
 
3008
          /^X\(\/\).*/{
 
3009
            s//\1/
 
3010
            q
 
3011
          }
 
3012
          s/.*/./; q'`
 
3013
  { as_dir="$ac_dir"
 
3014
  case $as_dir in #(
 
3015
  -*) as_dir=./$as_dir;;
 
3016
  esac
 
3017
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
3018
    as_dirs=
 
3019
    while :; do
 
3020
      case $as_dir in #(
 
3021
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
3022
      *) as_qdir=$as_dir;;
 
3023
      esac
 
3024
      as_dirs="'$as_qdir' $as_dirs"
 
3025
      as_dir=`$as_dirname -- "$as_dir" ||
 
3026
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3027
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3028
         X"$as_dir" : 'X\(//\)$' \| \
 
3029
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
3030
echo X"$as_dir" |
 
3031
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3032
            s//\1/
 
3033
            q
 
3034
          }
 
3035
          /^X\(\/\/\)[^/].*/{
 
3036
            s//\1/
 
3037
            q
 
3038
          }
 
3039
          /^X\(\/\/\)$/{
 
3040
            s//\1/
 
3041
            q
 
3042
          }
 
3043
          /^X\(\/\).*/{
 
3044
            s//\1/
 
3045
            q
 
3046
          }
 
3047
          s/.*/./; q'`
 
3048
      test -d "$as_dir" && break
 
3049
    done
 
3050
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
3051
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
3052
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
3053
   { (exit 1); exit 1; }; }; }
 
3054
  ac_builddir=.
 
3055
 
 
3056
case "$ac_dir" in
 
3057
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3058
*)
 
3059
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
3060
  # A ".." for each directory in $ac_dir_suffix.
 
3061
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
3062
  case $ac_top_builddir_sub in
 
3063
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3064
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
3065
  esac ;;
 
3066
esac
 
3067
ac_abs_top_builddir=$ac_pwd
 
3068
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
3069
# for backward compatibility:
 
3070
ac_top_builddir=$ac_top_build_prefix
 
3071
 
 
3072
case $srcdir in
 
3073
  .)  # We are building in place.
 
3074
    ac_srcdir=.
 
3075
    ac_top_srcdir=$ac_top_builddir_sub
 
3076
    ac_abs_top_srcdir=$ac_pwd ;;
 
3077
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
3078
    ac_srcdir=$srcdir$ac_dir_suffix;
 
3079
    ac_top_srcdir=$srcdir
 
3080
    ac_abs_top_srcdir=$srcdir ;;
 
3081
  *) # Relative name.
 
3082
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
3083
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
3084
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
3085
esac
 
3086
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
3087
 
 
3088
 
 
3089
  case $ac_mode in
 
3090
  :F)
 
3091
  #
 
3092
  # CONFIG_FILE
 
3093
  #
 
3094
 
 
3095
  case $INSTALL in
 
3096
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
3097
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
3098
  esac
 
3099
  ac_MKDIR_P=$MKDIR_P
 
3100
  case $MKDIR_P in
 
3101
  [\\/$]* | ?:[\\/]* ) ;;
 
3102
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
3103
  esac
 
3104
_ACEOF
 
3105
 
 
3106
cat >>$CONFIG_STATUS <<\_ACEOF
 
3107
# If the template does not know about datarootdir, expand it.
 
3108
# FIXME: This hack should be removed a few years after 2.60.
 
3109
ac_datarootdir_hack=; ac_datarootdir_seen=
 
3110
 
 
3111
case `sed -n '/datarootdir/ {
 
3112
  p
 
3113
  q
 
3114
}
 
3115
/@datadir@/p
 
3116
/@docdir@/p
 
3117
/@infodir@/p
 
3118
/@localedir@/p
 
3119
/@mandir@/p
 
3120
' $ac_file_inputs` in
 
3121
*datarootdir*) ac_datarootdir_seen=yes;;
 
3122
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
3123
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3124
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
3125
_ACEOF
 
3126
cat >>$CONFIG_STATUS <<_ACEOF
 
3127
  ac_datarootdir_hack='
 
3128
  s&@datadir@&$datadir&g
 
3129
  s&@docdir@&$docdir&g
 
3130
  s&@infodir@&$infodir&g
 
3131
  s&@localedir@&$localedir&g
 
3132
  s&@mandir@&$mandir&g
 
3133
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
3134
esac
 
3135
_ACEOF
 
3136
 
 
3137
# Neutralize VPATH when `$srcdir' = `.'.
 
3138
# Shell code in configure.ac might set extrasub.
 
3139
# FIXME: do we really want to maintain this feature?
 
3140
cat >>$CONFIG_STATUS <<_ACEOF
 
3141
  sed "$ac_vpsub
 
3142
$extrasub
 
3143
_ACEOF
 
3144
cat >>$CONFIG_STATUS <<\_ACEOF
 
3145
:t
 
3146
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
3147
s&@configure_input@&$configure_input&;t t
 
3148
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
3149
s&@srcdir@&$ac_srcdir&;t t
 
3150
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
3151
s&@top_srcdir@&$ac_top_srcdir&;t t
 
3152
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
3153
s&@builddir@&$ac_builddir&;t t
 
3154
s&@abs_builddir@&$ac_abs_builddir&;t t
 
3155
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
3156
s&@INSTALL@&$ac_INSTALL&;t t
 
3157
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
3158
$ac_datarootdir_hack
 
3159
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
3160
 
 
3161
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
3162
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
3163
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
3164
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3165
which seems to be undefined.  Please make sure it is defined." >&5
 
3166
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3167
which seems to be undefined.  Please make sure it is defined." >&2;}
 
3168
 
 
3169
  rm -f "$tmp/stdin"
 
3170
  case $ac_file in
 
3171
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
3172
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
3173
  esac
 
3174
 ;;
 
3175
 
 
3176
 
 
3177
 
 
3178
  esac
 
3179
 
 
3180
done # for ac_tag
 
3181
 
 
3182
 
 
3183
{ (exit 0); exit 0; }
 
3184
_ACEOF
 
3185
chmod +x $CONFIG_STATUS
 
3186
ac_clean_files=$ac_clean_files_save
 
3187
 
 
3188
 
 
3189
# configure is writing to config.log, and then calls config.status.
 
3190
# config.status does its own redirection, appending to config.log.
 
3191
# Unfortunately, on DOS this fails, as config.log is still kept open
 
3192
# by configure, so config.status won't be able to write to it; its
 
3193
# output is simply discarded.  So we exec the FD to /dev/null,
 
3194
# effectively closing config.log, so it can be properly (re)opened and
 
3195
# appended to by config.status.  When coming back to configure, we
 
3196
# need to make the FD available again.
 
3197
if test "$no_create" != yes; then
 
3198
  ac_cs_success=:
 
3199
  ac_config_status_args=
 
3200
  test "$silent" = yes &&
 
3201
    ac_config_status_args="$ac_config_status_args --quiet"
 
3202
  exec 5>/dev/null
 
3203
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
3204
  exec 5>>config.log
 
3205
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
3206
  # would make configure fail if this is the last instruction.
 
3207
  $ac_cs_success || { (exit 1); exit 1; }
 
3208
fi
 
3209