2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for DRI2Proto 1.1.
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
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
## --------------------- ##
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
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+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
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
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
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
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
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
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
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
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'"
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'"
554
exec 7<&0 </dev/null 6>&1
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`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
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'
590
program_transform_name
632
INSTALL_STRIP_PROGRAM
643
ac_precious_vars='build_alias
648
# Initialize some variables set by options.
650
ac_init_version=false
651
# The variables have the same names as the options, with
652
# dashes changed to underlines.
660
program_transform_name=s,x,x,
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'
690
libdir='${exec_prefix}/lib'
691
localedir='${datarootdir}/locale'
692
mandir='${datarootdir}/man'
698
# If the previous option needs an argument, assign it.
699
if test -n "$ac_prev"; then
700
eval $ac_prev=\$ac_option
706
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
710
# Accept the important Cygnus configure options, so we can diagnose typos.
712
case $ac_dashdash$ac_option in
716
-bindir | --bindir | --bindi | --bind | --bin | --bi)
718
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
721
-build | --build | --buil | --bui | --bu)
722
ac_prev=build_alias ;;
723
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
724
build_alias=$ac_optarg ;;
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 ;;
734
cache_file=config.cache ;;
736
-datadir | --datadir | --datadi | --datad)
738
-datadir=* | --datadir=* | --datadi=* | --datad=*)
739
datadir=$ac_optarg ;;
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 ;;
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 ;;
757
-docdir | --docdir | --docdi | --doc | --do)
759
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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 ;;
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 ;;
785
-gas | --gas | --ga | --g)
786
# Obsolete; use --with-gas.
789
-help | --help | --hel | --he | -h)
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 ;;
796
-host | --host | --hos | --ho)
797
ac_prev=host_alias ;;
798
-host=* | --host=* | --hos=* | --ho=*)
799
host_alias=$ac_optarg ;;
801
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805
htmldir=$ac_optarg ;;
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 ;;
814
-infodir | --infodir | --infodi | --infod | --info | --inf)
816
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
817
infodir=$ac_optarg ;;
819
-libdir | --libdir | --libdi | --libd)
821
-libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
831
-localedir | --localedir | --localedi | --localed | --locale)
833
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
834
localedir=$ac_optarg ;;
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 ;;
843
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
849
# Obsolete; use --without-fp.
852
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
853
| --no-cr | --no-c | -n)
856
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
857
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
869
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
905
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
910
-psdir | --psdir | --psdi | --psd | --ps)
912
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
915
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
916
| -silent | --silent | --silen | --sile | --sil)
919
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923
sbindir=$ac_optarg ;;
925
-sharedstatedir | --sharedstatedir | --sharedstatedi \
926
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927
| --sharedst | --shareds | --shared | --share | --shar \
929
ac_prev=sharedstatedir ;;
930
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
931
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
932
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934
sharedstatedir=$ac_optarg ;;
936
-site | --site | --sit)
938
-site=* | --site=* | --sit=*)
941
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
958
-v | -verbose | --verbose | --verbos | --verbo | --verb)
961
-version | --version | --versio | --versi | --vers | -V)
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 ;;
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 ;;
983
# Obsolete; use --with-x.
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 ;;
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 ;;
1000
-*) { echo "$as_me: error: unrecognized option: $ac_option
1001
Try \`$0 --help' for more information." >&2
1002
{ (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
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
1037
eval ac_val=\$$ac_var
1039
[\\/$]* | ?:[\\/]* ) continue;;
1040
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1043
{ (exit 1); exit 1; }; }
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.
1051
target=$target_alias
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
1065
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1067
test "$silent" = yes && exec 6>/dev/null
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; }; }
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 ||
1090
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1108
if test ! -r "$srcdir/$ac_unique_file"; then
1112
ac_srcdir_defaulted=no
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; }; }
1119
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1122
{ (exit 1); exit 1; }; }
1124
# When building in place, set srcdir=.
1125
if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1132
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1142
# Report the --help message.
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.
1148
\`configure' configures DRI2Proto 1.1 to adapt to many kinds of systems.
1150
Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1155
Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1179
For better control, use the options below.
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]
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
1212
if test -n "$ac_init_help"; then
1213
case $ac_init_help in
1214
short | recursive ) echo "Configuration of DRI2Proto 1.1:";;
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
1224
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
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
1236
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1252
.) # We are building in place.
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 ;;
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 ;;
1265
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1267
cd "$ac_dir" || { ac_status=$?; continue; }
1268
# Check for guested configure.
1269
if test -f "$ac_srcdir/configure.gnu"; then
1271
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1272
elif test -f "$ac_srcdir/configure"; then
1274
$SHELL "$ac_srcdir/configure" --help=recursive
1276
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278
cd "$ac_pwd" || { ac_status=$?; break; }
1282
test -n "$ac_init_help" && exit $ac_status
1283
if $ac_init_version; then
1285
DRI2Proto configure 1.1
1286
generated by GNU Autoconf 2.61
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.
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.
1299
It was created by DRI2Proto $as_me 1.1, which was
1300
generated by GNU Autoconf 2.61. Invocation command line was
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`
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`
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`
1331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1335
test -z "$as_dir" && as_dir=.
1336
echo "PATH: $as_dir"
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.
1360
ac_must_keep_next=false
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)
1371
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1374
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1389
-* ) ac_must_keep_next=true ;;
1392
ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1411
## ---------------- ##
1412
## Cache variables. ##
1413
## ---------------- ##
1416
# The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1427
_ | IFS | as_nl) ;; #(
1428
*) $as_unset $ac_var ;;
1433
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1434
*${as_nl}ac_space=\ *)
1436
"s/'\''/'\''\\\\'\'''\''/g;
1437
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1440
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1448
## ----------------- ##
1449
## Output variables. ##
1450
## ----------------- ##
1453
for ac_var in $ac_subst_vars
1455
eval ac_val=\$$ac_var
1457
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459
echo "$ac_var='\''$ac_val'\''"
1463
if test -n "$ac_subst_files"; then
1465
## ------------------- ##
1466
## File substitutions. ##
1467
## ------------------- ##
1470
for ac_var in $ac_subst_files
1472
eval ac_val=\$$ac_var
1474
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1476
echo "$ac_var='\''$ac_val'\''"
1481
if test -s confdefs.h; then
1491
test "$ac_signal" != 0 &&
1492
echo "$as_me: caught signal $ac_signal"
1493
echo "$as_me: exit $exit_status"
1495
rm -f core *.core core.conftest.* &&
1496
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1499
for ac_signal in 1 2 13 15; do
1500
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1504
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1505
rm -f -r conftest* confdefs.h
1507
# Predefined preprocessor variables.
1509
cat >>confdefs.h <<_ACEOF
1510
#define PACKAGE_NAME "$PACKAGE_NAME"
1514
cat >>confdefs.h <<_ACEOF
1515
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1519
cat >>confdefs.h <<_ACEOF
1520
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1524
cat >>confdefs.h <<_ACEOF
1525
#define PACKAGE_STRING "$PACKAGE_STRING"
1529
cat >>confdefs.h <<_ACEOF
1530
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1541
set x "$ac_default_prefix/share/config.site" \
1542
"$ac_default_prefix/etc/config.site"
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
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;}
1562
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1563
*) . "./$cache_file";;
1567
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1568
echo "$as_me: creating cache $cache_file" >&6;}
1572
# Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1601
# Pass precious variables to config.status.
1602
if test "$ac_new_set" = set; then
1604
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1605
*) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1652
am__api_version='1.10'
1655
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1656
if test -f "$ac_dir/install-sh"; then
1658
ac_install_sh="$ac_aux_dir/install-sh -c"
1660
elif test -f "$ac_dir/install.sh"; then
1662
ac_install_sh="$ac_aux_dir/install.sh -c"
1664
elif test -f "$ac_dir/shtool"; then
1666
ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
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
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
1704
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708
test -z "$as_dir" && as_dir=.
1709
# Account for people who put trailing slashes in PATH elements.
1711
./ | .// | /cC/* | \
1712
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1713
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
1731
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1744
if test "${ac_cv_path_install+set}" = set; then
1745
INSTALL=$ac_cv_path_install
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
1754
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1755
echo "${ECHO_T}$INSTALL" >&6; }
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}'
1761
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1763
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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; }
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
1776
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1777
if test "$*" = "X"; then
1779
set X `ls -t $srcdir/configure conftest.file`
1782
if test "$*" != "X $srcdir/configure conftest.file" \
1783
&& test "$*" != "X conftest.file $srcdir/configure"; then
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; }; }
1796
test "$2" = conftest.file
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; }; }
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,$//
1820
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1823
# expand $ac_aux_dir to an absolute path
1824
am_aux_dir=`cd $ac_aux_dir && pwd`
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 "
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;}
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
1842
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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
1864
if test "${ac_cv_path_mkdir+set}" = set; then
1865
MKDIR_P="$ac_cv_path_mkdir -p"
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"
1875
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1876
echo "${ECHO_T}$MKDIR_P" >&6; }
1880
[\\/$]* | ?:[\\/]*) ;;
1881
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1884
for ac_prog in gawk mawk nawk awk
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
1893
if test -n "$AWK"; then
1894
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1914
if test -n "$AWK"; then
1915
{ echo "$as_me:$LINENO: result: $AWK" >&5
1916
echo "${ECHO_T}$AWK" >&6; }
1918
{ echo "$as_me:$LINENO: result: no" >&5
1919
echo "${ECHO_T}no" >&6; }
1923
test -n "$AWK" && break
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
1932
cat >conftest.make <<\_ACEOF
1935
@echo '@@@%%%=$(MAKE)=@@@%%%'
1937
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1938
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1940
eval ac_cv_prog_make_${ac_make}_set=yes;;
1942
eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
1951
{ echo "$as_me:$LINENO: result: no" >&5
1952
echo "${ECHO_T}no" >&6; }
1953
SET_MAKE="MAKE=${MAKE-make}"
1956
rm -rf .tst 2>/dev/null
1957
mkdir .tst 2>/dev/null
1958
if test -d .tst; then
1963
rmdir .tst 2>/dev/null
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; }; }
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'
1987
# Define the identity of the package.
1992
cat >>confdefs.h <<_ACEOF
1993
#define PACKAGE "$PACKAGE"
1997
cat >>confdefs.h <<_ACEOF
1998
#define VERSION "$VERSION"
2001
# Some tools Automake needs.
2003
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2006
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2009
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2012
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2015
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2017
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
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
2032
if test -n "$STRIP"; then
2033
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2057
{ echo "$as_me:$LINENO: result: no" >&5
2058
echo "${ECHO_T}no" >&6; }
2063
if test -z "$ac_cv_prog_STRIP"; then
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
2072
if test -n "$ac_ct_STRIP"; then
2073
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2097
{ echo "$as_me:$LINENO: result: no" >&5
2098
echo "${ECHO_T}no" >&6; }
2101
if test "x$ac_ct_STRIP" = x; then
2104
case $cross_compiling:$ac_tool_warned in
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 ;;
2117
STRIP="$ac_cv_prog_STRIP"
2121
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2123
# We need awk for the "check" target. The system "awk" is bad on
2125
# Always define AMTAR for backward compatibility.
2127
AMTAR=${AMTAR-"${am_missing_run}tar"}
2129
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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"
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;}
2152
cat >>confdefs.h <<_ACEOF
2153
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2156
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2157
if test "x$PVM" = "x"; then
2161
cat >>confdefs.h <<_ACEOF
2162
#define PACKAGE_VERSION_MINOR $PVM
2165
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2166
if test "x$PVP" = "x"; then
2170
cat >>confdefs.h <<_ACEOF
2171
#define PACKAGE_VERSION_PATCHLEVEL $PVP
2176
ac_config_files="$ac_config_files Makefile dri2proto.pc"
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.
2185
# config.status only pays attention to the cache file if you give it
2186
# the --recheck option to rerun configure.
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
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.
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
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;} ;;
2209
_ | IFS | as_nl) ;; #(
2210
*) $as_unset $ac_var ;;
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 \).
2222
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2225
# `set' quotes correctly as required by POSIX, so do not add quotes.
2226
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2235
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2237
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
2246
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2247
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2252
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2253
# Let make expand exec_prefix.
2254
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2256
# Transform confdefs.h into DEFS.
2257
# Protect against shell expansion while executing Makefile rules.
2258
# Protect against Makefile macro expansion.
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.
2266
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2268
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2272
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2285
DEFS=`sed -n "$ac_script" confdefs.h`
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'
2301
LTLIBOBJS=$ac_ltlibobjs
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
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.
2320
SHELL=\${CONFIG_SHELL-$SHELL}
2323
cat >>$CONFIG_STATUS <<\_ACEOF
2324
## --------------------- ##
2325
## M4sh Initialization. ##
2326
## --------------------- ##
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
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
2338
case `(set -o) 2>/dev/null` in
2339
*posix*) set -o posix ;;
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
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
2360
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2368
# Support unset when possible.
2369
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
2385
# Find who we are. Look in the path if we contain no directory separator.
2387
*[\\/]* ) as_myself=$0 ;;
2388
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392
test -z "$as_dir" && as_dir=.
2393
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
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
2423
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2424
eval $as_var=C; export $as_var
2426
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2430
# Required to use basename.
2431
if expr a : '\(a\)' >/dev/null 2>&1 &&
2432
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2438
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2439
as_basename=basename
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 ||
2451
sed '/^.*\/\([^/][^/]*\)\/*$/{
2472
test "x$as_lineno_1" != "x$as_lineno_2" &&
2473
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
2496
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
2508
# Exit status is that of the last command.
2513
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2519
ECHO_C= ECHO_N= ECHO_T=
2522
case `echo 'x\c'` in
2523
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
2530
if expr a : '\(a\)' >/dev/null 2>&1 &&
2531
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2537
rm -f conf$$ conf$$.exe conf$$.file
2538
if test -d conf$$.dir; then
2539
rm -f conf$$.dir/conf$$.file
2545
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
2553
elif ln conf$$.file conf$$ 2>/dev/null; then
2558
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2559
rmdir conf$$.dir 2>/dev/null
2561
if mkdir -p . 2>/dev/null; then
2564
test -d ./-p && rmdir ./-p
2568
if test -x / >/dev/null 2>&1; then
2571
if ls -dL / >/dev/null 2>&1; then
2578
if test -d "$1"; then
2584
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2585
???[sx]*):;;*)false;;esac;fi
2589
as_executable_p=$as_test_x
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'"
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'"
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.
2604
This file was extended by DRI2Proto $as_me 1.1, which was
2605
generated by GNU Autoconf 2.61. Invocation command line was
2607
CONFIG_FILES = $CONFIG_FILES
2608
CONFIG_HEADERS = $CONFIG_HEADERS
2609
CONFIG_LINKS = $CONFIG_LINKS
2610
CONFIG_COMMANDS = $CONFIG_COMMANDS
2613
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2618
cat >>$CONFIG_STATUS <<_ACEOF
2619
# Files that config.status was made for.
2620
config_files="$ac_config_files"
2624
cat >>$CONFIG_STATUS <<\_ACEOF
2626
\`$as_me' instantiates files from templates according to the
2627
current configuration.
2629
Usage: $0 [OPTIONS] [FILE]...
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
2639
Configuration files:
2642
Report bugs to <bug-autoconf@gnu.org>."
2645
cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
2669
ac_option=`expr "X$1" : 'X\([^=]*\)='`
2670
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2681
# Handling of the options.
2682
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2684
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2685
echo "$ac_cs_version"; exit ;;
2686
--debug | --debu | --deb | --de | --d | -d )
2688
--file | --fil | --fi | --f )
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)
2699
-*) { echo "$as_me: error: unrecognized option: $1
2700
Try \`$0 --help' for more information." >&2
2701
{ (exit 1); exit 1; }; } ;;
2703
*) ac_config_targets="$ac_config_targets $1"
2704
ac_need_defaults=false ;;
2710
ac_configure_extra_args=
2712
if $ac_cs_silent; then
2714
ac_configure_extra_args="$ac_configure_extra_args --silent"
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
2723
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2727
cat >>$CONFIG_STATUS <<\_ACEOF
2731
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2732
## Running $as_me. ##
2738
cat >>$CONFIG_STATUS <<_ACEOF
2741
cat >>$CONFIG_STATUS <<\_ACEOF
2743
# Handling of arguments.
2744
for ac_config_target in $ac_config_targets
2746
case $ac_config_target in
2747
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2748
"dri2proto.pc") CONFIG_FILES="$CONFIG_FILES dri2proto.pc" ;;
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; }; };;
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
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'.
2774
trap 'exit_status=$?
2775
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2777
trap '{ (exit 1); exit 1; }' 1 2 13 15
2779
# Create a (secure) tmp directory for tmp files.
2782
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2783
test -n "$tmp" && test -d "$tmp"
2786
tmp=./conf$$-$RANDOM
2787
(umask 077 && mkdir "$tmp")
2790
echo "$me: cannot create a temporary directory in ." >&2
2791
{ (exit 1); exit 1; }
2795
# Set up the sed scripts for CONFIG_FILES section.
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
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
2839
ECHO_C!$ECHO_C$ac_delim
2840
ECHO_N!$ECHO_N$ac_delim
2841
ECHO_T!$ECHO_T$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
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
2872
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
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; }; }
2879
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
2894
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2895
s/^/s,@/; s/!/@,|#_!!_#|/
2898
s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
2919
s/^\([^=]*=[ ]*\):*/\1/
2925
cat >>$CONFIG_STATUS <<\_ACEOF
2926
fi # test -n "$CONFIG_FILES"
2929
for ac_tag in :F $CONFIG_FILES
2932
:[FHLC]) ac_mode=$ac_tag; continue;;
2934
case $ac_mode$ac_tag in
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;;
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 `:'.
2964
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
2970
ac_file_inputs="$ac_file_inputs $ac_f"
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;}
2985
*:-:* | *:-) cat >"$tmp/stdin";;
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 ||
2996
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3015
-*) as_dir=./$as_dir;;
3017
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3021
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3022
*) as_qdir=$as_dir;;
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 ||
3031
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3048
test -d "$as_dir" && break
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; }; }; }
3057
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3073
.) # We are building in place.
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 ;;
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 ;;
3086
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3096
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3097
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3101
[\\/$]* | ?:[\\/]* ) ;;
3102
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
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=
3111
case `sed -n '/datarootdir/ {
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;}
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' ;;
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
3144
cat >>$CONFIG_STATUS <<\_ACEOF
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
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;}
3171
-) cat "$tmp/out"; rm -f "$tmp/out";;
3172
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3183
{ (exit 0); exit 0; }
3185
chmod +x $CONFIG_STATUS
3186
ac_clean_files=$ac_clean_files_save
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
3199
ac_config_status_args=
3200
test "$silent" = yes &&
3201
ac_config_status_args="$ac_config_status_args --quiet"
3203
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }