2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for xcmsdb 1.0.1.
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
exec 7<&0 </dev/null 6>&1
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
574
# Identity of this package.
575
PACKAGE_NAME='xcmsdb'
576
PACKAGE_TARNAME='xcmsdb'
577
PACKAGE_VERSION='1.0.1'
578
PACKAGE_STRING='xcmsdb 1.0.1'
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 xcmsdb 1.0.1 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/xcmsdb]
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 xcmsdb 1.0.1:";;
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 XCMSDB, overriding pkg-config
1296
XCMSDB_LIBS linker flags for XCMSDB, overriding pkg-config
1298
Use these variables to override the choices made by `configure' or to help
1299
it to find libraries and programs with nonstandard names/locations.
1301
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1306
if test "$ac_init_help" = "recursive"; then
1307
# If there are subdirs, report their specific --help.
1308
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1309
test -d "$ac_dir" || continue
1313
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1316
# A ".." for each directory in $ac_dir_suffix.
1317
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1318
case $ac_top_builddir_sub in
1319
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1320
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1323
ac_abs_top_builddir=$ac_pwd
1324
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1325
# for backward compatibility:
1326
ac_top_builddir=$ac_top_build_prefix
1329
.) # We are building in place.
1331
ac_top_srcdir=$ac_top_builddir_sub
1332
ac_abs_top_srcdir=$ac_pwd ;;
1333
[\\/]* | ?:[\\/]* ) # Absolute name.
1334
ac_srcdir=$srcdir$ac_dir_suffix;
1335
ac_top_srcdir=$srcdir
1336
ac_abs_top_srcdir=$srcdir ;;
1338
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1339
ac_top_srcdir=$ac_top_build_prefix$srcdir
1340
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1342
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1344
cd "$ac_dir" || { ac_status=$?; continue; }
1345
# Check for guested configure.
1346
if test -f "$ac_srcdir/configure.gnu"; then
1348
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1349
elif test -f "$ac_srcdir/configure"; then
1351
$SHELL "$ac_srcdir/configure" --help=recursive
1353
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355
cd "$ac_pwd" || { ac_status=$?; break; }
1359
test -n "$ac_init_help" && exit $ac_status
1360
if $ac_init_version; then
1362
xcmsdb configure 1.0.1
1363
generated by GNU Autoconf 2.61
1365
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1366
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1367
This configure script is free software; the Free Software Foundation
1368
gives unlimited permission to copy, distribute and modify it.
1372
cat >config.log <<_ACEOF
1373
This file contains any messages produced by compilers while
1374
running configure, to aid debugging if configure makes a mistake.
1376
It was created by xcmsdb $as_me 1.0.1, which was
1377
generated by GNU Autoconf 2.61. Invocation command line was
1389
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1390
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1391
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1392
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1393
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1395
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1396
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1398
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1399
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1400
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1401
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1402
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1403
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1404
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1408
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412
test -z "$as_dir" && as_dir=.
1413
echo "PATH: $as_dir"
1429
# Keep a trace of the command line.
1430
# Strip out --no-create and --no-recursion so they do not pile up.
1431
# Strip out --silent because we don't want to record it for future runs.
1432
# Also quote any args containing shell meta-characters.
1433
# Make two passes to allow for proper duplicate-argument suppression.
1437
ac_must_keep_next=false
1443
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1444
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1445
| -silent | --silent | --silen | --sile | --sil)
1448
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1451
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1453
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1454
if test $ac_must_keep_next = true; then
1455
ac_must_keep_next=false # Got value, back to normal.
1458
*=* | --config-cache | -C | -disable-* | --disable-* \
1459
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1460
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1461
| -with-* | --with-* | -without-* | --without-* | --x)
1462
case "$ac_configure_args0 " in
1463
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1466
-* ) ac_must_keep_next=true ;;
1469
ac_configure_args="$ac_configure_args '$ac_arg'"
1474
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1475
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1477
# When interrupted or exit'd, cleanup temporary files, and complete
1478
# config.log. We remove comments because anyway the quotes in there
1479
# would cause problems or look ugly.
1480
# WARNING: Use '\'' to represent an apostrophe within the trap.
1481
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1482
trap 'exit_status=$?
1483
# Save into config.log some information that might help in debugging.
1488
## ---------------- ##
1489
## Cache variables. ##
1490
## ---------------- ##
1493
# The following way of writing the cache mishandles newlines in values,
1495
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1496
eval ac_val=\$$ac_var
1500
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1501
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1504
_ | IFS | as_nl) ;; #(
1505
*) $as_unset $ac_var ;;
1510
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1511
*${as_nl}ac_space=\ *)
1513
"s/'\''/'\''\\\\'\'''\''/g;
1514
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1517
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1525
## ----------------- ##
1526
## Output variables. ##
1527
## ----------------- ##
1530
for ac_var in $ac_subst_vars
1532
eval ac_val=\$$ac_var
1534
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1536
echo "$ac_var='\''$ac_val'\''"
1540
if test -n "$ac_subst_files"; then
1542
## ------------------- ##
1543
## File substitutions. ##
1544
## ------------------- ##
1547
for ac_var in $ac_subst_files
1549
eval ac_val=\$$ac_var
1551
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1553
echo "$ac_var='\''$ac_val'\''"
1558
if test -s confdefs.h; then
1568
test "$ac_signal" != 0 &&
1569
echo "$as_me: caught signal $ac_signal"
1570
echo "$as_me: exit $exit_status"
1572
rm -f core *.core core.conftest.* &&
1573
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1576
for ac_signal in 1 2 13 15; do
1577
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1581
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1582
rm -f -r conftest* confdefs.h
1584
# Predefined preprocessor variables.
1586
cat >>confdefs.h <<_ACEOF
1587
#define PACKAGE_NAME "$PACKAGE_NAME"
1591
cat >>confdefs.h <<_ACEOF
1592
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1596
cat >>confdefs.h <<_ACEOF
1597
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1601
cat >>confdefs.h <<_ACEOF
1602
#define PACKAGE_STRING "$PACKAGE_STRING"
1606
cat >>confdefs.h <<_ACEOF
1607
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1611
# Let the site file select an alternate cache file if it wants to.
1612
# Prefer explicitly selected file to automatically selected ones.
1613
if test -n "$CONFIG_SITE"; then
1614
set x "$CONFIG_SITE"
1615
elif test "x$prefix" != xNONE; then
1616
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1618
set x "$ac_default_prefix/share/config.site" \
1619
"$ac_default_prefix/etc/config.site"
1624
if test -r "$ac_site_file"; then
1625
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1626
echo "$as_me: loading site script $ac_site_file" >&6;}
1627
sed 's/^/| /' "$ac_site_file" >&5
1632
if test -r "$cache_file"; then
1633
# Some versions of bash will fail to source /dev/null (special
1634
# files actually), so we avoid doing that.
1635
if test -f "$cache_file"; then
1636
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1637
echo "$as_me: loading cache $cache_file" >&6;}
1639
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1640
*) . "./$cache_file";;
1644
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1645
echo "$as_me: creating cache $cache_file" >&6;}
1649
# Check that the precious variables saved in the cache have kept the same
1651
ac_cache_corrupted=false
1652
for ac_var in $ac_precious_vars; do
1653
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1654
eval ac_new_set=\$ac_env_${ac_var}_set
1655
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1656
eval ac_new_val=\$ac_env_${ac_var}_value
1657
case $ac_old_set,$ac_new_set in
1659
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1660
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1661
ac_cache_corrupted=: ;;
1663
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1664
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1665
ac_cache_corrupted=: ;;
1668
if test "x$ac_old_val" != "x$ac_new_val"; then
1669
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1670
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1671
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1672
echo "$as_me: former value: $ac_old_val" >&2;}
1673
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1674
echo "$as_me: current value: $ac_new_val" >&2;}
1675
ac_cache_corrupted=:
1678
# Pass precious variables to config.status.
1679
if test "$ac_new_set" = set; then
1681
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1682
*) ac_arg=$ac_var=$ac_new_val ;;
1684
case " $ac_configure_args " in
1685
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1686
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1690
if $ac_cache_corrupted; then
1691
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1692
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1693
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1694
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1695
{ (exit 1); exit 1; }; }
1723
ac_cpp='$CPP $CPPFLAGS'
1724
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1725
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1726
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1729
am__api_version="1.9"
1731
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1732
if test -f "$ac_dir/install-sh"; then
1734
ac_install_sh="$ac_aux_dir/install-sh -c"
1736
elif test -f "$ac_dir/install.sh"; then
1738
ac_install_sh="$ac_aux_dir/install.sh -c"
1740
elif test -f "$ac_dir/shtool"; then
1742
ac_install_sh="$ac_aux_dir/shtool install -c"
1746
if test -z "$ac_aux_dir"; then
1747
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1748
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1749
{ (exit 1); exit 1; }; }
1752
# These three variables are undocumented and unsupported,
1753
# and are intended to be withdrawn in a future Autoconf release.
1754
# They can cause serious problems if a builder's source tree is in a directory
1755
# whose full name contains unusual characters.
1756
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1757
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1758
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1761
# Find a good install program. We prefer a C program (faster),
1762
# so one script is as good as another. But avoid the broken or
1763
# incompatible versions:
1764
# SysV /etc/install, /usr/sbin/install
1765
# SunOS /usr/etc/install
1766
# IRIX /sbin/install
1768
# AmigaOS /C/install, which installs bootblocks on floppy discs
1769
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1770
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1771
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1772
# OS/2's system install, which has a completely different semantic
1773
# ./install, which can be erroneously created by make from ./install.sh.
1774
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1775
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1776
if test -z "$INSTALL"; then
1777
if test "${ac_cv_path_install+set}" = set; then
1778
echo $ECHO_N "(cached) $ECHO_C" >&6
1780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784
test -z "$as_dir" && as_dir=.
1785
# Account for people who put trailing slashes in PATH elements.
1787
./ | .// | /cC/* | \
1788
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1789
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1792
# OSF1 and SCO ODT 3.0 have their own names for install.
1793
# Don't use installbsd from OSF since it installs stuff as root
1795
for ac_prog in ginstall scoinst install; do
1796
for ac_exec_ext in '' $ac_executable_extensions; do
1797
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1798
if test $ac_prog = install &&
1799
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800
# AIX install. It has an incompatible calling convention.
1802
elif test $ac_prog = install &&
1803
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1804
# program-specific install script used by HP pwplus--don't use.
1807
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1820
if test "${ac_cv_path_install+set}" = set; then
1821
INSTALL=$ac_cv_path_install
1823
# As a last resort, use the slow shell script. Don't cache a
1824
# value for INSTALL within a source directory, because that will
1825
# break other packages using the cache if that directory is
1826
# removed, or if the value is a relative name.
1827
INSTALL=$ac_install_sh
1830
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1831
echo "${ECHO_T}$INSTALL" >&6; }
1833
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1834
# It thinks the first close brace ends the variable substitution.
1835
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1837
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1839
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1841
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1842
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1845
echo timestamp > conftest.file
1846
# Do `set' in a subshell so we don't clobber the current shell's
1847
# arguments. Must try -L first in case configure is actually a
1848
# symlink; some systems play weird games with the mod time of symlinks
1849
# (eg FreeBSD returns the mod time of the symlink's containing
1852
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1853
if test "$*" = "X"; then
1855
set X `ls -t $srcdir/configure conftest.file`
1858
if test "$*" != "X $srcdir/configure conftest.file" \
1859
&& test "$*" != "X conftest.file $srcdir/configure"; then
1861
# If neither matched, then we have a broken ls. This can happen
1862
# if, for instance, CONFIG_SHELL is bash and it inherits a
1863
# broken ls alias from the environment. This has actually
1864
# happened. Such a system could not be considered "sane".
1865
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1866
alias in your environment" >&5
1867
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1868
alias in your environment" >&2;}
1869
{ (exit 1); exit 1; }; }
1872
test "$2" = conftest.file
1878
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1879
Check your system clock" >&5
1880
echo "$as_me: error: newly created file is older than distributed files!
1881
Check your system clock" >&2;}
1882
{ (exit 1); exit 1; }; }
1884
{ echo "$as_me:$LINENO: result: yes" >&5
1885
echo "${ECHO_T}yes" >&6; }
1886
test "$program_prefix" != NONE &&
1887
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1888
# Use a double $ so make ignores it.
1889
test "$program_suffix" != NONE &&
1890
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1891
# Double any \ or $. echo might interpret backslashes.
1892
# By default was `s,x,x', remove it if useless.
1893
cat <<\_ACEOF >conftest.sed
1894
s/[\\$]/&&/g;s/;s,x,x,$//
1896
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1899
# expand $ac_aux_dir to an absolute path
1900
am_aux_dir=`cd $ac_aux_dir && pwd`
1902
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1903
# Use eval to expand $SHELL
1904
if eval "$MISSING --run true"; then
1905
am_missing_run="$MISSING --run "
1908
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1909
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1912
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1913
# We used to keeping the `.' as first argument, in order to
1914
# allow $(mkdir_p) to be used without argument. As in
1915
# $(mkdir_p) $(somedir)
1916
# where $(somedir) is conditionally defined. However this is wrong
1918
# 1. if the package is installed by a user who cannot write `.'
1919
# make install will fail,
1920
# 2. the above comment should most certainly read
1921
# $(mkdir_p) $(DESTDIR)$(somedir)
1922
# so it does not work when $(somedir) is undefined and
1923
# $(DESTDIR) is not.
1924
# To support the latter case, we have to write
1925
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1926
# so the `.' trick is pointless.
1927
mkdir_p='mkdir -p --'
1929
# On NextStep and OpenStep, the `mkdir' command does not
1930
# recognize any option. It will interpret all options as
1931
# directories to create, and then abort because `.' already
1933
for d in ./-p ./--version;
1935
test -d $d && rmdir $d
1937
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1938
if test -f "$ac_aux_dir/mkinstalldirs"; then
1939
mkdir_p='$(mkinstalldirs)'
1941
mkdir_p='$(install_sh) -d'
1945
for ac_prog in gawk mawk nawk awk
1947
# Extract the first word of "$ac_prog", so it can be a program name with args.
1948
set dummy $ac_prog; ac_word=$2
1949
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1950
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1951
if test "${ac_cv_prog_AWK+set}" = set; then
1952
echo $ECHO_N "(cached) $ECHO_C" >&6
1954
if test -n "$AWK"; then
1955
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961
test -z "$as_dir" && as_dir=.
1962
for ac_exec_ext in '' $ac_executable_extensions; do
1963
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1964
ac_cv_prog_AWK="$ac_prog"
1965
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975
if test -n "$AWK"; then
1976
{ echo "$as_me:$LINENO: result: $AWK" >&5
1977
echo "${ECHO_T}$AWK" >&6; }
1979
{ echo "$as_me:$LINENO: result: no" >&5
1980
echo "${ECHO_T}no" >&6; }
1984
test -n "$AWK" && break
1987
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1988
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1989
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1990
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1991
echo $ECHO_N "(cached) $ECHO_C" >&6
1993
cat >conftest.make <<\_ACEOF
1996
@echo '@@@%%%=$(MAKE)=@@@%%%'
1998
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1999
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2001
eval ac_cv_prog_make_${ac_make}_set=yes;;
2003
eval ac_cv_prog_make_${ac_make}_set=no;;
2007
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2008
{ echo "$as_me:$LINENO: result: yes" >&5
2009
echo "${ECHO_T}yes" >&6; }
2012
{ echo "$as_me:$LINENO: result: no" >&5
2013
echo "${ECHO_T}no" >&6; }
2014
SET_MAKE="MAKE=${MAKE-make}"
2017
rm -rf .tst 2>/dev/null
2018
mkdir .tst 2>/dev/null
2019
if test -d .tst; then
2024
rmdir .tst 2>/dev/null
2026
# test to see if srcdir already configured
2027
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2028
test -f $srcdir/config.status; then
2029
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2030
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2031
{ (exit 1); exit 1; }; }
2034
# test whether we have cygpath
2035
if test -z "$CYGPATH_W"; then
2036
if (cygpath --version) >/dev/null 2>/dev/null; then
2037
CYGPATH_W='cygpath -w'
2044
# Define the identity of the package.
2049
cat >>confdefs.h <<_ACEOF
2050
#define PACKAGE "$PACKAGE"
2054
cat >>confdefs.h <<_ACEOF
2055
#define VERSION "$VERSION"
2058
# Some tools Automake needs.
2060
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2063
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2066
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2069
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2072
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2074
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2076
# Installed binaries are usually stripped using `strip' when the user
2077
# run `make install-strip'. However `strip' might not be the right
2078
# tool to use in cross-compilation environments, therefore Automake
2079
# will honor the `STRIP' environment variable to overrule this program.
2080
if test "$cross_compiling" != no; then
2081
if test -n "$ac_tool_prefix"; then
2082
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2083
set dummy ${ac_tool_prefix}strip; ac_word=$2
2084
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2085
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2086
if test "${ac_cv_prog_STRIP+set}" = set; then
2087
echo $ECHO_N "(cached) $ECHO_C" >&6
2089
if test -n "$STRIP"; then
2090
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096
test -z "$as_dir" && as_dir=.
2097
for ac_exec_ext in '' $ac_executable_extensions; do
2098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2100
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109
STRIP=$ac_cv_prog_STRIP
2110
if test -n "$STRIP"; then
2111
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2112
echo "${ECHO_T}$STRIP" >&6; }
2114
{ echo "$as_me:$LINENO: result: no" >&5
2115
echo "${ECHO_T}no" >&6; }
2120
if test -z "$ac_cv_prog_STRIP"; then
2122
# Extract the first word of "strip", so it can be a program name with args.
2123
set dummy strip; ac_word=$2
2124
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2125
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2126
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2127
echo $ECHO_N "(cached) $ECHO_C" >&6
2129
if test -n "$ac_ct_STRIP"; then
2130
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136
test -z "$as_dir" && as_dir=.
2137
for ac_exec_ext in '' $ac_executable_extensions; do
2138
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2139
ac_cv_prog_ac_ct_STRIP="strip"
2140
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2150
if test -n "$ac_ct_STRIP"; then
2151
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2152
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2154
{ echo "$as_me:$LINENO: result: no" >&5
2155
echo "${ECHO_T}no" >&6; }
2158
if test "x$ac_ct_STRIP" = x; then
2161
case $cross_compiling:$ac_tool_warned in
2163
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2164
whose name does not start with the host triplet. If you think this
2165
configuration is useful to you, please write to autoconf@gnu.org." >&5
2166
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2167
whose name does not start with the host triplet. If you think this
2168
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2169
ac_tool_warned=yes ;;
2174
STRIP="$ac_cv_prog_STRIP"
2178
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2180
# We need awk for the "check" target. The system "awk" is bad on
2182
# Always define AMTAR for backward compatibility.
2184
AMTAR=${AMTAR-"${am_missing_run}tar"}
2186
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2192
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2193
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2194
# Check whether --enable-maintainer-mode was given.
2195
if test "${enable_maintainer_mode+set}" = set; then
2196
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2198
USE_MAINTAINER_MODE=no
2201
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2202
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2205
if test $USE_MAINTAINER_MODE = yes; then
2206
MAINTAINER_MODE_TRUE=
2207
MAINTAINER_MODE_FALSE='#'
2209
MAINTAINER_MODE_TRUE='#'
2210
MAINTAINER_MODE_FALSE=
2213
MAINT=$MAINTAINER_MODE_TRUE
2217
ac_config_headers="$ac_config_headers config.h"
2221
ac_cpp='$CPP $CPPFLAGS'
2222
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225
if test -n "$ac_tool_prefix"; then
2226
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2227
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2228
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2229
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2230
if test "${ac_cv_prog_CC+set}" = set; then
2231
echo $ECHO_N "(cached) $ECHO_C" >&6
2233
if test -n "$CC"; then
2234
ac_cv_prog_CC="$CC" # Let the user override the test.
2236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240
test -z "$as_dir" && as_dir=.
2241
for ac_exec_ext in '' $ac_executable_extensions; do
2242
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2244
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254
if test -n "$CC"; then
2255
{ echo "$as_me:$LINENO: result: $CC" >&5
2256
echo "${ECHO_T}$CC" >&6; }
2258
{ echo "$as_me:$LINENO: result: no" >&5
2259
echo "${ECHO_T}no" >&6; }
2264
if test -z "$ac_cv_prog_CC"; then
2266
# Extract the first word of "gcc", so it can be a program name with args.
2267
set dummy gcc; ac_word=$2
2268
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2269
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2271
echo $ECHO_N "(cached) $ECHO_C" >&6
2273
if test -n "$ac_ct_CC"; then
2274
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280
test -z "$as_dir" && as_dir=.
2281
for ac_exec_ext in '' $ac_executable_extensions; do
2282
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283
ac_cv_prog_ac_ct_CC="gcc"
2284
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294
if test -n "$ac_ct_CC"; then
2295
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2296
echo "${ECHO_T}$ac_ct_CC" >&6; }
2298
{ echo "$as_me:$LINENO: result: no" >&5
2299
echo "${ECHO_T}no" >&6; }
2302
if test "x$ac_ct_CC" = x; then
2305
case $cross_compiling:$ac_tool_warned in
2307
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2308
whose name does not start with the host triplet. If you think this
2309
configuration is useful to you, please write to autoconf@gnu.org." >&5
2310
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2311
whose name does not start with the host triplet. If you think this
2312
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2313
ac_tool_warned=yes ;;
2321
if test -z "$CC"; then
2322
if test -n "$ac_tool_prefix"; then
2323
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2324
set dummy ${ac_tool_prefix}cc; ac_word=$2
2325
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2326
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327
if test "${ac_cv_prog_CC+set}" = set; then
2328
echo $ECHO_N "(cached) $ECHO_C" >&6
2330
if test -n "$CC"; then
2331
ac_cv_prog_CC="$CC" # Let the user override the test.
2333
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337
test -z "$as_dir" && as_dir=.
2338
for ac_exec_ext in '' $ac_executable_extensions; do
2339
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340
ac_cv_prog_CC="${ac_tool_prefix}cc"
2341
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351
if test -n "$CC"; then
2352
{ echo "$as_me:$LINENO: result: $CC" >&5
2353
echo "${ECHO_T}$CC" >&6; }
2355
{ echo "$as_me:$LINENO: result: no" >&5
2356
echo "${ECHO_T}no" >&6; }
2362
if test -z "$CC"; then
2363
# Extract the first word of "cc", so it can be a program name with args.
2364
set dummy cc; ac_word=$2
2365
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2366
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367
if test "${ac_cv_prog_CC+set}" = set; then
2368
echo $ECHO_N "(cached) $ECHO_C" >&6
2370
if test -n "$CC"; then
2371
ac_cv_prog_CC="$CC" # Let the user override the test.
2374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378
test -z "$as_dir" && as_dir=.
2379
for ac_exec_ext in '' $ac_executable_extensions; do
2380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2382
ac_prog_rejected=yes
2386
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393
if test $ac_prog_rejected = yes; then
2394
# We found a bogon in the path, so make sure we never use it.
2395
set dummy $ac_cv_prog_CC
2397
if test $# != 0; then
2398
# We chose a different compiler from the bogus one.
2399
# However, it has the same basename, so the bogon will be chosen
2400
# first if we set CC to just the basename; use the full file name.
2402
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2408
if test -n "$CC"; then
2409
{ echo "$as_me:$LINENO: result: $CC" >&5
2410
echo "${ECHO_T}$CC" >&6; }
2412
{ echo "$as_me:$LINENO: result: no" >&5
2413
echo "${ECHO_T}no" >&6; }
2418
if test -z "$CC"; then
2419
if test -n "$ac_tool_prefix"; then
2420
for ac_prog in cl.exe
2422
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2423
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2424
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2425
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426
if test "${ac_cv_prog_CC+set}" = set; then
2427
echo $ECHO_N "(cached) $ECHO_C" >&6
2429
if test -n "$CC"; then
2430
ac_cv_prog_CC="$CC" # Let the user override the test.
2432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436
test -z "$as_dir" && as_dir=.
2437
for ac_exec_ext in '' $ac_executable_extensions; do
2438
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2440
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450
if test -n "$CC"; then
2451
{ echo "$as_me:$LINENO: result: $CC" >&5
2452
echo "${ECHO_T}$CC" >&6; }
2454
{ echo "$as_me:$LINENO: result: no" >&5
2455
echo "${ECHO_T}no" >&6; }
2459
test -n "$CC" && break
2462
if test -z "$CC"; then
2464
for ac_prog in cl.exe
2466
# Extract the first word of "$ac_prog", so it can be a program name with args.
2467
set dummy $ac_prog; ac_word=$2
2468
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2470
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2471
echo $ECHO_N "(cached) $ECHO_C" >&6
2473
if test -n "$ac_ct_CC"; then
2474
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480
test -z "$as_dir" && as_dir=.
2481
for ac_exec_ext in '' $ac_executable_extensions; do
2482
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483
ac_cv_prog_ac_ct_CC="$ac_prog"
2484
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2494
if test -n "$ac_ct_CC"; then
2495
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2496
echo "${ECHO_T}$ac_ct_CC" >&6; }
2498
{ echo "$as_me:$LINENO: result: no" >&5
2499
echo "${ECHO_T}no" >&6; }
2503
test -n "$ac_ct_CC" && break
2506
if test "x$ac_ct_CC" = x; then
2509
case $cross_compiling:$ac_tool_warned in
2511
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2512
whose name does not start with the host triplet. If you think this
2513
configuration is useful to you, please write to autoconf@gnu.org." >&5
2514
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2515
whose name does not start with the host triplet. If you think this
2516
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2517
ac_tool_warned=yes ;;
2526
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2527
See \`config.log' for more details." >&5
2528
echo "$as_me: error: no acceptable C compiler found in \$PATH
2529
See \`config.log' for more details." >&2;}
2530
{ (exit 1); exit 1; }; }
2532
# Provide some information about the compiler.
2533
echo "$as_me:$LINENO: checking for C compiler version" >&5
2534
ac_compiler=`set X $ac_compile; echo $2`
2535
{ (ac_try="$ac_compiler --version >&5"
2537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538
*) ac_try_echo=$ac_try;;
2540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541
(eval "$ac_compiler --version >&5") 2>&5
2543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544
(exit $ac_status); }
2545
{ (ac_try="$ac_compiler -v >&5"
2547
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548
*) ac_try_echo=$ac_try;;
2550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551
(eval "$ac_compiler -v >&5") 2>&5
2553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
(exit $ac_status); }
2555
{ (ac_try="$ac_compiler -V >&5"
2557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558
*) ac_try_echo=$ac_try;;
2560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561
(eval "$ac_compiler -V >&5") 2>&5
2563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
(exit $ac_status); }
2566
cat >conftest.$ac_ext <<_ACEOF
2569
cat confdefs.h >>conftest.$ac_ext
2570
cat >>conftest.$ac_ext <<_ACEOF
2571
/* end confdefs.h. */
2581
ac_clean_files_save=$ac_clean_files
2582
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2583
# Try to create an executable without -o first, disregard a.out.
2584
# It will help us diagnose broken compilers, and finding out an intuition
2586
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2587
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2588
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2590
# List of possible output files, starting from the most likely.
2591
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2592
# only as a last resort. b.out is created by i960 compilers.
2593
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2595
# The IRIX 6 linker writes into existing files which may not be
2596
# executable, retaining their permissions. Remove them first so a
2597
# subsequent execution test works.
2599
for ac_file in $ac_files
2602
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2603
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2608
if { (ac_try="$ac_link_default"
2610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611
*) ac_try_echo=$ac_try;;
2613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614
(eval "$ac_link_default") 2>&5
2616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
(exit $ac_status); }; then
2618
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2619
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2620
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2621
# so that the user can short-circuit this test for compilers unknown to
2623
for ac_file in $ac_files ''
2625
test -f "$ac_file" || continue
2627
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2630
# We found the default executable, but exeext='' is most
2634
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2636
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2638
# We set ac_cv_exeext here because the later test for it is not
2639
# safe: cross compilers may not add the suffix if given an `-o'
2640
# argument, so we may need to know it at that point already.
2641
# Even if this section looks crufty: it has the advantage of
2648
test "$ac_cv_exeext" = no && ac_cv_exeext=
2654
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2655
echo "${ECHO_T}$ac_file" >&6; }
2656
if test -z "$ac_file"; then
2657
echo "$as_me: failed program was:" >&5
2658
sed 's/^/| /' conftest.$ac_ext >&5
2660
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2661
See \`config.log' for more details." >&5
2662
echo "$as_me: error: C compiler cannot create executables
2663
See \`config.log' for more details." >&2;}
2664
{ (exit 77); exit 77; }; }
2667
ac_exeext=$ac_cv_exeext
2669
# Check that the compiler produces executables we can run. If not, either
2670
# the compiler is broken, or we cross compile.
2671
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2672
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2673
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2674
# If not cross compiling, check that we can run a simple program.
2675
if test "$cross_compiling" != yes; then
2676
if { ac_try='./$ac_file'
2677
{ (case "(($ac_try" in
2678
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679
*) ac_try_echo=$ac_try;;
2681
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682
(eval "$ac_try") 2>&5
2684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685
(exit $ac_status); }; }; then
2688
if test "$cross_compiling" = maybe; then
2691
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2692
If you meant to cross compile, use \`--host'.
2693
See \`config.log' for more details." >&5
2694
echo "$as_me: error: cannot run C compiled programs.
2695
If you meant to cross compile, use \`--host'.
2696
See \`config.log' for more details." >&2;}
2697
{ (exit 1); exit 1; }; }
2701
{ echo "$as_me:$LINENO: result: yes" >&5
2702
echo "${ECHO_T}yes" >&6; }
2704
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2705
ac_clean_files=$ac_clean_files_save
2706
# Check that the compiler produces executables we can run. If not, either
2707
# the compiler is broken, or we cross compile.
2708
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2709
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2710
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2711
echo "${ECHO_T}$cross_compiling" >&6; }
2713
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2714
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2715
if { (ac_try="$ac_link"
2717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718
*) ac_try_echo=$ac_try;;
2720
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721
(eval "$ac_link") 2>&5
2723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
(exit $ac_status); }; then
2725
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2726
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2727
# work properly (i.e., refer to `conftest.exe'), while it won't with
2729
for ac_file in conftest.exe conftest conftest.*; do
2730
test -f "$ac_file" || continue
2732
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2733
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2739
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2740
See \`config.log' for more details." >&5
2741
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2742
See \`config.log' for more details." >&2;}
2743
{ (exit 1); exit 1; }; }
2746
rm -f conftest$ac_cv_exeext
2747
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2748
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2750
rm -f conftest.$ac_ext
2751
EXEEXT=$ac_cv_exeext
2753
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2754
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2755
if test "${ac_cv_objext+set}" = set; then
2756
echo $ECHO_N "(cached) $ECHO_C" >&6
2758
cat >conftest.$ac_ext <<_ACEOF
2761
cat confdefs.h >>conftest.$ac_ext
2762
cat >>conftest.$ac_ext <<_ACEOF
2763
/* end confdefs.h. */
2773
rm -f conftest.o conftest.obj
2774
if { (ac_try="$ac_compile"
2776
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777
*) ac_try_echo=$ac_try;;
2779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780
(eval "$ac_compile") 2>&5
2782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783
(exit $ac_status); }; then
2784
for ac_file in conftest.o conftest.obj conftest.*; do
2785
test -f "$ac_file" || continue;
2787
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2788
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2793
echo "$as_me: failed program was:" >&5
2794
sed 's/^/| /' conftest.$ac_ext >&5
2796
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2797
See \`config.log' for more details." >&5
2798
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2799
See \`config.log' for more details." >&2;}
2800
{ (exit 1); exit 1; }; }
2803
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2805
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2806
echo "${ECHO_T}$ac_cv_objext" >&6; }
2807
OBJEXT=$ac_cv_objext
2809
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2810
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2811
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2812
echo $ECHO_N "(cached) $ECHO_C" >&6
2814
cat >conftest.$ac_ext <<_ACEOF
2817
cat confdefs.h >>conftest.$ac_ext
2818
cat >>conftest.$ac_ext <<_ACEOF
2819
/* end confdefs.h. */
2832
rm -f conftest.$ac_objext
2833
if { (ac_try="$ac_compile"
2835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836
*) ac_try_echo=$ac_try;;
2838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839
(eval "$ac_compile") 2>conftest.er1
2841
grep -v '^ *+' conftest.er1 >conftest.err
2843
cat conftest.err >&5
2844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845
(exit $ac_status); } && {
2846
test -z "$ac_c_werror_flag" ||
2847
test ! -s conftest.err
2848
} && test -s conftest.$ac_objext; then
2851
echo "$as_me: failed program was:" >&5
2852
sed 's/^/| /' conftest.$ac_ext >&5
2857
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2861
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2862
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2863
GCC=`test $ac_compiler_gnu = yes && echo yes`
2864
ac_test_CFLAGS=${CFLAGS+set}
2865
ac_save_CFLAGS=$CFLAGS
2866
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2867
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2868
if test "${ac_cv_prog_cc_g+set}" = set; then
2869
echo $ECHO_N "(cached) $ECHO_C" >&6
2871
ac_save_c_werror_flag=$ac_c_werror_flag
2872
ac_c_werror_flag=yes
2875
cat >conftest.$ac_ext <<_ACEOF
2878
cat confdefs.h >>conftest.$ac_ext
2879
cat >>conftest.$ac_ext <<_ACEOF
2880
/* end confdefs.h. */
2890
rm -f conftest.$ac_objext
2891
if { (ac_try="$ac_compile"
2893
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894
*) ac_try_echo=$ac_try;;
2896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897
(eval "$ac_compile") 2>conftest.er1
2899
grep -v '^ *+' conftest.er1 >conftest.err
2901
cat conftest.err >&5
2902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903
(exit $ac_status); } && {
2904
test -z "$ac_c_werror_flag" ||
2905
test ! -s conftest.err
2906
} && test -s conftest.$ac_objext; then
2909
echo "$as_me: failed program was:" >&5
2910
sed 's/^/| /' conftest.$ac_ext >&5
2913
cat >conftest.$ac_ext <<_ACEOF
2916
cat confdefs.h >>conftest.$ac_ext
2917
cat >>conftest.$ac_ext <<_ACEOF
2918
/* end confdefs.h. */
2928
rm -f conftest.$ac_objext
2929
if { (ac_try="$ac_compile"
2931
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932
*) ac_try_echo=$ac_try;;
2934
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935
(eval "$ac_compile") 2>conftest.er1
2937
grep -v '^ *+' conftest.er1 >conftest.err
2939
cat conftest.err >&5
2940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941
(exit $ac_status); } && {
2942
test -z "$ac_c_werror_flag" ||
2943
test ! -s conftest.err
2944
} && test -s conftest.$ac_objext; then
2947
echo "$as_me: failed program was:" >&5
2948
sed 's/^/| /' conftest.$ac_ext >&5
2950
ac_c_werror_flag=$ac_save_c_werror_flag
2952
cat >conftest.$ac_ext <<_ACEOF
2955
cat confdefs.h >>conftest.$ac_ext
2956
cat >>conftest.$ac_ext <<_ACEOF
2957
/* end confdefs.h. */
2967
rm -f conftest.$ac_objext
2968
if { (ac_try="$ac_compile"
2970
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971
*) ac_try_echo=$ac_try;;
2973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2974
(eval "$ac_compile") 2>conftest.er1
2976
grep -v '^ *+' conftest.er1 >conftest.err
2978
cat conftest.err >&5
2979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980
(exit $ac_status); } && {
2981
test -z "$ac_c_werror_flag" ||
2982
test ! -s conftest.err
2983
} && test -s conftest.$ac_objext; then
2986
echo "$as_me: failed program was:" >&5
2987
sed 's/^/| /' conftest.$ac_ext >&5
2992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999
ac_c_werror_flag=$ac_save_c_werror_flag
3001
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3002
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3003
if test "$ac_test_CFLAGS" = set; then
3004
CFLAGS=$ac_save_CFLAGS
3005
elif test $ac_cv_prog_cc_g = yes; then
3006
if test "$GCC" = yes; then
3012
if test "$GCC" = yes; then
3018
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3019
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3020
if test "${ac_cv_prog_cc_c89+set}" = set; then
3021
echo $ECHO_N "(cached) $ECHO_C" >&6
3023
ac_cv_prog_cc_c89=no
3025
cat >conftest.$ac_ext <<_ACEOF
3028
cat confdefs.h >>conftest.$ac_ext
3029
cat >>conftest.$ac_ext <<_ACEOF
3030
/* end confdefs.h. */
3033
#include <sys/types.h>
3034
#include <sys/stat.h>
3035
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3036
struct buf { int x; };
3037
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3038
static char *e (p, i)
3044
static char *f (char * (*g) (char **, int), char **p, ...)
3049
s = g (p, va_arg (v,int));
3054
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3055
function prototypes and stuff, but not '\xHH' hex character constants.
3056
These don't provoke an error unfortunately, instead are silently treated
3057
as 'x'. The following induces an error, until -std is added to get
3058
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3059
array size at least. It's necessary to write '\x00'==0 to get something
3060
that's true only with -std. */
3061
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3063
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3064
inside strings and character constants. */
3066
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3068
int test (int i, double x);
3069
struct s1 {int (*f) (int a);};
3070
struct s2 {int (*f) (double a);};
3071
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3077
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3082
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3083
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3085
CC="$ac_save_CC $ac_arg"
3086
rm -f conftest.$ac_objext
3087
if { (ac_try="$ac_compile"
3089
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090
*) ac_try_echo=$ac_try;;
3092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093
(eval "$ac_compile") 2>conftest.er1
3095
grep -v '^ *+' conftest.er1 >conftest.err
3097
cat conftest.err >&5
3098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099
(exit $ac_status); } && {
3100
test -z "$ac_c_werror_flag" ||
3101
test ! -s conftest.err
3102
} && test -s conftest.$ac_objext; then
3103
ac_cv_prog_cc_c89=$ac_arg
3105
echo "$as_me: failed program was:" >&5
3106
sed 's/^/| /' conftest.$ac_ext >&5
3111
rm -f core conftest.err conftest.$ac_objext
3112
test "x$ac_cv_prog_cc_c89" != "xno" && break
3114
rm -f conftest.$ac_ext
3119
case "x$ac_cv_prog_cc_c89" in
3121
{ echo "$as_me:$LINENO: result: none needed" >&5
3122
echo "${ECHO_T}none needed" >&6; } ;;
3124
{ echo "$as_me:$LINENO: result: unsupported" >&5
3125
echo "${ECHO_T}unsupported" >&6; } ;;
3127
CC="$CC $ac_cv_prog_cc_c89"
3128
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3129
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3134
ac_cpp='$CPP $CPPFLAGS'
3135
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3138
DEPDIR="${am__leading_dot}deps"
3140
ac_config_commands="$ac_config_commands depfiles"
3143
am_make=${MAKE-make}
3144
cat > confinc << 'END'
3149
# If we don't find an include directive, just comment out the code.
3150
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3151
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3155
# First try GNU make style include.
3156
echo "include confinc" > confmf
3157
# We grep out `Entering directory' and `Leaving directory'
3158
# messages which can occur if `w' ends up in MAKEFLAGS.
3159
# In particular we don't look at `^make:' because GNU make might
3160
# be invoked under some other name (usually "gmake"), in which
3161
# case it prints its new name instead of `make'.
3162
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3167
# Now try BSD make style include.
3168
if test "$am__include" = "#"; then
3169
echo '.include "confinc"' > confmf
3170
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3171
am__include=.include
3178
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3179
echo "${ECHO_T}$_am_result" >&6; }
3180
rm -f confinc confmf
3182
# Check whether --enable-dependency-tracking was given.
3183
if test "${enable_dependency_tracking+set}" = set; then
3184
enableval=$enable_dependency_tracking;
3187
if test "x$enable_dependency_tracking" != xno; then
3188
am_depcomp="$ac_aux_dir/depcomp"
3193
if test "x$enable_dependency_tracking" != xno; then
3204
depcc="$CC" am_compiler_list=
3206
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3207
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3208
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3209
echo $ECHO_N "(cached) $ECHO_C" >&6
3211
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3212
# We make a subdir and do the tests there. Otherwise we can end up
3213
# making bogus files that we don't know about and never remove. For
3214
# instance it was reported that on HP-UX the gcc test will end up
3215
# making a dummy file named `D' -- because `-MD' means `put the output
3218
# Copy depcomp to subdir because otherwise we won't find it if we're
3219
# using a relative directory.
3220
cp "$am_depcomp" conftest.dir
3222
# We will build objects and dependencies in a subdirectory because
3223
# it helps to detect inapplicable dependency modes. For instance
3224
# both Tru64's cc and ICC support -MD to output dependencies as a
3225
# side effect of compilation, but ICC will put the dependencies in
3226
# the current directory while Tru64 will put them in the object
3230
am_cv_CC_dependencies_compiler_type=none
3231
if test "$am_compiler_list" = ""; then
3232
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3234
for depmode in $am_compiler_list; do
3235
# Setup a source with many dependencies, because some compilers
3236
# like to wrap large dependency lists on column 80 (with \), and
3237
# we should not choose a depcomp mode which is confused by this.
3239
# We need to recreate these files for each test, as the compiler may
3240
# overwrite some of them when testing with obscure command lines.
3241
# This happens at least with the AIX C compiler.
3243
for i in 1 2 3 4 5 6; do
3244
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3245
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3246
# Solaris 8's {/usr,}/bin/sh.
3247
touch sub/conftst$i.h
3249
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3253
# after this tag, mechanisms are not by side-effect, so they'll
3254
# only be used when explicitly requested
3255
if test "x$enable_dependency_tracking" = xyes; then
3263
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3264
# mode. It turns out that the SunPro C++ compiler does not properly
3265
# handle `-M -o', and we need to detect this.
3266
if depmode=$depmode \
3267
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3268
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3269
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3270
>/dev/null 2>conftest.err &&
3271
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3272
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3273
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3274
# icc doesn't choke on unknown options, it will just issue warnings
3275
# or remarks (even with -Werror). So we grep stderr for any message
3276
# that says an option was ignored or not supported.
3277
# When given -MP, icc 7.0 and 7.1 complain thusly:
3278
# icc: Command line warning: ignoring option '-M'; no argument required
3279
# The diagnosis changed in icc 8.0:
3280
# icc: Command line remark: option '-MP' not supported
3281
if (grep 'ignoring option' conftest.err ||
3282
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3283
am_cv_CC_dependencies_compiler_type=$depmode
3292
am_cv_CC_dependencies_compiler_type=none
3296
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3297
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3298
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3303
test "x$enable_dependency_tracking" != xno \
3304
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3306
am__fastdepCC_FALSE='#'
3308
am__fastdepCC_TRUE='#'
3309
am__fastdepCC_FALSE=
3313
# Find a good install program. We prefer a C program (faster),
3314
# so one script is as good as another. But avoid the broken or
3315
# incompatible versions:
3316
# SysV /etc/install, /usr/sbin/install
3317
# SunOS /usr/etc/install
3318
# IRIX /sbin/install
3320
# AmigaOS /C/install, which installs bootblocks on floppy discs
3321
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3322
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3323
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3324
# OS/2's system install, which has a completely different semantic
3325
# ./install, which can be erroneously created by make from ./install.sh.
3326
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3327
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3328
if test -z "$INSTALL"; then
3329
if test "${ac_cv_path_install+set}" = set; then
3330
echo $ECHO_N "(cached) $ECHO_C" >&6
3332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336
test -z "$as_dir" && as_dir=.
3337
# Account for people who put trailing slashes in PATH elements.
3339
./ | .// | /cC/* | \
3340
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3341
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3344
# OSF1 and SCO ODT 3.0 have their own names for install.
3345
# Don't use installbsd from OSF since it installs stuff as root
3347
for ac_prog in ginstall scoinst install; do
3348
for ac_exec_ext in '' $ac_executable_extensions; do
3349
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3350
if test $ac_prog = install &&
3351
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3352
# AIX install. It has an incompatible calling convention.
3354
elif test $ac_prog = install &&
3355
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3356
# program-specific install script used by HP pwplus--don't use.
3359
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3372
if test "${ac_cv_path_install+set}" = set; then
3373
INSTALL=$ac_cv_path_install
3375
# As a last resort, use the slow shell script. Don't cache a
3376
# value for INSTALL within a source directory, because that will
3377
# break other packages using the cache if that directory is
3378
# removed, or if the value is a relative name.
3379
INSTALL=$ac_install_sh
3382
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3383
echo "${ECHO_T}$INSTALL" >&6; }
3385
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3386
# It thinks the first close brace ends the variable substitution.
3387
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3389
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3391
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3394
# Checks for pkg-config packages
3397
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3398
if test -n "$ac_tool_prefix"; then
3399
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3400
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3401
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3402
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3403
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3404
echo $ECHO_N "(cached) $ECHO_C" >&6
3408
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3411
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415
test -z "$as_dir" && as_dir=.
3416
for ac_exec_ext in '' $ac_executable_extensions; do
3417
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3419
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3430
if test -n "$PKG_CONFIG"; then
3431
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3432
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3434
{ echo "$as_me:$LINENO: result: no" >&5
3435
echo "${ECHO_T}no" >&6; }
3440
if test -z "$ac_cv_path_PKG_CONFIG"; then
3441
ac_pt_PKG_CONFIG=$PKG_CONFIG
3442
# Extract the first word of "pkg-config", so it can be a program name with args.
3443
set dummy pkg-config; ac_word=$2
3444
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3445
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3446
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3447
echo $ECHO_N "(cached) $ECHO_C" >&6
3449
case $ac_pt_PKG_CONFIG in
3451
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458
test -z "$as_dir" && as_dir=.
3459
for ac_exec_ext in '' $ac_executable_extensions; do
3460
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3461
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3462
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3472
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3473
if test -n "$ac_pt_PKG_CONFIG"; then
3474
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3475
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3477
{ echo "$as_me:$LINENO: result: no" >&5
3478
echo "${ECHO_T}no" >&6; }
3481
if test "x$ac_pt_PKG_CONFIG" = x; then
3484
case $cross_compiling:$ac_tool_warned in
3486
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3487
whose name does not start with the host triplet. If you think this
3488
configuration is useful to you, please write to autoconf@gnu.org." >&5
3489
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3490
whose name does not start with the host triplet. If you think this
3491
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3492
ac_tool_warned=yes ;;
3494
PKG_CONFIG=$ac_pt_PKG_CONFIG
3497
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3501
if test -n "$PKG_CONFIG"; then
3502
_pkg_min_version=0.9.0
3503
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3504
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3505
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3506
{ echo "$as_me:$LINENO: result: yes" >&5
3507
echo "${ECHO_T}yes" >&6; }
3509
{ echo "$as_me:$LINENO: result: no" >&5
3510
echo "${ECHO_T}no" >&6; }
3517
{ echo "$as_me:$LINENO: checking for XCMSDB" >&5
3518
echo $ECHO_N "checking for XCMSDB... $ECHO_C" >&6; }
3520
if test -n "$PKG_CONFIG"; then
3521
if test -n "$XCMSDB_CFLAGS"; then
3522
pkg_cv_XCMSDB_CFLAGS="$XCMSDB_CFLAGS"
3524
if test -n "$PKG_CONFIG" && \
3525
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3526
($PKG_CONFIG --exists --print-errors "x11") 2>&5
3528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529
(exit $ac_status); }; then
3530
pkg_cv_XCMSDB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3538
if test -n "$PKG_CONFIG"; then
3539
if test -n "$XCMSDB_LIBS"; then
3540
pkg_cv_XCMSDB_LIBS="$XCMSDB_LIBS"
3542
if test -n "$PKG_CONFIG" && \
3543
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3544
($PKG_CONFIG --exists --print-errors "x11") 2>&5
3546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547
(exit $ac_status); }; then
3548
pkg_cv_XCMSDB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3559
if test $pkg_failed = yes; then
3561
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3562
_pkg_short_errors_supported=yes
3564
_pkg_short_errors_supported=no
3566
if test $_pkg_short_errors_supported = yes; then
3567
XCMSDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
3569
XCMSDB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
3571
# Put the nasty error message in config.log where it belongs
3572
echo "$XCMSDB_PKG_ERRORS" >&5
3574
{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
3578
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3579
installed software in a non-standard prefix.
3581
Alternatively, you may set the environment variables XCMSDB_CFLAGS
3582
and XCMSDB_LIBS to avoid the need to call pkg-config.
3583
See the pkg-config man page for more details.
3585
echo "$as_me: error: Package requirements (x11) were not met:
3589
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3590
installed software in a non-standard prefix.
3592
Alternatively, you may set the environment variables XCMSDB_CFLAGS
3593
and XCMSDB_LIBS to avoid the need to call pkg-config.
3594
See the pkg-config man page for more details.
3596
{ (exit 1); exit 1; }; }
3597
elif test $pkg_failed = untried; then
3598
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3599
is in your PATH or set the PKG_CONFIG environment variable to the full
3602
Alternatively, you may set the environment variables XCMSDB_CFLAGS
3603
and XCMSDB_LIBS to avoid the need to call pkg-config.
3604
See the pkg-config man page for more details.
3606
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3607
See \`config.log' for more details." >&5
3608
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3609
is in your PATH or set the PKG_CONFIG environment variable to the full
3612
Alternatively, you may set the environment variables XCMSDB_CFLAGS
3613
and XCMSDB_LIBS to avoid the need to call pkg-config.
3614
See the pkg-config man page for more details.
3616
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3617
See \`config.log' for more details." >&2;}
3618
{ (exit 1); exit 1; }; }
3620
XCMSDB_CFLAGS=$pkg_cv_XCMSDB_CFLAGS
3621
XCMSDB_LIBS=$pkg_cv_XCMSDB_LIBS
3622
{ echo "$as_me:$LINENO: result: yes" >&5
3623
echo "${ECHO_T}yes" >&6; }
3629
# Make sure we can run config.sub.
3630
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3631
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3632
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3633
{ (exit 1); exit 1; }; }
3635
{ echo "$as_me:$LINENO: checking build system type" >&5
3636
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3637
if test "${ac_cv_build+set}" = set; then
3638
echo $ECHO_N "(cached) $ECHO_C" >&6
3640
ac_build_alias=$build_alias
3641
test "x$ac_build_alias" = x &&
3642
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3643
test "x$ac_build_alias" = x &&
3644
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3645
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3646
{ (exit 1); exit 1; }; }
3647
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3648
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3649
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3650
{ (exit 1); exit 1; }; }
3653
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3654
echo "${ECHO_T}$ac_cv_build" >&6; }
3655
case $ac_cv_build in
3657
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3658
echo "$as_me: error: invalid value of canonical build" >&2;}
3659
{ (exit 1); exit 1; }; };;
3662
ac_save_IFS=$IFS; IFS='-'
3668
# Remember, the first character of IFS is used to create $*,
3669
# except with old shells:
3672
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3675
{ echo "$as_me:$LINENO: checking host system type" >&5
3676
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3677
if test "${ac_cv_host+set}" = set; then
3678
echo $ECHO_N "(cached) $ECHO_C" >&6
3680
if test "x$host_alias" = x; then
3681
ac_cv_host=$ac_cv_build
3683
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3684
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3685
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3686
{ (exit 1); exit 1; }; }
3690
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3691
echo "${ECHO_T}$ac_cv_host" >&6; }
3694
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3695
echo "$as_me: error: invalid value of canonical host" >&2;}
3696
{ (exit 1); exit 1; }; };;
3699
ac_save_IFS=$IFS; IFS='-'
3705
# Remember, the first character of IFS is used to create $*,
3706
# except with old shells:
3709
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3715
if test x$APP_MAN_SUFFIX = x ; then
3718
if test x$APP_MAN_DIR = x ; then
3719
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3722
if test x$LIB_MAN_SUFFIX = x ; then
3725
if test x$LIB_MAN_DIR = x ; then
3726
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3729
if test x$FILE_MAN_SUFFIX = x ; then
3731
solaris*) FILE_MAN_SUFFIX=4 ;;
3732
*) FILE_MAN_SUFFIX=5 ;;
3735
if test x$FILE_MAN_DIR = x ; then
3736
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3739
if test x$MISC_MAN_SUFFIX = x ; then
3741
solaris*) MISC_MAN_SUFFIX=5 ;;
3742
*) MISC_MAN_SUFFIX=7 ;;
3745
if test x$MISC_MAN_DIR = x ; then
3746
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3749
if test x$DRIVER_MAN_SUFFIX = x ; then
3751
solaris*) DRIVER_MAN_SUFFIX=7 ;;
3752
*) DRIVER_MAN_SUFFIX=4 ;;
3755
if test x$DRIVER_MAN_DIR = x ; then
3756
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3759
if test x$ADMIN_MAN_SUFFIX = x ; then
3761
solaris*) ADMIN_MAN_SUFFIX=1m ;;
3762
*) ADMIN_MAN_SUFFIX=8 ;;
3765
if test x$ADMIN_MAN_DIR = x ; then
3766
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3785
# Check whether --with-release-version was given.
3786
if test "${with_release_version+set}" = set; then
3787
withval=$with_release_version; RELEASE_VERSION="$withval"
3792
if test "x$RELEASE_VERSION" != "x"; then
3793
PACKAGE="$PACKAGE-$RELEASE_VERSION"
3794
PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3795
{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3796
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3799
cat >>confdefs.h <<_ACEOF
3800
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3803
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3804
if test "x$PVM" = "x"; then
3808
cat >>confdefs.h <<_ACEOF
3809
#define PACKAGE_VERSION_MINOR $PVM
3812
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3813
if test "x$PVP" = "x"; then
3817
cat >>confdefs.h <<_ACEOF
3818
#define PACKAGE_VERSION_PATCHLEVEL $PVP
3823
ac_config_files="$ac_config_files Makefile"
3825
cat >confcache <<\_ACEOF
3826
# This file is a shell script that caches the results of configure
3827
# tests run on this system so they can be shared between configure
3828
# scripts and configure runs, see configure's option --config-cache.
3829
# It is not useful on other systems. If it contains results you don't
3830
# want to keep, you may remove or edit it.
3832
# config.status only pays attention to the cache file if you give it
3833
# the --recheck option to rerun configure.
3835
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3836
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3841
# The following way of writing the cache mishandles newlines in values,
3842
# but we know of no workaround that is simple, portable, and efficient.
3843
# So, we kill variables containing newlines.
3844
# Ultrix sh set writes to stderr and can't be redirected directly,
3845
# and sets the high bit in the cache file unless we assign to the vars.
3847
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3848
eval ac_val=\$$ac_var
3852
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3853
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3856
_ | IFS | as_nl) ;; #(
3857
*) $as_unset $ac_var ;;
3863
case $as_nl`(ac_space=' '; set) 2>&1` in #(
3864
*${as_nl}ac_space=\ *)
3865
# `set' does not quote correctly, so add quotes (double-quote
3866
# substitution turns \\\\ into \\, and sed turns \\ into \).
3869
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3872
# `set' quotes correctly as required by POSIX, so do not add quotes.
3873
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3882
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3884
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3886
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3887
if test -w "$cache_file"; then
3888
test "x$cache_file" != "x/dev/null" &&
3889
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
3890
echo "$as_me: updating cache $cache_file" >&6;}
3891
cat confcache >$cache_file
3893
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3894
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3899
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3900
# Let make expand exec_prefix.
3901
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3903
DEFS=-DHAVE_CONFIG_H
3907
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3908
# 1. Remove the extension, and $U if already installed.
3909
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3910
ac_i=`echo "$ac_i" | sed "$ac_script"`
3911
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3912
# will be set to the directory where LIBOBJS objects are built.
3913
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3914
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3918
LTLIBOBJS=$ac_ltlibobjs
3921
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3922
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3923
Usually this means the macro was only invoked conditionally." >&5
3924
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3925
Usually this means the macro was only invoked conditionally." >&2;}
3926
{ (exit 1); exit 1; }; }
3928
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3929
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3930
Usually this means the macro was only invoked conditionally." >&5
3931
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3932
Usually this means the macro was only invoked conditionally." >&2;}
3933
{ (exit 1); exit 1; }; }
3935
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3936
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3937
Usually this means the macro was only invoked conditionally." >&5
3938
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3939
Usually this means the macro was only invoked conditionally." >&2;}
3940
{ (exit 1); exit 1; }; }
3943
: ${CONFIG_STATUS=./config.status}
3944
ac_clean_files_save=$ac_clean_files
3945
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3946
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3947
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3948
cat >$CONFIG_STATUS <<_ACEOF
3950
# Generated by $as_me.
3951
# Run this file to recreate the current configuration.
3952
# Compiler output produced by configure, useful for debugging
3953
# configure, is in config.log if it exists.
3958
SHELL=\${CONFIG_SHELL-$SHELL}
3961
cat >>$CONFIG_STATUS <<\_ACEOF
3962
## --------------------- ##
3963
## M4sh Initialization. ##
3964
## --------------------- ##
3966
# Be more Bourne compatible
3967
DUALCASE=1; export DUALCASE # for MKS sh
3968
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3971
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3972
# is contrary to our usage. Disable this feature.
3973
alias -g '${1+"$@"}'='"$@"'
3974
setopt NO_GLOB_SUBST
3976
case `(set -o) 2>/dev/null` in
3977
*posix*) set -o posix ;;
3986
# Avoid depending upon Character Ranges.
3987
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3988
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3989
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3990
as_cr_digits='0123456789'
3991
as_cr_alnum=$as_cr_Letters$as_cr_digits
3993
# The user is always right.
3994
if test "${PATH_SEPARATOR+set}" != set; then
3995
echo "#! /bin/sh" >conf$$.sh
3996
echo "exit 0" >>conf$$.sh
3998
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4006
# Support unset when possible.
4007
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4015
# We need space, tab and new line, in precisely that order. Quoting is
4016
# there to prevent editors from complaining about space-tab.
4017
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4018
# splitting by setting IFS to empty value.)
4023
# Find who we are. Look in the path if we contain no directory separator.
4025
*[\\/]* ) as_myself=$0 ;;
4026
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030
test -z "$as_dir" && as_dir=.
4031
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4037
# We did not find ourselves, most probably we were run as `sh COMMAND'
4038
# in which case we are not to be found in the path.
4039
if test "x$as_myself" = x; then
4042
if test ! -f "$as_myself"; then
4043
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4044
{ (exit 1); exit 1; }
4047
# Work around bugs in pre-3.0 UWIN ksh.
4048
for as_var in ENV MAIL MAILPATH
4049
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4057
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4058
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4059
LC_TELEPHONE LC_TIME
4061
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4062
eval $as_var=C; export $as_var
4064
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4068
# Required to use basename.
4069
if expr a : '\(a\)' >/dev/null 2>&1 &&
4070
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4076
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4077
as_basename=basename
4083
# Name of the executable.
4084
as_me=`$as_basename -- "$0" ||
4085
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4086
X"$0" : 'X\(//\)$' \| \
4087
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4089
sed '/^.*\/\([^/][^/]*\)\/*$/{
4110
test "x$as_lineno_1" != "x$as_lineno_2" &&
4111
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4113
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4114
# uniformly replaced by the line number. The first 'sed' inserts a
4115
# line-number line after each line using $LINENO; the second 'sed'
4116
# does the real work. The second script uses 'N' to pair each
4117
# line-number line with the line containing $LINENO, and appends
4118
# trailing '-' during substitution so that $LINENO is not a special
4120
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4121
# scripts with optimization help from Paolo Bonzini. Blame Lee
4122
# E. McMahon (1931-1989) for sed's syntax. :-)
4134
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4138
chmod +x "$as_me.lineno" ||
4139
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4140
{ (exit 1); exit 1; }; }
4142
# Don't try to exec as it changes $[0], causing all sort of problems
4143
# (the dirname of $[0] is not the place where we might find the
4144
# original and so on. Autoconf is especially sensitive to this).
4146
# Exit status is that of the last command.
4151
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4157
ECHO_C= ECHO_N= ECHO_T=
4160
case `echo 'x\c'` in
4161
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4168
if expr a : '\(a\)' >/dev/null 2>&1 &&
4169
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4175
rm -f conf$$ conf$$.exe conf$$.file
4176
if test -d conf$$.dir; then
4177
rm -f conf$$.dir/conf$$.file
4183
if ln -s conf$$.file conf$$ 2>/dev/null; then
4185
# ... but there are two gotchas:
4186
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4187
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4188
# In both cases, we have to default to `cp -p'.
4189
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4191
elif ln conf$$.file conf$$ 2>/dev/null; then
4196
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4197
rmdir conf$$.dir 2>/dev/null
4199
if mkdir -p . 2>/dev/null; then
4202
test -d ./-p && rmdir ./-p
4206
if test -x / >/dev/null 2>&1; then
4209
if ls -dL / >/dev/null 2>&1; then
4216
if test -d "$1"; then
4222
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4223
???[sx]*):;;*)false;;esac;fi
4227
as_executable_p=$as_test_x
4229
# Sed expression to map a string onto a valid CPP name.
4230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4232
# Sed expression to map a string onto a valid variable name.
4233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4238
# Save the log message, to keep $[0] and so on meaningful, and to
4239
# report actual input values of CONFIG_FILES etc. instead of their
4240
# values after options handling.
4242
This file was extended by xcmsdb $as_me 1.0.1, which was
4243
generated by GNU Autoconf 2.61. Invocation command line was
4245
CONFIG_FILES = $CONFIG_FILES
4246
CONFIG_HEADERS = $CONFIG_HEADERS
4247
CONFIG_LINKS = $CONFIG_LINKS
4248
CONFIG_COMMANDS = $CONFIG_COMMANDS
4251
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4256
cat >>$CONFIG_STATUS <<_ACEOF
4257
# Files that config.status was made for.
4258
config_files="$ac_config_files"
4259
config_headers="$ac_config_headers"
4260
config_commands="$ac_config_commands"
4264
cat >>$CONFIG_STATUS <<\_ACEOF
4266
\`$as_me' instantiates files from templates according to the
4267
current configuration.
4269
Usage: $0 [OPTIONS] [FILE]...
4271
-h, --help print this help, then exit
4272
-V, --version print version number and configuration settings, then exit
4273
-q, --quiet do not print progress messages
4274
-d, --debug don't remove temporary files
4275
--recheck update $as_me by reconfiguring in the same conditions
4276
--file=FILE[:TEMPLATE]
4277
instantiate the configuration file FILE
4278
--header=FILE[:TEMPLATE]
4279
instantiate the configuration header FILE
4281
Configuration files:
4284
Configuration headers:
4287
Configuration commands:
4290
Report bugs to <bug-autoconf@gnu.org>."
4293
cat >>$CONFIG_STATUS <<_ACEOF
4295
xcmsdb config.status 1.0.1
4296
configured by $0, generated by GNU Autoconf 2.61,
4297
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4299
Copyright (C) 2006 Free Software Foundation, Inc.
4300
This config.status script is free software; the Free Software Foundation
4301
gives unlimited permission to copy, distribute and modify it."
4308
cat >>$CONFIG_STATUS <<\_ACEOF
4309
# If no file are specified by the user, then we need to provide default
4310
# value. By we need to know if files were specified by the user.
4316
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4317
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4328
# Handling of the options.
4329
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4331
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4332
echo "$ac_cs_version"; exit ;;
4333
--debug | --debu | --deb | --de | --d | -d )
4335
--file | --fil | --fi | --f )
4337
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4338
ac_need_defaults=false;;
4339
--header | --heade | --head | --hea )
4341
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4342
ac_need_defaults=false;;
4344
# Conflict between --help and --header
4345
{ echo "$as_me: error: ambiguous option: $1
4346
Try \`$0 --help' for more information." >&2
4347
{ (exit 1); exit 1; }; };;
4348
--help | --hel | -h )
4349
echo "$ac_cs_usage"; exit ;;
4350
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4351
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4355
-*) { echo "$as_me: error: unrecognized option: $1
4356
Try \`$0 --help' for more information." >&2
4357
{ (exit 1); exit 1; }; } ;;
4359
*) ac_config_targets="$ac_config_targets $1"
4360
ac_need_defaults=false ;;
4366
ac_configure_extra_args=
4368
if $ac_cs_silent; then
4370
ac_configure_extra_args="$ac_configure_extra_args --silent"
4374
cat >>$CONFIG_STATUS <<_ACEOF
4375
if \$ac_cs_recheck; then
4376
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4379
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4383
cat >>$CONFIG_STATUS <<\_ACEOF
4387
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4388
## Running $as_me. ##
4394
cat >>$CONFIG_STATUS <<_ACEOF
4398
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4402
cat >>$CONFIG_STATUS <<\_ACEOF
4404
# Handling of arguments.
4405
for ac_config_target in $ac_config_targets
4407
case $ac_config_target in
4408
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4409
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4410
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4412
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4413
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4414
{ (exit 1); exit 1; }; };;
4419
# If the user did not use the arguments to specify the items to instantiate,
4420
# then the envvar interface is used. Set only those that are not.
4421
# We use the long form for the default assignment because of an extremely
4422
# bizarre bug on SunOS 4.1.3.
4423
if $ac_need_defaults; then
4424
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4425
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4426
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4429
# Have a temporary directory for convenience. Make it in the build tree
4430
# simply because there is no reason against having it here, and in addition,
4431
# creating and moving files from /tmp can sometimes cause problems.
4432
# Hook for its removal unless debugging.
4433
# Note that there is a small window in which the directory will not be cleaned:
4434
# after its creation but before its name has been assigned to `$tmp'.
4438
trap 'exit_status=$?
4439
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4441
trap '{ (exit 1); exit 1; }' 1 2 13 15
4443
# Create a (secure) tmp directory for tmp files.
4446
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4447
test -n "$tmp" && test -d "$tmp"
4450
tmp=./conf$$-$RANDOM
4451
(umask 077 && mkdir "$tmp")
4454
echo "$me: cannot create a temporary directory in ." >&2
4455
{ (exit 1); exit 1; }
4459
# Set up the sed scripts for CONFIG_FILES section.
4462
# No need to generate the scripts if there are no CONFIG_FILES.
4463
# This happens for instance when ./config.status config.h
4464
if test -n "$CONFIG_FILES"; then
4471
for ac_last_try in false false false false false :; do
4472
cat >conf$$subs.sed <<_ACEOF
4473
SHELL!$SHELL$ac_delim
4474
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4475
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4476
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4477
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4478
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4479
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4480
exec_prefix!$exec_prefix$ac_delim
4481
prefix!$prefix$ac_delim
4482
program_transform_name!$program_transform_name$ac_delim
4483
bindir!$bindir$ac_delim
4484
sbindir!$sbindir$ac_delim
4485
libexecdir!$libexecdir$ac_delim
4486
datarootdir!$datarootdir$ac_delim
4487
datadir!$datadir$ac_delim
4488
sysconfdir!$sysconfdir$ac_delim
4489
sharedstatedir!$sharedstatedir$ac_delim
4490
localstatedir!$localstatedir$ac_delim
4491
includedir!$includedir$ac_delim
4492
oldincludedir!$oldincludedir$ac_delim
4493
docdir!$docdir$ac_delim
4494
infodir!$infodir$ac_delim
4495
htmldir!$htmldir$ac_delim
4496
dvidir!$dvidir$ac_delim
4497
pdfdir!$pdfdir$ac_delim
4498
psdir!$psdir$ac_delim
4499
libdir!$libdir$ac_delim
4500
localedir!$localedir$ac_delim
4501
mandir!$mandir$ac_delim
4503
ECHO_C!$ECHO_C$ac_delim
4504
ECHO_N!$ECHO_N$ac_delim
4505
ECHO_T!$ECHO_T$ac_delim
4507
build_alias!$build_alias$ac_delim
4508
host_alias!$host_alias$ac_delim
4509
target_alias!$target_alias$ac_delim
4510
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4511
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4512
INSTALL_DATA!$INSTALL_DATA$ac_delim
4513
CYGPATH_W!$CYGPATH_W$ac_delim
4514
PACKAGE!$PACKAGE$ac_delim
4515
VERSION!$VERSION$ac_delim
4516
ACLOCAL!$ACLOCAL$ac_delim
4517
AUTOCONF!$AUTOCONF$ac_delim
4518
AUTOMAKE!$AUTOMAKE$ac_delim
4519
AUTOHEADER!$AUTOHEADER$ac_delim
4520
MAKEINFO!$MAKEINFO$ac_delim
4521
install_sh!$install_sh$ac_delim
4522
STRIP!$STRIP$ac_delim
4523
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4524
mkdir_p!$mkdir_p$ac_delim
4526
SET_MAKE!$SET_MAKE$ac_delim
4527
am__leading_dot!$am__leading_dot$ac_delim
4528
AMTAR!$AMTAR$ac_delim
4529
am__tar!$am__tar$ac_delim
4530
am__untar!$am__untar$ac_delim
4531
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4532
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4533
MAINT!$MAINT$ac_delim
4535
CFLAGS!$CFLAGS$ac_delim
4536
LDFLAGS!$LDFLAGS$ac_delim
4537
CPPFLAGS!$CPPFLAGS$ac_delim
4538
ac_ct_CC!$ac_ct_CC$ac_delim
4539
EXEEXT!$EXEEXT$ac_delim
4540
OBJEXT!$OBJEXT$ac_delim
4541
DEPDIR!$DEPDIR$ac_delim
4542
am__include!$am__include$ac_delim
4543
am__quote!$am__quote$ac_delim
4544
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4545
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4546
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4547
CCDEPMODE!$CCDEPMODE$ac_delim
4548
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4549
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4550
PKG_CONFIG!$PKG_CONFIG$ac_delim
4551
XCMSDB_CFLAGS!$XCMSDB_CFLAGS$ac_delim
4552
XCMSDB_LIBS!$XCMSDB_LIBS$ac_delim
4553
build!$build$ac_delim
4554
build_cpu!$build_cpu$ac_delim
4555
build_vendor!$build_vendor$ac_delim
4556
build_os!$build_os$ac_delim
4558
host_cpu!$host_cpu$ac_delim
4559
host_vendor!$host_vendor$ac_delim
4560
host_os!$host_os$ac_delim
4561
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4562
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4563
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4564
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4565
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4566
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4567
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4568
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4569
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4572
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4574
elif $ac_last_try; then
4575
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4576
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4577
{ (exit 1); exit 1; }; }
4579
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4583
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4584
if test -n "$ac_eof"; then
4585
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4586
ac_eof=`expr $ac_eof + 1`
4589
cat >>$CONFIG_STATUS <<_ACEOF
4590
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4591
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4594
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4595
s/^/s,@/; s/!/@,|#_!!_#|/
4598
s/'"$ac_delim"'$/,g/; t
4600
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4601
' >>$CONFIG_STATUS <conf$$subs.sed
4602
rm -f conf$$subs.sed
4603
cat >>$CONFIG_STATUS <<_ACEOF
4609
for ac_last_try in false false false false false :; do
4610
cat >conf$$subs.sed <<_ACEOF
4611
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4612
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4613
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4614
LIBOBJS!$LIBOBJS$ac_delim
4615
LTLIBOBJS!$LTLIBOBJS$ac_delim
4618
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
4620
elif $ac_last_try; then
4621
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4622
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4623
{ (exit 1); exit 1; }; }
4625
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4629
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4630
if test -n "$ac_eof"; then
4631
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4632
ac_eof=`expr $ac_eof + 1`
4635
cat >>$CONFIG_STATUS <<_ACEOF
4636
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4637
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4640
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4641
s/^/s,@/; s/!/@,|#_!!_#|/
4644
s/'"$ac_delim"'$/,g/; t
4646
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4647
' >>$CONFIG_STATUS <conf$$subs.sed
4648
rm -f conf$$subs.sed
4649
cat >>$CONFIG_STATUS <<_ACEOF
4656
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4657
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4658
# trailing colons and then remove the whole line if VPATH becomes empty
4659
# (actually we leave an empty line to preserve line numbers).
4660
if test "x$srcdir" = x.; then
4661
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4665
s/^\([^=]*=[ ]*\):*/\1/
4671
cat >>$CONFIG_STATUS <<\_ACEOF
4672
fi # test -n "$CONFIG_FILES"
4675
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4678
:[FHLC]) ac_mode=$ac_tag; continue;;
4680
case $ac_mode$ac_tag in
4682
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4683
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4684
{ (exit 1); exit 1; }; };;
4685
:[FH]-) ac_tag=-:-;;
4686
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4703
-) ac_f="$tmp/stdin";;
4704
*) # Look for the file first in the build tree, then in the source tree
4705
# (if the path is not absolute). The absolute path cannot be DOS-style,
4706
# because $ac_f cannot contain `:'.
4710
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4712
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4713
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4714
{ (exit 1); exit 1; }; };;
4716
ac_file_inputs="$ac_file_inputs $ac_f"
4719
# Let's still pretend it is `configure' which instantiates (i.e., don't
4720
# use $as_me), people would be surprised to read:
4721
# /* config.h. Generated by config.status. */
4722
configure_input="Generated from "`IFS=:
4723
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4724
if test x"$ac_file" != x-; then
4725
configure_input="$ac_file. $configure_input"
4726
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4727
echo "$as_me: creating $ac_file" >&6;}
4731
*:-:* | *:-) cat >"$tmp/stdin";;
4736
ac_dir=`$as_dirname -- "$ac_file" ||
4737
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4738
X"$ac_file" : 'X\(//\)[^/]' \| \
4739
X"$ac_file" : 'X\(//\)$' \| \
4740
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4742
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4761
-*) as_dir=./$as_dir;;
4763
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4767
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4768
*) as_qdir=$as_dir;;
4770
as_dirs="'$as_qdir' $as_dirs"
4771
as_dir=`$as_dirname -- "$as_dir" ||
4772
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4773
X"$as_dir" : 'X\(//\)[^/]' \| \
4774
X"$as_dir" : 'X\(//\)$' \| \
4775
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4777
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4794
test -d "$as_dir" && break
4796
test -z "$as_dirs" || eval "mkdir $as_dirs"
4797
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4798
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4799
{ (exit 1); exit 1; }; }; }
4803
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4805
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4806
# A ".." for each directory in $ac_dir_suffix.
4807
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4808
case $ac_top_builddir_sub in
4809
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4810
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4813
ac_abs_top_builddir=$ac_pwd
4814
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4815
# for backward compatibility:
4816
ac_top_builddir=$ac_top_build_prefix
4819
.) # We are building in place.
4821
ac_top_srcdir=$ac_top_builddir_sub
4822
ac_abs_top_srcdir=$ac_pwd ;;
4823
[\\/]* | ?:[\\/]* ) # Absolute name.
4824
ac_srcdir=$srcdir$ac_dir_suffix;
4825
ac_top_srcdir=$srcdir
4826
ac_abs_top_srcdir=$srcdir ;;
4828
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4829
ac_top_srcdir=$ac_top_build_prefix$srcdir
4830
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4832
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4842
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4843
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4847
cat >>$CONFIG_STATUS <<\_ACEOF
4848
# If the template does not know about datarootdir, expand it.
4849
# FIXME: This hack should be removed a few years after 2.60.
4850
ac_datarootdir_hack=; ac_datarootdir_seen=
4852
case `sed -n '/datarootdir/ {
4861
' $ac_file_inputs` in
4862
*datarootdir*) ac_datarootdir_seen=yes;;
4863
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4864
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4865
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4867
cat >>$CONFIG_STATUS <<_ACEOF
4868
ac_datarootdir_hack='
4869
s&@datadir@&$datadir&g
4870
s&@docdir@&$docdir&g
4871
s&@infodir@&$infodir&g
4872
s&@localedir@&$localedir&g
4873
s&@mandir@&$mandir&g
4874
s&\\\${datarootdir}&$datarootdir&g' ;;
4878
# Neutralize VPATH when `$srcdir' = `.'.
4879
# Shell code in configure.ac might set extrasub.
4880
# FIXME: do we really want to maintain this feature?
4881
cat >>$CONFIG_STATUS <<_ACEOF
4885
cat >>$CONFIG_STATUS <<\_ACEOF
4887
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4888
s&@configure_input@&$configure_input&;t t
4889
s&@top_builddir@&$ac_top_builddir_sub&;t t
4890
s&@srcdir@&$ac_srcdir&;t t
4891
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4892
s&@top_srcdir@&$ac_top_srcdir&;t t
4893
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4894
s&@builddir@&$ac_builddir&;t t
4895
s&@abs_builddir@&$ac_abs_builddir&;t t
4896
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4897
s&@INSTALL@&$ac_INSTALL&;t t
4898
$ac_datarootdir_hack
4899
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
4901
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4902
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4903
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4904
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4905
which seems to be undefined. Please make sure it is defined." >&5
4906
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4907
which seems to be undefined. Please make sure it is defined." >&2;}
4911
-) cat "$tmp/out"; rm -f "$tmp/out";;
4912
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4921
# Transform confdefs.h into a sed script `conftest.defines', that
4922
# substitutes the proper values into config.h.in to produce config.h.
4923
rm -f conftest.defines conftest.tail
4924
# First, append a space to every undef/define line, to ease matching.
4925
echo 's/$/ /' >conftest.defines
4926
# Then, protect against being on the right side of a sed subst, or in
4927
# an unquoted here document, in config.status. If some macros were
4928
# called several times there might be several #defines for the same
4929
# symbol, which is useless. But do not sort them, since the last
4930
# AC_DEFINE must be honored.
4931
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4932
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4933
# NAME is the cpp macro being defined, VALUE is the value it is being given.
4934
# PARAMS is the parameter list in the macro definition--in most cases, it's
4935
# just an empty string.
4936
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4937
ac_dB='\\)[ (].*,\\1define\\2'
4945
s/^[ ]*#[ ]*define[ ][ ]*//
4950
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4951
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4952
' >>conftest.defines
4954
# Remove the space that was appended to ease matching.
4955
# Then replace #undef with comments. This is necessary, for
4956
# example, in the case of _POSIX_SOURCE, which is predefined and required
4957
# on some systems where configure will not decide to define it.
4958
# (The regexp can be short, since the line contains either #define or #undef.)
4960
s,^[ #]*u.*,/* & */,' >>conftest.defines
4962
# Break up conftest.defines:
4965
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4966
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4967
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4969
ac_in='$ac_file_inputs'
4970
ac_out='"$tmp/out1"'
4971
ac_nxt='"$tmp/out2"'
4975
# Write a here document:
4976
cat >>$CONFIG_STATUS <<_ACEOF
4977
# First, check the format of the line:
4978
cat >"\$tmp/defines.sed" <<\\CEOF
4979
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4980
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4984
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4986
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4987
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4988
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4989
grep . conftest.tail >/dev/null || break
4990
rm -f conftest.defines
4991
mv conftest.tail conftest.defines
4993
rm -f conftest.defines conftest.tail
4995
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4996
cat >>$CONFIG_STATUS <<\_ACEOF
4997
if test x"$ac_file" != x-; then
4998
echo "/* $configure_input */" >"$tmp/config.h"
4999
cat "$ac_result" >>"$tmp/config.h"
5000
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5001
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5002
echo "$as_me: $ac_file is unchanged" >&6;}
5005
mv "$tmp/config.h" $ac_file
5008
echo "/* $configure_input */"
5012
# Compute $ac_file's index in $config_headers.
5014
for _am_header in $config_headers :; do
5016
$ac_file | $ac_file:* )
5019
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5022
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5023
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5024
X$ac_file : 'X\(//\)[^/]' \| \
5025
X$ac_file : 'X\(//\)$' \| \
5026
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5028
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5044
s/.*/./; q'`/stamp-h$_am_stamp_count
5047
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5048
echo "$as_me: executing $ac_file commands" >&6;}
5053
case $ac_file$ac_mode in
5054
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5055
# Strip MF so we end up with the name of the file.
5056
mf=`echo "$mf" | sed -e 's/:.*$//'`
5057
# Check whether this is an Automake generated Makefile or not.
5058
# We used to match only the files named `Makefile.in', but
5059
# some people rename them; so instead we look at the file content.
5060
# Grep'ing the first line is not enough: some people post-process
5061
# each Makefile.in and add a new line on top of each file to say so.
5062
# So let's grep whole file.
5063
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5064
dirpart=`$as_dirname -- "$mf" ||
5065
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5066
X"$mf" : 'X\(//\)[^/]' \| \
5067
X"$mf" : 'X\(//\)$' \| \
5068
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5070
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5090
# Extract the definition of DEPDIR, am__include, and am__quote
5091
# from the Makefile without running `make'.
5092
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5093
test -z "$DEPDIR" && continue
5094
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5095
test -z "am__include" && continue
5096
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5097
# When using ansi2knr, U may be empty or an underscore; expand it
5098
U=`sed -n 's/^U = //p' < "$mf"`
5099
# Find all dependency output files, they are included files with
5100
# $(DEPDIR) in their names. We invoke sed twice because it is the
5101
# simplest approach to changing $(DEPDIR) to its actual value in the
5103
for file in `sed -n "
5104
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5105
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5106
# Make sure the directory exists.
5107
test -f "$dirpart/$file" && continue
5108
fdir=`$as_dirname -- "$file" ||
5109
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5110
X"$file" : 'X\(//\)[^/]' \| \
5111
X"$file" : 'X\(//\)$' \| \
5112
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5114
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5131
{ as_dir=$dirpart/$fdir
5133
-*) as_dir=./$as_dir;;
5135
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5139
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5140
*) as_qdir=$as_dir;;
5142
as_dirs="'$as_qdir' $as_dirs"
5143
as_dir=`$as_dirname -- "$as_dir" ||
5144
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5145
X"$as_dir" : 'X\(//\)[^/]' \| \
5146
X"$as_dir" : 'X\(//\)$' \| \
5147
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5149
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5166
test -d "$as_dir" && break
5168
test -z "$as_dirs" || eval "mkdir $as_dirs"
5169
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5170
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5171
{ (exit 1); exit 1; }; }; }
5172
# echo "creating $dirpart/$file"
5173
echo '# dummy' > "$dirpart/$file"
5182
{ (exit 0); exit 0; }
5184
chmod +x $CONFIG_STATUS
5185
ac_clean_files=$ac_clean_files_save
5188
# configure is writing to config.log, and then calls config.status.
5189
# config.status does its own redirection, appending to config.log.
5190
# Unfortunately, on DOS this fails, as config.log is still kept open
5191
# by configure, so config.status won't be able to write to it; its
5192
# output is simply discarded. So we exec the FD to /dev/null,
5193
# effectively closing config.log, so it can be properly (re)opened and
5194
# appended to by config.status. When coming back to configure, we
5195
# need to make the FD available again.
5196
if test "$no_create" != yes; then
5198
ac_config_status_args=
5199
test "$silent" = yes &&
5200
ac_config_status_args="$ac_config_status_args --quiet"
5202
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5204
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5205
# would make configure fail if this is the last instruction.
5206
$ac_cs_success || { (exit 1); exit 1; }