2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61.
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 more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62
# We need space, tab and new line, in precisely that order. Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
70
# Find who we are. Look in the path if we contain no directory separator.
72
*[\\/]* ) as_myself=$0 ;;
73
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77
test -z "$as_dir" && as_dir=.
78
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
89
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
{ (exit 1); exit 1; }; }
457
# Don't try to exec as it changes $[0], causing all sort of problems
458
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
461
# Exit status is that of the last command.
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
exec 7<&0 </dev/null 6>&1
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556
# so uname gets run too.
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562
ac_default_prefix=/usr/local
564
ac_config_libobj_dir=.
570
SHELL=${CONFIG_SHELL-/bin/sh}
572
# Identity of this package.
579
ac_unique_file="messages/Makefile.am"
580
ac_default_prefix=${KDEDIR:-the kde prefix}
590
program_transform_name
632
INSTALL_STRIP_PROGRAM
691
ac_precious_vars='build_alias
696
# Initialize some variables set by options.
698
ac_init_version=false
699
# The variables have the same names as the options, with
700
# dashes changed to underlines.
708
program_transform_name=s,x,x,
716
# Installation directory options.
717
# These are left unexpanded so users can "make install exec_prefix=/foo"
718
# and all the variables that are supposed to be based on exec_prefix
719
# by default will actually change.
720
# Use braces instead of parens because sh, perl, etc. also accept them.
721
# (The list follows the same order as the GNU Coding Standards.)
722
bindir='${exec_prefix}/bin'
723
sbindir='${exec_prefix}/sbin'
724
libexecdir='${exec_prefix}/libexec'
725
datarootdir='${prefix}/share'
726
datadir='${datarootdir}'
727
sysconfdir='${prefix}/etc'
728
sharedstatedir='${prefix}/com'
729
localstatedir='${prefix}/var'
730
includedir='${prefix}/include'
731
oldincludedir='/usr/include'
732
docdir='${datarootdir}/doc/${PACKAGE}'
733
infodir='${datarootdir}/info'
738
libdir='${exec_prefix}/lib'
739
localedir='${datarootdir}/locale'
740
mandir='${datarootdir}/man'
746
# If the previous option needs an argument, assign it.
747
if test -n "$ac_prev"; then
748
eval $ac_prev=\$ac_option
754
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758
# Accept the important Cygnus configure options, so we can diagnose typos.
760
case $ac_dashdash$ac_option in
764
-bindir | --bindir | --bindi | --bind | --bin | --bi)
766
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769
-build | --build | --buil | --bui | --bu)
770
ac_prev=build_alias ;;
771
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
772
build_alias=$ac_optarg ;;
774
-cache-file | --cache-file | --cache-fil | --cache-fi \
775
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776
ac_prev=cache_file ;;
777
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779
cache_file=$ac_optarg ;;
782
cache_file=config.cache ;;
784
-datadir | --datadir | --datadi | --datad)
786
-datadir=* | --datadir=* | --datadi=* | --datad=*)
787
datadir=$ac_optarg ;;
789
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790
| --dataroo | --dataro | --datar)
791
ac_prev=datarootdir ;;
792
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794
datarootdir=$ac_optarg ;;
796
-disable-* | --disable-*)
797
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798
# Reject names that are not valid shell variable names.
799
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
801
{ (exit 1); exit 1; }; }
802
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
803
eval enable_$ac_feature=no ;;
805
-docdir | --docdir | --docdi | --doc | --do)
807
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815
-enable-* | --enable-*)
816
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817
# Reject names that are not valid shell variable names.
818
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
819
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
820
{ (exit 1); exit 1; }; }
821
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
822
eval enable_$ac_feature=\$ac_optarg ;;
824
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
825
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
826
| --exec | --exe | --ex)
827
ac_prev=exec_prefix ;;
828
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
829
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
830
| --exec=* | --exe=* | --ex=*)
831
exec_prefix=$ac_optarg ;;
833
-gas | --gas | --ga | --g)
834
# Obsolete; use --with-gas.
837
-help | --help | --hel | --he | -h)
839
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
840
ac_init_help=recursive ;;
841
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
842
ac_init_help=short ;;
844
-host | --host | --hos | --ho)
845
ac_prev=host_alias ;;
846
-host=* | --host=* | --hos=* | --ho=*)
847
host_alias=$ac_optarg ;;
849
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
851
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
853
htmldir=$ac_optarg ;;
855
-includedir | --includedir | --includedi | --included | --include \
856
| --includ | --inclu | --incl | --inc)
857
ac_prev=includedir ;;
858
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
859
| --includ=* | --inclu=* | --incl=* | --inc=*)
860
includedir=$ac_optarg ;;
862
-infodir | --infodir | --infodi | --infod | --info | --inf)
864
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
865
infodir=$ac_optarg ;;
867
-libdir | --libdir | --libdi | --libd)
869
-libdir=* | --libdir=* | --libdi=* | --libd=*)
872
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
873
| --libexe | --libex | --libe)
874
ac_prev=libexecdir ;;
875
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
876
| --libexe=* | --libex=* | --libe=*)
877
libexecdir=$ac_optarg ;;
879
-localedir | --localedir | --localedi | --localed | --locale)
881
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
882
localedir=$ac_optarg ;;
884
-localstatedir | --localstatedir | --localstatedi | --localstated \
885
| --localstate | --localstat | --localsta | --localst | --locals)
886
ac_prev=localstatedir ;;
887
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
888
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
889
localstatedir=$ac_optarg ;;
891
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
893
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
897
# Obsolete; use --without-fp.
900
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
901
| --no-cr | --no-c | -n)
904
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
905
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
909
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
910
| --oldin | --oldi | --old | --ol | --o)
911
ac_prev=oldincludedir ;;
912
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
913
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
914
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
915
oldincludedir=$ac_optarg ;;
917
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
919
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922
-program-prefix | --program-prefix | --program-prefi | --program-pref \
923
| --program-pre | --program-pr | --program-p)
924
ac_prev=program_prefix ;;
925
-program-prefix=* | --program-prefix=* | --program-prefi=* \
926
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
927
program_prefix=$ac_optarg ;;
929
-program-suffix | --program-suffix | --program-suffi | --program-suff \
930
| --program-suf | --program-su | --program-s)
931
ac_prev=program_suffix ;;
932
-program-suffix=* | --program-suffix=* | --program-suffi=* \
933
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
934
program_suffix=$ac_optarg ;;
936
-program-transform-name | --program-transform-name \
937
| --program-transform-nam | --program-transform-na \
938
| --program-transform-n | --program-transform- \
939
| --program-transform | --program-transfor \
940
| --program-transfo | --program-transf \
941
| --program-trans | --program-tran \
942
| --progr-tra | --program-tr | --program-t)
943
ac_prev=program_transform_name ;;
944
-program-transform-name=* | --program-transform-name=* \
945
| --program-transform-nam=* | --program-transform-na=* \
946
| --program-transform-n=* | --program-transform-=* \
947
| --program-transform=* | --program-transfor=* \
948
| --program-transfo=* | --program-transf=* \
949
| --program-trans=* | --program-tran=* \
950
| --progr-tra=* | --program-tr=* | --program-t=*)
951
program_transform_name=$ac_optarg ;;
953
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
955
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958
-psdir | --psdir | --psdi | --psd | --ps)
960
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
964
| -silent | --silent | --silen | --sile | --sil)
967
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
971
sbindir=$ac_optarg ;;
973
-sharedstatedir | --sharedstatedir | --sharedstatedi \
974
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
975
| --sharedst | --shareds | --shared | --share | --shar \
977
ac_prev=sharedstatedir ;;
978
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
979
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
980
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
982
sharedstatedir=$ac_optarg ;;
984
-site | --site | --sit)
986
-site=* | --site=* | --sit=*)
989
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
991
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
995
| --syscon | --sysco | --sysc | --sys | --sy)
996
ac_prev=sysconfdir ;;
997
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
998
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
999
sysconfdir=$ac_optarg ;;
1001
-target | --target | --targe | --targ | --tar | --ta | --t)
1002
ac_prev=target_alias ;;
1003
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1004
target_alias=$ac_optarg ;;
1006
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1009
-version | --version | --versio | --versi | --vers | -V)
1010
ac_init_version=: ;;
1013
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1014
# Reject names that are not valid shell variable names.
1015
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1016
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1017
{ (exit 1); exit 1; }; }
1018
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1019
eval with_$ac_package=\$ac_optarg ;;
1021
-without-* | --without-*)
1022
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023
# Reject names that are not valid shell variable names.
1024
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1026
{ (exit 1); exit 1; }; }
1027
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1028
eval with_$ac_package=no ;;
1031
# Obsolete; use --with-x.
1034
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035
| --x-incl | --x-inc | --x-in | --x-i)
1036
ac_prev=x_includes ;;
1037
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039
x_includes=$ac_optarg ;;
1041
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1042
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043
ac_prev=x_libraries ;;
1044
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046
x_libraries=$ac_optarg ;;
1048
-*) { echo "$as_me: error: unrecognized option: $ac_option
1049
Try \`$0 --help' for more information." >&2
1050
{ (exit 1); exit 1; }; }
1054
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1055
# Reject names that are not valid shell variable names.
1056
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1057
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1058
{ (exit 1); exit 1; }; }
1059
eval $ac_envvar=\$ac_optarg
1060
export $ac_envvar ;;
1063
# FIXME: should be removed in autoconf 3.0.
1064
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073
if test -n "$ac_prev"; then
1074
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075
{ echo "$as_me: error: missing argument to $ac_option" >&2
1076
{ (exit 1); exit 1; }; }
1079
# Be sure to have absolute directory names.
1080
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1081
datadir sysconfdir sharedstatedir localstatedir includedir \
1082
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1083
libdir localedir mandir
1085
eval ac_val=\$$ac_var
1087
[\\/$]* | ?:[\\/]* ) continue;;
1088
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1091
{ (exit 1); exit 1; }; }
1094
# There might be people who depend on the old broken behavior: `$host'
1095
# used to hold the argument of --host etc.
1096
# FIXME: To remove some day.
1099
target=$target_alias
1101
# FIXME: To remove some day.
1102
if test "x$host_alias" != x; then
1103
if test "x$build_alias" = x; then
1104
cross_compiling=maybe
1105
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1106
If a cross compiler is detected then cross compile mode will be used." >&2
1107
elif test "x$build_alias" != "x$host_alias"; then
1113
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115
test "$silent" = yes && exec 6>/dev/null
1118
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119
ac_ls_di=`ls -di .` &&
1120
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121
{ echo "$as_me: error: Working directory cannot be determined" >&2
1122
{ (exit 1); exit 1; }; }
1123
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1124
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1125
{ (exit 1); exit 1; }; }
1128
# Find the source files, if location was not specified.
1129
if test -z "$srcdir"; then
1130
ac_srcdir_defaulted=yes
1131
# Try the directory containing this script, then the parent directory.
1132
ac_confdir=`$as_dirname -- "$0" ||
1133
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134
X"$0" : 'X\(//\)[^/]' \| \
1135
X"$0" : 'X\(//\)$' \| \
1136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1138
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156
if test ! -r "$srcdir/$ac_unique_file"; then
1160
ac_srcdir_defaulted=no
1162
if test ! -r "$srcdir/$ac_unique_file"; then
1163
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1164
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1165
{ (exit 1); exit 1; }; }
1167
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1170
{ (exit 1); exit 1; }; }
1172
# When building in place, set srcdir=.
1173
if test "$ac_abs_confdir" = "$ac_pwd"; then
1176
# Remove unnecessary trailing slashes from srcdir.
1177
# Double slashes in file names in object file debugging info
1178
# mess up M-x gdb in Emacs.
1180
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182
for ac_var in $ac_precious_vars; do
1183
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1184
eval ac_env_${ac_var}_value=\$${ac_var}
1185
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1186
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1190
# Report the --help message.
1192
if test "$ac_init_help" = "long"; then
1193
# Omit some internal or obsolete options to make the list less imposing.
1194
# This message is too long to be a string in the A/UX 3.1 sh.
1196
\`configure' configures this package to adapt to many kinds of systems.
1198
Usage: $0 [OPTION]... [VAR=VALUE]...
1200
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1201
VAR=VALUE. See below for descriptions of some of the useful variables.
1203
Defaults for the options are specified in brackets.
1206
-h, --help display this help and exit
1207
--help=short display options specific to this package
1208
--help=recursive display the short help of all the included packages
1209
-V, --version display version information and exit
1210
-q, --quiet, --silent do not print \`checking...' messages
1211
--cache-file=FILE cache test results in FILE [disabled]
1212
-C, --config-cache alias for \`--cache-file=config.cache'
1213
-n, --no-create do not create output files
1214
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1216
Installation directories:
1217
--prefix=PREFIX install architecture-independent files in PREFIX
1218
[$ac_default_prefix]
1219
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1222
By default, \`make install' will install all the files in
1223
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1224
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1225
for instance \`--prefix=\$HOME'.
1227
For better control, use the options below.
1229
Fine tuning of the installation directories:
1230
--bindir=DIR user executables [EPREFIX/bin]
1231
--sbindir=DIR system admin executables [EPREFIX/sbin]
1232
--libexecdir=DIR program executables [EPREFIX/libexec]
1233
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1234
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1235
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1236
--libdir=DIR object code libraries [EPREFIX/lib]
1237
--includedir=DIR C header files [PREFIX/include]
1238
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1239
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1240
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1241
--infodir=DIR info documentation [DATAROOTDIR/info]
1242
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1243
--mandir=DIR man documentation [DATAROOTDIR/man]
1244
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1245
--htmldir=DIR html documentation [DOCDIR]
1246
--dvidir=DIR dvi documentation [DOCDIR]
1247
--pdfdir=DIR pdf documentation [DOCDIR]
1248
--psdir=DIR ps documentation [DOCDIR]
1254
--program-prefix=PREFIX prepend PREFIX to installed program names
1255
--program-suffix=SUFFIX append SUFFIX to installed program names
1256
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1260
if test -n "$ac_init_help"; then
1265
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1266
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1267
--disable-rpath do not use the rpath feature of ld
1268
--disable-fast-perl disable fast Makefile generation (needs perl)
1271
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1272
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1273
--without-arts build without aRts default=no
1279
if test "$ac_init_help" = "recursive"; then
1280
# If there are subdirs, report their specific --help.
1281
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1282
test -d "$ac_dir" || continue
1286
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1288
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1289
# A ".." for each directory in $ac_dir_suffix.
1290
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1291
case $ac_top_builddir_sub in
1292
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1293
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1296
ac_abs_top_builddir=$ac_pwd
1297
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1298
# for backward compatibility:
1299
ac_top_builddir=$ac_top_build_prefix
1302
.) # We are building in place.
1304
ac_top_srcdir=$ac_top_builddir_sub
1305
ac_abs_top_srcdir=$ac_pwd ;;
1306
[\\/]* | ?:[\\/]* ) # Absolute name.
1307
ac_srcdir=$srcdir$ac_dir_suffix;
1308
ac_top_srcdir=$srcdir
1309
ac_abs_top_srcdir=$srcdir ;;
1311
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1312
ac_top_srcdir=$ac_top_build_prefix$srcdir
1313
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1315
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1317
cd "$ac_dir" || { ac_status=$?; continue; }
1318
# Check for guested configure.
1319
if test -f "$ac_srcdir/configure.gnu"; then
1321
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1322
elif test -f "$ac_srcdir/configure"; then
1324
$SHELL "$ac_srcdir/configure" --help=recursive
1326
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1328
cd "$ac_pwd" || { ac_status=$?; break; }
1332
test -n "$ac_init_help" && exit $ac_status
1333
if $ac_init_version; then
1336
generated by GNU Autoconf 2.61
1338
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1339
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1340
This configure script is free software; the Free Software Foundation
1341
gives unlimited permission to copy, distribute and modify it.
1345
cat >config.log <<_ACEOF
1346
This file contains any messages produced by compilers while
1347
running configure, to aid debugging if configure makes a mistake.
1349
It was created by $as_me, which was
1350
generated by GNU Autoconf 2.61. Invocation command line was
1358
@%:@@%:@ --------- @%:@@%:@
1359
@%:@@%:@ Platform. @%:@@%:@
1360
@%:@@%:@ --------- @%:@@%:@
1362
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1375
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385
test -z "$as_dir" && as_dir=.
1386
echo "PATH: $as_dir"
1395
@%:@@%:@ ----------- @%:@@%:@
1396
@%:@@%:@ Core tests. @%:@@%:@
1397
@%:@@%:@ ----------- @%:@@%:@
1402
# Keep a trace of the command line.
1403
# Strip out --no-create and --no-recursion so they do not pile up.
1404
# Strip out --silent because we don't want to record it for future runs.
1405
# Also quote any args containing shell meta-characters.
1406
# Make two passes to allow for proper duplicate-argument suppression.
1410
ac_must_keep_next=false
1416
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418
| -silent | --silent | --silen | --sile | --sil)
1421
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1426
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1427
if test $ac_must_keep_next = true; then
1428
ac_must_keep_next=false # Got value, back to normal.
1431
*=* | --config-cache | -C | -disable-* | --disable-* \
1432
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434
| -with-* | --with-* | -without-* | --without-* | --x)
1435
case "$ac_configure_args0 " in
1436
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439
-* ) ac_must_keep_next=true ;;
1442
ac_configure_args="$ac_configure_args '$ac_arg'"
1447
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1448
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1450
# When interrupted or exit'd, cleanup temporary files, and complete
1451
# config.log. We remove comments because anyway the quotes in there
1452
# would cause problems or look ugly.
1453
# WARNING: Use '\'' to represent an apostrophe within the trap.
1454
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1455
trap 'exit_status=$?
1456
# Save into config.log some information that might help in debugging.
1461
@%:@@%:@ ---------------- @%:@@%:@
1462
@%:@@%:@ Cache variables. @%:@@%:@
1463
@%:@@%:@ ---------------- @%:@@%:@
1466
# The following way of writing the cache mishandles newlines in values,
1468
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1469
eval ac_val=\$$ac_var
1473
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1474
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1477
_ | IFS | as_nl) ;; #(
1478
*) $as_unset $ac_var ;;
1483
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1484
*${as_nl}ac_space=\ *)
1486
"s/'\''/'\''\\\\'\'''\''/g;
1487
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1490
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1498
@%:@@%:@ ----------------- @%:@@%:@
1499
@%:@@%:@ Output variables. @%:@@%:@
1500
@%:@@%:@ ----------------- @%:@@%:@
1503
for ac_var in $ac_subst_vars
1505
eval ac_val=\$$ac_var
1507
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1509
echo "$ac_var='\''$ac_val'\''"
1513
if test -n "$ac_subst_files"; then
1515
@%:@@%:@ ------------------- @%:@@%:@
1516
@%:@@%:@ File substitutions. @%:@@%:@
1517
@%:@@%:@ ------------------- @%:@@%:@
1520
for ac_var in $ac_subst_files
1522
eval ac_val=\$$ac_var
1524
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1526
echo "$ac_var='\''$ac_val'\''"
1531
if test -s confdefs.h; then
1533
@%:@@%:@ ----------- @%:@@%:@
1534
@%:@@%:@ confdefs.h. @%:@@%:@
1535
@%:@@%:@ ----------- @%:@@%:@
1541
test "$ac_signal" != 0 &&
1542
echo "$as_me: caught signal $ac_signal"
1543
echo "$as_me: exit $exit_status"
1545
rm -f core *.core core.conftest.* &&
1546
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1549
for ac_signal in 1 2 13 15; do
1550
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1554
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1555
rm -f -r conftest* confdefs.h
1557
# Predefined preprocessor variables.
1559
cat >>confdefs.h <<_ACEOF
1560
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1564
cat >>confdefs.h <<_ACEOF
1565
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1569
cat >>confdefs.h <<_ACEOF
1570
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1574
cat >>confdefs.h <<_ACEOF
1575
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1579
cat >>confdefs.h <<_ACEOF
1580
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1584
# Let the site file select an alternate cache file if it wants to.
1585
# Prefer explicitly selected file to automatically selected ones.
1586
if test -n "$CONFIG_SITE"; then
1587
set x "$CONFIG_SITE"
1588
elif test "x$prefix" != xNONE; then
1589
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1591
set x "$ac_default_prefix/share/config.site" \
1592
"$ac_default_prefix/etc/config.site"
1597
if test -r "$ac_site_file"; then
1598
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1599
echo "$as_me: loading site script $ac_site_file" >&6;}
1600
sed 's/^/| /' "$ac_site_file" >&5
1605
if test -r "$cache_file"; then
1606
# Some versions of bash will fail to source /dev/null (special
1607
# files actually), so we avoid doing that.
1608
if test -f "$cache_file"; then
1609
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1610
echo "$as_me: loading cache $cache_file" >&6;}
1612
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1613
*) . "./$cache_file";;
1617
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1618
echo "$as_me: creating cache $cache_file" >&6;}
1622
# Check that the precious variables saved in the cache have kept the same
1624
ac_cache_corrupted=false
1625
for ac_var in $ac_precious_vars; do
1626
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1627
eval ac_new_set=\$ac_env_${ac_var}_set
1628
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1629
eval ac_new_val=\$ac_env_${ac_var}_value
1630
case $ac_old_set,$ac_new_set in
1632
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1633
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1634
ac_cache_corrupted=: ;;
1636
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1637
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1638
ac_cache_corrupted=: ;;
1641
if test "x$ac_old_val" != "x$ac_new_val"; then
1642
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1643
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1644
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1645
echo "$as_me: former value: $ac_old_val" >&2;}
1646
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1647
echo "$as_me: current value: $ac_new_val" >&2;}
1648
ac_cache_corrupted=:
1651
# Pass precious variables to config.status.
1652
if test "$ac_new_set" = set; then
1654
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1655
*) ac_arg=$ac_var=$ac_new_val ;;
1657
case " $ac_configure_args " in
1658
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1659
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1663
if $ac_cache_corrupted; then
1664
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1665
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1666
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1667
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1668
{ (exit 1); exit 1; }; }
1688
ac_cpp='$CPP $CPPFLAGS'
1689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694
am__api_version='1.10'
1697
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1698
if test -f "$ac_dir/install-sh"; then
1700
ac_install_sh="$ac_aux_dir/install-sh -c"
1702
elif test -f "$ac_dir/install.sh"; then
1704
ac_install_sh="$ac_aux_dir/install.sh -c"
1706
elif test -f "$ac_dir/shtool"; then
1708
ac_install_sh="$ac_aux_dir/shtool install -c"
1712
if test -z "$ac_aux_dir"; then
1713
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1714
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1715
{ (exit 1); exit 1; }; }
1718
# These three variables are undocumented and unsupported,
1719
# and are intended to be withdrawn in a future Autoconf release.
1720
# They can cause serious problems if a builder's source tree is in a directory
1721
# whose full name contains unusual characters.
1722
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1723
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1724
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1729
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1730
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
1731
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
1732
# Find a good install program. We prefer a C program (faster),
1733
# so one script is as good as another. But avoid the broken or
1734
# incompatible versions:
1735
# SysV /etc/install, /usr/sbin/install
1736
# SunOS /usr/etc/install
1737
# IRIX /sbin/install
1739
# AmigaOS /C/install, which installs bootblocks on floppy discs
1740
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1741
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1742
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1743
# OS/2's system install, which has a completely different semantic
1744
# ./install, which can be erroneously created by make from ./install.sh.
1745
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1746
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1747
if test -z "$INSTALL"; then
1748
if test "${ac_cv_path_install+set}" = set; then
1749
echo $ECHO_N "(cached) $ECHO_C" >&6
1751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1755
test -z "$as_dir" && as_dir=.
1756
# Account for people who put trailing slashes in PATH elements.
1758
./ | .// | /cC/* | \
1759
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1760
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1763
# OSF1 and SCO ODT 3.0 have their own names for install.
1764
# Don't use installbsd from OSF since it installs stuff as root
1766
for ac_prog in ginstall scoinst install; do
1767
for ac_exec_ext in '' $ac_executable_extensions; do
1768
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1769
if test $ac_prog = install &&
1770
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1771
# AIX install. It has an incompatible calling convention.
1773
elif test $ac_prog = install &&
1774
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1775
# program-specific install script used by HP pwplus--don't use.
1778
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1791
if test "${ac_cv_path_install+set}" = set; then
1792
INSTALL=$ac_cv_path_install
1794
# As a last resort, use the slow shell script. Don't cache a
1795
# value for INSTALL within a source directory, because that will
1796
# break other packages using the cache if that directory is
1797
# removed, or if the value is a relative name.
1798
INSTALL=$ac_install_sh
1801
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1802
echo "${ECHO_T}$INSTALL" >&6; }
1804
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1805
# It thinks the first close brace ends the variable substitution.
1806
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1808
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1810
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1813
if test -z "$kde_save_INSTALL_given" ; then
1814
# OK, user hasn't given any INSTALL, autoconf found one for us
1815
# now we test, if it supports the -p flag
1816
{ echo "$as_me:$LINENO: checking for -p flag to install" >&5
1817
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
1818
rm -f confinst.$$.* > /dev/null 2>&1
1819
echo "Testtest" > confinst.$$.orig
1821
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
1822
if test -f confinst.$$.new ; then
1823
# OK, -p seems to do no harm to install
1824
INSTALL="${INSTALL} -p"
1829
{ echo "$as_me:$LINENO: result: $ac_res" >&5
1830
echo "${ECHO_T}$ac_res" >&6; }
1833
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1834
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
1836
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
1837
INSTALL_SCRIPT='${INSTALL}'
1840
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1841
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1844
echo timestamp > conftest.file
1845
# Do `set' in a subshell so we don't clobber the current shell's
1846
# arguments. Must try -L first in case configure is actually a
1847
# symlink; some systems play weird games with the mod time of symlinks
1848
# (eg FreeBSD returns the mod time of the symlink's containing
1851
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1852
if test "$*" = "X"; then
1854
set X `ls -t $srcdir/configure conftest.file`
1857
if test "$*" != "X $srcdir/configure conftest.file" \
1858
&& test "$*" != "X conftest.file $srcdir/configure"; then
1860
# If neither matched, then we have a broken ls. This can happen
1861
# if, for instance, CONFIG_SHELL is bash and it inherits a
1862
# broken ls alias from the environment. This has actually
1863
# happened. Such a system could not be considered "sane".
1864
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1865
alias in your environment" >&5
1866
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1867
alias in your environment" >&2;}
1868
{ (exit 1); exit 1; }; }
1871
test "$2" = conftest.file
1877
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1878
Check your system clock" >&5
1879
echo "$as_me: error: newly created file is older than distributed files!
1880
Check your system clock" >&2;}
1881
{ (exit 1); exit 1; }; }
1883
{ echo "$as_me:$LINENO: result: yes" >&5
1884
echo "${ECHO_T}yes" >&6; }
1885
test "$program_prefix" != NONE &&
1886
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1887
# Use a double $ so make ignores it.
1888
test "$program_suffix" != NONE &&
1889
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1890
# Double any \ or $. echo might interpret backslashes.
1891
# By default was `s,x,x', remove it if useless.
1892
cat <<\_ACEOF >conftest.sed
1893
s/[\\$]/&&/g;s/;s,x,x,$//
1895
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1898
# expand $ac_aux_dir to an absolute path
1899
am_aux_dir=`cd $ac_aux_dir && pwd`
1901
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1902
# Use eval to expand $SHELL
1903
if eval "$MISSING --run true"; then
1904
am_missing_run="$MISSING --run "
1907
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1908
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1911
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1912
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1913
if test -z "$MKDIR_P"; then
1914
if test "${ac_cv_path_mkdir+set}" = set; then
1915
echo $ECHO_N "(cached) $ECHO_C" >&6
1917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1921
test -z "$as_dir" && as_dir=.
1922
for ac_prog in mkdir gmkdir; do
1923
for ac_exec_ext in '' $ac_executable_extensions; do
1924
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1925
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1926
'mkdir (GNU coreutils) '* | \
1927
'mkdir (coreutils) '* | \
1928
'mkdir (fileutils) '4.1*)
1929
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1939
if test "${ac_cv_path_mkdir+set}" = set; then
1940
MKDIR_P="$ac_cv_path_mkdir -p"
1942
# As a last resort, use the slow shell script. Don't cache a
1943
# value for MKDIR_P within a source directory, because that will
1944
# break other packages using the cache if that directory is
1945
# removed, or if the value is a relative name.
1946
test -d ./--version && rmdir ./--version
1947
MKDIR_P="$ac_install_sh -d"
1950
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1951
echo "${ECHO_T}$MKDIR_P" >&6; }
1955
[\\/$]* | ?:[\\/]*) ;;
1956
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1959
for ac_prog in gawk mawk nawk awk
1961
# Extract the first word of "$ac_prog", so it can be a program name with args.
1962
set dummy $ac_prog; ac_word=$2
1963
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1964
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1965
if test "${ac_cv_prog_AWK+set}" = set; then
1966
echo $ECHO_N "(cached) $ECHO_C" >&6
1968
if test -n "$AWK"; then
1969
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975
test -z "$as_dir" && as_dir=.
1976
for ac_exec_ext in '' $ac_executable_extensions; do
1977
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1978
ac_cv_prog_AWK="$ac_prog"
1979
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989
if test -n "$AWK"; then
1990
{ echo "$as_me:$LINENO: result: $AWK" >&5
1991
echo "${ECHO_T}$AWK" >&6; }
1993
{ echo "$as_me:$LINENO: result: no" >&5
1994
echo "${ECHO_T}no" >&6; }
1998
test -n "$AWK" && break
2001
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2002
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2003
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2004
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2005
echo $ECHO_N "(cached) $ECHO_C" >&6
2007
cat >conftest.make <<\_ACEOF
2010
@echo '@@@%%%=$(MAKE)=@@@%%%'
2012
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2013
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2015
eval ac_cv_prog_make_${ac_make}_set=yes;;
2017
eval ac_cv_prog_make_${ac_make}_set=no;;
2021
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2022
{ echo "$as_me:$LINENO: result: yes" >&5
2023
echo "${ECHO_T}yes" >&6; }
2026
{ echo "$as_me:$LINENO: result: no" >&5
2027
echo "${ECHO_T}no" >&6; }
2028
SET_MAKE="MAKE=${MAKE-make}"
2031
rm -rf .tst 2>/dev/null
2032
mkdir .tst 2>/dev/null
2033
if test -d .tst; then
2038
rmdir .tst 2>/dev/null
2040
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2041
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2042
# is not polluted with repeated "-I."
2043
am__isrc=' -I$(srcdir)'
2044
# test to see if srcdir already configured
2045
if test -f $srcdir/config.status; then
2046
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2047
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2048
{ (exit 1); exit 1; }; }
2052
# test whether we have cygpath
2053
if test -z "$CYGPATH_W"; then
2054
if (cygpath --version) >/dev/null 2>/dev/null; then
2055
CYGPATH_W='cygpath -w'
2062
# Define the identity of the package.
2067
cat >>confdefs.h <<_ACEOF
2068
@%:@define PACKAGE "$PACKAGE"
2072
cat >>confdefs.h <<_ACEOF
2073
@%:@define VERSION "$VERSION"
2076
# Some tools Automake needs.
2078
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2081
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2084
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2087
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2090
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2092
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2094
# Installed binaries are usually stripped using `strip' when the user
2095
# run `make install-strip'. However `strip' might not be the right
2096
# tool to use in cross-compilation environments, therefore Automake
2097
# will honor the `STRIP' environment variable to overrule this program.
2098
if test "$cross_compiling" != no; then
2099
if test -n "$ac_tool_prefix"; then
2100
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2101
set dummy ${ac_tool_prefix}strip; ac_word=$2
2102
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2103
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2104
if test "${ac_cv_prog_STRIP+set}" = set; then
2105
echo $ECHO_N "(cached) $ECHO_C" >&6
2107
if test -n "$STRIP"; then
2108
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114
test -z "$as_dir" && as_dir=.
2115
for ac_exec_ext in '' $ac_executable_extensions; do
2116
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2117
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2118
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2127
STRIP=$ac_cv_prog_STRIP
2128
if test -n "$STRIP"; then
2129
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2130
echo "${ECHO_T}$STRIP" >&6; }
2132
{ echo "$as_me:$LINENO: result: no" >&5
2133
echo "${ECHO_T}no" >&6; }
2138
if test -z "$ac_cv_prog_STRIP"; then
2140
# Extract the first word of "strip", so it can be a program name with args.
2141
set dummy strip; ac_word=$2
2142
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2143
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2144
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2145
echo $ECHO_N "(cached) $ECHO_C" >&6
2147
if test -n "$ac_ct_STRIP"; then
2148
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154
test -z "$as_dir" && as_dir=.
2155
for ac_exec_ext in '' $ac_executable_extensions; do
2156
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157
ac_cv_prog_ac_ct_STRIP="strip"
2158
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2168
if test -n "$ac_ct_STRIP"; then
2169
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2170
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2172
{ echo "$as_me:$LINENO: result: no" >&5
2173
echo "${ECHO_T}no" >&6; }
2176
if test "x$ac_ct_STRIP" = x; then
2179
case $cross_compiling:$ac_tool_warned in
2181
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2182
whose name does not start with the host triplet. If you think this
2183
configuration is useful to you, please write to autoconf@gnu.org." >&5
2184
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2185
whose name does not start with the host triplet. If you think this
2186
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2187
ac_tool_warned=yes ;;
2192
STRIP="$ac_cv_prog_STRIP"
2196
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2198
# We need awk for the "check" target. The system "awk" is bad on
2200
# Always define AMTAR for backward compatibility.
2202
AMTAR=${AMTAR-"${am_missing_run}tar"}
2204
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2210
ac_config_headers="$ac_config_headers config.h"
2215
# Extract the first word of "msgfmt", so it can be a program name with args.
2216
set dummy msgfmt; ac_word=$2
2217
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2218
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2219
if test "${ac_cv_path_MSGFMT+set}" = set; then
2220
echo $ECHO_N "(cached) $ECHO_C" >&6
2224
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2227
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2228
for ac_dir in $PATH; do
2229
test -z "$ac_dir" && ac_dir=.
2230
if test -f $ac_dir/$ac_word; then
2231
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
2232
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2238
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
2242
MSGFMT="$ac_cv_path_MSGFMT"
2243
if test -n "$MSGFMT"; then
2244
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
2245
echo "${ECHO_T}$MSGFMT" >&6; }
2247
{ echo "$as_me:$LINENO: result: no" >&5
2248
echo "${ECHO_T}no" >&6; }
2251
# Extract the first word of "gmsgfmt", so it can be a program name with args.
2252
set dummy gmsgfmt; ac_word=$2
2253
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2254
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2255
if test "${ac_cv_path_GMSGFMT+set}" = set; then
2256
echo $ECHO_N "(cached) $ECHO_C" >&6
2260
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267
test -z "$as_dir" && as_dir=.
2268
for ac_exec_ext in '' $ac_executable_extensions; do
2269
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2271
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2282
GMSGFMT=$ac_cv_path_GMSGFMT
2283
if test -n "$GMSGFMT"; then
2284
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
2285
echo "${ECHO_T}$GMSGFMT" >&6; }
2287
{ echo "$as_me:$LINENO: result: no" >&5
2288
echo "${ECHO_T}no" >&6; }
2293
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
2294
{ echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
2295
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
2302
# Extract the first word of "xgettext", so it can be a program name with args.
2303
set dummy xgettext; ac_word=$2
2304
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2305
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306
if test "${ac_cv_path_XGETTEXT+set}" = set; then
2307
echo $ECHO_N "(cached) $ECHO_C" >&6
2311
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2314
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2315
for ac_dir in $PATH; do
2316
test -z "$ac_dir" && ac_dir=.
2317
if test -f $ac_dir/$ac_word; then
2318
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2319
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2325
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2329
XGETTEXT="$ac_cv_path_XGETTEXT"
2330
if test -n "$XGETTEXT"; then
2331
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
2332
echo "${ECHO_T}$XGETTEXT" >&6; }
2334
{ echo "$as_me:$LINENO: result: no" >&5
2335
echo "${ECHO_T}no" >&6; }
2339
if test "$XGETTEXT" != ":"; then
2340
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
2343
{ echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
2344
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
2352
{ echo "$as_me:$LINENO: checking for rpath" >&5
2353
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
2354
# Check whether --enable-rpath was given.
2355
if test "${enable_rpath+set}" = set; then
2356
enableval=$enable_rpath; USE_RPATH=$enableval
2362
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
2364
KDE_RPATH="-R \$(libdir)"
2366
if test "$kde_libraries" != "$libdir"; then
2367
KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
2370
if test -n "$qt_libraries"; then
2371
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
2373
if test -n "$X_LDFLAGS"; then
2374
X_RPATH="-R \$(x_libraries)"
2375
KDE_RPATH="$KDE_RPATH $X_RPATH"
2377
if test -n "$KDE_EXTRA_RPATH"; then
2378
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
2384
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
2385
echo "${ECHO_T}$USE_RPATH" >&6; }
2390
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
2391
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
2393
kde_cached_paths=yes
2394
if test "${kde_cv_all_paths+set}" = set; then
2395
echo $ECHO_N "(cached) $ECHO_C" >&6
2399
if test "default" = "default"; then
2401
if test -z "$kde_htmldir"; then
2402
kde_htmldir='\${datadir}/doc/HTML'
2404
if test -z "$kde_appsdir"; then
2405
kde_appsdir='\${datadir}/applnk'
2407
if test -z "$kde_icondir"; then
2408
kde_icondir='\${datadir}/icons'
2410
if test -z "$kde_sounddir"; then
2411
kde_sounddir='\${datadir}/sounds'
2413
if test -z "$kde_datadir"; then
2414
kde_datadir='\${datadir}/apps'
2416
if test -z "$kde_locale"; then
2417
kde_locale='\${datadir}/locale'
2419
if test -z "$kde_cgidir"; then
2420
kde_cgidir='\${exec_prefix}/cgi-bin'
2422
if test -z "$kde_confdir"; then
2423
kde_confdir='\${datadir}/config'
2425
if test -z "$kde_kcfgdir"; then
2426
kde_kcfgdir='\${datadir}/config.kcfg'
2428
if test -z "$kde_mimedir"; then
2429
kde_mimedir='\${datadir}/mimelnk'
2431
if test -z "$kde_toolbardir"; then
2432
kde_toolbardir='\${datadir}/toolbar'
2434
if test -z "$kde_wallpaperdir"; then
2435
kde_wallpaperdir='\${datadir}/wallpapers'
2437
if test -z "$kde_templatesdir"; then
2438
kde_templatesdir='\${datadir}/templates'
2440
if test -z "$kde_bindir"; then
2441
kde_bindir='\${exec_prefix}/bin'
2443
if test -z "$kde_servicesdir"; then
2444
kde_servicesdir='\${datadir}/services'
2446
if test -z "$kde_servicetypesdir"; then
2447
kde_servicetypesdir='\${datadir}/servicetypes'
2449
if test -z "$kde_moduledir"; then
2450
if test "$kde_qtver" = "2"; then
2451
kde_moduledir='\${libdir}/kde2'
2453
kde_moduledir='\${libdir}/kde3'
2456
if test -z "$kde_styledir"; then
2457
kde_styledir='\${libdir}/kde3/plugins/styles'
2459
if test -z "$kde_widgetdir"; then
2460
kde_widgetdir='\${libdir}/kde3/plugins/designer'
2462
if test -z "$xdg_appsdir"; then
2463
xdg_appsdir='\${datadir}/applications/kde'
2465
if test -z "$xdg_menudir"; then
2466
xdg_menudir='\${sysconfdir}/xdg/menus'
2468
if test -z "$xdg_directorydir"; then
2469
xdg_directorydir='\${datadir}/desktop-directories'
2473
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
2474
kde_htmldir=\"$kde_htmldir\" \
2475
kde_appsdir=\"$kde_appsdir\" \
2476
kde_icondir=\"$kde_icondir\" \
2477
kde_sounddir=\"$kde_sounddir\" \
2478
kde_datadir=\"$kde_datadir\" \
2479
kde_locale=\"$kde_locale\" \
2480
kde_cgidir=\"$kde_cgidir\" \
2481
kde_confdir=\"$kde_confdir\" \
2482
kde_kcfgdir=\"$kde_kcfgdir\" \
2483
kde_mimedir=\"$kde_mimedir\" \
2484
kde_toolbardir=\"$kde_toolbardir\" \
2485
kde_wallpaperdir=\"$kde_wallpaperdir\" \
2486
kde_templatesdir=\"$kde_templatesdir\" \
2487
kde_bindir=\"$kde_bindir\" \
2488
kde_servicesdir=\"$kde_servicesdir\" \
2489
kde_servicetypesdir=\"$kde_servicetypesdir\" \
2490
kde_moduledir=\"$kde_moduledir\" \
2491
kde_styledir=\"$kde_styledir\" \
2492
kde_widgetdir=\"$kde_widgetdir\" \
2493
xdg_appsdir=\"$xdg_appsdir\" \
2494
xdg_menudir=\"$xdg_menudir\" \
2495
xdg_directorydir=\"$xdg_directorydir\" \
2496
kde_result=defaults"
2501
if test $kde_qtver = 1; then
2502
{ echo "$as_me:$LINENO: result: compiling" >&5
2503
echo "${ECHO_T}compiling" >&6; }
2506
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
2507
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
2511
ac_cpp='$CXXCPP $CPPFLAGS'
2512
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2513
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2514
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2516
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2520
cat > conftest.$ac_ext <<EOF
2522
# include <stdlib.h>
2525
#include "confdefs.h"
2529
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
2530
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
2531
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
2532
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
2533
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
2534
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
2535
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
2536
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
2537
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
2538
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
2539
printf("kde_wallpaperdir=\\"%s\\"\n",
2540
KApplication::kde_wallpaperdir().data());
2541
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
2542
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
2543
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
2544
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
2545
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
2546
printf("kde_styledir=\\"/tmp/dummy\\"\n");
2547
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
2548
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
2549
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
2550
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
2551
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
2556
ac_save_CPPFLAGS=$CPPFLAGS
2557
CPPFLAGS="$all_includes $CPPFLAGS"
2558
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559
(eval $ac_compile) 2>&5
2561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562
(exit $ac_status); }; then
2563
{ echo "$as_me:$LINENO: result: yes" >&5
2564
echo "${ECHO_T}yes" >&6; }
2566
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
2567
Check, if you installed the KDE header files correctly.
2568
For more details about this problem, look at the end of config.log." >&5
2569
echo "$as_me: error: your system is not able to compile a small KDE application!
2570
Check, if you installed the KDE header files correctly.
2571
For more details about this problem, look at the end of config.log." >&2;}
2572
{ (exit 1); exit 1; }; }
2574
CPPFLAGS=$ac_save_CPPFLAGS
2577
ac_cpp='$CPP $CPPFLAGS'
2578
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2579
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2580
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2586
if test -n "$USE_RPATH"; then
2588
if test -n "$kde_libraries"; then
2589
KDE_TEST_RPATH="-R $kde_libraries"
2592
if test -n "$qt_libraries"; then
2593
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
2596
if test -n "$x_libraries"; then
2597
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
2600
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
2603
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
2604
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
2605
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
2607
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2608
(eval $ac_link) 2>&5
2610
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611
(exit $ac_status); } && test -s conftest; then
2612
{ echo "$as_me:$LINENO: result: yes" >&5
2613
echo "${ECHO_T}yes" >&6; }
2615
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
2616
Check, if your compiler is installed correctly and if you have used the
2617
same compiler to compile Qt and kdelibs as you did use now.
2618
For more details about this problem, look at the end of config.log." >&5
2619
echo "$as_me: error: your system fails at linking a small KDE application!
2620
Check, if your compiler is installed correctly and if you have used the
2621
same compiler to compile Qt and kdelibs as you did use now.
2622
For more details about this problem, look at the end of config.log." >&2;}
2623
{ (exit 1); exit 1; }; }
2626
if eval `KDEDIR= ./conftest 2>&5`; then
2632
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
2633
kde_have_all_paths=yes
2636
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
2637
kde_htmldir=\"$kde_htmldir\" \
2638
kde_appsdir=\"$kde_appsdir\" \
2639
kde_icondir=\"$kde_icondir\" \
2640
kde_sounddir=\"$kde_sounddir\" \
2641
kde_datadir=\"$kde_datadir\" \
2642
kde_locale=\"$kde_locale\" \
2643
kde_cgidir=\"$kde_cgidir\" \
2644
kde_confdir=\"$kde_confdir\" \
2645
kde_kcfgdir=\"$kde_kcfgdir\" \
2646
kde_mimedir=\"$kde_mimedir\" \
2647
kde_toolbardir=\"$kde_toolbardir\" \
2648
kde_wallpaperdir=\"$kde_wallpaperdir\" \
2649
kde_templatesdir=\"$kde_templatesdir\" \
2650
kde_bindir=\"$kde_bindir\" \
2651
kde_servicesdir=\"$kde_servicesdir\" \
2652
kde_servicetypesdir=\"$kde_servicetypesdir\" \
2653
kde_moduledir=\"$kde_moduledir\" \
2654
kde_styledir=\"$kde_styledir\" \
2655
kde_widgetdir=\"$kde_widgetdir\" \
2656
xdg_appsdir=\"$xdg_appsdir\" \
2657
xdg_menudir=\"$xdg_menudir\" \
2658
xdg_directorydir=\"$xdg_directorydir\" \
2659
kde_result=$kde_result"
2664
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
2665
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
2666
{ (exit 1); exit 1; }; }
2675
eval "$kde_cv_all_paths"
2676
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
2677
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
2678
test -z "$kde_datadir" || test -z "$kde_locale" ||
2679
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
2680
test -z "$kde_kcfgdir" ||
2681
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
2682
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
2683
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
2684
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
2685
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
2686
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
2687
test "x$kde_have_all_paths" != "xyes"; then
2688
kde_have_all_paths=no
2691
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
2692
# wrong values were cached, may be, we can set better ones
2694
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
2695
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
2696
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
2697
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
2701
xdg_appsdir = xdg_menudir= xdg_directorydir=
2703
if test "default" = "default"; then
2705
if test -z "$kde_htmldir"; then
2706
kde_htmldir='\${datadir}/doc/HTML'
2708
if test -z "$kde_appsdir"; then
2709
kde_appsdir='\${datadir}/applnk'
2711
if test -z "$kde_icondir"; then
2712
kde_icondir='\${datadir}/icons'
2714
if test -z "$kde_sounddir"; then
2715
kde_sounddir='\${datadir}/sounds'
2717
if test -z "$kde_datadir"; then
2718
kde_datadir='\${datadir}/apps'
2720
if test -z "$kde_locale"; then
2721
kde_locale='\${datadir}/locale'
2723
if test -z "$kde_cgidir"; then
2724
kde_cgidir='\${exec_prefix}/cgi-bin'
2726
if test -z "$kde_confdir"; then
2727
kde_confdir='\${datadir}/config'
2729
if test -z "$kde_kcfgdir"; then
2730
kde_kcfgdir='\${datadir}/config.kcfg'
2732
if test -z "$kde_mimedir"; then
2733
kde_mimedir='\${datadir}/mimelnk'
2735
if test -z "$kde_toolbardir"; then
2736
kde_toolbardir='\${datadir}/toolbar'
2738
if test -z "$kde_wallpaperdir"; then
2739
kde_wallpaperdir='\${datadir}/wallpapers'
2741
if test -z "$kde_templatesdir"; then
2742
kde_templatesdir='\${datadir}/templates'
2744
if test -z "$kde_bindir"; then
2745
kde_bindir='\${exec_prefix}/bin'
2747
if test -z "$kde_servicesdir"; then
2748
kde_servicesdir='\${datadir}/services'
2750
if test -z "$kde_servicetypesdir"; then
2751
kde_servicetypesdir='\${datadir}/servicetypes'
2753
if test -z "$kde_moduledir"; then
2754
if test "$kde_qtver" = "2"; then
2755
kde_moduledir='\${libdir}/kde2'
2757
kde_moduledir='\${libdir}/kde3'
2760
if test -z "$kde_styledir"; then
2761
kde_styledir='\${libdir}/kde3/plugins/styles'
2763
if test -z "$kde_widgetdir"; then
2764
kde_widgetdir='\${libdir}/kde3/plugins/designer'
2766
if test -z "$xdg_appsdir"; then
2767
xdg_appsdir='\${datadir}/applications/kde'
2769
if test -z "$xdg_menudir"; then
2770
xdg_menudir='\${sysconfdir}/xdg/menus'
2772
if test -z "$xdg_directorydir"; then
2773
xdg_directorydir='\${datadir}/desktop-directories'
2777
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
2778
kde_htmldir=\"$kde_htmldir\" \
2779
kde_appsdir=\"$kde_appsdir\" \
2780
kde_icondir=\"$kde_icondir\" \
2781
kde_sounddir=\"$kde_sounddir\" \
2782
kde_datadir=\"$kde_datadir\" \
2783
kde_locale=\"$kde_locale\" \
2784
kde_cgidir=\"$kde_cgidir\" \
2785
kde_confdir=\"$kde_confdir\" \
2786
kde_kcfgdir=\"$kde_kcfgdir\" \
2787
kde_mimedir=\"$kde_mimedir\" \
2788
kde_toolbardir=\"$kde_toolbardir\" \
2789
kde_wallpaperdir=\"$kde_wallpaperdir\" \
2790
kde_templatesdir=\"$kde_templatesdir\" \
2791
kde_bindir=\"$kde_bindir\" \
2792
kde_servicesdir=\"$kde_servicesdir\" \
2793
kde_servicetypesdir=\"$kde_servicetypesdir\" \
2794
kde_moduledir=\"$kde_moduledir\" \
2795
kde_styledir=\"$kde_styledir\" \
2796
kde_widgetdir=\"$kde_widgetdir\" \
2797
xdg_appsdir=\"$xdg_appsdir\" \
2798
xdg_menudir=\"$xdg_menudir\" \
2799
xdg_directorydir=\"$xdg_directorydir\" \
2800
kde_result=defaults"
2805
if test $kde_qtver = 1; then
2806
{ echo "$as_me:$LINENO: result: compiling" >&5
2807
echo "${ECHO_T}compiling" >&6; }
2810
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
2811
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
2814
ac_cpp='$CXXCPP $CPPFLAGS'
2815
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2816
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2817
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2819
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2822
cat > conftest.$ac_ext <<EOF
2824
# include <stdlib.h>
2827
#include "confdefs.h"
2831
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
2832
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
2833
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
2834
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
2835
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
2836
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
2837
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
2838
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
2839
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
2840
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
2841
printf("kde_wallpaperdir=\\"%s\\"\n",
2842
KApplication::kde_wallpaperdir().data());
2843
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
2844
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
2845
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
2846
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
2847
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
2848
printf("kde_styledir=\\"/tmp/dummy\\"\n");
2849
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
2850
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
2851
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
2852
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
2853
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
2858
ac_save_CPPFLAGS=$CPPFLAGS
2859
CPPFLAGS="$all_includes $CPPFLAGS"
2860
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861
(eval $ac_compile) 2>&5
2863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864
(exit $ac_status); }; then
2865
{ echo "$as_me:$LINENO: result: yes" >&5
2866
echo "${ECHO_T}yes" >&6; }
2868
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
2869
Check, if you installed the KDE header files correctly.
2870
For more details about this problem, look at the end of config.log." >&5
2871
echo "$as_me: error: your system is not able to compile a small KDE application!
2872
Check, if you installed the KDE header files correctly.
2873
For more details about this problem, look at the end of config.log." >&2;}
2874
{ (exit 1); exit 1; }; }
2876
CPPFLAGS=$ac_save_CPPFLAGS
2879
ac_cpp='$CPP $CPPFLAGS'
2880
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2888
if test -n "$USE_RPATH"; then
2890
if test -n "$kde_libraries"; then
2891
KDE_TEST_RPATH="-R $kde_libraries"
2894
if test -n "$qt_libraries"; then
2895
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
2898
if test -n "$x_libraries"; then
2899
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
2902
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
2905
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
2906
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
2907
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
2909
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2910
(eval $ac_link) 2>&5
2912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913
(exit $ac_status); } && test -s conftest; then
2914
{ echo "$as_me:$LINENO: result: yes" >&5
2915
echo "${ECHO_T}yes" >&6; }
2917
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
2918
Check, if your compiler is installed correctly and if you have used the
2919
same compiler to compile Qt and kdelibs as you did use now.
2920
For more details about this problem, look at the end of config.log." >&5
2921
echo "$as_me: error: your system fails at linking a small KDE application!
2922
Check, if your compiler is installed correctly and if you have used the
2923
same compiler to compile Qt and kdelibs as you did use now.
2924
For more details about this problem, look at the end of config.log." >&2;}
2925
{ (exit 1); exit 1; }; }
2928
if eval `KDEDIR= ./conftest 2>&5`; then
2934
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
2935
kde_have_all_paths=yes
2938
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
2939
kde_htmldir=\"$kde_htmldir\" \
2940
kde_appsdir=\"$kde_appsdir\" \
2941
kde_icondir=\"$kde_icondir\" \
2942
kde_sounddir=\"$kde_sounddir\" \
2943
kde_datadir=\"$kde_datadir\" \
2944
kde_locale=\"$kde_locale\" \
2945
kde_cgidir=\"$kde_cgidir\" \
2946
kde_confdir=\"$kde_confdir\" \
2947
kde_kcfgdir=\"$kde_kcfgdir\" \
2948
kde_mimedir=\"$kde_mimedir\" \
2949
kde_toolbardir=\"$kde_toolbardir\" \
2950
kde_wallpaperdir=\"$kde_wallpaperdir\" \
2951
kde_templatesdir=\"$kde_templatesdir\" \
2952
kde_bindir=\"$kde_bindir\" \
2953
kde_servicesdir=\"$kde_servicesdir\" \
2954
kde_servicetypesdir=\"$kde_servicetypesdir\" \
2955
kde_moduledir=\"$kde_moduledir\" \
2956
kde_styledir=\"$kde_styledir\" \
2957
kde_widgetdir=\"$kde_widgetdir\" \
2958
xdg_appsdir=\"$xdg_appsdir\" \
2959
xdg_menudir=\"$xdg_menudir\" \
2960
xdg_directorydir=\"$xdg_directorydir\" \
2961
kde_result=$kde_result"
2966
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
2967
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
2968
{ (exit 1); exit 1; }; }
2973
eval "$kde_cv_all_paths"
2974
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
2975
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
2976
test -z "$kde_datadir" || test -z "$kde_locale" ||
2977
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
2978
test -z "$kde_kcfgdir" ||
2979
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
2980
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
2981
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
2982
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
2983
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
2984
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
2985
test "x$kde_have_all_paths" != "xyes"; then
2986
kde_have_all_paths=no
2989
kde_result="$kde_result (cache overridden)"
2991
if test "$kde_have_all_paths" = "no"; then
2992
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
2993
Since it had compiled and linked before, it must be a strange problem on your system.
2994
Look at config.log for details. If you are not able to fix this, look at
2995
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
2996
(If you're using an egcs version on Linux, you may update binutils!)
2998
echo "$as_me: error: configure could not run a little KDE program to test the environment.
2999
Since it had compiled and linked before, it must be a strange problem on your system.
3000
Look at config.log for details. If you are not able to fix this, look at
3001
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
3002
(If you're using an egcs version on Linux, you may update binutils!)
3004
{ (exit 1); exit 1; }; }
3007
{ echo "$as_me:$LINENO: result: $kde_result" >&5
3008
echo "${ECHO_T}$kde_result" >&6; }
3015
# Check whether --with-arts was given.
3016
if test "${with_arts+set}" = set; then
3017
withval=$with_arts; build_arts=$withval
3023
if test "$build_arts" '!=' "no"; then
3025
include_ARTS_FALSE='#'
3027
include_ARTS_TRUE='#'
3031
if test "$build_arts" = "no"; then
3033
cat >>confdefs.h <<\_ACEOF
3034
@%:@define WITHOUT_ARTS 1
3040
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
3041
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
3042
if test -n "$KDEDIRS"; then
3045
for dir in $KDEDIRS; do
3046
kde_default_bindirs="$dir/bin $kde_default_bindirs "
3051
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
3053
{ echo "$as_me:$LINENO: checking for dcopidl" >&5
3054
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
3055
if test -n "$DCOPIDL"; then
3056
kde_cv_path="$DCOPIDL";
3058
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
3060
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3061
echo $ECHO_N "(cached) $ECHO_C" >&6
3068
for dir in $PATH; do
3071
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3072
else dirs="$dirs $kde_default_bindirs"
3076
for dir in $dirs; do
3077
if test -x "$dir/dcopidl"; then
3080
evalstr="$dir/dcopidl 2>&1 "
3081
if eval $evalstr; then
3082
kde_cv_path="$dir/dcopidl"
3086
kde_cv_path="$dir/dcopidl"
3092
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3098
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3102
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3103
{ echo "$as_me:$LINENO: result: not found" >&5
3104
echo "${ECHO_T}not found" >&6; }
3106
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
3107
Please check whether you installed KDE correctly.
3109
echo "$as_me: error: The important program dcopidl was not found!
3110
Please check whether you installed KDE correctly.
3112
{ (exit 1); exit 1; }; }
3115
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3116
echo "${ECHO_T}$kde_cv_path" >&6; }
3117
DCOPIDL=$kde_cv_path
3122
{ echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
3123
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
3124
if test -n "$DCOPIDL2CPP"; then
3125
kde_cv_path="$DCOPIDL2CPP";
3127
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
3129
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3130
echo $ECHO_N "(cached) $ECHO_C" >&6
3137
for dir in $PATH; do
3140
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3141
else dirs="$dirs $kde_default_bindirs"
3145
for dir in $dirs; do
3146
if test -x "$dir/dcopidl2cpp"; then
3149
evalstr="$dir/dcopidl2cpp 2>&1 "
3150
if eval $evalstr; then
3151
kde_cv_path="$dir/dcopidl2cpp"
3155
kde_cv_path="$dir/dcopidl2cpp"
3161
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3167
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3171
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3172
{ echo "$as_me:$LINENO: result: not found" >&5
3173
echo "${ECHO_T}not found" >&6; }
3175
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
3176
Please check whether you installed KDE correctly.
3178
echo "$as_me: error: The important program dcopidl2cpp was not found!
3179
Please check whether you installed KDE correctly.
3181
{ (exit 1); exit 1; }; }
3184
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3185
echo "${ECHO_T}$kde_cv_path" >&6; }
3186
DCOPIDL2CPP=$kde_cv_path
3190
if test "$build_arts" '!=' "no"; then
3192
{ echo "$as_me:$LINENO: checking for mcopidl" >&5
3193
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
3194
if test -n "$MCOPIDL"; then
3195
kde_cv_path="$MCOPIDL";
3197
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
3199
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3200
echo $ECHO_N "(cached) $ECHO_C" >&6
3207
for dir in $PATH; do
3210
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3211
else dirs="$dirs $kde_default_bindirs"
3215
for dir in $dirs; do
3216
if test -x "$dir/mcopidl"; then
3219
evalstr="$dir/mcopidl 2>&1 "
3220
if eval $evalstr; then
3221
kde_cv_path="$dir/mcopidl"
3225
kde_cv_path="$dir/mcopidl"
3231
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3237
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3241
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3242
{ echo "$as_me:$LINENO: result: not found" >&5
3243
echo "${ECHO_T}not found" >&6; }
3245
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
3246
Please check whether you installed aRts correctly or use
3247
--without-arts to compile without aRts support (this will remove functionality).
3249
echo "$as_me: error: The important program mcopidl was not found!
3250
Please check whether you installed aRts correctly or use
3251
--without-arts to compile without aRts support (this will remove functionality).
3253
{ (exit 1); exit 1; }; }
3256
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3257
echo "${ECHO_T}$kde_cv_path" >&6; }
3258
MCOPIDL=$kde_cv_path
3263
{ echo "$as_me:$LINENO: checking for artsc-config" >&5
3264
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
3265
if test -n "$ARTSCCONFIG"; then
3266
kde_cv_path="$ARTSCCONFIG";
3268
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
3270
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3271
echo $ECHO_N "(cached) $ECHO_C" >&6
3278
for dir in $PATH; do
3281
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3282
else dirs="$dirs $kde_default_bindirs"
3286
for dir in $dirs; do
3287
if test -x "$dir/artsc-config"; then
3290
evalstr="$dir/artsc-config 2>&1 "
3291
if eval $evalstr; then
3292
kde_cv_path="$dir/artsc-config"
3296
kde_cv_path="$dir/artsc-config"
3302
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3308
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3312
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3313
{ echo "$as_me:$LINENO: result: not found" >&5
3314
echo "${ECHO_T}not found" >&6; }
3316
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
3317
Please check whether you installed aRts correctly or use
3318
--without-arts to compile without aRts support (this will remove functionality).
3320
echo "$as_me: error: The important program artsc-config was not found!
3321
Please check whether you installed aRts correctly or use
3322
--without-arts to compile without aRts support (this will remove functionality).
3324
{ (exit 1); exit 1; }; }
3327
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3328
echo "${ECHO_T}$kde_cv_path" >&6; }
3329
ARTSCCONFIG=$kde_cv_path
3335
{ echo "$as_me:$LINENO: checking for meinproc" >&5
3336
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
3337
if test -n "$MEINPROC"; then
3338
kde_cv_path="$MEINPROC";
3340
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
3342
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3343
echo $ECHO_N "(cached) $ECHO_C" >&6
3350
for dir in $PATH; do
3353
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3354
else dirs="$dirs $kde_default_bindirs"
3358
for dir in $dirs; do
3359
if test -x "$dir/meinproc"; then
3362
evalstr="$dir/meinproc 2>&1 "
3363
if eval $evalstr; then
3364
kde_cv_path="$dir/meinproc"
3368
kde_cv_path="$dir/meinproc"
3374
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3380
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3384
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3385
{ echo "$as_me:$LINENO: result: not found" >&5
3386
echo "${ECHO_T}not found" >&6; }
3389
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3390
echo "${ECHO_T}$kde_cv_path" >&6; }
3391
MEINPROC=$kde_cv_path
3398
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
3402
if test "$kde_qtver" = "3"; then
3403
if test "$kde_qtsubver" -le 1; then
3406
if test "$kde_qtsubver" -le 2; then
3409
if test "$KDECONFIG" != "compiled"; then
3410
if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
3417
if test -n "$kde32ornewer"; then
3419
{ echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
3420
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
3421
if test -n "$KCONFIG_COMPILER"; then
3422
kde_cv_path="$KCONFIG_COMPILER";
3424
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
3426
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3427
echo $ECHO_N "(cached) $ECHO_C" >&6
3434
for dir in $PATH; do
3437
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3438
else dirs="$dirs $kde_default_bindirs"
3442
for dir in $dirs; do
3443
if test -x "$dir/kconfig_compiler"; then
3446
evalstr="$dir/kconfig_compiler 2>&1 "
3447
if eval $evalstr; then
3448
kde_cv_path="$dir/kconfig_compiler"
3452
kde_cv_path="$dir/kconfig_compiler"
3458
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3464
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3468
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3469
{ echo "$as_me:$LINENO: result: not found" >&5
3470
echo "${ECHO_T}not found" >&6; }
3472
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
3473
Please check whether you installed KDE correctly.
3475
echo "$as_me: error: The important program kconfig_compiler was not found!
3476
Please check whether you installed KDE correctly.
3478
{ (exit 1); exit 1; }; }
3481
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3482
echo "${ECHO_T}$kde_cv_path" >&6; }
3483
KCONFIG_COMPILER=$kde_cv_path
3488
{ echo "$as_me:$LINENO: checking for dcopidlng" >&5
3489
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
3490
if test -n "$DCOPIDLNG"; then
3491
kde_cv_path="$DCOPIDLNG";
3493
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
3495
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3496
echo $ECHO_N "(cached) $ECHO_C" >&6
3503
for dir in $PATH; do
3506
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3507
else dirs="$dirs $kde_default_bindirs"
3511
for dir in $dirs; do
3512
if test -x "$dir/dcopidlng"; then
3515
evalstr="$dir/dcopidlng 2>&1 "
3516
if eval $evalstr; then
3517
kde_cv_path="$dir/dcopidlng"
3521
kde_cv_path="$dir/dcopidlng"
3527
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3533
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3537
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3538
{ echo "$as_me:$LINENO: result: not found" >&5
3539
echo "${ECHO_T}not found" >&6; }
3541
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
3542
Please check whether you installed KDE correctly.
3544
echo "$as_me: error: The important program dcopidlng was not found!
3545
Please check whether you installed KDE correctly.
3547
{ (exit 1); exit 1; }; }
3550
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3551
echo "${ECHO_T}$kde_cv_path" >&6; }
3552
DCOPIDLNG=$kde_cv_path
3557
if test -n "$kde33ornewer"; then
3559
{ echo "$as_me:$LINENO: checking for makekdewidgets" >&5
3560
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
3561
if test -n "$MAKEKDEWIDGETS"; then
3562
kde_cv_path="$MAKEKDEWIDGETS";
3564
kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
3566
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3567
echo $ECHO_N "(cached) $ECHO_C" >&6
3574
for dir in $PATH; do
3577
if test -z ""; then dirs="$kde_default_bindirs $dirs"
3578
else dirs="$dirs $kde_default_bindirs"
3582
for dir in $dirs; do
3583
if test -x "$dir/makekdewidgets"; then
3586
evalstr="$dir/makekdewidgets 2>&1 "
3587
if eval $evalstr; then
3588
kde_cv_path="$dir/makekdewidgets"
3592
kde_cv_path="$dir/makekdewidgets"
3598
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3604
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3608
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3609
{ echo "$as_me:$LINENO: result: not found" >&5
3610
echo "${ECHO_T}not found" >&6; }
3612
{ { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
3613
Please check whether you installed KDE correctly.
3615
echo "$as_me: error: The important program makekdewidgets was not found!
3616
Please check whether you installed KDE correctly.
3618
{ (exit 1); exit 1; }; }
3621
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3622
echo "${ECHO_T}$kde_cv_path" >&6; }
3623
MAKEKDEWIDGETS=$kde_cv_path
3630
{ echo "$as_me:$LINENO: checking for xmllint" >&5
3631
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
3632
if test -n "$XMLLINT"; then
3633
kde_cv_path="$XMLLINT";
3635
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
3637
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3638
echo $ECHO_N "(cached) $ECHO_C" >&6
3645
for dir in $PATH; do
3648
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
3649
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
3653
for dir in $dirs; do
3654
if test -x "$dir/xmllint"; then
3657
evalstr="$dir/xmllint 2>&1 "
3658
if eval $evalstr; then
3659
kde_cv_path="$dir/xmllint"
3663
kde_cv_path="$dir/xmllint"
3669
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3675
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3679
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3680
{ echo "$as_me:$LINENO: result: not found" >&5
3681
echo "${ECHO_T}not found" >&6; }
3684
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3685
echo "${ECHO_T}$kde_cv_path" >&6; }
3686
XMLLINT=$kde_cv_path
3691
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
3692
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
3693
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
3695
KDE_XSL_STYLESHEET=NO
3696
for i in $kde_sharedirs;
3698
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
3700
echo "configure: __oline__: $i/$j" >&5
3701
if test -r "$i/$j"; then
3702
echo "taking that" >&5
3703
KDE_XSL_STYLESHEET=$i
3709
if test "$KDE_XSL_STYLESHEET" = "NO"; then
3710
KDE_XSL_STYLESHEET=""
3712
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
3716
DCOP_DEPENDENCIES='$(DCOPIDL)'
3717
if test -n "$kde32ornewer"; then
3718
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
3719
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
3740
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
3741
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
3742
if test -n "$KDEDIRS"; then
3745
for dir in $KDEDIRS; do
3746
kde_default_bindirs="$dir/bin $kde_default_bindirs "
3751
if test "x$prefix" = "xNONE"; then
3753
{ echo "$as_me:$LINENO: checking for kde-config" >&5
3754
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
3755
if test -n "$KDECONFIG"; then
3756
kde_cv_path="$KDECONFIG";
3758
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
3760
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3761
echo $ECHO_N "(cached) $ECHO_C" >&6
3768
for dir in $PATH; do
3771
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
3772
else dirs="$dirs $kde_default_bindirs"
3776
for dir in $dirs; do
3777
if test -x "$dir/kde-config"; then
3780
evalstr="$dir/kde-config 2>&1 "
3781
if eval $evalstr; then
3782
kde_cv_path="$dir/kde-config"
3786
kde_cv_path="$dir/kde-config"
3792
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3798
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3802
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3803
{ echo "$as_me:$LINENO: result: not found" >&5
3804
echo "${ECHO_T}not found" >&6; }
3806
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
3807
Please check whether you installed KDE correctly.
3809
echo "$as_me: error: The important program kde-config was not found!
3810
Please check whether you installed KDE correctly.
3812
{ (exit 1); exit 1; }; }
3815
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3816
echo "${ECHO_T}$kde_cv_path" >&6; }
3817
KDECONFIG=$kde_cv_path
3822
kde_save_PATH="$PATH"
3823
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
3825
{ echo "$as_me:$LINENO: checking for kde-config" >&5
3826
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
3827
if test -n "$KDECONFIG"; then
3828
kde_cv_path="$KDECONFIG";
3830
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
3832
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
3833
echo $ECHO_N "(cached) $ECHO_C" >&6
3840
for dir in $PATH; do
3843
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
3844
else dirs="$dirs $kde_default_bindirs"
3848
for dir in $dirs; do
3849
if test -x "$dir/kde-config"; then
3852
evalstr="$dir/kde-config 2>&1 "
3853
if eval $evalstr; then
3854
kde_cv_path="$dir/kde-config"
3858
kde_cv_path="$dir/kde-config"
3864
eval "kde_cv_path_$kde_cache=$kde_cv_path"
3870
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
3874
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
3875
{ echo "$as_me:$LINENO: result: not found" >&5
3876
echo "${ECHO_T}not found" >&6; }
3878
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
3879
Please check whether you installed KDE correctly.
3881
echo "$as_me: error: The important program kde-config was not found!
3882
Please check whether you installed KDE correctly.
3884
{ (exit 1); exit 1; }; }
3887
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
3888
echo "${ECHO_T}$kde_cv_path" >&6; }
3889
KDECONFIG=$kde_cv_path
3893
PATH="$kde_save_PATH"
3896
kde_libs_prefix=`$KDECONFIG --prefix`
3897
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
3898
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
3899
This means it has been moved since you installed it.
3900
This won't work. Please recompile kdelibs for the new prefix.
3902
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
3903
This means it has been moved since you installed it.
3904
This won't work. Please recompile kdelibs for the new prefix.
3906
{ (exit 1); exit 1; }; }
3908
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
3910
{ echo "$as_me:$LINENO: checking where to install" >&5
3911
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
3912
if test "x$prefix" = "xNONE"; then
3913
prefix=$kde_libs_prefix
3914
{ echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
3915
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
3917
given_prefix=$prefix
3918
{ echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
3919
echo "${ECHO_T}$prefix (as requested)" >&6; }
3922
# And delete superfluous '/' to make compares easier
3923
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
3924
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
3925
given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
3932
# Check whether --enable-fast-perl was given.
3933
if test "${enable_fast_perl+set}" = set; then
3934
enableval=$enable_fast_perl; with_fast_perl=$enableval
3942
if test -f $srcdir/configure.files ; then
3943
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
3946
if test -n "$val" ; then
3948
CONF_FILES="$CONF_FILES $i"
3973
kdeinitdir='$(kde_moduledir)'
3977
if test "$kde_qtver" = 1; then
3978
kde_minidir="$kde_icondir/mini"
3980
# for KDE 1 - this breaks KDE2 apps using minidir, but
3981
# that's the plan ;-/
3982
kde_minidir="/dev/null"
3985
# Find a good install program. We prefer a C program (faster),
3986
# so one script is as good as another. But avoid the broken or
3987
# incompatible versions:
3988
# SysV /etc/install, /usr/sbin/install
3989
# SunOS /usr/etc/install
3990
# IRIX /sbin/install
3992
# AmigaOS /C/install, which installs bootblocks on floppy discs
3993
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3994
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3995
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3996
# OS/2's system install, which has a completely different semantic
3997
# ./install, which can be erroneously created by make from ./install.sh.
3998
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3999
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4000
if test -z "$INSTALL"; then
4001
if test "${ac_cv_path_install+set}" = set; then
4002
echo $ECHO_N "(cached) $ECHO_C" >&6
4004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008
test -z "$as_dir" && as_dir=.
4009
# Account for people who put trailing slashes in PATH elements.
4011
./ | .// | /cC/* | \
4012
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4013
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4016
# OSF1 and SCO ODT 3.0 have their own names for install.
4017
# Don't use installbsd from OSF since it installs stuff as root
4019
for ac_prog in ginstall scoinst install; do
4020
for ac_exec_ext in '' $ac_executable_extensions; do
4021
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4022
if test $ac_prog = install &&
4023
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4024
# AIX install. It has an incompatible calling convention.
4026
elif test $ac_prog = install &&
4027
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4028
# program-specific install script used by HP pwplus--don't use.
4031
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4044
if test "${ac_cv_path_install+set}" = set; then
4045
INSTALL=$ac_cv_path_install
4047
# As a last resort, use the slow shell script. Don't cache a
4048
# value for INSTALL within a source directory, because that will
4049
# break other packages using the cache if that directory is
4050
# removed, or if the value is a relative name.
4051
INSTALL=$ac_install_sh
4054
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4055
echo "${ECHO_T}$INSTALL" >&6; }
4057
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4058
# It thinks the first close brace ends the variable substitution.
4059
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4061
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4063
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4065
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4066
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4068
if test "$LN_S" = "ln -s"; then
4069
{ echo "$as_me:$LINENO: result: yes" >&5
4070
echo "${ECHO_T}yes" >&6; }
4072
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4073
echo "${ECHO_T}no, using $LN_S" >&6; }
4078
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
4081
if test ! -s $srcdir/subdirs; then
4082
files=`cd $srcdir && ls -1`
4083
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
4085
echo $i >> $srcdir/subdirs
4090
if test -s $srcdir/inst-apps; then
4091
ac_topsubdirs="`cat $srcdir/inst-apps`"
4092
elif test -s $srcdir/subdirs; then
4093
ac_topsubdirs="`cat $srcdir/subdirs`"
4096
for i in $ac_topsubdirs; do
4097
{ echo "$as_me:$LINENO: checking if $i should be compiled" >&5
4098
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
4099
if test -d $srcdir/$i; then
4101
for j in $DO_NOT_COMPILE; do
4102
if test $i = $j; then
4109
{ echo "$as_me:$LINENO: result: $install_it" >&5
4110
echo "${ECHO_T}$install_it" >&6; }
4111
vari=`echo $i | sed -e 's,[-+.@],_,g'`
4112
if test $install_it = "yes"; then
4113
TOPSUBDIRS="$TOPSUBDIRS $i"
4114
eval "$vari""_SUBDIR_included=yes"
4116
eval "$vari""_SUBDIR_included=no"
4122
ac_config_files="$ac_config_files Makefile"
4124
ac_config_files="$ac_config_files messages/Makefile"
4126
ac_config_files="$ac_config_files messages/kdeaddons/Makefile"
4128
ac_config_files="$ac_config_files messages/kdeartwork/Makefile"
4130
ac_config_files="$ac_config_files messages/kdebase/Makefile"
4132
ac_config_files="$ac_config_files messages/kdegraphics/Makefile"
4134
ac_config_files="$ac_config_files messages/kdelibs/Makefile"
4136
ac_config_files="$ac_config_files messages/kdepim/Makefile"
4138
ac_config_files="$ac_config_files messages/kdeutils/Makefile"
4140
cat >confcache <<\_ACEOF
4141
# This file is a shell script that caches the results of configure
4142
# tests run on this system so they can be shared between configure
4143
# scripts and configure runs, see configure's option --config-cache.
4144
# It is not useful on other systems. If it contains results you don't
4145
# want to keep, you may remove or edit it.
4147
# config.status only pays attention to the cache file if you give it
4148
# the --recheck option to rerun configure.
4150
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4151
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4156
# The following way of writing the cache mishandles newlines in values,
4157
# but we know of no workaround that is simple, portable, and efficient.
4158
# So, we kill variables containing newlines.
4159
# Ultrix sh set writes to stderr and can't be redirected directly,
4160
# and sets the high bit in the cache file unless we assign to the vars.
4162
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4163
eval ac_val=\$$ac_var
4167
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4168
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4171
_ | IFS | as_nl) ;; #(
4172
*) $as_unset $ac_var ;;
4178
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4179
*${as_nl}ac_space=\ *)
4180
# `set' does not quote correctly, so add quotes (double-quote
4181
# substitution turns \\\\ into \\, and sed turns \\ into \).
4184
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4187
# `set' quotes correctly as required by POSIX, so do not add quotes.
4188
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4197
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4199
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4201
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4202
if test -w "$cache_file"; then
4203
test "x$cache_file" != "x/dev/null" &&
4204
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4205
echo "$as_me: updating cache $cache_file" >&6;}
4206
cat confcache >$cache_file
4208
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4209
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4214
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4215
# Let make expand exec_prefix.
4216
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4218
DEFS=-DHAVE_CONFIG_H
4222
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4223
# 1. Remove the extension, and $U if already installed.
4224
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4225
ac_i=`echo "$ac_i" | sed "$ac_script"`
4226
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4227
# will be set to the directory where LIBOBJS objects are built.
4228
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4229
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4231
LIB@&t@OBJS=$ac_libobjs
4233
LTLIBOBJS=$ac_ltlibobjs
4236
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
4237
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
4238
Usually this means the macro was only invoked conditionally." >&5
4239
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
4240
Usually this means the macro was only invoked conditionally." >&2;}
4241
{ (exit 1); exit 1; }; }
4244
: ${CONFIG_STATUS=./config.status}
4245
ac_clean_files_save=$ac_clean_files
4246
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4247
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4248
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4249
cat >$CONFIG_STATUS <<_ACEOF
4251
# Generated by $as_me.
4252
# Run this file to recreate the current configuration.
4253
# Compiler output produced by configure, useful for debugging
4254
# configure, is in config.log if it exists.
4259
SHELL=\${CONFIG_SHELL-$SHELL}
4262
cat >>$CONFIG_STATUS <<\_ACEOF
4263
## --------------------- ##
4264
## M4sh Initialization. ##
4265
## --------------------- ##
4267
# Be more Bourne compatible
4268
DUALCASE=1; export DUALCASE # for MKS sh
4269
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4272
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4273
# is contrary to our usage. Disable this feature.
4274
alias -g '${1+"$@"}'='"$@"'
4275
setopt NO_GLOB_SUBST
4277
case `(set -o) 2>/dev/null` in
4278
*posix*) set -o posix ;;
4287
# Avoid depending upon Character Ranges.
4288
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4289
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4290
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4291
as_cr_digits='0123456789'
4292
as_cr_alnum=$as_cr_Letters$as_cr_digits
4294
# The user is always right.
4295
if test "${PATH_SEPARATOR+set}" != set; then
4296
echo "#! /bin/sh" >conf$$.sh
4297
echo "exit 0" >>conf$$.sh
4299
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4307
# Support unset when possible.
4308
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4316
# We need space, tab and new line, in precisely that order. Quoting is
4317
# there to prevent editors from complaining about space-tab.
4318
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4319
# splitting by setting IFS to empty value.)
4324
# Find who we are. Look in the path if we contain no directory separator.
4326
*[\\/]* ) as_myself=$0 ;;
4327
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4331
test -z "$as_dir" && as_dir=.
4332
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4338
# We did not find ourselves, most probably we were run as `sh COMMAND'
4339
# in which case we are not to be found in the path.
4340
if test "x$as_myself" = x; then
4343
if test ! -f "$as_myself"; then
4344
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4345
{ (exit 1); exit 1; }
4348
# Work around bugs in pre-3.0 UWIN ksh.
4349
for as_var in ENV MAIL MAILPATH
4350
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4358
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4359
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4360
LC_TELEPHONE LC_TIME
4362
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4363
eval $as_var=C; export $as_var
4365
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4369
# Required to use basename.
4370
if expr a : '\(a\)' >/dev/null 2>&1 &&
4371
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4377
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4378
as_basename=basename
4384
# Name of the executable.
4385
as_me=`$as_basename -- "$0" ||
4386
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4387
X"$0" : 'X\(//\)$' \| \
4388
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4390
sed '/^.*\/\([^/][^/]*\)\/*$/{
4411
test "x$as_lineno_1" != "x$as_lineno_2" &&
4412
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4414
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4415
# uniformly replaced by the line number. The first 'sed' inserts a
4416
# line-number line after each line using $LINENO; the second 'sed'
4417
# does the real work. The second script uses 'N' to pair each
4418
# line-number line with the line containing $LINENO, and appends
4419
# trailing '-' during substitution so that $LINENO is not a special
4421
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4422
# scripts with optimization help from Paolo Bonzini. Blame Lee
4423
# E. McMahon (1931-1989) for sed's syntax. :-)
4435
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4439
chmod +x "$as_me.lineno" ||
4440
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4441
{ (exit 1); exit 1; }; }
4443
# Don't try to exec as it changes $[0], causing all sort of problems
4444
# (the dirname of $[0] is not the place where we might find the
4445
# original and so on. Autoconf is especially sensitive to this).
4447
# Exit status is that of the last command.
4452
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4458
ECHO_C= ECHO_N= ECHO_T=
4461
case `echo 'x\c'` in
4462
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4469
if expr a : '\(a\)' >/dev/null 2>&1 &&
4470
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4476
rm -f conf$$ conf$$.exe conf$$.file
4477
if test -d conf$$.dir; then
4478
rm -f conf$$.dir/conf$$.file
4484
if ln -s conf$$.file conf$$ 2>/dev/null; then
4486
# ... but there are two gotchas:
4487
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4488
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4489
# In both cases, we have to default to `cp -p'.
4490
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4492
elif ln conf$$.file conf$$ 2>/dev/null; then
4497
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4498
rmdir conf$$.dir 2>/dev/null
4500
if mkdir -p . 2>/dev/null; then
4503
test -d ./-p && rmdir ./-p
4507
if test -x / >/dev/null 2>&1; then
4510
if ls -dL / >/dev/null 2>&1; then
4517
if test -d "$1"; then
4523
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4524
???[sx]*):;;*)false;;esac;fi
4528
as_executable_p=$as_test_x
4530
# Sed expression to map a string onto a valid CPP name.
4531
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4533
# Sed expression to map a string onto a valid variable name.
4534
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4539
# Save the log message, to keep $[0] and so on meaningful, and to
4540
# report actual input values of CONFIG_FILES etc. instead of their
4541
# values after options handling.
4543
This file was extended by $as_me, which was
4544
generated by GNU Autoconf 2.61. Invocation command line was
4546
CONFIG_FILES = $CONFIG_FILES
4547
CONFIG_HEADERS = $CONFIG_HEADERS
4548
CONFIG_LINKS = $CONFIG_LINKS
4549
CONFIG_COMMANDS = $CONFIG_COMMANDS
4552
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4557
cat >>$CONFIG_STATUS <<_ACEOF
4558
# Files that config.status was made for.
4559
config_files="$ac_config_files"
4560
config_headers="$ac_config_headers"
4564
cat >>$CONFIG_STATUS <<\_ACEOF
4566
\`$as_me' instantiates files from templates according to the
4567
current configuration.
4569
Usage: $0 [OPTIONS] [FILE]...
4571
-h, --help print this help, then exit
4572
-V, --version print version number and configuration settings, then exit
4573
-q, --quiet do not print progress messages
4574
-d, --debug don't remove temporary files
4575
--recheck update $as_me by reconfiguring in the same conditions
4576
--file=FILE[:TEMPLATE]
4577
instantiate the configuration file FILE
4578
--header=FILE[:TEMPLATE]
4579
instantiate the configuration header FILE
4581
Configuration files:
4584
Configuration headers:
4587
Report bugs to <bug-autoconf@gnu.org>."
4590
cat >>$CONFIG_STATUS <<_ACEOF
4593
configured by $0, generated by GNU Autoconf 2.61,
4594
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4596
Copyright (C) 2006 Free Software Foundation, Inc.
4597
This config.status script is free software; the Free Software Foundation
4598
gives unlimited permission to copy, distribute and modify it."
4606
cat >>$CONFIG_STATUS <<\_ACEOF
4607
# If no file are specified by the user, then we need to provide default
4608
# value. By we need to know if files were specified by the user.
4614
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4615
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4626
# Handling of the options.
4627
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4629
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4630
echo "$ac_cs_version"; exit ;;
4631
--debug | --debu | --deb | --de | --d | -d )
4633
--file | --fil | --fi | --f )
4635
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4636
ac_need_defaults=false;;
4637
--header | --heade | --head | --hea )
4639
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4640
ac_need_defaults=false;;
4642
# Conflict between --help and --header
4643
{ echo "$as_me: error: ambiguous option: $1
4644
Try \`$0 --help' for more information." >&2
4645
{ (exit 1); exit 1; }; };;
4646
--help | --hel | -h )
4647
echo "$ac_cs_usage"; exit ;;
4648
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4649
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4653
-*) { echo "$as_me: error: unrecognized option: $1
4654
Try \`$0 --help' for more information." >&2
4655
{ (exit 1); exit 1; }; } ;;
4657
*) ac_config_targets="$ac_config_targets $1"
4658
ac_need_defaults=false ;;
4664
ac_configure_extra_args=
4666
if $ac_cs_silent; then
4668
ac_configure_extra_args="$ac_configure_extra_args --silent"
4672
cat >>$CONFIG_STATUS <<_ACEOF
4673
if \$ac_cs_recheck; then
4674
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4677
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4681
cat >>$CONFIG_STATUS <<\_ACEOF
4685
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4686
@%:@@%:@ Running $as_me. @%:@@%:@
4692
cat >>$CONFIG_STATUS <<_ACEOF
4695
cat >>$CONFIG_STATUS <<\_ACEOF
4697
# Handling of arguments.
4698
for ac_config_target in $ac_config_targets
4700
case $ac_config_target in
4701
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4702
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4703
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
4704
"messages/kdeaddons/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdeaddons/Makefile" ;;
4705
"messages/kdeartwork/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdeartwork/Makefile" ;;
4706
"messages/kdebase/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdebase/Makefile" ;;
4707
"messages/kdegraphics/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdegraphics/Makefile" ;;
4708
"messages/kdelibs/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdelibs/Makefile" ;;
4709
"messages/kdepim/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdepim/Makefile" ;;
4710
"messages/kdeutils/Makefile") CONFIG_FILES="$CONFIG_FILES messages/kdeutils/Makefile" ;;
4712
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4713
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4714
{ (exit 1); exit 1; }; };;
4719
# If the user did not use the arguments to specify the items to instantiate,
4720
# then the envvar interface is used. Set only those that are not.
4721
# We use the long form for the default assignment because of an extremely
4722
# bizarre bug on SunOS 4.1.3.
4723
if $ac_need_defaults; then
4724
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4725
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4728
# Have a temporary directory for convenience. Make it in the build tree
4729
# simply because there is no reason against having it here, and in addition,
4730
# creating and moving files from /tmp can sometimes cause problems.
4731
# Hook for its removal unless debugging.
4732
# Note that there is a small window in which the directory will not be cleaned:
4733
# after its creation but before its name has been assigned to `$tmp'.
4737
trap 'exit_status=$?
4738
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4740
trap '{ (exit 1); exit 1; }' 1 2 13 15
4742
# Create a (secure) tmp directory for tmp files.
4745
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4746
test -n "$tmp" && test -d "$tmp"
4749
tmp=./conf$$-$RANDOM
4750
(umask 077 && mkdir "$tmp")
4753
echo "$me: cannot create a temporary directory in ." >&2
4754
{ (exit 1); exit 1; }
4758
# Set up the sed scripts for CONFIG_FILES section.
4761
# No need to generate the scripts if there are no CONFIG_FILES.
4762
# This happens for instance when ./config.status config.h
4763
if test -n "$CONFIG_FILES"; then
4770
for ac_last_try in false false false false false :; do
4771
cat >conf$$subs.sed <<_ACEOF
4772
SHELL!$SHELL$ac_delim
4773
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4774
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4775
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4776
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4777
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4778
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4779
exec_prefix!$exec_prefix$ac_delim
4780
prefix!$prefix$ac_delim
4781
program_transform_name!$program_transform_name$ac_delim
4782
bindir!$bindir$ac_delim
4783
sbindir!$sbindir$ac_delim
4784
libexecdir!$libexecdir$ac_delim
4785
datarootdir!$datarootdir$ac_delim
4786
datadir!$datadir$ac_delim
4787
sysconfdir!$sysconfdir$ac_delim
4788
sharedstatedir!$sharedstatedir$ac_delim
4789
localstatedir!$localstatedir$ac_delim
4790
includedir!$includedir$ac_delim
4791
oldincludedir!$oldincludedir$ac_delim
4792
docdir!$docdir$ac_delim
4793
infodir!$infodir$ac_delim
4794
htmldir!$htmldir$ac_delim
4795
dvidir!$dvidir$ac_delim
4796
pdfdir!$pdfdir$ac_delim
4797
psdir!$psdir$ac_delim
4798
libdir!$libdir$ac_delim
4799
localedir!$localedir$ac_delim
4800
mandir!$mandir$ac_delim
4802
ECHO_C!$ECHO_C$ac_delim
4803
ECHO_N!$ECHO_N$ac_delim
4804
ECHO_T!$ECHO_T$ac_delim
4806
build_alias!$build_alias$ac_delim
4807
host_alias!$host_alias$ac_delim
4808
target_alias!$target_alias$ac_delim
4809
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4810
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4811
INSTALL_DATA!$INSTALL_DATA$ac_delim
4812
am__isrc!$am__isrc$ac_delim
4813
CYGPATH_W!$CYGPATH_W$ac_delim
4814
PACKAGE!$PACKAGE$ac_delim
4815
VERSION!$VERSION$ac_delim
4816
ACLOCAL!$ACLOCAL$ac_delim
4817
AUTOCONF!$AUTOCONF$ac_delim
4818
AUTOMAKE!$AUTOMAKE$ac_delim
4819
AUTOHEADER!$AUTOHEADER$ac_delim
4820
MAKEINFO!$MAKEINFO$ac_delim
4821
install_sh!$install_sh$ac_delim
4822
STRIP!$STRIP$ac_delim
4823
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4824
mkdir_p!$mkdir_p$ac_delim
4826
SET_MAKE!$SET_MAKE$ac_delim
4827
am__leading_dot!$am__leading_dot$ac_delim
4828
AMTAR!$AMTAR$ac_delim
4829
am__tar!$am__tar$ac_delim
4830
am__untar!$am__untar$ac_delim
4831
AUTODIRS!$AUTODIRS$ac_delim
4832
MSGFMT!$MSGFMT$ac_delim
4833
GMSGFMT!$GMSGFMT$ac_delim
4834
XGETTEXT!$XGETTEXT$ac_delim
4835
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
4836
KDE_RPATH!$KDE_RPATH$ac_delim
4837
X_RPATH!$X_RPATH$ac_delim
4838
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
4839
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
4840
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
4841
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
4842
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
4843
DCOPIDLNG!$DCOPIDLNG$ac_delim
4844
DCOPIDL!$DCOPIDL$ac_delim
4845
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
4846
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
4847
MCOPIDL!$MCOPIDL$ac_delim
4848
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
4849
MEINPROC!$MEINPROC$ac_delim
4850
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
4851
XMLLINT!$XMLLINT$ac_delim
4852
KDECONFIG!$KDECONFIG$ac_delim
4853
kde_libs_prefix!$kde_libs_prefix$ac_delim
4854
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
4855
CONF_FILES!$CONF_FILES$ac_delim
4856
kde_htmldir!$kde_htmldir$ac_delim
4857
kde_appsdir!$kde_appsdir$ac_delim
4858
kde_icondir!$kde_icondir$ac_delim
4859
kde_sounddir!$kde_sounddir$ac_delim
4860
kde_datadir!$kde_datadir$ac_delim
4861
kde_locale!$kde_locale$ac_delim
4862
kde_confdir!$kde_confdir$ac_delim
4863
kde_kcfgdir!$kde_kcfgdir$ac_delim
4864
kde_mimedir!$kde_mimedir$ac_delim
4865
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
4866
kde_bindir!$kde_bindir$ac_delim
4867
xdg_appsdir!$xdg_appsdir$ac_delim
4868
xdg_menudir!$xdg_menudir$ac_delim
4871
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4873
elif $ac_last_try; then
4874
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4875
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4876
{ (exit 1); exit 1; }; }
4878
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4882
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4883
if test -n "$ac_eof"; then
4884
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4885
ac_eof=`expr $ac_eof + 1`
4888
cat >>$CONFIG_STATUS <<_ACEOF
4889
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4890
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4893
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4894
s/^/s,@/; s/!/@,|#_!!_#|/
4897
s/'"$ac_delim"'$/,g/; t
4899
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4900
' >>$CONFIG_STATUS <conf$$subs.sed
4901
rm -f conf$$subs.sed
4902
cat >>$CONFIG_STATUS <<_ACEOF
4908
for ac_last_try in false false false false false :; do
4909
cat >conf$$subs.sed <<_ACEOF
4910
xdg_directorydir!$xdg_directorydir$ac_delim
4911
kde_templatesdir!$kde_templatesdir$ac_delim
4912
kde_servicesdir!$kde_servicesdir$ac_delim
4913
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
4914
kde_moduledir!$kde_moduledir$ac_delim
4915
kdeinitdir!$kdeinitdir$ac_delim
4916
kde_styledir!$kde_styledir$ac_delim
4917
kde_widgetdir!$kde_widgetdir$ac_delim
4919
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
4920
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
4921
LTLIBOBJS!$LTLIBOBJS$ac_delim
4924
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
4926
elif $ac_last_try; then
4927
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4928
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4929
{ (exit 1); exit 1; }; }
4931
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4935
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4936
if test -n "$ac_eof"; then
4937
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4938
ac_eof=`expr $ac_eof + 1`
4941
cat >>$CONFIG_STATUS <<_ACEOF
4942
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4943
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4946
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4947
s/^/s,@/; s/!/@,|#_!!_#|/
4950
s/'"$ac_delim"'$/,g/; t
4952
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4953
' >>$CONFIG_STATUS <conf$$subs.sed
4954
rm -f conf$$subs.sed
4955
cat >>$CONFIG_STATUS <<_ACEOF
4962
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4963
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4964
# trailing colons and then remove the whole line if VPATH becomes empty
4965
# (actually we leave an empty line to preserve line numbers).
4966
if test "x$srcdir" = x.; then
4967
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4971
s/^\([^=]*=[ ]*\):*/\1/
4977
cat >>$CONFIG_STATUS <<\_ACEOF
4978
fi # test -n "$CONFIG_FILES"
4981
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
4984
:[FHLC]) ac_mode=$ac_tag; continue;;
4986
case $ac_mode$ac_tag in
4988
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4989
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4990
{ (exit 1); exit 1; }; };;
4991
:[FH]-) ac_tag=-:-;;
4992
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5009
-) ac_f="$tmp/stdin";;
5010
*) # Look for the file first in the build tree, then in the source tree
5011
# (if the path is not absolute). The absolute path cannot be DOS-style,
5012
# because $ac_f cannot contain `:'.
5016
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5018
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5019
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5020
{ (exit 1); exit 1; }; };;
5022
ac_file_inputs="$ac_file_inputs $ac_f"
5025
# Let's still pretend it is `configure' which instantiates (i.e., don't
5026
# use $as_me), people would be surprised to read:
5027
# /* config.h. Generated by config.status. */
5028
configure_input="Generated from "`IFS=:
5029
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5030
if test x"$ac_file" != x-; then
5031
configure_input="$ac_file. $configure_input"
5032
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5033
echo "$as_me: creating $ac_file" >&6;}
5037
*:-:* | *:-) cat >"$tmp/stdin";;
5042
ac_dir=`$as_dirname -- "$ac_file" ||
5043
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5044
X"$ac_file" : 'X\(//\)[^/]' \| \
5045
X"$ac_file" : 'X\(//\)$' \| \
5046
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5048
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5067
-*) as_dir=./$as_dir;;
5069
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5073
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5074
*) as_qdir=$as_dir;;
5076
as_dirs="'$as_qdir' $as_dirs"
5077
as_dir=`$as_dirname -- "$as_dir" ||
5078
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5079
X"$as_dir" : 'X\(//\)[^/]' \| \
5080
X"$as_dir" : 'X\(//\)$' \| \
5081
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5083
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5100
test -d "$as_dir" && break
5102
test -z "$as_dirs" || eval "mkdir $as_dirs"
5103
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5104
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5105
{ (exit 1); exit 1; }; }; }
5109
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5111
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5112
# A ".." for each directory in $ac_dir_suffix.
5113
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5114
case $ac_top_builddir_sub in
5115
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5116
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5119
ac_abs_top_builddir=$ac_pwd
5120
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5121
# for backward compatibility:
5122
ac_top_builddir=$ac_top_build_prefix
5125
.) # We are building in place.
5127
ac_top_srcdir=$ac_top_builddir_sub
5128
ac_abs_top_srcdir=$ac_pwd ;;
5129
[\\/]* | ?:[\\/]* ) # Absolute name.
5130
ac_srcdir=$srcdir$ac_dir_suffix;
5131
ac_top_srcdir=$srcdir
5132
ac_abs_top_srcdir=$srcdir ;;
5134
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5135
ac_top_srcdir=$ac_top_build_prefix$srcdir
5136
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5138
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5148
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5149
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5153
[\\/$]* | ?:[\\/]* ) ;;
5154
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5158
cat >>$CONFIG_STATUS <<\_ACEOF
5159
# If the template does not know about datarootdir, expand it.
5160
# FIXME: This hack should be removed a few years after 2.60.
5161
ac_datarootdir_hack=; ac_datarootdir_seen=
5163
case `sed -n '/datarootdir/ {
5172
' $ac_file_inputs` in
5173
*datarootdir*) ac_datarootdir_seen=yes;;
5174
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5175
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5176
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5178
cat >>$CONFIG_STATUS <<_ACEOF
5179
ac_datarootdir_hack='
5180
s&@datadir@&$datadir&g
5181
s&@docdir@&$docdir&g
5182
s&@infodir@&$infodir&g
5183
s&@localedir@&$localedir&g
5184
s&@mandir@&$mandir&g
5185
s&\\\${datarootdir}&$datarootdir&g' ;;
5189
# Neutralize VPATH when `$srcdir' = `.'.
5190
# Shell code in configure.ac might set extrasub.
5191
# FIXME: do we really want to maintain this feature?
5192
cat >>$CONFIG_STATUS <<_ACEOF
5196
cat >>$CONFIG_STATUS <<\_ACEOF
5198
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5199
s&@configure_input@&$configure_input&;t t
5200
s&@top_builddir@&$ac_top_builddir_sub&;t t
5201
s&@srcdir@&$ac_srcdir&;t t
5202
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5203
s&@top_srcdir@&$ac_top_srcdir&;t t
5204
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5205
s&@builddir@&$ac_builddir&;t t
5206
s&@abs_builddir@&$ac_abs_builddir&;t t
5207
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5208
s&@INSTALL@&$ac_INSTALL&;t t
5209
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5210
$ac_datarootdir_hack
5211
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5213
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5214
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5215
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5216
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5217
which seems to be undefined. Please make sure it is defined." >&5
5218
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5219
which seems to be undefined. Please make sure it is defined." >&2;}
5223
-) cat "$tmp/out"; rm -f "$tmp/out";;
5224
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5233
# Transform confdefs.h into a sed script `conftest.defines', that
5234
# substitutes the proper values into config.h.in to produce config.h.
5235
rm -f conftest.defines conftest.tail
5236
# First, append a space to every undef/define line, to ease matching.
5237
echo 's/$/ /' >conftest.defines
5238
# Then, protect against being on the right side of a sed subst, or in
5239
# an unquoted here document, in config.status. If some macros were
5240
# called several times there might be several #defines for the same
5241
# symbol, which is useless. But do not sort them, since the last
5242
# AC_DEFINE must be honored.
5243
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5244
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5245
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5246
# PARAMS is the parameter list in the macro definition--in most cases, it's
5247
# just an empty string.
5248
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5249
ac_dB='\\)[ (].*,\\1define\\2'
5257
s/^[ ]*#[ ]*define[ ][ ]*//
5262
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5263
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5264
' >>conftest.defines
5266
# Remove the space that was appended to ease matching.
5267
# Then replace #undef with comments. This is necessary, for
5268
# example, in the case of _POSIX_SOURCE, which is predefined and required
5269
# on some systems where configure will not decide to define it.
5270
# (The regexp can be short, since the line contains either #define or #undef.)
5272
s,^[ #]*u.*,/* & */,' >>conftest.defines
5274
# Break up conftest.defines:
5277
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5278
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5279
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5281
ac_in='$ac_file_inputs'
5282
ac_out='"$tmp/out1"'
5283
ac_nxt='"$tmp/out2"'
5287
# Write a here document:
5288
cat >>$CONFIG_STATUS <<_ACEOF
5289
# First, check the format of the line:
5290
cat >"\$tmp/defines.sed" <<\\CEOF
5291
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5292
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5296
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5298
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5299
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5300
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5301
grep . conftest.tail >/dev/null || break
5302
rm -f conftest.defines
5303
mv conftest.tail conftest.defines
5305
rm -f conftest.defines conftest.tail
5307
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5308
cat >>$CONFIG_STATUS <<\_ACEOF
5309
if test x"$ac_file" != x-; then
5310
echo "/* $configure_input */" >"$tmp/config.h"
5311
cat "$ac_result" >>"$tmp/config.h"
5312
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5313
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5314
echo "$as_me: $ac_file is unchanged" >&6;}
5317
mv "$tmp/config.h" $ac_file
5320
echo "/* $configure_input */"
5324
# Compute $ac_file's index in $config_headers.
5326
for _am_header in $config_headers :; do
5328
$ac_file | $ac_file:* )
5331
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5334
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5335
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5336
X$ac_file : 'X\(//\)[^/]' \| \
5337
X$ac_file : 'X\(//\)$' \| \
5338
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5340
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5356
s/.*/./; q'`/stamp-h$_am_stamp_count
5365
{ (exit 0); exit 0; }
5367
chmod +x $CONFIG_STATUS
5368
ac_clean_files=$ac_clean_files_save
5371
# configure is writing to config.log, and then calls config.status.
5372
# config.status does its own redirection, appending to config.log.
5373
# Unfortunately, on DOS this fails, as config.log is still kept open
5374
# by configure, so config.status won't be able to write to it; its
5375
# output is simply discarded. So we exec the FD to /dev/null,
5376
# effectively closing config.log, so it can be properly (re)opened and
5377
# appended to by config.status. When coming back to configure, we
5378
# need to make the FD available again.
5379
if test "$no_create" != yes; then
5381
ac_config_status_args=
5382
test "$silent" = yes &&
5383
ac_config_status_args="$ac_config_status_args --quiet"
5385
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5387
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5388
# would make configure fail if this is the last instruction.
5389
$ac_cs_success || { (exit 1); exit 1; }
5392
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
5393
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
5394
# And if so, warn when they don't match
5395
if test "$kde_libs_prefix" != "$given_prefix"; then
5396
# And if kde doesn't know about the prefix yet
5397
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
5398
if test $? -ne 0; then
5400
echo "Warning: you chose to install this package in $given_prefix,"
5401
echo "but KDE was found in $kde_libs_prefix."
5402
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
5403
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
5404
echo "Then restart KDE."
5410
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
5412
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
5413
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
5415
echo "For better performance, consider including the Qt visibility supporting patch"
5418
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
5420
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
5421
echo "everything will continue to work just fine without it."
5425
if test "$all_tests" = "bad"; then
5426
if test ! "$cache_file" = "/dev/null"; then
5428
echo "Please remove the file $cache_file after changing your setup"
5429
echo "so that configure will find the changes next time."
5434
echo "Good - your configure finished. Start make now"