2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for xrefresh 1.0.2.
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='xrefresh'
576
PACKAGE_TARNAME='xrefresh'
577
PACKAGE_VERSION='1.0.2'
578
PACKAGE_STRING='xrefresh 1.0.2'
579
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
590
program_transform_name
631
INSTALL_STRIP_PROGRAM
640
MAINTAINER_MODE_FALSE
684
ac_precious_vars='build_alias
697
# Initialize some variables set by options.
699
ac_init_version=false
700
# The variables have the same names as the options, with
701
# dashes changed to underlines.
709
program_transform_name=s,x,x,
717
# Installation directory options.
718
# These are left unexpanded so users can "make install exec_prefix=/foo"
719
# and all the variables that are supposed to be based on exec_prefix
720
# by default will actually change.
721
# Use braces instead of parens because sh, perl, etc. also accept them.
722
# (The list follows the same order as the GNU Coding Standards.)
723
bindir='${exec_prefix}/bin'
724
sbindir='${exec_prefix}/sbin'
725
libexecdir='${exec_prefix}/libexec'
726
datarootdir='${prefix}/share'
727
datadir='${datarootdir}'
728
sysconfdir='${prefix}/etc'
729
sharedstatedir='${prefix}/com'
730
localstatedir='${prefix}/var'
731
includedir='${prefix}/include'
732
oldincludedir='/usr/include'
733
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
734
infodir='${datarootdir}/info'
739
libdir='${exec_prefix}/lib'
740
localedir='${datarootdir}/locale'
741
mandir='${datarootdir}/man'
747
# If the previous option needs an argument, assign it.
748
if test -n "$ac_prev"; then
749
eval $ac_prev=\$ac_option
755
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
759
# Accept the important Cygnus configure options, so we can diagnose typos.
761
case $ac_dashdash$ac_option in
765
-bindir | --bindir | --bindi | --bind | --bin | --bi)
767
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
770
-build | --build | --buil | --bui | --bu)
771
ac_prev=build_alias ;;
772
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
773
build_alias=$ac_optarg ;;
775
-cache-file | --cache-file | --cache-fil | --cache-fi \
776
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
777
ac_prev=cache_file ;;
778
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
779
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
780
cache_file=$ac_optarg ;;
783
cache_file=config.cache ;;
785
-datadir | --datadir | --datadi | --datad)
787
-datadir=* | --datadir=* | --datadi=* | --datad=*)
788
datadir=$ac_optarg ;;
790
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
791
| --dataroo | --dataro | --datar)
792
ac_prev=datarootdir ;;
793
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
794
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
795
datarootdir=$ac_optarg ;;
797
-disable-* | --disable-*)
798
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799
# Reject names that are not valid shell variable names.
800
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
802
{ (exit 1); exit 1; }; }
803
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
804
eval enable_$ac_feature=no ;;
806
-docdir | --docdir | --docdi | --doc | --do)
808
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
813
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816
-enable-* | --enable-*)
817
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818
# Reject names that are not valid shell variable names.
819
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
820
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
821
{ (exit 1); exit 1; }; }
822
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
823
eval enable_$ac_feature=\$ac_optarg ;;
825
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
826
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
827
| --exec | --exe | --ex)
828
ac_prev=exec_prefix ;;
829
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
830
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
831
| --exec=* | --exe=* | --ex=*)
832
exec_prefix=$ac_optarg ;;
834
-gas | --gas | --ga | --g)
835
# Obsolete; use --with-gas.
838
-help | --help | --hel | --he | -h)
840
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
841
ac_init_help=recursive ;;
842
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
843
ac_init_help=short ;;
845
-host | --host | --hos | --ho)
846
ac_prev=host_alias ;;
847
-host=* | --host=* | --hos=* | --ho=*)
848
host_alias=$ac_optarg ;;
850
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854
htmldir=$ac_optarg ;;
856
-includedir | --includedir | --includedi | --included | --include \
857
| --includ | --inclu | --incl | --inc)
858
ac_prev=includedir ;;
859
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
860
| --includ=* | --inclu=* | --incl=* | --inc=*)
861
includedir=$ac_optarg ;;
863
-infodir | --infodir | --infodi | --infod | --info | --inf)
865
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
866
infodir=$ac_optarg ;;
868
-libdir | --libdir | --libdi | --libd)
870
-libdir=* | --libdir=* | --libdi=* | --libd=*)
873
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
874
| --libexe | --libex | --libe)
875
ac_prev=libexecdir ;;
876
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
877
| --libexe=* | --libex=* | --libe=*)
878
libexecdir=$ac_optarg ;;
880
-localedir | --localedir | --localedi | --localed | --locale)
882
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
883
localedir=$ac_optarg ;;
885
-localstatedir | --localstatedir | --localstatedi | --localstated \
886
| --localstate | --localstat | --localsta | --localst | --locals)
887
ac_prev=localstatedir ;;
888
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
889
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
890
localstatedir=$ac_optarg ;;
892
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
898
# Obsolete; use --without-fp.
901
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
902
| --no-cr | --no-c | -n)
905
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
906
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
909
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
910
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
911
| --oldin | --oldi | --old | --ol | --o)
912
ac_prev=oldincludedir ;;
913
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
914
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
915
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
916
oldincludedir=$ac_optarg ;;
918
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
923
-program-prefix | --program-prefix | --program-prefi | --program-pref \
924
| --program-pre | --program-pr | --program-p)
925
ac_prev=program_prefix ;;
926
-program-prefix=* | --program-prefix=* | --program-prefi=* \
927
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
928
program_prefix=$ac_optarg ;;
930
-program-suffix | --program-suffix | --program-suffi | --program-suff \
931
| --program-suf | --program-su | --program-s)
932
ac_prev=program_suffix ;;
933
-program-suffix=* | --program-suffix=* | --program-suffi=* \
934
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
935
program_suffix=$ac_optarg ;;
937
-program-transform-name | --program-transform-name \
938
| --program-transform-nam | --program-transform-na \
939
| --program-transform-n | --program-transform- \
940
| --program-transform | --program-transfor \
941
| --program-transfo | --program-transf \
942
| --program-trans | --program-tran \
943
| --progr-tra | --program-tr | --program-t)
944
ac_prev=program_transform_name ;;
945
-program-transform-name=* | --program-transform-name=* \
946
| --program-transform-nam=* | --program-transform-na=* \
947
| --program-transform-n=* | --program-transform-=* \
948
| --program-transform=* | --program-transfor=* \
949
| --program-transfo=* | --program-transf=* \
950
| --program-trans=* | --program-tran=* \
951
| --progr-tra=* | --program-tr=* | --program-t=*)
952
program_transform_name=$ac_optarg ;;
954
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
959
-psdir | --psdir | --psdi | --psd | --ps)
961
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
964
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
965
| -silent | --silent | --silen | --sile | --sil)
968
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972
sbindir=$ac_optarg ;;
974
-sharedstatedir | --sharedstatedir | --sharedstatedi \
975
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
976
| --sharedst | --shareds | --shared | --share | --shar \
978
ac_prev=sharedstatedir ;;
979
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
980
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
981
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983
sharedstatedir=$ac_optarg ;;
985
-site | --site | --sit)
987
-site=* | --site=* | --sit=*)
990
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
995
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
996
| --syscon | --sysco | --sysc | --sys | --sy)
997
ac_prev=sysconfdir ;;
998
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
999
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1000
sysconfdir=$ac_optarg ;;
1002
-target | --target | --targe | --targ | --tar | --ta | --t)
1003
ac_prev=target_alias ;;
1004
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1005
target_alias=$ac_optarg ;;
1007
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1010
-version | --version | --versio | --versi | --vers | -V)
1011
ac_init_version=: ;;
1014
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015
# Reject names that are not valid shell variable names.
1016
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1018
{ (exit 1); exit 1; }; }
1019
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1020
eval with_$ac_package=\$ac_optarg ;;
1022
-without-* | --without-*)
1023
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024
# Reject names that are not valid shell variable names.
1025
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1027
{ (exit 1); exit 1; }; }
1028
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1029
eval with_$ac_package=no ;;
1032
# Obsolete; use --with-x.
1035
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1036
| --x-incl | --x-inc | --x-in | --x-i)
1037
ac_prev=x_includes ;;
1038
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1039
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1040
x_includes=$ac_optarg ;;
1042
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1043
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1044
ac_prev=x_libraries ;;
1045
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1046
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1047
x_libraries=$ac_optarg ;;
1049
-*) { echo "$as_me: error: unrecognized option: $ac_option
1050
Try \`$0 --help' for more information." >&2
1051
{ (exit 1); exit 1; }; }
1055
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1056
# Reject names that are not valid shell variable names.
1057
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1058
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1059
{ (exit 1); exit 1; }; }
1060
eval $ac_envvar=\$ac_optarg
1061
export $ac_envvar ;;
1064
# FIXME: should be removed in autoconf 3.0.
1065
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1067
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074
if test -n "$ac_prev"; then
1075
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1076
{ echo "$as_me: error: missing argument to $ac_option" >&2
1077
{ (exit 1); exit 1; }; }
1080
# Be sure to have absolute directory names.
1081
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082
datadir sysconfdir sharedstatedir localstatedir includedir \
1083
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084
libdir localedir mandir
1086
eval ac_val=\$$ac_var
1088
[\\/$]* | ?:[\\/]* ) continue;;
1089
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1091
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1092
{ (exit 1); exit 1; }; }
1095
# There might be people who depend on the old broken behavior: `$host'
1096
# used to hold the argument of --host etc.
1097
# FIXME: To remove some day.
1100
target=$target_alias
1102
# FIXME: To remove some day.
1103
if test "x$host_alias" != x; then
1104
if test "x$build_alias" = x; then
1105
cross_compiling=maybe
1106
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1107
If a cross compiler is detected then cross compile mode will be used." >&2
1108
elif test "x$build_alias" != "x$host_alias"; then
1114
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1116
test "$silent" = yes && exec 6>/dev/null
1119
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1120
ac_ls_di=`ls -di .` &&
1121
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1122
{ echo "$as_me: error: Working directory cannot be determined" >&2
1123
{ (exit 1); exit 1; }; }
1124
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1126
{ (exit 1); exit 1; }; }
1129
# Find the source files, if location was not specified.
1130
if test -z "$srcdir"; then
1131
ac_srcdir_defaulted=yes
1132
# Try the directory containing this script, then the parent directory.
1133
ac_confdir=`$as_dirname -- "$0" ||
1134
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1135
X"$0" : 'X\(//\)[^/]' \| \
1136
X"$0" : 'X\(//\)$' \| \
1137
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1139
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157
if test ! -r "$srcdir/$ac_unique_file"; then
1161
ac_srcdir_defaulted=no
1163
if test ! -r "$srcdir/$ac_unique_file"; then
1164
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1165
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1166
{ (exit 1); exit 1; }; }
1168
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1170
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1171
{ (exit 1); exit 1; }; }
1173
# When building in place, set srcdir=.
1174
if test "$ac_abs_confdir" = "$ac_pwd"; then
1177
# Remove unnecessary trailing slashes from srcdir.
1178
# Double slashes in file names in object file debugging info
1179
# mess up M-x gdb in Emacs.
1181
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1183
for ac_var in $ac_precious_vars; do
1184
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185
eval ac_env_${ac_var}_value=\$${ac_var}
1186
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1191
# Report the --help message.
1193
if test "$ac_init_help" = "long"; then
1194
# Omit some internal or obsolete options to make the list less imposing.
1195
# This message is too long to be a string in the A/UX 3.1 sh.
1197
\`configure' configures xrefresh 1.0.2 to adapt to many kinds of systems.
1199
Usage: $0 [OPTION]... [VAR=VALUE]...
1201
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202
VAR=VALUE. See below for descriptions of some of the useful variables.
1204
Defaults for the options are specified in brackets.
1207
-h, --help display this help and exit
1208
--help=short display options specific to this package
1209
--help=recursive display the short help of all the included packages
1210
-V, --version display version information and exit
1211
-q, --quiet, --silent do not print \`checking...' messages
1212
--cache-file=FILE cache test results in FILE [disabled]
1213
-C, --config-cache alias for \`--cache-file=config.cache'
1214
-n, --no-create do not create output files
1215
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1217
Installation directories:
1218
--prefix=PREFIX install architecture-independent files in PREFIX
1219
[$ac_default_prefix]
1220
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1223
By default, \`make install' will install all the files in
1224
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226
for instance \`--prefix=\$HOME'.
1228
For better control, use the options below.
1230
Fine tuning of the installation directories:
1231
--bindir=DIR user executables [EPREFIX/bin]
1232
--sbindir=DIR system admin executables [EPREFIX/sbin]
1233
--libexecdir=DIR program executables [EPREFIX/libexec]
1234
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237
--libdir=DIR object code libraries [EPREFIX/lib]
1238
--includedir=DIR C header files [PREFIX/include]
1239
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1240
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242
--infodir=DIR info documentation [DATAROOTDIR/info]
1243
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244
--mandir=DIR man documentation [DATAROOTDIR/man]
1245
--docdir=DIR documentation root [DATAROOTDIR/doc/xrefresh]
1246
--htmldir=DIR html documentation [DOCDIR]
1247
--dvidir=DIR dvi documentation [DOCDIR]
1248
--pdfdir=DIR pdf documentation [DOCDIR]
1249
--psdir=DIR ps documentation [DOCDIR]
1255
--program-prefix=PREFIX prepend PREFIX to installed program names
1256
--program-suffix=SUFFIX append SUFFIX to installed program names
1257
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1260
--build=BUILD configure for building on BUILD [guessed]
1261
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1265
if test -n "$ac_init_help"; then
1266
case $ac_init_help in
1267
short | recursive ) echo "Configuration of xrefresh 1.0.2:";;
1272
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1273
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1274
--enable-maintainer-mode enable make rules and dependencies not useful
1275
(and sometimes confusing) to the casual installer
1276
--disable-dependency-tracking speeds up one-time build
1277
--enable-dependency-tracking do not reject slow dependency extractors
1280
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1281
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1282
--with-release-version=STRING
1283
Use release version string in package name
1285
Some influential environment variables:
1286
CC C compiler command
1287
CFLAGS C compiler flags
1288
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1289
nonstandard directory <lib dir>
1290
LIBS libraries to pass to the linker, e.g. -l<library>
1291
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1292
you have headers in a nonstandard directory <include dir>
1293
PKG_CONFIG path to pkg-config utility
1295
C compiler flags for XREFRESH, overriding pkg-config
1297
linker flags for XREFRESH, overriding pkg-config
1299
Use these variables to override the choices made by `configure' or to help
1300
it to find libraries and programs with nonstandard names/locations.
1302
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1307
if test "$ac_init_help" = "recursive"; then
1308
# If there are subdirs, report their specific --help.
1309
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1310
test -d "$ac_dir" || continue
1314
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1317
# A ".." for each directory in $ac_dir_suffix.
1318
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1319
case $ac_top_builddir_sub in
1320
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1324
ac_abs_top_builddir=$ac_pwd
1325
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1326
# for backward compatibility:
1327
ac_top_builddir=$ac_top_build_prefix
1330
.) # We are building in place.
1332
ac_top_srcdir=$ac_top_builddir_sub
1333
ac_abs_top_srcdir=$ac_pwd ;;
1334
[\\/]* | ?:[\\/]* ) # Absolute name.
1335
ac_srcdir=$srcdir$ac_dir_suffix;
1336
ac_top_srcdir=$srcdir
1337
ac_abs_top_srcdir=$srcdir ;;
1339
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1340
ac_top_srcdir=$ac_top_build_prefix$srcdir
1341
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1343
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1345
cd "$ac_dir" || { ac_status=$?; continue; }
1346
# Check for guested configure.
1347
if test -f "$ac_srcdir/configure.gnu"; then
1349
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1350
elif test -f "$ac_srcdir/configure"; then
1352
$SHELL "$ac_srcdir/configure" --help=recursive
1354
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1356
cd "$ac_pwd" || { ac_status=$?; break; }
1360
test -n "$ac_init_help" && exit $ac_status
1361
if $ac_init_version; then
1363
xrefresh configure 1.0.2
1364
generated by GNU Autoconf 2.61
1366
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1367
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1368
This configure script is free software; the Free Software Foundation
1369
gives unlimited permission to copy, distribute and modify it.
1373
cat >config.log <<_ACEOF
1374
This file contains any messages produced by compilers while
1375
running configure, to aid debugging if configure makes a mistake.
1377
It was created by xrefresh $as_me 1.0.2, which was
1378
generated by GNU Autoconf 2.61. Invocation command line was
1390
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1391
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1392
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1393
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1394
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1396
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1397
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1399
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1400
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1401
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1402
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1403
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1404
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1405
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1413
test -z "$as_dir" && as_dir=.
1414
echo "PATH: $as_dir"
1430
# Keep a trace of the command line.
1431
# Strip out --no-create and --no-recursion so they do not pile up.
1432
# Strip out --silent because we don't want to record it for future runs.
1433
# Also quote any args containing shell meta-characters.
1434
# Make two passes to allow for proper duplicate-argument suppression.
1438
ac_must_keep_next=false
1444
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1445
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1446
| -silent | --silent | --silen | --sile | --sil)
1449
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1452
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1454
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1455
if test $ac_must_keep_next = true; then
1456
ac_must_keep_next=false # Got value, back to normal.
1459
*=* | --config-cache | -C | -disable-* | --disable-* \
1460
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1461
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1462
| -with-* | --with-* | -without-* | --without-* | --x)
1463
case "$ac_configure_args0 " in
1464
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1467
-* ) ac_must_keep_next=true ;;
1470
ac_configure_args="$ac_configure_args '$ac_arg'"
1475
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1476
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1478
# When interrupted or exit'd, cleanup temporary files, and complete
1479
# config.log. We remove comments because anyway the quotes in there
1480
# would cause problems or look ugly.
1481
# WARNING: Use '\'' to represent an apostrophe within the trap.
1482
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1483
trap 'exit_status=$?
1484
# Save into config.log some information that might help in debugging.
1489
## ---------------- ##
1490
## Cache variables. ##
1491
## ---------------- ##
1494
# The following way of writing the cache mishandles newlines in values,
1496
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1497
eval ac_val=\$$ac_var
1501
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1502
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1505
_ | IFS | as_nl) ;; #(
1506
*) $as_unset $ac_var ;;
1511
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1512
*${as_nl}ac_space=\ *)
1514
"s/'\''/'\''\\\\'\'''\''/g;
1515
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1518
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1526
## ----------------- ##
1527
## Output variables. ##
1528
## ----------------- ##
1531
for ac_var in $ac_subst_vars
1533
eval ac_val=\$$ac_var
1535
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1537
echo "$ac_var='\''$ac_val'\''"
1541
if test -n "$ac_subst_files"; then
1543
## ------------------- ##
1544
## File substitutions. ##
1545
## ------------------- ##
1548
for ac_var in $ac_subst_files
1550
eval ac_val=\$$ac_var
1552
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1554
echo "$ac_var='\''$ac_val'\''"
1559
if test -s confdefs.h; then
1569
test "$ac_signal" != 0 &&
1570
echo "$as_me: caught signal $ac_signal"
1571
echo "$as_me: exit $exit_status"
1573
rm -f core *.core core.conftest.* &&
1574
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1577
for ac_signal in 1 2 13 15; do
1578
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1582
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1583
rm -f -r conftest* confdefs.h
1585
# Predefined preprocessor variables.
1587
cat >>confdefs.h <<_ACEOF
1588
#define PACKAGE_NAME "$PACKAGE_NAME"
1592
cat >>confdefs.h <<_ACEOF
1593
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1597
cat >>confdefs.h <<_ACEOF
1598
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1602
cat >>confdefs.h <<_ACEOF
1603
#define PACKAGE_STRING "$PACKAGE_STRING"
1607
cat >>confdefs.h <<_ACEOF
1608
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1612
# Let the site file select an alternate cache file if it wants to.
1613
# Prefer explicitly selected file to automatically selected ones.
1614
if test -n "$CONFIG_SITE"; then
1615
set x "$CONFIG_SITE"
1616
elif test "x$prefix" != xNONE; then
1617
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1619
set x "$ac_default_prefix/share/config.site" \
1620
"$ac_default_prefix/etc/config.site"
1625
if test -r "$ac_site_file"; then
1626
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1627
echo "$as_me: loading site script $ac_site_file" >&6;}
1628
sed 's/^/| /' "$ac_site_file" >&5
1633
if test -r "$cache_file"; then
1634
# Some versions of bash will fail to source /dev/null (special
1635
# files actually), so we avoid doing that.
1636
if test -f "$cache_file"; then
1637
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1638
echo "$as_me: loading cache $cache_file" >&6;}
1640
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1641
*) . "./$cache_file";;
1645
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1646
echo "$as_me: creating cache $cache_file" >&6;}
1650
# Check that the precious variables saved in the cache have kept the same
1652
ac_cache_corrupted=false
1653
for ac_var in $ac_precious_vars; do
1654
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1655
eval ac_new_set=\$ac_env_${ac_var}_set
1656
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1657
eval ac_new_val=\$ac_env_${ac_var}_value
1658
case $ac_old_set,$ac_new_set in
1660
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1661
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1662
ac_cache_corrupted=: ;;
1664
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1665
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1666
ac_cache_corrupted=: ;;
1669
if test "x$ac_old_val" != "x$ac_new_val"; then
1670
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1671
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1672
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1673
echo "$as_me: former value: $ac_old_val" >&2;}
1674
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1675
echo "$as_me: current value: $ac_new_val" >&2;}
1676
ac_cache_corrupted=:
1679
# Pass precious variables to config.status.
1680
if test "$ac_new_set" = set; then
1682
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1683
*) ac_arg=$ac_var=$ac_new_val ;;
1685
case " $ac_configure_args " in
1686
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1687
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1691
if $ac_cache_corrupted; then
1692
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1693
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1694
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1695
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1696
{ (exit 1); exit 1; }; }
1724
ac_cpp='$CPP $CPPFLAGS'
1725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1730
am__api_version="1.9"
1732
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1733
if test -f "$ac_dir/install-sh"; then
1735
ac_install_sh="$ac_aux_dir/install-sh -c"
1737
elif test -f "$ac_dir/install.sh"; then
1739
ac_install_sh="$ac_aux_dir/install.sh -c"
1741
elif test -f "$ac_dir/shtool"; then
1743
ac_install_sh="$ac_aux_dir/shtool install -c"
1747
if test -z "$ac_aux_dir"; then
1748
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1749
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1750
{ (exit 1); exit 1; }; }
1753
# These three variables are undocumented and unsupported,
1754
# and are intended to be withdrawn in a future Autoconf release.
1755
# They can cause serious problems if a builder's source tree is in a directory
1756
# whose full name contains unusual characters.
1757
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1758
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1759
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1762
# Find a good install program. We prefer a C program (faster),
1763
# so one script is as good as another. But avoid the broken or
1764
# incompatible versions:
1765
# SysV /etc/install, /usr/sbin/install
1766
# SunOS /usr/etc/install
1767
# IRIX /sbin/install
1769
# AmigaOS /C/install, which installs bootblocks on floppy discs
1770
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1771
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1772
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1773
# OS/2's system install, which has a completely different semantic
1774
# ./install, which can be erroneously created by make from ./install.sh.
1775
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1776
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1777
if test -z "$INSTALL"; then
1778
if test "${ac_cv_path_install+set}" = set; then
1779
echo $ECHO_N "(cached) $ECHO_C" >&6
1781
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785
test -z "$as_dir" && as_dir=.
1786
# Account for people who put trailing slashes in PATH elements.
1788
./ | .// | /cC/* | \
1789
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1790
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1793
# OSF1 and SCO ODT 3.0 have their own names for install.
1794
# Don't use installbsd from OSF since it installs stuff as root
1796
for ac_prog in ginstall scoinst install; do
1797
for ac_exec_ext in '' $ac_executable_extensions; do
1798
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1799
if test $ac_prog = install &&
1800
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1801
# AIX install. It has an incompatible calling convention.
1803
elif test $ac_prog = install &&
1804
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1805
# program-specific install script used by HP pwplus--don't use.
1808
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1821
if test "${ac_cv_path_install+set}" = set; then
1822
INSTALL=$ac_cv_path_install
1824
# As a last resort, use the slow shell script. Don't cache a
1825
# value for INSTALL within a source directory, because that will
1826
# break other packages using the cache if that directory is
1827
# removed, or if the value is a relative name.
1828
INSTALL=$ac_install_sh
1831
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1832
echo "${ECHO_T}$INSTALL" >&6; }
1834
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1835
# It thinks the first close brace ends the variable substitution.
1836
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1838
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1840
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1842
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1843
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1846
echo timestamp > conftest.file
1847
# Do `set' in a subshell so we don't clobber the current shell's
1848
# arguments. Must try -L first in case configure is actually a
1849
# symlink; some systems play weird games with the mod time of symlinks
1850
# (eg FreeBSD returns the mod time of the symlink's containing
1853
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1854
if test "$*" = "X"; then
1856
set X `ls -t $srcdir/configure conftest.file`
1859
if test "$*" != "X $srcdir/configure conftest.file" \
1860
&& test "$*" != "X conftest.file $srcdir/configure"; then
1862
# If neither matched, then we have a broken ls. This can happen
1863
# if, for instance, CONFIG_SHELL is bash and it inherits a
1864
# broken ls alias from the environment. This has actually
1865
# happened. Such a system could not be considered "sane".
1866
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1867
alias in your environment" >&5
1868
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1869
alias in your environment" >&2;}
1870
{ (exit 1); exit 1; }; }
1873
test "$2" = conftest.file
1879
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1880
Check your system clock" >&5
1881
echo "$as_me: error: newly created file is older than distributed files!
1882
Check your system clock" >&2;}
1883
{ (exit 1); exit 1; }; }
1885
{ echo "$as_me:$LINENO: result: yes" >&5
1886
echo "${ECHO_T}yes" >&6; }
1887
test "$program_prefix" != NONE &&
1888
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1889
# Use a double $ so make ignores it.
1890
test "$program_suffix" != NONE &&
1891
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1892
# Double any \ or $. echo might interpret backslashes.
1893
# By default was `s,x,x', remove it if useless.
1894
cat <<\_ACEOF >conftest.sed
1895
s/[\\$]/&&/g;s/;s,x,x,$//
1897
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1900
# expand $ac_aux_dir to an absolute path
1901
am_aux_dir=`cd $ac_aux_dir && pwd`
1903
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1904
# Use eval to expand $SHELL
1905
if eval "$MISSING --run true"; then
1906
am_missing_run="$MISSING --run "
1909
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1910
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1913
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1914
# We used to keeping the `.' as first argument, in order to
1915
# allow $(mkdir_p) to be used without argument. As in
1916
# $(mkdir_p) $(somedir)
1917
# where $(somedir) is conditionally defined. However this is wrong
1919
# 1. if the package is installed by a user who cannot write `.'
1920
# make install will fail,
1921
# 2. the above comment should most certainly read
1922
# $(mkdir_p) $(DESTDIR)$(somedir)
1923
# so it does not work when $(somedir) is undefined and
1924
# $(DESTDIR) is not.
1925
# To support the latter case, we have to write
1926
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1927
# so the `.' trick is pointless.
1928
mkdir_p='mkdir -p --'
1930
# On NextStep and OpenStep, the `mkdir' command does not
1931
# recognize any option. It will interpret all options as
1932
# directories to create, and then abort because `.' already
1934
for d in ./-p ./--version;
1936
test -d $d && rmdir $d
1938
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1939
if test -f "$ac_aux_dir/mkinstalldirs"; then
1940
mkdir_p='$(mkinstalldirs)'
1942
mkdir_p='$(install_sh) -d'
1946
for ac_prog in gawk mawk nawk awk
1948
# Extract the first word of "$ac_prog", so it can be a program name with args.
1949
set dummy $ac_prog; ac_word=$2
1950
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1951
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1952
if test "${ac_cv_prog_AWK+set}" = set; then
1953
echo $ECHO_N "(cached) $ECHO_C" >&6
1955
if test -n "$AWK"; then
1956
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962
test -z "$as_dir" && as_dir=.
1963
for ac_exec_ext in '' $ac_executable_extensions; do
1964
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1965
ac_cv_prog_AWK="$ac_prog"
1966
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976
if test -n "$AWK"; then
1977
{ echo "$as_me:$LINENO: result: $AWK" >&5
1978
echo "${ECHO_T}$AWK" >&6; }
1980
{ echo "$as_me:$LINENO: result: no" >&5
1981
echo "${ECHO_T}no" >&6; }
1985
test -n "$AWK" && break
1988
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1989
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1990
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1991
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1992
echo $ECHO_N "(cached) $ECHO_C" >&6
1994
cat >conftest.make <<\_ACEOF
1997
@echo '@@@%%%=$(MAKE)=@@@%%%'
1999
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2000
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2002
eval ac_cv_prog_make_${ac_make}_set=yes;;
2004
eval ac_cv_prog_make_${ac_make}_set=no;;
2008
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2009
{ echo "$as_me:$LINENO: result: yes" >&5
2010
echo "${ECHO_T}yes" >&6; }
2013
{ echo "$as_me:$LINENO: result: no" >&5
2014
echo "${ECHO_T}no" >&6; }
2015
SET_MAKE="MAKE=${MAKE-make}"
2018
rm -rf .tst 2>/dev/null
2019
mkdir .tst 2>/dev/null
2020
if test -d .tst; then
2025
rmdir .tst 2>/dev/null
2027
# test to see if srcdir already configured
2028
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2029
test -f $srcdir/config.status; then
2030
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2031
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2032
{ (exit 1); exit 1; }; }
2035
# test whether we have cygpath
2036
if test -z "$CYGPATH_W"; then
2037
if (cygpath --version) >/dev/null 2>/dev/null; then
2038
CYGPATH_W='cygpath -w'
2045
# Define the identity of the package.
2050
cat >>confdefs.h <<_ACEOF
2051
#define PACKAGE "$PACKAGE"
2055
cat >>confdefs.h <<_ACEOF
2056
#define VERSION "$VERSION"
2059
# Some tools Automake needs.
2061
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2064
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2067
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2070
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2073
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2075
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2077
# Installed binaries are usually stripped using `strip' when the user
2078
# run `make install-strip'. However `strip' might not be the right
2079
# tool to use in cross-compilation environments, therefore Automake
2080
# will honor the `STRIP' environment variable to overrule this program.
2081
if test "$cross_compiling" != no; then
2082
if test -n "$ac_tool_prefix"; then
2083
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2084
set dummy ${ac_tool_prefix}strip; ac_word=$2
2085
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2086
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2087
if test "${ac_cv_prog_STRIP+set}" = set; then
2088
echo $ECHO_N "(cached) $ECHO_C" >&6
2090
if test -n "$STRIP"; then
2091
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097
test -z "$as_dir" && as_dir=.
2098
for ac_exec_ext in '' $ac_executable_extensions; do
2099
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2101
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110
STRIP=$ac_cv_prog_STRIP
2111
if test -n "$STRIP"; then
2112
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2113
echo "${ECHO_T}$STRIP" >&6; }
2115
{ echo "$as_me:$LINENO: result: no" >&5
2116
echo "${ECHO_T}no" >&6; }
2121
if test -z "$ac_cv_prog_STRIP"; then
2123
# Extract the first word of "strip", so it can be a program name with args.
2124
set dummy strip; ac_word=$2
2125
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2126
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2127
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2128
echo $ECHO_N "(cached) $ECHO_C" >&6
2130
if test -n "$ac_ct_STRIP"; then
2131
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137
test -z "$as_dir" && as_dir=.
2138
for ac_exec_ext in '' $ac_executable_extensions; do
2139
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140
ac_cv_prog_ac_ct_STRIP="strip"
2141
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2151
if test -n "$ac_ct_STRIP"; then
2152
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2153
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2155
{ echo "$as_me:$LINENO: result: no" >&5
2156
echo "${ECHO_T}no" >&6; }
2159
if test "x$ac_ct_STRIP" = x; then
2162
case $cross_compiling:$ac_tool_warned in
2164
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2165
whose name does not start with the host triplet. If you think this
2166
configuration is useful to you, please write to autoconf@gnu.org." >&5
2167
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2168
whose name does not start with the host triplet. If you think this
2169
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2170
ac_tool_warned=yes ;;
2175
STRIP="$ac_cv_prog_STRIP"
2179
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2181
# We need awk for the "check" target. The system "awk" is bad on
2183
# Always define AMTAR for backward compatibility.
2185
AMTAR=${AMTAR-"${am_missing_run}tar"}
2187
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2193
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2194
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2195
# Check whether --enable-maintainer-mode was given.
2196
if test "${enable_maintainer_mode+set}" = set; then
2197
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2199
USE_MAINTAINER_MODE=no
2202
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2203
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2206
if test $USE_MAINTAINER_MODE = yes; then
2207
MAINTAINER_MODE_TRUE=
2208
MAINTAINER_MODE_FALSE='#'
2210
MAINTAINER_MODE_TRUE='#'
2211
MAINTAINER_MODE_FALSE=
2214
MAINT=$MAINTAINER_MODE_TRUE
2218
ac_config_headers="$ac_config_headers config.h"
2222
ac_cpp='$CPP $CPPFLAGS'
2223
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
if test -n "$ac_tool_prefix"; then
2227
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2228
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2229
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2230
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231
if test "${ac_cv_prog_CC+set}" = set; then
2232
echo $ECHO_N "(cached) $ECHO_C" >&6
2234
if test -n "$CC"; then
2235
ac_cv_prog_CC="$CC" # Let the user override the test.
2237
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241
test -z "$as_dir" && as_dir=.
2242
for ac_exec_ext in '' $ac_executable_extensions; do
2243
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2244
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2245
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255
if test -n "$CC"; then
2256
{ echo "$as_me:$LINENO: result: $CC" >&5
2257
echo "${ECHO_T}$CC" >&6; }
2259
{ echo "$as_me:$LINENO: result: no" >&5
2260
echo "${ECHO_T}no" >&6; }
2265
if test -z "$ac_cv_prog_CC"; then
2267
# Extract the first word of "gcc", so it can be a program name with args.
2268
set dummy gcc; ac_word=$2
2269
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2270
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2271
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2272
echo $ECHO_N "(cached) $ECHO_C" >&6
2274
if test -n "$ac_ct_CC"; then
2275
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281
test -z "$as_dir" && as_dir=.
2282
for ac_exec_ext in '' $ac_executable_extensions; do
2283
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284
ac_cv_prog_ac_ct_CC="gcc"
2285
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2295
if test -n "$ac_ct_CC"; then
2296
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297
echo "${ECHO_T}$ac_ct_CC" >&6; }
2299
{ echo "$as_me:$LINENO: result: no" >&5
2300
echo "${ECHO_T}no" >&6; }
2303
if test "x$ac_ct_CC" = x; then
2306
case $cross_compiling:$ac_tool_warned in
2308
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2309
whose name does not start with the host triplet. If you think this
2310
configuration is useful to you, please write to autoconf@gnu.org." >&5
2311
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2312
whose name does not start with the host triplet. If you think this
2313
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2314
ac_tool_warned=yes ;;
2322
if test -z "$CC"; then
2323
if test -n "$ac_tool_prefix"; then
2324
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2325
set dummy ${ac_tool_prefix}cc; ac_word=$2
2326
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2327
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328
if test "${ac_cv_prog_CC+set}" = set; then
2329
echo $ECHO_N "(cached) $ECHO_C" >&6
2331
if test -n "$CC"; then
2332
ac_cv_prog_CC="$CC" # Let the user override the test.
2334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338
test -z "$as_dir" && as_dir=.
2339
for ac_exec_ext in '' $ac_executable_extensions; do
2340
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341
ac_cv_prog_CC="${ac_tool_prefix}cc"
2342
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352
if test -n "$CC"; then
2353
{ echo "$as_me:$LINENO: result: $CC" >&5
2354
echo "${ECHO_T}$CC" >&6; }
2356
{ echo "$as_me:$LINENO: result: no" >&5
2357
echo "${ECHO_T}no" >&6; }
2363
if test -z "$CC"; then
2364
# Extract the first word of "cc", so it can be a program name with args.
2365
set dummy cc; ac_word=$2
2366
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2367
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2368
if test "${ac_cv_prog_CC+set}" = set; then
2369
echo $ECHO_N "(cached) $ECHO_C" >&6
2371
if test -n "$CC"; then
2372
ac_cv_prog_CC="$CC" # Let the user override the test.
2375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379
test -z "$as_dir" && as_dir=.
2380
for ac_exec_ext in '' $ac_executable_extensions; do
2381
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2382
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2383
ac_prog_rejected=yes
2387
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394
if test $ac_prog_rejected = yes; then
2395
# We found a bogon in the path, so make sure we never use it.
2396
set dummy $ac_cv_prog_CC
2398
if test $# != 0; then
2399
# We chose a different compiler from the bogus one.
2400
# However, it has the same basename, so the bogon will be chosen
2401
# first if we set CC to just the basename; use the full file name.
2403
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2409
if test -n "$CC"; then
2410
{ echo "$as_me:$LINENO: result: $CC" >&5
2411
echo "${ECHO_T}$CC" >&6; }
2413
{ echo "$as_me:$LINENO: result: no" >&5
2414
echo "${ECHO_T}no" >&6; }
2419
if test -z "$CC"; then
2420
if test -n "$ac_tool_prefix"; then
2421
for ac_prog in cl.exe
2423
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2424
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2425
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2426
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427
if test "${ac_cv_prog_CC+set}" = set; then
2428
echo $ECHO_N "(cached) $ECHO_C" >&6
2430
if test -n "$CC"; then
2431
ac_cv_prog_CC="$CC" # Let the user override the test.
2433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437
test -z "$as_dir" && as_dir=.
2438
for ac_exec_ext in '' $ac_executable_extensions; do
2439
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2441
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451
if test -n "$CC"; then
2452
{ echo "$as_me:$LINENO: result: $CC" >&5
2453
echo "${ECHO_T}$CC" >&6; }
2455
{ echo "$as_me:$LINENO: result: no" >&5
2456
echo "${ECHO_T}no" >&6; }
2460
test -n "$CC" && break
2463
if test -z "$CC"; then
2465
for ac_prog in cl.exe
2467
# Extract the first word of "$ac_prog", so it can be a program name with args.
2468
set dummy $ac_prog; ac_word=$2
2469
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2470
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2472
echo $ECHO_N "(cached) $ECHO_C" >&6
2474
if test -n "$ac_ct_CC"; then
2475
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2477
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481
test -z "$as_dir" && as_dir=.
2482
for ac_exec_ext in '' $ac_executable_extensions; do
2483
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484
ac_cv_prog_ac_ct_CC="$ac_prog"
2485
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2495
if test -n "$ac_ct_CC"; then
2496
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2497
echo "${ECHO_T}$ac_ct_CC" >&6; }
2499
{ echo "$as_me:$LINENO: result: no" >&5
2500
echo "${ECHO_T}no" >&6; }
2504
test -n "$ac_ct_CC" && break
2507
if test "x$ac_ct_CC" = x; then
2510
case $cross_compiling:$ac_tool_warned in
2512
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2513
whose name does not start with the host triplet. If you think this
2514
configuration is useful to you, please write to autoconf@gnu.org." >&5
2515
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2516
whose name does not start with the host triplet. If you think this
2517
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2518
ac_tool_warned=yes ;;
2527
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2528
See \`config.log' for more details." >&5
2529
echo "$as_me: error: no acceptable C compiler found in \$PATH
2530
See \`config.log' for more details." >&2;}
2531
{ (exit 1); exit 1; }; }
2533
# Provide some information about the compiler.
2534
echo "$as_me:$LINENO: checking for C compiler version" >&5
2535
ac_compiler=`set X $ac_compile; echo $2`
2536
{ (ac_try="$ac_compiler --version >&5"
2538
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539
*) ac_try_echo=$ac_try;;
2541
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542
(eval "$ac_compiler --version >&5") 2>&5
2544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545
(exit $ac_status); }
2546
{ (ac_try="$ac_compiler -v >&5"
2548
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549
*) ac_try_echo=$ac_try;;
2551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2552
(eval "$ac_compiler -v >&5") 2>&5
2554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
(exit $ac_status); }
2556
{ (ac_try="$ac_compiler -V >&5"
2558
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559
*) ac_try_echo=$ac_try;;
2561
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2562
(eval "$ac_compiler -V >&5") 2>&5
2564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565
(exit $ac_status); }
2567
cat >conftest.$ac_ext <<_ACEOF
2570
cat confdefs.h >>conftest.$ac_ext
2571
cat >>conftest.$ac_ext <<_ACEOF
2572
/* end confdefs.h. */
2582
ac_clean_files_save=$ac_clean_files
2583
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2584
# Try to create an executable without -o first, disregard a.out.
2585
# It will help us diagnose broken compilers, and finding out an intuition
2587
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2588
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2589
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2591
# List of possible output files, starting from the most likely.
2592
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2593
# only as a last resort. b.out is created by i960 compilers.
2594
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2596
# The IRIX 6 linker writes into existing files which may not be
2597
# executable, retaining their permissions. Remove them first so a
2598
# subsequent execution test works.
2600
for ac_file in $ac_files
2603
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2604
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2609
if { (ac_try="$ac_link_default"
2611
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612
*) ac_try_echo=$ac_try;;
2614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615
(eval "$ac_link_default") 2>&5
2617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618
(exit $ac_status); }; then
2619
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2620
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2621
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2622
# so that the user can short-circuit this test for compilers unknown to
2624
for ac_file in $ac_files ''
2626
test -f "$ac_file" || continue
2628
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2631
# We found the default executable, but exeext='' is most
2635
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2637
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2639
# We set ac_cv_exeext here because the later test for it is not
2640
# safe: cross compilers may not add the suffix if given an `-o'
2641
# argument, so we may need to know it at that point already.
2642
# Even if this section looks crufty: it has the advantage of
2649
test "$ac_cv_exeext" = no && ac_cv_exeext=
2655
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2656
echo "${ECHO_T}$ac_file" >&6; }
2657
if test -z "$ac_file"; then
2658
echo "$as_me: failed program was:" >&5
2659
sed 's/^/| /' conftest.$ac_ext >&5
2661
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2662
See \`config.log' for more details." >&5
2663
echo "$as_me: error: C compiler cannot create executables
2664
See \`config.log' for more details." >&2;}
2665
{ (exit 77); exit 77; }; }
2668
ac_exeext=$ac_cv_exeext
2670
# Check that the compiler produces executables we can run. If not, either
2671
# the compiler is broken, or we cross compile.
2672
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2673
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2674
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2675
# If not cross compiling, check that we can run a simple program.
2676
if test "$cross_compiling" != yes; then
2677
if { ac_try='./$ac_file'
2678
{ (case "(($ac_try" in
2679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680
*) ac_try_echo=$ac_try;;
2682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2683
(eval "$ac_try") 2>&5
2685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
(exit $ac_status); }; }; then
2689
if test "$cross_compiling" = maybe; then
2692
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2693
If you meant to cross compile, use \`--host'.
2694
See \`config.log' for more details." >&5
2695
echo "$as_me: error: cannot run C compiled programs.
2696
If you meant to cross compile, use \`--host'.
2697
See \`config.log' for more details." >&2;}
2698
{ (exit 1); exit 1; }; }
2702
{ echo "$as_me:$LINENO: result: yes" >&5
2703
echo "${ECHO_T}yes" >&6; }
2705
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2706
ac_clean_files=$ac_clean_files_save
2707
# Check that the compiler produces executables we can run. If not, either
2708
# the compiler is broken, or we cross compile.
2709
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2710
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2711
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2712
echo "${ECHO_T}$cross_compiling" >&6; }
2714
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2715
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2716
if { (ac_try="$ac_link"
2718
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719
*) ac_try_echo=$ac_try;;
2721
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722
(eval "$ac_link") 2>&5
2724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
(exit $ac_status); }; then
2726
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2727
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2728
# work properly (i.e., refer to `conftest.exe'), while it won't with
2730
for ac_file in conftest.exe conftest conftest.*; do
2731
test -f "$ac_file" || continue
2733
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2734
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2740
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2741
See \`config.log' for more details." >&5
2742
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2743
See \`config.log' for more details." >&2;}
2744
{ (exit 1); exit 1; }; }
2747
rm -f conftest$ac_cv_exeext
2748
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2749
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2751
rm -f conftest.$ac_ext
2752
EXEEXT=$ac_cv_exeext
2754
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2755
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2756
if test "${ac_cv_objext+set}" = set; then
2757
echo $ECHO_N "(cached) $ECHO_C" >&6
2759
cat >conftest.$ac_ext <<_ACEOF
2762
cat confdefs.h >>conftest.$ac_ext
2763
cat >>conftest.$ac_ext <<_ACEOF
2764
/* end confdefs.h. */
2774
rm -f conftest.o conftest.obj
2775
if { (ac_try="$ac_compile"
2777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778
*) ac_try_echo=$ac_try;;
2780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781
(eval "$ac_compile") 2>&5
2783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
(exit $ac_status); }; then
2785
for ac_file in conftest.o conftest.obj conftest.*; do
2786
test -f "$ac_file" || continue;
2788
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2789
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2794
echo "$as_me: failed program was:" >&5
2795
sed 's/^/| /' conftest.$ac_ext >&5
2797
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2798
See \`config.log' for more details." >&5
2799
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2800
See \`config.log' for more details." >&2;}
2801
{ (exit 1); exit 1; }; }
2804
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2806
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2807
echo "${ECHO_T}$ac_cv_objext" >&6; }
2808
OBJEXT=$ac_cv_objext
2810
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2811
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2812
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2813
echo $ECHO_N "(cached) $ECHO_C" >&6
2815
cat >conftest.$ac_ext <<_ACEOF
2818
cat confdefs.h >>conftest.$ac_ext
2819
cat >>conftest.$ac_ext <<_ACEOF
2820
/* end confdefs.h. */
2833
rm -f conftest.$ac_objext
2834
if { (ac_try="$ac_compile"
2836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837
*) ac_try_echo=$ac_try;;
2839
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840
(eval "$ac_compile") 2>conftest.er1
2842
grep -v '^ *+' conftest.er1 >conftest.err
2844
cat conftest.err >&5
2845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
(exit $ac_status); } && {
2847
test -z "$ac_c_werror_flag" ||
2848
test ! -s conftest.err
2849
} && test -s conftest.$ac_objext; then
2852
echo "$as_me: failed program was:" >&5
2853
sed 's/^/| /' conftest.$ac_ext >&5
2858
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2862
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2863
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2864
GCC=`test $ac_compiler_gnu = yes && echo yes`
2865
ac_test_CFLAGS=${CFLAGS+set}
2866
ac_save_CFLAGS=$CFLAGS
2867
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2868
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2869
if test "${ac_cv_prog_cc_g+set}" = set; then
2870
echo $ECHO_N "(cached) $ECHO_C" >&6
2872
ac_save_c_werror_flag=$ac_c_werror_flag
2873
ac_c_werror_flag=yes
2876
cat >conftest.$ac_ext <<_ACEOF
2879
cat confdefs.h >>conftest.$ac_ext
2880
cat >>conftest.$ac_ext <<_ACEOF
2881
/* end confdefs.h. */
2891
rm -f conftest.$ac_objext
2892
if { (ac_try="$ac_compile"
2894
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895
*) ac_try_echo=$ac_try;;
2897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898
(eval "$ac_compile") 2>conftest.er1
2900
grep -v '^ *+' conftest.er1 >conftest.err
2902
cat conftest.err >&5
2903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904
(exit $ac_status); } && {
2905
test -z "$ac_c_werror_flag" ||
2906
test ! -s conftest.err
2907
} && test -s conftest.$ac_objext; then
2910
echo "$as_me: failed program was:" >&5
2911
sed 's/^/| /' conftest.$ac_ext >&5
2914
cat >conftest.$ac_ext <<_ACEOF
2917
cat confdefs.h >>conftest.$ac_ext
2918
cat >>conftest.$ac_ext <<_ACEOF
2919
/* end confdefs.h. */
2929
rm -f conftest.$ac_objext
2930
if { (ac_try="$ac_compile"
2932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933
*) ac_try_echo=$ac_try;;
2935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2936
(eval "$ac_compile") 2>conftest.er1
2938
grep -v '^ *+' conftest.er1 >conftest.err
2940
cat conftest.err >&5
2941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
(exit $ac_status); } && {
2943
test -z "$ac_c_werror_flag" ||
2944
test ! -s conftest.err
2945
} && test -s conftest.$ac_objext; then
2948
echo "$as_me: failed program was:" >&5
2949
sed 's/^/| /' conftest.$ac_ext >&5
2951
ac_c_werror_flag=$ac_save_c_werror_flag
2953
cat >conftest.$ac_ext <<_ACEOF
2956
cat confdefs.h >>conftest.$ac_ext
2957
cat >>conftest.$ac_ext <<_ACEOF
2958
/* end confdefs.h. */
2968
rm -f conftest.$ac_objext
2969
if { (ac_try="$ac_compile"
2971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972
*) ac_try_echo=$ac_try;;
2974
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975
(eval "$ac_compile") 2>conftest.er1
2977
grep -v '^ *+' conftest.er1 >conftest.err
2979
cat conftest.err >&5
2980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
(exit $ac_status); } && {
2982
test -z "$ac_c_werror_flag" ||
2983
test ! -s conftest.err
2984
} && test -s conftest.$ac_objext; then
2987
echo "$as_me: failed program was:" >&5
2988
sed 's/^/| /' conftest.$ac_ext >&5
2993
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000
ac_c_werror_flag=$ac_save_c_werror_flag
3002
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3003
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3004
if test "$ac_test_CFLAGS" = set; then
3005
CFLAGS=$ac_save_CFLAGS
3006
elif test $ac_cv_prog_cc_g = yes; then
3007
if test "$GCC" = yes; then
3013
if test "$GCC" = yes; then
3019
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3020
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3021
if test "${ac_cv_prog_cc_c89+set}" = set; then
3022
echo $ECHO_N "(cached) $ECHO_C" >&6
3024
ac_cv_prog_cc_c89=no
3026
cat >conftest.$ac_ext <<_ACEOF
3029
cat confdefs.h >>conftest.$ac_ext
3030
cat >>conftest.$ac_ext <<_ACEOF
3031
/* end confdefs.h. */
3034
#include <sys/types.h>
3035
#include <sys/stat.h>
3036
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3037
struct buf { int x; };
3038
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3039
static char *e (p, i)
3045
static char *f (char * (*g) (char **, int), char **p, ...)
3050
s = g (p, va_arg (v,int));
3055
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3056
function prototypes and stuff, but not '\xHH' hex character constants.
3057
These don't provoke an error unfortunately, instead are silently treated
3058
as 'x'. The following induces an error, until -std is added to get
3059
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3060
array size at least. It's necessary to write '\x00'==0 to get something
3061
that's true only with -std. */
3062
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3064
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3065
inside strings and character constants. */
3067
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3069
int test (int i, double x);
3070
struct s1 {int (*f) (int a);};
3071
struct s2 {int (*f) (double a);};
3072
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3078
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3083
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3084
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3086
CC="$ac_save_CC $ac_arg"
3087
rm -f conftest.$ac_objext
3088
if { (ac_try="$ac_compile"
3090
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091
*) ac_try_echo=$ac_try;;
3093
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094
(eval "$ac_compile") 2>conftest.er1
3096
grep -v '^ *+' conftest.er1 >conftest.err
3098
cat conftest.err >&5
3099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100
(exit $ac_status); } && {
3101
test -z "$ac_c_werror_flag" ||
3102
test ! -s conftest.err
3103
} && test -s conftest.$ac_objext; then
3104
ac_cv_prog_cc_c89=$ac_arg
3106
echo "$as_me: failed program was:" >&5
3107
sed 's/^/| /' conftest.$ac_ext >&5
3112
rm -f core conftest.err conftest.$ac_objext
3113
test "x$ac_cv_prog_cc_c89" != "xno" && break
3115
rm -f conftest.$ac_ext
3120
case "x$ac_cv_prog_cc_c89" in
3122
{ echo "$as_me:$LINENO: result: none needed" >&5
3123
echo "${ECHO_T}none needed" >&6; } ;;
3125
{ echo "$as_me:$LINENO: result: unsupported" >&5
3126
echo "${ECHO_T}unsupported" >&6; } ;;
3128
CC="$CC $ac_cv_prog_cc_c89"
3129
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3130
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3135
ac_cpp='$CPP $CPPFLAGS'
3136
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3139
DEPDIR="${am__leading_dot}deps"
3141
ac_config_commands="$ac_config_commands depfiles"
3144
am_make=${MAKE-make}
3145
cat > confinc << 'END'
3150
# If we don't find an include directive, just comment out the code.
3151
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3152
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3156
# First try GNU make style include.
3157
echo "include confinc" > confmf
3158
# We grep out `Entering directory' and `Leaving directory'
3159
# messages which can occur if `w' ends up in MAKEFLAGS.
3160
# In particular we don't look at `^make:' because GNU make might
3161
# be invoked under some other name (usually "gmake"), in which
3162
# case it prints its new name instead of `make'.
3163
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3168
# Now try BSD make style include.
3169
if test "$am__include" = "#"; then
3170
echo '.include "confinc"' > confmf
3171
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3172
am__include=.include
3179
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3180
echo "${ECHO_T}$_am_result" >&6; }
3181
rm -f confinc confmf
3183
# Check whether --enable-dependency-tracking was given.
3184
if test "${enable_dependency_tracking+set}" = set; then
3185
enableval=$enable_dependency_tracking;
3188
if test "x$enable_dependency_tracking" != xno; then
3189
am_depcomp="$ac_aux_dir/depcomp"
3194
if test "x$enable_dependency_tracking" != xno; then
3205
depcc="$CC" am_compiler_list=
3207
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3208
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3209
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3210
echo $ECHO_N "(cached) $ECHO_C" >&6
3212
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3213
# We make a subdir and do the tests there. Otherwise we can end up
3214
# making bogus files that we don't know about and never remove. For
3215
# instance it was reported that on HP-UX the gcc test will end up
3216
# making a dummy file named `D' -- because `-MD' means `put the output
3219
# Copy depcomp to subdir because otherwise we won't find it if we're
3220
# using a relative directory.
3221
cp "$am_depcomp" conftest.dir
3223
# We will build objects and dependencies in a subdirectory because
3224
# it helps to detect inapplicable dependency modes. For instance
3225
# both Tru64's cc and ICC support -MD to output dependencies as a
3226
# side effect of compilation, but ICC will put the dependencies in
3227
# the current directory while Tru64 will put them in the object
3231
am_cv_CC_dependencies_compiler_type=none
3232
if test "$am_compiler_list" = ""; then
3233
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3235
for depmode in $am_compiler_list; do
3236
# Setup a source with many dependencies, because some compilers
3237
# like to wrap large dependency lists on column 80 (with \), and
3238
# we should not choose a depcomp mode which is confused by this.
3240
# We need to recreate these files for each test, as the compiler may
3241
# overwrite some of them when testing with obscure command lines.
3242
# This happens at least with the AIX C compiler.
3244
for i in 1 2 3 4 5 6; do
3245
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3246
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3247
# Solaris 8's {/usr,}/bin/sh.
3248
touch sub/conftst$i.h
3250
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3254
# after this tag, mechanisms are not by side-effect, so they'll
3255
# only be used when explicitly requested
3256
if test "x$enable_dependency_tracking" = xyes; then
3264
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3265
# mode. It turns out that the SunPro C++ compiler does not properly
3266
# handle `-M -o', and we need to detect this.
3267
if depmode=$depmode \
3268
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3269
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3270
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3271
>/dev/null 2>conftest.err &&
3272
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3273
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3274
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3275
# icc doesn't choke on unknown options, it will just issue warnings
3276
# or remarks (even with -Werror). So we grep stderr for any message
3277
# that says an option was ignored or not supported.
3278
# When given -MP, icc 7.0 and 7.1 complain thusly:
3279
# icc: Command line warning: ignoring option '-M'; no argument required
3280
# The diagnosis changed in icc 8.0:
3281
# icc: Command line remark: option '-MP' not supported
3282
if (grep 'ignoring option' conftest.err ||
3283
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3284
am_cv_CC_dependencies_compiler_type=$depmode
3293
am_cv_CC_dependencies_compiler_type=none
3297
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3298
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3299
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3304
test "x$enable_dependency_tracking" != xno \
3305
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3307
am__fastdepCC_FALSE='#'
3309
am__fastdepCC_TRUE='#'
3310
am__fastdepCC_FALSE=
3314
# Find a good install program. We prefer a C program (faster),
3315
# so one script is as good as another. But avoid the broken or
3316
# incompatible versions:
3317
# SysV /etc/install, /usr/sbin/install
3318
# SunOS /usr/etc/install
3319
# IRIX /sbin/install
3321
# AmigaOS /C/install, which installs bootblocks on floppy discs
3322
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3323
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3324
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3325
# OS/2's system install, which has a completely different semantic
3326
# ./install, which can be erroneously created by make from ./install.sh.
3327
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3328
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3329
if test -z "$INSTALL"; then
3330
if test "${ac_cv_path_install+set}" = set; then
3331
echo $ECHO_N "(cached) $ECHO_C" >&6
3333
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337
test -z "$as_dir" && as_dir=.
3338
# Account for people who put trailing slashes in PATH elements.
3340
./ | .// | /cC/* | \
3341
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3342
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3345
# OSF1 and SCO ODT 3.0 have their own names for install.
3346
# Don't use installbsd from OSF since it installs stuff as root
3348
for ac_prog in ginstall scoinst install; do
3349
for ac_exec_ext in '' $ac_executable_extensions; do
3350
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3351
if test $ac_prog = install &&
3352
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3353
# AIX install. It has an incompatible calling convention.
3355
elif test $ac_prog = install &&
3356
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3357
# program-specific install script used by HP pwplus--don't use.
3360
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3373
if test "${ac_cv_path_install+set}" = set; then
3374
INSTALL=$ac_cv_path_install
3376
# As a last resort, use the slow shell script. Don't cache a
3377
# value for INSTALL within a source directory, because that will
3378
# break other packages using the cache if that directory is
3379
# removed, or if the value is a relative name.
3380
INSTALL=$ac_install_sh
3383
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3384
echo "${ECHO_T}$INSTALL" >&6; }
3386
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3387
# It thinks the first close brace ends the variable substitution.
3388
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3390
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3392
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3395
# Checks for pkg-config packages
3398
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3399
if test -n "$ac_tool_prefix"; then
3400
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3401
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3402
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3403
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3404
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3405
echo $ECHO_N "(cached) $ECHO_C" >&6
3409
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3412
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416
test -z "$as_dir" && as_dir=.
3417
for ac_exec_ext in '' $ac_executable_extensions; do
3418
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3420
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3430
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3431
if test -n "$PKG_CONFIG"; then
3432
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3433
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3435
{ echo "$as_me:$LINENO: result: no" >&5
3436
echo "${ECHO_T}no" >&6; }
3441
if test -z "$ac_cv_path_PKG_CONFIG"; then
3442
ac_pt_PKG_CONFIG=$PKG_CONFIG
3443
# Extract the first word of "pkg-config", so it can be a program name with args.
3444
set dummy pkg-config; ac_word=$2
3445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3447
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3448
echo $ECHO_N "(cached) $ECHO_C" >&6
3450
case $ac_pt_PKG_CONFIG in
3452
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3455
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459
test -z "$as_dir" && as_dir=.
3460
for ac_exec_ext in '' $ac_executable_extensions; do
3461
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3463
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3474
if test -n "$ac_pt_PKG_CONFIG"; then
3475
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3476
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3478
{ echo "$as_me:$LINENO: result: no" >&5
3479
echo "${ECHO_T}no" >&6; }
3482
if test "x$ac_pt_PKG_CONFIG" = x; then
3485
case $cross_compiling:$ac_tool_warned in
3487
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3488
whose name does not start with the host triplet. If you think this
3489
configuration is useful to you, please write to autoconf@gnu.org." >&5
3490
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3491
whose name does not start with the host triplet. If you think this
3492
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3493
ac_tool_warned=yes ;;
3495
PKG_CONFIG=$ac_pt_PKG_CONFIG
3498
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3502
if test -n "$PKG_CONFIG"; then
3503
_pkg_min_version=0.9.0
3504
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3505
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3506
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3507
{ echo "$as_me:$LINENO: result: yes" >&5
3508
echo "${ECHO_T}yes" >&6; }
3510
{ echo "$as_me:$LINENO: result: no" >&5
3511
echo "${ECHO_T}no" >&6; }
3518
{ echo "$as_me:$LINENO: checking for XREFRESH" >&5
3519
echo $ECHO_N "checking for XREFRESH... $ECHO_C" >&6; }
3521
if test -n "$PKG_CONFIG"; then
3522
if test -n "$XREFRESH_CFLAGS"; then
3523
pkg_cv_XREFRESH_CFLAGS="$XREFRESH_CFLAGS"
3525
if test -n "$PKG_CONFIG" && \
3526
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3527
($PKG_CONFIG --exists --print-errors "x11") 2>&5
3529
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530
(exit $ac_status); }; then
3531
pkg_cv_XREFRESH_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3539
if test -n "$PKG_CONFIG"; then
3540
if test -n "$XREFRESH_LIBS"; then
3541
pkg_cv_XREFRESH_LIBS="$XREFRESH_LIBS"
3543
if test -n "$PKG_CONFIG" && \
3544
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3545
($PKG_CONFIG --exists --print-errors "x11") 2>&5
3547
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548
(exit $ac_status); }; then
3549
pkg_cv_XREFRESH_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3560
if test $pkg_failed = yes; then
3562
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3563
_pkg_short_errors_supported=yes
3565
_pkg_short_errors_supported=no
3567
if test $_pkg_short_errors_supported = yes; then
3568
XREFRESH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
3570
XREFRESH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
3572
# Put the nasty error message in config.log where it belongs
3573
echo "$XREFRESH_PKG_ERRORS" >&5
3575
{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
3577
$XREFRESH_PKG_ERRORS
3579
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3580
installed software in a non-standard prefix.
3582
Alternatively, you may set the environment variables XREFRESH_CFLAGS
3583
and XREFRESH_LIBS to avoid the need to call pkg-config.
3584
See the pkg-config man page for more details.
3586
echo "$as_me: error: Package requirements (x11) were not met:
3588
$XREFRESH_PKG_ERRORS
3590
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3591
installed software in a non-standard prefix.
3593
Alternatively, you may set the environment variables XREFRESH_CFLAGS
3594
and XREFRESH_LIBS to avoid the need to call pkg-config.
3595
See the pkg-config man page for more details.
3597
{ (exit 1); exit 1; }; }
3598
elif test $pkg_failed = untried; then
3599
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3600
is in your PATH or set the PKG_CONFIG environment variable to the full
3603
Alternatively, you may set the environment variables XREFRESH_CFLAGS
3604
and XREFRESH_LIBS to avoid the need to call pkg-config.
3605
See the pkg-config man page for more details.
3607
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3608
See \`config.log' for more details." >&5
3609
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3610
is in your PATH or set the PKG_CONFIG environment variable to the full
3613
Alternatively, you may set the environment variables XREFRESH_CFLAGS
3614
and XREFRESH_LIBS to avoid the need to call pkg-config.
3615
See the pkg-config man page for more details.
3617
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3618
See \`config.log' for more details." >&2;}
3619
{ (exit 1); exit 1; }; }
3621
XREFRESH_CFLAGS=$pkg_cv_XREFRESH_CFLAGS
3622
XREFRESH_LIBS=$pkg_cv_XREFRESH_LIBS
3623
{ echo "$as_me:$LINENO: result: yes" >&5
3624
echo "${ECHO_T}yes" >&6; }
3630
# Make sure we can run config.sub.
3631
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3632
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3633
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3634
{ (exit 1); exit 1; }; }
3636
{ echo "$as_me:$LINENO: checking build system type" >&5
3637
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3638
if test "${ac_cv_build+set}" = set; then
3639
echo $ECHO_N "(cached) $ECHO_C" >&6
3641
ac_build_alias=$build_alias
3642
test "x$ac_build_alias" = x &&
3643
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3644
test "x$ac_build_alias" = x &&
3645
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3646
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3647
{ (exit 1); exit 1; }; }
3648
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3649
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3650
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3651
{ (exit 1); exit 1; }; }
3654
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3655
echo "${ECHO_T}$ac_cv_build" >&6; }
3656
case $ac_cv_build in
3658
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3659
echo "$as_me: error: invalid value of canonical build" >&2;}
3660
{ (exit 1); exit 1; }; };;
3663
ac_save_IFS=$IFS; IFS='-'
3669
# Remember, the first character of IFS is used to create $*,
3670
# except with old shells:
3673
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3676
{ echo "$as_me:$LINENO: checking host system type" >&5
3677
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3678
if test "${ac_cv_host+set}" = set; then
3679
echo $ECHO_N "(cached) $ECHO_C" >&6
3681
if test "x$host_alias" = x; then
3682
ac_cv_host=$ac_cv_build
3684
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3685
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3686
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3687
{ (exit 1); exit 1; }; }
3691
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3692
echo "${ECHO_T}$ac_cv_host" >&6; }
3695
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3696
echo "$as_me: error: invalid value of canonical host" >&2;}
3697
{ (exit 1); exit 1; }; };;
3700
ac_save_IFS=$IFS; IFS='-'
3706
# Remember, the first character of IFS is used to create $*,
3707
# except with old shells:
3710
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3716
if test x$APP_MAN_SUFFIX = x ; then
3719
if test x$APP_MAN_DIR = x ; then
3720
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3723
if test x$LIB_MAN_SUFFIX = x ; then
3726
if test x$LIB_MAN_DIR = x ; then
3727
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3730
if test x$FILE_MAN_SUFFIX = x ; then
3732
solaris*) FILE_MAN_SUFFIX=4 ;;
3733
*) FILE_MAN_SUFFIX=5 ;;
3736
if test x$FILE_MAN_DIR = x ; then
3737
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3740
if test x$MISC_MAN_SUFFIX = x ; then
3742
solaris*) MISC_MAN_SUFFIX=5 ;;
3743
*) MISC_MAN_SUFFIX=7 ;;
3746
if test x$MISC_MAN_DIR = x ; then
3747
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3750
if test x$DRIVER_MAN_SUFFIX = x ; then
3752
solaris*) DRIVER_MAN_SUFFIX=7 ;;
3753
*) DRIVER_MAN_SUFFIX=4 ;;
3756
if test x$DRIVER_MAN_DIR = x ; then
3757
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3760
if test x$ADMIN_MAN_SUFFIX = x ; then
3762
solaris*) ADMIN_MAN_SUFFIX=1m ;;
3763
*) ADMIN_MAN_SUFFIX=8 ;;
3766
if test x$ADMIN_MAN_DIR = x ; then
3767
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3786
# Check whether --with-release-version was given.
3787
if test "${with_release_version+set}" = set; then
3788
withval=$with_release_version; RELEASE_VERSION="$withval"
3793
if test "x$RELEASE_VERSION" != "x"; then
3794
PACKAGE="$PACKAGE-$RELEASE_VERSION"
3795
PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3796
{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3797
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3800
cat >>confdefs.h <<_ACEOF
3801
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3804
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3805
if test "x$PVM" = "x"; then
3809
cat >>confdefs.h <<_ACEOF
3810
#define PACKAGE_VERSION_MINOR $PVM
3813
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3814
if test "x$PVP" = "x"; then
3818
cat >>confdefs.h <<_ACEOF
3819
#define PACKAGE_VERSION_PATCHLEVEL $PVP
3824
ac_config_files="$ac_config_files Makefile"
3826
cat >confcache <<\_ACEOF
3827
# This file is a shell script that caches the results of configure
3828
# tests run on this system so they can be shared between configure
3829
# scripts and configure runs, see configure's option --config-cache.
3830
# It is not useful on other systems. If it contains results you don't
3831
# want to keep, you may remove or edit it.
3833
# config.status only pays attention to the cache file if you give it
3834
# the --recheck option to rerun configure.
3836
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3837
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3842
# The following way of writing the cache mishandles newlines in values,
3843
# but we know of no workaround that is simple, portable, and efficient.
3844
# So, we kill variables containing newlines.
3845
# Ultrix sh set writes to stderr and can't be redirected directly,
3846
# and sets the high bit in the cache file unless we assign to the vars.
3848
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3849
eval ac_val=\$$ac_var
3853
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3854
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3857
_ | IFS | as_nl) ;; #(
3858
*) $as_unset $ac_var ;;
3864
case $as_nl`(ac_space=' '; set) 2>&1` in #(
3865
*${as_nl}ac_space=\ *)
3866
# `set' does not quote correctly, so add quotes (double-quote
3867
# substitution turns \\\\ into \\, and sed turns \\ into \).
3870
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3873
# `set' quotes correctly as required by POSIX, so do not add quotes.
3874
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3883
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3885
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3887
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3888
if test -w "$cache_file"; then
3889
test "x$cache_file" != "x/dev/null" &&
3890
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
3891
echo "$as_me: updating cache $cache_file" >&6;}
3892
cat confcache >$cache_file
3894
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3895
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3900
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3901
# Let make expand exec_prefix.
3902
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3904
DEFS=-DHAVE_CONFIG_H
3908
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3909
# 1. Remove the extension, and $U if already installed.
3910
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3911
ac_i=`echo "$ac_i" | sed "$ac_script"`
3912
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3913
# will be set to the directory where LIBOBJS objects are built.
3914
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3915
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3919
LTLIBOBJS=$ac_ltlibobjs
3922
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3923
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3924
Usually this means the macro was only invoked conditionally." >&5
3925
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3926
Usually this means the macro was only invoked conditionally." >&2;}
3927
{ (exit 1); exit 1; }; }
3929
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3930
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3931
Usually this means the macro was only invoked conditionally." >&5
3932
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3933
Usually this means the macro was only invoked conditionally." >&2;}
3934
{ (exit 1); exit 1; }; }
3936
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3937
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3938
Usually this means the macro was only invoked conditionally." >&5
3939
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3940
Usually this means the macro was only invoked conditionally." >&2;}
3941
{ (exit 1); exit 1; }; }
3944
: ${CONFIG_STATUS=./config.status}
3945
ac_clean_files_save=$ac_clean_files
3946
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3947
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3948
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3949
cat >$CONFIG_STATUS <<_ACEOF
3951
# Generated by $as_me.
3952
# Run this file to recreate the current configuration.
3953
# Compiler output produced by configure, useful for debugging
3954
# configure, is in config.log if it exists.
3959
SHELL=\${CONFIG_SHELL-$SHELL}
3962
cat >>$CONFIG_STATUS <<\_ACEOF
3963
## --------------------- ##
3964
## M4sh Initialization. ##
3965
## --------------------- ##
3967
# Be more Bourne compatible
3968
DUALCASE=1; export DUALCASE # for MKS sh
3969
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3972
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3973
# is contrary to our usage. Disable this feature.
3974
alias -g '${1+"$@"}'='"$@"'
3975
setopt NO_GLOB_SUBST
3977
case `(set -o) 2>/dev/null` in
3978
*posix*) set -o posix ;;
3987
# Avoid depending upon Character Ranges.
3988
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3989
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3990
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3991
as_cr_digits='0123456789'
3992
as_cr_alnum=$as_cr_Letters$as_cr_digits
3994
# The user is always right.
3995
if test "${PATH_SEPARATOR+set}" != set; then
3996
echo "#! /bin/sh" >conf$$.sh
3997
echo "exit 0" >>conf$$.sh
3999
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4007
# Support unset when possible.
4008
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4016
# We need space, tab and new line, in precisely that order. Quoting is
4017
# there to prevent editors from complaining about space-tab.
4018
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4019
# splitting by setting IFS to empty value.)
4024
# Find who we are. Look in the path if we contain no directory separator.
4026
*[\\/]* ) as_myself=$0 ;;
4027
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031
test -z "$as_dir" && as_dir=.
4032
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4038
# We did not find ourselves, most probably we were run as `sh COMMAND'
4039
# in which case we are not to be found in the path.
4040
if test "x$as_myself" = x; then
4043
if test ! -f "$as_myself"; then
4044
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4045
{ (exit 1); exit 1; }
4048
# Work around bugs in pre-3.0 UWIN ksh.
4049
for as_var in ENV MAIL MAILPATH
4050
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4058
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4059
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4060
LC_TELEPHONE LC_TIME
4062
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4063
eval $as_var=C; export $as_var
4065
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4069
# Required to use basename.
4070
if expr a : '\(a\)' >/dev/null 2>&1 &&
4071
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4077
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4078
as_basename=basename
4084
# Name of the executable.
4085
as_me=`$as_basename -- "$0" ||
4086
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4087
X"$0" : 'X\(//\)$' \| \
4088
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4090
sed '/^.*\/\([^/][^/]*\)\/*$/{
4111
test "x$as_lineno_1" != "x$as_lineno_2" &&
4112
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4114
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4115
# uniformly replaced by the line number. The first 'sed' inserts a
4116
# line-number line after each line using $LINENO; the second 'sed'
4117
# does the real work. The second script uses 'N' to pair each
4118
# line-number line with the line containing $LINENO, and appends
4119
# trailing '-' during substitution so that $LINENO is not a special
4121
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4122
# scripts with optimization help from Paolo Bonzini. Blame Lee
4123
# E. McMahon (1931-1989) for sed's syntax. :-)
4135
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4139
chmod +x "$as_me.lineno" ||
4140
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4141
{ (exit 1); exit 1; }; }
4143
# Don't try to exec as it changes $[0], causing all sort of problems
4144
# (the dirname of $[0] is not the place where we might find the
4145
# original and so on. Autoconf is especially sensitive to this).
4147
# Exit status is that of the last command.
4152
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4158
ECHO_C= ECHO_N= ECHO_T=
4161
case `echo 'x\c'` in
4162
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4169
if expr a : '\(a\)' >/dev/null 2>&1 &&
4170
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4176
rm -f conf$$ conf$$.exe conf$$.file
4177
if test -d conf$$.dir; then
4178
rm -f conf$$.dir/conf$$.file
4184
if ln -s conf$$.file conf$$ 2>/dev/null; then
4186
# ... but there are two gotchas:
4187
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4188
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4189
# In both cases, we have to default to `cp -p'.
4190
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4192
elif ln conf$$.file conf$$ 2>/dev/null; then
4197
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4198
rmdir conf$$.dir 2>/dev/null
4200
if mkdir -p . 2>/dev/null; then
4203
test -d ./-p && rmdir ./-p
4207
if test -x / >/dev/null 2>&1; then
4210
if ls -dL / >/dev/null 2>&1; then
4217
if test -d "$1"; then
4223
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4224
???[sx]*):;;*)false;;esac;fi
4228
as_executable_p=$as_test_x
4230
# Sed expression to map a string onto a valid CPP name.
4231
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4233
# Sed expression to map a string onto a valid variable name.
4234
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4239
# Save the log message, to keep $[0] and so on meaningful, and to
4240
# report actual input values of CONFIG_FILES etc. instead of their
4241
# values after options handling.
4243
This file was extended by xrefresh $as_me 1.0.2, which was
4244
generated by GNU Autoconf 2.61. Invocation command line was
4246
CONFIG_FILES = $CONFIG_FILES
4247
CONFIG_HEADERS = $CONFIG_HEADERS
4248
CONFIG_LINKS = $CONFIG_LINKS
4249
CONFIG_COMMANDS = $CONFIG_COMMANDS
4252
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4257
cat >>$CONFIG_STATUS <<_ACEOF
4258
# Files that config.status was made for.
4259
config_files="$ac_config_files"
4260
config_headers="$ac_config_headers"
4261
config_commands="$ac_config_commands"
4265
cat >>$CONFIG_STATUS <<\_ACEOF
4267
\`$as_me' instantiates files from templates according to the
4268
current configuration.
4270
Usage: $0 [OPTIONS] [FILE]...
4272
-h, --help print this help, then exit
4273
-V, --version print version number and configuration settings, then exit
4274
-q, --quiet do not print progress messages
4275
-d, --debug don't remove temporary files
4276
--recheck update $as_me by reconfiguring in the same conditions
4277
--file=FILE[:TEMPLATE]
4278
instantiate the configuration file FILE
4279
--header=FILE[:TEMPLATE]
4280
instantiate the configuration header FILE
4282
Configuration files:
4285
Configuration headers:
4288
Configuration commands:
4291
Report bugs to <bug-autoconf@gnu.org>."
4294
cat >>$CONFIG_STATUS <<_ACEOF
4296
xrefresh config.status 1.0.2
4297
configured by $0, generated by GNU Autoconf 2.61,
4298
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4300
Copyright (C) 2006 Free Software Foundation, Inc.
4301
This config.status script is free software; the Free Software Foundation
4302
gives unlimited permission to copy, distribute and modify it."
4309
cat >>$CONFIG_STATUS <<\_ACEOF
4310
# If no file are specified by the user, then we need to provide default
4311
# value. By we need to know if files were specified by the user.
4317
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4318
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4329
# Handling of the options.
4330
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4332
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4333
echo "$ac_cs_version"; exit ;;
4334
--debug | --debu | --deb | --de | --d | -d )
4336
--file | --fil | --fi | --f )
4338
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4339
ac_need_defaults=false;;
4340
--header | --heade | --head | --hea )
4342
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4343
ac_need_defaults=false;;
4345
# Conflict between --help and --header
4346
{ echo "$as_me: error: ambiguous option: $1
4347
Try \`$0 --help' for more information." >&2
4348
{ (exit 1); exit 1; }; };;
4349
--help | --hel | -h )
4350
echo "$ac_cs_usage"; exit ;;
4351
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4352
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4356
-*) { echo "$as_me: error: unrecognized option: $1
4357
Try \`$0 --help' for more information." >&2
4358
{ (exit 1); exit 1; }; } ;;
4360
*) ac_config_targets="$ac_config_targets $1"
4361
ac_need_defaults=false ;;
4367
ac_configure_extra_args=
4369
if $ac_cs_silent; then
4371
ac_configure_extra_args="$ac_configure_extra_args --silent"
4375
cat >>$CONFIG_STATUS <<_ACEOF
4376
if \$ac_cs_recheck; then
4377
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4380
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4384
cat >>$CONFIG_STATUS <<\_ACEOF
4388
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4389
## Running $as_me. ##
4395
cat >>$CONFIG_STATUS <<_ACEOF
4399
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4403
cat >>$CONFIG_STATUS <<\_ACEOF
4405
# Handling of arguments.
4406
for ac_config_target in $ac_config_targets
4408
case $ac_config_target in
4409
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4410
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4411
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4413
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4414
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4415
{ (exit 1); exit 1; }; };;
4420
# If the user did not use the arguments to specify the items to instantiate,
4421
# then the envvar interface is used. Set only those that are not.
4422
# We use the long form for the default assignment because of an extremely
4423
# bizarre bug on SunOS 4.1.3.
4424
if $ac_need_defaults; then
4425
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4426
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4427
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4430
# Have a temporary directory for convenience. Make it in the build tree
4431
# simply because there is no reason against having it here, and in addition,
4432
# creating and moving files from /tmp can sometimes cause problems.
4433
# Hook for its removal unless debugging.
4434
# Note that there is a small window in which the directory will not be cleaned:
4435
# after its creation but before its name has been assigned to `$tmp'.
4439
trap 'exit_status=$?
4440
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4442
trap '{ (exit 1); exit 1; }' 1 2 13 15
4444
# Create a (secure) tmp directory for tmp files.
4447
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4448
test -n "$tmp" && test -d "$tmp"
4451
tmp=./conf$$-$RANDOM
4452
(umask 077 && mkdir "$tmp")
4455
echo "$me: cannot create a temporary directory in ." >&2
4456
{ (exit 1); exit 1; }
4460
# Set up the sed scripts for CONFIG_FILES section.
4463
# No need to generate the scripts if there are no CONFIG_FILES.
4464
# This happens for instance when ./config.status config.h
4465
if test -n "$CONFIG_FILES"; then
4472
for ac_last_try in false false false false false :; do
4473
cat >conf$$subs.sed <<_ACEOF
4474
SHELL!$SHELL$ac_delim
4475
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4476
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4477
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4478
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4479
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4480
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4481
exec_prefix!$exec_prefix$ac_delim
4482
prefix!$prefix$ac_delim
4483
program_transform_name!$program_transform_name$ac_delim
4484
bindir!$bindir$ac_delim
4485
sbindir!$sbindir$ac_delim
4486
libexecdir!$libexecdir$ac_delim
4487
datarootdir!$datarootdir$ac_delim
4488
datadir!$datadir$ac_delim
4489
sysconfdir!$sysconfdir$ac_delim
4490
sharedstatedir!$sharedstatedir$ac_delim
4491
localstatedir!$localstatedir$ac_delim
4492
includedir!$includedir$ac_delim
4493
oldincludedir!$oldincludedir$ac_delim
4494
docdir!$docdir$ac_delim
4495
infodir!$infodir$ac_delim
4496
htmldir!$htmldir$ac_delim
4497
dvidir!$dvidir$ac_delim
4498
pdfdir!$pdfdir$ac_delim
4499
psdir!$psdir$ac_delim
4500
libdir!$libdir$ac_delim
4501
localedir!$localedir$ac_delim
4502
mandir!$mandir$ac_delim
4504
ECHO_C!$ECHO_C$ac_delim
4505
ECHO_N!$ECHO_N$ac_delim
4506
ECHO_T!$ECHO_T$ac_delim
4508
build_alias!$build_alias$ac_delim
4509
host_alias!$host_alias$ac_delim
4510
target_alias!$target_alias$ac_delim
4511
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4512
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4513
INSTALL_DATA!$INSTALL_DATA$ac_delim
4514
CYGPATH_W!$CYGPATH_W$ac_delim
4515
PACKAGE!$PACKAGE$ac_delim
4516
VERSION!$VERSION$ac_delim
4517
ACLOCAL!$ACLOCAL$ac_delim
4518
AUTOCONF!$AUTOCONF$ac_delim
4519
AUTOMAKE!$AUTOMAKE$ac_delim
4520
AUTOHEADER!$AUTOHEADER$ac_delim
4521
MAKEINFO!$MAKEINFO$ac_delim
4522
install_sh!$install_sh$ac_delim
4523
STRIP!$STRIP$ac_delim
4524
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4525
mkdir_p!$mkdir_p$ac_delim
4527
SET_MAKE!$SET_MAKE$ac_delim
4528
am__leading_dot!$am__leading_dot$ac_delim
4529
AMTAR!$AMTAR$ac_delim
4530
am__tar!$am__tar$ac_delim
4531
am__untar!$am__untar$ac_delim
4532
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4533
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4534
MAINT!$MAINT$ac_delim
4536
CFLAGS!$CFLAGS$ac_delim
4537
LDFLAGS!$LDFLAGS$ac_delim
4538
CPPFLAGS!$CPPFLAGS$ac_delim
4539
ac_ct_CC!$ac_ct_CC$ac_delim
4540
EXEEXT!$EXEEXT$ac_delim
4541
OBJEXT!$OBJEXT$ac_delim
4542
DEPDIR!$DEPDIR$ac_delim
4543
am__include!$am__include$ac_delim
4544
am__quote!$am__quote$ac_delim
4545
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4546
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4547
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4548
CCDEPMODE!$CCDEPMODE$ac_delim
4549
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4550
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4551
PKG_CONFIG!$PKG_CONFIG$ac_delim
4552
XREFRESH_CFLAGS!$XREFRESH_CFLAGS$ac_delim
4553
XREFRESH_LIBS!$XREFRESH_LIBS$ac_delim
4554
build!$build$ac_delim
4555
build_cpu!$build_cpu$ac_delim
4556
build_vendor!$build_vendor$ac_delim
4557
build_os!$build_os$ac_delim
4559
host_cpu!$host_cpu$ac_delim
4560
host_vendor!$host_vendor$ac_delim
4561
host_os!$host_os$ac_delim
4562
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4563
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4564
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4565
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4566
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4567
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4568
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4569
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4570
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4573
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4575
elif $ac_last_try; then
4576
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4577
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4578
{ (exit 1); exit 1; }; }
4580
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4584
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4585
if test -n "$ac_eof"; then
4586
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4587
ac_eof=`expr $ac_eof + 1`
4590
cat >>$CONFIG_STATUS <<_ACEOF
4591
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4592
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4595
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4596
s/^/s,@/; s/!/@,|#_!!_#|/
4599
s/'"$ac_delim"'$/,g/; t
4601
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4602
' >>$CONFIG_STATUS <conf$$subs.sed
4603
rm -f conf$$subs.sed
4604
cat >>$CONFIG_STATUS <<_ACEOF
4610
for ac_last_try in false false false false false :; do
4611
cat >conf$$subs.sed <<_ACEOF
4612
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4613
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4614
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4615
LIBOBJS!$LIBOBJS$ac_delim
4616
LTLIBOBJS!$LTLIBOBJS$ac_delim
4619
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
4621
elif $ac_last_try; then
4622
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4623
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4624
{ (exit 1); exit 1; }; }
4626
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4630
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4631
if test -n "$ac_eof"; then
4632
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4633
ac_eof=`expr $ac_eof + 1`
4636
cat >>$CONFIG_STATUS <<_ACEOF
4637
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4638
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4641
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4642
s/^/s,@/; s/!/@,|#_!!_#|/
4645
s/'"$ac_delim"'$/,g/; t
4647
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4648
' >>$CONFIG_STATUS <conf$$subs.sed
4649
rm -f conf$$subs.sed
4650
cat >>$CONFIG_STATUS <<_ACEOF
4657
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4658
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4659
# trailing colons and then remove the whole line if VPATH becomes empty
4660
# (actually we leave an empty line to preserve line numbers).
4661
if test "x$srcdir" = x.; then
4662
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4666
s/^\([^=]*=[ ]*\):*/\1/
4672
cat >>$CONFIG_STATUS <<\_ACEOF
4673
fi # test -n "$CONFIG_FILES"
4676
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4679
:[FHLC]) ac_mode=$ac_tag; continue;;
4681
case $ac_mode$ac_tag in
4683
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4684
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4685
{ (exit 1); exit 1; }; };;
4686
:[FH]-) ac_tag=-:-;;
4687
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4704
-) ac_f="$tmp/stdin";;
4705
*) # Look for the file first in the build tree, then in the source tree
4706
# (if the path is not absolute). The absolute path cannot be DOS-style,
4707
# because $ac_f cannot contain `:'.
4711
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4713
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4714
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4715
{ (exit 1); exit 1; }; };;
4717
ac_file_inputs="$ac_file_inputs $ac_f"
4720
# Let's still pretend it is `configure' which instantiates (i.e., don't
4721
# use $as_me), people would be surprised to read:
4722
# /* config.h. Generated by config.status. */
4723
configure_input="Generated from "`IFS=:
4724
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4725
if test x"$ac_file" != x-; then
4726
configure_input="$ac_file. $configure_input"
4727
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4728
echo "$as_me: creating $ac_file" >&6;}
4732
*:-:* | *:-) cat >"$tmp/stdin";;
4737
ac_dir=`$as_dirname -- "$ac_file" ||
4738
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4739
X"$ac_file" : 'X\(//\)[^/]' \| \
4740
X"$ac_file" : 'X\(//\)$' \| \
4741
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4743
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4762
-*) as_dir=./$as_dir;;
4764
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4768
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4769
*) as_qdir=$as_dir;;
4771
as_dirs="'$as_qdir' $as_dirs"
4772
as_dir=`$as_dirname -- "$as_dir" ||
4773
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4774
X"$as_dir" : 'X\(//\)[^/]' \| \
4775
X"$as_dir" : 'X\(//\)$' \| \
4776
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4778
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4795
test -d "$as_dir" && break
4797
test -z "$as_dirs" || eval "mkdir $as_dirs"
4798
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4799
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4800
{ (exit 1); exit 1; }; }; }
4804
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4806
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4807
# A ".." for each directory in $ac_dir_suffix.
4808
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4809
case $ac_top_builddir_sub in
4810
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4811
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4814
ac_abs_top_builddir=$ac_pwd
4815
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4816
# for backward compatibility:
4817
ac_top_builddir=$ac_top_build_prefix
4820
.) # We are building in place.
4822
ac_top_srcdir=$ac_top_builddir_sub
4823
ac_abs_top_srcdir=$ac_pwd ;;
4824
[\\/]* | ?:[\\/]* ) # Absolute name.
4825
ac_srcdir=$srcdir$ac_dir_suffix;
4826
ac_top_srcdir=$srcdir
4827
ac_abs_top_srcdir=$srcdir ;;
4829
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4830
ac_top_srcdir=$ac_top_build_prefix$srcdir
4831
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4833
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4843
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4844
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4848
cat >>$CONFIG_STATUS <<\_ACEOF
4849
# If the template does not know about datarootdir, expand it.
4850
# FIXME: This hack should be removed a few years after 2.60.
4851
ac_datarootdir_hack=; ac_datarootdir_seen=
4853
case `sed -n '/datarootdir/ {
4862
' $ac_file_inputs` in
4863
*datarootdir*) ac_datarootdir_seen=yes;;
4864
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4865
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4866
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4868
cat >>$CONFIG_STATUS <<_ACEOF
4869
ac_datarootdir_hack='
4870
s&@datadir@&$datadir&g
4871
s&@docdir@&$docdir&g
4872
s&@infodir@&$infodir&g
4873
s&@localedir@&$localedir&g
4874
s&@mandir@&$mandir&g
4875
s&\\\${datarootdir}&$datarootdir&g' ;;
4879
# Neutralize VPATH when `$srcdir' = `.'.
4880
# Shell code in configure.ac might set extrasub.
4881
# FIXME: do we really want to maintain this feature?
4882
cat >>$CONFIG_STATUS <<_ACEOF
4886
cat >>$CONFIG_STATUS <<\_ACEOF
4888
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4889
s&@configure_input@&$configure_input&;t t
4890
s&@top_builddir@&$ac_top_builddir_sub&;t t
4891
s&@srcdir@&$ac_srcdir&;t t
4892
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4893
s&@top_srcdir@&$ac_top_srcdir&;t t
4894
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4895
s&@builddir@&$ac_builddir&;t t
4896
s&@abs_builddir@&$ac_abs_builddir&;t t
4897
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4898
s&@INSTALL@&$ac_INSTALL&;t t
4899
$ac_datarootdir_hack
4900
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
4902
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4903
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4904
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4905
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4906
which seems to be undefined. Please make sure it is defined." >&5
4907
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4908
which seems to be undefined. Please make sure it is defined." >&2;}
4912
-) cat "$tmp/out"; rm -f "$tmp/out";;
4913
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4922
# Transform confdefs.h into a sed script `conftest.defines', that
4923
# substitutes the proper values into config.h.in to produce config.h.
4924
rm -f conftest.defines conftest.tail
4925
# First, append a space to every undef/define line, to ease matching.
4926
echo 's/$/ /' >conftest.defines
4927
# Then, protect against being on the right side of a sed subst, or in
4928
# an unquoted here document, in config.status. If some macros were
4929
# called several times there might be several #defines for the same
4930
# symbol, which is useless. But do not sort them, since the last
4931
# AC_DEFINE must be honored.
4932
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4933
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4934
# NAME is the cpp macro being defined, VALUE is the value it is being given.
4935
# PARAMS is the parameter list in the macro definition--in most cases, it's
4936
# just an empty string.
4937
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4938
ac_dB='\\)[ (].*,\\1define\\2'
4946
s/^[ ]*#[ ]*define[ ][ ]*//
4951
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4952
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4953
' >>conftest.defines
4955
# Remove the space that was appended to ease matching.
4956
# Then replace #undef with comments. This is necessary, for
4957
# example, in the case of _POSIX_SOURCE, which is predefined and required
4958
# on some systems where configure will not decide to define it.
4959
# (The regexp can be short, since the line contains either #define or #undef.)
4961
s,^[ #]*u.*,/* & */,' >>conftest.defines
4963
# Break up conftest.defines:
4966
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4967
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4968
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4970
ac_in='$ac_file_inputs'
4971
ac_out='"$tmp/out1"'
4972
ac_nxt='"$tmp/out2"'
4976
# Write a here document:
4977
cat >>$CONFIG_STATUS <<_ACEOF
4978
# First, check the format of the line:
4979
cat >"\$tmp/defines.sed" <<\\CEOF
4980
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4981
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4985
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4987
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4988
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4989
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4990
grep . conftest.tail >/dev/null || break
4991
rm -f conftest.defines
4992
mv conftest.tail conftest.defines
4994
rm -f conftest.defines conftest.tail
4996
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4997
cat >>$CONFIG_STATUS <<\_ACEOF
4998
if test x"$ac_file" != x-; then
4999
echo "/* $configure_input */" >"$tmp/config.h"
5000
cat "$ac_result" >>"$tmp/config.h"
5001
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5002
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5003
echo "$as_me: $ac_file is unchanged" >&6;}
5006
mv "$tmp/config.h" $ac_file
5009
echo "/* $configure_input */"
5013
# Compute $ac_file's index in $config_headers.
5015
for _am_header in $config_headers :; do
5017
$ac_file | $ac_file:* )
5020
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5023
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5024
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5025
X$ac_file : 'X\(//\)[^/]' \| \
5026
X$ac_file : 'X\(//\)$' \| \
5027
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5029
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5045
s/.*/./; q'`/stamp-h$_am_stamp_count
5048
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5049
echo "$as_me: executing $ac_file commands" >&6;}
5054
case $ac_file$ac_mode in
5055
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5056
# Strip MF so we end up with the name of the file.
5057
mf=`echo "$mf" | sed -e 's/:.*$//'`
5058
# Check whether this is an Automake generated Makefile or not.
5059
# We used to match only the files named `Makefile.in', but
5060
# some people rename them; so instead we look at the file content.
5061
# Grep'ing the first line is not enough: some people post-process
5062
# each Makefile.in and add a new line on top of each file to say so.
5063
# So let's grep whole file.
5064
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5065
dirpart=`$as_dirname -- "$mf" ||
5066
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5067
X"$mf" : 'X\(//\)[^/]' \| \
5068
X"$mf" : 'X\(//\)$' \| \
5069
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5071
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5091
# Extract the definition of DEPDIR, am__include, and am__quote
5092
# from the Makefile without running `make'.
5093
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5094
test -z "$DEPDIR" && continue
5095
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5096
test -z "am__include" && continue
5097
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5098
# When using ansi2knr, U may be empty or an underscore; expand it
5099
U=`sed -n 's/^U = //p' < "$mf"`
5100
# Find all dependency output files, they are included files with
5101
# $(DEPDIR) in their names. We invoke sed twice because it is the
5102
# simplest approach to changing $(DEPDIR) to its actual value in the
5104
for file in `sed -n "
5105
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5106
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5107
# Make sure the directory exists.
5108
test -f "$dirpart/$file" && continue
5109
fdir=`$as_dirname -- "$file" ||
5110
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5111
X"$file" : 'X\(//\)[^/]' \| \
5112
X"$file" : 'X\(//\)$' \| \
5113
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5115
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5132
{ as_dir=$dirpart/$fdir
5134
-*) as_dir=./$as_dir;;
5136
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5140
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5141
*) as_qdir=$as_dir;;
5143
as_dirs="'$as_qdir' $as_dirs"
5144
as_dir=`$as_dirname -- "$as_dir" ||
5145
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5146
X"$as_dir" : 'X\(//\)[^/]' \| \
5147
X"$as_dir" : 'X\(//\)$' \| \
5148
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5150
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5167
test -d "$as_dir" && break
5169
test -z "$as_dirs" || eval "mkdir $as_dirs"
5170
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5171
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5172
{ (exit 1); exit 1; }; }; }
5173
# echo "creating $dirpart/$file"
5174
echo '# dummy' > "$dirpart/$file"
5183
{ (exit 0); exit 0; }
5185
chmod +x $CONFIG_STATUS
5186
ac_clean_files=$ac_clean_files_save
5189
# configure is writing to config.log, and then calls config.status.
5190
# config.status does its own redirection, appending to config.log.
5191
# Unfortunately, on DOS this fails, as config.log is still kept open
5192
# by configure, so config.status won't be able to write to it; its
5193
# output is simply discarded. So we exec the FD to /dev/null,
5194
# effectively closing config.log, so it can be properly (re)opened and
5195
# appended to by config.status. When coming back to configure, we
5196
# need to make the FD available again.
5197
if test "$no_create" != yes; then
5199
ac_config_status_args=
5200
test "$silent" = yes &&
5201
ac_config_status_args="$ac_config_status_args --quiet"
5203
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5205
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5206
# would make configure fail if this is the last instruction.
5207
$ac_cs_success || { (exit 1); exit 1; }