2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.60a.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be Bourne compatible
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
# is contrary to our usage. Disable this feature.
19
alias -g '${1+"$@"}'='"$@"'
22
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24
BIN_SH=xpg4; export BIN_SH # for Tru64
25
DUALCASE=1; export DUALCASE # for MKS sh
29
# Avoid depending upon Character Ranges.
30
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33
as_cr_digits='0123456789'
34
as_cr_alnum=$as_cr_Letters$as_cr_digits
36
# The user is always right.
37
if test "${PATH_SEPARATOR+set}" != set; then
38
echo "#! /bin/sh" >conf$$.sh
39
echo "exit 0" >>conf$$.sh
41
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49
# Support unset when possible.
50
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58
# We need space, tab and new line, in precisely that order. Quoting is
59
# there to prevent editors from complaining about space-tab.
60
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61
# splitting by setting IFS to empty value.)
66
# Find who we are. Look in the path if we contain no directory separator.
68
*[\\/]* ) as_myself=$0 ;;
69
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73
test -z "$as_dir" && as_dir=.
74
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80
# We did not find ourselves, most probably we were run as `sh COMMAND'
81
# in which case we are not to be found in the path.
82
if test "x$as_myself" = x; then
85
if test ! -f "$as_myself"; then
86
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90
# Work around bugs in pre-3.0 UWIN ksh.
91
for as_var in ENV MAIL MAILPATH
92
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105
eval $as_var=C; export $as_var
107
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111
# Required to use basename.
112
if expr a : '\(a\)' >/dev/null 2>&1 &&
113
test "X`expr 00001 : '.*\(...\)'`" = X001; then
119
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
# Name of the executable.
127
as_me=`$as_basename -- "$0" ||
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129
X"$0" : 'X\(//\)$' \| \
130
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132
sed '/^.*\/\([^/][^/]*\)\/*$/{
150
if test "x$CONFIG_SHELL" = x; then
151
if (eval ":") 2>/dev/null; then
157
if test $as_have_required = yes && (eval ":
167
as_func_ret_success () {
170
as_func_ret_failure () {
175
if as_func_success; then
179
echo as_func_success failed.
182
if as_func_failure; then
184
echo as_func_failure succeeded.
187
if as_func_ret_success; then
191
echo as_func_ret_success failed.
194
if as_func_ret_failure; then
196
echo as_func_ret_failure succeeded.
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203
echo positional parameters were not saved.
206
test \$exitcode = 0) || { (exit 1); exit 1; }
211
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213
") 2> /dev/null; then
217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
test -z "$as_dir" && as_dir=.
224
for as_base in sh bash ksh sh5; do
225
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
for as_shell in $as_candidate_shells $SHELL; do
233
# Try only shells that exist, to save several forks.
234
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
{ ("$as_shell") 2> /dev/null <<\_ASEOF
236
# Be Bourne compatible
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241
# is contrary to our usage. Disable this feature.
242
alias -g '${1+"$@"}'='"$@"'
245
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247
BIN_SH=xpg4; export BIN_SH # for Tru64
248
DUALCASE=1; export DUALCASE # for MKS sh
253
CONFIG_SHELL=$as_shell
255
if { "$as_shell" 2> /dev/null <<\_ASEOF
256
# Be Bourne compatible
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261
# is contrary to our usage. Disable this feature.
262
alias -g '${1+"$@"}'='"$@"'
265
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267
BIN_SH=xpg4; export BIN_SH # for Tru64
268
DUALCASE=1; export DUALCASE # for MKS sh
280
as_func_ret_success () {
283
as_func_ret_failure () {
288
if as_func_success; then
292
echo as_func_success failed.
295
if as_func_failure; then
297
echo as_func_failure succeeded.
300
if as_func_ret_success; then
304
echo as_func_ret_success failed.
307
if as_func_ret_failure; then
309
echo as_func_ret_failure succeeded.
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
316
echo positional parameters were not saved.
319
test $exitcode = 0) || { (exit 1); exit 1; }
324
test "x$as_lineno_1" != "x$as_lineno_2" &&
325
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336
if test "x$CONFIG_SHELL" != x; then
337
for as_var in BASH_ENV ENV
338
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345
if test $as_have_required = no; then
346
echo This script requires a shell more modern than all the
347
echo shells that I found on your system. Please install a
348
echo modern shell, or manually run the script under such a
349
echo shell if you do have one.
350
{ (exit 1); exit 1; }
360
(eval "as_func_return () {
369
as_func_ret_success () {
372
as_func_ret_failure () {
377
if as_func_success; then
381
echo as_func_success failed.
384
if as_func_failure; then
386
echo as_func_failure succeeded.
389
if as_func_ret_success; then
393
echo as_func_ret_success failed.
396
if as_func_ret_failure; then
398
echo as_func_ret_failure succeeded.
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405
echo positional parameters were not saved.
408
test \$exitcode = 0") || {
409
echo No shell found that supports shell functions.
410
echo Please tell autoconf@gnu.org about your system,
411
echo including any error possibly output before this
419
test "x$as_lineno_1" != "x$as_lineno_2" &&
420
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423
# uniformly replaced by the line number. The first 'sed' inserts a
424
# line-number line after each line using $LINENO; the second 'sed'
425
# does the real work. The second script uses 'N' to pair each
426
# line-number line with the line containing $LINENO, and appends
427
# trailing '-' during substitution so that $LINENO is not a special
429
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430
# scripts with optimization help from Paolo Bonzini. Blame Lee
431
# E. McMahon (1931-1989) for sed's syntax. :-)
443
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447
chmod +x "$as_me.lineno" ||
448
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449
{ (exit 1); exit 1; }; }
451
# Don't try to exec as it changes $[0], causing all sort of problems
452
# (the dirname of $[0] is not the place where we might find the
453
# original and so on. Autoconf is especially sensitive to this).
455
# Exit status is that of the last command.
460
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466
ECHO_C= ECHO_N= ECHO_T=
470
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
test "X`expr 00001 : '.*\(...\)'`" = X001; then
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
508
if mkdir -p . 2>/dev/null; then
511
test -d ./-p && rmdir ./-p
515
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
516
# systems may use methods other than mode bits to determine executability.
517
cat >conf$$.file <<_ASEOF
522
if test -x conf$$.file >/dev/null 2>&1; then
523
as_executable_p="test -x"
529
# Sed expression to map a string onto a valid CPP name.
530
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
# Sed expression to map a string onto a valid variable name.
533
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
exec 7<&0 </dev/null 6>&1
540
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541
# so uname gets run too.
542
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
ac_default_prefix=/usr/local
549
ac_config_libobj_dir=.
555
SHELL=${CONFIG_SHELL-/bin/sh}
557
# Identity of this package.
564
ac_unique_file="src/gtk-recordMyDesktop"
565
# Factoring default headers for most tests.
566
ac_includes_default="\
568
#ifdef HAVE_SYS_TYPES_H
569
# include <sys/types.h>
571
#ifdef HAVE_SYS_STAT_H
572
# include <sys/stat.h>
578
# ifdef HAVE_STDLIB_H
583
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588
#ifdef HAVE_STRINGS_H
589
# include <strings.h>
591
#ifdef HAVE_INTTYPES_H
592
# include <inttypes.h>
610
program_transform_name
652
INSTALL_STRIP_PROGRAM
716
ac_precious_vars='build_alias
731
# Initialize some variables set by options.
733
ac_init_version=false
734
# The variables have the same names as the options, with
735
# dashes changed to underlines.
743
program_transform_name=s,x,x,
751
# Installation directory options.
752
# These are left unexpanded so users can "make install exec_prefix=/foo"
753
# and all the variables that are supposed to be based on exec_prefix
754
# by default will actually change.
755
# Use braces instead of parens because sh, perl, etc. also accept them.
756
# (The list follows the same order as the GNU Coding Standards.)
757
bindir='${exec_prefix}/bin'
758
sbindir='${exec_prefix}/sbin'
759
libexecdir='${exec_prefix}/libexec'
760
datarootdir='${prefix}/share'
761
datadir='${datarootdir}'
762
sysconfdir='${prefix}/etc'
763
sharedstatedir='${prefix}/com'
764
localstatedir='${prefix}/var'
765
includedir='${prefix}/include'
766
oldincludedir='/usr/include'
767
docdir='${datarootdir}/doc/${PACKAGE}'
768
infodir='${datarootdir}/info'
773
libdir='${exec_prefix}/lib'
774
localedir='${datarootdir}/locale'
775
mandir='${datarootdir}/man'
781
# If the previous option needs an argument, assign it.
782
if test -n "$ac_prev"; then
783
eval $ac_prev=\$ac_option
789
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
793
# Accept the important Cygnus configure options, so we can diagnose typos.
795
case $ac_dashdash$ac_option in
799
-bindir | --bindir | --bindi | --bind | --bin | --bi)
801
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804
-build | --build | --buil | --bui | --bu)
805
ac_prev=build_alias ;;
806
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
807
build_alias=$ac_optarg ;;
809
-cache-file | --cache-file | --cache-fil | --cache-fi \
810
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
811
ac_prev=cache_file ;;
812
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
813
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
814
cache_file=$ac_optarg ;;
817
cache_file=config.cache ;;
819
-datadir | --datadir | --datadi | --datad)
821
-datadir=* | --datadir=* | --datadi=* | --datad=*)
822
datadir=$ac_optarg ;;
824
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
825
| --dataroo | --dataro | --datar)
826
ac_prev=datarootdir ;;
827
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
828
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
829
datarootdir=$ac_optarg ;;
831
-disable-* | --disable-*)
832
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
833
# Reject names that are not valid shell variable names.
834
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
835
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
836
{ (exit 1); exit 1; }; }
837
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
838
eval enable_$ac_feature=no ;;
840
-docdir | --docdir | --docdi | --doc | --do)
842
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
845
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
847
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
850
-enable-* | --enable-*)
851
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852
# Reject names that are not valid shell variable names.
853
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
854
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
855
{ (exit 1); exit 1; }; }
856
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
857
eval enable_$ac_feature=\$ac_optarg ;;
859
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
860
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
861
| --exec | --exe | --ex)
862
ac_prev=exec_prefix ;;
863
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
864
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
865
| --exec=* | --exe=* | --ex=*)
866
exec_prefix=$ac_optarg ;;
868
-gas | --gas | --ga | --g)
869
# Obsolete; use --with-gas.
872
-help | --help | --hel | --he | -h)
874
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
875
ac_init_help=recursive ;;
876
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
877
ac_init_help=short ;;
879
-host | --host | --hos | --ho)
880
ac_prev=host_alias ;;
881
-host=* | --host=* | --hos=* | --ho=*)
882
host_alias=$ac_optarg ;;
884
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
886
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
888
htmldir=$ac_optarg ;;
890
-includedir | --includedir | --includedi | --included | --include \
891
| --includ | --inclu | --incl | --inc)
892
ac_prev=includedir ;;
893
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
894
| --includ=* | --inclu=* | --incl=* | --inc=*)
895
includedir=$ac_optarg ;;
897
-infodir | --infodir | --infodi | --infod | --info | --inf)
899
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
900
infodir=$ac_optarg ;;
902
-libdir | --libdir | --libdi | --libd)
904
-libdir=* | --libdir=* | --libdi=* | --libd=*)
907
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
908
| --libexe | --libex | --libe)
909
ac_prev=libexecdir ;;
910
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
911
| --libexe=* | --libex=* | --libe=*)
912
libexecdir=$ac_optarg ;;
914
-localedir | --localedir | --localedi | --localed | --locale)
916
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
917
localedir=$ac_optarg ;;
919
-localstatedir | --localstatedir | --localstatedi | --localstated \
920
| --localstate | --localstat | --localsta | --localst | --locals)
921
ac_prev=localstatedir ;;
922
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
923
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
924
localstatedir=$ac_optarg ;;
926
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
928
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
932
# Obsolete; use --without-fp.
935
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
936
| --no-cr | --no-c | -n)
939
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
940
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
944
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
945
| --oldin | --oldi | --old | --ol | --o)
946
ac_prev=oldincludedir ;;
947
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
948
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
949
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
950
oldincludedir=$ac_optarg ;;
952
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
954
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957
-program-prefix | --program-prefix | --program-prefi | --program-pref \
958
| --program-pre | --program-pr | --program-p)
959
ac_prev=program_prefix ;;
960
-program-prefix=* | --program-prefix=* | --program-prefi=* \
961
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
962
program_prefix=$ac_optarg ;;
964
-program-suffix | --program-suffix | --program-suffi | --program-suff \
965
| --program-suf | --program-su | --program-s)
966
ac_prev=program_suffix ;;
967
-program-suffix=* | --program-suffix=* | --program-suffi=* \
968
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
969
program_suffix=$ac_optarg ;;
971
-program-transform-name | --program-transform-name \
972
| --program-transform-nam | --program-transform-na \
973
| --program-transform-n | --program-transform- \
974
| --program-transform | --program-transfor \
975
| --program-transfo | --program-transf \
976
| --program-trans | --program-tran \
977
| --progr-tra | --program-tr | --program-t)
978
ac_prev=program_transform_name ;;
979
-program-transform-name=* | --program-transform-name=* \
980
| --program-transform-nam=* | --program-transform-na=* \
981
| --program-transform-n=* | --program-transform-=* \
982
| --program-transform=* | --program-transfor=* \
983
| --program-transfo=* | --program-transf=* \
984
| --program-trans=* | --program-tran=* \
985
| --progr-tra=* | --program-tr=* | --program-t=*)
986
program_transform_name=$ac_optarg ;;
988
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
990
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993
-psdir | --psdir | --psdi | --psd | --ps)
995
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
999
| -silent | --silent | --silen | --sile | --sil)
1002
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006
sbindir=$ac_optarg ;;
1008
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1009
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1010
| --sharedst | --shareds | --shared | --share | --shar \
1012
ac_prev=sharedstatedir ;;
1013
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1014
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1015
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017
sharedstatedir=$ac_optarg ;;
1019
-site | --site | --sit)
1021
-site=* | --site=* | --sit=*)
1024
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1027
srcdir=$ac_optarg ;;
1029
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1030
| --syscon | --sysco | --sysc | --sys | --sy)
1031
ac_prev=sysconfdir ;;
1032
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1033
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1034
sysconfdir=$ac_optarg ;;
1036
-target | --target | --targe | --targ | --tar | --ta | --t)
1037
ac_prev=target_alias ;;
1038
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1039
target_alias=$ac_optarg ;;
1041
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1044
-version | --version | --versio | --versi | --vers | -V)
1045
ac_init_version=: ;;
1048
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1049
# Reject names that are not valid shell variable names.
1050
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1051
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1052
{ (exit 1); exit 1; }; }
1053
ac_package=`echo $ac_package| sed 's/-/_/g'`
1054
eval with_$ac_package=\$ac_optarg ;;
1056
-without-* | --without-*)
1057
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058
# Reject names that are not valid shell variable names.
1059
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1060
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1061
{ (exit 1); exit 1; }; }
1062
ac_package=`echo $ac_package | sed 's/-/_/g'`
1063
eval with_$ac_package=no ;;
1066
# Obsolete; use --with-x.
1069
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1070
| --x-incl | --x-inc | --x-in | --x-i)
1071
ac_prev=x_includes ;;
1072
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1073
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1074
x_includes=$ac_optarg ;;
1076
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1077
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1078
ac_prev=x_libraries ;;
1079
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1080
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1081
x_libraries=$ac_optarg ;;
1083
-*) { echo "$as_me: error: unrecognized option: $ac_option
1084
Try \`$0 --help' for more information." >&2
1085
{ (exit 1); exit 1; }; }
1089
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090
# Reject names that are not valid shell variable names.
1091
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1092
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1093
{ (exit 1); exit 1; }; }
1094
eval $ac_envvar=\$ac_optarg
1095
export $ac_envvar ;;
1098
# FIXME: should be removed in autoconf 3.0.
1099
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108
if test -n "$ac_prev"; then
1109
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110
{ echo "$as_me: error: missing argument to $ac_option" >&2
1111
{ (exit 1); exit 1; }; }
1114
# Be sure to have absolute directory names.
1115
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116
datadir sysconfdir sharedstatedir localstatedir includedir \
1117
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118
libdir localedir mandir
1120
eval ac_val=\$$ac_var
1122
[\\/$]* | ?:[\\/]* ) continue;;
1123
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1125
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1126
{ (exit 1); exit 1; }; }
1129
# There might be people who depend on the old broken behavior: `$host'
1130
# used to hold the argument of --host etc.
1131
# FIXME: To remove some day.
1134
target=$target_alias
1136
# FIXME: To remove some day.
1137
if test "x$host_alias" != x; then
1138
if test "x$build_alias" = x; then
1139
cross_compiling=maybe
1140
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1141
If a cross compiler is detected then cross compile mode will be used." >&2
1142
elif test "x$build_alias" != "x$host_alias"; then
1148
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150
test "$silent" = yes && exec 6>/dev/null
1153
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1154
ac_ls_di=`ls -di .` &&
1155
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1156
{ echo "$as_me: error: Working directory cannot be determined" >&2
1157
{ (exit 1); exit 1; }; }
1158
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1160
{ (exit 1); exit 1; }; }
1163
# Find the source files, if location was not specified.
1164
if test -z "$srcdir"; then
1165
ac_srcdir_defaulted=yes
1166
# Try the directory containing this script, then the parent directory.
1167
ac_confdir=`$as_dirname -- "$0" ||
1168
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1169
X"$0" : 'X\(//\)[^/]' \| \
1170
X"$0" : 'X\(//\)$' \| \
1171
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1173
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1191
if test ! -r "$srcdir/$ac_unique_file"; then
1195
ac_srcdir_defaulted=no
1197
if test ! -r "$srcdir/$ac_unique_file"; then
1198
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1199
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1200
{ (exit 1); exit 1; }; }
1202
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1204
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1205
{ (exit 1); exit 1; }; }
1207
# When building in place, set srcdir=.
1208
if test "$ac_abs_confdir" = "$ac_pwd"; then
1211
# Remove unnecessary trailing slashes from srcdir.
1212
# Double slashes in file names in object file debugging info
1213
# mess up M-x gdb in Emacs.
1215
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217
for ac_var in $ac_precious_vars; do
1218
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1219
eval ac_env_${ac_var}_value=\$${ac_var}
1220
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1221
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1225
# Report the --help message.
1227
if test "$ac_init_help" = "long"; then
1228
# Omit some internal or obsolete options to make the list less imposing.
1229
# This message is too long to be a string in the A/UX 3.1 sh.
1231
\`configure' configures this package to adapt to many kinds of systems.
1233
Usage: $0 [OPTION]... [VAR=VALUE]...
1235
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236
VAR=VALUE. See below for descriptions of some of the useful variables.
1238
Defaults for the options are specified in brackets.
1241
-h, --help display this help and exit
1242
--help=short display options specific to this package
1243
--help=recursive display the short help of all the included packages
1244
-V, --version display version information and exit
1245
-q, --quiet, --silent do not print \`checking...' messages
1246
--cache-file=FILE cache test results in FILE [disabled]
1247
-C, --config-cache alias for \`--cache-file=config.cache'
1248
-n, --no-create do not create output files
1249
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1251
Installation directories:
1252
--prefix=PREFIX install architecture-independent files in PREFIX
1253
[$ac_default_prefix]
1254
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257
By default, \`make install' will install all the files in
1258
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260
for instance \`--prefix=\$HOME'.
1262
For better control, use the options below.
1264
Fine tuning of the installation directories:
1265
--bindir=DIR user executables [EPREFIX/bin]
1266
--sbindir=DIR system admin executables [EPREFIX/sbin]
1267
--libexecdir=DIR program executables [EPREFIX/libexec]
1268
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1271
--libdir=DIR object code libraries [EPREFIX/lib]
1272
--includedir=DIR C header files [PREFIX/include]
1273
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1274
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276
--infodir=DIR info documentation [DATAROOTDIR/info]
1277
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278
--mandir=DIR man documentation [DATAROOTDIR/man]
1279
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1280
--htmldir=DIR html documentation [DOCDIR]
1281
--dvidir=DIR dvi documentation [DOCDIR]
1282
--pdfdir=DIR pdf documentation [DOCDIR]
1283
--psdir=DIR ps documentation [DOCDIR]
1289
--program-prefix=PREFIX prepend PREFIX to installed program names
1290
--program-suffix=SUFFIX append SUFFIX to installed program names
1291
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1295
if test -n "$ac_init_help"; then
1300
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1301
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1302
--disable-dependency-tracking Speeds up one-time builds
1303
--enable-dependency-tracking Do not reject slow dependency extractors
1305
Some influential environment variables:
1306
CC C compiler command
1307
CFLAGS C compiler flags
1308
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1309
nonstandard directory <lib dir>
1310
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1311
you have headers in a nonstandard directory <include dir>
1313
PKG_CONFIG path to pkg-config utility
1315
C compiler flags for PYGTK, overriding pkg-config
1316
PYGTK_LIBS linker flags for PYGTK, overriding pkg-config
1317
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1318
GTK_LIBS linker flags for GTK, overriding pkg-config
1320
Use these variables to override the choices made by `configure' or to help
1321
it to find libraries and programs with nonstandard names/locations.
1327
if test "$ac_init_help" = "recursive"; then
1328
# If there are subdirs, report their specific --help.
1329
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330
test -d "$ac_dir" || continue
1334
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1337
# A ".." for each directory in $ac_dir_suffix.
1338
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1339
case $ac_top_builddir_sub in
1340
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344
ac_abs_top_builddir=$ac_pwd
1345
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346
# for backward compatibility:
1347
ac_top_builddir=$ac_top_build_prefix
1350
.) # We are building in place.
1352
ac_top_srcdir=$ac_top_builddir_sub
1353
ac_abs_top_srcdir=$ac_pwd ;;
1354
[\\/]* | ?:[\\/]* ) # Absolute name.
1355
ac_srcdir=$srcdir$ac_dir_suffix;
1356
ac_top_srcdir=$srcdir
1357
ac_abs_top_srcdir=$srcdir ;;
1359
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360
ac_top_srcdir=$ac_top_build_prefix$srcdir
1361
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365
cd "$ac_dir" || { ac_status=$?; continue; }
1366
# Check for guested configure.
1367
if test -f "$ac_srcdir/configure.gnu"; then
1369
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370
elif test -f "$ac_srcdir/configure"; then
1372
$SHELL "$ac_srcdir/configure" --help=recursive
1374
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376
cd "$ac_pwd" || { ac_status=$?; break; }
1380
test -n "$ac_init_help" && exit $ac_status
1381
if $ac_init_version; then
1384
generated by GNU Autoconf 2.60a
1386
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1387
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1388
This configure script is free software; the Free Software Foundation
1389
gives unlimited permission to copy, distribute and modify it.
1393
cat >config.log <<_ACEOF
1394
This file contains any messages produced by compilers while
1395
running configure, to aid debugging if configure makes a mistake.
1397
It was created by $as_me, which was
1398
generated by GNU Autoconf 2.60a. Invocation command line was
1410
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1416
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1419
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433
test -z "$as_dir" && as_dir=.
1434
echo "PATH: $as_dir"
1450
# Keep a trace of the command line.
1451
# Strip out --no-create and --no-recursion so they do not pile up.
1452
# Strip out --silent because we don't want to record it for future runs.
1453
# Also quote any args containing shell meta-characters.
1454
# Make two passes to allow for proper duplicate-argument suppression.
1458
ac_must_keep_next=false
1464
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466
| -silent | --silent | --silen | --sile | --sil)
1469
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1474
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1475
if test $ac_must_keep_next = true; then
1476
ac_must_keep_next=false # Got value, back to normal.
1479
*=* | --config-cache | -C | -disable-* | --disable-* \
1480
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482
| -with-* | --with-* | -without-* | --without-* | --x)
1483
case "$ac_configure_args0 " in
1484
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487
-* ) ac_must_keep_next=true ;;
1490
ac_configure_args="$ac_configure_args '$ac_arg'"
1495
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1496
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1498
# When interrupted or exit'd, cleanup temporary files, and complete
1499
# config.log. We remove comments because anyway the quotes in there
1500
# would cause problems or look ugly.
1501
# WARNING: Use '\'' to represent an apostrophe within the trap.
1502
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503
trap 'exit_status=$?
1504
# Save into config.log some information that might help in debugging.
1509
## ---------------- ##
1510
## Cache variables. ##
1511
## ---------------- ##
1514
# The following way of writing the cache mishandles newlines in values,
1516
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517
eval ac_val=\$$ac_var
1521
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1522
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1525
_ | IFS | as_nl) ;; #(
1526
*) $as_unset $ac_var ;;
1531
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1532
*${as_nl}ac_space=\ *)
1534
"s/'\''/'\''\\\\'\'''\''/g;
1535
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1538
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1546
## ----------------- ##
1547
## Output variables. ##
1548
## ----------------- ##
1551
for ac_var in $ac_subst_vars
1553
eval ac_val=\$$ac_var
1555
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557
echo "$ac_var='\''$ac_val'\''"
1561
if test -n "$ac_subst_files"; then
1563
## ------------------- ##
1564
## File substitutions. ##
1565
## ------------------- ##
1568
for ac_var in $ac_subst_files
1570
eval ac_val=\$$ac_var
1572
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574
echo "$ac_var='\''$ac_val'\''"
1579
if test -s confdefs.h; then
1589
test "$ac_signal" != 0 &&
1590
echo "$as_me: caught signal $ac_signal"
1591
echo "$as_me: exit $exit_status"
1593
rm -f core *.core core.conftest.* &&
1594
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1597
for ac_signal in 1 2 13 15; do
1598
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1603
rm -f -r conftest* confdefs.h
1605
# Predefined preprocessor variables.
1607
cat >>confdefs.h <<_ACEOF
1608
#define PACKAGE_NAME "$PACKAGE_NAME"
1612
cat >>confdefs.h <<_ACEOF
1613
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617
cat >>confdefs.h <<_ACEOF
1618
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1622
cat >>confdefs.h <<_ACEOF
1623
#define PACKAGE_STRING "$PACKAGE_STRING"
1627
cat >>confdefs.h <<_ACEOF
1628
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632
# Let the site file select an alternate cache file if it wants to.
1633
# Prefer explicitly selected file to automatically selected ones.
1634
if test -n "$CONFIG_SITE"; then
1635
set x "$CONFIG_SITE"
1636
elif test "x$prefix" != xNONE; then
1637
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1639
set x "$ac_default_prefix/share/config.site" \
1640
"$ac_default_prefix/etc/config.site"
1645
if test -r "$ac_site_file"; then
1646
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1647
echo "$as_me: loading site script $ac_site_file" >&6;}
1648
sed 's/^/| /' "$ac_site_file" >&5
1653
if test -r "$cache_file"; then
1654
# Some versions of bash will fail to source /dev/null (special
1655
# files actually), so we avoid doing that.
1656
if test -f "$cache_file"; then
1657
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1658
echo "$as_me: loading cache $cache_file" >&6;}
1660
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1661
*) . "./$cache_file";;
1665
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1666
echo "$as_me: creating cache $cache_file" >&6;}
1670
# Check that the precious variables saved in the cache have kept the same
1672
ac_cache_corrupted=false
1673
for ac_var in $ac_precious_vars; do
1674
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675
eval ac_new_set=\$ac_env_${ac_var}_set
1676
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1677
eval ac_new_val=\$ac_env_${ac_var}_value
1678
case $ac_old_set,$ac_new_set in
1680
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1681
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1682
ac_cache_corrupted=: ;;
1684
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1685
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1686
ac_cache_corrupted=: ;;
1689
if test "x$ac_old_val" != "x$ac_new_val"; then
1690
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1691
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1693
echo "$as_me: former value: $ac_old_val" >&2;}
1694
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1695
echo "$as_me: current value: $ac_new_val" >&2;}
1696
ac_cache_corrupted=:
1699
# Pass precious variables to config.status.
1700
if test "$ac_new_set" = set; then
1702
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1703
*) ac_arg=$ac_var=$ac_new_val ;;
1705
case " $ac_configure_args " in
1706
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1707
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1711
if $ac_cache_corrupted; then
1712
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1713
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1714
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1715
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1716
{ (exit 1); exit 1; }; }
1736
ac_cpp='$CPP $CPPFLAGS'
1737
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743
am__api_version="1.7"
1745
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1746
if test -f "$ac_dir/install-sh"; then
1748
ac_install_sh="$ac_aux_dir/install-sh -c"
1750
elif test -f "$ac_dir/install.sh"; then
1752
ac_install_sh="$ac_aux_dir/install.sh -c"
1754
elif test -f "$ac_dir/shtool"; then
1756
ac_install_sh="$ac_aux_dir/shtool install -c"
1760
if test -z "$ac_aux_dir"; then
1761
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1762
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1763
{ (exit 1); exit 1; }; }
1766
# These three variables are undocumented and unsupported,
1767
# and are intended to be withdrawn in a future Autoconf release.
1768
# They can cause serious problems if a builder's source tree is in a directory
1769
# whose full name contains unusual characters.
1770
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1771
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1772
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1775
# Find a good install program. We prefer a C program (faster),
1776
# so one script is as good as another. But avoid the broken or
1777
# incompatible versions:
1778
# SysV /etc/install, /usr/sbin/install
1779
# SunOS /usr/etc/install
1780
# IRIX /sbin/install
1782
# AmigaOS /C/install, which installs bootblocks on floppy discs
1783
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1784
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1785
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1786
# OS/2's system install, which has a completely different semantic
1787
# ./install, which can be erroneously created by make from ./install.sh.
1788
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1789
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1790
if test -z "$INSTALL"; then
1791
if test "${ac_cv_path_install+set}" = set; then
1792
echo $ECHO_N "(cached) $ECHO_C" >&6
1794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798
test -z "$as_dir" && as_dir=.
1799
# Account for people who put trailing slashes in PATH elements.
1801
./ | .// | /cC/* | \
1802
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1803
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1806
# OSF1 and SCO ODT 3.0 have their own names for install.
1807
# Don't use installbsd from OSF since it installs stuff as root
1809
for ac_prog in ginstall scoinst install; do
1810
for ac_exec_ext in '' $ac_executable_extensions; do
1811
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1812
if test $ac_prog = install &&
1813
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814
# AIX install. It has an incompatible calling convention.
1816
elif test $ac_prog = install &&
1817
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1818
# program-specific install script used by HP pwplus--don't use.
1821
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834
if test "${ac_cv_path_install+set}" = set; then
1835
INSTALL=$ac_cv_path_install
1837
# As a last resort, use the slow shell script. Don't cache a
1838
# value for INSTALL within a source directory, because that will
1839
# break other packages using the cache if that directory is
1840
# removed, or if the value is a relative name.
1841
INSTALL=$ac_install_sh
1844
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1845
echo "${ECHO_T}$INSTALL" >&6; }
1847
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1848
# It thinks the first close brace ends the variable substitution.
1849
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1851
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1853
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1855
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1856
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1859
echo timestamp > conftest.file
1860
# Do `set' in a subshell so we don't clobber the current shell's
1861
# arguments. Must try -L first in case configure is actually a
1862
# symlink; some systems play weird games with the mod time of symlinks
1863
# (eg FreeBSD returns the mod time of the symlink's containing
1866
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1867
if test "$*" = "X"; then
1869
set X `ls -t $srcdir/configure conftest.file`
1872
if test "$*" != "X $srcdir/configure conftest.file" \
1873
&& test "$*" != "X conftest.file $srcdir/configure"; then
1875
# If neither matched, then we have a broken ls. This can happen
1876
# if, for instance, CONFIG_SHELL is bash and it inherits a
1877
# broken ls alias from the environment. This has actually
1878
# happened. Such a system could not be considered "sane".
1879
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1880
alias in your environment" >&5
1881
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1882
alias in your environment" >&2;}
1883
{ (exit 1); exit 1; }; }
1886
test "$2" = conftest.file
1892
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1893
Check your system clock" >&5
1894
echo "$as_me: error: newly created file is older than distributed files!
1895
Check your system clock" >&2;}
1896
{ (exit 1); exit 1; }; }
1898
{ echo "$as_me:$LINENO: result: yes" >&5
1899
echo "${ECHO_T}yes" >&6; }
1900
test "$program_prefix" != NONE &&
1901
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1902
# Use a double $ so make ignores it.
1903
test "$program_suffix" != NONE &&
1904
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1905
# Double any \ or $. echo might interpret backslashes.
1906
# By default was `s,x,x', remove it if useless.
1907
cat <<\_ACEOF >conftest.sed
1908
s/[\\$]/&&/g;s/;s,x,x,$//
1910
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1914
# expand $ac_aux_dir to an absolute path
1915
am_aux_dir=`cd $ac_aux_dir && pwd`
1917
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1918
# Use eval to expand $SHELL
1919
if eval "$MISSING --run true"; then
1920
am_missing_run="$MISSING --run "
1923
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1924
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1927
for ac_prog in gawk mawk nawk awk
1929
# Extract the first word of "$ac_prog", so it can be a program name with args.
1930
set dummy $ac_prog; ac_word=$2
1931
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1932
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933
if test "${ac_cv_prog_AWK+set}" = set; then
1934
echo $ECHO_N "(cached) $ECHO_C" >&6
1936
if test -n "$AWK"; then
1937
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943
test -z "$as_dir" && as_dir=.
1944
for ac_exec_ext in '' $ac_executable_extensions; do
1945
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1946
ac_cv_prog_AWK="$ac_prog"
1947
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957
if test -n "$AWK"; then
1958
{ echo "$as_me:$LINENO: result: $AWK" >&5
1959
echo "${ECHO_T}$AWK" >&6; }
1961
{ echo "$as_me:$LINENO: result: no" >&5
1962
echo "${ECHO_T}no" >&6; }
1966
test -n "$AWK" && break
1969
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1970
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1971
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1972
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1973
echo $ECHO_N "(cached) $ECHO_C" >&6
1975
cat >conftest.make <<\_ACEOF
1978
@echo '@@@%%%=$(MAKE)=@@@%%%'
1980
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1981
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1983
eval ac_cv_prog_make_${ac_make}_set=yes;;
1985
eval ac_cv_prog_make_${ac_make}_set=no;;
1989
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1990
{ echo "$as_me:$LINENO: result: yes" >&5
1991
echo "${ECHO_T}yes" >&6; }
1994
{ echo "$as_me:$LINENO: result: no" >&5
1995
echo "${ECHO_T}no" >&6; }
1996
SET_MAKE="MAKE=${MAKE-make}"
1999
rm -rf .tst 2>/dev/null
2000
mkdir .tst 2>/dev/null
2001
if test -d .tst; then
2006
rmdir .tst 2>/dev/null
2008
# test to see if srcdir already configured
2009
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2010
test -f $srcdir/config.status; then
2011
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2012
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2013
{ (exit 1); exit 1; }; }
2016
# test whether we have cygpath
2017
if test -z "$CYGPATH_W"; then
2018
if (cygpath --version) >/dev/null 2>/dev/null; then
2019
CYGPATH_W='cygpath -w'
2026
# Define the identity of the package.
2027
PACKAGE=gtk-recordmydesktop
2031
cat >>confdefs.h <<_ACEOF
2032
#define PACKAGE "$PACKAGE"
2036
cat >>confdefs.h <<_ACEOF
2037
#define VERSION "$VERSION"
2040
# Some tools Automake needs.
2042
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2045
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2048
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2051
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2054
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2057
AMTAR=${AMTAR-"${am_missing_run}tar"}
2059
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2061
# Installed binaries are usually stripped using `strip' when the user
2062
# run `make install-strip'. However `strip' might not be the right
2063
# tool to use in cross-compilation environments, therefore Automake
2064
# will honor the `STRIP' environment variable to overrule this program.
2065
if test "$cross_compiling" != no; then
2066
if test -n "$ac_tool_prefix"; then
2067
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2068
set dummy ${ac_tool_prefix}strip; ac_word=$2
2069
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2070
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071
if test "${ac_cv_prog_STRIP+set}" = set; then
2072
echo $ECHO_N "(cached) $ECHO_C" >&6
2074
if test -n "$STRIP"; then
2075
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081
test -z "$as_dir" && as_dir=.
2082
for ac_exec_ext in '' $ac_executable_extensions; do
2083
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2084
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2085
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094
STRIP=$ac_cv_prog_STRIP
2095
if test -n "$STRIP"; then
2096
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2097
echo "${ECHO_T}$STRIP" >&6; }
2099
{ echo "$as_me:$LINENO: result: no" >&5
2100
echo "${ECHO_T}no" >&6; }
2105
if test -z "$ac_cv_prog_STRIP"; then
2107
# Extract the first word of "strip", so it can be a program name with args.
2108
set dummy strip; ac_word=$2
2109
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2110
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2112
echo $ECHO_N "(cached) $ECHO_C" >&6
2114
if test -n "$ac_ct_STRIP"; then
2115
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121
test -z "$as_dir" && as_dir=.
2122
for ac_exec_ext in '' $ac_executable_extensions; do
2123
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2124
ac_cv_prog_ac_ct_STRIP="strip"
2125
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2135
if test -n "$ac_ct_STRIP"; then
2136
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2137
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2139
{ echo "$as_me:$LINENO: result: no" >&5
2140
echo "${ECHO_T}no" >&6; }
2143
if test "x$ac_ct_STRIP" = x; then
2146
case $cross_compiling:$ac_tool_warned in
2148
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2149
whose name does not start with the host triplet. If you think this
2150
configuration is useful to you, please write to autoconf@gnu.org." >&5
2151
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2152
whose name does not start with the host triplet. If you think this
2153
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2154
ac_tool_warned=yes ;;
2159
STRIP="$ac_cv_prog_STRIP"
2163
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2165
# We need awk for the "check" target. The system "awk" is bad on
2176
exec_prefix_save=$exec_prefix
2178
if test "x$prefix" = "xNONE"; then
2181
if test "x$exec_prefix" = "xNONE"; then
2185
full_var="$FROM_VAR"
2187
new_full_var="`eval echo $full_var`"
2188
if test "x$new_full_var"="x$full_var"; then break; fi
2189
full_var=$new_full_var
2192
full_var=$new_full_var
2197
exec_prefix=$exec_prefix_save
2199
{ echo "$as_me:$LINENO: Storing library files in $LIBDIR" >&5
2200
echo "$as_me: Storing library files in $LIBDIR" >&6;}
2204
#The following test is needed for the expansion bellow
2205
if test "x$prefix" == "xNONE"; then
2206
export prefix="/usr/local/"
2208
echo "prefix set to $prefix"
2211
#this expansion is needed because in some cases the datadir expansion will
2212
#not give an absolute path but one based on the $prefix env variable.
2213
#This value gets directly in the rmdConfig.py file which will later fail
2214
#if it has a value of ${prefix}/something. So it needs to know which was the prefix during
2215
#installation. And that's why the above test is needed. In case no prefix is given
2216
#we still have to insert the default to avoid a path of NONE/something. and NONE can't be
2217
#replaced within the script since it is also a valid name for a directory.
2218
#also,this behavior doesn't affect already existing dist tarballs and probably has to do with
2219
#the environment that the autotools were used, to produce the tarballs
2220
#(both cases were noticed with v1.7 of autowhatever, but on different environments)
2221
#did you really read this? If you are a packager, you must be a very responsible one!Congrats!
2227
exec_prefix_save=$exec_prefix
2229
if test "x$prefix" = "xNONE"; then
2232
if test "x$exec_prefix" = "xNONE"; then
2236
full_var="$FROM_VAR"
2238
new_full_var="`eval echo $full_var`"
2239
if test "x$new_full_var"="x$full_var"; then break; fi
2240
full_var=$new_full_var
2243
full_var=$new_full_var
2248
exec_prefix=$exec_prefix_save
2256
exec_prefix_save=$exec_prefix
2258
if test "x$prefix" = "xNONE"; then
2261
if test "x$exec_prefix" = "xNONE"; then
2265
full_var="$FROM_VAR"
2267
new_full_var="`eval echo $full_var`"
2268
if test "x$new_full_var"="x$full_var"; then break; fi
2269
full_var=$new_full_var
2272
full_var=$new_full_var
2277
exec_prefix=$exec_prefix_save
2279
{ echo "$as_me:$LINENO: Storing data files in $DATADIR" >&5
2280
echo "$as_me: Storing data files in $DATADIR" >&6;}
2284
FROM_VAR=$sysconfdir
2287
exec_prefix_save=$exec_prefix
2289
if test "x$prefix" = "xNONE"; then
2292
if test "x$exec_prefix" = "xNONE"; then
2296
full_var="$FROM_VAR"
2298
new_full_var="`eval echo $full_var`"
2299
if test "x$new_full_var"="x$full_var"; then break; fi
2300
full_var=$new_full_var
2303
full_var=$new_full_var
2304
SYSCONFDIR="$full_var"
2308
exec_prefix=$exec_prefix_save
2310
{ echo "$as_me:$LINENO: Storing configuration files in $SYSCONFDIR" >&5
2311
echo "$as_me: Storing configuration files in $SYSCONFDIR" >&6;}
2314
EXP_VAR=LOCALSTATEDIR
2315
FROM_VAR=$localstatedir
2318
exec_prefix_save=$exec_prefix
2320
if test "x$prefix" = "xNONE"; then
2323
if test "x$exec_prefix" = "xNONE"; then
2327
full_var="$FROM_VAR"
2329
new_full_var="`eval echo $full_var`"
2330
if test "x$new_full_var"="x$full_var"; then break; fi
2331
full_var=$new_full_var
2334
full_var=$new_full_var
2335
LOCALSTATEDIR="$full_var"
2339
exec_prefix=$exec_prefix_save
2341
{ echo "$as_me:$LINENO: Using localstatedir $LOCALSTATEDIR" >&5
2342
echo "$as_me: Using localstatedir $LOCALSTATEDIR" >&6;}
2348
if test -n "$PYTHON"; then
2349
# If the user set $PYTHON, use it and don't search something else.
2350
{ echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
2351
echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6; }
2352
prog="import sys, string
2353
# split strings by '.' and convert to numeric. Append some zeros
2354
# because we need at least 4 digits for the hex conversion.
2355
minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
2357
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
2358
sys.exit(sys.hexversion < minverhex)"
2359
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
2360
($PYTHON -c "$prog") >&5 2>&5
2362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363
(exit $ac_status); }; then
2364
{ echo "$as_me:$LINENO: result: yes" >&5
2365
echo "${ECHO_T}yes" >&6; }
2367
{ { echo "$as_me:$LINENO: error: too old" >&5
2368
echo "$as_me: error: too old" >&2;}
2369
{ (exit 1); exit 1; }; }
2373
# Otherwise, try each interpreter until we find one that satisfies
2375
{ echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
2376
echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6; }
2377
if test "${am_cv_pathless_PYTHON+set}" = set; then
2378
echo $ECHO_N "(cached) $ECHO_C" >&6
2381
for am_cv_pathless_PYTHON in python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 : ; do
2382
if test "$am_cv_pathless_PYTHON" = : ; then
2383
{ { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
2384
echo "$as_me: error: no suitable Python interpreter found" >&2;}
2385
{ (exit 1); exit 1; }; }
2387
prog="import sys, string
2388
# split strings by '.' and convert to numeric. Append some zeros
2389
# because we need at least 4 digits for the hex conversion.
2390
minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
2392
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
2393
sys.exit(sys.hexversion < minverhex)"
2394
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
2395
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
2397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398
(exit $ac_status); }; then
2404
{ echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
2405
echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
2406
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2407
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
2408
set dummy $am_cv_pathless_PYTHON; ac_word=$2
2409
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2410
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2411
if test "${ac_cv_path_PYTHON+set}" = set; then
2412
echo $ECHO_N "(cached) $ECHO_C" >&6
2416
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423
test -z "$as_dir" && as_dir=.
2424
for ac_exec_ext in '' $ac_executable_extensions; do
2425
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2426
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2427
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437
PYTHON=$ac_cv_path_PYTHON
2438
if test -n "$PYTHON"; then
2439
{ echo "$as_me:$LINENO: result: $PYTHON" >&5
2440
echo "${ECHO_T}$PYTHON" >&6; }
2442
{ echo "$as_me:$LINENO: result: no" >&5
2443
echo "${ECHO_T}no" >&6; }
2447
am_display_PYTHON=$am_cv_pathless_PYTHON
2452
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
2453
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
2454
if test "${am_cv_python_version+set}" = set; then
2455
echo $ECHO_N "(cached) $ECHO_C" >&6
2457
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
2459
{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
2460
echo "${ECHO_T}$am_cv_python_version" >&6; }
2461
PYTHON_VERSION=$am_cv_python_version
2465
PYTHON_PREFIX='${prefix}'
2467
PYTHON_EXEC_PREFIX='${exec_prefix}'
2471
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
2472
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
2473
if test "${am_cv_python_platform+set}" = set; then
2474
echo $ECHO_N "(cached) $ECHO_C" >&6
2476
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
2478
{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
2479
echo "${ECHO_T}$am_cv_python_platform" >&6; }
2480
PYTHON_PLATFORM=$am_cv_python_platform
2485
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
2486
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
2487
if test "${am_cv_python_pythondir+set}" = set; then
2488
echo $ECHO_N "(cached) $ECHO_C" >&6
2490
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
2491
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2493
{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
2494
echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
2495
pythondir=$am_cv_python_pythondir
2499
pkgpythondir=\${pythondir}/$PACKAGE
2502
{ echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
2503
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
2504
if test "${am_cv_python_pyexecdir+set}" = set; then
2505
echo $ECHO_N "(cached) $ECHO_C" >&6
2507
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
2508
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
2510
{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
2511
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
2512
pyexecdir=$am_cv_python_pyexecdir
2516
pkgpyexecdir=\${pyexecdir}/$PACKAGE
2525
exec_prefix_save=$exec_prefix
2527
if test "x$prefix" = "xNONE"; then
2530
if test "x$exec_prefix" = "xNONE"; then
2534
full_var="$FROM_VAR"
2536
new_full_var="`eval echo $full_var`"
2537
if test "x$new_full_var"="x$full_var"; then break; fi
2538
full_var=$new_full_var
2541
full_var=$new_full_var
2542
PYTHONDIR="$full_var"
2546
exec_prefix=$exec_prefix_save
2548
{ echo "$as_me:$LINENO: Using pythondir $PYTHONDIR" >&5
2549
echo "$as_me: Using pythondir $PYTHONDIR" >&6;}
2551
GETTEXT_PACKAGE=gtk-recordMyDesktop
2554
cat >>confdefs.h <<_ACEOF
2555
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2558
DEPDIR="${am__leading_dot}deps"
2560
ac_config_commands="$ac_config_commands depfiles"
2563
am_make=${MAKE-make}
2564
cat > confinc << 'END'
2569
# If we don't find an include directive, just comment out the code.
2570
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2571
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2575
# First try GNU make style include.
2576
echo "include confinc" > confmf
2577
# We grep out `Entering directory' and `Leaving directory'
2578
# messages which can occur if `w' ends up in MAKEFLAGS.
2579
# In particular we don't look at `^make:' because GNU make might
2580
# be invoked under some other name (usually "gmake"), in which
2581
# case it prints its new name instead of `make'.
2582
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2587
# Now try BSD make style include.
2588
if test "$am__include" = "#"; then
2589
echo '.include "confinc"' > confmf
2590
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2591
am__include=.include
2598
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2599
echo "${ECHO_T}$_am_result" >&6; }
2600
rm -f confinc confmf
2602
# Check whether --enable-dependency-tracking was given.
2603
if test "${enable_dependency_tracking+set}" = set; then
2604
enableval=$enable_dependency_tracking;
2607
if test "x$enable_dependency_tracking" != xno; then
2608
am_depcomp="$ac_aux_dir/depcomp"
2613
if test "x$enable_dependency_tracking" != xno; then
2624
ac_cpp='$CPP $CPPFLAGS'
2625
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2628
if test -n "$ac_tool_prefix"; then
2629
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2630
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2631
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2632
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2633
if test "${ac_cv_prog_CC+set}" = set; then
2634
echo $ECHO_N "(cached) $ECHO_C" >&6
2636
if test -n "$CC"; then
2637
ac_cv_prog_CC="$CC" # Let the user override the test.
2639
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643
test -z "$as_dir" && as_dir=.
2644
for ac_exec_ext in '' $ac_executable_extensions; do
2645
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2646
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2647
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657
if test -n "$CC"; then
2658
{ echo "$as_me:$LINENO: result: $CC" >&5
2659
echo "${ECHO_T}$CC" >&6; }
2661
{ echo "$as_me:$LINENO: result: no" >&5
2662
echo "${ECHO_T}no" >&6; }
2667
if test -z "$ac_cv_prog_CC"; then
2669
# Extract the first word of "gcc", so it can be a program name with args.
2670
set dummy gcc; ac_word=$2
2671
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2672
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2673
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2674
echo $ECHO_N "(cached) $ECHO_C" >&6
2676
if test -n "$ac_ct_CC"; then
2677
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683
test -z "$as_dir" && as_dir=.
2684
for ac_exec_ext in '' $ac_executable_extensions; do
2685
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2686
ac_cv_prog_ac_ct_CC="gcc"
2687
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2696
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2697
if test -n "$ac_ct_CC"; then
2698
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2699
echo "${ECHO_T}$ac_ct_CC" >&6; }
2701
{ echo "$as_me:$LINENO: result: no" >&5
2702
echo "${ECHO_T}no" >&6; }
2705
if test "x$ac_ct_CC" = x; then
2708
case $cross_compiling:$ac_tool_warned in
2710
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2711
whose name does not start with the host triplet. If you think this
2712
configuration is useful to you, please write to autoconf@gnu.org." >&5
2713
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2714
whose name does not start with the host triplet. If you think this
2715
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2716
ac_tool_warned=yes ;;
2724
if test -z "$CC"; then
2725
if test -n "$ac_tool_prefix"; then
2726
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2727
set dummy ${ac_tool_prefix}cc; ac_word=$2
2728
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2729
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2730
if test "${ac_cv_prog_CC+set}" = set; then
2731
echo $ECHO_N "(cached) $ECHO_C" >&6
2733
if test -n "$CC"; then
2734
ac_cv_prog_CC="$CC" # Let the user override the test.
2736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740
test -z "$as_dir" && as_dir=.
2741
for ac_exec_ext in '' $ac_executable_extensions; do
2742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2743
ac_cv_prog_CC="${ac_tool_prefix}cc"
2744
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2754
if test -n "$CC"; then
2755
{ echo "$as_me:$LINENO: result: $CC" >&5
2756
echo "${ECHO_T}$CC" >&6; }
2758
{ echo "$as_me:$LINENO: result: no" >&5
2759
echo "${ECHO_T}no" >&6; }
2765
if test -z "$CC"; then
2766
# Extract the first word of "cc", so it can be a program name with args.
2767
set dummy cc; ac_word=$2
2768
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2769
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2770
if test "${ac_cv_prog_CC+set}" = set; then
2771
echo $ECHO_N "(cached) $ECHO_C" >&6
2773
if test -n "$CC"; then
2774
ac_cv_prog_CC="$CC" # Let the user override the test.
2777
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781
test -z "$as_dir" && as_dir=.
2782
for ac_exec_ext in '' $ac_executable_extensions; do
2783
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2784
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2785
ac_prog_rejected=yes
2789
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796
if test $ac_prog_rejected = yes; then
2797
# We found a bogon in the path, so make sure we never use it.
2798
set dummy $ac_cv_prog_CC
2800
if test $# != 0; then
2801
# We chose a different compiler from the bogus one.
2802
# However, it has the same basename, so the bogon will be chosen
2803
# first if we set CC to just the basename; use the full file name.
2805
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2811
if test -n "$CC"; then
2812
{ echo "$as_me:$LINENO: result: $CC" >&5
2813
echo "${ECHO_T}$CC" >&6; }
2815
{ echo "$as_me:$LINENO: result: no" >&5
2816
echo "${ECHO_T}no" >&6; }
2821
if test -z "$CC"; then
2822
if test -n "$ac_tool_prefix"; then
2823
for ac_prog in cl.exe
2825
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2826
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2827
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2828
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2829
if test "${ac_cv_prog_CC+set}" = set; then
2830
echo $ECHO_N "(cached) $ECHO_C" >&6
2832
if test -n "$CC"; then
2833
ac_cv_prog_CC="$CC" # Let the user override the test.
2835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839
test -z "$as_dir" && as_dir=.
2840
for ac_exec_ext in '' $ac_executable_extensions; do
2841
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2842
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2843
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853
if test -n "$CC"; then
2854
{ echo "$as_me:$LINENO: result: $CC" >&5
2855
echo "${ECHO_T}$CC" >&6; }
2857
{ echo "$as_me:$LINENO: result: no" >&5
2858
echo "${ECHO_T}no" >&6; }
2862
test -n "$CC" && break
2865
if test -z "$CC"; then
2867
for ac_prog in cl.exe
2869
# Extract the first word of "$ac_prog", so it can be a program name with args.
2870
set dummy $ac_prog; ac_word=$2
2871
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2872
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2873
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2874
echo $ECHO_N "(cached) $ECHO_C" >&6
2876
if test -n "$ac_ct_CC"; then
2877
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883
test -z "$as_dir" && as_dir=.
2884
for ac_exec_ext in '' $ac_executable_extensions; do
2885
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2886
ac_cv_prog_ac_ct_CC="$ac_prog"
2887
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2897
if test -n "$ac_ct_CC"; then
2898
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2899
echo "${ECHO_T}$ac_ct_CC" >&6; }
2901
{ echo "$as_me:$LINENO: result: no" >&5
2902
echo "${ECHO_T}no" >&6; }
2906
test -n "$ac_ct_CC" && break
2909
if test "x$ac_ct_CC" = x; then
2912
case $cross_compiling:$ac_tool_warned in
2914
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2915
whose name does not start with the host triplet. If you think this
2916
configuration is useful to you, please write to autoconf@gnu.org." >&5
2917
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2918
whose name does not start with the host triplet. If you think this
2919
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2920
ac_tool_warned=yes ;;
2929
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2930
See \`config.log' for more details." >&5
2931
echo "$as_me: error: no acceptable C compiler found in \$PATH
2932
See \`config.log' for more details." >&2;}
2933
{ (exit 1); exit 1; }; }
2935
# Provide some information about the compiler.
2936
echo "$as_me:$LINENO: checking for C compiler version" >&5
2937
ac_compiler=`set X $ac_compile; echo $2`
2938
{ (ac_try="$ac_compiler --version >&5"
2940
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941
*) ac_try_echo=$ac_try;;
2943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944
(eval "$ac_compiler --version >&5") 2>&5
2946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947
(exit $ac_status); }
2948
{ (ac_try="$ac_compiler -v >&5"
2950
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951
*) ac_try_echo=$ac_try;;
2953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954
(eval "$ac_compiler -v >&5") 2>&5
2956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957
(exit $ac_status); }
2958
{ (ac_try="$ac_compiler -V >&5"
2960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
*) ac_try_echo=$ac_try;;
2963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964
(eval "$ac_compiler -V >&5") 2>&5
2966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); }
2969
cat >conftest.$ac_ext <<_ACEOF
2972
cat confdefs.h >>conftest.$ac_ext
2973
cat >>conftest.$ac_ext <<_ACEOF
2974
/* end confdefs.h. */
2984
ac_clean_files_save=$ac_clean_files
2985
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2986
# Try to create an executable without -o first, disregard a.out.
2987
# It will help us diagnose broken compilers, and finding out an intuition
2989
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2990
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2991
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2993
# List of possible output files, starting from the most likely.
2994
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2995
# only as a last resort. b.out is created by i960 compilers.
2996
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2998
# The IRIX 6 linker writes into existing files which may not be
2999
# executable, retaining their permissions. Remove them first so a
3000
# subsequent execution test works.
3002
for ac_file in $ac_files
3005
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3006
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3011
if { (ac_try="$ac_link_default"
3013
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
*) ac_try_echo=$ac_try;;
3016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017
(eval "$ac_link_default") 2>&5
3019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
(exit $ac_status); }; then
3021
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3022
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3023
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3024
# so that the user can short-circuit this test for compilers unknown to
3026
for ac_file in $ac_files ''
3028
test -f "$ac_file" || continue
3030
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3033
# We found the default executable, but exeext='' is most
3037
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3039
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3041
# We set ac_cv_exeext here because the later test for it is not
3042
# safe: cross compilers may not add the suffix if given an `-o'
3043
# argument, so we may need to know it at that point already.
3044
# Even if this section looks crufty: it has the advantage of
3051
test "$ac_cv_exeext" = no && ac_cv_exeext=
3057
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3058
echo "${ECHO_T}$ac_file" >&6; }
3059
if test -z "$ac_file"; then
3060
echo "$as_me: failed program was:" >&5
3061
sed 's/^/| /' conftest.$ac_ext >&5
3063
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3064
See \`config.log' for more details." >&5
3065
echo "$as_me: error: C compiler cannot create executables
3066
See \`config.log' for more details." >&2;}
3067
{ (exit 77); exit 77; }; }
3070
ac_exeext=$ac_cv_exeext
3072
# Check that the compiler produces executables we can run. If not, either
3073
# the compiler is broken, or we cross compile.
3074
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3075
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3076
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3077
# If not cross compiling, check that we can run a simple program.
3078
if test "$cross_compiling" != yes; then
3079
if { ac_try='./$ac_file'
3080
{ (case "(($ac_try" in
3081
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082
*) ac_try_echo=$ac_try;;
3084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085
(eval "$ac_try") 2>&5
3087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
(exit $ac_status); }; }; then
3091
if test "$cross_compiling" = maybe; then
3094
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3095
If you meant to cross compile, use \`--host'.
3096
See \`config.log' for more details." >&5
3097
echo "$as_me: error: cannot run C compiled programs.
3098
If you meant to cross compile, use \`--host'.
3099
See \`config.log' for more details." >&2;}
3100
{ (exit 1); exit 1; }; }
3104
{ echo "$as_me:$LINENO: result: yes" >&5
3105
echo "${ECHO_T}yes" >&6; }
3107
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3108
ac_clean_files=$ac_clean_files_save
3109
# Check that the compiler produces executables we can run. If not, either
3110
# the compiler is broken, or we cross compile.
3111
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3112
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3113
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3114
echo "${ECHO_T}$cross_compiling" >&6; }
3116
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3117
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3118
if { (ac_try="$ac_link"
3120
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121
*) ac_try_echo=$ac_try;;
3123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124
(eval "$ac_link") 2>&5
3126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127
(exit $ac_status); }; then
3128
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3129
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3130
# work properly (i.e., refer to `conftest.exe'), while it won't with
3132
for ac_file in conftest.exe conftest conftest.*; do
3133
test -f "$ac_file" || continue
3135
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3136
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3142
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3143
See \`config.log' for more details." >&5
3144
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3145
See \`config.log' for more details." >&2;}
3146
{ (exit 1); exit 1; }; }
3149
rm -f conftest$ac_cv_exeext
3150
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3151
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3153
rm -f conftest.$ac_ext
3154
EXEEXT=$ac_cv_exeext
3156
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3157
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3158
if test "${ac_cv_objext+set}" = set; then
3159
echo $ECHO_N "(cached) $ECHO_C" >&6
3161
cat >conftest.$ac_ext <<_ACEOF
3164
cat confdefs.h >>conftest.$ac_ext
3165
cat >>conftest.$ac_ext <<_ACEOF
3166
/* end confdefs.h. */
3176
rm -f conftest.o conftest.obj
3177
if { (ac_try="$ac_compile"
3179
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180
*) ac_try_echo=$ac_try;;
3182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183
(eval "$ac_compile") 2>&5
3185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186
(exit $ac_status); }; then
3187
for ac_file in conftest.o conftest.obj conftest.*; do
3188
test -f "$ac_file" || continue;
3190
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3191
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3196
echo "$as_me: failed program was:" >&5
3197
sed 's/^/| /' conftest.$ac_ext >&5
3199
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3200
See \`config.log' for more details." >&5
3201
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3202
See \`config.log' for more details." >&2;}
3203
{ (exit 1); exit 1; }; }
3206
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3208
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3209
echo "${ECHO_T}$ac_cv_objext" >&6; }
3210
OBJEXT=$ac_cv_objext
3212
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3213
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3214
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3215
echo $ECHO_N "(cached) $ECHO_C" >&6
3217
cat >conftest.$ac_ext <<_ACEOF
3220
cat confdefs.h >>conftest.$ac_ext
3221
cat >>conftest.$ac_ext <<_ACEOF
3222
/* end confdefs.h. */
3235
rm -f conftest.$ac_objext
3236
if { (ac_try="$ac_compile"
3238
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239
*) ac_try_echo=$ac_try;;
3241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242
(eval "$ac_compile") 2>conftest.er1
3244
grep -v '^ *+' conftest.er1 >conftest.err
3246
cat conftest.err >&5
3247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248
(exit $ac_status); } &&
3249
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3250
{ (case "(($ac_try" in
3251
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252
*) ac_try_echo=$ac_try;;
3254
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3255
(eval "$ac_try") 2>&5
3257
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
(exit $ac_status); }; } &&
3259
{ ac_try='test -s conftest.$ac_objext'
3260
{ (case "(($ac_try" in
3261
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262
*) ac_try_echo=$ac_try;;
3264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3265
(eval "$ac_try") 2>&5
3267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268
(exit $ac_status); }; }; then
3271
echo "$as_me: failed program was:" >&5
3272
sed 's/^/| /' conftest.$ac_ext >&5
3277
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3278
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3281
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3282
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3283
GCC=`test $ac_compiler_gnu = yes && echo yes`
3284
ac_test_CFLAGS=${CFLAGS+set}
3285
ac_save_CFLAGS=$CFLAGS
3286
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3287
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3288
if test "${ac_cv_prog_cc_g+set}" = set; then
3289
echo $ECHO_N "(cached) $ECHO_C" >&6
3291
ac_save_c_werror_flag=$ac_c_werror_flag
3292
ac_c_werror_flag=yes
3295
cat >conftest.$ac_ext <<_ACEOF
3298
cat confdefs.h >>conftest.$ac_ext
3299
cat >>conftest.$ac_ext <<_ACEOF
3300
/* end confdefs.h. */
3310
rm -f conftest.$ac_objext
3311
if { (ac_try="$ac_compile"
3313
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314
*) ac_try_echo=$ac_try;;
3316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3317
(eval "$ac_compile") 2>conftest.er1
3319
grep -v '^ *+' conftest.er1 >conftest.err
3321
cat conftest.err >&5
3322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323
(exit $ac_status); } &&
3324
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3325
{ (case "(($ac_try" in
3326
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327
*) ac_try_echo=$ac_try;;
3329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3330
(eval "$ac_try") 2>&5
3332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333
(exit $ac_status); }; } &&
3334
{ ac_try='test -s conftest.$ac_objext'
3335
{ (case "(($ac_try" in
3336
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337
*) ac_try_echo=$ac_try;;
3339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340
(eval "$ac_try") 2>&5
3342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343
(exit $ac_status); }; }; then
3346
echo "$as_me: failed program was:" >&5
3347
sed 's/^/| /' conftest.$ac_ext >&5
3350
cat >conftest.$ac_ext <<_ACEOF
3353
cat confdefs.h >>conftest.$ac_ext
3354
cat >>conftest.$ac_ext <<_ACEOF
3355
/* end confdefs.h. */
3365
rm -f conftest.$ac_objext
3366
if { (ac_try="$ac_compile"
3368
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369
*) ac_try_echo=$ac_try;;
3371
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3372
(eval "$ac_compile") 2>conftest.er1
3374
grep -v '^ *+' conftest.er1 >conftest.err
3376
cat conftest.err >&5
3377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378
(exit $ac_status); } &&
3379
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3380
{ (case "(($ac_try" in
3381
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382
*) ac_try_echo=$ac_try;;
3384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3385
(eval "$ac_try") 2>&5
3387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388
(exit $ac_status); }; } &&
3389
{ ac_try='test -s conftest.$ac_objext'
3390
{ (case "(($ac_try" in
3391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392
*) ac_try_echo=$ac_try;;
3394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3395
(eval "$ac_try") 2>&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); }; }; then
3401
echo "$as_me: failed program was:" >&5
3402
sed 's/^/| /' conftest.$ac_ext >&5
3404
ac_c_werror_flag=$ac_save_c_werror_flag
3406
cat >conftest.$ac_ext <<_ACEOF
3409
cat confdefs.h >>conftest.$ac_ext
3410
cat >>conftest.$ac_ext <<_ACEOF
3411
/* end confdefs.h. */
3421
rm -f conftest.$ac_objext
3422
if { (ac_try="$ac_compile"
3424
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425
*) ac_try_echo=$ac_try;;
3427
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428
(eval "$ac_compile") 2>conftest.er1
3430
grep -v '^ *+' conftest.er1 >conftest.err
3432
cat conftest.err >&5
3433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434
(exit $ac_status); } &&
3435
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3436
{ (case "(($ac_try" in
3437
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438
*) ac_try_echo=$ac_try;;
3440
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441
(eval "$ac_try") 2>&5
3443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444
(exit $ac_status); }; } &&
3445
{ ac_try='test -s conftest.$ac_objext'
3446
{ (case "(($ac_try" in
3447
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448
*) ac_try_echo=$ac_try;;
3450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451
(eval "$ac_try") 2>&5
3453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
(exit $ac_status); }; }; then
3457
echo "$as_me: failed program was:" >&5
3458
sed 's/^/| /' conftest.$ac_ext >&5
3463
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470
ac_c_werror_flag=$ac_save_c_werror_flag
3472
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3473
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3474
if test "$ac_test_CFLAGS" = set; then
3475
CFLAGS=$ac_save_CFLAGS
3476
elif test $ac_cv_prog_cc_g = yes; then
3477
if test "$GCC" = yes; then
3483
if test "$GCC" = yes; then
3489
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3490
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3491
if test "${ac_cv_prog_cc_c89+set}" = set; then
3492
echo $ECHO_N "(cached) $ECHO_C" >&6
3494
ac_cv_prog_cc_c89=no
3496
cat >conftest.$ac_ext <<_ACEOF
3499
cat confdefs.h >>conftest.$ac_ext
3500
cat >>conftest.$ac_ext <<_ACEOF
3501
/* end confdefs.h. */
3504
#include <sys/types.h>
3505
#include <sys/stat.h>
3506
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3507
struct buf { int x; };
3508
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3509
static char *e (p, i)
3515
static char *f (char * (*g) (char **, int), char **p, ...)
3520
s = g (p, va_arg (v,int));
3525
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3526
function prototypes and stuff, but not '\xHH' hex character constants.
3527
These don't provoke an error unfortunately, instead are silently treated
3528
as 'x'. The following induces an error, until -std is added to get
3529
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3530
array size at least. It's necessary to write '\x00'==0 to get something
3531
that's true only with -std. */
3532
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3534
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3535
inside strings and character constants. */
3537
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3539
int test (int i, double x);
3540
struct s1 {int (*f) (int a);};
3541
struct s2 {int (*f) (double a);};
3542
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3548
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3553
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3554
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3556
CC="$ac_save_CC $ac_arg"
3557
rm -f conftest.$ac_objext
3558
if { (ac_try="$ac_compile"
3560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561
*) ac_try_echo=$ac_try;;
3563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564
(eval "$ac_compile") 2>conftest.er1
3566
grep -v '^ *+' conftest.er1 >conftest.err
3568
cat conftest.err >&5
3569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570
(exit $ac_status); } &&
3571
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3572
{ (case "(($ac_try" in
3573
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574
*) ac_try_echo=$ac_try;;
3576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3577
(eval "$ac_try") 2>&5
3579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
(exit $ac_status); }; } &&
3581
{ ac_try='test -s conftest.$ac_objext'
3582
{ (case "(($ac_try" in
3583
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584
*) ac_try_echo=$ac_try;;
3586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587
(eval "$ac_try") 2>&5
3589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
(exit $ac_status); }; }; then
3591
ac_cv_prog_cc_c89=$ac_arg
3593
echo "$as_me: failed program was:" >&5
3594
sed 's/^/| /' conftest.$ac_ext >&5
3599
rm -f core conftest.err conftest.$ac_objext
3600
test "x$ac_cv_prog_cc_c89" != "xno" && break
3602
rm -f conftest.$ac_ext
3607
case "x$ac_cv_prog_cc_c89" in
3609
{ echo "$as_me:$LINENO: result: none needed" >&5
3610
echo "${ECHO_T}none needed" >&6; } ;;
3612
{ echo "$as_me:$LINENO: result: unsupported" >&5
3613
echo "${ECHO_T}unsupported" >&6; } ;;
3615
CC="$CC $ac_cv_prog_cc_c89"
3616
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3617
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3622
ac_cpp='$CPP $CPPFLAGS'
3623
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3624
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3625
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627
depcc="$CC" am_compiler_list=
3629
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3630
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3631
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3632
echo $ECHO_N "(cached) $ECHO_C" >&6
3634
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3635
# We make a subdir and do the tests there. Otherwise we can end up
3636
# making bogus files that we don't know about and never remove. For
3637
# instance it was reported that on HP-UX the gcc test will end up
3638
# making a dummy file named `D' -- because `-MD' means `put the output
3641
# Copy depcomp to subdir because otherwise we won't find it if we're
3642
# using a relative directory.
3643
cp "$am_depcomp" conftest.dir
3645
# We will build objects and dependencies in a subdirectory because
3646
# it helps to detect inapplicable dependency modes. For instance
3647
# both Tru64's cc and ICC support -MD to output dependencies as a
3648
# side effect of compilation, but ICC will put the dependencies in
3649
# the current directory while Tru64 will put them in the object
3653
am_cv_CC_dependencies_compiler_type=none
3654
if test "$am_compiler_list" = ""; then
3655
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3657
for depmode in $am_compiler_list; do
3658
# Setup a source with many dependencies, because some compilers
3659
# like to wrap large dependency lists on column 80 (with \), and
3660
# we should not choose a depcomp mode which is confused by this.
3662
# We need to recreate these files for each test, as the compiler may
3663
# overwrite some of them when testing with obscure command lines.
3664
# This happens at least with the AIX C compiler.
3666
for i in 1 2 3 4 5 6; do
3667
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3670
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3674
# after this tag, mechanisms are not by side-effect, so they'll
3675
# only be used when explicitly requested
3676
if test "x$enable_dependency_tracking" = xyes; then
3684
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3685
# mode. It turns out that the SunPro C++ compiler does not properly
3686
# handle `-M -o', and we need to detect this.
3687
if depmode=$depmode \
3688
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3689
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3690
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3691
>/dev/null 2>conftest.err &&
3692
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3693
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3694
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3695
# icc doesn't choke on unknown options, it will just issue warnings
3696
# (even with -Werror). So we grep stderr for any message
3697
# that says an option was ignored.
3698
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3699
am_cv_CC_dependencies_compiler_type=$depmode
3708
am_cv_CC_dependencies_compiler_type=none
3712
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3713
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3714
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3719
test "x$enable_dependency_tracking" != xno \
3720
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3722
am__fastdepCC_FALSE='#'
3724
am__fastdepCC_TRUE='#'
3725
am__fastdepCC_FALSE=
3731
ac_cpp='$CPP $CPPFLAGS'
3732
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3736
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3737
# On Suns, sometimes $CPP names a directory.
3738
if test -n "$CPP" && test -d "$CPP"; then
3741
if test -z "$CPP"; then
3742
if test "${ac_cv_prog_CPP+set}" = set; then
3743
echo $ECHO_N "(cached) $ECHO_C" >&6
3745
# Double quotes because CPP needs to be expanded
3746
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3749
for ac_c_preproc_warn_flag in '' yes
3751
# Use a header file that comes with gcc, so configuring glibc
3752
# with a fresh cross-compiler works.
3753
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3754
# <limits.h> exists even on freestanding compilers.
3755
# On the NeXT, cc -E runs the code through the compiler's parser,
3756
# not just through cpp. "Syntax error" is here to catch this case.
3757
cat >conftest.$ac_ext <<_ACEOF
3760
cat confdefs.h >>conftest.$ac_ext
3761
cat >>conftest.$ac_ext <<_ACEOF
3762
/* end confdefs.h. */
3764
# include <limits.h>
3766
# include <assert.h>
3770
if { (ac_try="$ac_cpp conftest.$ac_ext"
3772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773
*) ac_try_echo=$ac_try;;
3775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778
grep -v '^ *+' conftest.er1 >conftest.err
3780
cat conftest.err >&5
3781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782
(exit $ac_status); } >/dev/null; then
3783
if test -s conftest.err; then
3784
ac_cpp_err=$ac_c_preproc_warn_flag
3785
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3792
if test -z "$ac_cpp_err"; then
3795
echo "$as_me: failed program was:" >&5
3796
sed 's/^/| /' conftest.$ac_ext >&5
3798
# Broken: fails on valid input.
3802
rm -f conftest.err conftest.$ac_ext
3804
# OK, works on sane cases. Now check whether nonexistent headers
3805
# can be detected and how.
3806
cat >conftest.$ac_ext <<_ACEOF
3809
cat confdefs.h >>conftest.$ac_ext
3810
cat >>conftest.$ac_ext <<_ACEOF
3811
/* end confdefs.h. */
3812
#include <ac_nonexistent.h>
3814
if { (ac_try="$ac_cpp conftest.$ac_ext"
3816
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817
*) ac_try_echo=$ac_try;;
3819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3820
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3822
grep -v '^ *+' conftest.er1 >conftest.err
3824
cat conftest.err >&5
3825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826
(exit $ac_status); } >/dev/null; then
3827
if test -s conftest.err; then
3828
ac_cpp_err=$ac_c_preproc_warn_flag
3829
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3836
if test -z "$ac_cpp_err"; then
3837
# Broken: success on invalid input.
3840
echo "$as_me: failed program was:" >&5
3841
sed 's/^/| /' conftest.$ac_ext >&5
3843
# Passes both tests.
3848
rm -f conftest.err conftest.$ac_ext
3851
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3852
rm -f conftest.err conftest.$ac_ext
3853
if $ac_preproc_ok; then
3865
{ echo "$as_me:$LINENO: result: $CPP" >&5
3866
echo "${ECHO_T}$CPP" >&6; }
3868
for ac_c_preproc_warn_flag in '' yes
3870
# Use a header file that comes with gcc, so configuring glibc
3871
# with a fresh cross-compiler works.
3872
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3873
# <limits.h> exists even on freestanding compilers.
3874
# On the NeXT, cc -E runs the code through the compiler's parser,
3875
# not just through cpp. "Syntax error" is here to catch this case.
3876
cat >conftest.$ac_ext <<_ACEOF
3879
cat confdefs.h >>conftest.$ac_ext
3880
cat >>conftest.$ac_ext <<_ACEOF
3881
/* end confdefs.h. */
3883
# include <limits.h>
3885
# include <assert.h>
3889
if { (ac_try="$ac_cpp conftest.$ac_ext"
3891
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892
*) ac_try_echo=$ac_try;;
3894
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3895
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3897
grep -v '^ *+' conftest.er1 >conftest.err
3899
cat conftest.err >&5
3900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901
(exit $ac_status); } >/dev/null; then
3902
if test -s conftest.err; then
3903
ac_cpp_err=$ac_c_preproc_warn_flag
3904
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3911
if test -z "$ac_cpp_err"; then
3914
echo "$as_me: failed program was:" >&5
3915
sed 's/^/| /' conftest.$ac_ext >&5
3917
# Broken: fails on valid input.
3921
rm -f conftest.err conftest.$ac_ext
3923
# OK, works on sane cases. Now check whether nonexistent headers
3924
# can be detected and how.
3925
cat >conftest.$ac_ext <<_ACEOF
3928
cat confdefs.h >>conftest.$ac_ext
3929
cat >>conftest.$ac_ext <<_ACEOF
3930
/* end confdefs.h. */
3931
#include <ac_nonexistent.h>
3933
if { (ac_try="$ac_cpp conftest.$ac_ext"
3935
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936
*) ac_try_echo=$ac_try;;
3938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3941
grep -v '^ *+' conftest.er1 >conftest.err
3943
cat conftest.err >&5
3944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945
(exit $ac_status); } >/dev/null; then
3946
if test -s conftest.err; then
3947
ac_cpp_err=$ac_c_preproc_warn_flag
3948
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3955
if test -z "$ac_cpp_err"; then
3956
# Broken: success on invalid input.
3959
echo "$as_me: failed program was:" >&5
3960
sed 's/^/| /' conftest.$ac_ext >&5
3962
# Passes both tests.
3967
rm -f conftest.err conftest.$ac_ext
3970
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3971
rm -f conftest.err conftest.$ac_ext
3972
if $ac_preproc_ok; then
3975
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3976
See \`config.log' for more details." >&5
3977
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3978
See \`config.log' for more details." >&2;}
3979
{ (exit 1); exit 1; }; }
3983
ac_cpp='$CPP $CPPFLAGS'
3984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3989
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3990
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3991
if test "${ac_cv_path_GREP+set}" = set; then
3992
echo $ECHO_N "(cached) $ECHO_C" >&6
3994
# Extract the first word of "grep ggrep" to use in msg output
3995
if test -z "$GREP"; then
3996
set dummy grep ggrep; ac_prog_name=$2
3997
if test "${ac_cv_path_GREP+set}" = set; then
3998
echo $ECHO_N "(cached) $ECHO_C" >&6
4000
ac_path_GREP_found=false
4001
# Loop through the user's path and test for each of PROGNAME-LIST
4002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4006
test -z "$as_dir" && as_dir=.
4007
for ac_prog in grep ggrep; do
4008
for ac_exec_ext in '' $ac_executable_extensions; do
4009
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4010
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4011
# Check for GNU ac_path_GREP and select it if it is found.
4012
# Check for GNU $ac_path_GREP
4013
case `"$ac_path_GREP" --version 2>&1` in
4015
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4018
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4021
cat "conftest.in" "conftest.in" >"conftest.tmp"
4022
mv "conftest.tmp" "conftest.in"
4023
cp "conftest.in" "conftest.nl"
4024
echo 'GREP' >> "conftest.nl"
4025
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4026
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4027
ac_count=`expr $ac_count + 1`
4028
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4029
# Best one so far, save it but keep looking for a better one
4030
ac_cv_path_GREP="$ac_path_GREP"
4031
ac_path_GREP_max=$ac_count
4033
# 10*(2^10) chars as input seems more than enough
4034
test $ac_count -gt 10 && break
4036
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4040
$ac_path_GREP_found && break 3
4050
GREP="$ac_cv_path_GREP"
4051
if test -z "$GREP"; then
4052
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4053
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4054
{ (exit 1); exit 1; }; }
4058
ac_cv_path_GREP=$GREP
4063
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4064
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4065
GREP="$ac_cv_path_GREP"
4068
{ echo "$as_me:$LINENO: checking for egrep" >&5
4069
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4070
if test "${ac_cv_path_EGREP+set}" = set; then
4071
echo $ECHO_N "(cached) $ECHO_C" >&6
4073
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4074
then ac_cv_path_EGREP="$GREP -E"
4076
# Extract the first word of "egrep" to use in msg output
4077
if test -z "$EGREP"; then
4078
set dummy egrep; ac_prog_name=$2
4079
if test "${ac_cv_path_EGREP+set}" = set; then
4080
echo $ECHO_N "(cached) $ECHO_C" >&6
4082
ac_path_EGREP_found=false
4083
# Loop through the user's path and test for each of PROGNAME-LIST
4084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4088
test -z "$as_dir" && as_dir=.
4089
for ac_prog in egrep; do
4090
for ac_exec_ext in '' $ac_executable_extensions; do
4091
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4092
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4093
# Check for GNU ac_path_EGREP and select it if it is found.
4094
# Check for GNU $ac_path_EGREP
4095
case `"$ac_path_EGREP" --version 2>&1` in
4097
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4100
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4103
cat "conftest.in" "conftest.in" >"conftest.tmp"
4104
mv "conftest.tmp" "conftest.in"
4105
cp "conftest.in" "conftest.nl"
4106
echo 'EGREP' >> "conftest.nl"
4107
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4108
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4109
ac_count=`expr $ac_count + 1`
4110
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4111
# Best one so far, save it but keep looking for a better one
4112
ac_cv_path_EGREP="$ac_path_EGREP"
4113
ac_path_EGREP_max=$ac_count
4115
# 10*(2^10) chars as input seems more than enough
4116
test $ac_count -gt 10 && break
4118
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4122
$ac_path_EGREP_found && break 3
4132
EGREP="$ac_cv_path_EGREP"
4133
if test -z "$EGREP"; then
4134
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4135
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4136
{ (exit 1); exit 1; }; }
4140
ac_cv_path_EGREP=$EGREP
4146
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4147
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4148
EGREP="$ac_cv_path_EGREP"
4151
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4152
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4153
if test "${ac_cv_header_stdc+set}" = set; then
4154
echo $ECHO_N "(cached) $ECHO_C" >&6
4156
cat >conftest.$ac_ext <<_ACEOF
4159
cat confdefs.h >>conftest.$ac_ext
4160
cat >>conftest.$ac_ext <<_ACEOF
4161
/* end confdefs.h. */
4175
rm -f conftest.$ac_objext
4176
if { (ac_try="$ac_compile"
4178
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179
*) ac_try_echo=$ac_try;;
4181
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4182
(eval "$ac_compile") 2>conftest.er1
4184
grep -v '^ *+' conftest.er1 >conftest.err
4186
cat conftest.err >&5
4187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188
(exit $ac_status); } &&
4189
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4190
{ (case "(($ac_try" in
4191
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192
*) ac_try_echo=$ac_try;;
4194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195
(eval "$ac_try") 2>&5
4197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198
(exit $ac_status); }; } &&
4199
{ ac_try='test -s conftest.$ac_objext'
4200
{ (case "(($ac_try" in
4201
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202
*) ac_try_echo=$ac_try;;
4204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4205
(eval "$ac_try") 2>&5
4207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208
(exit $ac_status); }; }; then
4209
ac_cv_header_stdc=yes
4211
echo "$as_me: failed program was:" >&5
4212
sed 's/^/| /' conftest.$ac_ext >&5
4214
ac_cv_header_stdc=no
4217
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219
if test $ac_cv_header_stdc = yes; then
4220
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4221
cat >conftest.$ac_ext <<_ACEOF
4224
cat confdefs.h >>conftest.$ac_ext
4225
cat >>conftest.$ac_ext <<_ACEOF
4226
/* end confdefs.h. */
4230
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4231
$EGREP "memchr" >/dev/null 2>&1; then
4234
ac_cv_header_stdc=no
4240
if test $ac_cv_header_stdc = yes; then
4241
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4242
cat >conftest.$ac_ext <<_ACEOF
4245
cat confdefs.h >>conftest.$ac_ext
4246
cat >>conftest.$ac_ext <<_ACEOF
4247
/* end confdefs.h. */
4251
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4252
$EGREP "free" >/dev/null 2>&1; then
4255
ac_cv_header_stdc=no
4261
if test $ac_cv_header_stdc = yes; then
4262
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4263
if test "$cross_compiling" = yes; then
4266
cat >conftest.$ac_ext <<_ACEOF
4269
cat confdefs.h >>conftest.$ac_ext
4270
cat >>conftest.$ac_ext <<_ACEOF
4271
/* end confdefs.h. */
4274
#if ((' ' & 0x0FF) == 0x020)
4275
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4276
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4278
# define ISLOWER(c) \
4279
(('a' <= (c) && (c) <= 'i') \
4280
|| ('j' <= (c) && (c) <= 'r') \
4281
|| ('s' <= (c) && (c) <= 'z'))
4282
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4285
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4290
for (i = 0; i < 256; i++)
4291
if (XOR (islower (i), ISLOWER (i))
4292
|| toupper (i) != TOUPPER (i))
4297
rm -f conftest$ac_exeext
4298
if { (ac_try="$ac_link"
4300
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4301
*) ac_try_echo=$ac_try;;
4303
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4304
(eval "$ac_link") 2>&5
4306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4308
{ (case "(($ac_try" in
4309
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4310
*) ac_try_echo=$ac_try;;
4312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4313
(eval "$ac_try") 2>&5
4315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316
(exit $ac_status); }; }; then
4319
echo "$as_me: program exited with status $ac_status" >&5
4320
echo "$as_me: failed program was:" >&5
4321
sed 's/^/| /' conftest.$ac_ext >&5
4324
ac_cv_header_stdc=no
4326
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4332
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4333
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4334
if test $ac_cv_header_stdc = yes; then
4336
cat >>confdefs.h <<\_ACEOF
4337
#define STDC_HEADERS 1
4342
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4352
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4353
inttypes.h stdint.h unistd.h
4355
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4356
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4357
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4358
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4359
echo $ECHO_N "(cached) $ECHO_C" >&6
4361
cat >conftest.$ac_ext <<_ACEOF
4364
cat confdefs.h >>conftest.$ac_ext
4365
cat >>conftest.$ac_ext <<_ACEOF
4366
/* end confdefs.h. */
4367
$ac_includes_default
4369
#include <$ac_header>
4371
rm -f conftest.$ac_objext
4372
if { (ac_try="$ac_compile"
4374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375
*) ac_try_echo=$ac_try;;
4377
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378
(eval "$ac_compile") 2>conftest.er1
4380
grep -v '^ *+' conftest.er1 >conftest.err
4382
cat conftest.err >&5
4383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384
(exit $ac_status); } &&
4385
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4386
{ (case "(($ac_try" in
4387
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388
*) ac_try_echo=$ac_try;;
4390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4391
(eval "$ac_try") 2>&5
4393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394
(exit $ac_status); }; } &&
4395
{ ac_try='test -s conftest.$ac_objext'
4396
{ (case "(($ac_try" in
4397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398
*) ac_try_echo=$ac_try;;
4400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4401
(eval "$ac_try") 2>&5
4403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404
(exit $ac_status); }; }; then
4405
eval "$as_ac_Header=yes"
4407
echo "$as_me: failed program was:" >&5
4408
sed 's/^/| /' conftest.$ac_ext >&5
4410
eval "$as_ac_Header=no"
4413
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415
ac_res=`eval echo '${'$as_ac_Header'}'`
4416
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4417
echo "${ECHO_T}$ac_res" >&6; }
4418
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4419
cat >>confdefs.h <<_ACEOF
4420
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4430
for ac_header in locale.h
4432
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4433
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4434
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4435
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4436
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4437
echo $ECHO_N "(cached) $ECHO_C" >&6
4439
ac_res=`eval echo '${'$as_ac_Header'}'`
4440
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4441
echo "${ECHO_T}$ac_res" >&6; }
4443
# Is the header compilable?
4444
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4445
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4446
cat >conftest.$ac_ext <<_ACEOF
4449
cat confdefs.h >>conftest.$ac_ext
4450
cat >>conftest.$ac_ext <<_ACEOF
4451
/* end confdefs.h. */
4452
$ac_includes_default
4453
#include <$ac_header>
4455
rm -f conftest.$ac_objext
4456
if { (ac_try="$ac_compile"
4458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459
*) ac_try_echo=$ac_try;;
4461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462
(eval "$ac_compile") 2>conftest.er1
4464
grep -v '^ *+' conftest.er1 >conftest.err
4466
cat conftest.err >&5
4467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
(exit $ac_status); } &&
4469
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4470
{ (case "(($ac_try" in
4471
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472
*) ac_try_echo=$ac_try;;
4474
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4475
(eval "$ac_try") 2>&5
4477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478
(exit $ac_status); }; } &&
4479
{ ac_try='test -s conftest.$ac_objext'
4480
{ (case "(($ac_try" in
4481
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482
*) ac_try_echo=$ac_try;;
4484
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4485
(eval "$ac_try") 2>&5
4487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488
(exit $ac_status); }; }; then
4489
ac_header_compiler=yes
4491
echo "$as_me: failed program was:" >&5
4492
sed 's/^/| /' conftest.$ac_ext >&5
4494
ac_header_compiler=no
4497
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4499
echo "${ECHO_T}$ac_header_compiler" >&6; }
4501
# Is the header present?
4502
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4503
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4504
cat >conftest.$ac_ext <<_ACEOF
4507
cat confdefs.h >>conftest.$ac_ext
4508
cat >>conftest.$ac_ext <<_ACEOF
4509
/* end confdefs.h. */
4510
#include <$ac_header>
4512
if { (ac_try="$ac_cpp conftest.$ac_ext"
4514
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515
*) ac_try_echo=$ac_try;;
4517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4520
grep -v '^ *+' conftest.er1 >conftest.err
4522
cat conftest.err >&5
4523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524
(exit $ac_status); } >/dev/null; then
4525
if test -s conftest.err; then
4526
ac_cpp_err=$ac_c_preproc_warn_flag
4527
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4534
if test -z "$ac_cpp_err"; then
4535
ac_header_preproc=yes
4537
echo "$as_me: failed program was:" >&5
4538
sed 's/^/| /' conftest.$ac_ext >&5
4540
ac_header_preproc=no
4543
rm -f conftest.err conftest.$ac_ext
4544
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4545
echo "${ECHO_T}$ac_header_preproc" >&6; }
4547
# So? What about this header?
4548
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4550
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4551
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4552
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4553
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4554
ac_header_preproc=yes
4557
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4558
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4559
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4560
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4561
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4562
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4563
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4564
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4565
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4566
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4567
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4568
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4572
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4573
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4574
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4575
echo $ECHO_N "(cached) $ECHO_C" >&6
4577
eval "$as_ac_Header=\$ac_header_preproc"
4579
ac_res=`eval echo '${'$as_ac_Header'}'`
4580
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4581
echo "${ECHO_T}$ac_res" >&6; }
4584
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4585
cat >>confdefs.h <<_ACEOF
4586
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4593
if test $ac_cv_header_locale_h = yes; then
4594
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4595
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
4596
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4597
echo $ECHO_N "(cached) $ECHO_C" >&6
4599
cat >conftest.$ac_ext <<_ACEOF
4602
cat confdefs.h >>conftest.$ac_ext
4603
cat >>conftest.$ac_ext <<_ACEOF
4604
/* end confdefs.h. */
4614
rm -f conftest.$ac_objext conftest$ac_exeext
4615
if { (ac_try="$ac_link"
4617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4618
*) ac_try_echo=$ac_try;;
4620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4621
(eval "$ac_link") 2>conftest.er1
4623
grep -v '^ *+' conftest.er1 >conftest.err
4625
cat conftest.err >&5
4626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627
(exit $ac_status); } &&
4628
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4629
{ (case "(($ac_try" in
4630
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631
*) ac_try_echo=$ac_try;;
4633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4634
(eval "$ac_try") 2>&5
4636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637
(exit $ac_status); }; } &&
4638
{ ac_try='test -s conftest$ac_exeext'
4639
{ (case "(($ac_try" in
4640
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641
*) ac_try_echo=$ac_try;;
4643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4644
(eval "$ac_try") 2>&5
4646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647
(exit $ac_status); }; }; then
4648
am_cv_val_LC_MESSAGES=yes
4650
echo "$as_me: failed program was:" >&5
4651
sed 's/^/| /' conftest.$ac_ext >&5
4653
am_cv_val_LC_MESSAGES=no
4656
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4657
conftest$ac_exeext conftest.$ac_ext
4659
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4660
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
4661
if test $am_cv_val_LC_MESSAGES = yes; then
4663
cat >>confdefs.h <<\_ACEOF
4664
#define HAVE_LC_MESSAGES 1
4672
gt_cv_have_gettext=no
4678
if test "${ac_cv_header_libintl_h+set}" = set; then
4679
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
4680
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4681
if test "${ac_cv_header_libintl_h+set}" = set; then
4682
echo $ECHO_N "(cached) $ECHO_C" >&6
4684
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4685
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4687
# Is the header compilable?
4688
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
4689
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
4690
cat >conftest.$ac_ext <<_ACEOF
4693
cat confdefs.h >>conftest.$ac_ext
4694
cat >>conftest.$ac_ext <<_ACEOF
4695
/* end confdefs.h. */
4696
$ac_includes_default
4697
#include <libintl.h>
4699
rm -f conftest.$ac_objext
4700
if { (ac_try="$ac_compile"
4702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703
*) ac_try_echo=$ac_try;;
4705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706
(eval "$ac_compile") 2>conftest.er1
4708
grep -v '^ *+' conftest.er1 >conftest.err
4710
cat conftest.err >&5
4711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712
(exit $ac_status); } &&
4713
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4714
{ (case "(($ac_try" in
4715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716
*) ac_try_echo=$ac_try;;
4718
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4719
(eval "$ac_try") 2>&5
4721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722
(exit $ac_status); }; } &&
4723
{ ac_try='test -s conftest.$ac_objext'
4724
{ (case "(($ac_try" in
4725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726
*) ac_try_echo=$ac_try;;
4728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4729
(eval "$ac_try") 2>&5
4731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
(exit $ac_status); }; }; then
4733
ac_header_compiler=yes
4735
echo "$as_me: failed program was:" >&5
4736
sed 's/^/| /' conftest.$ac_ext >&5
4738
ac_header_compiler=no
4741
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4743
echo "${ECHO_T}$ac_header_compiler" >&6; }
4745
# Is the header present?
4746
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
4747
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
4748
cat >conftest.$ac_ext <<_ACEOF
4751
cat confdefs.h >>conftest.$ac_ext
4752
cat >>conftest.$ac_ext <<_ACEOF
4753
/* end confdefs.h. */
4754
#include <libintl.h>
4756
if { (ac_try="$ac_cpp conftest.$ac_ext"
4758
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759
*) ac_try_echo=$ac_try;;
4761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4764
grep -v '^ *+' conftest.er1 >conftest.err
4766
cat conftest.err >&5
4767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768
(exit $ac_status); } >/dev/null; then
4769
if test -s conftest.err; then
4770
ac_cpp_err=$ac_c_preproc_warn_flag
4771
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4778
if test -z "$ac_cpp_err"; then
4779
ac_header_preproc=yes
4781
echo "$as_me: failed program was:" >&5
4782
sed 's/^/| /' conftest.$ac_ext >&5
4784
ac_header_preproc=no
4787
rm -f conftest.err conftest.$ac_ext
4788
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4789
echo "${ECHO_T}$ac_header_preproc" >&6; }
4791
# So? What about this header?
4792
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4794
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4795
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4796
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4797
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4798
ac_header_preproc=yes
4801
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4802
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4803
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4804
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4805
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4806
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4807
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4808
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4809
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4810
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4811
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4812
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4816
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
4817
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
4818
if test "${ac_cv_header_libintl_h+set}" = set; then
4819
echo $ECHO_N "(cached) $ECHO_C" >&6
4821
ac_cv_header_libintl_h=$ac_header_preproc
4823
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4824
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
4827
if test $ac_cv_header_libintl_h = yes; then
4828
gt_cv_func_dgettext_libintl="no"
4829
libintl_extra_libs=""
4832
# First check in libc
4834
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4835
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
4836
if test "${gt_cv_func_ngettext_libc+set}" = set; then
4837
echo $ECHO_N "(cached) $ECHO_C" >&6
4839
cat >conftest.$ac_ext <<_ACEOF
4842
cat confdefs.h >>conftest.$ac_ext
4843
cat >>conftest.$ac_ext <<_ACEOF
4844
/* end confdefs.h. */
4846
#include <libintl.h>
4851
return !ngettext ("","", 1)
4856
rm -f conftest.$ac_objext conftest$ac_exeext
4857
if { (ac_try="$ac_link"
4859
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860
*) ac_try_echo=$ac_try;;
4862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4863
(eval "$ac_link") 2>conftest.er1
4865
grep -v '^ *+' conftest.er1 >conftest.err
4867
cat conftest.err >&5
4868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869
(exit $ac_status); } &&
4870
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4871
{ (case "(($ac_try" in
4872
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873
*) ac_try_echo=$ac_try;;
4875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4876
(eval "$ac_try") 2>&5
4878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879
(exit $ac_status); }; } &&
4880
{ ac_try='test -s conftest$ac_exeext'
4881
{ (case "(($ac_try" in
4882
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883
*) ac_try_echo=$ac_try;;
4885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886
(eval "$ac_try") 2>&5
4888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889
(exit $ac_status); }; }; then
4890
gt_cv_func_ngettext_libc=yes
4892
echo "$as_me: failed program was:" >&5
4893
sed 's/^/| /' conftest.$ac_ext >&5
4895
gt_cv_func_ngettext_libc=no
4898
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4899
conftest$ac_exeext conftest.$ac_ext
4902
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
4903
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
4905
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4906
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4907
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
4908
if test "${gt_cv_func_dgettext_libc+set}" = set; then
4909
echo $ECHO_N "(cached) $ECHO_C" >&6
4911
cat >conftest.$ac_ext <<_ACEOF
4914
cat confdefs.h >>conftest.$ac_ext
4915
cat >>conftest.$ac_ext <<_ACEOF
4916
/* end confdefs.h. */
4918
#include <libintl.h>
4923
return !dgettext ("","")
4928
rm -f conftest.$ac_objext conftest$ac_exeext
4929
if { (ac_try="$ac_link"
4931
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932
*) ac_try_echo=$ac_try;;
4934
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4935
(eval "$ac_link") 2>conftest.er1
4937
grep -v '^ *+' conftest.er1 >conftest.err
4939
cat conftest.err >&5
4940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941
(exit $ac_status); } &&
4942
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4943
{ (case "(($ac_try" in
4944
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4945
*) ac_try_echo=$ac_try;;
4947
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4948
(eval "$ac_try") 2>&5
4950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951
(exit $ac_status); }; } &&
4952
{ ac_try='test -s conftest$ac_exeext'
4953
{ (case "(($ac_try" in
4954
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955
*) ac_try_echo=$ac_try;;
4957
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4958
(eval "$ac_try") 2>&5
4960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961
(exit $ac_status); }; }; then
4962
gt_cv_func_dgettext_libc=yes
4964
echo "$as_me: failed program was:" >&5
4965
sed 's/^/| /' conftest.$ac_ext >&5
4967
gt_cv_func_dgettext_libc=no
4970
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4971
conftest$ac_exeext conftest.$ac_ext
4974
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4975
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
4978
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4980
for ac_func in bind_textdomain_codeset
4982
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4983
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4984
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4985
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4986
echo $ECHO_N "(cached) $ECHO_C" >&6
4988
cat >conftest.$ac_ext <<_ACEOF
4991
cat confdefs.h >>conftest.$ac_ext
4992
cat >>conftest.$ac_ext <<_ACEOF
4993
/* end confdefs.h. */
4994
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4995
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4996
#define $ac_func innocuous_$ac_func
4998
/* System header to define __stub macros and hopefully few prototypes,
4999
which can conflict with char $ac_func (); below.
5000
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5001
<limits.h> exists even on freestanding compilers. */
5004
# include <limits.h>
5006
# include <assert.h>
5011
/* Override any GCC internal prototype to avoid an error.
5012
Use char because int might match the return type of a GCC
5013
builtin and then its argument prototype would still apply. */
5018
/* The GNU C library defines this for functions which it implements
5019
to always fail with ENOSYS. Some functions are actually named
5020
something starting with __ and the normal name is an alias. */
5021
#if defined __stub_$ac_func || defined __stub___$ac_func
5033
rm -f conftest.$ac_objext conftest$ac_exeext
5034
if { (ac_try="$ac_link"
5036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5037
*) ac_try_echo=$ac_try;;
5039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5040
(eval "$ac_link") 2>conftest.er1
5042
grep -v '^ *+' conftest.er1 >conftest.err
5044
cat conftest.err >&5
5045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046
(exit $ac_status); } &&
5047
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5048
{ (case "(($ac_try" in
5049
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5050
*) ac_try_echo=$ac_try;;
5052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5053
(eval "$ac_try") 2>&5
5055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056
(exit $ac_status); }; } &&
5057
{ ac_try='test -s conftest$ac_exeext'
5058
{ (case "(($ac_try" in
5059
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5060
*) ac_try_echo=$ac_try;;
5062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5063
(eval "$ac_try") 2>&5
5065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066
(exit $ac_status); }; }; then
5067
eval "$as_ac_var=yes"
5069
echo "$as_me: failed program was:" >&5
5070
sed 's/^/| /' conftest.$ac_ext >&5
5072
eval "$as_ac_var=no"
5075
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5076
conftest$ac_exeext conftest.$ac_ext
5078
ac_res=`eval echo '${'$as_ac_var'}'`
5079
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5080
echo "${ECHO_T}$ac_res" >&6; }
5081
if test `eval echo '${'$as_ac_var'}'` = yes; then
5082
cat >>confdefs.h <<_ACEOF
5083
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5092
# If we don't have everything we want, check in libintl
5094
if test "$gt_cv_func_dgettext_libc" != "yes" \
5095
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5096
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5098
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5099
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
5100
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5101
echo $ECHO_N "(cached) $ECHO_C" >&6
5103
ac_check_lib_save_LIBS=$LIBS
5105
cat >conftest.$ac_ext <<_ACEOF
5108
cat confdefs.h >>conftest.$ac_ext
5109
cat >>conftest.$ac_ext <<_ACEOF
5110
/* end confdefs.h. */
5112
/* Override any GCC internal prototype to avoid an error.
5113
Use char because int might match the return type of a GCC
5114
builtin and then its argument prototype would still apply. */
5118
char bindtextdomain ();
5122
return bindtextdomain ();
5127
rm -f conftest.$ac_objext conftest$ac_exeext
5128
if { (ac_try="$ac_link"
5130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131
*) ac_try_echo=$ac_try;;
5133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5134
(eval "$ac_link") 2>conftest.er1
5136
grep -v '^ *+' conftest.er1 >conftest.err
5138
cat conftest.err >&5
5139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140
(exit $ac_status); } &&
5141
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5142
{ (case "(($ac_try" in
5143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144
*) ac_try_echo=$ac_try;;
5146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147
(eval "$ac_try") 2>&5
5149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150
(exit $ac_status); }; } &&
5151
{ ac_try='test -s conftest$ac_exeext'
5152
{ (case "(($ac_try" in
5153
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154
*) ac_try_echo=$ac_try;;
5156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5157
(eval "$ac_try") 2>&5
5159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160
(exit $ac_status); }; }; then
5161
ac_cv_lib_intl_bindtextdomain=yes
5163
echo "$as_me: failed program was:" >&5
5164
sed 's/^/| /' conftest.$ac_ext >&5
5166
ac_cv_lib_intl_bindtextdomain=no
5169
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5170
conftest$ac_exeext conftest.$ac_ext
5171
LIBS=$ac_check_lib_save_LIBS
5173
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5174
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
5175
if test $ac_cv_lib_intl_bindtextdomain = yes; then
5176
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5177
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5178
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5179
echo $ECHO_N "(cached) $ECHO_C" >&6
5181
ac_check_lib_save_LIBS=$LIBS
5183
cat >conftest.$ac_ext <<_ACEOF
5186
cat confdefs.h >>conftest.$ac_ext
5187
cat >>conftest.$ac_ext <<_ACEOF
5188
/* end confdefs.h. */
5190
/* Override any GCC internal prototype to avoid an error.
5191
Use char because int might match the return type of a GCC
5192
builtin and then its argument prototype would still apply. */
5205
rm -f conftest.$ac_objext conftest$ac_exeext
5206
if { (ac_try="$ac_link"
5208
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5209
*) ac_try_echo=$ac_try;;
5211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5212
(eval "$ac_link") 2>conftest.er1
5214
grep -v '^ *+' conftest.er1 >conftest.err
5216
cat conftest.err >&5
5217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218
(exit $ac_status); } &&
5219
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5220
{ (case "(($ac_try" in
5221
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222
*) ac_try_echo=$ac_try;;
5224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225
(eval "$ac_try") 2>&5
5227
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228
(exit $ac_status); }; } &&
5229
{ ac_try='test -s conftest$ac_exeext'
5230
{ (case "(($ac_try" in
5231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232
*) ac_try_echo=$ac_try;;
5234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5235
(eval "$ac_try") 2>&5
5237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238
(exit $ac_status); }; }; then
5239
ac_cv_lib_intl_ngettext=yes
5241
echo "$as_me: failed program was:" >&5
5242
sed 's/^/| /' conftest.$ac_ext >&5
5244
ac_cv_lib_intl_ngettext=no
5247
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5248
conftest$ac_exeext conftest.$ac_ext
5249
LIBS=$ac_check_lib_save_LIBS
5251
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5252
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5253
if test $ac_cv_lib_intl_ngettext = yes; then
5254
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5255
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
5256
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5257
echo $ECHO_N "(cached) $ECHO_C" >&6
5259
ac_check_lib_save_LIBS=$LIBS
5261
cat >conftest.$ac_ext <<_ACEOF
5264
cat confdefs.h >>conftest.$ac_ext
5265
cat >>conftest.$ac_ext <<_ACEOF
5266
/* end confdefs.h. */
5268
/* Override any GCC internal prototype to avoid an error.
5269
Use char because int might match the return type of a GCC
5270
builtin and then its argument prototype would still apply. */
5283
rm -f conftest.$ac_objext conftest$ac_exeext
5284
if { (ac_try="$ac_link"
5286
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287
*) ac_try_echo=$ac_try;;
5289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5290
(eval "$ac_link") 2>conftest.er1
5292
grep -v '^ *+' conftest.er1 >conftest.err
5294
cat conftest.err >&5
5295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296
(exit $ac_status); } &&
5297
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5298
{ (case "(($ac_try" in
5299
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5300
*) ac_try_echo=$ac_try;;
5302
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5303
(eval "$ac_try") 2>&5
5305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306
(exit $ac_status); }; } &&
5307
{ ac_try='test -s conftest$ac_exeext'
5308
{ (case "(($ac_try" in
5309
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5310
*) ac_try_echo=$ac_try;;
5312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5313
(eval "$ac_try") 2>&5
5315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316
(exit $ac_status); }; }; then
5317
ac_cv_lib_intl_dgettext=yes
5319
echo "$as_me: failed program was:" >&5
5320
sed 's/^/| /' conftest.$ac_ext >&5
5322
ac_cv_lib_intl_dgettext=no
5325
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5326
conftest$ac_exeext conftest.$ac_ext
5327
LIBS=$ac_check_lib_save_LIBS
5329
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5330
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
5331
if test $ac_cv_lib_intl_dgettext = yes; then
5332
gt_cv_func_dgettext_libintl=yes
5340
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5341
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5342
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
5343
{ echo "$as_me:$LINENO: result: " >&5
5344
echo "${ECHO_T}" >&6; }
5345
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5346
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5347
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5348
echo $ECHO_N "(cached) $ECHO_C" >&6
5350
ac_check_lib_save_LIBS=$LIBS
5351
LIBS="-lintl -liconv $LIBS"
5352
cat >conftest.$ac_ext <<_ACEOF
5355
cat confdefs.h >>conftest.$ac_ext
5356
cat >>conftest.$ac_ext <<_ACEOF
5357
/* end confdefs.h. */
5359
/* Override any GCC internal prototype to avoid an error.
5360
Use char because int might match the return type of a GCC
5361
builtin and then its argument prototype would still apply. */
5374
rm -f conftest.$ac_objext conftest$ac_exeext
5375
if { (ac_try="$ac_link"
5377
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378
*) ac_try_echo=$ac_try;;
5380
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381
(eval "$ac_link") 2>conftest.er1
5383
grep -v '^ *+' conftest.er1 >conftest.err
5385
cat conftest.err >&5
5386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387
(exit $ac_status); } &&
5388
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5389
{ (case "(($ac_try" in
5390
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5391
*) ac_try_echo=$ac_try;;
5393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5394
(eval "$ac_try") 2>&5
5396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
(exit $ac_status); }; } &&
5398
{ ac_try='test -s conftest$ac_exeext'
5399
{ (case "(($ac_try" in
5400
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5401
*) ac_try_echo=$ac_try;;
5403
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5404
(eval "$ac_try") 2>&5
5406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407
(exit $ac_status); }; }; then
5408
ac_cv_lib_intl_ngettext=yes
5410
echo "$as_me: failed program was:" >&5
5411
sed 's/^/| /' conftest.$ac_ext >&5
5413
ac_cv_lib_intl_ngettext=no
5416
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5417
conftest$ac_exeext conftest.$ac_ext
5418
LIBS=$ac_check_lib_save_LIBS
5420
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5421
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5422
if test $ac_cv_lib_intl_ngettext = yes; then
5423
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5424
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5425
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5426
echo $ECHO_N "(cached) $ECHO_C" >&6
5428
ac_check_lib_save_LIBS=$LIBS
5429
LIBS="-lintl -liconv $LIBS"
5430
cat >conftest.$ac_ext <<_ACEOF
5433
cat confdefs.h >>conftest.$ac_ext
5434
cat >>conftest.$ac_ext <<_ACEOF
5435
/* end confdefs.h. */
5437
/* Override any GCC internal prototype to avoid an error.
5438
Use char because int might match the return type of a GCC
5439
builtin and then its argument prototype would still apply. */
5447
return dcgettext ();
5452
rm -f conftest.$ac_objext conftest$ac_exeext
5453
if { (ac_try="$ac_link"
5455
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5456
*) ac_try_echo=$ac_try;;
5458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459
(eval "$ac_link") 2>conftest.er1
5461
grep -v '^ *+' conftest.er1 >conftest.err
5463
cat conftest.err >&5
5464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465
(exit $ac_status); } &&
5466
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5467
{ (case "(($ac_try" in
5468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469
*) ac_try_echo=$ac_try;;
5471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5472
(eval "$ac_try") 2>&5
5474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475
(exit $ac_status); }; } &&
5476
{ ac_try='test -s conftest$ac_exeext'
5477
{ (case "(($ac_try" in
5478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5479
*) ac_try_echo=$ac_try;;
5481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5482
(eval "$ac_try") 2>&5
5484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485
(exit $ac_status); }; }; then
5486
ac_cv_lib_intl_dcgettext=yes
5488
echo "$as_me: failed program was:" >&5
5489
sed 's/^/| /' conftest.$ac_ext >&5
5491
ac_cv_lib_intl_dcgettext=no
5494
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5495
conftest$ac_exeext conftest.$ac_ext
5496
LIBS=$ac_check_lib_save_LIBS
5498
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5499
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5500
if test $ac_cv_lib_intl_dcgettext = yes; then
5501
gt_cv_func_dgettext_libintl=yes
5502
libintl_extra_libs=-liconv
5514
# If we found libintl, then check in it for bind_textdomain_codeset();
5515
# we'll prefer libc if neither have bind_textdomain_codeset(),
5516
# and both have dgettext and ngettext
5518
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5519
glib_save_LIBS="$LIBS"
5520
LIBS="$LIBS -lintl $libintl_extra_libs"
5521
unset ac_cv_func_bind_textdomain_codeset
5523
for ac_func in bind_textdomain_codeset
5525
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5526
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5527
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5528
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5529
echo $ECHO_N "(cached) $ECHO_C" >&6
5531
cat >conftest.$ac_ext <<_ACEOF
5534
cat confdefs.h >>conftest.$ac_ext
5535
cat >>conftest.$ac_ext <<_ACEOF
5536
/* end confdefs.h. */
5537
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5538
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5539
#define $ac_func innocuous_$ac_func
5541
/* System header to define __stub macros and hopefully few prototypes,
5542
which can conflict with char $ac_func (); below.
5543
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5544
<limits.h> exists even on freestanding compilers. */
5547
# include <limits.h>
5549
# include <assert.h>
5554
/* Override any GCC internal prototype to avoid an error.
5555
Use char because int might match the return type of a GCC
5556
builtin and then its argument prototype would still apply. */
5561
/* The GNU C library defines this for functions which it implements
5562
to always fail with ENOSYS. Some functions are actually named
5563
something starting with __ and the normal name is an alias. */
5564
#if defined __stub_$ac_func || defined __stub___$ac_func
5576
rm -f conftest.$ac_objext conftest$ac_exeext
5577
if { (ac_try="$ac_link"
5579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580
*) ac_try_echo=$ac_try;;
5582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583
(eval "$ac_link") 2>conftest.er1
5585
grep -v '^ *+' conftest.er1 >conftest.err
5587
cat conftest.err >&5
5588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589
(exit $ac_status); } &&
5590
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5591
{ (case "(($ac_try" in
5592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5593
*) ac_try_echo=$ac_try;;
5595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596
(eval "$ac_try") 2>&5
5598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599
(exit $ac_status); }; } &&
5600
{ ac_try='test -s conftest$ac_exeext'
5601
{ (case "(($ac_try" in
5602
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5603
*) ac_try_echo=$ac_try;;
5605
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606
(eval "$ac_try") 2>&5
5608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609
(exit $ac_status); }; }; then
5610
eval "$as_ac_var=yes"
5612
echo "$as_me: failed program was:" >&5
5613
sed 's/^/| /' conftest.$ac_ext >&5
5615
eval "$as_ac_var=no"
5618
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5619
conftest$ac_exeext conftest.$ac_ext
5621
ac_res=`eval echo '${'$as_ac_var'}'`
5622
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5623
echo "${ECHO_T}$ac_res" >&6; }
5624
if test `eval echo '${'$as_ac_var'}'` = yes; then
5625
cat >>confdefs.h <<_ACEOF
5626
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5632
LIBS="$glib_save_LIBS"
5634
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5635
gt_cv_func_dgettext_libc=no
5637
if test "$gt_cv_func_dgettext_libc" = "yes" \
5638
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5639
gt_cv_func_dgettext_libintl=no
5645
if test "$gt_cv_func_dgettext_libc" = "yes" \
5646
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5647
gt_cv_have_gettext=yes
5650
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5651
INTLLIBS="-lintl $libintl_extra_libs"
5654
if test "$gt_cv_have_gettext" = "yes"; then
5656
cat >>confdefs.h <<\_ACEOF
5657
#define HAVE_GETTEXT 1
5660
# Extract the first word of "msgfmt", so it can be a program name with args.
5661
set dummy msgfmt; ac_word=$2
5662
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5663
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664
if test "${ac_cv_path_MSGFMT+set}" = set; then
5665
echo $ECHO_N "(cached) $ECHO_C" >&6
5669
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5672
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5673
for ac_dir in $PATH; do
5674
test -z "$ac_dir" && ac_dir=.
5675
if test -f $ac_dir/$ac_word; then
5676
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5677
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5683
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5687
MSGFMT="$ac_cv_path_MSGFMT"
5688
if test "$MSGFMT" != "no"; then
5689
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
5690
echo "${ECHO_T}$MSGFMT" >&6; }
5692
{ echo "$as_me:$LINENO: result: no" >&5
5693
echo "${ECHO_T}no" >&6; }
5695
if test "$MSGFMT" != "no"; then
5696
glib_save_LIBS="$LIBS"
5697
LIBS="$LIBS $INTLLIBS"
5699
for ac_func in dcgettext
5701
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5702
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5703
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5704
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5705
echo $ECHO_N "(cached) $ECHO_C" >&6
5707
cat >conftest.$ac_ext <<_ACEOF
5710
cat confdefs.h >>conftest.$ac_ext
5711
cat >>conftest.$ac_ext <<_ACEOF
5712
/* end confdefs.h. */
5713
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5714
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5715
#define $ac_func innocuous_$ac_func
5717
/* System header to define __stub macros and hopefully few prototypes,
5718
which can conflict with char $ac_func (); below.
5719
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5720
<limits.h> exists even on freestanding compilers. */
5723
# include <limits.h>
5725
# include <assert.h>
5730
/* Override any GCC internal prototype to avoid an error.
5731
Use char because int might match the return type of a GCC
5732
builtin and then its argument prototype would still apply. */
5737
/* The GNU C library defines this for functions which it implements
5738
to always fail with ENOSYS. Some functions are actually named
5739
something starting with __ and the normal name is an alias. */
5740
#if defined __stub_$ac_func || defined __stub___$ac_func
5752
rm -f conftest.$ac_objext conftest$ac_exeext
5753
if { (ac_try="$ac_link"
5755
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5756
*) ac_try_echo=$ac_try;;
5758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5759
(eval "$ac_link") 2>conftest.er1
5761
grep -v '^ *+' conftest.er1 >conftest.err
5763
cat conftest.err >&5
5764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765
(exit $ac_status); } &&
5766
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5767
{ (case "(($ac_try" in
5768
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5769
*) ac_try_echo=$ac_try;;
5771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5772
(eval "$ac_try") 2>&5
5774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775
(exit $ac_status); }; } &&
5776
{ ac_try='test -s conftest$ac_exeext'
5777
{ (case "(($ac_try" in
5778
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5779
*) ac_try_echo=$ac_try;;
5781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5782
(eval "$ac_try") 2>&5
5784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785
(exit $ac_status); }; }; then
5786
eval "$as_ac_var=yes"
5788
echo "$as_me: failed program was:" >&5
5789
sed 's/^/| /' conftest.$ac_ext >&5
5791
eval "$as_ac_var=no"
5794
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5795
conftest$ac_exeext conftest.$ac_ext
5797
ac_res=`eval echo '${'$as_ac_var'}'`
5798
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5799
echo "${ECHO_T}$ac_res" >&6; }
5800
if test `eval echo '${'$as_ac_var'}'` = yes; then
5801
cat >>confdefs.h <<_ACEOF
5802
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5808
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5809
set dummy gmsgfmt; ac_word=$2
5810
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5811
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5812
if test "${ac_cv_path_GMSGFMT+set}" = set; then
5813
echo $ECHO_N "(cached) $ECHO_C" >&6
5817
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824
test -z "$as_dir" && as_dir=.
5825
for ac_exec_ext in '' $ac_executable_extensions; do
5826
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5827
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5828
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5835
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5839
GMSGFMT=$ac_cv_path_GMSGFMT
5840
if test -n "$GMSGFMT"; then
5841
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5842
echo "${ECHO_T}$GMSGFMT" >&6; }
5844
{ echo "$as_me:$LINENO: result: no" >&5
5845
echo "${ECHO_T}no" >&6; }
5849
# Extract the first word of "xgettext", so it can be a program name with args.
5850
set dummy xgettext; ac_word=$2
5851
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5852
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5853
if test "${ac_cv_path_XGETTEXT+set}" = set; then
5854
echo $ECHO_N "(cached) $ECHO_C" >&6
5858
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5861
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5862
for ac_dir in $PATH; do
5863
test -z "$ac_dir" && ac_dir=.
5864
if test -f $ac_dir/$ac_word; then
5865
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5866
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5872
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5876
XGETTEXT="$ac_cv_path_XGETTEXT"
5877
if test "$XGETTEXT" != ":"; then
5878
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5879
echo "${ECHO_T}$XGETTEXT" >&6; }
5881
{ echo "$as_me:$LINENO: result: no" >&5
5882
echo "${ECHO_T}no" >&6; }
5885
cat >conftest.$ac_ext <<_ACEOF
5888
cat confdefs.h >>conftest.$ac_ext
5889
cat >>conftest.$ac_ext <<_ACEOF
5890
/* end confdefs.h. */
5895
extern int _nl_msg_cat_cntr;
5896
return _nl_msg_cat_cntr
5901
rm -f conftest.$ac_objext conftest$ac_exeext
5902
if { (ac_try="$ac_link"
5904
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5905
*) ac_try_echo=$ac_try;;
5907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5908
(eval "$ac_link") 2>conftest.er1
5910
grep -v '^ *+' conftest.er1 >conftest.err
5912
cat conftest.err >&5
5913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914
(exit $ac_status); } &&
5915
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5916
{ (case "(($ac_try" in
5917
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5918
*) ac_try_echo=$ac_try;;
5920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5921
(eval "$ac_try") 2>&5
5923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924
(exit $ac_status); }; } &&
5925
{ ac_try='test -s conftest$ac_exeext'
5926
{ (case "(($ac_try" in
5927
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5928
*) ac_try_echo=$ac_try;;
5930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5931
(eval "$ac_try") 2>&5
5933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934
(exit $ac_status); }; }; then
5938
echo "$as_me: failed program was:" >&5
5939
sed 's/^/| /' conftest.$ac_ext >&5
5943
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5944
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
5945
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5946
echo $ECHO_N "(cached) $ECHO_C" >&6
5948
cat >conftest.$ac_ext <<_ACEOF
5951
cat confdefs.h >>conftest.$ac_ext
5952
cat >>conftest.$ac_ext <<_ACEOF
5953
/* end confdefs.h. */
5954
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5955
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5956
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5958
/* System header to define __stub macros and hopefully few prototypes,
5959
which can conflict with char bind_textdomain_codeset (); below.
5960
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5961
<limits.h> exists even on freestanding compilers. */
5964
# include <limits.h>
5966
# include <assert.h>
5969
#undef bind_textdomain_codeset
5971
/* Override any GCC internal prototype to avoid an error.
5972
Use char because int might match the return type of a GCC
5973
builtin and then its argument prototype would still apply. */
5977
char bind_textdomain_codeset ();
5978
/* The GNU C library defines this for functions which it implements
5979
to always fail with ENOSYS. Some functions are actually named
5980
something starting with __ and the normal name is an alias. */
5981
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
5988
return bind_textdomain_codeset ();
5993
rm -f conftest.$ac_objext conftest$ac_exeext
5994
if { (ac_try="$ac_link"
5996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997
*) ac_try_echo=$ac_try;;
5999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000
(eval "$ac_link") 2>conftest.er1
6002
grep -v '^ *+' conftest.er1 >conftest.err
6004
cat conftest.err >&5
6005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006
(exit $ac_status); } &&
6007
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6008
{ (case "(($ac_try" in
6009
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6010
*) ac_try_echo=$ac_try;;
6012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6013
(eval "$ac_try") 2>&5
6015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016
(exit $ac_status); }; } &&
6017
{ ac_try='test -s conftest$ac_exeext'
6018
{ (case "(($ac_try" in
6019
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6020
*) ac_try_echo=$ac_try;;
6022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6023
(eval "$ac_try") 2>&5
6025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026
(exit $ac_status); }; }; then
6027
ac_cv_func_bind_textdomain_codeset=yes
6029
echo "$as_me: failed program was:" >&5
6030
sed 's/^/| /' conftest.$ac_ext >&5
6032
ac_cv_func_bind_textdomain_codeset=no
6035
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6036
conftest$ac_exeext conftest.$ac_ext
6038
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6039
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6040
if test $ac_cv_func_bind_textdomain_codeset = yes; then
6056
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6057
conftest$ac_exeext conftest.$ac_ext
6058
LIBS="$glib_save_LIBS"
6061
gt_cv_have_gettext=no
6069
if test "$gt_cv_have_gettext" = "yes" ; then
6071
cat >>confdefs.h <<\_ACEOF
6072
#define ENABLE_NLS 1
6077
if test "$XGETTEXT" != ":"; then
6078
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6081
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6082
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
6087
# We need to process the po/ directory.
6090
ac_config_commands="$ac_config_commands default-1"
6093
for lang in $ALL_LINGUAS; do
6094
GMOFILES="$GMOFILES $lang.gmo"
6095
POFILES="$POFILES $lang.po"
6110
if test "$gt_cv_have_gettext" = "yes"; then
6111
if test "x$ALL_LINGUAS" = "x"; then
6114
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6115
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
6117
for presentlang in $ALL_LINGUAS; do
6119
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6120
desiredlanguages="$LINGUAS"
6122
desiredlanguages="$ALL_LINGUAS"
6124
for desiredlang in $desiredlanguages; do
6125
# Use the presentlang catalog if desiredlang is
6126
# a. equal to presentlang, or
6127
# b. a variant of presentlang (because in this case,
6128
# presentlang can be used as a fallback for messages
6129
# which are not translated in the desiredlang catalog).
6130
case "$desiredlang" in
6131
"$presentlang"*) useit=yes;;
6134
if test $useit = yes; then
6135
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6138
LINGUAS=$NEW_LINGUAS
6139
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
6140
echo "${ECHO_T}$LINGUAS" >&6; }
6143
if test -n "$LINGUAS"; then
6144
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6149
if test -n "$ac_aux_dir"; then
6150
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6152
if test -z "$MKINSTALLDIRS"; then
6153
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6157
test -d po || mkdir po
6158
if test "x$srcdir" != "x."; then
6159
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6160
posrcprefix="$srcdir/"
6162
posrcprefix="../$srcdir/"
6168
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6169
< $srcdir/po/POTFILES.in > po/POTFILES
6174
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6175
if test -n "$ac_tool_prefix"; then
6176
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6177
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6178
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6179
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6180
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6181
echo $ECHO_N "(cached) $ECHO_C" >&6
6185
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192
test -z "$as_dir" && as_dir=.
6193
for ac_exec_ext in '' $ac_executable_extensions; do
6194
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6195
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6196
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6206
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6207
if test -n "$PKG_CONFIG"; then
6208
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6209
echo "${ECHO_T}$PKG_CONFIG" >&6; }
6211
{ echo "$as_me:$LINENO: result: no" >&5
6212
echo "${ECHO_T}no" >&6; }
6217
if test -z "$ac_cv_path_PKG_CONFIG"; then
6218
ac_pt_PKG_CONFIG=$PKG_CONFIG
6219
# Extract the first word of "pkg-config", so it can be a program name with args.
6220
set dummy pkg-config; ac_word=$2
6221
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6222
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6223
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6224
echo $ECHO_N "(cached) $ECHO_C" >&6
6226
case $ac_pt_PKG_CONFIG in
6228
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235
test -z "$as_dir" && as_dir=.
6236
for ac_exec_ext in '' $ac_executable_extensions; do
6237
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6238
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6239
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6249
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6250
if test -n "$ac_pt_PKG_CONFIG"; then
6251
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6252
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6254
{ echo "$as_me:$LINENO: result: no" >&5
6255
echo "${ECHO_T}no" >&6; }
6258
if test "x$ac_pt_PKG_CONFIG" = x; then
6261
case $cross_compiling:$ac_tool_warned in
6263
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6264
whose name does not start with the host triplet. If you think this
6265
configuration is useful to you, please write to autoconf@gnu.org." >&5
6266
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6267
whose name does not start with the host triplet. If you think this
6268
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6269
ac_tool_warned=yes ;;
6271
PKG_CONFIG=$ac_pt_PKG_CONFIG
6274
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6278
if test -n "$PKG_CONFIG"; then
6279
_pkg_min_version=0.9.0
6280
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6281
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
6282
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6283
{ echo "$as_me:$LINENO: result: yes" >&5
6284
echo "${ECHO_T}yes" >&6; }
6286
{ echo "$as_me:$LINENO: result: no" >&5
6287
echo "${ECHO_T}no" >&6; }
6294
{ echo "$as_me:$LINENO: checking for PYGTK" >&5
6295
echo $ECHO_N "checking for PYGTK... $ECHO_C" >&6; }
6297
if test -n "$PKG_CONFIG"; then
6298
if test -n "$PYGTK_CFLAGS"; then
6299
pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
6301
if test -n "$PKG_CONFIG" && \
6302
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= \$PYGTK_REQ\"") >&5
6303
($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= $PYGTK_REQ") 2>&5
6305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306
(exit $ac_status); }; then
6307
pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= $PYGTK_REQ" 2>/dev/null`
6315
if test -n "$PKG_CONFIG"; then
6316
if test -n "$PYGTK_LIBS"; then
6317
pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
6319
if test -n "$PKG_CONFIG" && \
6320
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= \$PYGTK_REQ\"") >&5
6321
($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= $PYGTK_REQ") 2>&5
6323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324
(exit $ac_status); }; then
6325
pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= $PYGTK_REQ" 2>/dev/null`
6336
if test $pkg_failed = yes; then
6338
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6339
_pkg_short_errors_supported=yes
6341
_pkg_short_errors_supported=no
6343
if test $_pkg_short_errors_supported = yes; then
6344
PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= $PYGTK_REQ"`
6346
PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= $PYGTK_REQ"`
6348
# Put the nasty error message in config.log where it belongs
6349
echo "$PYGTK_PKG_ERRORS" >&5
6351
{ echo "$as_me:$LINENO: result: no" >&5
6352
echo "${ECHO_T}no" >&6; }
6353
{ { echo "$as_me:$LINENO: error: You need pygtk >=2.4 and the appropriate development headers to proceed" >&5
6354
echo "$as_me: error: You need pygtk >=2.4 and the appropriate development headers to proceed" >&2;}
6355
{ (exit 1); exit 1; }; }
6356
elif test $pkg_failed = untried; then
6357
{ { echo "$as_me:$LINENO: error: You need pygtk >=2.4 and the appropriate development headers to proceed" >&5
6358
echo "$as_me: error: You need pygtk >=2.4 and the appropriate development headers to proceed" >&2;}
6359
{ (exit 1); exit 1; }; }
6361
PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
6362
PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
6363
{ echo "$as_me:$LINENO: result: yes" >&5
6364
echo "${ECHO_T}yes" >&6; }
6367
PYGTK_DIR="`$PKG_CONFIG --variable=pyexecdir pygtk-2.0`"
6369
{ echo "$as_me:$LINENO: Using pygtk installed in $PYGTK_DIR" >&5
6370
echo "$as_me: Using pygtk installed in $PYGTK_DIR" >&6;}
6371
PYGTK_VERSION="`$PKG_CONFIG --modversion pygtk-2.0`"
6373
export PYTHONPATH=$PYGTK_DIR:$PYTHONPATH
6377
{ echo "$as_me:$LINENO: checking for GTK" >&5
6378
echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
6380
if test -n "$PKG_CONFIG"; then
6381
if test -n "$GTK_CFLAGS"; then
6382
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6384
if test -n "$PKG_CONFIG" && \
6385
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
6386
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
6388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389
(exit $ac_status); }; then
6390
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
6398
if test -n "$PKG_CONFIG"; then
6399
if test -n "$GTK_LIBS"; then
6400
pkg_cv_GTK_LIBS="$GTK_LIBS"
6402
if test -n "$PKG_CONFIG" && \
6403
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
6404
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
6406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407
(exit $ac_status); }; then
6408
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
6419
if test $pkg_failed = yes; then
6421
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6422
_pkg_short_errors_supported=yes
6424
_pkg_short_errors_supported=no
6426
if test $_pkg_short_errors_supported = yes; then
6427
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
6429
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
6431
# Put the nasty error message in config.log where it belongs
6432
echo "$GTK_PKG_ERRORS" >&5
6434
{ echo "$as_me:$LINENO: result: no" >&5
6435
echo "${ECHO_T}no" >&6; }
6437
elif test $pkg_failed = untried; then
6440
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6441
GTK_LIBS=$pkg_cv_GTK_LIBS
6442
{ echo "$as_me:$LINENO: result: yes" >&5
6443
echo "${ECHO_T}yes" >&6; }
6447
saved_PYTHONPATH=$PYTHONPATH
6448
export PYTHONPATH=$PYGST_DIR:$PYTHONPATH
6450
#dnl check for egg.trayicon from gnome-python-extras
6451
#PKG_CHECK_MODULES(GNOME_PYTHON_EXTRAS, gnome-python-extras-2.0 >= 2.11.3,
6452
# HAVE_EGGTRAYICON=yes, HAVE_EGGTRAYICON=no)
6453
#if test "x$HAVE_EGGTRAYICON" = "xno"; then
6454
# AC_MSG_ERROR(gnome-python-extras not found, please install >= 2.11.3)
6460
ac_config_files="$ac_config_files Makefile src/Makefile src/rmdConfig.py po/Makefile.in m4/Makefile"
6462
cat >confcache <<\_ACEOF
6463
# This file is a shell script that caches the results of configure
6464
# tests run on this system so they can be shared between configure
6465
# scripts and configure runs, see configure's option --config-cache.
6466
# It is not useful on other systems. If it contains results you don't
6467
# want to keep, you may remove or edit it.
6469
# config.status only pays attention to the cache file if you give it
6470
# the --recheck option to rerun configure.
6472
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6473
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6478
# The following way of writing the cache mishandles newlines in values,
6479
# but we know of no workaround that is simple, portable, and efficient.
6480
# So, we kill variables containing newlines.
6481
# Ultrix sh set writes to stderr and can't be redirected directly,
6482
# and sets the high bit in the cache file unless we assign to the vars.
6484
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6485
eval ac_val=\$$ac_var
6489
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6490
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6493
_ | IFS | as_nl) ;; #(
6494
*) $as_unset $ac_var ;;
6500
case $as_nl`(ac_space=' '; set) 2>&1` in #(
6501
*${as_nl}ac_space=\ *)
6502
# `set' does not quote correctly, so add quotes (double-quote
6503
# substitution turns \\\\ into \\, and sed turns \\ into \).
6506
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6509
# `set' quotes correctly as required by POSIX, so do not add quotes.
6510
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6519
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6521
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6523
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6524
if test -w "$cache_file"; then
6525
test "x$cache_file" != "x/dev/null" &&
6526
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
6527
echo "$as_me: updating cache $cache_file" >&6;}
6528
cat confcache >$cache_file
6530
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6531
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6536
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6537
# Let make expand exec_prefix.
6538
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6540
# Transform confdefs.h into DEFS.
6541
# Protect against shell expansion while executing Makefile rules.
6542
# Protect against Makefile macro expansion.
6544
# If the first sed substitution is executed (which looks for macros that
6545
# take arguments), then branch to the quote section. Otherwise,
6546
# look for a macro that doesn't take arguments.
6550
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6552
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6556
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6569
DEFS=`sed -n "$ac_script" confdefs.h`
6574
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6575
# 1. Remove the extension, and $U if already installed.
6576
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6577
ac_i=`echo "$ac_i" | sed "$ac_script"`
6578
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6579
# will be set to the directory where LIBOBJS objects are built.
6580
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6581
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6585
LTLIBOBJS=$ac_ltlibobjs
6588
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6589
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6590
Usually this means the macro was only invoked conditionally." >&5
6591
echo "$as_me: error: conditional \"AMDEP\" was never defined.
6592
Usually this means the macro was only invoked conditionally." >&2;}
6593
{ (exit 1); exit 1; }; }
6595
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6596
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6597
Usually this means the macro was only invoked conditionally." >&5
6598
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6599
Usually this means the macro was only invoked conditionally." >&2;}
6600
{ (exit 1); exit 1; }; }
6603
: ${CONFIG_STATUS=./config.status}
6604
ac_clean_files_save=$ac_clean_files
6605
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6606
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6607
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6608
cat >$CONFIG_STATUS <<_ACEOF
6610
# Generated by $as_me.
6611
# Run this file to recreate the current configuration.
6612
# Compiler output produced by configure, useful for debugging
6613
# configure, is in config.log if it exists.
6618
SHELL=\${CONFIG_SHELL-$SHELL}
6621
cat >>$CONFIG_STATUS <<\_ACEOF
6622
## --------------------- ##
6623
## M4sh Initialization. ##
6624
## --------------------- ##
6626
# Be Bourne compatible
6627
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6630
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6631
# is contrary to our usage. Disable this feature.
6632
alias -g '${1+"$@"}'='"$@"'
6633
setopt NO_GLOB_SUBST
6635
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6637
BIN_SH=xpg4; export BIN_SH # for Tru64
6638
DUALCASE=1; export DUALCASE # for MKS sh
6642
# Avoid depending upon Character Ranges.
6643
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6644
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6645
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6646
as_cr_digits='0123456789'
6647
as_cr_alnum=$as_cr_Letters$as_cr_digits
6649
# The user is always right.
6650
if test "${PATH_SEPARATOR+set}" != set; then
6651
echo "#! /bin/sh" >conf$$.sh
6652
echo "exit 0" >>conf$$.sh
6654
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6662
# Support unset when possible.
6663
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6671
# We need space, tab and new line, in precisely that order. Quoting is
6672
# there to prevent editors from complaining about space-tab.
6673
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6674
# splitting by setting IFS to empty value.)
6679
# Find who we are. Look in the path if we contain no directory separator.
6681
*[\\/]* ) as_myself=$0 ;;
6682
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686
test -z "$as_dir" && as_dir=.
6687
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6693
# We did not find ourselves, most probably we were run as `sh COMMAND'
6694
# in which case we are not to be found in the path.
6695
if test "x$as_myself" = x; then
6698
if test ! -f "$as_myself"; then
6699
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6700
{ (exit 1); exit 1; }
6703
# Work around bugs in pre-3.0 UWIN ksh.
6704
for as_var in ENV MAIL MAILPATH
6705
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6713
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6714
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6715
LC_TELEPHONE LC_TIME
6717
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6718
eval $as_var=C; export $as_var
6720
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6724
# Required to use basename.
6725
if expr a : '\(a\)' >/dev/null 2>&1 &&
6726
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6732
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6733
as_basename=basename
6739
# Name of the executable.
6740
as_me=`$as_basename -- "$0" ||
6741
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6742
X"$0" : 'X\(//\)$' \| \
6743
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6745
sed '/^.*\/\([^/][^/]*\)\/*$/{
6766
test "x$as_lineno_1" != "x$as_lineno_2" &&
6767
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6769
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6770
# uniformly replaced by the line number. The first 'sed' inserts a
6771
# line-number line after each line using $LINENO; the second 'sed'
6772
# does the real work. The second script uses 'N' to pair each
6773
# line-number line with the line containing $LINENO, and appends
6774
# trailing '-' during substitution so that $LINENO is not a special
6776
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6777
# scripts with optimization help from Paolo Bonzini. Blame Lee
6778
# E. McMahon (1931-1989) for sed's syntax. :-)
6790
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6794
chmod +x "$as_me.lineno" ||
6795
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6796
{ (exit 1); exit 1; }; }
6798
# Don't try to exec as it changes $[0], causing all sort of problems
6799
# (the dirname of $[0] is not the place where we might find the
6800
# original and so on. Autoconf is especially sensitive to this).
6802
# Exit status is that of the last command.
6807
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6813
ECHO_C= ECHO_N= ECHO_T=
6816
case `echo 'x\c'` in
6817
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
6824
if expr a : '\(a\)' >/dev/null 2>&1 &&
6825
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6831
rm -f conf$$ conf$$.exe conf$$.file
6832
if test -d conf$$.dir; then
6833
rm -f conf$$.dir/conf$$.file
6839
if ln -s conf$$.file conf$$ 2>/dev/null; then
6841
# ... but there are two gotchas:
6842
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6843
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6844
# In both cases, we have to default to `cp -p'.
6845
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6847
elif ln conf$$.file conf$$ 2>/dev/null; then
6852
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6853
rmdir conf$$.dir 2>/dev/null
6855
if mkdir -p . 2>/dev/null; then
6858
test -d ./-p && rmdir ./-p
6862
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
6863
# systems may use methods other than mode bits to determine executability.
6864
cat >conf$$.file <<_ASEOF
6868
chmod +x conf$$.file
6869
if test -x conf$$.file >/dev/null 2>&1; then
6870
as_executable_p="test -x"
6876
# Sed expression to map a string onto a valid CPP name.
6877
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6879
# Sed expression to map a string onto a valid variable name.
6880
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6885
# Save the log message, to keep $[0] and so on meaningful, and to
6886
# report actual input values of CONFIG_FILES etc. instead of their
6887
# values after options handling.
6889
This file was extended by $as_me, which was
6890
generated by GNU Autoconf 2.60a. Invocation command line was
6892
CONFIG_FILES = $CONFIG_FILES
6893
CONFIG_HEADERS = $CONFIG_HEADERS
6894
CONFIG_LINKS = $CONFIG_LINKS
6895
CONFIG_COMMANDS = $CONFIG_COMMANDS
6898
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6903
cat >>$CONFIG_STATUS <<_ACEOF
6904
# Files that config.status was made for.
6905
config_files="$ac_config_files"
6906
config_commands="$ac_config_commands"
6910
cat >>$CONFIG_STATUS <<\_ACEOF
6912
\`$as_me' instantiates files from templates according to the
6913
current configuration.
6915
Usage: $0 [OPTIONS] [FILE]...
6917
-h, --help print this help, then exit
6918
-V, --version print version number and configuration settings, then exit
6919
-q, --quiet do not print progress messages
6920
-d, --debug don't remove temporary files
6921
--recheck update $as_me by reconfiguring in the same conditions
6922
--file=FILE[:TEMPLATE]
6923
instantiate the configuration file FILE
6925
Configuration files:
6928
Configuration commands:
6931
Report bugs to <bug-autoconf@gnu.org>."
6934
cat >>$CONFIG_STATUS <<_ACEOF
6937
configured by $0, generated by GNU Autoconf 2.60a,
6938
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6940
Copyright (C) 2006 Free Software Foundation, Inc.
6941
This config.status script is free software; the Free Software Foundation
6942
gives unlimited permission to copy, distribute and modify it."
6949
cat >>$CONFIG_STATUS <<\_ACEOF
6950
# If no file are specified by the user, then we need to provide default
6951
# value. By we need to know if files were specified by the user.
6957
ac_option=`expr "X$1" : 'X\([^=]*\)='`
6958
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6969
# Handling of the options.
6970
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6972
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6973
echo "$ac_cs_version"; exit ;;
6974
--debug | --debu | --deb | --de | --d | -d )
6976
--file | --fil | --fi | --f )
6978
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6979
ac_need_defaults=false;;
6980
--he | --h | --help | --hel | -h )
6981
echo "$ac_cs_usage"; exit ;;
6982
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6983
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6987
-*) { echo "$as_me: error: unrecognized option: $1
6988
Try \`$0 --help' for more information." >&2
6989
{ (exit 1); exit 1; }; } ;;
6991
*) ac_config_targets="$ac_config_targets $1"
6992
ac_need_defaults=false ;;
6998
ac_configure_extra_args=
7000
if $ac_cs_silent; then
7002
ac_configure_extra_args="$ac_configure_extra_args --silent"
7006
cat >>$CONFIG_STATUS <<_ACEOF
7007
if \$ac_cs_recheck; then
7008
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7011
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7015
cat >>$CONFIG_STATUS <<\_ACEOF
7019
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7020
## Running $as_me. ##
7026
cat >>$CONFIG_STATUS <<_ACEOF
7030
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7035
cat >>$CONFIG_STATUS <<\_ACEOF
7037
# Handling of arguments.
7038
for ac_config_target in $ac_config_targets
7040
case $ac_config_target in
7041
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7042
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7043
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7044
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7045
"src/rmdConfig.py") CONFIG_FILES="$CONFIG_FILES src/rmdConfig.py" ;;
7046
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7047
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7049
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7050
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7051
{ (exit 1); exit 1; }; };;
7056
# If the user did not use the arguments to specify the items to instantiate,
7057
# then the envvar interface is used. Set only those that are not.
7058
# We use the long form for the default assignment because of an extremely
7059
# bizarre bug on SunOS 4.1.3.
7060
if $ac_need_defaults; then
7061
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7062
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7065
# Have a temporary directory for convenience. Make it in the build tree
7066
# simply because there is no reason against having it here, and in addition,
7067
# creating and moving files from /tmp can sometimes cause problems.
7068
# Hook for its removal unless debugging.
7069
# Note that there is a small window in which the directory will not be cleaned:
7070
# after its creation but before its name has been assigned to `$tmp'.
7074
trap 'exit_status=$?
7075
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7077
trap '{ (exit 1); exit 1; }' 1 2 13 15
7079
# Create a (secure) tmp directory for tmp files.
7082
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7083
test -n "$tmp" && test -d "$tmp"
7086
tmp=./conf$$-$RANDOM
7087
(umask 077 && mkdir "$tmp")
7090
echo "$me: cannot create a temporary directory in ." >&2
7091
{ (exit 1); exit 1; }
7095
# Set up the sed scripts for CONFIG_FILES section.
7098
# No need to generate the scripts if there are no CONFIG_FILES.
7099
# This happens for instance when ./config.status config.h
7100
if test -n "$CONFIG_FILES"; then
7107
for ac_last_try in false false false false false :; do
7108
cat >conf$$subs.sed <<_ACEOF
7109
SHELL!$SHELL$ac_delim
7110
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7111
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7112
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7113
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7114
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7115
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7116
exec_prefix!$exec_prefix$ac_delim
7117
prefix!$prefix$ac_delim
7118
program_transform_name!$program_transform_name$ac_delim
7119
bindir!$bindir$ac_delim
7120
sbindir!$sbindir$ac_delim
7121
libexecdir!$libexecdir$ac_delim
7122
datarootdir!$datarootdir$ac_delim
7123
datadir!$datadir$ac_delim
7124
sysconfdir!$sysconfdir$ac_delim
7125
sharedstatedir!$sharedstatedir$ac_delim
7126
localstatedir!$localstatedir$ac_delim
7127
includedir!$includedir$ac_delim
7128
oldincludedir!$oldincludedir$ac_delim
7129
docdir!$docdir$ac_delim
7130
infodir!$infodir$ac_delim
7131
htmldir!$htmldir$ac_delim
7132
dvidir!$dvidir$ac_delim
7133
pdfdir!$pdfdir$ac_delim
7134
psdir!$psdir$ac_delim
7135
libdir!$libdir$ac_delim
7136
localedir!$localedir$ac_delim
7137
mandir!$mandir$ac_delim
7139
ECHO_C!$ECHO_C$ac_delim
7140
ECHO_N!$ECHO_N$ac_delim
7141
ECHO_T!$ECHO_T$ac_delim
7143
build_alias!$build_alias$ac_delim
7144
host_alias!$host_alias$ac_delim
7145
target_alias!$target_alias$ac_delim
7146
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7147
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7148
INSTALL_DATA!$INSTALL_DATA$ac_delim
7149
CYGPATH_W!$CYGPATH_W$ac_delim
7150
PACKAGE!$PACKAGE$ac_delim
7151
VERSION!$VERSION$ac_delim
7152
ACLOCAL!$ACLOCAL$ac_delim
7153
AUTOCONF!$AUTOCONF$ac_delim
7154
AUTOMAKE!$AUTOMAKE$ac_delim
7155
AUTOHEADER!$AUTOHEADER$ac_delim
7156
MAKEINFO!$MAKEINFO$ac_delim
7157
AMTAR!$AMTAR$ac_delim
7158
install_sh!$install_sh$ac_delim
7159
STRIP!$STRIP$ac_delim
7160
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7162
SET_MAKE!$SET_MAKE$ac_delim
7163
am__leading_dot!$am__leading_dot$ac_delim
7164
LIBDIR!$LIBDIR$ac_delim
7165
PYGTK_REQ!$PYGTK_REQ$ac_delim
7166
PREFIX!$PREFIX$ac_delim
7167
DATADIR!$DATADIR$ac_delim
7168
SYSCONFDIR!$SYSCONFDIR$ac_delim
7169
LOCALSTATEDIR!$LOCALSTATEDIR$ac_delim
7170
PYTHON!$PYTHON$ac_delim
7171
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
7172
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
7173
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
7174
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
7175
pythondir!$pythondir$ac_delim
7176
pkgpythondir!$pkgpythondir$ac_delim
7177
pyexecdir!$pyexecdir$ac_delim
7178
pkgpyexecdir!$pkgpyexecdir$ac_delim
7179
PYTHONDIR!$PYTHONDIR$ac_delim
7180
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
7182
CFLAGS!$CFLAGS$ac_delim
7183
LDFLAGS!$LDFLAGS$ac_delim
7184
CPPFLAGS!$CPPFLAGS$ac_delim
7185
ac_ct_CC!$ac_ct_CC$ac_delim
7186
EXEEXT!$EXEEXT$ac_delim
7187
OBJEXT!$OBJEXT$ac_delim
7188
DEPDIR!$DEPDIR$ac_delim
7189
am__include!$am__include$ac_delim
7190
am__quote!$am__quote$ac_delim
7191
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7192
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7193
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7194
CCDEPMODE!$CCDEPMODE$ac_delim
7195
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7196
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7199
EGREP!$EGREP$ac_delim
7200
USE_NLS!$USE_NLS$ac_delim
7201
MSGFMT!$MSGFMT$ac_delim
7202
GMSGFMT!$GMSGFMT$ac_delim
7203
XGETTEXT!$XGETTEXT$ac_delim
7204
CATALOGS!$CATALOGS$ac_delim
7205
CATOBJEXT!$CATOBJEXT$ac_delim
7208
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7210
elif $ac_last_try; then
7211
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7212
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7213
{ (exit 1); exit 1; }; }
7215
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7219
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7220
if test -n "$ac_eof"; then
7221
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7222
ac_eof=`expr $ac_eof + 1`
7225
cat >>$CONFIG_STATUS <<_ACEOF
7226
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7227
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7230
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7231
s/^/s,@/; s/!/@,|#_!!_#|/
7234
s/'"$ac_delim"'$/,g/; t
7236
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7237
' >>$CONFIG_STATUS <conf$$subs.sed
7238
rm -f conf$$subs.sed
7239
cat >>$CONFIG_STATUS <<_ACEOF
7245
for ac_last_try in false false false false false :; do
7246
cat >conf$$subs.sed <<_ACEOF
7247
DATADIRNAME!$DATADIRNAME$ac_delim
7248
GMOFILES!$GMOFILES$ac_delim
7249
INSTOBJEXT!$INSTOBJEXT$ac_delim
7250
INTLLIBS!$INTLLIBS$ac_delim
7251
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
7252
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
7253
POFILES!$POFILES$ac_delim
7254
POSUB!$POSUB$ac_delim
7255
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
7256
PKG_CONFIG!$PKG_CONFIG$ac_delim
7257
PYGTK_CFLAGS!$PYGTK_CFLAGS$ac_delim
7258
PYGTK_LIBS!$PYGTK_LIBS$ac_delim
7259
PYGTK_DIR!$PYGTK_DIR$ac_delim
7260
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
7261
GTK_LIBS!$GTK_LIBS$ac_delim
7262
LIBOBJS!$LIBOBJS$ac_delim
7263
LTLIBOBJS!$LTLIBOBJS$ac_delim
7266
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
7268
elif $ac_last_try; then
7269
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7270
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7271
{ (exit 1); exit 1; }; }
7273
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7277
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7278
if test -n "$ac_eof"; then
7279
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7280
ac_eof=`expr $ac_eof + 1`
7283
cat >>$CONFIG_STATUS <<_ACEOF
7284
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7285
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7288
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7289
s/^/s,@/; s/!/@,|#_!!_#|/
7292
s/'"$ac_delim"'$/,g/; t
7294
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7295
' >>$CONFIG_STATUS <conf$$subs.sed
7296
rm -f conf$$subs.sed
7297
cat >>$CONFIG_STATUS <<_ACEOF
7304
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7305
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7306
# trailing colons and then remove the whole line if VPATH becomes empty
7307
# (actually we leave an empty line to preserve line numbers).
7308
if test "x$srcdir" = x.; then
7309
ac_vpsub='/^[ ]*VPATH[ ]*=/{
7313
s/^\([^=]*=[ ]*\):*/\1/
7319
cat >>$CONFIG_STATUS <<\_ACEOF
7320
fi # test -n "$CONFIG_FILES"
7323
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
7326
:[FHLC]) ac_mode=$ac_tag; continue;;
7328
case $ac_mode$ac_tag in
7330
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7331
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7332
{ (exit 1); exit 1; }; };;
7333
:[FH]-) ac_tag=-:-;;
7334
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7351
-) ac_f="$tmp/stdin";;
7352
*) # Look for the file first in the build tree, then in the source tree
7353
# (if the path is not absolute). The absolute path cannot be DOS-style,
7354
# because $ac_f cannot contain `:'.
7358
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7360
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7361
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7362
{ (exit 1); exit 1; }; };;
7364
ac_file_inputs="$ac_file_inputs $ac_f"
7367
# Let's still pretend it is `configure' which instantiates (i.e., don't
7368
# use $as_me), people would be surprised to read:
7369
# /* config.h. Generated by config.status. */
7370
configure_input="Generated from "`IFS=:
7371
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7372
if test x"$ac_file" != x-; then
7373
configure_input="$ac_file. $configure_input"
7374
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7375
echo "$as_me: creating $ac_file" >&6;}
7379
*:-:* | *:-) cat >"$tmp/stdin";;
7384
ac_dir=`$as_dirname -- "$ac_file" ||
7385
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7386
X"$ac_file" : 'X\(//\)[^/]' \| \
7387
X"$ac_file" : 'X\(//\)$' \| \
7388
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7390
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7409
-*) as_dir=./$as_dir;;
7411
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7415
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7416
*) as_qdir=$as_dir;;
7418
as_dirs="'$as_qdir' $as_dirs"
7419
as_dir=`$as_dirname -- "$as_dir" ||
7420
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7421
X"$as_dir" : 'X\(//\)[^/]' \| \
7422
X"$as_dir" : 'X\(//\)$' \| \
7423
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7425
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7442
test -d "$as_dir" && break
7444
test -z "$as_dirs" || eval "mkdir $as_dirs"
7445
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7446
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7447
{ (exit 1); exit 1; }; }; }
7451
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7453
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7454
# A ".." for each directory in $ac_dir_suffix.
7455
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7456
case $ac_top_builddir_sub in
7457
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7458
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7461
ac_abs_top_builddir=$ac_pwd
7462
ac_abs_builddir=$ac_pwd$ac_dir_suffix
7463
# for backward compatibility:
7464
ac_top_builddir=$ac_top_build_prefix
7467
.) # We are building in place.
7469
ac_top_srcdir=$ac_top_builddir_sub
7470
ac_abs_top_srcdir=$ac_pwd ;;
7471
[\\/]* | ?:[\\/]* ) # Absolute name.
7472
ac_srcdir=$srcdir$ac_dir_suffix;
7473
ac_top_srcdir=$srcdir
7474
ac_abs_top_srcdir=$srcdir ;;
7476
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7477
ac_top_srcdir=$ac_top_build_prefix$srcdir
7478
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7480
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7490
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7491
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7495
cat >>$CONFIG_STATUS <<\_ACEOF
7496
# If the template does not know about datarootdir, expand it.
7497
# FIXME: This hack should be removed a few years after 2.60.
7498
ac_datarootdir_hack=; ac_datarootdir_seen=
7500
case `sed -n '/datarootdir/ {
7509
' $ac_file_inputs` in
7510
*datarootdir*) ac_datarootdir_seen=yes;;
7511
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7512
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7513
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7515
cat >>$CONFIG_STATUS <<_ACEOF
7516
ac_datarootdir_hack='
7517
s&@datadir@&$datadir&g
7518
s&@docdir@&$docdir&g
7519
s&@infodir@&$infodir&g
7520
s&@localedir@&$localedir&g
7521
s&@mandir@&$mandir&g
7522
s&\\\${datarootdir}&$datarootdir&g' ;;
7526
# Neutralize VPATH when `$srcdir' = `.'.
7527
# Shell code in configure.ac might set extrasub.
7528
# FIXME: do we really want to maintain this feature?
7529
cat >>$CONFIG_STATUS <<_ACEOF
7533
cat >>$CONFIG_STATUS <<\_ACEOF
7535
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7536
s&@configure_input@&$configure_input&;t t
7537
s&@top_builddir@&$ac_top_builddir_sub&;t t
7538
s&@srcdir@&$ac_srcdir&;t t
7539
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7540
s&@top_srcdir@&$ac_top_srcdir&;t t
7541
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7542
s&@builddir@&$ac_builddir&;t t
7543
s&@abs_builddir@&$ac_abs_builddir&;t t
7544
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7545
s&@INSTALL@&$ac_INSTALL&;t t
7546
$ac_datarootdir_hack
7547
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
7549
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7550
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7551
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7552
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7553
which seems to be undefined. Please make sure it is defined." >&5
7554
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7555
which seems to be undefined. Please make sure it is defined." >&2;}
7559
-) cat "$tmp/out"; rm -f "$tmp/out";;
7560
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7565
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7566
echo "$as_me: executing $ac_file commands" >&6;}
7571
case $ac_file$ac_mode in
7572
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7573
# Strip MF so we end up with the name of the file.
7574
mf=`echo "$mf" | sed -e 's/:.*$//'`
7575
# Check whether this is an Automake generated Makefile or not.
7576
# We used to match only the files named `Makefile.in', but
7577
# some people rename them; so instead we look at the file content.
7578
# Grep'ing the first line is not enough: some people post-process
7579
# each Makefile.in and add a new line on top of each file to say so.
7580
# So let's grep whole file.
7581
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7582
dirpart=`$as_dirname -- "$mf" ||
7583
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7584
X"$mf" : 'X\(//\)[^/]' \| \
7585
X"$mf" : 'X\(//\)$' \| \
7586
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7588
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7608
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7609
# Extract the definition of DEP_FILES from the Makefile without
7611
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7612
test -z "$DEPDIR" && continue
7613
# When using ansi2knr, U may be empty or an underscore; expand it
7614
U=`sed -n -e '/^U = / s///p' < "$mf"`
7615
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7616
# We invoke sed twice because it is the simplest approach to
7617
# changing $(DEPDIR) to its actual value in the expansion.
7618
for file in `sed -n -e '
7619
/^DEP_FILES = .*\\\\$/ {
7628
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7629
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7630
# Make sure the directory exists.
7631
test -f "$dirpart/$file" && continue
7632
fdir=`$as_dirname -- "$file" ||
7633
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7634
X"$file" : 'X\(//\)[^/]' \| \
7635
X"$file" : 'X\(//\)$' \| \
7636
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7638
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7655
{ as_dir=$dirpart/$fdir
7657
-*) as_dir=./$as_dir;;
7659
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7663
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7664
*) as_qdir=$as_dir;;
7666
as_dirs="'$as_qdir' $as_dirs"
7667
as_dir=`$as_dirname -- "$as_dir" ||
7668
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7669
X"$as_dir" : 'X\(//\)[^/]' \| \
7670
X"$as_dir" : 'X\(//\)$' \| \
7671
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7673
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7690
test -d "$as_dir" && break
7692
test -z "$as_dirs" || eval "mkdir $as_dirs"
7693
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7694
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7695
{ (exit 1); exit 1; }; }; }
7696
# echo "creating $dirpart/$file"
7697
echo '# dummy' > "$dirpart/$file"
7701
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7702
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7709
{ (exit 0); exit 0; }
7711
chmod +x $CONFIG_STATUS
7712
ac_clean_files=$ac_clean_files_save
7715
# configure is writing to config.log, and then calls config.status.
7716
# config.status does its own redirection, appending to config.log.
7717
# Unfortunately, on DOS this fails, as config.log is still kept open
7718
# by configure, so config.status won't be able to write to it; its
7719
# output is simply discarded. So we exec the FD to /dev/null,
7720
# effectively closing config.log, so it can be properly (re)opened and
7721
# appended to by config.status. When coming back to configure, we
7722
# need to make the FD available again.
7723
if test "$no_create" != yes; then
7725
ac_config_status_args=
7726
test "$silent" = yes &&
7727
ac_config_status_args="$ac_config_status_args --quiet"
7729
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7731
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
7732
# would make configure fail if this is the last instruction.
7733
$ac_cs_success || { (exit 1); exit 1; }