2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for xmodmap 1.0.3.
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='xmodmap'
576
PACKAGE_TARNAME='xmodmap'
577
PACKAGE_VERSION='1.0.3'
578
PACKAGE_STRING='xmodmap 1.0.3'
579
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
590
program_transform_name
632
INSTALL_STRIP_PROGRAM
641
MAINTAINER_MODE_FALSE
689
ac_precious_vars='build_alias
702
# Initialize some variables set by options.
704
ac_init_version=false
705
# The variables have the same names as the options, with
706
# dashes changed to underlines.
714
program_transform_name=s,x,x,
722
# Installation directory options.
723
# These are left unexpanded so users can "make install exec_prefix=/foo"
724
# and all the variables that are supposed to be based on exec_prefix
725
# by default will actually change.
726
# Use braces instead of parens because sh, perl, etc. also accept them.
727
# (The list follows the same order as the GNU Coding Standards.)
728
bindir='${exec_prefix}/bin'
729
sbindir='${exec_prefix}/sbin'
730
libexecdir='${exec_prefix}/libexec'
731
datarootdir='${prefix}/share'
732
datadir='${datarootdir}'
733
sysconfdir='${prefix}/etc'
734
sharedstatedir='${prefix}/com'
735
localstatedir='${prefix}/var'
736
includedir='${prefix}/include'
737
oldincludedir='/usr/include'
738
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
739
infodir='${datarootdir}/info'
744
libdir='${exec_prefix}/lib'
745
localedir='${datarootdir}/locale'
746
mandir='${datarootdir}/man'
752
# If the previous option needs an argument, assign it.
753
if test -n "$ac_prev"; then
754
eval $ac_prev=\$ac_option
760
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764
# Accept the important Cygnus configure options, so we can diagnose typos.
766
case $ac_dashdash$ac_option in
770
-bindir | --bindir | --bindi | --bind | --bin | --bi)
772
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775
-build | --build | --buil | --bui | --bu)
776
ac_prev=build_alias ;;
777
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
778
build_alias=$ac_optarg ;;
780
-cache-file | --cache-file | --cache-fil | --cache-fi \
781
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
782
ac_prev=cache_file ;;
783
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
784
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
785
cache_file=$ac_optarg ;;
788
cache_file=config.cache ;;
790
-datadir | --datadir | --datadi | --datad)
792
-datadir=* | --datadir=* | --datadi=* | --datad=*)
793
datadir=$ac_optarg ;;
795
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
796
| --dataroo | --dataro | --datar)
797
ac_prev=datarootdir ;;
798
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
799
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
800
datarootdir=$ac_optarg ;;
802
-disable-* | --disable-*)
803
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804
# Reject names that are not valid shell variable names.
805
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
806
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
807
{ (exit 1); exit 1; }; }
808
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
809
eval enable_$ac_feature=no ;;
811
-docdir | --docdir | --docdi | --doc | --do)
813
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
816
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
818
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
821
-enable-* | --enable-*)
822
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823
# Reject names that are not valid shell variable names.
824
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
825
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
826
{ (exit 1); exit 1; }; }
827
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
828
eval enable_$ac_feature=\$ac_optarg ;;
830
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
831
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
832
| --exec | --exe | --ex)
833
ac_prev=exec_prefix ;;
834
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
835
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
836
| --exec=* | --exe=* | --ex=*)
837
exec_prefix=$ac_optarg ;;
839
-gas | --gas | --ga | --g)
840
# Obsolete; use --with-gas.
843
-help | --help | --hel | --he | -h)
845
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
846
ac_init_help=recursive ;;
847
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
848
ac_init_help=short ;;
850
-host | --host | --hos | --ho)
851
ac_prev=host_alias ;;
852
-host=* | --host=* | --hos=* | --ho=*)
853
host_alias=$ac_optarg ;;
855
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859
htmldir=$ac_optarg ;;
861
-includedir | --includedir | --includedi | --included | --include \
862
| --includ | --inclu | --incl | --inc)
863
ac_prev=includedir ;;
864
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
865
| --includ=* | --inclu=* | --incl=* | --inc=*)
866
includedir=$ac_optarg ;;
868
-infodir | --infodir | --infodi | --infod | --info | --inf)
870
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
871
infodir=$ac_optarg ;;
873
-libdir | --libdir | --libdi | --libd)
875
-libdir=* | --libdir=* | --libdi=* | --libd=*)
878
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
879
| --libexe | --libex | --libe)
880
ac_prev=libexecdir ;;
881
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
882
| --libexe=* | --libex=* | --libe=*)
883
libexecdir=$ac_optarg ;;
885
-localedir | --localedir | --localedi | --localed | --locale)
887
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
888
localedir=$ac_optarg ;;
890
-localstatedir | --localstatedir | --localstatedi | --localstated \
891
| --localstate | --localstat | --localsta | --localst | --locals)
892
ac_prev=localstatedir ;;
893
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
894
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
895
localstatedir=$ac_optarg ;;
897
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
903
# Obsolete; use --without-fp.
906
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
907
| --no-cr | --no-c | -n)
910
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
911
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
914
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
915
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
916
| --oldin | --oldi | --old | --ol | --o)
917
ac_prev=oldincludedir ;;
918
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
919
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
920
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
921
oldincludedir=$ac_optarg ;;
923
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
928
-program-prefix | --program-prefix | --program-prefi | --program-pref \
929
| --program-pre | --program-pr | --program-p)
930
ac_prev=program_prefix ;;
931
-program-prefix=* | --program-prefix=* | --program-prefi=* \
932
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933
program_prefix=$ac_optarg ;;
935
-program-suffix | --program-suffix | --program-suffi | --program-suff \
936
| --program-suf | --program-su | --program-s)
937
ac_prev=program_suffix ;;
938
-program-suffix=* | --program-suffix=* | --program-suffi=* \
939
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
940
program_suffix=$ac_optarg ;;
942
-program-transform-name | --program-transform-name \
943
| --program-transform-nam | --program-transform-na \
944
| --program-transform-n | --program-transform- \
945
| --program-transform | --program-transfor \
946
| --program-transfo | --program-transf \
947
| --program-trans | --program-tran \
948
| --progr-tra | --program-tr | --program-t)
949
ac_prev=program_transform_name ;;
950
-program-transform-name=* | --program-transform-name=* \
951
| --program-transform-nam=* | --program-transform-na=* \
952
| --program-transform-n=* | --program-transform-=* \
953
| --program-transform=* | --program-transfor=* \
954
| --program-transfo=* | --program-transf=* \
955
| --program-trans=* | --program-tran=* \
956
| --progr-tra=* | --program-tr=* | --program-t=*)
957
program_transform_name=$ac_optarg ;;
959
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
964
-psdir | --psdir | --psdi | --psd | --ps)
966
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
969
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
970
| -silent | --silent | --silen | --sile | --sil)
973
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977
sbindir=$ac_optarg ;;
979
-sharedstatedir | --sharedstatedir | --sharedstatedi \
980
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
981
| --sharedst | --shareds | --shared | --share | --shar \
983
ac_prev=sharedstatedir ;;
984
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
985
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
986
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988
sharedstatedir=$ac_optarg ;;
990
-site | --site | --sit)
992
-site=* | --site=* | --sit=*)
995
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1000
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1001
| --syscon | --sysco | --sysc | --sys | --sy)
1002
ac_prev=sysconfdir ;;
1003
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1004
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1005
sysconfdir=$ac_optarg ;;
1007
-target | --target | --targe | --targ | --tar | --ta | --t)
1008
ac_prev=target_alias ;;
1009
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1010
target_alias=$ac_optarg ;;
1012
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1015
-version | --version | --versio | --versi | --vers | -V)
1016
ac_init_version=: ;;
1019
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020
# Reject names that are not valid shell variable names.
1021
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1023
{ (exit 1); exit 1; }; }
1024
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1025
eval with_$ac_package=\$ac_optarg ;;
1027
-without-* | --without-*)
1028
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029
# Reject names that are not valid shell variable names.
1030
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1032
{ (exit 1); exit 1; }; }
1033
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1034
eval with_$ac_package=no ;;
1037
# Obsolete; use --with-x.
1040
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1041
| --x-incl | --x-inc | --x-in | --x-i)
1042
ac_prev=x_includes ;;
1043
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1044
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1045
x_includes=$ac_optarg ;;
1047
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1048
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1049
ac_prev=x_libraries ;;
1050
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1051
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1052
x_libraries=$ac_optarg ;;
1054
-*) { echo "$as_me: error: unrecognized option: $ac_option
1055
Try \`$0 --help' for more information." >&2
1056
{ (exit 1); exit 1; }; }
1060
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1061
# Reject names that are not valid shell variable names.
1062
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1063
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1064
{ (exit 1); exit 1; }; }
1065
eval $ac_envvar=\$ac_optarg
1066
export $ac_envvar ;;
1069
# FIXME: should be removed in autoconf 3.0.
1070
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1079
if test -n "$ac_prev"; then
1080
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1081
{ echo "$as_me: error: missing argument to $ac_option" >&2
1082
{ (exit 1); exit 1; }; }
1085
# Be sure to have absolute directory names.
1086
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1087
datadir sysconfdir sharedstatedir localstatedir includedir \
1088
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1089
libdir localedir mandir
1091
eval ac_val=\$$ac_var
1093
[\\/$]* | ?:[\\/]* ) continue;;
1094
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1096
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1097
{ (exit 1); exit 1; }; }
1100
# There might be people who depend on the old broken behavior: `$host'
1101
# used to hold the argument of --host etc.
1102
# FIXME: To remove some day.
1105
target=$target_alias
1107
# FIXME: To remove some day.
1108
if test "x$host_alias" != x; then
1109
if test "x$build_alias" = x; then
1110
cross_compiling=maybe
1111
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1112
If a cross compiler is detected then cross compile mode will be used." >&2
1113
elif test "x$build_alias" != "x$host_alias"; then
1119
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1121
test "$silent" = yes && exec 6>/dev/null
1124
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1125
ac_ls_di=`ls -di .` &&
1126
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1127
{ echo "$as_me: error: Working directory cannot be determined" >&2
1128
{ (exit 1); exit 1; }; }
1129
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1130
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1131
{ (exit 1); exit 1; }; }
1134
# Find the source files, if location was not specified.
1135
if test -z "$srcdir"; then
1136
ac_srcdir_defaulted=yes
1137
# Try the directory containing this script, then the parent directory.
1138
ac_confdir=`$as_dirname -- "$0" ||
1139
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1140
X"$0" : 'X\(//\)[^/]' \| \
1141
X"$0" : 'X\(//\)$' \| \
1142
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1144
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162
if test ! -r "$srcdir/$ac_unique_file"; then
1166
ac_srcdir_defaulted=no
1168
if test ! -r "$srcdir/$ac_unique_file"; then
1169
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1170
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1171
{ (exit 1); exit 1; }; }
1173
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1175
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1176
{ (exit 1); exit 1; }; }
1178
# When building in place, set srcdir=.
1179
if test "$ac_abs_confdir" = "$ac_pwd"; then
1182
# Remove unnecessary trailing slashes from srcdir.
1183
# Double slashes in file names in object file debugging info
1184
# mess up M-x gdb in Emacs.
1186
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188
for ac_var in $ac_precious_vars; do
1189
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1190
eval ac_env_${ac_var}_value=\$${ac_var}
1191
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1192
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1196
# Report the --help message.
1198
if test "$ac_init_help" = "long"; then
1199
# Omit some internal or obsolete options to make the list less imposing.
1200
# This message is too long to be a string in the A/UX 3.1 sh.
1202
\`configure' configures xmodmap 1.0.3 to adapt to many kinds of systems.
1204
Usage: $0 [OPTION]... [VAR=VALUE]...
1206
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207
VAR=VALUE. See below for descriptions of some of the useful variables.
1209
Defaults for the options are specified in brackets.
1212
-h, --help display this help and exit
1213
--help=short display options specific to this package
1214
--help=recursive display the short help of all the included packages
1215
-V, --version display version information and exit
1216
-q, --quiet, --silent do not print \`checking...' messages
1217
--cache-file=FILE cache test results in FILE [disabled]
1218
-C, --config-cache alias for \`--cache-file=config.cache'
1219
-n, --no-create do not create output files
1220
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1222
Installation directories:
1223
--prefix=PREFIX install architecture-independent files in PREFIX
1224
[$ac_default_prefix]
1225
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1228
By default, \`make install' will install all the files in
1229
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1230
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231
for instance \`--prefix=\$HOME'.
1233
For better control, use the options below.
1235
Fine tuning of the installation directories:
1236
--bindir=DIR user executables [EPREFIX/bin]
1237
--sbindir=DIR system admin executables [EPREFIX/sbin]
1238
--libexecdir=DIR program executables [EPREFIX/libexec]
1239
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242
--libdir=DIR object code libraries [EPREFIX/lib]
1243
--includedir=DIR C header files [PREFIX/include]
1244
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1245
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1246
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1247
--infodir=DIR info documentation [DATAROOTDIR/info]
1248
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1249
--mandir=DIR man documentation [DATAROOTDIR/man]
1250
--docdir=DIR documentation root [DATAROOTDIR/doc/xmodmap]
1251
--htmldir=DIR html documentation [DOCDIR]
1252
--dvidir=DIR dvi documentation [DOCDIR]
1253
--pdfdir=DIR pdf documentation [DOCDIR]
1254
--psdir=DIR ps documentation [DOCDIR]
1260
--program-prefix=PREFIX prepend PREFIX to installed program names
1261
--program-suffix=SUFFIX append SUFFIX to installed program names
1262
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1265
--build=BUILD configure for building on BUILD [guessed]
1266
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1270
if test -n "$ac_init_help"; then
1271
case $ac_init_help in
1272
short | recursive ) echo "Configuration of xmodmap 1.0.3:";;
1277
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1278
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1279
--enable-maintainer-mode enable make rules and dependencies not useful
1280
(and sometimes confusing) to the casual installer
1281
--disable-dependency-tracking speeds up one-time build
1282
--enable-dependency-tracking do not reject slow dependency extractors
1285
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1286
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1287
--with-lint Use a lint-style source code checker (default:
1289
--with-release-version=STRING
1290
Use release version string in package name
1292
Some influential environment variables:
1293
CC C compiler command
1294
CFLAGS C compiler flags
1295
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1296
nonstandard directory <lib dir>
1297
LIBS libraries to pass to the linker, e.g. -l<library>
1298
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1299
you have headers in a nonstandard directory <include dir>
1300
PKG_CONFIG path to pkg-config utility
1301
DEP_CFLAGS C compiler flags for DEP, overriding pkg-config
1302
DEP_LIBS linker flags for DEP, overriding pkg-config
1304
Use these variables to override the choices made by `configure' or to help
1305
it to find libraries and programs with nonstandard names/locations.
1307
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1312
if test "$ac_init_help" = "recursive"; then
1313
# If there are subdirs, report their specific --help.
1314
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1315
test -d "$ac_dir" || continue
1319
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1322
# A ".." for each directory in $ac_dir_suffix.
1323
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1324
case $ac_top_builddir_sub in
1325
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1329
ac_abs_top_builddir=$ac_pwd
1330
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1331
# for backward compatibility:
1332
ac_top_builddir=$ac_top_build_prefix
1335
.) # We are building in place.
1337
ac_top_srcdir=$ac_top_builddir_sub
1338
ac_abs_top_srcdir=$ac_pwd ;;
1339
[\\/]* | ?:[\\/]* ) # Absolute name.
1340
ac_srcdir=$srcdir$ac_dir_suffix;
1341
ac_top_srcdir=$srcdir
1342
ac_abs_top_srcdir=$srcdir ;;
1344
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1345
ac_top_srcdir=$ac_top_build_prefix$srcdir
1346
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1348
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1350
cd "$ac_dir" || { ac_status=$?; continue; }
1351
# Check for guested configure.
1352
if test -f "$ac_srcdir/configure.gnu"; then
1354
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1355
elif test -f "$ac_srcdir/configure"; then
1357
$SHELL "$ac_srcdir/configure" --help=recursive
1359
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1361
cd "$ac_pwd" || { ac_status=$?; break; }
1365
test -n "$ac_init_help" && exit $ac_status
1366
if $ac_init_version; then
1368
xmodmap configure 1.0.3
1369
generated by GNU Autoconf 2.61
1371
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1372
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1373
This configure script is free software; the Free Software Foundation
1374
gives unlimited permission to copy, distribute and modify it.
1378
cat >config.log <<_ACEOF
1379
This file contains any messages produced by compilers while
1380
running configure, to aid debugging if configure makes a mistake.
1382
It was created by xmodmap $as_me 1.0.3, which was
1383
generated by GNU Autoconf 2.61. Invocation command line was
1395
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1396
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1397
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1398
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1399
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1401
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1402
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1404
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1405
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1406
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1407
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1408
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1409
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1410
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1414
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418
test -z "$as_dir" && as_dir=.
1419
echo "PATH: $as_dir"
1435
# Keep a trace of the command line.
1436
# Strip out --no-create and --no-recursion so they do not pile up.
1437
# Strip out --silent because we don't want to record it for future runs.
1438
# Also quote any args containing shell meta-characters.
1439
# Make two passes to allow for proper duplicate-argument suppression.
1443
ac_must_keep_next=false
1449
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1450
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1451
| -silent | --silent | --silen | --sile | --sil)
1454
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1457
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1459
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1460
if test $ac_must_keep_next = true; then
1461
ac_must_keep_next=false # Got value, back to normal.
1464
*=* | --config-cache | -C | -disable-* | --disable-* \
1465
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1466
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1467
| -with-* | --with-* | -without-* | --without-* | --x)
1468
case "$ac_configure_args0 " in
1469
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1472
-* ) ac_must_keep_next=true ;;
1475
ac_configure_args="$ac_configure_args '$ac_arg'"
1480
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1481
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1483
# When interrupted or exit'd, cleanup temporary files, and complete
1484
# config.log. We remove comments because anyway the quotes in there
1485
# would cause problems or look ugly.
1486
# WARNING: Use '\'' to represent an apostrophe within the trap.
1487
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1488
trap 'exit_status=$?
1489
# Save into config.log some information that might help in debugging.
1494
## ---------------- ##
1495
## Cache variables. ##
1496
## ---------------- ##
1499
# The following way of writing the cache mishandles newlines in values,
1501
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1502
eval ac_val=\$$ac_var
1506
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1507
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1510
_ | IFS | as_nl) ;; #(
1511
*) $as_unset $ac_var ;;
1516
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1517
*${as_nl}ac_space=\ *)
1519
"s/'\''/'\''\\\\'\'''\''/g;
1520
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1523
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1531
## ----------------- ##
1532
## Output variables. ##
1533
## ----------------- ##
1536
for ac_var in $ac_subst_vars
1538
eval ac_val=\$$ac_var
1540
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1542
echo "$ac_var='\''$ac_val'\''"
1546
if test -n "$ac_subst_files"; then
1548
## ------------------- ##
1549
## File substitutions. ##
1550
## ------------------- ##
1553
for ac_var in $ac_subst_files
1555
eval ac_val=\$$ac_var
1557
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559
echo "$ac_var='\''$ac_val'\''"
1564
if test -s confdefs.h; then
1574
test "$ac_signal" != 0 &&
1575
echo "$as_me: caught signal $ac_signal"
1576
echo "$as_me: exit $exit_status"
1578
rm -f core *.core core.conftest.* &&
1579
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1582
for ac_signal in 1 2 13 15; do
1583
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1587
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1588
rm -f -r conftest* confdefs.h
1590
# Predefined preprocessor variables.
1592
cat >>confdefs.h <<_ACEOF
1593
#define PACKAGE_NAME "$PACKAGE_NAME"
1597
cat >>confdefs.h <<_ACEOF
1598
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1602
cat >>confdefs.h <<_ACEOF
1603
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1607
cat >>confdefs.h <<_ACEOF
1608
#define PACKAGE_STRING "$PACKAGE_STRING"
1612
cat >>confdefs.h <<_ACEOF
1613
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1617
# Let the site file select an alternate cache file if it wants to.
1618
# Prefer explicitly selected file to automatically selected ones.
1619
if test -n "$CONFIG_SITE"; then
1620
set x "$CONFIG_SITE"
1621
elif test "x$prefix" != xNONE; then
1622
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1624
set x "$ac_default_prefix/share/config.site" \
1625
"$ac_default_prefix/etc/config.site"
1630
if test -r "$ac_site_file"; then
1631
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1632
echo "$as_me: loading site script $ac_site_file" >&6;}
1633
sed 's/^/| /' "$ac_site_file" >&5
1638
if test -r "$cache_file"; then
1639
# Some versions of bash will fail to source /dev/null (special
1640
# files actually), so we avoid doing that.
1641
if test -f "$cache_file"; then
1642
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1643
echo "$as_me: loading cache $cache_file" >&6;}
1645
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1646
*) . "./$cache_file";;
1650
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1651
echo "$as_me: creating cache $cache_file" >&6;}
1655
# Check that the precious variables saved in the cache have kept the same
1657
ac_cache_corrupted=false
1658
for ac_var in $ac_precious_vars; do
1659
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1660
eval ac_new_set=\$ac_env_${ac_var}_set
1661
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1662
eval ac_new_val=\$ac_env_${ac_var}_value
1663
case $ac_old_set,$ac_new_set in
1665
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1666
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1667
ac_cache_corrupted=: ;;
1669
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1670
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1671
ac_cache_corrupted=: ;;
1674
if test "x$ac_old_val" != "x$ac_new_val"; then
1675
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1676
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1677
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1678
echo "$as_me: former value: $ac_old_val" >&2;}
1679
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1680
echo "$as_me: current value: $ac_new_val" >&2;}
1681
ac_cache_corrupted=:
1684
# Pass precious variables to config.status.
1685
if test "$ac_new_set" = set; then
1687
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1688
*) ac_arg=$ac_var=$ac_new_val ;;
1690
case " $ac_configure_args " in
1691
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1692
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1696
if $ac_cache_corrupted; then
1697
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1698
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1699
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1700
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1701
{ (exit 1); exit 1; }; }
1729
ac_cpp='$CPP $CPPFLAGS'
1730
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1731
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1732
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1735
am__api_version='1.10'
1738
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1739
if test -f "$ac_dir/install-sh"; then
1741
ac_install_sh="$ac_aux_dir/install-sh -c"
1743
elif test -f "$ac_dir/install.sh"; then
1745
ac_install_sh="$ac_aux_dir/install.sh -c"
1747
elif test -f "$ac_dir/shtool"; then
1749
ac_install_sh="$ac_aux_dir/shtool install -c"
1753
if test -z "$ac_aux_dir"; then
1754
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1755
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1756
{ (exit 1); exit 1; }; }
1759
# These three variables are undocumented and unsupported,
1760
# and are intended to be withdrawn in a future Autoconf release.
1761
# They can cause serious problems if a builder's source tree is in a directory
1762
# whose full name contains unusual characters.
1763
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1764
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1765
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1768
# Find a good install program. We prefer a C program (faster),
1769
# so one script is as good as another. But avoid the broken or
1770
# incompatible versions:
1771
# SysV /etc/install, /usr/sbin/install
1772
# SunOS /usr/etc/install
1773
# IRIX /sbin/install
1775
# AmigaOS /C/install, which installs bootblocks on floppy discs
1776
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1777
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1778
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1779
# OS/2's system install, which has a completely different semantic
1780
# ./install, which can be erroneously created by make from ./install.sh.
1781
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1782
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1783
if test -z "$INSTALL"; then
1784
if test "${ac_cv_path_install+set}" = set; then
1785
echo $ECHO_N "(cached) $ECHO_C" >&6
1787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791
test -z "$as_dir" && as_dir=.
1792
# Account for people who put trailing slashes in PATH elements.
1794
./ | .// | /cC/* | \
1795
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1796
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1799
# OSF1 and SCO ODT 3.0 have their own names for install.
1800
# Don't use installbsd from OSF since it installs stuff as root
1802
for ac_prog in ginstall scoinst install; do
1803
for ac_exec_ext in '' $ac_executable_extensions; do
1804
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1805
if test $ac_prog = install &&
1806
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1807
# AIX install. It has an incompatible calling convention.
1809
elif test $ac_prog = install &&
1810
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1811
# program-specific install script used by HP pwplus--don't use.
1814
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1827
if test "${ac_cv_path_install+set}" = set; then
1828
INSTALL=$ac_cv_path_install
1830
# As a last resort, use the slow shell script. Don't cache a
1831
# value for INSTALL within a source directory, because that will
1832
# break other packages using the cache if that directory is
1833
# removed, or if the value is a relative name.
1834
INSTALL=$ac_install_sh
1837
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1838
echo "${ECHO_T}$INSTALL" >&6; }
1840
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1841
# It thinks the first close brace ends the variable substitution.
1842
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1844
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1846
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1848
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1849
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1852
echo timestamp > conftest.file
1853
# Do `set' in a subshell so we don't clobber the current shell's
1854
# arguments. Must try -L first in case configure is actually a
1855
# symlink; some systems play weird games with the mod time of symlinks
1856
# (eg FreeBSD returns the mod time of the symlink's containing
1859
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1860
if test "$*" = "X"; then
1862
set X `ls -t $srcdir/configure conftest.file`
1865
if test "$*" != "X $srcdir/configure conftest.file" \
1866
&& test "$*" != "X conftest.file $srcdir/configure"; then
1868
# If neither matched, then we have a broken ls. This can happen
1869
# if, for instance, CONFIG_SHELL is bash and it inherits a
1870
# broken ls alias from the environment. This has actually
1871
# happened. Such a system could not be considered "sane".
1872
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1873
alias in your environment" >&5
1874
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1875
alias in your environment" >&2;}
1876
{ (exit 1); exit 1; }; }
1879
test "$2" = conftest.file
1885
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1886
Check your system clock" >&5
1887
echo "$as_me: error: newly created file is older than distributed files!
1888
Check your system clock" >&2;}
1889
{ (exit 1); exit 1; }; }
1891
{ echo "$as_me:$LINENO: result: yes" >&5
1892
echo "${ECHO_T}yes" >&6; }
1893
test "$program_prefix" != NONE &&
1894
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1895
# Use a double $ so make ignores it.
1896
test "$program_suffix" != NONE &&
1897
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1898
# Double any \ or $. echo might interpret backslashes.
1899
# By default was `s,x,x', remove it if useless.
1900
cat <<\_ACEOF >conftest.sed
1901
s/[\\$]/&&/g;s/;s,x,x,$//
1903
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906
# expand $ac_aux_dir to an absolute path
1907
am_aux_dir=`cd $ac_aux_dir && pwd`
1909
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1910
# Use eval to expand $SHELL
1911
if eval "$MISSING --run true"; then
1912
am_missing_run="$MISSING --run "
1915
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1916
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1919
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1920
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1921
if test -z "$MKDIR_P"; then
1922
if test "${ac_cv_path_mkdir+set}" = set; then
1923
echo $ECHO_N "(cached) $ECHO_C" >&6
1925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1929
test -z "$as_dir" && as_dir=.
1930
for ac_prog in mkdir gmkdir; do
1931
for ac_exec_ext in '' $ac_executable_extensions; do
1932
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1933
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1934
'mkdir (GNU coreutils) '* | \
1935
'mkdir (coreutils) '* | \
1936
'mkdir (fileutils) '4.1*)
1937
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1947
if test "${ac_cv_path_mkdir+set}" = set; then
1948
MKDIR_P="$ac_cv_path_mkdir -p"
1950
# As a last resort, use the slow shell script. Don't cache a
1951
# value for MKDIR_P within a source directory, because that will
1952
# break other packages using the cache if that directory is
1953
# removed, or if the value is a relative name.
1954
test -d ./--version && rmdir ./--version
1955
MKDIR_P="$ac_install_sh -d"
1958
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1959
echo "${ECHO_T}$MKDIR_P" >&6; }
1963
[\\/$]* | ?:[\\/]*) ;;
1964
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1967
for ac_prog in gawk mawk nawk awk
1969
# Extract the first word of "$ac_prog", so it can be a program name with args.
1970
set dummy $ac_prog; ac_word=$2
1971
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1972
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1973
if test "${ac_cv_prog_AWK+set}" = set; then
1974
echo $ECHO_N "(cached) $ECHO_C" >&6
1976
if test -n "$AWK"; then
1977
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1979
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983
test -z "$as_dir" && as_dir=.
1984
for ac_exec_ext in '' $ac_executable_extensions; do
1985
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1986
ac_cv_prog_AWK="$ac_prog"
1987
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1997
if test -n "$AWK"; then
1998
{ echo "$as_me:$LINENO: result: $AWK" >&5
1999
echo "${ECHO_T}$AWK" >&6; }
2001
{ echo "$as_me:$LINENO: result: no" >&5
2002
echo "${ECHO_T}no" >&6; }
2006
test -n "$AWK" && break
2009
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013
echo $ECHO_N "(cached) $ECHO_C" >&6
2015
cat >conftest.make <<\_ACEOF
2018
@echo '@@@%%%=$(MAKE)=@@@%%%'
2020
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2023
eval ac_cv_prog_make_${ac_make}_set=yes;;
2025
eval ac_cv_prog_make_${ac_make}_set=no;;
2029
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030
{ echo "$as_me:$LINENO: result: yes" >&5
2031
echo "${ECHO_T}yes" >&6; }
2034
{ echo "$as_me:$LINENO: result: no" >&5
2035
echo "${ECHO_T}no" >&6; }
2036
SET_MAKE="MAKE=${MAKE-make}"
2039
rm -rf .tst 2>/dev/null
2040
mkdir .tst 2>/dev/null
2041
if test -d .tst; then
2046
rmdir .tst 2>/dev/null
2048
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2049
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2050
# is not polluted with repeated "-I."
2051
am__isrc=' -I$(srcdir)'
2052
# test to see if srcdir already configured
2053
if test -f $srcdir/config.status; then
2054
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2055
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2056
{ (exit 1); exit 1; }; }
2060
# test whether we have cygpath
2061
if test -z "$CYGPATH_W"; then
2062
if (cygpath --version) >/dev/null 2>/dev/null; then
2063
CYGPATH_W='cygpath -w'
2070
# Define the identity of the package.
2075
cat >>confdefs.h <<_ACEOF
2076
#define PACKAGE "$PACKAGE"
2080
cat >>confdefs.h <<_ACEOF
2081
#define VERSION "$VERSION"
2084
# Some tools Automake needs.
2086
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2089
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2092
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2095
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2098
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2100
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2102
# Installed binaries are usually stripped using `strip' when the user
2103
# run `make install-strip'. However `strip' might not be the right
2104
# tool to use in cross-compilation environments, therefore Automake
2105
# will honor the `STRIP' environment variable to overrule this program.
2106
if test "$cross_compiling" != no; then
2107
if test -n "$ac_tool_prefix"; then
2108
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2109
set dummy ${ac_tool_prefix}strip; ac_word=$2
2110
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2111
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2112
if test "${ac_cv_prog_STRIP+set}" = set; then
2113
echo $ECHO_N "(cached) $ECHO_C" >&6
2115
if test -n "$STRIP"; then
2116
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122
test -z "$as_dir" && as_dir=.
2123
for ac_exec_ext in '' $ac_executable_extensions; do
2124
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2125
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2126
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135
STRIP=$ac_cv_prog_STRIP
2136
if test -n "$STRIP"; then
2137
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2138
echo "${ECHO_T}$STRIP" >&6; }
2140
{ echo "$as_me:$LINENO: result: no" >&5
2141
echo "${ECHO_T}no" >&6; }
2146
if test -z "$ac_cv_prog_STRIP"; then
2148
# Extract the first word of "strip", so it can be a program name with args.
2149
set dummy strip; ac_word=$2
2150
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2151
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2152
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2153
echo $ECHO_N "(cached) $ECHO_C" >&6
2155
if test -n "$ac_ct_STRIP"; then
2156
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162
test -z "$as_dir" && as_dir=.
2163
for ac_exec_ext in '' $ac_executable_extensions; do
2164
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165
ac_cv_prog_ac_ct_STRIP="strip"
2166
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2176
if test -n "$ac_ct_STRIP"; then
2177
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2178
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2180
{ echo "$as_me:$LINENO: result: no" >&5
2181
echo "${ECHO_T}no" >&6; }
2184
if test "x$ac_ct_STRIP" = x; then
2187
case $cross_compiling:$ac_tool_warned in
2189
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2190
whose name does not start with the host triplet. If you think this
2191
configuration is useful to you, please write to autoconf@gnu.org." >&5
2192
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2193
whose name does not start with the host triplet. If you think this
2194
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2195
ac_tool_warned=yes ;;
2200
STRIP="$ac_cv_prog_STRIP"
2204
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2206
# We need awk for the "check" target. The system "awk" is bad on
2208
# Always define AMTAR for backward compatibility.
2210
AMTAR=${AMTAR-"${am_missing_run}tar"}
2212
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2218
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2219
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2220
# Check whether --enable-maintainer-mode was given.
2221
if test "${enable_maintainer_mode+set}" = set; then
2222
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2224
USE_MAINTAINER_MODE=no
2227
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2228
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2229
if test $USE_MAINTAINER_MODE = yes; then
2230
MAINTAINER_MODE_TRUE=
2231
MAINTAINER_MODE_FALSE='#'
2233
MAINTAINER_MODE_TRUE='#'
2234
MAINTAINER_MODE_FALSE=
2237
MAINT=$MAINTAINER_MODE_TRUE
2241
ac_config_headers="$ac_config_headers config.h"
2245
ac_cpp='$CPP $CPPFLAGS'
2246
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2247
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2248
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2249
if test -n "$ac_tool_prefix"; then
2250
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2251
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2252
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2253
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254
if test "${ac_cv_prog_CC+set}" = set; then
2255
echo $ECHO_N "(cached) $ECHO_C" >&6
2257
if test -n "$CC"; then
2258
ac_cv_prog_CC="$CC" # Let the user override the test.
2260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264
test -z "$as_dir" && as_dir=.
2265
for ac_exec_ext in '' $ac_executable_extensions; do
2266
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2268
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278
if test -n "$CC"; then
2279
{ echo "$as_me:$LINENO: result: $CC" >&5
2280
echo "${ECHO_T}$CC" >&6; }
2282
{ echo "$as_me:$LINENO: result: no" >&5
2283
echo "${ECHO_T}no" >&6; }
2288
if test -z "$ac_cv_prog_CC"; then
2290
# Extract the first word of "gcc", so it can be a program name with args.
2291
set dummy gcc; ac_word=$2
2292
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2293
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2295
echo $ECHO_N "(cached) $ECHO_C" >&6
2297
if test -n "$ac_ct_CC"; then
2298
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304
test -z "$as_dir" && as_dir=.
2305
for ac_exec_ext in '' $ac_executable_extensions; do
2306
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307
ac_cv_prog_ac_ct_CC="gcc"
2308
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2318
if test -n "$ac_ct_CC"; then
2319
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2320
echo "${ECHO_T}$ac_ct_CC" >&6; }
2322
{ echo "$as_me:$LINENO: result: no" >&5
2323
echo "${ECHO_T}no" >&6; }
2326
if test "x$ac_ct_CC" = x; then
2329
case $cross_compiling:$ac_tool_warned in
2331
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332
whose name does not start with the host triplet. If you think this
2333
configuration is useful to you, please write to autoconf@gnu.org." >&5
2334
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335
whose name does not start with the host triplet. If you think this
2336
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337
ac_tool_warned=yes ;;
2345
if test -z "$CC"; then
2346
if test -n "$ac_tool_prefix"; then
2347
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2348
set dummy ${ac_tool_prefix}cc; ac_word=$2
2349
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2351
if test "${ac_cv_prog_CC+set}" = set; then
2352
echo $ECHO_N "(cached) $ECHO_C" >&6
2354
if test -n "$CC"; then
2355
ac_cv_prog_CC="$CC" # Let the user override the test.
2357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361
test -z "$as_dir" && as_dir=.
2362
for ac_exec_ext in '' $ac_executable_extensions; do
2363
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364
ac_cv_prog_CC="${ac_tool_prefix}cc"
2365
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375
if test -n "$CC"; then
2376
{ echo "$as_me:$LINENO: result: $CC" >&5
2377
echo "${ECHO_T}$CC" >&6; }
2379
{ echo "$as_me:$LINENO: result: no" >&5
2380
echo "${ECHO_T}no" >&6; }
2386
if test -z "$CC"; then
2387
# Extract the first word of "cc", so it can be a program name with args.
2388
set dummy cc; ac_word=$2
2389
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2390
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391
if test "${ac_cv_prog_CC+set}" = set; then
2392
echo $ECHO_N "(cached) $ECHO_C" >&6
2394
if test -n "$CC"; then
2395
ac_cv_prog_CC="$CC" # Let the user override the test.
2398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402
test -z "$as_dir" && as_dir=.
2403
for ac_exec_ext in '' $ac_executable_extensions; do
2404
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2405
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2406
ac_prog_rejected=yes
2410
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417
if test $ac_prog_rejected = yes; then
2418
# We found a bogon in the path, so make sure we never use it.
2419
set dummy $ac_cv_prog_CC
2421
if test $# != 0; then
2422
# We chose a different compiler from the bogus one.
2423
# However, it has the same basename, so the bogon will be chosen
2424
# first if we set CC to just the basename; use the full file name.
2426
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2432
if test -n "$CC"; then
2433
{ echo "$as_me:$LINENO: result: $CC" >&5
2434
echo "${ECHO_T}$CC" >&6; }
2436
{ echo "$as_me:$LINENO: result: no" >&5
2437
echo "${ECHO_T}no" >&6; }
2442
if test -z "$CC"; then
2443
if test -n "$ac_tool_prefix"; then
2444
for ac_prog in cl.exe
2446
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2447
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2448
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2449
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2450
if test "${ac_cv_prog_CC+set}" = set; then
2451
echo $ECHO_N "(cached) $ECHO_C" >&6
2453
if test -n "$CC"; then
2454
ac_cv_prog_CC="$CC" # Let the user override the test.
2456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460
test -z "$as_dir" && as_dir=.
2461
for ac_exec_ext in '' $ac_executable_extensions; do
2462
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2464
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2474
if test -n "$CC"; then
2475
{ echo "$as_me:$LINENO: result: $CC" >&5
2476
echo "${ECHO_T}$CC" >&6; }
2478
{ echo "$as_me:$LINENO: result: no" >&5
2479
echo "${ECHO_T}no" >&6; }
2483
test -n "$CC" && break
2486
if test -z "$CC"; then
2488
for ac_prog in cl.exe
2490
# Extract the first word of "$ac_prog", so it can be a program name with args.
2491
set dummy $ac_prog; ac_word=$2
2492
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2493
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2494
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2495
echo $ECHO_N "(cached) $ECHO_C" >&6
2497
if test -n "$ac_ct_CC"; then
2498
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2500
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504
test -z "$as_dir" && as_dir=.
2505
for ac_exec_ext in '' $ac_executable_extensions; do
2506
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507
ac_cv_prog_ac_ct_CC="$ac_prog"
2508
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2518
if test -n "$ac_ct_CC"; then
2519
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2520
echo "${ECHO_T}$ac_ct_CC" >&6; }
2522
{ echo "$as_me:$LINENO: result: no" >&5
2523
echo "${ECHO_T}no" >&6; }
2527
test -n "$ac_ct_CC" && break
2530
if test "x$ac_ct_CC" = x; then
2533
case $cross_compiling:$ac_tool_warned in
2535
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2536
whose name does not start with the host triplet. If you think this
2537
configuration is useful to you, please write to autoconf@gnu.org." >&5
2538
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2539
whose name does not start with the host triplet. If you think this
2540
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2541
ac_tool_warned=yes ;;
2550
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2551
See \`config.log' for more details." >&5
2552
echo "$as_me: error: no acceptable C compiler found in \$PATH
2553
See \`config.log' for more details." >&2;}
2554
{ (exit 1); exit 1; }; }
2556
# Provide some information about the compiler.
2557
echo "$as_me:$LINENO: checking for C compiler version" >&5
2558
ac_compiler=`set X $ac_compile; echo $2`
2559
{ (ac_try="$ac_compiler --version >&5"
2561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562
*) ac_try_echo=$ac_try;;
2564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2565
(eval "$ac_compiler --version >&5") 2>&5
2567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
(exit $ac_status); }
2569
{ (ac_try="$ac_compiler -v >&5"
2571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572
*) ac_try_echo=$ac_try;;
2574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2575
(eval "$ac_compiler -v >&5") 2>&5
2577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578
(exit $ac_status); }
2579
{ (ac_try="$ac_compiler -V >&5"
2581
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582
*) ac_try_echo=$ac_try;;
2584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2585
(eval "$ac_compiler -V >&5") 2>&5
2587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588
(exit $ac_status); }
2590
cat >conftest.$ac_ext <<_ACEOF
2593
cat confdefs.h >>conftest.$ac_ext
2594
cat >>conftest.$ac_ext <<_ACEOF
2595
/* end confdefs.h. */
2605
ac_clean_files_save=$ac_clean_files
2606
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2607
# Try to create an executable without -o first, disregard a.out.
2608
# It will help us diagnose broken compilers, and finding out an intuition
2610
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2611
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2612
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2614
# List of possible output files, starting from the most likely.
2615
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2616
# only as a last resort. b.out is created by i960 compilers.
2617
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2619
# The IRIX 6 linker writes into existing files which may not be
2620
# executable, retaining their permissions. Remove them first so a
2621
# subsequent execution test works.
2623
for ac_file in $ac_files
2626
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2627
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2632
if { (ac_try="$ac_link_default"
2634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635
*) ac_try_echo=$ac_try;;
2637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2638
(eval "$ac_link_default") 2>&5
2640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641
(exit $ac_status); }; then
2642
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2643
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2644
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2645
# so that the user can short-circuit this test for compilers unknown to
2647
for ac_file in $ac_files ''
2649
test -f "$ac_file" || continue
2651
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2654
# We found the default executable, but exeext='' is most
2658
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2660
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2662
# We set ac_cv_exeext here because the later test for it is not
2663
# safe: cross compilers may not add the suffix if given an `-o'
2664
# argument, so we may need to know it at that point already.
2665
# Even if this section looks crufty: it has the advantage of
2672
test "$ac_cv_exeext" = no && ac_cv_exeext=
2678
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2679
echo "${ECHO_T}$ac_file" >&6; }
2680
if test -z "$ac_file"; then
2681
echo "$as_me: failed program was:" >&5
2682
sed 's/^/| /' conftest.$ac_ext >&5
2684
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2685
See \`config.log' for more details." >&5
2686
echo "$as_me: error: C compiler cannot create executables
2687
See \`config.log' for more details." >&2;}
2688
{ (exit 77); exit 77; }; }
2691
ac_exeext=$ac_cv_exeext
2693
# Check that the compiler produces executables we can run. If not, either
2694
# the compiler is broken, or we cross compile.
2695
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2696
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2697
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2698
# If not cross compiling, check that we can run a simple program.
2699
if test "$cross_compiling" != yes; then
2700
if { ac_try='./$ac_file'
2701
{ (case "(($ac_try" in
2702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703
*) ac_try_echo=$ac_try;;
2705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2706
(eval "$ac_try") 2>&5
2708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
(exit $ac_status); }; }; then
2712
if test "$cross_compiling" = maybe; then
2715
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2716
If you meant to cross compile, use \`--host'.
2717
See \`config.log' for more details." >&5
2718
echo "$as_me: error: cannot run C compiled programs.
2719
If you meant to cross compile, use \`--host'.
2720
See \`config.log' for more details." >&2;}
2721
{ (exit 1); exit 1; }; }
2725
{ echo "$as_me:$LINENO: result: yes" >&5
2726
echo "${ECHO_T}yes" >&6; }
2728
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2729
ac_clean_files=$ac_clean_files_save
2730
# Check that the compiler produces executables we can run. If not, either
2731
# the compiler is broken, or we cross compile.
2732
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2733
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2734
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2735
echo "${ECHO_T}$cross_compiling" >&6; }
2737
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2738
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2739
if { (ac_try="$ac_link"
2741
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742
*) ac_try_echo=$ac_try;;
2744
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745
(eval "$ac_link") 2>&5
2747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748
(exit $ac_status); }; then
2749
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2750
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2751
# work properly (i.e., refer to `conftest.exe'), while it won't with
2753
for ac_file in conftest.exe conftest conftest.*; do
2754
test -f "$ac_file" || continue
2756
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2757
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2763
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2764
See \`config.log' for more details." >&5
2765
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2766
See \`config.log' for more details." >&2;}
2767
{ (exit 1); exit 1; }; }
2770
rm -f conftest$ac_cv_exeext
2771
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2772
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2774
rm -f conftest.$ac_ext
2775
EXEEXT=$ac_cv_exeext
2777
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2778
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2779
if test "${ac_cv_objext+set}" = set; then
2780
echo $ECHO_N "(cached) $ECHO_C" >&6
2782
cat >conftest.$ac_ext <<_ACEOF
2785
cat confdefs.h >>conftest.$ac_ext
2786
cat >>conftest.$ac_ext <<_ACEOF
2787
/* end confdefs.h. */
2797
rm -f conftest.o conftest.obj
2798
if { (ac_try="$ac_compile"
2800
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801
*) ac_try_echo=$ac_try;;
2803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2804
(eval "$ac_compile") 2>&5
2806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807
(exit $ac_status); }; then
2808
for ac_file in conftest.o conftest.obj conftest.*; do
2809
test -f "$ac_file" || continue;
2811
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2812
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2817
echo "$as_me: failed program was:" >&5
2818
sed 's/^/| /' conftest.$ac_ext >&5
2820
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2821
See \`config.log' for more details." >&5
2822
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2823
See \`config.log' for more details." >&2;}
2824
{ (exit 1); exit 1; }; }
2827
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2829
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2830
echo "${ECHO_T}$ac_cv_objext" >&6; }
2831
OBJEXT=$ac_cv_objext
2833
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2834
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2835
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2836
echo $ECHO_N "(cached) $ECHO_C" >&6
2838
cat >conftest.$ac_ext <<_ACEOF
2841
cat confdefs.h >>conftest.$ac_ext
2842
cat >>conftest.$ac_ext <<_ACEOF
2843
/* end confdefs.h. */
2856
rm -f conftest.$ac_objext
2857
if { (ac_try="$ac_compile"
2859
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860
*) ac_try_echo=$ac_try;;
2862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2863
(eval "$ac_compile") 2>conftest.er1
2865
grep -v '^ *+' conftest.er1 >conftest.err
2867
cat conftest.err >&5
2868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869
(exit $ac_status); } && {
2870
test -z "$ac_c_werror_flag" ||
2871
test ! -s conftest.err
2872
} && test -s conftest.$ac_objext; then
2875
echo "$as_me: failed program was:" >&5
2876
sed 's/^/| /' conftest.$ac_ext >&5
2881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2885
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2886
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2887
GCC=`test $ac_compiler_gnu = yes && echo yes`
2888
ac_test_CFLAGS=${CFLAGS+set}
2889
ac_save_CFLAGS=$CFLAGS
2890
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2891
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2892
if test "${ac_cv_prog_cc_g+set}" = set; then
2893
echo $ECHO_N "(cached) $ECHO_C" >&6
2895
ac_save_c_werror_flag=$ac_c_werror_flag
2896
ac_c_werror_flag=yes
2899
cat >conftest.$ac_ext <<_ACEOF
2902
cat confdefs.h >>conftest.$ac_ext
2903
cat >>conftest.$ac_ext <<_ACEOF
2904
/* end confdefs.h. */
2914
rm -f conftest.$ac_objext
2915
if { (ac_try="$ac_compile"
2917
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918
*) ac_try_echo=$ac_try;;
2920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921
(eval "$ac_compile") 2>conftest.er1
2923
grep -v '^ *+' conftest.er1 >conftest.err
2925
cat conftest.err >&5
2926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927
(exit $ac_status); } && {
2928
test -z "$ac_c_werror_flag" ||
2929
test ! -s conftest.err
2930
} && test -s conftest.$ac_objext; then
2933
echo "$as_me: failed program was:" >&5
2934
sed 's/^/| /' conftest.$ac_ext >&5
2937
cat >conftest.$ac_ext <<_ACEOF
2940
cat confdefs.h >>conftest.$ac_ext
2941
cat >>conftest.$ac_ext <<_ACEOF
2942
/* end confdefs.h. */
2952
rm -f conftest.$ac_objext
2953
if { (ac_try="$ac_compile"
2955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956
*) ac_try_echo=$ac_try;;
2958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959
(eval "$ac_compile") 2>conftest.er1
2961
grep -v '^ *+' conftest.er1 >conftest.err
2963
cat conftest.err >&5
2964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
(exit $ac_status); } && {
2966
test -z "$ac_c_werror_flag" ||
2967
test ! -s conftest.err
2968
} && test -s conftest.$ac_objext; then
2971
echo "$as_me: failed program was:" >&5
2972
sed 's/^/| /' conftest.$ac_ext >&5
2974
ac_c_werror_flag=$ac_save_c_werror_flag
2976
cat >conftest.$ac_ext <<_ACEOF
2979
cat confdefs.h >>conftest.$ac_ext
2980
cat >>conftest.$ac_ext <<_ACEOF
2981
/* end confdefs.h. */
2991
rm -f conftest.$ac_objext
2992
if { (ac_try="$ac_compile"
2994
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995
*) ac_try_echo=$ac_try;;
2997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2998
(eval "$ac_compile") 2>conftest.er1
3000
grep -v '^ *+' conftest.er1 >conftest.err
3002
cat conftest.err >&5
3003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004
(exit $ac_status); } && {
3005
test -z "$ac_c_werror_flag" ||
3006
test ! -s conftest.err
3007
} && test -s conftest.$ac_objext; then
3010
echo "$as_me: failed program was:" >&5
3011
sed 's/^/| /' conftest.$ac_ext >&5
3016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023
ac_c_werror_flag=$ac_save_c_werror_flag
3025
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3026
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3027
if test "$ac_test_CFLAGS" = set; then
3028
CFLAGS=$ac_save_CFLAGS
3029
elif test $ac_cv_prog_cc_g = yes; then
3030
if test "$GCC" = yes; then
3036
if test "$GCC" = yes; then
3042
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3043
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3044
if test "${ac_cv_prog_cc_c89+set}" = set; then
3045
echo $ECHO_N "(cached) $ECHO_C" >&6
3047
ac_cv_prog_cc_c89=no
3049
cat >conftest.$ac_ext <<_ACEOF
3052
cat confdefs.h >>conftest.$ac_ext
3053
cat >>conftest.$ac_ext <<_ACEOF
3054
/* end confdefs.h. */
3057
#include <sys/types.h>
3058
#include <sys/stat.h>
3059
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3060
struct buf { int x; };
3061
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3062
static char *e (p, i)
3068
static char *f (char * (*g) (char **, int), char **p, ...)
3073
s = g (p, va_arg (v,int));
3078
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3079
function prototypes and stuff, but not '\xHH' hex character constants.
3080
These don't provoke an error unfortunately, instead are silently treated
3081
as 'x'. The following induces an error, until -std is added to get
3082
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3083
array size at least. It's necessary to write '\x00'==0 to get something
3084
that's true only with -std. */
3085
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3087
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3088
inside strings and character constants. */
3090
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3092
int test (int i, double x);
3093
struct s1 {int (*f) (int a);};
3094
struct s2 {int (*f) (double a);};
3095
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3101
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3106
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3107
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3109
CC="$ac_save_CC $ac_arg"
3110
rm -f conftest.$ac_objext
3111
if { (ac_try="$ac_compile"
3113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114
*) ac_try_echo=$ac_try;;
3116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3117
(eval "$ac_compile") 2>conftest.er1
3119
grep -v '^ *+' conftest.er1 >conftest.err
3121
cat conftest.err >&5
3122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123
(exit $ac_status); } && {
3124
test -z "$ac_c_werror_flag" ||
3125
test ! -s conftest.err
3126
} && test -s conftest.$ac_objext; then
3127
ac_cv_prog_cc_c89=$ac_arg
3129
echo "$as_me: failed program was:" >&5
3130
sed 's/^/| /' conftest.$ac_ext >&5
3135
rm -f core conftest.err conftest.$ac_objext
3136
test "x$ac_cv_prog_cc_c89" != "xno" && break
3138
rm -f conftest.$ac_ext
3143
case "x$ac_cv_prog_cc_c89" in
3145
{ echo "$as_me:$LINENO: result: none needed" >&5
3146
echo "${ECHO_T}none needed" >&6; } ;;
3148
{ echo "$as_me:$LINENO: result: unsupported" >&5
3149
echo "${ECHO_T}unsupported" >&6; } ;;
3151
CC="$CC $ac_cv_prog_cc_c89"
3152
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3153
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3158
ac_cpp='$CPP $CPPFLAGS'
3159
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3162
DEPDIR="${am__leading_dot}deps"
3164
ac_config_commands="$ac_config_commands depfiles"
3167
am_make=${MAKE-make}
3168
cat > confinc << 'END'
3173
# If we don't find an include directive, just comment out the code.
3174
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3175
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3179
# First try GNU make style include.
3180
echo "include confinc" > confmf
3181
# We grep out `Entering directory' and `Leaving directory'
3182
# messages which can occur if `w' ends up in MAKEFLAGS.
3183
# In particular we don't look at `^make:' because GNU make might
3184
# be invoked under some other name (usually "gmake"), in which
3185
# case it prints its new name instead of `make'.
3186
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3191
# Now try BSD make style include.
3192
if test "$am__include" = "#"; then
3193
echo '.include "confinc"' > confmf
3194
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3195
am__include=.include
3202
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3203
echo "${ECHO_T}$_am_result" >&6; }
3204
rm -f confinc confmf
3206
# Check whether --enable-dependency-tracking was given.
3207
if test "${enable_dependency_tracking+set}" = set; then
3208
enableval=$enable_dependency_tracking;
3211
if test "x$enable_dependency_tracking" != xno; then
3212
am_depcomp="$ac_aux_dir/depcomp"
3215
if test "x$enable_dependency_tracking" != xno; then
3225
depcc="$CC" am_compiler_list=
3227
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3228
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3229
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3230
echo $ECHO_N "(cached) $ECHO_C" >&6
3232
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3233
# We make a subdir and do the tests there. Otherwise we can end up
3234
# making bogus files that we don't know about and never remove. For
3235
# instance it was reported that on HP-UX the gcc test will end up
3236
# making a dummy file named `D' -- because `-MD' means `put the output
3239
# Copy depcomp to subdir because otherwise we won't find it if we're
3240
# using a relative directory.
3241
cp "$am_depcomp" conftest.dir
3243
# We will build objects and dependencies in a subdirectory because
3244
# it helps to detect inapplicable dependency modes. For instance
3245
# both Tru64's cc and ICC support -MD to output dependencies as a
3246
# side effect of compilation, but ICC will put the dependencies in
3247
# the current directory while Tru64 will put them in the object
3251
am_cv_CC_dependencies_compiler_type=none
3252
if test "$am_compiler_list" = ""; then
3253
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3255
for depmode in $am_compiler_list; do
3256
# Setup a source with many dependencies, because some compilers
3257
# like to wrap large dependency lists on column 80 (with \), and
3258
# we should not choose a depcomp mode which is confused by this.
3260
# We need to recreate these files for each test, as the compiler may
3261
# overwrite some of them when testing with obscure command lines.
3262
# This happens at least with the AIX C compiler.
3264
for i in 1 2 3 4 5 6; do
3265
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3266
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3267
# Solaris 8's {/usr,}/bin/sh.
3268
touch sub/conftst$i.h
3270
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3274
# after this tag, mechanisms are not by side-effect, so they'll
3275
# only be used when explicitly requested
3276
if test "x$enable_dependency_tracking" = xyes; then
3284
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3285
# mode. It turns out that the SunPro C++ compiler does not properly
3286
# handle `-M -o', and we need to detect this.
3287
if depmode=$depmode \
3288
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3289
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3290
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3291
>/dev/null 2>conftest.err &&
3292
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3293
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3294
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3295
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3296
# icc doesn't choke on unknown options, it will just issue warnings
3297
# or remarks (even with -Werror). So we grep stderr for any message
3298
# that says an option was ignored or not supported.
3299
# When given -MP, icc 7.0 and 7.1 complain thusly:
3300
# icc: Command line warning: ignoring option '-M'; no argument required
3301
# The diagnosis changed in icc 8.0:
3302
# icc: Command line remark: option '-MP' not supported
3303
if (grep 'ignoring option' conftest.err ||
3304
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3305
am_cv_CC_dependencies_compiler_type=$depmode
3314
am_cv_CC_dependencies_compiler_type=none
3318
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3319
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3320
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3323
test "x$enable_dependency_tracking" != xno \
3324
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3326
am__fastdepCC_FALSE='#'
3328
am__fastdepCC_TRUE='#'
3329
am__fastdepCC_FALSE=
3333
# Find a good install program. We prefer a C program (faster),
3334
# so one script is as good as another. But avoid the broken or
3335
# incompatible versions:
3336
# SysV /etc/install, /usr/sbin/install
3337
# SunOS /usr/etc/install
3338
# IRIX /sbin/install
3340
# AmigaOS /C/install, which installs bootblocks on floppy discs
3341
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3342
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3343
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3344
# OS/2's system install, which has a completely different semantic
3345
# ./install, which can be erroneously created by make from ./install.sh.
3346
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3347
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3348
if test -z "$INSTALL"; then
3349
if test "${ac_cv_path_install+set}" = set; then
3350
echo $ECHO_N "(cached) $ECHO_C" >&6
3352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356
test -z "$as_dir" && as_dir=.
3357
# Account for people who put trailing slashes in PATH elements.
3359
./ | .// | /cC/* | \
3360
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3361
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3364
# OSF1 and SCO ODT 3.0 have their own names for install.
3365
# Don't use installbsd from OSF since it installs stuff as root
3367
for ac_prog in ginstall scoinst install; do
3368
for ac_exec_ext in '' $ac_executable_extensions; do
3369
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3370
if test $ac_prog = install &&
3371
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3372
# AIX install. It has an incompatible calling convention.
3374
elif test $ac_prog = install &&
3375
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3376
# program-specific install script used by HP pwplus--don't use.
3379
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3392
if test "${ac_cv_path_install+set}" = set; then
3393
INSTALL=$ac_cv_path_install
3395
# As a last resort, use the slow shell script. Don't cache a
3396
# value for INSTALL within a source directory, because that will
3397
# break other packages using the cache if that directory is
3398
# removed, or if the value is a relative name.
3399
INSTALL=$ac_install_sh
3402
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3403
echo "${ECHO_T}$INSTALL" >&6; }
3405
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3406
# It thinks the first close brace ends the variable substitution.
3407
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3409
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3411
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3416
for ac_func in strncasecmp
3418
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3419
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
3420
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3421
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3422
echo $ECHO_N "(cached) $ECHO_C" >&6
3424
cat >conftest.$ac_ext <<_ACEOF
3427
cat confdefs.h >>conftest.$ac_ext
3428
cat >>conftest.$ac_ext <<_ACEOF
3429
/* end confdefs.h. */
3430
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3431
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3432
#define $ac_func innocuous_$ac_func
3434
/* System header to define __stub macros and hopefully few prototypes,
3435
which can conflict with char $ac_func (); below.
3436
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3437
<limits.h> exists even on freestanding compilers. */
3440
# include <limits.h>
3442
# include <assert.h>
3447
/* Override any GCC internal prototype to avoid an error.
3448
Use char because int might match the return type of a GCC
3449
builtin and then its argument prototype would still apply. */
3454
/* The GNU C library defines this for functions which it implements
3455
to always fail with ENOSYS. Some functions are actually named
3456
something starting with __ and the normal name is an alias. */
3457
#if defined __stub_$ac_func || defined __stub___$ac_func
3469
rm -f conftest.$ac_objext conftest$ac_exeext
3470
if { (ac_try="$ac_link"
3472
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473
*) ac_try_echo=$ac_try;;
3475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3476
(eval "$ac_link") 2>conftest.er1
3478
grep -v '^ *+' conftest.er1 >conftest.err
3480
cat conftest.err >&5
3481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
(exit $ac_status); } && {
3483
test -z "$ac_c_werror_flag" ||
3484
test ! -s conftest.err
3485
} && test -s conftest$ac_exeext &&
3486
$as_test_x conftest$ac_exeext; then
3487
eval "$as_ac_var=yes"
3489
echo "$as_me: failed program was:" >&5
3490
sed 's/^/| /' conftest.$ac_ext >&5
3492
eval "$as_ac_var=no"
3495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3496
conftest$ac_exeext conftest.$ac_ext
3498
ac_res=`eval echo '${'$as_ac_var'}'`
3499
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3500
echo "${ECHO_T}$ac_res" >&6; }
3501
if test `eval echo '${'$as_ac_var'}'` = yes; then
3502
cat >>confdefs.h <<_ACEOF
3503
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3510
# Checks for pkg-config packages
3513
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3514
if test -n "$ac_tool_prefix"; then
3515
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3516
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3517
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3518
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3519
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3520
echo $ECHO_N "(cached) $ECHO_C" >&6
3524
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3527
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531
test -z "$as_dir" && as_dir=.
3532
for ac_exec_ext in '' $ac_executable_extensions; do
3533
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3535
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3545
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3546
if test -n "$PKG_CONFIG"; then
3547
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3548
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3550
{ echo "$as_me:$LINENO: result: no" >&5
3551
echo "${ECHO_T}no" >&6; }
3556
if test -z "$ac_cv_path_PKG_CONFIG"; then
3557
ac_pt_PKG_CONFIG=$PKG_CONFIG
3558
# Extract the first word of "pkg-config", so it can be a program name with args.
3559
set dummy pkg-config; ac_word=$2
3560
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3561
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3562
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3563
echo $ECHO_N "(cached) $ECHO_C" >&6
3565
case $ac_pt_PKG_CONFIG in
3567
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574
test -z "$as_dir" && as_dir=.
3575
for ac_exec_ext in '' $ac_executable_extensions; do
3576
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3577
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3578
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3588
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3589
if test -n "$ac_pt_PKG_CONFIG"; then
3590
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3591
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3593
{ echo "$as_me:$LINENO: result: no" >&5
3594
echo "${ECHO_T}no" >&6; }
3597
if test "x$ac_pt_PKG_CONFIG" = x; then
3600
case $cross_compiling:$ac_tool_warned in
3602
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3603
whose name does not start with the host triplet. If you think this
3604
configuration is useful to you, please write to autoconf@gnu.org." >&5
3605
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3606
whose name does not start with the host triplet. If you think this
3607
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3608
ac_tool_warned=yes ;;
3610
PKG_CONFIG=$ac_pt_PKG_CONFIG
3613
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3617
if test -n "$PKG_CONFIG"; then
3618
_pkg_min_version=0.9.0
3619
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3620
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3621
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3622
{ echo "$as_me:$LINENO: result: yes" >&5
3623
echo "${ECHO_T}yes" >&6; }
3625
{ echo "$as_me:$LINENO: result: no" >&5
3626
echo "${ECHO_T}no" >&6; }
3633
{ echo "$as_me:$LINENO: checking for DEP" >&5
3634
echo $ECHO_N "checking for DEP... $ECHO_C" >&6; }
3636
if test -n "$PKG_CONFIG"; then
3637
if test -n "$PKG_CONFIG" && \
3638
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3639
($PKG_CONFIG --exists --print-errors "x11") 2>&5
3641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642
(exit $ac_status); }; then
3643
pkg_cv_DEP_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3650
if test -n "$PKG_CONFIG"; then
3651
if test -n "$PKG_CONFIG" && \
3652
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3653
($PKG_CONFIG --exists --print-errors "x11") 2>&5
3655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656
(exit $ac_status); }; then
3657
pkg_cv_DEP_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3665
if test $pkg_failed = yes; then
3666
DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
3667
# Put the nasty error message in config.log where it belongs
3668
echo "$DEP_PKG_ERRORS" 1>&5
3670
{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met.
3671
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3672
installed software in a non-standard prefix.
3674
Alternatively you may set the DEP_CFLAGS and DEP_LIBS environment variables
3675
to avoid the need to call pkg-config. See the pkg-config man page for
3677
echo "$as_me: error: Package requirements (x11) were not met.
3678
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3679
installed software in a non-standard prefix.
3681
Alternatively you may set the DEP_CFLAGS and DEP_LIBS environment variables
3682
to avoid the need to call pkg-config. See the pkg-config man page for
3683
more details." >&2;}
3684
{ (exit 1); exit 1; }; }
3685
elif test $pkg_failed = untried; then
3686
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3687
is in your PATH or set the PKG_CONFIG environment variable to the full
3690
Alternatively you may set the DEP_CFLAGS and DEP_LIBS environment variables
3691
to avoid the need to call pkg-config. See the pkg-config man page for
3694
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3695
See \`config.log' for more details." >&5
3696
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3697
is in your PATH or set the PKG_CONFIG environment variable to the full
3700
Alternatively you may set the DEP_CFLAGS and DEP_LIBS environment variables
3701
to avoid the need to call pkg-config. See the pkg-config man page for
3704
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3705
See \`config.log' for more details." >&2;}
3706
{ (exit 1); exit 1; }; }
3708
DEP_CFLAGS=$pkg_cv_DEP_CFLAGS
3709
DEP_LIBS=$pkg_cv_DEP_LIBS
3710
{ echo "$as_me:$LINENO: result: yes" >&5
3711
echo "${ECHO_T}yes" >&6; }
3719
# Allow checking code with lint, sparse, etc.
3721
# Check whether --with-lint was given.
3722
if test "${with_lint+set}" = set; then
3723
withval=$with_lint; use_lint=$withval
3728
if test "x$use_lint" = "xyes" ; then
3733
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
3738
LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
3747
if test x$LINT != xno; then
3758
# Make sure we can run config.sub.
3759
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3760
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3761
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3762
{ (exit 1); exit 1; }; }
3764
{ echo "$as_me:$LINENO: checking build system type" >&5
3765
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3766
if test "${ac_cv_build+set}" = set; then
3767
echo $ECHO_N "(cached) $ECHO_C" >&6
3769
ac_build_alias=$build_alias
3770
test "x$ac_build_alias" = x &&
3771
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3772
test "x$ac_build_alias" = x &&
3773
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3774
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3775
{ (exit 1); exit 1; }; }
3776
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3777
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3778
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3779
{ (exit 1); exit 1; }; }
3782
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3783
echo "${ECHO_T}$ac_cv_build" >&6; }
3784
case $ac_cv_build in
3786
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3787
echo "$as_me: error: invalid value of canonical build" >&2;}
3788
{ (exit 1); exit 1; }; };;
3791
ac_save_IFS=$IFS; IFS='-'
3797
# Remember, the first character of IFS is used to create $*,
3798
# except with old shells:
3801
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3804
{ echo "$as_me:$LINENO: checking host system type" >&5
3805
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3806
if test "${ac_cv_host+set}" = set; then
3807
echo $ECHO_N "(cached) $ECHO_C" >&6
3809
if test "x$host_alias" = x; then
3810
ac_cv_host=$ac_cv_build
3812
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3813
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3814
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3815
{ (exit 1); exit 1; }; }
3819
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3820
echo "${ECHO_T}$ac_cv_host" >&6; }
3823
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3824
echo "$as_me: error: invalid value of canonical host" >&2;}
3825
{ (exit 1); exit 1; }; };;
3828
ac_save_IFS=$IFS; IFS='-'
3834
# Remember, the first character of IFS is used to create $*,
3835
# except with old shells:
3838
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3844
if test x$APP_MAN_SUFFIX = x ; then
3847
if test x$APP_MAN_DIR = x ; then
3848
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3851
if test x$LIB_MAN_SUFFIX = x ; then
3854
if test x$LIB_MAN_DIR = x ; then
3855
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3858
if test x$FILE_MAN_SUFFIX = x ; then
3860
solaris*) FILE_MAN_SUFFIX=4 ;;
3861
*) FILE_MAN_SUFFIX=5 ;;
3864
if test x$FILE_MAN_DIR = x ; then
3865
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3868
if test x$MISC_MAN_SUFFIX = x ; then
3870
solaris*) MISC_MAN_SUFFIX=5 ;;
3871
*) MISC_MAN_SUFFIX=7 ;;
3874
if test x$MISC_MAN_DIR = x ; then
3875
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3878
if test x$DRIVER_MAN_SUFFIX = x ; then
3880
solaris*) DRIVER_MAN_SUFFIX=7 ;;
3881
*) DRIVER_MAN_SUFFIX=4 ;;
3884
if test x$DRIVER_MAN_DIR = x ; then
3885
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3888
if test x$ADMIN_MAN_SUFFIX = x ; then
3890
solaris*) ADMIN_MAN_SUFFIX=1m ;;
3891
*) ADMIN_MAN_SUFFIX=8 ;;
3894
if test x$ADMIN_MAN_DIR = x ; then
3895
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3914
# Check whether --with-release-version was given.
3915
if test "${with_release_version+set}" = set; then
3916
withval=$with_release_version; RELEASE_VERSION="$withval"
3921
if test "x$RELEASE_VERSION" != "x"; then
3922
PACKAGE="$PACKAGE-$RELEASE_VERSION"
3923
PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3924
{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3925
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3928
cat >>confdefs.h <<_ACEOF
3929
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3932
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3933
if test "x$PVM" = "x"; then
3937
cat >>confdefs.h <<_ACEOF
3938
#define PACKAGE_VERSION_MINOR $PVM
3941
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3942
if test "x$PVP" = "x"; then
3946
cat >>confdefs.h <<_ACEOF
3947
#define PACKAGE_VERSION_PATCHLEVEL $PVP
3952
ac_config_files="$ac_config_files Makefile"
3954
cat >confcache <<\_ACEOF
3955
# This file is a shell script that caches the results of configure
3956
# tests run on this system so they can be shared between configure
3957
# scripts and configure runs, see configure's option --config-cache.
3958
# It is not useful on other systems. If it contains results you don't
3959
# want to keep, you may remove or edit it.
3961
# config.status only pays attention to the cache file if you give it
3962
# the --recheck option to rerun configure.
3964
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3965
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3970
# The following way of writing the cache mishandles newlines in values,
3971
# but we know of no workaround that is simple, portable, and efficient.
3972
# So, we kill variables containing newlines.
3973
# Ultrix sh set writes to stderr and can't be redirected directly,
3974
# and sets the high bit in the cache file unless we assign to the vars.
3976
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3977
eval ac_val=\$$ac_var
3981
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3982
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3985
_ | IFS | as_nl) ;; #(
3986
*) $as_unset $ac_var ;;
3992
case $as_nl`(ac_space=' '; set) 2>&1` in #(
3993
*${as_nl}ac_space=\ *)
3994
# `set' does not quote correctly, so add quotes (double-quote
3995
# substitution turns \\\\ into \\, and sed turns \\ into \).
3998
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4001
# `set' quotes correctly as required by POSIX, so do not add quotes.
4002
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4011
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4013
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4015
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4016
if test -w "$cache_file"; then
4017
test "x$cache_file" != "x/dev/null" &&
4018
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4019
echo "$as_me: updating cache $cache_file" >&6;}
4020
cat confcache >$cache_file
4022
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4023
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4028
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4029
# Let make expand exec_prefix.
4030
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4032
DEFS=-DHAVE_CONFIG_H
4036
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4037
# 1. Remove the extension, and $U if already installed.
4038
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4039
ac_i=`echo "$ac_i" | sed "$ac_script"`
4040
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4041
# will be set to the directory where LIBOBJS objects are built.
4042
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4043
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4047
LTLIBOBJS=$ac_ltlibobjs
4050
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4051
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4052
Usually this means the macro was only invoked conditionally." >&5
4053
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4054
Usually this means the macro was only invoked conditionally." >&2;}
4055
{ (exit 1); exit 1; }; }
4057
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4058
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4059
Usually this means the macro was only invoked conditionally." >&5
4060
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4061
Usually this means the macro was only invoked conditionally." >&2;}
4062
{ (exit 1); exit 1; }; }
4064
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4065
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4066
Usually this means the macro was only invoked conditionally." >&5
4067
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4068
Usually this means the macro was only invoked conditionally." >&2;}
4069
{ (exit 1); exit 1; }; }
4071
if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
4072
{ { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
4073
Usually this means the macro was only invoked conditionally." >&5
4074
echo "$as_me: error: conditional \"LINT\" was never defined.
4075
Usually this means the macro was only invoked conditionally." >&2;}
4076
{ (exit 1); exit 1; }; }
4079
: ${CONFIG_STATUS=./config.status}
4080
ac_clean_files_save=$ac_clean_files
4081
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4082
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4083
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4084
cat >$CONFIG_STATUS <<_ACEOF
4086
# Generated by $as_me.
4087
# Run this file to recreate the current configuration.
4088
# Compiler output produced by configure, useful for debugging
4089
# configure, is in config.log if it exists.
4094
SHELL=\${CONFIG_SHELL-$SHELL}
4097
cat >>$CONFIG_STATUS <<\_ACEOF
4098
## --------------------- ##
4099
## M4sh Initialization. ##
4100
## --------------------- ##
4102
# Be more Bourne compatible
4103
DUALCASE=1; export DUALCASE # for MKS sh
4104
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4107
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4108
# is contrary to our usage. Disable this feature.
4109
alias -g '${1+"$@"}'='"$@"'
4110
setopt NO_GLOB_SUBST
4112
case `(set -o) 2>/dev/null` in
4113
*posix*) set -o posix ;;
4122
# Avoid depending upon Character Ranges.
4123
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4124
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4125
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4126
as_cr_digits='0123456789'
4127
as_cr_alnum=$as_cr_Letters$as_cr_digits
4129
# The user is always right.
4130
if test "${PATH_SEPARATOR+set}" != set; then
4131
echo "#! /bin/sh" >conf$$.sh
4132
echo "exit 0" >>conf$$.sh
4134
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4142
# Support unset when possible.
4143
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4151
# We need space, tab and new line, in precisely that order. Quoting is
4152
# there to prevent editors from complaining about space-tab.
4153
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4154
# splitting by setting IFS to empty value.)
4159
# Find who we are. Look in the path if we contain no directory separator.
4161
*[\\/]* ) as_myself=$0 ;;
4162
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166
test -z "$as_dir" && as_dir=.
4167
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4173
# We did not find ourselves, most probably we were run as `sh COMMAND'
4174
# in which case we are not to be found in the path.
4175
if test "x$as_myself" = x; then
4178
if test ! -f "$as_myself"; then
4179
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4180
{ (exit 1); exit 1; }
4183
# Work around bugs in pre-3.0 UWIN ksh.
4184
for as_var in ENV MAIL MAILPATH
4185
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4193
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4194
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4195
LC_TELEPHONE LC_TIME
4197
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4198
eval $as_var=C; export $as_var
4200
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4204
# Required to use basename.
4205
if expr a : '\(a\)' >/dev/null 2>&1 &&
4206
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4212
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4213
as_basename=basename
4219
# Name of the executable.
4220
as_me=`$as_basename -- "$0" ||
4221
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4222
X"$0" : 'X\(//\)$' \| \
4223
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4225
sed '/^.*\/\([^/][^/]*\)\/*$/{
4246
test "x$as_lineno_1" != "x$as_lineno_2" &&
4247
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4249
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4250
# uniformly replaced by the line number. The first 'sed' inserts a
4251
# line-number line after each line using $LINENO; the second 'sed'
4252
# does the real work. The second script uses 'N' to pair each
4253
# line-number line with the line containing $LINENO, and appends
4254
# trailing '-' during substitution so that $LINENO is not a special
4256
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4257
# scripts with optimization help from Paolo Bonzini. Blame Lee
4258
# E. McMahon (1931-1989) for sed's syntax. :-)
4270
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4274
chmod +x "$as_me.lineno" ||
4275
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4276
{ (exit 1); exit 1; }; }
4278
# Don't try to exec as it changes $[0], causing all sort of problems
4279
# (the dirname of $[0] is not the place where we might find the
4280
# original and so on. Autoconf is especially sensitive to this).
4282
# Exit status is that of the last command.
4287
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4293
ECHO_C= ECHO_N= ECHO_T=
4296
case `echo 'x\c'` in
4297
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4304
if expr a : '\(a\)' >/dev/null 2>&1 &&
4305
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4311
rm -f conf$$ conf$$.exe conf$$.file
4312
if test -d conf$$.dir; then
4313
rm -f conf$$.dir/conf$$.file
4319
if ln -s conf$$.file conf$$ 2>/dev/null; then
4321
# ... but there are two gotchas:
4322
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4323
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4324
# In both cases, we have to default to `cp -p'.
4325
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4327
elif ln conf$$.file conf$$ 2>/dev/null; then
4332
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4333
rmdir conf$$.dir 2>/dev/null
4335
if mkdir -p . 2>/dev/null; then
4338
test -d ./-p && rmdir ./-p
4342
if test -x / >/dev/null 2>&1; then
4345
if ls -dL / >/dev/null 2>&1; then
4352
if test -d "$1"; then
4358
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4359
???[sx]*):;;*)false;;esac;fi
4363
as_executable_p=$as_test_x
4365
# Sed expression to map a string onto a valid CPP name.
4366
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4368
# Sed expression to map a string onto a valid variable name.
4369
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4374
# Save the log message, to keep $[0] and so on meaningful, and to
4375
# report actual input values of CONFIG_FILES etc. instead of their
4376
# values after options handling.
4378
This file was extended by xmodmap $as_me 1.0.3, which was
4379
generated by GNU Autoconf 2.61. Invocation command line was
4381
CONFIG_FILES = $CONFIG_FILES
4382
CONFIG_HEADERS = $CONFIG_HEADERS
4383
CONFIG_LINKS = $CONFIG_LINKS
4384
CONFIG_COMMANDS = $CONFIG_COMMANDS
4387
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4392
cat >>$CONFIG_STATUS <<_ACEOF
4393
# Files that config.status was made for.
4394
config_files="$ac_config_files"
4395
config_headers="$ac_config_headers"
4396
config_commands="$ac_config_commands"
4400
cat >>$CONFIG_STATUS <<\_ACEOF
4402
\`$as_me' instantiates files from templates according to the
4403
current configuration.
4405
Usage: $0 [OPTIONS] [FILE]...
4407
-h, --help print this help, then exit
4408
-V, --version print version number and configuration settings, then exit
4409
-q, --quiet do not print progress messages
4410
-d, --debug don't remove temporary files
4411
--recheck update $as_me by reconfiguring in the same conditions
4412
--file=FILE[:TEMPLATE]
4413
instantiate the configuration file FILE
4414
--header=FILE[:TEMPLATE]
4415
instantiate the configuration header FILE
4417
Configuration files:
4420
Configuration headers:
4423
Configuration commands:
4426
Report bugs to <bug-autoconf@gnu.org>."
4429
cat >>$CONFIG_STATUS <<_ACEOF
4431
xmodmap config.status 1.0.3
4432
configured by $0, generated by GNU Autoconf 2.61,
4433
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4435
Copyright (C) 2006 Free Software Foundation, Inc.
4436
This config.status script is free software; the Free Software Foundation
4437
gives unlimited permission to copy, distribute and modify it."
4445
cat >>$CONFIG_STATUS <<\_ACEOF
4446
# If no file are specified by the user, then we need to provide default
4447
# value. By we need to know if files were specified by the user.
4453
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4454
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4465
# Handling of the options.
4466
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4468
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4469
echo "$ac_cs_version"; exit ;;
4470
--debug | --debu | --deb | --de | --d | -d )
4472
--file | --fil | --fi | --f )
4474
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4475
ac_need_defaults=false;;
4476
--header | --heade | --head | --hea )
4478
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4479
ac_need_defaults=false;;
4481
# Conflict between --help and --header
4482
{ echo "$as_me: error: ambiguous option: $1
4483
Try \`$0 --help' for more information." >&2
4484
{ (exit 1); exit 1; }; };;
4485
--help | --hel | -h )
4486
echo "$ac_cs_usage"; exit ;;
4487
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4488
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4492
-*) { echo "$as_me: error: unrecognized option: $1
4493
Try \`$0 --help' for more information." >&2
4494
{ (exit 1); exit 1; }; } ;;
4496
*) ac_config_targets="$ac_config_targets $1"
4497
ac_need_defaults=false ;;
4503
ac_configure_extra_args=
4505
if $ac_cs_silent; then
4507
ac_configure_extra_args="$ac_configure_extra_args --silent"
4511
cat >>$CONFIG_STATUS <<_ACEOF
4512
if \$ac_cs_recheck; then
4513
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4516
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4520
cat >>$CONFIG_STATUS <<\_ACEOF
4524
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4525
## Running $as_me. ##
4531
cat >>$CONFIG_STATUS <<_ACEOF
4535
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4539
cat >>$CONFIG_STATUS <<\_ACEOF
4541
# Handling of arguments.
4542
for ac_config_target in $ac_config_targets
4544
case $ac_config_target in
4545
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4546
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4547
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4549
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4550
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4551
{ (exit 1); exit 1; }; };;
4556
# If the user did not use the arguments to specify the items to instantiate,
4557
# then the envvar interface is used. Set only those that are not.
4558
# We use the long form for the default assignment because of an extremely
4559
# bizarre bug on SunOS 4.1.3.
4560
if $ac_need_defaults; then
4561
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4562
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4563
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4566
# Have a temporary directory for convenience. Make it in the build tree
4567
# simply because there is no reason against having it here, and in addition,
4568
# creating and moving files from /tmp can sometimes cause problems.
4569
# Hook for its removal unless debugging.
4570
# Note that there is a small window in which the directory will not be cleaned:
4571
# after its creation but before its name has been assigned to `$tmp'.
4575
trap 'exit_status=$?
4576
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4578
trap '{ (exit 1); exit 1; }' 1 2 13 15
4580
# Create a (secure) tmp directory for tmp files.
4583
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4584
test -n "$tmp" && test -d "$tmp"
4587
tmp=./conf$$-$RANDOM
4588
(umask 077 && mkdir "$tmp")
4591
echo "$me: cannot create a temporary directory in ." >&2
4592
{ (exit 1); exit 1; }
4596
# Set up the sed scripts for CONFIG_FILES section.
4599
# No need to generate the scripts if there are no CONFIG_FILES.
4600
# This happens for instance when ./config.status config.h
4601
if test -n "$CONFIG_FILES"; then
4608
for ac_last_try in false false false false false :; do
4609
cat >conf$$subs.sed <<_ACEOF
4610
SHELL!$SHELL$ac_delim
4611
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4612
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4613
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4614
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4615
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4616
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4617
exec_prefix!$exec_prefix$ac_delim
4618
prefix!$prefix$ac_delim
4619
program_transform_name!$program_transform_name$ac_delim
4620
bindir!$bindir$ac_delim
4621
sbindir!$sbindir$ac_delim
4622
libexecdir!$libexecdir$ac_delim
4623
datarootdir!$datarootdir$ac_delim
4624
datadir!$datadir$ac_delim
4625
sysconfdir!$sysconfdir$ac_delim
4626
sharedstatedir!$sharedstatedir$ac_delim
4627
localstatedir!$localstatedir$ac_delim
4628
includedir!$includedir$ac_delim
4629
oldincludedir!$oldincludedir$ac_delim
4630
docdir!$docdir$ac_delim
4631
infodir!$infodir$ac_delim
4632
htmldir!$htmldir$ac_delim
4633
dvidir!$dvidir$ac_delim
4634
pdfdir!$pdfdir$ac_delim
4635
psdir!$psdir$ac_delim
4636
libdir!$libdir$ac_delim
4637
localedir!$localedir$ac_delim
4638
mandir!$mandir$ac_delim
4640
ECHO_C!$ECHO_C$ac_delim
4641
ECHO_N!$ECHO_N$ac_delim
4642
ECHO_T!$ECHO_T$ac_delim
4644
build_alias!$build_alias$ac_delim
4645
host_alias!$host_alias$ac_delim
4646
target_alias!$target_alias$ac_delim
4647
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4648
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4649
INSTALL_DATA!$INSTALL_DATA$ac_delim
4650
am__isrc!$am__isrc$ac_delim
4651
CYGPATH_W!$CYGPATH_W$ac_delim
4652
PACKAGE!$PACKAGE$ac_delim
4653
VERSION!$VERSION$ac_delim
4654
ACLOCAL!$ACLOCAL$ac_delim
4655
AUTOCONF!$AUTOCONF$ac_delim
4656
AUTOMAKE!$AUTOMAKE$ac_delim
4657
AUTOHEADER!$AUTOHEADER$ac_delim
4658
MAKEINFO!$MAKEINFO$ac_delim
4659
install_sh!$install_sh$ac_delim
4660
STRIP!$STRIP$ac_delim
4661
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4662
mkdir_p!$mkdir_p$ac_delim
4664
SET_MAKE!$SET_MAKE$ac_delim
4665
am__leading_dot!$am__leading_dot$ac_delim
4666
AMTAR!$AMTAR$ac_delim
4667
am__tar!$am__tar$ac_delim
4668
am__untar!$am__untar$ac_delim
4669
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4670
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4671
MAINT!$MAINT$ac_delim
4673
CFLAGS!$CFLAGS$ac_delim
4674
LDFLAGS!$LDFLAGS$ac_delim
4675
CPPFLAGS!$CPPFLAGS$ac_delim
4676
ac_ct_CC!$ac_ct_CC$ac_delim
4677
EXEEXT!$EXEEXT$ac_delim
4678
OBJEXT!$OBJEXT$ac_delim
4679
DEPDIR!$DEPDIR$ac_delim
4680
am__include!$am__include$ac_delim
4681
am__quote!$am__quote$ac_delim
4682
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4683
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4684
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4685
CCDEPMODE!$CCDEPMODE$ac_delim
4686
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4687
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4688
PKG_CONFIG!$PKG_CONFIG$ac_delim
4689
DEP_CFLAGS!$DEP_CFLAGS$ac_delim
4690
DEP_LIBS!$DEP_LIBS$ac_delim
4692
LINT_FLAGS!$LINT_FLAGS$ac_delim
4693
LINT_TRUE!$LINT_TRUE$ac_delim
4694
LINT_FALSE!$LINT_FALSE$ac_delim
4695
build!$build$ac_delim
4696
build_cpu!$build_cpu$ac_delim
4697
build_vendor!$build_vendor$ac_delim
4698
build_os!$build_os$ac_delim
4700
host_cpu!$host_cpu$ac_delim
4701
host_vendor!$host_vendor$ac_delim
4702
host_os!$host_os$ac_delim
4703
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4704
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4705
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4706
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4709
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4711
elif $ac_last_try; then
4712
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4713
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4714
{ (exit 1); exit 1; }; }
4716
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4720
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4721
if test -n "$ac_eof"; then
4722
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4723
ac_eof=`expr $ac_eof + 1`
4726
cat >>$CONFIG_STATUS <<_ACEOF
4727
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4728
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4731
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4732
s/^/s,@/; s/!/@,|#_!!_#|/
4735
s/'"$ac_delim"'$/,g/; t
4737
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4738
' >>$CONFIG_STATUS <conf$$subs.sed
4739
rm -f conf$$subs.sed
4740
cat >>$CONFIG_STATUS <<_ACEOF
4746
for ac_last_try in false false false false false :; do
4747
cat >conf$$subs.sed <<_ACEOF
4748
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4749
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4750
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4751
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4752
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4753
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4754
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4755
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4756
LIBOBJS!$LIBOBJS$ac_delim
4757
LTLIBOBJS!$LTLIBOBJS$ac_delim
4760
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
4762
elif $ac_last_try; then
4763
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4764
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4765
{ (exit 1); exit 1; }; }
4767
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4771
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4772
if test -n "$ac_eof"; then
4773
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4774
ac_eof=`expr $ac_eof + 1`
4777
cat >>$CONFIG_STATUS <<_ACEOF
4778
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4779
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4782
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4783
s/^/s,@/; s/!/@,|#_!!_#|/
4786
s/'"$ac_delim"'$/,g/; t
4788
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4789
' >>$CONFIG_STATUS <conf$$subs.sed
4790
rm -f conf$$subs.sed
4791
cat >>$CONFIG_STATUS <<_ACEOF
4798
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4799
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4800
# trailing colons and then remove the whole line if VPATH becomes empty
4801
# (actually we leave an empty line to preserve line numbers).
4802
if test "x$srcdir" = x.; then
4803
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4807
s/^\([^=]*=[ ]*\):*/\1/
4813
cat >>$CONFIG_STATUS <<\_ACEOF
4814
fi # test -n "$CONFIG_FILES"
4817
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4820
:[FHLC]) ac_mode=$ac_tag; continue;;
4822
case $ac_mode$ac_tag in
4824
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4825
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4826
{ (exit 1); exit 1; }; };;
4827
:[FH]-) ac_tag=-:-;;
4828
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4845
-) ac_f="$tmp/stdin";;
4846
*) # Look for the file first in the build tree, then in the source tree
4847
# (if the path is not absolute). The absolute path cannot be DOS-style,
4848
# because $ac_f cannot contain `:'.
4852
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4854
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4855
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4856
{ (exit 1); exit 1; }; };;
4858
ac_file_inputs="$ac_file_inputs $ac_f"
4861
# Let's still pretend it is `configure' which instantiates (i.e., don't
4862
# use $as_me), people would be surprised to read:
4863
# /* config.h. Generated by config.status. */
4864
configure_input="Generated from "`IFS=:
4865
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4866
if test x"$ac_file" != x-; then
4867
configure_input="$ac_file. $configure_input"
4868
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4869
echo "$as_me: creating $ac_file" >&6;}
4873
*:-:* | *:-) cat >"$tmp/stdin";;
4878
ac_dir=`$as_dirname -- "$ac_file" ||
4879
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4880
X"$ac_file" : 'X\(//\)[^/]' \| \
4881
X"$ac_file" : 'X\(//\)$' \| \
4882
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4884
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4903
-*) as_dir=./$as_dir;;
4905
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4909
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4910
*) as_qdir=$as_dir;;
4912
as_dirs="'$as_qdir' $as_dirs"
4913
as_dir=`$as_dirname -- "$as_dir" ||
4914
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4915
X"$as_dir" : 'X\(//\)[^/]' \| \
4916
X"$as_dir" : 'X\(//\)$' \| \
4917
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4919
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4936
test -d "$as_dir" && break
4938
test -z "$as_dirs" || eval "mkdir $as_dirs"
4939
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4940
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4941
{ (exit 1); exit 1; }; }; }
4945
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4947
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4948
# A ".." for each directory in $ac_dir_suffix.
4949
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4950
case $ac_top_builddir_sub in
4951
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4952
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4955
ac_abs_top_builddir=$ac_pwd
4956
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4957
# for backward compatibility:
4958
ac_top_builddir=$ac_top_build_prefix
4961
.) # We are building in place.
4963
ac_top_srcdir=$ac_top_builddir_sub
4964
ac_abs_top_srcdir=$ac_pwd ;;
4965
[\\/]* | ?:[\\/]* ) # Absolute name.
4966
ac_srcdir=$srcdir$ac_dir_suffix;
4967
ac_top_srcdir=$srcdir
4968
ac_abs_top_srcdir=$srcdir ;;
4970
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4971
ac_top_srcdir=$ac_top_build_prefix$srcdir
4972
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4974
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4984
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4985
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4989
[\\/$]* | ?:[\\/]* ) ;;
4990
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4994
cat >>$CONFIG_STATUS <<\_ACEOF
4995
# If the template does not know about datarootdir, expand it.
4996
# FIXME: This hack should be removed a few years after 2.60.
4997
ac_datarootdir_hack=; ac_datarootdir_seen=
4999
case `sed -n '/datarootdir/ {
5008
' $ac_file_inputs` in
5009
*datarootdir*) ac_datarootdir_seen=yes;;
5010
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5011
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5012
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5014
cat >>$CONFIG_STATUS <<_ACEOF
5015
ac_datarootdir_hack='
5016
s&@datadir@&$datadir&g
5017
s&@docdir@&$docdir&g
5018
s&@infodir@&$infodir&g
5019
s&@localedir@&$localedir&g
5020
s&@mandir@&$mandir&g
5021
s&\\\${datarootdir}&$datarootdir&g' ;;
5025
# Neutralize VPATH when `$srcdir' = `.'.
5026
# Shell code in configure.ac might set extrasub.
5027
# FIXME: do we really want to maintain this feature?
5028
cat >>$CONFIG_STATUS <<_ACEOF
5032
cat >>$CONFIG_STATUS <<\_ACEOF
5034
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5035
s&@configure_input@&$configure_input&;t t
5036
s&@top_builddir@&$ac_top_builddir_sub&;t t
5037
s&@srcdir@&$ac_srcdir&;t t
5038
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5039
s&@top_srcdir@&$ac_top_srcdir&;t t
5040
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5041
s&@builddir@&$ac_builddir&;t t
5042
s&@abs_builddir@&$ac_abs_builddir&;t t
5043
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5044
s&@INSTALL@&$ac_INSTALL&;t t
5045
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5046
$ac_datarootdir_hack
5047
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5049
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5050
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5051
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5052
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5053
which seems to be undefined. Please make sure it is defined." >&5
5054
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5055
which seems to be undefined. Please make sure it is defined." >&2;}
5059
-) cat "$tmp/out"; rm -f "$tmp/out";;
5060
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5069
# Transform confdefs.h into a sed script `conftest.defines', that
5070
# substitutes the proper values into config.h.in to produce config.h.
5071
rm -f conftest.defines conftest.tail
5072
# First, append a space to every undef/define line, to ease matching.
5073
echo 's/$/ /' >conftest.defines
5074
# Then, protect against being on the right side of a sed subst, or in
5075
# an unquoted here document, in config.status. If some macros were
5076
# called several times there might be several #defines for the same
5077
# symbol, which is useless. But do not sort them, since the last
5078
# AC_DEFINE must be honored.
5079
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5080
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5081
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5082
# PARAMS is the parameter list in the macro definition--in most cases, it's
5083
# just an empty string.
5084
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5085
ac_dB='\\)[ (].*,\\1define\\2'
5093
s/^[ ]*#[ ]*define[ ][ ]*//
5098
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5099
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5100
' >>conftest.defines
5102
# Remove the space that was appended to ease matching.
5103
# Then replace #undef with comments. This is necessary, for
5104
# example, in the case of _POSIX_SOURCE, which is predefined and required
5105
# on some systems where configure will not decide to define it.
5106
# (The regexp can be short, since the line contains either #define or #undef.)
5108
s,^[ #]*u.*,/* & */,' >>conftest.defines
5110
# Break up conftest.defines:
5113
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5114
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5115
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5117
ac_in='$ac_file_inputs'
5118
ac_out='"$tmp/out1"'
5119
ac_nxt='"$tmp/out2"'
5123
# Write a here document:
5124
cat >>$CONFIG_STATUS <<_ACEOF
5125
# First, check the format of the line:
5126
cat >"\$tmp/defines.sed" <<\\CEOF
5127
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5128
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5132
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5134
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5135
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5136
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5137
grep . conftest.tail >/dev/null || break
5138
rm -f conftest.defines
5139
mv conftest.tail conftest.defines
5141
rm -f conftest.defines conftest.tail
5143
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5144
cat >>$CONFIG_STATUS <<\_ACEOF
5145
if test x"$ac_file" != x-; then
5146
echo "/* $configure_input */" >"$tmp/config.h"
5147
cat "$ac_result" >>"$tmp/config.h"
5148
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5149
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5150
echo "$as_me: $ac_file is unchanged" >&6;}
5153
mv "$tmp/config.h" $ac_file
5156
echo "/* $configure_input */"
5160
# Compute $ac_file's index in $config_headers.
5162
for _am_header in $config_headers :; do
5164
$ac_file | $ac_file:* )
5167
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5170
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5171
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5172
X$ac_file : 'X\(//\)[^/]' \| \
5173
X$ac_file : 'X\(//\)$' \| \
5174
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5176
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5192
s/.*/./; q'`/stamp-h$_am_stamp_count
5195
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5196
echo "$as_me: executing $ac_file commands" >&6;}
5201
case $ac_file$ac_mode in
5202
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5203
# Strip MF so we end up with the name of the file.
5204
mf=`echo "$mf" | sed -e 's/:.*$//'`
5205
# Check whether this is an Automake generated Makefile or not.
5206
# We used to match only the files named `Makefile.in', but
5207
# some people rename them; so instead we look at the file content.
5208
# Grep'ing the first line is not enough: some people post-process
5209
# each Makefile.in and add a new line on top of each file to say so.
5210
# Grep'ing the whole file is not good either: AIX grep has a line
5211
# limit of 2048, but all sed's we know have understand at least 4000.
5212
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5213
dirpart=`$as_dirname -- "$mf" ||
5214
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5215
X"$mf" : 'X\(//\)[^/]' \| \
5216
X"$mf" : 'X\(//\)$' \| \
5217
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5219
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5239
# Extract the definition of DEPDIR, am__include, and am__quote
5240
# from the Makefile without running `make'.
5241
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5242
test -z "$DEPDIR" && continue
5243
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5244
test -z "am__include" && continue
5245
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5246
# When using ansi2knr, U may be empty or an underscore; expand it
5247
U=`sed -n 's/^U = //p' < "$mf"`
5248
# Find all dependency output files, they are included files with
5249
# $(DEPDIR) in their names. We invoke sed twice because it is the
5250
# simplest approach to changing $(DEPDIR) to its actual value in the
5252
for file in `sed -n "
5253
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5254
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5255
# Make sure the directory exists.
5256
test -f "$dirpart/$file" && continue
5257
fdir=`$as_dirname -- "$file" ||
5258
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5259
X"$file" : 'X\(//\)[^/]' \| \
5260
X"$file" : 'X\(//\)$' \| \
5261
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5263
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5280
{ as_dir=$dirpart/$fdir
5282
-*) as_dir=./$as_dir;;
5284
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5288
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5289
*) as_qdir=$as_dir;;
5291
as_dirs="'$as_qdir' $as_dirs"
5292
as_dir=`$as_dirname -- "$as_dir" ||
5293
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5294
X"$as_dir" : 'X\(//\)[^/]' \| \
5295
X"$as_dir" : 'X\(//\)$' \| \
5296
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5298
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5315
test -d "$as_dir" && break
5317
test -z "$as_dirs" || eval "mkdir $as_dirs"
5318
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5319
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5320
{ (exit 1); exit 1; }; }; }
5321
# echo "creating $dirpart/$file"
5322
echo '# dummy' > "$dirpart/$file"
5331
{ (exit 0); exit 0; }
5333
chmod +x $CONFIG_STATUS
5334
ac_clean_files=$ac_clean_files_save
5337
# configure is writing to config.log, and then calls config.status.
5338
# config.status does its own redirection, appending to config.log.
5339
# Unfortunately, on DOS this fails, as config.log is still kept open
5340
# by configure, so config.status won't be able to write to it; its
5341
# output is simply discarded. So we exec the FD to /dev/null,
5342
# effectively closing config.log, so it can be properly (re)opened and
5343
# appended to by config.status. When coming back to configure, we
5344
# need to make the FD available again.
5345
if test "$no_create" != yes; then
5347
ac_config_status_args=
5348
test "$silent" = yes &&
5349
ac_config_status_args="$ac_config_status_args --quiet"
5351
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5353
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5354
# would make configure fail if this is the last instruction.
5355
$ac_cs_success || { (exit 1); exit 1; }