~ubuntu-branches/ubuntu/wily/kid3/wily-proposed

« back to all changes in this revision

Viewing changes to kid3-qt/configure

  • Committer: Package Import Robot
  • Author(s): Ana Beatriz Guerrero Lopez, Patrick Matthäi, Ana Beatriz Guerrero Lopez
  • Date: 2011-11-13 16:34:13 UTC
  • mfrom: (1.1.13) (2.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20111113163413-5y0anlc4dqf511uh
Tags: 2.0.1-1
* New upstream release.

[ Patrick Matthäi ]
* Adjust build system.
* Add build dependency xsltproc.

[ Ana Beatriz Guerrero Lopez ]
* Some more adjustments to the build system taken from upstream's deb/
* directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for kid3 1.6.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
# Foundation, Inc.
9
 
#
10
 
#
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
 
## -------------------- ##
16
 
 
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 :
20
 
  emulate sh
21
 
  NULLCMD=:
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+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
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
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
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'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
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.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in #((
93
 
  *[\\/]* ) as_myself=$0 ;;
94
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
 
for as_dir in $PATH
96
 
do
97
 
  IFS=$as_save_IFS
98
 
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
101
 
IFS=$as_save_IFS
102
 
 
103
 
     ;;
104
 
esac
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
108
 
  as_myself=$0
109
 
fi
110
 
if test ! -f "$as_myself"; then
111
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
113
 
fi
114
 
 
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 || :
122
 
done
123
 
PS1='$ '
124
 
PS2='> '
125
 
PS4='+ '
126
 
 
127
 
# NLS nuisances.
128
 
LC_ALL=C
129
 
export LC_ALL
130
 
LANGUAGE=C
131
 
export LANGUAGE
132
 
 
133
 
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
 
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 :
138
 
  emulate sh
139
 
  NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in #(
146
 
  *posix*) :
147
 
    set -o posix ;; #(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
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; }
158
 
 
159
 
exitcode=0
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 :
165
 
 
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
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 :
176
 
  as_have_required=yes
177
 
else
178
 
  as_have_required=no
179
 
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
 
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
185
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
 
do
187
 
  IFS=$as_save_IFS
188
 
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
191
 
         /*)
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 :
199
 
  break 2
200
 
fi
201
 
fi
202
 
           done;;
203
 
       esac
204
 
  as_found=false
205
 
done
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
209
 
fi; }
210
 
IFS=$as_save_IFS
211
 
 
212
 
 
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.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
 
fi
223
 
 
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."
230
 
  else
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."
235
 
  fi
236
 
  exit 1
237
 
fi
238
 
fi
239
 
fi
240
 
SHELL=${CONFIG_SHELL-/bin/sh}
241
 
export SHELL
242
 
# Unset more variables known to interfere with behavior of common tools.
243
 
CLICOLOR_FORCE= GREP_OPTIONS=
244
 
unset CLICOLOR_FORCE GREP_OPTIONS
245
 
 
246
 
## --------------------- ##
247
 
## M4sh Shell Functions. ##
248
 
## --------------------- ##
249
 
# as_fn_unset VAR
250
 
# ---------------
251
 
# Portably unset VAR.
252
 
as_fn_unset ()
253
 
{
254
 
  { eval $1=; unset $1;}
255
 
}
256
 
as_unset=as_fn_unset
257
 
 
258
 
# as_fn_set_status STATUS
259
 
# -----------------------
260
 
# Set $? to STATUS, without forking.
261
 
as_fn_set_status ()
262
 
{
263
 
  return $1
264
 
} # as_fn_set_status
265
 
 
266
 
# as_fn_exit STATUS
267
 
# -----------------
268
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
 
as_fn_exit ()
270
 
{
271
 
  set +e
272
 
  as_fn_set_status $1
273
 
  exit $1
274
 
} # as_fn_exit
275
 
 
276
 
# as_fn_mkdir_p
277
 
# -------------
278
 
# Create "$as_dir" as a directory, including parents if necessary.
279
 
as_fn_mkdir_p ()
280
 
{
281
 
 
282
 
  case $as_dir in #(
283
 
  -*) as_dir=./$as_dir;;
284
 
  esac
285
 
  test -d "$as_dir" || eval $as_mkdir_p || {
286
 
    as_dirs=
287
 
    while :; do
288
 
      case $as_dir in #(
289
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
 
      *) as_qdir=$as_dir;;
291
 
      esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
 
            s//\1/
301
 
            q
302
 
          }
303
 
          /^X\(\/\/\)[^/].*/{
304
 
            s//\1/
305
 
            q
306
 
          }
307
 
          /^X\(\/\/\)$/{
308
 
            s//\1/
309
 
            q
310
 
          }
311
 
          /^X\(\/\).*/{
312
 
            s//\1/
313
 
            q
314
 
          }
315
 
          s/.*/./; q'`
316
 
      test -d "$as_dir" && break
317
 
    done
318
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
 
 
321
 
 
322
 
} # as_fn_mkdir_p
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
328
 
# implementations.
329
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
 
  eval 'as_fn_append ()
331
 
  {
332
 
    eval $1+=\$2
333
 
  }'
334
 
else
335
 
  as_fn_append ()
336
 
  {
337
 
    eval $1=\$$1\$2
338
 
  }
339
 
fi # as_fn_append
340
 
 
341
 
# as_fn_arith ARG...
342
 
# ------------------
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 :
347
 
  eval 'as_fn_arith ()
348
 
  {
349
 
    as_val=$(( $* ))
350
 
  }'
351
 
else
352
 
  as_fn_arith ()
353
 
  {
354
 
    as_val=`expr "$@" || test $? -eq 1`
355
 
  }
356
 
fi # as_fn_arith
357
 
 
358
 
 
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.
364
 
as_fn_error ()
365
 
{
366
 
  as_status=$1; test $as_status -eq 0 && as_status=1
367
 
  if test "$4"; then
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
370
 
  fi
371
 
  $as_echo "$as_me: error: $2" >&2
372
 
  as_fn_exit $as_status
373
 
} # as_fn_error
374
 
 
375
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
 
  as_expr=expr
378
 
else
379
 
  as_expr=false
380
 
fi
381
 
 
382
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
 
  as_basename=basename
384
 
else
385
 
  as_basename=false
386
 
fi
387
 
 
388
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
 
  as_dirname=dirname
390
 
else
391
 
  as_dirname=false
392
 
fi
393
 
 
394
 
as_me=`$as_basename -- "$0" ||
395
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
 
         X"$0" : 'X\(//\)$' \| \
397
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
 
$as_echo X/"$0" |
399
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
 
            s//\1/
401
 
            q
402
 
          }
403
 
          /^X\/\(\/\/\)$/{
404
 
            s//\1/
405
 
            q
406
 
          }
407
 
          /^X\/\(\/\).*/{
408
 
            s//\1/
409
 
            q
410
 
          }
411
 
          s/.*/./; q'`
412
 
 
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
419
 
 
420
 
 
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.  :-)
426
 
  sed -n '
427
 
    p
428
 
    /[$]LINENO/=
429
 
  ' <$as_myself |
430
 
    sed '
431
 
      s/[$]LINENO.*/&-/
432
 
      t lineno
433
 
      b
434
 
      :lineno
435
 
      N
436
 
      :loop
437
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
 
      t loop
439
 
      s/-\n.*//
440
 
    ' >$as_me.lineno &&
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; }
443
 
 
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).
447
 
  . "./$as_me.lineno"
448
 
  # Exit status is that of the last command.
449
 
  exit
450
 
}
451
 
 
452
 
ECHO_C= ECHO_N= ECHO_T=
453
 
case `echo -n x` in #(((((
454
 
-n*)
455
 
  case `echo 'xy\c'` in
456
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
 
  xy)  ECHO_C='\c';;
458
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
 
       ECHO_T=' ';;
460
 
  esac;;
461
 
*)
462
 
  ECHO_N='-n';;
463
 
esac
464
 
 
465
 
rm -f conf$$ conf$$.exe conf$$.file
466
 
if test -d conf$$.dir; then
467
 
  rm -f conf$$.dir/conf$$.file
468
 
else
469
 
  rm -f conf$$.dir
470
 
  mkdir conf$$.dir 2>/dev/null
471
 
fi
472
 
if (echo >conf$$.file) 2>/dev/null; then
473
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
 
    as_ln_s='ln -s'
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 ||
480
 
      as_ln_s='cp -p'
481
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
 
    as_ln_s=ln
483
 
  else
484
 
    as_ln_s='cp -p'
485
 
  fi
486
 
else
487
 
  as_ln_s='cp -p'
488
 
fi
489
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
 
rmdir conf$$.dir 2>/dev/null
491
 
 
492
 
if mkdir -p . 2>/dev/null; then
493
 
  as_mkdir_p='mkdir -p "$as_dir"'
494
 
else
495
 
  test -d ./-p && rmdir ./-p
496
 
  as_mkdir_p=false
497
 
fi
498
 
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
521
 
 
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'"
524
 
 
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'"
527
 
 
528
 
 
529
 
test -n "$DJDIR" || exec 7<&0 </dev/null
530
 
exec 6>&1
531
 
 
532
 
# Name of the host.
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`
536
 
 
537
 
#
538
 
# Initializations.
539
 
#
540
 
ac_default_prefix=/usr/local
541
 
ac_clean_files=
542
 
ac_config_libobj_dir=.
543
 
LIBOBJS=
544
 
cross_compiling=no
545
 
subdirs=
546
 
MFLAGS=
547
 
MAKEFLAGS=
548
 
 
549
 
# Identity of this package.
550
 
PACKAGE_NAME='kid3'
551
 
PACKAGE_TARNAME='kid3'
552
 
PACKAGE_VERSION='1.6'
553
 
PACKAGE_STRING='kid3 1.6'
554
 
PACKAGE_BUGREPORT=''
555
 
PACKAGE_URL=''
556
 
 
557
 
# Factoring default headers for most tests.
558
 
ac_includes_default="\
559
 
#include <stdio.h>
560
 
#ifdef HAVE_SYS_TYPES_H
561
 
# include <sys/types.h>
562
 
#endif
563
 
#ifdef HAVE_SYS_STAT_H
564
 
# include <sys/stat.h>
565
 
#endif
566
 
#ifdef STDC_HEADERS
567
 
# include <stdlib.h>
568
 
# include <stddef.h>
569
 
#else
570
 
# ifdef HAVE_STDLIB_H
571
 
#  include <stdlib.h>
572
 
# endif
573
 
#endif
574
 
#ifdef HAVE_STRING_H
575
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
576
 
#  include <memory.h>
577
 
# endif
578
 
# include <string.h>
579
 
#endif
580
 
#ifdef HAVE_STRINGS_H
581
 
# include <strings.h>
582
 
#endif
583
 
#ifdef HAVE_INTTYPES_H
584
 
# include <inttypes.h>
585
 
#endif
586
 
#ifdef HAVE_STDINT_H
587
 
# include <stdint.h>
588
 
#endif
589
 
#ifdef HAVE_UNISTD_H
590
 
# include <unistd.h>
591
 
#endif"
592
 
 
593
 
ac_subst_vars='LTLIBOBJS
594
 
LIBOBJS
595
 
CFG_XSL_STYLESHEET
596
 
CFG_DB2HTML
597
 
HAVE_PHONON
598
 
HAVE_QTDBUS
599
 
CFG_LRELEASE
600
 
CFG_LUPDATE
601
 
CFG_QMAKE
602
 
CFG_EXTRA_CXXFLAGS
603
 
CFG_EXTRA_DEFINES
604
 
CFG_EXTRA_LIBS
605
 
CFG_EXTRA_INCLUDES
606
 
CFG_TRANSLATIONSDIR
607
 
CFG_DOCDIR
608
 
CFG_DATAROOTDIR
609
 
CFG_BINDIR
610
 
CFG_PREFIX
611
 
CFG_CONFIG
612
 
CFG_PRECOMPILED_HEADER
613
 
LIB_FLAC
614
 
HAVE_FLAC
615
 
LIB_VORBIS
616
 
HAVE_VORBIS
617
 
LIB_TUNEPIMP
618
 
HAVE_TUNEPIMP
619
 
GCC_PCH
620
 
CONFIG_USE_KDE
621
 
LIB_ID3LIB
622
 
HAVE_ID3LIB
623
 
LIB_MP4V2
624
 
MP4V2_INCLUDES
625
 
HAVE_MP4V2
626
 
EGREP
627
 
GREP
628
 
TAGLIB_VERSION
629
 
LIB_TAGLIB
630
 
TAGLIB_INCLUDES
631
 
HAVE_TAGLIB
632
 
TAGLIB_CONFIG
633
 
AR
634
 
ac_ct_CC
635
 
CFLAGS
636
 
CC
637
 
CXXCPP
638
 
OBJEXT
639
 
EXEEXT
640
 
ac_ct_CXX
641
 
CPPFLAGS
642
 
LDFLAGS
643
 
CXXFLAGS
644
 
CXX
645
 
target_alias
646
 
host_alias
647
 
build_alias
648
 
LIBS
649
 
ECHO_T
650
 
ECHO_N
651
 
ECHO_C
652
 
DEFS
653
 
mandir
654
 
localedir
655
 
libdir
656
 
psdir
657
 
pdfdir
658
 
dvidir
659
 
htmldir
660
 
infodir
661
 
docdir
662
 
oldincludedir
663
 
includedir
664
 
localstatedir
665
 
sharedstatedir
666
 
sysconfdir
667
 
datadir
668
 
datarootdir
669
 
libexecdir
670
 
sbindir
671
 
bindir
672
 
program_transform_name
673
 
prefix
674
 
exec_prefix
675
 
PACKAGE_URL
676
 
PACKAGE_BUGREPORT
677
 
PACKAGE_STRING
678
 
PACKAGE_VERSION
679
 
PACKAGE_TARNAME
680
 
PACKAGE_NAME
681
 
PATH_SEPARATOR
682
 
SHELL'
683
 
ac_subst_files=''
684
 
ac_user_opts='
685
 
enable_option_checking
686
 
with_taglib
687
 
with_mp4v2
688
 
with_mp4v2_dir
689
 
with_id3lib
690
 
with_kde
691
 
enable_gcc_pch
692
 
with_musicbrainz
693
 
with_vorbis
694
 
with_flac
695
 
enable_debug
696
 
with_bindir
697
 
with_datarootdir
698
 
with_docdir
699
 
with_translationsdir
700
 
with_extra_includes
701
 
with_extra_libs
702
 
with_extra_defines
703
 
with_extra_cxxflags
704
 
with_qmake
705
 
with_dbus
706
 
with_phonon
707
 
with_db2html
708
 
with_xsl_stylesheet
709
 
'
710
 
      ac_precious_vars='build_alias
711
 
host_alias
712
 
target_alias
713
 
CXX
714
 
CXXFLAGS
715
 
LDFLAGS
716
 
LIBS
717
 
CPPFLAGS
718
 
CCC
719
 
CXXCPP
720
 
CC
721
 
CFLAGS'
722
 
 
723
 
 
724
 
# Initialize some variables set by options.
725
 
ac_init_help=
726
 
ac_init_version=false
727
 
ac_unrecognized_opts=
728
 
ac_unrecognized_sep=
729
 
# The variables have the same names as the options, with
730
 
# dashes changed to underlines.
731
 
cache_file=/dev/null
732
 
exec_prefix=NONE
733
 
no_create=
734
 
no_recursion=
735
 
prefix=NONE
736
 
program_prefix=NONE
737
 
program_suffix=NONE
738
 
program_transform_name=s,x,x,
739
 
silent=
740
 
site=
741
 
srcdir=
742
 
verbose=
743
 
x_includes=NONE
744
 
x_libraries=NONE
745
 
 
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'
764
 
htmldir='${docdir}'
765
 
dvidir='${docdir}'
766
 
pdfdir='${docdir}'
767
 
psdir='${docdir}'
768
 
libdir='${exec_prefix}/lib'
769
 
localedir='${datarootdir}/locale'
770
 
mandir='${datarootdir}/man'
771
 
 
772
 
ac_prev=
773
 
ac_dashdash=
774
 
for ac_option
775
 
do
776
 
  # If the previous option needs an argument, assign it.
777
 
  if test -n "$ac_prev"; then
778
 
    eval $ac_prev=\$ac_option
779
 
    ac_prev=
780
 
    continue
781
 
  fi
782
 
 
783
 
  case $ac_option in
784
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
785
 
  *=)   ac_optarg= ;;
786
 
  *)    ac_optarg=yes ;;
787
 
  esac
788
 
 
789
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
790
 
 
791
 
  case $ac_dashdash$ac_option in
792
 
  --)
793
 
    ac_dashdash=yes ;;
794
 
 
795
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
796
 
    ac_prev=bindir ;;
797
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
798
 
    bindir=$ac_optarg ;;
799
 
 
800
 
  -build | --build | --buil | --bui | --bu)
801
 
    ac_prev=build_alias ;;
802
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
803
 
    build_alias=$ac_optarg ;;
804
 
 
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 ;;
811
 
 
812
 
  --config-cache | -C)
813
 
    cache_file=config.cache ;;
814
 
 
815
 
  -datadir | --datadir | --datadi | --datad)
816
 
    ac_prev=datadir ;;
817
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
818
 
    datadir=$ac_optarg ;;
819
 
 
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 ;;
826
 
 
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
835
 
      *"
836
 
"enable_$ac_useropt"
837
 
"*) ;;
838
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
839
 
         ac_unrecognized_sep=', ';;
840
 
    esac
841
 
    eval enable_$ac_useropt=no ;;
842
 
 
843
 
  -docdir | --docdir | --docdi | --doc | --do)
844
 
    ac_prev=docdir ;;
845
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
846
 
    docdir=$ac_optarg ;;
847
 
 
848
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
849
 
    ac_prev=dvidir ;;
850
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
851
 
    dvidir=$ac_optarg ;;
852
 
 
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
861
 
      *"
862
 
"enable_$ac_useropt"
863
 
"*) ;;
864
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
865
 
         ac_unrecognized_sep=', ';;
866
 
    esac
867
 
    eval enable_$ac_useropt=\$ac_optarg ;;
868
 
 
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 ;;
877
 
 
878
 
  -gas | --gas | --ga | --g)
879
 
    # Obsolete; use --with-gas.
880
 
    with_gas=yes ;;
881
 
 
882
 
  -help | --help | --hel | --he | -h)
883
 
    ac_init_help=long ;;
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 ;;
888
 
 
889
 
  -host | --host | --hos | --ho)
890
 
    ac_prev=host_alias ;;
891
 
  -host=* | --host=* | --hos=* | --ho=*)
892
 
    host_alias=$ac_optarg ;;
893
 
 
894
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
895
 
    ac_prev=htmldir ;;
896
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
897
 
  | --ht=*)
898
 
    htmldir=$ac_optarg ;;
899
 
 
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 ;;
906
 
 
907
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
908
 
    ac_prev=infodir ;;
909
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
910
 
    infodir=$ac_optarg ;;
911
 
 
912
 
  -libdir | --libdir | --libdi | --libd)
913
 
    ac_prev=libdir ;;
914
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
915
 
    libdir=$ac_optarg ;;
916
 
 
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 ;;
923
 
 
924
 
  -localedir | --localedir | --localedi | --localed | --locale)
925
 
    ac_prev=localedir ;;
926
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
927
 
    localedir=$ac_optarg ;;
928
 
 
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 ;;
935
 
 
936
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
937
 
    ac_prev=mandir ;;
938
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
939
 
    mandir=$ac_optarg ;;
940
 
 
941
 
  -nfp | --nfp | --nf)
942
 
    # Obsolete; use --without-fp.
943
 
    with_fp=no ;;
944
 
 
945
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
946
 
  | --no-cr | --no-c | -n)
947
 
    no_create=yes ;;
948
 
 
949
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
950
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
951
 
    no_recursion=yes ;;
952
 
 
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 ;;
961
 
 
962
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
963
 
    ac_prev=prefix ;;
964
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
965
 
    prefix=$ac_optarg ;;
966
 
 
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 ;;
973
 
 
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 ;;
980
 
 
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 ;;
997
 
 
998
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
999
 
    ac_prev=pdfdir ;;
1000
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001
 
    pdfdir=$ac_optarg ;;
1002
 
 
1003
 
  -psdir | --psdir | --psdi | --psd | --ps)
1004
 
    ac_prev=psdir ;;
1005
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1006
 
    psdir=$ac_optarg ;;
1007
 
 
1008
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009
 
  | -silent | --silent | --silen | --sile | --sil)
1010
 
    silent=yes ;;
1011
 
 
1012
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1013
 
    ac_prev=sbindir ;;
1014
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1015
 
  | --sbi=* | --sb=*)
1016
 
    sbindir=$ac_optarg ;;
1017
 
 
1018
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1019
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020
 
  | --sharedst | --shareds | --shared | --share | --shar \
1021
 
  | --sha | --sh)
1022
 
    ac_prev=sharedstatedir ;;
1023
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1026
 
  | --sha=* | --sh=*)
1027
 
    sharedstatedir=$ac_optarg ;;
1028
 
 
1029
 
  -site | --site | --sit)
1030
 
    ac_prev=site ;;
1031
 
  -site=* | --site=* | --sit=*)
1032
 
    site=$ac_optarg ;;
1033
 
 
1034
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1035
 
    ac_prev=srcdir ;;
1036
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037
 
    srcdir=$ac_optarg ;;
1038
 
 
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 ;;
1045
 
 
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 ;;
1050
 
 
1051
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1052
 
    verbose=yes ;;
1053
 
 
1054
 
  -version | --version | --versio | --versi | --vers | -V)
1055
 
    ac_init_version=: ;;
1056
 
 
1057
 
  -with-* | --with-*)
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
1065
 
      *"
1066
 
"with_$ac_useropt"
1067
 
"*) ;;
1068
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1069
 
         ac_unrecognized_sep=', ';;
1070
 
    esac
1071
 
    eval with_$ac_useropt=\$ac_optarg ;;
1072
 
 
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
1081
 
      *"
1082
 
"with_$ac_useropt"
1083
 
"*) ;;
1084
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1085
 
         ac_unrecognized_sep=', ';;
1086
 
    esac
1087
 
    eval with_$ac_useropt=no ;;
1088
 
 
1089
 
  --x)
1090
 
    # Obsolete; use --with-x.
1091
 
    with_x=yes ;;
1092
 
 
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 ;;
1099
 
 
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 ;;
1106
 
 
1107
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1108
 
Try \`$0 --help' for more information"
1109
 
    ;;
1110
 
 
1111
 
  *=*)
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'" ;;
1117
 
    esac
1118
 
    eval $ac_envvar=\$ac_optarg
1119
 
    export $ac_envvar ;;
1120
 
 
1121
 
  *)
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}
1127
 
    ;;
1128
 
 
1129
 
  esac
1130
 
done
1131
 
 
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"
1135
 
fi
1136
 
 
1137
 
if test -n "$ac_unrecognized_opts"; then
1138
 
  case $enable_option_checking in
1139
 
    no) ;;
1140
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1141
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142
 
  esac
1143
 
fi
1144
 
 
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
1150
 
do
1151
 
  eval ac_val=\$$ac_var
1152
 
  # Remove trailing slashes.
1153
 
  case $ac_val in
1154
 
    */ )
1155
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156
 
      eval $ac_var=\$ac_val;;
1157
 
  esac
1158
 
  # Be sure to have absolute directory names.
1159
 
  case $ac_val in
1160
 
    [\\/$]* | ?:[\\/]* )  continue;;
1161
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1162
 
  esac
1163
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1164
 
done
1165
 
 
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.
1169
 
build=$build_alias
1170
 
host=$host_alias
1171
 
target=$target_alias
1172
 
 
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
1180
 
    cross_compiling=yes
1181
 
  fi
1182
 
fi
1183
 
 
1184
 
ac_tool_prefix=
1185
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1186
 
 
1187
 
test "$silent" = yes && exec 6>/dev/null
1188
 
 
1189
 
 
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"
1196
 
 
1197
 
 
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1209
 
            s//\1/
1210
 
            q
1211
 
          }
1212
 
          /^X\(\/\/\)[^/].*/{
1213
 
            s//\1/
1214
 
            q
1215
 
          }
1216
 
          /^X\(\/\/\)$/{
1217
 
            s//\1/
1218
 
            q
1219
 
          }
1220
 
          /^X\(\/\).*/{
1221
 
            s//\1/
1222
 
            q
1223
 
          }
1224
 
          s/.*/./; q'`
1225
 
  srcdir=$ac_confdir
1226
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1227
 
    srcdir=..
1228
 
  fi
1229
 
else
1230
 
  ac_srcdir_defaulted=no
1231
 
fi
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"
1235
 
fi
1236
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1237
 
ac_abs_confdir=`(
1238
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1239
 
        pwd)`
1240
 
# When building in place, set srcdir=.
1241
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1242
 
  srcdir=.
1243
 
fi
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.
1247
 
case $srcdir in
1248
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1249
 
esac
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}
1255
 
done
1256
 
 
1257
 
#
1258
 
# Report the --help message.
1259
 
#
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.
1263
 
  cat <<_ACEOF
1264
 
\`configure' configures kid3 1.6 to adapt to many kinds of systems.
1265
 
 
1266
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1267
 
 
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.
1270
 
 
1271
 
Defaults for the options are specified in brackets.
1272
 
 
1273
 
Configuration:
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 \`..']
1283
 
 
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
1288
 
                          [PREFIX]
1289
 
 
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'.
1294
 
 
1295
 
For better control, use the options below.
1296
 
 
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]
1317
 
_ACEOF
1318
 
 
1319
 
  cat <<\_ACEOF
1320
 
_ACEOF
1321
 
fi
1322
 
 
1323
 
if test -n "$ac_init_help"; then
1324
 
  case $ac_init_help in
1325
 
     short | recursive ) echo "Configuration of kid3 1.6:";;
1326
 
   esac
1327
 
  cat <<\_ACEOF
1328
 
 
1329
 
Optional Features:
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
1335
 
 
1336
 
Optional Packages:
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
1360
 
 
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
1372
 
 
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.
1375
 
 
1376
 
Report bugs to the package provider.
1377
 
_ACEOF
1378
 
ac_status=$?
1379
 
fi
1380
 
 
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"; } ||
1386
 
      continue
1387
 
    ac_builddir=.
1388
 
 
1389
 
case "$ac_dir" in
1390
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1391
 
*)
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/ ;;
1398
 
  esac ;;
1399
 
esac
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
1404
 
 
1405
 
case $srcdir in
1406
 
  .)  # We are building in place.
1407
 
    ac_srcdir=.
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 ;;
1414
 
  *) # Relative name.
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 ;;
1418
 
esac
1419
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1420
 
 
1421
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1422
 
    # Check for guested configure.
1423
 
    if test -f "$ac_srcdir/configure.gnu"; then
1424
 
      echo &&
1425
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1426
 
    elif test -f "$ac_srcdir/configure"; then
1427
 
      echo &&
1428
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1429
 
    else
1430
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1431
 
    fi || ac_status=$?
1432
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1433
 
  done
1434
 
fi
1435
 
 
1436
 
test -n "$ac_init_help" && exit $ac_status
1437
 
if $ac_init_version; then
1438
 
  cat <<\_ACEOF
1439
 
kid3 configure 1.6
1440
 
generated by GNU Autoconf 2.67
1441
 
 
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.
1445
 
_ACEOF
1446
 
  exit
1447
 
fi
1448
 
 
1449
 
## ------------------------ ##
1450
 
## Autoconf initialization. ##
1451
 
## ------------------------ ##
1452
 
 
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 ()
1457
 
{
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"
1461
 
case "(($ac_try" in
1462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1463
 
  *) ac_try_echo=$ac_try;;
1464
 
esac
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
1468
 
  ac_status=$?
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
1473
 
  fi
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 :
1479
 
  ac_retval=0
1480
 
else
1481
 
  $as_echo "$as_me: failed program was:" >&5
1482
 
sed 's/^/| /' conftest.$ac_ext >&5
1483
 
 
1484
 
        ac_retval=1
1485
 
fi
1486
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1487
 
  as_fn_set_status $ac_retval
1488
 
 
1489
 
} # ac_fn_cxx_try_compile
1490
 
 
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 ()
1495
 
{
1496
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1498
 
case "(($ac_try" in
1499
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500
 
  *) ac_try_echo=$ac_try;;
1501
 
esac
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
1505
 
  ac_status=$?
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
1510
 
  fi
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
1515
 
       }; then :
1516
 
  ac_retval=0
1517
 
else
1518
 
  $as_echo "$as_me: failed program was:" >&5
1519
 
sed 's/^/| /' conftest.$ac_ext >&5
1520
 
 
1521
 
    ac_retval=1
1522
 
fi
1523
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1524
 
  as_fn_set_status $ac_retval
1525
 
 
1526
 
} # ac_fn_cxx_try_cpp
1527
 
 
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 ()
1532
 
{
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"
1536
 
case "(($ac_try" in
1537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538
 
  *) ac_try_echo=$ac_try;;
1539
 
esac
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
1543
 
  ac_status=$?
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
1548
 
  fi
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 :
1554
 
  ac_retval=0
1555
 
else
1556
 
  $as_echo "$as_me: failed program was:" >&5
1557
 
sed 's/^/| /' conftest.$ac_ext >&5
1558
 
 
1559
 
        ac_retval=1
1560
 
fi
1561
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562
 
  as_fn_set_status $ac_retval
1563
 
 
1564
 
} # ac_fn_c_try_compile
1565
 
 
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
1570
 
# accordingly.
1571
 
ac_fn_cxx_check_header_mongrel ()
1572
 
{
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
1579
 
fi
1580
 
eval ac_res=\$$3
1581
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582
 
$as_echo "$ac_res" >&6; }
1583
 
else
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.  */
1589
 
$4
1590
 
#include <$2>
1591
 
_ACEOF
1592
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1593
 
  ac_header_compiler=yes
1594
 
else
1595
 
  ac_header_compiler=no
1596
 
fi
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; }
1600
 
 
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.  */
1606
 
#include <$2>
1607
 
_ACEOF
1608
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
1609
 
  ac_header_preproc=yes
1610
 
else
1611
 
  ac_header_preproc=no
1612
 
fi
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; }
1616
 
 
1617
 
# So?  What about this header?
1618
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1619
 
  yes:no: )
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;}
1624
 
    ;;
1625
 
  no:yes:* )
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;}
1636
 
    ;;
1637
 
esac
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
1642
 
else
1643
 
  eval "$3=\$ac_header_compiler"
1644
 
fi
1645
 
eval ac_res=\$$3
1646
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647
 
$as_echo "$ac_res" >&6; }
1648
 
fi
1649
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1650
 
 
1651
 
} # ac_fn_cxx_check_header_mongrel
1652
 
 
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 ()
1658
 
{
1659
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660
 
  if { { ac_try="$ac_link"
1661
 
case "(($ac_try" in
1662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663
 
  *) ac_try_echo=$ac_try;;
1664
 
esac
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
1668
 
  ac_status=$?
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;;
1674
 
esac
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
1678
 
  ac_status=$?
1679
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680
 
  test $ac_status = 0; }; }; then :
1681
 
  ac_retval=0
1682
 
else
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
1686
 
 
1687
 
       ac_retval=$ac_status
1688
 
fi
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
1692
 
 
1693
 
} # ac_fn_cxx_try_run
1694
 
 
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 ()
1700
 
{
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
1706
 
else
1707
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708
 
/* end confdefs.h.  */
1709
 
$4
1710
 
#include <$2>
1711
 
_ACEOF
1712
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1713
 
  eval "$3=yes"
1714
 
else
1715
 
  eval "$3=no"
1716
 
fi
1717
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718
 
fi
1719
 
eval ac_res=\$$3
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;}
1723
 
 
1724
 
} # ac_fn_cxx_check_header_compile
1725
 
 
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 ()
1730
 
{
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"
1734
 
case "(($ac_try" in
1735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736
 
  *) ac_try_echo=$ac_try;;
1737
 
esac
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
1741
 
  ac_status=$?
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
1746
 
  fi
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
1754
 
       }; then :
1755
 
  ac_retval=0
1756
 
else
1757
 
  $as_echo "$as_me: failed program was:" >&5
1758
 
sed 's/^/| /' conftest.$ac_ext >&5
1759
 
 
1760
 
        ac_retval=1
1761
 
fi
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
1769
 
 
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.
1774
 
 
1775
 
It was created by kid3 $as_me 1.6, which was
1776
 
generated by GNU Autoconf 2.67.  Invocation command line was
1777
 
 
1778
 
  $ $0 $@
1779
 
 
1780
 
_ACEOF
1781
 
exec 5>>config.log
1782
 
{
1783
 
cat <<_ASUNAME
1784
 
## --------- ##
1785
 
## Platform. ##
1786
 
## --------- ##
1787
 
 
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`
1793
 
 
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`
1796
 
 
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`
1804
 
 
1805
 
_ASUNAME
1806
 
 
1807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808
 
for as_dir in $PATH
1809
 
do
1810
 
  IFS=$as_save_IFS
1811
 
  test -z "$as_dir" && as_dir=.
1812
 
    $as_echo "PATH: $as_dir"
1813
 
  done
1814
 
IFS=$as_save_IFS
1815
 
 
1816
 
} >&5
1817
 
 
1818
 
cat >&5 <<_ACEOF
1819
 
 
1820
 
 
1821
 
## ----------- ##
1822
 
## Core tests. ##
1823
 
## ----------- ##
1824
 
 
1825
 
_ACEOF
1826
 
 
1827
 
 
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.
1833
 
ac_configure_args=
1834
 
ac_configure_args0=
1835
 
ac_configure_args1=
1836
 
ac_must_keep_next=false
1837
 
for ac_pass in 1 2
1838
 
do
1839
 
  for ac_arg
1840
 
  do
1841
 
    case $ac_arg in
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)
1845
 
      continue ;;
1846
 
    *\'*)
1847
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1848
 
    esac
1849
 
    case $ac_pass in
1850
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1851
 
    2)
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.
1855
 
      else
1856
 
        case $ac_arg in
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 ;;
1863
 
            esac
1864
 
            ;;
1865
 
          -* ) ac_must_keep_next=true ;;
1866
 
        esac
1867
 
      fi
1868
 
      as_fn_append ac_configure_args " '$ac_arg'"
1869
 
      ;;
1870
 
    esac
1871
 
  done
1872
 
done
1873
 
{ ac_configure_args0=; unset ac_configure_args0;}
1874
 
{ ac_configure_args1=; unset ac_configure_args1;}
1875
 
 
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.
1883
 
  {
1884
 
    echo
1885
 
 
1886
 
    $as_echo "## ---------------- ##
1887
 
## Cache variables. ##
1888
 
## ---------------- ##"
1889
 
    echo
1890
 
    # The following way of writing the cache mishandles newlines in values,
1891
 
(
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
1894
 
    case $ac_val in #(
1895
 
    *${as_nl}*)
1896
 
      case $ac_var in #(
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;} ;;
1899
 
      esac
1900
 
      case $ac_var in #(
1901
 
      _ | IFS | as_nl) ;; #(
1902
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1903
 
      *) { eval $ac_var=; unset $ac_var;} ;;
1904
 
      esac ;;
1905
 
    esac
1906
 
  done
1907
 
  (set) 2>&1 |
1908
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1909
 
    *${as_nl}ac_space=\ *)
1910
 
      sed -n \
1911
 
        "s/'\''/'\''\\\\'\'''\''/g;
1912
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1913
 
      ;; #(
1914
 
    *)
1915
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1916
 
      ;;
1917
 
    esac |
1918
 
    sort
1919
 
)
1920
 
    echo
1921
 
 
1922
 
    $as_echo "## ----------------- ##
1923
 
## Output variables. ##
1924
 
## ----------------- ##"
1925
 
    echo
1926
 
    for ac_var in $ac_subst_vars
1927
 
    do
1928
 
      eval ac_val=\$$ac_var
1929
 
      case $ac_val in
1930
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1931
 
      esac
1932
 
      $as_echo "$ac_var='\''$ac_val'\''"
1933
 
    done | sort
1934
 
    echo
1935
 
 
1936
 
    if test -n "$ac_subst_files"; then
1937
 
      $as_echo "## ------------------- ##
1938
 
## File substitutions. ##
1939
 
## ------------------- ##"
1940
 
      echo
1941
 
      for ac_var in $ac_subst_files
1942
 
      do
1943
 
        eval ac_val=\$$ac_var
1944
 
        case $ac_val in
1945
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1946
 
        esac
1947
 
        $as_echo "$ac_var='\''$ac_val'\''"
1948
 
      done | sort
1949
 
      echo
1950
 
    fi
1951
 
 
1952
 
    if test -s confdefs.h; then
1953
 
      $as_echo "## ----------- ##
1954
 
## confdefs.h. ##
1955
 
## ----------- ##"
1956
 
      echo
1957
 
      cat confdefs.h
1958
 
      echo
1959
 
    fi
1960
 
    test "$ac_signal" != 0 &&
1961
 
      $as_echo "$as_me: caught signal $ac_signal"
1962
 
    $as_echo "$as_me: exit $exit_status"
1963
 
  } >&5
1964
 
  rm -f core *.core core.conftest.* &&
1965
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1966
 
    exit $exit_status
1967
 
' 0
1968
 
for ac_signal in 1 2 13 15; do
1969
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1970
 
done
1971
 
ac_signal=0
1972
 
 
1973
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1974
 
rm -f -r conftest* confdefs.h
1975
 
 
1976
 
$as_echo "/* confdefs.h */" > confdefs.h
1977
 
 
1978
 
# Predefined preprocessor variables.
1979
 
 
1980
 
cat >>confdefs.h <<_ACEOF
1981
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1982
 
_ACEOF
1983
 
 
1984
 
cat >>confdefs.h <<_ACEOF
1985
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1986
 
_ACEOF
1987
 
 
1988
 
cat >>confdefs.h <<_ACEOF
1989
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1990
 
_ACEOF
1991
 
 
1992
 
cat >>confdefs.h <<_ACEOF
1993
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1994
 
_ACEOF
1995
 
 
1996
 
cat >>confdefs.h <<_ACEOF
1997
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1998
 
_ACEOF
1999
 
 
2000
 
cat >>confdefs.h <<_ACEOF
2001
 
#define PACKAGE_URL "$PACKAGE_URL"
2002
 
_ACEOF
2003
 
 
2004
 
 
2005
 
# Let the site file select an alternate cache file if it wants to.
2006
 
# Prefer an explicitly selected file to automatically selected ones.
2007
 
ac_site_file1=NONE
2008
 
ac_site_file2=NONE
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;;
2015
 
  esac
2016
 
elif test "x$prefix" != xNONE; then
2017
 
  ac_site_file1=$prefix/share/config.site
2018
 
  ac_site_file2=$prefix/etc/config.site
2019
 
else
2020
 
  ac_site_file1=$ac_default_prefix/share/config.site
2021
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2022
 
fi
2023
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2024
 
do
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
2030
 
    . "$ac_site_file" \
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 ; }
2035
 
  fi
2036
 
done
2037
 
 
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;}
2044
 
    case $cache_file in
2045
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2046
 
      *)                      . "./$cache_file";;
2047
 
    esac
2048
 
  fi
2049
 
else
2050
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2051
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2052
 
  >$cache_file
2053
 
fi
2054
 
 
2055
 
# Check that the precious variables saved in the cache have kept the same
2056
 
# value.
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
2064
 
    set,)
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=: ;;
2068
 
    ,set)
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=: ;;
2072
 
    ,);;
2073
 
    *)
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=:
2082
 
        else
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
2086
 
        fi
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;}
2091
 
      fi;;
2092
 
  esac
2093
 
  # Pass precious variables to config.status.
2094
 
  if test "$ac_new_set" = set; then
2095
 
    case $ac_new_val in
2096
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2097
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2098
 
    esac
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'" ;;
2102
 
    esac
2103
 
  fi
2104
 
done
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
2111
 
fi
2112
 
## -------------------- ##
2113
 
## Main body of script. ##
2114
 
## -------------------- ##
2115
 
 
2116
 
ac_ext=c
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
2121
 
 
2122
 
 
2123
 
VERSION=1.6
2124
 
ac_config_headers="$ac_config_headers config.h"
2125
 
 
2126
 
ac_ext=cpp
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
2131
 
 
2132
 
ac_ext=cpp
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
2139
 
    CXX=$CCC
2140
 
  else
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
2143
 
  do
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
2150
 
else
2151
 
  if test -n "$CXX"; then
2152
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2153
 
else
2154
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155
 
for as_dir in $PATH
2156
 
do
2157
 
  IFS=$as_save_IFS
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
2163
 
    break 2
2164
 
  fi
2165
 
done
2166
 
  done
2167
 
IFS=$as_save_IFS
2168
 
 
2169
 
fi
2170
 
fi
2171
 
CXX=$ac_cv_prog_CXX
2172
 
if test -n "$CXX"; then
2173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2174
 
$as_echo "$CXX" >&6; }
2175
 
else
2176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2177
 
$as_echo "no" >&6; }
2178
 
fi
2179
 
 
2180
 
 
2181
 
    test -n "$CXX" && break
2182
 
  done
2183
 
fi
2184
 
if test -z "$CXX"; then
2185
 
  ac_ct_CXX=$CXX
2186
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2187
 
do
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
2194
 
else
2195
 
  if test -n "$ac_ct_CXX"; then
2196
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2197
 
else
2198
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199
 
for as_dir in $PATH
2200
 
do
2201
 
  IFS=$as_save_IFS
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
2207
 
    break 2
2208
 
  fi
2209
 
done
2210
 
  done
2211
 
IFS=$as_save_IFS
2212
 
 
2213
 
fi
2214
 
fi
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; }
2219
 
else
2220
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221
 
$as_echo "no" >&6; }
2222
 
fi
2223
 
 
2224
 
 
2225
 
  test -n "$ac_ct_CXX" && break
2226
 
done
2227
 
 
2228
 
  if test "x$ac_ct_CXX" = x; then
2229
 
    CXX="g++"
2230
 
  else
2231
 
    case $cross_compiling:$ac_tool_warned in
2232
 
yes:)
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 ;;
2236
 
esac
2237
 
    CXX=$ac_ct_CXX
2238
 
  fi
2239
 
fi
2240
 
 
2241
 
  fi
2242
 
fi
2243
 
# Provide some information about the compiler.
2244
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2245
 
set X $ac_compile
2246
 
ac_compiler=$2
2247
 
for ac_option in --version -v -V -qversion; do
2248
 
  { { ac_try="$ac_compiler $ac_option >&5"
2249
 
case "(($ac_try" in
2250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2251
 
  *) ac_try_echo=$ac_try;;
2252
 
esac
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
2256
 
  ac_status=$?
2257
 
  if test -s conftest.err; then
2258
 
    sed '10a\
2259
 
... rest of stderr output deleted ...
2260
 
         10q' conftest.err >conftest.er1
2261
 
    cat conftest.er1 >&5
2262
 
  fi
2263
 
  rm -f conftest.er1 conftest.err
2264
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265
 
  test $ac_status = 0; }
2266
 
done
2267
 
 
2268
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269
 
/* end confdefs.h.  */
2270
 
 
2271
 
int
2272
 
main ()
2273
 
{
2274
 
 
2275
 
  ;
2276
 
  return 0;
2277
 
}
2278
 
_ACEOF
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
2283
 
# of exeext.
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[^ ]*//'`
2287
 
 
2288
 
# The possible output files:
2289
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2290
 
 
2291
 
ac_rmfiles=
2292
 
for ac_file in $ac_files
2293
 
do
2294
 
  case $ac_file in
2295
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2296
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2297
 
  esac
2298
 
done
2299
 
rm -f $ac_rmfiles
2300
 
 
2301
 
if { { ac_try="$ac_link_default"
2302
 
case "(($ac_try" in
2303
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2304
 
  *) ac_try_echo=$ac_try;;
2305
 
esac
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
2309
 
  ac_status=$?
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
2316
 
# Autoconf.
2317
 
for ac_file in $ac_files ''
2318
 
do
2319
 
  test -f "$ac_file" || continue
2320
 
  case $ac_file in
2321
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2322
 
        ;;
2323
 
    [ab].out )
2324
 
        # We found the default executable, but exeext='' is most
2325
 
        # certainly right.
2326
 
        break;;
2327
 
    *.* )
2328
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2329
 
        then :; else
2330
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2331
 
        fi
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
2336
 
        # actually working.
2337
 
        break;;
2338
 
    * )
2339
 
        break;;
2340
 
  esac
2341
 
done
2342
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2343
 
 
2344
 
else
2345
 
  ac_file=''
2346
 
fi
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
2352
 
 
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 ; }
2357
 
else
2358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2359
 
$as_echo "yes" >&6; }
2360
 
fi
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
2366
 
 
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"
2372
 
case "(($ac_try" in
2373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374
 
  *) ac_try_echo=$ac_try;;
2375
 
esac
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
2379
 
  ac_status=$?
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
2385
 
# `rm'.
2386
 
for ac_file in conftest.exe conftest conftest.*; do
2387
 
  test -f "$ac_file" || continue
2388
 
  case $ac_file in
2389
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2390
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2391
 
          break;;
2392
 
    * ) break;;
2393
 
  esac
2394
 
done
2395
 
else
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 ; }
2400
 
fi
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; }
2404
 
 
2405
 
rm -f conftest.$ac_ext
2406
 
EXEEXT=$ac_cv_exeext
2407
 
ac_exeext=$EXEEXT
2408
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409
 
/* end confdefs.h.  */
2410
 
#include <stdio.h>
2411
 
int
2412
 
main ()
2413
 
{
2414
 
FILE *f = fopen ("conftest.out", "w");
2415
 
 return ferror (f) || fclose (f) != 0;
2416
 
 
2417
 
  ;
2418
 
  return 0;
2419
 
}
2420
 
_ACEOF
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"
2428
 
case "(($ac_try" in
2429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430
 
  *) ac_try_echo=$ac_try;;
2431
 
esac
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
2435
 
  ac_status=$?
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;;
2442
 
esac
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
2446
 
  ac_status=$?
2447
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448
 
  test $ac_status = 0; }; }; then
2449
 
    cross_compiling=no
2450
 
  else
2451
 
    if test "$cross_compiling" = maybe; then
2452
 
        cross_compiling=yes
2453
 
    else
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 ; }
2459
 
    fi
2460
 
  fi
2461
 
fi
2462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2463
 
$as_echo "$cross_compiling" >&6; }
2464
 
 
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
2471
 
else
2472
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473
 
/* end confdefs.h.  */
2474
 
 
2475
 
int
2476
 
main ()
2477
 
{
2478
 
 
2479
 
  ;
2480
 
  return 0;
2481
 
}
2482
 
_ACEOF
2483
 
rm -f conftest.o conftest.obj
2484
 
if { { ac_try="$ac_compile"
2485
 
case "(($ac_try" in
2486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487
 
  *) ac_try_echo=$ac_try;;
2488
 
esac
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
2492
 
  ac_status=$?
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;
2497
 
  case $ac_file in
2498
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2499
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2500
 
       break;;
2501
 
  esac
2502
 
done
2503
 
else
2504
 
  $as_echo "$as_me: failed program was:" >&5
2505
 
sed 's/^/| /' conftest.$ac_ext >&5
2506
 
 
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 ; }
2511
 
fi
2512
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2513
 
fi
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
2517
 
ac_objext=$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
2522
 
else
2523
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524
 
/* end confdefs.h.  */
2525
 
 
2526
 
int
2527
 
main ()
2528
 
{
2529
 
#ifndef __GNUC__
2530
 
       choke me
2531
 
#endif
2532
 
 
2533
 
  ;
2534
 
  return 0;
2535
 
}
2536
 
_ACEOF
2537
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2538
 
  ac_compiler_gnu=yes
2539
 
else
2540
 
  ac_compiler_gnu=no
2541
 
fi
2542
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2543
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2544
 
 
2545
 
fi
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
2549
 
  GXX=yes
2550
 
else
2551
 
  GXX=
2552
 
fi
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
2559
 
else
2560
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2561
 
   ac_cxx_werror_flag=yes
2562
 
   ac_cv_prog_cxx_g=no
2563
 
   CXXFLAGS="-g"
2564
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565
 
/* end confdefs.h.  */
2566
 
 
2567
 
int
2568
 
main ()
2569
 
{
2570
 
 
2571
 
  ;
2572
 
  return 0;
2573
 
}
2574
 
_ACEOF
2575
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2576
 
  ac_cv_prog_cxx_g=yes
2577
 
else
2578
 
  CXXFLAGS=""
2579
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580
 
/* end confdefs.h.  */
2581
 
 
2582
 
int
2583
 
main ()
2584
 
{
2585
 
 
2586
 
  ;
2587
 
  return 0;
2588
 
}
2589
 
_ACEOF
2590
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2591
 
 
2592
 
else
2593
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2594
 
         CXXFLAGS="-g"
2595
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596
 
/* end confdefs.h.  */
2597
 
 
2598
 
int
2599
 
main ()
2600
 
{
2601
 
 
2602
 
  ;
2603
 
  return 0;
2604
 
}
2605
 
_ACEOF
2606
 
if ac_fn_cxx_try_compile "$LINENO"; then :
2607
 
  ac_cv_prog_cxx_g=yes
2608
 
fi
2609
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610
 
fi
2611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2612
 
fi
2613
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2615
 
fi
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
2622
 
    CXXFLAGS="-g -O2"
2623
 
  else
2624
 
    CXXFLAGS="-g"
2625
 
  fi
2626
 
else
2627
 
  if test "$GXX" = yes; then
2628
 
    CXXFLAGS="-O2"
2629
 
  else
2630
 
    CXXFLAGS=
2631
 
  fi
2632
 
fi
2633
 
ac_ext=cpp
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
2638
 
 
2639
 
ac_ext=cpp
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
2649
 
else
2650
 
      # Double quotes because CXXCPP needs to be expanded
2651
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
2652
 
    do
2653
 
      ac_preproc_ok=false
2654
 
for ac_cxx_preproc_warn_flag in '' yes
2655
 
do
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.  */
2664
 
#ifdef __STDC__
2665
 
# include <limits.h>
2666
 
#else
2667
 
# include <assert.h>
2668
 
#endif
2669
 
                     Syntax error
2670
 
_ACEOF
2671
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2672
 
 
2673
 
else
2674
 
  # Broken: fails on valid input.
2675
 
continue
2676
 
fi
2677
 
rm -f conftest.err conftest.i conftest.$ac_ext
2678
 
 
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>
2684
 
_ACEOF
2685
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2686
 
  # Broken: success on invalid input.
2687
 
continue
2688
 
else
2689
 
  # Passes both tests.
2690
 
ac_preproc_ok=:
2691
 
break
2692
 
fi
2693
 
rm -f conftest.err conftest.i conftest.$ac_ext
2694
 
 
2695
 
done
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 :
2699
 
  break
2700
 
fi
2701
 
 
2702
 
    done
2703
 
    ac_cv_prog_CXXCPP=$CXXCPP
2704
 
 
2705
 
fi
2706
 
  CXXCPP=$ac_cv_prog_CXXCPP
2707
 
else
2708
 
  ac_cv_prog_CXXCPP=$CXXCPP
2709
 
fi
2710
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
2711
 
$as_echo "$CXXCPP" >&6; }
2712
 
ac_preproc_ok=false
2713
 
for ac_cxx_preproc_warn_flag in '' yes
2714
 
do
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.  */
2723
 
#ifdef __STDC__
2724
 
# include <limits.h>
2725
 
#else
2726
 
# include <assert.h>
2727
 
#endif
2728
 
                     Syntax error
2729
 
_ACEOF
2730
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2731
 
 
2732
 
else
2733
 
  # Broken: fails on valid input.
2734
 
continue
2735
 
fi
2736
 
rm -f conftest.err conftest.i conftest.$ac_ext
2737
 
 
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>
2743
 
_ACEOF
2744
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
2745
 
  # Broken: success on invalid input.
2746
 
continue
2747
 
else
2748
 
  # Passes both tests.
2749
 
ac_preproc_ok=:
2750
 
break
2751
 
fi
2752
 
rm -f conftest.err conftest.i conftest.$ac_ext
2753
 
 
2754
 
done
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 :
2758
 
 
2759
 
else
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 ; }
2764
 
fi
2765
 
 
2766
 
ac_ext=cpp
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
2771
 
 
2772
 
ac_ext=c
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
2784
 
else
2785
 
  if test -n "$CC"; then
2786
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2787
 
else
2788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789
 
for as_dir in $PATH
2790
 
do
2791
 
  IFS=$as_save_IFS
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
2797
 
    break 2
2798
 
  fi
2799
 
done
2800
 
  done
2801
 
IFS=$as_save_IFS
2802
 
 
2803
 
fi
2804
 
fi
2805
 
CC=$ac_cv_prog_CC
2806
 
if test -n "$CC"; then
2807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2808
 
$as_echo "$CC" >&6; }
2809
 
else
2810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811
 
$as_echo "no" >&6; }
2812
 
fi
2813
 
 
2814
 
 
2815
 
fi
2816
 
if test -z "$ac_cv_prog_CC"; then
2817
 
  ac_ct_CC=$CC
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
2824
 
else
2825
 
  if test -n "$ac_ct_CC"; then
2826
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2827
 
else
2828
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829
 
for as_dir in $PATH
2830
 
do
2831
 
  IFS=$as_save_IFS
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
2837
 
    break 2
2838
 
  fi
2839
 
done
2840
 
  done
2841
 
IFS=$as_save_IFS
2842
 
 
2843
 
fi
2844
 
fi
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; }
2849
 
else
2850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851
 
$as_echo "no" >&6; }
2852
 
fi
2853
 
 
2854
 
  if test "x$ac_ct_CC" = x; then
2855
 
    CC=""
2856
 
  else
2857
 
    case $cross_compiling:$ac_tool_warned in
2858
 
yes:)
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 ;;
2862
 
esac
2863
 
    CC=$ac_ct_CC
2864
 
  fi
2865
 
else
2866
 
  CC="$ac_cv_prog_CC"
2867
 
fi
2868
 
 
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
2877
 
else
2878
 
  if test -n "$CC"; then
2879
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2880
 
else
2881
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882
 
for as_dir in $PATH
2883
 
do
2884
 
  IFS=$as_save_IFS
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
2890
 
    break 2
2891
 
  fi
2892
 
done
2893
 
  done
2894
 
IFS=$as_save_IFS
2895
 
 
2896
 
fi
2897
 
fi
2898
 
CC=$ac_cv_prog_CC
2899
 
if test -n "$CC"; then
2900
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901
 
$as_echo "$CC" >&6; }
2902
 
else
2903
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904
 
$as_echo "no" >&6; }
2905
 
fi
2906
 
 
2907
 
 
2908
 
  fi
2909
 
fi
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
2917
 
else
2918
 
  if test -n "$CC"; then
2919
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2920
 
else
2921
 
  ac_prog_rejected=no
2922
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923
 
for as_dir in $PATH
2924
 
do
2925
 
  IFS=$as_save_IFS
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
2931
 
       continue
2932
 
     fi
2933
 
    ac_cv_prog_CC="cc"
2934
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935
 
    break 2
2936
 
  fi
2937
 
done
2938
 
  done
2939
 
IFS=$as_save_IFS
2940
 
 
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
2944
 
  shift
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.
2949
 
    shift
2950
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2951
 
  fi
2952
 
fi
2953
 
fi
2954
 
fi
2955
 
CC=$ac_cv_prog_CC
2956
 
if test -n "$CC"; then
2957
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958
 
$as_echo "$CC" >&6; }
2959
 
else
2960
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961
 
$as_echo "no" >&6; }
2962
 
fi
2963
 
 
2964
 
 
2965
 
fi
2966
 
if test -z "$CC"; then
2967
 
  if test -n "$ac_tool_prefix"; then
2968
 
  for ac_prog in cl.exe
2969
 
  do
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
2976
 
else
2977
 
  if test -n "$CC"; then
2978
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2979
 
else
2980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981
 
for as_dir in $PATH
2982
 
do
2983
 
  IFS=$as_save_IFS
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
2989
 
    break 2
2990
 
  fi
2991
 
done
2992
 
  done
2993
 
IFS=$as_save_IFS
2994
 
 
2995
 
fi
2996
 
fi
2997
 
CC=$ac_cv_prog_CC
2998
 
if test -n "$CC"; then
2999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000
 
$as_echo "$CC" >&6; }
3001
 
else
3002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003
 
$as_echo "no" >&6; }
3004
 
fi
3005
 
 
3006
 
 
3007
 
    test -n "$CC" && break
3008
 
  done
3009
 
fi
3010
 
if test -z "$CC"; then
3011
 
  ac_ct_CC=$CC
3012
 
  for ac_prog in cl.exe
3013
 
do
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
3020
 
else
3021
 
  if test -n "$ac_ct_CC"; then
3022
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3023
 
else
3024
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025
 
for as_dir in $PATH
3026
 
do
3027
 
  IFS=$as_save_IFS
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
3033
 
    break 2
3034
 
  fi
3035
 
done
3036
 
  done
3037
 
IFS=$as_save_IFS
3038
 
 
3039
 
fi
3040
 
fi
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; }
3045
 
else
3046
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047
 
$as_echo "no" >&6; }
3048
 
fi
3049
 
 
3050
 
 
3051
 
  test -n "$ac_ct_CC" && break
3052
 
done
3053
 
 
3054
 
  if test "x$ac_ct_CC" = x; then
3055
 
    CC=""
3056
 
  else
3057
 
    case $cross_compiling:$ac_tool_warned in
3058
 
yes:)
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 ;;
3062
 
esac
3063
 
    CC=$ac_ct_CC
3064
 
  fi
3065
 
fi
3066
 
 
3067
 
fi
3068
 
 
3069
 
 
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 ; }
3074
 
 
3075
 
# Provide some information about the compiler.
3076
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3077
 
set X $ac_compile
3078
 
ac_compiler=$2
3079
 
for ac_option in --version -v -V -qversion; do
3080
 
  { { ac_try="$ac_compiler $ac_option >&5"
3081
 
case "(($ac_try" in
3082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083
 
  *) ac_try_echo=$ac_try;;
3084
 
esac
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
3088
 
  ac_status=$?
3089
 
  if test -s conftest.err; then
3090
 
    sed '10a\
3091
 
... rest of stderr output deleted ...
3092
 
         10q' conftest.err >conftest.er1
3093
 
    cat conftest.er1 >&5
3094
 
  fi
3095
 
  rm -f conftest.er1 conftest.err
3096
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097
 
  test $ac_status = 0; }
3098
 
done
3099
 
 
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
3104
 
else
3105
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106
 
/* end confdefs.h.  */
3107
 
 
3108
 
int
3109
 
main ()
3110
 
{
3111
 
#ifndef __GNUC__
3112
 
       choke me
3113
 
#endif
3114
 
 
3115
 
  ;
3116
 
  return 0;
3117
 
}
3118
 
_ACEOF
3119
 
if ac_fn_c_try_compile "$LINENO"; then :
3120
 
  ac_compiler_gnu=yes
3121
 
else
3122
 
  ac_compiler_gnu=no
3123
 
fi
3124
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3126
 
 
3127
 
fi
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
3131
 
  GCC=yes
3132
 
else
3133
 
  GCC=
3134
 
fi
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
3141
 
else
3142
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3143
 
   ac_c_werror_flag=yes
3144
 
   ac_cv_prog_cc_g=no
3145
 
   CFLAGS="-g"
3146
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147
 
/* end confdefs.h.  */
3148
 
 
3149
 
int
3150
 
main ()
3151
 
{
3152
 
 
3153
 
  ;
3154
 
  return 0;
3155
 
}
3156
 
_ACEOF
3157
 
if ac_fn_c_try_compile "$LINENO"; then :
3158
 
  ac_cv_prog_cc_g=yes
3159
 
else
3160
 
  CFLAGS=""
3161
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162
 
/* end confdefs.h.  */
3163
 
 
3164
 
int
3165
 
main ()
3166
 
{
3167
 
 
3168
 
  ;
3169
 
  return 0;
3170
 
}
3171
 
_ACEOF
3172
 
if ac_fn_c_try_compile "$LINENO"; then :
3173
 
 
3174
 
else
3175
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3176
 
         CFLAGS="-g"
3177
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178
 
/* end confdefs.h.  */
3179
 
 
3180
 
int
3181
 
main ()
3182
 
{
3183
 
 
3184
 
  ;
3185
 
  return 0;
3186
 
}
3187
 
_ACEOF
3188
 
if ac_fn_c_try_compile "$LINENO"; then :
3189
 
  ac_cv_prog_cc_g=yes
3190
 
fi
3191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192
 
fi
3193
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194
 
fi
3195
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3197
 
fi
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
3204
 
    CFLAGS="-g -O2"
3205
 
  else
3206
 
    CFLAGS="-g"
3207
 
  fi
3208
 
else
3209
 
  if test "$GCC" = yes; then
3210
 
    CFLAGS="-O2"
3211
 
  else
3212
 
    CFLAGS=
3213
 
  fi
3214
 
fi
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
3219
 
else
3220
 
  ac_cv_prog_cc_c89=no
3221
 
ac_save_CC=$CC
3222
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223
 
/* end confdefs.h.  */
3224
 
#include <stdarg.h>
3225
 
#include <stdio.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)
3232
 
     char **p;
3233
 
     int i;
3234
 
{
3235
 
  return p[i];
3236
 
}
3237
 
static char *f (char * (*g) (char **, int), char **p, ...)
3238
 
{
3239
 
  char *s;
3240
 
  va_list v;
3241
 
  va_start (v,p);
3242
 
  s = g (p, va_arg (v,int));
3243
 
  va_end (v);
3244
 
  return s;
3245
 
}
3246
 
 
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];
3255
 
 
3256
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3257
 
   inside strings and character constants.  */
3258
 
#define FOO(x) 'x'
3259
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3260
 
 
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);
3265
 
int argc;
3266
 
char **argv;
3267
 
int
3268
 
main ()
3269
 
{
3270
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3271
 
  ;
3272
 
  return 0;
3273
 
}
3274
 
_ACEOF
3275
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3276
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3277
 
do
3278
 
  CC="$ac_save_CC $ac_arg"
3279
 
  if ac_fn_c_try_compile "$LINENO"; then :
3280
 
  ac_cv_prog_cc_c89=$ac_arg
3281
 
fi
3282
 
rm -f core conftest.err conftest.$ac_objext
3283
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3284
 
done
3285
 
rm -f conftest.$ac_ext
3286
 
CC=$ac_save_CC
3287
 
 
3288
 
fi
3289
 
# AC_CACHE_VAL
3290
 
case "x$ac_cv_prog_cc_c89" in
3291
 
  x)
3292
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3293
 
$as_echo "none needed" >&6; } ;;
3294
 
  xno)
3295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3296
 
$as_echo "unsupported" >&6; } ;;
3297
 
  *)
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; } ;;
3301
 
esac
3302
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3303
 
 
3304
 
fi
3305
 
 
3306
 
ac_ext=cpp
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
3311
 
 
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
3319
 
else
3320
 
  if test -n "$AR"; then
3321
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
3322
 
else
3323
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324
 
for as_dir in $PATH
3325
 
do
3326
 
  IFS=$as_save_IFS
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
3332
 
    break 2
3333
 
  fi
3334
 
done
3335
 
  done
3336
 
IFS=$as_save_IFS
3337
 
 
3338
 
fi
3339
 
fi
3340
 
AR=$ac_cv_prog_AR
3341
 
if test -n "$AR"; then
3342
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3343
 
$as_echo "$AR" >&6; }
3344
 
else
3345
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346
 
$as_echo "no" >&6; }
3347
 
fi
3348
 
 
3349
 
 
3350
 
fi
3351
 
if test -z "$ac_cv_prog_AR"; then
3352
 
  ac_ct_AR=$AR
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
3359
 
else
3360
 
  if test -n "$ac_ct_AR"; then
3361
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3362
 
else
3363
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364
 
for as_dir in $PATH
3365
 
do
3366
 
  IFS=$as_save_IFS
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
3372
 
    break 2
3373
 
  fi
3374
 
done
3375
 
  done
3376
 
IFS=$as_save_IFS
3377
 
 
3378
 
fi
3379
 
fi
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; }
3384
 
else
3385
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386
 
$as_echo "no" >&6; }
3387
 
fi
3388
 
 
3389
 
  if test "x$ac_ct_AR" = x; then
3390
 
    AR=""
3391
 
  else
3392
 
    case $cross_compiling:$ac_tool_warned in
3393
 
yes:)
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 ;;
3397
 
esac
3398
 
    AR=$ac_ct_AR
3399
 
  fi
3400
 
else
3401
 
  AR="$ac_cv_prog_AR"
3402
 
fi
3403
 
 
3404
 
 
3405
 
TAGLIB_REQ_VERSION="1.4.0"
3406
 
 
3407
 
 
3408
 
# Check whether --with-taglib was given.
3409
 
if test "${with_taglib+set}" = set; then :
3410
 
  withval=$with_taglib; with_taglib="$withval"
3411
 
else
3412
 
  with_taglib=yes
3413
 
 
3414
 
fi
3415
 
 
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
3423
 
else
3424
 
  case $TAGLIB_CONFIG in
3425
 
  [\\/]* | ?:[\\/]*)
3426
 
  ac_cv_path_TAGLIB_CONFIG="$TAGLIB_CONFIG" # Let the user override the test with a path.
3427
 
  ;;
3428
 
  *)
3429
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430
 
for as_dir in $PATH
3431
 
do
3432
 
  IFS=$as_save_IFS
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
3438
 
    break 2
3439
 
  fi
3440
 
done
3441
 
  done
3442
 
IFS=$as_save_IFS
3443
 
 
3444
 
  test -z "$ac_cv_path_TAGLIB_CONFIG" && ac_cv_path_TAGLIB_CONFIG="no"
3445
 
  ;;
3446
 
esac
3447
 
fi
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; }
3452
 
else
3453
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454
 
$as_echo "no" >&6; }
3455
 
fi
3456
 
 
3457
 
 
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
3463
 
    else
3464
 
 
3465
 
$as_echo "#define HAVE_TAGLIB 1" >>confdefs.h
3466
 
 
3467
 
      TAGLIB_INCLUDES=`$TAGLIB_CONFIG --cflags`
3468
 
      LIB_TAGLIB=`$TAGLIB_CONFIG --libs`
3469
 
      HAVE_TAGLIB=1
3470
 
 
3471
 
      have_taglib=yes
3472
 
    fi
3473
 
  else
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
3477
 
  fi
3478
 
else
3479
 
    have_taglib=no
3480
 
fi
3481
 
 
3482
 
 
3483
 
 
3484
 
 
3485
 
 
3486
 
# Check whether --with-mp4v2 was given.
3487
 
if test "${with_mp4v2+set}" = set; then :
3488
 
  withval=$with_mp4v2; with_mp4v2="$withval"
3489
 
else
3490
 
  with_mp4v2=yes
3491
 
 
3492
 
fi
3493
 
 
3494
 
 
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"
3498
 
else
3499
 
  mp4v2_dir=/usr
3500
 
 
3501
 
fi
3502
 
 
3503
 
if test "$with_mp4v2" != "no"; then
3504
 
 
3505
 
  ac_ext=cpp
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
3510
 
 
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
3518
 
  fi
3519
 
  ac_cppflags_save=$CPPFLAGS
3520
 
  CPPFLAGS="$CPPFLAGS -I."
3521
 
 
3522
 
 
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
3527
 
else
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
3533
 
do
3534
 
  IFS=$as_save_IFS
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
3543
 
*GNU*)
3544
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3545
 
*)
3546
 
  ac_count=0
3547
 
  $as_echo_n 0123456789 >"conftest.in"
3548
 
  while :
3549
 
  do
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
3561
 
    fi
3562
 
    # 10*(2^10) chars as input seems more than enough
3563
 
    test $ac_count -gt 10 && break
3564
 
  done
3565
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3566
 
esac
3567
 
 
3568
 
      $ac_path_GREP_found && break 3
3569
 
    done
3570
 
  done
3571
 
  done
3572
 
IFS=$as_save_IFS
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
3575
 
  fi
3576
 
else
3577
 
  ac_cv_path_GREP=$GREP
3578
 
fi
3579
 
 
3580
 
fi
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"
3584
 
 
3585
 
 
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
3590
 
else
3591
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3592
 
   then ac_cv_path_EGREP="$GREP -E"
3593
 
   else
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
3599
 
do
3600
 
  IFS=$as_save_IFS
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
3609
 
*GNU*)
3610
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3611
 
*)
3612
 
  ac_count=0
3613
 
  $as_echo_n 0123456789 >"conftest.in"
3614
 
  while :
3615
 
  do
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
3627
 
    fi
3628
 
    # 10*(2^10) chars as input seems more than enough
3629
 
    test $ac_count -gt 10 && break
3630
 
  done
3631
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3632
 
esac
3633
 
 
3634
 
      $ac_path_EGREP_found && break 3
3635
 
    done
3636
 
  done
3637
 
  done
3638
 
IFS=$as_save_IFS
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
3641
 
  fi
3642
 
else
3643
 
  ac_cv_path_EGREP=$EGREP
3644
 
fi
3645
 
 
3646
 
   fi
3647
 
fi
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"
3651
 
 
3652
 
 
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
3657
 
else
3658
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659
 
/* end confdefs.h.  */
3660
 
#include <stdlib.h>
3661
 
#include <stdarg.h>
3662
 
#include <string.h>
3663
 
#include <float.h>
3664
 
 
3665
 
int
3666
 
main ()
3667
 
{
3668
 
 
3669
 
  ;
3670
 
  return 0;
3671
 
}
3672
 
_ACEOF
3673
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3674
 
  ac_cv_header_stdc=yes
3675
 
else
3676
 
  ac_cv_header_stdc=no
3677
 
fi
3678
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679
 
 
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.  */
3684
 
#include <string.h>
3685
 
 
3686
 
_ACEOF
3687
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3688
 
  $EGREP "memchr" >/dev/null 2>&1; then :
3689
 
 
3690
 
else
3691
 
  ac_cv_header_stdc=no
3692
 
fi
3693
 
rm -f conftest*
3694
 
 
3695
 
fi
3696
 
 
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.  */
3701
 
#include <stdlib.h>
3702
 
 
3703
 
_ACEOF
3704
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3705
 
  $EGREP "free" >/dev/null 2>&1; then :
3706
 
 
3707
 
else
3708
 
  ac_cv_header_stdc=no
3709
 
fi
3710
 
rm -f conftest*
3711
 
 
3712
 
fi
3713
 
 
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 :
3717
 
  :
3718
 
else
3719
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720
 
/* end confdefs.h.  */
3721
 
#include <ctype.h>
3722
 
#include <stdlib.h>
3723
 
#if ((' ' & 0x0FF) == 0x020)
3724
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3725
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3726
 
#else
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))
3732
 
#endif
3733
 
 
3734
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3735
 
int
3736
 
main ()
3737
 
{
3738
 
  int i;
3739
 
  for (i = 0; i < 256; i++)
3740
 
    if (XOR (islower (i), ISLOWER (i))
3741
 
        || toupper (i) != TOUPPER (i))
3742
 
      return 2;
3743
 
  return 0;
3744
 
}
3745
 
_ACEOF
3746
 
if ac_fn_cxx_try_run "$LINENO"; then :
3747
 
 
3748
 
else
3749
 
  ac_cv_header_stdc=no
3750
 
fi
3751
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3752
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
3753
 
fi
3754
 
 
3755
 
fi
3756
 
fi
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
3760
 
 
3761
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3762
 
 
3763
 
fi
3764
 
 
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
3768
 
do :
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
3771
 
"
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
3775
 
_ACEOF
3776
 
 
3777
 
fi
3778
 
 
3779
 
done
3780
 
 
3781
 
 
3782
 
for ac_header in systems.h
3783
 
do :
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
3788
 
_ACEOF
3789
 
 
3790
 
fi
3791
 
 
3792
 
done
3793
 
 
3794
 
  for ac_header in mp4.h
3795
 
do :
3796
 
  ac_fn_cxx_check_header_compile "$LINENO" "mp4.h" "ac_cv_header_mp4_h" "#ifdef HAVE_SYSTEMS_H
3797
 
     # include <systems.h>
3798
 
     #endif
3799
 
 
3800
 
"
3801
 
if test "x$ac_cv_header_mp4_h" = x""yes; then :
3802
 
  cat >>confdefs.h <<_ACEOF
3803
 
#define HAVE_MP4_H 1
3804
 
_ACEOF
3805
 
 have_mp4_h=yes
3806
 
fi
3807
 
 
3808
 
done
3809
 
 
3810
 
  for ac_header in mp4v2/mp4v2.h
3811
 
do :
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
3816
 
_ACEOF
3817
 
 have_mp4v2_mp4v2_h=yes
3818
 
fi
3819
 
 
3820
 
done
3821
 
 
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
3826
 
else
3827
 
  ac_check_lib_save_LIBS=$LIBS
3828
 
LIBS="-lmp4v2  $LIBS"
3829
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830
 
/* end confdefs.h.  */
3831
 
 
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.  */
3835
 
#ifdef __cplusplus
3836
 
extern "C"
3837
 
#endif
3838
 
char MP4Read ();
3839
 
int
3840
 
main ()
3841
 
{
3842
 
return MP4Read ();
3843
 
  ;
3844
 
  return 0;
3845
 
}
3846
 
_ACEOF
3847
 
if ac_fn_cxx_try_link "$LINENO"; then :
3848
 
  ac_cv_lib_mp4v2_MP4Read=yes
3849
 
else
3850
 
  ac_cv_lib_mp4v2_MP4Read=no
3851
 
fi
3852
 
rm -f core conftest.err conftest.$ac_objext \
3853
 
    conftest$ac_exeext conftest.$ac_ext
3854
 
LIBS=$ac_check_lib_save_LIBS
3855
 
fi
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 :
3859
 
  have_mp4v2=yes
3860
 
else
3861
 
 
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
3866
 
else
3867
 
  ac_check_lib_save_LIBS=$LIBS
3868
 
LIBS="-lmp4v2 -lwsock32 $LIBS"
3869
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870
 
/* end confdefs.h.  */
3871
 
 
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.  */
3875
 
#ifdef __cplusplus
3876
 
extern "C"
3877
 
#endif
3878
 
char MP4Close ();
3879
 
int
3880
 
main ()
3881
 
{
3882
 
return MP4Close ();
3883
 
  ;
3884
 
  return 0;
3885
 
}
3886
 
_ACEOF
3887
 
if ac_fn_cxx_try_link "$LINENO"; then :
3888
 
  ac_cv_lib_mp4v2_MP4Close=yes
3889
 
else
3890
 
  ac_cv_lib_mp4v2_MP4Close=no
3891
 
fi
3892
 
rm -f core conftest.err conftest.$ac_objext \
3893
 
    conftest$ac_exeext conftest.$ac_ext
3894
 
LIBS=$ac_check_lib_save_LIBS
3895
 
fi
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
3900
 
else
3901
 
 
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;}
3908
 
 
3909
 
fi
3910
 
 
3911
 
 
3912
 
fi
3913
 
 
3914
 
  CPPFLAGS=$ac_cppflags_save
3915
 
  CXXFLAGS=$ac_cxxflags_save
3916
 
  LDFLAGS=$ac_ldflags_save
3917
 
  ac_ext=cpp
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
3922
 
 
3923
 
fi
3924
 
if test "$have_mp4v2" = "yes" -a \( "$have_mp4_h" = "yes" -o "$have_mp4v2_mp4v2_h" = "yes" \); then
3925
 
  HAVE_MP4V2=1
3926
 
 
3927
 
 
3928
 
$as_echo "#define HAVE_MP4V2 1" >>confdefs.h
3929
 
 
3930
 
  MP4V2_INCLUDES="-I$mp4v2_dir/include"
3931
 
  LIB_MP4V2="-L$mp4v2_dir/lib -lmp4v2 $mp4v2_otherlibs"
3932
 
else
3933
 
  LIB_MP4V2=""
3934
 
  have_mp4v2=no
3935
 
fi
3936
 
 
3937
 
 
3938
 
 
3939
 
if test "$have_mp4v2" = "yes"; then
3940
 
 
3941
 
 
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; }
3944
 
 
3945
 
    ac_ext=cpp
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
3950
 
 
3951
 
    cat confdefs.h >conftest.$ac_ext
3952
 
    cat >> conftest.$ac_ext <<EOF
3953
 
#ifdef HAVE_SYS_TYPES_H
3954
 
#include <sys/types.h>
3955
 
#endif
3956
 
#ifdef HAVE_MP4V2_MP4V2_H
3957
 
#include <mp4v2/mp4v2.h>
3958
 
#else
3959
 
#include <mp4.h>
3960
 
#endif
3961
 
int main() {
3962
 
  MP4FileHandle hFile;
3963
 
  u_int32_t index;
3964
 
  char* ppName;
3965
 
  u_int8_t* ppValue;
3966
 
  u_int32_t pValueSize;
3967
 
  MP4GetMetadataByIndex(hFile, index, &ppName, &ppValue, &pValueSize);
3968
 
  return 0;
3969
 
}
3970
 
EOF
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
3975
 
  ac_status=$?
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; }
3980
 
 
3981
 
$as_echo "#define HAVE_MP4V2_MP4GETMETADATABYINDEX_CHARPP_ARG 1" >>confdefs.h
3982
 
 
3983
 
    else
3984
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985
 
$as_echo "no" >&6; }
3986
 
    fi
3987
 
    CPPFLAGS=$ac_save_CPPFLAGS
3988
 
 
3989
 
    ac_ext=cpp
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
3994
 
 
3995
 
 
3996
 
fi
3997
 
 
3998
 
 
3999
 
# Check whether --with-id3lib was given.
4000
 
if test "${with_id3lib+set}" = set; then :
4001
 
  withval=$with_id3lib; with_id3lib="$withval"
4002
 
else
4003
 
  with_id3lib=yes
4004
 
 
4005
 
fi
4006
 
 
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
4012
 
else
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.  */
4017
 
 
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.  */
4021
 
#ifdef __cplusplus
4022
 
extern "C"
4023
 
#endif
4024
 
char ID3Tag_Link ();
4025
 
int
4026
 
main ()
4027
 
{
4028
 
return ID3Tag_Link ();
4029
 
  ;
4030
 
  return 0;
4031
 
}
4032
 
_ACEOF
4033
 
if ac_fn_cxx_try_link "$LINENO"; then :
4034
 
  ac_cv_lib_id3_ID3Tag_Link=yes
4035
 
else
4036
 
  ac_cv_lib_id3_ID3Tag_Link=no
4037
 
fi
4038
 
rm -f core conftest.err conftest.$ac_objext \
4039
 
    conftest$ac_exeext conftest.$ac_ext
4040
 
LIBS=$ac_check_lib_save_LIBS
4041
 
fi
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 :
4045
 
  build_id3lib="yes"
4046
 
else
4047
 
 
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
4052
 
else
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.  */
4057
 
 
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.  */
4061
 
#ifdef __cplusplus
4062
 
extern "C"
4063
 
#endif
4064
 
char ID3Tag_Strip ();
4065
 
int
4066
 
main ()
4067
 
{
4068
 
return ID3Tag_Strip ();
4069
 
  ;
4070
 
  return 0;
4071
 
}
4072
 
_ACEOF
4073
 
if ac_fn_cxx_try_link "$LINENO"; then :
4074
 
  ac_cv_lib_id3_ID3Tag_Strip=yes
4075
 
else
4076
 
  ac_cv_lib_id3_ID3Tag_Strip=no
4077
 
fi
4078
 
rm -f core conftest.err conftest.$ac_objext \
4079
 
    conftest$ac_exeext conftest.$ac_ext
4080
 
LIBS=$ac_check_lib_save_LIBS
4081
 
fi
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
4086
 
else
4087
 
 
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
4091
 
 
4092
 
fi
4093
 
 
4094
 
 
4095
 
fi
4096
 
 
4097
 
fi
4098
 
if test "$build_id3lib" = "yes"; then
4099
 
  HAVE_ID3LIB=1
4100
 
 
4101
 
 
4102
 
$as_echo "#define HAVE_ID3LIB 1" >>confdefs.h
4103
 
 
4104
 
  LIB_ID3LIB="-lid3 $id3_otherlibs"
4105
 
  have_id3lib=yes
4106
 
else
4107
 
  LIB_ID3LIB=""
4108
 
  have_id3lib=no
4109
 
fi
4110
 
 
4111
 
 
4112
 
if test "$build_id3lib" = "yes"; then
4113
 
 
4114
 
 
4115
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3lib VBR support" >&5
4116
 
$as_echo_n "checking for id3lib VBR support... " >&6; }
4117
 
 
4118
 
    ac_ext=cpp
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
4123
 
 
4124
 
  cat > conftest.$ac_ext <<EOF
4125
 
#include <id3/globals.h>
4126
 
int main() {
4127
 
  Mp3_Headerinfo info;
4128
 
  info.vbr_bitrate = 0;
4129
 
  return 0;
4130
 
}
4131
 
EOF
4132
 
 
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
4137
 
  ac_status=$?
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; }
4142
 
    else
4143
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144
 
$as_echo "no" >&6; }
4145
 
 
4146
 
$as_echo "#define HAVE_NO_ID3LIB_VBR 1" >>confdefs.h
4147
 
 
4148
 
    fi
4149
 
    CPPFLAGS=$ac_save_CPPFLAGS
4150
 
 
4151
 
    ac_ext=cpp
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
4156
 
 
4157
 
 
4158
 
fi
4159
 
 
4160
 
 
4161
 
# Check whether --with-kde was given.
4162
 
if test "${with_kde+set}" = set; then :
4163
 
  withval=$with_kde; with_kde="$withval"
4164
 
else
4165
 
  with_kde=yes
4166
 
 
4167
 
fi
4168
 
 
4169
 
if test "$with_kde" != "no"; then
4170
 
  CONFIG_USE_KDE=1
4171
 
 
4172
 
 
4173
 
$as_echo "#define CONFIG_USE_KDE 1" >>confdefs.h
4174
 
 
4175
 
fi
4176
 
 
4177
 
CFG_CONFIG=""
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
4182
 
      "yes")
4183
 
        GCC_PCH="yes"
4184
 
 
4185
 
 
4186
 
$as_echo "#define GCC_PCH 1" >>confdefs.h
4187
 
 
4188
 
        ;;
4189
 
      "no")
4190
 
        ;;
4191
 
      *)
4192
 
        as_fn_error $? "must use --enable-gcc-pch(=yes/no) or --disable-gcc-pch" "$LINENO" 5
4193
 
        ;;
4194
 
    esac
4195
 
 
4196
 
fi
4197
 
 
4198
 
 
4199
 
 
4200
 
# Check whether --with-musicbrainz was given.
4201
 
if test "${with_musicbrainz+set}" = set; then :
4202
 
  withval=$with_musicbrainz; with_musicbrainz="$withval"
4203
 
else
4204
 
  with_musicbrainz=yes
4205
 
 
4206
 
fi
4207
 
 
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"
4212
 
else
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"
4216
 
else
4217
 
 
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
4221
 
 
4222
 
fi
4223
 
 
4224
 
 
4225
 
fi
4226
 
 
4227
 
 
4228
 
fi
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
4234
 
else
4235
 
  ac_check_lib_save_LIBS=$LIBS
4236
 
LIBS="-ltunepimp  $LIBS"
4237
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238
 
/* end confdefs.h.  */
4239
 
 
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.  */
4243
 
#ifdef __cplusplus
4244
 
extern "C"
4245
 
#endif
4246
 
char tr_GetPUID ();
4247
 
int
4248
 
main ()
4249
 
{
4250
 
return tr_GetPUID ();
4251
 
  ;
4252
 
  return 0;
4253
 
}
4254
 
_ACEOF
4255
 
if ac_fn_cxx_try_link "$LINENO"; then :
4256
 
  ac_cv_lib_tunepimp_tr_GetPUID=yes
4257
 
else
4258
 
  ac_cv_lib_tunepimp_tr_GetPUID=no
4259
 
fi
4260
 
rm -f core conftest.err conftest.$ac_objext \
4261
 
    conftest$ac_exeext conftest.$ac_ext
4262
 
LIBS=$ac_check_lib_save_LIBS
4263
 
fi
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 :
4267
 
 
4268
 
$as_echo "#define HAVE_TUNEPIMP 5" >>confdefs.h
4269
 
 
4270
 
else
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
4275
 
else
4276
 
  ac_check_lib_save_LIBS=$LIBS
4277
 
LIBS="-ltunepimp  $LIBS"
4278
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279
 
/* end confdefs.h.  */
4280
 
 
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.  */
4284
 
#ifdef __cplusplus
4285
 
extern "C"
4286
 
#endif
4287
 
char tp_SetFileNameEncoding ();
4288
 
int
4289
 
main ()
4290
 
{
4291
 
return tp_SetFileNameEncoding ();
4292
 
  ;
4293
 
  return 0;
4294
 
}
4295
 
_ACEOF
4296
 
if ac_fn_cxx_try_link "$LINENO"; then :
4297
 
  ac_cv_lib_tunepimp_tp_SetFileNameEncoding=yes
4298
 
else
4299
 
  ac_cv_lib_tunepimp_tp_SetFileNameEncoding=no
4300
 
fi
4301
 
rm -f core conftest.err conftest.$ac_objext \
4302
 
    conftest$ac_exeext conftest.$ac_ext
4303
 
LIBS=$ac_check_lib_save_LIBS
4304
 
fi
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 :
4308
 
 
4309
 
$as_echo "#define HAVE_TUNEPIMP 4" >>confdefs.h
4310
 
 
4311
 
else
4312
 
 
4313
 
$as_echo "#define HAVE_TUNEPIMP 1" >>confdefs.h
4314
 
 
4315
 
fi
4316
 
 
4317
 
fi
4318
 
 
4319
 
 
4320
 
  LIB_TUNEPIMP="-ltunepimp"
4321
 
  have_tunepimp=yes
4322
 
else
4323
 
  LIB_TUNEPIMP=""
4324
 
  have_tunepimp=no
4325
 
fi
4326
 
 
4327
 
 
4328
 
 
4329
 
# Check whether --with-vorbis was given.
4330
 
if test "${with_vorbis+set}" = set; then :
4331
 
  withval=$with_vorbis; with_vorbis="$withval"
4332
 
else
4333
 
  with_vorbis=yes
4334
 
 
4335
 
fi
4336
 
 
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 :
4340
 
  build_vorbis="yes"
4341
 
else
4342
 
 
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
4346
 
 
4347
 
fi
4348
 
 
4349
 
 
4350
 
fi
4351
 
if test "$build_vorbis" = "yes"; then
4352
 
  HAVE_VORBIS=1
4353
 
 
4354
 
 
4355
 
$as_echo "#define HAVE_VORBIS 1" >>confdefs.h
4356
 
 
4357
 
  LIB_VORBIS="-logg -lvorbis -lvorbisfile"
4358
 
  have_vorbis=yes
4359
 
else
4360
 
  LIB_VORBIS=""
4361
 
  have_vorbis=no
4362
 
fi
4363
 
 
4364
 
 
4365
 
 
4366
 
# Check whether --with-flac was given.
4367
 
if test "${with_flac+set}" = set; then :
4368
 
  withval=$with_flac; with_flac="$withval"
4369
 
else
4370
 
  with_flac=yes
4371
 
 
4372
 
fi
4373
 
 
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 :
4377
 
  build_flac="yes"
4378
 
else
4379
 
 
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
4383
 
 
4384
 
fi
4385
 
 
4386
 
 
4387
 
fi
4388
 
if test "$build_flac" = "yes"; then
4389
 
  HAVE_FLAC=1
4390
 
 
4391
 
 
4392
 
$as_echo "#define HAVE_FLAC 1" >>confdefs.h
4393
 
 
4394
 
  LIB_FLAC="-lFLAC++ -lFLAC"
4395
 
  have_flac=yes
4396
 
else
4397
 
  LIB_FLAC=""
4398
 
  have_flac=no
4399
 
fi
4400
 
 
4401
 
 
4402
 
if test "$build_flac" = "yes"; then
4403
 
 
4404
 
 
4405
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC__StreamMetadata operator" >&5
4406
 
$as_echo_n "checking for FLAC__StreamMetadata operator... " >&6; }
4407
 
 
4408
 
    ac_ext=cpp
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
4413
 
 
4414
 
  cat > conftest.$ac_ext <<EOF
4415
 
#include <FLAC++/metadata.h>
4416
 
int main() {
4417
 
  FLAC::Metadata::VorbisComment vc;
4418
 
  const ::FLAC__StreamMetadata* fsmd = vc;
4419
 
  return 0;
4420
 
}
4421
 
EOF
4422
 
 
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
4427
 
  ac_status=$?
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; }
4432
 
    else
4433
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434
 
$as_echo "no" >&6; }
4435
 
 
4436
 
$as_echo "#define HAVE_NO_FLAC_STREAMMETADATA_OPERATOR 1" >>confdefs.h
4437
 
 
4438
 
    fi
4439
 
    CPPFLAGS=$ac_save_CPPFLAGS
4440
 
 
4441
 
    ac_ext=cpp
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
4446
 
 
4447
 
 
4448
 
fi
4449
 
 
4450
 
if test "$build_flac" = "yes"; then
4451
 
 
4452
 
 
4453
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC::Metadata::Picture" >&5
4454
 
$as_echo_n "checking for FLAC::Metadata::Picture... " >&6; }
4455
 
 
4456
 
    ac_ext=cpp
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
4461
 
 
4462
 
  cat > conftest.$ac_ext <<EOF
4463
 
#include <FLAC++/metadata.h>
4464
 
int main() {
4465
 
  FLAC::Metadata::Picture pic;
4466
 
  return 0;
4467
 
}
4468
 
EOF
4469
 
 
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
4474
 
  ac_status=$?
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; }
4479
 
 
4480
 
$as_echo "#define HAVE_FLAC_PICTURE 1" >>confdefs.h
4481
 
 
4482
 
    else
4483
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484
 
$as_echo "no" >&6; }
4485
 
    fi
4486
 
    CPPFLAGS=$ac_save_CPPFLAGS
4487
 
 
4488
 
    ac_ext=cpp
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
4493
 
 
4494
 
 
4495
 
fi
4496
 
 
4497
 
 
4498
 
cat >>confdefs.h <<_ACEOF
4499
 
#define VERSION "${VERSION}"
4500
 
_ACEOF
4501
 
 
4502
 
 
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
4506
 
 
4507
 
else
4508
 
  CFG_CONFIG=release
4509
 
 
4510
 
fi
4511
 
 
4512
 
if test "x$GCC_PCH" = "xyes"; then
4513
 
  CFG_CONFIG="${CFG_CONFIG} precompile_header"
4514
 
  CFG_PRECOMPILED_HEADER="allsys.h"
4515
 
 
4516
 
fi
4517
 
 
4518
 
 
4519
 
CFG_PREFIX=$ac_default_prefix
4520
 
if test "x$prefix" != "xNONE"; then
4521
 
  CFG_PREFIX=$prefix
4522
 
fi
4523
 
 
4524
 
cat >>confdefs.h <<_ACEOF
4525
 
#define CFG_PREFIX "${CFG_PREFIX}"
4526
 
_ACEOF
4527
 
 
4528
 
 
4529
 
 
4530
 
# Check whether --with-bindir was given.
4531
 
if test "${with_bindir+set}" = set; then :
4532
 
  withval=$with_bindir; CFG_BINDIR="${with_bindir}"
4533
 
else
4534
 
  CFG_BINDIR="${CFG_PREFIX}/bin"
4535
 
 
4536
 
fi
4537
 
 
4538
 
 
4539
 
cat >>confdefs.h <<_ACEOF
4540
 
#define CFG_BINDIR "${CFG_BINDIR}"
4541
 
_ACEOF
4542
 
 
4543
 
 
4544
 
 
4545
 
# Check whether --with-datarootdir was given.
4546
 
if test "${with_datarootdir+set}" = set; then :
4547
 
  withval=$with_datarootdir; CFG_DATAROOTDIR="${with_datarootdir}"
4548
 
else
4549
 
  CFG_DATAROOTDIR="${CFG_PREFIX}/share"
4550
 
 
4551
 
fi
4552
 
 
4553
 
 
4554
 
cat >>confdefs.h <<_ACEOF
4555
 
#define CFG_DATAROOTDIR "${CFG_DATAROOTDIR}"
4556
 
_ACEOF
4557
 
 
4558
 
 
4559
 
 
4560
 
# Check whether --with-docdir was given.
4561
 
if test "${with_docdir+set}" = set; then :
4562
 
  withval=$with_docdir; CFG_DOCDIR="${with_docdir}"
4563
 
else
4564
 
  CFG_DOCDIR="${CFG_DATAROOTDIR}/doc/kid3-qt"
4565
 
 
4566
 
fi
4567
 
 
4568
 
 
4569
 
cat >>confdefs.h <<_ACEOF
4570
 
#define CFG_DOCDIR "${CFG_DOCDIR}"
4571
 
_ACEOF
4572
 
 
4573
 
 
4574
 
 
4575
 
# Check whether --with-translationsdir was given.
4576
 
if test "${with_translationsdir+set}" = set; then :
4577
 
  withval=$with_translationsdir; CFG_TRANSLATIONSDIR="${with_translationsdir}"
4578
 
else
4579
 
  CFG_TRANSLATIONSDIR="${CFG_DATAROOTDIR}/kid3-qt/translations"
4580
 
 
4581
 
fi
4582
 
 
4583
 
 
4584
 
cat >>confdefs.h <<_ACEOF
4585
 
#define CFG_TRANSLATIONSDIR "${CFG_TRANSLATIONSDIR}"
4586
 
_ACEOF
4587
 
 
4588
 
 
4589
 
 
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}"
4593
 
else
4594
 
  CFG_EXTRA_INCLUDES=
4595
 
 
4596
 
fi
4597
 
 
4598
 
 
4599
 
cat >>confdefs.h <<_ACEOF
4600
 
#define CFG_EXTRA_INCLUDES "${CFG_EXTRA_INCLUDES}"
4601
 
_ACEOF
4602
 
 
4603
 
 
4604
 
 
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}"
4608
 
else
4609
 
  CFG_EXTRA_LIBS=
4610
 
 
4611
 
fi
4612
 
 
4613
 
 
4614
 
cat >>confdefs.h <<_ACEOF
4615
 
#define CFG_EXTRA_LIBS "${CFG_EXTRA_LIBS}"
4616
 
_ACEOF
4617
 
 
4618
 
 
4619
 
 
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}"
4623
 
else
4624
 
  CFG_EXTRA_DEFINES=
4625
 
 
4626
 
fi
4627
 
 
4628
 
 
4629
 
cat >>confdefs.h <<_ACEOF
4630
 
#define CFG_EXTRA_DEFINES "${CFG_EXTRA_DEFINES}"
4631
 
_ACEOF
4632
 
 
4633
 
 
4634
 
 
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}"
4638
 
else
4639
 
  CFG_EXTRA_CXXFLAGS=
4640
 
 
4641
 
fi
4642
 
 
4643
 
 
4644
 
cat >>confdefs.h <<_ACEOF
4645
 
#define CFG_EXTRA_CXXFLAGS "${CFG_EXTRA_CXXFLAGS}"
4646
 
_ACEOF
4647
 
 
4648
 
 
4649
 
 
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
4658
 
else
4659
 
  if test -n "$CFG_QMAKE"; then
4660
 
  ac_cv_prog_CFG_QMAKE="$CFG_QMAKE" # Let the user override the test.
4661
 
else
4662
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663
 
for as_dir in $PATH
4664
 
do
4665
 
  IFS=$as_save_IFS
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
4671
 
    break 2
4672
 
  fi
4673
 
done
4674
 
  done
4675
 
IFS=$as_save_IFS
4676
 
 
4677
 
fi
4678
 
fi
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; }
4683
 
else
4684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685
 
$as_echo "no" >&6; }
4686
 
fi
4687
 
 
4688
 
 
4689
 
else
4690
 
  for ac_prog in qmake qmake-qt3 qmake-qt4
4691
 
do
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
4698
 
else
4699
 
  if test -n "$CFG_QMAKE"; then
4700
 
  ac_cv_prog_CFG_QMAKE="$CFG_QMAKE" # Let the user override the test.
4701
 
else
4702
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703
 
for as_dir in $PATH
4704
 
do
4705
 
  IFS=$as_save_IFS
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
4711
 
    break 2
4712
 
  fi
4713
 
done
4714
 
  done
4715
 
IFS=$as_save_IFS
4716
 
 
4717
 
fi
4718
 
fi
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; }
4723
 
else
4724
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725
 
$as_echo "no" >&6; }
4726
 
fi
4727
 
 
4728
 
 
4729
 
  test -n "$CFG_QMAKE" && break
4730
 
done
4731
 
 
4732
 
 
4733
 
fi
4734
 
 
4735
 
if test -z ${CFG_QMAKE}; then
4736
 
  as_fn_error $? "qmake not found" "$LINENO" 5
4737
 
fi
4738
 
cat >>confdefs.h <<_ACEOF
4739
 
#define CFG_QMAKE "${CFG_QMAKE}"
4740
 
_ACEOF
4741
 
 
4742
 
 
4743
 
if expr ${CFG_QMAKE} : '.*-qt4' >/dev/null; then
4744
 
  for ac_prog in lupdate-qt4 lupdate lupdate-qt3
4745
 
do
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
4752
 
else
4753
 
  if test -n "$CFG_LUPDATE"; then
4754
 
  ac_cv_prog_CFG_LUPDATE="$CFG_LUPDATE" # Let the user override the test.
4755
 
else
4756
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757
 
for as_dir in $PATH
4758
 
do
4759
 
  IFS=$as_save_IFS
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
4765
 
    break 2
4766
 
  fi
4767
 
done
4768
 
  done
4769
 
IFS=$as_save_IFS
4770
 
 
4771
 
fi
4772
 
fi
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; }
4777
 
else
4778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779
 
$as_echo "no" >&6; }
4780
 
fi
4781
 
 
4782
 
 
4783
 
  test -n "$CFG_LUPDATE" && break
4784
 
done
4785
 
 
4786
 
  for ac_prog in lrelease-qt4 lrelease lrelease-qt3
4787
 
do
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
4794
 
else
4795
 
  if test -n "$CFG_LRELEASE"; then
4796
 
  ac_cv_prog_CFG_LRELEASE="$CFG_LRELEASE" # Let the user override the test.
4797
 
else
4798
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799
 
for as_dir in $PATH
4800
 
do
4801
 
  IFS=$as_save_IFS
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
4807
 
    break 2
4808
 
  fi
4809
 
done
4810
 
  done
4811
 
IFS=$as_save_IFS
4812
 
 
4813
 
fi
4814
 
fi
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; }
4819
 
else
4820
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821
 
$as_echo "no" >&6; }
4822
 
fi
4823
 
 
4824
 
 
4825
 
  test -n "$CFG_LRELEASE" && break
4826
 
done
4827
 
 
4828
 
elif expr ${CFG_QMAKE} : '.*-qt3' >/dev/null; then
4829
 
  for ac_prog in lupdate-qt3 lupdate lupdate-qt4
4830
 
do
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
4837
 
else
4838
 
  if test -n "$CFG_LUPDATE"; then
4839
 
  ac_cv_prog_CFG_LUPDATE="$CFG_LUPDATE" # Let the user override the test.
4840
 
else
4841
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842
 
for as_dir in $PATH
4843
 
do
4844
 
  IFS=$as_save_IFS
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
4850
 
    break 2
4851
 
  fi
4852
 
done
4853
 
  done
4854
 
IFS=$as_save_IFS
4855
 
 
4856
 
fi
4857
 
fi
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; }
4862
 
else
4863
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864
 
$as_echo "no" >&6; }
4865
 
fi
4866
 
 
4867
 
 
4868
 
  test -n "$CFG_LUPDATE" && break
4869
 
done
4870
 
 
4871
 
  for ac_prog in lrelease-qt3 lrelease lrelease-qt4
4872
 
do
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
4879
 
else
4880
 
  if test -n "$CFG_LRELEASE"; then
4881
 
  ac_cv_prog_CFG_LRELEASE="$CFG_LRELEASE" # Let the user override the test.
4882
 
else
4883
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884
 
for as_dir in $PATH
4885
 
do
4886
 
  IFS=$as_save_IFS
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
4892
 
    break 2
4893
 
  fi
4894
 
done
4895
 
  done
4896
 
IFS=$as_save_IFS
4897
 
 
4898
 
fi
4899
 
fi
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; }
4904
 
else
4905
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906
 
$as_echo "no" >&6; }
4907
 
fi
4908
 
 
4909
 
 
4910
 
  test -n "$CFG_LRELEASE" && break
4911
 
done
4912
 
 
4913
 
else
4914
 
  for ac_prog in lupdate lupdate-qt3 lupdate-qt4
4915
 
do
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
4922
 
else
4923
 
  if test -n "$CFG_LUPDATE"; then
4924
 
  ac_cv_prog_CFG_LUPDATE="$CFG_LUPDATE" # Let the user override the test.
4925
 
else
4926
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927
 
for as_dir in $PATH
4928
 
do
4929
 
  IFS=$as_save_IFS
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
4935
 
    break 2
4936
 
  fi
4937
 
done
4938
 
  done
4939
 
IFS=$as_save_IFS
4940
 
 
4941
 
fi
4942
 
fi
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; }
4947
 
else
4948
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949
 
$as_echo "no" >&6; }
4950
 
fi
4951
 
 
4952
 
 
4953
 
  test -n "$CFG_LUPDATE" && break
4954
 
done
4955
 
 
4956
 
  for ac_prog in lrelease lrelease-qt3 lrelease-qt4
4957
 
do
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
4964
 
else
4965
 
  if test -n "$CFG_LRELEASE"; then
4966
 
  ac_cv_prog_CFG_LRELEASE="$CFG_LRELEASE" # Let the user override the test.
4967
 
else
4968
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969
 
for as_dir in $PATH
4970
 
do
4971
 
  IFS=$as_save_IFS
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
4977
 
    break 2
4978
 
  fi
4979
 
done
4980
 
  done
4981
 
IFS=$as_save_IFS
4982
 
 
4983
 
fi
4984
 
fi
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; }
4989
 
else
4990
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991
 
$as_echo "no" >&6; }
4992
 
fi
4993
 
 
4994
 
 
4995
 
  test -n "$CFG_LRELEASE" && break
4996
 
done
4997
 
 
4998
 
fi
4999
 
cat >>confdefs.h <<_ACEOF
5000
 
#define CFG_LUPDATE "${CFG_LUPDATE}"
5001
 
_ACEOF
5002
 
 
5003
 
cat >>confdefs.h <<_ACEOF
5004
 
#define CFG_LRELEASE "${CFG_LRELEASE}"
5005
 
_ACEOF
5006
 
 
5007
 
 
5008
 
 
5009
 
# Check whether --with-dbus was given.
5010
 
if test "${with_dbus+set}" = set; then :
5011
 
  withval=$with_dbus; with_dbus="$withval"
5012
 
else
5013
 
  with_dbus=yes
5014
 
 
5015
 
fi
5016
 
 
5017
 
if test "$with_dbus" != "no"; then
5018
 
 
5019
 
 
5020
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libQtDBus" >&5
5021
 
$as_echo_n "checking for libQtDBus... " >&6; }
5022
 
    mkdir dbustest
5023
 
    cat >dbustest/dbustest.pro <<EOF
5024
 
TEMPLATE = app
5025
 
CONFIG += qdbus
5026
 
CONFIG -= moc
5027
 
SOURCES += dbustest.cpp
5028
 
EOF
5029
 
    cat >dbustest/dbustest.cpp <<EOF
5030
 
#include <QDBusConnection>
5031
 
int main() {
5032
 
  QDBusConnection b = QDBusConnection::sessionBus();
5033
 
  return 0;
5034
 
}
5035
 
EOF
5036
 
    cd dbustest
5037
 
    ${CFG_QMAKE} && make >/dev/null 2>&1
5038
 
    dbus_result=$?
5039
 
    cd ..
5040
 
    rm -rf dbustest
5041
 
    if test $dbus_result -eq 0; then
5042
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5043
 
$as_echo "yes" >&6; }
5044
 
      HAVE_QTDBUS=1
5045
 
 
5046
 
 
5047
 
$as_echo "#define HAVE_QTDBUS 1" >>confdefs.h
5048
 
 
5049
 
    else
5050
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051
 
$as_echo "no" >&6; }
5052
 
    fi
5053
 
 
5054
 
fi
5055
 
 
5056
 
 
5057
 
# Check whether --with-phonon was given.
5058
 
if test "${with_phonon+set}" = set; then :
5059
 
  withval=$with_phonon; with_phonon="$withval"
5060
 
else
5061
 
  with_phonon=yes
5062
 
 
5063
 
fi
5064
 
 
5065
 
if test "$with_phonon" != "no"; then
5066
 
 
5067
 
 
5068
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphonon" >&5
5069
 
$as_echo_n "checking for libphonon... " >&6; }
5070
 
    mkdir phonontest
5071
 
    cat >phonontest/phonontest.pro <<EOF
5072
 
TEMPLATE = app
5073
 
QT += phonon
5074
 
SOURCES += phonontest.cpp
5075
 
EOF
5076
 
    cat >phonontest/phonontest.cpp <<EOF
5077
 
#include <Phonon/Path>
5078
 
int main() {
5079
 
  Phonon::Path p;
5080
 
  return 0;
5081
 
}
5082
 
EOF
5083
 
    cd phonontest
5084
 
    ${CFG_QMAKE} && make >/dev/null 2>&1
5085
 
    phonon_result=$?
5086
 
    cd ..
5087
 
    rm -rf phonontest
5088
 
    if test $phonon_result -eq 0; then
5089
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5090
 
$as_echo "yes" >&6; }
5091
 
      HAVE_PHONON=1
5092
 
 
5093
 
 
5094
 
$as_echo "#define HAVE_PHONON 1" >>confdefs.h
5095
 
 
5096
 
    else
5097
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098
 
$as_echo "no" >&6; }
5099
 
    fi
5100
 
 
5101
 
fi
5102
 
 
5103
 
 
5104
 
# Check whether --with-db2html was given.
5105
 
if test "${with_db2html+set}" = set; then :
5106
 
  withval=$with_db2html; CFG_DB2HTML="$withval"
5107
 
else
5108
 
  CFG_DB2HTML=
5109
 
 
5110
 
fi
5111
 
 
5112
 
if test -z ${CFG_DB2HTML}; then
5113
 
  for ac_prog in xsltproc xalan jw
5114
 
do
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
5121
 
else
5122
 
  if test -n "$CFG_DB2HTML"; then
5123
 
  ac_cv_prog_CFG_DB2HTML="$CFG_DB2HTML" # Let the user override the test.
5124
 
else
5125
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126
 
for as_dir in $PATH
5127
 
do
5128
 
  IFS=$as_save_IFS
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
5134
 
    break 2
5135
 
  fi
5136
 
done
5137
 
  done
5138
 
IFS=$as_save_IFS
5139
 
 
5140
 
fi
5141
 
fi
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; }
5146
 
else
5147
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148
 
$as_echo "no" >&6; }
5149
 
fi
5150
 
 
5151
 
 
5152
 
  test -n "$CFG_DB2HTML" && break
5153
 
done
5154
 
 
5155
 
fi
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
5159
 
 
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}"
5163
 
else
5164
 
  CFG_XSL_STYLESHEET=""
5165
 
 
5166
 
fi
5167
 
 
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
5171
 
      xsl_found=no
5172
 
      if test -f ${docbookxsldir}/html/docbook.xsl; then
5173
 
        CFG_XSL_STYLESHEET=${docbookxsldir}/html/docbook.xsl
5174
 
        xsl_found=yes
5175
 
      fi
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
5179
 
        break
5180
 
      fi
5181
 
    done
5182
 
  fi
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
5187
 
      xsl_found=no
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
5190
 
        xsl_found=yes
5191
 
      fi
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
5195
 
        break
5196
 
      fi
5197
 
    done
5198
 
  fi
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
5201
 
  fi
5202
 
 
5203
 
fi
5204
 
 
5205
 
ac_config_files="$ac_config_files config.pri"
5206
 
 
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.
5213
 
#
5214
 
# config.status only pays attention to the cache file if you give it
5215
 
# the --recheck option to rerun configure.
5216
 
#
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
5219
 
# following values.
5220
 
 
5221
 
_ACEOF
5222
 
 
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.
5228
 
(
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
5231
 
    case $ac_val in #(
5232
 
    *${as_nl}*)
5233
 
      case $ac_var in #(
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;} ;;
5236
 
      esac
5237
 
      case $ac_var in #(
5238
 
      _ | IFS | as_nl) ;; #(
5239
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5240
 
      *) { eval $ac_var=; unset $ac_var;} ;;
5241
 
      esac ;;
5242
 
    esac
5243
 
  done
5244
 
 
5245
 
  (set) 2>&1 |
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 \.
5250
 
      sed -n \
5251
 
        "s/'/'\\\\''/g;
5252
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5253
 
      ;; #(
5254
 
    *)
5255
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
5256
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5257
 
      ;;
5258
 
    esac |
5259
 
    sort
5260
 
) |
5261
 
  sed '
5262
 
     /^ac_cv_env_/b end
5263
 
     t clear
5264
 
     :clear
5265
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5266
 
     t end
5267
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5268
 
     :end' >>confcache
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
5275
 
  else
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;}
5278
 
  fi
5279
 
fi
5280
 
rm -f confcache
5281
 
 
5282
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5283
 
# Let make expand exec_prefix.
5284
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5285
 
 
5286
 
DEFS=-DHAVE_CONFIG_H
5287
 
 
5288
 
ac_libobjs=
5289
 
ac_ltlibobjs=
5290
 
U=
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'
5299
 
done
5300
 
LIBOBJS=$ac_libobjs
5301
 
 
5302
 
LTLIBOBJS=$ac_ltlibobjs
5303
 
 
5304
 
 
5305
 
 
5306
 
: ${CONFIG_STATUS=./config.status}
5307
 
ac_write_fail=0
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;}
5312
 
as_write_fail=0
5313
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5314
 
#! $SHELL
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.
5319
 
 
5320
 
debug=false
5321
 
ac_cs_recheck=false
5322
 
ac_cs_silent=false
5323
 
 
5324
 
SHELL=\${CONFIG_SHELL-$SHELL}
5325
 
export SHELL
5326
 
_ASEOF
5327
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5328
 
## -------------------- ##
5329
 
## M4sh Initialization. ##
5330
 
## -------------------- ##
5331
 
 
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 :
5335
 
  emulate sh
5336
 
  NULLCMD=:
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
5341
 
else
5342
 
  case `(set -o) 2>/dev/null` in #(
5343
 
  *posix*) :
5344
 
    set -o posix ;; #(
5345
 
  *) :
5346
 
     ;;
5347
 
esac
5348
 
fi
5349
 
 
5350
 
 
5351
 
as_nl='
5352
 
'
5353
 
export as_nl
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'
5367
 
else
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'
5371
 
  else
5372
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5373
 
    as_echo_n_body='eval
5374
 
      arg=$1;
5375
 
      case $arg in #(
5376
 
      *"$as_nl"*)
5377
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
5378
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5379
 
      esac;
5380
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5381
 
    '
5382
 
    export as_echo_n_body
5383
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
5384
 
  fi
5385
 
  export as_echo_body
5386
 
  as_echo='sh -c $as_echo_body as_echo'
5387
 
fi
5388
 
 
5389
 
# The user is always right.
5390
 
if test "${PATH_SEPARATOR+set}" != set; then
5391
 
  PATH_SEPARATOR=:
5392
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5393
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5394
 
      PATH_SEPARATOR=';'
5395
 
  }
5396
 
fi
5397
 
 
5398
 
 
5399
 
# IFS
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.)
5404
 
IFS=" ""        $as_nl"
5405
 
 
5406
 
# Find who we are.  Look in the path if we contain no directory separator.
5407
 
case $0 in #((
5408
 
  *[\\/]* ) as_myself=$0 ;;
5409
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410
 
for as_dir in $PATH
5411
 
do
5412
 
  IFS=$as_save_IFS
5413
 
  test -z "$as_dir" && as_dir=.
5414
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5415
 
  done
5416
 
IFS=$as_save_IFS
5417
 
 
5418
 
     ;;
5419
 
esac
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
5423
 
  as_myself=$0
5424
 
fi
5425
 
if test ! -f "$as_myself"; then
5426
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5427
 
  exit 1
5428
 
fi
5429
 
 
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 || :
5437
 
done
5438
 
PS1='$ '
5439
 
PS2='> '
5440
 
PS4='+ '
5441
 
 
5442
 
# NLS nuisances.
5443
 
LC_ALL=C
5444
 
export LC_ALL
5445
 
LANGUAGE=C
5446
 
export LANGUAGE
5447
 
 
5448
 
# CDPATH.
5449
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5450
 
 
5451
 
 
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.
5457
 
as_fn_error ()
5458
 
{
5459
 
  as_status=$1; test $as_status -eq 0 && as_status=1
5460
 
  if test "$4"; then
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
5463
 
  fi
5464
 
  $as_echo "$as_me: error: $2" >&2
5465
 
  as_fn_exit $as_status
5466
 
} # as_fn_error
5467
 
 
5468
 
 
5469
 
# as_fn_set_status STATUS
5470
 
# -----------------------
5471
 
# Set $? to STATUS, without forking.
5472
 
as_fn_set_status ()
5473
 
{
5474
 
  return $1
5475
 
} # as_fn_set_status
5476
 
 
5477
 
# as_fn_exit STATUS
5478
 
# -----------------
5479
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5480
 
as_fn_exit ()
5481
 
{
5482
 
  set +e
5483
 
  as_fn_set_status $1
5484
 
  exit $1
5485
 
} # as_fn_exit
5486
 
 
5487
 
# as_fn_unset VAR
5488
 
# ---------------
5489
 
# Portably unset VAR.
5490
 
as_fn_unset ()
5491
 
{
5492
 
  { eval $1=; unset $1;}
5493
 
}
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
5500
 
# implementations.
5501
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5502
 
  eval 'as_fn_append ()
5503
 
  {
5504
 
    eval $1+=\$2
5505
 
  }'
5506
 
else
5507
 
  as_fn_append ()
5508
 
  {
5509
 
    eval $1=\$$1\$2
5510
 
  }
5511
 
fi # as_fn_append
5512
 
 
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 ()
5520
 
  {
5521
 
    as_val=$(( $* ))
5522
 
  }'
5523
 
else
5524
 
  as_fn_arith ()
5525
 
  {
5526
 
    as_val=`expr "$@" || test $? -eq 1`
5527
 
  }
5528
 
fi # as_fn_arith
5529
 
 
5530
 
 
5531
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5532
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5533
 
  as_expr=expr
5534
 
else
5535
 
  as_expr=false
5536
 
fi
5537
 
 
5538
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5539
 
  as_basename=basename
5540
 
else
5541
 
  as_basename=false
5542
 
fi
5543
 
 
5544
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5545
 
  as_dirname=dirname
5546
 
else
5547
 
  as_dirname=false
5548
 
fi
5549
 
 
5550
 
as_me=`$as_basename -- "$0" ||
5551
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5552
 
         X"$0" : 'X\(//\)$' \| \
5553
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5554
 
$as_echo X/"$0" |
5555
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5556
 
            s//\1/
5557
 
            q
5558
 
          }
5559
 
          /^X\/\(\/\/\)$/{
5560
 
            s//\1/
5561
 
            q
5562
 
          }
5563
 
          /^X\/\(\/\).*/{
5564
 
            s//\1/
5565
 
            q
5566
 
          }
5567
 
          s/.*/./; q'`
5568
 
 
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
5575
 
 
5576
 
ECHO_C= ECHO_N= ECHO_T=
5577
 
case `echo -n x` in #(((((
5578
 
-n*)
5579
 
  case `echo 'xy\c'` in
5580
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5581
 
  xy)  ECHO_C='\c';;
5582
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5583
 
       ECHO_T=' ';;
5584
 
  esac;;
5585
 
*)
5586
 
  ECHO_N='-n';;
5587
 
esac
5588
 
 
5589
 
rm -f conf$$ conf$$.exe conf$$.file
5590
 
if test -d conf$$.dir; then
5591
 
  rm -f conf$$.dir/conf$$.file
5592
 
else
5593
 
  rm -f conf$$.dir
5594
 
  mkdir conf$$.dir 2>/dev/null
5595
 
fi
5596
 
if (echo >conf$$.file) 2>/dev/null; then
5597
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
5598
 
    as_ln_s='ln -s'
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 ||
5604
 
      as_ln_s='cp -p'
5605
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
5606
 
    as_ln_s=ln
5607
 
  else
5608
 
    as_ln_s='cp -p'
5609
 
  fi
5610
 
else
5611
 
  as_ln_s='cp -p'
5612
 
fi
5613
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5614
 
rmdir conf$$.dir 2>/dev/null
5615
 
 
5616
 
 
5617
 
# as_fn_mkdir_p
5618
 
# -------------
5619
 
# Create "$as_dir" as a directory, including parents if necessary.
5620
 
as_fn_mkdir_p ()
5621
 
{
5622
 
 
5623
 
  case $as_dir in #(
5624
 
  -*) as_dir=./$as_dir;;
5625
 
  esac
5626
 
  test -d "$as_dir" || eval $as_mkdir_p || {
5627
 
    as_dirs=
5628
 
    while :; do
5629
 
      case $as_dir in #(
5630
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5631
 
      *) as_qdir=$as_dir;;
5632
 
      esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5641
 
            s//\1/
5642
 
            q
5643
 
          }
5644
 
          /^X\(\/\/\)[^/].*/{
5645
 
            s//\1/
5646
 
            q
5647
 
          }
5648
 
          /^X\(\/\/\)$/{
5649
 
            s//\1/
5650
 
            q
5651
 
          }
5652
 
          /^X\(\/\).*/{
5653
 
            s//\1/
5654
 
            q
5655
 
          }
5656
 
          s/.*/./; q'`
5657
 
      test -d "$as_dir" && break
5658
 
    done
5659
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5660
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5661
 
 
5662
 
 
5663
 
} # as_fn_mkdir_p
5664
 
if mkdir -p . 2>/dev/null; then
5665
 
  as_mkdir_p='mkdir -p "$as_dir"'
5666
 
else
5667
 
  test -d ./-p && rmdir ./-p
5668
 
  as_mkdir_p=false
5669
 
fi
5670
 
 
5671
 
if test -x / >/dev/null 2>&1; then
5672
 
  as_test_x='test -x'
5673
 
else
5674
 
  if ls -dL / >/dev/null 2>&1; then
5675
 
    as_ls_L_option=L
5676
 
  else
5677
 
    as_ls_L_option=
5678
 
  fi
5679
 
  as_test_x='
5680
 
    eval sh -c '\''
5681
 
      if test -d "$1"; then
5682
 
        test -d "$1/.";
5683
 
      else
5684
 
        case $1 in #(
5685
 
        -*)set "./$1";;
5686
 
        esac;
5687
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5688
 
        ???[sx]*):;;*)false;;esac;fi
5689
 
    '\'' sh
5690
 
  '
5691
 
fi
5692
 
as_executable_p=$as_test_x
5693
 
 
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'"
5696
 
 
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'"
5699
 
 
5700
 
 
5701
 
exec 6>&1
5702
 
## ----------------------------------- ##
5703
 
## Main body of $CONFIG_STATUS script. ##
5704
 
## ----------------------------------- ##
5705
 
_ASEOF
5706
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5707
 
 
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.
5712
 
ac_log="
5713
 
This file was extended by kid3 $as_me 1.6, which was
5714
 
generated by GNU Autoconf 2.67.  Invocation command line was
5715
 
 
5716
 
  CONFIG_FILES    = $CONFIG_FILES
5717
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
5718
 
  CONFIG_LINKS    = $CONFIG_LINKS
5719
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5720
 
  $ $0 $@
5721
 
 
5722
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5723
 
"
5724
 
 
5725
 
_ACEOF
5726
 
 
5727
 
case $ac_config_files in *"
5728
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5729
 
esac
5730
 
 
5731
 
case $ac_config_headers in *"
5732
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5733
 
esac
5734
 
 
5735
 
 
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"
5740
 
 
5741
 
_ACEOF
5742
 
 
5743
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744
 
ac_cs_usage="\
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.
5748
 
 
5749
 
Usage: $0 [OPTION]... [TAG]...
5750
 
 
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
5762
 
 
5763
 
Configuration files:
5764
 
$config_files
5765
 
 
5766
 
Configuration headers:
5767
 
$config_headers
5768
 
 
5769
 
Report bugs to the package provider."
5770
 
 
5771
 
_ACEOF
5772
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5773
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5774
 
ac_cs_version="\\
5775
 
kid3 config.status 1.6
5776
 
configured by $0, generated by GNU Autoconf 2.67,
5777
 
  with options \\"\$ac_cs_config\\"
5778
 
 
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."
5782
 
 
5783
 
ac_pwd='$ac_pwd'
5784
 
srcdir='$srcdir'
5785
 
test -n "\$AWK" || AWK=awk
5786
 
_ACEOF
5787
 
 
5788
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5789
 
# The default lists apply if the user does not specify any file.
5790
 
ac_need_defaults=:
5791
 
while test $# != 0
5792
 
do
5793
 
  case $1 in
5794
 
  --*=?*)
5795
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5796
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5797
 
    ac_shift=:
5798
 
    ;;
5799
 
  --*=)
5800
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5801
 
    ac_optarg=
5802
 
    ac_shift=:
5803
 
    ;;
5804
 
  *)
5805
 
    ac_option=$1
5806
 
    ac_optarg=$2
5807
 
    ac_shift=shift
5808
 
    ;;
5809
 
  esac
5810
 
 
5811
 
  case $ac_option in
5812
 
  # Handling of the options.
5813
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5814
 
    ac_cs_recheck=: ;;
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 )
5820
 
    debug=: ;;
5821
 
  --file | --fil | --fi | --f )
5822
 
    $ac_shift
5823
 
    case $ac_optarg in
5824
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5825
 
    '') as_fn_error $? "missing file argument" ;;
5826
 
    esac
5827
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5828
 
    ac_need_defaults=false;;
5829
 
  --header | --heade | --head | --hea )
5830
 
    $ac_shift
5831
 
    case $ac_optarg in
5832
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5833
 
    esac
5834
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5835
 
    ac_need_defaults=false;;
5836
 
  --he | --h)
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)
5844
 
    ac_cs_silent=: ;;
5845
 
 
5846
 
  # This is an error.
5847
 
  -*) as_fn_error $? "unrecognized option: \`$1'
5848
 
Try \`$0 --help' for more information." ;;
5849
 
 
5850
 
  *) as_fn_append ac_config_targets " $1"
5851
 
     ac_need_defaults=false ;;
5852
 
 
5853
 
  esac
5854
 
  shift
5855
 
done
5856
 
 
5857
 
ac_configure_extra_args=
5858
 
 
5859
 
if $ac_cs_silent; then
5860
 
  exec 6>/dev/null
5861
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
5862
 
fi
5863
 
 
5864
 
_ACEOF
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
5868
 
  shift
5869
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5870
 
  CONFIG_SHELL='$SHELL'
5871
 
  export CONFIG_SHELL
5872
 
  exec "\$@"
5873
 
fi
5874
 
 
5875
 
_ACEOF
5876
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5877
 
exec 5>>config.log
5878
 
{
5879
 
  echo
5880
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5881
 
## Running $as_me. ##
5882
 
_ASBOX
5883
 
  $as_echo "$ac_log"
5884
 
} >&5
5885
 
 
5886
 
_ACEOF
5887
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888
 
_ACEOF
5889
 
 
5890
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891
 
 
5892
 
# Handling of arguments.
5893
 
for ac_config_target in $ac_config_targets
5894
 
do
5895
 
  case $ac_config_target in
5896
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5897
 
    "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
5898
 
 
5899
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5900
 
  esac
5901
 
done
5902
 
 
5903
 
 
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
5911
 
fi
5912
 
 
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'.
5919
 
$debug ||
5920
 
{
5921
 
  tmp=
5922
 
  trap 'exit_status=$?
5923
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5924
 
' 0
5925
 
  trap 'as_fn_exit 1' 1 2 13 15
5926
 
}
5927
 
# Create a (secure) tmp directory for tmp files.
5928
 
 
5929
 
{
5930
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5931
 
  test -n "$tmp" && test -d "$tmp"
5932
 
}  ||
5933
 
{
5934
 
  tmp=./conf$$-$RANDOM
5935
 
  (umask 077 && mkdir "$tmp")
5936
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5937
 
 
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
5942
 
 
5943
 
 
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\'
5950
 
fi
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
5953
 
  ac_cs_awk_cr='\\r'
5954
 
else
5955
 
  ac_cs_awk_cr=$ac_cr
5956
 
fi
5957
 
 
5958
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5959
 
_ACEOF
5960
 
 
5961
 
 
5962
 
{
5963
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
5964
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5965
 
  echo "_ACEOF"
5966
 
} >conf$$subs.sh ||
5967
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5968
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5969
 
ac_delim='%!_!# '
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
5973
 
 
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
5976
 
    break
5977
 
  elif $ac_last_try; then
5978
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5979
 
  else
5980
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5981
 
  fi
5982
 
done
5983
 
rm -f conf$$subs.sh
5984
 
 
5985
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5986
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5987
 
_ACEOF
5988
 
sed -n '
5989
 
h
5990
 
s/^/S["/; s/!.*/"]=/
5991
 
p
5992
 
g
5993
 
s/^[^!]*!//
5994
 
:repl
5995
 
t repl
5996
 
s/'"$ac_delim"'$//
5997
 
t delim
5998
 
:nl
5999
 
h
6000
 
s/\(.\{148\}\)..*/\1/
6001
 
t more1
6002
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6003
 
p
6004
 
n
6005
 
b repl
6006
 
:more1
6007
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6008
 
p
6009
 
g
6010
 
s/.\{148\}//
6011
 
t nl
6012
 
:delim
6013
 
h
6014
 
s/\(.\{148\}\)..*/\1/
6015
 
t more2
6016
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
6017
 
p
6018
 
b
6019
 
:more2
6020
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6021
 
p
6022
 
g
6023
 
s/.\{148\}//
6024
 
t delim
6025
 
' <conf$$subs.awk | sed '
6026
 
/^[^""]/{
6027
 
  N
6028
 
  s/\n//
6029
 
}
6030
 
' >>$CONFIG_STATUS || ac_write_fail=1
6031
 
rm -f conf$$subs.awk
6032
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6033
 
_ACAWK
6034
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6035
 
  for (key in S) S_is_set[key] = 1
6036
 
  FS = ""
6037
 
 
6038
 
}
6039
 
{
6040
 
  line = $ 0
6041
 
  nfields = split(line, field, "@")
6042
 
  substed = 0
6043
 
  len = length(field[1])
6044
 
  for (i = 2; i < nfields; i++) {
6045
 
    key = field[i]
6046
 
    keylen = length(key)
6047
 
    if (S_is_set[key]) {
6048
 
      value = S[key]
6049
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6050
 
      len += length(value) + length(field[++i])
6051
 
      substed = 1
6052
 
    } else
6053
 
      len += 1 + keylen
6054
 
  }
6055
 
 
6056
 
  print line
6057
 
}
6058
 
 
6059
 
_ACAWK
6060
 
_ACEOF
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"
6064
 
else
6065
 
  cat
6066
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6067
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6068
 
_ACEOF
6069
 
 
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[        ]*=[    ]*/{
6076
 
h
6077
 
s///
6078
 
s/^/:/
6079
 
s/[      ]*$/:/
6080
 
s/:\$(srcdir):/:/g
6081
 
s/:\${srcdir}:/:/g
6082
 
s/:@srcdir@:/:/g
6083
 
s/^:*//
6084
 
s/:*$//
6085
 
x
6086
 
s/\(=[   ]*\).*/\1/
6087
 
G
6088
 
s/\n//
6089
 
s/^[^=]*=[       ]*$//
6090
 
}'
6091
 
fi
6092
 
 
6093
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6094
 
fi # test -n "$CONFIG_FILES"
6095
 
 
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 ||
6101
 
BEGIN {
6102
 
_ACEOF
6103
 
 
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.
6107
 
 
6108
 
# Create a delimiter string that does not exist in confdefs.h, to ease
6109
 
# handling of long lines.
6110
 
ac_delim='%!_!# '
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
6114
 
    break
6115
 
  elif $ac_last_try; then
6116
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6117
 
  else
6118
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6119
 
  fi
6120
 
done
6121
 
 
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.
6125
 
 
6126
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6127
 
sed -n '
6128
 
s/.\{148\}/&'"$ac_delim"'/g
6129
 
t rset
6130
 
:rset
6131
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
6132
 
t def
6133
 
d
6134
 
:def
6135
 
s/\\$//
6136
 
t bsnl
6137
 
s/["\\]/\\&/g
6138
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6139
 
D["\1"]=" \3"/p
6140
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6141
 
d
6142
 
:bsnl
6143
 
s/["\\]/\\&/g
6144
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6145
 
D["\1"]=" \3\\\\\\n"\\/p
6146
 
t cont
6147
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6148
 
t cont
6149
 
d
6150
 
:cont
6151
 
n
6152
 
s/.\{148\}/&'"$ac_delim"'/g
6153
 
t clear
6154
 
:clear
6155
 
s/\\$//
6156
 
t bsnlc
6157
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6158
 
d
6159
 
:bsnlc
6160
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6161
 
b cont
6162
 
' <confdefs.h | sed '
6163
 
s/'"$ac_delim"'/"\\\
6164
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6165
 
 
6166
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6167
 
  for (key in D) D_is_set[key] = 1
6168
 
  FS = ""
6169
 
}
6170
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6171
 
  line = \$ 0
6172
 
  split(line, arg, " ")
6173
 
  if (arg[1] == "#") {
6174
 
    defundef = arg[2]
6175
 
    mac1 = arg[3]
6176
 
  } else {
6177
 
    defundef = substr(arg[1], 2)
6178
 
    mac1 = arg[2]
6179
 
  }
6180
 
  split(mac1, mac2, "(") #)
6181
 
  macro = mac2[1]
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]
6186
 
    next
6187
 
  } else {
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, "*/"
6193
 
      next
6194
 
    }
6195
 
  }
6196
 
}
6197
 
{ print }
6198
 
_ACAWK
6199
 
_ACEOF
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"
6203
 
 
6204
 
 
6205
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
6206
 
shift
6207
 
for ac_tag
6208
 
do
6209
 
  case $ac_tag in
6210
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
6211
 
  esac
6212
 
  case $ac_mode$ac_tag in
6213
 
  :[FHL]*:*);;
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;;
6217
 
  esac
6218
 
  ac_save_IFS=$IFS
6219
 
  IFS=:
6220
 
  set x $ac_tag
6221
 
  IFS=$ac_save_IFS
6222
 
  shift
6223
 
  ac_file=$1
6224
 
  shift
6225
 
 
6226
 
  case $ac_mode in
6227
 
  :L) ac_source=$1;;
6228
 
  :[FH])
6229
 
    ac_file_inputs=
6230
 
    for ac_f
6231
 
    do
6232
 
      case $ac_f 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 `:'.
6237
 
         test -f "$ac_f" ||
6238
 
           case $ac_f in
6239
 
           [\\/$]*) false;;
6240
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6241
 
           esac ||
6242
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6243
 
      esac
6244
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6245
 
      as_fn_append ac_file_inputs " '$ac_f'"
6246
 
    done
6247
 
 
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'
6253
 
        `' by configure.'
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;}
6258
 
    fi
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;;
6265
 
    esac
6266
 
 
6267
 
    case $ac_tag in
6268
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6269
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
6270
 
    esac
6271
 
    ;;
6272
 
  esac
6273
 
 
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6281
 
            s//\1/
6282
 
            q
6283
 
          }
6284
 
          /^X\(\/\/\)[^/].*/{
6285
 
            s//\1/
6286
 
            q
6287
 
          }
6288
 
          /^X\(\/\/\)$/{
6289
 
            s//\1/
6290
 
            q
6291
 
          }
6292
 
          /^X\(\/\).*/{
6293
 
            s//\1/
6294
 
            q
6295
 
          }
6296
 
          s/.*/./; q'`
6297
 
  as_dir="$ac_dir"; as_fn_mkdir_p
6298
 
  ac_builddir=.
6299
 
 
6300
 
case "$ac_dir" in
6301
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6302
 
*)
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/ ;;
6309
 
  esac ;;
6310
 
esac
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
6315
 
 
6316
 
case $srcdir in
6317
 
  .)  # We are building in place.
6318
 
    ac_srcdir=.
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 ;;
6325
 
  *) # Relative name.
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 ;;
6329
 
esac
6330
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6331
 
 
6332
 
 
6333
 
  case $ac_mode in
6334
 
  :F)
6335
 
  #
6336
 
  # CONFIG_FILE
6337
 
  #
6338
 
 
6339
 
_ACEOF
6340
 
 
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=
6345
 
ac_sed_dataroot='
6346
 
/datarootdir/ {
6347
 
  p
6348
 
  q
6349
 
}
6350
 
/@datadir@/p
6351
 
/@docdir@/p
6352
 
/@infodir@/p
6353
 
/@localedir@/p
6354
 
/@mandir@/p'
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;}
6360
 
_ACEOF
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' ;;
6369
 
esac
6370
 
_ACEOF
6371
 
 
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
6377
 
$extrasub
6378
 
_ACEOF
6379
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6380
 
:t
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
6393
 
"
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
6396
 
 
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;}
6404
 
 
6405
 
  rm -f "$tmp/stdin"
6406
 
  case $ac_file in
6407
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6408
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6409
 
  esac \
6410
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6411
 
 ;;
6412
 
  :H)
6413
 
  #
6414
 
  # CONFIG_HEADER
6415
 
  #
6416
 
  if test x"$ac_file" != x-; then
6417
 
    {
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;}
6425
 
    else
6426
 
      rm -f "$ac_file"
6427
 
      mv "$tmp/config.h" "$ac_file" \
6428
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6429
 
    fi
6430
 
  else
6431
 
    $as_echo "/* $configure_input  */" \
6432
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6433
 
      || as_fn_error $? "could not create -" "$LINENO" 5
6434
 
  fi
6435
 
 ;;
6436
 
 
6437
 
 
6438
 
  esac
6439
 
 
6440
 
done # for ac_tag
6441
 
 
6442
 
 
6443
 
as_fn_exit 0
6444
 
_ACEOF
6445
 
ac_clean_files=$ac_clean_files_save
6446
 
 
6447
 
test $ac_write_fail = 0 ||
6448
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6449
 
 
6450
 
 
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
6460
 
  ac_cs_success=:
6461
 
  ac_config_status_args=
6462
 
  test "$silent" = yes &&
6463
 
    ac_config_status_args="$ac_config_status_args --quiet"
6464
 
  exec 5>/dev/null
6465
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6466
 
  exec 5>>config.log
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
6470
 
fi
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;}
6474
 
fi
6475
 
 
6476
 
 
6477
 
test -d kid3 || mkdir kid3
6478
 
mv config.h kid3/
6479
 
`dirname $0`/configure-kid3-qt.pl --from-configure --generate-ts