2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for xgamma 1.0.2.
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
exec 7<&0 </dev/null 6>&1
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
574
# Identity of this package.
575
PACKAGE_NAME='xgamma'
576
PACKAGE_TARNAME='xgamma'
577
PACKAGE_VERSION='1.0.2'
578
PACKAGE_STRING='xgamma 1.0.2'
579
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
590
program_transform_name
632
INSTALL_STRIP_PROGRAM
641
MAINTAINER_MODE_FALSE
685
ac_precious_vars='build_alias
698
# Initialize some variables set by options.
700
ac_init_version=false
701
# The variables have the same names as the options, with
702
# dashes changed to underlines.
710
program_transform_name=s,x,x,
718
# Installation directory options.
719
# These are left unexpanded so users can "make install exec_prefix=/foo"
720
# and all the variables that are supposed to be based on exec_prefix
721
# by default will actually change.
722
# Use braces instead of parens because sh, perl, etc. also accept them.
723
# (The list follows the same order as the GNU Coding Standards.)
724
bindir='${exec_prefix}/bin'
725
sbindir='${exec_prefix}/sbin'
726
libexecdir='${exec_prefix}/libexec'
727
datarootdir='${prefix}/share'
728
datadir='${datarootdir}'
729
sysconfdir='${prefix}/etc'
730
sharedstatedir='${prefix}/com'
731
localstatedir='${prefix}/var'
732
includedir='${prefix}/include'
733
oldincludedir='/usr/include'
734
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
735
infodir='${datarootdir}/info'
740
libdir='${exec_prefix}/lib'
741
localedir='${datarootdir}/locale'
742
mandir='${datarootdir}/man'
748
# If the previous option needs an argument, assign it.
749
if test -n "$ac_prev"; then
750
eval $ac_prev=\$ac_option
756
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
760
# Accept the important Cygnus configure options, so we can diagnose typos.
762
case $ac_dashdash$ac_option in
766
-bindir | --bindir | --bindi | --bind | --bin | --bi)
768
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771
-build | --build | --buil | --bui | --bu)
772
ac_prev=build_alias ;;
773
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
774
build_alias=$ac_optarg ;;
776
-cache-file | --cache-file | --cache-fil | --cache-fi \
777
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778
ac_prev=cache_file ;;
779
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781
cache_file=$ac_optarg ;;
784
cache_file=config.cache ;;
786
-datadir | --datadir | --datadi | --datad)
788
-datadir=* | --datadir=* | --datadi=* | --datad=*)
789
datadir=$ac_optarg ;;
791
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792
| --dataroo | --dataro | --datar)
793
ac_prev=datarootdir ;;
794
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796
datarootdir=$ac_optarg ;;
798
-disable-* | --disable-*)
799
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800
# Reject names that are not valid shell variable names.
801
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
803
{ (exit 1); exit 1; }; }
804
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
805
eval enable_$ac_feature=no ;;
807
-docdir | --docdir | --docdi | --doc | --do)
809
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817
-enable-* | --enable-*)
818
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
819
# Reject names that are not valid shell variable names.
820
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
821
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
822
{ (exit 1); exit 1; }; }
823
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
824
eval enable_$ac_feature=\$ac_optarg ;;
826
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828
| --exec | --exe | --ex)
829
ac_prev=exec_prefix ;;
830
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832
| --exec=* | --exe=* | --ex=*)
833
exec_prefix=$ac_optarg ;;
835
-gas | --gas | --ga | --g)
836
# Obsolete; use --with-gas.
839
-help | --help | --hel | --he | -h)
841
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842
ac_init_help=recursive ;;
843
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844
ac_init_help=short ;;
846
-host | --host | --hos | --ho)
847
ac_prev=host_alias ;;
848
-host=* | --host=* | --hos=* | --ho=*)
849
host_alias=$ac_optarg ;;
851
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
853
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
855
htmldir=$ac_optarg ;;
857
-includedir | --includedir | --includedi | --included | --include \
858
| --includ | --inclu | --incl | --inc)
859
ac_prev=includedir ;;
860
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861
| --includ=* | --inclu=* | --incl=* | --inc=*)
862
includedir=$ac_optarg ;;
864
-infodir | --infodir | --infodi | --infod | --info | --inf)
866
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867
infodir=$ac_optarg ;;
869
-libdir | --libdir | --libdi | --libd)
871
-libdir=* | --libdir=* | --libdi=* | --libd=*)
874
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875
| --libexe | --libex | --libe)
876
ac_prev=libexecdir ;;
877
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878
| --libexe=* | --libex=* | --libe=*)
879
libexecdir=$ac_optarg ;;
881
-localedir | --localedir | --localedi | --localed | --locale)
883
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884
localedir=$ac_optarg ;;
886
-localstatedir | --localstatedir | --localstatedi | --localstated \
887
| --localstate | --localstat | --localsta | --localst | --locals)
888
ac_prev=localstatedir ;;
889
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891
localstatedir=$ac_optarg ;;
893
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
895
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
899
# Obsolete; use --without-fp.
902
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
903
| --no-cr | --no-c | -n)
906
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
907
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
910
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912
| --oldin | --oldi | --old | --ol | --o)
913
ac_prev=oldincludedir ;;
914
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917
oldincludedir=$ac_optarg ;;
919
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
921
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
924
-program-prefix | --program-prefix | --program-prefi | --program-pref \
925
| --program-pre | --program-pr | --program-p)
926
ac_prev=program_prefix ;;
927
-program-prefix=* | --program-prefix=* | --program-prefi=* \
928
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929
program_prefix=$ac_optarg ;;
931
-program-suffix | --program-suffix | --program-suffi | --program-suff \
932
| --program-suf | --program-su | --program-s)
933
ac_prev=program_suffix ;;
934
-program-suffix=* | --program-suffix=* | --program-suffi=* \
935
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936
program_suffix=$ac_optarg ;;
938
-program-transform-name | --program-transform-name \
939
| --program-transform-nam | --program-transform-na \
940
| --program-transform-n | --program-transform- \
941
| --program-transform | --program-transfor \
942
| --program-transfo | --program-transf \
943
| --program-trans | --program-tran \
944
| --progr-tra | --program-tr | --program-t)
945
ac_prev=program_transform_name ;;
946
-program-transform-name=* | --program-transform-name=* \
947
| --program-transform-nam=* | --program-transform-na=* \
948
| --program-transform-n=* | --program-transform-=* \
949
| --program-transform=* | --program-transfor=* \
950
| --program-transfo=* | --program-transf=* \
951
| --program-trans=* | --program-tran=* \
952
| --progr-tra=* | --program-tr=* | --program-t=*)
953
program_transform_name=$ac_optarg ;;
955
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
957
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
960
-psdir | --psdir | --psdi | --psd | --ps)
962
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
965
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
966
| -silent | --silent | --silen | --sile | --sil)
969
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
971
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
973
sbindir=$ac_optarg ;;
975
-sharedstatedir | --sharedstatedir | --sharedstatedi \
976
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977
| --sharedst | --shareds | --shared | --share | --shar \
979
ac_prev=sharedstatedir ;;
980
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
984
sharedstatedir=$ac_optarg ;;
986
-site | --site | --sit)
988
-site=* | --site=* | --sit=*)
991
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
993
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
996
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
997
| --syscon | --sysco | --sysc | --sys | --sy)
998
ac_prev=sysconfdir ;;
999
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1000
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1001
sysconfdir=$ac_optarg ;;
1003
-target | --target | --targe | --targ | --tar | --ta | --t)
1004
ac_prev=target_alias ;;
1005
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1006
target_alias=$ac_optarg ;;
1008
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1011
-version | --version | --versio | --versi | --vers | -V)
1012
ac_init_version=: ;;
1015
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016
# Reject names that are not valid shell variable names.
1017
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1019
{ (exit 1); exit 1; }; }
1020
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1021
eval with_$ac_package=\$ac_optarg ;;
1023
-without-* | --without-*)
1024
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025
# Reject names that are not valid shell variable names.
1026
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1028
{ (exit 1); exit 1; }; }
1029
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1030
eval with_$ac_package=no ;;
1033
# Obsolete; use --with-x.
1036
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1037
| --x-incl | --x-inc | --x-in | --x-i)
1038
ac_prev=x_includes ;;
1039
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1040
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1041
x_includes=$ac_optarg ;;
1043
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1044
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1045
ac_prev=x_libraries ;;
1046
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1047
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1048
x_libraries=$ac_optarg ;;
1050
-*) { echo "$as_me: error: unrecognized option: $ac_option
1051
Try \`$0 --help' for more information." >&2
1052
{ (exit 1); exit 1; }; }
1056
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1057
# Reject names that are not valid shell variable names.
1058
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1059
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1060
{ (exit 1); exit 1; }; }
1061
eval $ac_envvar=\$ac_optarg
1062
export $ac_envvar ;;
1065
# FIXME: should be removed in autoconf 3.0.
1066
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1067
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1069
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1075
if test -n "$ac_prev"; then
1076
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1077
{ echo "$as_me: error: missing argument to $ac_option" >&2
1078
{ (exit 1); exit 1; }; }
1081
# Be sure to have absolute directory names.
1082
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1083
datadir sysconfdir sharedstatedir localstatedir includedir \
1084
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1085
libdir localedir mandir
1087
eval ac_val=\$$ac_var
1089
[\\/$]* | ?:[\\/]* ) continue;;
1090
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1092
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1093
{ (exit 1); exit 1; }; }
1096
# There might be people who depend on the old broken behavior: `$host'
1097
# used to hold the argument of --host etc.
1098
# FIXME: To remove some day.
1101
target=$target_alias
1103
# FIXME: To remove some day.
1104
if test "x$host_alias" != x; then
1105
if test "x$build_alias" = x; then
1106
cross_compiling=maybe
1107
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1108
If a cross compiler is detected then cross compile mode will be used." >&2
1109
elif test "x$build_alias" != "x$host_alias"; then
1115
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1117
test "$silent" = yes && exec 6>/dev/null
1120
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1121
ac_ls_di=`ls -di .` &&
1122
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1123
{ echo "$as_me: error: Working directory cannot be determined" >&2
1124
{ (exit 1); exit 1; }; }
1125
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1126
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1127
{ (exit 1); exit 1; }; }
1130
# Find the source files, if location was not specified.
1131
if test -z "$srcdir"; then
1132
ac_srcdir_defaulted=yes
1133
# Try the directory containing this script, then the parent directory.
1134
ac_confdir=`$as_dirname -- "$0" ||
1135
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1136
X"$0" : 'X\(//\)[^/]' \| \
1137
X"$0" : 'X\(//\)$' \| \
1138
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1140
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1158
if test ! -r "$srcdir/$ac_unique_file"; then
1162
ac_srcdir_defaulted=no
1164
if test ! -r "$srcdir/$ac_unique_file"; then
1165
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1167
{ (exit 1); exit 1; }; }
1169
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1171
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1172
{ (exit 1); exit 1; }; }
1174
# When building in place, set srcdir=.
1175
if test "$ac_abs_confdir" = "$ac_pwd"; then
1178
# Remove unnecessary trailing slashes from srcdir.
1179
# Double slashes in file names in object file debugging info
1180
# mess up M-x gdb in Emacs.
1182
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1184
for ac_var in $ac_precious_vars; do
1185
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1186
eval ac_env_${ac_var}_value=\$${ac_var}
1187
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1188
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1192
# Report the --help message.
1194
if test "$ac_init_help" = "long"; then
1195
# Omit some internal or obsolete options to make the list less imposing.
1196
# This message is too long to be a string in the A/UX 3.1 sh.
1198
\`configure' configures xgamma 1.0.2 to adapt to many kinds of systems.
1200
Usage: $0 [OPTION]... [VAR=VALUE]...
1202
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1203
VAR=VALUE. See below for descriptions of some of the useful variables.
1205
Defaults for the options are specified in brackets.
1208
-h, --help display this help and exit
1209
--help=short display options specific to this package
1210
--help=recursive display the short help of all the included packages
1211
-V, --version display version information and exit
1212
-q, --quiet, --silent do not print \`checking...' messages
1213
--cache-file=FILE cache test results in FILE [disabled]
1214
-C, --config-cache alias for \`--cache-file=config.cache'
1215
-n, --no-create do not create output files
1216
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1218
Installation directories:
1219
--prefix=PREFIX install architecture-independent files in PREFIX
1220
[$ac_default_prefix]
1221
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1224
By default, \`make install' will install all the files in
1225
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1226
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1227
for instance \`--prefix=\$HOME'.
1229
For better control, use the options below.
1231
Fine tuning of the installation directories:
1232
--bindir=DIR user executables [EPREFIX/bin]
1233
--sbindir=DIR system admin executables [EPREFIX/sbin]
1234
--libexecdir=DIR program executables [EPREFIX/libexec]
1235
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1236
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1237
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1238
--libdir=DIR object code libraries [EPREFIX/lib]
1239
--includedir=DIR C header files [PREFIX/include]
1240
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1241
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1242
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1243
--infodir=DIR info documentation [DATAROOTDIR/info]
1244
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1245
--mandir=DIR man documentation [DATAROOTDIR/man]
1246
--docdir=DIR documentation root [DATAROOTDIR/doc/xgamma]
1247
--htmldir=DIR html documentation [DOCDIR]
1248
--dvidir=DIR dvi documentation [DOCDIR]
1249
--pdfdir=DIR pdf documentation [DOCDIR]
1250
--psdir=DIR ps documentation [DOCDIR]
1256
--program-prefix=PREFIX prepend PREFIX to installed program names
1257
--program-suffix=SUFFIX append SUFFIX to installed program names
1258
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1261
--build=BUILD configure for building on BUILD [guessed]
1262
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1266
if test -n "$ac_init_help"; then
1267
case $ac_init_help in
1268
short | recursive ) echo "Configuration of xgamma 1.0.2:";;
1273
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1274
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1275
--enable-maintainer-mode enable make rules and dependencies not useful
1276
(and sometimes confusing) to the casual installer
1277
--disable-dependency-tracking speeds up one-time build
1278
--enable-dependency-tracking do not reject slow dependency extractors
1281
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1282
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1283
--with-release-version=STRING
1284
Use release version string in package name
1286
Some influential environment variables:
1287
CC C compiler command
1288
CFLAGS C compiler flags
1289
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1290
nonstandard directory <lib dir>
1291
LIBS libraries to pass to the linker, e.g. -l<library>
1292
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1293
you have headers in a nonstandard directory <include dir>
1294
PKG_CONFIG path to pkg-config utility
1296
C compiler flags for XGAMMA, overriding pkg-config
1297
XGAMMA_LIBS linker flags for XGAMMA, overriding pkg-config
1299
Use these variables to override the choices made by `configure' or to help
1300
it to find libraries and programs with nonstandard names/locations.
1302
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1307
if test "$ac_init_help" = "recursive"; then
1308
# If there are subdirs, report their specific --help.
1309
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1310
test -d "$ac_dir" || continue
1314
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1317
# A ".." for each directory in $ac_dir_suffix.
1318
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1319
case $ac_top_builddir_sub in
1320
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1324
ac_abs_top_builddir=$ac_pwd
1325
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1326
# for backward compatibility:
1327
ac_top_builddir=$ac_top_build_prefix
1330
.) # We are building in place.
1332
ac_top_srcdir=$ac_top_builddir_sub
1333
ac_abs_top_srcdir=$ac_pwd ;;
1334
[\\/]* | ?:[\\/]* ) # Absolute name.
1335
ac_srcdir=$srcdir$ac_dir_suffix;
1336
ac_top_srcdir=$srcdir
1337
ac_abs_top_srcdir=$srcdir ;;
1339
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1340
ac_top_srcdir=$ac_top_build_prefix$srcdir
1341
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1343
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1345
cd "$ac_dir" || { ac_status=$?; continue; }
1346
# Check for guested configure.
1347
if test -f "$ac_srcdir/configure.gnu"; then
1349
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1350
elif test -f "$ac_srcdir/configure"; then
1352
$SHELL "$ac_srcdir/configure" --help=recursive
1354
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1356
cd "$ac_pwd" || { ac_status=$?; break; }
1360
test -n "$ac_init_help" && exit $ac_status
1361
if $ac_init_version; then
1363
xgamma configure 1.0.2
1364
generated by GNU Autoconf 2.61
1366
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1367
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1368
This configure script is free software; the Free Software Foundation
1369
gives unlimited permission to copy, distribute and modify it.
1373
cat >config.log <<_ACEOF
1374
This file contains any messages produced by compilers while
1375
running configure, to aid debugging if configure makes a mistake.
1377
It was created by xgamma $as_me 1.0.2, which was
1378
generated by GNU Autoconf 2.61. Invocation command line was
1390
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1391
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1392
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1393
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1394
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1396
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1397
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1399
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1400
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1401
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1402
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1403
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1404
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1405
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1413
test -z "$as_dir" && as_dir=.
1414
echo "PATH: $as_dir"
1430
# Keep a trace of the command line.
1431
# Strip out --no-create and --no-recursion so they do not pile up.
1432
# Strip out --silent because we don't want to record it for future runs.
1433
# Also quote any args containing shell meta-characters.
1434
# Make two passes to allow for proper duplicate-argument suppression.
1438
ac_must_keep_next=false
1444
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1445
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1446
| -silent | --silent | --silen | --sile | --sil)
1449
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1452
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1454
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1455
if test $ac_must_keep_next = true; then
1456
ac_must_keep_next=false # Got value, back to normal.
1459
*=* | --config-cache | -C | -disable-* | --disable-* \
1460
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1461
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1462
| -with-* | --with-* | -without-* | --without-* | --x)
1463
case "$ac_configure_args0 " in
1464
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1467
-* ) ac_must_keep_next=true ;;
1470
ac_configure_args="$ac_configure_args '$ac_arg'"
1475
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1476
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1478
# When interrupted or exit'd, cleanup temporary files, and complete
1479
# config.log. We remove comments because anyway the quotes in there
1480
# would cause problems or look ugly.
1481
# WARNING: Use '\'' to represent an apostrophe within the trap.
1482
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1483
trap 'exit_status=$?
1484
# Save into config.log some information that might help in debugging.
1489
## ---------------- ##
1490
## Cache variables. ##
1491
## ---------------- ##
1494
# The following way of writing the cache mishandles newlines in values,
1496
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1497
eval ac_val=\$$ac_var
1501
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1502
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1505
_ | IFS | as_nl) ;; #(
1506
*) $as_unset $ac_var ;;
1511
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1512
*${as_nl}ac_space=\ *)
1514
"s/'\''/'\''\\\\'\'''\''/g;
1515
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1518
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1526
## ----------------- ##
1527
## Output variables. ##
1528
## ----------------- ##
1531
for ac_var in $ac_subst_vars
1533
eval ac_val=\$$ac_var
1535
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1537
echo "$ac_var='\''$ac_val'\''"
1541
if test -n "$ac_subst_files"; then
1543
## ------------------- ##
1544
## File substitutions. ##
1545
## ------------------- ##
1548
for ac_var in $ac_subst_files
1550
eval ac_val=\$$ac_var
1552
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1554
echo "$ac_var='\''$ac_val'\''"
1559
if test -s confdefs.h; then
1569
test "$ac_signal" != 0 &&
1570
echo "$as_me: caught signal $ac_signal"
1571
echo "$as_me: exit $exit_status"
1573
rm -f core *.core core.conftest.* &&
1574
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1577
for ac_signal in 1 2 13 15; do
1578
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1582
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1583
rm -f -r conftest* confdefs.h
1585
# Predefined preprocessor variables.
1587
cat >>confdefs.h <<_ACEOF
1588
#define PACKAGE_NAME "$PACKAGE_NAME"
1592
cat >>confdefs.h <<_ACEOF
1593
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1597
cat >>confdefs.h <<_ACEOF
1598
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1602
cat >>confdefs.h <<_ACEOF
1603
#define PACKAGE_STRING "$PACKAGE_STRING"
1607
cat >>confdefs.h <<_ACEOF
1608
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1612
# Let the site file select an alternate cache file if it wants to.
1613
# Prefer explicitly selected file to automatically selected ones.
1614
if test -n "$CONFIG_SITE"; then
1615
set x "$CONFIG_SITE"
1616
elif test "x$prefix" != xNONE; then
1617
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1619
set x "$ac_default_prefix/share/config.site" \
1620
"$ac_default_prefix/etc/config.site"
1625
if test -r "$ac_site_file"; then
1626
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1627
echo "$as_me: loading site script $ac_site_file" >&6;}
1628
sed 's/^/| /' "$ac_site_file" >&5
1633
if test -r "$cache_file"; then
1634
# Some versions of bash will fail to source /dev/null (special
1635
# files actually), so we avoid doing that.
1636
if test -f "$cache_file"; then
1637
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1638
echo "$as_me: loading cache $cache_file" >&6;}
1640
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1641
*) . "./$cache_file";;
1645
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1646
echo "$as_me: creating cache $cache_file" >&6;}
1650
# Check that the precious variables saved in the cache have kept the same
1652
ac_cache_corrupted=false
1653
for ac_var in $ac_precious_vars; do
1654
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1655
eval ac_new_set=\$ac_env_${ac_var}_set
1656
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1657
eval ac_new_val=\$ac_env_${ac_var}_value
1658
case $ac_old_set,$ac_new_set in
1660
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1661
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1662
ac_cache_corrupted=: ;;
1664
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1665
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1666
ac_cache_corrupted=: ;;
1669
if test "x$ac_old_val" != "x$ac_new_val"; then
1670
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1671
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1672
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1673
echo "$as_me: former value: $ac_old_val" >&2;}
1674
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1675
echo "$as_me: current value: $ac_new_val" >&2;}
1676
ac_cache_corrupted=:
1679
# Pass precious variables to config.status.
1680
if test "$ac_new_set" = set; then
1682
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1683
*) ac_arg=$ac_var=$ac_new_val ;;
1685
case " $ac_configure_args " in
1686
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1687
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1691
if $ac_cache_corrupted; then
1692
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1693
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1694
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1695
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1696
{ (exit 1); exit 1; }; }
1724
ac_cpp='$CPP $CPPFLAGS'
1725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1730
am__api_version='1.10'
1733
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1734
if test -f "$ac_dir/install-sh"; then
1736
ac_install_sh="$ac_aux_dir/install-sh -c"
1738
elif test -f "$ac_dir/install.sh"; then
1740
ac_install_sh="$ac_aux_dir/install.sh -c"
1742
elif test -f "$ac_dir/shtool"; then
1744
ac_install_sh="$ac_aux_dir/shtool install -c"
1748
if test -z "$ac_aux_dir"; then
1749
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1750
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1751
{ (exit 1); exit 1; }; }
1754
# These three variables are undocumented and unsupported,
1755
# and are intended to be withdrawn in a future Autoconf release.
1756
# They can cause serious problems if a builder's source tree is in a directory
1757
# whose full name contains unusual characters.
1758
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1759
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1760
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1763
# Find a good install program. We prefer a C program (faster),
1764
# so one script is as good as another. But avoid the broken or
1765
# incompatible versions:
1766
# SysV /etc/install, /usr/sbin/install
1767
# SunOS /usr/etc/install
1768
# IRIX /sbin/install
1770
# AmigaOS /C/install, which installs bootblocks on floppy discs
1771
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1772
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1773
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1774
# OS/2's system install, which has a completely different semantic
1775
# ./install, which can be erroneously created by make from ./install.sh.
1776
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1777
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1778
if test -z "$INSTALL"; then
1779
if test "${ac_cv_path_install+set}" = set; then
1780
echo $ECHO_N "(cached) $ECHO_C" >&6
1782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1786
test -z "$as_dir" && as_dir=.
1787
# Account for people who put trailing slashes in PATH elements.
1789
./ | .// | /cC/* | \
1790
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1791
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1794
# OSF1 and SCO ODT 3.0 have their own names for install.
1795
# Don't use installbsd from OSF since it installs stuff as root
1797
for ac_prog in ginstall scoinst install; do
1798
for ac_exec_ext in '' $ac_executable_extensions; do
1799
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1800
if test $ac_prog = install &&
1801
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802
# AIX install. It has an incompatible calling convention.
1804
elif test $ac_prog = install &&
1805
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1806
# program-specific install script used by HP pwplus--don't use.
1809
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1822
if test "${ac_cv_path_install+set}" = set; then
1823
INSTALL=$ac_cv_path_install
1825
# As a last resort, use the slow shell script. Don't cache a
1826
# value for INSTALL within a source directory, because that will
1827
# break other packages using the cache if that directory is
1828
# removed, or if the value is a relative name.
1829
INSTALL=$ac_install_sh
1832
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1833
echo "${ECHO_T}$INSTALL" >&6; }
1835
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1836
# It thinks the first close brace ends the variable substitution.
1837
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1839
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1841
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1843
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1844
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1847
echo timestamp > conftest.file
1848
# Do `set' in a subshell so we don't clobber the current shell's
1849
# arguments. Must try -L first in case configure is actually a
1850
# symlink; some systems play weird games with the mod time of symlinks
1851
# (eg FreeBSD returns the mod time of the symlink's containing
1854
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1855
if test "$*" = "X"; then
1857
set X `ls -t $srcdir/configure conftest.file`
1860
if test "$*" != "X $srcdir/configure conftest.file" \
1861
&& test "$*" != "X conftest.file $srcdir/configure"; then
1863
# If neither matched, then we have a broken ls. This can happen
1864
# if, for instance, CONFIG_SHELL is bash and it inherits a
1865
# broken ls alias from the environment. This has actually
1866
# happened. Such a system could not be considered "sane".
1867
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1868
alias in your environment" >&5
1869
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1870
alias in your environment" >&2;}
1871
{ (exit 1); exit 1; }; }
1874
test "$2" = conftest.file
1880
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1881
Check your system clock" >&5
1882
echo "$as_me: error: newly created file is older than distributed files!
1883
Check your system clock" >&2;}
1884
{ (exit 1); exit 1; }; }
1886
{ echo "$as_me:$LINENO: result: yes" >&5
1887
echo "${ECHO_T}yes" >&6; }
1888
test "$program_prefix" != NONE &&
1889
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1890
# Use a double $ so make ignores it.
1891
test "$program_suffix" != NONE &&
1892
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1893
# Double any \ or $. echo might interpret backslashes.
1894
# By default was `s,x,x', remove it if useless.
1895
cat <<\_ACEOF >conftest.sed
1896
s/[\\$]/&&/g;s/;s,x,x,$//
1898
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1901
# expand $ac_aux_dir to an absolute path
1902
am_aux_dir=`cd $ac_aux_dir && pwd`
1904
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1905
# Use eval to expand $SHELL
1906
if eval "$MISSING --run true"; then
1907
am_missing_run="$MISSING --run "
1910
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1911
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1914
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1915
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1916
if test -z "$MKDIR_P"; then
1917
if test "${ac_cv_path_mkdir+set}" = set; then
1918
echo $ECHO_N "(cached) $ECHO_C" >&6
1920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1924
test -z "$as_dir" && as_dir=.
1925
for ac_prog in mkdir gmkdir; do
1926
for ac_exec_ext in '' $ac_executable_extensions; do
1927
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1928
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1929
'mkdir (GNU coreutils) '* | \
1930
'mkdir (coreutils) '* | \
1931
'mkdir (fileutils) '4.1*)
1932
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1942
if test "${ac_cv_path_mkdir+set}" = set; then
1943
MKDIR_P="$ac_cv_path_mkdir -p"
1945
# As a last resort, use the slow shell script. Don't cache a
1946
# value for MKDIR_P within a source directory, because that will
1947
# break other packages using the cache if that directory is
1948
# removed, or if the value is a relative name.
1949
test -d ./--version && rmdir ./--version
1950
MKDIR_P="$ac_install_sh -d"
1953
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1954
echo "${ECHO_T}$MKDIR_P" >&6; }
1958
[\\/$]* | ?:[\\/]*) ;;
1959
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1962
for ac_prog in gawk mawk nawk awk
1964
# Extract the first word of "$ac_prog", so it can be a program name with args.
1965
set dummy $ac_prog; ac_word=$2
1966
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1967
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1968
if test "${ac_cv_prog_AWK+set}" = set; then
1969
echo $ECHO_N "(cached) $ECHO_C" >&6
1971
if test -n "$AWK"; then
1972
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978
test -z "$as_dir" && as_dir=.
1979
for ac_exec_ext in '' $ac_executable_extensions; do
1980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1981
ac_cv_prog_AWK="$ac_prog"
1982
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992
if test -n "$AWK"; then
1993
{ echo "$as_me:$LINENO: result: $AWK" >&5
1994
echo "${ECHO_T}$AWK" >&6; }
1996
{ echo "$as_me:$LINENO: result: no" >&5
1997
echo "${ECHO_T}no" >&6; }
2001
test -n "$AWK" && break
2004
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2005
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2006
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2007
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2008
echo $ECHO_N "(cached) $ECHO_C" >&6
2010
cat >conftest.make <<\_ACEOF
2013
@echo '@@@%%%=$(MAKE)=@@@%%%'
2015
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2016
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2018
eval ac_cv_prog_make_${ac_make}_set=yes;;
2020
eval ac_cv_prog_make_${ac_make}_set=no;;
2024
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2025
{ echo "$as_me:$LINENO: result: yes" >&5
2026
echo "${ECHO_T}yes" >&6; }
2029
{ echo "$as_me:$LINENO: result: no" >&5
2030
echo "${ECHO_T}no" >&6; }
2031
SET_MAKE="MAKE=${MAKE-make}"
2034
rm -rf .tst 2>/dev/null
2035
mkdir .tst 2>/dev/null
2036
if test -d .tst; then
2041
rmdir .tst 2>/dev/null
2043
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2044
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2045
# is not polluted with repeated "-I."
2046
am__isrc=' -I$(srcdir)'
2047
# test to see if srcdir already configured
2048
if test -f $srcdir/config.status; then
2049
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2050
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2051
{ (exit 1); exit 1; }; }
2055
# test whether we have cygpath
2056
if test -z "$CYGPATH_W"; then
2057
if (cygpath --version) >/dev/null 2>/dev/null; then
2058
CYGPATH_W='cygpath -w'
2065
# Define the identity of the package.
2070
cat >>confdefs.h <<_ACEOF
2071
#define PACKAGE "$PACKAGE"
2075
cat >>confdefs.h <<_ACEOF
2076
#define VERSION "$VERSION"
2079
# Some tools Automake needs.
2081
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2084
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2087
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2090
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2093
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2095
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2097
# Installed binaries are usually stripped using `strip' when the user
2098
# run `make install-strip'. However `strip' might not be the right
2099
# tool to use in cross-compilation environments, therefore Automake
2100
# will honor the `STRIP' environment variable to overrule this program.
2101
if test "$cross_compiling" != no; then
2102
if test -n "$ac_tool_prefix"; then
2103
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2104
set dummy ${ac_tool_prefix}strip; ac_word=$2
2105
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2106
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2107
if test "${ac_cv_prog_STRIP+set}" = set; then
2108
echo $ECHO_N "(cached) $ECHO_C" >&6
2110
if test -n "$STRIP"; then
2111
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2113
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117
test -z "$as_dir" && as_dir=.
2118
for ac_exec_ext in '' $ac_executable_extensions; do
2119
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2120
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2121
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130
STRIP=$ac_cv_prog_STRIP
2131
if test -n "$STRIP"; then
2132
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2133
echo "${ECHO_T}$STRIP" >&6; }
2135
{ echo "$as_me:$LINENO: result: no" >&5
2136
echo "${ECHO_T}no" >&6; }
2141
if test -z "$ac_cv_prog_STRIP"; then
2143
# Extract the first word of "strip", so it can be a program name with args.
2144
set dummy strip; ac_word=$2
2145
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2146
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2148
echo $ECHO_N "(cached) $ECHO_C" >&6
2150
if test -n "$ac_ct_STRIP"; then
2151
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2153
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157
test -z "$as_dir" && as_dir=.
2158
for ac_exec_ext in '' $ac_executable_extensions; do
2159
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160
ac_cv_prog_ac_ct_STRIP="strip"
2161
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2171
if test -n "$ac_ct_STRIP"; then
2172
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2173
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2175
{ echo "$as_me:$LINENO: result: no" >&5
2176
echo "${ECHO_T}no" >&6; }
2179
if test "x$ac_ct_STRIP" = x; then
2182
case $cross_compiling:$ac_tool_warned in
2184
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2185
whose name does not start with the host triplet. If you think this
2186
configuration is useful to you, please write to autoconf@gnu.org." >&5
2187
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2188
whose name does not start with the host triplet. If you think this
2189
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2190
ac_tool_warned=yes ;;
2195
STRIP="$ac_cv_prog_STRIP"
2199
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2201
# We need awk for the "check" target. The system "awk" is bad on
2203
# Always define AMTAR for backward compatibility.
2205
AMTAR=${AMTAR-"${am_missing_run}tar"}
2207
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2213
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2214
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2215
# Check whether --enable-maintainer-mode was given.
2216
if test "${enable_maintainer_mode+set}" = set; then
2217
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2219
USE_MAINTAINER_MODE=no
2222
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2223
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2224
if test $USE_MAINTAINER_MODE = yes; then
2225
MAINTAINER_MODE_TRUE=
2226
MAINTAINER_MODE_FALSE='#'
2228
MAINTAINER_MODE_TRUE='#'
2229
MAINTAINER_MODE_FALSE=
2232
MAINT=$MAINTAINER_MODE_TRUE
2236
ac_config_headers="$ac_config_headers config.h"
2240
ac_cpp='$CPP $CPPFLAGS'
2241
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2244
if test -n "$ac_tool_prefix"; then
2245
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2246
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2247
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2248
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2249
if test "${ac_cv_prog_CC+set}" = set; then
2250
echo $ECHO_N "(cached) $ECHO_C" >&6
2252
if test -n "$CC"; then
2253
ac_cv_prog_CC="$CC" # Let the user override the test.
2255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259
test -z "$as_dir" && as_dir=.
2260
for ac_exec_ext in '' $ac_executable_extensions; do
2261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2262
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2263
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273
if test -n "$CC"; then
2274
{ echo "$as_me:$LINENO: result: $CC" >&5
2275
echo "${ECHO_T}$CC" >&6; }
2277
{ echo "$as_me:$LINENO: result: no" >&5
2278
echo "${ECHO_T}no" >&6; }
2283
if test -z "$ac_cv_prog_CC"; then
2285
# Extract the first word of "gcc", so it can be a program name with args.
2286
set dummy gcc; ac_word=$2
2287
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2288
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290
echo $ECHO_N "(cached) $ECHO_C" >&6
2292
if test -n "$ac_ct_CC"; then
2293
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299
test -z "$as_dir" && as_dir=.
2300
for ac_exec_ext in '' $ac_executable_extensions; do
2301
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302
ac_cv_prog_ac_ct_CC="gcc"
2303
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313
if test -n "$ac_ct_CC"; then
2314
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315
echo "${ECHO_T}$ac_ct_CC" >&6; }
2317
{ echo "$as_me:$LINENO: result: no" >&5
2318
echo "${ECHO_T}no" >&6; }
2321
if test "x$ac_ct_CC" = x; then
2324
case $cross_compiling:$ac_tool_warned in
2326
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2327
whose name does not start with the host triplet. If you think this
2328
configuration is useful to you, please write to autoconf@gnu.org." >&5
2329
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2330
whose name does not start with the host triplet. If you think this
2331
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2332
ac_tool_warned=yes ;;
2340
if test -z "$CC"; then
2341
if test -n "$ac_tool_prefix"; then
2342
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2343
set dummy ${ac_tool_prefix}cc; ac_word=$2
2344
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2345
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346
if test "${ac_cv_prog_CC+set}" = set; then
2347
echo $ECHO_N "(cached) $ECHO_C" >&6
2349
if test -n "$CC"; then
2350
ac_cv_prog_CC="$CC" # Let the user override the test.
2352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356
test -z "$as_dir" && as_dir=.
2357
for ac_exec_ext in '' $ac_executable_extensions; do
2358
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
ac_cv_prog_CC="${ac_tool_prefix}cc"
2360
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370
if test -n "$CC"; then
2371
{ echo "$as_me:$LINENO: result: $CC" >&5
2372
echo "${ECHO_T}$CC" >&6; }
2374
{ echo "$as_me:$LINENO: result: no" >&5
2375
echo "${ECHO_T}no" >&6; }
2381
if test -z "$CC"; then
2382
# Extract the first word of "cc", so it can be a program name with args.
2383
set dummy cc; ac_word=$2
2384
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2385
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386
if test "${ac_cv_prog_CC+set}" = set; then
2387
echo $ECHO_N "(cached) $ECHO_C" >&6
2389
if test -n "$CC"; then
2390
ac_cv_prog_CC="$CC" # Let the user override the test.
2393
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397
test -z "$as_dir" && as_dir=.
2398
for ac_exec_ext in '' $ac_executable_extensions; do
2399
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2401
ac_prog_rejected=yes
2405
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412
if test $ac_prog_rejected = yes; then
2413
# We found a bogon in the path, so make sure we never use it.
2414
set dummy $ac_cv_prog_CC
2416
if test $# != 0; then
2417
# We chose a different compiler from the bogus one.
2418
# However, it has the same basename, so the bogon will be chosen
2419
# first if we set CC to just the basename; use the full file name.
2421
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2427
if test -n "$CC"; then
2428
{ echo "$as_me:$LINENO: result: $CC" >&5
2429
echo "${ECHO_T}$CC" >&6; }
2431
{ echo "$as_me:$LINENO: result: no" >&5
2432
echo "${ECHO_T}no" >&6; }
2437
if test -z "$CC"; then
2438
if test -n "$ac_tool_prefix"; then
2439
for ac_prog in cl.exe
2441
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2442
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2443
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2444
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445
if test "${ac_cv_prog_CC+set}" = set; then
2446
echo $ECHO_N "(cached) $ECHO_C" >&6
2448
if test -n "$CC"; then
2449
ac_cv_prog_CC="$CC" # Let the user override the test.
2451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455
test -z "$as_dir" && as_dir=.
2456
for ac_exec_ext in '' $ac_executable_extensions; do
2457
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2459
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469
if test -n "$CC"; then
2470
{ echo "$as_me:$LINENO: result: $CC" >&5
2471
echo "${ECHO_T}$CC" >&6; }
2473
{ echo "$as_me:$LINENO: result: no" >&5
2474
echo "${ECHO_T}no" >&6; }
2478
test -n "$CC" && break
2481
if test -z "$CC"; then
2483
for ac_prog in cl.exe
2485
# Extract the first word of "$ac_prog", so it can be a program name with args.
2486
set dummy $ac_prog; ac_word=$2
2487
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2488
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2489
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2490
echo $ECHO_N "(cached) $ECHO_C" >&6
2492
if test -n "$ac_ct_CC"; then
2493
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2495
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499
test -z "$as_dir" && as_dir=.
2500
for ac_exec_ext in '' $ac_executable_extensions; do
2501
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2502
ac_cv_prog_ac_ct_CC="$ac_prog"
2503
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2513
if test -n "$ac_ct_CC"; then
2514
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2515
echo "${ECHO_T}$ac_ct_CC" >&6; }
2517
{ echo "$as_me:$LINENO: result: no" >&5
2518
echo "${ECHO_T}no" >&6; }
2522
test -n "$ac_ct_CC" && break
2525
if test "x$ac_ct_CC" = x; then
2528
case $cross_compiling:$ac_tool_warned in
2530
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2531
whose name does not start with the host triplet. If you think this
2532
configuration is useful to you, please write to autoconf@gnu.org." >&5
2533
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2534
whose name does not start with the host triplet. If you think this
2535
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2536
ac_tool_warned=yes ;;
2545
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2546
See \`config.log' for more details." >&5
2547
echo "$as_me: error: no acceptable C compiler found in \$PATH
2548
See \`config.log' for more details." >&2;}
2549
{ (exit 1); exit 1; }; }
2551
# Provide some information about the compiler.
2552
echo "$as_me:$LINENO: checking for C compiler version" >&5
2553
ac_compiler=`set X $ac_compile; echo $2`
2554
{ (ac_try="$ac_compiler --version >&5"
2556
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557
*) ac_try_echo=$ac_try;;
2559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560
(eval "$ac_compiler --version >&5") 2>&5
2562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563
(exit $ac_status); }
2564
{ (ac_try="$ac_compiler -v >&5"
2566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567
*) ac_try_echo=$ac_try;;
2569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570
(eval "$ac_compiler -v >&5") 2>&5
2572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
(exit $ac_status); }
2574
{ (ac_try="$ac_compiler -V >&5"
2576
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577
*) ac_try_echo=$ac_try;;
2579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580
(eval "$ac_compiler -V >&5") 2>&5
2582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
(exit $ac_status); }
2585
cat >conftest.$ac_ext <<_ACEOF
2588
cat confdefs.h >>conftest.$ac_ext
2589
cat >>conftest.$ac_ext <<_ACEOF
2590
/* end confdefs.h. */
2600
ac_clean_files_save=$ac_clean_files
2601
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2602
# Try to create an executable without -o first, disregard a.out.
2603
# It will help us diagnose broken compilers, and finding out an intuition
2605
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2606
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2607
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2609
# List of possible output files, starting from the most likely.
2610
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2611
# only as a last resort. b.out is created by i960 compilers.
2612
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2614
# The IRIX 6 linker writes into existing files which may not be
2615
# executable, retaining their permissions. Remove them first so a
2616
# subsequent execution test works.
2618
for ac_file in $ac_files
2621
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2622
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2627
if { (ac_try="$ac_link_default"
2629
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630
*) ac_try_echo=$ac_try;;
2632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2633
(eval "$ac_link_default") 2>&5
2635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636
(exit $ac_status); }; then
2637
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2638
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2639
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2640
# so that the user can short-circuit this test for compilers unknown to
2642
for ac_file in $ac_files ''
2644
test -f "$ac_file" || continue
2646
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2649
# We found the default executable, but exeext='' is most
2653
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2655
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2657
# We set ac_cv_exeext here because the later test for it is not
2658
# safe: cross compilers may not add the suffix if given an `-o'
2659
# argument, so we may need to know it at that point already.
2660
# Even if this section looks crufty: it has the advantage of
2667
test "$ac_cv_exeext" = no && ac_cv_exeext=
2673
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2674
echo "${ECHO_T}$ac_file" >&6; }
2675
if test -z "$ac_file"; then
2676
echo "$as_me: failed program was:" >&5
2677
sed 's/^/| /' conftest.$ac_ext >&5
2679
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2680
See \`config.log' for more details." >&5
2681
echo "$as_me: error: C compiler cannot create executables
2682
See \`config.log' for more details." >&2;}
2683
{ (exit 77); exit 77; }; }
2686
ac_exeext=$ac_cv_exeext
2688
# Check that the compiler produces executables we can run. If not, either
2689
# the compiler is broken, or we cross compile.
2690
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2691
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2692
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2693
# If not cross compiling, check that we can run a simple program.
2694
if test "$cross_compiling" != yes; then
2695
if { ac_try='./$ac_file'
2696
{ (case "(($ac_try" in
2697
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698
*) ac_try_echo=$ac_try;;
2700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2701
(eval "$ac_try") 2>&5
2703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704
(exit $ac_status); }; }; then
2707
if test "$cross_compiling" = maybe; then
2710
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2711
If you meant to cross compile, use \`--host'.
2712
See \`config.log' for more details." >&5
2713
echo "$as_me: error: cannot run C compiled programs.
2714
If you meant to cross compile, use \`--host'.
2715
See \`config.log' for more details." >&2;}
2716
{ (exit 1); exit 1; }; }
2720
{ echo "$as_me:$LINENO: result: yes" >&5
2721
echo "${ECHO_T}yes" >&6; }
2723
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2724
ac_clean_files=$ac_clean_files_save
2725
# Check that the compiler produces executables we can run. If not, either
2726
# the compiler is broken, or we cross compile.
2727
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2728
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2729
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2730
echo "${ECHO_T}$cross_compiling" >&6; }
2732
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2733
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2734
if { (ac_try="$ac_link"
2736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737
*) ac_try_echo=$ac_try;;
2739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740
(eval "$ac_link") 2>&5
2742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743
(exit $ac_status); }; then
2744
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2745
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2746
# work properly (i.e., refer to `conftest.exe'), while it won't with
2748
for ac_file in conftest.exe conftest conftest.*; do
2749
test -f "$ac_file" || continue
2751
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2752
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2758
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2759
See \`config.log' for more details." >&5
2760
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2761
See \`config.log' for more details." >&2;}
2762
{ (exit 1); exit 1; }; }
2765
rm -f conftest$ac_cv_exeext
2766
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2767
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2769
rm -f conftest.$ac_ext
2770
EXEEXT=$ac_cv_exeext
2772
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2773
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2774
if test "${ac_cv_objext+set}" = set; then
2775
echo $ECHO_N "(cached) $ECHO_C" >&6
2777
cat >conftest.$ac_ext <<_ACEOF
2780
cat confdefs.h >>conftest.$ac_ext
2781
cat >>conftest.$ac_ext <<_ACEOF
2782
/* end confdefs.h. */
2792
rm -f conftest.o conftest.obj
2793
if { (ac_try="$ac_compile"
2795
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796
*) ac_try_echo=$ac_try;;
2798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2799
(eval "$ac_compile") 2>&5
2801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
(exit $ac_status); }; then
2803
for ac_file in conftest.o conftest.obj conftest.*; do
2804
test -f "$ac_file" || continue;
2806
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2807
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2812
echo "$as_me: failed program was:" >&5
2813
sed 's/^/| /' conftest.$ac_ext >&5
2815
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2816
See \`config.log' for more details." >&5
2817
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2818
See \`config.log' for more details." >&2;}
2819
{ (exit 1); exit 1; }; }
2822
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2824
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2825
echo "${ECHO_T}$ac_cv_objext" >&6; }
2826
OBJEXT=$ac_cv_objext
2828
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2829
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2830
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2831
echo $ECHO_N "(cached) $ECHO_C" >&6
2833
cat >conftest.$ac_ext <<_ACEOF
2836
cat confdefs.h >>conftest.$ac_ext
2837
cat >>conftest.$ac_ext <<_ACEOF
2838
/* end confdefs.h. */
2851
rm -f conftest.$ac_objext
2852
if { (ac_try="$ac_compile"
2854
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855
*) ac_try_echo=$ac_try;;
2857
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2858
(eval "$ac_compile") 2>conftest.er1
2860
grep -v '^ *+' conftest.er1 >conftest.err
2862
cat conftest.err >&5
2863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864
(exit $ac_status); } && {
2865
test -z "$ac_c_werror_flag" ||
2866
test ! -s conftest.err
2867
} && test -s conftest.$ac_objext; then
2870
echo "$as_me: failed program was:" >&5
2871
sed 's/^/| /' conftest.$ac_ext >&5
2876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2880
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2881
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2882
GCC=`test $ac_compiler_gnu = yes && echo yes`
2883
ac_test_CFLAGS=${CFLAGS+set}
2884
ac_save_CFLAGS=$CFLAGS
2885
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2886
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2887
if test "${ac_cv_prog_cc_g+set}" = set; then
2888
echo $ECHO_N "(cached) $ECHO_C" >&6
2890
ac_save_c_werror_flag=$ac_c_werror_flag
2891
ac_c_werror_flag=yes
2894
cat >conftest.$ac_ext <<_ACEOF
2897
cat confdefs.h >>conftest.$ac_ext
2898
cat >>conftest.$ac_ext <<_ACEOF
2899
/* end confdefs.h. */
2909
rm -f conftest.$ac_objext
2910
if { (ac_try="$ac_compile"
2912
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913
*) ac_try_echo=$ac_try;;
2915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916
(eval "$ac_compile") 2>conftest.er1
2918
grep -v '^ *+' conftest.er1 >conftest.err
2920
cat conftest.err >&5
2921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922
(exit $ac_status); } && {
2923
test -z "$ac_c_werror_flag" ||
2924
test ! -s conftest.err
2925
} && test -s conftest.$ac_objext; then
2928
echo "$as_me: failed program was:" >&5
2929
sed 's/^/| /' conftest.$ac_ext >&5
2932
cat >conftest.$ac_ext <<_ACEOF
2935
cat confdefs.h >>conftest.$ac_ext
2936
cat >>conftest.$ac_ext <<_ACEOF
2937
/* end confdefs.h. */
2947
rm -f conftest.$ac_objext
2948
if { (ac_try="$ac_compile"
2950
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951
*) ac_try_echo=$ac_try;;
2953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954
(eval "$ac_compile") 2>conftest.er1
2956
grep -v '^ *+' conftest.er1 >conftest.err
2958
cat conftest.err >&5
2959
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960
(exit $ac_status); } && {
2961
test -z "$ac_c_werror_flag" ||
2962
test ! -s conftest.err
2963
} && test -s conftest.$ac_objext; then
2966
echo "$as_me: failed program was:" >&5
2967
sed 's/^/| /' conftest.$ac_ext >&5
2969
ac_c_werror_flag=$ac_save_c_werror_flag
2971
cat >conftest.$ac_ext <<_ACEOF
2974
cat confdefs.h >>conftest.$ac_ext
2975
cat >>conftest.$ac_ext <<_ACEOF
2976
/* end confdefs.h. */
2986
rm -f conftest.$ac_objext
2987
if { (ac_try="$ac_compile"
2989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990
*) ac_try_echo=$ac_try;;
2992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2993
(eval "$ac_compile") 2>conftest.er1
2995
grep -v '^ *+' conftest.er1 >conftest.err
2997
cat conftest.err >&5
2998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
(exit $ac_status); } && {
3000
test -z "$ac_c_werror_flag" ||
3001
test ! -s conftest.err
3002
} && test -s conftest.$ac_objext; then
3005
echo "$as_me: failed program was:" >&5
3006
sed 's/^/| /' conftest.$ac_ext >&5
3011
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018
ac_c_werror_flag=$ac_save_c_werror_flag
3020
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3021
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3022
if test "$ac_test_CFLAGS" = set; then
3023
CFLAGS=$ac_save_CFLAGS
3024
elif test $ac_cv_prog_cc_g = yes; then
3025
if test "$GCC" = yes; then
3031
if test "$GCC" = yes; then
3037
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3038
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3039
if test "${ac_cv_prog_cc_c89+set}" = set; then
3040
echo $ECHO_N "(cached) $ECHO_C" >&6
3042
ac_cv_prog_cc_c89=no
3044
cat >conftest.$ac_ext <<_ACEOF
3047
cat confdefs.h >>conftest.$ac_ext
3048
cat >>conftest.$ac_ext <<_ACEOF
3049
/* end confdefs.h. */
3052
#include <sys/types.h>
3053
#include <sys/stat.h>
3054
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3055
struct buf { int x; };
3056
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3057
static char *e (p, i)
3063
static char *f (char * (*g) (char **, int), char **p, ...)
3068
s = g (p, va_arg (v,int));
3073
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3074
function prototypes and stuff, but not '\xHH' hex character constants.
3075
These don't provoke an error unfortunately, instead are silently treated
3076
as 'x'. The following induces an error, until -std is added to get
3077
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3078
array size at least. It's necessary to write '\x00'==0 to get something
3079
that's true only with -std. */
3080
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3082
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3083
inside strings and character constants. */
3085
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3087
int test (int i, double x);
3088
struct s1 {int (*f) (int a);};
3089
struct s2 {int (*f) (double a);};
3090
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3096
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3101
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3102
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3104
CC="$ac_save_CC $ac_arg"
3105
rm -f conftest.$ac_objext
3106
if { (ac_try="$ac_compile"
3108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109
*) ac_try_echo=$ac_try;;
3111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112
(eval "$ac_compile") 2>conftest.er1
3114
grep -v '^ *+' conftest.er1 >conftest.err
3116
cat conftest.err >&5
3117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
(exit $ac_status); } && {
3119
test -z "$ac_c_werror_flag" ||
3120
test ! -s conftest.err
3121
} && test -s conftest.$ac_objext; then
3122
ac_cv_prog_cc_c89=$ac_arg
3124
echo "$as_me: failed program was:" >&5
3125
sed 's/^/| /' conftest.$ac_ext >&5
3130
rm -f core conftest.err conftest.$ac_objext
3131
test "x$ac_cv_prog_cc_c89" != "xno" && break
3133
rm -f conftest.$ac_ext
3138
case "x$ac_cv_prog_cc_c89" in
3140
{ echo "$as_me:$LINENO: result: none needed" >&5
3141
echo "${ECHO_T}none needed" >&6; } ;;
3143
{ echo "$as_me:$LINENO: result: unsupported" >&5
3144
echo "${ECHO_T}unsupported" >&6; } ;;
3146
CC="$CC $ac_cv_prog_cc_c89"
3147
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3148
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3153
ac_cpp='$CPP $CPPFLAGS'
3154
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3157
DEPDIR="${am__leading_dot}deps"
3159
ac_config_commands="$ac_config_commands depfiles"
3162
am_make=${MAKE-make}
3163
cat > confinc << 'END'
3168
# If we don't find an include directive, just comment out the code.
3169
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3170
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3174
# First try GNU make style include.
3175
echo "include confinc" > confmf
3176
# We grep out `Entering directory' and `Leaving directory'
3177
# messages which can occur if `w' ends up in MAKEFLAGS.
3178
# In particular we don't look at `^make:' because GNU make might
3179
# be invoked under some other name (usually "gmake"), in which
3180
# case it prints its new name instead of `make'.
3181
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3186
# Now try BSD make style include.
3187
if test "$am__include" = "#"; then
3188
echo '.include "confinc"' > confmf
3189
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3190
am__include=.include
3197
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3198
echo "${ECHO_T}$_am_result" >&6; }
3199
rm -f confinc confmf
3201
# Check whether --enable-dependency-tracking was given.
3202
if test "${enable_dependency_tracking+set}" = set; then
3203
enableval=$enable_dependency_tracking;
3206
if test "x$enable_dependency_tracking" != xno; then
3207
am_depcomp="$ac_aux_dir/depcomp"
3210
if test "x$enable_dependency_tracking" != xno; then
3220
depcc="$CC" am_compiler_list=
3222
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3223
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3224
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3225
echo $ECHO_N "(cached) $ECHO_C" >&6
3227
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3228
# We make a subdir and do the tests there. Otherwise we can end up
3229
# making bogus files that we don't know about and never remove. For
3230
# instance it was reported that on HP-UX the gcc test will end up
3231
# making a dummy file named `D' -- because `-MD' means `put the output
3234
# Copy depcomp to subdir because otherwise we won't find it if we're
3235
# using a relative directory.
3236
cp "$am_depcomp" conftest.dir
3238
# We will build objects and dependencies in a subdirectory because
3239
# it helps to detect inapplicable dependency modes. For instance
3240
# both Tru64's cc and ICC support -MD to output dependencies as a
3241
# side effect of compilation, but ICC will put the dependencies in
3242
# the current directory while Tru64 will put them in the object
3246
am_cv_CC_dependencies_compiler_type=none
3247
if test "$am_compiler_list" = ""; then
3248
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3250
for depmode in $am_compiler_list; do
3251
# Setup a source with many dependencies, because some compilers
3252
# like to wrap large dependency lists on column 80 (with \), and
3253
# we should not choose a depcomp mode which is confused by this.
3255
# We need to recreate these files for each test, as the compiler may
3256
# overwrite some of them when testing with obscure command lines.
3257
# This happens at least with the AIX C compiler.
3259
for i in 1 2 3 4 5 6; do
3260
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3261
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3262
# Solaris 8's {/usr,}/bin/sh.
3263
touch sub/conftst$i.h
3265
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3269
# after this tag, mechanisms are not by side-effect, so they'll
3270
# only be used when explicitly requested
3271
if test "x$enable_dependency_tracking" = xyes; then
3279
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3280
# mode. It turns out that the SunPro C++ compiler does not properly
3281
# handle `-M -o', and we need to detect this.
3282
if depmode=$depmode \
3283
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3284
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3285
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3286
>/dev/null 2>conftest.err &&
3287
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3288
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3289
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3290
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3291
# icc doesn't choke on unknown options, it will just issue warnings
3292
# or remarks (even with -Werror). So we grep stderr for any message
3293
# that says an option was ignored or not supported.
3294
# When given -MP, icc 7.0 and 7.1 complain thusly:
3295
# icc: Command line warning: ignoring option '-M'; no argument required
3296
# The diagnosis changed in icc 8.0:
3297
# icc: Command line remark: option '-MP' not supported
3298
if (grep 'ignoring option' conftest.err ||
3299
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3300
am_cv_CC_dependencies_compiler_type=$depmode
3309
am_cv_CC_dependencies_compiler_type=none
3313
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3314
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3315
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3318
test "x$enable_dependency_tracking" != xno \
3319
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3321
am__fastdepCC_FALSE='#'
3323
am__fastdepCC_TRUE='#'
3324
am__fastdepCC_FALSE=
3328
# Find a good install program. We prefer a C program (faster),
3329
# so one script is as good as another. But avoid the broken or
3330
# incompatible versions:
3331
# SysV /etc/install, /usr/sbin/install
3332
# SunOS /usr/etc/install
3333
# IRIX /sbin/install
3335
# AmigaOS /C/install, which installs bootblocks on floppy discs
3336
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3337
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3338
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3339
# OS/2's system install, which has a completely different semantic
3340
# ./install, which can be erroneously created by make from ./install.sh.
3341
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3342
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3343
if test -z "$INSTALL"; then
3344
if test "${ac_cv_path_install+set}" = set; then
3345
echo $ECHO_N "(cached) $ECHO_C" >&6
3347
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351
test -z "$as_dir" && as_dir=.
3352
# Account for people who put trailing slashes in PATH elements.
3354
./ | .// | /cC/* | \
3355
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3356
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3359
# OSF1 and SCO ODT 3.0 have their own names for install.
3360
# Don't use installbsd from OSF since it installs stuff as root
3362
for ac_prog in ginstall scoinst install; do
3363
for ac_exec_ext in '' $ac_executable_extensions; do
3364
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3365
if test $ac_prog = install &&
3366
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3367
# AIX install. It has an incompatible calling convention.
3369
elif test $ac_prog = install &&
3370
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3371
# program-specific install script used by HP pwplus--don't use.
3374
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3387
if test "${ac_cv_path_install+set}" = set; then
3388
INSTALL=$ac_cv_path_install
3390
# As a last resort, use the slow shell script. Don't cache a
3391
# value for INSTALL within a source directory, because that will
3392
# break other packages using the cache if that directory is
3393
# removed, or if the value is a relative name.
3394
INSTALL=$ac_install_sh
3397
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3398
echo "${ECHO_T}$INSTALL" >&6; }
3400
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3401
# It thinks the first close brace ends the variable substitution.
3402
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3404
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3406
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3409
# Checks for pkg-config packages
3412
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3413
if test -n "$ac_tool_prefix"; then
3414
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3415
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3416
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3418
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3419
echo $ECHO_N "(cached) $ECHO_C" >&6
3423
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430
test -z "$as_dir" && as_dir=.
3431
for ac_exec_ext in '' $ac_executable_extensions; do
3432
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3434
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3444
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3445
if test -n "$PKG_CONFIG"; then
3446
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3447
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3449
{ echo "$as_me:$LINENO: result: no" >&5
3450
echo "${ECHO_T}no" >&6; }
3455
if test -z "$ac_cv_path_PKG_CONFIG"; then
3456
ac_pt_PKG_CONFIG=$PKG_CONFIG
3457
# Extract the first word of "pkg-config", so it can be a program name with args.
3458
set dummy pkg-config; ac_word=$2
3459
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3460
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3461
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3462
echo $ECHO_N "(cached) $ECHO_C" >&6
3464
case $ac_pt_PKG_CONFIG in
3466
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473
test -z "$as_dir" && as_dir=.
3474
for ac_exec_ext in '' $ac_executable_extensions; do
3475
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3476
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3477
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3488
if test -n "$ac_pt_PKG_CONFIG"; then
3489
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3490
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3492
{ echo "$as_me:$LINENO: result: no" >&5
3493
echo "${ECHO_T}no" >&6; }
3496
if test "x$ac_pt_PKG_CONFIG" = x; then
3499
case $cross_compiling:$ac_tool_warned in
3501
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3502
whose name does not start with the host triplet. If you think this
3503
configuration is useful to you, please write to autoconf@gnu.org." >&5
3504
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3505
whose name does not start with the host triplet. If you think this
3506
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3507
ac_tool_warned=yes ;;
3509
PKG_CONFIG=$ac_pt_PKG_CONFIG
3512
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3516
if test -n "$PKG_CONFIG"; then
3517
_pkg_min_version=0.9.0
3518
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3519
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3520
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3521
{ echo "$as_me:$LINENO: result: yes" >&5
3522
echo "${ECHO_T}yes" >&6; }
3524
{ echo "$as_me:$LINENO: result: no" >&5
3525
echo "${ECHO_T}no" >&6; }
3532
{ echo "$as_me:$LINENO: checking for XGAMMA" >&5
3533
echo $ECHO_N "checking for XGAMMA... $ECHO_C" >&6; }
3535
if test -n "$PKG_CONFIG"; then
3536
if test -n "$PKG_CONFIG" && \
3537
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xxf86vm\"") >&5
3538
($PKG_CONFIG --exists --print-errors "x11 xxf86vm") 2>&5
3540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541
(exit $ac_status); }; then
3542
pkg_cv_XGAMMA_CFLAGS=`$PKG_CONFIG --cflags "x11 xxf86vm" 2>/dev/null`
3549
if test -n "$PKG_CONFIG"; then
3550
if test -n "$PKG_CONFIG" && \
3551
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xxf86vm\"") >&5
3552
($PKG_CONFIG --exists --print-errors "x11 xxf86vm") 2>&5
3554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555
(exit $ac_status); }; then
3556
pkg_cv_XGAMMA_LIBS=`$PKG_CONFIG --libs "x11 xxf86vm" 2>/dev/null`
3564
if test $pkg_failed = yes; then
3565
XGAMMA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xxf86vm"`
3566
# Put the nasty error message in config.log where it belongs
3567
echo "$XGAMMA_PKG_ERRORS" 1>&5
3569
{ { echo "$as_me:$LINENO: error: Package requirements (x11 xxf86vm) were not met.
3570
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3571
installed software in a non-standard prefix.
3573
Alternatively you may set the XGAMMA_CFLAGS and XGAMMA_LIBS environment variables
3574
to avoid the need to call pkg-config. See the pkg-config man page for
3576
echo "$as_me: error: Package requirements (x11 xxf86vm) were not met.
3577
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3578
installed software in a non-standard prefix.
3580
Alternatively you may set the XGAMMA_CFLAGS and XGAMMA_LIBS environment variables
3581
to avoid the need to call pkg-config. See the pkg-config man page for
3582
more details." >&2;}
3583
{ (exit 1); exit 1; }; }
3584
elif test $pkg_failed = untried; then
3585
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3586
is in your PATH or set the PKG_CONFIG environment variable to the full
3589
Alternatively you may set the XGAMMA_CFLAGS and XGAMMA_LIBS environment variables
3590
to avoid the need to call pkg-config. See the pkg-config man page for
3593
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3594
See \`config.log' for more details." >&5
3595
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3596
is in your PATH or set the PKG_CONFIG environment variable to the full
3599
Alternatively you may set the XGAMMA_CFLAGS and XGAMMA_LIBS environment variables
3600
to avoid the need to call pkg-config. See the pkg-config man page for
3603
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3604
See \`config.log' for more details." >&2;}
3605
{ (exit 1); exit 1; }; }
3607
XGAMMA_CFLAGS=$pkg_cv_XGAMMA_CFLAGS
3608
XGAMMA_LIBS=$pkg_cv_XGAMMA_LIBS
3609
{ echo "$as_me:$LINENO: result: yes" >&5
3610
echo "${ECHO_T}yes" >&6; }
3616
# Make sure we can run config.sub.
3617
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3618
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3619
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3620
{ (exit 1); exit 1; }; }
3622
{ echo "$as_me:$LINENO: checking build system type" >&5
3623
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3624
if test "${ac_cv_build+set}" = set; then
3625
echo $ECHO_N "(cached) $ECHO_C" >&6
3627
ac_build_alias=$build_alias
3628
test "x$ac_build_alias" = x &&
3629
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3630
test "x$ac_build_alias" = x &&
3631
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3632
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3633
{ (exit 1); exit 1; }; }
3634
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3635
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3636
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3637
{ (exit 1); exit 1; }; }
3640
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3641
echo "${ECHO_T}$ac_cv_build" >&6; }
3642
case $ac_cv_build in
3644
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3645
echo "$as_me: error: invalid value of canonical build" >&2;}
3646
{ (exit 1); exit 1; }; };;
3649
ac_save_IFS=$IFS; IFS='-'
3655
# Remember, the first character of IFS is used to create $*,
3656
# except with old shells:
3659
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3662
{ echo "$as_me:$LINENO: checking host system type" >&5
3663
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3664
if test "${ac_cv_host+set}" = set; then
3665
echo $ECHO_N "(cached) $ECHO_C" >&6
3667
if test "x$host_alias" = x; then
3668
ac_cv_host=$ac_cv_build
3670
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3671
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3672
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3673
{ (exit 1); exit 1; }; }
3677
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3678
echo "${ECHO_T}$ac_cv_host" >&6; }
3681
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3682
echo "$as_me: error: invalid value of canonical host" >&2;}
3683
{ (exit 1); exit 1; }; };;
3686
ac_save_IFS=$IFS; IFS='-'
3692
# Remember, the first character of IFS is used to create $*,
3693
# except with old shells:
3696
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3702
if test x$APP_MAN_SUFFIX = x ; then
3705
if test x$APP_MAN_DIR = x ; then
3706
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3709
if test x$LIB_MAN_SUFFIX = x ; then
3712
if test x$LIB_MAN_DIR = x ; then
3713
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3716
if test x$FILE_MAN_SUFFIX = x ; then
3718
solaris*) FILE_MAN_SUFFIX=4 ;;
3719
*) FILE_MAN_SUFFIX=5 ;;
3722
if test x$FILE_MAN_DIR = x ; then
3723
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3726
if test x$MISC_MAN_SUFFIX = x ; then
3728
solaris*) MISC_MAN_SUFFIX=5 ;;
3729
*) MISC_MAN_SUFFIX=7 ;;
3732
if test x$MISC_MAN_DIR = x ; then
3733
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3736
if test x$DRIVER_MAN_SUFFIX = x ; then
3738
solaris*) DRIVER_MAN_SUFFIX=7 ;;
3739
*) DRIVER_MAN_SUFFIX=4 ;;
3742
if test x$DRIVER_MAN_DIR = x ; then
3743
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3746
if test x$ADMIN_MAN_SUFFIX = x ; then
3748
solaris*) ADMIN_MAN_SUFFIX=1m ;;
3749
*) ADMIN_MAN_SUFFIX=8 ;;
3752
if test x$ADMIN_MAN_DIR = x ; then
3753
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3772
# Check whether --with-release-version was given.
3773
if test "${with_release_version+set}" = set; then
3774
withval=$with_release_version; RELEASE_VERSION="$withval"
3779
if test "x$RELEASE_VERSION" != "x"; then
3780
PACKAGE="$PACKAGE-$RELEASE_VERSION"
3781
PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3782
{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3783
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3786
cat >>confdefs.h <<_ACEOF
3787
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3790
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3791
if test "x$PVM" = "x"; then
3795
cat >>confdefs.h <<_ACEOF
3796
#define PACKAGE_VERSION_MINOR $PVM
3799
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3800
if test "x$PVP" = "x"; then
3804
cat >>confdefs.h <<_ACEOF
3805
#define PACKAGE_VERSION_PATCHLEVEL $PVP
3810
ac_config_files="$ac_config_files Makefile"
3812
cat >confcache <<\_ACEOF
3813
# This file is a shell script that caches the results of configure
3814
# tests run on this system so they can be shared between configure
3815
# scripts and configure runs, see configure's option --config-cache.
3816
# It is not useful on other systems. If it contains results you don't
3817
# want to keep, you may remove or edit it.
3819
# config.status only pays attention to the cache file if you give it
3820
# the --recheck option to rerun configure.
3822
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3823
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3828
# The following way of writing the cache mishandles newlines in values,
3829
# but we know of no workaround that is simple, portable, and efficient.
3830
# So, we kill variables containing newlines.
3831
# Ultrix sh set writes to stderr and can't be redirected directly,
3832
# and sets the high bit in the cache file unless we assign to the vars.
3834
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3835
eval ac_val=\$$ac_var
3839
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3840
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3843
_ | IFS | as_nl) ;; #(
3844
*) $as_unset $ac_var ;;
3850
case $as_nl`(ac_space=' '; set) 2>&1` in #(
3851
*${as_nl}ac_space=\ *)
3852
# `set' does not quote correctly, so add quotes (double-quote
3853
# substitution turns \\\\ into \\, and sed turns \\ into \).
3856
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3859
# `set' quotes correctly as required by POSIX, so do not add quotes.
3860
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3869
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3871
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3873
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3874
if test -w "$cache_file"; then
3875
test "x$cache_file" != "x/dev/null" &&
3876
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
3877
echo "$as_me: updating cache $cache_file" >&6;}
3878
cat confcache >$cache_file
3880
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3881
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3886
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3887
# Let make expand exec_prefix.
3888
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3890
DEFS=-DHAVE_CONFIG_H
3894
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3895
# 1. Remove the extension, and $U if already installed.
3896
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3897
ac_i=`echo "$ac_i" | sed "$ac_script"`
3898
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3899
# will be set to the directory where LIBOBJS objects are built.
3900
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3901
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3905
LTLIBOBJS=$ac_ltlibobjs
3908
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3909
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3910
Usually this means the macro was only invoked conditionally." >&5
3911
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3912
Usually this means the macro was only invoked conditionally." >&2;}
3913
{ (exit 1); exit 1; }; }
3915
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3916
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3917
Usually this means the macro was only invoked conditionally." >&5
3918
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3919
Usually this means the macro was only invoked conditionally." >&2;}
3920
{ (exit 1); exit 1; }; }
3922
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3923
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3924
Usually this means the macro was only invoked conditionally." >&5
3925
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3926
Usually this means the macro was only invoked conditionally." >&2;}
3927
{ (exit 1); exit 1; }; }
3930
: ${CONFIG_STATUS=./config.status}
3931
ac_clean_files_save=$ac_clean_files
3932
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3933
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3934
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3935
cat >$CONFIG_STATUS <<_ACEOF
3937
# Generated by $as_me.
3938
# Run this file to recreate the current configuration.
3939
# Compiler output produced by configure, useful for debugging
3940
# configure, is in config.log if it exists.
3945
SHELL=\${CONFIG_SHELL-$SHELL}
3948
cat >>$CONFIG_STATUS <<\_ACEOF
3949
## --------------------- ##
3950
## M4sh Initialization. ##
3951
## --------------------- ##
3953
# Be more Bourne compatible
3954
DUALCASE=1; export DUALCASE # for MKS sh
3955
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3958
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3959
# is contrary to our usage. Disable this feature.
3960
alias -g '${1+"$@"}'='"$@"'
3961
setopt NO_GLOB_SUBST
3963
case `(set -o) 2>/dev/null` in
3964
*posix*) set -o posix ;;
3973
# Avoid depending upon Character Ranges.
3974
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3975
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3976
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3977
as_cr_digits='0123456789'
3978
as_cr_alnum=$as_cr_Letters$as_cr_digits
3980
# The user is always right.
3981
if test "${PATH_SEPARATOR+set}" != set; then
3982
echo "#! /bin/sh" >conf$$.sh
3983
echo "exit 0" >>conf$$.sh
3985
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3993
# Support unset when possible.
3994
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4002
# We need space, tab and new line, in precisely that order. Quoting is
4003
# there to prevent editors from complaining about space-tab.
4004
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4005
# splitting by setting IFS to empty value.)
4010
# Find who we are. Look in the path if we contain no directory separator.
4012
*[\\/]* ) as_myself=$0 ;;
4013
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017
test -z "$as_dir" && as_dir=.
4018
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4024
# We did not find ourselves, most probably we were run as `sh COMMAND'
4025
# in which case we are not to be found in the path.
4026
if test "x$as_myself" = x; then
4029
if test ! -f "$as_myself"; then
4030
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4031
{ (exit 1); exit 1; }
4034
# Work around bugs in pre-3.0 UWIN ksh.
4035
for as_var in ENV MAIL MAILPATH
4036
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4044
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4045
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4046
LC_TELEPHONE LC_TIME
4048
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4049
eval $as_var=C; export $as_var
4051
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4055
# Required to use basename.
4056
if expr a : '\(a\)' >/dev/null 2>&1 &&
4057
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4063
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4064
as_basename=basename
4070
# Name of the executable.
4071
as_me=`$as_basename -- "$0" ||
4072
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4073
X"$0" : 'X\(//\)$' \| \
4074
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4076
sed '/^.*\/\([^/][^/]*\)\/*$/{
4097
test "x$as_lineno_1" != "x$as_lineno_2" &&
4098
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4100
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4101
# uniformly replaced by the line number. The first 'sed' inserts a
4102
# line-number line after each line using $LINENO; the second 'sed'
4103
# does the real work. The second script uses 'N' to pair each
4104
# line-number line with the line containing $LINENO, and appends
4105
# trailing '-' during substitution so that $LINENO is not a special
4107
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4108
# scripts with optimization help from Paolo Bonzini. Blame Lee
4109
# E. McMahon (1931-1989) for sed's syntax. :-)
4121
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4125
chmod +x "$as_me.lineno" ||
4126
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4127
{ (exit 1); exit 1; }; }
4129
# Don't try to exec as it changes $[0], causing all sort of problems
4130
# (the dirname of $[0] is not the place where we might find the
4131
# original and so on. Autoconf is especially sensitive to this).
4133
# Exit status is that of the last command.
4138
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4144
ECHO_C= ECHO_N= ECHO_T=
4147
case `echo 'x\c'` in
4148
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4155
if expr a : '\(a\)' >/dev/null 2>&1 &&
4156
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4162
rm -f conf$$ conf$$.exe conf$$.file
4163
if test -d conf$$.dir; then
4164
rm -f conf$$.dir/conf$$.file
4170
if ln -s conf$$.file conf$$ 2>/dev/null; then
4172
# ... but there are two gotchas:
4173
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4174
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4175
# In both cases, we have to default to `cp -p'.
4176
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4178
elif ln conf$$.file conf$$ 2>/dev/null; then
4183
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4184
rmdir conf$$.dir 2>/dev/null
4186
if mkdir -p . 2>/dev/null; then
4189
test -d ./-p && rmdir ./-p
4193
if test -x / >/dev/null 2>&1; then
4196
if ls -dL / >/dev/null 2>&1; then
4203
if test -d "$1"; then
4209
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4210
???[sx]*):;;*)false;;esac;fi
4214
as_executable_p=$as_test_x
4216
# Sed expression to map a string onto a valid CPP name.
4217
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4219
# Sed expression to map a string onto a valid variable name.
4220
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4225
# Save the log message, to keep $[0] and so on meaningful, and to
4226
# report actual input values of CONFIG_FILES etc. instead of their
4227
# values after options handling.
4229
This file was extended by xgamma $as_me 1.0.2, which was
4230
generated by GNU Autoconf 2.61. Invocation command line was
4232
CONFIG_FILES = $CONFIG_FILES
4233
CONFIG_HEADERS = $CONFIG_HEADERS
4234
CONFIG_LINKS = $CONFIG_LINKS
4235
CONFIG_COMMANDS = $CONFIG_COMMANDS
4238
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4243
cat >>$CONFIG_STATUS <<_ACEOF
4244
# Files that config.status was made for.
4245
config_files="$ac_config_files"
4246
config_headers="$ac_config_headers"
4247
config_commands="$ac_config_commands"
4251
cat >>$CONFIG_STATUS <<\_ACEOF
4253
\`$as_me' instantiates files from templates according to the
4254
current configuration.
4256
Usage: $0 [OPTIONS] [FILE]...
4258
-h, --help print this help, then exit
4259
-V, --version print version number and configuration settings, then exit
4260
-q, --quiet do not print progress messages
4261
-d, --debug don't remove temporary files
4262
--recheck update $as_me by reconfiguring in the same conditions
4263
--file=FILE[:TEMPLATE]
4264
instantiate the configuration file FILE
4265
--header=FILE[:TEMPLATE]
4266
instantiate the configuration header FILE
4268
Configuration files:
4271
Configuration headers:
4274
Configuration commands:
4277
Report bugs to <bug-autoconf@gnu.org>."
4280
cat >>$CONFIG_STATUS <<_ACEOF
4282
xgamma config.status 1.0.2
4283
configured by $0, generated by GNU Autoconf 2.61,
4284
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4286
Copyright (C) 2006 Free Software Foundation, Inc.
4287
This config.status script is free software; the Free Software Foundation
4288
gives unlimited permission to copy, distribute and modify it."
4296
cat >>$CONFIG_STATUS <<\_ACEOF
4297
# If no file are specified by the user, then we need to provide default
4298
# value. By we need to know if files were specified by the user.
4304
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4305
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4316
# Handling of the options.
4317
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4319
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4320
echo "$ac_cs_version"; exit ;;
4321
--debug | --debu | --deb | --de | --d | -d )
4323
--file | --fil | --fi | --f )
4325
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4326
ac_need_defaults=false;;
4327
--header | --heade | --head | --hea )
4329
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4330
ac_need_defaults=false;;
4332
# Conflict between --help and --header
4333
{ echo "$as_me: error: ambiguous option: $1
4334
Try \`$0 --help' for more information." >&2
4335
{ (exit 1); exit 1; }; };;
4336
--help | --hel | -h )
4337
echo "$ac_cs_usage"; exit ;;
4338
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4339
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4343
-*) { echo "$as_me: error: unrecognized option: $1
4344
Try \`$0 --help' for more information." >&2
4345
{ (exit 1); exit 1; }; } ;;
4347
*) ac_config_targets="$ac_config_targets $1"
4348
ac_need_defaults=false ;;
4354
ac_configure_extra_args=
4356
if $ac_cs_silent; then
4358
ac_configure_extra_args="$ac_configure_extra_args --silent"
4362
cat >>$CONFIG_STATUS <<_ACEOF
4363
if \$ac_cs_recheck; then
4364
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4367
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4371
cat >>$CONFIG_STATUS <<\_ACEOF
4375
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4376
## Running $as_me. ##
4382
cat >>$CONFIG_STATUS <<_ACEOF
4386
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4390
cat >>$CONFIG_STATUS <<\_ACEOF
4392
# Handling of arguments.
4393
for ac_config_target in $ac_config_targets
4395
case $ac_config_target in
4396
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4397
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4398
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4400
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4401
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4402
{ (exit 1); exit 1; }; };;
4407
# If the user did not use the arguments to specify the items to instantiate,
4408
# then the envvar interface is used. Set only those that are not.
4409
# We use the long form for the default assignment because of an extremely
4410
# bizarre bug on SunOS 4.1.3.
4411
if $ac_need_defaults; then
4412
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4413
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4414
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4417
# Have a temporary directory for convenience. Make it in the build tree
4418
# simply because there is no reason against having it here, and in addition,
4419
# creating and moving files from /tmp can sometimes cause problems.
4420
# Hook for its removal unless debugging.
4421
# Note that there is a small window in which the directory will not be cleaned:
4422
# after its creation but before its name has been assigned to `$tmp'.
4426
trap 'exit_status=$?
4427
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4429
trap '{ (exit 1); exit 1; }' 1 2 13 15
4431
# Create a (secure) tmp directory for tmp files.
4434
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4435
test -n "$tmp" && test -d "$tmp"
4438
tmp=./conf$$-$RANDOM
4439
(umask 077 && mkdir "$tmp")
4442
echo "$me: cannot create a temporary directory in ." >&2
4443
{ (exit 1); exit 1; }
4447
# Set up the sed scripts for CONFIG_FILES section.
4450
# No need to generate the scripts if there are no CONFIG_FILES.
4451
# This happens for instance when ./config.status config.h
4452
if test -n "$CONFIG_FILES"; then
4459
for ac_last_try in false false false false false :; do
4460
cat >conf$$subs.sed <<_ACEOF
4461
SHELL!$SHELL$ac_delim
4462
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4463
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4464
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4465
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4466
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4467
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4468
exec_prefix!$exec_prefix$ac_delim
4469
prefix!$prefix$ac_delim
4470
program_transform_name!$program_transform_name$ac_delim
4471
bindir!$bindir$ac_delim
4472
sbindir!$sbindir$ac_delim
4473
libexecdir!$libexecdir$ac_delim
4474
datarootdir!$datarootdir$ac_delim
4475
datadir!$datadir$ac_delim
4476
sysconfdir!$sysconfdir$ac_delim
4477
sharedstatedir!$sharedstatedir$ac_delim
4478
localstatedir!$localstatedir$ac_delim
4479
includedir!$includedir$ac_delim
4480
oldincludedir!$oldincludedir$ac_delim
4481
docdir!$docdir$ac_delim
4482
infodir!$infodir$ac_delim
4483
htmldir!$htmldir$ac_delim
4484
dvidir!$dvidir$ac_delim
4485
pdfdir!$pdfdir$ac_delim
4486
psdir!$psdir$ac_delim
4487
libdir!$libdir$ac_delim
4488
localedir!$localedir$ac_delim
4489
mandir!$mandir$ac_delim
4491
ECHO_C!$ECHO_C$ac_delim
4492
ECHO_N!$ECHO_N$ac_delim
4493
ECHO_T!$ECHO_T$ac_delim
4495
build_alias!$build_alias$ac_delim
4496
host_alias!$host_alias$ac_delim
4497
target_alias!$target_alias$ac_delim
4498
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4499
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4500
INSTALL_DATA!$INSTALL_DATA$ac_delim
4501
am__isrc!$am__isrc$ac_delim
4502
CYGPATH_W!$CYGPATH_W$ac_delim
4503
PACKAGE!$PACKAGE$ac_delim
4504
VERSION!$VERSION$ac_delim
4505
ACLOCAL!$ACLOCAL$ac_delim
4506
AUTOCONF!$AUTOCONF$ac_delim
4507
AUTOMAKE!$AUTOMAKE$ac_delim
4508
AUTOHEADER!$AUTOHEADER$ac_delim
4509
MAKEINFO!$MAKEINFO$ac_delim
4510
install_sh!$install_sh$ac_delim
4511
STRIP!$STRIP$ac_delim
4512
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4513
mkdir_p!$mkdir_p$ac_delim
4515
SET_MAKE!$SET_MAKE$ac_delim
4516
am__leading_dot!$am__leading_dot$ac_delim
4517
AMTAR!$AMTAR$ac_delim
4518
am__tar!$am__tar$ac_delim
4519
am__untar!$am__untar$ac_delim
4520
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4521
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4522
MAINT!$MAINT$ac_delim
4524
CFLAGS!$CFLAGS$ac_delim
4525
LDFLAGS!$LDFLAGS$ac_delim
4526
CPPFLAGS!$CPPFLAGS$ac_delim
4527
ac_ct_CC!$ac_ct_CC$ac_delim
4528
EXEEXT!$EXEEXT$ac_delim
4529
OBJEXT!$OBJEXT$ac_delim
4530
DEPDIR!$DEPDIR$ac_delim
4531
am__include!$am__include$ac_delim
4532
am__quote!$am__quote$ac_delim
4533
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4534
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4535
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4536
CCDEPMODE!$CCDEPMODE$ac_delim
4537
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4538
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4539
PKG_CONFIG!$PKG_CONFIG$ac_delim
4540
XGAMMA_CFLAGS!$XGAMMA_CFLAGS$ac_delim
4541
XGAMMA_LIBS!$XGAMMA_LIBS$ac_delim
4542
build!$build$ac_delim
4543
build_cpu!$build_cpu$ac_delim
4544
build_vendor!$build_vendor$ac_delim
4545
build_os!$build_os$ac_delim
4547
host_cpu!$host_cpu$ac_delim
4548
host_vendor!$host_vendor$ac_delim
4549
host_os!$host_os$ac_delim
4550
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4551
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4552
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4553
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4554
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4555
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4556
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4557
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4560
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4562
elif $ac_last_try; then
4563
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4564
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4565
{ (exit 1); exit 1; }; }
4567
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4571
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4572
if test -n "$ac_eof"; then
4573
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4574
ac_eof=`expr $ac_eof + 1`
4577
cat >>$CONFIG_STATUS <<_ACEOF
4578
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4579
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4582
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4583
s/^/s,@/; s/!/@,|#_!!_#|/
4586
s/'"$ac_delim"'$/,g/; t
4588
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4589
' >>$CONFIG_STATUS <conf$$subs.sed
4590
rm -f conf$$subs.sed
4591
cat >>$CONFIG_STATUS <<_ACEOF
4597
for ac_last_try in false false false false false :; do
4598
cat >conf$$subs.sed <<_ACEOF
4599
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4600
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4601
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4602
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4603
LIBOBJS!$LIBOBJS$ac_delim
4604
LTLIBOBJS!$LTLIBOBJS$ac_delim
4607
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
4609
elif $ac_last_try; then
4610
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4611
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4612
{ (exit 1); exit 1; }; }
4614
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4618
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4619
if test -n "$ac_eof"; then
4620
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4621
ac_eof=`expr $ac_eof + 1`
4624
cat >>$CONFIG_STATUS <<_ACEOF
4625
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4626
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4629
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4630
s/^/s,@/; s/!/@,|#_!!_#|/
4633
s/'"$ac_delim"'$/,g/; t
4635
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4636
' >>$CONFIG_STATUS <conf$$subs.sed
4637
rm -f conf$$subs.sed
4638
cat >>$CONFIG_STATUS <<_ACEOF
4645
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4646
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4647
# trailing colons and then remove the whole line if VPATH becomes empty
4648
# (actually we leave an empty line to preserve line numbers).
4649
if test "x$srcdir" = x.; then
4650
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4654
s/^\([^=]*=[ ]*\):*/\1/
4660
cat >>$CONFIG_STATUS <<\_ACEOF
4661
fi # test -n "$CONFIG_FILES"
4664
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4667
:[FHLC]) ac_mode=$ac_tag; continue;;
4669
case $ac_mode$ac_tag in
4671
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4672
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4673
{ (exit 1); exit 1; }; };;
4674
:[FH]-) ac_tag=-:-;;
4675
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4692
-) ac_f="$tmp/stdin";;
4693
*) # Look for the file first in the build tree, then in the source tree
4694
# (if the path is not absolute). The absolute path cannot be DOS-style,
4695
# because $ac_f cannot contain `:'.
4699
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4701
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4702
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4703
{ (exit 1); exit 1; }; };;
4705
ac_file_inputs="$ac_file_inputs $ac_f"
4708
# Let's still pretend it is `configure' which instantiates (i.e., don't
4709
# use $as_me), people would be surprised to read:
4710
# /* config.h. Generated by config.status. */
4711
configure_input="Generated from "`IFS=:
4712
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4713
if test x"$ac_file" != x-; then
4714
configure_input="$ac_file. $configure_input"
4715
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4716
echo "$as_me: creating $ac_file" >&6;}
4720
*:-:* | *:-) cat >"$tmp/stdin";;
4725
ac_dir=`$as_dirname -- "$ac_file" ||
4726
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4727
X"$ac_file" : 'X\(//\)[^/]' \| \
4728
X"$ac_file" : 'X\(//\)$' \| \
4729
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4731
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4750
-*) as_dir=./$as_dir;;
4752
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4756
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4757
*) as_qdir=$as_dir;;
4759
as_dirs="'$as_qdir' $as_dirs"
4760
as_dir=`$as_dirname -- "$as_dir" ||
4761
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4762
X"$as_dir" : 'X\(//\)[^/]' \| \
4763
X"$as_dir" : 'X\(//\)$' \| \
4764
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4766
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4783
test -d "$as_dir" && break
4785
test -z "$as_dirs" || eval "mkdir $as_dirs"
4786
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4787
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4788
{ (exit 1); exit 1; }; }; }
4792
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4794
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4795
# A ".." for each directory in $ac_dir_suffix.
4796
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4797
case $ac_top_builddir_sub in
4798
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4799
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4802
ac_abs_top_builddir=$ac_pwd
4803
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4804
# for backward compatibility:
4805
ac_top_builddir=$ac_top_build_prefix
4808
.) # We are building in place.
4810
ac_top_srcdir=$ac_top_builddir_sub
4811
ac_abs_top_srcdir=$ac_pwd ;;
4812
[\\/]* | ?:[\\/]* ) # Absolute name.
4813
ac_srcdir=$srcdir$ac_dir_suffix;
4814
ac_top_srcdir=$srcdir
4815
ac_abs_top_srcdir=$srcdir ;;
4817
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4818
ac_top_srcdir=$ac_top_build_prefix$srcdir
4819
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4821
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4831
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4832
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4836
[\\/$]* | ?:[\\/]* ) ;;
4837
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4841
cat >>$CONFIG_STATUS <<\_ACEOF
4842
# If the template does not know about datarootdir, expand it.
4843
# FIXME: This hack should be removed a few years after 2.60.
4844
ac_datarootdir_hack=; ac_datarootdir_seen=
4846
case `sed -n '/datarootdir/ {
4855
' $ac_file_inputs` in
4856
*datarootdir*) ac_datarootdir_seen=yes;;
4857
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4858
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4859
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4861
cat >>$CONFIG_STATUS <<_ACEOF
4862
ac_datarootdir_hack='
4863
s&@datadir@&$datadir&g
4864
s&@docdir@&$docdir&g
4865
s&@infodir@&$infodir&g
4866
s&@localedir@&$localedir&g
4867
s&@mandir@&$mandir&g
4868
s&\\\${datarootdir}&$datarootdir&g' ;;
4872
# Neutralize VPATH when `$srcdir' = `.'.
4873
# Shell code in configure.ac might set extrasub.
4874
# FIXME: do we really want to maintain this feature?
4875
cat >>$CONFIG_STATUS <<_ACEOF
4879
cat >>$CONFIG_STATUS <<\_ACEOF
4881
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4882
s&@configure_input@&$configure_input&;t t
4883
s&@top_builddir@&$ac_top_builddir_sub&;t t
4884
s&@srcdir@&$ac_srcdir&;t t
4885
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4886
s&@top_srcdir@&$ac_top_srcdir&;t t
4887
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4888
s&@builddir@&$ac_builddir&;t t
4889
s&@abs_builddir@&$ac_abs_builddir&;t t
4890
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4891
s&@INSTALL@&$ac_INSTALL&;t t
4892
s&@MKDIR_P@&$ac_MKDIR_P&;t t
4893
$ac_datarootdir_hack
4894
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
4896
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4897
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4898
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4899
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4900
which seems to be undefined. Please make sure it is defined." >&5
4901
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4902
which seems to be undefined. Please make sure it is defined." >&2;}
4906
-) cat "$tmp/out"; rm -f "$tmp/out";;
4907
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4916
# Transform confdefs.h into a sed script `conftest.defines', that
4917
# substitutes the proper values into config.h.in to produce config.h.
4918
rm -f conftest.defines conftest.tail
4919
# First, append a space to every undef/define line, to ease matching.
4920
echo 's/$/ /' >conftest.defines
4921
# Then, protect against being on the right side of a sed subst, or in
4922
# an unquoted here document, in config.status. If some macros were
4923
# called several times there might be several #defines for the same
4924
# symbol, which is useless. But do not sort them, since the last
4925
# AC_DEFINE must be honored.
4926
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4927
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4928
# NAME is the cpp macro being defined, VALUE is the value it is being given.
4929
# PARAMS is the parameter list in the macro definition--in most cases, it's
4930
# just an empty string.
4931
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4932
ac_dB='\\)[ (].*,\\1define\\2'
4940
s/^[ ]*#[ ]*define[ ][ ]*//
4945
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4946
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4947
' >>conftest.defines
4949
# Remove the space that was appended to ease matching.
4950
# Then replace #undef with comments. This is necessary, for
4951
# example, in the case of _POSIX_SOURCE, which is predefined and required
4952
# on some systems where configure will not decide to define it.
4953
# (The regexp can be short, since the line contains either #define or #undef.)
4955
s,^[ #]*u.*,/* & */,' >>conftest.defines
4957
# Break up conftest.defines:
4960
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4961
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4962
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4964
ac_in='$ac_file_inputs'
4965
ac_out='"$tmp/out1"'
4966
ac_nxt='"$tmp/out2"'
4970
# Write a here document:
4971
cat >>$CONFIG_STATUS <<_ACEOF
4972
# First, check the format of the line:
4973
cat >"\$tmp/defines.sed" <<\\CEOF
4974
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4975
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4979
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4981
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4982
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4983
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4984
grep . conftest.tail >/dev/null || break
4985
rm -f conftest.defines
4986
mv conftest.tail conftest.defines
4988
rm -f conftest.defines conftest.tail
4990
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4991
cat >>$CONFIG_STATUS <<\_ACEOF
4992
if test x"$ac_file" != x-; then
4993
echo "/* $configure_input */" >"$tmp/config.h"
4994
cat "$ac_result" >>"$tmp/config.h"
4995
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4996
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4997
echo "$as_me: $ac_file is unchanged" >&6;}
5000
mv "$tmp/config.h" $ac_file
5003
echo "/* $configure_input */"
5007
# Compute $ac_file's index in $config_headers.
5009
for _am_header in $config_headers :; do
5011
$ac_file | $ac_file:* )
5014
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5017
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5018
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5019
X$ac_file : 'X\(//\)[^/]' \| \
5020
X$ac_file : 'X\(//\)$' \| \
5021
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5023
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5039
s/.*/./; q'`/stamp-h$_am_stamp_count
5042
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5043
echo "$as_me: executing $ac_file commands" >&6;}
5048
case $ac_file$ac_mode in
5049
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5050
# Strip MF so we end up with the name of the file.
5051
mf=`echo "$mf" | sed -e 's/:.*$//'`
5052
# Check whether this is an Automake generated Makefile or not.
5053
# We used to match only the files named `Makefile.in', but
5054
# some people rename them; so instead we look at the file content.
5055
# Grep'ing the first line is not enough: some people post-process
5056
# each Makefile.in and add a new line on top of each file to say so.
5057
# Grep'ing the whole file is not good either: AIX grep has a line
5058
# limit of 2048, but all sed's we know have understand at least 4000.
5059
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5060
dirpart=`$as_dirname -- "$mf" ||
5061
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5062
X"$mf" : 'X\(//\)[^/]' \| \
5063
X"$mf" : 'X\(//\)$' \| \
5064
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5066
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5086
# Extract the definition of DEPDIR, am__include, and am__quote
5087
# from the Makefile without running `make'.
5088
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5089
test -z "$DEPDIR" && continue
5090
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5091
test -z "am__include" && continue
5092
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5093
# When using ansi2knr, U may be empty or an underscore; expand it
5094
U=`sed -n 's/^U = //p' < "$mf"`
5095
# Find all dependency output files, they are included files with
5096
# $(DEPDIR) in their names. We invoke sed twice because it is the
5097
# simplest approach to changing $(DEPDIR) to its actual value in the
5099
for file in `sed -n "
5100
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5101
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5102
# Make sure the directory exists.
5103
test -f "$dirpart/$file" && continue
5104
fdir=`$as_dirname -- "$file" ||
5105
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5106
X"$file" : 'X\(//\)[^/]' \| \
5107
X"$file" : 'X\(//\)$' \| \
5108
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5110
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5127
{ as_dir=$dirpart/$fdir
5129
-*) as_dir=./$as_dir;;
5131
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5135
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5136
*) as_qdir=$as_dir;;
5138
as_dirs="'$as_qdir' $as_dirs"
5139
as_dir=`$as_dirname -- "$as_dir" ||
5140
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5141
X"$as_dir" : 'X\(//\)[^/]' \| \
5142
X"$as_dir" : 'X\(//\)$' \| \
5143
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5145
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5162
test -d "$as_dir" && break
5164
test -z "$as_dirs" || eval "mkdir $as_dirs"
5165
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5166
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5167
{ (exit 1); exit 1; }; }; }
5168
# echo "creating $dirpart/$file"
5169
echo '# dummy' > "$dirpart/$file"
5178
{ (exit 0); exit 0; }
5180
chmod +x $CONFIG_STATUS
5181
ac_clean_files=$ac_clean_files_save
5184
# configure is writing to config.log, and then calls config.status.
5185
# config.status does its own redirection, appending to config.log.
5186
# Unfortunately, on DOS this fails, as config.log is still kept open
5187
# by configure, so config.status won't be able to write to it; its
5188
# output is simply discarded. So we exec the FD to /dev/null,
5189
# effectively closing config.log, so it can be properly (re)opened and
5190
# appended to by config.status. When coming back to configure, we
5191
# need to make the FD available again.
5192
if test "$no_create" != yes; then
5194
ac_config_status_args=
5195
test "$silent" = yes &&
5196
ac_config_status_args="$ac_config_status_args --quiet"
5198
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5200
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5201
# would make configure fail if this is the last instruction.
5202
$ac_cs_success || { (exit 1); exit 1; }