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/'
582
# Factoring default headers for most tests.
583
ac_includes_default="\
585
#ifdef HAVE_SYS_TYPES_H
586
# include <sys/types.h>
588
#ifdef HAVE_SYS_STAT_H
589
# include <sys/stat.h>
595
# ifdef HAVE_STDLIB_H
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605
#ifdef HAVE_STRINGS_H
606
# include <strings.h>
608
#ifdef HAVE_INTTYPES_H
609
# include <inttypes.h>
627
program_transform_name
669
INSTALL_STRIP_PROGRAM
702
HAVE_GNOME_DOC_UTILS_TRUE
703
HAVE_GNOME_DOC_UTILS_FALSE
756
INTLTOOL_DESKTOP_RULE
757
INTLTOOL_DIRECTORY_RULE
764
INTLTOOL_SOUNDLIST_RULE
769
INTLTOOL_XML_NOMERGE_RULE
771
INTLTOOL_SCHEMAS_RULE
773
INTLTOOL_SERVICE_RULE
783
ac_precious_vars='build_alias
795
# Initialize some variables set by options.
797
ac_init_version=false
798
# The variables have the same names as the options, with
799
# dashes changed to underlines.
807
program_transform_name=s,x,x,
815
# Installation directory options.
816
# These are left unexpanded so users can "make install exec_prefix=/foo"
817
# and all the variables that are supposed to be based on exec_prefix
818
# by default will actually change.
819
# Use braces instead of parens because sh, perl, etc. also accept them.
820
# (The list follows the same order as the GNU Coding Standards.)
821
bindir='${exec_prefix}/bin'
822
sbindir='${exec_prefix}/sbin'
823
libexecdir='${exec_prefix}/libexec'
824
datarootdir='${prefix}/share'
825
datadir='${datarootdir}'
826
sysconfdir='${prefix}/etc'
827
sharedstatedir='${prefix}/com'
828
localstatedir='${prefix}/var'
829
includedir='${prefix}/include'
830
oldincludedir='/usr/include'
831
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832
infodir='${datarootdir}/info'
837
libdir='${exec_prefix}/lib'
838
localedir='${datarootdir}/locale'
839
mandir='${datarootdir}/man'
845
# If the previous option needs an argument, assign it.
846
if test -n "$ac_prev"; then
847
eval $ac_prev=\$ac_option
853
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857
# Accept the important Cygnus configure options, so we can diagnose typos.
859
case $ac_dashdash$ac_option in
863
-bindir | --bindir | --bindi | --bind | --bin | --bi)
865
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868
-build | --build | --buil | --bui | --bu)
869
ac_prev=build_alias ;;
870
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
871
build_alias=$ac_optarg ;;
873
-cache-file | --cache-file | --cache-fil | --cache-fi \
874
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875
ac_prev=cache_file ;;
876
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878
cache_file=$ac_optarg ;;
881
cache_file=config.cache ;;
883
-datadir | --datadir | --datadi | --datad)
885
-datadir=* | --datadir=* | --datadi=* | --datad=*)
886
datadir=$ac_optarg ;;
888
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889
| --dataroo | --dataro | --datar)
890
ac_prev=datarootdir ;;
891
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893
datarootdir=$ac_optarg ;;
895
-disable-* | --disable-*)
896
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897
# Reject names that are not valid shell variable names.
898
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
899
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
900
{ (exit 1); exit 1; }; }
901
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
902
eval enable_$ac_feature=no ;;
904
-docdir | --docdir | --docdi | --doc | --do)
906
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914
-enable-* | --enable-*)
915
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916
# Reject names that are not valid shell variable names.
917
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
918
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
919
{ (exit 1); exit 1; }; }
920
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
921
eval enable_$ac_feature=\$ac_optarg ;;
923
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925
| --exec | --exe | --ex)
926
ac_prev=exec_prefix ;;
927
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929
| --exec=* | --exe=* | --ex=*)
930
exec_prefix=$ac_optarg ;;
932
-gas | --gas | --ga | --g)
933
# Obsolete; use --with-gas.
936
-help | --help | --hel | --he | -h)
938
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939
ac_init_help=recursive ;;
940
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941
ac_init_help=short ;;
943
-host | --host | --hos | --ho)
944
ac_prev=host_alias ;;
945
-host=* | --host=* | --hos=* | --ho=*)
946
host_alias=$ac_optarg ;;
948
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952
htmldir=$ac_optarg ;;
954
-includedir | --includedir | --includedi | --included | --include \
955
| --includ | --inclu | --incl | --inc)
956
ac_prev=includedir ;;
957
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958
| --includ=* | --inclu=* | --incl=* | --inc=*)
959
includedir=$ac_optarg ;;
961
-infodir | --infodir | --infodi | --infod | --info | --inf)
963
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964
infodir=$ac_optarg ;;
966
-libdir | --libdir | --libdi | --libd)
968
-libdir=* | --libdir=* | --libdi=* | --libd=*)
971
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972
| --libexe | --libex | --libe)
973
ac_prev=libexecdir ;;
974
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975
| --libexe=* | --libex=* | --libe=*)
976
libexecdir=$ac_optarg ;;
978
-localedir | --localedir | --localedi | --localed | --locale)
980
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981
localedir=$ac_optarg ;;
983
-localstatedir | --localstatedir | --localstatedi | --localstated \
984
| --localstate | --localstat | --localsta | --localst | --locals)
985
ac_prev=localstatedir ;;
986
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988
localstatedir=$ac_optarg ;;
990
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996
# Obsolete; use --without-fp.
999
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000
| --no-cr | --no-c | -n)
1003
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1007
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009
| --oldin | --oldi | --old | --ol | --o)
1010
ac_prev=oldincludedir ;;
1011
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014
oldincludedir=$ac_optarg ;;
1016
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019
prefix=$ac_optarg ;;
1021
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1022
| --program-pre | --program-pr | --program-p)
1023
ac_prev=program_prefix ;;
1024
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1025
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026
program_prefix=$ac_optarg ;;
1028
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1029
| --program-suf | --program-su | --program-s)
1030
ac_prev=program_suffix ;;
1031
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1032
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033
program_suffix=$ac_optarg ;;
1035
-program-transform-name | --program-transform-name \
1036
| --program-transform-nam | --program-transform-na \
1037
| --program-transform-n | --program-transform- \
1038
| --program-transform | --program-transfor \
1039
| --program-transfo | --program-transf \
1040
| --program-trans | --program-tran \
1041
| --progr-tra | --program-tr | --program-t)
1042
ac_prev=program_transform_name ;;
1043
-program-transform-name=* | --program-transform-name=* \
1044
| --program-transform-nam=* | --program-transform-na=* \
1045
| --program-transform-n=* | --program-transform-=* \
1046
| --program-transform=* | --program-transfor=* \
1047
| --program-transfo=* | --program-transf=* \
1048
| --program-trans=* | --program-tran=* \
1049
| --progr-tra=* | --program-tr=* | --program-t=*)
1050
program_transform_name=$ac_optarg ;;
1052
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055
pdfdir=$ac_optarg ;;
1057
-psdir | --psdir | --psdi | --psd | --ps)
1059
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1062
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063
| -silent | --silent | --silen | --sile | --sil)
1066
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070
sbindir=$ac_optarg ;;
1072
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1073
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074
| --sharedst | --shareds | --shared | --share | --shar \
1076
ac_prev=sharedstatedir ;;
1077
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081
sharedstatedir=$ac_optarg ;;
1083
-site | --site | --sit)
1085
-site=* | --site=* | --sit=*)
1088
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091
srcdir=$ac_optarg ;;
1093
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094
| --syscon | --sysco | --sysc | --sys | --sy)
1095
ac_prev=sysconfdir ;;
1096
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098
sysconfdir=$ac_optarg ;;
1100
-target | --target | --targe | --targ | --tar | --ta | --t)
1101
ac_prev=target_alias ;;
1102
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103
target_alias=$ac_optarg ;;
1105
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1108
-version | --version | --versio | --versi | --vers | -V)
1109
ac_init_version=: ;;
1112
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113
# Reject names that are not valid shell variable names.
1114
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1115
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1116
{ (exit 1); exit 1; }; }
1117
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1118
eval with_$ac_package=\$ac_optarg ;;
1120
-without-* | --without-*)
1121
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122
# Reject names that are not valid shell variable names.
1123
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1125
{ (exit 1); exit 1; }; }
1126
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1127
eval with_$ac_package=no ;;
1130
# Obsolete; use --with-x.
1133
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134
| --x-incl | --x-inc | --x-in | --x-i)
1135
ac_prev=x_includes ;;
1136
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138
x_includes=$ac_optarg ;;
1140
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1141
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142
ac_prev=x_libraries ;;
1143
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145
x_libraries=$ac_optarg ;;
1147
-*) { echo "$as_me: error: unrecognized option: $ac_option
1148
Try \`$0 --help' for more information." >&2
1149
{ (exit 1); exit 1; }; }
1153
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154
# Reject names that are not valid shell variable names.
1155
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1156
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157
{ (exit 1); exit 1; }; }
1158
eval $ac_envvar=\$ac_optarg
1159
export $ac_envvar ;;
1162
# FIXME: should be removed in autoconf 3.0.
1163
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172
if test -n "$ac_prev"; then
1173
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174
{ echo "$as_me: error: missing argument to $ac_option" >&2
1175
{ (exit 1); exit 1; }; }
1178
# Be sure to have absolute directory names.
1179
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180
datadir sysconfdir sharedstatedir localstatedir includedir \
1181
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182
libdir localedir mandir
1184
eval ac_val=\$$ac_var
1186
[\\/$]* | ?:[\\/]* ) continue;;
1187
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190
{ (exit 1); exit 1; }; }
1193
# There might be people who depend on the old broken behavior: `$host'
1194
# used to hold the argument of --host etc.
1195
# FIXME: To remove some day.
1198
target=$target_alias
1200
# FIXME: To remove some day.
1201
if test "x$host_alias" != x; then
1202
if test "x$build_alias" = x; then
1203
cross_compiling=maybe
1204
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205
If a cross compiler is detected then cross compile mode will be used." >&2
1206
elif test "x$build_alias" != "x$host_alias"; then
1212
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214
test "$silent" = yes && exec 6>/dev/null
1217
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1218
ac_ls_di=`ls -di .` &&
1219
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220
{ echo "$as_me: error: Working directory cannot be determined" >&2
1221
{ (exit 1); exit 1; }; }
1222
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1224
{ (exit 1); exit 1; }; }
1227
# Find the source files, if location was not specified.
1228
if test -z "$srcdir"; then
1229
ac_srcdir_defaulted=yes
1230
# Try the directory containing this script, then the parent directory.
1231
ac_confdir=`$as_dirname -- "$0" ||
1232
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233
X"$0" : 'X\(//\)[^/]' \| \
1234
X"$0" : 'X\(//\)$' \| \
1235
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255
if test ! -r "$srcdir/$ac_unique_file"; then
1259
ac_srcdir_defaulted=no
1261
if test ! -r "$srcdir/$ac_unique_file"; then
1262
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264
{ (exit 1); exit 1; }; }
1266
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1269
{ (exit 1); exit 1; }; }
1271
# When building in place, set srcdir=.
1272
if test "$ac_abs_confdir" = "$ac_pwd"; then
1275
# Remove unnecessary trailing slashes from srcdir.
1276
# Double slashes in file names in object file debugging info
1277
# mess up M-x gdb in Emacs.
1279
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281
for ac_var in $ac_precious_vars; do
1282
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1283
eval ac_env_${ac_var}_value=\$${ac_var}
1284
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1285
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289
# Report the --help message.
1291
if test "$ac_init_help" = "long"; then
1292
# Omit some internal or obsolete options to make the list less imposing.
1293
# This message is too long to be a string in the A/UX 3.1 sh.
1295
\`configure' configures python-schedule 1.0 to adapt to many kinds of systems.
1297
Usage: $0 [OPTION]... [VAR=VALUE]...
1299
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300
VAR=VALUE. See below for descriptions of some of the useful variables.
1302
Defaults for the options are specified in brackets.
1305
-h, --help display this help and exit
1306
--help=short display options specific to this package
1307
--help=recursive display the short help of all the included packages
1308
-V, --version display version information and exit
1309
-q, --quiet, --silent do not print \`checking...' messages
1310
--cache-file=FILE cache test results in FILE [disabled]
1311
-C, --config-cache alias for \`--cache-file=config.cache'
1312
-n, --no-create do not create output files
1313
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1315
Installation directories:
1316
--prefix=PREFIX install architecture-independent files in PREFIX
1317
[$ac_default_prefix]
1318
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321
By default, \`make install' will install all the files in
1322
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324
for instance \`--prefix=\$HOME'.
1326
For better control, use the options below.
1328
Fine tuning of the installation directories:
1329
--bindir=DIR user executables [EPREFIX/bin]
1330
--sbindir=DIR system admin executables [EPREFIX/sbin]
1331
--libexecdir=DIR program executables [EPREFIX/libexec]
1332
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335
--libdir=DIR object code libraries [EPREFIX/lib]
1336
--includedir=DIR C header files [PREFIX/include]
1337
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1338
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340
--infodir=DIR info documentation [DATAROOTDIR/info]
1341
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342
--mandir=DIR man documentation [DATAROOTDIR/man]
1343
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/python-schedule@:>@
1344
--htmldir=DIR html documentation [DOCDIR]
1345
--dvidir=DIR dvi documentation [DOCDIR]
1346
--pdfdir=DIR pdf documentation [DOCDIR]
1347
--psdir=DIR ps documentation [DOCDIR]
1353
--program-prefix=PREFIX prepend PREFIX to installed program names
1354
--program-suffix=SUFFIX append SUFFIX to installed program names
1355
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1358
--build=BUILD configure for building on BUILD [guessed]
1359
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1363
if test -n "$ac_init_help"; then
1364
case $ac_init_help in
1365
short | recursive ) echo "Configuration of python-schedule 1.0:";;
1370
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372
--disable-scrollkeeper do not make updates to the scrollkeeper database
1373
--disable-nls do not use Native Language Support
1374
--disable-dependency-tracking speeds up one-time build
1375
--enable-dependency-tracking do not reject slow dependency extractors
1376
--disable-rpath do not hardcode runtime library paths
1379
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381
--with-help-dir=DIR path to help docs
1382
--with-omf-dir=DIR path to OMF files
1383
--with-help-formats=FORMATS
1385
--with-gnu-ld assume the C compiler uses GNU ld default=no
1386
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1387
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1388
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1389
--without-libintl-prefix don't search for libintl in includedir and libdir
1391
Some influential environment variables:
1392
PKG_CONFIG path to pkg-config utility
1393
CC C compiler command
1394
CFLAGS C compiler flags
1395
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1396
nonstandard directory <lib dir>
1397
LIBS libraries to pass to the linker, e.g. -l<library>
1398
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1399
you have headers in a nonstandard directory <include dir>
1402
Use these variables to override the choices made by `configure' or to help
1403
it to find libraries and programs with nonstandard names/locations.
1405
Report bugs to <https://bugs.launchpad.net/python-schedule/>.
1410
if test "$ac_init_help" = "recursive"; then
1411
# If there are subdirs, report their specific --help.
1412
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1413
test -d "$ac_dir" || continue
1417
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1420
# A ".." for each directory in $ac_dir_suffix.
1421
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1422
case $ac_top_builddir_sub in
1423
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427
ac_abs_top_builddir=$ac_pwd
1428
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429
# for backward compatibility:
1430
ac_top_builddir=$ac_top_build_prefix
1433
.) # We are building in place.
1435
ac_top_srcdir=$ac_top_builddir_sub
1436
ac_abs_top_srcdir=$ac_pwd ;;
1437
[\\/]* | ?:[\\/]* ) # Absolute name.
1438
ac_srcdir=$srcdir$ac_dir_suffix;
1439
ac_top_srcdir=$srcdir
1440
ac_abs_top_srcdir=$srcdir ;;
1442
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443
ac_top_srcdir=$ac_top_build_prefix$srcdir
1444
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448
cd "$ac_dir" || { ac_status=$?; continue; }
1449
# Check for guested configure.
1450
if test -f "$ac_srcdir/configure.gnu"; then
1452
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453
elif test -f "$ac_srcdir/configure"; then
1455
$SHELL "$ac_srcdir/configure" --help=recursive
1457
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459
cd "$ac_pwd" || { ac_status=$?; break; }
1463
test -n "$ac_init_help" && exit $ac_status
1464
if $ac_init_version; then
1466
python-schedule configure 1.0
1467
generated by GNU Autoconf 2.61
1469
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1470
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1471
This configure script is free software; the Free Software Foundation
1472
gives unlimited permission to copy, distribute and modify it.
1476
cat >config.log <<_ACEOF
1477
This file contains any messages produced by compilers while
1478
running configure, to aid debugging if configure makes a mistake.
1480
It was created by python-schedule $as_me 1.0, which was
1481
generated by GNU Autoconf 2.61. Invocation command line was
1489
@%:@@%:@ --------- @%:@@%:@
1490
@%:@@%:@ Platform. @%:@@%:@
1491
@%:@@%:@ --------- @%:@@%:@
1493
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1494
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1495
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1496
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1497
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1499
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1500
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1502
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1503
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1504
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1505
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1506
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1507
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1508
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1512
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1516
test -z "$as_dir" && as_dir=.
1517
echo "PATH: $as_dir"
1526
@%:@@%:@ ----------- @%:@@%:@
1527
@%:@@%:@ Core tests. @%:@@%:@
1528
@%:@@%:@ ----------- @%:@@%:@
1533
# Keep a trace of the command line.
1534
# Strip out --no-create and --no-recursion so they do not pile up.
1535
# Strip out --silent because we don't want to record it for future runs.
1536
# Also quote any args containing shell meta-characters.
1537
# Make two passes to allow for proper duplicate-argument suppression.
1541
ac_must_keep_next=false
1547
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1548
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1549
| -silent | --silent | --silen | --sile | --sil)
1552
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1555
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1557
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1558
if test $ac_must_keep_next = true; then
1559
ac_must_keep_next=false # Got value, back to normal.
1562
*=* | --config-cache | -C | -disable-* | --disable-* \
1563
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1564
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1565
| -with-* | --with-* | -without-* | --without-* | --x)
1566
case "$ac_configure_args0 " in
1567
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1570
-* ) ac_must_keep_next=true ;;
1573
ac_configure_args="$ac_configure_args '$ac_arg'"
1578
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1579
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1581
# When interrupted or exit'd, cleanup temporary files, and complete
1582
# config.log. We remove comments because anyway the quotes in there
1583
# would cause problems or look ugly.
1584
# WARNING: Use '\'' to represent an apostrophe within the trap.
1585
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1586
trap 'exit_status=$?
1587
# Save into config.log some information that might help in debugging.
1592
@%:@@%:@ ---------------- @%:@@%:@
1593
@%:@@%:@ Cache variables. @%:@@%:@
1594
@%:@@%:@ ---------------- @%:@@%:@
1597
# The following way of writing the cache mishandles newlines in values,
1599
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1600
eval ac_val=\$$ac_var
1604
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1605
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1608
_ | IFS | as_nl) ;; #(
1609
*) $as_unset $ac_var ;;
1614
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1615
*${as_nl}ac_space=\ *)
1617
"s/'\''/'\''\\\\'\'''\''/g;
1618
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1621
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1629
@%:@@%:@ ----------------- @%:@@%:@
1630
@%:@@%:@ Output variables. @%:@@%:@
1631
@%:@@%:@ ----------------- @%:@@%:@
1634
for ac_var in $ac_subst_vars
1636
eval ac_val=\$$ac_var
1638
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1640
echo "$ac_var='\''$ac_val'\''"
1644
if test -n "$ac_subst_files"; then
1646
@%:@@%:@ ------------------- @%:@@%:@
1647
@%:@@%:@ File substitutions. @%:@@%:@
1648
@%:@@%:@ ------------------- @%:@@%:@
1651
for ac_var in $ac_subst_files
1653
eval ac_val=\$$ac_var
1655
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1657
echo "$ac_var='\''$ac_val'\''"
1662
if test -s confdefs.h; then
1664
@%:@@%:@ ----------- @%:@@%:@
1665
@%:@@%:@ confdefs.h. @%:@@%:@
1666
@%:@@%:@ ----------- @%:@@%:@
1672
test "$ac_signal" != 0 &&
1673
echo "$as_me: caught signal $ac_signal"
1674
echo "$as_me: exit $exit_status"
1676
rm -f core *.core core.conftest.* &&
1677
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1680
for ac_signal in 1 2 13 15; do
1681
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1685
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1686
rm -f -r conftest* confdefs.h
1688
# Predefined preprocessor variables.
1690
cat >>confdefs.h <<_ACEOF
1691
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1695
cat >>confdefs.h <<_ACEOF
1696
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1700
cat >>confdefs.h <<_ACEOF
1701
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1705
cat >>confdefs.h <<_ACEOF
1706
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1710
cat >>confdefs.h <<_ACEOF
1711
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1715
# Let the site file select an alternate cache file if it wants to.
1716
# Prefer explicitly selected file to automatically selected ones.
1717
if test -n "$CONFIG_SITE"; then
1718
set x "$CONFIG_SITE"
1719
elif test "x$prefix" != xNONE; then
1720
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1722
set x "$ac_default_prefix/share/config.site" \
1723
"$ac_default_prefix/etc/config.site"
1728
if test -r "$ac_site_file"; then
1729
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1730
echo "$as_me: loading site script $ac_site_file" >&6;}
1731
sed 's/^/| /' "$ac_site_file" >&5
1736
if test -r "$cache_file"; then
1737
# Some versions of bash will fail to source /dev/null (special
1738
# files actually), so we avoid doing that.
1739
if test -f "$cache_file"; then
1740
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1741
echo "$as_me: loading cache $cache_file" >&6;}
1743
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1744
*) . "./$cache_file";;
1748
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1749
echo "$as_me: creating cache $cache_file" >&6;}
1753
gt_needs="$gt_needs "
1754
# Check that the precious variables saved in the cache have kept the same
1756
ac_cache_corrupted=false
1757
for ac_var in $ac_precious_vars; do
1758
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1759
eval ac_new_set=\$ac_env_${ac_var}_set
1760
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1761
eval ac_new_val=\$ac_env_${ac_var}_value
1762
case $ac_old_set,$ac_new_set in
1764
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1765
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1766
ac_cache_corrupted=: ;;
1768
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1769
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1770
ac_cache_corrupted=: ;;
1773
if test "x$ac_old_val" != "x$ac_new_val"; then
1774
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1775
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1776
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1777
echo "$as_me: former value: $ac_old_val" >&2;}
1778
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1779
echo "$as_me: current value: $ac_new_val" >&2;}
1780
ac_cache_corrupted=:
1783
# Pass precious variables to config.status.
1784
if test "$ac_new_set" = set; then
1786
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1787
*) ac_arg=$ac_var=$ac_new_val ;;
1789
case " $ac_configure_args " in
1790
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1791
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1795
if $ac_cache_corrupted; then
1796
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1797
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1798
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1799
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1800
{ (exit 1); exit 1; }; }
1828
ac_cpp='$CPP $CPPFLAGS'
1829
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1830
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1831
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1834
am__api_version='1.10'
1837
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1838
if test -f "$ac_dir/install-sh"; then
1840
ac_install_sh="$ac_aux_dir/install-sh -c"
1842
elif test -f "$ac_dir/install.sh"; then
1844
ac_install_sh="$ac_aux_dir/install.sh -c"
1846
elif test -f "$ac_dir/shtool"; then
1848
ac_install_sh="$ac_aux_dir/shtool install -c"
1852
if test -z "$ac_aux_dir"; then
1853
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1854
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1855
{ (exit 1); exit 1; }; }
1858
# These three variables are undocumented and unsupported,
1859
# and are intended to be withdrawn in a future Autoconf release.
1860
# They can cause serious problems if a builder's source tree is in a directory
1861
# whose full name contains unusual characters.
1862
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1863
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1864
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1867
# Find a good install program. We prefer a C program (faster),
1868
# so one script is as good as another. But avoid the broken or
1869
# incompatible versions:
1870
# SysV /etc/install, /usr/sbin/install
1871
# SunOS /usr/etc/install
1872
# IRIX /sbin/install
1874
# AmigaOS /C/install, which installs bootblocks on floppy discs
1875
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1876
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1877
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1878
# OS/2's system install, which has a completely different semantic
1879
# ./install, which can be erroneously created by make from ./install.sh.
1880
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1881
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1882
if test -z "$INSTALL"; then
1883
if test "${ac_cv_path_install+set}" = set; then
1884
echo $ECHO_N "(cached) $ECHO_C" >&6
1886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890
test -z "$as_dir" && as_dir=.
1891
# Account for people who put trailing slashes in PATH elements.
1893
./ | .// | /cC/* | \
1894
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1895
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1898
# OSF1 and SCO ODT 3.0 have their own names for install.
1899
# Don't use installbsd from OSF since it installs stuff as root
1901
for ac_prog in ginstall scoinst install; do
1902
for ac_exec_ext in '' $ac_executable_extensions; do
1903
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1904
if test $ac_prog = install &&
1905
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1906
# AIX install. It has an incompatible calling convention.
1908
elif test $ac_prog = install &&
1909
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1910
# program-specific install script used by HP pwplus--don't use.
1913
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1926
if test "${ac_cv_path_install+set}" = set; then
1927
INSTALL=$ac_cv_path_install
1929
# As a last resort, use the slow shell script. Don't cache a
1930
# value for INSTALL within a source directory, because that will
1931
# break other packages using the cache if that directory is
1932
# removed, or if the value is a relative name.
1933
INSTALL=$ac_install_sh
1936
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1937
echo "${ECHO_T}$INSTALL" >&6; }
1939
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1940
# It thinks the first close brace ends the variable substitution.
1941
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1943
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1945
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1947
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1948
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1951
echo timestamp > conftest.file
1952
# Do `set' in a subshell so we don't clobber the current shell's
1953
# arguments. Must try -L first in case configure is actually a
1954
# symlink; some systems play weird games with the mod time of symlinks
1955
# (eg FreeBSD returns the mod time of the symlink's containing
1958
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1959
if test "$*" = "X"; then
1961
set X `ls -t $srcdir/configure conftest.file`
1964
if test "$*" != "X $srcdir/configure conftest.file" \
1965
&& test "$*" != "X conftest.file $srcdir/configure"; then
1967
# If neither matched, then we have a broken ls. This can happen
1968
# if, for instance, CONFIG_SHELL is bash and it inherits a
1969
# broken ls alias from the environment. This has actually
1970
# happened. Such a system could not be considered "sane".
1971
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1972
alias in your environment" >&5
1973
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1974
alias in your environment" >&2;}
1975
{ (exit 1); exit 1; }; }
1978
test "$2" = conftest.file
1984
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1985
Check your system clock" >&5
1986
echo "$as_me: error: newly created file is older than distributed files!
1987
Check your system clock" >&2;}
1988
{ (exit 1); exit 1; }; }
1990
{ echo "$as_me:$LINENO: result: yes" >&5
1991
echo "${ECHO_T}yes" >&6; }
1992
test "$program_prefix" != NONE &&
1993
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1994
# Use a double $ so make ignores it.
1995
test "$program_suffix" != NONE &&
1996
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1997
# Double any \ or $. echo might interpret backslashes.
1998
# By default was `s,x,x', remove it if useless.
1999
cat <<\_ACEOF >conftest.sed
2000
s/[\\$]/&&/g;s/;s,x,x,$//
2002
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2005
# expand $ac_aux_dir to an absolute path
2006
am_aux_dir=`cd $ac_aux_dir && pwd`
2008
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2009
# Use eval to expand $SHELL
2010
if eval "$MISSING --run true"; then
2011
am_missing_run="$MISSING --run "
2014
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2015
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2018
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2019
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2020
if test -z "$MKDIR_P"; then
2021
if test "${ac_cv_path_mkdir+set}" = set; then
2022
echo $ECHO_N "(cached) $ECHO_C" >&6
2024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2028
test -z "$as_dir" && as_dir=.
2029
for ac_prog in mkdir gmkdir; do
2030
for ac_exec_ext in '' $ac_executable_extensions; do
2031
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2032
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2033
'mkdir (GNU coreutils) '* | \
2034
'mkdir (coreutils) '* | \
2035
'mkdir (fileutils) '4.1*)
2036
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2046
if test "${ac_cv_path_mkdir+set}" = set; then
2047
MKDIR_P="$ac_cv_path_mkdir -p"
2049
# As a last resort, use the slow shell script. Don't cache a
2050
# value for MKDIR_P within a source directory, because that will
2051
# break other packages using the cache if that directory is
2052
# removed, or if the value is a relative name.
2053
test -d ./--version && rmdir ./--version
2054
MKDIR_P="$ac_install_sh -d"
2057
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2058
echo "${ECHO_T}$MKDIR_P" >&6; }
2062
[\\/$]* | ?:[\\/]*) ;;
2063
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2066
for ac_prog in gawk mawk nawk awk
2068
# Extract the first word of "$ac_prog", so it can be a program name with args.
2069
set dummy $ac_prog; ac_word=$2
2070
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2071
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072
if test "${ac_cv_prog_AWK+set}" = set; then
2073
echo $ECHO_N "(cached) $ECHO_C" >&6
2075
if test -n "$AWK"; then
2076
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082
test -z "$as_dir" && as_dir=.
2083
for ac_exec_ext in '' $ac_executable_extensions; do
2084
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085
ac_cv_prog_AWK="$ac_prog"
2086
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096
if test -n "$AWK"; then
2097
{ echo "$as_me:$LINENO: result: $AWK" >&5
2098
echo "${ECHO_T}$AWK" >&6; }
2100
{ echo "$as_me:$LINENO: result: no" >&5
2101
echo "${ECHO_T}no" >&6; }
2105
test -n "$AWK" && break
2108
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2109
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2110
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2111
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2112
echo $ECHO_N "(cached) $ECHO_C" >&6
2114
cat >conftest.make <<\_ACEOF
2117
@echo '@@@%%%=$(MAKE)=@@@%%%'
2119
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2120
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2122
eval ac_cv_prog_make_${ac_make}_set=yes;;
2124
eval ac_cv_prog_make_${ac_make}_set=no;;
2128
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2129
{ echo "$as_me:$LINENO: result: yes" >&5
2130
echo "${ECHO_T}yes" >&6; }
2133
{ echo "$as_me:$LINENO: result: no" >&5
2134
echo "${ECHO_T}no" >&6; }
2135
SET_MAKE="MAKE=${MAKE-make}"
2138
rm -rf .tst 2>/dev/null
2139
mkdir .tst 2>/dev/null
2140
if test -d .tst; then
2145
rmdir .tst 2>/dev/null
2147
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2148
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2149
# is not polluted with repeated "-I."
2150
am__isrc=' -I$(srcdir)'
2151
# test to see if srcdir already configured
2152
if test -f $srcdir/config.status; then
2153
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2154
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2155
{ (exit 1); exit 1; }; }
2159
# test whether we have cygpath
2160
if test -z "$CYGPATH_W"; then
2161
if (cygpath --version) >/dev/null 2>/dev/null; then
2162
CYGPATH_W='cygpath -w'
2169
# Define the identity of the package.
2170
PACKAGE='python-schedule'
2174
cat >>confdefs.h <<_ACEOF
2175
@%:@define PACKAGE "$PACKAGE"
2179
cat >>confdefs.h <<_ACEOF
2180
@%:@define VERSION "$VERSION"
2183
# Some tools Automake needs.
2185
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2188
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2191
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2194
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2197
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2199
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2201
# Installed binaries are usually stripped using `strip' when the user
2202
# run `make install-strip'. However `strip' might not be the right
2203
# tool to use in cross-compilation environments, therefore Automake
2204
# will honor the `STRIP' environment variable to overrule this program.
2205
if test "$cross_compiling" != no; then
2206
if test -n "$ac_tool_prefix"; then
2207
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2208
set dummy ${ac_tool_prefix}strip; ac_word=$2
2209
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2210
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2211
if test "${ac_cv_prog_STRIP+set}" = set; then
2212
echo $ECHO_N "(cached) $ECHO_C" >&6
2214
if test -n "$STRIP"; then
2215
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221
test -z "$as_dir" && as_dir=.
2222
for ac_exec_ext in '' $ac_executable_extensions; do
2223
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2225
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234
STRIP=$ac_cv_prog_STRIP
2235
if test -n "$STRIP"; then
2236
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2237
echo "${ECHO_T}$STRIP" >&6; }
2239
{ echo "$as_me:$LINENO: result: no" >&5
2240
echo "${ECHO_T}no" >&6; }
2245
if test -z "$ac_cv_prog_STRIP"; then
2247
# Extract the first word of "strip", so it can be a program name with args.
2248
set dummy strip; ac_word=$2
2249
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2250
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2251
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2252
echo $ECHO_N "(cached) $ECHO_C" >&6
2254
if test -n "$ac_ct_STRIP"; then
2255
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2257
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261
test -z "$as_dir" && as_dir=.
2262
for ac_exec_ext in '' $ac_executable_extensions; do
2263
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264
ac_cv_prog_ac_ct_STRIP="strip"
2265
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2275
if test -n "$ac_ct_STRIP"; then
2276
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2277
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2279
{ echo "$as_me:$LINENO: result: no" >&5
2280
echo "${ECHO_T}no" >&6; }
2283
if test "x$ac_ct_STRIP" = x; then
2286
case $cross_compiling:$ac_tool_warned in
2288
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2289
whose name does not start with the host triplet. If you think this
2290
configuration is useful to you, please write to autoconf@gnu.org." >&5
2291
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2292
whose name does not start with the host triplet. If you think this
2293
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2294
ac_tool_warned=yes ;;
2299
STRIP="$ac_cv_prog_STRIP"
2303
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2305
# We need awk for the "check" target. The system "awk" is bad on
2307
# Always define AMTAR for backward compatibility.
2309
AMTAR=${AMTAR-"${am_missing_run}tar"}
2311
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2322
# Find any Python interpreter.
2323
if test -z "$PYTHON"; then
2324
for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
2326
# Extract the first word of "$ac_prog", so it can be a program name with args.
2327
set dummy $ac_prog; ac_word=$2
2328
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2329
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330
if test "${ac_cv_path_PYTHON+set}" = set; then
2331
echo $ECHO_N "(cached) $ECHO_C" >&6
2335
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2338
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342
test -z "$as_dir" && as_dir=.
2343
for ac_exec_ext in '' $ac_executable_extensions; do
2344
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2345
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2346
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356
PYTHON=$ac_cv_path_PYTHON
2357
if test -n "$PYTHON"; then
2358
{ echo "$as_me:$LINENO: result: $PYTHON" >&5
2359
echo "${ECHO_T}$PYTHON" >&6; }
2361
{ echo "$as_me:$LINENO: result: no" >&5
2362
echo "${ECHO_T}no" >&6; }
2366
test -n "$PYTHON" && break
2368
test -n "$PYTHON" || PYTHON=":"
2371
am_display_PYTHON=python
2374
if test "$PYTHON" = :; then
2375
{ { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
2376
echo "$as_me: error: no suitable Python interpreter found" >&2;}
2377
{ (exit 1); exit 1; }; }
2381
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
2382
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
2383
if test "${am_cv_python_version+set}" = set; then
2384
echo $ECHO_N "(cached) $ECHO_C" >&6
2386
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
2388
{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
2389
echo "${ECHO_T}$am_cv_python_version" >&6; }
2390
PYTHON_VERSION=$am_cv_python_version
2394
PYTHON_PREFIX='${prefix}'
2396
PYTHON_EXEC_PREFIX='${exec_prefix}'
2400
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
2401
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
2402
if test "${am_cv_python_platform+set}" = set; then
2403
echo $ECHO_N "(cached) $ECHO_C" >&6
2405
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
2407
{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
2408
echo "${ECHO_T}$am_cv_python_platform" >&6; }
2409
PYTHON_PLATFORM=$am_cv_python_platform
2414
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
2415
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
2416
if test "${am_cv_python_pythondir+set}" = set; then
2417
echo $ECHO_N "(cached) $ECHO_C" >&6
2419
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
2420
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2422
{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
2423
echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
2424
pythondir=$am_cv_python_pythondir
2428
pkgpythondir=\${pythondir}/$PACKAGE
2431
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
2432
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
2433
if test "${am_cv_python_pyexecdir+set}" = set; then
2434
echo $ECHO_N "(cached) $ECHO_C" >&6
2436
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
2437
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
2439
{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
2440
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
2441
pyexecdir=$am_cv_python_pyexecdir
2445
pkgpyexecdir=\${pyexecdir}/$PACKAGE
2454
# Extract the first word of "pkg-config", so it can be a program name with args.
2455
set dummy pkg-config; ac_word=$2
2456
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2457
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458
if test "${ac_cv_path_PKGCONFIG+set}" = set; then
2459
echo $ECHO_N "(cached) $ECHO_C" >&6
2463
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
2466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467
as_dummy="$PATH:/usr/bin:/usr/local/bin"
2468
for as_dir in $as_dummy
2471
test -z "$as_dir" && as_dir=.
2472
for ac_exec_ext in '' $ac_executable_extensions; do
2473
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
2475
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482
test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no"
2486
PKGCONFIG=$ac_cv_path_PKGCONFIG
2487
if test -n "$PKGCONFIG"; then
2488
{ echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
2489
echo "${ECHO_T}$PKGCONFIG" >&6; }
2491
{ echo "$as_me:$LINENO: result: no" >&5
2492
echo "${ECHO_T}no" >&6; }
2496
if test "$PKGCONFIG" != "no" ; then
2498
{ echo "$as_me:$LINENO: result: $PYTHONPATH" >&5
2499
echo "${ECHO_T}$PYTHONPATH" >&6; }
2502
# Extract the first word of "crontab", so it can be a program name with args.
2503
set dummy crontab; ac_word=$2
2504
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2505
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506
if test "${ac_cv_path_CRONTAB_CONFIG+set}" = set; then
2507
echo $ECHO_N "(cached) $ECHO_C" >&6
2509
case $CRONTAB_CONFIG in
2511
ac_cv_path_CRONTAB_CONFIG="$CRONTAB_CONFIG" # Let the user override the test with a path.
2514
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518
test -z "$as_dir" && as_dir=.
2519
for ac_exec_ext in '' $ac_executable_extensions; do
2520
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521
ac_cv_path_CRONTAB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2522
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529
test -z "$ac_cv_path_CRONTAB_CONFIG" && ac_cv_path_CRONTAB_CONFIG="no"
2533
CRONTAB_CONFIG=$ac_cv_path_CRONTAB_CONFIG
2534
if test -n "$CRONTAB_CONFIG"; then
2535
{ echo "$as_me:$LINENO: result: $CRONTAB_CONFIG" >&5
2536
echo "${ECHO_T}$CRONTAB_CONFIG" >&6; }
2538
{ echo "$as_me:$LINENO: result: no" >&5
2539
echo "${ECHO_T}no" >&6; }
2543
if test x$CRONTAB_CONFIG = xno; then
2544
{ { echo "$as_me:$LINENO: error: Please install the application crontab" >&5
2545
echo "$as_me: error: Please install the application crontab" >&2;}
2546
{ (exit 1); exit 1; }; }
2549
# Extract the first word of "at", so it can be a program name with args.
2550
set dummy at; ac_word=$2
2551
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2552
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2553
if test "${ac_cv_path_AT_CONFIG+set}" = set; then
2554
echo $ECHO_N "(cached) $ECHO_C" >&6
2558
ac_cv_path_AT_CONFIG="$AT_CONFIG" # Let the user override the test with a path.
2561
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565
test -z "$as_dir" && as_dir=.
2566
for ac_exec_ext in '' $ac_executable_extensions; do
2567
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568
ac_cv_path_AT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2569
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576
test -z "$ac_cv_path_AT_CONFIG" && ac_cv_path_AT_CONFIG="no"
2580
AT_CONFIG=$ac_cv_path_AT_CONFIG
2581
if test -n "$AT_CONFIG"; then
2582
{ echo "$as_me:$LINENO: result: $AT_CONFIG" >&5
2583
echo "${ECHO_T}$AT_CONFIG" >&6; }
2585
{ echo "$as_me:$LINENO: result: no" >&5
2586
echo "${ECHO_T}no" >&6; }
2590
if test x$AT_CONFIG = xno; then
2591
{ { echo "$as_me:$LINENO: error: Please install the application at" >&5
2592
echo "$as_me: error: Please install the application at" >&2;}
2593
{ (exit 1); exit 1; }; }
2596
# Extract the first word of "atq", so it can be a program name with args.
2597
set dummy atq; ac_word=$2
2598
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2599
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2600
if test "${ac_cv_path_ATQ_CONFIG+set}" = set; then
2601
echo $ECHO_N "(cached) $ECHO_C" >&6
2605
ac_cv_path_ATQ_CONFIG="$ATQ_CONFIG" # Let the user override the test with a path.
2608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612
test -z "$as_dir" && as_dir=.
2613
for ac_exec_ext in '' $ac_executable_extensions; do
2614
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615
ac_cv_path_ATQ_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2616
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623
test -z "$ac_cv_path_ATQ_CONFIG" && ac_cv_path_ATQ_CONFIG="no"
2627
ATQ_CONFIG=$ac_cv_path_ATQ_CONFIG
2628
if test -n "$ATQ_CONFIG"; then
2629
{ echo "$as_me:$LINENO: result: $ATQ_CONFIG" >&5
2630
echo "${ECHO_T}$ATQ_CONFIG" >&6; }
2632
{ echo "$as_me:$LINENO: result: no" >&5
2633
echo "${ECHO_T}no" >&6; }
2637
if test x$ATQ_CONFIG = xno; then
2638
{ { echo "$as_me:$LINENO: error: Please install the application atq" >&5
2639
echo "$as_me: error: Please install the application atq" >&2;}
2640
{ (exit 1); exit 1; }; }
2643
# Extract the first word of "atrm", so it can be a program name with args.
2644
set dummy atrm; ac_word=$2
2645
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2647
if test "${ac_cv_path_ATRM_CONFIG+set}" = set; then
2648
echo $ECHO_N "(cached) $ECHO_C" >&6
2650
case $ATRM_CONFIG in
2652
ac_cv_path_ATRM_CONFIG="$ATRM_CONFIG" # Let the user override the test with a path.
2655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659
test -z "$as_dir" && as_dir=.
2660
for ac_exec_ext in '' $ac_executable_extensions; do
2661
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662
ac_cv_path_ATRM_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2663
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670
test -z "$ac_cv_path_ATRM_CONFIG" && ac_cv_path_ATRM_CONFIG="no"
2674
ATRM_CONFIG=$ac_cv_path_ATRM_CONFIG
2675
if test -n "$ATRM_CONFIG"; then
2676
{ echo "$as_me:$LINENO: result: $ATRM_CONFIG" >&5
2677
echo "${ECHO_T}$ATRM_CONFIG" >&6; }
2679
{ echo "$as_me:$LINENO: result: no" >&5
2680
echo "${ECHO_T}no" >&6; }
2684
if test x$ATRM_CONFIG = xno; then
2685
{ { echo "$as_me:$LINENO: error: Please install the application atrm" >&5
2686
echo "$as_me: error: Please install the application atrm" >&2;}
2687
{ (exit 1); exit 1; }; }
2690
# Extract the first word of "batch", so it can be a program name with args.
2691
set dummy batch; ac_word=$2
2692
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2693
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2694
if test "${ac_cv_path_BATCH_CONFIG+set}" = set; then
2695
echo $ECHO_N "(cached) $ECHO_C" >&6
2697
case $BATCH_CONFIG in
2699
ac_cv_path_BATCH_CONFIG="$BATCH_CONFIG" # Let the user override the test with a path.
2702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706
test -z "$as_dir" && as_dir=.
2707
for ac_exec_ext in '' $ac_executable_extensions; do
2708
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709
ac_cv_path_BATCH_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2710
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717
test -z "$ac_cv_path_BATCH_CONFIG" && ac_cv_path_BATCH_CONFIG="no"
2721
BATCH_CONFIG=$ac_cv_path_BATCH_CONFIG
2722
if test -n "$BATCH_CONFIG"; then
2723
{ echo "$as_me:$LINENO: result: $BATCH_CONFIG" >&5
2724
echo "${ECHO_T}$BATCH_CONFIG" >&6; }
2726
{ echo "$as_me:$LINENO: result: no" >&5
2727
echo "${ECHO_T}no" >&6; }
2731
if test x$BATCH_CONFIG = xno; then
2732
{ { echo "$as_me:$LINENO: error: Please install the application batch" >&5
2733
echo "$as_me: error: Please install the application batch" >&2;}
2734
{ (exit 1); exit 1; }; }
2738
# Extract the first word of "python", so it can be a program name with args.
2739
set dummy python; ac_word=$2
2740
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2741
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2742
if test "${ac_cv_path_PYTHON_CONFIG+set}" = set; then
2743
echo $ECHO_N "(cached) $ECHO_C" >&6
2745
case $PYTHON_CONFIG in
2747
ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
2750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754
test -z "$as_dir" && as_dir=.
2755
for ac_exec_ext in '' $ac_executable_extensions; do
2756
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757
ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2758
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765
test -z "$ac_cv_path_PYTHON_CONFIG" && ac_cv_path_PYTHON_CONFIG="no"
2769
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
2770
if test -n "$PYTHON_CONFIG"; then
2771
{ echo "$as_me:$LINENO: result: $PYTHON_CONFIG" >&5
2772
echo "${ECHO_T}$PYTHON_CONFIG" >&6; }
2774
{ echo "$as_me:$LINENO: result: no" >&5
2775
echo "${ECHO_T}no" >&6; }
2779
if test x$PYTHON_CONFIG = xno; then
2780
{ { echo "$as_me:$LINENO: error: Please install the application python" >&5
2781
echo "$as_me: error: Please install the application python" >&2;}
2782
{ (exit 1); exit 1; }; }
2785
# Extract the first word of "su", so it can be a program name with args.
2786
set dummy su; ac_word=$2
2787
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2788
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2789
if test "${ac_cv_path_SU_CONFIG+set}" = set; then
2790
echo $ECHO_N "(cached) $ECHO_C" >&6
2794
ac_cv_path_SU_CONFIG="$SU_CONFIG" # Let the user override the test with a path.
2797
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801
test -z "$as_dir" && as_dir=.
2802
for ac_exec_ext in '' $ac_executable_extensions; do
2803
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804
ac_cv_path_SU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2805
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812
test -z "$ac_cv_path_SU_CONFIG" && ac_cv_path_SU_CONFIG="no"
2816
SU_CONFIG=$ac_cv_path_SU_CONFIG
2817
if test -n "$SU_CONFIG"; then
2818
{ echo "$as_me:$LINENO: result: $SU_CONFIG" >&5
2819
echo "${ECHO_T}$SU_CONFIG" >&6; }
2821
{ echo "$as_me:$LINENO: result: no" >&5
2822
echo "${ECHO_T}no" >&6; }
2826
if test x$BATCH_CONFIG = xno; then
2827
{ { echo "$as_me:$LINENO: error: Please install the application su" >&5
2828
echo "$as_me: error: Please install the application su" >&2;}
2829
{ (exit 1); exit 1; }; }
2833
GETTEXT_PACKAGE=python-schedule
2834
cat >>confdefs.h <<_ACEOF
2835
@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2841
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2842
if test -n "$ac_tool_prefix"; then
2843
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2844
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2845
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2846
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2847
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2848
echo $ECHO_N "(cached) $ECHO_C" >&6
2852
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859
test -z "$as_dir" && as_dir=.
2860
for ac_exec_ext in '' $ac_executable_extensions; do
2861
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2863
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2874
if test -n "$PKG_CONFIG"; then
2875
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2876
echo "${ECHO_T}$PKG_CONFIG" >&6; }
2878
{ echo "$as_me:$LINENO: result: no" >&5
2879
echo "${ECHO_T}no" >&6; }
2884
if test -z "$ac_cv_path_PKG_CONFIG"; then
2885
ac_pt_PKG_CONFIG=$PKG_CONFIG
2886
# Extract the first word of "pkg-config", so it can be a program name with args.
2887
set dummy pkg-config; ac_word=$2
2888
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2889
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2890
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2891
echo $ECHO_N "(cached) $ECHO_C" >&6
2893
case $ac_pt_PKG_CONFIG in
2895
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902
test -z "$as_dir" && as_dir=.
2903
for ac_exec_ext in '' $ac_executable_extensions; do
2904
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2906
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2916
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2917
if test -n "$ac_pt_PKG_CONFIG"; then
2918
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2919
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2921
{ echo "$as_me:$LINENO: result: no" >&5
2922
echo "${ECHO_T}no" >&6; }
2925
if test "x$ac_pt_PKG_CONFIG" = x; then
2928
case $cross_compiling:$ac_tool_warned in
2930
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2931
whose name does not start with the host triplet. If you think this
2932
configuration is useful to you, please write to autoconf@gnu.org." >&5
2933
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2934
whose name does not start with the host triplet. If you think this
2935
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2936
ac_tool_warned=yes ;;
2938
PKG_CONFIG=$ac_pt_PKG_CONFIG
2941
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2945
if test -n "$PKG_CONFIG"; then
2946
_pkg_min_version=0.9.0
2947
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2948
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2949
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2950
{ echo "$as_me:$LINENO: result: yes" >&5
2951
echo "${ECHO_T}yes" >&6; }
2953
{ echo "$as_me:$LINENO: result: no" >&5
2954
echo "${ECHO_T}no" >&6; }
2960
gdu_cv_version_required=0.3.2
2962
if test -n "$PKG_CONFIG" && \
2963
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
2964
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
2966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); }; then
2973
if test "$gdu_cv_have_gdu" = "yes"; then
2976
{ { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
2977
echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
2978
{ (exit 1); exit 1; }; }
2983
# Check whether --with-help-dir was given.
2984
if test "${with_help_dir+set}" = set; then
2985
withval=$with_help_dir;
2987
with_help_dir='${datadir}/gnome/help'
2990
HELP_DIR="$with_help_dir"
2994
# Check whether --with-omf-dir was given.
2995
if test "${with_omf_dir+set}" = set; then
2996
withval=$with_omf_dir;
2998
with_omf_dir='${datadir}/omf'
3001
OMF_DIR="$with_omf_dir"
3005
# Check whether --with-help-formats was given.
3006
if test "${with_help_formats+set}" = set; then
3007
withval=$with_help_formats;
3009
with_help_formats=''
3012
DOC_USER_FORMATS="$with_help_formats"
3015
# Check whether --enable-scrollkeeper was given.
3016
if test "${enable_scrollkeeper+set}" = set; then
3017
enableval=$enable_scrollkeeper;
3019
enable_scrollkeeper=yes
3022
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
3031
if test "$gdu_cv_have_gdu" = "yes"; then
3032
HAVE_GNOME_DOC_UTILS_TRUE=
3033
HAVE_GNOME_DOC_UTILS_FALSE='#'
3035
HAVE_GNOME_DOC_UTILS_TRUE='#'
3036
HAVE_GNOME_DOC_UTILS_FALSE=
3042
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"
3045
{ echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3046
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
3047
# Check whether --enable-nls was given.
3048
if test "${enable_nls+set}" = set; then
3049
enableval=$enable_nls; USE_NLS=$enableval
3054
{ echo "$as_me:$LINENO: result: $USE_NLS" >&5
3055
echo "${ECHO_T}$USE_NLS" >&6; }
3062
# Prepare PATH_SEPARATOR.
3063
# The user is always right.
3064
if test "${PATH_SEPARATOR+set}" != set; then
3065
echo "#! /bin/sh" >conf$$.sh
3066
echo "exit 0" >>conf$$.sh
3068
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3076
# Find out how to test for executable files. Don't use a zero-byte file,
3077
# as systems may use methods other than mode bits to determine executability.
3078
cat >conf$$.file <<_ASEOF
3082
chmod +x conf$$.file
3083
if test -x conf$$.file >/dev/null 2>&1; then
3084
ac_executable_p="test -x"
3086
ac_executable_p="test -f"
3090
# Extract the first word of "msgfmt", so it can be a program name with args.
3091
set dummy msgfmt; ac_word=$2
3092
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3093
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3094
if test "${ac_cv_path_MSGFMT+set}" = set; then
3095
echo $ECHO_N "(cached) $ECHO_C" >&6
3099
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3102
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3103
for ac_dir in $PATH; do
3105
test -z "$ac_dir" && ac_dir=.
3106
for ac_exec_ext in '' $ac_executable_extensions; do
3107
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3108
echo "$as_me: trying $ac_dir/$ac_word..." >&5
3109
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3110
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3111
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3118
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3122
MSGFMT="$ac_cv_path_MSGFMT"
3123
if test "$MSGFMT" != ":"; then
3124
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
3125
echo "${ECHO_T}$MSGFMT" >&6; }
3127
{ echo "$as_me:$LINENO: result: no" >&5
3128
echo "${ECHO_T}no" >&6; }
3131
# Extract the first word of "gmsgfmt", so it can be a program name with args.
3132
set dummy gmsgfmt; ac_word=$2
3133
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3134
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3135
if test "${ac_cv_path_GMSGFMT+set}" = set; then
3136
echo $ECHO_N "(cached) $ECHO_C" >&6
3140
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147
test -z "$as_dir" && as_dir=.
3148
for ac_exec_ext in '' $ac_executable_extensions; do
3149
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3151
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3158
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3162
GMSGFMT=$ac_cv_path_GMSGFMT
3163
if test -n "$GMSGFMT"; then
3164
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3165
echo "${ECHO_T}$GMSGFMT" >&6; }
3167
{ echo "$as_me:$LINENO: result: no" >&5
3168
echo "${ECHO_T}no" >&6; }
3173
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3174
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3175
*) MSGFMT_015=$MSGFMT ;;
3178
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3179
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3180
*) GMSGFMT_015=$GMSGFMT ;;
3185
# Prepare PATH_SEPARATOR.
3186
# The user is always right.
3187
if test "${PATH_SEPARATOR+set}" != set; then
3188
echo "#! /bin/sh" >conf$$.sh
3189
echo "exit 0" >>conf$$.sh
3191
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3199
# Find out how to test for executable files. Don't use a zero-byte file,
3200
# as systems may use methods other than mode bits to determine executability.
3201
cat >conf$$.file <<_ASEOF
3205
chmod +x conf$$.file
3206
if test -x conf$$.file >/dev/null 2>&1; then
3207
ac_executable_p="test -x"
3209
ac_executable_p="test -f"
3213
# Extract the first word of "xgettext", so it can be a program name with args.
3214
set dummy xgettext; ac_word=$2
3215
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3216
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3217
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3218
echo $ECHO_N "(cached) $ECHO_C" >&6
3222
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3225
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3226
for ac_dir in $PATH; do
3228
test -z "$ac_dir" && ac_dir=.
3229
for ac_exec_ext in '' $ac_executable_extensions; do
3230
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3231
echo "$as_me: trying $ac_dir/$ac_word..." >&5
3232
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3233
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3234
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3241
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3245
XGETTEXT="$ac_cv_path_XGETTEXT"
3246
if test "$XGETTEXT" != ":"; then
3247
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3248
echo "${ECHO_T}$XGETTEXT" >&6; }
3250
{ echo "$as_me:$LINENO: result: no" >&5
3251
echo "${ECHO_T}no" >&6; }
3256
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3257
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3258
*) XGETTEXT_015=$XGETTEXT ;;
3263
# Prepare PATH_SEPARATOR.
3264
# The user is always right.
3265
if test "${PATH_SEPARATOR+set}" != set; then
3266
echo "#! /bin/sh" >conf$$.sh
3267
echo "exit 0" >>conf$$.sh
3269
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3277
# Find out how to test for executable files. Don't use a zero-byte file,
3278
# as systems may use methods other than mode bits to determine executability.
3279
cat >conf$$.file <<_ASEOF
3283
chmod +x conf$$.file
3284
if test -x conf$$.file >/dev/null 2>&1; then
3285
ac_executable_p="test -x"
3287
ac_executable_p="test -f"
3291
# Extract the first word of "msgmerge", so it can be a program name with args.
3292
set dummy msgmerge; ac_word=$2
3293
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3294
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3295
if test "${ac_cv_path_MSGMERGE+set}" = set; then
3296
echo $ECHO_N "(cached) $ECHO_C" >&6
3300
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3303
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3304
for ac_dir in $PATH; do
3306
test -z "$ac_dir" && ac_dir=.
3307
for ac_exec_ext in '' $ac_executable_extensions; do
3308
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3309
echo "$as_me: trying $ac_dir/$ac_word..." >&5
3310
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3311
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3318
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3322
MSGMERGE="$ac_cv_path_MSGMERGE"
3323
if test "$MSGMERGE" != ":"; then
3324
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3325
echo "${ECHO_T}$MSGMERGE" >&6; }
3327
{ echo "$as_me:$LINENO: result: no" >&5
3328
echo "${ECHO_T}no" >&6; }
3332
test -n "$localedir" || localedir='${datadir}/locale'
3335
ac_config_commands="$ac_config_commands po-directories"
3339
if test "X$prefix" = "XNONE"; then
3340
acl_final_prefix="$ac_default_prefix"
3342
acl_final_prefix="$prefix"
3344
if test "X$exec_prefix" = "XNONE"; then
3345
acl_final_exec_prefix='${prefix}'
3347
acl_final_exec_prefix="$exec_prefix"
3349
acl_save_prefix="$prefix"
3350
prefix="$acl_final_prefix"
3351
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3352
prefix="$acl_save_prefix"
3354
DEPDIR="${am__leading_dot}deps"
3356
ac_config_commands="$ac_config_commands depfiles"
3359
am_make=${MAKE-make}
3360
cat > confinc << 'END'
3365
# If we don't find an include directive, just comment out the code.
3366
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3367
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3371
# First try GNU make style include.
3372
echo "include confinc" > confmf
3373
# We grep out `Entering directory' and `Leaving directory'
3374
# messages which can occur if `w' ends up in MAKEFLAGS.
3375
# In particular we don't look at `^make:' because GNU make might
3376
# be invoked under some other name (usually "gmake"), in which
3377
# case it prints its new name instead of `make'.
3378
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3383
# Now try BSD make style include.
3384
if test "$am__include" = "#"; then
3385
echo '.include "confinc"' > confmf
3386
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3387
am__include=.include
3394
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3395
echo "${ECHO_T}$_am_result" >&6; }
3396
rm -f confinc confmf
3398
# Check whether --enable-dependency-tracking was given.
3399
if test "${enable_dependency_tracking+set}" = set; then
3400
enableval=$enable_dependency_tracking;
3403
if test "x$enable_dependency_tracking" != xno; then
3404
am_depcomp="$ac_aux_dir/depcomp"
3407
if test "x$enable_dependency_tracking" != xno; then
3417
ac_cpp='$CPP $CPPFLAGS'
3418
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421
if test -n "$ac_tool_prefix"; then
3422
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3423
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3424
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3425
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3426
if test "${ac_cv_prog_CC+set}" = set; then
3427
echo $ECHO_N "(cached) $ECHO_C" >&6
3429
if test -n "$CC"; then
3430
ac_cv_prog_CC="$CC" # Let the user override the test.
3432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436
test -z "$as_dir" && as_dir=.
3437
for ac_exec_ext in '' $ac_executable_extensions; do
3438
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3440
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3450
if test -n "$CC"; then
3451
{ echo "$as_me:$LINENO: result: $CC" >&5
3452
echo "${ECHO_T}$CC" >&6; }
3454
{ echo "$as_me:$LINENO: result: no" >&5
3455
echo "${ECHO_T}no" >&6; }
3460
if test -z "$ac_cv_prog_CC"; then
3462
# Extract the first word of "gcc", so it can be a program name with args.
3463
set dummy gcc; ac_word=$2
3464
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3465
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3467
echo $ECHO_N "(cached) $ECHO_C" >&6
3469
if test -n "$ac_ct_CC"; then
3470
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3472
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476
test -z "$as_dir" && as_dir=.
3477
for ac_exec_ext in '' $ac_executable_extensions; do
3478
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479
ac_cv_prog_ac_ct_CC="gcc"
3480
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3489
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3490
if test -n "$ac_ct_CC"; then
3491
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3492
echo "${ECHO_T}$ac_ct_CC" >&6; }
3494
{ echo "$as_me:$LINENO: result: no" >&5
3495
echo "${ECHO_T}no" >&6; }
3498
if test "x$ac_ct_CC" = x; then
3501
case $cross_compiling:$ac_tool_warned in
3503
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3504
whose name does not start with the host triplet. If you think this
3505
configuration is useful to you, please write to autoconf@gnu.org." >&5
3506
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3507
whose name does not start with the host triplet. If you think this
3508
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3509
ac_tool_warned=yes ;;
3517
if test -z "$CC"; then
3518
if test -n "$ac_tool_prefix"; then
3519
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3520
set dummy ${ac_tool_prefix}cc; ac_word=$2
3521
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3522
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3523
if test "${ac_cv_prog_CC+set}" = set; then
3524
echo $ECHO_N "(cached) $ECHO_C" >&6
3526
if test -n "$CC"; then
3527
ac_cv_prog_CC="$CC" # Let the user override the test.
3529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533
test -z "$as_dir" && as_dir=.
3534
for ac_exec_ext in '' $ac_executable_extensions; do
3535
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3536
ac_cv_prog_CC="${ac_tool_prefix}cc"
3537
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547
if test -n "$CC"; then
3548
{ echo "$as_me:$LINENO: result: $CC" >&5
3549
echo "${ECHO_T}$CC" >&6; }
3551
{ echo "$as_me:$LINENO: result: no" >&5
3552
echo "${ECHO_T}no" >&6; }
3558
if test -z "$CC"; then
3559
# Extract the first word of "cc", so it can be a program name with args.
3560
set dummy cc; ac_word=$2
3561
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3562
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3563
if test "${ac_cv_prog_CC+set}" = set; then
3564
echo $ECHO_N "(cached) $ECHO_C" >&6
3566
if test -n "$CC"; then
3567
ac_cv_prog_CC="$CC" # Let the user override the test.
3570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574
test -z "$as_dir" && as_dir=.
3575
for ac_exec_ext in '' $ac_executable_extensions; do
3576
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3577
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3578
ac_prog_rejected=yes
3582
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3589
if test $ac_prog_rejected = yes; then
3590
# We found a bogon in the path, so make sure we never use it.
3591
set dummy $ac_cv_prog_CC
3593
if test $@%:@ != 0; then
3594
# We chose a different compiler from the bogus one.
3595
# However, it has the same basename, so the bogon will be chosen
3596
# first if we set CC to just the basename; use the full file name.
3598
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3604
if test -n "$CC"; then
3605
{ echo "$as_me:$LINENO: result: $CC" >&5
3606
echo "${ECHO_T}$CC" >&6; }
3608
{ echo "$as_me:$LINENO: result: no" >&5
3609
echo "${ECHO_T}no" >&6; }
3614
if test -z "$CC"; then
3615
if test -n "$ac_tool_prefix"; then
3616
for ac_prog in cl.exe
3618
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3619
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3620
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3621
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3622
if test "${ac_cv_prog_CC+set}" = set; then
3623
echo $ECHO_N "(cached) $ECHO_C" >&6
3625
if test -n "$CC"; then
3626
ac_cv_prog_CC="$CC" # Let the user override the test.
3628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3632
test -z "$as_dir" && as_dir=.
3633
for ac_exec_ext in '' $ac_executable_extensions; do
3634
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3636
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3646
if test -n "$CC"; then
3647
{ echo "$as_me:$LINENO: result: $CC" >&5
3648
echo "${ECHO_T}$CC" >&6; }
3650
{ echo "$as_me:$LINENO: result: no" >&5
3651
echo "${ECHO_T}no" >&6; }
3655
test -n "$CC" && break
3658
if test -z "$CC"; then
3660
for ac_prog in cl.exe
3662
# Extract the first word of "$ac_prog", so it can be a program name with args.
3663
set dummy $ac_prog; ac_word=$2
3664
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3666
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3667
echo $ECHO_N "(cached) $ECHO_C" >&6
3669
if test -n "$ac_ct_CC"; then
3670
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676
test -z "$as_dir" && as_dir=.
3677
for ac_exec_ext in '' $ac_executable_extensions; do
3678
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679
ac_cv_prog_ac_ct_CC="$ac_prog"
3680
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3689
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3690
if test -n "$ac_ct_CC"; then
3691
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3692
echo "${ECHO_T}$ac_ct_CC" >&6; }
3694
{ echo "$as_me:$LINENO: result: no" >&5
3695
echo "${ECHO_T}no" >&6; }
3699
test -n "$ac_ct_CC" && break
3702
if test "x$ac_ct_CC" = x; then
3705
case $cross_compiling:$ac_tool_warned in
3707
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3708
whose name does not start with the host triplet. If you think this
3709
configuration is useful to you, please write to autoconf@gnu.org." >&5
3710
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3711
whose name does not start with the host triplet. If you think this
3712
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3713
ac_tool_warned=yes ;;
3722
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3723
See \`config.log' for more details." >&5
3724
echo "$as_me: error: no acceptable C compiler found in \$PATH
3725
See \`config.log' for more details." >&2;}
3726
{ (exit 1); exit 1; }; }
3728
# Provide some information about the compiler.
3729
echo "$as_me:$LINENO: checking for C compiler version" >&5
3730
ac_compiler=`set X $ac_compile; echo $2`
3731
{ (ac_try="$ac_compiler --version >&5"
3733
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734
*) ac_try_echo=$ac_try;;
3736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3737
(eval "$ac_compiler --version >&5") 2>&5
3739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740
(exit $ac_status); }
3741
{ (ac_try="$ac_compiler -v >&5"
3743
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744
*) ac_try_echo=$ac_try;;
3746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3747
(eval "$ac_compiler -v >&5") 2>&5
3749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750
(exit $ac_status); }
3751
{ (ac_try="$ac_compiler -V >&5"
3753
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754
*) ac_try_echo=$ac_try;;
3756
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3757
(eval "$ac_compiler -V >&5") 2>&5
3759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760
(exit $ac_status); }
3762
cat >conftest.$ac_ext <<_ACEOF
3765
cat confdefs.h >>conftest.$ac_ext
3766
cat >>conftest.$ac_ext <<_ACEOF
3767
/* end confdefs.h. */
3777
ac_clean_files_save=$ac_clean_files
3778
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3779
# Try to create an executable without -o first, disregard a.out.
3780
# It will help us diagnose broken compilers, and finding out an intuition
3782
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3783
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3784
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3786
# List of possible output files, starting from the most likely.
3787
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3788
# only as a last resort. b.out is created by i960 compilers.
3789
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3791
# The IRIX 6 linker writes into existing files which may not be
3792
# executable, retaining their permissions. Remove them first so a
3793
# subsequent execution test works.
3795
for ac_file in $ac_files
3798
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3799
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3804
if { (ac_try="$ac_link_default"
3806
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807
*) ac_try_echo=$ac_try;;
3809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810
(eval "$ac_link_default") 2>&5
3812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813
(exit $ac_status); }; then
3814
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3815
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3816
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3817
# so that the user can short-circuit this test for compilers unknown to
3819
for ac_file in $ac_files ''
3821
test -f "$ac_file" || continue
3823
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3826
# We found the default executable, but exeext='' is most
3830
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3832
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3834
# We set ac_cv_exeext here because the later test for it is not
3835
# safe: cross compilers may not add the suffix if given an `-o'
3836
# argument, so we may need to know it at that point already.
3837
# Even if this section looks crufty: it has the advantage of
3844
test "$ac_cv_exeext" = no && ac_cv_exeext=
3850
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3851
echo "${ECHO_T}$ac_file" >&6; }
3852
if test -z "$ac_file"; then
3853
echo "$as_me: failed program was:" >&5
3854
sed 's/^/| /' conftest.$ac_ext >&5
3856
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3857
See \`config.log' for more details." >&5
3858
echo "$as_me: error: C compiler cannot create executables
3859
See \`config.log' for more details." >&2;}
3860
{ (exit 77); exit 77; }; }
3863
ac_exeext=$ac_cv_exeext
3865
# Check that the compiler produces executables we can run. If not, either
3866
# the compiler is broken, or we cross compile.
3867
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3868
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3869
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3870
# If not cross compiling, check that we can run a simple program.
3871
if test "$cross_compiling" != yes; then
3872
if { ac_try='./$ac_file'
3873
{ (case "(($ac_try" in
3874
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875
*) ac_try_echo=$ac_try;;
3877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3878
(eval "$ac_try") 2>&5
3880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881
(exit $ac_status); }; }; then
3884
if test "$cross_compiling" = maybe; then
3887
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3888
If you meant to cross compile, use \`--host'.
3889
See \`config.log' for more details." >&5
3890
echo "$as_me: error: cannot run C compiled programs.
3891
If you meant to cross compile, use \`--host'.
3892
See \`config.log' for more details." >&2;}
3893
{ (exit 1); exit 1; }; }
3897
{ echo "$as_me:$LINENO: result: yes" >&5
3898
echo "${ECHO_T}yes" >&6; }
3900
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3901
ac_clean_files=$ac_clean_files_save
3902
# Check that the compiler produces executables we can run. If not, either
3903
# the compiler is broken, or we cross compile.
3904
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3905
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3906
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3907
echo "${ECHO_T}$cross_compiling" >&6; }
3909
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3910
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3911
if { (ac_try="$ac_link"
3913
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914
*) ac_try_echo=$ac_try;;
3916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3917
(eval "$ac_link") 2>&5
3919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920
(exit $ac_status); }; then
3921
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3922
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3923
# work properly (i.e., refer to `conftest.exe'), while it won't with
3925
for ac_file in conftest.exe conftest conftest.*; do
3926
test -f "$ac_file" || continue
3928
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3929
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3935
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3936
See \`config.log' for more details." >&5
3937
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3938
See \`config.log' for more details." >&2;}
3939
{ (exit 1); exit 1; }; }
3942
rm -f conftest$ac_cv_exeext
3943
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3944
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3946
rm -f conftest.$ac_ext
3947
EXEEXT=$ac_cv_exeext
3949
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3950
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3951
if test "${ac_cv_objext+set}" = set; then
3952
echo $ECHO_N "(cached) $ECHO_C" >&6
3954
cat >conftest.$ac_ext <<_ACEOF
3957
cat confdefs.h >>conftest.$ac_ext
3958
cat >>conftest.$ac_ext <<_ACEOF
3959
/* end confdefs.h. */
3969
rm -f conftest.o conftest.obj
3970
if { (ac_try="$ac_compile"
3972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973
*) ac_try_echo=$ac_try;;
3975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3976
(eval "$ac_compile") 2>&5
3978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979
(exit $ac_status); }; then
3980
for ac_file in conftest.o conftest.obj conftest.*; do
3981
test -f "$ac_file" || continue;
3983
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3984
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3989
echo "$as_me: failed program was:" >&5
3990
sed 's/^/| /' conftest.$ac_ext >&5
3992
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3993
See \`config.log' for more details." >&5
3994
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3995
See \`config.log' for more details." >&2;}
3996
{ (exit 1); exit 1; }; }
3999
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4001
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4002
echo "${ECHO_T}$ac_cv_objext" >&6; }
4003
OBJEXT=$ac_cv_objext
4005
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4006
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4007
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4008
echo $ECHO_N "(cached) $ECHO_C" >&6
4010
cat >conftest.$ac_ext <<_ACEOF
4013
cat confdefs.h >>conftest.$ac_ext
4014
cat >>conftest.$ac_ext <<_ACEOF
4015
/* end confdefs.h. */
4028
rm -f conftest.$ac_objext
4029
if { (ac_try="$ac_compile"
4031
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032
*) ac_try_echo=$ac_try;;
4034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035
(eval "$ac_compile") 2>conftest.er1
4037
grep -v '^ *+' conftest.er1 >conftest.err
4039
cat conftest.err >&5
4040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041
(exit $ac_status); } && {
4042
test -z "$ac_c_werror_flag" ||
4043
test ! -s conftest.err
4044
} && test -s conftest.$ac_objext; then
4047
echo "$as_me: failed program was:" >&5
4048
sed 's/^/| /' conftest.$ac_ext >&5
4053
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4057
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4058
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4059
GCC=`test $ac_compiler_gnu = yes && echo yes`
4060
ac_test_CFLAGS=${CFLAGS+set}
4061
ac_save_CFLAGS=$CFLAGS
4062
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4063
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4064
if test "${ac_cv_prog_cc_g+set}" = set; then
4065
echo $ECHO_N "(cached) $ECHO_C" >&6
4067
ac_save_c_werror_flag=$ac_c_werror_flag
4068
ac_c_werror_flag=yes
4071
cat >conftest.$ac_ext <<_ACEOF
4074
cat confdefs.h >>conftest.$ac_ext
4075
cat >>conftest.$ac_ext <<_ACEOF
4076
/* end confdefs.h. */
4086
rm -f conftest.$ac_objext
4087
if { (ac_try="$ac_compile"
4089
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090
*) ac_try_echo=$ac_try;;
4092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4093
(eval "$ac_compile") 2>conftest.er1
4095
grep -v '^ *+' conftest.er1 >conftest.err
4097
cat conftest.err >&5
4098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099
(exit $ac_status); } && {
4100
test -z "$ac_c_werror_flag" ||
4101
test ! -s conftest.err
4102
} && test -s conftest.$ac_objext; then
4105
echo "$as_me: failed program was:" >&5
4106
sed 's/^/| /' conftest.$ac_ext >&5
4109
cat >conftest.$ac_ext <<_ACEOF
4112
cat confdefs.h >>conftest.$ac_ext
4113
cat >>conftest.$ac_ext <<_ACEOF
4114
/* end confdefs.h. */
4124
rm -f conftest.$ac_objext
4125
if { (ac_try="$ac_compile"
4127
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128
*) ac_try_echo=$ac_try;;
4130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131
(eval "$ac_compile") 2>conftest.er1
4133
grep -v '^ *+' conftest.er1 >conftest.err
4135
cat conftest.err >&5
4136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137
(exit $ac_status); } && {
4138
test -z "$ac_c_werror_flag" ||
4139
test ! -s conftest.err
4140
} && test -s conftest.$ac_objext; then
4143
echo "$as_me: failed program was:" >&5
4144
sed 's/^/| /' conftest.$ac_ext >&5
4146
ac_c_werror_flag=$ac_save_c_werror_flag
4148
cat >conftest.$ac_ext <<_ACEOF
4151
cat confdefs.h >>conftest.$ac_ext
4152
cat >>conftest.$ac_ext <<_ACEOF
4153
/* end confdefs.h. */
4163
rm -f conftest.$ac_objext
4164
if { (ac_try="$ac_compile"
4166
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167
*) ac_try_echo=$ac_try;;
4169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170
(eval "$ac_compile") 2>conftest.er1
4172
grep -v '^ *+' conftest.er1 >conftest.err
4174
cat conftest.err >&5
4175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176
(exit $ac_status); } && {
4177
test -z "$ac_c_werror_flag" ||
4178
test ! -s conftest.err
4179
} && test -s conftest.$ac_objext; then
4182
echo "$as_me: failed program was:" >&5
4183
sed 's/^/| /' conftest.$ac_ext >&5
4188
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195
ac_c_werror_flag=$ac_save_c_werror_flag
4197
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4198
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4199
if test "$ac_test_CFLAGS" = set; then
4200
CFLAGS=$ac_save_CFLAGS
4201
elif test $ac_cv_prog_cc_g = yes; then
4202
if test "$GCC" = yes; then
4208
if test "$GCC" = yes; then
4214
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4215
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4216
if test "${ac_cv_prog_cc_c89+set}" = set; then
4217
echo $ECHO_N "(cached) $ECHO_C" >&6
4219
ac_cv_prog_cc_c89=no
4221
cat >conftest.$ac_ext <<_ACEOF
4224
cat confdefs.h >>conftest.$ac_ext
4225
cat >>conftest.$ac_ext <<_ACEOF
4226
/* end confdefs.h. */
4229
#include <sys/types.h>
4230
#include <sys/stat.h>
4231
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4232
struct buf { int x; };
4233
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4234
static char *e (p, i)
4240
static char *f (char * (*g) (char **, int), char **p, ...)
4245
s = g (p, va_arg (v,int));
4250
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4251
function prototypes and stuff, but not '\xHH' hex character constants.
4252
These don't provoke an error unfortunately, instead are silently treated
4253
as 'x'. The following induces an error, until -std is added to get
4254
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4255
array size at least. It's necessary to write '\x00'==0 to get something
4256
that's true only with -std. */
4257
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4259
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4260
inside strings and character constants. */
4262
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4264
int test (int i, double x);
4265
struct s1 {int (*f) (int a);};
4266
struct s2 {int (*f) (double a);};
4267
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4273
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4278
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4279
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4281
CC="$ac_save_CC $ac_arg"
4282
rm -f conftest.$ac_objext
4283
if { (ac_try="$ac_compile"
4285
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286
*) ac_try_echo=$ac_try;;
4288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289
(eval "$ac_compile") 2>conftest.er1
4291
grep -v '^ *+' conftest.er1 >conftest.err
4293
cat conftest.err >&5
4294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295
(exit $ac_status); } && {
4296
test -z "$ac_c_werror_flag" ||
4297
test ! -s conftest.err
4298
} && test -s conftest.$ac_objext; then
4299
ac_cv_prog_cc_c89=$ac_arg
4301
echo "$as_me: failed program was:" >&5
4302
sed 's/^/| /' conftest.$ac_ext >&5
4307
rm -f core conftest.err conftest.$ac_objext
4308
test "x$ac_cv_prog_cc_c89" != "xno" && break
4310
rm -f conftest.$ac_ext
4315
case "x$ac_cv_prog_cc_c89" in
4317
{ echo "$as_me:$LINENO: result: none needed" >&5
4318
echo "${ECHO_T}none needed" >&6; } ;;
4320
{ echo "$as_me:$LINENO: result: unsupported" >&5
4321
echo "${ECHO_T}unsupported" >&6; } ;;
4323
CC="$CC $ac_cv_prog_cc_c89"
4324
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4325
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4330
ac_cpp='$CPP $CPPFLAGS'
4331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335
depcc="$CC" am_compiler_list=
4337
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4338
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4339
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4340
echo $ECHO_N "(cached) $ECHO_C" >&6
4342
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4343
# We make a subdir and do the tests there. Otherwise we can end up
4344
# making bogus files that we don't know about and never remove. For
4345
# instance it was reported that on HP-UX the gcc test will end up
4346
# making a dummy file named `D' -- because `-MD' means `put the output
4349
# Copy depcomp to subdir because otherwise we won't find it if we're
4350
# using a relative directory.
4351
cp "$am_depcomp" conftest.dir
4353
# We will build objects and dependencies in a subdirectory because
4354
# it helps to detect inapplicable dependency modes. For instance
4355
# both Tru64's cc and ICC support -MD to output dependencies as a
4356
# side effect of compilation, but ICC will put the dependencies in
4357
# the current directory while Tru64 will put them in the object
4361
am_cv_CC_dependencies_compiler_type=none
4362
if test "$am_compiler_list" = ""; then
4363
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4365
for depmode in $am_compiler_list; do
4366
# Setup a source with many dependencies, because some compilers
4367
# like to wrap large dependency lists on column 80 (with \), and
4368
# we should not choose a depcomp mode which is confused by this.
4370
# We need to recreate these files for each test, as the compiler may
4371
# overwrite some of them when testing with obscure command lines.
4372
# This happens at least with the AIX C compiler.
4374
for i in 1 2 3 4 5 6; do
4375
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4376
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4377
# Solaris 8's {/usr,}/bin/sh.
4378
touch sub/conftst$i.h
4380
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4384
# after this tag, mechanisms are not by side-effect, so they'll
4385
# only be used when explicitly requested
4386
if test "x$enable_dependency_tracking" = xyes; then
4394
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4395
# mode. It turns out that the SunPro C++ compiler does not properly
4396
# handle `-M -o', and we need to detect this.
4397
if depmode=$depmode \
4398
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4399
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4400
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4401
>/dev/null 2>conftest.err &&
4402
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4403
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4404
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4405
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4406
# icc doesn't choke on unknown options, it will just issue warnings
4407
# or remarks (even with -Werror). So we grep stderr for any message
4408
# that says an option was ignored or not supported.
4409
# When given -MP, icc 7.0 and 7.1 complain thusly:
4410
# icc: Command line warning: ignoring option '-M'; no argument required
4411
# The diagnosis changed in icc 8.0:
4412
# icc: Command line remark: option '-MP' not supported
4413
if (grep 'ignoring option' conftest.err ||
4414
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4415
am_cv_CC_dependencies_compiler_type=$depmode
4424
am_cv_CC_dependencies_compiler_type=none
4428
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4429
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4430
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4433
test "x$enable_dependency_tracking" != xno \
4434
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4436
am__fastdepCC_FALSE='#'
4438
am__fastdepCC_TRUE='#'
4439
am__fastdepCC_FALSE=
4443
# Make sure we can run config.sub.
4444
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4445
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4446
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4447
{ (exit 1); exit 1; }; }
4449
{ echo "$as_me:$LINENO: checking build system type" >&5
4450
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4451
if test "${ac_cv_build+set}" = set; then
4452
echo $ECHO_N "(cached) $ECHO_C" >&6
4454
ac_build_alias=$build_alias
4455
test "x$ac_build_alias" = x &&
4456
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4457
test "x$ac_build_alias" = x &&
4458
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4459
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4460
{ (exit 1); exit 1; }; }
4461
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4462
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4463
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4464
{ (exit 1); exit 1; }; }
4467
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4468
echo "${ECHO_T}$ac_cv_build" >&6; }
4469
case $ac_cv_build in
4471
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4472
echo "$as_me: error: invalid value of canonical build" >&2;}
4473
{ (exit 1); exit 1; }; };;
4476
ac_save_IFS=$IFS; IFS='-'
4482
# Remember, the first character of IFS is used to create $*,
4483
# except with old shells:
4486
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4489
{ echo "$as_me:$LINENO: checking host system type" >&5
4490
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4491
if test "${ac_cv_host+set}" = set; then
4492
echo $ECHO_N "(cached) $ECHO_C" >&6
4494
if test "x$host_alias" = x; then
4495
ac_cv_host=$ac_cv_build
4497
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4498
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4499
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4500
{ (exit 1); exit 1; }; }
4504
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4505
echo "${ECHO_T}$ac_cv_host" >&6; }
4508
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4509
echo "$as_me: error: invalid value of canonical host" >&2;}
4510
{ (exit 1); exit 1; }; };;
4513
ac_save_IFS=$IFS; IFS='-'
4519
# Remember, the first character of IFS is used to create $*,
4520
# except with old shells:
4523
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4527
# Check whether --with-gnu-ld was given.
4528
if test "${with_gnu_ld+set}" = set; then
4529
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4534
# Prepare PATH_SEPARATOR.
4535
# The user is always right.
4536
if test "${PATH_SEPARATOR+set}" != set; then
4537
echo "#! /bin/sh" >conf$$.sh
4538
echo "exit 0" >>conf$$.sh
4540
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4548
if test "$GCC" = yes; then
4549
# Check if gcc -print-prog-name=ld gives a path.
4550
{ echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4551
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
4554
# gcc leaves a trailing carriage return which upsets mingw
4555
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4557
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4560
# Accept absolute paths.
4561
[\\/]* | [A-Za-z]:[\\/]*)
4562
re_direlt='/[^/][^/]*/\.\./'
4563
# Canonicalize the path of ld
4564
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4565
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4566
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4568
test -z "$LD" && LD="$ac_prog"
4571
# If it fails, then pretend we aren't using GCC.
4575
# If it is relative, then search for the first ld in PATH.
4579
elif test "$with_gnu_ld" = yes; then
4580
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
4581
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4583
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4584
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4586
if test "${acl_cv_path_LD+set}" = set; then
4587
echo $ECHO_N "(cached) $ECHO_C" >&6
4589
if test -z "$LD"; then
4590
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4591
for ac_dir in $PATH; do
4592
test -z "$ac_dir" && ac_dir=.
4593
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4594
acl_cv_path_LD="$ac_dir/$ac_prog"
4595
# Check to see if the program is GNU ld. I'd rather use --version,
4596
# but apparently some GNU ld's only accept -v.
4597
# Break only if it was the GNU/non-GNU ld that we prefer.
4598
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4599
*GNU* | *'with BFD'*)
4600
test "$with_gnu_ld" != no && break ;;
4602
test "$with_gnu_ld" != yes && break ;;
4608
acl_cv_path_LD="$LD" # Let the user override the test with a path.
4612
LD="$acl_cv_path_LD"
4613
if test -n "$LD"; then
4614
{ echo "$as_me:$LINENO: result: $LD" >&5
4615
echo "${ECHO_T}$LD" >&6; }
4617
{ echo "$as_me:$LINENO: result: no" >&5
4618
echo "${ECHO_T}no" >&6; }
4620
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4621
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4622
{ (exit 1); exit 1; }; }
4623
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4624
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4625
if test "${acl_cv_prog_gnu_ld+set}" = set; then
4626
echo $ECHO_N "(cached) $ECHO_C" >&6
4628
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
4629
case `$LD -v 2>&1 </dev/null` in
4630
*GNU* | *'with BFD'*)
4631
acl_cv_prog_gnu_ld=yes ;;
4633
acl_cv_prog_gnu_ld=no ;;
4636
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4637
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
4638
with_gnu_ld=$acl_cv_prog_gnu_ld
4643
{ echo "$as_me:$LINENO: checking for shared library run path origin" >&5
4644
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
4645
if test "${acl_cv_rpath+set}" = set; then
4646
echo $ECHO_N "(cached) $ECHO_C" >&6
4649
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4650
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4656
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
4657
echo "${ECHO_T}$acl_cv_rpath" >&6; }
4659
libext="$acl_cv_libext"
4660
shlibext="$acl_cv_shlibext"
4661
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4662
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4663
hardcode_direct="$acl_cv_hardcode_direct"
4664
hardcode_minus_L="$acl_cv_hardcode_minus_L"
4665
# Check whether --enable-rpath was given.
4666
if test "${enable_rpath+set}" = set; then
4667
enableval=$enable_rpath; :
4675
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4676
if test -n "$searchpath"; then
4677
acl_save_IFS="${IFS= }"; IFS=":"
4678
for searchdir in $searchpath; do
4679
if test -d "$searchdir"; then
4680
case "$searchdir" in
4681
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4682
*) searchdir=`cd "$searchdir" && pwd`
4683
case "$searchdir" in
4684
*/lib64 ) acl_libdirstem=lib64 ;;
4701
acl_save_prefix="$prefix"
4702
prefix="$acl_final_prefix"
4703
acl_save_exec_prefix="$exec_prefix"
4704
exec_prefix="$acl_final_exec_prefix"
4706
eval additional_includedir=\"$includedir\"
4707
eval additional_libdir=\"$libdir\"
4709
exec_prefix="$acl_save_exec_prefix"
4710
prefix="$acl_save_prefix"
4713
# Check whether --with-libiconv-prefix was given.
4714
if test "${with_libiconv_prefix+set}" = set; then
4715
withval=$with_libiconv_prefix;
4716
if test "X$withval" = "Xno"; then
4719
if test "X$withval" = "X"; then
4721
acl_save_prefix="$prefix"
4722
prefix="$acl_final_prefix"
4723
acl_save_exec_prefix="$exec_prefix"
4724
exec_prefix="$acl_final_exec_prefix"
4726
eval additional_includedir=\"$includedir\"
4727
eval additional_libdir=\"$libdir\"
4729
exec_prefix="$acl_save_exec_prefix"
4730
prefix="$acl_save_prefix"
4733
additional_includedir="$withval/include"
4734
additional_libdir="$withval/$acl_libdirstem"
4745
names_already_handled=
4746
names_next_round='iconv '
4747
while test -n "$names_next_round"; do
4748
names_this_round="$names_next_round"
4750
for name in $names_this_round; do
4752
for n in $names_already_handled; do
4753
if test "$n" = "$name"; then
4758
if test -z "$already_handled"; then
4759
names_already_handled="$names_already_handled $name"
4760
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4761
eval value=\"\$HAVE_LIB$uppername\"
4762
if test -n "$value"; then
4763
if test "$value" = yes; then
4764
eval value=\"\$LIB$uppername\"
4765
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4766
eval value=\"\$LTLIB$uppername\"
4767
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4776
if test $use_additional = yes; then
4777
if test -n "$shlibext" \
4778
&& { test -f "$additional_libdir/lib$name.$shlibext" \
4779
|| { test "$shlibext" = dll \
4780
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; then
4781
found_dir="$additional_libdir"
4782
if test -f "$additional_libdir/lib$name.$shlibext"; then
4783
found_so="$additional_libdir/lib$name.$shlibext"
4785
found_so="$additional_libdir/lib$name.dll.a"
4787
if test -f "$additional_libdir/lib$name.la"; then
4788
found_la="$additional_libdir/lib$name.la"
4791
if test -f "$additional_libdir/lib$name.$libext"; then
4792
found_dir="$additional_libdir"
4793
found_a="$additional_libdir/lib$name.$libext"
4794
if test -f "$additional_libdir/lib$name.la"; then
4795
found_la="$additional_libdir/lib$name.la"
4800
if test "X$found_dir" = "X"; then
4801
for x in $LDFLAGS $LTLIBICONV; do
4803
acl_save_prefix="$prefix"
4804
prefix="$acl_final_prefix"
4805
acl_save_exec_prefix="$exec_prefix"
4806
exec_prefix="$acl_final_exec_prefix"
4808
exec_prefix="$acl_save_exec_prefix"
4809
prefix="$acl_save_prefix"
4813
dir=`echo "X$x" | sed -e 's/^X-L//'`
4814
if test -n "$shlibext" \
4815
&& { test -f "$dir/lib$name.$shlibext" \
4816
|| { test "$shlibext" = dll \
4817
&& test -f "$dir/lib$name.dll.a"; }; }; then
4819
if test -f "$dir/lib$name.$shlibext"; then
4820
found_so="$dir/lib$name.$shlibext"
4822
found_so="$dir/lib$name.dll.a"
4824
if test -f "$dir/lib$name.la"; then
4825
found_la="$dir/lib$name.la"
4828
if test -f "$dir/lib$name.$libext"; then
4830
found_a="$dir/lib$name.$libext"
4831
if test -f "$dir/lib$name.la"; then
4832
found_la="$dir/lib$name.la"
4838
if test "X$found_dir" != "X"; then
4843
if test "X$found_dir" != "X"; then
4844
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4845
if test "X$found_so" != "X"; then
4846
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4847
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4850
for x in $ltrpathdirs; do
4851
if test "X$x" = "X$found_dir"; then
4856
if test -z "$haveit"; then
4857
ltrpathdirs="$ltrpathdirs $found_dir"
4859
if test "$hardcode_direct" = yes; then
4860
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4862
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4863
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4865
for x in $rpathdirs; do
4866
if test "X$x" = "X$found_dir"; then
4871
if test -z "$haveit"; then
4872
rpathdirs="$rpathdirs $found_dir"
4876
for x in $LDFLAGS $LIBICONV; do
4878
acl_save_prefix="$prefix"
4879
prefix="$acl_final_prefix"
4880
acl_save_exec_prefix="$exec_prefix"
4881
exec_prefix="$acl_final_exec_prefix"
4883
exec_prefix="$acl_save_exec_prefix"
4884
prefix="$acl_save_prefix"
4886
if test "X$x" = "X-L$found_dir"; then
4891
if test -z "$haveit"; then
4892
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4894
if test "$hardcode_minus_L" != no; then
4895
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4897
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4903
if test "X$found_a" != "X"; then
4904
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4906
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4909
additional_includedir=
4910
case "$found_dir" in
4911
*/$acl_libdirstem | */$acl_libdirstem/)
4912
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4913
additional_includedir="$basedir/include"
4916
if test "X$additional_includedir" != "X"; then
4917
if test "X$additional_includedir" != "X/usr/include"; then
4919
if test "X$additional_includedir" = "X/usr/local/include"; then
4920
if test -n "$GCC"; then
4922
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4926
if test -z "$haveit"; then
4927
for x in $CPPFLAGS $INCICONV; do
4929
acl_save_prefix="$prefix"
4930
prefix="$acl_final_prefix"
4931
acl_save_exec_prefix="$exec_prefix"
4932
exec_prefix="$acl_final_exec_prefix"
4934
exec_prefix="$acl_save_exec_prefix"
4935
prefix="$acl_save_prefix"
4937
if test "X$x" = "X-I$additional_includedir"; then
4942
if test -z "$haveit"; then
4943
if test -d "$additional_includedir"; then
4944
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4950
if test -n "$found_la"; then
4951
save_libdir="$libdir"
4953
*/* | *\\*) . "$found_la" ;;
4954
*) . "./$found_la" ;;
4956
libdir="$save_libdir"
4957
for dep in $dependency_libs; do
4960
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4961
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4963
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4964
if test -n "$GCC"; then
4966
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4970
if test -z "$haveit"; then
4972
for x in $LDFLAGS $LIBICONV; do
4974
acl_save_prefix="$prefix"
4975
prefix="$acl_final_prefix"
4976
acl_save_exec_prefix="$exec_prefix"
4977
exec_prefix="$acl_final_exec_prefix"
4979
exec_prefix="$acl_save_exec_prefix"
4980
prefix="$acl_save_prefix"
4982
if test "X$x" = "X-L$additional_libdir"; then
4987
if test -z "$haveit"; then
4988
if test -d "$additional_libdir"; then
4989
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4993
for x in $LDFLAGS $LTLIBICONV; do
4995
acl_save_prefix="$prefix"
4996
prefix="$acl_final_prefix"
4997
acl_save_exec_prefix="$exec_prefix"
4998
exec_prefix="$acl_final_exec_prefix"
5000
exec_prefix="$acl_save_exec_prefix"
5001
prefix="$acl_save_prefix"
5003
if test "X$x" = "X-L$additional_libdir"; then
5008
if test -z "$haveit"; then
5009
if test -d "$additional_libdir"; then
5010
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5017
dir=`echo "X$dep" | sed -e 's/^X-R//'`
5018
if test "$enable_rpath" != no; then
5020
for x in $rpathdirs; do
5021
if test "X$x" = "X$dir"; then
5026
if test -z "$haveit"; then
5027
rpathdirs="$rpathdirs $dir"
5030
for x in $ltrpathdirs; do
5031
if test "X$x" = "X$dir"; then
5036
if test -z "$haveit"; then
5037
ltrpathdirs="$ltrpathdirs $dir"
5042
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5045
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5048
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5049
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5055
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5056
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5062
if test "X$rpathdirs" != "X"; then
5063
if test -n "$hardcode_libdir_separator"; then
5065
for found_dir in $rpathdirs; do
5066
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5068
acl_save_libdir="$libdir"
5070
eval flag=\"$hardcode_libdir_flag_spec\"
5071
libdir="$acl_save_libdir"
5072
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5074
for found_dir in $rpathdirs; do
5075
acl_save_libdir="$libdir"
5077
eval flag=\"$hardcode_libdir_flag_spec\"
5078
libdir="$acl_save_libdir"
5079
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5083
if test "X$ltrpathdirs" != "X"; then
5084
for found_dir in $ltrpathdirs; do
5085
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5114
{ echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
5115
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
5116
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
5117
echo $ECHO_N "(cached) $ECHO_C" >&6
5119
gt_save_LIBS="$LIBS"
5120
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5121
cat >conftest.$ac_ext <<_ACEOF
5124
cat confdefs.h >>conftest.$ac_ext
5125
cat >>conftest.$ac_ext <<_ACEOF
5126
/* end confdefs.h. */
5127
#include <CoreFoundation/CFPreferences.h>
5131
CFPreferencesCopyAppValue(NULL, NULL)
5136
rm -f conftest.$ac_objext conftest$ac_exeext
5137
if { (ac_try="$ac_link"
5139
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140
*) ac_try_echo=$ac_try;;
5142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5143
(eval "$ac_link") 2>conftest.er1
5145
grep -v '^ *+' conftest.er1 >conftest.err
5147
cat conftest.err >&5
5148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149
(exit $ac_status); } && {
5150
test -z "$ac_c_werror_flag" ||
5151
test ! -s conftest.err
5152
} && test -s conftest$ac_exeext &&
5153
$as_test_x conftest$ac_exeext; then
5154
gt_cv_func_CFPreferencesCopyAppValue=yes
5156
echo "$as_me: failed program was:" >&5
5157
sed 's/^/| /' conftest.$ac_ext >&5
5159
gt_cv_func_CFPreferencesCopyAppValue=no
5162
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5163
conftest$ac_exeext conftest.$ac_ext
5164
LIBS="$gt_save_LIBS"
5166
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5167
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5168
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5170
cat >>confdefs.h <<\_ACEOF
5171
@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5175
{ echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
5176
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
5177
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
5178
echo $ECHO_N "(cached) $ECHO_C" >&6
5180
gt_save_LIBS="$LIBS"
5181
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5182
cat >conftest.$ac_ext <<_ACEOF
5185
cat confdefs.h >>conftest.$ac_ext
5186
cat >>conftest.$ac_ext <<_ACEOF
5187
/* end confdefs.h. */
5188
#include <CoreFoundation/CFLocale.h>
5192
CFLocaleCopyCurrent();
5197
rm -f conftest.$ac_objext conftest$ac_exeext
5198
if { (ac_try="$ac_link"
5200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201
*) ac_try_echo=$ac_try;;
5203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204
(eval "$ac_link") 2>conftest.er1
5206
grep -v '^ *+' conftest.er1 >conftest.err
5208
cat conftest.err >&5
5209
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210
(exit $ac_status); } && {
5211
test -z "$ac_c_werror_flag" ||
5212
test ! -s conftest.err
5213
} && test -s conftest$ac_exeext &&
5214
$as_test_x conftest$ac_exeext; then
5215
gt_cv_func_CFLocaleCopyCurrent=yes
5217
echo "$as_me: failed program was:" >&5
5218
sed 's/^/| /' conftest.$ac_ext >&5
5220
gt_cv_func_CFLocaleCopyCurrent=no
5223
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5224
conftest$ac_exeext conftest.$ac_ext
5225
LIBS="$gt_save_LIBS"
5227
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5228
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5229
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5231
cat >>confdefs.h <<\_ACEOF
5232
@%:@define HAVE_CFLOCALECOPYCURRENT 1
5237
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5238
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5250
case " $gt_needs " in
5251
*" need-formatstring-macros "*) gt_api_version=3 ;;
5252
*" need-ngettext "*) gt_api_version=2 ;;
5253
*) gt_api_version=1 ;;
5255
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5256
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5258
if test "$USE_NLS" = "yes"; then
5259
gt_use_preinstalled_gnugettext=no
5262
if test $gt_api_version -ge 3; then
5263
gt_revision_test_code='
5264
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5265
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5267
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5270
gt_revision_test_code=
5272
if test $gt_api_version -ge 2; then
5273
gt_expression_test_code=' + * ngettext ("", "", 0)'
5275
gt_expression_test_code=
5278
{ echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
5279
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
5280
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
5281
echo $ECHO_N "(cached) $ECHO_C" >&6
5283
cat >conftest.$ac_ext <<_ACEOF
5286
cat confdefs.h >>conftest.$ac_ext
5287
cat >>conftest.$ac_ext <<_ACEOF
5288
/* end confdefs.h. */
5289
#include <libintl.h>
5290
$gt_revision_test_code
5291
extern int _nl_msg_cat_cntr;
5292
extern int *_nl_domain_bindings;
5296
bindtextdomain ("", "");
5297
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5302
rm -f conftest.$ac_objext conftest$ac_exeext
5303
if { (ac_try="$ac_link"
5305
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306
*) ac_try_echo=$ac_try;;
5308
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5309
(eval "$ac_link") 2>conftest.er1
5311
grep -v '^ *+' conftest.er1 >conftest.err
5313
cat conftest.err >&5
5314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315
(exit $ac_status); } && {
5316
test -z "$ac_c_werror_flag" ||
5317
test ! -s conftest.err
5318
} && test -s conftest$ac_exeext &&
5319
$as_test_x conftest$ac_exeext; then
5320
eval "$gt_func_gnugettext_libc=yes"
5322
echo "$as_me: failed program was:" >&5
5323
sed 's/^/| /' conftest.$ac_ext >&5
5325
eval "$gt_func_gnugettext_libc=no"
5328
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5329
conftest$ac_exeext conftest.$ac_ext
5331
ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
5332
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5333
echo "${ECHO_T}$ac_res" >&6; }
5335
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5341
am_save_CPPFLAGS="$CPPFLAGS"
5343
for element in $INCICONV; do
5345
for x in $CPPFLAGS; do
5347
acl_save_prefix="$prefix"
5348
prefix="$acl_final_prefix"
5349
acl_save_exec_prefix="$exec_prefix"
5350
exec_prefix="$acl_final_exec_prefix"
5352
exec_prefix="$acl_save_exec_prefix"
5353
prefix="$acl_save_prefix"
5355
if test "X$x" = "X$element"; then
5360
if test -z "$haveit"; then
5361
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5366
{ echo "$as_me:$LINENO: checking for iconv" >&5
5367
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
5368
if test "${am_cv_func_iconv+set}" = set; then
5369
echo $ECHO_N "(cached) $ECHO_C" >&6
5372
am_cv_func_iconv="no, consider installing GNU libiconv"
5374
cat >conftest.$ac_ext <<_ACEOF
5377
cat confdefs.h >>conftest.$ac_ext
5378
cat >>conftest.$ac_ext <<_ACEOF
5379
/* end confdefs.h. */
5385
iconv_t cd = iconv_open("","");
5386
iconv(cd,NULL,NULL,NULL,NULL);
5392
rm -f conftest.$ac_objext conftest$ac_exeext
5393
if { (ac_try="$ac_link"
5395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396
*) ac_try_echo=$ac_try;;
5398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5399
(eval "$ac_link") 2>conftest.er1
5401
grep -v '^ *+' conftest.er1 >conftest.err
5403
cat conftest.err >&5
5404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405
(exit $ac_status); } && {
5406
test -z "$ac_c_werror_flag" ||
5407
test ! -s conftest.err
5408
} && test -s conftest$ac_exeext &&
5409
$as_test_x conftest$ac_exeext; then
5410
am_cv_func_iconv=yes
5412
echo "$as_me: failed program was:" >&5
5413
sed 's/^/| /' conftest.$ac_ext >&5
5418
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5419
conftest$ac_exeext conftest.$ac_ext
5420
if test "$am_cv_func_iconv" != yes; then
5421
am_save_LIBS="$LIBS"
5422
LIBS="$LIBS $LIBICONV"
5423
cat >conftest.$ac_ext <<_ACEOF
5426
cat confdefs.h >>conftest.$ac_ext
5427
cat >>conftest.$ac_ext <<_ACEOF
5428
/* end confdefs.h. */
5434
iconv_t cd = iconv_open("","");
5435
iconv(cd,NULL,NULL,NULL,NULL);
5441
rm -f conftest.$ac_objext conftest$ac_exeext
5442
if { (ac_try="$ac_link"
5444
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5445
*) ac_try_echo=$ac_try;;
5447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5448
(eval "$ac_link") 2>conftest.er1
5450
grep -v '^ *+' conftest.er1 >conftest.err
5452
cat conftest.err >&5
5453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
(exit $ac_status); } && {
5455
test -z "$ac_c_werror_flag" ||
5456
test ! -s conftest.err
5457
} && test -s conftest$ac_exeext &&
5458
$as_test_x conftest$ac_exeext; then
5460
am_cv_func_iconv=yes
5462
echo "$as_me: failed program was:" >&5
5463
sed 's/^/| /' conftest.$ac_ext >&5
5468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5469
conftest$ac_exeext conftest.$ac_ext
5470
LIBS="$am_save_LIBS"
5474
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5475
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
5476
if test "$am_cv_func_iconv" = yes; then
5478
cat >>confdefs.h <<\_ACEOF
5479
@%:@define HAVE_ICONV 1
5483
if test "$am_cv_lib_iconv" = yes; then
5484
{ echo "$as_me:$LINENO: checking how to link with libiconv" >&5
5485
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
5486
{ echo "$as_me:$LINENO: result: $LIBICONV" >&5
5487
echo "${ECHO_T}$LIBICONV" >&6; }
5489
CPPFLAGS="$am_save_CPPFLAGS"
5502
acl_save_prefix="$prefix"
5503
prefix="$acl_final_prefix"
5504
acl_save_exec_prefix="$exec_prefix"
5505
exec_prefix="$acl_final_exec_prefix"
5507
eval additional_includedir=\"$includedir\"
5508
eval additional_libdir=\"$libdir\"
5510
exec_prefix="$acl_save_exec_prefix"
5511
prefix="$acl_save_prefix"
5514
# Check whether --with-libintl-prefix was given.
5515
if test "${with_libintl_prefix+set}" = set; then
5516
withval=$with_libintl_prefix;
5517
if test "X$withval" = "Xno"; then
5520
if test "X$withval" = "X"; then
5522
acl_save_prefix="$prefix"
5523
prefix="$acl_final_prefix"
5524
acl_save_exec_prefix="$exec_prefix"
5525
exec_prefix="$acl_final_exec_prefix"
5527
eval additional_includedir=\"$includedir\"
5528
eval additional_libdir=\"$libdir\"
5530
exec_prefix="$acl_save_exec_prefix"
5531
prefix="$acl_save_prefix"
5534
additional_includedir="$withval/include"
5535
additional_libdir="$withval/$acl_libdirstem"
5546
names_already_handled=
5547
names_next_round='intl '
5548
while test -n "$names_next_round"; do
5549
names_this_round="$names_next_round"
5551
for name in $names_this_round; do
5553
for n in $names_already_handled; do
5554
if test "$n" = "$name"; then
5559
if test -z "$already_handled"; then
5560
names_already_handled="$names_already_handled $name"
5561
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5562
eval value=\"\$HAVE_LIB$uppername\"
5563
if test -n "$value"; then
5564
if test "$value" = yes; then
5565
eval value=\"\$LIB$uppername\"
5566
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5567
eval value=\"\$LTLIB$uppername\"
5568
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5577
if test $use_additional = yes; then
5578
if test -n "$shlibext" \
5579
&& { test -f "$additional_libdir/lib$name.$shlibext" \
5580
|| { test "$shlibext" = dll \
5581
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; then
5582
found_dir="$additional_libdir"
5583
if test -f "$additional_libdir/lib$name.$shlibext"; then
5584
found_so="$additional_libdir/lib$name.$shlibext"
5586
found_so="$additional_libdir/lib$name.dll.a"
5588
if test -f "$additional_libdir/lib$name.la"; then
5589
found_la="$additional_libdir/lib$name.la"
5592
if test -f "$additional_libdir/lib$name.$libext"; then
5593
found_dir="$additional_libdir"
5594
found_a="$additional_libdir/lib$name.$libext"
5595
if test -f "$additional_libdir/lib$name.la"; then
5596
found_la="$additional_libdir/lib$name.la"
5601
if test "X$found_dir" = "X"; then
5602
for x in $LDFLAGS $LTLIBINTL; do
5604
acl_save_prefix="$prefix"
5605
prefix="$acl_final_prefix"
5606
acl_save_exec_prefix="$exec_prefix"
5607
exec_prefix="$acl_final_exec_prefix"
5609
exec_prefix="$acl_save_exec_prefix"
5610
prefix="$acl_save_prefix"
5614
dir=`echo "X$x" | sed -e 's/^X-L//'`
5615
if test -n "$shlibext" \
5616
&& { test -f "$dir/lib$name.$shlibext" \
5617
|| { test "$shlibext" = dll \
5618
&& test -f "$dir/lib$name.dll.a"; }; }; then
5620
if test -f "$dir/lib$name.$shlibext"; then
5621
found_so="$dir/lib$name.$shlibext"
5623
found_so="$dir/lib$name.dll.a"
5625
if test -f "$dir/lib$name.la"; then
5626
found_la="$dir/lib$name.la"
5629
if test -f "$dir/lib$name.$libext"; then
5631
found_a="$dir/lib$name.$libext"
5632
if test -f "$dir/lib$name.la"; then
5633
found_la="$dir/lib$name.la"
5639
if test "X$found_dir" != "X"; then
5644
if test "X$found_dir" != "X"; then
5645
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5646
if test "X$found_so" != "X"; then
5647
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5648
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5651
for x in $ltrpathdirs; do
5652
if test "X$x" = "X$found_dir"; then
5657
if test -z "$haveit"; then
5658
ltrpathdirs="$ltrpathdirs $found_dir"
5660
if test "$hardcode_direct" = yes; then
5661
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5663
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5664
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5666
for x in $rpathdirs; do
5667
if test "X$x" = "X$found_dir"; then
5672
if test -z "$haveit"; then
5673
rpathdirs="$rpathdirs $found_dir"
5677
for x in $LDFLAGS $LIBINTL; do
5679
acl_save_prefix="$prefix"
5680
prefix="$acl_final_prefix"
5681
acl_save_exec_prefix="$exec_prefix"
5682
exec_prefix="$acl_final_exec_prefix"
5684
exec_prefix="$acl_save_exec_prefix"
5685
prefix="$acl_save_prefix"
5687
if test "X$x" = "X-L$found_dir"; then
5692
if test -z "$haveit"; then
5693
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5695
if test "$hardcode_minus_L" != no; then
5696
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5698
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5704
if test "X$found_a" != "X"; then
5705
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5707
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5710
additional_includedir=
5711
case "$found_dir" in
5712
*/$acl_libdirstem | */$acl_libdirstem/)
5713
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5714
additional_includedir="$basedir/include"
5717
if test "X$additional_includedir" != "X"; then
5718
if test "X$additional_includedir" != "X/usr/include"; then
5720
if test "X$additional_includedir" = "X/usr/local/include"; then
5721
if test -n "$GCC"; then
5723
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5727
if test -z "$haveit"; then
5728
for x in $CPPFLAGS $INCINTL; do
5730
acl_save_prefix="$prefix"
5731
prefix="$acl_final_prefix"
5732
acl_save_exec_prefix="$exec_prefix"
5733
exec_prefix="$acl_final_exec_prefix"
5735
exec_prefix="$acl_save_exec_prefix"
5736
prefix="$acl_save_prefix"
5738
if test "X$x" = "X-I$additional_includedir"; then
5743
if test -z "$haveit"; then
5744
if test -d "$additional_includedir"; then
5745
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5751
if test -n "$found_la"; then
5752
save_libdir="$libdir"
5754
*/* | *\\*) . "$found_la" ;;
5755
*) . "./$found_la" ;;
5757
libdir="$save_libdir"
5758
for dep in $dependency_libs; do
5761
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5762
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5764
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5765
if test -n "$GCC"; then
5767
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5771
if test -z "$haveit"; then
5773
for x in $LDFLAGS $LIBINTL; do
5775
acl_save_prefix="$prefix"
5776
prefix="$acl_final_prefix"
5777
acl_save_exec_prefix="$exec_prefix"
5778
exec_prefix="$acl_final_exec_prefix"
5780
exec_prefix="$acl_save_exec_prefix"
5781
prefix="$acl_save_prefix"
5783
if test "X$x" = "X-L$additional_libdir"; then
5788
if test -z "$haveit"; then
5789
if test -d "$additional_libdir"; then
5790
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5794
for x in $LDFLAGS $LTLIBINTL; do
5796
acl_save_prefix="$prefix"
5797
prefix="$acl_final_prefix"
5798
acl_save_exec_prefix="$exec_prefix"
5799
exec_prefix="$acl_final_exec_prefix"
5801
exec_prefix="$acl_save_exec_prefix"
5802
prefix="$acl_save_prefix"
5804
if test "X$x" = "X-L$additional_libdir"; then
5809
if test -z "$haveit"; then
5810
if test -d "$additional_libdir"; then
5811
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5818
dir=`echo "X$dep" | sed -e 's/^X-R//'`
5819
if test "$enable_rpath" != no; then
5821
for x in $rpathdirs; do
5822
if test "X$x" = "X$dir"; then
5827
if test -z "$haveit"; then
5828
rpathdirs="$rpathdirs $dir"
5831
for x in $ltrpathdirs; do
5832
if test "X$x" = "X$dir"; then
5837
if test -z "$haveit"; then
5838
ltrpathdirs="$ltrpathdirs $dir"
5843
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5846
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5849
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5850
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5856
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5857
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5863
if test "X$rpathdirs" != "X"; then
5864
if test -n "$hardcode_libdir_separator"; then
5866
for found_dir in $rpathdirs; do
5867
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5869
acl_save_libdir="$libdir"
5871
eval flag=\"$hardcode_libdir_flag_spec\"
5872
libdir="$acl_save_libdir"
5873
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5875
for found_dir in $rpathdirs; do
5876
acl_save_libdir="$libdir"
5878
eval flag=\"$hardcode_libdir_flag_spec\"
5879
libdir="$acl_save_libdir"
5880
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5884
if test "X$ltrpathdirs" != "X"; then
5885
for found_dir in $ltrpathdirs; do
5886
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5890
{ echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
5891
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
5892
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
5893
echo $ECHO_N "(cached) $ECHO_C" >&6
5895
gt_save_CPPFLAGS="$CPPFLAGS"
5896
CPPFLAGS="$CPPFLAGS $INCINTL"
5897
gt_save_LIBS="$LIBS"
5898
LIBS="$LIBS $LIBINTL"
5899
cat >conftest.$ac_ext <<_ACEOF
5902
cat confdefs.h >>conftest.$ac_ext
5903
cat >>conftest.$ac_ext <<_ACEOF
5904
/* end confdefs.h. */
5905
#include <libintl.h>
5906
$gt_revision_test_code
5907
extern int _nl_msg_cat_cntr;
5912
const char *_nl_expand_alias (const char *);
5916
bindtextdomain ("", "");
5917
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5922
rm -f conftest.$ac_objext conftest$ac_exeext
5923
if { (ac_try="$ac_link"
5925
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926
*) ac_try_echo=$ac_try;;
5928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5929
(eval "$ac_link") 2>conftest.er1
5931
grep -v '^ *+' conftest.er1 >conftest.err
5933
cat conftest.err >&5
5934
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935
(exit $ac_status); } && {
5936
test -z "$ac_c_werror_flag" ||
5937
test ! -s conftest.err
5938
} && test -s conftest$ac_exeext &&
5939
$as_test_x conftest$ac_exeext; then
5940
eval "$gt_func_gnugettext_libintl=yes"
5942
echo "$as_me: failed program was:" >&5
5943
sed 's/^/| /' conftest.$ac_ext >&5
5945
eval "$gt_func_gnugettext_libintl=no"
5948
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5949
conftest$ac_exeext conftest.$ac_ext
5950
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
5951
LIBS="$LIBS $LIBICONV"
5952
cat >conftest.$ac_ext <<_ACEOF
5955
cat confdefs.h >>conftest.$ac_ext
5956
cat >>conftest.$ac_ext <<_ACEOF
5957
/* end confdefs.h. */
5958
#include <libintl.h>
5959
$gt_revision_test_code
5960
extern int _nl_msg_cat_cntr;
5965
const char *_nl_expand_alias (const char *);
5969
bindtextdomain ("", "");
5970
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5975
rm -f conftest.$ac_objext conftest$ac_exeext
5976
if { (ac_try="$ac_link"
5978
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5979
*) ac_try_echo=$ac_try;;
5981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5982
(eval "$ac_link") 2>conftest.er1
5984
grep -v '^ *+' conftest.er1 >conftest.err
5986
cat conftest.err >&5
5987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988
(exit $ac_status); } && {
5989
test -z "$ac_c_werror_flag" ||
5990
test ! -s conftest.err
5991
} && test -s conftest$ac_exeext &&
5992
$as_test_x conftest$ac_exeext; then
5993
LIBINTL="$LIBINTL $LIBICONV"
5994
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5995
eval "$gt_func_gnugettext_libintl=yes"
5998
echo "$as_me: failed program was:" >&5
5999
sed 's/^/| /' conftest.$ac_ext >&5
6004
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6005
conftest$ac_exeext conftest.$ac_ext
6007
CPPFLAGS="$gt_save_CPPFLAGS"
6008
LIBS="$gt_save_LIBS"
6010
ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
6011
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6012
echo "${ECHO_T}$ac_res" >&6; }
6015
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6016
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6017
&& test "$PACKAGE" != gettext-runtime \
6018
&& test "$PACKAGE" != gettext-tools; }; then
6019
gt_use_preinstalled_gnugettext=yes
6028
if test -n "$INTL_MACOSX_LIBS"; then
6029
if test "$gt_use_preinstalled_gnugettext" = "yes" \
6030
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
6031
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6032
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6036
if test "$gt_use_preinstalled_gnugettext" = "yes" \
6037
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
6039
cat >>confdefs.h <<\_ACEOF
6040
@%:@define ENABLE_NLS 1
6048
{ echo "$as_me:$LINENO: checking whether to use NLS" >&5
6049
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
6050
{ echo "$as_me:$LINENO: result: $USE_NLS" >&5
6051
echo "${ECHO_T}$USE_NLS" >&6; }
6052
if test "$USE_NLS" = "yes"; then
6053
{ echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
6054
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
6055
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6056
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6057
gt_source="external libintl"
6062
gt_source="included intl directory"
6064
{ echo "$as_me:$LINENO: result: $gt_source" >&5
6065
echo "${ECHO_T}$gt_source" >&6; }
6068
if test "$USE_NLS" = "yes"; then
6070
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6071
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6072
{ echo "$as_me:$LINENO: checking how to link with libintl" >&5
6073
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
6074
{ echo "$as_me:$LINENO: result: $LIBINTL" >&5
6075
echo "${ECHO_T}$LIBINTL" >&6; }
6077
for element in $INCINTL; do
6079
for x in $CPPFLAGS; do
6081
acl_save_prefix="$prefix"
6082
prefix="$acl_final_prefix"
6083
acl_save_exec_prefix="$exec_prefix"
6084
exec_prefix="$acl_final_exec_prefix"
6086
exec_prefix="$acl_save_exec_prefix"
6087
prefix="$acl_save_prefix"
6089
if test "X$x" = "X$element"; then
6094
if test -z "$haveit"; then
6095
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6102
cat >>confdefs.h <<\_ACEOF
6103
@%:@define HAVE_GETTEXT 1
6107
cat >>confdefs.h <<\_ACEOF
6108
@%:@define HAVE_DCGETTEXT 1
6126
ac_cpp='$CPP $CPPFLAGS'
6127
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6128
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6129
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6130
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6131
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6132
# On Suns, sometimes $CPP names a directory.
6133
if test -n "$CPP" && test -d "$CPP"; then
6136
if test -z "$CPP"; then
6137
if test "${ac_cv_prog_CPP+set}" = set; then
6138
echo $ECHO_N "(cached) $ECHO_C" >&6
6140
# Double quotes because CPP needs to be expanded
6141
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6144
for ac_c_preproc_warn_flag in '' yes
6146
# Use a header file that comes with gcc, so configuring glibc
6147
# with a fresh cross-compiler works.
6148
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6149
# <limits.h> exists even on freestanding compilers.
6150
# On the NeXT, cc -E runs the code through the compiler's parser,
6151
# not just through cpp. "Syntax error" is here to catch this case.
6152
cat >conftest.$ac_ext <<_ACEOF
6155
cat confdefs.h >>conftest.$ac_ext
6156
cat >>conftest.$ac_ext <<_ACEOF
6157
/* end confdefs.h. */
6159
@%:@ include <limits.h>
6161
@%:@ include <assert.h>
6165
if { (ac_try="$ac_cpp conftest.$ac_ext"
6167
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6168
*) ac_try_echo=$ac_try;;
6170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6171
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6173
grep -v '^ *+' conftest.er1 >conftest.err
6175
cat conftest.err >&5
6176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177
(exit $ac_status); } >/dev/null && {
6178
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6179
test ! -s conftest.err
6183
echo "$as_me: failed program was:" >&5
6184
sed 's/^/| /' conftest.$ac_ext >&5
6186
# Broken: fails on valid input.
6190
rm -f conftest.err conftest.$ac_ext
6192
# OK, works on sane cases. Now check whether nonexistent headers
6193
# can be detected and how.
6194
cat >conftest.$ac_ext <<_ACEOF
6197
cat confdefs.h >>conftest.$ac_ext
6198
cat >>conftest.$ac_ext <<_ACEOF
6199
/* end confdefs.h. */
6200
@%:@include <ac_nonexistent.h>
6202
if { (ac_try="$ac_cpp conftest.$ac_ext"
6204
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205
*) ac_try_echo=$ac_try;;
6207
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6210
grep -v '^ *+' conftest.er1 >conftest.err
6212
cat conftest.err >&5
6213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214
(exit $ac_status); } >/dev/null && {
6215
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6216
test ! -s conftest.err
6218
# Broken: success on invalid input.
6221
echo "$as_me: failed program was:" >&5
6222
sed 's/^/| /' conftest.$ac_ext >&5
6224
# Passes both tests.
6229
rm -f conftest.err conftest.$ac_ext
6232
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6233
rm -f conftest.err conftest.$ac_ext
6234
if $ac_preproc_ok; then
6246
{ echo "$as_me:$LINENO: result: $CPP" >&5
6247
echo "${ECHO_T}$CPP" >&6; }
6249
for ac_c_preproc_warn_flag in '' yes
6251
# Use a header file that comes with gcc, so configuring glibc
6252
# with a fresh cross-compiler works.
6253
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6254
# <limits.h> exists even on freestanding compilers.
6255
# On the NeXT, cc -E runs the code through the compiler's parser,
6256
# not just through cpp. "Syntax error" is here to catch this case.
6257
cat >conftest.$ac_ext <<_ACEOF
6260
cat confdefs.h >>conftest.$ac_ext
6261
cat >>conftest.$ac_ext <<_ACEOF
6262
/* end confdefs.h. */
6264
@%:@ include <limits.h>
6266
@%:@ include <assert.h>
6270
if { (ac_try="$ac_cpp conftest.$ac_ext"
6272
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6273
*) ac_try_echo=$ac_try;;
6275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6276
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6278
grep -v '^ *+' conftest.er1 >conftest.err
6280
cat conftest.err >&5
6281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282
(exit $ac_status); } >/dev/null && {
6283
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6284
test ! -s conftest.err
6288
echo "$as_me: failed program was:" >&5
6289
sed 's/^/| /' conftest.$ac_ext >&5
6291
# Broken: fails on valid input.
6295
rm -f conftest.err conftest.$ac_ext
6297
# OK, works on sane cases. Now check whether nonexistent headers
6298
# can be detected and how.
6299
cat >conftest.$ac_ext <<_ACEOF
6302
cat confdefs.h >>conftest.$ac_ext
6303
cat >>conftest.$ac_ext <<_ACEOF
6304
/* end confdefs.h. */
6305
@%:@include <ac_nonexistent.h>
6307
if { (ac_try="$ac_cpp conftest.$ac_ext"
6309
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6310
*) ac_try_echo=$ac_try;;
6312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6313
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6315
grep -v '^ *+' conftest.er1 >conftest.err
6317
cat conftest.err >&5
6318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319
(exit $ac_status); } >/dev/null && {
6320
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6321
test ! -s conftest.err
6323
# Broken: success on invalid input.
6326
echo "$as_me: failed program was:" >&5
6327
sed 's/^/| /' conftest.$ac_ext >&5
6329
# Passes both tests.
6334
rm -f conftest.err conftest.$ac_ext
6337
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6338
rm -f conftest.err conftest.$ac_ext
6339
if $ac_preproc_ok; then
6342
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6343
See \`config.log' for more details." >&5
6344
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6345
See \`config.log' for more details." >&2;}
6346
{ (exit 1); exit 1; }; }
6350
ac_cpp='$CPP $CPPFLAGS'
6351
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6352
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6353
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6356
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6357
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6358
if test "${ac_cv_path_GREP+set}" = set; then
6359
echo $ECHO_N "(cached) $ECHO_C" >&6
6361
# Extract the first word of "grep ggrep" to use in msg output
6362
if test -z "$GREP"; then
6363
set dummy grep ggrep; ac_prog_name=$2
6364
if test "${ac_cv_path_GREP+set}" = set; then
6365
echo $ECHO_N "(cached) $ECHO_C" >&6
6367
ac_path_GREP_found=false
6368
# Loop through the user's path and test for each of PROGNAME-LIST
6369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6373
test -z "$as_dir" && as_dir=.
6374
for ac_prog in grep ggrep; do
6375
for ac_exec_ext in '' $ac_executable_extensions; do
6376
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6377
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6378
# Check for GNU ac_path_GREP and select it if it is found.
6379
# Check for GNU $ac_path_GREP
6380
case `"$ac_path_GREP" --version 2>&1` in
6382
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6385
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6388
cat "conftest.in" "conftest.in" >"conftest.tmp"
6389
mv "conftest.tmp" "conftest.in"
6390
cp "conftest.in" "conftest.nl"
6391
echo 'GREP' >> "conftest.nl"
6392
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6393
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6394
ac_count=`expr $ac_count + 1`
6395
if test $ac_count -gt ${ac_path_GREP_max-0}; then
6396
# Best one so far, save it but keep looking for a better one
6397
ac_cv_path_GREP="$ac_path_GREP"
6398
ac_path_GREP_max=$ac_count
6400
# 10*(2^10) chars as input seems more than enough
6401
test $ac_count -gt 10 && break
6403
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6407
$ac_path_GREP_found && break 3
6417
GREP="$ac_cv_path_GREP"
6418
if test -z "$GREP"; then
6419
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6420
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6421
{ (exit 1); exit 1; }; }
6425
ac_cv_path_GREP=$GREP
6430
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6431
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6432
GREP="$ac_cv_path_GREP"
6435
{ echo "$as_me:$LINENO: checking for egrep" >&5
6436
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6437
if test "${ac_cv_path_EGREP+set}" = set; then
6438
echo $ECHO_N "(cached) $ECHO_C" >&6
6440
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6441
then ac_cv_path_EGREP="$GREP -E"
6443
# Extract the first word of "egrep" to use in msg output
6444
if test -z "$EGREP"; then
6445
set dummy egrep; ac_prog_name=$2
6446
if test "${ac_cv_path_EGREP+set}" = set; then
6447
echo $ECHO_N "(cached) $ECHO_C" >&6
6449
ac_path_EGREP_found=false
6450
# Loop through the user's path and test for each of PROGNAME-LIST
6451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6455
test -z "$as_dir" && as_dir=.
6456
for ac_prog in egrep; do
6457
for ac_exec_ext in '' $ac_executable_extensions; do
6458
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6459
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6460
# Check for GNU ac_path_EGREP and select it if it is found.
6461
# Check for GNU $ac_path_EGREP
6462
case `"$ac_path_EGREP" --version 2>&1` in
6464
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6467
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6470
cat "conftest.in" "conftest.in" >"conftest.tmp"
6471
mv "conftest.tmp" "conftest.in"
6472
cp "conftest.in" "conftest.nl"
6473
echo 'EGREP' >> "conftest.nl"
6474
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6475
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6476
ac_count=`expr $ac_count + 1`
6477
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6478
# Best one so far, save it but keep looking for a better one
6479
ac_cv_path_EGREP="$ac_path_EGREP"
6480
ac_path_EGREP_max=$ac_count
6482
# 10*(2^10) chars as input seems more than enough
6483
test $ac_count -gt 10 && break
6485
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6489
$ac_path_EGREP_found && break 3
6499
EGREP="$ac_cv_path_EGREP"
6500
if test -z "$EGREP"; then
6501
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6502
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6503
{ (exit 1); exit 1; }; }
6507
ac_cv_path_EGREP=$EGREP
6513
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6514
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6515
EGREP="$ac_cv_path_EGREP"
6518
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6519
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6520
if test "${ac_cv_header_stdc+set}" = set; then
6521
echo $ECHO_N "(cached) $ECHO_C" >&6
6523
cat >conftest.$ac_ext <<_ACEOF
6526
cat confdefs.h >>conftest.$ac_ext
6527
cat >>conftest.$ac_ext <<_ACEOF
6528
/* end confdefs.h. */
6542
rm -f conftest.$ac_objext
6543
if { (ac_try="$ac_compile"
6545
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546
*) ac_try_echo=$ac_try;;
6548
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549
(eval "$ac_compile") 2>conftest.er1
6551
grep -v '^ *+' conftest.er1 >conftest.err
6553
cat conftest.err >&5
6554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555
(exit $ac_status); } && {
6556
test -z "$ac_c_werror_flag" ||
6557
test ! -s conftest.err
6558
} && test -s conftest.$ac_objext; then
6559
ac_cv_header_stdc=yes
6561
echo "$as_me: failed program was:" >&5
6562
sed 's/^/| /' conftest.$ac_ext >&5
6564
ac_cv_header_stdc=no
6567
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569
if test $ac_cv_header_stdc = yes; then
6570
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6571
cat >conftest.$ac_ext <<_ACEOF
6574
cat confdefs.h >>conftest.$ac_ext
6575
cat >>conftest.$ac_ext <<_ACEOF
6576
/* end confdefs.h. */
6580
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6581
$EGREP "memchr" >/dev/null 2>&1; then
6584
ac_cv_header_stdc=no
6590
if test $ac_cv_header_stdc = yes; then
6591
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6592
cat >conftest.$ac_ext <<_ACEOF
6595
cat confdefs.h >>conftest.$ac_ext
6596
cat >>conftest.$ac_ext <<_ACEOF
6597
/* end confdefs.h. */
6601
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6602
$EGREP "free" >/dev/null 2>&1; then
6605
ac_cv_header_stdc=no
6611
if test $ac_cv_header_stdc = yes; then
6612
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6613
if test "$cross_compiling" = yes; then
6616
cat >conftest.$ac_ext <<_ACEOF
6619
cat confdefs.h >>conftest.$ac_ext
6620
cat >>conftest.$ac_ext <<_ACEOF
6621
/* end confdefs.h. */
6624
#if ((' ' & 0x0FF) == 0x020)
6625
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6626
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6628
# define ISLOWER(c) \
6629
(('a' <= (c) && (c) <= 'i') \
6630
|| ('j' <= (c) && (c) <= 'r') \
6631
|| ('s' <= (c) && (c) <= 'z'))
6632
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6635
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6640
for (i = 0; i < 256; i++)
6641
if (XOR (islower (i), ISLOWER (i))
6642
|| toupper (i) != TOUPPER (i))
6647
rm -f conftest$ac_exeext
6648
if { (ac_try="$ac_link"
6650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6651
*) ac_try_echo=$ac_try;;
6653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6654
(eval "$ac_link") 2>&5
6656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6658
{ (case "(($ac_try" in
6659
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6660
*) ac_try_echo=$ac_try;;
6662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6663
(eval "$ac_try") 2>&5
6665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666
(exit $ac_status); }; }; then
6669
echo "$as_me: program exited with status $ac_status" >&5
6670
echo "$as_me: failed program was:" >&5
6671
sed 's/^/| /' conftest.$ac_ext >&5
6674
ac_cv_header_stdc=no
6676
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6682
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6683
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6684
if test $ac_cv_header_stdc = yes; then
6686
cat >>confdefs.h <<\_ACEOF
6687
@%:@define STDC_HEADERS 1
6692
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6702
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6703
inttypes.h stdint.h unistd.h
6705
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6706
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6707
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6708
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6709
echo $ECHO_N "(cached) $ECHO_C" >&6
6711
cat >conftest.$ac_ext <<_ACEOF
6714
cat confdefs.h >>conftest.$ac_ext
6715
cat >>conftest.$ac_ext <<_ACEOF
6716
/* end confdefs.h. */
6717
$ac_includes_default
6719
@%:@include <$ac_header>
6721
rm -f conftest.$ac_objext
6722
if { (ac_try="$ac_compile"
6724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725
*) ac_try_echo=$ac_try;;
6727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728
(eval "$ac_compile") 2>conftest.er1
6730
grep -v '^ *+' conftest.er1 >conftest.err
6732
cat conftest.err >&5
6733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734
(exit $ac_status); } && {
6735
test -z "$ac_c_werror_flag" ||
6736
test ! -s conftest.err
6737
} && test -s conftest.$ac_objext; then
6738
eval "$as_ac_Header=yes"
6740
echo "$as_me: failed program was:" >&5
6741
sed 's/^/| /' conftest.$ac_ext >&5
6743
eval "$as_ac_Header=no"
6746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6748
ac_res=`eval echo '${'$as_ac_Header'}'`
6749
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6750
echo "${ECHO_T}$ac_res" >&6; }
6751
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6752
cat >>confdefs.h <<_ACEOF
6753
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6763
for ac_header in locale.h
6765
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6767
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6768
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6769
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6770
echo $ECHO_N "(cached) $ECHO_C" >&6
6772
ac_res=`eval echo '${'$as_ac_Header'}'`
6773
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6774
echo "${ECHO_T}$ac_res" >&6; }
6776
# Is the header compilable?
6777
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6778
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6779
cat >conftest.$ac_ext <<_ACEOF
6782
cat confdefs.h >>conftest.$ac_ext
6783
cat >>conftest.$ac_ext <<_ACEOF
6784
/* end confdefs.h. */
6785
$ac_includes_default
6786
@%:@include <$ac_header>
6788
rm -f conftest.$ac_objext
6789
if { (ac_try="$ac_compile"
6791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6792
*) ac_try_echo=$ac_try;;
6794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6795
(eval "$ac_compile") 2>conftest.er1
6797
grep -v '^ *+' conftest.er1 >conftest.err
6799
cat conftest.err >&5
6800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801
(exit $ac_status); } && {
6802
test -z "$ac_c_werror_flag" ||
6803
test ! -s conftest.err
6804
} && test -s conftest.$ac_objext; then
6805
ac_header_compiler=yes
6807
echo "$as_me: failed program was:" >&5
6808
sed 's/^/| /' conftest.$ac_ext >&5
6810
ac_header_compiler=no
6813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6814
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6815
echo "${ECHO_T}$ac_header_compiler" >&6; }
6817
# Is the header present?
6818
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6819
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6820
cat >conftest.$ac_ext <<_ACEOF
6823
cat confdefs.h >>conftest.$ac_ext
6824
cat >>conftest.$ac_ext <<_ACEOF
6825
/* end confdefs.h. */
6826
@%:@include <$ac_header>
6828
if { (ac_try="$ac_cpp conftest.$ac_ext"
6830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6831
*) ac_try_echo=$ac_try;;
6833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6834
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6836
grep -v '^ *+' conftest.er1 >conftest.err
6838
cat conftest.err >&5
6839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840
(exit $ac_status); } >/dev/null && {
6841
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6842
test ! -s conftest.err
6844
ac_header_preproc=yes
6846
echo "$as_me: failed program was:" >&5
6847
sed 's/^/| /' conftest.$ac_ext >&5
6849
ac_header_preproc=no
6852
rm -f conftest.err conftest.$ac_ext
6853
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6854
echo "${ECHO_T}$ac_header_preproc" >&6; }
6856
# So? What about this header?
6857
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6859
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6860
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6861
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6862
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6863
ac_header_preproc=yes
6866
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6867
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6868
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6869
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6870
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6871
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6872
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6873
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6874
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6875
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6876
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6877
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6879
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
6880
@%:@@%:@ Report this to https://bugs.launchpad.net/python-schedule/ @%:@@%:@
6881
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
6883
) | sed "s/^/$as_me: WARNING: /" >&2
6886
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6887
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6888
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6889
echo $ECHO_N "(cached) $ECHO_C" >&6
6891
eval "$as_ac_Header=\$ac_header_preproc"
6893
ac_res=`eval echo '${'$as_ac_Header'}'`
6894
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6895
echo "${ECHO_T}$ac_res" >&6; }
6898
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6899
cat >>confdefs.h <<_ACEOF
6900
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907
if test $ac_cv_header_locale_h = yes; then
6908
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6909
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6910
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6911
echo $ECHO_N "(cached) $ECHO_C" >&6
6913
cat >conftest.$ac_ext <<_ACEOF
6916
cat confdefs.h >>conftest.$ac_ext
6917
cat >>conftest.$ac_ext <<_ACEOF
6918
/* end confdefs.h. */
6928
rm -f conftest.$ac_objext conftest$ac_exeext
6929
if { (ac_try="$ac_link"
6931
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6932
*) ac_try_echo=$ac_try;;
6934
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6935
(eval "$ac_link") 2>conftest.er1
6937
grep -v '^ *+' conftest.er1 >conftest.err
6939
cat conftest.err >&5
6940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941
(exit $ac_status); } && {
6942
test -z "$ac_c_werror_flag" ||
6943
test ! -s conftest.err
6944
} && test -s conftest$ac_exeext &&
6945
$as_test_x conftest$ac_exeext; then
6946
am_cv_val_LC_MESSAGES=yes
6948
echo "$as_me: failed program was:" >&5
6949
sed 's/^/| /' conftest.$ac_ext >&5
6951
am_cv_val_LC_MESSAGES=no
6954
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6955
conftest$ac_exeext conftest.$ac_ext
6957
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6958
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6959
if test $am_cv_val_LC_MESSAGES = yes; then
6961
cat >>confdefs.h <<\_ACEOF
6962
@%:@define HAVE_LC_MESSAGES 1
6970
gt_cv_have_gettext=no
6976
if test "${ac_cv_header_libintl_h+set}" = set; then
6977
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
6978
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6979
if test "${ac_cv_header_libintl_h+set}" = set; then
6980
echo $ECHO_N "(cached) $ECHO_C" >&6
6982
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6983
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6985
# Is the header compilable?
6986
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
6987
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6988
cat >conftest.$ac_ext <<_ACEOF
6991
cat confdefs.h >>conftest.$ac_ext
6992
cat >>conftest.$ac_ext <<_ACEOF
6993
/* end confdefs.h. */
6994
$ac_includes_default
6995
@%:@include <libintl.h>
6997
rm -f conftest.$ac_objext
6998
if { (ac_try="$ac_compile"
7000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001
*) ac_try_echo=$ac_try;;
7003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004
(eval "$ac_compile") 2>conftest.er1
7006
grep -v '^ *+' conftest.er1 >conftest.err
7008
cat conftest.err >&5
7009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010
(exit $ac_status); } && {
7011
test -z "$ac_c_werror_flag" ||
7012
test ! -s conftest.err
7013
} && test -s conftest.$ac_objext; then
7014
ac_header_compiler=yes
7016
echo "$as_me: failed program was:" >&5
7017
sed 's/^/| /' conftest.$ac_ext >&5
7019
ac_header_compiler=no
7022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7023
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7024
echo "${ECHO_T}$ac_header_compiler" >&6; }
7026
# Is the header present?
7027
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
7028
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
7029
cat >conftest.$ac_ext <<_ACEOF
7032
cat confdefs.h >>conftest.$ac_ext
7033
cat >>conftest.$ac_ext <<_ACEOF
7034
/* end confdefs.h. */
7035
@%:@include <libintl.h>
7037
if { (ac_try="$ac_cpp conftest.$ac_ext"
7039
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7040
*) ac_try_echo=$ac_try;;
7042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7043
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7045
grep -v '^ *+' conftest.er1 >conftest.err
7047
cat conftest.err >&5
7048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049
(exit $ac_status); } >/dev/null && {
7050
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7051
test ! -s conftest.err
7053
ac_header_preproc=yes
7055
echo "$as_me: failed program was:" >&5
7056
sed 's/^/| /' conftest.$ac_ext >&5
7058
ac_header_preproc=no
7061
rm -f conftest.err conftest.$ac_ext
7062
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7063
echo "${ECHO_T}$ac_header_preproc" >&6; }
7065
# So? What about this header?
7066
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7068
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7069
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7070
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7071
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7072
ac_header_preproc=yes
7075
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7076
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7077
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7078
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7079
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7080
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7081
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7082
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7083
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7084
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7085
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7086
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7088
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
7089
@%:@@%:@ Report this to https://bugs.launchpad.net/python-schedule/ @%:@@%:@
7090
@%:@@%:@ ---------------------------------------------------------- @%:@@%:@
7092
) | sed "s/^/$as_me: WARNING: /" >&2
7095
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
7096
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
7097
if test "${ac_cv_header_libintl_h+set}" = set; then
7098
echo $ECHO_N "(cached) $ECHO_C" >&6
7100
ac_cv_header_libintl_h=$ac_header_preproc
7102
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7103
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
7106
if test $ac_cv_header_libintl_h = yes; then
7107
gt_cv_func_dgettext_libintl="no"
7108
libintl_extra_libs=""
7111
# First check in libc
7113
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
7114
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
7115
if test "${gt_cv_func_ngettext_libc+set}" = set; then
7116
echo $ECHO_N "(cached) $ECHO_C" >&6
7118
cat >conftest.$ac_ext <<_ACEOF
7121
cat confdefs.h >>conftest.$ac_ext
7122
cat >>conftest.$ac_ext <<_ACEOF
7123
/* end confdefs.h. */
7125
#include <libintl.h>
7130
return !ngettext ("","", 1)
7135
rm -f conftest.$ac_objext conftest$ac_exeext
7136
if { (ac_try="$ac_link"
7138
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7139
*) ac_try_echo=$ac_try;;
7141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7142
(eval "$ac_link") 2>conftest.er1
7144
grep -v '^ *+' conftest.er1 >conftest.err
7146
cat conftest.err >&5
7147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
(exit $ac_status); } && {
7149
test -z "$ac_c_werror_flag" ||
7150
test ! -s conftest.err
7151
} && test -s conftest$ac_exeext &&
7152
$as_test_x conftest$ac_exeext; then
7153
gt_cv_func_ngettext_libc=yes
7155
echo "$as_me: failed program was:" >&5
7156
sed 's/^/| /' conftest.$ac_ext >&5
7158
gt_cv_func_ngettext_libc=no
7161
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7162
conftest$ac_exeext conftest.$ac_ext
7165
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
7166
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
7168
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7169
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
7170
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
7171
if test "${gt_cv_func_dgettext_libc+set}" = set; then
7172
echo $ECHO_N "(cached) $ECHO_C" >&6
7174
cat >conftest.$ac_ext <<_ACEOF
7177
cat confdefs.h >>conftest.$ac_ext
7178
cat >>conftest.$ac_ext <<_ACEOF
7179
/* end confdefs.h. */
7181
#include <libintl.h>
7186
return !dgettext ("","")
7191
rm -f conftest.$ac_objext conftest$ac_exeext
7192
if { (ac_try="$ac_link"
7194
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7195
*) ac_try_echo=$ac_try;;
7197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7198
(eval "$ac_link") 2>conftest.er1
7200
grep -v '^ *+' conftest.er1 >conftest.err
7202
cat conftest.err >&5
7203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204
(exit $ac_status); } && {
7205
test -z "$ac_c_werror_flag" ||
7206
test ! -s conftest.err
7207
} && test -s conftest$ac_exeext &&
7208
$as_test_x conftest$ac_exeext; then
7209
gt_cv_func_dgettext_libc=yes
7211
echo "$as_me: failed program was:" >&5
7212
sed 's/^/| /' conftest.$ac_ext >&5
7214
gt_cv_func_dgettext_libc=no
7217
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7218
conftest$ac_exeext conftest.$ac_ext
7221
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
7222
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
7225
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7227
for ac_func in bind_textdomain_codeset
7229
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7230
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7231
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7232
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7233
echo $ECHO_N "(cached) $ECHO_C" >&6
7235
cat >conftest.$ac_ext <<_ACEOF
7238
cat confdefs.h >>conftest.$ac_ext
7239
cat >>conftest.$ac_ext <<_ACEOF
7240
/* end confdefs.h. */
7241
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7242
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7243
#define $ac_func innocuous_$ac_func
7245
/* System header to define __stub macros and hopefully few prototypes,
7246
which can conflict with char $ac_func (); below.
7247
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7248
<limits.h> exists even on freestanding compilers. */
7251
# include <limits.h>
7253
# include <assert.h>
7258
/* Override any GCC internal prototype to avoid an error.
7259
Use char because int might match the return type of a GCC
7260
builtin and then its argument prototype would still apply. */
7265
/* The GNU C library defines this for functions which it implements
7266
to always fail with ENOSYS. Some functions are actually named
7267
something starting with __ and the normal name is an alias. */
7268
#if defined __stub_$ac_func || defined __stub___$ac_func
7280
rm -f conftest.$ac_objext conftest$ac_exeext
7281
if { (ac_try="$ac_link"
7283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7284
*) ac_try_echo=$ac_try;;
7286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7287
(eval "$ac_link") 2>conftest.er1
7289
grep -v '^ *+' conftest.er1 >conftest.err
7291
cat conftest.err >&5
7292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293
(exit $ac_status); } && {
7294
test -z "$ac_c_werror_flag" ||
7295
test ! -s conftest.err
7296
} && test -s conftest$ac_exeext &&
7297
$as_test_x conftest$ac_exeext; then
7298
eval "$as_ac_var=yes"
7300
echo "$as_me: failed program was:" >&5
7301
sed 's/^/| /' conftest.$ac_ext >&5
7303
eval "$as_ac_var=no"
7306
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7307
conftest$ac_exeext conftest.$ac_ext
7309
ac_res=`eval echo '${'$as_ac_var'}'`
7310
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7311
echo "${ECHO_T}$ac_res" >&6; }
7312
if test `eval echo '${'$as_ac_var'}'` = yes; then
7313
cat >>confdefs.h <<_ACEOF
7314
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7323
# If we don't have everything we want, check in libintl
7325
if test "$gt_cv_func_dgettext_libc" != "yes" \
7326
|| test "$gt_cv_func_ngettext_libc" != "yes" \
7327
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
7329
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7330
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
7331
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7332
echo $ECHO_N "(cached) $ECHO_C" >&6
7334
ac_check_lib_save_LIBS=$LIBS
7336
cat >conftest.$ac_ext <<_ACEOF
7339
cat confdefs.h >>conftest.$ac_ext
7340
cat >>conftest.$ac_ext <<_ACEOF
7341
/* end confdefs.h. */
7343
/* Override any GCC internal prototype to avoid an error.
7344
Use char because int might match the return type of a GCC
7345
builtin and then its argument prototype would still apply. */
7349
char bindtextdomain ();
7353
return bindtextdomain ();
7358
rm -f conftest.$ac_objext conftest$ac_exeext
7359
if { (ac_try="$ac_link"
7361
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7362
*) ac_try_echo=$ac_try;;
7364
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7365
(eval "$ac_link") 2>conftest.er1
7367
grep -v '^ *+' conftest.er1 >conftest.err
7369
cat conftest.err >&5
7370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371
(exit $ac_status); } && {
7372
test -z "$ac_c_werror_flag" ||
7373
test ! -s conftest.err
7374
} && test -s conftest$ac_exeext &&
7375
$as_test_x conftest$ac_exeext; then
7376
ac_cv_lib_intl_bindtextdomain=yes
7378
echo "$as_me: failed program was:" >&5
7379
sed 's/^/| /' conftest.$ac_ext >&5
7381
ac_cv_lib_intl_bindtextdomain=no
7384
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7385
conftest$ac_exeext conftest.$ac_ext
7386
LIBS=$ac_check_lib_save_LIBS
7388
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7389
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
7390
if test $ac_cv_lib_intl_bindtextdomain = yes; then
7391
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7392
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7393
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7394
echo $ECHO_N "(cached) $ECHO_C" >&6
7396
ac_check_lib_save_LIBS=$LIBS
7398
cat >conftest.$ac_ext <<_ACEOF
7401
cat confdefs.h >>conftest.$ac_ext
7402
cat >>conftest.$ac_ext <<_ACEOF
7403
/* end confdefs.h. */
7405
/* Override any GCC internal prototype to avoid an error.
7406
Use char because int might match the return type of a GCC
7407
builtin and then its argument prototype would still apply. */
7420
rm -f conftest.$ac_objext conftest$ac_exeext
7421
if { (ac_try="$ac_link"
7423
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7424
*) ac_try_echo=$ac_try;;
7426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7427
(eval "$ac_link") 2>conftest.er1
7429
grep -v '^ *+' conftest.er1 >conftest.err
7431
cat conftest.err >&5
7432
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433
(exit $ac_status); } && {
7434
test -z "$ac_c_werror_flag" ||
7435
test ! -s conftest.err
7436
} && test -s conftest$ac_exeext &&
7437
$as_test_x conftest$ac_exeext; then
7438
ac_cv_lib_intl_ngettext=yes
7440
echo "$as_me: failed program was:" >&5
7441
sed 's/^/| /' conftest.$ac_ext >&5
7443
ac_cv_lib_intl_ngettext=no
7446
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7447
conftest$ac_exeext conftest.$ac_ext
7448
LIBS=$ac_check_lib_save_LIBS
7450
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7451
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7452
if test $ac_cv_lib_intl_ngettext = yes; then
7453
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
7454
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
7455
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7456
echo $ECHO_N "(cached) $ECHO_C" >&6
7458
ac_check_lib_save_LIBS=$LIBS
7460
cat >conftest.$ac_ext <<_ACEOF
7463
cat confdefs.h >>conftest.$ac_ext
7464
cat >>conftest.$ac_ext <<_ACEOF
7465
/* end confdefs.h. */
7467
/* Override any GCC internal prototype to avoid an error.
7468
Use char because int might match the return type of a GCC
7469
builtin and then its argument prototype would still apply. */
7482
rm -f conftest.$ac_objext conftest$ac_exeext
7483
if { (ac_try="$ac_link"
7485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7486
*) ac_try_echo=$ac_try;;
7488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7489
(eval "$ac_link") 2>conftest.er1
7491
grep -v '^ *+' conftest.er1 >conftest.err
7493
cat conftest.err >&5
7494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495
(exit $ac_status); } && {
7496
test -z "$ac_c_werror_flag" ||
7497
test ! -s conftest.err
7498
} && test -s conftest$ac_exeext &&
7499
$as_test_x conftest$ac_exeext; then
7500
ac_cv_lib_intl_dgettext=yes
7502
echo "$as_me: failed program was:" >&5
7503
sed 's/^/| /' conftest.$ac_ext >&5
7505
ac_cv_lib_intl_dgettext=no
7508
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7509
conftest$ac_exeext conftest.$ac_ext
7510
LIBS=$ac_check_lib_save_LIBS
7512
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
7513
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
7514
if test $ac_cv_lib_intl_dgettext = yes; then
7515
gt_cv_func_dgettext_libintl=yes
7523
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7524
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
7525
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
7526
{ echo "$as_me:$LINENO: result: " >&5
7527
echo "${ECHO_T}" >&6; }
7528
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7529
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7530
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7531
echo $ECHO_N "(cached) $ECHO_C" >&6
7533
ac_check_lib_save_LIBS=$LIBS
7534
LIBS="-lintl -liconv $LIBS"
7535
cat >conftest.$ac_ext <<_ACEOF
7538
cat confdefs.h >>conftest.$ac_ext
7539
cat >>conftest.$ac_ext <<_ACEOF
7540
/* end confdefs.h. */
7542
/* Override any GCC internal prototype to avoid an error.
7543
Use char because int might match the return type of a GCC
7544
builtin and then its argument prototype would still apply. */
7557
rm -f conftest.$ac_objext conftest$ac_exeext
7558
if { (ac_try="$ac_link"
7560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7561
*) ac_try_echo=$ac_try;;
7563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564
(eval "$ac_link") 2>conftest.er1
7566
grep -v '^ *+' conftest.er1 >conftest.err
7568
cat conftest.err >&5
7569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570
(exit $ac_status); } && {
7571
test -z "$ac_c_werror_flag" ||
7572
test ! -s conftest.err
7573
} && test -s conftest$ac_exeext &&
7574
$as_test_x conftest$ac_exeext; then
7575
ac_cv_lib_intl_ngettext=yes
7577
echo "$as_me: failed program was:" >&5
7578
sed 's/^/| /' conftest.$ac_ext >&5
7580
ac_cv_lib_intl_ngettext=no
7583
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7584
conftest$ac_exeext conftest.$ac_ext
7585
LIBS=$ac_check_lib_save_LIBS
7587
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7588
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7589
if test $ac_cv_lib_intl_ngettext = yes; then
7590
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7591
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
7592
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7593
echo $ECHO_N "(cached) $ECHO_C" >&6
7595
ac_check_lib_save_LIBS=$LIBS
7596
LIBS="-lintl -liconv $LIBS"
7597
cat >conftest.$ac_ext <<_ACEOF
7600
cat confdefs.h >>conftest.$ac_ext
7601
cat >>conftest.$ac_ext <<_ACEOF
7602
/* end confdefs.h. */
7604
/* Override any GCC internal prototype to avoid an error.
7605
Use char because int might match the return type of a GCC
7606
builtin and then its argument prototype would still apply. */
7614
return dcgettext ();
7619
rm -f conftest.$ac_objext conftest$ac_exeext
7620
if { (ac_try="$ac_link"
7622
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7623
*) ac_try_echo=$ac_try;;
7625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7626
(eval "$ac_link") 2>conftest.er1
7628
grep -v '^ *+' conftest.er1 >conftest.err
7630
cat conftest.err >&5
7631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632
(exit $ac_status); } && {
7633
test -z "$ac_c_werror_flag" ||
7634
test ! -s conftest.err
7635
} && test -s conftest$ac_exeext &&
7636
$as_test_x conftest$ac_exeext; then
7637
ac_cv_lib_intl_dcgettext=yes
7639
echo "$as_me: failed program was:" >&5
7640
sed 's/^/| /' conftest.$ac_ext >&5
7642
ac_cv_lib_intl_dcgettext=no
7645
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7646
conftest$ac_exeext conftest.$ac_ext
7647
LIBS=$ac_check_lib_save_LIBS
7649
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7650
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7651
if test $ac_cv_lib_intl_dcgettext = yes; then
7652
gt_cv_func_dgettext_libintl=yes
7653
libintl_extra_libs=-liconv
7665
# If we found libintl, then check in it for bind_textdomain_codeset();
7666
# we'll prefer libc if neither have bind_textdomain_codeset(),
7667
# and both have dgettext and ngettext
7669
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7670
glib_save_LIBS="$LIBS"
7671
LIBS="$LIBS -lintl $libintl_extra_libs"
7672
unset ac_cv_func_bind_textdomain_codeset
7674
for ac_func in bind_textdomain_codeset
7676
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7677
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7678
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7679
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7680
echo $ECHO_N "(cached) $ECHO_C" >&6
7682
cat >conftest.$ac_ext <<_ACEOF
7685
cat confdefs.h >>conftest.$ac_ext
7686
cat >>conftest.$ac_ext <<_ACEOF
7687
/* end confdefs.h. */
7688
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7689
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7690
#define $ac_func innocuous_$ac_func
7692
/* System header to define __stub macros and hopefully few prototypes,
7693
which can conflict with char $ac_func (); below.
7694
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7695
<limits.h> exists even on freestanding compilers. */
7698
# include <limits.h>
7700
# include <assert.h>
7705
/* Override any GCC internal prototype to avoid an error.
7706
Use char because int might match the return type of a GCC
7707
builtin and then its argument prototype would still apply. */
7712
/* The GNU C library defines this for functions which it implements
7713
to always fail with ENOSYS. Some functions are actually named
7714
something starting with __ and the normal name is an alias. */
7715
#if defined __stub_$ac_func || defined __stub___$ac_func
7727
rm -f conftest.$ac_objext conftest$ac_exeext
7728
if { (ac_try="$ac_link"
7730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731
*) ac_try_echo=$ac_try;;
7733
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734
(eval "$ac_link") 2>conftest.er1
7736
grep -v '^ *+' conftest.er1 >conftest.err
7738
cat conftest.err >&5
7739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740
(exit $ac_status); } && {
7741
test -z "$ac_c_werror_flag" ||
7742
test ! -s conftest.err
7743
} && test -s conftest$ac_exeext &&
7744
$as_test_x conftest$ac_exeext; then
7745
eval "$as_ac_var=yes"
7747
echo "$as_me: failed program was:" >&5
7748
sed 's/^/| /' conftest.$ac_ext >&5
7750
eval "$as_ac_var=no"
7753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7754
conftest$ac_exeext conftest.$ac_ext
7756
ac_res=`eval echo '${'$as_ac_var'}'`
7757
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7758
echo "${ECHO_T}$ac_res" >&6; }
7759
if test `eval echo '${'$as_ac_var'}'` = yes; then
7760
cat >>confdefs.h <<_ACEOF
7761
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7767
LIBS="$glib_save_LIBS"
7769
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7770
gt_cv_func_dgettext_libc=no
7772
if test "$gt_cv_func_dgettext_libc" = "yes" \
7773
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
7774
gt_cv_func_dgettext_libintl=no
7780
if test "$gt_cv_func_dgettext_libc" = "yes" \
7781
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
7782
gt_cv_have_gettext=yes
7785
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7786
INTLLIBS="-lintl $libintl_extra_libs"
7789
if test "$gt_cv_have_gettext" = "yes"; then
7791
cat >>confdefs.h <<\_ACEOF
7792
@%:@define HAVE_GETTEXT 1
7795
# Extract the first word of "msgfmt", so it can be a program name with args.
7796
set dummy msgfmt; ac_word=$2
7797
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7798
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7799
if test "${ac_cv_path_MSGFMT+set}" = set; then
7800
echo $ECHO_N "(cached) $ECHO_C" >&6
7804
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7807
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7808
for ac_dir in $PATH; do
7809
test -z "$ac_dir" && ac_dir=.
7810
if test -f $ac_dir/$ac_word; then
7811
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7812
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7818
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7822
MSGFMT="$ac_cv_path_MSGFMT"
7823
if test "$MSGFMT" != "no"; then
7824
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
7825
echo "${ECHO_T}$MSGFMT" >&6; }
7827
{ echo "$as_me:$LINENO: result: no" >&5
7828
echo "${ECHO_T}no" >&6; }
7830
if test "$MSGFMT" != "no"; then
7831
glib_save_LIBS="$LIBS"
7832
LIBS="$LIBS $INTLLIBS"
7834
for ac_func in dcgettext
7836
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7837
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7838
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7839
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7840
echo $ECHO_N "(cached) $ECHO_C" >&6
7842
cat >conftest.$ac_ext <<_ACEOF
7845
cat confdefs.h >>conftest.$ac_ext
7846
cat >>conftest.$ac_ext <<_ACEOF
7847
/* end confdefs.h. */
7848
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7849
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7850
#define $ac_func innocuous_$ac_func
7852
/* System header to define __stub macros and hopefully few prototypes,
7853
which can conflict with char $ac_func (); below.
7854
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7855
<limits.h> exists even on freestanding compilers. */
7858
# include <limits.h>
7860
# include <assert.h>
7865
/* Override any GCC internal prototype to avoid an error.
7866
Use char because int might match the return type of a GCC
7867
builtin and then its argument prototype would still apply. */
7872
/* The GNU C library defines this for functions which it implements
7873
to always fail with ENOSYS. Some functions are actually named
7874
something starting with __ and the normal name is an alias. */
7875
#if defined __stub_$ac_func || defined __stub___$ac_func
7887
rm -f conftest.$ac_objext conftest$ac_exeext
7888
if { (ac_try="$ac_link"
7890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7891
*) ac_try_echo=$ac_try;;
7893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7894
(eval "$ac_link") 2>conftest.er1
7896
grep -v '^ *+' conftest.er1 >conftest.err
7898
cat conftest.err >&5
7899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900
(exit $ac_status); } && {
7901
test -z "$ac_c_werror_flag" ||
7902
test ! -s conftest.err
7903
} && test -s conftest$ac_exeext &&
7904
$as_test_x conftest$ac_exeext; then
7905
eval "$as_ac_var=yes"
7907
echo "$as_me: failed program was:" >&5
7908
sed 's/^/| /' conftest.$ac_ext >&5
7910
eval "$as_ac_var=no"
7913
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7914
conftest$ac_exeext conftest.$ac_ext
7916
ac_res=`eval echo '${'$as_ac_var'}'`
7917
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7918
echo "${ECHO_T}$ac_res" >&6; }
7919
if test `eval echo '${'$as_ac_var'}'` = yes; then
7920
cat >>confdefs.h <<_ACEOF
7921
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7928
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7929
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7930
cat >conftest.foo <<_ACEOF
7934
"Content-Type: text/plain; charset=UTF-8\n"
7935
"Project-Id-Version: test 1.0\n"
7936
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
7937
"Last-Translator: test <foo@bar.xx>\n"
7938
"Language-Team: C <LL@li.org>\n"
7939
"MIME-Version: 1.0\n"
7940
"Content-Transfer-Encoding: 8bit\n"
7943
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7944
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947
(exit $ac_status); }; then
7948
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7949
echo "${ECHO_T}yes" >&6; }
7950
else { echo "$as_me:$LINENO: result: no" >&5
7951
echo "${ECHO_T}no" >&6; }
7952
echo "$as_me: failed input was:" >&5
7953
sed 's/^/| /' conftest.foo >&5
7956
# Extract the first word of "gmsgfmt", so it can be a program name with args.
7957
set dummy gmsgfmt; ac_word=$2
7958
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7959
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7960
if test "${ac_cv_path_GMSGFMT+set}" = set; then
7961
echo $ECHO_N "(cached) $ECHO_C" >&6
7965
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972
test -z "$as_dir" && as_dir=.
7973
for ac_exec_ext in '' $ac_executable_extensions; do
7974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7976
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7983
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7987
GMSGFMT=$ac_cv_path_GMSGFMT
7988
if test -n "$GMSGFMT"; then
7989
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7990
echo "${ECHO_T}$GMSGFMT" >&6; }
7992
{ echo "$as_me:$LINENO: result: no" >&5
7993
echo "${ECHO_T}no" >&6; }
7997
# Extract the first word of "xgettext", so it can be a program name with args.
7998
set dummy xgettext; ac_word=$2
7999
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8000
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8001
if test "${ac_cv_path_XGETTEXT+set}" = set; then
8002
echo $ECHO_N "(cached) $ECHO_C" >&6
8006
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8009
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8010
for ac_dir in $PATH; do
8011
test -z "$ac_dir" && ac_dir=.
8012
if test -f $ac_dir/$ac_word; then
8013
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8014
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
8020
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
8024
XGETTEXT="$ac_cv_path_XGETTEXT"
8025
if test "$XGETTEXT" != ":"; then
8026
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8027
echo "${ECHO_T}$XGETTEXT" >&6; }
8029
{ echo "$as_me:$LINENO: result: no" >&5
8030
echo "${ECHO_T}no" >&6; }
8033
cat >conftest.$ac_ext <<_ACEOF
8036
cat confdefs.h >>conftest.$ac_ext
8037
cat >>conftest.$ac_ext <<_ACEOF
8038
/* end confdefs.h. */
8043
extern int _nl_msg_cat_cntr;
8044
return _nl_msg_cat_cntr
8049
rm -f conftest.$ac_objext conftest$ac_exeext
8050
if { (ac_try="$ac_link"
8052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8053
*) ac_try_echo=$ac_try;;
8055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056
(eval "$ac_link") 2>conftest.er1
8058
grep -v '^ *+' conftest.er1 >conftest.err
8060
cat conftest.err >&5
8061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062
(exit $ac_status); } && {
8063
test -z "$ac_c_werror_flag" ||
8064
test ! -s conftest.err
8065
} && test -s conftest$ac_exeext &&
8066
$as_test_x conftest$ac_exeext; then
8070
echo "$as_me: failed program was:" >&5
8071
sed 's/^/| /' conftest.$ac_ext >&5
8075
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8076
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8077
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8078
echo $ECHO_N "(cached) $ECHO_C" >&6
8080
cat >conftest.$ac_ext <<_ACEOF
8083
cat confdefs.h >>conftest.$ac_ext
8084
cat >>conftest.$ac_ext <<_ACEOF
8085
/* end confdefs.h. */
8086
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8087
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8088
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8090
/* System header to define __stub macros and hopefully few prototypes,
8091
which can conflict with char bind_textdomain_codeset (); below.
8092
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8093
<limits.h> exists even on freestanding compilers. */
8096
# include <limits.h>
8098
# include <assert.h>
8101
#undef bind_textdomain_codeset
8103
/* Override any GCC internal prototype to avoid an error.
8104
Use char because int might match the return type of a GCC
8105
builtin and then its argument prototype would still apply. */
8109
char bind_textdomain_codeset ();
8110
/* The GNU C library defines this for functions which it implements
8111
to always fail with ENOSYS. Some functions are actually named
8112
something starting with __ and the normal name is an alias. */
8113
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8120
return bind_textdomain_codeset ();
8125
rm -f conftest.$ac_objext conftest$ac_exeext
8126
if { (ac_try="$ac_link"
8128
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8129
*) ac_try_echo=$ac_try;;
8131
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8132
(eval "$ac_link") 2>conftest.er1
8134
grep -v '^ *+' conftest.er1 >conftest.err
8136
cat conftest.err >&5
8137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138
(exit $ac_status); } && {
8139
test -z "$ac_c_werror_flag" ||
8140
test ! -s conftest.err
8141
} && test -s conftest$ac_exeext &&
8142
$as_test_x conftest$ac_exeext; then
8143
ac_cv_func_bind_textdomain_codeset=yes
8145
echo "$as_me: failed program was:" >&5
8146
sed 's/^/| /' conftest.$ac_ext >&5
8148
ac_cv_func_bind_textdomain_codeset=no
8151
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8152
conftest$ac_exeext conftest.$ac_ext
8154
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8155
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8156
if test $ac_cv_func_bind_textdomain_codeset = yes; then
8172
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8173
conftest$ac_exeext conftest.$ac_ext
8174
LIBS="$glib_save_LIBS"
8177
gt_cv_have_gettext=no
8185
if test "$gt_cv_have_gettext" = "yes" ; then
8187
cat >>confdefs.h <<\_ACEOF
8188
@%:@define ENABLE_NLS 1
8193
if test "$XGETTEXT" != ":"; then
8194
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8197
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8198
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
8203
# We need to process the po/ directory.
8206
ac_config_commands="$ac_config_commands default-1"
8209
for lang in $ALL_LINGUAS; do
8210
GMOFILES="$GMOFILES $lang.gmo"
8211
POFILES="$POFILES $lang.po"
8226
if test "$gt_cv_have_gettext" = "yes"; then
8227
if test "x$ALL_LINGUAS" = "x"; then
8230
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8231
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8233
for presentlang in $ALL_LINGUAS; do
8235
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
8236
desiredlanguages="$LINGUAS"
8238
desiredlanguages="$ALL_LINGUAS"
8240
for desiredlang in $desiredlanguages; do
8241
# Use the presentlang catalog if desiredlang is
8242
# a. equal to presentlang, or
8243
# b. a variant of presentlang (because in this case,
8244
# presentlang can be used as a fallback for messages
8245
# which are not translated in the desiredlang catalog).
8246
case "$desiredlang" in
8247
"$presentlang"*) useit=yes;;
8250
if test $useit = yes; then
8251
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
8254
LINGUAS=$NEW_LINGUAS
8255
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
8256
echo "${ECHO_T}$LINGUAS" >&6; }
8259
if test -n "$LINGUAS"; then
8260
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
8265
if test -n "$ac_aux_dir"; then
8266
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
8268
if test -z "$MKINSTALLDIRS"; then
8269
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8273
test -d po || mkdir po
8274
if test "x$srcdir" != "x."; then
8275
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8276
posrcprefix="$srcdir/"
8278
posrcprefix="../$srcdir/"
8284
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8285
< $srcdir/po/POTFILES.in > po/POTFILES
8288
case "$am__api_version" in
8290
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
8291
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
8292
{ (exit 1); exit 1; }; }
8299
{ echo "$as_me:$LINENO: checking for intltool >= " >&5
8300
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
8302
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8303
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
8304
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`
8306
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
8307
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
8308
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8309
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
8310
echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
8311
{ (exit 1); exit 1; }; }
8314
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 $< $@'
8315
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 $< $@'
8316
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 $< $@'
8317
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 $< $@'
8318
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
8319
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 $< $@'
8320
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 $< $@'
8321
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 $< $@'
8322
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 $< $@'
8323
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 $< $@'
8324
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 $< $@'
8325
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
8326
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 $< $@'
8327
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 $< $@'
8328
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 $< $@'
8329
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 $< $@'
8330
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 $< $@'
8331
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 $< $@'
8332
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 $< $@'
8354
# Use the tools built into the package, not the ones that are installed.
8355
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
8357
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
8359
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
8362
# Extract the first word of "perl", so it can be a program name with args.
8363
set dummy perl; ac_word=$2
8364
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8365
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8366
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8367
echo $ECHO_N "(cached) $ECHO_C" >&6
8369
case $INTLTOOL_PERL in
8371
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8378
test -z "$as_dir" && as_dir=.
8379
for ac_exec_ext in '' $ac_executable_extensions; do
8380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8381
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8382
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8392
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8393
if test -n "$INTLTOOL_PERL"; then
8394
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8395
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
8397
{ echo "$as_me:$LINENO: result: no" >&5
8398
echo "${ECHO_T}no" >&6; }
8402
if test -z "$INTLTOOL_PERL"; then
8403
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
8404
echo "$as_me: error: perl not found; required for intltool" >&2;}
8405
{ (exit 1); exit 1; }; }
8407
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
8408
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
8409
echo "$as_me: error: perl 5.x required for intltool" >&2;}
8410
{ (exit 1); exit 1; }; }
8412
if test "x" != "xno-xml"; then
8413
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
8414
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
8415
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8416
{ echo "$as_me:$LINENO: result: ok" >&5
8417
echo "${ECHO_T}ok" >&6; }
8419
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
8420
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
8421
{ (exit 1); exit 1; }; }
8425
# Substitute ALL_LINGUAS so we can use it in po/Makefile
8428
# Set DATADIRNAME correctly if it is not set yet
8429
# (copied from glib-gettext.m4)
8430
if test -z "$DATADIRNAME"; then
8431
cat >conftest.$ac_ext <<_ACEOF
8434
cat confdefs.h >>conftest.$ac_ext
8435
cat >>conftest.$ac_ext <<_ACEOF
8436
/* end confdefs.h. */
8441
extern int _nl_msg_cat_cntr;
8442
return _nl_msg_cat_cntr
8447
rm -f conftest.$ac_objext conftest$ac_exeext
8448
if { (ac_try="$ac_link"
8450
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8451
*) ac_try_echo=$ac_try;;
8453
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8454
(eval "$ac_link") 2>conftest.er1
8456
grep -v '^ *+' conftest.er1 >conftest.err
8458
cat conftest.err >&5
8459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460
(exit $ac_status); } && {
8461
test -z "$ac_c_werror_flag" ||
8462
test ! -s conftest.err
8463
} && test -s conftest$ac_exeext &&
8464
$as_test_x conftest$ac_exeext; then
8467
echo "$as_me: failed program was:" >&5
8468
sed 's/^/| /' conftest.$ac_ext >&5
8472
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8473
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8474
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8475
echo $ECHO_N "(cached) $ECHO_C" >&6
8477
cat >conftest.$ac_ext <<_ACEOF
8480
cat confdefs.h >>conftest.$ac_ext
8481
cat >>conftest.$ac_ext <<_ACEOF
8482
/* end confdefs.h. */
8483
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8484
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8485
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8487
/* System header to define __stub macros and hopefully few prototypes,
8488
which can conflict with char bind_textdomain_codeset (); below.
8489
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8490
<limits.h> exists even on freestanding compilers. */
8493
# include <limits.h>
8495
# include <assert.h>
8498
#undef bind_textdomain_codeset
8500
/* Override any GCC internal prototype to avoid an error.
8501
Use char because int might match the return type of a GCC
8502
builtin and then its argument prototype would still apply. */
8506
char bind_textdomain_codeset ();
8507
/* The GNU C library defines this for functions which it implements
8508
to always fail with ENOSYS. Some functions are actually named
8509
something starting with __ and the normal name is an alias. */
8510
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8517
return bind_textdomain_codeset ();
8522
rm -f conftest.$ac_objext conftest$ac_exeext
8523
if { (ac_try="$ac_link"
8525
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8526
*) ac_try_echo=$ac_try;;
8528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8529
(eval "$ac_link") 2>conftest.er1
8531
grep -v '^ *+' conftest.er1 >conftest.err
8533
cat conftest.err >&5
8534
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535
(exit $ac_status); } && {
8536
test -z "$ac_c_werror_flag" ||
8537
test ! -s conftest.err
8538
} && test -s conftest$ac_exeext &&
8539
$as_test_x conftest$ac_exeext; then
8540
ac_cv_func_bind_textdomain_codeset=yes
8542
echo "$as_me: failed program was:" >&5
8543
sed 's/^/| /' conftest.$ac_ext >&5
8545
ac_cv_func_bind_textdomain_codeset=no
8548
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8549
conftest$ac_exeext conftest.$ac_ext
8551
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8552
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8553
if test $ac_cv_func_bind_textdomain_codeset = yes; then
8566
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8567
conftest$ac_exeext conftest.$ac_ext
8574
ac_config_commands="$ac_config_commands intltool"
8579
ac_config_files="$ac_config_files po/Makefile.in Makefile src/schedule/config.py src/schedule/Makefile"
8581
cat >confcache <<\_ACEOF
8582
# This file is a shell script that caches the results of configure
8583
# tests run on this system so they can be shared between configure
8584
# scripts and configure runs, see configure's option --config-cache.
8585
# It is not useful on other systems. If it contains results you don't
8586
# want to keep, you may remove or edit it.
8588
# config.status only pays attention to the cache file if you give it
8589
# the --recheck option to rerun configure.
8591
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8592
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8597
# The following way of writing the cache mishandles newlines in values,
8598
# but we know of no workaround that is simple, portable, and efficient.
8599
# So, we kill variables containing newlines.
8600
# Ultrix sh set writes to stderr and can't be redirected directly,
8601
# and sets the high bit in the cache file unless we assign to the vars.
8603
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8604
eval ac_val=\$$ac_var
8608
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8609
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8612
_ | IFS | as_nl) ;; #(
8613
*) $as_unset $ac_var ;;
8619
case $as_nl`(ac_space=' '; set) 2>&1` in #(
8620
*${as_nl}ac_space=\ *)
8621
# `set' does not quote correctly, so add quotes (double-quote
8622
# substitution turns \\\\ into \\, and sed turns \\ into \).
8625
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8628
# `set' quotes correctly as required by POSIX, so do not add quotes.
8629
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8638
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8640
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8642
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8643
if test -w "$cache_file"; then
8644
test "x$cache_file" != "x/dev/null" &&
8645
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
8646
echo "$as_me: updating cache $cache_file" >&6;}
8647
cat confcache >$cache_file
8649
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8650
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8655
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8656
# Let make expand exec_prefix.
8657
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8659
# Transform confdefs.h into DEFS.
8660
# Protect against shell expansion while executing Makefile rules.
8661
# Protect against Makefile macro expansion.
8663
# If the first sed substitution is executed (which looks for macros that
8664
# take arguments), then branch to the quote section. Otherwise,
8665
# look for a macro that doesn't take arguments.
8669
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
8671
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
8675
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8688
DEFS=`sed -n "$ac_script" confdefs.h`
8693
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
8694
# 1. Remove the extension, and $U if already installed.
8695
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8696
ac_i=`echo "$ac_i" | sed "$ac_script"`
8697
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8698
# will be set to the directory where LIBOBJS objects are built.
8699
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8700
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8702
LIB@&t@OBJS=$ac_libobjs
8704
LTLIBOBJS=$ac_ltlibobjs
8707
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
8708
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
8709
Usually this means the macro was only invoked conditionally." >&5
8710
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
8711
Usually this means the macro was only invoked conditionally." >&2;}
8712
{ (exit 1); exit 1; }; }
8714
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
8715
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
8716
Usually this means the macro was only invoked conditionally." >&5
8717
echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
8718
Usually this means the macro was only invoked conditionally." >&2;}
8719
{ (exit 1); exit 1; }; }
8721
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8722
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8723
Usually this means the macro was only invoked conditionally." >&5
8724
echo "$as_me: error: conditional \"AMDEP\" was never defined.
8725
Usually this means the macro was only invoked conditionally." >&2;}
8726
{ (exit 1); exit 1; }; }
8728
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8729
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8730
Usually this means the macro was only invoked conditionally." >&5
8731
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8732
Usually this means the macro was only invoked conditionally." >&2;}
8733
{ (exit 1); exit 1; }; }
8736
ac_config_commands="$ac_config_commands po/stamp-it"
8740
: ${CONFIG_STATUS=./config.status}
8741
ac_clean_files_save=$ac_clean_files
8742
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8743
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8744
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8745
cat >$CONFIG_STATUS <<_ACEOF
8747
# Generated by $as_me.
8748
# Run this file to recreate the current configuration.
8749
# Compiler output produced by configure, useful for debugging
8750
# configure, is in config.log if it exists.
8755
SHELL=\${CONFIG_SHELL-$SHELL}
8758
cat >>$CONFIG_STATUS <<\_ACEOF
8759
## --------------------- ##
8760
## M4sh Initialization. ##
8761
## --------------------- ##
8763
# Be more Bourne compatible
8764
DUALCASE=1; export DUALCASE # for MKS sh
8765
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8768
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8769
# is contrary to our usage. Disable this feature.
8770
alias -g '${1+"$@"}'='"$@"'
8771
setopt NO_GLOB_SUBST
8773
case `(set -o) 2>/dev/null` in
8774
*posix*) set -o posix ;;
8783
# Avoid depending upon Character Ranges.
8784
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8785
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8786
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8787
as_cr_digits='0123456789'
8788
as_cr_alnum=$as_cr_Letters$as_cr_digits
8790
# The user is always right.
8791
if test "${PATH_SEPARATOR+set}" != set; then
8792
echo "#! /bin/sh" >conf$$.sh
8793
echo "exit 0" >>conf$$.sh
8795
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8803
# Support unset when possible.
8804
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8812
# We need space, tab and new line, in precisely that order. Quoting is
8813
# there to prevent editors from complaining about space-tab.
8814
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8815
# splitting by setting IFS to empty value.)
8820
# Find who we are. Look in the path if we contain no directory separator.
8822
*[\\/]* ) as_myself=$0 ;;
8823
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8827
test -z "$as_dir" && as_dir=.
8828
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8834
# We did not find ourselves, most probably we were run as `sh COMMAND'
8835
# in which case we are not to be found in the path.
8836
if test "x$as_myself" = x; then
8839
if test ! -f "$as_myself"; then
8840
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8841
{ (exit 1); exit 1; }
8844
# Work around bugs in pre-3.0 UWIN ksh.
8845
for as_var in ENV MAIL MAILPATH
8846
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8854
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8855
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8856
LC_TELEPHONE LC_TIME
8858
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8859
eval $as_var=C; export $as_var
8861
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8865
# Required to use basename.
8866
if expr a : '\(a\)' >/dev/null 2>&1 &&
8867
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8873
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8874
as_basename=basename
8880
# Name of the executable.
8881
as_me=`$as_basename -- "$0" ||
8882
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8883
X"$0" : 'X\(//\)$' \| \
8884
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8886
sed '/^.*\/\([^/][^/]*\)\/*$/{
8907
test "x$as_lineno_1" != "x$as_lineno_2" &&
8908
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8910
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8911
# uniformly replaced by the line number. The first 'sed' inserts a
8912
# line-number line after each line using $LINENO; the second 'sed'
8913
# does the real work. The second script uses 'N' to pair each
8914
# line-number line with the line containing $LINENO, and appends
8915
# trailing '-' during substitution so that $LINENO is not a special
8917
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8918
# scripts with optimization help from Paolo Bonzini. Blame Lee
8919
# E. McMahon (1931-1989) for sed's syntax. :-)
8931
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8935
chmod +x "$as_me.lineno" ||
8936
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8937
{ (exit 1); exit 1; }; }
8939
# Don't try to exec as it changes $[0], causing all sort of problems
8940
# (the dirname of $[0] is not the place where we might find the
8941
# original and so on. Autoconf is especially sensitive to this).
8943
# Exit status is that of the last command.
8948
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8954
ECHO_C= ECHO_N= ECHO_T=
8957
case `echo 'x\c'` in
8958
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
8965
if expr a : '\(a\)' >/dev/null 2>&1 &&
8966
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8972
rm -f conf$$ conf$$.exe conf$$.file
8973
if test -d conf$$.dir; then
8974
rm -f conf$$.dir/conf$$.file
8980
if ln -s conf$$.file conf$$ 2>/dev/null; then
8982
# ... but there are two gotchas:
8983
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8984
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8985
# In both cases, we have to default to `cp -p'.
8986
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8988
elif ln conf$$.file conf$$ 2>/dev/null; then
8993
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8994
rmdir conf$$.dir 2>/dev/null
8996
if mkdir -p . 2>/dev/null; then
8999
test -d ./-p && rmdir ./-p
9003
if test -x / >/dev/null 2>&1; then
9006
if ls -dL / >/dev/null 2>&1; then
9013
if test -d "$1"; then
9019
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9020
???[sx]*):;;*)false;;esac;fi
9024
as_executable_p=$as_test_x
9026
# Sed expression to map a string onto a valid CPP name.
9027
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9029
# Sed expression to map a string onto a valid variable name.
9030
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9035
# Save the log message, to keep $[0] and so on meaningful, and to
9036
# report actual input values of CONFIG_FILES etc. instead of their
9037
# values after options handling.
9039
This file was extended by python-schedule $as_me 1.0, which was
9040
generated by GNU Autoconf 2.61. Invocation command line was
9042
CONFIG_FILES = $CONFIG_FILES
9043
CONFIG_HEADERS = $CONFIG_HEADERS
9044
CONFIG_LINKS = $CONFIG_LINKS
9045
CONFIG_COMMANDS = $CONFIG_COMMANDS
9048
on `(hostname || uname -n) 2>/dev/null | sed 1q`
9053
cat >>$CONFIG_STATUS <<_ACEOF
9054
# Files that config.status was made for.
9055
config_files="$ac_config_files"
9056
config_commands="$ac_config_commands"
9060
cat >>$CONFIG_STATUS <<\_ACEOF
9062
\`$as_me' instantiates files from templates according to the
9063
current configuration.
9065
Usage: $0 [OPTIONS] [FILE]...
9067
-h, --help print this help, then exit
9068
-V, --version print version number and configuration settings, then exit
9069
-q, --quiet do not print progress messages
9070
-d, --debug don't remove temporary files
9071
--recheck update $as_me by reconfiguring in the same conditions
9072
--file=FILE[:TEMPLATE]
9073
instantiate the configuration file FILE
9075
Configuration files:
9078
Configuration commands:
9081
Report bugs to <bug-autoconf@gnu.org>."
9084
cat >>$CONFIG_STATUS <<_ACEOF
9086
python-schedule config.status 1.0
9087
configured by $0, generated by GNU Autoconf 2.61,
9088
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9090
Copyright (C) 2006 Free Software Foundation, Inc.
9091
This config.status script is free software; the Free Software Foundation
9092
gives unlimited permission to copy, distribute and modify it."
9100
cat >>$CONFIG_STATUS <<\_ACEOF
9101
# If no file are specified by the user, then we need to provide default
9102
# value. By we need to know if files were specified by the user.
9108
ac_option=`expr "X$1" : 'X\([^=]*\)='`
9109
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9120
# Handling of the options.
9121
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9123
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9124
echo "$ac_cs_version"; exit ;;
9125
--debug | --debu | --deb | --de | --d | -d )
9127
--file | --fil | --fi | --f )
9129
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9130
ac_need_defaults=false;;
9131
--he | --h | --help | --hel | -h )
9132
echo "$ac_cs_usage"; exit ;;
9133
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9134
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9138
-*) { echo "$as_me: error: unrecognized option: $1
9139
Try \`$0 --help' for more information." >&2
9140
{ (exit 1); exit 1; }; } ;;
9142
*) ac_config_targets="$ac_config_targets $1"
9143
ac_need_defaults=false ;;
9149
ac_configure_extra_args=
9151
if $ac_cs_silent; then
9153
ac_configure_extra_args="$ac_configure_extra_args --silent"
9157
cat >>$CONFIG_STATUS <<_ACEOF
9158
if \$ac_cs_recheck; then
9159
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9162
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9166
cat >>$CONFIG_STATUS <<\_ACEOF
9170
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
9171
@%:@@%:@ Running $as_me. @%:@@%:@
9177
cat >>$CONFIG_STATUS <<_ACEOF
9181
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
9182
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9183
# from automake < 1.5.
9184
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9185
# Capture the value of LINGUAS because we need it to compute CATALOGS.
9186
LINGUAS="${LINGUAS-%UNSET%}"
9188
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9190
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
9191
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
9192
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
9196
cat >>$CONFIG_STATUS <<\_ACEOF
9198
# Handling of arguments.
9199
for ac_config_target in $ac_config_targets
9201
case $ac_config_target in
9202
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9203
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9204
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9205
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
9206
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9207
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9208
"src/schedule/config.py") CONFIG_FILES="$CONFIG_FILES src/schedule/config.py" ;;
9209
"src/schedule/Makefile") CONFIG_FILES="$CONFIG_FILES src/schedule/Makefile" ;;
9210
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
9212
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9213
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9214
{ (exit 1); exit 1; }; };;
9219
# If the user did not use the arguments to specify the items to instantiate,
9220
# then the envvar interface is used. Set only those that are not.
9221
# We use the long form for the default assignment because of an extremely
9222
# bizarre bug on SunOS 4.1.3.
9223
if $ac_need_defaults; then
9224
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9225
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9228
# Have a temporary directory for convenience. Make it in the build tree
9229
# simply because there is no reason against having it here, and in addition,
9230
# creating and moving files from /tmp can sometimes cause problems.
9231
# Hook for its removal unless debugging.
9232
# Note that there is a small window in which the directory will not be cleaned:
9233
# after its creation but before its name has been assigned to `$tmp'.
9237
trap 'exit_status=$?
9238
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9240
trap '{ (exit 1); exit 1; }' 1 2 13 15
9242
# Create a (secure) tmp directory for tmp files.
9245
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9246
test -n "$tmp" && test -d "$tmp"
9249
tmp=./conf$$-$RANDOM
9250
(umask 077 && mkdir "$tmp")
9253
echo "$me: cannot create a temporary directory in ." >&2
9254
{ (exit 1); exit 1; }
9258
# Set up the sed scripts for CONFIG_FILES section.
9261
# No need to generate the scripts if there are no CONFIG_FILES.
9262
# This happens for instance when ./config.status config.h
9263
if test -n "$CONFIG_FILES"; then
9270
for ac_last_try in false false false false false :; do
9271
cat >conf$$subs.sed <<_ACEOF
9272
SHELL!$SHELL$ac_delim
9273
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9274
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9275
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9276
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9277
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9278
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9279
exec_prefix!$exec_prefix$ac_delim
9280
prefix!$prefix$ac_delim
9281
program_transform_name!$program_transform_name$ac_delim
9282
bindir!$bindir$ac_delim
9283
sbindir!$sbindir$ac_delim
9284
libexecdir!$libexecdir$ac_delim
9285
datarootdir!$datarootdir$ac_delim
9286
datadir!$datadir$ac_delim
9287
sysconfdir!$sysconfdir$ac_delim
9288
sharedstatedir!$sharedstatedir$ac_delim
9289
localstatedir!$localstatedir$ac_delim
9290
includedir!$includedir$ac_delim
9291
oldincludedir!$oldincludedir$ac_delim
9292
docdir!$docdir$ac_delim
9293
infodir!$infodir$ac_delim
9294
htmldir!$htmldir$ac_delim
9295
dvidir!$dvidir$ac_delim
9296
pdfdir!$pdfdir$ac_delim
9297
psdir!$psdir$ac_delim
9298
libdir!$libdir$ac_delim
9299
localedir!$localedir$ac_delim
9300
mandir!$mandir$ac_delim
9302
ECHO_C!$ECHO_C$ac_delim
9303
ECHO_N!$ECHO_N$ac_delim
9304
ECHO_T!$ECHO_T$ac_delim
9306
build_alias!$build_alias$ac_delim
9307
host_alias!$host_alias$ac_delim
9308
target_alias!$target_alias$ac_delim
9309
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9310
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9311
INSTALL_DATA!$INSTALL_DATA$ac_delim
9312
am__isrc!$am__isrc$ac_delim
9313
CYGPATH_W!$CYGPATH_W$ac_delim
9314
PACKAGE!$PACKAGE$ac_delim
9315
VERSION!$VERSION$ac_delim
9316
ACLOCAL!$ACLOCAL$ac_delim
9317
AUTOCONF!$AUTOCONF$ac_delim
9318
AUTOMAKE!$AUTOMAKE$ac_delim
9319
AUTOHEADER!$AUTOHEADER$ac_delim
9320
MAKEINFO!$MAKEINFO$ac_delim
9321
install_sh!$install_sh$ac_delim
9322
STRIP!$STRIP$ac_delim
9323
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9324
mkdir_p!$mkdir_p$ac_delim
9326
SET_MAKE!$SET_MAKE$ac_delim
9327
am__leading_dot!$am__leading_dot$ac_delim
9328
AMTAR!$AMTAR$ac_delim
9329
am__tar!$am__tar$ac_delim
9330
am__untar!$am__untar$ac_delim
9331
PYTHON!$PYTHON$ac_delim
9332
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
9333
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
9334
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
9335
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
9336
pythondir!$pythondir$ac_delim
9337
pkgpythondir!$pkgpythondir$ac_delim
9338
pyexecdir!$pyexecdir$ac_delim
9339
pkgpyexecdir!$pkgpyexecdir$ac_delim
9340
PKGCONFIG!$PKGCONFIG$ac_delim
9341
PYTHONPATH!$PYTHONPATH$ac_delim
9342
CRONTAB_CONFIG!$CRONTAB_CONFIG$ac_delim
9343
AT_CONFIG!$AT_CONFIG$ac_delim
9344
ATQ_CONFIG!$ATQ_CONFIG$ac_delim
9345
ATRM_CONFIG!$ATRM_CONFIG$ac_delim
9346
BATCH_CONFIG!$BATCH_CONFIG$ac_delim
9347
PYTHON_CONFIG!$PYTHON_CONFIG$ac_delim
9348
SU_CONFIG!$SU_CONFIG$ac_delim
9349
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
9350
PKG_CONFIG!$PKG_CONFIG$ac_delim
9351
HELP_DIR!$HELP_DIR$ac_delim
9352
OMF_DIR!$OMF_DIR$ac_delim
9353
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
9354
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
9355
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
9356
HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
9357
HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
9358
USE_NLS!$USE_NLS$ac_delim
9359
MSGFMT!$MSGFMT$ac_delim
9360
GMSGFMT!$GMSGFMT$ac_delim
9361
MSGFMT_015!$MSGFMT_015$ac_delim
9362
GMSGFMT_015!$GMSGFMT_015$ac_delim
9363
XGETTEXT!$XGETTEXT$ac_delim
9364
XGETTEXT_015!$XGETTEXT_015$ac_delim
9365
MSGMERGE!$MSGMERGE$ac_delim
9367
CFLAGS!$CFLAGS$ac_delim
9368
LDFLAGS!$LDFLAGS$ac_delim
9371
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9373
elif $ac_last_try; then
9374
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9375
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9376
{ (exit 1); exit 1; }; }
9378
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9382
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9383
if test -n "$ac_eof"; then
9384
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9385
ac_eof=`expr $ac_eof + 1`
9388
cat >>$CONFIG_STATUS <<_ACEOF
9389
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9390
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9393
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9394
s/^/s,@/; s/!/@,|#_!!_#|/
9397
s/'"$ac_delim"'$/,g/; t
9399
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9400
' >>$CONFIG_STATUS <conf$$subs.sed
9401
rm -f conf$$subs.sed
9402
cat >>$CONFIG_STATUS <<_ACEOF
9408
for ac_last_try in false false false false false :; do
9409
cat >conf$$subs.sed <<_ACEOF
9410
CPPFLAGS!$CPPFLAGS$ac_delim
9411
ac_ct_CC!$ac_ct_CC$ac_delim
9412
EXEEXT!$EXEEXT$ac_delim
9413
OBJEXT!$OBJEXT$ac_delim
9414
DEPDIR!$DEPDIR$ac_delim
9415
am__include!$am__include$ac_delim
9416
am__quote!$am__quote$ac_delim
9417
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9418
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9419
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9420
CCDEPMODE!$CCDEPMODE$ac_delim
9421
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9422
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9423
build!$build$ac_delim
9424
build_cpu!$build_cpu$ac_delim
9425
build_vendor!$build_vendor$ac_delim
9426
build_os!$build_os$ac_delim
9428
host_cpu!$host_cpu$ac_delim
9429
host_vendor!$host_vendor$ac_delim
9430
host_os!$host_os$ac_delim
9431
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
9432
LIBICONV!$LIBICONV$ac_delim
9433
LTLIBICONV!$LTLIBICONV$ac_delim
9434
INTLLIBS!$INTLLIBS$ac_delim
9435
LIBINTL!$LIBINTL$ac_delim
9436
LTLIBINTL!$LTLIBINTL$ac_delim
9437
POSUB!$POSUB$ac_delim
9440
EGREP!$EGREP$ac_delim
9441
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
9442
CATALOGS!$CATALOGS$ac_delim
9443
CATOBJEXT!$CATOBJEXT$ac_delim
9444
DATADIRNAME!$DATADIRNAME$ac_delim
9445
GMOFILES!$GMOFILES$ac_delim
9446
INSTOBJEXT!$INSTOBJEXT$ac_delim
9447
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
9448
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
9449
POFILES!$POFILES$ac_delim
9450
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
9451
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
9452
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
9453
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
9454
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
9455
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
9456
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
9457
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
9458
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
9459
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
9460
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
9461
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
9462
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
9463
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
9464
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
9465
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
9466
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
9467
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
9468
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
9469
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
9470
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
9471
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
9472
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
9473
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
9474
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
9475
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
9476
LTLIBOBJS!$LTLIBOBJS$ac_delim
9479
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
9481
elif $ac_last_try; then
9482
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9483
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9484
{ (exit 1); exit 1; }; }
9486
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9490
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9491
if test -n "$ac_eof"; then
9492
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9493
ac_eof=`expr $ac_eof + 1`
9496
cat >>$CONFIG_STATUS <<_ACEOF
9497
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9498
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9501
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9502
s/^/s,@/; s/!/@,|#_!!_#|/
9505
s/'"$ac_delim"'$/,g/; t
9507
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9508
' >>$CONFIG_STATUS <conf$$subs.sed
9509
rm -f conf$$subs.sed
9510
cat >>$CONFIG_STATUS <<_ACEOF
9517
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9518
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9519
# trailing colons and then remove the whole line if VPATH becomes empty
9520
# (actually we leave an empty line to preserve line numbers).
9521
if test "x$srcdir" = x.; then
9522
ac_vpsub='/^[ ]*VPATH[ ]*=/{
9526
s/^\([^=]*=[ ]*\):*/\1/
9532
cat >>$CONFIG_STATUS <<\_ACEOF
9533
fi # test -n "$CONFIG_FILES"
9536
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
9539
:[FHLC]) ac_mode=$ac_tag; continue;;
9541
case $ac_mode$ac_tag in
9543
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9544
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9545
{ (exit 1); exit 1; }; };;
9546
:[FH]-) ac_tag=-:-;;
9547
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9564
-) ac_f="$tmp/stdin";;
9565
*) # Look for the file first in the build tree, then in the source tree
9566
# (if the path is not absolute). The absolute path cannot be DOS-style,
9567
# because $ac_f cannot contain `:'.
9571
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9573
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9574
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9575
{ (exit 1); exit 1; }; };;
9577
ac_file_inputs="$ac_file_inputs $ac_f"
9580
# Let's still pretend it is `configure' which instantiates (i.e., don't
9581
# use $as_me), people would be surprised to read:
9582
# /* config.h. Generated by config.status. */
9583
configure_input="Generated from "`IFS=:
9584
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9585
if test x"$ac_file" != x-; then
9586
configure_input="$ac_file. $configure_input"
9587
{ echo "$as_me:$LINENO: creating $ac_file" >&5
9588
echo "$as_me: creating $ac_file" >&6;}
9592
*:-:* | *:-) cat >"$tmp/stdin";;
9597
ac_dir=`$as_dirname -- "$ac_file" ||
9598
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9599
X"$ac_file" : 'X\(//\)[^/]' \| \
9600
X"$ac_file" : 'X\(//\)$' \| \
9601
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9603
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9622
-*) as_dir=./$as_dir;;
9624
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9628
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9629
*) as_qdir=$as_dir;;
9631
as_dirs="'$as_qdir' $as_dirs"
9632
as_dir=`$as_dirname -- "$as_dir" ||
9633
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9634
X"$as_dir" : 'X\(//\)[^/]' \| \
9635
X"$as_dir" : 'X\(//\)$' \| \
9636
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9638
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9655
test -d "$as_dir" && break
9657
test -z "$as_dirs" || eval "mkdir $as_dirs"
9658
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9659
echo "$as_me: error: cannot create directory $as_dir" >&2;}
9660
{ (exit 1); exit 1; }; }; }
9664
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9666
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9667
# A ".." for each directory in $ac_dir_suffix.
9668
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9669
case $ac_top_builddir_sub in
9670
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9671
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9674
ac_abs_top_builddir=$ac_pwd
9675
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9676
# for backward compatibility:
9677
ac_top_builddir=$ac_top_build_prefix
9680
.) # We are building in place.
9682
ac_top_srcdir=$ac_top_builddir_sub
9683
ac_abs_top_srcdir=$ac_pwd ;;
9684
[\\/]* | ?:[\\/]* ) # Absolute name.
9685
ac_srcdir=$srcdir$ac_dir_suffix;
9686
ac_top_srcdir=$srcdir
9687
ac_abs_top_srcdir=$srcdir ;;
9689
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9690
ac_top_srcdir=$ac_top_build_prefix$srcdir
9691
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9693
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9703
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9704
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9708
[\\/$]* | ?:[\\/]* ) ;;
9709
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9713
cat >>$CONFIG_STATUS <<\_ACEOF
9714
# If the template does not know about datarootdir, expand it.
9715
# FIXME: This hack should be removed a few years after 2.60.
9716
ac_datarootdir_hack=; ac_datarootdir_seen=
9718
case `sed -n '/datarootdir/ {
9727
' $ac_file_inputs` in
9728
*datarootdir*) ac_datarootdir_seen=yes;;
9729
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9730
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9731
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9733
cat >>$CONFIG_STATUS <<_ACEOF
9734
ac_datarootdir_hack='
9735
s&@datadir@&$datadir&g
9736
s&@docdir@&$docdir&g
9737
s&@infodir@&$infodir&g
9738
s&@localedir@&$localedir&g
9739
s&@mandir@&$mandir&g
9740
s&\\\${datarootdir}&$datarootdir&g' ;;
9744
# Neutralize VPATH when `$srcdir' = `.'.
9745
# Shell code in configure.ac might set extrasub.
9746
# FIXME: do we really want to maintain this feature?
9747
cat >>$CONFIG_STATUS <<_ACEOF
9751
cat >>$CONFIG_STATUS <<\_ACEOF
9753
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9754
s&@configure_input@&$configure_input&;t t
9755
s&@top_builddir@&$ac_top_builddir_sub&;t t
9756
s&@srcdir@&$ac_srcdir&;t t
9757
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9758
s&@top_srcdir@&$ac_top_srcdir&;t t
9759
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9760
s&@builddir@&$ac_builddir&;t t
9761
s&@abs_builddir@&$ac_abs_builddir&;t t
9762
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9763
s&@INSTALL@&$ac_INSTALL&;t t
9764
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9765
$ac_datarootdir_hack
9766
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
9768
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9769
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9770
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9771
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9772
which seems to be undefined. Please make sure it is defined." >&5
9773
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9774
which seems to be undefined. Please make sure it is defined." >&2;}
9778
-) cat "$tmp/out"; rm -f "$tmp/out";;
9779
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9784
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9785
echo "$as_me: executing $ac_file commands" >&6;}
9790
case $ac_file$ac_mode in
9792
for ac_file in $CONFIG_FILES; do
9793
# Support "outfile[:infile[:infile...]]"
9795
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9797
# PO directories have a Makefile.in generated from Makefile.in.in.
9798
case "$ac_file" in */Makefile.in)
9799
# Adjust a relative srcdir.
9800
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9801
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
9802
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9803
# In autoconf-2.13 it is called $ac_given_srcdir.
9804
# In autoconf-2.50 it is called $srcdir.
9805
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9806
case "$ac_given_srcdir" in
9807
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9808
/*) top_srcdir="$ac_given_srcdir" ;;
9809
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9811
# Treat a directory as a PO directory if and only if it has a
9812
# POTFILES.in file. This allows packages to have multiple PO
9813
# directories under different names or in different locations.
9814
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9815
rm -f "$ac_dir/POTFILES"
9816
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9817
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9818
POMAKEFILEDEPS="POTFILES.in"
9819
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9820
# on $ac_dir but don't depend on user-specified configuration
9822
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9823
# The LINGUAS file contains the set of available languages.
9824
if test -n "$OBSOLETE_ALL_LINGUAS"; then
9825
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9827
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9828
# Hide the ALL_LINGUAS assigment from automake < 1.5.
9829
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9830
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9832
# The set of available languages was given in configure.in.
9833
# Hide the ALL_LINGUAS assigment from automake < 1.5.
9834
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9837
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9838
# Compute UPDATEPOFILES
9839
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9840
# Compute DUMMYPOFILES
9841
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9843
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9844
case "$ac_given_srcdir" in
9846
*) srcdirpre='$(srcdir)/' ;;
9852
for lang in $ALL_LINGUAS; do
9853
POFILES="$POFILES $srcdirpre$lang.po"
9854
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9855
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9856
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9858
# CATALOGS depends on both $ac_dir and the user's LINGUAS
9859
# environment variable.
9861
if test -n "$ALL_LINGUAS"; then
9862
for presentlang in $ALL_LINGUAS; do
9864
if test "%UNSET%" != "$LINGUAS"; then
9865
desiredlanguages="$LINGUAS"
9867
desiredlanguages="$ALL_LINGUAS"
9869
for desiredlang in $desiredlanguages; do
9870
# Use the presentlang catalog if desiredlang is
9871
# a. equal to presentlang, or
9872
# b. a variant of presentlang (because in this case,
9873
# presentlang can be used as a fallback for messages
9874
# which are not translated in the desiredlang catalog).
9875
case "$desiredlang" in
9876
"$presentlang"*) useit=yes;;
9879
if test $useit = yes; then
9880
INST_LINGUAS="$INST_LINGUAS $presentlang"
9885
if test -n "$INST_LINGUAS"; then
9886
for lang in $INST_LINGUAS; do
9887
CATALOGS="$CATALOGS $lang.gmo"
9890
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9891
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9892
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9893
if test -f "$f"; then
9895
*.orig | *.bak | *~) ;;
9896
*) cat "$f" >> "$ac_dir/Makefile" ;;
9904
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9905
# Strip MF so we end up with the name of the file.
9906
mf=`echo "$mf" | sed -e 's/:.*$//'`
9907
# Check whether this is an Automake generated Makefile or not.
9908
# We used to match only the files named `Makefile.in', but
9909
# some people rename them; so instead we look at the file content.
9910
# Grep'ing the first line is not enough: some people post-process
9911
# each Makefile.in and add a new line on top of each file to say so.
9912
# Grep'ing the whole file is not good either: AIX grep has a line
9913
# limit of 2048, but all sed's we know have understand at least 4000.
9914
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
9915
dirpart=`$as_dirname -- "$mf" ||
9916
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9917
X"$mf" : 'X\(//\)[^/]' \| \
9918
X"$mf" : 'X\(//\)$' \| \
9919
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9921
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9941
# Extract the definition of DEPDIR, am__include, and am__quote
9942
# from the Makefile without running `make'.
9943
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9944
test -z "$DEPDIR" && continue
9945
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9946
test -z "am__include" && continue
9947
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9948
# When using ansi2knr, U may be empty or an underscore; expand it
9949
U=`sed -n 's/^U = //p' < "$mf"`
9950
# Find all dependency output files, they are included files with
9951
# $(DEPDIR) in their names. We invoke sed twice because it is the
9952
# simplest approach to changing $(DEPDIR) to its actual value in the
9954
for file in `sed -n "
9955
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9956
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9957
# Make sure the directory exists.
9958
test -f "$dirpart/$file" && continue
9959
fdir=`$as_dirname -- "$file" ||
9960
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9961
X"$file" : 'X\(//\)[^/]' \| \
9962
X"$file" : 'X\(//\)$' \| \
9963
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9965
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9982
{ as_dir=$dirpart/$fdir
9984
-*) as_dir=./$as_dir;;
9986
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9990
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9991
*) as_qdir=$as_dir;;
9993
as_dirs="'$as_qdir' $as_dirs"
9994
as_dir=`$as_dirname -- "$as_dir" ||
9995
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9996
X"$as_dir" : 'X\(//\)[^/]' \| \
9997
X"$as_dir" : 'X\(//\)$' \| \
9998
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10000
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10004
/^X\(\/\/\)[^/].*/{
10017
test -d "$as_dir" && break
10019
test -z "$as_dirs" || eval "mkdir $as_dirs"
10020
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10021
echo "$as_me: error: cannot create directory $as_dir" >&2;}
10022
{ (exit 1); exit 1; }; }; }
10023
# echo "creating $dirpart/$file"
10024
echo '# dummy' > "$dirpart/$file"
10028
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
10029
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
10033
for file in intltool-extract intltool-merge intltool-update; do
10034
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
10035
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
10036
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
10037
< ${ac_aux_dir}/${file}.in > ${file}.out
10038
if cmp -s ${file} ${file}.out 2>/dev/null; then
10041
mv -f ${file}.out ${file}
10043
chmod ugo+x ${file}
10049
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
10054
'"s|^| $ac_top_srcdir/|" \
10055
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
10057
if test ! -f "po/Makefile"; then
10058
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
10059
echo "$as_me: error: po/Makefile is not ready." >&2;}
10060
{ (exit 1); exit 1; }; }
10062
mv "po/Makefile" "po/Makefile.tmp"
10063
sed '/^POTFILES =/,/[^\\]$/ {
10067
' "po/Makefile.tmp" >"po/Makefile"
10068
rm -f "po/Makefile.tmp"
10069
mv "po/stamp-it.tmp" "po/stamp-it"
10076
{ (exit 0); exit 0; }
10078
chmod +x $CONFIG_STATUS
10079
ac_clean_files=$ac_clean_files_save
10082
# configure is writing to config.log, and then calls config.status.
10083
# config.status does its own redirection, appending to config.log.
10084
# Unfortunately, on DOS this fails, as config.log is still kept open
10085
# by configure, so config.status won't be able to write to it; its
10086
# output is simply discarded. So we exec the FD to /dev/null,
10087
# effectively closing config.log, so it can be properly (re)opened and
10088
# appended to by config.status. When coming back to configure, we
10089
# need to make the FD available again.
10090
if test "$no_create" != yes; then
10092
ac_config_status_args=
10093
test "$silent" = yes &&
10094
ac_config_status_args="$ac_config_status_args --quiet"
10096
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10098
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
10099
# would make configure fail if this is the last instruction.
10100
$ac_cs_success || { (exit 1); exit 1; }