2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for kid3 1.6.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
# ----------------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with STATUS, using 1 if that was 0.
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $2" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in #(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
test -n "$DJDIR" || exec 7<&0 </dev/null
533
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534
# so uname gets run too.
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
ac_default_prefix=/usr/local
542
ac_config_libobj_dir=.
549
# Identity of this package.
551
PACKAGE_TARNAME='kid3'
552
PACKAGE_VERSION='1.6'
553
PACKAGE_STRING='kid3 1.6'
557
# Factoring default headers for most tests.
558
ac_includes_default="\
560
#ifdef HAVE_SYS_TYPES_H
561
# include <sys/types.h>
563
#ifdef HAVE_SYS_STAT_H
564
# include <sys/stat.h>
570
# ifdef HAVE_STDLIB_H
575
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580
#ifdef HAVE_STRINGS_H
581
# include <strings.h>
583
#ifdef HAVE_INTTYPES_H
584
# include <inttypes.h>
593
ac_subst_vars='LTLIBOBJS
612
CFG_PRECOMPILED_HEADER
672
program_transform_name
685
enable_option_checking
710
ac_precious_vars='build_alias
724
# Initialize some variables set by options.
726
ac_init_version=false
727
ac_unrecognized_opts=
729
# The variables have the same names as the options, with
730
# dashes changed to underlines.
738
program_transform_name=s,x,x,
746
# Installation directory options.
747
# These are left unexpanded so users can "make install exec_prefix=/foo"
748
# and all the variables that are supposed to be based on exec_prefix
749
# by default will actually change.
750
# Use braces instead of parens because sh, perl, etc. also accept them.
751
# (The list follows the same order as the GNU Coding Standards.)
752
bindir='${exec_prefix}/bin'
753
sbindir='${exec_prefix}/sbin'
754
libexecdir='${exec_prefix}/libexec'
755
datarootdir='${prefix}/share'
756
datadir='${datarootdir}'
757
sysconfdir='${prefix}/etc'
758
sharedstatedir='${prefix}/com'
759
localstatedir='${prefix}/var'
760
includedir='${prefix}/include'
761
oldincludedir='/usr/include'
762
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
763
infodir='${datarootdir}/info'
768
libdir='${exec_prefix}/lib'
769
localedir='${datarootdir}/locale'
770
mandir='${datarootdir}/man'
776
# If the previous option needs an argument, assign it.
777
if test -n "$ac_prev"; then
778
eval $ac_prev=\$ac_option
784
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
789
# Accept the important Cygnus configure options, so we can diagnose typos.
791
case $ac_dashdash$ac_option in
795
-bindir | --bindir | --bindi | --bind | --bin | --bi)
797
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
800
-build | --build | --buil | --bui | --bu)
801
ac_prev=build_alias ;;
802
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
803
build_alias=$ac_optarg ;;
805
-cache-file | --cache-file | --cache-fil | --cache-fi \
806
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
807
ac_prev=cache_file ;;
808
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
809
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
810
cache_file=$ac_optarg ;;
813
cache_file=config.cache ;;
815
-datadir | --datadir | --datadi | --datad)
817
-datadir=* | --datadir=* | --datadi=* | --datad=*)
818
datadir=$ac_optarg ;;
820
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
821
| --dataroo | --dataro | --datar)
822
ac_prev=datarootdir ;;
823
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
824
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
825
datarootdir=$ac_optarg ;;
827
-disable-* | --disable-*)
828
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
829
# Reject names that are not valid shell variable names.
830
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
831
as_fn_error $? "invalid feature name: $ac_useropt"
832
ac_useropt_orig=$ac_useropt
833
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
834
case $ac_user_opts in
838
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
839
ac_unrecognized_sep=', ';;
841
eval enable_$ac_useropt=no ;;
843
-docdir | --docdir | --docdi | --doc | --do)
845
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
848
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
853
-enable-* | --enable-*)
854
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
855
# Reject names that are not valid shell variable names.
856
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
857
as_fn_error $? "invalid feature name: $ac_useropt"
858
ac_useropt_orig=$ac_useropt
859
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860
case $ac_user_opts in
864
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
865
ac_unrecognized_sep=', ';;
867
eval enable_$ac_useropt=\$ac_optarg ;;
869
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
870
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
871
| --exec | --exe | --ex)
872
ac_prev=exec_prefix ;;
873
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
874
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
875
| --exec=* | --exe=* | --ex=*)
876
exec_prefix=$ac_optarg ;;
878
-gas | --gas | --ga | --g)
879
# Obsolete; use --with-gas.
882
-help | --help | --hel | --he | -h)
884
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
885
ac_init_help=recursive ;;
886
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
887
ac_init_help=short ;;
889
-host | --host | --hos | --ho)
890
ac_prev=host_alias ;;
891
-host=* | --host=* | --hos=* | --ho=*)
892
host_alias=$ac_optarg ;;
894
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898
htmldir=$ac_optarg ;;
900
-includedir | --includedir | --includedi | --included | --include \
901
| --includ | --inclu | --incl | --inc)
902
ac_prev=includedir ;;
903
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
904
| --includ=* | --inclu=* | --incl=* | --inc=*)
905
includedir=$ac_optarg ;;
907
-infodir | --infodir | --infodi | --infod | --info | --inf)
909
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
910
infodir=$ac_optarg ;;
912
-libdir | --libdir | --libdi | --libd)
914
-libdir=* | --libdir=* | --libdi=* | --libd=*)
917
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
918
| --libexe | --libex | --libe)
919
ac_prev=libexecdir ;;
920
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
921
| --libexe=* | --libex=* | --libe=*)
922
libexecdir=$ac_optarg ;;
924
-localedir | --localedir | --localedi | --localed | --locale)
926
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
927
localedir=$ac_optarg ;;
929
-localstatedir | --localstatedir | --localstatedi | --localstated \
930
| --localstate | --localstat | --localsta | --localst | --locals)
931
ac_prev=localstatedir ;;
932
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
933
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
934
localstatedir=$ac_optarg ;;
936
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942
# Obsolete; use --without-fp.
945
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
946
| --no-cr | --no-c | -n)
949
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
950
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
953
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
954
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
955
| --oldin | --oldi | --old | --ol | --o)
956
ac_prev=oldincludedir ;;
957
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
958
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
959
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
960
oldincludedir=$ac_optarg ;;
962
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
967
-program-prefix | --program-prefix | --program-prefi | --program-pref \
968
| --program-pre | --program-pr | --program-p)
969
ac_prev=program_prefix ;;
970
-program-prefix=* | --program-prefix=* | --program-prefi=* \
971
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
972
program_prefix=$ac_optarg ;;
974
-program-suffix | --program-suffix | --program-suffi | --program-suff \
975
| --program-suf | --program-su | --program-s)
976
ac_prev=program_suffix ;;
977
-program-suffix=* | --program-suffix=* | --program-suffi=* \
978
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
979
program_suffix=$ac_optarg ;;
981
-program-transform-name | --program-transform-name \
982
| --program-transform-nam | --program-transform-na \
983
| --program-transform-n | --program-transform- \
984
| --program-transform | --program-transfor \
985
| --program-transfo | --program-transf \
986
| --program-trans | --program-tran \
987
| --progr-tra | --program-tr | --program-t)
988
ac_prev=program_transform_name ;;
989
-program-transform-name=* | --program-transform-name=* \
990
| --program-transform-nam=* | --program-transform-na=* \
991
| --program-transform-n=* | --program-transform-=* \
992
| --program-transform=* | --program-transfor=* \
993
| --program-transfo=* | --program-transf=* \
994
| --program-trans=* | --program-tran=* \
995
| --progr-tra=* | --program-tr=* | --program-t=*)
996
program_transform_name=$ac_optarg ;;
998
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001
pdfdir=$ac_optarg ;;
1003
-psdir | --psdir | --psdi | --psd | --ps)
1005
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1008
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009
| -silent | --silent | --silen | --sile | --sil)
1012
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016
sbindir=$ac_optarg ;;
1018
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1019
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020
| --sharedst | --shareds | --shared | --share | --shar \
1022
ac_prev=sharedstatedir ;;
1023
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027
sharedstatedir=$ac_optarg ;;
1029
-site | --site | --sit)
1031
-site=* | --site=* | --sit=*)
1034
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037
srcdir=$ac_optarg ;;
1039
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1040
| --syscon | --sysco | --sysc | --sys | --sy)
1041
ac_prev=sysconfdir ;;
1042
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1043
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1044
sysconfdir=$ac_optarg ;;
1046
-target | --target | --targe | --targ | --tar | --ta | --t)
1047
ac_prev=target_alias ;;
1048
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1049
target_alias=$ac_optarg ;;
1051
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1054
-version | --version | --versio | --versi | --vers | -V)
1055
ac_init_version=: ;;
1058
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059
# Reject names that are not valid shell variable names.
1060
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
as_fn_error $? "invalid package name: $ac_useropt"
1062
ac_useropt_orig=$ac_useropt
1063
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064
case $ac_user_opts in
1068
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1069
ac_unrecognized_sep=', ';;
1071
eval with_$ac_useropt=\$ac_optarg ;;
1073
-without-* | --without-*)
1074
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1075
# Reject names that are not valid shell variable names.
1076
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077
as_fn_error $? "invalid package name: $ac_useropt"
1078
ac_useropt_orig=$ac_useropt
1079
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080
case $ac_user_opts in
1084
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1085
ac_unrecognized_sep=', ';;
1087
eval with_$ac_useropt=no ;;
1090
# Obsolete; use --with-x.
1093
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1094
| --x-incl | --x-inc | --x-in | --x-i)
1095
ac_prev=x_includes ;;
1096
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1097
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1098
x_includes=$ac_optarg ;;
1100
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1101
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1102
ac_prev=x_libraries ;;
1103
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1104
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1105
x_libraries=$ac_optarg ;;
1107
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1108
Try \`$0 --help' for more information"
1112
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1113
# Reject names that are not valid shell variable names.
1114
case $ac_envvar in #(
1115
'' | [0-9]* | *[!_$as_cr_alnum]* )
1116
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1118
eval $ac_envvar=\$ac_optarg
1119
export $ac_envvar ;;
1122
# FIXME: should be removed in autoconf 3.0.
1123
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1124
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1126
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1132
if test -n "$ac_prev"; then
1133
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1134
as_fn_error $? "missing argument to $ac_option"
1137
if test -n "$ac_unrecognized_opts"; then
1138
case $enable_option_checking in
1140
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1141
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145
# Check all directory arguments for consistency.
1146
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1147
datadir sysconfdir sharedstatedir localstatedir includedir \
1148
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1149
libdir localedir mandir
1151
eval ac_val=\$$ac_var
1152
# Remove trailing slashes.
1155
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156
eval $ac_var=\$ac_val;;
1158
# Be sure to have absolute directory names.
1160
[\\/$]* | ?:[\\/]* ) continue;;
1161
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1166
# There might be people who depend on the old broken behavior: `$host'
1167
# used to hold the argument of --host etc.
1168
# FIXME: To remove some day.
1171
target=$target_alias
1173
# FIXME: To remove some day.
1174
if test "x$host_alias" != x; then
1175
if test "x$build_alias" = x; then
1176
cross_compiling=maybe
1177
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1178
If a cross compiler is detected then cross compile mode will be used" >&2
1179
elif test "x$build_alias" != "x$host_alias"; then
1185
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1187
test "$silent" = yes && exec 6>/dev/null
1190
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1191
ac_ls_di=`ls -di .` &&
1192
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1193
as_fn_error $? "working directory cannot be determined"
1194
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1195
as_fn_error $? "pwd does not report name of working directory"
1198
# Find the source files, if location was not specified.
1199
if test -z "$srcdir"; then
1200
ac_srcdir_defaulted=yes
1201
# Try the directory containing this script, then the parent directory.
1202
ac_confdir=`$as_dirname -- "$as_myself" ||
1203
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1204
X"$as_myself" : 'X\(//\)[^/]' \| \
1205
X"$as_myself" : 'X\(//\)$' \| \
1206
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1207
$as_echo X"$as_myself" |
1208
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226
if test ! -r "$srcdir/$ac_unique_file"; then
1230
ac_srcdir_defaulted=no
1232
if test ! -r "$srcdir/$ac_unique_file"; then
1233
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1234
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1236
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1240
# When building in place, set srcdir=.
1241
if test "$ac_abs_confdir" = "$ac_pwd"; then
1244
# Remove unnecessary trailing slashes from srcdir.
1245
# Double slashes in file names in object file debugging info
1246
# mess up M-x gdb in Emacs.
1248
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250
for ac_var in $ac_precious_vars; do
1251
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1252
eval ac_env_${ac_var}_value=\$${ac_var}
1253
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1254
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258
# Report the --help message.
1260
if test "$ac_init_help" = "long"; then
1261
# Omit some internal or obsolete options to make the list less imposing.
1262
# This message is too long to be a string in the A/UX 3.1 sh.
1264
\`configure' configures kid3 1.6 to adapt to many kinds of systems.
1266
Usage: $0 [OPTION]... [VAR=VALUE]...
1268
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1269
VAR=VALUE. See below for descriptions of some of the useful variables.
1271
Defaults for the options are specified in brackets.
1274
-h, --help display this help and exit
1275
--help=short display options specific to this package
1276
--help=recursive display the short help of all the included packages
1277
-V, --version display version information and exit
1278
-q, --quiet, --silent do not print \`checking ...' messages
1279
--cache-file=FILE cache test results in FILE [disabled]
1280
-C, --config-cache alias for \`--cache-file=config.cache'
1281
-n, --no-create do not create output files
1282
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1284
Installation directories:
1285
--prefix=PREFIX install architecture-independent files in PREFIX
1286
[$ac_default_prefix]
1287
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1290
By default, \`make install' will install all the files in
1291
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1292
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1293
for instance \`--prefix=\$HOME'.
1295
For better control, use the options below.
1297
Fine tuning of the installation directories:
1298
--bindir=DIR user executables [EPREFIX/bin]
1299
--sbindir=DIR system admin executables [EPREFIX/sbin]
1300
--libexecdir=DIR program executables [EPREFIX/libexec]
1301
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1302
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1303
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1304
--libdir=DIR object code libraries [EPREFIX/lib]
1305
--includedir=DIR C header files [PREFIX/include]
1306
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1307
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1308
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1309
--infodir=DIR info documentation [DATAROOTDIR/info]
1310
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1311
--mandir=DIR man documentation [DATAROOTDIR/man]
1312
--docdir=DIR documentation root [DATAROOTDIR/doc/kid3]
1313
--htmldir=DIR html documentation [DOCDIR]
1314
--dvidir=DIR dvi documentation [DOCDIR]
1315
--pdfdir=DIR pdf documentation [DOCDIR]
1316
--psdir=DIR ps documentation [DOCDIR]
1323
if test -n "$ac_init_help"; then
1324
case $ac_init_help in
1325
short | recursive ) echo "Configuration of kid3 1.6:";;
1330
--disable-option-checking ignore unrecognized --enable/--with options
1331
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1332
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1333
--enable-gcc-pch enable precompiled headers (gcc 3.4 required)
1334
--enable-debug enables debug symbols
1337
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1338
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1339
--with-taglib build with taglib, default=yes
1340
--with-mp4v2 build with mp4v2, default=yes
1341
--with-mp4v2-dir path to mpv4v2, default=/usr
1342
--with-id3lib build with id3lib, default=yes
1343
--with-kde build with KDE, default=yes
1344
--with-musicbrainz build with MusicBrainz, default=yes
1345
--with-vorbis build with ogg/vorbis, default=yes
1346
--with-flac build with FLAC, default=yes
1347
--with-bindir=DIR user executables directory, default=PREFIX/bin
1348
--with-datarootdir=DIR data root directory, default=PREFIX/share
1349
--with-docdir=DIR documentation directory, default=DATAROOTDIR/doc/kid3-qt
1350
--with-translationsdir=DIR translations directory, default=DATAROOTDIR/kid3-qt/translations
1351
--with-extra-includes=DIR adds non standard include paths
1352
--with-extra-libs=LIB adds non standard library options
1353
--with-extra-defines=D adds non standard defines
1354
--with-extra-cxxflags=F adds non standard compiler options
1355
--with-qmake=PROGRAM qmake command, default=qmake
1356
--with-dbus build with QtDBus, default=yes
1357
--with-phonon build with Phonon, default=yes
1358
--with-db2html=PROGRAM Docbook to HTML command (e.g. xsltproc, jw, xalan), default=search
1359
--with-xsl-stylesheet=P path to docbook.xsl, default=search
1361
Some influential environment variables:
1362
CXX C++ compiler command
1363
CXXFLAGS C++ compiler flags
1364
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1365
nonstandard directory <lib dir>
1366
LIBS libraries to pass to the linker, e.g. -l<library>
1367
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1368
you have headers in a nonstandard directory <include dir>
1369
CXXCPP C++ preprocessor
1370
CC C compiler command
1371
CFLAGS C compiler flags
1373
Use these variables to override the choices made by `configure' or to help
1374
it to find libraries and programs with nonstandard names/locations.
1376
Report bugs to the package provider.
1381
if test "$ac_init_help" = "recursive"; then
1382
# If there are subdirs, report their specific --help.
1383
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1384
test -d "$ac_dir" ||
1385
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1390
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1393
# A ".." for each directory in $ac_dir_suffix.
1394
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1395
case $ac_top_builddir_sub in
1396
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1400
ac_abs_top_builddir=$ac_pwd
1401
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1402
# for backward compatibility:
1403
ac_top_builddir=$ac_top_build_prefix
1406
.) # We are building in place.
1408
ac_top_srcdir=$ac_top_builddir_sub
1409
ac_abs_top_srcdir=$ac_pwd ;;
1410
[\\/]* | ?:[\\/]* ) # Absolute name.
1411
ac_srcdir=$srcdir$ac_dir_suffix;
1412
ac_top_srcdir=$srcdir
1413
ac_abs_top_srcdir=$srcdir ;;
1415
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1416
ac_top_srcdir=$ac_top_build_prefix$srcdir
1417
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1419
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1421
cd "$ac_dir" || { ac_status=$?; continue; }
1422
# Check for guested configure.
1423
if test -f "$ac_srcdir/configure.gnu"; then
1425
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1426
elif test -f "$ac_srcdir/configure"; then
1428
$SHELL "$ac_srcdir/configure" --help=recursive
1430
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1432
cd "$ac_pwd" || { ac_status=$?; break; }
1436
test -n "$ac_init_help" && exit $ac_status
1437
if $ac_init_version; then
1440
generated by GNU Autoconf 2.67
1442
Copyright (C) 2010 Free Software Foundation, Inc.
1443
This configure script is free software; the Free Software Foundation
1444
gives unlimited permission to copy, distribute and modify it.
1449
## ------------------------ ##
1450
## Autoconf initialization. ##
1451
## ------------------------ ##
1453
# ac_fn_cxx_try_compile LINENO
1454
# ----------------------------
1455
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1456
ac_fn_cxx_try_compile ()
1458
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1459
rm -f conftest.$ac_objext
1460
if { { ac_try="$ac_compile"
1462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1463
*) ac_try_echo=$ac_try;;
1465
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1466
$as_echo "$ac_try_echo"; } >&5
1467
(eval "$ac_compile") 2>conftest.err
1469
if test -s conftest.err; then
1470
grep -v '^ *+' conftest.err >conftest.er1
1471
cat conftest.er1 >&5
1472
mv -f conftest.er1 conftest.err
1474
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475
test $ac_status = 0; } && {
1476
test -z "$ac_cxx_werror_flag" ||
1477
test ! -s conftest.err
1478
} && test -s conftest.$ac_objext; then :
1481
$as_echo "$as_me: failed program was:" >&5
1482
sed 's/^/| /' conftest.$ac_ext >&5
1486
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1487
as_fn_set_status $ac_retval
1489
} # ac_fn_cxx_try_compile
1491
# ac_fn_cxx_try_cpp LINENO
1492
# ------------------------
1493
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1494
ac_fn_cxx_try_cpp ()
1496
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497
if { { ac_try="$ac_cpp conftest.$ac_ext"
1499
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500
*) ac_try_echo=$ac_try;;
1502
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503
$as_echo "$ac_try_echo"; } >&5
1504
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1506
if test -s conftest.err; then
1507
grep -v '^ *+' conftest.err >conftest.er1
1508
cat conftest.er1 >&5
1509
mv -f conftest.er1 conftest.err
1511
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512
test $ac_status = 0; } > conftest.i && {
1513
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1514
test ! -s conftest.err
1518
$as_echo "$as_me: failed program was:" >&5
1519
sed 's/^/| /' conftest.$ac_ext >&5
1523
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1524
as_fn_set_status $ac_retval
1526
} # ac_fn_cxx_try_cpp
1528
# ac_fn_c_try_compile LINENO
1529
# --------------------------
1530
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1531
ac_fn_c_try_compile ()
1533
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534
rm -f conftest.$ac_objext
1535
if { { ac_try="$ac_compile"
1537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538
*) ac_try_echo=$ac_try;;
1540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541
$as_echo "$ac_try_echo"; } >&5
1542
(eval "$ac_compile") 2>conftest.err
1544
if test -s conftest.err; then
1545
grep -v '^ *+' conftest.err >conftest.er1
1546
cat conftest.er1 >&5
1547
mv -f conftest.er1 conftest.err
1549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
test $ac_status = 0; } && {
1551
test -z "$ac_c_werror_flag" ||
1552
test ! -s conftest.err
1553
} && test -s conftest.$ac_objext; then :
1556
$as_echo "$as_me: failed program was:" >&5
1557
sed 's/^/| /' conftest.$ac_ext >&5
1561
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562
as_fn_set_status $ac_retval
1564
} # ac_fn_c_try_compile
1566
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1567
# ---------------------------------------------------------
1568
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1569
# the include files in INCLUDES and setting the cache variable VAR
1571
ac_fn_cxx_check_header_mongrel ()
1573
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574
if eval "test \"\${$3+set}\"" = set; then :
1575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1576
$as_echo_n "checking for $2... " >&6; }
1577
if eval "test \"\${$3+set}\"" = set; then :
1578
$as_echo_n "(cached) " >&6
1581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582
$as_echo "$ac_res" >&6; }
1584
# Is the header compilable?
1585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1586
$as_echo_n "checking $2 usability... " >&6; }
1587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1588
/* end confdefs.h. */
1592
if ac_fn_cxx_try_compile "$LINENO"; then :
1593
ac_header_compiler=yes
1595
ac_header_compiler=no
1597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1599
$as_echo "$ac_header_compiler" >&6; }
1601
# Is the header present?
1602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1603
$as_echo_n "checking $2 presence... " >&6; }
1604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605
/* end confdefs.h. */
1608
if ac_fn_cxx_try_cpp "$LINENO"; then :
1609
ac_header_preproc=yes
1611
ac_header_preproc=no
1613
rm -f conftest.err conftest.i conftest.$ac_ext
1614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1615
$as_echo "$ac_header_preproc" >&6; }
1617
# So? What about this header?
1618
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1620
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1621
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1622
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1623
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1627
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1628
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1629
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1631
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1633
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1635
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639
$as_echo_n "checking for $2... " >&6; }
1640
if eval "test \"\${$3+set}\"" = set; then :
1641
$as_echo_n "(cached) " >&6
1643
eval "$3=\$ac_header_compiler"
1646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647
$as_echo "$ac_res" >&6; }
1649
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1651
} # ac_fn_cxx_check_header_mongrel
1653
# ac_fn_cxx_try_run LINENO
1654
# ------------------------
1655
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656
# that executables *can* be run.
1657
ac_fn_cxx_try_run ()
1659
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660
if { { ac_try="$ac_link"
1662
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663
*) ac_try_echo=$ac_try;;
1665
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666
$as_echo "$ac_try_echo"; } >&5
1667
(eval "$ac_link") 2>&5
1669
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671
{ { case "(($ac_try" in
1672
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673
*) ac_try_echo=$ac_try;;
1675
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676
$as_echo "$ac_try_echo"; } >&5
1677
(eval "$ac_try") 2>&5
1679
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680
test $ac_status = 0; }; }; then :
1683
$as_echo "$as_me: program exited with status $ac_status" >&5
1684
$as_echo "$as_me: failed program was:" >&5
1685
sed 's/^/| /' conftest.$ac_ext >&5
1687
ac_retval=$ac_status
1689
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691
as_fn_set_status $ac_retval
1693
} # ac_fn_cxx_try_run
1695
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1696
# ---------------------------------------------------------
1697
# Tests whether HEADER exists and can be compiled using the include files in
1698
# INCLUDES, setting the cache variable VAR accordingly.
1699
ac_fn_cxx_check_header_compile ()
1701
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703
$as_echo_n "checking for $2... " >&6; }
1704
if eval "test \"\${$3+set}\"" = set; then :
1705
$as_echo_n "(cached) " >&6
1707
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708
/* end confdefs.h. */
1712
if ac_fn_cxx_try_compile "$LINENO"; then :
1717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721
$as_echo "$ac_res" >&6; }
1722
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724
} # ac_fn_cxx_check_header_compile
1726
# ac_fn_cxx_try_link LINENO
1727
# -------------------------
1728
# Try to link conftest.$ac_ext, and return whether this succeeded.
1729
ac_fn_cxx_try_link ()
1731
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
rm -f conftest.$ac_objext conftest$ac_exeext
1733
if { { ac_try="$ac_link"
1735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736
*) ac_try_echo=$ac_try;;
1738
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739
$as_echo "$ac_try_echo"; } >&5
1740
(eval "$ac_link") 2>conftest.err
1742
if test -s conftest.err; then
1743
grep -v '^ *+' conftest.err >conftest.er1
1744
cat conftest.er1 >&5
1745
mv -f conftest.er1 conftest.err
1747
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748
test $ac_status = 0; } && {
1749
test -z "$ac_cxx_werror_flag" ||
1750
test ! -s conftest.err
1751
} && test -s conftest$ac_exeext && {
1752
test "$cross_compiling" = yes ||
1753
$as_test_x conftest$ac_exeext
1757
$as_echo "$as_me: failed program was:" >&5
1758
sed 's/^/| /' conftest.$ac_ext >&5
1762
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1763
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1764
# interfere with the next link command; also delete a directory that is
1765
# left behind by Apple's compiler. We do this before executing the actions.
1766
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768
as_fn_set_status $ac_retval
1770
} # ac_fn_cxx_try_link
1771
cat >config.log <<_ACEOF
1772
This file contains any messages produced by compilers while
1773
running configure, to aid debugging if configure makes a mistake.
1775
It was created by kid3 $as_me 1.6, which was
1776
generated by GNU Autoconf 2.67. Invocation command line was
1788
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1789
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1790
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1791
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1792
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1794
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1795
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1797
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1798
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1799
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1800
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1801
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1802
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1803
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811
test -z "$as_dir" && as_dir=.
1812
$as_echo "PATH: $as_dir"
1828
# Keep a trace of the command line.
1829
# Strip out --no-create and --no-recursion so they do not pile up.
1830
# Strip out --silent because we don't want to record it for future runs.
1831
# Also quote any args containing shell meta-characters.
1832
# Make two passes to allow for proper duplicate-argument suppression.
1836
ac_must_keep_next=false
1842
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1843
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1844
| -silent | --silent | --silen | --sile | --sil)
1847
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1850
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1852
as_fn_append ac_configure_args1 " '$ac_arg'"
1853
if test $ac_must_keep_next = true; then
1854
ac_must_keep_next=false # Got value, back to normal.
1857
*=* | --config-cache | -C | -disable-* | --disable-* \
1858
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1859
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1860
| -with-* | --with-* | -without-* | --without-* | --x)
1861
case "$ac_configure_args0 " in
1862
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1865
-* ) ac_must_keep_next=true ;;
1868
as_fn_append ac_configure_args " '$ac_arg'"
1873
{ ac_configure_args0=; unset ac_configure_args0;}
1874
{ ac_configure_args1=; unset ac_configure_args1;}
1876
# When interrupted or exit'd, cleanup temporary files, and complete
1877
# config.log. We remove comments because anyway the quotes in there
1878
# would cause problems or look ugly.
1879
# WARNING: Use '\'' to represent an apostrophe within the trap.
1880
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1881
trap 'exit_status=$?
1882
# Save into config.log some information that might help in debugging.
1886
$as_echo "## ---------------- ##
1887
## Cache variables. ##
1888
## ---------------- ##"
1890
# The following way of writing the cache mishandles newlines in values,
1892
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1893
eval ac_val=\$$ac_var
1897
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1898
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1901
_ | IFS | as_nl) ;; #(
1902
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1903
*) { eval $ac_var=; unset $ac_var;} ;;
1908
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1909
*${as_nl}ac_space=\ *)
1911
"s/'\''/'\''\\\\'\'''\''/g;
1912
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1915
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1922
$as_echo "## ----------------- ##
1923
## Output variables. ##
1924
## ----------------- ##"
1926
for ac_var in $ac_subst_vars
1928
eval ac_val=\$$ac_var
1930
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932
$as_echo "$ac_var='\''$ac_val'\''"
1936
if test -n "$ac_subst_files"; then
1937
$as_echo "## ------------------- ##
1938
## File substitutions. ##
1939
## ------------------- ##"
1941
for ac_var in $ac_subst_files
1943
eval ac_val=\$$ac_var
1945
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1947
$as_echo "$ac_var='\''$ac_val'\''"
1952
if test -s confdefs.h; then
1953
$as_echo "## ----------- ##
1960
test "$ac_signal" != 0 &&
1961
$as_echo "$as_me: caught signal $ac_signal"
1962
$as_echo "$as_me: exit $exit_status"
1964
rm -f core *.core core.conftest.* &&
1965
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1968
for ac_signal in 1 2 13 15; do
1969
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1973
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1974
rm -f -r conftest* confdefs.h
1976
$as_echo "/* confdefs.h */" > confdefs.h
1978
# Predefined preprocessor variables.
1980
cat >>confdefs.h <<_ACEOF
1981
#define PACKAGE_NAME "$PACKAGE_NAME"
1984
cat >>confdefs.h <<_ACEOF
1985
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1988
cat >>confdefs.h <<_ACEOF
1989
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1992
cat >>confdefs.h <<_ACEOF
1993
#define PACKAGE_STRING "$PACKAGE_STRING"
1996
cat >>confdefs.h <<_ACEOF
1997
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2000
cat >>confdefs.h <<_ACEOF
2001
#define PACKAGE_URL "$PACKAGE_URL"
2005
# Let the site file select an alternate cache file if it wants to.
2006
# Prefer an explicitly selected file to automatically selected ones.
2009
if test -n "$CONFIG_SITE"; then
2010
# We do not want a PATH search for config.site.
2011
case $CONFIG_SITE in #((
2012
-*) ac_site_file1=./$CONFIG_SITE;;
2013
*/*) ac_site_file1=$CONFIG_SITE;;
2014
*) ac_site_file1=./$CONFIG_SITE;;
2016
elif test "x$prefix" != xNONE; then
2017
ac_site_file1=$prefix/share/config.site
2018
ac_site_file2=$prefix/etc/config.site
2020
ac_site_file1=$ac_default_prefix/share/config.site
2021
ac_site_file2=$ac_default_prefix/etc/config.site
2023
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2025
test "x$ac_site_file" = xNONE && continue
2026
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2027
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2028
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2029
sed 's/^/| /' "$ac_site_file" >&5
2031
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2032
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2033
as_fn_error $? "failed to load site script $ac_site_file
2034
See \`config.log' for more details" "$LINENO" 5 ; }
2038
if test -r "$cache_file"; then
2039
# Some versions of bash will fail to source /dev/null (special files
2040
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2041
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2043
$as_echo "$as_me: loading cache $cache_file" >&6;}
2045
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2046
*) . "./$cache_file";;
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2051
$as_echo "$as_me: creating cache $cache_file" >&6;}
2055
# Check that the precious variables saved in the cache have kept the same
2057
ac_cache_corrupted=false
2058
for ac_var in $ac_precious_vars; do
2059
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2060
eval ac_new_set=\$ac_env_${ac_var}_set
2061
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2062
eval ac_new_val=\$ac_env_${ac_var}_value
2063
case $ac_old_set,$ac_new_set in
2065
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2066
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2067
ac_cache_corrupted=: ;;
2069
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2070
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2071
ac_cache_corrupted=: ;;
2074
if test "x$ac_old_val" != "x$ac_new_val"; then
2075
# differences in whitespace do not lead to failure.
2076
ac_old_val_w=`echo x $ac_old_val`
2077
ac_new_val_w=`echo x $ac_new_val`
2078
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2079
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2080
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2081
ac_cache_corrupted=:
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2084
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2085
eval $ac_var=\$ac_old_val
2087
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2088
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2089
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2090
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2093
# Pass precious variables to config.status.
2094
if test "$ac_new_set" = set; then
2096
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2097
*) ac_arg=$ac_var=$ac_new_val ;;
2099
case " $ac_configure_args " in
2100
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2101
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2105
if $ac_cache_corrupted; then
2106
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2108
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2109
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2110
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2112
## -------------------- ##
2113
## Main body of script. ##
2114
## -------------------- ##
2117
ac_cpp='$CPP $CPPFLAGS'
2118
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2119
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2120
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124
ac_config_headers="$ac_config_headers config.h"
2127
ac_cpp='$CXXCPP $CPPFLAGS'
2128
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2129
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2130
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2133
ac_cpp='$CXXCPP $CPPFLAGS'
2134
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2135
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2136
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2137
if test -z "$CXX"; then
2138
if test -n "$CCC"; then
2141
if test -n "$ac_tool_prefix"; then
2142
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2144
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2145
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2147
$as_echo_n "checking for $ac_word... " >&6; }
2148
if test "${ac_cv_prog_CXX+set}" = set; then :
2149
$as_echo_n "(cached) " >&6
2151
if test -n "$CXX"; then
2152
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158
test -z "$as_dir" && as_dir=.
2159
for ac_exec_ext in '' $ac_executable_extensions; do
2160
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2162
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2172
if test -n "$CXX"; then
2173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2174
$as_echo "$CXX" >&6; }
2176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2177
$as_echo "no" >&6; }
2181
test -n "$CXX" && break
2184
if test -z "$CXX"; then
2186
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2188
# Extract the first word of "$ac_prog", so it can be a program name with args.
2189
set dummy $ac_prog; ac_word=$2
2190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2191
$as_echo_n "checking for $ac_word... " >&6; }
2192
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2193
$as_echo_n "(cached) " >&6
2195
if test -n "$ac_ct_CXX"; then
2196
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2202
test -z "$as_dir" && as_dir=.
2203
for ac_exec_ext in '' $ac_executable_extensions; do
2204
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205
ac_cv_prog_ac_ct_CXX="$ac_prog"
2206
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2215
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2216
if test -n "$ac_ct_CXX"; then
2217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2218
$as_echo "$ac_ct_CXX" >&6; }
2220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221
$as_echo "no" >&6; }
2225
test -n "$ac_ct_CXX" && break
2228
if test "x$ac_ct_CXX" = x; then
2231
case $cross_compiling:$ac_tool_warned in
2233
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2234
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2235
ac_tool_warned=yes ;;
2243
# Provide some information about the compiler.
2244
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2247
for ac_option in --version -v -V -qversion; do
2248
{ { ac_try="$ac_compiler $ac_option >&5"
2250
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2251
*) ac_try_echo=$ac_try;;
2253
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2254
$as_echo "$ac_try_echo"; } >&5
2255
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2257
if test -s conftest.err; then
2259
... rest of stderr output deleted ...
2260
10q' conftest.err >conftest.er1
2261
cat conftest.er1 >&5
2263
rm -f conftest.er1 conftest.err
2264
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265
test $ac_status = 0; }
2268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269
/* end confdefs.h. */
2279
ac_clean_files_save=$ac_clean_files
2280
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2281
# Try to create an executable without -o first, disregard a.out.
2282
# It will help us diagnose broken compilers, and finding out an intuition
2284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2285
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2286
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2288
# The possible output files:
2289
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2292
for ac_file in $ac_files
2295
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2296
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2301
if { { ac_try="$ac_link_default"
2303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2304
*) ac_try_echo=$ac_try;;
2306
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2307
$as_echo "$ac_try_echo"; } >&5
2308
(eval "$ac_link_default") 2>&5
2310
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2311
test $ac_status = 0; }; then :
2312
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2313
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2314
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2315
# so that the user can short-circuit this test for compilers unknown to
2317
for ac_file in $ac_files ''
2319
test -f "$ac_file" || continue
2321
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2324
# We found the default executable, but exeext='' is most
2328
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2330
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2332
# We set ac_cv_exeext here because the later test for it is not
2333
# safe: cross compilers may not add the suffix if given an `-o'
2334
# argument, so we may need to know it at that point already.
2335
# Even if this section looks crufty: it has the advantage of
2342
test "$ac_cv_exeext" = no && ac_cv_exeext=
2347
if test -z "$ac_file"; then :
2348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2349
$as_echo "no" >&6; }
2350
$as_echo "$as_me: failed program was:" >&5
2351
sed 's/^/| /' conftest.$ac_ext >&5
2353
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355
as_fn_error 77 "C++ compiler cannot create executables
2356
See \`config.log' for more details" "$LINENO" 5 ; }
2358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2359
$as_echo "yes" >&6; }
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2362
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2364
$as_echo "$ac_file" >&6; }
2365
ac_exeext=$ac_cv_exeext
2367
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2368
ac_clean_files=$ac_clean_files_save
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2370
$as_echo_n "checking for suffix of executables... " >&6; }
2371
if { { ac_try="$ac_link"
2373
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374
*) ac_try_echo=$ac_try;;
2376
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377
$as_echo "$ac_try_echo"; } >&5
2378
(eval "$ac_link") 2>&5
2380
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2381
test $ac_status = 0; }; then :
2382
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2383
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2384
# work properly (i.e., refer to `conftest.exe'), while it won't with
2386
for ac_file in conftest.exe conftest conftest.*; do
2387
test -f "$ac_file" || continue
2389
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2390
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2399
See \`config.log' for more details" "$LINENO" 5 ; }
2401
rm -f conftest conftest$ac_cv_exeext
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2403
$as_echo "$ac_cv_exeext" >&6; }
2405
rm -f conftest.$ac_ext
2406
EXEEXT=$ac_cv_exeext
2408
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409
/* end confdefs.h. */
2414
FILE *f = fopen ("conftest.out", "w");
2415
return ferror (f) || fclose (f) != 0;
2421
ac_clean_files="$ac_clean_files conftest.out"
2422
# Check that the compiler produces executables we can run. If not, either
2423
# the compiler is broken, or we cross compile.
2424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2425
$as_echo_n "checking whether we are cross compiling... " >&6; }
2426
if test "$cross_compiling" != yes; then
2427
{ { ac_try="$ac_link"
2429
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430
*) ac_try_echo=$ac_try;;
2432
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2433
$as_echo "$ac_try_echo"; } >&5
2434
(eval "$ac_link") 2>&5
2436
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2437
test $ac_status = 0; }
2438
if { ac_try='./conftest$ac_cv_exeext'
2439
{ { case "(($ac_try" in
2440
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441
*) ac_try_echo=$ac_try;;
2443
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2444
$as_echo "$ac_try_echo"; } >&5
2445
(eval "$ac_try") 2>&5
2447
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448
test $ac_status = 0; }; }; then
2451
if test "$cross_compiling" = maybe; then
2454
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2455
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456
as_fn_error $? "cannot run C++ compiled programs.
2457
If you meant to cross compile, use \`--host'.
2458
See \`config.log' for more details" "$LINENO" 5 ; }
2462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2463
$as_echo "$cross_compiling" >&6; }
2465
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2466
ac_clean_files=$ac_clean_files_save
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2468
$as_echo_n "checking for suffix of object files... " >&6; }
2469
if test "${ac_cv_objext+set}" = set; then :
2470
$as_echo_n "(cached) " >&6
2472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473
/* end confdefs.h. */
2483
rm -f conftest.o conftest.obj
2484
if { { ac_try="$ac_compile"
2486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487
*) ac_try_echo=$ac_try;;
2489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490
$as_echo "$ac_try_echo"; } >&5
2491
(eval "$ac_compile") 2>&5
2493
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2494
test $ac_status = 0; }; then :
2495
for ac_file in conftest.o conftest.obj conftest.*; do
2496
test -f "$ac_file" || continue;
2498
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2499
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2504
$as_echo "$as_me: failed program was:" >&5
2505
sed 's/^/| /' conftest.$ac_ext >&5
2507
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509
as_fn_error $? "cannot compute suffix of object files: cannot compile
2510
See \`config.log' for more details" "$LINENO" 5 ; }
2512
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2515
$as_echo "$ac_cv_objext" >&6; }
2516
OBJEXT=$ac_cv_objext
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2519
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2520
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2521
$as_echo_n "(cached) " >&6
2523
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524
/* end confdefs.h. */
2537
if ac_fn_cxx_try_compile "$LINENO"; then :
2542
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2543
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2547
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2548
if test $ac_compiler_gnu = yes; then
2553
ac_test_CXXFLAGS=${CXXFLAGS+set}
2554
ac_save_CXXFLAGS=$CXXFLAGS
2555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2556
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2557
if test "${ac_cv_prog_cxx_g+set}" = set; then :
2558
$as_echo_n "(cached) " >&6
2560
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2561
ac_cxx_werror_flag=yes
2564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565
/* end confdefs.h. */
2575
if ac_fn_cxx_try_compile "$LINENO"; then :
2576
ac_cv_prog_cxx_g=yes
2579
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580
/* end confdefs.h. */
2590
if ac_fn_cxx_try_compile "$LINENO"; then :
2593
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596
/* end confdefs.h. */
2606
if ac_fn_cxx_try_compile "$LINENO"; then :
2607
ac_cv_prog_cxx_g=yes
2609
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2613
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2617
$as_echo "$ac_cv_prog_cxx_g" >&6; }
2618
if test "$ac_test_CXXFLAGS" = set; then
2619
CXXFLAGS=$ac_save_CXXFLAGS
2620
elif test $ac_cv_prog_cxx_g = yes; then
2621
if test "$GXX" = yes; then
2627
if test "$GXX" = yes; then
2634
ac_cpp='$CXXCPP $CPPFLAGS'
2635
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2640
ac_cpp='$CXXCPP $CPPFLAGS'
2641
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2642
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2643
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
2645
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
2646
if test -z "$CXXCPP"; then
2647
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
2648
$as_echo_n "(cached) " >&6
2650
# Double quotes because CXXCPP needs to be expanded
2651
for CXXCPP in "$CXX -E" "/lib/cpp"
2654
for ac_cxx_preproc_warn_flag in '' yes
2656
# Use a header file that comes with gcc, so configuring glibc
2657
# with a fresh cross-compiler works.
2658
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2659
# <limits.h> exists even on freestanding compilers.
2660
# On the NeXT, cc -E runs the code through the compiler's parser,
2661
# not just through cpp. "Syntax error" is here to catch this case.
2662
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663
/* end confdefs.h. */
2665
# include <limits.h>
2667
# include <assert.h>
2671
if ac_fn_cxx_try_cpp "$LINENO"; then :
2674
# Broken: fails on valid input.
2677
rm -f conftest.err conftest.i conftest.$ac_ext
2679
# OK, works on sane cases. Now check whether nonexistent headers
2680
# can be detected and how.
2681
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682
/* end confdefs.h. */
2683
#include <ac_nonexistent.h>
2685
if ac_fn_cxx_try_cpp "$LINENO"; then :
2686
# Broken: success on invalid input.
2689
# Passes both tests.
2693
rm -f conftest.err conftest.i conftest.$ac_ext
2696
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2697
rm -f conftest.i conftest.err conftest.$ac_ext
2698
if $ac_preproc_ok; then :
2703
ac_cv_prog_CXXCPP=$CXXCPP
2706
CXXCPP=$ac_cv_prog_CXXCPP
2708
ac_cv_prog_CXXCPP=$CXXCPP
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
2711
$as_echo "$CXXCPP" >&6; }
2713
for ac_cxx_preproc_warn_flag in '' yes
2715
# Use a header file that comes with gcc, so configuring glibc
2716
# with a fresh cross-compiler works.
2717
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2718
# <limits.h> exists even on freestanding compilers.
2719
# On the NeXT, cc -E runs the code through the compiler's parser,
2720
# not just through cpp. "Syntax error" is here to catch this case.
2721
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722
/* end confdefs.h. */
2724
# include <limits.h>
2726
# include <assert.h>
2730
if ac_fn_cxx_try_cpp "$LINENO"; then :
2733
# Broken: fails on valid input.
2736
rm -f conftest.err conftest.i conftest.$ac_ext
2738
# OK, works on sane cases. Now check whether nonexistent headers
2739
# can be detected and how.
2740
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741
/* end confdefs.h. */
2742
#include <ac_nonexistent.h>
2744
if ac_fn_cxx_try_cpp "$LINENO"; then :
2745
# Broken: success on invalid input.
2748
# Passes both tests.
2752
rm -f conftest.err conftest.i conftest.$ac_ext
2755
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2756
rm -f conftest.i conftest.err conftest.$ac_ext
2757
if $ac_preproc_ok; then :
2760
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2761
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2762
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
2763
See \`config.log' for more details" "$LINENO" 5 ; }
2767
ac_cpp='$CXXCPP $CPPFLAGS'
2768
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2769
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2770
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2773
ac_cpp='$CPP $CPPFLAGS'
2774
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2775
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2776
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2777
if test -n "$ac_tool_prefix"; then
2778
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2779
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781
$as_echo_n "checking for $ac_word... " >&6; }
2782
if test "${ac_cv_prog_CC+set}" = set; then :
2783
$as_echo_n "(cached) " >&6
2785
if test -n "$CC"; then
2786
ac_cv_prog_CC="$CC" # Let the user override the test.
2788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792
test -z "$as_dir" && as_dir=.
2793
for ac_exec_ext in '' $ac_executable_extensions; do
2794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806
if test -n "$CC"; then
2807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2808
$as_echo "$CC" >&6; }
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811
$as_echo "no" >&6; }
2816
if test -z "$ac_cv_prog_CC"; then
2818
# Extract the first word of "gcc", so it can be a program name with args.
2819
set dummy gcc; ac_word=$2
2820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821
$as_echo_n "checking for $ac_word... " >&6; }
2822
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2823
$as_echo_n "(cached) " >&6
2825
if test -n "$ac_ct_CC"; then
2826
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832
test -z "$as_dir" && as_dir=.
2833
for ac_exec_ext in '' $ac_executable_extensions; do
2834
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2835
ac_cv_prog_ac_ct_CC="gcc"
2836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2846
if test -n "$ac_ct_CC"; then
2847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2848
$as_echo "$ac_ct_CC" >&6; }
2850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851
$as_echo "no" >&6; }
2854
if test "x$ac_ct_CC" = x; then
2857
case $cross_compiling:$ac_tool_warned in
2859
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861
ac_tool_warned=yes ;;
2869
if test -z "$CC"; then
2870
if test -n "$ac_tool_prefix"; then
2871
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2872
set dummy ${ac_tool_prefix}cc; ac_word=$2
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874
$as_echo_n "checking for $ac_word... " >&6; }
2875
if test "${ac_cv_prog_CC+set}" = set; then :
2876
$as_echo_n "(cached) " >&6
2878
if test -n "$CC"; then
2879
ac_cv_prog_CC="$CC" # Let the user override the test.
2881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885
test -z "$as_dir" && as_dir=.
2886
for ac_exec_ext in '' $ac_executable_extensions; do
2887
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2888
ac_cv_prog_CC="${ac_tool_prefix}cc"
2889
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899
if test -n "$CC"; then
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901
$as_echo "$CC" >&6; }
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904
$as_echo "no" >&6; }
2910
if test -z "$CC"; then
2911
# Extract the first word of "cc", so it can be a program name with args.
2912
set dummy cc; ac_word=$2
2913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914
$as_echo_n "checking for $ac_word... " >&6; }
2915
if test "${ac_cv_prog_CC+set}" = set; then :
2916
$as_echo_n "(cached) " >&6
2918
if test -n "$CC"; then
2919
ac_cv_prog_CC="$CC" # Let the user override the test.
2922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926
test -z "$as_dir" && as_dir=.
2927
for ac_exec_ext in '' $ac_executable_extensions; do
2928
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2929
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2930
ac_prog_rejected=yes
2934
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941
if test $ac_prog_rejected = yes; then
2942
# We found a bogon in the path, so make sure we never use it.
2943
set dummy $ac_cv_prog_CC
2945
if test $# != 0; then
2946
# We chose a different compiler from the bogus one.
2947
# However, it has the same basename, so the bogon will be chosen
2948
# first if we set CC to just the basename; use the full file name.
2950
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2956
if test -n "$CC"; then
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958
$as_echo "$CC" >&6; }
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961
$as_echo "no" >&6; }
2966
if test -z "$CC"; then
2967
if test -n "$ac_tool_prefix"; then
2968
for ac_prog in cl.exe
2970
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973
$as_echo_n "checking for $ac_word... " >&6; }
2974
if test "${ac_cv_prog_CC+set}" = set; then :
2975
$as_echo_n "(cached) " >&6
2977
if test -n "$CC"; then
2978
ac_cv_prog_CC="$CC" # Let the user override the test.
2980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984
test -z "$as_dir" && as_dir=.
2985
for ac_exec_ext in '' $ac_executable_extensions; do
2986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998
if test -n "$CC"; then
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000
$as_echo "$CC" >&6; }
3002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003
$as_echo "no" >&6; }
3007
test -n "$CC" && break
3010
if test -z "$CC"; then
3012
for ac_prog in cl.exe
3014
# Extract the first word of "$ac_prog", so it can be a program name with args.
3015
set dummy $ac_prog; ac_word=$2
3016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017
$as_echo_n "checking for $ac_word... " >&6; }
3018
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3019
$as_echo_n "(cached) " >&6
3021
if test -n "$ac_ct_CC"; then
3022
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028
test -z "$as_dir" && as_dir=.
3029
for ac_exec_ext in '' $ac_executable_extensions; do
3030
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031
ac_cv_prog_ac_ct_CC="$ac_prog"
3032
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3042
if test -n "$ac_ct_CC"; then
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3044
$as_echo "$ac_ct_CC" >&6; }
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047
$as_echo "no" >&6; }
3051
test -n "$ac_ct_CC" && break
3054
if test "x$ac_ct_CC" = x; then
3057
case $cross_compiling:$ac_tool_warned in
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3060
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3061
ac_tool_warned=yes ;;
3070
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072
as_fn_error $? "no acceptable C compiler found in \$PATH
3073
See \`config.log' for more details" "$LINENO" 5 ; }
3075
# Provide some information about the compiler.
3076
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3079
for ac_option in --version -v -V -qversion; do
3080
{ { ac_try="$ac_compiler $ac_option >&5"
3082
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083
*) ac_try_echo=$ac_try;;
3085
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086
$as_echo "$ac_try_echo"; } >&5
3087
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3089
if test -s conftest.err; then
3091
... rest of stderr output deleted ...
3092
10q' conftest.err >conftest.er1
3093
cat conftest.er1 >&5
3095
rm -f conftest.er1 conftest.err
3096
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097
test $ac_status = 0; }
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3101
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3102
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3103
$as_echo_n "(cached) " >&6
3105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106
/* end confdefs.h. */
3119
if ac_fn_c_try_compile "$LINENO"; then :
3124
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3129
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3130
if test $ac_compiler_gnu = yes; then
3135
ac_test_CFLAGS=${CFLAGS+set}
3136
ac_save_CFLAGS=$CFLAGS
3137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3138
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3139
if test "${ac_cv_prog_cc_g+set}" = set; then :
3140
$as_echo_n "(cached) " >&6
3142
ac_save_c_werror_flag=$ac_c_werror_flag
3143
ac_c_werror_flag=yes
3146
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147
/* end confdefs.h. */
3157
if ac_fn_c_try_compile "$LINENO"; then :
3161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162
/* end confdefs.h. */
3172
if ac_fn_c_try_compile "$LINENO"; then :
3175
ac_c_werror_flag=$ac_save_c_werror_flag
3177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178
/* end confdefs.h. */
3188
if ac_fn_c_try_compile "$LINENO"; then :
3191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196
ac_c_werror_flag=$ac_save_c_werror_flag
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3199
$as_echo "$ac_cv_prog_cc_g" >&6; }
3200
if test "$ac_test_CFLAGS" = set; then
3201
CFLAGS=$ac_save_CFLAGS
3202
elif test $ac_cv_prog_cc_g = yes; then
3203
if test "$GCC" = yes; then
3209
if test "$GCC" = yes; then
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3216
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3217
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3218
$as_echo_n "(cached) " >&6
3220
ac_cv_prog_cc_c89=no
3222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223
/* end confdefs.h. */
3226
#include <sys/types.h>
3227
#include <sys/stat.h>
3228
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3229
struct buf { int x; };
3230
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3231
static char *e (p, i)
3237
static char *f (char * (*g) (char **, int), char **p, ...)
3242
s = g (p, va_arg (v,int));
3247
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3248
function prototypes and stuff, but not '\xHH' hex character constants.
3249
These don't provoke an error unfortunately, instead are silently treated
3250
as 'x'. The following induces an error, until -std is added to get
3251
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3252
array size at least. It's necessary to write '\x00'==0 to get something
3253
that's true only with -std. */
3254
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3256
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3257
inside strings and character constants. */
3259
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3261
int test (int i, double x);
3262
struct s1 {int (*f) (int a);};
3263
struct s2 {int (*f) (double a);};
3264
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3270
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3275
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3276
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3278
CC="$ac_save_CC $ac_arg"
3279
if ac_fn_c_try_compile "$LINENO"; then :
3280
ac_cv_prog_cc_c89=$ac_arg
3282
rm -f core conftest.err conftest.$ac_objext
3283
test "x$ac_cv_prog_cc_c89" != "xno" && break
3285
rm -f conftest.$ac_ext
3290
case "x$ac_cv_prog_cc_c89" in
3292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3293
$as_echo "none needed" >&6; } ;;
3295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3296
$as_echo "unsupported" >&6; } ;;
3298
CC="$CC $ac_cv_prog_cc_c89"
3299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3300
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3302
if test "x$ac_cv_prog_cc_c89" != xno; then :
3307
ac_cpp='$CXXCPP $CPPFLAGS'
3308
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3312
if test -n "$ac_tool_prefix"; then
3313
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3314
set dummy ${ac_tool_prefix}ar; ac_word=$2
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316
$as_echo_n "checking for $ac_word... " >&6; }
3317
if test "${ac_cv_prog_AR+set}" = set; then :
3318
$as_echo_n "(cached) " >&6
3320
if test -n "$AR"; then
3321
ac_cv_prog_AR="$AR" # Let the user override the test.
3323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327
test -z "$as_dir" && as_dir=.
3328
for ac_exec_ext in '' $ac_executable_extensions; do
3329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330
ac_cv_prog_AR="${ac_tool_prefix}ar"
3331
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341
if test -n "$AR"; then
3342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3343
$as_echo "$AR" >&6; }
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346
$as_echo "no" >&6; }
3351
if test -z "$ac_cv_prog_AR"; then
3353
# Extract the first word of "ar", so it can be a program name with args.
3354
set dummy ar; ac_word=$2
3355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356
$as_echo_n "checking for $ac_word... " >&6; }
3357
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
3358
$as_echo_n "(cached) " >&6
3360
if test -n "$ac_ct_AR"; then
3361
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367
test -z "$as_dir" && as_dir=.
3368
for ac_exec_ext in '' $ac_executable_extensions; do
3369
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370
ac_cv_prog_ac_ct_AR="ar"
3371
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3381
if test -n "$ac_ct_AR"; then
3382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3383
$as_echo "$ac_ct_AR" >&6; }
3385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386
$as_echo "no" >&6; }
3389
if test "x$ac_ct_AR" = x; then
3392
case $cross_compiling:$ac_tool_warned in
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3395
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3396
ac_tool_warned=yes ;;
3405
TAGLIB_REQ_VERSION="1.4.0"
3408
# Check whether --with-taglib was given.
3409
if test "${with_taglib+set}" = set; then :
3410
withval=$with_taglib; with_taglib="$withval"
3416
if test "$with_taglib" != "no"; then
3417
# Extract the first word of "taglib-config", so it can be a program name with args.
3418
set dummy taglib-config; ac_word=$2
3419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420
$as_echo_n "checking for $ac_word... " >&6; }
3421
if test "${ac_cv_path_TAGLIB_CONFIG+set}" = set; then :
3422
$as_echo_n "(cached) " >&6
3424
case $TAGLIB_CONFIG in
3426
ac_cv_path_TAGLIB_CONFIG="$TAGLIB_CONFIG" # Let the user override the test with a path.
3429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433
test -z "$as_dir" && as_dir=.
3434
for ac_exec_ext in '' $ac_executable_extensions; do
3435
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436
ac_cv_path_TAGLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3437
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444
test -z "$ac_cv_path_TAGLIB_CONFIG" && ac_cv_path_TAGLIB_CONFIG="no"
3448
TAGLIB_CONFIG=$ac_cv_path_TAGLIB_CONFIG
3449
if test -n "$TAGLIB_CONFIG"; then
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAGLIB_CONFIG" >&5
3451
$as_echo "$TAGLIB_CONFIG" >&6; }
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454
$as_echo "no" >&6; }
3458
if test "x$TAGLIB_CONFIG" != "xno" ; then
3459
TAGLIB_VERSION=`$TAGLIB_CONFIG --version`
3460
if test `echo $TAGLIB_VERSION | awk 'BEGIN { FS = "."; } { printf "%d", ($1* 1000 + $2) * 1000 + $3;}'` -lt `echo $TAGLIB_REQ_VERSION | awk 'BEGIN { FS = "."; } { printf "%d", ($1* 1000 + $2) * 1000 + $3;}'`; then
3461
as_fn_error $? "TagLib >= $TAGLIB_REQ_VERSION not found.
3462
Use --without-taglib to build without TagLib." "$LINENO" 5
3465
$as_echo "#define HAVE_TAGLIB 1" >>confdefs.h
3467
TAGLIB_INCLUDES=`$TAGLIB_CONFIG --cflags`
3468
LIB_TAGLIB=`$TAGLIB_CONFIG --libs`
3474
as_fn_error $? "taglib-config not found.
3475
Install TagLib development package (e.g. libtag1-dev or taglib-devel)
3476
or use --without-taglib." "$LINENO" 5
3486
# Check whether --with-mp4v2 was given.
3487
if test "${with_mp4v2+set}" = set; then :
3488
withval=$with_mp4v2; with_mp4v2="$withval"
3495
# Check whether --with-mp4v2-dir was given.
3496
if test "${with_mp4v2_dir+set}" = set; then :
3497
withval=$with_mp4v2_dir; mp4v2_dir="$withval"
3503
if test "$with_mp4v2" != "no"; then
3506
ac_cpp='$CXXCPP $CPPFLAGS'
3507
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3511
ac_cxxflags_save=$CXXFLAGS
3512
CXXFLAGS="$CXXFLAGS -I$mp4v2_dir/include"
3513
ac_ldflags_save=$LDFLAGS
3514
LDFLAGS="$LDFLAGS -L$mp4v2_dir/lib"
3515
# not even everyone using faad2 has <systems.h>
3516
if ! test -f config.h; then
3517
echo "#include \"confdefs.h\"" > config.h
3519
ac_cppflags_save=$CPPFLAGS
3520
CPPFLAGS="$CPPFLAGS -I."
3523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3524
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3525
if test "${ac_cv_path_GREP+set}" = set; then :
3526
$as_echo_n "(cached) " >&6
3528
if test -z "$GREP"; then
3529
ac_path_GREP_found=false
3530
# Loop through the user's path and test for each of PROGNAME-LIST
3531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3535
test -z "$as_dir" && as_dir=.
3536
for ac_prog in grep ggrep; do
3537
for ac_exec_ext in '' $ac_executable_extensions; do
3538
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3539
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3540
# Check for GNU ac_path_GREP and select it if it is found.
3541
# Check for GNU $ac_path_GREP
3542
case `"$ac_path_GREP" --version 2>&1` in
3544
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3547
$as_echo_n 0123456789 >"conftest.in"
3550
cat "conftest.in" "conftest.in" >"conftest.tmp"
3551
mv "conftest.tmp" "conftest.in"
3552
cp "conftest.in" "conftest.nl"
3553
$as_echo 'GREP' >> "conftest.nl"
3554
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3555
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3556
as_fn_arith $ac_count + 1 && ac_count=$as_val
3557
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3558
# Best one so far, save it but keep looking for a better one
3559
ac_cv_path_GREP="$ac_path_GREP"
3560
ac_path_GREP_max=$ac_count
3562
# 10*(2^10) chars as input seems more than enough
3563
test $ac_count -gt 10 && break
3565
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3568
$ac_path_GREP_found && break 3
3573
if test -z "$ac_cv_path_GREP"; then
3574
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3577
ac_cv_path_GREP=$GREP
3581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3582
$as_echo "$ac_cv_path_GREP" >&6; }
3583
GREP="$ac_cv_path_GREP"
3586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3587
$as_echo_n "checking for egrep... " >&6; }
3588
if test "${ac_cv_path_EGREP+set}" = set; then :
3589
$as_echo_n "(cached) " >&6
3591
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3592
then ac_cv_path_EGREP="$GREP -E"
3594
if test -z "$EGREP"; then
3595
ac_path_EGREP_found=false
3596
# Loop through the user's path and test for each of PROGNAME-LIST
3597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3601
test -z "$as_dir" && as_dir=.
3602
for ac_prog in egrep; do
3603
for ac_exec_ext in '' $ac_executable_extensions; do
3604
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3605
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3606
# Check for GNU ac_path_EGREP and select it if it is found.
3607
# Check for GNU $ac_path_EGREP
3608
case `"$ac_path_EGREP" --version 2>&1` in
3610
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3613
$as_echo_n 0123456789 >"conftest.in"
3616
cat "conftest.in" "conftest.in" >"conftest.tmp"
3617
mv "conftest.tmp" "conftest.in"
3618
cp "conftest.in" "conftest.nl"
3619
$as_echo 'EGREP' >> "conftest.nl"
3620
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3621
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3622
as_fn_arith $ac_count + 1 && ac_count=$as_val
3623
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3624
# Best one so far, save it but keep looking for a better one
3625
ac_cv_path_EGREP="$ac_path_EGREP"
3626
ac_path_EGREP_max=$ac_count
3628
# 10*(2^10) chars as input seems more than enough
3629
test $ac_count -gt 10 && break
3631
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3634
$ac_path_EGREP_found && break 3
3639
if test -z "$ac_cv_path_EGREP"; then
3640
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3643
ac_cv_path_EGREP=$EGREP
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3649
$as_echo "$ac_cv_path_EGREP" >&6; }
3650
EGREP="$ac_cv_path_EGREP"
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3654
$as_echo_n "checking for ANSI C header files... " >&6; }
3655
if test "${ac_cv_header_stdc+set}" = set; then :
3656
$as_echo_n "(cached) " >&6
3658
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659
/* end confdefs.h. */
3673
if ac_fn_cxx_try_compile "$LINENO"; then :
3674
ac_cv_header_stdc=yes
3676
ac_cv_header_stdc=no
3678
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3680
if test $ac_cv_header_stdc = yes; then
3681
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683
/* end confdefs.h. */
3687
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3688
$EGREP "memchr" >/dev/null 2>&1; then :
3691
ac_cv_header_stdc=no
3697
if test $ac_cv_header_stdc = yes; then
3698
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700
/* end confdefs.h. */
3704
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3705
$EGREP "free" >/dev/null 2>&1; then :
3708
ac_cv_header_stdc=no
3714
if test $ac_cv_header_stdc = yes; then
3715
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3716
if test "$cross_compiling" = yes; then :
3719
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720
/* end confdefs.h. */
3723
#if ((' ' & 0x0FF) == 0x020)
3724
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3725
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3727
# define ISLOWER(c) \
3728
(('a' <= (c) && (c) <= 'i') \
3729
|| ('j' <= (c) && (c) <= 'r') \
3730
|| ('s' <= (c) && (c) <= 'z'))
3731
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3734
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3739
for (i = 0; i < 256; i++)
3740
if (XOR (islower (i), ISLOWER (i))
3741
|| toupper (i) != TOUPPER (i))
3746
if ac_fn_cxx_try_run "$LINENO"; then :
3749
ac_cv_header_stdc=no
3751
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3752
conftest.$ac_objext conftest.beam conftest.$ac_ext
3757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3758
$as_echo "$ac_cv_header_stdc" >&6; }
3759
if test $ac_cv_header_stdc = yes; then
3761
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3765
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3766
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3767
inttypes.h stdint.h unistd.h
3769
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3770
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3772
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3773
cat >>confdefs.h <<_ACEOF
3774
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3782
for ac_header in systems.h
3784
ac_fn_cxx_check_header_mongrel "$LINENO" "systems.h" "ac_cv_header_systems_h" "$ac_includes_default"
3785
if test "x$ac_cv_header_systems_h" = x""yes; then :
3786
cat >>confdefs.h <<_ACEOF
3787
#define HAVE_SYSTEMS_H 1
3794
for ac_header in mp4.h
3796
ac_fn_cxx_check_header_compile "$LINENO" "mp4.h" "ac_cv_header_mp4_h" "#ifdef HAVE_SYSTEMS_H
3797
# include <systems.h>
3801
if test "x$ac_cv_header_mp4_h" = x""yes; then :
3802
cat >>confdefs.h <<_ACEOF
3803
#define HAVE_MP4_H 1
3810
for ac_header in mp4v2/mp4v2.h
3812
ac_fn_cxx_check_header_mongrel "$LINENO" "mp4v2/mp4v2.h" "ac_cv_header_mp4v2_mp4v2_h" "$ac_includes_default"
3813
if test "x$ac_cv_header_mp4v2_mp4v2_h" = x""yes; then :
3814
cat >>confdefs.h <<_ACEOF
3815
#define HAVE_MP4V2_MP4V2_H 1
3817
have_mp4v2_mp4v2_h=yes
3822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MP4Read in -lmp4v2" >&5
3823
$as_echo_n "checking for MP4Read in -lmp4v2... " >&6; }
3824
if test "${ac_cv_lib_mp4v2_MP4Read+set}" = set; then :
3825
$as_echo_n "(cached) " >&6
3827
ac_check_lib_save_LIBS=$LIBS
3828
LIBS="-lmp4v2 $LIBS"
3829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830
/* end confdefs.h. */
3832
/* Override any GCC internal prototype to avoid an error.
3833
Use char because int might match the return type of a GCC
3834
builtin and then its argument prototype would still apply. */
3847
if ac_fn_cxx_try_link "$LINENO"; then :
3848
ac_cv_lib_mp4v2_MP4Read=yes
3850
ac_cv_lib_mp4v2_MP4Read=no
3852
rm -f core conftest.err conftest.$ac_objext \
3853
conftest$ac_exeext conftest.$ac_ext
3854
LIBS=$ac_check_lib_save_LIBS
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp4v2_MP4Read" >&5
3857
$as_echo "$ac_cv_lib_mp4v2_MP4Read" >&6; }
3858
if test "x$ac_cv_lib_mp4v2_MP4Read" = x""yes; then :
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MP4Close in -lmp4v2" >&5
3863
$as_echo_n "checking for MP4Close in -lmp4v2... " >&6; }
3864
if test "${ac_cv_lib_mp4v2_MP4Close+set}" = set; then :
3865
$as_echo_n "(cached) " >&6
3867
ac_check_lib_save_LIBS=$LIBS
3868
LIBS="-lmp4v2 -lwsock32 $LIBS"
3869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870
/* end confdefs.h. */
3872
/* Override any GCC internal prototype to avoid an error.
3873
Use char because int might match the return type of a GCC
3874
builtin and then its argument prototype would still apply. */
3887
if ac_fn_cxx_try_link "$LINENO"; then :
3888
ac_cv_lib_mp4v2_MP4Close=yes
3890
ac_cv_lib_mp4v2_MP4Close=no
3892
rm -f core conftest.err conftest.$ac_objext \
3893
conftest$ac_exeext conftest.$ac_ext
3894
LIBS=$ac_check_lib_save_LIBS
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp4v2_MP4Close" >&5
3897
$as_echo "$ac_cv_lib_mp4v2_MP4Close" >&6; }
3898
if test "x$ac_cv_lib_mp4v2_MP4Close" = x""yes; then :
3899
have_mp4v2=yes; mp4v2_otherlibs=-lwsock32
3902
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmp4v2 not found.
3903
Install mp4v2 development package (e.g. mp4v2-dev or libmp4v2-devel)
3904
or use --without-mp4v2." >&5
3905
$as_echo "$as_me: WARNING: libmp4v2 not found.
3906
Install mp4v2 development package (e.g. mp4v2-dev or libmp4v2-devel)
3907
or use --without-mp4v2." >&2;}
3914
CPPFLAGS=$ac_cppflags_save
3915
CXXFLAGS=$ac_cxxflags_save
3916
LDFLAGS=$ac_ldflags_save
3918
ac_cpp='$CXXCPP $CPPFLAGS'
3919
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3924
if test "$have_mp4v2" = "yes" -a \( "$have_mp4_h" = "yes" -o "$have_mp4v2_mp4v2_h" = "yes" \); then
3928
$as_echo "#define HAVE_MP4V2 1" >>confdefs.h
3930
MP4V2_INCLUDES="-I$mp4v2_dir/include"
3931
LIB_MP4V2="-L$mp4v2_dir/lib -lmp4v2 $mp4v2_otherlibs"
3939
if test "$have_mp4v2" = "yes"; then
3942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MP4GetMetadataByIndex has char** argument" >&5
3943
$as_echo_n "checking if MP4GetMetadataByIndex has char** argument... " >&6; }
3946
ac_cpp='$CXXCPP $CPPFLAGS'
3947
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3948
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3949
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3951
cat confdefs.h >conftest.$ac_ext
3952
cat >> conftest.$ac_ext <<EOF
3953
#ifdef HAVE_SYS_TYPES_H
3954
#include <sys/types.h>
3956
#ifdef HAVE_MP4V2_MP4V2_H
3957
#include <mp4v2/mp4v2.h>
3962
MP4FileHandle hFile;
3966
u_int32_t pValueSize;
3967
MP4GetMetadataByIndex(hFile, index, &ppName, &ppValue, &pValueSize);
3971
ac_save_CPPFLAGS=$CPPFLAGS
3972
CPPFLAGS="$all_includes $CPPFLAGS"
3973
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
3974
(eval $ac_compile) 2>&5
3976
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977
test $ac_status = 0; }; then
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3979
$as_echo "yes" >&6; }
3981
$as_echo "#define HAVE_MP4V2_MP4GETMETADATABYINDEX_CHARPP_ARG 1" >>confdefs.h
3984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985
$as_echo "no" >&6; }
3987
CPPFLAGS=$ac_save_CPPFLAGS
3990
ac_cpp='$CXXCPP $CPPFLAGS'
3991
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3992
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3993
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3999
# Check whether --with-id3lib was given.
4000
if test "${with_id3lib+set}" = set; then :
4001
withval=$with_id3lib; with_id3lib="$withval"
4007
if test "$with_id3lib" != "no"; then
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ID3Tag_Link in -lid3" >&5
4009
$as_echo_n "checking for ID3Tag_Link in -lid3... " >&6; }
4010
if test "${ac_cv_lib_id3_ID3Tag_Link+set}" = set; then :
4011
$as_echo_n "(cached) " >&6
4013
ac_check_lib_save_LIBS=$LIBS
4014
LIBS="-lid3 -lz -lstdc++ $LIBS"
4015
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016
/* end confdefs.h. */
4018
/* Override any GCC internal prototype to avoid an error.
4019
Use char because int might match the return type of a GCC
4020
builtin and then its argument prototype would still apply. */
4024
char ID3Tag_Link ();
4028
return ID3Tag_Link ();
4033
if ac_fn_cxx_try_link "$LINENO"; then :
4034
ac_cv_lib_id3_ID3Tag_Link=yes
4036
ac_cv_lib_id3_ID3Tag_Link=no
4038
rm -f core conftest.err conftest.$ac_objext \
4039
conftest$ac_exeext conftest.$ac_ext
4040
LIBS=$ac_check_lib_save_LIBS
4042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_id3_ID3Tag_Link" >&5
4043
$as_echo "$ac_cv_lib_id3_ID3Tag_Link" >&6; }
4044
if test "x$ac_cv_lib_id3_ID3Tag_Link" = x""yes; then :
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ID3Tag_Strip in -lid3" >&5
4049
$as_echo_n "checking for ID3Tag_Strip in -lid3... " >&6; }
4050
if test "${ac_cv_lib_id3_ID3Tag_Strip+set}" = set; then :
4051
$as_echo_n "(cached) " >&6
4053
ac_check_lib_save_LIBS=$LIBS
4054
LIBS="-lid3 -lz -lstdc++ -liconv $LIBS"
4055
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056
/* end confdefs.h. */
4058
/* Override any GCC internal prototype to avoid an error.
4059
Use char because int might match the return type of a GCC
4060
builtin and then its argument prototype would still apply. */
4064
char ID3Tag_Strip ();
4068
return ID3Tag_Strip ();
4073
if ac_fn_cxx_try_link "$LINENO"; then :
4074
ac_cv_lib_id3_ID3Tag_Strip=yes
4076
ac_cv_lib_id3_ID3Tag_Strip=no
4078
rm -f core conftest.err conftest.$ac_objext \
4079
conftest$ac_exeext conftest.$ac_ext
4080
LIBS=$ac_check_lib_save_LIBS
4082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_id3_ID3Tag_Strip" >&5
4083
$as_echo "$ac_cv_lib_id3_ID3Tag_Strip" >&6; }
4084
if test "x$ac_cv_lib_id3_ID3Tag_Strip" = x""yes; then :
4085
build_id3lib="yes"; id3_otherlibs=-liconv
4088
as_fn_error $? "libid3 not found.
4089
Install id3lib development package (e.g. libid3-3.8.3-dev or id3lib-devel)
4090
or use --without-id3lib." "$LINENO" 5
4098
if test "$build_id3lib" = "yes"; then
4102
$as_echo "#define HAVE_ID3LIB 1" >>confdefs.h
4104
LIB_ID3LIB="-lid3 $id3_otherlibs"
4112
if test "$build_id3lib" = "yes"; then
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3lib VBR support" >&5
4116
$as_echo_n "checking for id3lib VBR support... " >&6; }
4119
ac_cpp='$CXXCPP $CPPFLAGS'
4120
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4124
cat > conftest.$ac_ext <<EOF
4125
#include <id3/globals.h>
4127
Mp3_Headerinfo info;
4128
info.vbr_bitrate = 0;
4133
ac_save_CPPFLAGS=$CPPFLAGS
4134
CPPFLAGS="$all_includes $CPPFLAGS"
4135
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4136
(eval $ac_compile) 2>&5
4138
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139
test $ac_status = 0; }; then
4140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4141
$as_echo "yes" >&6; }
4143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144
$as_echo "no" >&6; }
4146
$as_echo "#define HAVE_NO_ID3LIB_VBR 1" >>confdefs.h
4149
CPPFLAGS=$ac_save_CPPFLAGS
4152
ac_cpp='$CXXCPP $CPPFLAGS'
4153
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4154
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4155
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4161
# Check whether --with-kde was given.
4162
if test "${with_kde+set}" = set; then :
4163
withval=$with_kde; with_kde="$withval"
4169
if test "$with_kde" != "no"; then
4173
$as_echo "#define CONFIG_USE_KDE 1" >>confdefs.h
4178
# Check whether --enable-gcc-pch was given.
4179
if test "${enable_gcc_pch+set}" = set; then :
4180
enableval=$enable_gcc_pch;
4181
case "$enableval" in
4186
$as_echo "#define GCC_PCH 1" >>confdefs.h
4192
as_fn_error $? "must use --enable-gcc-pch(=yes/no) or --disable-gcc-pch" "$LINENO" 5
4200
# Check whether --with-musicbrainz was given.
4201
if test "${with_musicbrainz+set}" = set; then :
4202
withval=$with_musicbrainz; with_musicbrainz="$withval"
4204
with_musicbrainz=yes
4208
if test "$with_musicbrainz" != "no"; then
4209
ac_fn_cxx_check_header_mongrel "$LINENO" "tunepimp-0.5/tp_c.h" "ac_cv_header_tunepimp_0_5_tp_c_h" "$ac_includes_default"
4210
if test "x$ac_cv_header_tunepimp_0_5_tp_c_h" = x""yes; then :
4211
build_musicbrainz="yes"
4213
ac_fn_cxx_check_header_mongrel "$LINENO" "tunepimp/tp_c.h" "ac_cv_header_tunepimp_tp_c_h" "$ac_includes_default"
4214
if test "x$ac_cv_header_tunepimp_tp_c_h" = x""yes; then :
4215
build_musicbrainz="yes"
4218
as_fn_error $? "tunepimp/tp_c.h not found.
4219
Install tunepimp development package (e.g. libtunepimp3-dev or libtunepimp-devel)
4220
or use --without-musicbrainz." "$LINENO" 5
4229
if test "$build_musicbrainz" = "yes"; then
4230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tr_GetPUID in -ltunepimp" >&5
4231
$as_echo_n "checking for tr_GetPUID in -ltunepimp... " >&6; }
4232
if test "${ac_cv_lib_tunepimp_tr_GetPUID+set}" = set; then :
4233
$as_echo_n "(cached) " >&6
4235
ac_check_lib_save_LIBS=$LIBS
4236
LIBS="-ltunepimp $LIBS"
4237
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238
/* end confdefs.h. */
4240
/* Override any GCC internal prototype to avoid an error.
4241
Use char because int might match the return type of a GCC
4242
builtin and then its argument prototype would still apply. */
4250
return tr_GetPUID ();
4255
if ac_fn_cxx_try_link "$LINENO"; then :
4256
ac_cv_lib_tunepimp_tr_GetPUID=yes
4258
ac_cv_lib_tunepimp_tr_GetPUID=no
4260
rm -f core conftest.err conftest.$ac_objext \
4261
conftest$ac_exeext conftest.$ac_ext
4262
LIBS=$ac_check_lib_save_LIBS
4264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tunepimp_tr_GetPUID" >&5
4265
$as_echo "$ac_cv_lib_tunepimp_tr_GetPUID" >&6; }
4266
if test "x$ac_cv_lib_tunepimp_tr_GetPUID" = x""yes; then :
4268
$as_echo "#define HAVE_TUNEPIMP 5" >>confdefs.h
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tp_SetFileNameEncoding in -ltunepimp" >&5
4272
$as_echo_n "checking for tp_SetFileNameEncoding in -ltunepimp... " >&6; }
4273
if test "${ac_cv_lib_tunepimp_tp_SetFileNameEncoding+set}" = set; then :
4274
$as_echo_n "(cached) " >&6
4276
ac_check_lib_save_LIBS=$LIBS
4277
LIBS="-ltunepimp $LIBS"
4278
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279
/* end confdefs.h. */
4281
/* Override any GCC internal prototype to avoid an error.
4282
Use char because int might match the return type of a GCC
4283
builtin and then its argument prototype would still apply. */
4287
char tp_SetFileNameEncoding ();
4291
return tp_SetFileNameEncoding ();
4296
if ac_fn_cxx_try_link "$LINENO"; then :
4297
ac_cv_lib_tunepimp_tp_SetFileNameEncoding=yes
4299
ac_cv_lib_tunepimp_tp_SetFileNameEncoding=no
4301
rm -f core conftest.err conftest.$ac_objext \
4302
conftest$ac_exeext conftest.$ac_ext
4303
LIBS=$ac_check_lib_save_LIBS
4305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tunepimp_tp_SetFileNameEncoding" >&5
4306
$as_echo "$ac_cv_lib_tunepimp_tp_SetFileNameEncoding" >&6; }
4307
if test "x$ac_cv_lib_tunepimp_tp_SetFileNameEncoding" = x""yes; then :
4309
$as_echo "#define HAVE_TUNEPIMP 4" >>confdefs.h
4313
$as_echo "#define HAVE_TUNEPIMP 1" >>confdefs.h
4320
LIB_TUNEPIMP="-ltunepimp"
4329
# Check whether --with-vorbis was given.
4330
if test "${with_vorbis+set}" = set; then :
4331
withval=$with_vorbis; with_vorbis="$withval"
4337
if test "$with_vorbis" != "no"; then
4338
ac_fn_cxx_check_header_mongrel "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default"
4339
if test "x$ac_cv_header_vorbis_codec_h" = x""yes; then :
4343
as_fn_error $? "vorbis/codec.h not found.
4344
Install libvorbis development package (e.g. libvorbis-dev or libvorbis-devel)
4345
or use --without-vorbis." "$LINENO" 5
4351
if test "$build_vorbis" = "yes"; then
4355
$as_echo "#define HAVE_VORBIS 1" >>confdefs.h
4357
LIB_VORBIS="-logg -lvorbis -lvorbisfile"
4366
# Check whether --with-flac was given.
4367
if test "${with_flac+set}" = set; then :
4368
withval=$with_flac; with_flac="$withval"
4374
if test "$with_flac" != "no"; then
4375
ac_fn_cxx_check_header_mongrel "$LINENO" "FLAC++/metadata.h" "ac_cv_header_FLACpp_metadata_h" "$ac_includes_default"
4376
if test "x$ac_cv_header_FLACpp_metadata_h" = x""yes; then :
4380
as_fn_error $? "FLAC++/metadata.h not found.
4381
Install libFLAC++ development package (e.g. libflac++-dev or flac-devel)
4382
or use --without-flac." "$LINENO" 5
4388
if test "$build_flac" = "yes"; then
4392
$as_echo "#define HAVE_FLAC 1" >>confdefs.h
4394
LIB_FLAC="-lFLAC++ -lFLAC"
4402
if test "$build_flac" = "yes"; then
4405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC__StreamMetadata operator" >&5
4406
$as_echo_n "checking for FLAC__StreamMetadata operator... " >&6; }
4409
ac_cpp='$CXXCPP $CPPFLAGS'
4410
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4414
cat > conftest.$ac_ext <<EOF
4415
#include <FLAC++/metadata.h>
4417
FLAC::Metadata::VorbisComment vc;
4418
const ::FLAC__StreamMetadata* fsmd = vc;
4423
ac_save_CPPFLAGS=$CPPFLAGS
4424
CPPFLAGS="$all_includes $CPPFLAGS"
4425
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4426
(eval $ac_compile) 2>&5
4428
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429
test $ac_status = 0; }; then
4430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4431
$as_echo "yes" >&6; }
4433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434
$as_echo "no" >&6; }
4436
$as_echo "#define HAVE_NO_FLAC_STREAMMETADATA_OPERATOR 1" >>confdefs.h
4439
CPPFLAGS=$ac_save_CPPFLAGS
4442
ac_cpp='$CXXCPP $CPPFLAGS'
4443
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4444
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4445
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4450
if test "$build_flac" = "yes"; then
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC::Metadata::Picture" >&5
4454
$as_echo_n "checking for FLAC::Metadata::Picture... " >&6; }
4457
ac_cpp='$CXXCPP $CPPFLAGS'
4458
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4459
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4462
cat > conftest.$ac_ext <<EOF
4463
#include <FLAC++/metadata.h>
4465
FLAC::Metadata::Picture pic;
4470
ac_save_CPPFLAGS=$CPPFLAGS
4471
CPPFLAGS="$all_includes $CPPFLAGS"
4472
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4473
(eval $ac_compile) 2>&5
4475
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476
test $ac_status = 0; }; then
4477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4478
$as_echo "yes" >&6; }
4480
$as_echo "#define HAVE_FLAC_PICTURE 1" >>confdefs.h
4483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484
$as_echo "no" >&6; }
4486
CPPFLAGS=$ac_save_CPPFLAGS
4489
ac_cpp='$CXXCPP $CPPFLAGS'
4490
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4491
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4492
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4498
cat >>confdefs.h <<_ACEOF
4499
#define VERSION "${VERSION}"
4503
# Check whether --enable-debug was given.
4504
if test "${enable_debug+set}" = set; then :
4505
enableval=$enable_debug; CFG_CONFIG=debug; $as_echo "#define CFG_DEBUG 1" >>confdefs.h
4512
if test "x$GCC_PCH" = "xyes"; then
4513
CFG_CONFIG="${CFG_CONFIG} precompile_header"
4514
CFG_PRECOMPILED_HEADER="allsys.h"
4519
CFG_PREFIX=$ac_default_prefix
4520
if test "x$prefix" != "xNONE"; then
4524
cat >>confdefs.h <<_ACEOF
4525
#define CFG_PREFIX "${CFG_PREFIX}"
4530
# Check whether --with-bindir was given.
4531
if test "${with_bindir+set}" = set; then :
4532
withval=$with_bindir; CFG_BINDIR="${with_bindir}"
4534
CFG_BINDIR="${CFG_PREFIX}/bin"
4539
cat >>confdefs.h <<_ACEOF
4540
#define CFG_BINDIR "${CFG_BINDIR}"
4545
# Check whether --with-datarootdir was given.
4546
if test "${with_datarootdir+set}" = set; then :
4547
withval=$with_datarootdir; CFG_DATAROOTDIR="${with_datarootdir}"
4549
CFG_DATAROOTDIR="${CFG_PREFIX}/share"
4554
cat >>confdefs.h <<_ACEOF
4555
#define CFG_DATAROOTDIR "${CFG_DATAROOTDIR}"
4560
# Check whether --with-docdir was given.
4561
if test "${with_docdir+set}" = set; then :
4562
withval=$with_docdir; CFG_DOCDIR="${with_docdir}"
4564
CFG_DOCDIR="${CFG_DATAROOTDIR}/doc/kid3-qt"
4569
cat >>confdefs.h <<_ACEOF
4570
#define CFG_DOCDIR "${CFG_DOCDIR}"
4575
# Check whether --with-translationsdir was given.
4576
if test "${with_translationsdir+set}" = set; then :
4577
withval=$with_translationsdir; CFG_TRANSLATIONSDIR="${with_translationsdir}"
4579
CFG_TRANSLATIONSDIR="${CFG_DATAROOTDIR}/kid3-qt/translations"
4584
cat >>confdefs.h <<_ACEOF
4585
#define CFG_TRANSLATIONSDIR "${CFG_TRANSLATIONSDIR}"
4590
# Check whether --with-extra-includes was given.
4591
if test "${with_extra_includes+set}" = set; then :
4592
withval=$with_extra_includes; CFG_EXTRA_INCLUDES="${with_extra_includes}"
4599
cat >>confdefs.h <<_ACEOF
4600
#define CFG_EXTRA_INCLUDES "${CFG_EXTRA_INCLUDES}"
4605
# Check whether --with-extra-libs was given.
4606
if test "${with_extra_libs+set}" = set; then :
4607
withval=$with_extra_libs; CFG_EXTRA_LIBS="${with_extra_libs}"
4614
cat >>confdefs.h <<_ACEOF
4615
#define CFG_EXTRA_LIBS "${CFG_EXTRA_LIBS}"
4620
# Check whether --with-extra-defines was given.
4621
if test "${with_extra_defines+set}" = set; then :
4622
withval=$with_extra_defines; CFG_EXTRA_DEFINES="${with_extra_defines}"
4629
cat >>confdefs.h <<_ACEOF
4630
#define CFG_EXTRA_DEFINES "${CFG_EXTRA_DEFINES}"
4635
# Check whether --with-extra-cxxflags was given.
4636
if test "${with_extra_cxxflags+set}" = set; then :
4637
withval=$with_extra_cxxflags; CFG_EXTRA_CXXFLAGS="${with_extra_cxxflags}"
4644
cat >>confdefs.h <<_ACEOF
4645
#define CFG_EXTRA_CXXFLAGS "${CFG_EXTRA_CXXFLAGS}"
4650
# Check whether --with-qmake was given.
4651
if test "${with_qmake+set}" = set; then :
4652
withval=$with_qmake; # Extract the first word of "${with_qmake}", so it can be a program name with args.
4653
set dummy ${with_qmake}; ac_word=$2
4654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655
$as_echo_n "checking for $ac_word... " >&6; }
4656
if test "${ac_cv_prog_CFG_QMAKE+set}" = set; then :
4657
$as_echo_n "(cached) " >&6
4659
if test -n "$CFG_QMAKE"; then
4660
ac_cv_prog_CFG_QMAKE="$CFG_QMAKE" # Let the user override the test.
4662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666
test -z "$as_dir" && as_dir=.
4667
for ac_exec_ext in '' $ac_executable_extensions; do
4668
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669
ac_cv_prog_CFG_QMAKE="${with_qmake}"
4670
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679
CFG_QMAKE=$ac_cv_prog_CFG_QMAKE
4680
if test -n "$CFG_QMAKE"; then
4681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_QMAKE" >&5
4682
$as_echo "$CFG_QMAKE" >&6; }
4684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685
$as_echo "no" >&6; }
4690
for ac_prog in qmake qmake-qt3 qmake-qt4
4692
# Extract the first word of "$ac_prog", so it can be a program name with args.
4693
set dummy $ac_prog; ac_word=$2
4694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695
$as_echo_n "checking for $ac_word... " >&6; }
4696
if test "${ac_cv_prog_CFG_QMAKE+set}" = set; then :
4697
$as_echo_n "(cached) " >&6
4699
if test -n "$CFG_QMAKE"; then
4700
ac_cv_prog_CFG_QMAKE="$CFG_QMAKE" # Let the user override the test.
4702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706
test -z "$as_dir" && as_dir=.
4707
for ac_exec_ext in '' $ac_executable_extensions; do
4708
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709
ac_cv_prog_CFG_QMAKE="$ac_prog"
4710
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719
CFG_QMAKE=$ac_cv_prog_CFG_QMAKE
4720
if test -n "$CFG_QMAKE"; then
4721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_QMAKE" >&5
4722
$as_echo "$CFG_QMAKE" >&6; }
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725
$as_echo "no" >&6; }
4729
test -n "$CFG_QMAKE" && break
4735
if test -z ${CFG_QMAKE}; then
4736
as_fn_error $? "qmake not found" "$LINENO" 5
4738
cat >>confdefs.h <<_ACEOF
4739
#define CFG_QMAKE "${CFG_QMAKE}"
4743
if expr ${CFG_QMAKE} : '.*-qt4' >/dev/null; then
4744
for ac_prog in lupdate-qt4 lupdate lupdate-qt3
4746
# Extract the first word of "$ac_prog", so it can be a program name with args.
4747
set dummy $ac_prog; ac_word=$2
4748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749
$as_echo_n "checking for $ac_word... " >&6; }
4750
if test "${ac_cv_prog_CFG_LUPDATE+set}" = set; then :
4751
$as_echo_n "(cached) " >&6
4753
if test -n "$CFG_LUPDATE"; then
4754
ac_cv_prog_CFG_LUPDATE="$CFG_LUPDATE" # Let the user override the test.
4756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760
test -z "$as_dir" && as_dir=.
4761
for ac_exec_ext in '' $ac_executable_extensions; do
4762
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763
ac_cv_prog_CFG_LUPDATE="$ac_prog"
4764
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773
CFG_LUPDATE=$ac_cv_prog_CFG_LUPDATE
4774
if test -n "$CFG_LUPDATE"; then
4775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_LUPDATE" >&5
4776
$as_echo "$CFG_LUPDATE" >&6; }
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779
$as_echo "no" >&6; }
4783
test -n "$CFG_LUPDATE" && break
4786
for ac_prog in lrelease-qt4 lrelease lrelease-qt3
4788
# Extract the first word of "$ac_prog", so it can be a program name with args.
4789
set dummy $ac_prog; ac_word=$2
4790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791
$as_echo_n "checking for $ac_word... " >&6; }
4792
if test "${ac_cv_prog_CFG_LRELEASE+set}" = set; then :
4793
$as_echo_n "(cached) " >&6
4795
if test -n "$CFG_LRELEASE"; then
4796
ac_cv_prog_CFG_LRELEASE="$CFG_LRELEASE" # Let the user override the test.
4798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802
test -z "$as_dir" && as_dir=.
4803
for ac_exec_ext in '' $ac_executable_extensions; do
4804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4805
ac_cv_prog_CFG_LRELEASE="$ac_prog"
4806
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815
CFG_LRELEASE=$ac_cv_prog_CFG_LRELEASE
4816
if test -n "$CFG_LRELEASE"; then
4817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_LRELEASE" >&5
4818
$as_echo "$CFG_LRELEASE" >&6; }
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821
$as_echo "no" >&6; }
4825
test -n "$CFG_LRELEASE" && break
4828
elif expr ${CFG_QMAKE} : '.*-qt3' >/dev/null; then
4829
for ac_prog in lupdate-qt3 lupdate lupdate-qt4
4831
# Extract the first word of "$ac_prog", so it can be a program name with args.
4832
set dummy $ac_prog; ac_word=$2
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834
$as_echo_n "checking for $ac_word... " >&6; }
4835
if test "${ac_cv_prog_CFG_LUPDATE+set}" = set; then :
4836
$as_echo_n "(cached) " >&6
4838
if test -n "$CFG_LUPDATE"; then
4839
ac_cv_prog_CFG_LUPDATE="$CFG_LUPDATE" # Let the user override the test.
4841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845
test -z "$as_dir" && as_dir=.
4846
for ac_exec_ext in '' $ac_executable_extensions; do
4847
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848
ac_cv_prog_CFG_LUPDATE="$ac_prog"
4849
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858
CFG_LUPDATE=$ac_cv_prog_CFG_LUPDATE
4859
if test -n "$CFG_LUPDATE"; then
4860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_LUPDATE" >&5
4861
$as_echo "$CFG_LUPDATE" >&6; }
4863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864
$as_echo "no" >&6; }
4868
test -n "$CFG_LUPDATE" && break
4871
for ac_prog in lrelease-qt3 lrelease lrelease-qt4
4873
# Extract the first word of "$ac_prog", so it can be a program name with args.
4874
set dummy $ac_prog; ac_word=$2
4875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876
$as_echo_n "checking for $ac_word... " >&6; }
4877
if test "${ac_cv_prog_CFG_LRELEASE+set}" = set; then :
4878
$as_echo_n "(cached) " >&6
4880
if test -n "$CFG_LRELEASE"; then
4881
ac_cv_prog_CFG_LRELEASE="$CFG_LRELEASE" # Let the user override the test.
4883
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887
test -z "$as_dir" && as_dir=.
4888
for ac_exec_ext in '' $ac_executable_extensions; do
4889
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4890
ac_cv_prog_CFG_LRELEASE="$ac_prog"
4891
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900
CFG_LRELEASE=$ac_cv_prog_CFG_LRELEASE
4901
if test -n "$CFG_LRELEASE"; then
4902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_LRELEASE" >&5
4903
$as_echo "$CFG_LRELEASE" >&6; }
4905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906
$as_echo "no" >&6; }
4910
test -n "$CFG_LRELEASE" && break
4914
for ac_prog in lupdate lupdate-qt3 lupdate-qt4
4916
# Extract the first word of "$ac_prog", so it can be a program name with args.
4917
set dummy $ac_prog; ac_word=$2
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919
$as_echo_n "checking for $ac_word... " >&6; }
4920
if test "${ac_cv_prog_CFG_LUPDATE+set}" = set; then :
4921
$as_echo_n "(cached) " >&6
4923
if test -n "$CFG_LUPDATE"; then
4924
ac_cv_prog_CFG_LUPDATE="$CFG_LUPDATE" # Let the user override the test.
4926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930
test -z "$as_dir" && as_dir=.
4931
for ac_exec_ext in '' $ac_executable_extensions; do
4932
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933
ac_cv_prog_CFG_LUPDATE="$ac_prog"
4934
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943
CFG_LUPDATE=$ac_cv_prog_CFG_LUPDATE
4944
if test -n "$CFG_LUPDATE"; then
4945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_LUPDATE" >&5
4946
$as_echo "$CFG_LUPDATE" >&6; }
4948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949
$as_echo "no" >&6; }
4953
test -n "$CFG_LUPDATE" && break
4956
for ac_prog in lrelease lrelease-qt3 lrelease-qt4
4958
# Extract the first word of "$ac_prog", so it can be a program name with args.
4959
set dummy $ac_prog; ac_word=$2
4960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961
$as_echo_n "checking for $ac_word... " >&6; }
4962
if test "${ac_cv_prog_CFG_LRELEASE+set}" = set; then :
4963
$as_echo_n "(cached) " >&6
4965
if test -n "$CFG_LRELEASE"; then
4966
ac_cv_prog_CFG_LRELEASE="$CFG_LRELEASE" # Let the user override the test.
4968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972
test -z "$as_dir" && as_dir=.
4973
for ac_exec_ext in '' $ac_executable_extensions; do
4974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975
ac_cv_prog_CFG_LRELEASE="$ac_prog"
4976
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985
CFG_LRELEASE=$ac_cv_prog_CFG_LRELEASE
4986
if test -n "$CFG_LRELEASE"; then
4987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_LRELEASE" >&5
4988
$as_echo "$CFG_LRELEASE" >&6; }
4990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991
$as_echo "no" >&6; }
4995
test -n "$CFG_LRELEASE" && break
4999
cat >>confdefs.h <<_ACEOF
5000
#define CFG_LUPDATE "${CFG_LUPDATE}"
5003
cat >>confdefs.h <<_ACEOF
5004
#define CFG_LRELEASE "${CFG_LRELEASE}"
5009
# Check whether --with-dbus was given.
5010
if test "${with_dbus+set}" = set; then :
5011
withval=$with_dbus; with_dbus="$withval"
5017
if test "$with_dbus" != "no"; then
5020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libQtDBus" >&5
5021
$as_echo_n "checking for libQtDBus... " >&6; }
5023
cat >dbustest/dbustest.pro <<EOF
5027
SOURCES += dbustest.cpp
5029
cat >dbustest/dbustest.cpp <<EOF
5030
#include <QDBusConnection>
5032
QDBusConnection b = QDBusConnection::sessionBus();
5037
${CFG_QMAKE} && make >/dev/null 2>&1
5041
if test $dbus_result -eq 0; then
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5043
$as_echo "yes" >&6; }
5047
$as_echo "#define HAVE_QTDBUS 1" >>confdefs.h
5050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051
$as_echo "no" >&6; }
5057
# Check whether --with-phonon was given.
5058
if test "${with_phonon+set}" = set; then :
5059
withval=$with_phonon; with_phonon="$withval"
5065
if test "$with_phonon" != "no"; then
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphonon" >&5
5069
$as_echo_n "checking for libphonon... " >&6; }
5071
cat >phonontest/phonontest.pro <<EOF
5074
SOURCES += phonontest.cpp
5076
cat >phonontest/phonontest.cpp <<EOF
5077
#include <Phonon/Path>
5084
${CFG_QMAKE} && make >/dev/null 2>&1
5088
if test $phonon_result -eq 0; then
5089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5090
$as_echo "yes" >&6; }
5094
$as_echo "#define HAVE_PHONON 1" >>confdefs.h
5097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098
$as_echo "no" >&6; }
5104
# Check whether --with-db2html was given.
5105
if test "${with_db2html+set}" = set; then :
5106
withval=$with_db2html; CFG_DB2HTML="$withval"
5112
if test -z ${CFG_DB2HTML}; then
5113
for ac_prog in xsltproc xalan jw
5115
# Extract the first word of "$ac_prog", so it can be a program name with args.
5116
set dummy $ac_prog; ac_word=$2
5117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118
$as_echo_n "checking for $ac_word... " >&6; }
5119
if test "${ac_cv_prog_CFG_DB2HTML+set}" = set; then :
5120
$as_echo_n "(cached) " >&6
5122
if test -n "$CFG_DB2HTML"; then
5123
ac_cv_prog_CFG_DB2HTML="$CFG_DB2HTML" # Let the user override the test.
5125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129
test -z "$as_dir" && as_dir=.
5130
for ac_exec_ext in '' $ac_executable_extensions; do
5131
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132
ac_cv_prog_CFG_DB2HTML="$ac_prog"
5133
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142
CFG_DB2HTML=$ac_cv_prog_CFG_DB2HTML
5143
if test -n "$CFG_DB2HTML"; then
5144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFG_DB2HTML" >&5
5145
$as_echo "$CFG_DB2HTML" >&6; }
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148
$as_echo "no" >&6; }
5152
test -n "$CFG_DB2HTML" && break
5156
if test -z ${CFG_DB2HTML}; then
5157
as_fn_error $? "No docbook to HTML converter found, install docbook-utils, xsltproc or xalan" "$LINENO" 5
5158
elif test "x${CFG_DB2HTML}" != "xjw"; then
5160
# Check whether --with-xsl_stylesheet was given.
5161
if test "${with_xsl_stylesheet+set}" = set; then :
5162
withval=$with_xsl_stylesheet; CFG_XSL_STYLESHEET="${with_xsl_stylesheet}"
5164
CFG_XSL_STYLESHEET=""
5168
if test -z ${CFG_XSL_STYLESHEET}; then
5169
docbookxsldirs="/usr/share/xml/docbook/stylesheet/nwalsh /usr/share/sgml/docbook/xsl-stylesheets /usr/share/xml/docbook/stylesheet/nwalsh/current /usr/share/xml/docbook/xsl-stylesheets /usr/share/xsl/docbook /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/stylesheet/nwalsh/1.*"
5170
for docbookxsldir in $docbookxsldirs; do
5172
if test -f ${docbookxsldir}/html/docbook.xsl; then
5173
CFG_XSL_STYLESHEET=${docbookxsldir}/html/docbook.xsl
5176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${docbookxsldir}/html/docbook.xsl... ${xsl_found}" >&5
5177
$as_echo "$as_me: checking for ${docbookxsldir}/html/docbook.xsl... ${xsl_found}" >&6;}
5178
if test "$xsl_found" = "yes"; then
5183
if test -z ${CFG_XSL_STYLESHEET}; then
5184
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
5185
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
5186
for kde_sharedir in $kde_sharedirs; do
5188
if test -f ${kde_sharedir}/apps/ksgmltools2/docbook/xsl/html/docbook.xsl; then
5189
CFG_XSL_STYLESHEET=${kde_sharedir}/apps/ksgmltools2/docbook/xsl/html/docbook.xsl
5192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${kde_sharedir}/apps/ksgmltools2/docbook/xsl/html/docbook.xsl... ${xsl_found}" >&5
5193
$as_echo "$as_me: checking for ${kde_sharedir}/apps/ksgmltools2/docbook/xsl/html/docbook.xsl... ${xsl_found}" >&6;}
5194
if test "$xsl_found" = "yes"; then
5199
if test -z ${CFG_XSL_STYLESHEET}; then
5200
as_fn_error $? "No docbook XSL stylesheet found, install docbook-xsl or kdelibs-data" "$LINENO" 5
5205
ac_config_files="$ac_config_files config.pri"
5207
cat >confcache <<\_ACEOF
5208
# This file is a shell script that caches the results of configure
5209
# tests run on this system so they can be shared between configure
5210
# scripts and configure runs, see configure's option --config-cache.
5211
# It is not useful on other systems. If it contains results you don't
5212
# want to keep, you may remove or edit it.
5214
# config.status only pays attention to the cache file if you give it
5215
# the --recheck option to rerun configure.
5217
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5218
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5223
# The following way of writing the cache mishandles newlines in values,
5224
# but we know of no workaround that is simple, portable, and efficient.
5225
# So, we kill variables containing newlines.
5226
# Ultrix sh set writes to stderr and can't be redirected directly,
5227
# and sets the high bit in the cache file unless we assign to the vars.
5229
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5230
eval ac_val=\$$ac_var
5234
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5235
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5238
_ | IFS | as_nl) ;; #(
5239
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5240
*) { eval $ac_var=; unset $ac_var;} ;;
5246
case $as_nl`(ac_space=' '; set) 2>&1` in #(
5247
*${as_nl}ac_space=\ *)
5248
# `set' does not quote correctly, so add quotes: double-quote
5249
# substitution turns \\\\ into \\, and sed turns \\ into \.
5252
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5255
# `set' quotes correctly as required by POSIX, so do not add quotes.
5256
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5265
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5267
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5269
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5270
if test -w "$cache_file"; then
5271
test "x$cache_file" != "x/dev/null" &&
5272
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5273
$as_echo "$as_me: updating cache $cache_file" >&6;}
5274
cat confcache >$cache_file
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5277
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5282
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5283
# Let make expand exec_prefix.
5284
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5286
DEFS=-DHAVE_CONFIG_H
5291
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5292
# 1. Remove the extension, and $U if already installed.
5293
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5294
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5295
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5296
# will be set to the directory where LIBOBJS objects are built.
5297
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5298
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5302
LTLIBOBJS=$ac_ltlibobjs
5306
: ${CONFIG_STATUS=./config.status}
5308
ac_clean_files_save=$ac_clean_files
5309
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5311
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5313
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5315
# Generated by $as_me.
5316
# Run this file to recreate the current configuration.
5317
# Compiler output produced by configure, useful for debugging
5318
# configure, is in config.log if it exists.
5324
SHELL=\${CONFIG_SHELL-$SHELL}
5327
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5328
## -------------------- ##
5329
## M4sh Initialization. ##
5330
## -------------------- ##
5332
# Be more Bourne compatible
5333
DUALCASE=1; export DUALCASE # for MKS sh
5334
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5337
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5338
# is contrary to our usage. Disable this feature.
5339
alias -g '${1+"$@"}'='"$@"'
5340
setopt NO_GLOB_SUBST
5342
case `(set -o) 2>/dev/null` in #(
5354
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5355
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5356
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5357
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5358
# Prefer a ksh shell builtin over an external printf program on Solaris,
5359
# but without wasting forks for bash or zsh.
5360
if test -z "$BASH_VERSION$ZSH_VERSION" \
5361
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5362
as_echo='print -r --'
5363
as_echo_n='print -rn --'
5364
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5365
as_echo='printf %s\n'
5366
as_echo_n='printf %s'
5368
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5369
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5370
as_echo_n='/usr/ucb/echo -n'
5372
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5373
as_echo_n_body='eval
5377
expr "X$arg" : "X\\(.*\\)$as_nl";
5378
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5380
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5382
export as_echo_n_body
5383
as_echo_n='sh -c $as_echo_n_body as_echo'
5386
as_echo='sh -c $as_echo_body as_echo'
5389
# The user is always right.
5390
if test "${PATH_SEPARATOR+set}" != set; then
5392
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5393
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5400
# We need space, tab and new line, in precisely that order. Quoting is
5401
# there to prevent editors from complaining about space-tab.
5402
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5403
# splitting by setting IFS to empty value.)
5406
# Find who we are. Look in the path if we contain no directory separator.
5408
*[\\/]* ) as_myself=$0 ;;
5409
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413
test -z "$as_dir" && as_dir=.
5414
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5420
# We did not find ourselves, most probably we were run as `sh COMMAND'
5421
# in which case we are not to be found in the path.
5422
if test "x$as_myself" = x; then
5425
if test ! -f "$as_myself"; then
5426
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5430
# Unset variables that we do not need and which cause bugs (e.g. in
5431
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5432
# suppresses any "Segmentation fault" message there. '((' could
5433
# trigger a bug in pdksh 5.2.14.
5434
for as_var in BASH_ENV ENV MAIL MAILPATH
5435
do eval test x\${$as_var+set} = xset \
5436
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5449
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5452
# as_fn_error STATUS ERROR [LINENO LOG_FD]
5453
# ----------------------------------------
5454
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5455
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5456
# script with STATUS, using 1 if that was 0.
5459
as_status=$1; test $as_status -eq 0 && as_status=1
5461
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5462
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5464
$as_echo "$as_me: error: $2" >&2
5465
as_fn_exit $as_status
5469
# as_fn_set_status STATUS
5470
# -----------------------
5471
# Set $? to STATUS, without forking.
5475
} # as_fn_set_status
5479
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5489
# Portably unset VAR.
5492
{ eval $1=; unset $1;}
5494
as_unset=as_fn_unset
5495
# as_fn_append VAR VALUE
5496
# ----------------------
5497
# Append the text in VALUE to the end of the definition contained in VAR. Take
5498
# advantage of any shell optimizations that allow amortized linear growth over
5499
# repeated appends, instead of the typical quadratic growth present in naive
5501
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5502
eval 'as_fn_append ()
5513
# as_fn_arith ARG...
5514
# ------------------
5515
# Perform arithmetic evaluation on the ARGs, and store the result in the
5516
# global $as_val. Take advantage of shells that can avoid forks. The arguments
5517
# must be portable across $(()) and expr.
5518
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5519
eval 'as_fn_arith ()
5526
as_val=`expr "$@" || test $? -eq 1`
5531
if expr a : '\(a\)' >/dev/null 2>&1 &&
5532
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5538
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5539
as_basename=basename
5544
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5550
as_me=`$as_basename -- "$0" ||
5551
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5552
X"$0" : 'X\(//\)$' \| \
5553
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5555
sed '/^.*\/\([^/][^/]*\)\/*$/{
5569
# Avoid depending upon Character Ranges.
5570
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5571
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5572
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5573
as_cr_digits='0123456789'
5574
as_cr_alnum=$as_cr_Letters$as_cr_digits
5576
ECHO_C= ECHO_N= ECHO_T=
5577
case `echo -n x` in #(((((
5579
case `echo 'xy\c'` in
5580
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5582
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5589
rm -f conf$$ conf$$.exe conf$$.file
5590
if test -d conf$$.dir; then
5591
rm -f conf$$.dir/conf$$.file
5594
mkdir conf$$.dir 2>/dev/null
5596
if (echo >conf$$.file) 2>/dev/null; then
5597
if ln -s conf$$.file conf$$ 2>/dev/null; then
5599
# ... but there are two gotchas:
5600
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5601
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5602
# In both cases, we have to default to `cp -p'.
5603
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5605
elif ln conf$$.file conf$$ 2>/dev/null; then
5613
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5614
rmdir conf$$.dir 2>/dev/null
5619
# Create "$as_dir" as a directory, including parents if necessary.
5624
-*) as_dir=./$as_dir;;
5626
test -d "$as_dir" || eval $as_mkdir_p || {
5630
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5631
*) as_qdir=$as_dir;;
5633
as_dirs="'$as_qdir' $as_dirs"
5634
as_dir=`$as_dirname -- "$as_dir" ||
5635
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5636
X"$as_dir" : 'X\(//\)[^/]' \| \
5637
X"$as_dir" : 'X\(//\)$' \| \
5638
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5639
$as_echo X"$as_dir" |
5640
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5657
test -d "$as_dir" && break
5659
test -z "$as_dirs" || eval "mkdir $as_dirs"
5660
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5664
if mkdir -p . 2>/dev/null; then
5665
as_mkdir_p='mkdir -p "$as_dir"'
5667
test -d ./-p && rmdir ./-p
5671
if test -x / >/dev/null 2>&1; then
5674
if ls -dL / >/dev/null 2>&1; then
5681
if test -d "$1"; then
5687
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5688
???[sx]*):;;*)false;;esac;fi
5692
as_executable_p=$as_test_x
5694
# Sed expression to map a string onto a valid CPP name.
5695
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5697
# Sed expression to map a string onto a valid variable name.
5698
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5702
## ----------------------------------- ##
5703
## Main body of $CONFIG_STATUS script. ##
5704
## ----------------------------------- ##
5706
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5708
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5709
# Save the log message, to keep $0 and so on meaningful, and to
5710
# report actual input values of CONFIG_FILES etc. instead of their
5711
# values after options handling.
5713
This file was extended by kid3 $as_me 1.6, which was
5714
generated by GNU Autoconf 2.67. Invocation command line was
5716
CONFIG_FILES = $CONFIG_FILES
5717
CONFIG_HEADERS = $CONFIG_HEADERS
5718
CONFIG_LINKS = $CONFIG_LINKS
5719
CONFIG_COMMANDS = $CONFIG_COMMANDS
5722
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5727
case $ac_config_files in *"
5728
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5731
case $ac_config_headers in *"
5732
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5736
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5737
# Files that config.status was made for.
5738
config_files="$ac_config_files"
5739
config_headers="$ac_config_headers"
5743
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5745
\`$as_me' instantiates files and other configuration actions
5746
from templates according to the current configuration. Unless the files
5747
and actions are specified as TAGs, all are instantiated by default.
5749
Usage: $0 [OPTION]... [TAG]...
5751
-h, --help print this help, then exit
5752
-V, --version print version number and configuration settings, then exit
5753
--config print configuration, then exit
5754
-q, --quiet, --silent
5755
do not print progress messages
5756
-d, --debug don't remove temporary files
5757
--recheck update $as_me by reconfiguring in the same conditions
5758
--file=FILE[:TEMPLATE]
5759
instantiate the configuration file FILE
5760
--header=FILE[:TEMPLATE]
5761
instantiate the configuration header FILE
5763
Configuration files:
5766
Configuration headers:
5769
Report bugs to the package provider."
5772
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5773
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5775
kid3 config.status 1.6
5776
configured by $0, generated by GNU Autoconf 2.67,
5777
with options \\"\$ac_cs_config\\"
5779
Copyright (C) 2010 Free Software Foundation, Inc.
5780
This config.status script is free software; the Free Software Foundation
5781
gives unlimited permission to copy, distribute and modify it."
5785
test -n "\$AWK" || AWK=awk
5788
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5789
# The default lists apply if the user does not specify any file.
5795
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5796
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5800
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5812
# Handling of the options.
5813
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5815
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5816
$as_echo "$ac_cs_version"; exit ;;
5817
--config | --confi | --conf | --con | --co | --c )
5818
$as_echo "$ac_cs_config"; exit ;;
5819
--debug | --debu | --deb | --de | --d | -d )
5821
--file | --fil | --fi | --f )
5824
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5825
'') as_fn_error $? "missing file argument" ;;
5827
as_fn_append CONFIG_FILES " '$ac_optarg'"
5828
ac_need_defaults=false;;
5829
--header | --heade | --head | --hea )
5832
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5834
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5835
ac_need_defaults=false;;
5837
# Conflict between --help and --header
5838
as_fn_error $? "ambiguous option: \`$1'
5839
Try \`$0 --help' for more information.";;
5840
--help | --hel | -h )
5841
$as_echo "$ac_cs_usage"; exit ;;
5842
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5843
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5847
-*) as_fn_error $? "unrecognized option: \`$1'
5848
Try \`$0 --help' for more information." ;;
5850
*) as_fn_append ac_config_targets " $1"
5851
ac_need_defaults=false ;;
5857
ac_configure_extra_args=
5859
if $ac_cs_silent; then
5861
ac_configure_extra_args="$ac_configure_extra_args --silent"
5865
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5866
if \$ac_cs_recheck; then
5867
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5869
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5870
CONFIG_SHELL='$SHELL'
5876
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5880
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5881
## Running $as_me. ##
5887
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5890
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5892
# Handling of arguments.
5893
for ac_config_target in $ac_config_targets
5895
case $ac_config_target in
5896
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5897
"config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
5899
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5904
# If the user did not use the arguments to specify the items to instantiate,
5905
# then the envvar interface is used. Set only those that are not.
5906
# We use the long form for the default assignment because of an extremely
5907
# bizarre bug on SunOS 4.1.3.
5908
if $ac_need_defaults; then
5909
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5910
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5913
# Have a temporary directory for convenience. Make it in the build tree
5914
# simply because there is no reason against having it here, and in addition,
5915
# creating and moving files from /tmp can sometimes cause problems.
5916
# Hook for its removal unless debugging.
5917
# Note that there is a small window in which the directory will not be cleaned:
5918
# after its creation but before its name has been assigned to `$tmp'.
5922
trap 'exit_status=$?
5923
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5925
trap 'as_fn_exit 1' 1 2 13 15
5927
# Create a (secure) tmp directory for tmp files.
5930
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5931
test -n "$tmp" && test -d "$tmp"
5934
tmp=./conf$$-$RANDOM
5935
(umask 077 && mkdir "$tmp")
5936
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5938
# Set up the scripts for CONFIG_FILES section.
5939
# No need to generate them if there are no CONFIG_FILES.
5940
# This happens for instance with `./config.status config.h'.
5941
if test -n "$CONFIG_FILES"; then
5944
ac_cr=`echo X | tr X '\015'`
5945
# On cygwin, bash can eat \r inside `` if the user requested igncr.
5946
# But we know of no other shell where ac_cr would be empty at this
5947
# point, so we can use a bashism as a fallback.
5948
if test "x$ac_cr" = x; then
5949
eval ac_cr=\$\'\\r\'
5951
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5952
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5958
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5963
echo "cat >conf$$subs.awk <<_ACEOF" &&
5964
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5967
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5968
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5970
for ac_last_try in false false false false false :; do
5971
. ./conf$$subs.sh ||
5972
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5974
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5975
if test $ac_delim_n = $ac_delim_num; then
5977
elif $ac_last_try; then
5978
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5980
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5985
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5986
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5990
s/^/S["/; s/!.*/"]=/
6000
s/\(.\{148\}\)..*/\1/
6002
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6007
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6014
s/\(.\{148\}\)..*/\1/
6016
s/["\\]/\\&/g; s/^/"/; s/$/"/
6020
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6025
' <conf$$subs.awk | sed '
6030
' >>$CONFIG_STATUS || ac_write_fail=1
6031
rm -f conf$$subs.awk
6032
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6034
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6035
for (key in S) S_is_set[key] = 1
6041
nfields = split(line, field, "@")
6043
len = length(field[1])
6044
for (i = 2; i < nfields; i++) {
6046
keylen = length(key)
6047
if (S_is_set[key]) {
6049
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6050
len += length(value) + length(field[++i])
6061
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6062
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6063
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6066
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6067
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6070
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6071
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6072
# trailing colons and then remove the whole line if VPATH becomes empty
6073
# (actually we leave an empty line to preserve line numbers).
6074
if test "x$srcdir" = x.; then
6075
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6093
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6094
fi # test -n "$CONFIG_FILES"
6096
# Set up the scripts for CONFIG_HEADERS section.
6097
# No need to generate them if there are no CONFIG_HEADERS.
6098
# This happens for instance with `./config.status Makefile'.
6099
if test -n "$CONFIG_HEADERS"; then
6100
cat >"$tmp/defines.awk" <<\_ACAWK ||
6104
# Transform confdefs.h into an awk script `defines.awk', embedded as
6105
# here-document in config.status, that substitutes the proper values into
6106
# config.h.in to produce config.h.
6108
# Create a delimiter string that does not exist in confdefs.h, to ease
6109
# handling of long lines.
6111
for ac_last_try in false false :; do
6112
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6113
if test -z "$ac_t"; then
6115
elif $ac_last_try; then
6116
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6118
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6122
# For the awk script, D is an array of macro values keyed by name,
6123
# likewise P contains macro parameters if any. Preserve backslash
6124
# newline sequences.
6126
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6128
s/.\{148\}/&'"$ac_delim"'/g
6131
s/^[ ]*#[ ]*define[ ][ ]*/ /
6138
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6140
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6144
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6145
D["\1"]=" \3\\\\\\n"\\/p
6147
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6152
s/.\{148\}/&'"$ac_delim"'/g
6157
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6160
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6162
' <confdefs.h | sed '
6163
s/'"$ac_delim"'/"\\\
6164
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6166
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6167
for (key in D) D_is_set[key] = 1
6170
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6172
split(line, arg, " ")
6173
if (arg[1] == "#") {
6177
defundef = substr(arg[1], 2)
6180
split(mac1, mac2, "(") #)
6182
prefix = substr(line, 1, index(line, defundef) - 1)
6183
if (D_is_set[macro]) {
6184
# Preserve the white space surrounding the "#".
6185
print prefix "define", macro P[macro] D[macro]
6188
# Replace #undef with comments. This is necessary, for example,
6189
# in the case of _POSIX_SOURCE, which is predefined and required
6190
# on some systems where configure will not decide to define it.
6191
if (defundef == "undef") {
6192
print "/*", prefix defundef, macro, "*/"
6200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6201
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6202
fi # test -n "$CONFIG_HEADERS"
6205
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6210
:[FHLC]) ac_mode=$ac_tag; continue;;
6212
case $ac_mode$ac_tag in
6214
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6215
:[FH]-) ac_tag=-:-;;
6216
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6233
-) ac_f="$tmp/stdin";;
6234
*) # Look for the file first in the build tree, then in the source tree
6235
# (if the path is not absolute). The absolute path cannot be DOS-style,
6236
# because $ac_f cannot contain `:'.
6240
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6242
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6244
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6245
as_fn_append ac_file_inputs " '$ac_f'"
6248
# Let's still pretend it is `configure' which instantiates (i.e., don't
6249
# use $as_me), people would be surprised to read:
6250
# /* config.h. Generated by config.status. */
6251
configure_input='Generated from '`
6252
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6254
if test x"$ac_file" != x-; then
6255
configure_input="$ac_file. $configure_input"
6256
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6257
$as_echo "$as_me: creating $ac_file" >&6;}
6259
# Neutralize special characters interpreted by sed in replacement strings.
6260
case $configure_input in #(
6261
*\&* | *\|* | *\\* )
6262
ac_sed_conf_input=`$as_echo "$configure_input" |
6263
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6264
*) ac_sed_conf_input=$configure_input;;
6268
*:-:* | *:-) cat >"$tmp/stdin" \
6269
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6274
ac_dir=`$as_dirname -- "$ac_file" ||
6275
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6276
X"$ac_file" : 'X\(//\)[^/]' \| \
6277
X"$ac_file" : 'X\(//\)$' \| \
6278
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6279
$as_echo X"$ac_file" |
6280
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6297
as_dir="$ac_dir"; as_fn_mkdir_p
6301
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6303
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6304
# A ".." for each directory in $ac_dir_suffix.
6305
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6306
case $ac_top_builddir_sub in
6307
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6308
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6311
ac_abs_top_builddir=$ac_pwd
6312
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6313
# for backward compatibility:
6314
ac_top_builddir=$ac_top_build_prefix
6317
.) # We are building in place.
6319
ac_top_srcdir=$ac_top_builddir_sub
6320
ac_abs_top_srcdir=$ac_pwd ;;
6321
[\\/]* | ?:[\\/]* ) # Absolute name.
6322
ac_srcdir=$srcdir$ac_dir_suffix;
6323
ac_top_srcdir=$srcdir
6324
ac_abs_top_srcdir=$srcdir ;;
6326
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6327
ac_top_srcdir=$ac_top_build_prefix$srcdir
6328
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6330
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6341
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6342
# If the template does not know about datarootdir, expand it.
6343
# FIXME: This hack should be removed a few years after 2.60.
6344
ac_datarootdir_hack=; ac_datarootdir_seen=
6355
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6356
*datarootdir*) ac_datarootdir_seen=yes;;
6357
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6358
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6359
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6361
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6362
ac_datarootdir_hack='
6363
s&@datadir@&$datadir&g
6364
s&@docdir@&$docdir&g
6365
s&@infodir@&$infodir&g
6366
s&@localedir@&$localedir&g
6367
s&@mandir@&$mandir&g
6368
s&\\\${datarootdir}&$datarootdir&g' ;;
6372
# Neutralize VPATH when `$srcdir' = `.'.
6373
# Shell code in configure.ac might set extrasub.
6374
# FIXME: do we really want to maintain this feature?
6375
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6376
ac_sed_extra="$ac_vpsub
6379
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6381
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6382
s|@configure_input@|$ac_sed_conf_input|;t t
6383
s&@top_builddir@&$ac_top_builddir_sub&;t t
6384
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6385
s&@srcdir@&$ac_srcdir&;t t
6386
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6387
s&@top_srcdir@&$ac_top_srcdir&;t t
6388
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6389
s&@builddir@&$ac_builddir&;t t
6390
s&@abs_builddir@&$ac_abs_builddir&;t t
6391
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6392
$ac_datarootdir_hack
6394
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6395
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6397
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6398
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6399
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6400
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6401
which seems to be undefined. Please make sure it is defined" >&5
6402
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6403
which seems to be undefined. Please make sure it is defined" >&2;}
6407
-) cat "$tmp/out" && rm -f "$tmp/out";;
6408
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6410
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6416
if test x"$ac_file" != x-; then
6418
$as_echo "/* $configure_input */" \
6419
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6420
} >"$tmp/config.h" \
6421
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6422
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6424
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6427
mv "$tmp/config.h" "$ac_file" \
6428
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6431
$as_echo "/* $configure_input */" \
6432
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6433
|| as_fn_error $? "could not create -" "$LINENO" 5
6445
ac_clean_files=$ac_clean_files_save
6447
test $ac_write_fail = 0 ||
6448
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6451
# configure is writing to config.log, and then calls config.status.
6452
# config.status does its own redirection, appending to config.log.
6453
# Unfortunately, on DOS this fails, as config.log is still kept open
6454
# by configure, so config.status won't be able to write to it; its
6455
# output is simply discarded. So we exec the FD to /dev/null,
6456
# effectively closing config.log, so it can be properly (re)opened and
6457
# appended to by config.status. When coming back to configure, we
6458
# need to make the FD available again.
6459
if test "$no_create" != yes; then
6461
ac_config_status_args=
6462
test "$silent" = yes &&
6463
ac_config_status_args="$ac_config_status_args --quiet"
6465
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6467
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6468
# would make configure fail if this is the last instruction.
6469
$ac_cs_success || as_fn_exit 1
6471
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6472
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6473
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6477
test -d kid3 || mkdir kid3
6479
`dirname $0`/configure-kid3-qt.pl --from-configure --generate-ts