2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61 for python-schedule 1.0.
5
@%:@ Report bugs to <https://bugs.launchpad.net/python-schedule/>.
7
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
@%:@ This configure script is free software; the Free Software Foundation
10
@%:@ gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
exec 7<&0 </dev/null 6>&1
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
574
# Identity of this package.
575
PACKAGE_NAME='python-schedule'
576
PACKAGE_TARNAME='python-schedule'
577
PACKAGE_VERSION='1.0'
578
PACKAGE_STRING='python-schedule 1.0'
579
PACKAGE_BUGREPORT='https://bugs.launchpad.net/python-schedule/'
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
701
HAVE_GNOME_DOC_UTILS_TRUE
702
HAVE_GNOME_DOC_UTILS_FALSE
746
INTLTOOL_DESKTOP_RULE
747
INTLTOOL_DIRECTORY_RULE
754
INTLTOOL_SOUNDLIST_RULE
759
INTLTOOL_XML_NOMERGE_RULE
761
INTLTOOL_SCHEMAS_RULE
763
INTLTOOL_SERVICE_RULE
773
ac_precious_vars='build_alias
785
# Initialize some variables set by options.
787
ac_init_version=false
788
# The variables have the same names as the options, with
789
# dashes changed to underlines.
797
program_transform_name=s,x,x,
805
# Installation directory options.
806
# These are left unexpanded so users can "make install exec_prefix=/foo"
807
# and all the variables that are supposed to be based on exec_prefix
808
# by default will actually change.
809
# Use braces instead of parens because sh, perl, etc. also accept them.
810
# (The list follows the same order as the GNU Coding Standards.)
811
bindir='${exec_prefix}/bin'
812
sbindir='${exec_prefix}/sbin'
813
libexecdir='${exec_prefix}/libexec'
814
datarootdir='${prefix}/share'
815
datadir='${datarootdir}'
816
sysconfdir='${prefix}/etc'
817
sharedstatedir='${prefix}/com'
818
localstatedir='${prefix}/var'
819
includedir='${prefix}/include'
820
oldincludedir='/usr/include'
821
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822
infodir='${datarootdir}/info'
827
libdir='${exec_prefix}/lib'
828
localedir='${datarootdir}/locale'
829
mandir='${datarootdir}/man'
835
# If the previous option needs an argument, assign it.
836
if test -n "$ac_prev"; then
837
eval $ac_prev=\$ac_option
843
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847
# Accept the important Cygnus configure options, so we can diagnose typos.
849
case $ac_dashdash$ac_option in
853
-bindir | --bindir | --bindi | --bind | --bin | --bi)
855
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858
-build | --build | --buil | --bui | --bu)
859
ac_prev=build_alias ;;
860
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
861
build_alias=$ac_optarg ;;
863
-cache-file | --cache-file | --cache-fil | --cache-fi \
864
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865
ac_prev=cache_file ;;
866
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868
cache_file=$ac_optarg ;;
871
cache_file=config.cache ;;
873
-datadir | --datadir | --datadi | --datad)
875
-datadir=* | --datadir=* | --datadi=* | --datad=*)
876
datadir=$ac_optarg ;;
878
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879
| --dataroo | --dataro | --datar)
880
ac_prev=datarootdir ;;
881
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883
datarootdir=$ac_optarg ;;
885
-disable-* | --disable-*)
886
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887
# Reject names that are not valid shell variable names.
888
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
889
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
890
{ (exit 1); exit 1; }; }
891
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
892
eval enable_$ac_feature=no ;;
894
-docdir | --docdir | --docdi | --doc | --do)
896
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904
-enable-* | --enable-*)
905
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906
# Reject names that are not valid shell variable names.
907
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
908
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
909
{ (exit 1); exit 1; }; }
910
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
911
eval enable_$ac_feature=\$ac_optarg ;;
913
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
914
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
915
| --exec | --exe | --ex)
916
ac_prev=exec_prefix ;;
917
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
918
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
919
| --exec=* | --exe=* | --ex=*)
920
exec_prefix=$ac_optarg ;;
922
-gas | --gas | --ga | --g)
923
# Obsolete; use --with-gas.
926
-help | --help | --hel | --he | -h)
928
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
929
ac_init_help=recursive ;;
930
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
931
ac_init_help=short ;;
933
-host | --host | --hos | --ho)
934
ac_prev=host_alias ;;
935
-host=* | --host=* | --hos=* | --ho=*)
936
host_alias=$ac_optarg ;;
938
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
940
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
942
htmldir=$ac_optarg ;;
944
-includedir | --includedir | --includedi | --included | --include \
945
| --includ | --inclu | --incl | --inc)
946
ac_prev=includedir ;;
947
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
948
| --includ=* | --inclu=* | --incl=* | --inc=*)
949
includedir=$ac_optarg ;;
951
-infodir | --infodir | --infodi | --infod | --info | --inf)
953
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
954
infodir=$ac_optarg ;;
956
-libdir | --libdir | --libdi | --libd)
958
-libdir=* | --libdir=* | --libdi=* | --libd=*)
961
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
962
| --libexe | --libex | --libe)
963
ac_prev=libexecdir ;;
964
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
965
| --libexe=* | --libex=* | --libe=*)
966
libexecdir=$ac_optarg ;;
968
-localedir | --localedir | --localedi | --localed | --locale)
970
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
971
localedir=$ac_optarg ;;
973
-localstatedir | --localstatedir | --localstatedi | --localstated \
974
| --localstate | --localstat | --localsta | --localst | --locals)
975
ac_prev=localstatedir ;;
976
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
977
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
978
localstatedir=$ac_optarg ;;
980
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
982
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986
# Obsolete; use --without-fp.
989
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
990
| --no-cr | --no-c | -n)
993
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
994
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
997
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
998
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
999
| --oldin | --oldi | --old | --ol | --o)
1000
ac_prev=oldincludedir ;;
1001
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1002
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1003
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1004
oldincludedir=$ac_optarg ;;
1006
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1008
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1009
prefix=$ac_optarg ;;
1011
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1012
| --program-pre | --program-pr | --program-p)
1013
ac_prev=program_prefix ;;
1014
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1015
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1016
program_prefix=$ac_optarg ;;
1018
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1019
| --program-suf | --program-su | --program-s)
1020
ac_prev=program_suffix ;;
1021
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1022
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1023
program_suffix=$ac_optarg ;;
1025
-program-transform-name | --program-transform-name \
1026
| --program-transform-nam | --program-transform-na \
1027
| --program-transform-n | --program-transform- \
1028
| --program-transform | --program-transfor \
1029
| --program-transfo | --program-transf \
1030
| --program-trans | --program-tran \
1031
| --progr-tra | --program-tr | --program-t)
1032
ac_prev=program_transform_name ;;
1033
-program-transform-name=* | --program-transform-name=* \
1034
| --program-transform-nam=* | --program-transform-na=* \
1035
| --program-transform-n=* | --program-transform-=* \
1036
| --program-transform=* | --program-transfor=* \
1037
| --program-transfo=* | --program-transf=* \
1038
| --program-trans=* | --program-tran=* \
1039
| --progr-tra=* | --program-tr=* | --program-t=*)
1040
program_transform_name=$ac_optarg ;;
1042
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1044
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1045
pdfdir=$ac_optarg ;;
1047
-psdir | --psdir | --psdi | --psd | --ps)
1049
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1052
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053
| -silent | --silent | --silen | --sile | --sil)
1056
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1058
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1060
sbindir=$ac_optarg ;;
1062
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1063
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1064
| --sharedst | --shareds | --shared | --share | --shar \
1066
ac_prev=sharedstatedir ;;
1067
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1068
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1069
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1071
sharedstatedir=$ac_optarg ;;
1073
-site | --site | --sit)
1075
-site=* | --site=* | --sit=*)
1078
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1080
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1081
srcdir=$ac_optarg ;;
1083
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1084
| --syscon | --sysco | --sysc | --sys | --sy)
1085
ac_prev=sysconfdir ;;
1086
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1087
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1088
sysconfdir=$ac_optarg ;;
1090
-target | --target | --targe | --targ | --tar | --ta | --t)
1091
ac_prev=target_alias ;;
1092
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1093
target_alias=$ac_optarg ;;
1095
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1098
-version | --version | --versio | --versi | --vers | -V)
1099
ac_init_version=: ;;
1102
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103
# Reject names that are not valid shell variable names.
1104
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1105
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1106
{ (exit 1); exit 1; }; }
1107
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1108
eval with_$ac_package=\$ac_optarg ;;
1110
-without-* | --without-*)
1111
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112
# Reject names that are not valid shell variable names.
1113
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1115
{ (exit 1); exit 1; }; }
1116
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117
eval with_$ac_package=no ;;
1120
# Obsolete; use --with-x.
1123
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1124
| --x-incl | --x-inc | --x-in | --x-i)
1125
ac_prev=x_includes ;;
1126
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1127
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1128
x_includes=$ac_optarg ;;
1130
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1131
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1132
ac_prev=x_libraries ;;
1133
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1134
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1135
x_libraries=$ac_optarg ;;
1137
-*) { echo "$as_me: error: unrecognized option: $ac_option
1138
Try \`$0 --help' for more information." >&2
1139
{ (exit 1); exit 1; }; }
1143
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1144
# Reject names that are not valid shell variable names.
1145
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1146
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1147
{ (exit 1); exit 1; }; }
1148
eval $ac_envvar=\$ac_optarg
1149
export $ac_envvar ;;
1152
# FIXME: should be removed in autoconf 3.0.
1153
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1162
if test -n "$ac_prev"; then
1163
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1164
{ echo "$as_me: error: missing argument to $ac_option" >&2
1165
{ (exit 1); exit 1; }; }
1168
# Be sure to have absolute directory names.
1169
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170
datadir sysconfdir sharedstatedir localstatedir includedir \
1171
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172
libdir localedir mandir
1174
eval ac_val=\$$ac_var
1176
[\\/$]* | ?:[\\/]* ) continue;;
1177
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1180
{ (exit 1); exit 1; }; }
1183
# There might be people who depend on the old broken behavior: `$host'
1184
# used to hold the argument of --host etc.
1185
# FIXME: To remove some day.
1188
target=$target_alias
1190
# FIXME: To remove some day.
1191
if test "x$host_alias" != x; then
1192
if test "x$build_alias" = x; then
1193
cross_compiling=maybe
1194
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1195
If a cross compiler is detected then cross compile mode will be used." >&2
1196
elif test "x$build_alias" != "x$host_alias"; then
1202
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1204
test "$silent" = yes && exec 6>/dev/null
1207
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208
ac_ls_di=`ls -di .` &&
1209
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210
{ echo "$as_me: error: Working directory cannot be determined" >&2
1211
{ (exit 1); exit 1; }; }
1212
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1214
{ (exit 1); exit 1; }; }
1217
# Find the source files, if location was not specified.
1218
if test -z "$srcdir"; then
1219
ac_srcdir_defaulted=yes
1220
# Try the directory containing this script, then the parent directory.
1221
ac_confdir=`$as_dirname -- "$0" ||
1222
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223
X"$0" : 'X\(//\)[^/]' \| \
1224
X"$0" : 'X\(//\)$' \| \
1225
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1227
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245
if test ! -r "$srcdir/$ac_unique_file"; then
1249
ac_srcdir_defaulted=no
1251
if test ! -r "$srcdir/$ac_unique_file"; then
1252
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1253
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1254
{ (exit 1); exit 1; }; }
1256
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1259
{ (exit 1); exit 1; }; }
1261
# When building in place, set srcdir=.
1262
if test "$ac_abs_confdir" = "$ac_pwd"; then
1265
# Remove unnecessary trailing slashes from srcdir.
1266
# Double slashes in file names in object file debugging info
1267
# mess up M-x gdb in Emacs.
1269
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271
for ac_var in $ac_precious_vars; do
1272
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273
eval ac_env_${ac_var}_value=\$${ac_var}
1274
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1279
# Report the --help message.
1281
if test "$ac_init_help" = "long"; then
1282
# Omit some internal or obsolete options to make the list less imposing.
1283
# This message is too long to be a string in the A/UX 3.1 sh.
1285
\`configure' configures python-schedule 1.0 to adapt to many kinds of systems.
1287
Usage: $0 [OPTION]... [VAR=VALUE]...
1289
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290
VAR=VALUE. See below for descriptions of some of the useful variables.
1292
Defaults for the options are specified in brackets.
1295
-h, --help display this help and exit
1296
--help=short display options specific to this package
1297
--help=recursive display the short help of all the included packages
1298
-V, --version display version information and exit
1299
-q, --quiet, --silent do not print \`checking...' messages
1300
--cache-file=FILE cache test results in FILE [disabled]
1301
-C, --config-cache alias for \`--cache-file=config.cache'
1302
-n, --no-create do not create output files
1303
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1305
Installation directories:
1306
--prefix=PREFIX install architecture-independent files in PREFIX
1307
[$ac_default_prefix]
1308
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311
By default, \`make install' will install all the files in
1312
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314
for instance \`--prefix=\$HOME'.
1316
For better control, use the options below.
1318
Fine tuning of the installation directories:
1319
--bindir=DIR user executables [EPREFIX/bin]
1320
--sbindir=DIR system admin executables [EPREFIX/sbin]
1321
--libexecdir=DIR program executables [EPREFIX/libexec]
1322
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325
--libdir=DIR object code libraries [EPREFIX/lib]
1326
--includedir=DIR C header files [PREFIX/include]
1327
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1328
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330
--infodir=DIR info documentation [DATAROOTDIR/info]
1331
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332
--mandir=DIR man documentation [DATAROOTDIR/man]
1333
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/python-schedule@:>@
1334
--htmldir=DIR html documentation [DOCDIR]
1335
--dvidir=DIR dvi documentation [DOCDIR]
1336
--pdfdir=DIR pdf documentation [DOCDIR]
1337
--psdir=DIR ps documentation [DOCDIR]
1343
--program-prefix=PREFIX prepend PREFIX to installed program names
1344
--program-suffix=SUFFIX append SUFFIX to installed program names
1345
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1348
--build=BUILD configure for building on BUILD [guessed]
1349
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1353
if test -n "$ac_init_help"; then
1354
case $ac_init_help in
1355
short | recursive ) echo "Configuration of python-schedule 1.0:";;
1360
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1361
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1362
--disable-scrollkeeper do not make updates to the scrollkeeper database
1363
--disable-dependency-tracking speeds up one-time build
1364
--enable-dependency-tracking do not reject slow dependency extractors
1367
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1368
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1369
--with-help-dir=DIR path to help docs
1370
--with-omf-dir=DIR path to OMF files
1371
--with-help-formats=FORMATS
1374
Some influential environment variables:
1375
PKG_CONFIG path to pkg-config utility
1376
CC C compiler command
1377
CFLAGS C compiler flags
1378
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1379
nonstandard directory <lib dir>
1380
LIBS libraries to pass to the linker, e.g. -l<library>
1381
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1382
you have headers in a nonstandard directory <include dir>
1385
Use these variables to override the choices made by `configure' or to help
1386
it to find libraries and programs with nonstandard names/locations.
1388
Report bugs to <https://bugs.launchpad.net/python-schedule/>.
1393
if test "$ac_init_help" = "recursive"; then
1394
# If there are subdirs, report their specific --help.
1395
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396
test -d "$ac_dir" || continue
1400
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1403
# A ".." for each directory in $ac_dir_suffix.
1404
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1405
case $ac_top_builddir_sub in
1406
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1410
ac_abs_top_builddir=$ac_pwd
1411
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1412
# for backward compatibility:
1413
ac_top_builddir=$ac_top_build_prefix
1416
.) # We are building in place.
1418
ac_top_srcdir=$ac_top_builddir_sub
1419
ac_abs_top_srcdir=$ac_pwd ;;
1420
[\\/]* | ?:[\\/]* ) # Absolute name.
1421
ac_srcdir=$srcdir$ac_dir_suffix;
1422
ac_top_srcdir=$srcdir
1423
ac_abs_top_srcdir=$srcdir ;;
1425
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1426
ac_top_srcdir=$ac_top_build_prefix$srcdir
1427
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1429
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1431
cd "$ac_dir" || { ac_status=$?; continue; }
1432
# Check for guested configure.
1433
if test -f "$ac_srcdir/configure.gnu"; then
1435
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1436
elif test -f "$ac_srcdir/configure"; then
1438
$SHELL "$ac_srcdir/configure" --help=recursive
1440
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1442
cd "$ac_pwd" || { ac_status=$?; break; }
1446
test -n "$ac_init_help" && exit $ac_status
1447
if $ac_init_version; then
1449
python-schedule configure 1.0
1450
generated by GNU Autoconf 2.61
1452
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1453
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1454
This configure script is free software; the Free Software Foundation
1455
gives unlimited permission to copy, distribute and modify it.
1459
cat >config.log <<_ACEOF
1460
This file contains any messages produced by compilers while
1461
running configure, to aid debugging if configure makes a mistake.
1463
It was created by python-schedule $as_me 1.0, which was
1464
generated by GNU Autoconf 2.61. Invocation command line was
1472
@%:@@%:@ --------- @%:@@%:@
1473
@%:@@%:@ Platform. @%:@@%:@
1474
@%:@@%:@ --------- @%:@@%:@
1476
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1477
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1478
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1479
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1480
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1482
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1483
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1485
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1486
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1487
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1488
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1489
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1490
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1491
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1495
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499
test -z "$as_dir" && as_dir=.
1500
echo "PATH: $as_dir"
1509
@%:@@%:@ ----------- @%:@@%:@
1510
@%:@@%:@ Core tests. @%:@@%:@
1511
@%:@@%:@ ----------- @%:@@%:@
1516
# Keep a trace of the command line.
1517
# Strip out --no-create and --no-recursion so they do not pile up.
1518
# Strip out --silent because we don't want to record it for future runs.
1519
# Also quote any args containing shell meta-characters.
1520
# Make two passes to allow for proper duplicate-argument suppression.
1524
ac_must_keep_next=false
1530
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1531
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1532
| -silent | --silent | --silen | --sile | --sil)
1535
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1538
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1540
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1541
if test $ac_must_keep_next = true; then
1542
ac_must_keep_next=false # Got value, back to normal.
1545
*=* | --config-cache | -C | -disable-* | --disable-* \
1546
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1547
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1548
| -with-* | --with-* | -without-* | --without-* | --x)
1549
case "$ac_configure_args0 " in
1550
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1553
-* ) ac_must_keep_next=true ;;
1556
ac_configure_args="$ac_configure_args '$ac_arg'"
1561
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1562
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1564
# When interrupted or exit'd, cleanup temporary files, and complete
1565
# config.log. We remove comments because anyway the quotes in there
1566
# would cause problems or look ugly.
1567
# WARNING: Use '\'' to represent an apostrophe within the trap.
1568
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1569
trap 'exit_status=$?
1570
# Save into config.log some information that might help in debugging.
1575
@%:@@%:@ ---------------- @%:@@%:@
1576
@%:@@%:@ Cache variables. @%:@@%:@
1577
@%:@@%:@ ---------------- @%:@@%:@
1580
# The following way of writing the cache mishandles newlines in values,
1582
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1583
eval ac_val=\$$ac_var
1587
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1588
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1591
_ | IFS | as_nl) ;; #(
1592
*) $as_unset $ac_var ;;
1597
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1598
*${as_nl}ac_space=\ *)
1600
"s/'\''/'\''\\\\'\'''\''/g;
1601
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1604
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612
@%:@@%:@ ----------------- @%:@@%:@
1613
@%:@@%:@ Output variables. @%:@@%:@
1614
@%:@@%:@ ----------------- @%:@@%:@
1617
for ac_var in $ac_subst_vars
1619
eval ac_val=\$$ac_var
1621
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1623
echo "$ac_var='\''$ac_val'\''"
1627
if test -n "$ac_subst_files"; then
1629
@%:@@%:@ ------------------- @%:@@%:@
1630
@%:@@%:@ File substitutions. @%:@@%:@
1631
@%:@@%:@ ------------------- @%:@@%:@
1634
for ac_var in $ac_subst_files
1636
eval ac_val=\$$ac_var
1638
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1640
echo "$ac_var='\''$ac_val'\''"
1645
if test -s confdefs.h; then
1647
@%:@@%:@ ----------- @%:@@%:@
1648
@%:@@%:@ confdefs.h. @%:@@%:@
1649
@%:@@%:@ ----------- @%:@@%:@
1655
test "$ac_signal" != 0 &&
1656
echo "$as_me: caught signal $ac_signal"
1657
echo "$as_me: exit $exit_status"
1659
rm -f core *.core core.conftest.* &&
1660
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663
for ac_signal in 1 2 13 15; do
1664
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1668
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1669
rm -f -r conftest* confdefs.h
1671
# Predefined preprocessor variables.
1673
cat >>confdefs.h <<_ACEOF
1674
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1678
cat >>confdefs.h <<_ACEOF
1679
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683
cat >>confdefs.h <<_ACEOF
1684
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1688
cat >>confdefs.h <<_ACEOF
1689
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1693
cat >>confdefs.h <<_ACEOF
1694
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1698
# Let the site file select an alternate cache file if it wants to.
1699
# Prefer explicitly selected file to automatically selected ones.
1700
if test -n "$CONFIG_SITE"; then
1701
set x "$CONFIG_SITE"
1702
elif test "x$prefix" != xNONE; then
1703
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1705
set x "$ac_default_prefix/share/config.site" \
1706
"$ac_default_prefix/etc/config.site"
1711
if test -r "$ac_site_file"; then
1712
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1713
echo "$as_me: loading site script $ac_site_file" >&6;}
1714
sed 's/^/| /' "$ac_site_file" >&5
1719
if test -r "$cache_file"; then
1720
# Some versions of bash will fail to source /dev/null (special
1721
# files actually), so we avoid doing that.
1722
if test -f "$cache_file"; then
1723
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1724
echo "$as_me: loading cache $cache_file" >&6;}
1726
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1727
*) . "./$cache_file";;
1731
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1732
echo "$as_me: creating cache $cache_file" >&6;}
1736
# Check that the precious variables saved in the cache have kept the same
1738
ac_cache_corrupted=false
1739
for ac_var in $ac_precious_vars; do
1740
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1741
eval ac_new_set=\$ac_env_${ac_var}_set
1742
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1743
eval ac_new_val=\$ac_env_${ac_var}_value
1744
case $ac_old_set,$ac_new_set in
1746
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1747
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1748
ac_cache_corrupted=: ;;
1750
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1751
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1752
ac_cache_corrupted=: ;;
1755
if test "x$ac_old_val" != "x$ac_new_val"; then
1756
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1757
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1758
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1759
echo "$as_me: former value: $ac_old_val" >&2;}
1760
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1761
echo "$as_me: current value: $ac_new_val" >&2;}
1762
ac_cache_corrupted=:
1765
# Pass precious variables to config.status.
1766
if test "$ac_new_set" = set; then
1768
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1769
*) ac_arg=$ac_var=$ac_new_val ;;
1771
case " $ac_configure_args " in
1772
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1773
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1777
if $ac_cache_corrupted; then
1778
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1779
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1780
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1781
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1782
{ (exit 1); exit 1; }; }
1810
ac_cpp='$CPP $CPPFLAGS'
1811
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1812
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1813
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1816
am__api_version='1.10'
1819
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1820
if test -f "$ac_dir/install-sh"; then
1822
ac_install_sh="$ac_aux_dir/install-sh -c"
1824
elif test -f "$ac_dir/install.sh"; then
1826
ac_install_sh="$ac_aux_dir/install.sh -c"
1828
elif test -f "$ac_dir/shtool"; then
1830
ac_install_sh="$ac_aux_dir/shtool install -c"
1834
if test -z "$ac_aux_dir"; then
1835
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1836
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1837
{ (exit 1); exit 1; }; }
1840
# These three variables are undocumented and unsupported,
1841
# and are intended to be withdrawn in a future Autoconf release.
1842
# They can cause serious problems if a builder's source tree is in a directory
1843
# whose full name contains unusual characters.
1844
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1845
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1846
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1849
# Find a good install program. We prefer a C program (faster),
1850
# so one script is as good as another. But avoid the broken or
1851
# incompatible versions:
1852
# SysV /etc/install, /usr/sbin/install
1853
# SunOS /usr/etc/install
1854
# IRIX /sbin/install
1856
# AmigaOS /C/install, which installs bootblocks on floppy discs
1857
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1858
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1859
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1860
# OS/2's system install, which has a completely different semantic
1861
# ./install, which can be erroneously created by make from ./install.sh.
1862
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1863
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1864
if test -z "$INSTALL"; then
1865
if test "${ac_cv_path_install+set}" = set; then
1866
echo $ECHO_N "(cached) $ECHO_C" >&6
1868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872
test -z "$as_dir" && as_dir=.
1873
# Account for people who put trailing slashes in PATH elements.
1875
./ | .// | /cC/* | \
1876
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1877
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1880
# OSF1 and SCO ODT 3.0 have their own names for install.
1881
# Don't use installbsd from OSF since it installs stuff as root
1883
for ac_prog in ginstall scoinst install; do
1884
for ac_exec_ext in '' $ac_executable_extensions; do
1885
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1886
if test $ac_prog = install &&
1887
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1888
# AIX install. It has an incompatible calling convention.
1890
elif test $ac_prog = install &&
1891
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892
# program-specific install script used by HP pwplus--don't use.
1895
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1908
if test "${ac_cv_path_install+set}" = set; then
1909
INSTALL=$ac_cv_path_install
1911
# As a last resort, use the slow shell script. Don't cache a
1912
# value for INSTALL within a source directory, because that will
1913
# break other packages using the cache if that directory is
1914
# removed, or if the value is a relative name.
1915
INSTALL=$ac_install_sh
1918
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1919
echo "${ECHO_T}$INSTALL" >&6; }
1921
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1922
# It thinks the first close brace ends the variable substitution.
1923
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1925
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1927
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1929
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1930
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1933
echo timestamp > conftest.file
1934
# Do `set' in a subshell so we don't clobber the current shell's
1935
# arguments. Must try -L first in case configure is actually a
1936
# symlink; some systems play weird games with the mod time of symlinks
1937
# (eg FreeBSD returns the mod time of the symlink's containing
1940
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1941
if test "$*" = "X"; then
1943
set X `ls -t $srcdir/configure conftest.file`
1946
if test "$*" != "X $srcdir/configure conftest.file" \
1947
&& test "$*" != "X conftest.file $srcdir/configure"; then
1949
# If neither matched, then we have a broken ls. This can happen
1950
# if, for instance, CONFIG_SHELL is bash and it inherits a
1951
# broken ls alias from the environment. This has actually
1952
# happened. Such a system could not be considered "sane".
1953
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1954
alias in your environment" >&5
1955
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1956
alias in your environment" >&2;}
1957
{ (exit 1); exit 1; }; }
1960
test "$2" = conftest.file
1966
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1967
Check your system clock" >&5
1968
echo "$as_me: error: newly created file is older than distributed files!
1969
Check your system clock" >&2;}
1970
{ (exit 1); exit 1; }; }
1972
{ echo "$as_me:$LINENO: result: yes" >&5
1973
echo "${ECHO_T}yes" >&6; }
1974
test "$program_prefix" != NONE &&
1975
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1976
# Use a double $ so make ignores it.
1977
test "$program_suffix" != NONE &&
1978
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1979
# Double any \ or $. echo might interpret backslashes.
1980
# By default was `s,x,x', remove it if useless.
1981
cat <<\_ACEOF >conftest.sed
1982
s/[\\$]/&&/g;s/;s,x,x,$//
1984
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1987
# expand $ac_aux_dir to an absolute path
1988
am_aux_dir=`cd $ac_aux_dir && pwd`
1990
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1991
# Use eval to expand $SHELL
1992
if eval "$MISSING --run true"; then
1993
am_missing_run="$MISSING --run "
1996
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1997
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2000
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2001
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2002
if test -z "$MKDIR_P"; then
2003
if test "${ac_cv_path_mkdir+set}" = set; then
2004
echo $ECHO_N "(cached) $ECHO_C" >&6
2006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2010
test -z "$as_dir" && as_dir=.
2011
for ac_prog in mkdir gmkdir; do
2012
for ac_exec_ext in '' $ac_executable_extensions; do
2013
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2014
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2015
'mkdir (GNU coreutils) '* | \
2016
'mkdir (coreutils) '* | \
2017
'mkdir (fileutils) '4.1*)
2018
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2028
if test "${ac_cv_path_mkdir+set}" = set; then
2029
MKDIR_P="$ac_cv_path_mkdir -p"
2031
# As a last resort, use the slow shell script. Don't cache a
2032
# value for MKDIR_P within a source directory, because that will
2033
# break other packages using the cache if that directory is
2034
# removed, or if the value is a relative name.
2035
test -d ./--version && rmdir ./--version
2036
MKDIR_P="$ac_install_sh -d"
2039
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2040
echo "${ECHO_T}$MKDIR_P" >&6; }
2044
[\\/$]* | ?:[\\/]*) ;;
2045
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2048
for ac_prog in gawk mawk nawk awk
2050
# Extract the first word of "$ac_prog", so it can be a program name with args.
2051
set dummy $ac_prog; ac_word=$2
2052
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2053
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054
if test "${ac_cv_prog_AWK+set}" = set; then
2055
echo $ECHO_N "(cached) $ECHO_C" >&6
2057
if test -n "$AWK"; then
2058
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064
test -z "$as_dir" && as_dir=.
2065
for ac_exec_ext in '' $ac_executable_extensions; do
2066
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067
ac_cv_prog_AWK="$ac_prog"
2068
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078
if test -n "$AWK"; then
2079
{ echo "$as_me:$LINENO: result: $AWK" >&5
2080
echo "${ECHO_T}$AWK" >&6; }
2082
{ echo "$as_me:$LINENO: result: no" >&5
2083
echo "${ECHO_T}no" >&6; }
2087
test -n "$AWK" && break
2090
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2091
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2092
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2093
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2094
echo $ECHO_N "(cached) $ECHO_C" >&6
2096
cat >conftest.make <<\_ACEOF
2099
@echo '@@@%%%=$(MAKE)=@@@%%%'
2101
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2102
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2104
eval ac_cv_prog_make_${ac_make}_set=yes;;
2106
eval ac_cv_prog_make_${ac_make}_set=no;;
2110
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2111
{ echo "$as_me:$LINENO: result: yes" >&5
2112
echo "${ECHO_T}yes" >&6; }
2115
{ echo "$as_me:$LINENO: result: no" >&5
2116
echo "${ECHO_T}no" >&6; }
2117
SET_MAKE="MAKE=${MAKE-make}"
2120
rm -rf .tst 2>/dev/null
2121
mkdir .tst 2>/dev/null
2122
if test -d .tst; then
2127
rmdir .tst 2>/dev/null
2129
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2130
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2131
# is not polluted with repeated "-I."
2132
am__isrc=' -I$(srcdir)'
2133
# test to see if srcdir already configured
2134
if test -f $srcdir/config.status; then
2135
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2136
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2137
{ (exit 1); exit 1; }; }
2141
# test whether we have cygpath
2142
if test -z "$CYGPATH_W"; then
2143
if (cygpath --version) >/dev/null 2>/dev/null; then
2144
CYGPATH_W='cygpath -w'
2151
# Define the identity of the package.
2152
PACKAGE='python-schedule'
2156
cat >>confdefs.h <<_ACEOF
2157
@%:@define PACKAGE "$PACKAGE"
2161
cat >>confdefs.h <<_ACEOF
2162
@%:@define VERSION "$VERSION"
2165
# Some tools Automake needs.
2167
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2170
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2173
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2176
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2179
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2181
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2183
# Installed binaries are usually stripped using `strip' when the user
2184
# run `make install-strip'. However `strip' might not be the right
2185
# tool to use in cross-compilation environments, therefore Automake
2186
# will honor the `STRIP' environment variable to overrule this program.
2187
if test "$cross_compiling" != no; then
2188
if test -n "$ac_tool_prefix"; then
2189
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2190
set dummy ${ac_tool_prefix}strip; ac_word=$2
2191
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2193
if test "${ac_cv_prog_STRIP+set}" = set; then
2194
echo $ECHO_N "(cached) $ECHO_C" >&6
2196
if test -n "$STRIP"; then
2197
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203
test -z "$as_dir" && as_dir=.
2204
for ac_exec_ext in '' $ac_executable_extensions; do
2205
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2207
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2216
STRIP=$ac_cv_prog_STRIP
2217
if test -n "$STRIP"; then
2218
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2219
echo "${ECHO_T}$STRIP" >&6; }
2221
{ echo "$as_me:$LINENO: result: no" >&5
2222
echo "${ECHO_T}no" >&6; }
2227
if test -z "$ac_cv_prog_STRIP"; then
2229
# Extract the first word of "strip", so it can be a program name with args.
2230
set dummy strip; ac_word=$2
2231
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2232
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2233
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2234
echo $ECHO_N "(cached) $ECHO_C" >&6
2236
if test -n "$ac_ct_STRIP"; then
2237
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243
test -z "$as_dir" && as_dir=.
2244
for ac_exec_ext in '' $ac_executable_extensions; do
2245
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2246
ac_cv_prog_ac_ct_STRIP="strip"
2247
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2257
if test -n "$ac_ct_STRIP"; then
2258
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2259
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2261
{ echo "$as_me:$LINENO: result: no" >&5
2262
echo "${ECHO_T}no" >&6; }
2265
if test "x$ac_ct_STRIP" = x; then
2268
case $cross_compiling:$ac_tool_warned in
2270
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2271
whose name does not start with the host triplet. If you think this
2272
configuration is useful to you, please write to autoconf@gnu.org." >&5
2273
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2274
whose name does not start with the host triplet. If you think this
2275
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2276
ac_tool_warned=yes ;;
2281
STRIP="$ac_cv_prog_STRIP"
2285
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2287
# We need awk for the "check" target. The system "awk" is bad on
2289
# Always define AMTAR for backward compatibility.
2291
AMTAR=${AMTAR-"${am_missing_run}tar"}
2293
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2304
# Find any Python interpreter.
2305
if test -z "$PYTHON"; then
2306
for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
2308
# Extract the first word of "$ac_prog", so it can be a program name with args.
2309
set dummy $ac_prog; ac_word=$2
2310
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2312
if test "${ac_cv_path_PYTHON+set}" = set; then
2313
echo $ECHO_N "(cached) $ECHO_C" >&6
2317
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324
test -z "$as_dir" && as_dir=.
2325
for ac_exec_ext in '' $ac_executable_extensions; do
2326
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2328
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338
PYTHON=$ac_cv_path_PYTHON
2339
if test -n "$PYTHON"; then
2340
{ echo "$as_me:$LINENO: result: $PYTHON" >&5
2341
echo "${ECHO_T}$PYTHON" >&6; }
2343
{ echo "$as_me:$LINENO: result: no" >&5
2344
echo "${ECHO_T}no" >&6; }
2348
test -n "$PYTHON" && break
2350
test -n "$PYTHON" || PYTHON=":"
2353
am_display_PYTHON=python
2356
if test "$PYTHON" = :; then
2357
{ { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
2358
echo "$as_me: error: no suitable Python interpreter found" >&2;}
2359
{ (exit 1); exit 1; }; }
2363
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
2364
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
2365
if test "${am_cv_python_version+set}" = set; then
2366
echo $ECHO_N "(cached) $ECHO_C" >&6
2368
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
2370
{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
2371
echo "${ECHO_T}$am_cv_python_version" >&6; }
2372
PYTHON_VERSION=$am_cv_python_version
2376
PYTHON_PREFIX='${prefix}'
2378
PYTHON_EXEC_PREFIX='${exec_prefix}'
2382
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
2383
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
2384
if test "${am_cv_python_platform+set}" = set; then
2385
echo $ECHO_N "(cached) $ECHO_C" >&6
2387
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
2389
{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
2390
echo "${ECHO_T}$am_cv_python_platform" >&6; }
2391
PYTHON_PLATFORM=$am_cv_python_platform
2396
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
2397
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
2398
if test "${am_cv_python_pythondir+set}" = set; then
2399
echo $ECHO_N "(cached) $ECHO_C" >&6
2401
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
2402
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2404
{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
2405
echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
2406
pythondir=$am_cv_python_pythondir
2410
pkgpythondir=\${pythondir}/$PACKAGE
2413
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
2414
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
2415
if test "${am_cv_python_pyexecdir+set}" = set; then
2416
echo $ECHO_N "(cached) $ECHO_C" >&6
2418
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
2419
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
2421
{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
2422
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
2423
pyexecdir=$am_cv_python_pyexecdir
2427
pkgpyexecdir=\${pyexecdir}/$PACKAGE
2436
# Extract the first word of "pkg-config", so it can be a program name with args.
2437
set dummy pkg-config; ac_word=$2
2438
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2439
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2440
if test "${ac_cv_path_PKGCONFIG+set}" = set; then
2441
echo $ECHO_N "(cached) $ECHO_C" >&6
2445
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
2448
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449
as_dummy="$PATH:/usr/bin:/usr/local/bin"
2450
for as_dir in $as_dummy
2453
test -z "$as_dir" && as_dir=.
2454
for ac_exec_ext in '' $ac_executable_extensions; do
2455
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
2457
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464
test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no"
2468
PKGCONFIG=$ac_cv_path_PKGCONFIG
2469
if test -n "$PKGCONFIG"; then
2470
{ echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
2471
echo "${ECHO_T}$PKGCONFIG" >&6; }
2473
{ echo "$as_me:$LINENO: result: no" >&5
2474
echo "${ECHO_T}no" >&6; }
2478
if test "$PKGCONFIG" != "no" ; then
2480
{ echo "$as_me:$LINENO: result: $PYTHONPATH" >&5
2481
echo "${ECHO_T}$PYTHONPATH" >&6; }
2484
# Extract the first word of "crontab", so it can be a program name with args.
2485
set dummy crontab; ac_word=$2
2486
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2487
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2488
if test "${ac_cv_path_CRONTAB_CONFIG+set}" = set; then
2489
echo $ECHO_N "(cached) $ECHO_C" >&6
2491
case $CRONTAB_CONFIG in
2493
ac_cv_path_CRONTAB_CONFIG="$CRONTAB_CONFIG" # Let the user override the test with a path.
2496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500
test -z "$as_dir" && as_dir=.
2501
for ac_exec_ext in '' $ac_executable_extensions; do
2502
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503
ac_cv_path_CRONTAB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2504
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511
test -z "$ac_cv_path_CRONTAB_CONFIG" && ac_cv_path_CRONTAB_CONFIG="no"
2515
CRONTAB_CONFIG=$ac_cv_path_CRONTAB_CONFIG
2516
if test -n "$CRONTAB_CONFIG"; then
2517
{ echo "$as_me:$LINENO: result: $CRONTAB_CONFIG" >&5
2518
echo "${ECHO_T}$CRONTAB_CONFIG" >&6; }
2520
{ echo "$as_me:$LINENO: result: no" >&5
2521
echo "${ECHO_T}no" >&6; }
2525
if test x$CRONTAB_CONFIG = xno; then
2526
{ { echo "$as_me:$LINENO: error: Please install the application crontab" >&5
2527
echo "$as_me: error: Please install the application crontab" >&2;}
2528
{ (exit 1); exit 1; }; }
2531
# Extract the first word of "at", so it can be a program name with args.
2532
set dummy at; ac_word=$2
2533
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2534
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535
if test "${ac_cv_path_AT_CONFIG+set}" = set; then
2536
echo $ECHO_N "(cached) $ECHO_C" >&6
2540
ac_cv_path_AT_CONFIG="$AT_CONFIG" # Let the user override the test with a path.
2543
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547
test -z "$as_dir" && as_dir=.
2548
for ac_exec_ext in '' $ac_executable_extensions; do
2549
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550
ac_cv_path_AT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2551
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558
test -z "$ac_cv_path_AT_CONFIG" && ac_cv_path_AT_CONFIG="no"
2562
AT_CONFIG=$ac_cv_path_AT_CONFIG
2563
if test -n "$AT_CONFIG"; then
2564
{ echo "$as_me:$LINENO: result: $AT_CONFIG" >&5
2565
echo "${ECHO_T}$AT_CONFIG" >&6; }
2567
{ echo "$as_me:$LINENO: result: no" >&5
2568
echo "${ECHO_T}no" >&6; }
2572
if test x$AT_CONFIG = xno; then
2573
{ { echo "$as_me:$LINENO: error: Please install the application at" >&5
2574
echo "$as_me: error: Please install the application at" >&2;}
2575
{ (exit 1); exit 1; }; }
2578
# Extract the first word of "atq", so it can be a program name with args.
2579
set dummy atq; ac_word=$2
2580
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2581
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2582
if test "${ac_cv_path_ATQ_CONFIG+set}" = set; then
2583
echo $ECHO_N "(cached) $ECHO_C" >&6
2587
ac_cv_path_ATQ_CONFIG="$ATQ_CONFIG" # Let the user override the test with a path.
2590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594
test -z "$as_dir" && as_dir=.
2595
for ac_exec_ext in '' $ac_executable_extensions; do
2596
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597
ac_cv_path_ATQ_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2598
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605
test -z "$ac_cv_path_ATQ_CONFIG" && ac_cv_path_ATQ_CONFIG="no"
2609
ATQ_CONFIG=$ac_cv_path_ATQ_CONFIG
2610
if test -n "$ATQ_CONFIG"; then
2611
{ echo "$as_me:$LINENO: result: $ATQ_CONFIG" >&5
2612
echo "${ECHO_T}$ATQ_CONFIG" >&6; }
2614
{ echo "$as_me:$LINENO: result: no" >&5
2615
echo "${ECHO_T}no" >&6; }
2619
if test x$ATQ_CONFIG = xno; then
2620
{ { echo "$as_me:$LINENO: error: Please install the application atq" >&5
2621
echo "$as_me: error: Please install the application atq" >&2;}
2622
{ (exit 1); exit 1; }; }
2625
# Extract the first word of "atrm", so it can be a program name with args.
2626
set dummy atrm; ac_word=$2
2627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2629
if test "${ac_cv_path_ATRM_CONFIG+set}" = set; then
2630
echo $ECHO_N "(cached) $ECHO_C" >&6
2632
case $ATRM_CONFIG in
2634
ac_cv_path_ATRM_CONFIG="$ATRM_CONFIG" # Let the user override the test with a path.
2637
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641
test -z "$as_dir" && as_dir=.
2642
for ac_exec_ext in '' $ac_executable_extensions; do
2643
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644
ac_cv_path_ATRM_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2645
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2652
test -z "$ac_cv_path_ATRM_CONFIG" && ac_cv_path_ATRM_CONFIG="no"
2656
ATRM_CONFIG=$ac_cv_path_ATRM_CONFIG
2657
if test -n "$ATRM_CONFIG"; then
2658
{ echo "$as_me:$LINENO: result: $ATRM_CONFIG" >&5
2659
echo "${ECHO_T}$ATRM_CONFIG" >&6; }
2661
{ echo "$as_me:$LINENO: result: no" >&5
2662
echo "${ECHO_T}no" >&6; }
2666
if test x$ATRM_CONFIG = xno; then
2667
{ { echo "$as_me:$LINENO: error: Please install the application atrm" >&5
2668
echo "$as_me: error: Please install the application atrm" >&2;}
2669
{ (exit 1); exit 1; }; }
2672
# Extract the first word of "batch", so it can be a program name with args.
2673
set dummy batch; ac_word=$2
2674
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2675
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2676
if test "${ac_cv_path_BATCH_CONFIG+set}" = set; then
2677
echo $ECHO_N "(cached) $ECHO_C" >&6
2679
case $BATCH_CONFIG in
2681
ac_cv_path_BATCH_CONFIG="$BATCH_CONFIG" # Let the user override the test with a path.
2684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688
test -z "$as_dir" && as_dir=.
2689
for ac_exec_ext in '' $ac_executable_extensions; do
2690
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691
ac_cv_path_BATCH_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2692
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699
test -z "$ac_cv_path_BATCH_CONFIG" && ac_cv_path_BATCH_CONFIG="no"
2703
BATCH_CONFIG=$ac_cv_path_BATCH_CONFIG
2704
if test -n "$BATCH_CONFIG"; then
2705
{ echo "$as_me:$LINENO: result: $BATCH_CONFIG" >&5
2706
echo "${ECHO_T}$BATCH_CONFIG" >&6; }
2708
{ echo "$as_me:$LINENO: result: no" >&5
2709
echo "${ECHO_T}no" >&6; }
2713
if test x$BATCH_CONFIG = xno; then
2714
{ { echo "$as_me:$LINENO: error: Please install the application batch" >&5
2715
echo "$as_me: error: Please install the application batch" >&2;}
2716
{ (exit 1); exit 1; }; }
2720
# Extract the first word of "python", so it can be a program name with args.
2721
set dummy python; ac_word=$2
2722
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2723
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2724
if test "${ac_cv_path_PYTHON_CONFIG+set}" = set; then
2725
echo $ECHO_N "(cached) $ECHO_C" >&6
2727
case $PYTHON_CONFIG in
2729
ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
2732
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736
test -z "$as_dir" && as_dir=.
2737
for ac_exec_ext in '' $ac_executable_extensions; do
2738
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739
ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2740
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747
test -z "$ac_cv_path_PYTHON_CONFIG" && ac_cv_path_PYTHON_CONFIG="no"
2751
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
2752
if test -n "$PYTHON_CONFIG"; then
2753
{ echo "$as_me:$LINENO: result: $PYTHON_CONFIG" >&5
2754
echo "${ECHO_T}$PYTHON_CONFIG" >&6; }
2756
{ echo "$as_me:$LINENO: result: no" >&5
2757
echo "${ECHO_T}no" >&6; }
2761
if test x$PYTHON_CONFIG = xno; then
2762
{ { echo "$as_me:$LINENO: error: Please install the application python" >&5
2763
echo "$as_me: error: Please install the application python" >&2;}
2764
{ (exit 1); exit 1; }; }
2767
# Extract the first word of "su", so it can be a program name with args.
2768
set dummy su; ac_word=$2
2769
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2770
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2771
if test "${ac_cv_path_SU_CONFIG+set}" = set; then
2772
echo $ECHO_N "(cached) $ECHO_C" >&6
2776
ac_cv_path_SU_CONFIG="$SU_CONFIG" # Let the user override the test with a path.
2779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783
test -z "$as_dir" && as_dir=.
2784
for ac_exec_ext in '' $ac_executable_extensions; do
2785
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786
ac_cv_path_SU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2787
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794
test -z "$ac_cv_path_SU_CONFIG" && ac_cv_path_SU_CONFIG="no"
2798
SU_CONFIG=$ac_cv_path_SU_CONFIG
2799
if test -n "$SU_CONFIG"; then
2800
{ echo "$as_me:$LINENO: result: $SU_CONFIG" >&5
2801
echo "${ECHO_T}$SU_CONFIG" >&6; }
2803
{ echo "$as_me:$LINENO: result: no" >&5
2804
echo "${ECHO_T}no" >&6; }
2808
if test x$BATCH_CONFIG = xno; then
2809
{ { echo "$as_me:$LINENO: error: Please install the application su" >&5
2810
echo "$as_me: error: Please install the application su" >&2;}
2811
{ (exit 1); exit 1; }; }
2815
GETTEXT_PACKAGE=python-schedule
2816
cat >>confdefs.h <<_ACEOF
2817
@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2823
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2824
if test -n "$ac_tool_prefix"; then
2825
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2826
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2827
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2828
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2829
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2830
echo $ECHO_N "(cached) $ECHO_C" >&6
2834
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841
test -z "$as_dir" && as_dir=.
2842
for ac_exec_ext in '' $ac_executable_extensions; do
2843
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2845
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2855
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2856
if test -n "$PKG_CONFIG"; then
2857
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2858
echo "${ECHO_T}$PKG_CONFIG" >&6; }
2860
{ echo "$as_me:$LINENO: result: no" >&5
2861
echo "${ECHO_T}no" >&6; }
2866
if test -z "$ac_cv_path_PKG_CONFIG"; then
2867
ac_pt_PKG_CONFIG=$PKG_CONFIG
2868
# Extract the first word of "pkg-config", so it can be a program name with args.
2869
set dummy pkg-config; ac_word=$2
2870
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2871
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2872
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2873
echo $ECHO_N "(cached) $ECHO_C" >&6
2875
case $ac_pt_PKG_CONFIG in
2877
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884
test -z "$as_dir" && as_dir=.
2885
for ac_exec_ext in '' $ac_executable_extensions; do
2886
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2888
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2899
if test -n "$ac_pt_PKG_CONFIG"; then
2900
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2901
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2903
{ echo "$as_me:$LINENO: result: no" >&5
2904
echo "${ECHO_T}no" >&6; }
2907
if test "x$ac_pt_PKG_CONFIG" = x; then
2910
case $cross_compiling:$ac_tool_warned in
2912
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2913
whose name does not start with the host triplet. If you think this
2914
configuration is useful to you, please write to autoconf@gnu.org." >&5
2915
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2916
whose name does not start with the host triplet. If you think this
2917
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2918
ac_tool_warned=yes ;;
2920
PKG_CONFIG=$ac_pt_PKG_CONFIG
2923
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2927
if test -n "$PKG_CONFIG"; then
2928
_pkg_min_version=0.9.0
2929
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2930
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2931
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2932
{ echo "$as_me:$LINENO: result: yes" >&5
2933
echo "${ECHO_T}yes" >&6; }
2935
{ echo "$as_me:$LINENO: result: no" >&5
2936
echo "${ECHO_T}no" >&6; }
2942
gdu_cv_version_required=0.3.2
2944
if test -n "$PKG_CONFIG" && \
2945
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
2946
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
2948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949
(exit $ac_status); }; then
2955
if test "$gdu_cv_have_gdu" = "yes"; then
2958
{ { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
2959
echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
2960
{ (exit 1); exit 1; }; }
2965
# Check whether --with-help-dir was given.
2966
if test "${with_help_dir+set}" = set; then
2967
withval=$with_help_dir;
2969
with_help_dir='${datadir}/gnome/help'
2972
HELP_DIR="$with_help_dir"
2976
# Check whether --with-omf-dir was given.
2977
if test "${with_omf_dir+set}" = set; then
2978
withval=$with_omf_dir;
2980
with_omf_dir='${datadir}/omf'
2983
OMF_DIR="$with_omf_dir"
2987
# Check whether --with-help-formats was given.
2988
if test "${with_help_formats+set}" = set; then
2989
withval=$with_help_formats;
2991
with_help_formats=''
2994
DOC_USER_FORMATS="$with_help_formats"
2997
# Check whether --enable-scrollkeeper was given.
2998
if test "${enable_scrollkeeper+set}" = set; then
2999
enableval=$enable_scrollkeeper;
3001
enable_scrollkeeper=yes
3004
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
3013
if test "$gdu_cv_have_gdu" = "yes"; then
3014
HAVE_GNOME_DOC_UTILS_TRUE=
3015
HAVE_GNOME_DOC_UTILS_FALSE='#'
3017
HAVE_GNOME_DOC_UTILS_TRUE='#'
3018
HAVE_GNOME_DOC_UTILS_FALSE=
3024
ALL_LINGUAS="bg ca cs da de el en_CA en_GB es fi fr hu it lt ne nl nn pa pt pt_BR ru rw sq sv uk zh_CN"
3026
DEPDIR="${am__leading_dot}deps"
3028
ac_config_commands="$ac_config_commands depfiles"
3031
am_make=${MAKE-make}
3032
cat > confinc << 'END'
3037
# If we don't find an include directive, just comment out the code.
3038
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3039
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3043
# First try GNU make style include.
3044
echo "include confinc" > confmf
3045
# We grep out `Entering directory' and `Leaving directory'
3046
# messages which can occur if `w' ends up in MAKEFLAGS.
3047
# In particular we don't look at `^make:' because GNU make might
3048
# be invoked under some other name (usually "gmake"), in which
3049
# case it prints its new name instead of `make'.
3050
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3055
# Now try BSD make style include.
3056
if test "$am__include" = "#"; then
3057
echo '.include "confinc"' > confmf
3058
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3059
am__include=.include
3066
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3067
echo "${ECHO_T}$_am_result" >&6; }
3068
rm -f confinc confmf
3070
# Check whether --enable-dependency-tracking was given.
3071
if test "${enable_dependency_tracking+set}" = set; then
3072
enableval=$enable_dependency_tracking;
3075
if test "x$enable_dependency_tracking" != xno; then
3076
am_depcomp="$ac_aux_dir/depcomp"
3079
if test "x$enable_dependency_tracking" != xno; then
3089
ac_cpp='$CPP $CPPFLAGS'
3090
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3093
if test -n "$ac_tool_prefix"; then
3094
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3095
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3096
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3097
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3098
if test "${ac_cv_prog_CC+set}" = set; then
3099
echo $ECHO_N "(cached) $ECHO_C" >&6
3101
if test -n "$CC"; then
3102
ac_cv_prog_CC="$CC" # Let the user override the test.
3104
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108
test -z "$as_dir" && as_dir=.
3109
for ac_exec_ext in '' $ac_executable_extensions; do
3110
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3112
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122
if test -n "$CC"; then
3123
{ echo "$as_me:$LINENO: result: $CC" >&5
3124
echo "${ECHO_T}$CC" >&6; }
3126
{ echo "$as_me:$LINENO: result: no" >&5
3127
echo "${ECHO_T}no" >&6; }
3132
if test -z "$ac_cv_prog_CC"; then
3134
# Extract the first word of "gcc", so it can be a program name with args.
3135
set dummy gcc; ac_word=$2
3136
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3137
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3138
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3139
echo $ECHO_N "(cached) $ECHO_C" >&6
3141
if test -n "$ac_ct_CC"; then
3142
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148
test -z "$as_dir" && as_dir=.
3149
for ac_exec_ext in '' $ac_executable_extensions; do
3150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151
ac_cv_prog_ac_ct_CC="gcc"
3152
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3162
if test -n "$ac_ct_CC"; then
3163
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3164
echo "${ECHO_T}$ac_ct_CC" >&6; }
3166
{ echo "$as_me:$LINENO: result: no" >&5
3167
echo "${ECHO_T}no" >&6; }
3170
if test "x$ac_ct_CC" = x; then
3173
case $cross_compiling:$ac_tool_warned in
3175
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3176
whose name does not start with the host triplet. If you think this
3177
configuration is useful to you, please write to autoconf@gnu.org." >&5
3178
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3179
whose name does not start with the host triplet. If you think this
3180
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3181
ac_tool_warned=yes ;;
3189
if test -z "$CC"; then
3190
if test -n "$ac_tool_prefix"; then
3191
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3192
set dummy ${ac_tool_prefix}cc; ac_word=$2
3193
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3194
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3195
if test "${ac_cv_prog_CC+set}" = set; then
3196
echo $ECHO_N "(cached) $ECHO_C" >&6
3198
if test -n "$CC"; then
3199
ac_cv_prog_CC="$CC" # Let the user override the test.
3201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205
test -z "$as_dir" && as_dir=.
3206
for ac_exec_ext in '' $ac_executable_extensions; do
3207
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208
ac_cv_prog_CC="${ac_tool_prefix}cc"
3209
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219
if test -n "$CC"; then
3220
{ echo "$as_me:$LINENO: result: $CC" >&5
3221
echo "${ECHO_T}$CC" >&6; }
3223
{ echo "$as_me:$LINENO: result: no" >&5
3224
echo "${ECHO_T}no" >&6; }
3230
if test -z "$CC"; then
3231
# Extract the first word of "cc", so it can be a program name with args.
3232
set dummy cc; ac_word=$2
3233
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3234
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3235
if test "${ac_cv_prog_CC+set}" = set; then
3236
echo $ECHO_N "(cached) $ECHO_C" >&6
3238
if test -n "$CC"; then
3239
ac_cv_prog_CC="$CC" # Let the user override the test.
3242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246
test -z "$as_dir" && as_dir=.
3247
for ac_exec_ext in '' $ac_executable_extensions; do
3248
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3250
ac_prog_rejected=yes
3254
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261
if test $ac_prog_rejected = yes; then
3262
# We found a bogon in the path, so make sure we never use it.
3263
set dummy $ac_cv_prog_CC
3265
if test $@%:@ != 0; then
3266
# We chose a different compiler from the bogus one.
3267
# However, it has the same basename, so the bogon will be chosen
3268
# first if we set CC to just the basename; use the full file name.
3270
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3276
if test -n "$CC"; then
3277
{ echo "$as_me:$LINENO: result: $CC" >&5
3278
echo "${ECHO_T}$CC" >&6; }
3280
{ echo "$as_me:$LINENO: result: no" >&5
3281
echo "${ECHO_T}no" >&6; }
3286
if test -z "$CC"; then
3287
if test -n "$ac_tool_prefix"; then
3288
for ac_prog in cl.exe
3290
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3291
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3292
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3293
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3294
if test "${ac_cv_prog_CC+set}" = set; then
3295
echo $ECHO_N "(cached) $ECHO_C" >&6
3297
if test -n "$CC"; then
3298
ac_cv_prog_CC="$CC" # Let the user override the test.
3300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304
test -z "$as_dir" && as_dir=.
3305
for ac_exec_ext in '' $ac_executable_extensions; do
3306
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3308
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3318
if test -n "$CC"; then
3319
{ echo "$as_me:$LINENO: result: $CC" >&5
3320
echo "${ECHO_T}$CC" >&6; }
3322
{ echo "$as_me:$LINENO: result: no" >&5
3323
echo "${ECHO_T}no" >&6; }
3327
test -n "$CC" && break
3330
if test -z "$CC"; then
3332
for ac_prog in cl.exe
3334
# Extract the first word of "$ac_prog", so it can be a program name with args.
3335
set dummy $ac_prog; ac_word=$2
3336
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3337
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3338
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3339
echo $ECHO_N "(cached) $ECHO_C" >&6
3341
if test -n "$ac_ct_CC"; then
3342
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348
test -z "$as_dir" && as_dir=.
3349
for ac_exec_ext in '' $ac_executable_extensions; do
3350
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3351
ac_cv_prog_ac_ct_CC="$ac_prog"
3352
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3361
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3362
if test -n "$ac_ct_CC"; then
3363
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3364
echo "${ECHO_T}$ac_ct_CC" >&6; }
3366
{ echo "$as_me:$LINENO: result: no" >&5
3367
echo "${ECHO_T}no" >&6; }
3371
test -n "$ac_ct_CC" && break
3374
if test "x$ac_ct_CC" = x; then
3377
case $cross_compiling:$ac_tool_warned in
3379
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3380
whose name does not start with the host triplet. If you think this
3381
configuration is useful to you, please write to autoconf@gnu.org." >&5
3382
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3383
whose name does not start with the host triplet. If you think this
3384
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3385
ac_tool_warned=yes ;;
3394
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3395
See \`config.log' for more details." >&5
3396
echo "$as_me: error: no acceptable C compiler found in \$PATH
3397
See \`config.log' for more details." >&2;}
3398
{ (exit 1); exit 1; }; }
3400
# Provide some information about the compiler.
3401
echo "$as_me:$LINENO: checking for C compiler version" >&5
3402
ac_compiler=`set X $ac_compile; echo $2`
3403
{ (ac_try="$ac_compiler --version >&5"
3405
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406
*) ac_try_echo=$ac_try;;
3408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3409
(eval "$ac_compiler --version >&5") 2>&5
3411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412
(exit $ac_status); }
3413
{ (ac_try="$ac_compiler -v >&5"
3415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416
*) ac_try_echo=$ac_try;;
3418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3419
(eval "$ac_compiler -v >&5") 2>&5
3421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422
(exit $ac_status); }
3423
{ (ac_try="$ac_compiler -V >&5"
3425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426
*) ac_try_echo=$ac_try;;
3428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429
(eval "$ac_compiler -V >&5") 2>&5
3431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432
(exit $ac_status); }
3434
cat >conftest.$ac_ext <<_ACEOF
3437
cat confdefs.h >>conftest.$ac_ext
3438
cat >>conftest.$ac_ext <<_ACEOF
3439
/* end confdefs.h. */
3449
ac_clean_files_save=$ac_clean_files
3450
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3451
# Try to create an executable without -o first, disregard a.out.
3452
# It will help us diagnose broken compilers, and finding out an intuition
3454
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3455
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3456
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3458
# List of possible output files, starting from the most likely.
3459
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3460
# only as a last resort. b.out is created by i960 compilers.
3461
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3463
# The IRIX 6 linker writes into existing files which may not be
3464
# executable, retaining their permissions. Remove them first so a
3465
# subsequent execution test works.
3467
for ac_file in $ac_files
3470
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3471
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3476
if { (ac_try="$ac_link_default"
3478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479
*) ac_try_echo=$ac_try;;
3481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3482
(eval "$ac_link_default") 2>&5
3484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485
(exit $ac_status); }; then
3486
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3487
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3488
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3489
# so that the user can short-circuit this test for compilers unknown to
3491
for ac_file in $ac_files ''
3493
test -f "$ac_file" || continue
3495
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3498
# We found the default executable, but exeext='' is most
3502
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3504
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3506
# We set ac_cv_exeext here because the later test for it is not
3507
# safe: cross compilers may not add the suffix if given an `-o'
3508
# argument, so we may need to know it at that point already.
3509
# Even if this section looks crufty: it has the advantage of
3516
test "$ac_cv_exeext" = no && ac_cv_exeext=
3522
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3523
echo "${ECHO_T}$ac_file" >&6; }
3524
if test -z "$ac_file"; then
3525
echo "$as_me: failed program was:" >&5
3526
sed 's/^/| /' conftest.$ac_ext >&5
3528
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3529
See \`config.log' for more details." >&5
3530
echo "$as_me: error: C compiler cannot create executables
3531
See \`config.log' for more details." >&2;}
3532
{ (exit 77); exit 77; }; }
3535
ac_exeext=$ac_cv_exeext
3537
# Check that the compiler produces executables we can run. If not, either
3538
# the compiler is broken, or we cross compile.
3539
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3540
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3541
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3542
# If not cross compiling, check that we can run a simple program.
3543
if test "$cross_compiling" != yes; then
3544
if { ac_try='./$ac_file'
3545
{ (case "(($ac_try" in
3546
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547
*) ac_try_echo=$ac_try;;
3549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3550
(eval "$ac_try") 2>&5
3552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553
(exit $ac_status); }; }; then
3556
if test "$cross_compiling" = maybe; then
3559
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3560
If you meant to cross compile, use \`--host'.
3561
See \`config.log' for more details." >&5
3562
echo "$as_me: error: cannot run C compiled programs.
3563
If you meant to cross compile, use \`--host'.
3564
See \`config.log' for more details." >&2;}
3565
{ (exit 1); exit 1; }; }
3569
{ echo "$as_me:$LINENO: result: yes" >&5
3570
echo "${ECHO_T}yes" >&6; }
3572
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3573
ac_clean_files=$ac_clean_files_save
3574
# Check that the compiler produces executables we can run. If not, either
3575
# the compiler is broken, or we cross compile.
3576
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3577
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3578
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3579
echo "${ECHO_T}$cross_compiling" >&6; }
3581
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3582
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3583
if { (ac_try="$ac_link"
3585
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586
*) ac_try_echo=$ac_try;;
3588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3589
(eval "$ac_link") 2>&5
3591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592
(exit $ac_status); }; then
3593
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3594
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3595
# work properly (i.e., refer to `conftest.exe'), while it won't with
3597
for ac_file in conftest.exe conftest conftest.*; do
3598
test -f "$ac_file" || continue
3600
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3601
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3607
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3608
See \`config.log' for more details." >&5
3609
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3610
See \`config.log' for more details." >&2;}
3611
{ (exit 1); exit 1; }; }
3614
rm -f conftest$ac_cv_exeext
3615
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3616
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3618
rm -f conftest.$ac_ext
3619
EXEEXT=$ac_cv_exeext
3621
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3622
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3623
if test "${ac_cv_objext+set}" = set; then
3624
echo $ECHO_N "(cached) $ECHO_C" >&6
3626
cat >conftest.$ac_ext <<_ACEOF
3629
cat confdefs.h >>conftest.$ac_ext
3630
cat >>conftest.$ac_ext <<_ACEOF
3631
/* end confdefs.h. */
3641
rm -f conftest.o conftest.obj
3642
if { (ac_try="$ac_compile"
3644
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645
*) ac_try_echo=$ac_try;;
3647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3648
(eval "$ac_compile") 2>&5
3650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651
(exit $ac_status); }; then
3652
for ac_file in conftest.o conftest.obj conftest.*; do
3653
test -f "$ac_file" || continue;
3655
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3656
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3661
echo "$as_me: failed program was:" >&5
3662
sed 's/^/| /' conftest.$ac_ext >&5
3664
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3665
See \`config.log' for more details." >&5
3666
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3667
See \`config.log' for more details." >&2;}
3668
{ (exit 1); exit 1; }; }
3671
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3673
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3674
echo "${ECHO_T}$ac_cv_objext" >&6; }
3675
OBJEXT=$ac_cv_objext
3677
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3678
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3679
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3680
echo $ECHO_N "(cached) $ECHO_C" >&6
3682
cat >conftest.$ac_ext <<_ACEOF
3685
cat confdefs.h >>conftest.$ac_ext
3686
cat >>conftest.$ac_ext <<_ACEOF
3687
/* end confdefs.h. */
3700
rm -f conftest.$ac_objext
3701
if { (ac_try="$ac_compile"
3703
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704
*) ac_try_echo=$ac_try;;
3706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3707
(eval "$ac_compile") 2>conftest.er1
3709
grep -v '^ *+' conftest.er1 >conftest.err
3711
cat conftest.err >&5
3712
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713
(exit $ac_status); } && {
3714
test -z "$ac_c_werror_flag" ||
3715
test ! -s conftest.err
3716
} && test -s conftest.$ac_objext; then
3719
echo "$as_me: failed program was:" >&5
3720
sed 's/^/| /' conftest.$ac_ext >&5
3725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3729
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3730
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3731
GCC=`test $ac_compiler_gnu = yes && echo yes`
3732
ac_test_CFLAGS=${CFLAGS+set}
3733
ac_save_CFLAGS=$CFLAGS
3734
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3735
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3736
if test "${ac_cv_prog_cc_g+set}" = set; then
3737
echo $ECHO_N "(cached) $ECHO_C" >&6
3739
ac_save_c_werror_flag=$ac_c_werror_flag
3740
ac_c_werror_flag=yes
3743
cat >conftest.$ac_ext <<_ACEOF
3746
cat confdefs.h >>conftest.$ac_ext
3747
cat >>conftest.$ac_ext <<_ACEOF
3748
/* end confdefs.h. */
3758
rm -f conftest.$ac_objext
3759
if { (ac_try="$ac_compile"
3761
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762
*) ac_try_echo=$ac_try;;
3764
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765
(eval "$ac_compile") 2>conftest.er1
3767
grep -v '^ *+' conftest.er1 >conftest.err
3769
cat conftest.err >&5
3770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771
(exit $ac_status); } && {
3772
test -z "$ac_c_werror_flag" ||
3773
test ! -s conftest.err
3774
} && test -s conftest.$ac_objext; then
3777
echo "$as_me: failed program was:" >&5
3778
sed 's/^/| /' conftest.$ac_ext >&5
3781
cat >conftest.$ac_ext <<_ACEOF
3784
cat confdefs.h >>conftest.$ac_ext
3785
cat >>conftest.$ac_ext <<_ACEOF
3786
/* end confdefs.h. */
3796
rm -f conftest.$ac_objext
3797
if { (ac_try="$ac_compile"
3799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800
*) ac_try_echo=$ac_try;;
3802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803
(eval "$ac_compile") 2>conftest.er1
3805
grep -v '^ *+' conftest.er1 >conftest.err
3807
cat conftest.err >&5
3808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809
(exit $ac_status); } && {
3810
test -z "$ac_c_werror_flag" ||
3811
test ! -s conftest.err
3812
} && test -s conftest.$ac_objext; then
3815
echo "$as_me: failed program was:" >&5
3816
sed 's/^/| /' conftest.$ac_ext >&5
3818
ac_c_werror_flag=$ac_save_c_werror_flag
3820
cat >conftest.$ac_ext <<_ACEOF
3823
cat confdefs.h >>conftest.$ac_ext
3824
cat >>conftest.$ac_ext <<_ACEOF
3825
/* end confdefs.h. */
3835
rm -f conftest.$ac_objext
3836
if { (ac_try="$ac_compile"
3838
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3839
*) ac_try_echo=$ac_try;;
3841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3842
(eval "$ac_compile") 2>conftest.er1
3844
grep -v '^ *+' conftest.er1 >conftest.err
3846
cat conftest.err >&5
3847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848
(exit $ac_status); } && {
3849
test -z "$ac_c_werror_flag" ||
3850
test ! -s conftest.err
3851
} && test -s conftest.$ac_objext; then
3854
echo "$as_me: failed program was:" >&5
3855
sed 's/^/| /' conftest.$ac_ext >&5
3860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867
ac_c_werror_flag=$ac_save_c_werror_flag
3869
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3870
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3871
if test "$ac_test_CFLAGS" = set; then
3872
CFLAGS=$ac_save_CFLAGS
3873
elif test $ac_cv_prog_cc_g = yes; then
3874
if test "$GCC" = yes; then
3880
if test "$GCC" = yes; then
3886
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3887
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3888
if test "${ac_cv_prog_cc_c89+set}" = set; then
3889
echo $ECHO_N "(cached) $ECHO_C" >&6
3891
ac_cv_prog_cc_c89=no
3893
cat >conftest.$ac_ext <<_ACEOF
3896
cat confdefs.h >>conftest.$ac_ext
3897
cat >>conftest.$ac_ext <<_ACEOF
3898
/* end confdefs.h. */
3901
#include <sys/types.h>
3902
#include <sys/stat.h>
3903
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3904
struct buf { int x; };
3905
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3906
static char *e (p, i)
3912
static char *f (char * (*g) (char **, int), char **p, ...)
3917
s = g (p, va_arg (v,int));
3922
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3923
function prototypes and stuff, but not '\xHH' hex character constants.
3924
These don't provoke an error unfortunately, instead are silently treated
3925
as 'x'. The following induces an error, until -std is added to get
3926
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3927
array size at least. It's necessary to write '\x00'==0 to get something
3928
that's true only with -std. */
3929
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3931
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3932
inside strings and character constants. */
3934
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3936
int test (int i, double x);
3937
struct s1 {int (*f) (int a);};
3938
struct s2 {int (*f) (double a);};
3939
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3945
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3950
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3951
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3953
CC="$ac_save_CC $ac_arg"
3954
rm -f conftest.$ac_objext
3955
if { (ac_try="$ac_compile"
3957
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958
*) ac_try_echo=$ac_try;;
3960
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961
(eval "$ac_compile") 2>conftest.er1
3963
grep -v '^ *+' conftest.er1 >conftest.err
3965
cat conftest.err >&5
3966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967
(exit $ac_status); } && {
3968
test -z "$ac_c_werror_flag" ||
3969
test ! -s conftest.err
3970
} && test -s conftest.$ac_objext; then
3971
ac_cv_prog_cc_c89=$ac_arg
3973
echo "$as_me: failed program was:" >&5
3974
sed 's/^/| /' conftest.$ac_ext >&5
3979
rm -f core conftest.err conftest.$ac_objext
3980
test "x$ac_cv_prog_cc_c89" != "xno" && break
3982
rm -f conftest.$ac_ext
3987
case "x$ac_cv_prog_cc_c89" in
3989
{ echo "$as_me:$LINENO: result: none needed" >&5
3990
echo "${ECHO_T}none needed" >&6; } ;;
3992
{ echo "$as_me:$LINENO: result: unsupported" >&5
3993
echo "${ECHO_T}unsupported" >&6; } ;;
3995
CC="$CC $ac_cv_prog_cc_c89"
3996
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3997
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4002
ac_cpp='$CPP $CPPFLAGS'
4003
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4004
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4005
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4007
depcc="$CC" am_compiler_list=
4009
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4010
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4011
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4012
echo $ECHO_N "(cached) $ECHO_C" >&6
4014
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4015
# We make a subdir and do the tests there. Otherwise we can end up
4016
# making bogus files that we don't know about and never remove. For
4017
# instance it was reported that on HP-UX the gcc test will end up
4018
# making a dummy file named `D' -- because `-MD' means `put the output
4021
# Copy depcomp to subdir because otherwise we won't find it if we're
4022
# using a relative directory.
4023
cp "$am_depcomp" conftest.dir
4025
# We will build objects and dependencies in a subdirectory because
4026
# it helps to detect inapplicable dependency modes. For instance
4027
# both Tru64's cc and ICC support -MD to output dependencies as a
4028
# side effect of compilation, but ICC will put the dependencies in
4029
# the current directory while Tru64 will put them in the object
4033
am_cv_CC_dependencies_compiler_type=none
4034
if test "$am_compiler_list" = ""; then
4035
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4037
for depmode in $am_compiler_list; do
4038
# Setup a source with many dependencies, because some compilers
4039
# like to wrap large dependency lists on column 80 (with \), and
4040
# we should not choose a depcomp mode which is confused by this.
4042
# We need to recreate these files for each test, as the compiler may
4043
# overwrite some of them when testing with obscure command lines.
4044
# This happens at least with the AIX C compiler.
4046
for i in 1 2 3 4 5 6; do
4047
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4049
# Solaris 8's {/usr,}/bin/sh.
4050
touch sub/conftst$i.h
4052
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4056
# after this tag, mechanisms are not by side-effect, so they'll
4057
# only be used when explicitly requested
4058
if test "x$enable_dependency_tracking" = xyes; then
4066
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4067
# mode. It turns out that the SunPro C++ compiler does not properly
4068
# handle `-M -o', and we need to detect this.
4069
if depmode=$depmode \
4070
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4071
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4072
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4073
>/dev/null 2>conftest.err &&
4074
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4075
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4076
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4077
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4078
# icc doesn't choke on unknown options, it will just issue warnings
4079
# or remarks (even with -Werror). So we grep stderr for any message
4080
# that says an option was ignored or not supported.
4081
# When given -MP, icc 7.0 and 7.1 complain thusly:
4082
# icc: Command line warning: ignoring option '-M'; no argument required
4083
# The diagnosis changed in icc 8.0:
4084
# icc: Command line remark: option '-MP' not supported
4085
if (grep 'ignoring option' conftest.err ||
4086
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4087
am_cv_CC_dependencies_compiler_type=$depmode
4096
am_cv_CC_dependencies_compiler_type=none
4100
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4101
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4102
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4105
test "x$enable_dependency_tracking" != xno \
4106
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4108
am__fastdepCC_FALSE='#'
4110
am__fastdepCC_TRUE='#'
4111
am__fastdepCC_FALSE=
4117
ac_cpp='$CPP $CPPFLAGS'
4118
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4121
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4122
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4123
# On Suns, sometimes $CPP names a directory.
4124
if test -n "$CPP" && test -d "$CPP"; then
4127
if test -z "$CPP"; then
4128
if test "${ac_cv_prog_CPP+set}" = set; then
4129
echo $ECHO_N "(cached) $ECHO_C" >&6
4131
# Double quotes because CPP needs to be expanded
4132
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4135
for ac_c_preproc_warn_flag in '' yes
4137
# Use a header file that comes with gcc, so configuring glibc
4138
# with a fresh cross-compiler works.
4139
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140
# <limits.h> exists even on freestanding compilers.
4141
# On the NeXT, cc -E runs the code through the compiler's parser,
4142
# not just through cpp. "Syntax error" is here to catch this case.
4143
cat >conftest.$ac_ext <<_ACEOF
4146
cat confdefs.h >>conftest.$ac_ext
4147
cat >>conftest.$ac_ext <<_ACEOF
4148
/* end confdefs.h. */
4150
@%:@ include <limits.h>
4152
@%:@ include <assert.h>
4156
if { (ac_try="$ac_cpp conftest.$ac_ext"
4158
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159
*) ac_try_echo=$ac_try;;
4161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4162
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4164
grep -v '^ *+' conftest.er1 >conftest.err
4166
cat conftest.err >&5
4167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168
(exit $ac_status); } >/dev/null && {
4169
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4170
test ! -s conftest.err
4174
echo "$as_me: failed program was:" >&5
4175
sed 's/^/| /' conftest.$ac_ext >&5
4177
# Broken: fails on valid input.
4181
rm -f conftest.err conftest.$ac_ext
4183
# OK, works on sane cases. Now check whether nonexistent headers
4184
# can be detected and how.
4185
cat >conftest.$ac_ext <<_ACEOF
4188
cat confdefs.h >>conftest.$ac_ext
4189
cat >>conftest.$ac_ext <<_ACEOF
4190
/* end confdefs.h. */
4191
@%:@include <ac_nonexistent.h>
4193
if { (ac_try="$ac_cpp conftest.$ac_ext"
4195
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4196
*) ac_try_echo=$ac_try;;
4198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4199
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4201
grep -v '^ *+' conftest.er1 >conftest.err
4203
cat conftest.err >&5
4204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205
(exit $ac_status); } >/dev/null && {
4206
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4207
test ! -s conftest.err
4209
# Broken: success on invalid input.
4212
echo "$as_me: failed program was:" >&5
4213
sed 's/^/| /' conftest.$ac_ext >&5
4215
# Passes both tests.
4220
rm -f conftest.err conftest.$ac_ext
4223
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4224
rm -f conftest.err conftest.$ac_ext
4225
if $ac_preproc_ok; then
4237
{ echo "$as_me:$LINENO: result: $CPP" >&5
4238
echo "${ECHO_T}$CPP" >&6; }
4240
for ac_c_preproc_warn_flag in '' yes
4242
# Use a header file that comes with gcc, so configuring glibc
4243
# with a fresh cross-compiler works.
4244
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4245
# <limits.h> exists even on freestanding compilers.
4246
# On the NeXT, cc -E runs the code through the compiler's parser,
4247
# not just through cpp. "Syntax error" is here to catch this case.
4248
cat >conftest.$ac_ext <<_ACEOF
4251
cat confdefs.h >>conftest.$ac_ext
4252
cat >>conftest.$ac_ext <<_ACEOF
4253
/* end confdefs.h. */
4255
@%:@ include <limits.h>
4257
@%:@ include <assert.h>
4261
if { (ac_try="$ac_cpp conftest.$ac_ext"
4263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264
*) ac_try_echo=$ac_try;;
4266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4269
grep -v '^ *+' conftest.er1 >conftest.err
4271
cat conftest.err >&5
4272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273
(exit $ac_status); } >/dev/null && {
4274
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4275
test ! -s conftest.err
4279
echo "$as_me: failed program was:" >&5
4280
sed 's/^/| /' conftest.$ac_ext >&5
4282
# Broken: fails on valid input.
4286
rm -f conftest.err conftest.$ac_ext
4288
# OK, works on sane cases. Now check whether nonexistent headers
4289
# can be detected and how.
4290
cat >conftest.$ac_ext <<_ACEOF
4293
cat confdefs.h >>conftest.$ac_ext
4294
cat >>conftest.$ac_ext <<_ACEOF
4295
/* end confdefs.h. */
4296
@%:@include <ac_nonexistent.h>
4298
if { (ac_try="$ac_cpp conftest.$ac_ext"
4300
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4301
*) ac_try_echo=$ac_try;;
4303
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4304
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4306
grep -v '^ *+' conftest.er1 >conftest.err
4308
cat conftest.err >&5
4309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310
(exit $ac_status); } >/dev/null && {
4311
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4312
test ! -s conftest.err
4314
# Broken: success on invalid input.
4317
echo "$as_me: failed program was:" >&5
4318
sed 's/^/| /' conftest.$ac_ext >&5
4320
# Passes both tests.
4325
rm -f conftest.err conftest.$ac_ext
4328
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4329
rm -f conftest.err conftest.$ac_ext
4330
if $ac_preproc_ok; then
4333
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4334
See \`config.log' for more details." >&5
4335
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4336
See \`config.log' for more details." >&2;}
4337
{ (exit 1); exit 1; }; }
4341
ac_cpp='$CPP $CPPFLAGS'
4342
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4348
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4349
if test "${ac_cv_path_GREP+set}" = set; then
4350
echo $ECHO_N "(cached) $ECHO_C" >&6
4352
# Extract the first word of "grep ggrep" to use in msg output
4353
if test -z "$GREP"; then
4354
set dummy grep ggrep; ac_prog_name=$2
4355
if test "${ac_cv_path_GREP+set}" = set; then
4356
echo $ECHO_N "(cached) $ECHO_C" >&6
4358
ac_path_GREP_found=false
4359
# Loop through the user's path and test for each of PROGNAME-LIST
4360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4364
test -z "$as_dir" && as_dir=.
4365
for ac_prog in grep ggrep; do
4366
for ac_exec_ext in '' $ac_executable_extensions; do
4367
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4368
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4369
# Check for GNU ac_path_GREP and select it if it is found.
4370
# Check for GNU $ac_path_GREP
4371
case `"$ac_path_GREP" --version 2>&1` in
4373
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4376
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4379
cat "conftest.in" "conftest.in" >"conftest.tmp"
4380
mv "conftest.tmp" "conftest.in"
4381
cp "conftest.in" "conftest.nl"
4382
echo 'GREP' >> "conftest.nl"
4383
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4384
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4385
ac_count=`expr $ac_count + 1`
4386
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4387
# Best one so far, save it but keep looking for a better one
4388
ac_cv_path_GREP="$ac_path_GREP"
4389
ac_path_GREP_max=$ac_count
4391
# 10*(2^10) chars as input seems more than enough
4392
test $ac_count -gt 10 && break
4394
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4398
$ac_path_GREP_found && break 3
4408
GREP="$ac_cv_path_GREP"
4409
if test -z "$GREP"; then
4410
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4411
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4412
{ (exit 1); exit 1; }; }
4416
ac_cv_path_GREP=$GREP
4421
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4422
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4423
GREP="$ac_cv_path_GREP"
4426
{ echo "$as_me:$LINENO: checking for egrep" >&5
4427
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4428
if test "${ac_cv_path_EGREP+set}" = set; then
4429
echo $ECHO_N "(cached) $ECHO_C" >&6
4431
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4432
then ac_cv_path_EGREP="$GREP -E"
4434
# Extract the first word of "egrep" to use in msg output
4435
if test -z "$EGREP"; then
4436
set dummy egrep; ac_prog_name=$2
4437
if test "${ac_cv_path_EGREP+set}" = set; then
4438
echo $ECHO_N "(cached) $ECHO_C" >&6
4440
ac_path_EGREP_found=false
4441
# Loop through the user's path and test for each of PROGNAME-LIST
4442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4446
test -z "$as_dir" && as_dir=.
4447
for ac_prog in egrep; do
4448
for ac_exec_ext in '' $ac_executable_extensions; do
4449
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4450
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4451
# Check for GNU ac_path_EGREP and select it if it is found.
4452
# Check for GNU $ac_path_EGREP
4453
case `"$ac_path_EGREP" --version 2>&1` in
4455
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4458
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4461
cat "conftest.in" "conftest.in" >"conftest.tmp"
4462
mv "conftest.tmp" "conftest.in"
4463
cp "conftest.in" "conftest.nl"
4464
echo 'EGREP' >> "conftest.nl"
4465
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467
ac_count=`expr $ac_count + 1`
4468
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4469
# Best one so far, save it but keep looking for a better one
4470
ac_cv_path_EGREP="$ac_path_EGREP"
4471
ac_path_EGREP_max=$ac_count
4473
# 10*(2^10) chars as input seems more than enough
4474
test $ac_count -gt 10 && break
4476
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4480
$ac_path_EGREP_found && break 3
4490
EGREP="$ac_cv_path_EGREP"
4491
if test -z "$EGREP"; then
4492
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4493
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4494
{ (exit 1); exit 1; }; }
4498
ac_cv_path_EGREP=$EGREP
4504
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4505
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4506
EGREP="$ac_cv_path_EGREP"
4509
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4510
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4511
if test "${ac_cv_header_stdc+set}" = set; then
4512
echo $ECHO_N "(cached) $ECHO_C" >&6
4514
cat >conftest.$ac_ext <<_ACEOF
4517
cat confdefs.h >>conftest.$ac_ext
4518
cat >>conftest.$ac_ext <<_ACEOF
4519
/* end confdefs.h. */
4533
rm -f conftest.$ac_objext
4534
if { (ac_try="$ac_compile"
4536
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537
*) ac_try_echo=$ac_try;;
4539
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540
(eval "$ac_compile") 2>conftest.er1
4542
grep -v '^ *+' conftest.er1 >conftest.err
4544
cat conftest.err >&5
4545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546
(exit $ac_status); } && {
4547
test -z "$ac_c_werror_flag" ||
4548
test ! -s conftest.err
4549
} && test -s conftest.$ac_objext; then
4550
ac_cv_header_stdc=yes
4552
echo "$as_me: failed program was:" >&5
4553
sed 's/^/| /' conftest.$ac_ext >&5
4555
ac_cv_header_stdc=no
4558
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560
if test $ac_cv_header_stdc = yes; then
4561
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4562
cat >conftest.$ac_ext <<_ACEOF
4565
cat confdefs.h >>conftest.$ac_ext
4566
cat >>conftest.$ac_ext <<_ACEOF
4567
/* end confdefs.h. */
4571
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4572
$EGREP "memchr" >/dev/null 2>&1; then
4575
ac_cv_header_stdc=no
4581
if test $ac_cv_header_stdc = yes; then
4582
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4583
cat >conftest.$ac_ext <<_ACEOF
4586
cat confdefs.h >>conftest.$ac_ext
4587
cat >>conftest.$ac_ext <<_ACEOF
4588
/* end confdefs.h. */
4592
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593
$EGREP "free" >/dev/null 2>&1; then
4596
ac_cv_header_stdc=no
4602
if test $ac_cv_header_stdc = yes; then
4603
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4604
if test "$cross_compiling" = yes; then
4607
cat >conftest.$ac_ext <<_ACEOF
4610
cat confdefs.h >>conftest.$ac_ext
4611
cat >>conftest.$ac_ext <<_ACEOF
4612
/* end confdefs.h. */
4615
#if ((' ' & 0x0FF) == 0x020)
4616
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4617
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4619
# define ISLOWER(c) \
4620
(('a' <= (c) && (c) <= 'i') \
4621
|| ('j' <= (c) && (c) <= 'r') \
4622
|| ('s' <= (c) && (c) <= 'z'))
4623
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4626
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4631
for (i = 0; i < 256; i++)
4632
if (XOR (islower (i), ISLOWER (i))
4633
|| toupper (i) != TOUPPER (i))
4638
rm -f conftest$ac_exeext
4639
if { (ac_try="$ac_link"
4641
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642
*) ac_try_echo=$ac_try;;
4644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4645
(eval "$ac_link") 2>&5
4647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4649
{ (case "(($ac_try" in
4650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4651
*) ac_try_echo=$ac_try;;
4653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4654
(eval "$ac_try") 2>&5
4656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657
(exit $ac_status); }; }; then
4660
echo "$as_me: program exited with status $ac_status" >&5
4661
echo "$as_me: failed program was:" >&5
4662
sed 's/^/| /' conftest.$ac_ext >&5
4665
ac_cv_header_stdc=no
4667
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4673
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4674
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4675
if test $ac_cv_header_stdc = yes; then
4677
cat >>confdefs.h <<\_ACEOF
4678
@%:@define STDC_HEADERS 1
4683
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4693
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4694
inttypes.h stdint.h unistd.h
4696
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4697
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4698
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4699
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4700
echo $ECHO_N "(cached) $ECHO_C" >&6
4702
cat >conftest.$ac_ext <<_ACEOF
4705
cat confdefs.h >>conftest.$ac_ext
4706
cat >>conftest.$ac_ext <<_ACEOF
4707
/* end confdefs.h. */
4708
$ac_includes_default
4710
@%:@include <$ac_header>
4712
rm -f conftest.$ac_objext
4713
if { (ac_try="$ac_compile"
4715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716
*) ac_try_echo=$ac_try;;
4718
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4719
(eval "$ac_compile") 2>conftest.er1
4721
grep -v '^ *+' conftest.er1 >conftest.err
4723
cat conftest.err >&5
4724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725
(exit $ac_status); } && {
4726
test -z "$ac_c_werror_flag" ||
4727
test ! -s conftest.err
4728
} && test -s conftest.$ac_objext; then
4729
eval "$as_ac_Header=yes"
4731
echo "$as_me: failed program was:" >&5
4732
sed 's/^/| /' conftest.$ac_ext >&5
4734
eval "$as_ac_Header=no"
4737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739
ac_res=`eval echo '${'$as_ac_Header'}'`
4740
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4741
echo "${ECHO_T}$ac_res" >&6; }
4742
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4743
cat >>confdefs.h <<_ACEOF
4744
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4752
# Make sure we can run config.sub.
4753
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4754
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4755
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4756
{ (exit 1); exit 1; }; }
4758
{ echo "$as_me:$LINENO: checking build system type" >&5
4759
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4760
if test "${ac_cv_build+set}" = set; then
4761
echo $ECHO_N "(cached) $ECHO_C" >&6
4763
ac_build_alias=$build_alias
4764
test "x$ac_build_alias" = x &&
4765
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4766
test "x$ac_build_alias" = x &&
4767
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4768
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4769
{ (exit 1); exit 1; }; }
4770
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4771
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4772
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4773
{ (exit 1); exit 1; }; }
4776
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4777
echo "${ECHO_T}$ac_cv_build" >&6; }
4778
case $ac_cv_build in
4780
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4781
echo "$as_me: error: invalid value of canonical build" >&2;}
4782
{ (exit 1); exit 1; }; };;
4785
ac_save_IFS=$IFS; IFS='-'
4791
# Remember, the first character of IFS is used to create $*,
4792
# except with old shells:
4795
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4798
{ echo "$as_me:$LINENO: checking host system type" >&5
4799
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4800
if test "${ac_cv_host+set}" = set; then
4801
echo $ECHO_N "(cached) $ECHO_C" >&6
4803
if test "x$host_alias" = x; then
4804
ac_cv_host=$ac_cv_build
4806
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4807
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4808
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4809
{ (exit 1); exit 1; }; }
4813
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4814
echo "${ECHO_T}$ac_cv_host" >&6; }
4817
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4818
echo "$as_me: error: invalid value of canonical host" >&2;}
4819
{ (exit 1); exit 1; }; };;
4822
ac_save_IFS=$IFS; IFS='-'
4828
# Remember, the first character of IFS is used to create $*,
4829
# except with old shells:
4832
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4837
for ac_header in locale.h
4839
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4840
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4841
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4842
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4843
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4844
echo $ECHO_N "(cached) $ECHO_C" >&6
4846
ac_res=`eval echo '${'$as_ac_Header'}'`
4847
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4848
echo "${ECHO_T}$ac_res" >&6; }
4850
# Is the header compilable?
4851
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4852
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4853
cat >conftest.$ac_ext <<_ACEOF
4856
cat confdefs.h >>conftest.$ac_ext
4857
cat >>conftest.$ac_ext <<_ACEOF
4858
/* end confdefs.h. */
4859
$ac_includes_default
4860
@%:@include <$ac_header>
4862
rm -f conftest.$ac_objext
4863
if { (ac_try="$ac_compile"
4865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4866
*) ac_try_echo=$ac_try;;
4868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4869
(eval "$ac_compile") 2>conftest.er1
4871
grep -v '^ *+' conftest.er1 >conftest.err
4873
cat conftest.err >&5
4874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875
(exit $ac_status); } && {
4876
test -z "$ac_c_werror_flag" ||
4877
test ! -s conftest.err
4878
} && test -s conftest.$ac_objext; then
4879
ac_header_compiler=yes
4881
echo "$as_me: failed program was:" >&5
4882
sed 's/^/| /' conftest.$ac_ext >&5
4884
ac_header_compiler=no
4887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4888
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4889
echo "${ECHO_T}$ac_header_compiler" >&6; }
4891
# Is the header present?
4892
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4893
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4894
cat >conftest.$ac_ext <<_ACEOF
4897
cat confdefs.h >>conftest.$ac_ext
4898
cat >>conftest.$ac_ext <<_ACEOF
4899
/* end confdefs.h. */
4900
@%:@include <$ac_header>
4902
if { (ac_try="$ac_cpp conftest.$ac_ext"
4904
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905
*) ac_try_echo=$ac_try;;
4907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4908
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4910
grep -v '^ *+' conftest.er1 >conftest.err
4912
cat conftest.err >&5
4913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914
(exit $ac_status); } >/dev/null && {
4915
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4916
test ! -s conftest.err
4918
ac_header_preproc=yes
4920
echo "$as_me: failed program was:" >&5
4921
sed 's/^/| /' conftest.$ac_ext >&5
4923
ac_header_preproc=no
4926
rm -f conftest.err conftest.$ac_ext
4927
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4928
echo "${ECHO_T}$ac_header_preproc" >&6; }
4930
# So? What about this header?
4931
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4933
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4934
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4935
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4936
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4937
ac_header_preproc=yes
4940
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4941
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4942
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4943
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4944
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4945
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4946
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4947
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4948
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4949
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4950
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4951
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4953
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
4954
@%:@@%:@ Report this to https://bugs.launchpad.net/python-schedule/ @%:@@%:@
4955
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
4957
) | sed "s/^/$as_me: WARNING: /" >&2
4960
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4961
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4962
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4963
echo $ECHO_N "(cached) $ECHO_C" >&6
4965
eval "$as_ac_Header=\$ac_header_preproc"
4967
ac_res=`eval echo '${'$as_ac_Header'}'`
4968
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4969
echo "${ECHO_T}$ac_res" >&6; }
4972
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4973
cat >>confdefs.h <<_ACEOF
4974
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4981
if test $ac_cv_header_locale_h = yes; then
4982
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4983
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
4984
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4985
echo $ECHO_N "(cached) $ECHO_C" >&6
4987
cat >conftest.$ac_ext <<_ACEOF
4990
cat confdefs.h >>conftest.$ac_ext
4991
cat >>conftest.$ac_ext <<_ACEOF
4992
/* end confdefs.h. */
5002
rm -f conftest.$ac_objext conftest$ac_exeext
5003
if { (ac_try="$ac_link"
5005
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5006
*) ac_try_echo=$ac_try;;
5008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5009
(eval "$ac_link") 2>conftest.er1
5011
grep -v '^ *+' conftest.er1 >conftest.err
5013
cat conftest.err >&5
5014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
(exit $ac_status); } && {
5016
test -z "$ac_c_werror_flag" ||
5017
test ! -s conftest.err
5018
} && test -s conftest$ac_exeext &&
5019
$as_test_x conftest$ac_exeext; then
5020
am_cv_val_LC_MESSAGES=yes
5022
echo "$as_me: failed program was:" >&5
5023
sed 's/^/| /' conftest.$ac_ext >&5
5025
am_cv_val_LC_MESSAGES=no
5028
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5029
conftest$ac_exeext conftest.$ac_ext
5031
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5032
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
5033
if test $am_cv_val_LC_MESSAGES = yes; then
5035
cat >>confdefs.h <<\_ACEOF
5036
@%:@define HAVE_LC_MESSAGES 1
5044
gt_cv_have_gettext=no
5050
if test "${ac_cv_header_libintl_h+set}" = set; then
5051
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
5052
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5053
if test "${ac_cv_header_libintl_h+set}" = set; then
5054
echo $ECHO_N "(cached) $ECHO_C" >&6
5056
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5057
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5059
# Is the header compilable?
5060
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
5061
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
5062
cat >conftest.$ac_ext <<_ACEOF
5065
cat confdefs.h >>conftest.$ac_ext
5066
cat >>conftest.$ac_ext <<_ACEOF
5067
/* end confdefs.h. */
5068
$ac_includes_default
5069
@%:@include <libintl.h>
5071
rm -f conftest.$ac_objext
5072
if { (ac_try="$ac_compile"
5074
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5075
*) ac_try_echo=$ac_try;;
5077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5078
(eval "$ac_compile") 2>conftest.er1
5080
grep -v '^ *+' conftest.er1 >conftest.err
5082
cat conftest.err >&5
5083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084
(exit $ac_status); } && {
5085
test -z "$ac_c_werror_flag" ||
5086
test ! -s conftest.err
5087
} && test -s conftest.$ac_objext; then
5088
ac_header_compiler=yes
5090
echo "$as_me: failed program was:" >&5
5091
sed 's/^/| /' conftest.$ac_ext >&5
5093
ac_header_compiler=no
5096
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5097
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5098
echo "${ECHO_T}$ac_header_compiler" >&6; }
5100
# Is the header present?
5101
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
5102
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
5103
cat >conftest.$ac_ext <<_ACEOF
5106
cat confdefs.h >>conftest.$ac_ext
5107
cat >>conftest.$ac_ext <<_ACEOF
5108
/* end confdefs.h. */
5109
@%:@include <libintl.h>
5111
if { (ac_try="$ac_cpp conftest.$ac_ext"
5113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114
*) ac_try_echo=$ac_try;;
5116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5117
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5119
grep -v '^ *+' conftest.er1 >conftest.err
5121
cat conftest.err >&5
5122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123
(exit $ac_status); } >/dev/null && {
5124
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5125
test ! -s conftest.err
5127
ac_header_preproc=yes
5129
echo "$as_me: failed program was:" >&5
5130
sed 's/^/| /' conftest.$ac_ext >&5
5132
ac_header_preproc=no
5135
rm -f conftest.err conftest.$ac_ext
5136
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5137
echo "${ECHO_T}$ac_header_preproc" >&6; }
5139
# So? What about this header?
5140
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5142
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5143
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5144
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5145
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5146
ac_header_preproc=yes
5149
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5150
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5151
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5152
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5153
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5154
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5155
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5156
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5157
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5158
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5159
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5160
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5162
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
5163
@%:@@%:@ Report this to https://bugs.launchpad.net/python-schedule/ @%:@@%:@
5164
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
5166
) | sed "s/^/$as_me: WARNING: /" >&2
5169
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
5170
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5171
if test "${ac_cv_header_libintl_h+set}" = set; then
5172
echo $ECHO_N "(cached) $ECHO_C" >&6
5174
ac_cv_header_libintl_h=$ac_header_preproc
5176
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5177
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5180
if test $ac_cv_header_libintl_h = yes; then
5181
gt_cv_func_dgettext_libintl="no"
5182
libintl_extra_libs=""
5185
# First check in libc
5187
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5188
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
5189
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5190
echo $ECHO_N "(cached) $ECHO_C" >&6
5192
cat >conftest.$ac_ext <<_ACEOF
5195
cat confdefs.h >>conftest.$ac_ext
5196
cat >>conftest.$ac_ext <<_ACEOF
5197
/* end confdefs.h. */
5199
#include <libintl.h>
5204
return !ngettext ("","", 1)
5209
rm -f conftest.$ac_objext conftest$ac_exeext
5210
if { (ac_try="$ac_link"
5212
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213
*) ac_try_echo=$ac_try;;
5215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216
(eval "$ac_link") 2>conftest.er1
5218
grep -v '^ *+' conftest.er1 >conftest.err
5220
cat conftest.err >&5
5221
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222
(exit $ac_status); } && {
5223
test -z "$ac_c_werror_flag" ||
5224
test ! -s conftest.err
5225
} && test -s conftest$ac_exeext &&
5226
$as_test_x conftest$ac_exeext; then
5227
gt_cv_func_ngettext_libc=yes
5229
echo "$as_me: failed program was:" >&5
5230
sed 's/^/| /' conftest.$ac_ext >&5
5232
gt_cv_func_ngettext_libc=no
5235
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5236
conftest$ac_exeext conftest.$ac_ext
5239
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5240
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
5242
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5243
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5244
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
5245
if test "${gt_cv_func_dgettext_libc+set}" = set; then
5246
echo $ECHO_N "(cached) $ECHO_C" >&6
5248
cat >conftest.$ac_ext <<_ACEOF
5251
cat confdefs.h >>conftest.$ac_ext
5252
cat >>conftest.$ac_ext <<_ACEOF
5253
/* end confdefs.h. */
5255
#include <libintl.h>
5260
return !dgettext ("","")
5265
rm -f conftest.$ac_objext conftest$ac_exeext
5266
if { (ac_try="$ac_link"
5268
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269
*) ac_try_echo=$ac_try;;
5271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272
(eval "$ac_link") 2>conftest.er1
5274
grep -v '^ *+' conftest.er1 >conftest.err
5276
cat conftest.err >&5
5277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278
(exit $ac_status); } && {
5279
test -z "$ac_c_werror_flag" ||
5280
test ! -s conftest.err
5281
} && test -s conftest$ac_exeext &&
5282
$as_test_x conftest$ac_exeext; then
5283
gt_cv_func_dgettext_libc=yes
5285
echo "$as_me: failed program was:" >&5
5286
sed 's/^/| /' conftest.$ac_ext >&5
5288
gt_cv_func_dgettext_libc=no
5291
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5292
conftest$ac_exeext conftest.$ac_ext
5295
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5296
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
5299
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5301
for ac_func in bind_textdomain_codeset
5303
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5304
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5305
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5306
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5307
echo $ECHO_N "(cached) $ECHO_C" >&6
5309
cat >conftest.$ac_ext <<_ACEOF
5312
cat confdefs.h >>conftest.$ac_ext
5313
cat >>conftest.$ac_ext <<_ACEOF
5314
/* end confdefs.h. */
5315
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5316
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5317
#define $ac_func innocuous_$ac_func
5319
/* System header to define __stub macros and hopefully few prototypes,
5320
which can conflict with char $ac_func (); below.
5321
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5322
<limits.h> exists even on freestanding compilers. */
5325
# include <limits.h>
5327
# include <assert.h>
5332
/* Override any GCC internal prototype to avoid an error.
5333
Use char because int might match the return type of a GCC
5334
builtin and then its argument prototype would still apply. */
5339
/* The GNU C library defines this for functions which it implements
5340
to always fail with ENOSYS. Some functions are actually named
5341
something starting with __ and the normal name is an alias. */
5342
#if defined __stub_$ac_func || defined __stub___$ac_func
5354
rm -f conftest.$ac_objext conftest$ac_exeext
5355
if { (ac_try="$ac_link"
5357
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5358
*) ac_try_echo=$ac_try;;
5360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5361
(eval "$ac_link") 2>conftest.er1
5363
grep -v '^ *+' conftest.er1 >conftest.err
5365
cat conftest.err >&5
5366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
(exit $ac_status); } && {
5368
test -z "$ac_c_werror_flag" ||
5369
test ! -s conftest.err
5370
} && test -s conftest$ac_exeext &&
5371
$as_test_x conftest$ac_exeext; then
5372
eval "$as_ac_var=yes"
5374
echo "$as_me: failed program was:" >&5
5375
sed 's/^/| /' conftest.$ac_ext >&5
5377
eval "$as_ac_var=no"
5380
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5381
conftest$ac_exeext conftest.$ac_ext
5383
ac_res=`eval echo '${'$as_ac_var'}'`
5384
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5385
echo "${ECHO_T}$ac_res" >&6; }
5386
if test `eval echo '${'$as_ac_var'}'` = yes; then
5387
cat >>confdefs.h <<_ACEOF
5388
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5397
# If we don't have everything we want, check in libintl
5399
if test "$gt_cv_func_dgettext_libc" != "yes" \
5400
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5401
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5403
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5404
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
5405
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5406
echo $ECHO_N "(cached) $ECHO_C" >&6
5408
ac_check_lib_save_LIBS=$LIBS
5410
cat >conftest.$ac_ext <<_ACEOF
5413
cat confdefs.h >>conftest.$ac_ext
5414
cat >>conftest.$ac_ext <<_ACEOF
5415
/* end confdefs.h. */
5417
/* Override any GCC internal prototype to avoid an error.
5418
Use char because int might match the return type of a GCC
5419
builtin and then its argument prototype would still apply. */
5423
char bindtextdomain ();
5427
return bindtextdomain ();
5432
rm -f conftest.$ac_objext conftest$ac_exeext
5433
if { (ac_try="$ac_link"
5435
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5436
*) ac_try_echo=$ac_try;;
5438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5439
(eval "$ac_link") 2>conftest.er1
5441
grep -v '^ *+' conftest.er1 >conftest.err
5443
cat conftest.err >&5
5444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445
(exit $ac_status); } && {
5446
test -z "$ac_c_werror_flag" ||
5447
test ! -s conftest.err
5448
} && test -s conftest$ac_exeext &&
5449
$as_test_x conftest$ac_exeext; then
5450
ac_cv_lib_intl_bindtextdomain=yes
5452
echo "$as_me: failed program was:" >&5
5453
sed 's/^/| /' conftest.$ac_ext >&5
5455
ac_cv_lib_intl_bindtextdomain=no
5458
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5459
conftest$ac_exeext conftest.$ac_ext
5460
LIBS=$ac_check_lib_save_LIBS
5462
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5463
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
5464
if test $ac_cv_lib_intl_bindtextdomain = yes; then
5465
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5466
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5467
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5468
echo $ECHO_N "(cached) $ECHO_C" >&6
5470
ac_check_lib_save_LIBS=$LIBS
5472
cat >conftest.$ac_ext <<_ACEOF
5475
cat confdefs.h >>conftest.$ac_ext
5476
cat >>conftest.$ac_ext <<_ACEOF
5477
/* end confdefs.h. */
5479
/* Override any GCC internal prototype to avoid an error.
5480
Use char because int might match the return type of a GCC
5481
builtin and then its argument prototype would still apply. */
5494
rm -f conftest.$ac_objext conftest$ac_exeext
5495
if { (ac_try="$ac_link"
5497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5498
*) ac_try_echo=$ac_try;;
5500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501
(eval "$ac_link") 2>conftest.er1
5503
grep -v '^ *+' conftest.er1 >conftest.err
5505
cat conftest.err >&5
5506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507
(exit $ac_status); } && {
5508
test -z "$ac_c_werror_flag" ||
5509
test ! -s conftest.err
5510
} && test -s conftest$ac_exeext &&
5511
$as_test_x conftest$ac_exeext; then
5512
ac_cv_lib_intl_ngettext=yes
5514
echo "$as_me: failed program was:" >&5
5515
sed 's/^/| /' conftest.$ac_ext >&5
5517
ac_cv_lib_intl_ngettext=no
5520
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5521
conftest$ac_exeext conftest.$ac_ext
5522
LIBS=$ac_check_lib_save_LIBS
5524
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5525
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5526
if test $ac_cv_lib_intl_ngettext = yes; then
5527
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5528
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
5529
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5530
echo $ECHO_N "(cached) $ECHO_C" >&6
5532
ac_check_lib_save_LIBS=$LIBS
5534
cat >conftest.$ac_ext <<_ACEOF
5537
cat confdefs.h >>conftest.$ac_ext
5538
cat >>conftest.$ac_ext <<_ACEOF
5539
/* end confdefs.h. */
5541
/* Override any GCC internal prototype to avoid an error.
5542
Use char because int might match the return type of a GCC
5543
builtin and then its argument prototype would still apply. */
5556
rm -f conftest.$ac_objext conftest$ac_exeext
5557
if { (ac_try="$ac_link"
5559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5560
*) ac_try_echo=$ac_try;;
5562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5563
(eval "$ac_link") 2>conftest.er1
5565
grep -v '^ *+' conftest.er1 >conftest.err
5567
cat conftest.err >&5
5568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569
(exit $ac_status); } && {
5570
test -z "$ac_c_werror_flag" ||
5571
test ! -s conftest.err
5572
} && test -s conftest$ac_exeext &&
5573
$as_test_x conftest$ac_exeext; then
5574
ac_cv_lib_intl_dgettext=yes
5576
echo "$as_me: failed program was:" >&5
5577
sed 's/^/| /' conftest.$ac_ext >&5
5579
ac_cv_lib_intl_dgettext=no
5582
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5583
conftest$ac_exeext conftest.$ac_ext
5584
LIBS=$ac_check_lib_save_LIBS
5586
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5587
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
5588
if test $ac_cv_lib_intl_dgettext = yes; then
5589
gt_cv_func_dgettext_libintl=yes
5597
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5598
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5599
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
5600
{ echo "$as_me:$LINENO: result: " >&5
5601
echo "${ECHO_T}" >&6; }
5602
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5603
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5604
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5605
echo $ECHO_N "(cached) $ECHO_C" >&6
5607
ac_check_lib_save_LIBS=$LIBS
5608
LIBS="-lintl -liconv $LIBS"
5609
cat >conftest.$ac_ext <<_ACEOF
5612
cat confdefs.h >>conftest.$ac_ext
5613
cat >>conftest.$ac_ext <<_ACEOF
5614
/* end confdefs.h. */
5616
/* Override any GCC internal prototype to avoid an error.
5617
Use char because int might match the return type of a GCC
5618
builtin and then its argument prototype would still apply. */
5631
rm -f conftest.$ac_objext conftest$ac_exeext
5632
if { (ac_try="$ac_link"
5634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5635
*) ac_try_echo=$ac_try;;
5637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5638
(eval "$ac_link") 2>conftest.er1
5640
grep -v '^ *+' conftest.er1 >conftest.err
5642
cat conftest.err >&5
5643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644
(exit $ac_status); } && {
5645
test -z "$ac_c_werror_flag" ||
5646
test ! -s conftest.err
5647
} && test -s conftest$ac_exeext &&
5648
$as_test_x conftest$ac_exeext; then
5649
ac_cv_lib_intl_ngettext=yes
5651
echo "$as_me: failed program was:" >&5
5652
sed 's/^/| /' conftest.$ac_ext >&5
5654
ac_cv_lib_intl_ngettext=no
5657
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5658
conftest$ac_exeext conftest.$ac_ext
5659
LIBS=$ac_check_lib_save_LIBS
5661
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5662
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5663
if test $ac_cv_lib_intl_ngettext = yes; then
5664
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5665
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5666
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5667
echo $ECHO_N "(cached) $ECHO_C" >&6
5669
ac_check_lib_save_LIBS=$LIBS
5670
LIBS="-lintl -liconv $LIBS"
5671
cat >conftest.$ac_ext <<_ACEOF
5674
cat confdefs.h >>conftest.$ac_ext
5675
cat >>conftest.$ac_ext <<_ACEOF
5676
/* end confdefs.h. */
5678
/* Override any GCC internal prototype to avoid an error.
5679
Use char because int might match the return type of a GCC
5680
builtin and then its argument prototype would still apply. */
5688
return dcgettext ();
5693
rm -f conftest.$ac_objext conftest$ac_exeext
5694
if { (ac_try="$ac_link"
5696
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697
*) ac_try_echo=$ac_try;;
5699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700
(eval "$ac_link") 2>conftest.er1
5702
grep -v '^ *+' conftest.er1 >conftest.err
5704
cat conftest.err >&5
5705
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706
(exit $ac_status); } && {
5707
test -z "$ac_c_werror_flag" ||
5708
test ! -s conftest.err
5709
} && test -s conftest$ac_exeext &&
5710
$as_test_x conftest$ac_exeext; then
5711
ac_cv_lib_intl_dcgettext=yes
5713
echo "$as_me: failed program was:" >&5
5714
sed 's/^/| /' conftest.$ac_ext >&5
5716
ac_cv_lib_intl_dcgettext=no
5719
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5720
conftest$ac_exeext conftest.$ac_ext
5721
LIBS=$ac_check_lib_save_LIBS
5723
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5724
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5725
if test $ac_cv_lib_intl_dcgettext = yes; then
5726
gt_cv_func_dgettext_libintl=yes
5727
libintl_extra_libs=-liconv
5739
# If we found libintl, then check in it for bind_textdomain_codeset();
5740
# we'll prefer libc if neither have bind_textdomain_codeset(),
5741
# and both have dgettext and ngettext
5743
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5744
glib_save_LIBS="$LIBS"
5745
LIBS="$LIBS -lintl $libintl_extra_libs"
5746
unset ac_cv_func_bind_textdomain_codeset
5748
for ac_func in bind_textdomain_codeset
5750
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5751
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5752
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5753
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5754
echo $ECHO_N "(cached) $ECHO_C" >&6
5756
cat >conftest.$ac_ext <<_ACEOF
5759
cat confdefs.h >>conftest.$ac_ext
5760
cat >>conftest.$ac_ext <<_ACEOF
5761
/* end confdefs.h. */
5762
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5763
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5764
#define $ac_func innocuous_$ac_func
5766
/* System header to define __stub macros and hopefully few prototypes,
5767
which can conflict with char $ac_func (); below.
5768
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5769
<limits.h> exists even on freestanding compilers. */
5772
# include <limits.h>
5774
# include <assert.h>
5779
/* Override any GCC internal prototype to avoid an error.
5780
Use char because int might match the return type of a GCC
5781
builtin and then its argument prototype would still apply. */
5786
/* The GNU C library defines this for functions which it implements
5787
to always fail with ENOSYS. Some functions are actually named
5788
something starting with __ and the normal name is an alias. */
5789
#if defined __stub_$ac_func || defined __stub___$ac_func
5801
rm -f conftest.$ac_objext conftest$ac_exeext
5802
if { (ac_try="$ac_link"
5804
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5805
*) ac_try_echo=$ac_try;;
5807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808
(eval "$ac_link") 2>conftest.er1
5810
grep -v '^ *+' conftest.er1 >conftest.err
5812
cat conftest.err >&5
5813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
(exit $ac_status); } && {
5815
test -z "$ac_c_werror_flag" ||
5816
test ! -s conftest.err
5817
} && test -s conftest$ac_exeext &&
5818
$as_test_x conftest$ac_exeext; then
5819
eval "$as_ac_var=yes"
5821
echo "$as_me: failed program was:" >&5
5822
sed 's/^/| /' conftest.$ac_ext >&5
5824
eval "$as_ac_var=no"
5827
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5828
conftest$ac_exeext conftest.$ac_ext
5830
ac_res=`eval echo '${'$as_ac_var'}'`
5831
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5832
echo "${ECHO_T}$ac_res" >&6; }
5833
if test `eval echo '${'$as_ac_var'}'` = yes; then
5834
cat >>confdefs.h <<_ACEOF
5835
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5841
LIBS="$glib_save_LIBS"
5843
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5844
gt_cv_func_dgettext_libc=no
5846
if test "$gt_cv_func_dgettext_libc" = "yes" \
5847
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5848
gt_cv_func_dgettext_libintl=no
5854
if test "$gt_cv_func_dgettext_libc" = "yes" \
5855
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5856
gt_cv_have_gettext=yes
5859
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5860
INTLLIBS="-lintl $libintl_extra_libs"
5863
if test "$gt_cv_have_gettext" = "yes"; then
5865
cat >>confdefs.h <<\_ACEOF
5866
@%:@define HAVE_GETTEXT 1
5869
# Extract the first word of "msgfmt", so it can be a program name with args.
5870
set dummy msgfmt; ac_word=$2
5871
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5872
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873
if test "${ac_cv_path_MSGFMT+set}" = set; then
5874
echo $ECHO_N "(cached) $ECHO_C" >&6
5878
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5881
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5882
for ac_dir in $PATH; do
5883
test -z "$ac_dir" && ac_dir=.
5884
if test -f $ac_dir/$ac_word; then
5885
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5886
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5892
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5896
MSGFMT="$ac_cv_path_MSGFMT"
5897
if test "$MSGFMT" != "no"; then
5898
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
5899
echo "${ECHO_T}$MSGFMT" >&6; }
5901
{ echo "$as_me:$LINENO: result: no" >&5
5902
echo "${ECHO_T}no" >&6; }
5904
if test "$MSGFMT" != "no"; then
5905
glib_save_LIBS="$LIBS"
5906
LIBS="$LIBS $INTLLIBS"
5908
for ac_func in dcgettext
5910
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5911
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5912
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5913
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5914
echo $ECHO_N "(cached) $ECHO_C" >&6
5916
cat >conftest.$ac_ext <<_ACEOF
5919
cat confdefs.h >>conftest.$ac_ext
5920
cat >>conftest.$ac_ext <<_ACEOF
5921
/* end confdefs.h. */
5922
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5923
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5924
#define $ac_func innocuous_$ac_func
5926
/* System header to define __stub macros and hopefully few prototypes,
5927
which can conflict with char $ac_func (); below.
5928
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5929
<limits.h> exists even on freestanding compilers. */
5932
# include <limits.h>
5934
# include <assert.h>
5939
/* Override any GCC internal prototype to avoid an error.
5940
Use char because int might match the return type of a GCC
5941
builtin and then its argument prototype would still apply. */
5946
/* The GNU C library defines this for functions which it implements
5947
to always fail with ENOSYS. Some functions are actually named
5948
something starting with __ and the normal name is an alias. */
5949
#if defined __stub_$ac_func || defined __stub___$ac_func
5961
rm -f conftest.$ac_objext conftest$ac_exeext
5962
if { (ac_try="$ac_link"
5964
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5965
*) ac_try_echo=$ac_try;;
5967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5968
(eval "$ac_link") 2>conftest.er1
5970
grep -v '^ *+' conftest.er1 >conftest.err
5972
cat conftest.err >&5
5973
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974
(exit $ac_status); } && {
5975
test -z "$ac_c_werror_flag" ||
5976
test ! -s conftest.err
5977
} && test -s conftest$ac_exeext &&
5978
$as_test_x conftest$ac_exeext; then
5979
eval "$as_ac_var=yes"
5981
echo "$as_me: failed program was:" >&5
5982
sed 's/^/| /' conftest.$ac_ext >&5
5984
eval "$as_ac_var=no"
5987
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5988
conftest$ac_exeext conftest.$ac_ext
5990
ac_res=`eval echo '${'$as_ac_var'}'`
5991
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5992
echo "${ECHO_T}$ac_res" >&6; }
5993
if test `eval echo '${'$as_ac_var'}'` = yes; then
5994
cat >>confdefs.h <<_ACEOF
5995
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6002
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6003
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
6004
cat >conftest.foo <<_ACEOF
6008
"Content-Type: text/plain; charset=UTF-8\n"
6009
"Project-Id-Version: test 1.0\n"
6010
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6011
"Last-Translator: test <foo@bar.xx>\n"
6012
"Language-Team: C <LL@li.org>\n"
6013
"MIME-Version: 1.0\n"
6014
"Content-Transfer-Encoding: 8bit\n"
6017
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6018
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021
(exit $ac_status); }; then
6022
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
6023
echo "${ECHO_T}yes" >&6; }
6024
else { echo "$as_me:$LINENO: result: no" >&5
6025
echo "${ECHO_T}no" >&6; }
6026
echo "$as_me: failed input was:" >&5
6027
sed 's/^/| /' conftest.foo >&5
6030
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6031
set dummy gmsgfmt; ac_word=$2
6032
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6033
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6034
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6035
echo $ECHO_N "(cached) $ECHO_C" >&6
6039
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6042
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046
test -z "$as_dir" && as_dir=.
6047
for ac_exec_ext in '' $ac_executable_extensions; do
6048
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6050
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6057
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6061
GMSGFMT=$ac_cv_path_GMSGFMT
6062
if test -n "$GMSGFMT"; then
6063
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6064
echo "${ECHO_T}$GMSGFMT" >&6; }
6066
{ echo "$as_me:$LINENO: result: no" >&5
6067
echo "${ECHO_T}no" >&6; }
6071
# Extract the first word of "xgettext", so it can be a program name with args.
6072
set dummy xgettext; ac_word=$2
6073
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6075
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6076
echo $ECHO_N "(cached) $ECHO_C" >&6
6080
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6083
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6084
for ac_dir in $PATH; do
6085
test -z "$ac_dir" && ac_dir=.
6086
if test -f $ac_dir/$ac_word; then
6087
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6088
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6094
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6098
XGETTEXT="$ac_cv_path_XGETTEXT"
6099
if test "$XGETTEXT" != ":"; then
6100
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6101
echo "${ECHO_T}$XGETTEXT" >&6; }
6103
{ echo "$as_me:$LINENO: result: no" >&5
6104
echo "${ECHO_T}no" >&6; }
6107
cat >conftest.$ac_ext <<_ACEOF
6110
cat confdefs.h >>conftest.$ac_ext
6111
cat >>conftest.$ac_ext <<_ACEOF
6112
/* end confdefs.h. */
6117
extern int _nl_msg_cat_cntr;
6118
return _nl_msg_cat_cntr
6123
rm -f conftest.$ac_objext conftest$ac_exeext
6124
if { (ac_try="$ac_link"
6126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6127
*) ac_try_echo=$ac_try;;
6129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6130
(eval "$ac_link") 2>conftest.er1
6132
grep -v '^ *+' conftest.er1 >conftest.err
6134
cat conftest.err >&5
6135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136
(exit $ac_status); } && {
6137
test -z "$ac_c_werror_flag" ||
6138
test ! -s conftest.err
6139
} && test -s conftest$ac_exeext &&
6140
$as_test_x conftest$ac_exeext; then
6144
echo "$as_me: failed program was:" >&5
6145
sed 's/^/| /' conftest.$ac_ext >&5
6149
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6150
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6151
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6152
echo $ECHO_N "(cached) $ECHO_C" >&6
6154
cat >conftest.$ac_ext <<_ACEOF
6157
cat confdefs.h >>conftest.$ac_ext
6158
cat >>conftest.$ac_ext <<_ACEOF
6159
/* end confdefs.h. */
6160
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6161
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6162
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6164
/* System header to define __stub macros and hopefully few prototypes,
6165
which can conflict with char bind_textdomain_codeset (); below.
6166
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6167
<limits.h> exists even on freestanding compilers. */
6170
# include <limits.h>
6172
# include <assert.h>
6175
#undef bind_textdomain_codeset
6177
/* Override any GCC internal prototype to avoid an error.
6178
Use char because int might match the return type of a GCC
6179
builtin and then its argument prototype would still apply. */
6183
char bind_textdomain_codeset ();
6184
/* The GNU C library defines this for functions which it implements
6185
to always fail with ENOSYS. Some functions are actually named
6186
something starting with __ and the normal name is an alias. */
6187
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6194
return bind_textdomain_codeset ();
6199
rm -f conftest.$ac_objext conftest$ac_exeext
6200
if { (ac_try="$ac_link"
6202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6203
*) ac_try_echo=$ac_try;;
6205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6206
(eval "$ac_link") 2>conftest.er1
6208
grep -v '^ *+' conftest.er1 >conftest.err
6210
cat conftest.err >&5
6211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212
(exit $ac_status); } && {
6213
test -z "$ac_c_werror_flag" ||
6214
test ! -s conftest.err
6215
} && test -s conftest$ac_exeext &&
6216
$as_test_x conftest$ac_exeext; then
6217
ac_cv_func_bind_textdomain_codeset=yes
6219
echo "$as_me: failed program was:" >&5
6220
sed 's/^/| /' conftest.$ac_ext >&5
6222
ac_cv_func_bind_textdomain_codeset=no
6225
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6226
conftest$ac_exeext conftest.$ac_ext
6228
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6229
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6230
if test $ac_cv_func_bind_textdomain_codeset = yes; then
6246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6247
conftest$ac_exeext conftest.$ac_ext
6248
LIBS="$glib_save_LIBS"
6251
gt_cv_have_gettext=no
6259
if test "$gt_cv_have_gettext" = "yes" ; then
6261
cat >>confdefs.h <<\_ACEOF
6262
@%:@define ENABLE_NLS 1
6267
if test "$XGETTEXT" != ":"; then
6268
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6271
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6272
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
6277
# We need to process the po/ directory.
6280
ac_config_commands="$ac_config_commands default-1"
6283
for lang in $ALL_LINGUAS; do
6284
GMOFILES="$GMOFILES $lang.gmo"
6285
POFILES="$POFILES $lang.po"
6300
if test "$gt_cv_have_gettext" = "yes"; then
6301
if test "x$ALL_LINGUAS" = "x"; then
6304
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6305
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
6307
for presentlang in $ALL_LINGUAS; do
6309
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6310
desiredlanguages="$LINGUAS"
6312
desiredlanguages="$ALL_LINGUAS"
6314
for desiredlang in $desiredlanguages; do
6315
# Use the presentlang catalog if desiredlang is
6316
# a. equal to presentlang, or
6317
# b. a variant of presentlang (because in this case,
6318
# presentlang can be used as a fallback for messages
6319
# which are not translated in the desiredlang catalog).
6320
case "$desiredlang" in
6321
"$presentlang"*) useit=yes;;
6324
if test $useit = yes; then
6325
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6328
LINGUAS=$NEW_LINGUAS
6329
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
6330
echo "${ECHO_T}$LINGUAS" >&6; }
6333
if test -n "$LINGUAS"; then
6334
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6339
if test -n "$ac_aux_dir"; then
6340
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6342
if test -z "$MKINSTALLDIRS"; then
6343
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6347
test -d po || mkdir po
6348
if test "x$srcdir" != "x."; then
6349
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6350
posrcprefix="$srcdir/"
6352
posrcprefix="../$srcdir/"
6358
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6359
< $srcdir/po/POTFILES.in > po/POTFILES
6362
case "$am__api_version" in
6364
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
6365
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
6366
{ (exit 1); exit 1; }; }
6373
{ echo "$as_me:$LINENO: checking for intltool >= " >&5
6374
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
6376
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6377
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
6378
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
6380
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
6381
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
6382
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6383
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
6384
echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
6385
{ (exit 1); exit 1; }; }
6388
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6389
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6390
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6391
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6392
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6393
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6394
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6395
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6396
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6397
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6398
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6399
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6400
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6401
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6402
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6403
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6404
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6405
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6406
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6428
# Use the tools built into the package, not the ones that are installed.
6429
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
6431
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
6433
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
6436
# Extract the first word of "perl", so it can be a program name with args.
6437
set dummy perl; ac_word=$2
6438
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6439
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6440
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
6441
echo $ECHO_N "(cached) $ECHO_C" >&6
6443
case $INTLTOOL_PERL in
6445
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6448
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452
test -z "$as_dir" && as_dir=.
6453
for ac_exec_ext in '' $ac_executable_extensions; do
6454
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6456
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6466
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6467
if test -n "$INTLTOOL_PERL"; then
6468
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
6469
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
6471
{ echo "$as_me:$LINENO: result: no" >&5
6472
echo "${ECHO_T}no" >&6; }
6476
if test -z "$INTLTOOL_PERL"; then
6477
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
6478
echo "$as_me: error: perl not found; required for intltool" >&2;}
6479
{ (exit 1); exit 1; }; }
6481
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
6482
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
6483
echo "$as_me: error: perl 5.x required for intltool" >&2;}
6484
{ (exit 1); exit 1; }; }
6486
if test "x" != "xno-xml"; then
6487
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
6488
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
6489
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6490
{ echo "$as_me:$LINENO: result: ok" >&5
6491
echo "${ECHO_T}ok" >&6; }
6493
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
6494
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
6495
{ (exit 1); exit 1; }; }
6499
# Substitute ALL_LINGUAS so we can use it in po/Makefile
6502
# Set DATADIRNAME correctly if it is not set yet
6503
# (copied from glib-gettext.m4)
6504
if test -z "$DATADIRNAME"; then
6505
cat >conftest.$ac_ext <<_ACEOF
6508
cat confdefs.h >>conftest.$ac_ext
6509
cat >>conftest.$ac_ext <<_ACEOF
6510
/* end confdefs.h. */
6515
extern int _nl_msg_cat_cntr;
6516
return _nl_msg_cat_cntr
6521
rm -f conftest.$ac_objext conftest$ac_exeext
6522
if { (ac_try="$ac_link"
6524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6525
*) ac_try_echo=$ac_try;;
6527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528
(eval "$ac_link") 2>conftest.er1
6530
grep -v '^ *+' conftest.er1 >conftest.err
6532
cat conftest.err >&5
6533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534
(exit $ac_status); } && {
6535
test -z "$ac_c_werror_flag" ||
6536
test ! -s conftest.err
6537
} && test -s conftest$ac_exeext &&
6538
$as_test_x conftest$ac_exeext; then
6541
echo "$as_me: failed program was:" >&5
6542
sed 's/^/| /' conftest.$ac_ext >&5
6546
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6547
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6548
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6549
echo $ECHO_N "(cached) $ECHO_C" >&6
6551
cat >conftest.$ac_ext <<_ACEOF
6554
cat confdefs.h >>conftest.$ac_ext
6555
cat >>conftest.$ac_ext <<_ACEOF
6556
/* end confdefs.h. */
6557
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6558
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6559
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6561
/* System header to define __stub macros and hopefully few prototypes,
6562
which can conflict with char bind_textdomain_codeset (); below.
6563
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6564
<limits.h> exists even on freestanding compilers. */
6567
# include <limits.h>
6569
# include <assert.h>
6572
#undef bind_textdomain_codeset
6574
/* Override any GCC internal prototype to avoid an error.
6575
Use char because int might match the return type of a GCC
6576
builtin and then its argument prototype would still apply. */
6580
char bind_textdomain_codeset ();
6581
/* The GNU C library defines this for functions which it implements
6582
to always fail with ENOSYS. Some functions are actually named
6583
something starting with __ and the normal name is an alias. */
6584
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6591
return bind_textdomain_codeset ();
6596
rm -f conftest.$ac_objext conftest$ac_exeext
6597
if { (ac_try="$ac_link"
6599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6600
*) ac_try_echo=$ac_try;;
6602
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6603
(eval "$ac_link") 2>conftest.er1
6605
grep -v '^ *+' conftest.er1 >conftest.err
6607
cat conftest.err >&5
6608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609
(exit $ac_status); } && {
6610
test -z "$ac_c_werror_flag" ||
6611
test ! -s conftest.err
6612
} && test -s conftest$ac_exeext &&
6613
$as_test_x conftest$ac_exeext; then
6614
ac_cv_func_bind_textdomain_codeset=yes
6616
echo "$as_me: failed program was:" >&5
6617
sed 's/^/| /' conftest.$ac_ext >&5
6619
ac_cv_func_bind_textdomain_codeset=no
6622
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6623
conftest$ac_exeext conftest.$ac_ext
6625
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6626
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6627
if test $ac_cv_func_bind_textdomain_codeset = yes; then
6640
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6641
conftest$ac_exeext conftest.$ac_ext
6648
ac_config_commands="$ac_config_commands intltool"
6653
ac_config_files="$ac_config_files po/Makefile.in Makefile src/Makefile src/schedule/config.py src/schedule/Makefile"
6655
cat >confcache <<\_ACEOF
6656
# This file is a shell script that caches the results of configure
6657
# tests run on this system so they can be shared between configure
6658
# scripts and configure runs, see configure's option --config-cache.
6659
# It is not useful on other systems. If it contains results you don't
6660
# want to keep, you may remove or edit it.
6662
# config.status only pays attention to the cache file if you give it
6663
# the --recheck option to rerun configure.
6665
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6666
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6671
# The following way of writing the cache mishandles newlines in values,
6672
# but we know of no workaround that is simple, portable, and efficient.
6673
# So, we kill variables containing newlines.
6674
# Ultrix sh set writes to stderr and can't be redirected directly,
6675
# and sets the high bit in the cache file unless we assign to the vars.
6677
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6678
eval ac_val=\$$ac_var
6682
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6683
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6686
_ | IFS | as_nl) ;; #(
6687
*) $as_unset $ac_var ;;
6693
case $as_nl`(ac_space=' '; set) 2>&1` in #(
6694
*${as_nl}ac_space=\ *)
6695
# `set' does not quote correctly, so add quotes (double-quote
6696
# substitution turns \\\\ into \\, and sed turns \\ into \).
6699
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6702
# `set' quotes correctly as required by POSIX, so do not add quotes.
6703
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6712
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6714
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6716
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6717
if test -w "$cache_file"; then
6718
test "x$cache_file" != "x/dev/null" &&
6719
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
6720
echo "$as_me: updating cache $cache_file" >&6;}
6721
cat confcache >$cache_file
6723
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6724
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6729
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6730
# Let make expand exec_prefix.
6731
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6733
# Transform confdefs.h into DEFS.
6734
# Protect against shell expansion while executing Makefile rules.
6735
# Protect against Makefile macro expansion.
6737
# If the first sed substitution is executed (which looks for macros that
6738
# take arguments), then branch to the quote section. Otherwise,
6739
# look for a macro that doesn't take arguments.
6743
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6745
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6749
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6762
DEFS=`sed -n "$ac_script" confdefs.h`
6767
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
6768
# 1. Remove the extension, and $U if already installed.
6769
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6770
ac_i=`echo "$ac_i" | sed "$ac_script"`
6771
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6772
# will be set to the directory where LIBOBJS objects are built.
6773
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6774
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6776
LIB@&t@OBJS=$ac_libobjs
6778
LTLIBOBJS=$ac_ltlibobjs
6781
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
6782
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
6783
Usually this means the macro was only invoked conditionally." >&5
6784
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
6785
Usually this means the macro was only invoked conditionally." >&2;}
6786
{ (exit 1); exit 1; }; }
6788
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
6789
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
6790
Usually this means the macro was only invoked conditionally." >&5
6791
echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
6792
Usually this means the macro was only invoked conditionally." >&2;}
6793
{ (exit 1); exit 1; }; }
6795
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6796
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6797
Usually this means the macro was only invoked conditionally." >&5
6798
echo "$as_me: error: conditional \"AMDEP\" was never defined.
6799
Usually this means the macro was only invoked conditionally." >&2;}
6800
{ (exit 1); exit 1; }; }
6802
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6803
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6804
Usually this means the macro was only invoked conditionally." >&5
6805
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6806
Usually this means the macro was only invoked conditionally." >&2;}
6807
{ (exit 1); exit 1; }; }
6810
ac_config_commands="$ac_config_commands po/stamp-it"
6814
: ${CONFIG_STATUS=./config.status}
6815
ac_clean_files_save=$ac_clean_files
6816
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6817
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6818
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6819
cat >$CONFIG_STATUS <<_ACEOF
6821
# Generated by $as_me.
6822
# Run this file to recreate the current configuration.
6823
# Compiler output produced by configure, useful for debugging
6824
# configure, is in config.log if it exists.
6829
SHELL=\${CONFIG_SHELL-$SHELL}
6832
cat >>$CONFIG_STATUS <<\_ACEOF
6833
## --------------------- ##
6834
## M4sh Initialization. ##
6835
## --------------------- ##
6837
# Be more Bourne compatible
6838
DUALCASE=1; export DUALCASE # for MKS sh
6839
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6842
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6843
# is contrary to our usage. Disable this feature.
6844
alias -g '${1+"$@"}'='"$@"'
6845
setopt NO_GLOB_SUBST
6847
case `(set -o) 2>/dev/null` in
6848
*posix*) set -o posix ;;
6857
# Avoid depending upon Character Ranges.
6858
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6859
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6860
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6861
as_cr_digits='0123456789'
6862
as_cr_alnum=$as_cr_Letters$as_cr_digits
6864
# The user is always right.
6865
if test "${PATH_SEPARATOR+set}" != set; then
6866
echo "#! /bin/sh" >conf$$.sh
6867
echo "exit 0" >>conf$$.sh
6869
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6877
# Support unset when possible.
6878
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6886
# We need space, tab and new line, in precisely that order. Quoting is
6887
# there to prevent editors from complaining about space-tab.
6888
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6889
# splitting by setting IFS to empty value.)
6894
# Find who we are. Look in the path if we contain no directory separator.
6896
*[\\/]* ) as_myself=$0 ;;
6897
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901
test -z "$as_dir" && as_dir=.
6902
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6908
# We did not find ourselves, most probably we were run as `sh COMMAND'
6909
# in which case we are not to be found in the path.
6910
if test "x$as_myself" = x; then
6913
if test ! -f "$as_myself"; then
6914
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6915
{ (exit 1); exit 1; }
6918
# Work around bugs in pre-3.0 UWIN ksh.
6919
for as_var in ENV MAIL MAILPATH
6920
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6928
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6929
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6930
LC_TELEPHONE LC_TIME
6932
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6933
eval $as_var=C; export $as_var
6935
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6939
# Required to use basename.
6940
if expr a : '\(a\)' >/dev/null 2>&1 &&
6941
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6947
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6948
as_basename=basename
6954
# Name of the executable.
6955
as_me=`$as_basename -- "$0" ||
6956
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6957
X"$0" : 'X\(//\)$' \| \
6958
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6960
sed '/^.*\/\([^/][^/]*\)\/*$/{
6981
test "x$as_lineno_1" != "x$as_lineno_2" &&
6982
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6984
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6985
# uniformly replaced by the line number. The first 'sed' inserts a
6986
# line-number line after each line using $LINENO; the second 'sed'
6987
# does the real work. The second script uses 'N' to pair each
6988
# line-number line with the line containing $LINENO, and appends
6989
# trailing '-' during substitution so that $LINENO is not a special
6991
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6992
# scripts with optimization help from Paolo Bonzini. Blame Lee
6993
# E. McMahon (1931-1989) for sed's syntax. :-)
7005
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7009
chmod +x "$as_me.lineno" ||
7010
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7011
{ (exit 1); exit 1; }; }
7013
# Don't try to exec as it changes $[0], causing all sort of problems
7014
# (the dirname of $[0] is not the place where we might find the
7015
# original and so on. Autoconf is especially sensitive to this).
7017
# Exit status is that of the last command.
7022
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7028
ECHO_C= ECHO_N= ECHO_T=
7031
case `echo 'x\c'` in
7032
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7039
if expr a : '\(a\)' >/dev/null 2>&1 &&
7040
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7046
rm -f conf$$ conf$$.exe conf$$.file
7047
if test -d conf$$.dir; then
7048
rm -f conf$$.dir/conf$$.file
7054
if ln -s conf$$.file conf$$ 2>/dev/null; then
7056
# ... but there are two gotchas:
7057
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7058
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7059
# In both cases, we have to default to `cp -p'.
7060
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7062
elif ln conf$$.file conf$$ 2>/dev/null; then
7067
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7068
rmdir conf$$.dir 2>/dev/null
7070
if mkdir -p . 2>/dev/null; then
7073
test -d ./-p && rmdir ./-p
7077
if test -x / >/dev/null 2>&1; then
7080
if ls -dL / >/dev/null 2>&1; then
7087
if test -d "$1"; then
7093
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7094
???[sx]*):;;*)false;;esac;fi
7098
as_executable_p=$as_test_x
7100
# Sed expression to map a string onto a valid CPP name.
7101
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7103
# Sed expression to map a string onto a valid variable name.
7104
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7109
# Save the log message, to keep $[0] and so on meaningful, and to
7110
# report actual input values of CONFIG_FILES etc. instead of their
7111
# values after options handling.
7113
This file was extended by python-schedule $as_me 1.0, which was
7114
generated by GNU Autoconf 2.61. Invocation command line was
7116
CONFIG_FILES = $CONFIG_FILES
7117
CONFIG_HEADERS = $CONFIG_HEADERS
7118
CONFIG_LINKS = $CONFIG_LINKS
7119
CONFIG_COMMANDS = $CONFIG_COMMANDS
7122
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7127
cat >>$CONFIG_STATUS <<_ACEOF
7128
# Files that config.status was made for.
7129
config_files="$ac_config_files"
7130
config_commands="$ac_config_commands"
7134
cat >>$CONFIG_STATUS <<\_ACEOF
7136
\`$as_me' instantiates files from templates according to the
7137
current configuration.
7139
Usage: $0 [OPTIONS] [FILE]...
7141
-h, --help print this help, then exit
7142
-V, --version print version number and configuration settings, then exit
7143
-q, --quiet do not print progress messages
7144
-d, --debug don't remove temporary files
7145
--recheck update $as_me by reconfiguring in the same conditions
7146
--file=FILE[:TEMPLATE]
7147
instantiate the configuration file FILE
7149
Configuration files:
7152
Configuration commands:
7155
Report bugs to <bug-autoconf@gnu.org>."
7158
cat >>$CONFIG_STATUS <<_ACEOF
7160
python-schedule config.status 1.0
7161
configured by $0, generated by GNU Autoconf 2.61,
7162
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7164
Copyright (C) 2006 Free Software Foundation, Inc.
7165
This config.status script is free software; the Free Software Foundation
7166
gives unlimited permission to copy, distribute and modify it."
7174
cat >>$CONFIG_STATUS <<\_ACEOF
7175
# If no file are specified by the user, then we need to provide default
7176
# value. By we need to know if files were specified by the user.
7182
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7183
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7194
# Handling of the options.
7195
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7197
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7198
echo "$ac_cs_version"; exit ;;
7199
--debug | --debu | --deb | --de | --d | -d )
7201
--file | --fil | --fi | --f )
7203
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7204
ac_need_defaults=false;;
7205
--he | --h | --help | --hel | -h )
7206
echo "$ac_cs_usage"; exit ;;
7207
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7208
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7212
-*) { echo "$as_me: error: unrecognized option: $1
7213
Try \`$0 --help' for more information." >&2
7214
{ (exit 1); exit 1; }; } ;;
7216
*) ac_config_targets="$ac_config_targets $1"
7217
ac_need_defaults=false ;;
7223
ac_configure_extra_args=
7225
if $ac_cs_silent; then
7227
ac_configure_extra_args="$ac_configure_extra_args --silent"
7231
cat >>$CONFIG_STATUS <<_ACEOF
7232
if \$ac_cs_recheck; then
7233
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7236
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7240
cat >>$CONFIG_STATUS <<\_ACEOF
7244
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
7245
@%:@@%:@ Running $as_me. @%:@@%:@
7251
cat >>$CONFIG_STATUS <<_ACEOF
7255
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7257
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
7258
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
7259
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
7263
cat >>$CONFIG_STATUS <<\_ACEOF
7265
# Handling of arguments.
7266
for ac_config_target in $ac_config_targets
7268
case $ac_config_target in
7269
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7270
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7271
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
7272
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7273
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7274
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7275
"src/schedule/config.py") CONFIG_FILES="$CONFIG_FILES src/schedule/config.py" ;;
7276
"src/schedule/Makefile") CONFIG_FILES="$CONFIG_FILES src/schedule/Makefile" ;;
7277
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7279
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7280
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7281
{ (exit 1); exit 1; }; };;
7286
# If the user did not use the arguments to specify the items to instantiate,
7287
# then the envvar interface is used. Set only those that are not.
7288
# We use the long form for the default assignment because of an extremely
7289
# bizarre bug on SunOS 4.1.3.
7290
if $ac_need_defaults; then
7291
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7292
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7295
# Have a temporary directory for convenience. Make it in the build tree
7296
# simply because there is no reason against having it here, and in addition,
7297
# creating and moving files from /tmp can sometimes cause problems.
7298
# Hook for its removal unless debugging.
7299
# Note that there is a small window in which the directory will not be cleaned:
7300
# after its creation but before its name has been assigned to `$tmp'.
7304
trap 'exit_status=$?
7305
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7307
trap '{ (exit 1); exit 1; }' 1 2 13 15
7309
# Create a (secure) tmp directory for tmp files.
7312
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7313
test -n "$tmp" && test -d "$tmp"
7316
tmp=./conf$$-$RANDOM
7317
(umask 077 && mkdir "$tmp")
7320
echo "$me: cannot create a temporary directory in ." >&2
7321
{ (exit 1); exit 1; }
7325
# Set up the sed scripts for CONFIG_FILES section.
7328
# No need to generate the scripts if there are no CONFIG_FILES.
7329
# This happens for instance when ./config.status config.h
7330
if test -n "$CONFIG_FILES"; then
7337
for ac_last_try in false false false false false :; do
7338
cat >conf$$subs.sed <<_ACEOF
7339
SHELL!$SHELL$ac_delim
7340
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7341
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7342
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7343
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7344
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7345
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7346
exec_prefix!$exec_prefix$ac_delim
7347
prefix!$prefix$ac_delim
7348
program_transform_name!$program_transform_name$ac_delim
7349
bindir!$bindir$ac_delim
7350
sbindir!$sbindir$ac_delim
7351
libexecdir!$libexecdir$ac_delim
7352
datarootdir!$datarootdir$ac_delim
7353
datadir!$datadir$ac_delim
7354
sysconfdir!$sysconfdir$ac_delim
7355
sharedstatedir!$sharedstatedir$ac_delim
7356
localstatedir!$localstatedir$ac_delim
7357
includedir!$includedir$ac_delim
7358
oldincludedir!$oldincludedir$ac_delim
7359
docdir!$docdir$ac_delim
7360
infodir!$infodir$ac_delim
7361
htmldir!$htmldir$ac_delim
7362
dvidir!$dvidir$ac_delim
7363
pdfdir!$pdfdir$ac_delim
7364
psdir!$psdir$ac_delim
7365
libdir!$libdir$ac_delim
7366
localedir!$localedir$ac_delim
7367
mandir!$mandir$ac_delim
7369
ECHO_C!$ECHO_C$ac_delim
7370
ECHO_N!$ECHO_N$ac_delim
7371
ECHO_T!$ECHO_T$ac_delim
7373
build_alias!$build_alias$ac_delim
7374
host_alias!$host_alias$ac_delim
7375
target_alias!$target_alias$ac_delim
7376
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7377
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7378
INSTALL_DATA!$INSTALL_DATA$ac_delim
7379
am__isrc!$am__isrc$ac_delim
7380
CYGPATH_W!$CYGPATH_W$ac_delim
7381
PACKAGE!$PACKAGE$ac_delim
7382
VERSION!$VERSION$ac_delim
7383
ACLOCAL!$ACLOCAL$ac_delim
7384
AUTOCONF!$AUTOCONF$ac_delim
7385
AUTOMAKE!$AUTOMAKE$ac_delim
7386
AUTOHEADER!$AUTOHEADER$ac_delim
7387
MAKEINFO!$MAKEINFO$ac_delim
7388
install_sh!$install_sh$ac_delim
7389
STRIP!$STRIP$ac_delim
7390
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7391
mkdir_p!$mkdir_p$ac_delim
7393
SET_MAKE!$SET_MAKE$ac_delim
7394
am__leading_dot!$am__leading_dot$ac_delim
7395
AMTAR!$AMTAR$ac_delim
7396
am__tar!$am__tar$ac_delim
7397
am__untar!$am__untar$ac_delim
7398
PYTHON!$PYTHON$ac_delim
7399
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
7400
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
7401
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
7402
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
7403
pythondir!$pythondir$ac_delim
7404
pkgpythondir!$pkgpythondir$ac_delim
7405
pyexecdir!$pyexecdir$ac_delim
7406
pkgpyexecdir!$pkgpyexecdir$ac_delim
7407
PKGCONFIG!$PKGCONFIG$ac_delim
7408
PYTHONPATH!$PYTHONPATH$ac_delim
7409
CRONTAB_CONFIG!$CRONTAB_CONFIG$ac_delim
7410
AT_CONFIG!$AT_CONFIG$ac_delim
7411
ATQ_CONFIG!$ATQ_CONFIG$ac_delim
7412
ATRM_CONFIG!$ATRM_CONFIG$ac_delim
7413
BATCH_CONFIG!$BATCH_CONFIG$ac_delim
7414
PYTHON_CONFIG!$PYTHON_CONFIG$ac_delim
7415
SU_CONFIG!$SU_CONFIG$ac_delim
7416
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
7417
PKG_CONFIG!$PKG_CONFIG$ac_delim
7418
HELP_DIR!$HELP_DIR$ac_delim
7419
OMF_DIR!$OMF_DIR$ac_delim
7420
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
7421
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
7422
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
7423
HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
7424
HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
7426
CFLAGS!$CFLAGS$ac_delim
7427
LDFLAGS!$LDFLAGS$ac_delim
7428
CPPFLAGS!$CPPFLAGS$ac_delim
7429
ac_ct_CC!$ac_ct_CC$ac_delim
7430
EXEEXT!$EXEEXT$ac_delim
7431
OBJEXT!$OBJEXT$ac_delim
7432
DEPDIR!$DEPDIR$ac_delim
7433
am__include!$am__include$ac_delim
7434
am__quote!$am__quote$ac_delim
7435
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7438
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7440
elif $ac_last_try; then
7441
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7442
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7443
{ (exit 1); exit 1; }; }
7445
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7449
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7450
if test -n "$ac_eof"; then
7451
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7452
ac_eof=`expr $ac_eof + 1`
7455
cat >>$CONFIG_STATUS <<_ACEOF
7456
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7457
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7460
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7461
s/^/s,@/; s/!/@,|#_!!_#|/
7464
s/'"$ac_delim"'$/,g/; t
7466
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7467
' >>$CONFIG_STATUS <conf$$subs.sed
7468
rm -f conf$$subs.sed
7469
cat >>$CONFIG_STATUS <<_ACEOF
7475
for ac_last_try in false false false false false :; do
7476
cat >conf$$subs.sed <<_ACEOF
7477
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7478
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7479
CCDEPMODE!$CCDEPMODE$ac_delim
7480
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7481
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7484
EGREP!$EGREP$ac_delim
7485
build!$build$ac_delim
7486
build_cpu!$build_cpu$ac_delim
7487
build_vendor!$build_vendor$ac_delim
7488
build_os!$build_os$ac_delim
7490
host_cpu!$host_cpu$ac_delim
7491
host_vendor!$host_vendor$ac_delim
7492
host_os!$host_os$ac_delim
7493
USE_NLS!$USE_NLS$ac_delim
7494
MSGFMT!$MSGFMT$ac_delim
7495
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
7496
GMSGFMT!$GMSGFMT$ac_delim
7497
XGETTEXT!$XGETTEXT$ac_delim
7498
CATALOGS!$CATALOGS$ac_delim
7499
CATOBJEXT!$CATOBJEXT$ac_delim
7500
DATADIRNAME!$DATADIRNAME$ac_delim
7501
GMOFILES!$GMOFILES$ac_delim
7502
INSTOBJEXT!$INSTOBJEXT$ac_delim
7503
INTLLIBS!$INTLLIBS$ac_delim
7504
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
7505
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
7506
POFILES!$POFILES$ac_delim
7507
POSUB!$POSUB$ac_delim
7508
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
7509
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
7510
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
7511
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
7512
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
7513
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
7514
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
7515
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
7516
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
7517
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
7518
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
7519
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
7520
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
7521
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
7522
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
7523
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
7524
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
7525
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
7526
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
7527
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
7528
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
7529
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
7530
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
7531
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
7532
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
7533
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
7534
LTLIBOBJS!$LTLIBOBJS$ac_delim
7537
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 58; then
7539
elif $ac_last_try; then
7540
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7541
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7542
{ (exit 1); exit 1; }; }
7544
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7548
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7549
if test -n "$ac_eof"; then
7550
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7551
ac_eof=`expr $ac_eof + 1`
7554
cat >>$CONFIG_STATUS <<_ACEOF
7555
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7556
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7559
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7560
s/^/s,@/; s/!/@,|#_!!_#|/
7563
s/'"$ac_delim"'$/,g/; t
7565
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7566
' >>$CONFIG_STATUS <conf$$subs.sed
7567
rm -f conf$$subs.sed
7568
cat >>$CONFIG_STATUS <<_ACEOF
7575
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7576
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7577
# trailing colons and then remove the whole line if VPATH becomes empty
7578
# (actually we leave an empty line to preserve line numbers).
7579
if test "x$srcdir" = x.; then
7580
ac_vpsub='/^[ ]*VPATH[ ]*=/{
7584
s/^\([^=]*=[ ]*\):*/\1/
7590
cat >>$CONFIG_STATUS <<\_ACEOF
7591
fi # test -n "$CONFIG_FILES"
7594
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
7597
:[FHLC]) ac_mode=$ac_tag; continue;;
7599
case $ac_mode$ac_tag in
7601
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7602
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7603
{ (exit 1); exit 1; }; };;
7604
:[FH]-) ac_tag=-:-;;
7605
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7622
-) ac_f="$tmp/stdin";;
7623
*) # Look for the file first in the build tree, then in the source tree
7624
# (if the path is not absolute). The absolute path cannot be DOS-style,
7625
# because $ac_f cannot contain `:'.
7629
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7631
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7632
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7633
{ (exit 1); exit 1; }; };;
7635
ac_file_inputs="$ac_file_inputs $ac_f"
7638
# Let's still pretend it is `configure' which instantiates (i.e., don't
7639
# use $as_me), people would be surprised to read:
7640
# /* config.h. Generated by config.status. */
7641
configure_input="Generated from "`IFS=:
7642
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7643
if test x"$ac_file" != x-; then
7644
configure_input="$ac_file. $configure_input"
7645
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7646
echo "$as_me: creating $ac_file" >&6;}
7650
*:-:* | *:-) cat >"$tmp/stdin";;
7655
ac_dir=`$as_dirname -- "$ac_file" ||
7656
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7657
X"$ac_file" : 'X\(//\)[^/]' \| \
7658
X"$ac_file" : 'X\(//\)$' \| \
7659
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7661
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7680
-*) as_dir=./$as_dir;;
7682
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7686
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7687
*) as_qdir=$as_dir;;
7689
as_dirs="'$as_qdir' $as_dirs"
7690
as_dir=`$as_dirname -- "$as_dir" ||
7691
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7692
X"$as_dir" : 'X\(//\)[^/]' \| \
7693
X"$as_dir" : 'X\(//\)$' \| \
7694
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7696
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7713
test -d "$as_dir" && break
7715
test -z "$as_dirs" || eval "mkdir $as_dirs"
7716
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7717
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7718
{ (exit 1); exit 1; }; }; }
7722
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7724
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7725
# A ".." for each directory in $ac_dir_suffix.
7726
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7727
case $ac_top_builddir_sub in
7728
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7729
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7732
ac_abs_top_builddir=$ac_pwd
7733
ac_abs_builddir=$ac_pwd$ac_dir_suffix
7734
# for backward compatibility:
7735
ac_top_builddir=$ac_top_build_prefix
7738
.) # We are building in place.
7740
ac_top_srcdir=$ac_top_builddir_sub
7741
ac_abs_top_srcdir=$ac_pwd ;;
7742
[\\/]* | ?:[\\/]* ) # Absolute name.
7743
ac_srcdir=$srcdir$ac_dir_suffix;
7744
ac_top_srcdir=$srcdir
7745
ac_abs_top_srcdir=$srcdir ;;
7747
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7748
ac_top_srcdir=$ac_top_build_prefix$srcdir
7749
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7751
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7761
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7762
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7766
[\\/$]* | ?:[\\/]* ) ;;
7767
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7771
cat >>$CONFIG_STATUS <<\_ACEOF
7772
# If the template does not know about datarootdir, expand it.
7773
# FIXME: This hack should be removed a few years after 2.60.
7774
ac_datarootdir_hack=; ac_datarootdir_seen=
7776
case `sed -n '/datarootdir/ {
7785
' $ac_file_inputs` in
7786
*datarootdir*) ac_datarootdir_seen=yes;;
7787
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7788
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7789
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7791
cat >>$CONFIG_STATUS <<_ACEOF
7792
ac_datarootdir_hack='
7793
s&@datadir@&$datadir&g
7794
s&@docdir@&$docdir&g
7795
s&@infodir@&$infodir&g
7796
s&@localedir@&$localedir&g
7797
s&@mandir@&$mandir&g
7798
s&\\\${datarootdir}&$datarootdir&g' ;;
7802
# Neutralize VPATH when `$srcdir' = `.'.
7803
# Shell code in configure.ac might set extrasub.
7804
# FIXME: do we really want to maintain this feature?
7805
cat >>$CONFIG_STATUS <<_ACEOF
7809
cat >>$CONFIG_STATUS <<\_ACEOF
7811
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7812
s&@configure_input@&$configure_input&;t t
7813
s&@top_builddir@&$ac_top_builddir_sub&;t t
7814
s&@srcdir@&$ac_srcdir&;t t
7815
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7816
s&@top_srcdir@&$ac_top_srcdir&;t t
7817
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7818
s&@builddir@&$ac_builddir&;t t
7819
s&@abs_builddir@&$ac_abs_builddir&;t t
7820
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7821
s&@INSTALL@&$ac_INSTALL&;t t
7822
s&@MKDIR_P@&$ac_MKDIR_P&;t t
7823
$ac_datarootdir_hack
7824
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
7826
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7827
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7828
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7829
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7830
which seems to be undefined. Please make sure it is defined." >&5
7831
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7832
which seems to be undefined. Please make sure it is defined." >&2;}
7836
-) cat "$tmp/out"; rm -f "$tmp/out";;
7837
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7842
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7843
echo "$as_me: executing $ac_file commands" >&6;}
7848
case $ac_file$ac_mode in
7849
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7850
# Strip MF so we end up with the name of the file.
7851
mf=`echo "$mf" | sed -e 's/:.*$//'`
7852
# Check whether this is an Automake generated Makefile or not.
7853
# We used to match only the files named `Makefile.in', but
7854
# some people rename them; so instead we look at the file content.
7855
# Grep'ing the first line is not enough: some people post-process
7856
# each Makefile.in and add a new line on top of each file to say so.
7857
# Grep'ing the whole file is not good either: AIX grep has a line
7858
# limit of 2048, but all sed's we know have understand at least 4000.
7859
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
7860
dirpart=`$as_dirname -- "$mf" ||
7861
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7862
X"$mf" : 'X\(//\)[^/]' \| \
7863
X"$mf" : 'X\(//\)$' \| \
7864
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7866
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7886
# Extract the definition of DEPDIR, am__include, and am__quote
7887
# from the Makefile without running `make'.
7888
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7889
test -z "$DEPDIR" && continue
7890
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7891
test -z "am__include" && continue
7892
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7893
# When using ansi2knr, U may be empty or an underscore; expand it
7894
U=`sed -n 's/^U = //p' < "$mf"`
7895
# Find all dependency output files, they are included files with
7896
# $(DEPDIR) in their names. We invoke sed twice because it is the
7897
# simplest approach to changing $(DEPDIR) to its actual value in the
7899
for file in `sed -n "
7900
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7901
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7902
# Make sure the directory exists.
7903
test -f "$dirpart/$file" && continue
7904
fdir=`$as_dirname -- "$file" ||
7905
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7906
X"$file" : 'X\(//\)[^/]' \| \
7907
X"$file" : 'X\(//\)$' \| \
7908
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7910
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7927
{ as_dir=$dirpart/$fdir
7929
-*) as_dir=./$as_dir;;
7931
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7935
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7936
*) as_qdir=$as_dir;;
7938
as_dirs="'$as_qdir' $as_dirs"
7939
as_dir=`$as_dirname -- "$as_dir" ||
7940
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7941
X"$as_dir" : 'X\(//\)[^/]' \| \
7942
X"$as_dir" : 'X\(//\)$' \| \
7943
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7945
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7962
test -d "$as_dir" && break
7964
test -z "$as_dirs" || eval "mkdir $as_dirs"
7965
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7966
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7967
{ (exit 1); exit 1; }; }; }
7968
# echo "creating $dirpart/$file"
7969
echo '# dummy' > "$dirpart/$file"
7973
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7974
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7978
for file in intltool-extract intltool-merge intltool-update; do
7979
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
7980
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
7981
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
7982
< ${ac_aux_dir}/${file}.in > ${file}.out
7983
if cmp -s ${file} ${file}.out 2>/dev/null; then
7986
mv -f ${file}.out ${file}
7994
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7999
'"s|^| $ac_top_srcdir/|" \
8000
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
8002
if test ! -f "po/Makefile"; then
8003
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
8004
echo "$as_me: error: po/Makefile is not ready." >&2;}
8005
{ (exit 1); exit 1; }; }
8007
mv "po/Makefile" "po/Makefile.tmp"
8008
sed '/^POTFILES =/,/[^\\]$/ {
8012
' "po/Makefile.tmp" >"po/Makefile"
8013
rm -f "po/Makefile.tmp"
8014
mv "po/stamp-it.tmp" "po/stamp-it"
8021
{ (exit 0); exit 0; }
8023
chmod +x $CONFIG_STATUS
8024
ac_clean_files=$ac_clean_files_save
8027
# configure is writing to config.log, and then calls config.status.
8028
# config.status does its own redirection, appending to config.log.
8029
# Unfortunately, on DOS this fails, as config.log is still kept open
8030
# by configure, so config.status won't be able to write to it; its
8031
# output is simply discarded. So we exec the FD to /dev/null,
8032
# effectively closing config.log, so it can be properly (re)opened and
8033
# appended to by config.status. When coming back to configure, we
8034
# need to make the FD available again.
8035
if test "$no_create" != yes; then
8037
ac_config_status_args=
8038
test "$silent" = yes &&
8039
ac_config_status_args="$ac_config_status_args --quiet"
8041
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8043
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8044
# would make configure fail if this is the last instruction.
8045
$ac_cs_success || { (exit 1); exit 1; }