2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for xrdb 1.0.4.
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.
576
PACKAGE_TARNAME='xrdb'
577
PACKAGE_VERSION='1.0.4'
578
PACKAGE_STRING='xrdb 1.0.4'
579
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
581
# Factoring default headers for most tests.
582
ac_includes_default="\
584
#ifdef HAVE_SYS_TYPES_H
585
# include <sys/types.h>
587
#ifdef HAVE_SYS_STAT_H
588
# include <sys/stat.h>
594
# ifdef HAVE_STDLIB_H
599
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604
#ifdef HAVE_STRINGS_H
605
# include <strings.h>
607
#ifdef HAVE_INTTYPES_H
608
# include <inttypes.h>
626
program_transform_name
668
INSTALL_STRIP_PROGRAM
677
MAINTAINER_MODE_FALSE
725
ac_precious_vars='build_alias
739
# Initialize some variables set by options.
741
ac_init_version=false
742
# The variables have the same names as the options, with
743
# dashes changed to underlines.
751
program_transform_name=s,x,x,
759
# Installation directory options.
760
# These are left unexpanded so users can "make install exec_prefix=/foo"
761
# and all the variables that are supposed to be based on exec_prefix
762
# by default will actually change.
763
# Use braces instead of parens because sh, perl, etc. also accept them.
764
# (The list follows the same order as the GNU Coding Standards.)
765
bindir='${exec_prefix}/bin'
766
sbindir='${exec_prefix}/sbin'
767
libexecdir='${exec_prefix}/libexec'
768
datarootdir='${prefix}/share'
769
datadir='${datarootdir}'
770
sysconfdir='${prefix}/etc'
771
sharedstatedir='${prefix}/com'
772
localstatedir='${prefix}/var'
773
includedir='${prefix}/include'
774
oldincludedir='/usr/include'
775
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776
infodir='${datarootdir}/info'
781
libdir='${exec_prefix}/lib'
782
localedir='${datarootdir}/locale'
783
mandir='${datarootdir}/man'
789
# If the previous option needs an argument, assign it.
790
if test -n "$ac_prev"; then
791
eval $ac_prev=\$ac_option
797
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801
# Accept the important Cygnus configure options, so we can diagnose typos.
803
case $ac_dashdash$ac_option in
807
-bindir | --bindir | --bindi | --bind | --bin | --bi)
809
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812
-build | --build | --buil | --bui | --bu)
813
ac_prev=build_alias ;;
814
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
815
build_alias=$ac_optarg ;;
817
-cache-file | --cache-file | --cache-fil | --cache-fi \
818
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819
ac_prev=cache_file ;;
820
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822
cache_file=$ac_optarg ;;
825
cache_file=config.cache ;;
827
-datadir | --datadir | --datadi | --datad)
829
-datadir=* | --datadir=* | --datadi=* | --datad=*)
830
datadir=$ac_optarg ;;
832
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833
| --dataroo | --dataro | --datar)
834
ac_prev=datarootdir ;;
835
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837
datarootdir=$ac_optarg ;;
839
-disable-* | --disable-*)
840
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841
# Reject names that are not valid shell variable names.
842
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
843
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
844
{ (exit 1); exit 1; }; }
845
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
846
eval enable_$ac_feature=no ;;
848
-docdir | --docdir | --docdi | --doc | --do)
850
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
853
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
858
-enable-* | --enable-*)
859
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
860
# Reject names that are not valid shell variable names.
861
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
862
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
863
{ (exit 1); exit 1; }; }
864
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
865
eval enable_$ac_feature=\$ac_optarg ;;
867
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869
| --exec | --exe | --ex)
870
ac_prev=exec_prefix ;;
871
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873
| --exec=* | --exe=* | --ex=*)
874
exec_prefix=$ac_optarg ;;
876
-gas | --gas | --ga | --g)
877
# Obsolete; use --with-gas.
880
-help | --help | --hel | --he | -h)
882
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
883
ac_init_help=recursive ;;
884
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
885
ac_init_help=short ;;
887
-host | --host | --hos | --ho)
888
ac_prev=host_alias ;;
889
-host=* | --host=* | --hos=* | --ho=*)
890
host_alias=$ac_optarg ;;
892
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896
htmldir=$ac_optarg ;;
898
-includedir | --includedir | --includedi | --included | --include \
899
| --includ | --inclu | --incl | --inc)
900
ac_prev=includedir ;;
901
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
902
| --includ=* | --inclu=* | --incl=* | --inc=*)
903
includedir=$ac_optarg ;;
905
-infodir | --infodir | --infodi | --infod | --info | --inf)
907
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
908
infodir=$ac_optarg ;;
910
-libdir | --libdir | --libdi | --libd)
912
-libdir=* | --libdir=* | --libdi=* | --libd=*)
915
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
916
| --libexe | --libex | --libe)
917
ac_prev=libexecdir ;;
918
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
919
| --libexe=* | --libex=* | --libe=*)
920
libexecdir=$ac_optarg ;;
922
-localedir | --localedir | --localedi | --localed | --locale)
924
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
925
localedir=$ac_optarg ;;
927
-localstatedir | --localstatedir | --localstatedi | --localstated \
928
| --localstate | --localstat | --localsta | --localst | --locals)
929
ac_prev=localstatedir ;;
930
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
931
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
932
localstatedir=$ac_optarg ;;
934
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940
# Obsolete; use --without-fp.
943
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
944
| --no-cr | --no-c | -n)
947
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
948
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
951
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
952
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
953
| --oldin | --oldi | --old | --ol | --o)
954
ac_prev=oldincludedir ;;
955
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
956
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
957
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
958
oldincludedir=$ac_optarg ;;
960
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
965
-program-prefix | --program-prefix | --program-prefi | --program-pref \
966
| --program-pre | --program-pr | --program-p)
967
ac_prev=program_prefix ;;
968
-program-prefix=* | --program-prefix=* | --program-prefi=* \
969
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
970
program_prefix=$ac_optarg ;;
972
-program-suffix | --program-suffix | --program-suffi | --program-suff \
973
| --program-suf | --program-su | --program-s)
974
ac_prev=program_suffix ;;
975
-program-suffix=* | --program-suffix=* | --program-suffi=* \
976
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
977
program_suffix=$ac_optarg ;;
979
-program-transform-name | --program-transform-name \
980
| --program-transform-nam | --program-transform-na \
981
| --program-transform-n | --program-transform- \
982
| --program-transform | --program-transfor \
983
| --program-transfo | --program-transf \
984
| --program-trans | --program-tran \
985
| --progr-tra | --program-tr | --program-t)
986
ac_prev=program_transform_name ;;
987
-program-transform-name=* | --program-transform-name=* \
988
| --program-transform-nam=* | --program-transform-na=* \
989
| --program-transform-n=* | --program-transform-=* \
990
| --program-transform=* | --program-transfor=* \
991
| --program-transfo=* | --program-transf=* \
992
| --program-trans=* | --program-tran=* \
993
| --progr-tra=* | --program-tr=* | --program-t=*)
994
program_transform_name=$ac_optarg ;;
996
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001
-psdir | --psdir | --psdi | --psd | --ps)
1003
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1006
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007
| -silent | --silent | --silen | --sile | --sil)
1010
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014
sbindir=$ac_optarg ;;
1016
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1017
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1018
| --sharedst | --shareds | --shared | --share | --shar \
1020
ac_prev=sharedstatedir ;;
1021
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1022
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1023
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025
sharedstatedir=$ac_optarg ;;
1027
-site | --site | --sit)
1029
-site=* | --site=* | --sit=*)
1032
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1035
srcdir=$ac_optarg ;;
1037
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1038
| --syscon | --sysco | --sysc | --sys | --sy)
1039
ac_prev=sysconfdir ;;
1040
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1041
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1042
sysconfdir=$ac_optarg ;;
1044
-target | --target | --targe | --targ | --tar | --ta | --t)
1045
ac_prev=target_alias ;;
1046
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047
target_alias=$ac_optarg ;;
1049
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1052
-version | --version | --versio | --versi | --vers | -V)
1053
ac_init_version=: ;;
1056
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057
# Reject names that are not valid shell variable names.
1058
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1060
{ (exit 1); exit 1; }; }
1061
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1062
eval with_$ac_package=\$ac_optarg ;;
1064
-without-* | --without-*)
1065
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1066
# Reject names that are not valid shell variable names.
1067
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1069
{ (exit 1); exit 1; }; }
1070
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1071
eval with_$ac_package=no ;;
1074
# Obsolete; use --with-x.
1077
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078
| --x-incl | --x-inc | --x-in | --x-i)
1079
ac_prev=x_includes ;;
1080
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082
x_includes=$ac_optarg ;;
1084
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1085
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086
ac_prev=x_libraries ;;
1087
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089
x_libraries=$ac_optarg ;;
1091
-*) { echo "$as_me: error: unrecognized option: $ac_option
1092
Try \`$0 --help' for more information." >&2
1093
{ (exit 1); exit 1; }; }
1097
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098
# Reject names that are not valid shell variable names.
1099
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1100
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1101
{ (exit 1); exit 1; }; }
1102
eval $ac_envvar=\$ac_optarg
1103
export $ac_envvar ;;
1106
# FIXME: should be removed in autoconf 3.0.
1107
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1116
if test -n "$ac_prev"; then
1117
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118
{ echo "$as_me: error: missing argument to $ac_option" >&2
1119
{ (exit 1); exit 1; }; }
1122
# Be sure to have absolute directory names.
1123
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124
datadir sysconfdir sharedstatedir localstatedir includedir \
1125
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126
libdir localedir mandir
1128
eval ac_val=\$$ac_var
1130
[\\/$]* | ?:[\\/]* ) continue;;
1131
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1134
{ (exit 1); exit 1; }; }
1137
# There might be people who depend on the old broken behavior: `$host'
1138
# used to hold the argument of --host etc.
1139
# FIXME: To remove some day.
1142
target=$target_alias
1144
# FIXME: To remove some day.
1145
if test "x$host_alias" != x; then
1146
if test "x$build_alias" = x; then
1147
cross_compiling=maybe
1148
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1149
If a cross compiler is detected then cross compile mode will be used." >&2
1150
elif test "x$build_alias" != "x$host_alias"; then
1156
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158
test "$silent" = yes && exec 6>/dev/null
1161
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162
ac_ls_di=`ls -di .` &&
1163
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164
{ echo "$as_me: error: Working directory cannot be determined" >&2
1165
{ (exit 1); exit 1; }; }
1166
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1168
{ (exit 1); exit 1; }; }
1171
# Find the source files, if location was not specified.
1172
if test -z "$srcdir"; then
1173
ac_srcdir_defaulted=yes
1174
# Try the directory containing this script, then the parent directory.
1175
ac_confdir=`$as_dirname -- "$0" ||
1176
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177
X"$0" : 'X\(//\)[^/]' \| \
1178
X"$0" : 'X\(//\)$' \| \
1179
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1181
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1199
if test ! -r "$srcdir/$ac_unique_file"; then
1203
ac_srcdir_defaulted=no
1205
if test ! -r "$srcdir/$ac_unique_file"; then
1206
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1208
{ (exit 1); exit 1; }; }
1210
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1213
{ (exit 1); exit 1; }; }
1215
# When building in place, set srcdir=.
1216
if test "$ac_abs_confdir" = "$ac_pwd"; then
1219
# Remove unnecessary trailing slashes from srcdir.
1220
# Double slashes in file names in object file debugging info
1221
# mess up M-x gdb in Emacs.
1223
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225
for ac_var in $ac_precious_vars; do
1226
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227
eval ac_env_${ac_var}_value=\$${ac_var}
1228
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233
# Report the --help message.
1235
if test "$ac_init_help" = "long"; then
1236
# Omit some internal or obsolete options to make the list less imposing.
1237
# This message is too long to be a string in the A/UX 3.1 sh.
1239
\`configure' configures xrdb 1.0.4 to adapt to many kinds of systems.
1241
Usage: $0 [OPTION]... [VAR=VALUE]...
1243
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244
VAR=VALUE. See below for descriptions of some of the useful variables.
1246
Defaults for the options are specified in brackets.
1249
-h, --help display this help and exit
1250
--help=short display options specific to this package
1251
--help=recursive display the short help of all the included packages
1252
-V, --version display version information and exit
1253
-q, --quiet, --silent do not print \`checking...' messages
1254
--cache-file=FILE cache test results in FILE [disabled]
1255
-C, --config-cache alias for \`--cache-file=config.cache'
1256
-n, --no-create do not create output files
1257
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1259
Installation directories:
1260
--prefix=PREFIX install architecture-independent files in PREFIX
1261
[$ac_default_prefix]
1262
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265
By default, \`make install' will install all the files in
1266
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268
for instance \`--prefix=\$HOME'.
1270
For better control, use the options below.
1272
Fine tuning of the installation directories:
1273
--bindir=DIR user executables [EPREFIX/bin]
1274
--sbindir=DIR system admin executables [EPREFIX/sbin]
1275
--libexecdir=DIR program executables [EPREFIX/libexec]
1276
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279
--libdir=DIR object code libraries [EPREFIX/lib]
1280
--includedir=DIR C header files [PREFIX/include]
1281
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1282
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284
--infodir=DIR info documentation [DATAROOTDIR/info]
1285
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286
--mandir=DIR man documentation [DATAROOTDIR/man]
1287
--docdir=DIR documentation root [DATAROOTDIR/doc/xrdb]
1288
--htmldir=DIR html documentation [DOCDIR]
1289
--dvidir=DIR dvi documentation [DOCDIR]
1290
--pdfdir=DIR pdf documentation [DOCDIR]
1291
--psdir=DIR ps documentation [DOCDIR]
1297
--program-prefix=PREFIX prepend PREFIX to installed program names
1298
--program-suffix=SUFFIX append SUFFIX to installed program names
1299
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1302
--build=BUILD configure for building on BUILD [guessed]
1303
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1307
if test -n "$ac_init_help"; then
1308
case $ac_init_help in
1309
short | recursive ) echo "Configuration of xrdb 1.0.4:";;
1314
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1315
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1316
--enable-maintainer-mode enable make rules and dependencies not useful
1317
(and sometimes confusing) to the casual installer
1318
--disable-dependency-tracking speeds up one-time build
1319
--enable-dependency-tracking do not reject slow dependency extractors
1322
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1323
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1324
--with-cpp=path path to cpp command for xrdb to use at runtime
1325
--with-release-version=STRING
1326
Use release version string in package name
1328
Some influential environment variables:
1329
CC C compiler command
1330
CFLAGS C compiler flags
1331
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1332
nonstandard directory <lib dir>
1333
LIBS libraries to pass to the linker, e.g. -l<library>
1334
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1335
you have headers in a nonstandard directory <include dir>
1337
PKG_CONFIG path to pkg-config utility
1338
XRDB_CFLAGS C compiler flags for XRDB, overriding pkg-config
1339
XRDB_LIBS linker flags for XRDB, overriding pkg-config
1341
Use these variables to override the choices made by `configure' or to help
1342
it to find libraries and programs with nonstandard names/locations.
1344
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1349
if test "$ac_init_help" = "recursive"; then
1350
# If there are subdirs, report their specific --help.
1351
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352
test -d "$ac_dir" || continue
1356
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1359
# A ".." for each directory in $ac_dir_suffix.
1360
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1361
case $ac_top_builddir_sub in
1362
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366
ac_abs_top_builddir=$ac_pwd
1367
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1368
# for backward compatibility:
1369
ac_top_builddir=$ac_top_build_prefix
1372
.) # We are building in place.
1374
ac_top_srcdir=$ac_top_builddir_sub
1375
ac_abs_top_srcdir=$ac_pwd ;;
1376
[\\/]* | ?:[\\/]* ) # Absolute name.
1377
ac_srcdir=$srcdir$ac_dir_suffix;
1378
ac_top_srcdir=$srcdir
1379
ac_abs_top_srcdir=$srcdir ;;
1381
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1382
ac_top_srcdir=$ac_top_build_prefix$srcdir
1383
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387
cd "$ac_dir" || { ac_status=$?; continue; }
1388
# Check for guested configure.
1389
if test -f "$ac_srcdir/configure.gnu"; then
1391
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1392
elif test -f "$ac_srcdir/configure"; then
1394
$SHELL "$ac_srcdir/configure" --help=recursive
1396
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398
cd "$ac_pwd" || { ac_status=$?; break; }
1402
test -n "$ac_init_help" && exit $ac_status
1403
if $ac_init_version; then
1405
xrdb configure 1.0.4
1406
generated by GNU Autoconf 2.61
1408
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1409
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1410
This configure script is free software; the Free Software Foundation
1411
gives unlimited permission to copy, distribute and modify it.
1415
cat >config.log <<_ACEOF
1416
This file contains any messages produced by compilers while
1417
running configure, to aid debugging if configure makes a mistake.
1419
It was created by xrdb $as_me 1.0.4, which was
1420
generated by GNU Autoconf 2.61. Invocation command line was
1432
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1433
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1434
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1435
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1436
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1438
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1439
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1441
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1442
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1443
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1444
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1445
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1446
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1447
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455
test -z "$as_dir" && as_dir=.
1456
echo "PATH: $as_dir"
1472
# Keep a trace of the command line.
1473
# Strip out --no-create and --no-recursion so they do not pile up.
1474
# Strip out --silent because we don't want to record it for future runs.
1475
# Also quote any args containing shell meta-characters.
1476
# Make two passes to allow for proper duplicate-argument suppression.
1480
ac_must_keep_next=false
1486
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1487
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1488
| -silent | --silent | --silen | --sile | --sil)
1491
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1494
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1496
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1497
if test $ac_must_keep_next = true; then
1498
ac_must_keep_next=false # Got value, back to normal.
1501
*=* | --config-cache | -C | -disable-* | --disable-* \
1502
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1503
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1504
| -with-* | --with-* | -without-* | --without-* | --x)
1505
case "$ac_configure_args0 " in
1506
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1509
-* ) ac_must_keep_next=true ;;
1512
ac_configure_args="$ac_configure_args '$ac_arg'"
1517
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1518
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1520
# When interrupted or exit'd, cleanup temporary files, and complete
1521
# config.log. We remove comments because anyway the quotes in there
1522
# would cause problems or look ugly.
1523
# WARNING: Use '\'' to represent an apostrophe within the trap.
1524
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1525
trap 'exit_status=$?
1526
# Save into config.log some information that might help in debugging.
1531
## ---------------- ##
1532
## Cache variables. ##
1533
## ---------------- ##
1536
# The following way of writing the cache mishandles newlines in values,
1538
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1539
eval ac_val=\$$ac_var
1543
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1544
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1547
_ | IFS | as_nl) ;; #(
1548
*) $as_unset $ac_var ;;
1553
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1554
*${as_nl}ac_space=\ *)
1556
"s/'\''/'\''\\\\'\'''\''/g;
1557
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1560
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1568
## ----------------- ##
1569
## Output variables. ##
1570
## ----------------- ##
1573
for ac_var in $ac_subst_vars
1575
eval ac_val=\$$ac_var
1577
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1579
echo "$ac_var='\''$ac_val'\''"
1583
if test -n "$ac_subst_files"; then
1585
## ------------------- ##
1586
## File substitutions. ##
1587
## ------------------- ##
1590
for ac_var in $ac_subst_files
1592
eval ac_val=\$$ac_var
1594
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1596
echo "$ac_var='\''$ac_val'\''"
1601
if test -s confdefs.h; then
1611
test "$ac_signal" != 0 &&
1612
echo "$as_me: caught signal $ac_signal"
1613
echo "$as_me: exit $exit_status"
1615
rm -f core *.core core.conftest.* &&
1616
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1619
for ac_signal in 1 2 13 15; do
1620
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1624
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1625
rm -f -r conftest* confdefs.h
1627
# Predefined preprocessor variables.
1629
cat >>confdefs.h <<_ACEOF
1630
#define PACKAGE_NAME "$PACKAGE_NAME"
1634
cat >>confdefs.h <<_ACEOF
1635
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1639
cat >>confdefs.h <<_ACEOF
1640
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1644
cat >>confdefs.h <<_ACEOF
1645
#define PACKAGE_STRING "$PACKAGE_STRING"
1649
cat >>confdefs.h <<_ACEOF
1650
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1654
# Let the site file select an alternate cache file if it wants to.
1655
# Prefer explicitly selected file to automatically selected ones.
1656
if test -n "$CONFIG_SITE"; then
1657
set x "$CONFIG_SITE"
1658
elif test "x$prefix" != xNONE; then
1659
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1661
set x "$ac_default_prefix/share/config.site" \
1662
"$ac_default_prefix/etc/config.site"
1667
if test -r "$ac_site_file"; then
1668
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1669
echo "$as_me: loading site script $ac_site_file" >&6;}
1670
sed 's/^/| /' "$ac_site_file" >&5
1675
if test -r "$cache_file"; then
1676
# Some versions of bash will fail to source /dev/null (special
1677
# files actually), so we avoid doing that.
1678
if test -f "$cache_file"; then
1679
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1680
echo "$as_me: loading cache $cache_file" >&6;}
1682
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1683
*) . "./$cache_file";;
1687
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1688
echo "$as_me: creating cache $cache_file" >&6;}
1692
# Check that the precious variables saved in the cache have kept the same
1694
ac_cache_corrupted=false
1695
for ac_var in $ac_precious_vars; do
1696
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1697
eval ac_new_set=\$ac_env_${ac_var}_set
1698
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1699
eval ac_new_val=\$ac_env_${ac_var}_value
1700
case $ac_old_set,$ac_new_set in
1702
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1703
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1704
ac_cache_corrupted=: ;;
1706
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1707
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1708
ac_cache_corrupted=: ;;
1711
if test "x$ac_old_val" != "x$ac_new_val"; then
1712
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1713
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1714
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1715
echo "$as_me: former value: $ac_old_val" >&2;}
1716
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1717
echo "$as_me: current value: $ac_new_val" >&2;}
1718
ac_cache_corrupted=:
1721
# Pass precious variables to config.status.
1722
if test "$ac_new_set" = set; then
1724
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1725
*) ac_arg=$ac_var=$ac_new_val ;;
1727
case " $ac_configure_args " in
1728
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1729
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1733
if $ac_cache_corrupted; then
1734
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1735
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1736
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1737
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1738
{ (exit 1); exit 1; }; }
1766
ac_cpp='$CPP $CPPFLAGS'
1767
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1768
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1769
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1772
am__api_version='1.10'
1775
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1776
if test -f "$ac_dir/install-sh"; then
1778
ac_install_sh="$ac_aux_dir/install-sh -c"
1780
elif test -f "$ac_dir/install.sh"; then
1782
ac_install_sh="$ac_aux_dir/install.sh -c"
1784
elif test -f "$ac_dir/shtool"; then
1786
ac_install_sh="$ac_aux_dir/shtool install -c"
1790
if test -z "$ac_aux_dir"; then
1791
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1792
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1793
{ (exit 1); exit 1; }; }
1796
# These three variables are undocumented and unsupported,
1797
# and are intended to be withdrawn in a future Autoconf release.
1798
# They can cause serious problems if a builder's source tree is in a directory
1799
# whose full name contains unusual characters.
1800
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1801
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1802
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1805
# Find a good install program. We prefer a C program (faster),
1806
# so one script is as good as another. But avoid the broken or
1807
# incompatible versions:
1808
# SysV /etc/install, /usr/sbin/install
1809
# SunOS /usr/etc/install
1810
# IRIX /sbin/install
1812
# AmigaOS /C/install, which installs bootblocks on floppy discs
1813
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1814
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1815
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1816
# OS/2's system install, which has a completely different semantic
1817
# ./install, which can be erroneously created by make from ./install.sh.
1818
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1819
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1820
if test -z "$INSTALL"; then
1821
if test "${ac_cv_path_install+set}" = set; then
1822
echo $ECHO_N "(cached) $ECHO_C" >&6
1824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828
test -z "$as_dir" && as_dir=.
1829
# Account for people who put trailing slashes in PATH elements.
1831
./ | .// | /cC/* | \
1832
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1833
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1836
# OSF1 and SCO ODT 3.0 have their own names for install.
1837
# Don't use installbsd from OSF since it installs stuff as root
1839
for ac_prog in ginstall scoinst install; do
1840
for ac_exec_ext in '' $ac_executable_extensions; do
1841
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1842
if test $ac_prog = install &&
1843
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1844
# AIX install. It has an incompatible calling convention.
1846
elif test $ac_prog = install &&
1847
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1848
# program-specific install script used by HP pwplus--don't use.
1851
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1864
if test "${ac_cv_path_install+set}" = set; then
1865
INSTALL=$ac_cv_path_install
1867
# As a last resort, use the slow shell script. Don't cache a
1868
# value for INSTALL within a source directory, because that will
1869
# break other packages using the cache if that directory is
1870
# removed, or if the value is a relative name.
1871
INSTALL=$ac_install_sh
1874
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1875
echo "${ECHO_T}$INSTALL" >&6; }
1877
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1878
# It thinks the first close brace ends the variable substitution.
1879
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1881
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1883
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1885
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1886
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1889
echo timestamp > conftest.file
1890
# Do `set' in a subshell so we don't clobber the current shell's
1891
# arguments. Must try -L first in case configure is actually a
1892
# symlink; some systems play weird games with the mod time of symlinks
1893
# (eg FreeBSD returns the mod time of the symlink's containing
1896
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1897
if test "$*" = "X"; then
1899
set X `ls -t $srcdir/configure conftest.file`
1902
if test "$*" != "X $srcdir/configure conftest.file" \
1903
&& test "$*" != "X conftest.file $srcdir/configure"; then
1905
# If neither matched, then we have a broken ls. This can happen
1906
# if, for instance, CONFIG_SHELL is bash and it inherits a
1907
# broken ls alias from the environment. This has actually
1908
# happened. Such a system could not be considered "sane".
1909
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1910
alias in your environment" >&5
1911
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1912
alias in your environment" >&2;}
1913
{ (exit 1); exit 1; }; }
1916
test "$2" = conftest.file
1922
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1923
Check your system clock" >&5
1924
echo "$as_me: error: newly created file is older than distributed files!
1925
Check your system clock" >&2;}
1926
{ (exit 1); exit 1; }; }
1928
{ echo "$as_me:$LINENO: result: yes" >&5
1929
echo "${ECHO_T}yes" >&6; }
1930
test "$program_prefix" != NONE &&
1931
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1932
# Use a double $ so make ignores it.
1933
test "$program_suffix" != NONE &&
1934
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1935
# Double any \ or $. echo might interpret backslashes.
1936
# By default was `s,x,x', remove it if useless.
1937
cat <<\_ACEOF >conftest.sed
1938
s/[\\$]/&&/g;s/;s,x,x,$//
1940
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1943
# expand $ac_aux_dir to an absolute path
1944
am_aux_dir=`cd $ac_aux_dir && pwd`
1946
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1947
# Use eval to expand $SHELL
1948
if eval "$MISSING --run true"; then
1949
am_missing_run="$MISSING --run "
1952
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1953
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1956
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1957
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1958
if test -z "$MKDIR_P"; then
1959
if test "${ac_cv_path_mkdir+set}" = set; then
1960
echo $ECHO_N "(cached) $ECHO_C" >&6
1962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1966
test -z "$as_dir" && as_dir=.
1967
for ac_prog in mkdir gmkdir; do
1968
for ac_exec_ext in '' $ac_executable_extensions; do
1969
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1970
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1971
'mkdir (GNU coreutils) '* | \
1972
'mkdir (coreutils) '* | \
1973
'mkdir (fileutils) '4.1*)
1974
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1984
if test "${ac_cv_path_mkdir+set}" = set; then
1985
MKDIR_P="$ac_cv_path_mkdir -p"
1987
# As a last resort, use the slow shell script. Don't cache a
1988
# value for MKDIR_P within a source directory, because that will
1989
# break other packages using the cache if that directory is
1990
# removed, or if the value is a relative name.
1991
test -d ./--version && rmdir ./--version
1992
MKDIR_P="$ac_install_sh -d"
1995
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1996
echo "${ECHO_T}$MKDIR_P" >&6; }
2000
[\\/$]* | ?:[\\/]*) ;;
2001
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2004
for ac_prog in gawk mawk nawk awk
2006
# Extract the first word of "$ac_prog", so it can be a program name with args.
2007
set dummy $ac_prog; ac_word=$2
2008
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2009
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2010
if test "${ac_cv_prog_AWK+set}" = set; then
2011
echo $ECHO_N "(cached) $ECHO_C" >&6
2013
if test -n "$AWK"; then
2014
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2016
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020
test -z "$as_dir" && as_dir=.
2021
for ac_exec_ext in '' $ac_executable_extensions; do
2022
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023
ac_cv_prog_AWK="$ac_prog"
2024
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034
if test -n "$AWK"; then
2035
{ echo "$as_me:$LINENO: result: $AWK" >&5
2036
echo "${ECHO_T}$AWK" >&6; }
2038
{ echo "$as_me:$LINENO: result: no" >&5
2039
echo "${ECHO_T}no" >&6; }
2043
test -n "$AWK" && break
2046
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2047
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2048
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2049
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2050
echo $ECHO_N "(cached) $ECHO_C" >&6
2052
cat >conftest.make <<\_ACEOF
2055
@echo '@@@%%%=$(MAKE)=@@@%%%'
2057
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2058
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2060
eval ac_cv_prog_make_${ac_make}_set=yes;;
2062
eval ac_cv_prog_make_${ac_make}_set=no;;
2066
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2067
{ echo "$as_me:$LINENO: result: yes" >&5
2068
echo "${ECHO_T}yes" >&6; }
2071
{ echo "$as_me:$LINENO: result: no" >&5
2072
echo "${ECHO_T}no" >&6; }
2073
SET_MAKE="MAKE=${MAKE-make}"
2076
rm -rf .tst 2>/dev/null
2077
mkdir .tst 2>/dev/null
2078
if test -d .tst; then
2083
rmdir .tst 2>/dev/null
2085
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2086
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2087
# is not polluted with repeated "-I."
2088
am__isrc=' -I$(srcdir)'
2089
# test to see if srcdir already configured
2090
if test -f $srcdir/config.status; then
2091
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2092
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2093
{ (exit 1); exit 1; }; }
2097
# test whether we have cygpath
2098
if test -z "$CYGPATH_W"; then
2099
if (cygpath --version) >/dev/null 2>/dev/null; then
2100
CYGPATH_W='cygpath -w'
2107
# Define the identity of the package.
2112
cat >>confdefs.h <<_ACEOF
2113
#define PACKAGE "$PACKAGE"
2117
cat >>confdefs.h <<_ACEOF
2118
#define VERSION "$VERSION"
2121
# Some tools Automake needs.
2123
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2126
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2129
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2132
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2135
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2137
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2139
# Installed binaries are usually stripped using `strip' when the user
2140
# run `make install-strip'. However `strip' might not be the right
2141
# tool to use in cross-compilation environments, therefore Automake
2142
# will honor the `STRIP' environment variable to overrule this program.
2143
if test "$cross_compiling" != no; then
2144
if test -n "$ac_tool_prefix"; then
2145
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2146
set dummy ${ac_tool_prefix}strip; ac_word=$2
2147
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2148
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149
if test "${ac_cv_prog_STRIP+set}" = set; then
2150
echo $ECHO_N "(cached) $ECHO_C" >&6
2152
if test -n "$STRIP"; then
2153
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2155
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159
test -z "$as_dir" && as_dir=.
2160
for ac_exec_ext in '' $ac_executable_extensions; do
2161
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2163
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172
STRIP=$ac_cv_prog_STRIP
2173
if test -n "$STRIP"; then
2174
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2175
echo "${ECHO_T}$STRIP" >&6; }
2177
{ echo "$as_me:$LINENO: result: no" >&5
2178
echo "${ECHO_T}no" >&6; }
2183
if test -z "$ac_cv_prog_STRIP"; then
2185
# Extract the first word of "strip", so it can be a program name with args.
2186
set dummy strip; ac_word=$2
2187
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2188
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2190
echo $ECHO_N "(cached) $ECHO_C" >&6
2192
if test -n "$ac_ct_STRIP"; then
2193
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199
test -z "$as_dir" && as_dir=.
2200
for ac_exec_ext in '' $ac_executable_extensions; do
2201
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202
ac_cv_prog_ac_ct_STRIP="strip"
2203
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2213
if test -n "$ac_ct_STRIP"; then
2214
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2215
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2217
{ echo "$as_me:$LINENO: result: no" >&5
2218
echo "${ECHO_T}no" >&6; }
2221
if test "x$ac_ct_STRIP" = x; then
2224
case $cross_compiling:$ac_tool_warned in
2226
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2227
whose name does not start with the host triplet. If you think this
2228
configuration is useful to you, please write to autoconf@gnu.org." >&5
2229
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2230
whose name does not start with the host triplet. If you think this
2231
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2232
ac_tool_warned=yes ;;
2237
STRIP="$ac_cv_prog_STRIP"
2241
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2243
# We need awk for the "check" target. The system "awk" is bad on
2245
# Always define AMTAR for backward compatibility.
2247
AMTAR=${AMTAR-"${am_missing_run}tar"}
2249
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2255
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2256
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2257
# Check whether --enable-maintainer-mode was given.
2258
if test "${enable_maintainer_mode+set}" = set; then
2259
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2261
USE_MAINTAINER_MODE=no
2264
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2265
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2266
if test $USE_MAINTAINER_MODE = yes; then
2267
MAINTAINER_MODE_TRUE=
2268
MAINTAINER_MODE_FALSE='#'
2270
MAINTAINER_MODE_TRUE='#'
2271
MAINTAINER_MODE_FALSE=
2274
MAINT=$MAINTAINER_MODE_TRUE
2278
ac_config_headers="$ac_config_headers config.h"
2282
ac_cpp='$CPP $CPPFLAGS'
2283
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2286
if test -n "$ac_tool_prefix"; then
2287
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2288
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2289
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2290
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291
if test "${ac_cv_prog_CC+set}" = set; then
2292
echo $ECHO_N "(cached) $ECHO_C" >&6
2294
if test -n "$CC"; then
2295
ac_cv_prog_CC="$CC" # Let the user override the test.
2297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301
test -z "$as_dir" && as_dir=.
2302
for ac_exec_ext in '' $ac_executable_extensions; do
2303
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2305
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315
if test -n "$CC"; then
2316
{ echo "$as_me:$LINENO: result: $CC" >&5
2317
echo "${ECHO_T}$CC" >&6; }
2319
{ echo "$as_me:$LINENO: result: no" >&5
2320
echo "${ECHO_T}no" >&6; }
2325
if test -z "$ac_cv_prog_CC"; then
2327
# Extract the first word of "gcc", so it can be a program name with args.
2328
set dummy gcc; ac_word=$2
2329
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2330
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2331
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2332
echo $ECHO_N "(cached) $ECHO_C" >&6
2334
if test -n "$ac_ct_CC"; then
2335
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2337
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341
test -z "$as_dir" && as_dir=.
2342
for ac_exec_ext in '' $ac_executable_extensions; do
2343
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344
ac_cv_prog_ac_ct_CC="gcc"
2345
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355
if test -n "$ac_ct_CC"; then
2356
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2357
echo "${ECHO_T}$ac_ct_CC" >&6; }
2359
{ echo "$as_me:$LINENO: result: no" >&5
2360
echo "${ECHO_T}no" >&6; }
2363
if test "x$ac_ct_CC" = x; then
2366
case $cross_compiling:$ac_tool_warned in
2368
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2369
whose name does not start with the host triplet. If you think this
2370
configuration is useful to you, please write to autoconf@gnu.org." >&5
2371
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2372
whose name does not start with the host triplet. If you think this
2373
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2374
ac_tool_warned=yes ;;
2382
if test -z "$CC"; then
2383
if test -n "$ac_tool_prefix"; then
2384
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2385
set dummy ${ac_tool_prefix}cc; ac_word=$2
2386
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2387
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388
if test "${ac_cv_prog_CC+set}" = set; then
2389
echo $ECHO_N "(cached) $ECHO_C" >&6
2391
if test -n "$CC"; then
2392
ac_cv_prog_CC="$CC" # Let the user override the test.
2394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398
test -z "$as_dir" && as_dir=.
2399
for ac_exec_ext in '' $ac_executable_extensions; do
2400
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401
ac_cv_prog_CC="${ac_tool_prefix}cc"
2402
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412
if test -n "$CC"; then
2413
{ echo "$as_me:$LINENO: result: $CC" >&5
2414
echo "${ECHO_T}$CC" >&6; }
2416
{ echo "$as_me:$LINENO: result: no" >&5
2417
echo "${ECHO_T}no" >&6; }
2423
if test -z "$CC"; then
2424
# Extract the first word of "cc", so it can be a program name with args.
2425
set dummy cc; ac_word=$2
2426
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2427
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428
if test "${ac_cv_prog_CC+set}" = set; then
2429
echo $ECHO_N "(cached) $ECHO_C" >&6
2431
if test -n "$CC"; then
2432
ac_cv_prog_CC="$CC" # Let the user override the test.
2435
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439
test -z "$as_dir" && as_dir=.
2440
for ac_exec_ext in '' $ac_executable_extensions; do
2441
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2443
ac_prog_rejected=yes
2447
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454
if test $ac_prog_rejected = yes; then
2455
# We found a bogon in the path, so make sure we never use it.
2456
set dummy $ac_cv_prog_CC
2458
if test $# != 0; then
2459
# We chose a different compiler from the bogus one.
2460
# However, it has the same basename, so the bogon will be chosen
2461
# first if we set CC to just the basename; use the full file name.
2463
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2469
if test -n "$CC"; then
2470
{ echo "$as_me:$LINENO: result: $CC" >&5
2471
echo "${ECHO_T}$CC" >&6; }
2473
{ echo "$as_me:$LINENO: result: no" >&5
2474
echo "${ECHO_T}no" >&6; }
2479
if test -z "$CC"; then
2480
if test -n "$ac_tool_prefix"; then
2481
for ac_prog in cl.exe
2483
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2484
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2485
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2486
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2487
if test "${ac_cv_prog_CC+set}" = set; then
2488
echo $ECHO_N "(cached) $ECHO_C" >&6
2490
if test -n "$CC"; then
2491
ac_cv_prog_CC="$CC" # Let the user override the test.
2493
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497
test -z "$as_dir" && as_dir=.
2498
for ac_exec_ext in '' $ac_executable_extensions; do
2499
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2501
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511
if test -n "$CC"; then
2512
{ echo "$as_me:$LINENO: result: $CC" >&5
2513
echo "${ECHO_T}$CC" >&6; }
2515
{ echo "$as_me:$LINENO: result: no" >&5
2516
echo "${ECHO_T}no" >&6; }
2520
test -n "$CC" && break
2523
if test -z "$CC"; then
2525
for ac_prog in cl.exe
2527
# Extract the first word of "$ac_prog", so it can be a program name with args.
2528
set dummy $ac_prog; ac_word=$2
2529
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2530
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2531
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2532
echo $ECHO_N "(cached) $ECHO_C" >&6
2534
if test -n "$ac_ct_CC"; then
2535
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541
test -z "$as_dir" && as_dir=.
2542
for ac_exec_ext in '' $ac_executable_extensions; do
2543
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544
ac_cv_prog_ac_ct_CC="$ac_prog"
2545
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2554
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555
if test -n "$ac_ct_CC"; then
2556
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557
echo "${ECHO_T}$ac_ct_CC" >&6; }
2559
{ echo "$as_me:$LINENO: result: no" >&5
2560
echo "${ECHO_T}no" >&6; }
2564
test -n "$ac_ct_CC" && break
2567
if test "x$ac_ct_CC" = x; then
2570
case $cross_compiling:$ac_tool_warned in
2572
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2573
whose name does not start with the host triplet. If you think this
2574
configuration is useful to you, please write to autoconf@gnu.org." >&5
2575
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2576
whose name does not start with the host triplet. If you think this
2577
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2578
ac_tool_warned=yes ;;
2587
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2588
See \`config.log' for more details." >&5
2589
echo "$as_me: error: no acceptable C compiler found in \$PATH
2590
See \`config.log' for more details." >&2;}
2591
{ (exit 1); exit 1; }; }
2593
# Provide some information about the compiler.
2594
echo "$as_me:$LINENO: checking for C compiler version" >&5
2595
ac_compiler=`set X $ac_compile; echo $2`
2596
{ (ac_try="$ac_compiler --version >&5"
2598
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599
*) ac_try_echo=$ac_try;;
2601
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602
(eval "$ac_compiler --version >&5") 2>&5
2604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605
(exit $ac_status); }
2606
{ (ac_try="$ac_compiler -v >&5"
2608
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609
*) ac_try_echo=$ac_try;;
2611
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2612
(eval "$ac_compiler -v >&5") 2>&5
2614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615
(exit $ac_status); }
2616
{ (ac_try="$ac_compiler -V >&5"
2618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619
*) ac_try_echo=$ac_try;;
2621
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622
(eval "$ac_compiler -V >&5") 2>&5
2624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
(exit $ac_status); }
2627
cat >conftest.$ac_ext <<_ACEOF
2630
cat confdefs.h >>conftest.$ac_ext
2631
cat >>conftest.$ac_ext <<_ACEOF
2632
/* end confdefs.h. */
2642
ac_clean_files_save=$ac_clean_files
2643
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2644
# Try to create an executable without -o first, disregard a.out.
2645
# It will help us diagnose broken compilers, and finding out an intuition
2647
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2648
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2649
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2651
# List of possible output files, starting from the most likely.
2652
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2653
# only as a last resort. b.out is created by i960 compilers.
2654
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2656
# The IRIX 6 linker writes into existing files which may not be
2657
# executable, retaining their permissions. Remove them first so a
2658
# subsequent execution test works.
2660
for ac_file in $ac_files
2663
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2664
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2669
if { (ac_try="$ac_link_default"
2671
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672
*) ac_try_echo=$ac_try;;
2674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2675
(eval "$ac_link_default") 2>&5
2677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678
(exit $ac_status); }; then
2679
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2680
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2681
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2682
# so that the user can short-circuit this test for compilers unknown to
2684
for ac_file in $ac_files ''
2686
test -f "$ac_file" || continue
2688
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2691
# We found the default executable, but exeext='' is most
2695
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2697
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2699
# We set ac_cv_exeext here because the later test for it is not
2700
# safe: cross compilers may not add the suffix if given an `-o'
2701
# argument, so we may need to know it at that point already.
2702
# Even if this section looks crufty: it has the advantage of
2709
test "$ac_cv_exeext" = no && ac_cv_exeext=
2715
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2716
echo "${ECHO_T}$ac_file" >&6; }
2717
if test -z "$ac_file"; then
2718
echo "$as_me: failed program was:" >&5
2719
sed 's/^/| /' conftest.$ac_ext >&5
2721
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2722
See \`config.log' for more details." >&5
2723
echo "$as_me: error: C compiler cannot create executables
2724
See \`config.log' for more details." >&2;}
2725
{ (exit 77); exit 77; }; }
2728
ac_exeext=$ac_cv_exeext
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 the C compiler works" >&5
2733
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2734
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2735
# If not cross compiling, check that we can run a simple program.
2736
if test "$cross_compiling" != yes; then
2737
if { ac_try='./$ac_file'
2738
{ (case "(($ac_try" in
2739
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740
*) ac_try_echo=$ac_try;;
2742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2743
(eval "$ac_try") 2>&5
2745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746
(exit $ac_status); }; }; then
2749
if test "$cross_compiling" = maybe; then
2752
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2753
If you meant to cross compile, use \`--host'.
2754
See \`config.log' for more details." >&5
2755
echo "$as_me: error: cannot run C compiled programs.
2756
If you meant to cross compile, use \`--host'.
2757
See \`config.log' for more details." >&2;}
2758
{ (exit 1); exit 1; }; }
2762
{ echo "$as_me:$LINENO: result: yes" >&5
2763
echo "${ECHO_T}yes" >&6; }
2765
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2766
ac_clean_files=$ac_clean_files_save
2767
# Check that the compiler produces executables we can run. If not, either
2768
# the compiler is broken, or we cross compile.
2769
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2770
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2771
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2772
echo "${ECHO_T}$cross_compiling" >&6; }
2774
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2775
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2776
if { (ac_try="$ac_link"
2778
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779
*) ac_try_echo=$ac_try;;
2781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782
(eval "$ac_link") 2>&5
2784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
(exit $ac_status); }; then
2786
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2787
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2788
# work properly (i.e., refer to `conftest.exe'), while it won't with
2790
for ac_file in conftest.exe conftest conftest.*; do
2791
test -f "$ac_file" || continue
2793
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2794
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2801
See \`config.log' for more details." >&5
2802
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2803
See \`config.log' for more details." >&2;}
2804
{ (exit 1); exit 1; }; }
2807
rm -f conftest$ac_cv_exeext
2808
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2809
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2811
rm -f conftest.$ac_ext
2812
EXEEXT=$ac_cv_exeext
2814
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2815
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2816
if test "${ac_cv_objext+set}" = set; then
2817
echo $ECHO_N "(cached) $ECHO_C" >&6
2819
cat >conftest.$ac_ext <<_ACEOF
2822
cat confdefs.h >>conftest.$ac_ext
2823
cat >>conftest.$ac_ext <<_ACEOF
2824
/* end confdefs.h. */
2834
rm -f conftest.o conftest.obj
2835
if { (ac_try="$ac_compile"
2837
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838
*) ac_try_echo=$ac_try;;
2840
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841
(eval "$ac_compile") 2>&5
2843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
(exit $ac_status); }; then
2845
for ac_file in conftest.o conftest.obj conftest.*; do
2846
test -f "$ac_file" || continue;
2848
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2849
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2854
echo "$as_me: failed program was:" >&5
2855
sed 's/^/| /' conftest.$ac_ext >&5
2857
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2858
See \`config.log' for more details." >&5
2859
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2860
See \`config.log' for more details." >&2;}
2861
{ (exit 1); exit 1; }; }
2864
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2866
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2867
echo "${ECHO_T}$ac_cv_objext" >&6; }
2868
OBJEXT=$ac_cv_objext
2870
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2871
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2872
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2873
echo $ECHO_N "(cached) $ECHO_C" >&6
2875
cat >conftest.$ac_ext <<_ACEOF
2878
cat confdefs.h >>conftest.$ac_ext
2879
cat >>conftest.$ac_ext <<_ACEOF
2880
/* end confdefs.h. */
2893
rm -f conftest.$ac_objext
2894
if { (ac_try="$ac_compile"
2896
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897
*) ac_try_echo=$ac_try;;
2899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2900
(eval "$ac_compile") 2>conftest.er1
2902
grep -v '^ *+' conftest.er1 >conftest.err
2904
cat conftest.err >&5
2905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
(exit $ac_status); } && {
2907
test -z "$ac_c_werror_flag" ||
2908
test ! -s conftest.err
2909
} && test -s conftest.$ac_objext; then
2912
echo "$as_me: failed program was:" >&5
2913
sed 's/^/| /' conftest.$ac_ext >&5
2918
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2922
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2923
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2924
GCC=`test $ac_compiler_gnu = yes && echo yes`
2925
ac_test_CFLAGS=${CFLAGS+set}
2926
ac_save_CFLAGS=$CFLAGS
2927
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2928
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2929
if test "${ac_cv_prog_cc_g+set}" = set; then
2930
echo $ECHO_N "(cached) $ECHO_C" >&6
2932
ac_save_c_werror_flag=$ac_c_werror_flag
2933
ac_c_werror_flag=yes
2936
cat >conftest.$ac_ext <<_ACEOF
2939
cat confdefs.h >>conftest.$ac_ext
2940
cat >>conftest.$ac_ext <<_ACEOF
2941
/* end confdefs.h. */
2951
rm -f conftest.$ac_objext
2952
if { (ac_try="$ac_compile"
2954
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955
*) ac_try_echo=$ac_try;;
2957
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2958
(eval "$ac_compile") 2>conftest.er1
2960
grep -v '^ *+' conftest.er1 >conftest.err
2962
cat conftest.err >&5
2963
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964
(exit $ac_status); } && {
2965
test -z "$ac_c_werror_flag" ||
2966
test ! -s conftest.err
2967
} && test -s conftest.$ac_objext; then
2970
echo "$as_me: failed program was:" >&5
2971
sed 's/^/| /' conftest.$ac_ext >&5
2974
cat >conftest.$ac_ext <<_ACEOF
2977
cat confdefs.h >>conftest.$ac_ext
2978
cat >>conftest.$ac_ext <<_ACEOF
2979
/* end confdefs.h. */
2989
rm -f conftest.$ac_objext
2990
if { (ac_try="$ac_compile"
2992
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993
*) ac_try_echo=$ac_try;;
2995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2996
(eval "$ac_compile") 2>conftest.er1
2998
grep -v '^ *+' conftest.er1 >conftest.err
3000
cat conftest.err >&5
3001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002
(exit $ac_status); } && {
3003
test -z "$ac_c_werror_flag" ||
3004
test ! -s conftest.err
3005
} && test -s conftest.$ac_objext; then
3008
echo "$as_me: failed program was:" >&5
3009
sed 's/^/| /' conftest.$ac_ext >&5
3011
ac_c_werror_flag=$ac_save_c_werror_flag
3013
cat >conftest.$ac_ext <<_ACEOF
3016
cat confdefs.h >>conftest.$ac_ext
3017
cat >>conftest.$ac_ext <<_ACEOF
3018
/* end confdefs.h. */
3028
rm -f conftest.$ac_objext
3029
if { (ac_try="$ac_compile"
3031
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032
*) ac_try_echo=$ac_try;;
3034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3035
(eval "$ac_compile") 2>conftest.er1
3037
grep -v '^ *+' conftest.er1 >conftest.err
3039
cat conftest.err >&5
3040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041
(exit $ac_status); } && {
3042
test -z "$ac_c_werror_flag" ||
3043
test ! -s conftest.err
3044
} && test -s conftest.$ac_objext; then
3047
echo "$as_me: failed program was:" >&5
3048
sed 's/^/| /' conftest.$ac_ext >&5
3053
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060
ac_c_werror_flag=$ac_save_c_werror_flag
3062
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3063
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3064
if test "$ac_test_CFLAGS" = set; then
3065
CFLAGS=$ac_save_CFLAGS
3066
elif test $ac_cv_prog_cc_g = yes; then
3067
if test "$GCC" = yes; then
3073
if test "$GCC" = yes; then
3079
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3080
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3081
if test "${ac_cv_prog_cc_c89+set}" = set; then
3082
echo $ECHO_N "(cached) $ECHO_C" >&6
3084
ac_cv_prog_cc_c89=no
3086
cat >conftest.$ac_ext <<_ACEOF
3089
cat confdefs.h >>conftest.$ac_ext
3090
cat >>conftest.$ac_ext <<_ACEOF
3091
/* end confdefs.h. */
3094
#include <sys/types.h>
3095
#include <sys/stat.h>
3096
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3097
struct buf { int x; };
3098
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3099
static char *e (p, i)
3105
static char *f (char * (*g) (char **, int), char **p, ...)
3110
s = g (p, va_arg (v,int));
3115
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3116
function prototypes and stuff, but not '\xHH' hex character constants.
3117
These don't provoke an error unfortunately, instead are silently treated
3118
as 'x'. The following induces an error, until -std is added to get
3119
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3120
array size at least. It's necessary to write '\x00'==0 to get something
3121
that's true only with -std. */
3122
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3124
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3125
inside strings and character constants. */
3127
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3129
int test (int i, double x);
3130
struct s1 {int (*f) (int a);};
3131
struct s2 {int (*f) (double a);};
3132
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3138
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3143
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3144
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3146
CC="$ac_save_CC $ac_arg"
3147
rm -f conftest.$ac_objext
3148
if { (ac_try="$ac_compile"
3150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151
*) ac_try_echo=$ac_try;;
3153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3154
(eval "$ac_compile") 2>conftest.er1
3156
grep -v '^ *+' conftest.er1 >conftest.err
3158
cat conftest.err >&5
3159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160
(exit $ac_status); } && {
3161
test -z "$ac_c_werror_flag" ||
3162
test ! -s conftest.err
3163
} && test -s conftest.$ac_objext; then
3164
ac_cv_prog_cc_c89=$ac_arg
3166
echo "$as_me: failed program was:" >&5
3167
sed 's/^/| /' conftest.$ac_ext >&5
3172
rm -f core conftest.err conftest.$ac_objext
3173
test "x$ac_cv_prog_cc_c89" != "xno" && break
3175
rm -f conftest.$ac_ext
3180
case "x$ac_cv_prog_cc_c89" in
3182
{ echo "$as_me:$LINENO: result: none needed" >&5
3183
echo "${ECHO_T}none needed" >&6; } ;;
3185
{ echo "$as_me:$LINENO: result: unsupported" >&5
3186
echo "${ECHO_T}unsupported" >&6; } ;;
3188
CC="$CC $ac_cv_prog_cc_c89"
3189
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3190
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3195
ac_cpp='$CPP $CPPFLAGS'
3196
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199
DEPDIR="${am__leading_dot}deps"
3201
ac_config_commands="$ac_config_commands depfiles"
3204
am_make=${MAKE-make}
3205
cat > confinc << 'END'
3210
# If we don't find an include directive, just comment out the code.
3211
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3212
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3216
# First try GNU make style include.
3217
echo "include confinc" > confmf
3218
# We grep out `Entering directory' and `Leaving directory'
3219
# messages which can occur if `w' ends up in MAKEFLAGS.
3220
# In particular we don't look at `^make:' because GNU make might
3221
# be invoked under some other name (usually "gmake"), in which
3222
# case it prints its new name instead of `make'.
3223
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3228
# Now try BSD make style include.
3229
if test "$am__include" = "#"; then
3230
echo '.include "confinc"' > confmf
3231
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3232
am__include=.include
3239
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3240
echo "${ECHO_T}$_am_result" >&6; }
3241
rm -f confinc confmf
3243
# Check whether --enable-dependency-tracking was given.
3244
if test "${enable_dependency_tracking+set}" = set; then
3245
enableval=$enable_dependency_tracking;
3248
if test "x$enable_dependency_tracking" != xno; then
3249
am_depcomp="$ac_aux_dir/depcomp"
3252
if test "x$enable_dependency_tracking" != xno; then
3262
depcc="$CC" am_compiler_list=
3264
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3265
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3266
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3267
echo $ECHO_N "(cached) $ECHO_C" >&6
3269
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3270
# We make a subdir and do the tests there. Otherwise we can end up
3271
# making bogus files that we don't know about and never remove. For
3272
# instance it was reported that on HP-UX the gcc test will end up
3273
# making a dummy file named `D' -- because `-MD' means `put the output
3276
# Copy depcomp to subdir because otherwise we won't find it if we're
3277
# using a relative directory.
3278
cp "$am_depcomp" conftest.dir
3280
# We will build objects and dependencies in a subdirectory because
3281
# it helps to detect inapplicable dependency modes. For instance
3282
# both Tru64's cc and ICC support -MD to output dependencies as a
3283
# side effect of compilation, but ICC will put the dependencies in
3284
# the current directory while Tru64 will put them in the object
3288
am_cv_CC_dependencies_compiler_type=none
3289
if test "$am_compiler_list" = ""; then
3290
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3292
for depmode in $am_compiler_list; do
3293
# Setup a source with many dependencies, because some compilers
3294
# like to wrap large dependency lists on column 80 (with \), and
3295
# we should not choose a depcomp mode which is confused by this.
3297
# We need to recreate these files for each test, as the compiler may
3298
# overwrite some of them when testing with obscure command lines.
3299
# This happens at least with the AIX C compiler.
3301
for i in 1 2 3 4 5 6; do
3302
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3303
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3304
# Solaris 8's {/usr,}/bin/sh.
3305
touch sub/conftst$i.h
3307
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3311
# after this tag, mechanisms are not by side-effect, so they'll
3312
# only be used when explicitly requested
3313
if test "x$enable_dependency_tracking" = xyes; then
3321
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3322
# mode. It turns out that the SunPro C++ compiler does not properly
3323
# handle `-M -o', and we need to detect this.
3324
if depmode=$depmode \
3325
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3326
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3327
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3328
>/dev/null 2>conftest.err &&
3329
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3330
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3331
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3332
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3333
# icc doesn't choke on unknown options, it will just issue warnings
3334
# or remarks (even with -Werror). So we grep stderr for any message
3335
# that says an option was ignored or not supported.
3336
# When given -MP, icc 7.0 and 7.1 complain thusly:
3337
# icc: Command line warning: ignoring option '-M'; no argument required
3338
# The diagnosis changed in icc 8.0:
3339
# icc: Command line remark: option '-MP' not supported
3340
if (grep 'ignoring option' conftest.err ||
3341
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3342
am_cv_CC_dependencies_compiler_type=$depmode
3351
am_cv_CC_dependencies_compiler_type=none
3355
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3356
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3357
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3360
test "x$enable_dependency_tracking" != xno \
3361
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3363
am__fastdepCC_FALSE='#'
3365
am__fastdepCC_TRUE='#'
3366
am__fastdepCC_FALSE=
3370
# Find a good install program. We prefer a C program (faster),
3371
# so one script is as good as another. But avoid the broken or
3372
# incompatible versions:
3373
# SysV /etc/install, /usr/sbin/install
3374
# SunOS /usr/etc/install
3375
# IRIX /sbin/install
3377
# AmigaOS /C/install, which installs bootblocks on floppy discs
3378
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3379
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3380
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3381
# OS/2's system install, which has a completely different semantic
3382
# ./install, which can be erroneously created by make from ./install.sh.
3383
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3384
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3385
if test -z "$INSTALL"; then
3386
if test "${ac_cv_path_install+set}" = set; then
3387
echo $ECHO_N "(cached) $ECHO_C" >&6
3389
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393
test -z "$as_dir" && as_dir=.
3394
# Account for people who put trailing slashes in PATH elements.
3396
./ | .// | /cC/* | \
3397
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3398
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3401
# OSF1 and SCO ODT 3.0 have their own names for install.
3402
# Don't use installbsd from OSF since it installs stuff as root
3404
for ac_prog in ginstall scoinst install; do
3405
for ac_exec_ext in '' $ac_executable_extensions; do
3406
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3407
if test $ac_prog = install &&
3408
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409
# AIX install. It has an incompatible calling convention.
3411
elif test $ac_prog = install &&
3412
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3413
# program-specific install script used by HP pwplus--don't use.
3416
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3429
if test "${ac_cv_path_install+set}" = set; then
3430
INSTALL=$ac_cv_path_install
3432
# As a last resort, use the slow shell script. Don't cache a
3433
# value for INSTALL within a source directory, because that will
3434
# break other packages using the cache if that directory is
3435
# removed, or if the value is a relative name.
3436
INSTALL=$ac_install_sh
3439
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3440
echo "${ECHO_T}$INSTALL" >&6; }
3442
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3443
# It thinks the first close brace ends the variable substitution.
3444
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3446
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3448
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3452
{ echo "$as_me:$LINENO: checking for mkstemp" >&5
3453
echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6; }
3454
if test "${ac_cv_func_mkstemp+set}" = set; then
3455
echo $ECHO_N "(cached) $ECHO_C" >&6
3457
cat >conftest.$ac_ext <<_ACEOF
3460
cat confdefs.h >>conftest.$ac_ext
3461
cat >>conftest.$ac_ext <<_ACEOF
3462
/* end confdefs.h. */
3463
/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
3464
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3465
#define mkstemp innocuous_mkstemp
3467
/* System header to define __stub macros and hopefully few prototypes,
3468
which can conflict with char mkstemp (); below.
3469
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3470
<limits.h> exists even on freestanding compilers. */
3473
# include <limits.h>
3475
# include <assert.h>
3480
/* Override any GCC internal prototype to avoid an error.
3481
Use char because int might match the return type of a GCC
3482
builtin and then its argument prototype would still apply. */
3487
/* The GNU C library defines this for functions which it implements
3488
to always fail with ENOSYS. Some functions are actually named
3489
something starting with __ and the normal name is an alias. */
3490
#if defined __stub_mkstemp || defined __stub___mkstemp
3502
rm -f conftest.$ac_objext conftest$ac_exeext
3503
if { (ac_try="$ac_link"
3505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506
*) ac_try_echo=$ac_try;;
3508
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3509
(eval "$ac_link") 2>conftest.er1
3511
grep -v '^ *+' conftest.er1 >conftest.err
3513
cat conftest.err >&5
3514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
(exit $ac_status); } && {
3516
test -z "$ac_c_werror_flag" ||
3517
test ! -s conftest.err
3518
} && test -s conftest$ac_exeext &&
3519
$as_test_x conftest$ac_exeext; then
3520
ac_cv_func_mkstemp=yes
3522
echo "$as_me: failed program was:" >&5
3523
sed 's/^/| /' conftest.$ac_ext >&5
3525
ac_cv_func_mkstemp=no
3528
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3529
conftest$ac_exeext conftest.$ac_ext
3531
{ echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
3532
echo "${ECHO_T}$ac_cv_func_mkstemp" >&6; }
3533
if test $ac_cv_func_mkstemp = yes; then
3535
cat >>confdefs.h <<\_ACEOF
3536
#define HAS_MKSTEMP 1
3542
# Find MAXHOSTNAMELEN definition
3543
# Common hidey holes:
3544
# BSD & Linux - <sys/param.h>
3545
# Solaris - <netdb.h>
3548
ac_cpp='$CPP $CPPFLAGS'
3549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3553
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3554
# On Suns, sometimes $CPP names a directory.
3555
if test -n "$CPP" && test -d "$CPP"; then
3558
if test -z "$CPP"; then
3559
if test "${ac_cv_prog_CPP+set}" = set; then
3560
echo $ECHO_N "(cached) $ECHO_C" >&6
3562
# Double quotes because CPP needs to be expanded
3563
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3566
for ac_c_preproc_warn_flag in '' yes
3568
# Use a header file that comes with gcc, so configuring glibc
3569
# with a fresh cross-compiler works.
3570
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3571
# <limits.h> exists even on freestanding compilers.
3572
# On the NeXT, cc -E runs the code through the compiler's parser,
3573
# not just through cpp. "Syntax error" is here to catch this case.
3574
cat >conftest.$ac_ext <<_ACEOF
3577
cat confdefs.h >>conftest.$ac_ext
3578
cat >>conftest.$ac_ext <<_ACEOF
3579
/* end confdefs.h. */
3581
# include <limits.h>
3583
# include <assert.h>
3587
if { (ac_try="$ac_cpp conftest.$ac_ext"
3589
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590
*) ac_try_echo=$ac_try;;
3592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3593
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3595
grep -v '^ *+' conftest.er1 >conftest.err
3597
cat conftest.err >&5
3598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599
(exit $ac_status); } >/dev/null && {
3600
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3601
test ! -s conftest.err
3605
echo "$as_me: failed program was:" >&5
3606
sed 's/^/| /' conftest.$ac_ext >&5
3608
# Broken: fails on valid input.
3612
rm -f conftest.err conftest.$ac_ext
3614
# OK, works on sane cases. Now check whether nonexistent headers
3615
# can be detected and how.
3616
cat >conftest.$ac_ext <<_ACEOF
3619
cat confdefs.h >>conftest.$ac_ext
3620
cat >>conftest.$ac_ext <<_ACEOF
3621
/* end confdefs.h. */
3622
#include <ac_nonexistent.h>
3624
if { (ac_try="$ac_cpp conftest.$ac_ext"
3626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627
*) ac_try_echo=$ac_try;;
3629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3632
grep -v '^ *+' conftest.er1 >conftest.err
3634
cat conftest.err >&5
3635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636
(exit $ac_status); } >/dev/null && {
3637
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3638
test ! -s conftest.err
3640
# Broken: success on invalid input.
3643
echo "$as_me: failed program was:" >&5
3644
sed 's/^/| /' conftest.$ac_ext >&5
3646
# Passes both tests.
3651
rm -f conftest.err conftest.$ac_ext
3654
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3655
rm -f conftest.err conftest.$ac_ext
3656
if $ac_preproc_ok; then
3668
{ echo "$as_me:$LINENO: result: $CPP" >&5
3669
echo "${ECHO_T}$CPP" >&6; }
3671
for ac_c_preproc_warn_flag in '' yes
3673
# Use a header file that comes with gcc, so configuring glibc
3674
# with a fresh cross-compiler works.
3675
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3676
# <limits.h> exists even on freestanding compilers.
3677
# On the NeXT, cc -E runs the code through the compiler's parser,
3678
# not just through cpp. "Syntax error" is here to catch this case.
3679
cat >conftest.$ac_ext <<_ACEOF
3682
cat confdefs.h >>conftest.$ac_ext
3683
cat >>conftest.$ac_ext <<_ACEOF
3684
/* end confdefs.h. */
3686
# include <limits.h>
3688
# include <assert.h>
3692
if { (ac_try="$ac_cpp conftest.$ac_ext"
3694
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695
*) ac_try_echo=$ac_try;;
3697
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3698
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3700
grep -v '^ *+' conftest.er1 >conftest.err
3702
cat conftest.err >&5
3703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704
(exit $ac_status); } >/dev/null && {
3705
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3706
test ! -s conftest.err
3710
echo "$as_me: failed program was:" >&5
3711
sed 's/^/| /' conftest.$ac_ext >&5
3713
# Broken: fails on valid input.
3717
rm -f conftest.err conftest.$ac_ext
3719
# OK, works on sane cases. Now check whether nonexistent headers
3720
# can be detected and how.
3721
cat >conftest.$ac_ext <<_ACEOF
3724
cat confdefs.h >>conftest.$ac_ext
3725
cat >>conftest.$ac_ext <<_ACEOF
3726
/* end confdefs.h. */
3727
#include <ac_nonexistent.h>
3729
if { (ac_try="$ac_cpp conftest.$ac_ext"
3731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732
*) ac_try_echo=$ac_try;;
3734
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3737
grep -v '^ *+' conftest.er1 >conftest.err
3739
cat conftest.err >&5
3740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741
(exit $ac_status); } >/dev/null && {
3742
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743
test ! -s conftest.err
3745
# Broken: success on invalid input.
3748
echo "$as_me: failed program was:" >&5
3749
sed 's/^/| /' conftest.$ac_ext >&5
3751
# Passes both tests.
3756
rm -f conftest.err conftest.$ac_ext
3759
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3760
rm -f conftest.err conftest.$ac_ext
3761
if $ac_preproc_ok; then
3764
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3765
See \`config.log' for more details." >&5
3766
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3767
See \`config.log' for more details." >&2;}
3768
{ (exit 1); exit 1; }; }
3772
ac_cpp='$CPP $CPPFLAGS'
3773
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3778
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3779
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3780
if test "${ac_cv_path_GREP+set}" = set; then
3781
echo $ECHO_N "(cached) $ECHO_C" >&6
3783
# Extract the first word of "grep ggrep" to use in msg output
3784
if test -z "$GREP"; then
3785
set dummy grep ggrep; ac_prog_name=$2
3786
if test "${ac_cv_path_GREP+set}" = set; then
3787
echo $ECHO_N "(cached) $ECHO_C" >&6
3789
ac_path_GREP_found=false
3790
# Loop through the user's path and test for each of PROGNAME-LIST
3791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3795
test -z "$as_dir" && as_dir=.
3796
for ac_prog in grep ggrep; do
3797
for ac_exec_ext in '' $ac_executable_extensions; do
3798
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3799
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3800
# Check for GNU ac_path_GREP and select it if it is found.
3801
# Check for GNU $ac_path_GREP
3802
case `"$ac_path_GREP" --version 2>&1` in
3804
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3807
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3810
cat "conftest.in" "conftest.in" >"conftest.tmp"
3811
mv "conftest.tmp" "conftest.in"
3812
cp "conftest.in" "conftest.nl"
3813
echo 'GREP' >> "conftest.nl"
3814
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3815
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3816
ac_count=`expr $ac_count + 1`
3817
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3818
# Best one so far, save it but keep looking for a better one
3819
ac_cv_path_GREP="$ac_path_GREP"
3820
ac_path_GREP_max=$ac_count
3822
# 10*(2^10) chars as input seems more than enough
3823
test $ac_count -gt 10 && break
3825
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3829
$ac_path_GREP_found && break 3
3839
GREP="$ac_cv_path_GREP"
3840
if test -z "$GREP"; then
3841
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3842
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3843
{ (exit 1); exit 1; }; }
3847
ac_cv_path_GREP=$GREP
3852
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3853
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3854
GREP="$ac_cv_path_GREP"
3857
{ echo "$as_me:$LINENO: checking for egrep" >&5
3858
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3859
if test "${ac_cv_path_EGREP+set}" = set; then
3860
echo $ECHO_N "(cached) $ECHO_C" >&6
3862
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3863
then ac_cv_path_EGREP="$GREP -E"
3865
# Extract the first word of "egrep" to use in msg output
3866
if test -z "$EGREP"; then
3867
set dummy egrep; ac_prog_name=$2
3868
if test "${ac_cv_path_EGREP+set}" = set; then
3869
echo $ECHO_N "(cached) $ECHO_C" >&6
3871
ac_path_EGREP_found=false
3872
# Loop through the user's path and test for each of PROGNAME-LIST
3873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3877
test -z "$as_dir" && as_dir=.
3878
for ac_prog in egrep; do
3879
for ac_exec_ext in '' $ac_executable_extensions; do
3880
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3881
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3882
# Check for GNU ac_path_EGREP and select it if it is found.
3883
# Check for GNU $ac_path_EGREP
3884
case `"$ac_path_EGREP" --version 2>&1` in
3886
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3889
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3892
cat "conftest.in" "conftest.in" >"conftest.tmp"
3893
mv "conftest.tmp" "conftest.in"
3894
cp "conftest.in" "conftest.nl"
3895
echo 'EGREP' >> "conftest.nl"
3896
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3897
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3898
ac_count=`expr $ac_count + 1`
3899
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3900
# Best one so far, save it but keep looking for a better one
3901
ac_cv_path_EGREP="$ac_path_EGREP"
3902
ac_path_EGREP_max=$ac_count
3904
# 10*(2^10) chars as input seems more than enough
3905
test $ac_count -gt 10 && break
3907
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3911
$ac_path_EGREP_found && break 3
3921
EGREP="$ac_cv_path_EGREP"
3922
if test -z "$EGREP"; then
3923
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3924
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3925
{ (exit 1); exit 1; }; }
3929
ac_cv_path_EGREP=$EGREP
3935
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3936
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3937
EGREP="$ac_cv_path_EGREP"
3940
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3941
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3942
if test "${ac_cv_header_stdc+set}" = set; then
3943
echo $ECHO_N "(cached) $ECHO_C" >&6
3945
cat >conftest.$ac_ext <<_ACEOF
3948
cat confdefs.h >>conftest.$ac_ext
3949
cat >>conftest.$ac_ext <<_ACEOF
3950
/* end confdefs.h. */
3964
rm -f conftest.$ac_objext
3965
if { (ac_try="$ac_compile"
3967
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968
*) ac_try_echo=$ac_try;;
3970
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3971
(eval "$ac_compile") 2>conftest.er1
3973
grep -v '^ *+' conftest.er1 >conftest.err
3975
cat conftest.err >&5
3976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977
(exit $ac_status); } && {
3978
test -z "$ac_c_werror_flag" ||
3979
test ! -s conftest.err
3980
} && test -s conftest.$ac_objext; then
3981
ac_cv_header_stdc=yes
3983
echo "$as_me: failed program was:" >&5
3984
sed 's/^/| /' conftest.$ac_ext >&5
3986
ac_cv_header_stdc=no
3989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991
if test $ac_cv_header_stdc = yes; then
3992
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3993
cat >conftest.$ac_ext <<_ACEOF
3996
cat confdefs.h >>conftest.$ac_ext
3997
cat >>conftest.$ac_ext <<_ACEOF
3998
/* end confdefs.h. */
4002
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4003
$EGREP "memchr" >/dev/null 2>&1; then
4006
ac_cv_header_stdc=no
4012
if test $ac_cv_header_stdc = yes; then
4013
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4014
cat >conftest.$ac_ext <<_ACEOF
4017
cat confdefs.h >>conftest.$ac_ext
4018
cat >>conftest.$ac_ext <<_ACEOF
4019
/* end confdefs.h. */
4023
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4024
$EGREP "free" >/dev/null 2>&1; then
4027
ac_cv_header_stdc=no
4033
if test $ac_cv_header_stdc = yes; then
4034
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4035
if test "$cross_compiling" = yes; then
4038
cat >conftest.$ac_ext <<_ACEOF
4041
cat confdefs.h >>conftest.$ac_ext
4042
cat >>conftest.$ac_ext <<_ACEOF
4043
/* end confdefs.h. */
4046
#if ((' ' & 0x0FF) == 0x020)
4047
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4048
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4050
# define ISLOWER(c) \
4051
(('a' <= (c) && (c) <= 'i') \
4052
|| ('j' <= (c) && (c) <= 'r') \
4053
|| ('s' <= (c) && (c) <= 'z'))
4054
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4057
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4062
for (i = 0; i < 256; i++)
4063
if (XOR (islower (i), ISLOWER (i))
4064
|| toupper (i) != TOUPPER (i))
4069
rm -f conftest$ac_exeext
4070
if { (ac_try="$ac_link"
4072
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073
*) ac_try_echo=$ac_try;;
4075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076
(eval "$ac_link") 2>&5
4078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4080
{ (case "(($ac_try" in
4081
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082
*) ac_try_echo=$ac_try;;
4084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085
(eval "$ac_try") 2>&5
4087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088
(exit $ac_status); }; }; then
4091
echo "$as_me: program exited with status $ac_status" >&5
4092
echo "$as_me: failed program was:" >&5
4093
sed 's/^/| /' conftest.$ac_ext >&5
4096
ac_cv_header_stdc=no
4098
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4104
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4105
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4106
if test $ac_cv_header_stdc = yes; then
4108
cat >>confdefs.h <<\_ACEOF
4109
#define STDC_HEADERS 1
4114
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4124
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4125
inttypes.h stdint.h unistd.h
4127
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4128
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4129
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4130
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4131
echo $ECHO_N "(cached) $ECHO_C" >&6
4133
cat >conftest.$ac_ext <<_ACEOF
4136
cat confdefs.h >>conftest.$ac_ext
4137
cat >>conftest.$ac_ext <<_ACEOF
4138
/* end confdefs.h. */
4139
$ac_includes_default
4141
#include <$ac_header>
4143
rm -f conftest.$ac_objext
4144
if { (ac_try="$ac_compile"
4146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147
*) ac_try_echo=$ac_try;;
4149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150
(eval "$ac_compile") 2>conftest.er1
4152
grep -v '^ *+' conftest.er1 >conftest.err
4154
cat conftest.err >&5
4155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156
(exit $ac_status); } && {
4157
test -z "$ac_c_werror_flag" ||
4158
test ! -s conftest.err
4159
} && test -s conftest.$ac_objext; then
4160
eval "$as_ac_Header=yes"
4162
echo "$as_me: failed program was:" >&5
4163
sed 's/^/| /' conftest.$ac_ext >&5
4165
eval "$as_ac_Header=no"
4168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170
ac_res=`eval echo '${'$as_ac_Header'}'`
4171
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4172
echo "${ECHO_T}$ac_res" >&6; }
4173
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4174
cat >>confdefs.h <<_ACEOF
4175
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4183
{ echo "$as_me:$LINENO: checking whether MAXHOSTNAMELEN is declared" >&5
4184
echo $ECHO_N "checking whether MAXHOSTNAMELEN is declared... $ECHO_C" >&6; }
4185
if test "${ac_cv_have_decl_MAXHOSTNAMELEN+set}" = set; then
4186
echo $ECHO_N "(cached) $ECHO_C" >&6
4188
cat >conftest.$ac_ext <<_ACEOF
4191
cat confdefs.h >>conftest.$ac_ext
4192
cat >>conftest.$ac_ext <<_ACEOF
4193
/* end confdefs.h. */
4194
$ac_includes_default
4198
#ifndef MAXHOSTNAMELEN
4199
(void) MAXHOSTNAMELEN;
4206
rm -f conftest.$ac_objext
4207
if { (ac_try="$ac_compile"
4209
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210
*) ac_try_echo=$ac_try;;
4212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213
(eval "$ac_compile") 2>conftest.er1
4215
grep -v '^ *+' conftest.er1 >conftest.err
4217
cat conftest.err >&5
4218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219
(exit $ac_status); } && {
4220
test -z "$ac_c_werror_flag" ||
4221
test ! -s conftest.err
4222
} && test -s conftest.$ac_objext; then
4223
ac_cv_have_decl_MAXHOSTNAMELEN=yes
4225
echo "$as_me: failed program was:" >&5
4226
sed 's/^/| /' conftest.$ac_ext >&5
4228
ac_cv_have_decl_MAXHOSTNAMELEN=no
4231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXHOSTNAMELEN" >&5
4234
echo "${ECHO_T}$ac_cv_have_decl_MAXHOSTNAMELEN" >&6; }
4235
if test $ac_cv_have_decl_MAXHOSTNAMELEN = yes; then
4236
FOUND_MAXHOSTNAMELEN=yes
4240
if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
4241
{ echo "$as_me:$LINENO: checking for header that defines MAXHOSTNAMELEN" >&5
4242
echo $ECHO_N "checking for header that defines MAXHOSTNAMELEN... $ECHO_C" >&6; }
4244
FOUND_MAXHOSTNAMELEN='not found'
4246
cat >conftest.$ac_ext <<_ACEOF
4249
cat confdefs.h >>conftest.$ac_ext
4250
cat >>conftest.$ac_ext <<_ACEOF
4251
/* end confdefs.h. */
4252
#include <sys/param.h>
4256
int h = MAXHOSTNAMELEN;
4261
rm -f conftest.$ac_objext
4262
if { (ac_try="$ac_compile"
4264
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265
*) ac_try_echo=$ac_try;;
4267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4268
(eval "$ac_compile") 2>conftest.er1
4270
grep -v '^ *+' conftest.er1 >conftest.err
4272
cat conftest.err >&5
4273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274
(exit $ac_status); } && {
4275
test -z "$ac_c_werror_flag" ||
4276
test ! -s conftest.err
4277
} && test -s conftest.$ac_objext; then
4278
FOUND_MAXHOSTNAMELEN='sys/param.h'
4280
cat >>confdefs.h <<\_ACEOF
4281
#define NEED_SYS_PARAM_H 1
4285
echo "$as_me: failed program was:" >&5
4286
sed 's/^/| /' conftest.$ac_ext >&5
4291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293
cat >conftest.$ac_ext <<_ACEOF
4296
cat confdefs.h >>conftest.$ac_ext
4297
cat >>conftest.$ac_ext <<_ACEOF
4298
/* end confdefs.h. */
4303
int h = MAXHOSTNAMELEN;
4308
rm -f conftest.$ac_objext
4309
if { (ac_try="$ac_compile"
4311
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312
*) ac_try_echo=$ac_try;;
4314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4315
(eval "$ac_compile") 2>conftest.er1
4317
grep -v '^ *+' conftest.er1 >conftest.err
4319
cat conftest.err >&5
4320
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321
(exit $ac_status); } && {
4322
test -z "$ac_c_werror_flag" ||
4323
test ! -s conftest.err
4324
} && test -s conftest.$ac_objext; then
4325
FOUND_MAXHOSTNAMELEN='netdb.h'
4327
cat >>confdefs.h <<\_ACEOF
4328
#define NEED_NETDB_H 1
4332
echo "$as_me: failed program was:" >&5
4333
sed 's/^/| /' conftest.$ac_ext >&5
4338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340
{ echo "$as_me:$LINENO: result: $FOUND_MAXHOSTNAMELEN" >&5
4341
echo "${ECHO_T}$FOUND_MAXHOSTNAMELEN" >&6; }
4344
# xrdb needs to know where to find cpp at runtime - previously set as CppCmd
4345
# in Imake config files for each OS
4347
# Check whether --with-cpp was given.
4348
if test "${with_cpp+set}" = set; then
4349
withval=$with_cpp; { echo "$as_me:$LINENO: checking for cpp" >&5
4350
echo $ECHO_N "checking for cpp... $ECHO_C" >&6; }
4352
{ echo "$as_me:$LINENO: result: $CPP_PATH" >&5
4353
echo "${ECHO_T}$CPP_PATH" >&6; }
4355
# Extract the first word of "cpp", so it can be a program name with args.
4356
set dummy cpp; ac_word=$2
4357
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4359
if test "${ac_cv_path_CPP_PATH+set}" = set; then
4360
echo $ECHO_N "(cached) $ECHO_C" >&6
4364
ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path.
4367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368
as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
4369
for as_dir in $as_dummy
4372
test -z "$as_dir" && as_dir=.
4373
for ac_exec_ext in '' $ac_executable_extensions; do
4374
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4375
ac_cv_path_CPP_PATH="$as_dir/$ac_word$ac_exec_ext"
4376
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4383
test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="cpp"
4387
CPP_PATH=$ac_cv_path_CPP_PATH
4388
if test -n "$CPP_PATH"; then
4389
{ echo "$as_me:$LINENO: result: $CPP_PATH" >&5
4390
echo "${ECHO_T}$CPP_PATH" >&6; }
4392
{ echo "$as_me:$LINENO: result: no" >&5
4393
echo "${ECHO_T}no" >&6; }
4400
cat >>confdefs.h <<_ACEOF
4401
#define CPP "$CPP_PATH"
4405
# Checks for pkg-config packages
4408
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4409
if test -n "$ac_tool_prefix"; then
4410
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4411
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4412
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4413
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4414
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4415
echo $ECHO_N "(cached) $ECHO_C" >&6
4419
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426
test -z "$as_dir" && as_dir=.
4427
for ac_exec_ext in '' $ac_executable_extensions; do
4428
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4430
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4441
if test -n "$PKG_CONFIG"; then
4442
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4443
echo "${ECHO_T}$PKG_CONFIG" >&6; }
4445
{ echo "$as_me:$LINENO: result: no" >&5
4446
echo "${ECHO_T}no" >&6; }
4451
if test -z "$ac_cv_path_PKG_CONFIG"; then
4452
ac_pt_PKG_CONFIG=$PKG_CONFIG
4453
# Extract the first word of "pkg-config", so it can be a program name with args.
4454
set dummy pkg-config; ac_word=$2
4455
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4456
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4457
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4458
echo $ECHO_N "(cached) $ECHO_C" >&6
4460
case $ac_pt_PKG_CONFIG in
4462
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469
test -z "$as_dir" && as_dir=.
4470
for ac_exec_ext in '' $ac_executable_extensions; do
4471
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4472
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4473
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4484
if test -n "$ac_pt_PKG_CONFIG"; then
4485
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4486
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4488
{ echo "$as_me:$LINENO: result: no" >&5
4489
echo "${ECHO_T}no" >&6; }
4492
if test "x$ac_pt_PKG_CONFIG" = x; then
4495
case $cross_compiling:$ac_tool_warned in
4497
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4498
whose name does not start with the host triplet. If you think this
4499
configuration is useful to you, please write to autoconf@gnu.org." >&5
4500
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4501
whose name does not start with the host triplet. If you think this
4502
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4503
ac_tool_warned=yes ;;
4505
PKG_CONFIG=$ac_pt_PKG_CONFIG
4508
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4512
if test -n "$PKG_CONFIG"; then
4513
_pkg_min_version=0.9.0
4514
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4515
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4516
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4517
{ echo "$as_me:$LINENO: result: yes" >&5
4518
echo "${ECHO_T}yes" >&6; }
4520
{ echo "$as_me:$LINENO: result: no" >&5
4521
echo "${ECHO_T}no" >&6; }
4528
{ echo "$as_me:$LINENO: checking for XRDB" >&5
4529
echo $ECHO_N "checking for XRDB... $ECHO_C" >&6; }
4531
if test -n "$PKG_CONFIG"; then
4532
if test -n "$PKG_CONFIG" && \
4533
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu x11\"") >&5
4534
($PKG_CONFIG --exists --print-errors "xmuu x11") 2>&5
4536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537
(exit $ac_status); }; then
4538
pkg_cv_XRDB_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11" 2>/dev/null`
4545
if test -n "$PKG_CONFIG"; then
4546
if test -n "$PKG_CONFIG" && \
4547
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu x11\"") >&5
4548
($PKG_CONFIG --exists --print-errors "xmuu x11") 2>&5
4550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551
(exit $ac_status); }; then
4552
pkg_cv_XRDB_LIBS=`$PKG_CONFIG --libs "xmuu x11" 2>/dev/null`
4560
if test $pkg_failed = yes; then
4561
XRDB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmuu x11"`
4562
# Put the nasty error message in config.log where it belongs
4563
echo "$XRDB_PKG_ERRORS" 1>&5
4565
{ { echo "$as_me:$LINENO: error: Package requirements (xmuu x11) were not met.
4566
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4567
installed software in a non-standard prefix.
4569
Alternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
4570
to avoid the need to call pkg-config. See the pkg-config man page for
4572
echo "$as_me: error: Package requirements (xmuu x11) were not met.
4573
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4574
installed software in a non-standard prefix.
4576
Alternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
4577
to avoid the need to call pkg-config. See the pkg-config man page for
4578
more details." >&2;}
4579
{ (exit 1); exit 1; }; }
4580
elif test $pkg_failed = untried; then
4581
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4582
is in your PATH or set the PKG_CONFIG environment variable to the full
4585
Alternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
4586
to avoid the need to call pkg-config. See the pkg-config man page for
4589
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4590
See \`config.log' for more details." >&5
4591
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4592
is in your PATH or set the PKG_CONFIG environment variable to the full
4595
Alternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
4596
to avoid the need to call pkg-config. See the pkg-config man page for
4599
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4600
See \`config.log' for more details." >&2;}
4601
{ (exit 1); exit 1; }; }
4603
XRDB_CFLAGS=$pkg_cv_XRDB_CFLAGS
4604
XRDB_LIBS=$pkg_cv_XRDB_LIBS
4605
{ echo "$as_me:$LINENO: result: yes" >&5
4606
echo "${ECHO_T}yes" >&6; }
4612
# Make sure we can run config.sub.
4613
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4614
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4615
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4616
{ (exit 1); exit 1; }; }
4618
{ echo "$as_me:$LINENO: checking build system type" >&5
4619
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4620
if test "${ac_cv_build+set}" = set; then
4621
echo $ECHO_N "(cached) $ECHO_C" >&6
4623
ac_build_alias=$build_alias
4624
test "x$ac_build_alias" = x &&
4625
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4626
test "x$ac_build_alias" = x &&
4627
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4628
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4629
{ (exit 1); exit 1; }; }
4630
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4631
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4632
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4633
{ (exit 1); exit 1; }; }
4636
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4637
echo "${ECHO_T}$ac_cv_build" >&6; }
4638
case $ac_cv_build in
4640
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4641
echo "$as_me: error: invalid value of canonical build" >&2;}
4642
{ (exit 1); exit 1; }; };;
4645
ac_save_IFS=$IFS; IFS='-'
4651
# Remember, the first character of IFS is used to create $*,
4652
# except with old shells:
4655
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4658
{ echo "$as_me:$LINENO: checking host system type" >&5
4659
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4660
if test "${ac_cv_host+set}" = set; then
4661
echo $ECHO_N "(cached) $ECHO_C" >&6
4663
if test "x$host_alias" = x; then
4664
ac_cv_host=$ac_cv_build
4666
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4667
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4668
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4669
{ (exit 1); exit 1; }; }
4673
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4674
echo "${ECHO_T}$ac_cv_host" >&6; }
4677
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4678
echo "$as_me: error: invalid value of canonical host" >&2;}
4679
{ (exit 1); exit 1; }; };;
4682
ac_save_IFS=$IFS; IFS='-'
4688
# Remember, the first character of IFS is used to create $*,
4689
# except with old shells:
4692
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4698
if test x$APP_MAN_SUFFIX = x ; then
4701
if test x$APP_MAN_DIR = x ; then
4702
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4705
if test x$LIB_MAN_SUFFIX = x ; then
4708
if test x$LIB_MAN_DIR = x ; then
4709
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4712
if test x$FILE_MAN_SUFFIX = x ; then
4714
solaris*) FILE_MAN_SUFFIX=4 ;;
4715
*) FILE_MAN_SUFFIX=5 ;;
4718
if test x$FILE_MAN_DIR = x ; then
4719
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4722
if test x$MISC_MAN_SUFFIX = x ; then
4724
solaris*) MISC_MAN_SUFFIX=5 ;;
4725
*) MISC_MAN_SUFFIX=7 ;;
4728
if test x$MISC_MAN_DIR = x ; then
4729
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4732
if test x$DRIVER_MAN_SUFFIX = x ; then
4734
solaris*) DRIVER_MAN_SUFFIX=7 ;;
4735
*) DRIVER_MAN_SUFFIX=4 ;;
4738
if test x$DRIVER_MAN_DIR = x ; then
4739
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4742
if test x$ADMIN_MAN_SUFFIX = x ; then
4744
solaris*) ADMIN_MAN_SUFFIX=1m ;;
4745
*) ADMIN_MAN_SUFFIX=8 ;;
4748
if test x$ADMIN_MAN_DIR = x ; then
4749
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4768
# Check whether --with-release-version was given.
4769
if test "${with_release_version+set}" = set; then
4770
withval=$with_release_version; RELEASE_VERSION="$withval"
4775
if test "x$RELEASE_VERSION" != "x"; then
4776
PACKAGE="$PACKAGE-$RELEASE_VERSION"
4777
PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4778
{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4779
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4782
cat >>confdefs.h <<_ACEOF
4783
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4786
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
4787
if test "x$PVM" = "x"; then
4791
cat >>confdefs.h <<_ACEOF
4792
#define PACKAGE_VERSION_MINOR $PVM
4795
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
4796
if test "x$PVP" = "x"; then
4800
cat >>confdefs.h <<_ACEOF
4801
#define PACKAGE_VERSION_PATCHLEVEL $PVP
4806
ac_config_files="$ac_config_files Makefile"
4808
cat >confcache <<\_ACEOF
4809
# This file is a shell script that caches the results of configure
4810
# tests run on this system so they can be shared between configure
4811
# scripts and configure runs, see configure's option --config-cache.
4812
# It is not useful on other systems. If it contains results you don't
4813
# want to keep, you may remove or edit it.
4815
# config.status only pays attention to the cache file if you give it
4816
# the --recheck option to rerun configure.
4818
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4819
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4824
# The following way of writing the cache mishandles newlines in values,
4825
# but we know of no workaround that is simple, portable, and efficient.
4826
# So, we kill variables containing newlines.
4827
# Ultrix sh set writes to stderr and can't be redirected directly,
4828
# and sets the high bit in the cache file unless we assign to the vars.
4830
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4831
eval ac_val=\$$ac_var
4835
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4836
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4839
_ | IFS | as_nl) ;; #(
4840
*) $as_unset $ac_var ;;
4846
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4847
*${as_nl}ac_space=\ *)
4848
# `set' does not quote correctly, so add quotes (double-quote
4849
# substitution turns \\\\ into \\, and sed turns \\ into \).
4852
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4855
# `set' quotes correctly as required by POSIX, so do not add quotes.
4856
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4865
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4867
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4869
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4870
if test -w "$cache_file"; then
4871
test "x$cache_file" != "x/dev/null" &&
4872
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4873
echo "$as_me: updating cache $cache_file" >&6;}
4874
cat confcache >$cache_file
4876
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4877
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4882
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4883
# Let make expand exec_prefix.
4884
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4886
DEFS=-DHAVE_CONFIG_H
4890
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4891
# 1. Remove the extension, and $U if already installed.
4892
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4893
ac_i=`echo "$ac_i" | sed "$ac_script"`
4894
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4895
# will be set to the directory where LIBOBJS objects are built.
4896
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4897
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4901
LTLIBOBJS=$ac_ltlibobjs
4904
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4905
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4906
Usually this means the macro was only invoked conditionally." >&5
4907
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4908
Usually this means the macro was only invoked conditionally." >&2;}
4909
{ (exit 1); exit 1; }; }
4911
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4912
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4913
Usually this means the macro was only invoked conditionally." >&5
4914
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4915
Usually this means the macro was only invoked conditionally." >&2;}
4916
{ (exit 1); exit 1; }; }
4918
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4919
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4920
Usually this means the macro was only invoked conditionally." >&5
4921
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4922
Usually this means the macro was only invoked conditionally." >&2;}
4923
{ (exit 1); exit 1; }; }
4926
: ${CONFIG_STATUS=./config.status}
4927
ac_clean_files_save=$ac_clean_files
4928
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4929
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4930
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4931
cat >$CONFIG_STATUS <<_ACEOF
4933
# Generated by $as_me.
4934
# Run this file to recreate the current configuration.
4935
# Compiler output produced by configure, useful for debugging
4936
# configure, is in config.log if it exists.
4941
SHELL=\${CONFIG_SHELL-$SHELL}
4944
cat >>$CONFIG_STATUS <<\_ACEOF
4945
## --------------------- ##
4946
## M4sh Initialization. ##
4947
## --------------------- ##
4949
# Be more Bourne compatible
4950
DUALCASE=1; export DUALCASE # for MKS sh
4951
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4954
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4955
# is contrary to our usage. Disable this feature.
4956
alias -g '${1+"$@"}'='"$@"'
4957
setopt NO_GLOB_SUBST
4959
case `(set -o) 2>/dev/null` in
4960
*posix*) set -o posix ;;
4969
# Avoid depending upon Character Ranges.
4970
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4971
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4972
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4973
as_cr_digits='0123456789'
4974
as_cr_alnum=$as_cr_Letters$as_cr_digits
4976
# The user is always right.
4977
if test "${PATH_SEPARATOR+set}" != set; then
4978
echo "#! /bin/sh" >conf$$.sh
4979
echo "exit 0" >>conf$$.sh
4981
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4989
# Support unset when possible.
4990
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4998
# We need space, tab and new line, in precisely that order. Quoting is
4999
# there to prevent editors from complaining about space-tab.
5000
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5001
# splitting by setting IFS to empty value.)
5006
# Find who we are. Look in the path if we contain no directory separator.
5008
*[\\/]* ) as_myself=$0 ;;
5009
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013
test -z "$as_dir" && as_dir=.
5014
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5020
# We did not find ourselves, most probably we were run as `sh COMMAND'
5021
# in which case we are not to be found in the path.
5022
if test "x$as_myself" = x; then
5025
if test ! -f "$as_myself"; then
5026
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5027
{ (exit 1); exit 1; }
5030
# Work around bugs in pre-3.0 UWIN ksh.
5031
for as_var in ENV MAIL MAILPATH
5032
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5040
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5041
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5042
LC_TELEPHONE LC_TIME
5044
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5045
eval $as_var=C; export $as_var
5047
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5051
# Required to use basename.
5052
if expr a : '\(a\)' >/dev/null 2>&1 &&
5053
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5059
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5060
as_basename=basename
5066
# Name of the executable.
5067
as_me=`$as_basename -- "$0" ||
5068
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5069
X"$0" : 'X\(//\)$' \| \
5070
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5072
sed '/^.*\/\([^/][^/]*\)\/*$/{
5093
test "x$as_lineno_1" != "x$as_lineno_2" &&
5094
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5096
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5097
# uniformly replaced by the line number. The first 'sed' inserts a
5098
# line-number line after each line using $LINENO; the second 'sed'
5099
# does the real work. The second script uses 'N' to pair each
5100
# line-number line with the line containing $LINENO, and appends
5101
# trailing '-' during substitution so that $LINENO is not a special
5103
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5104
# scripts with optimization help from Paolo Bonzini. Blame Lee
5105
# E. McMahon (1931-1989) for sed's syntax. :-)
5117
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5121
chmod +x "$as_me.lineno" ||
5122
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5123
{ (exit 1); exit 1; }; }
5125
# Don't try to exec as it changes $[0], causing all sort of problems
5126
# (the dirname of $[0] is not the place where we might find the
5127
# original and so on. Autoconf is especially sensitive to this).
5129
# Exit status is that of the last command.
5134
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5140
ECHO_C= ECHO_N= ECHO_T=
5143
case `echo 'x\c'` in
5144
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5151
if expr a : '\(a\)' >/dev/null 2>&1 &&
5152
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5158
rm -f conf$$ conf$$.exe conf$$.file
5159
if test -d conf$$.dir; then
5160
rm -f conf$$.dir/conf$$.file
5166
if ln -s conf$$.file conf$$ 2>/dev/null; then
5168
# ... but there are two gotchas:
5169
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5170
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5171
# In both cases, we have to default to `cp -p'.
5172
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5174
elif ln conf$$.file conf$$ 2>/dev/null; then
5179
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5180
rmdir conf$$.dir 2>/dev/null
5182
if mkdir -p . 2>/dev/null; then
5185
test -d ./-p && rmdir ./-p
5189
if test -x / >/dev/null 2>&1; then
5192
if ls -dL / >/dev/null 2>&1; then
5199
if test -d "$1"; then
5205
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5206
???[sx]*):;;*)false;;esac;fi
5210
as_executable_p=$as_test_x
5212
# Sed expression to map a string onto a valid CPP name.
5213
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5215
# Sed expression to map a string onto a valid variable name.
5216
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5221
# Save the log message, to keep $[0] and so on meaningful, and to
5222
# report actual input values of CONFIG_FILES etc. instead of their
5223
# values after options handling.
5225
This file was extended by xrdb $as_me 1.0.4, which was
5226
generated by GNU Autoconf 2.61. Invocation command line was
5228
CONFIG_FILES = $CONFIG_FILES
5229
CONFIG_HEADERS = $CONFIG_HEADERS
5230
CONFIG_LINKS = $CONFIG_LINKS
5231
CONFIG_COMMANDS = $CONFIG_COMMANDS
5234
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5239
cat >>$CONFIG_STATUS <<_ACEOF
5240
# Files that config.status was made for.
5241
config_files="$ac_config_files"
5242
config_headers="$ac_config_headers"
5243
config_commands="$ac_config_commands"
5247
cat >>$CONFIG_STATUS <<\_ACEOF
5249
\`$as_me' instantiates files from templates according to the
5250
current configuration.
5252
Usage: $0 [OPTIONS] [FILE]...
5254
-h, --help print this help, then exit
5255
-V, --version print version number and configuration settings, then exit
5256
-q, --quiet do not print progress messages
5257
-d, --debug don't remove temporary files
5258
--recheck update $as_me by reconfiguring in the same conditions
5259
--file=FILE[:TEMPLATE]
5260
instantiate the configuration file FILE
5261
--header=FILE[:TEMPLATE]
5262
instantiate the configuration header FILE
5264
Configuration files:
5267
Configuration headers:
5270
Configuration commands:
5273
Report bugs to <bug-autoconf@gnu.org>."
5276
cat >>$CONFIG_STATUS <<_ACEOF
5278
xrdb config.status 1.0.4
5279
configured by $0, generated by GNU Autoconf 2.61,
5280
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5282
Copyright (C) 2006 Free Software Foundation, Inc.
5283
This config.status script is free software; the Free Software Foundation
5284
gives unlimited permission to copy, distribute and modify it."
5292
cat >>$CONFIG_STATUS <<\_ACEOF
5293
# If no file are specified by the user, then we need to provide default
5294
# value. By we need to know if files were specified by the user.
5300
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5301
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5312
# Handling of the options.
5313
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5315
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5316
echo "$ac_cs_version"; exit ;;
5317
--debug | --debu | --deb | --de | --d | -d )
5319
--file | --fil | --fi | --f )
5321
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5322
ac_need_defaults=false;;
5323
--header | --heade | --head | --hea )
5325
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5326
ac_need_defaults=false;;
5328
# Conflict between --help and --header
5329
{ echo "$as_me: error: ambiguous option: $1
5330
Try \`$0 --help' for more information." >&2
5331
{ (exit 1); exit 1; }; };;
5332
--help | --hel | -h )
5333
echo "$ac_cs_usage"; exit ;;
5334
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5335
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5339
-*) { echo "$as_me: error: unrecognized option: $1
5340
Try \`$0 --help' for more information." >&2
5341
{ (exit 1); exit 1; }; } ;;
5343
*) ac_config_targets="$ac_config_targets $1"
5344
ac_need_defaults=false ;;
5350
ac_configure_extra_args=
5352
if $ac_cs_silent; then
5354
ac_configure_extra_args="$ac_configure_extra_args --silent"
5358
cat >>$CONFIG_STATUS <<_ACEOF
5359
if \$ac_cs_recheck; then
5360
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5363
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5367
cat >>$CONFIG_STATUS <<\_ACEOF
5371
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5372
## Running $as_me. ##
5378
cat >>$CONFIG_STATUS <<_ACEOF
5382
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5386
cat >>$CONFIG_STATUS <<\_ACEOF
5388
# Handling of arguments.
5389
for ac_config_target in $ac_config_targets
5391
case $ac_config_target in
5392
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5393
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5394
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5396
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5397
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5398
{ (exit 1); exit 1; }; };;
5403
# If the user did not use the arguments to specify the items to instantiate,
5404
# then the envvar interface is used. Set only those that are not.
5405
# We use the long form for the default assignment because of an extremely
5406
# bizarre bug on SunOS 4.1.3.
5407
if $ac_need_defaults; then
5408
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5409
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5410
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5413
# Have a temporary directory for convenience. Make it in the build tree
5414
# simply because there is no reason against having it here, and in addition,
5415
# creating and moving files from /tmp can sometimes cause problems.
5416
# Hook for its removal unless debugging.
5417
# Note that there is a small window in which the directory will not be cleaned:
5418
# after its creation but before its name has been assigned to `$tmp'.
5422
trap 'exit_status=$?
5423
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5425
trap '{ (exit 1); exit 1; }' 1 2 13 15
5427
# Create a (secure) tmp directory for tmp files.
5430
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5431
test -n "$tmp" && test -d "$tmp"
5434
tmp=./conf$$-$RANDOM
5435
(umask 077 && mkdir "$tmp")
5438
echo "$me: cannot create a temporary directory in ." >&2
5439
{ (exit 1); exit 1; }
5443
# Set up the sed scripts for CONFIG_FILES section.
5446
# No need to generate the scripts if there are no CONFIG_FILES.
5447
# This happens for instance when ./config.status config.h
5448
if test -n "$CONFIG_FILES"; then
5455
for ac_last_try in false false false false false :; do
5456
cat >conf$$subs.sed <<_ACEOF
5457
SHELL!$SHELL$ac_delim
5458
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5459
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5460
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5461
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5462
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5463
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5464
exec_prefix!$exec_prefix$ac_delim
5465
prefix!$prefix$ac_delim
5466
program_transform_name!$program_transform_name$ac_delim
5467
bindir!$bindir$ac_delim
5468
sbindir!$sbindir$ac_delim
5469
libexecdir!$libexecdir$ac_delim
5470
datarootdir!$datarootdir$ac_delim
5471
datadir!$datadir$ac_delim
5472
sysconfdir!$sysconfdir$ac_delim
5473
sharedstatedir!$sharedstatedir$ac_delim
5474
localstatedir!$localstatedir$ac_delim
5475
includedir!$includedir$ac_delim
5476
oldincludedir!$oldincludedir$ac_delim
5477
docdir!$docdir$ac_delim
5478
infodir!$infodir$ac_delim
5479
htmldir!$htmldir$ac_delim
5480
dvidir!$dvidir$ac_delim
5481
pdfdir!$pdfdir$ac_delim
5482
psdir!$psdir$ac_delim
5483
libdir!$libdir$ac_delim
5484
localedir!$localedir$ac_delim
5485
mandir!$mandir$ac_delim
5487
ECHO_C!$ECHO_C$ac_delim
5488
ECHO_N!$ECHO_N$ac_delim
5489
ECHO_T!$ECHO_T$ac_delim
5491
build_alias!$build_alias$ac_delim
5492
host_alias!$host_alias$ac_delim
5493
target_alias!$target_alias$ac_delim
5494
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5495
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5496
INSTALL_DATA!$INSTALL_DATA$ac_delim
5497
am__isrc!$am__isrc$ac_delim
5498
CYGPATH_W!$CYGPATH_W$ac_delim
5499
PACKAGE!$PACKAGE$ac_delim
5500
VERSION!$VERSION$ac_delim
5501
ACLOCAL!$ACLOCAL$ac_delim
5502
AUTOCONF!$AUTOCONF$ac_delim
5503
AUTOMAKE!$AUTOMAKE$ac_delim
5504
AUTOHEADER!$AUTOHEADER$ac_delim
5505
MAKEINFO!$MAKEINFO$ac_delim
5506
install_sh!$install_sh$ac_delim
5507
STRIP!$STRIP$ac_delim
5508
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5509
mkdir_p!$mkdir_p$ac_delim
5511
SET_MAKE!$SET_MAKE$ac_delim
5512
am__leading_dot!$am__leading_dot$ac_delim
5513
AMTAR!$AMTAR$ac_delim
5514
am__tar!$am__tar$ac_delim
5515
am__untar!$am__untar$ac_delim
5516
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5517
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5518
MAINT!$MAINT$ac_delim
5520
CFLAGS!$CFLAGS$ac_delim
5521
LDFLAGS!$LDFLAGS$ac_delim
5522
CPPFLAGS!$CPPFLAGS$ac_delim
5523
ac_ct_CC!$ac_ct_CC$ac_delim
5524
EXEEXT!$EXEEXT$ac_delim
5525
OBJEXT!$OBJEXT$ac_delim
5526
DEPDIR!$DEPDIR$ac_delim
5527
am__include!$am__include$ac_delim
5528
am__quote!$am__quote$ac_delim
5529
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5530
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5531
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5532
CCDEPMODE!$CCDEPMODE$ac_delim
5533
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5534
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5537
EGREP!$EGREP$ac_delim
5538
CPP_PATH!$CPP_PATH$ac_delim
5539
PKG_CONFIG!$PKG_CONFIG$ac_delim
5540
XRDB_CFLAGS!$XRDB_CFLAGS$ac_delim
5541
XRDB_LIBS!$XRDB_LIBS$ac_delim
5542
build!$build$ac_delim
5543
build_cpu!$build_cpu$ac_delim
5544
build_vendor!$build_vendor$ac_delim
5545
build_os!$build_os$ac_delim
5547
host_cpu!$host_cpu$ac_delim
5548
host_vendor!$host_vendor$ac_delim
5549
host_os!$host_os$ac_delim
5550
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
5551
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
5552
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
5553
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
5556
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5558
elif $ac_last_try; then
5559
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5560
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5561
{ (exit 1); exit 1; }; }
5563
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5567
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5568
if test -n "$ac_eof"; then
5569
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5570
ac_eof=`expr $ac_eof + 1`
5573
cat >>$CONFIG_STATUS <<_ACEOF
5574
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5575
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5578
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5579
s/^/s,@/; s/!/@,|#_!!_#|/
5582
s/'"$ac_delim"'$/,g/; t
5584
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5585
' >>$CONFIG_STATUS <conf$$subs.sed
5586
rm -f conf$$subs.sed
5587
cat >>$CONFIG_STATUS <<_ACEOF
5593
for ac_last_try in false false false false false :; do
5594
cat >conf$$subs.sed <<_ACEOF
5595
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
5596
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
5597
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
5598
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
5599
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
5600
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
5601
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
5602
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
5603
LIBOBJS!$LIBOBJS$ac_delim
5604
LTLIBOBJS!$LTLIBOBJS$ac_delim
5607
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
5609
elif $ac_last_try; then
5610
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5611
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5612
{ (exit 1); exit 1; }; }
5614
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5618
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5619
if test -n "$ac_eof"; then
5620
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5621
ac_eof=`expr $ac_eof + 1`
5624
cat >>$CONFIG_STATUS <<_ACEOF
5625
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
5626
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5629
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5630
s/^/s,@/; s/!/@,|#_!!_#|/
5633
s/'"$ac_delim"'$/,g/; t
5635
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5636
' >>$CONFIG_STATUS <conf$$subs.sed
5637
rm -f conf$$subs.sed
5638
cat >>$CONFIG_STATUS <<_ACEOF
5645
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5646
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5647
# trailing colons and then remove the whole line if VPATH becomes empty
5648
# (actually we leave an empty line to preserve line numbers).
5649
if test "x$srcdir" = x.; then
5650
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5654
s/^\([^=]*=[ ]*\):*/\1/
5660
cat >>$CONFIG_STATUS <<\_ACEOF
5661
fi # test -n "$CONFIG_FILES"
5664
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5667
:[FHLC]) ac_mode=$ac_tag; continue;;
5669
case $ac_mode$ac_tag in
5671
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5672
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5673
{ (exit 1); exit 1; }; };;
5674
:[FH]-) ac_tag=-:-;;
5675
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5692
-) ac_f="$tmp/stdin";;
5693
*) # Look for the file first in the build tree, then in the source tree
5694
# (if the path is not absolute). The absolute path cannot be DOS-style,
5695
# because $ac_f cannot contain `:'.
5699
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5701
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5702
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5703
{ (exit 1); exit 1; }; };;
5705
ac_file_inputs="$ac_file_inputs $ac_f"
5708
# Let's still pretend it is `configure' which instantiates (i.e., don't
5709
# use $as_me), people would be surprised to read:
5710
# /* config.h. Generated by config.status. */
5711
configure_input="Generated from "`IFS=:
5712
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5713
if test x"$ac_file" != x-; then
5714
configure_input="$ac_file. $configure_input"
5715
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5716
echo "$as_me: creating $ac_file" >&6;}
5720
*:-:* | *:-) cat >"$tmp/stdin";;
5725
ac_dir=`$as_dirname -- "$ac_file" ||
5726
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5727
X"$ac_file" : 'X\(//\)[^/]' \| \
5728
X"$ac_file" : 'X\(//\)$' \| \
5729
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5731
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5750
-*) as_dir=./$as_dir;;
5752
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5756
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5757
*) as_qdir=$as_dir;;
5759
as_dirs="'$as_qdir' $as_dirs"
5760
as_dir=`$as_dirname -- "$as_dir" ||
5761
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5762
X"$as_dir" : 'X\(//\)[^/]' \| \
5763
X"$as_dir" : 'X\(//\)$' \| \
5764
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5766
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5783
test -d "$as_dir" && break
5785
test -z "$as_dirs" || eval "mkdir $as_dirs"
5786
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5787
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5788
{ (exit 1); exit 1; }; }; }
5792
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5794
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5795
# A ".." for each directory in $ac_dir_suffix.
5796
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5797
case $ac_top_builddir_sub in
5798
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5799
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5802
ac_abs_top_builddir=$ac_pwd
5803
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5804
# for backward compatibility:
5805
ac_top_builddir=$ac_top_build_prefix
5808
.) # We are building in place.
5810
ac_top_srcdir=$ac_top_builddir_sub
5811
ac_abs_top_srcdir=$ac_pwd ;;
5812
[\\/]* | ?:[\\/]* ) # Absolute name.
5813
ac_srcdir=$srcdir$ac_dir_suffix;
5814
ac_top_srcdir=$srcdir
5815
ac_abs_top_srcdir=$srcdir ;;
5817
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5818
ac_top_srcdir=$ac_top_build_prefix$srcdir
5819
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5821
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5831
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5832
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5836
[\\/$]* | ?:[\\/]* ) ;;
5837
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5841
cat >>$CONFIG_STATUS <<\_ACEOF
5842
# If the template does not know about datarootdir, expand it.
5843
# FIXME: This hack should be removed a few years after 2.60.
5844
ac_datarootdir_hack=; ac_datarootdir_seen=
5846
case `sed -n '/datarootdir/ {
5855
' $ac_file_inputs` in
5856
*datarootdir*) ac_datarootdir_seen=yes;;
5857
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5858
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5859
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5861
cat >>$CONFIG_STATUS <<_ACEOF
5862
ac_datarootdir_hack='
5863
s&@datadir@&$datadir&g
5864
s&@docdir@&$docdir&g
5865
s&@infodir@&$infodir&g
5866
s&@localedir@&$localedir&g
5867
s&@mandir@&$mandir&g
5868
s&\\\${datarootdir}&$datarootdir&g' ;;
5872
# Neutralize VPATH when `$srcdir' = `.'.
5873
# Shell code in configure.ac might set extrasub.
5874
# FIXME: do we really want to maintain this feature?
5875
cat >>$CONFIG_STATUS <<_ACEOF
5879
cat >>$CONFIG_STATUS <<\_ACEOF
5881
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5882
s&@configure_input@&$configure_input&;t t
5883
s&@top_builddir@&$ac_top_builddir_sub&;t t
5884
s&@srcdir@&$ac_srcdir&;t t
5885
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5886
s&@top_srcdir@&$ac_top_srcdir&;t t
5887
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5888
s&@builddir@&$ac_builddir&;t t
5889
s&@abs_builddir@&$ac_abs_builddir&;t t
5890
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5891
s&@INSTALL@&$ac_INSTALL&;t t
5892
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5893
$ac_datarootdir_hack
5894
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5896
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5897
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5898
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5899
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5900
which seems to be undefined. Please make sure it is defined." >&5
5901
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5902
which seems to be undefined. Please make sure it is defined." >&2;}
5906
-) cat "$tmp/out"; rm -f "$tmp/out";;
5907
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5916
# Transform confdefs.h into a sed script `conftest.defines', that
5917
# substitutes the proper values into config.h.in to produce config.h.
5918
rm -f conftest.defines conftest.tail
5919
# First, append a space to every undef/define line, to ease matching.
5920
echo 's/$/ /' >conftest.defines
5921
# Then, protect against being on the right side of a sed subst, or in
5922
# an unquoted here document, in config.status. If some macros were
5923
# called several times there might be several #defines for the same
5924
# symbol, which is useless. But do not sort them, since the last
5925
# AC_DEFINE must be honored.
5926
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5927
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5928
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5929
# PARAMS is the parameter list in the macro definition--in most cases, it's
5930
# just an empty string.
5931
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5932
ac_dB='\\)[ (].*,\\1define\\2'
5940
s/^[ ]*#[ ]*define[ ][ ]*//
5945
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5946
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5947
' >>conftest.defines
5949
# Remove the space that was appended to ease matching.
5950
# Then replace #undef with comments. This is necessary, for
5951
# example, in the case of _POSIX_SOURCE, which is predefined and required
5952
# on some systems where configure will not decide to define it.
5953
# (The regexp can be short, since the line contains either #define or #undef.)
5955
s,^[ #]*u.*,/* & */,' >>conftest.defines
5957
# Break up conftest.defines:
5960
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5961
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5962
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5964
ac_in='$ac_file_inputs'
5965
ac_out='"$tmp/out1"'
5966
ac_nxt='"$tmp/out2"'
5970
# Write a here document:
5971
cat >>$CONFIG_STATUS <<_ACEOF
5972
# First, check the format of the line:
5973
cat >"\$tmp/defines.sed" <<\\CEOF
5974
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5975
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5979
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5981
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5982
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5983
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5984
grep . conftest.tail >/dev/null || break
5985
rm -f conftest.defines
5986
mv conftest.tail conftest.defines
5988
rm -f conftest.defines conftest.tail
5990
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5991
cat >>$CONFIG_STATUS <<\_ACEOF
5992
if test x"$ac_file" != x-; then
5993
echo "/* $configure_input */" >"$tmp/config.h"
5994
cat "$ac_result" >>"$tmp/config.h"
5995
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5996
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5997
echo "$as_me: $ac_file is unchanged" >&6;}
6000
mv "$tmp/config.h" $ac_file
6003
echo "/* $configure_input */"
6007
# Compute $ac_file's index in $config_headers.
6009
for _am_header in $config_headers :; do
6011
$ac_file | $ac_file:* )
6014
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6017
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6018
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6019
X$ac_file : 'X\(//\)[^/]' \| \
6020
X$ac_file : 'X\(//\)$' \| \
6021
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6023
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6039
s/.*/./; q'`/stamp-h$_am_stamp_count
6042
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6043
echo "$as_me: executing $ac_file commands" >&6;}
6048
case $ac_file$ac_mode in
6049
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6050
# Strip MF so we end up with the name of the file.
6051
mf=`echo "$mf" | sed -e 's/:.*$//'`
6052
# Check whether this is an Automake generated Makefile or not.
6053
# We used to match only the files named `Makefile.in', but
6054
# some people rename them; so instead we look at the file content.
6055
# Grep'ing the first line is not enough: some people post-process
6056
# each Makefile.in and add a new line on top of each file to say so.
6057
# Grep'ing the whole file is not good either: AIX grep has a line
6058
# limit of 2048, but all sed's we know have understand at least 4000.
6059
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
6060
dirpart=`$as_dirname -- "$mf" ||
6061
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6062
X"$mf" : 'X\(//\)[^/]' \| \
6063
X"$mf" : 'X\(//\)$' \| \
6064
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6066
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6086
# Extract the definition of DEPDIR, am__include, and am__quote
6087
# from the Makefile without running `make'.
6088
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6089
test -z "$DEPDIR" && continue
6090
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6091
test -z "am__include" && continue
6092
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6093
# When using ansi2knr, U may be empty or an underscore; expand it
6094
U=`sed -n 's/^U = //p' < "$mf"`
6095
# Find all dependency output files, they are included files with
6096
# $(DEPDIR) in their names. We invoke sed twice because it is the
6097
# simplest approach to changing $(DEPDIR) to its actual value in the
6099
for file in `sed -n "
6100
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6101
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6102
# Make sure the directory exists.
6103
test -f "$dirpart/$file" && continue
6104
fdir=`$as_dirname -- "$file" ||
6105
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106
X"$file" : 'X\(//\)[^/]' \| \
6107
X"$file" : 'X\(//\)$' \| \
6108
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6110
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6127
{ as_dir=$dirpart/$fdir
6129
-*) as_dir=./$as_dir;;
6131
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6135
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6136
*) as_qdir=$as_dir;;
6138
as_dirs="'$as_qdir' $as_dirs"
6139
as_dir=`$as_dirname -- "$as_dir" ||
6140
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6141
X"$as_dir" : 'X\(//\)[^/]' \| \
6142
X"$as_dir" : 'X\(//\)$' \| \
6143
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6145
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6162
test -d "$as_dir" && break
6164
test -z "$as_dirs" || eval "mkdir $as_dirs"
6165
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6166
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6167
{ (exit 1); exit 1; }; }; }
6168
# echo "creating $dirpart/$file"
6169
echo '# dummy' > "$dirpart/$file"
6178
{ (exit 0); exit 0; }
6180
chmod +x $CONFIG_STATUS
6181
ac_clean_files=$ac_clean_files_save
6184
# configure is writing to config.log, and then calls config.status.
6185
# config.status does its own redirection, appending to config.log.
6186
# Unfortunately, on DOS this fails, as config.log is still kept open
6187
# by configure, so config.status won't be able to write to it; its
6188
# output is simply discarded. So we exec the FD to /dev/null,
6189
# effectively closing config.log, so it can be properly (re)opened and
6190
# appended to by config.status. When coming back to configure, we
6191
# need to make the FD available again.
6192
if test "$no_create" != yes; then
6194
ac_config_status_args=
6195
test "$silent" = yes &&
6196
ac_config_status_args="$ac_config_status_args --quiet"
6198
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6200
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6201
# would make configure fail if this is the last instruction.
6202
$ac_cs_success || { (exit 1); exit 1; }