2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for mpg123 0.60.
5
# Report bugs to <mpg123-devel@lists.sourceforge.net>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='mpg123'
271
PACKAGE_TARNAME='mpg123'
272
PACKAGE_VERSION='0.60'
273
PACKAGE_STRING='mpg123 0.60'
274
PACKAGE_BUGREPORT='mpg123-devel@lists.sourceforge.net'
276
ac_unique_file="src/mpg123.c"
277
# Factoring default headers for most tests.
278
ac_includes_default="\
281
# include <sys/types.h>
284
# include <sys/stat.h>
295
# if !STDC_HEADERS && HAVE_MEMORY_H
301
# include <strings.h>
304
# include <inttypes.h>
314
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS CCASFLAGS RANLIB ac_ct_RANLIB CPP EGREP PKG_CONFIG JACK_CFLAGS JACK_LIBS ESOUND_CFLAGS ESOUND_LIBS SDL_CFLAGS SDL_LIBS CPU_TYPE_LIB AUDIO_OBJ AUDIO_CFLAGS AUDIO_LIBS LIBOBJS LTLIBOBJS'
317
# Initialize some variables set by options.
319
ac_init_version=false
320
# The variables have the same names as the options, with
321
# dashes changed to underlines.
329
program_transform_name=s,x,x,
337
# Installation directory options.
338
# These are left unexpanded so users can "make install exec_prefix=/foo"
339
# and all the variables that are supposed to be based on exec_prefix
340
# by default will actually change.
341
# Use braces instead of parens because sh, perl, etc. also accept them.
342
bindir='${exec_prefix}/bin'
343
sbindir='${exec_prefix}/sbin'
344
libexecdir='${exec_prefix}/libexec'
345
datadir='${prefix}/share'
346
sysconfdir='${prefix}/etc'
347
sharedstatedir='${prefix}/com'
348
localstatedir='${prefix}/var'
349
libdir='${exec_prefix}/lib'
350
includedir='${prefix}/include'
351
oldincludedir='/usr/include'
352
infodir='${prefix}/info'
353
mandir='${prefix}/man'
358
# If the previous option needs an argument, assign it.
359
if test -n "$ac_prev"; then
360
eval "$ac_prev=\$ac_option"
365
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
# Accept the important Cygnus configure options, so we can diagnose typos.
371
-bindir | --bindir | --bindi | --bind | --bin | --bi)
373
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376
-build | --build | --buil | --bui | --bu)
377
ac_prev=build_alias ;;
378
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
379
build_alias=$ac_optarg ;;
381
-cache-file | --cache-file | --cache-fil | --cache-fi \
382
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383
ac_prev=cache_file ;;
384
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386
cache_file=$ac_optarg ;;
389
cache_file=config.cache ;;
391
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395
datadir=$ac_optarg ;;
397
-disable-* | --disable-*)
398
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399
# Reject names that are not valid shell variable names.
400
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
402
{ (exit 1); exit 1; }; }
403
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
eval "enable_$ac_feature=no" ;;
406
-enable-* | --enable-*)
407
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408
# Reject names that are not valid shell variable names.
409
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
411
{ (exit 1); exit 1; }; }
412
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417
eval "enable_$ac_feature='$ac_optarg'" ;;
419
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421
| --exec | --exe | --ex)
422
ac_prev=exec_prefix ;;
423
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425
| --exec=* | --exe=* | --ex=*)
426
exec_prefix=$ac_optarg ;;
428
-gas | --gas | --ga | --g)
429
# Obsolete; use --with-gas.
432
-help | --help | --hel | --he | -h)
434
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435
ac_init_help=recursive ;;
436
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437
ac_init_help=short ;;
439
-host | --host | --hos | --ho)
440
ac_prev=host_alias ;;
441
-host=* | --host=* | --hos=* | --ho=*)
442
host_alias=$ac_optarg ;;
444
-includedir | --includedir | --includedi | --included | --include \
445
| --includ | --inclu | --incl | --inc)
446
ac_prev=includedir ;;
447
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448
| --includ=* | --inclu=* | --incl=* | --inc=*)
449
includedir=$ac_optarg ;;
451
-infodir | --infodir | --infodi | --infod | --info | --inf)
453
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454
infodir=$ac_optarg ;;
456
-libdir | --libdir | --libdi | --libd)
458
-libdir=* | --libdir=* | --libdi=* | --libd=*)
461
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462
| --libexe | --libex | --libe)
463
ac_prev=libexecdir ;;
464
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465
| --libexe=* | --libex=* | --libe=*)
466
libexecdir=$ac_optarg ;;
468
-localstatedir | --localstatedir | --localstatedi | --localstated \
469
| --localstate | --localstat | --localsta | --localst \
470
| --locals | --local | --loca | --loc | --lo)
471
ac_prev=localstatedir ;;
472
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
474
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475
localstatedir=$ac_optarg ;;
477
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483
# Obsolete; use --without-fp.
486
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
487
| --no-cr | --no-c | -n)
490
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
491
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496
| --oldin | --oldi | --old | --ol | --o)
497
ac_prev=oldincludedir ;;
498
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501
oldincludedir=$ac_optarg ;;
503
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508
-program-prefix | --program-prefix | --program-prefi | --program-pref \
509
| --program-pre | --program-pr | --program-p)
510
ac_prev=program_prefix ;;
511
-program-prefix=* | --program-prefix=* | --program-prefi=* \
512
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513
program_prefix=$ac_optarg ;;
515
-program-suffix | --program-suffix | --program-suffi | --program-suff \
516
| --program-suf | --program-su | --program-s)
517
ac_prev=program_suffix ;;
518
-program-suffix=* | --program-suffix=* | --program-suffi=* \
519
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520
program_suffix=$ac_optarg ;;
522
-program-transform-name | --program-transform-name \
523
| --program-transform-nam | --program-transform-na \
524
| --program-transform-n | --program-transform- \
525
| --program-transform | --program-transfor \
526
| --program-transfo | --program-transf \
527
| --program-trans | --program-tran \
528
| --progr-tra | --program-tr | --program-t)
529
ac_prev=program_transform_name ;;
530
-program-transform-name=* | --program-transform-name=* \
531
| --program-transform-nam=* | --program-transform-na=* \
532
| --program-transform-n=* | --program-transform-=* \
533
| --program-transform=* | --program-transfor=* \
534
| --program-transfo=* | --program-transf=* \
535
| --program-trans=* | --program-tran=* \
536
| --progr-tra=* | --program-tr=* | --program-t=*)
537
program_transform_name=$ac_optarg ;;
539
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
| -silent | --silent | --silen | --sile | --sil)
543
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547
sbindir=$ac_optarg ;;
549
-sharedstatedir | --sharedstatedir | --sharedstatedi \
550
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551
| --sharedst | --shareds | --shared | --share | --shar \
553
ac_prev=sharedstatedir ;;
554
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558
sharedstatedir=$ac_optarg ;;
560
-site | --site | --sit)
562
-site=* | --site=* | --sit=*)
565
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571
| --syscon | --sysco | --sysc | --sys | --sy)
572
ac_prev=sysconfdir ;;
573
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575
sysconfdir=$ac_optarg ;;
577
-target | --target | --targe | --targ | --tar | --ta | --t)
578
ac_prev=target_alias ;;
579
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580
target_alias=$ac_optarg ;;
582
-v | -verbose | --verbose | --verbos | --verbo | --verb)
585
-version | --version | --versio | --versi | --vers | -V)
589
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590
# Reject names that are not valid shell variable names.
591
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592
{ echo "$as_me: error: invalid package name: $ac_package" >&2
593
{ (exit 1); exit 1; }; }
594
ac_package=`echo $ac_package| sed 's/-/_/g'`
596
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599
eval "with_$ac_package='$ac_optarg'" ;;
601
-without-* | --without-*)
602
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603
# Reject names that are not valid shell variable names.
604
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605
{ echo "$as_me: error: invalid package name: $ac_package" >&2
606
{ (exit 1); exit 1; }; }
607
ac_package=`echo $ac_package | sed 's/-/_/g'`
608
eval "with_$ac_package=no" ;;
611
# Obsolete; use --with-x.
614
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615
| --x-incl | --x-inc | --x-in | --x-i)
616
ac_prev=x_includes ;;
617
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619
x_includes=$ac_optarg ;;
621
-x-libraries | --x-libraries | --x-librarie | --x-librari \
622
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623
ac_prev=x_libraries ;;
624
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626
x_libraries=$ac_optarg ;;
628
-*) { echo "$as_me: error: unrecognized option: $ac_option
629
Try \`$0 --help' for more information." >&2
630
{ (exit 1); exit 1; }; }
634
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635
# Reject names that are not valid shell variable names.
636
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638
{ (exit 1); exit 1; }; }
639
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640
eval "$ac_envvar='$ac_optarg'"
644
# FIXME: should be removed in autoconf 3.0.
645
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654
if test -n "$ac_prev"; then
655
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656
{ echo "$as_me: error: missing argument to $ac_option" >&2
657
{ (exit 1); exit 1; }; }
660
# Be sure to have absolute paths.
661
for ac_var in exec_prefix prefix
663
eval ac_val=$`echo $ac_var`
665
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
{ (exit 1); exit 1; }; };;
671
# Be sure to have absolute paths.
672
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673
localstatedir libdir includedir oldincludedir infodir mandir
675
eval ac_val=$`echo $ac_var`
677
[\\/$]* | ?:[\\/]* ) ;;
678
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
{ (exit 1); exit 1; }; };;
683
# There might be people who depend on the old broken behavior: `$host'
684
# used to hold the argument of --host etc.
685
# FIXME: To remove some day.
690
# FIXME: To remove some day.
691
if test "x$host_alias" != x; then
692
if test "x$build_alias" = x; then
693
cross_compiling=maybe
694
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695
If a cross compiler is detected then cross compile mode will be used." >&2
696
elif test "x$build_alias" != "x$host_alias"; then
702
test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
test "$silent" = yes && exec 6>/dev/null
707
# Find the source files, if location was not specified.
708
if test -z "$srcdir"; then
709
ac_srcdir_defaulted=yes
710
# Try the directory containing this script, then its parent.
711
ac_confdir=`(dirname "$0") 2>/dev/null ||
712
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713
X"$0" : 'X\(//\)[^/]' \| \
714
X"$0" : 'X\(//\)$' \| \
715
X"$0" : 'X\(/\)' \| \
716
. : '\(.\)' 2>/dev/null ||
718
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
/^X\(\/\/\)$/{ s//\1/; q; }
721
/^X\(\/\).*/{ s//\1/; q; }
724
if test ! -r $srcdir/$ac_unique_file; then
728
ac_srcdir_defaulted=no
730
if test ! -r $srcdir/$ac_unique_file; then
731
if test "$ac_srcdir_defaulted" = yes; then
732
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733
{ (exit 1); exit 1; }; }
735
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
{ (exit 1); exit 1; }; }
739
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741
{ (exit 1); exit 1; }; }
742
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743
ac_env_build_alias_set=${build_alias+set}
744
ac_env_build_alias_value=$build_alias
745
ac_cv_env_build_alias_set=${build_alias+set}
746
ac_cv_env_build_alias_value=$build_alias
747
ac_env_host_alias_set=${host_alias+set}
748
ac_env_host_alias_value=$host_alias
749
ac_cv_env_host_alias_set=${host_alias+set}
750
ac_cv_env_host_alias_value=$host_alias
751
ac_env_target_alias_set=${target_alias+set}
752
ac_env_target_alias_value=$target_alias
753
ac_cv_env_target_alias_set=${target_alias+set}
754
ac_cv_env_target_alias_value=$target_alias
755
ac_env_CC_set=${CC+set}
757
ac_cv_env_CC_set=${CC+set}
758
ac_cv_env_CC_value=$CC
759
ac_env_CFLAGS_set=${CFLAGS+set}
760
ac_env_CFLAGS_value=$CFLAGS
761
ac_cv_env_CFLAGS_set=${CFLAGS+set}
762
ac_cv_env_CFLAGS_value=$CFLAGS
763
ac_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_env_LDFLAGS_value=$LDFLAGS
765
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766
ac_cv_env_LDFLAGS_value=$LDFLAGS
767
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_env_CPPFLAGS_value=$CPPFLAGS
769
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771
ac_env_CPP_set=${CPP+set}
772
ac_env_CPP_value=$CPP
773
ac_cv_env_CPP_set=${CPP+set}
774
ac_cv_env_CPP_value=$CPP
777
# Report the --help message.
779
if test "$ac_init_help" = "long"; then
780
# Omit some internal or obsolete options to make the list less imposing.
781
# This message is too long to be a string in the A/UX 3.1 sh.
783
\`configure' configures mpg123 0.60 to adapt to many kinds of systems.
785
Usage: $0 [OPTION]... [VAR=VALUE]...
787
To assign environment variables (e.g., CC, CFLAGS...), specify them as
788
VAR=VALUE. See below for descriptions of some of the useful variables.
790
Defaults for the options are specified in brackets.
793
-h, --help display this help and exit
794
--help=short display options specific to this package
795
--help=recursive display the short help of all the included packages
796
-V, --version display version information and exit
797
-q, --quiet, --silent do not print \`checking...' messages
798
--cache-file=FILE cache test results in FILE [disabled]
799
-C, --config-cache alias for \`--cache-file=config.cache'
800
-n, --no-create do not create output files
801
--srcdir=DIR find the sources in DIR [configure dir or \`..']
806
Installation directories:
807
--prefix=PREFIX install architecture-independent files in PREFIX
809
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812
By default, \`make install' will install all the files in
813
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815
for instance \`--prefix=\$HOME'.
817
For better control, use the options below.
819
Fine tuning of the installation directories:
820
--bindir=DIR user executables [EPREFIX/bin]
821
--sbindir=DIR system admin executables [EPREFIX/sbin]
822
--libexecdir=DIR program executables [EPREFIX/libexec]
823
--datadir=DIR read-only architecture-independent data [PREFIX/share]
824
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
827
--libdir=DIR object code libraries [EPREFIX/lib]
828
--includedir=DIR C header files [PREFIX/include]
829
--oldincludedir=DIR C header files for non-gcc [/usr/include]
830
--infodir=DIR info documentation [PREFIX/info]
831
--mandir=DIR man documentation [PREFIX/man]
837
--program-prefix=PREFIX prepend PREFIX to installed program names
838
--program-suffix=SUFFIX append SUFFIX to installed program names
839
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
842
--build=BUILD configure for building on BUILD [guessed]
843
--host=HOST cross-compile to build programs to run on HOST [BUILD]
844
--target=TARGET configure for building compilers for TARGET [HOST]
848
if test -n "$ac_init_help"; then
849
case $ac_init_help in
850
short | recursive ) echo "Configuration of mpg123 0.60:";;
855
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
856
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
857
--disable-dependency-tracking Speeds up one-time builds
858
--enable-dependency-tracking Do not reject slow dependency extractors
859
--enable-debug=no/yes turn on debugging
860
--enable-gapless=no/yes turn on gapless (enabled per default)
863
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
864
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
866
--with-cpu=generic_fpu Use generic processor code with floating point arithmetic
867
--with-cpu=generic_nofpu Use generic processor code with fixed point arithmetic (p.ex. ARM, experimental)
868
--with-cpu=i386_fpu Use code optimized for i386 processors with floating point arithmetic
869
--with-cpu=i386_nofpu Use code optimized for i386 processors with fixed point arithmetic (experimental)
870
--with-cpu=i486 Use code optimized for i486 processors
871
--with-cpu=i586 Use code optimized for i586 processors
872
--with-cpu=i586_dither Use code optimized for i586 processors with dithering (noise shaping)
873
--with-cpu=3dnow Use code optimized for 3dnow processors
874
--with-cpu=mmx Use code optimized for MMX processors
875
--with-cpu=altivec Use code optimized for Altivec processors (PowerPC G4 and G5)
878
--with-audio=aix Use AIX audio output sub-system
879
--with-audio=alib Use Alib audio output sub-system (for HPUX)
880
--with-audio=alsa Use ALSA audio output sub-system
881
--with-audio=dummy Use dummy audio (when no sound card is available)
882
--with-audio=esd Use ESoundD audio output sub-system
883
--with-audio=hp Use HP audio output sub-system
884
--with-audio=jack Use JACK low-latency audio server
885
--with-audio=macosx Use Mac OS X audio output sub-system (CoreAudio)
886
--with-audio=mint Use MinT audio output sub-system (Atari)
887
--with-audio=nas Use NAS audio output (Network Audio System)
888
--with-audio=os2 Use OS2 audio output sub-system
889
--with-audio=oss Use OSS audio output sub-system (/dev/dsp)
890
--with-audio=portaudio Use PortAudio audio output sub-system
891
--with-audio=sdl Use SDL audio output sub-system (Simple DirectMedia Layer)
892
--with-audio=sgi Use SGI audio output sub-system (IRIX)
893
--with-audio=sun Use Sun audio output sub-system (/dev/audio)
896
--with-optimization=0 No Optimization
897
--with-optimization=1 Limited Optimization (-O)
898
--with-optimization=2 Default Optimization (-O2)
899
--with-optimization=3 More Optimize than default (-O3)
900
--with-optimization=4 Optimize yet more (-O4)
903
--with-seektable=<size> choose size of seek index table (0 disables it), default 1000
906
Some influential environment variables:
907
CC C compiler command
908
CFLAGS C compiler flags
909
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
910
nonstandard directory <lib dir>
911
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
912
headers in a nonstandard directory <include dir>
915
Use these variables to override the choices made by `configure' or to help
916
it to find libraries and programs with nonstandard names/locations.
918
Report bugs to <mpg123-devel@lists.sourceforge.net>.
922
if test "$ac_init_help" = "recursive"; then
923
# If there are subdirs, report their specific --help.
925
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926
test -d $ac_dir || continue
929
if test "$ac_dir" != .; then
930
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931
# A "../" for each directory in $ac_dir_suffix.
932
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934
ac_dir_suffix= ac_top_builddir=
938
.) # No --srcdir option. We are building in place.
940
if test -z "$ac_top_builddir"; then
943
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945
[\\/]* | ?:[\\/]* ) # Absolute path.
946
ac_srcdir=$srcdir$ac_dir_suffix;
947
ac_top_srcdir=$srcdir ;;
949
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950
ac_top_srcdir=$ac_top_builddir$srcdir ;;
953
# Do not use `cd foo && pwd` to compute absolute paths, because
954
# the directories may not exist.
956
.) ac_abs_builddir="$ac_dir";;
959
.) ac_abs_builddir=`pwd`;;
960
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
961
*) ac_abs_builddir=`pwd`/"$ac_dir";;
964
case $ac_abs_builddir in
965
.) ac_abs_top_builddir=${ac_top_builddir}.;;
967
case ${ac_top_builddir}. in
968
.) ac_abs_top_builddir=$ac_abs_builddir;;
969
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
970
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
973
case $ac_abs_builddir in
974
.) ac_abs_srcdir=$ac_srcdir;;
977
.) ac_abs_srcdir=$ac_abs_builddir;;
978
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
979
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
982
case $ac_abs_builddir in
983
.) ac_abs_top_srcdir=$ac_top_srcdir;;
985
case $ac_top_srcdir in
986
.) ac_abs_top_srcdir=$ac_abs_builddir;;
987
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
988
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993
# Check for guested configure; otherwise get Cygnus style configure.
994
if test -f $ac_srcdir/configure.gnu; then
996
$SHELL $ac_srcdir/configure.gnu --help=recursive
997
elif test -f $ac_srcdir/configure; then
999
$SHELL $ac_srcdir/configure --help=recursive
1000
elif test -f $ac_srcdir/configure.ac ||
1001
test -f $ac_srcdir/configure.in; then
1003
$ac_configure --help
1005
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011
test -n "$ac_init_help" && exit 0
1012
if $ac_init_version; then
1014
mpg123 configure 0.60
1015
generated by GNU Autoconf 2.59
1017
Copyright (C) 2003 Free Software Foundation, Inc.
1018
This configure script is free software; the Free Software Foundation
1019
gives unlimited permission to copy, distribute and modify it.
1025
This file contains any messages produced by compilers while
1026
running configure, to aid debugging if configure makes a mistake.
1028
It was created by mpg123 $as_me 0.60, which was
1029
generated by GNU Autoconf 2.59. Invocation command line was
1040
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1041
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1042
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1043
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1044
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1046
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1047
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1049
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1050
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1051
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1052
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1053
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1054
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1055
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1063
test -z "$as_dir" && as_dir=.
1064
echo "PATH: $as_dir"
1079
# Keep a trace of the command line.
1080
# Strip out --no-create and --no-recursion so they do not pile up.
1081
# Strip out --silent because we don't want to record it for future runs.
1082
# Also quote any args containing shell meta-characters.
1083
# Make two passes to allow for proper duplicate-argument suppression.
1088
ac_must_keep_next=false
1094
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1095
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1096
| -silent | --silent | --silen | --sile | --sil)
1098
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1099
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1102
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1104
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1105
if test $ac_must_keep_next = true; then
1106
ac_must_keep_next=false # Got value, back to normal.
1109
*=* | --config-cache | -C | -disable-* | --disable-* \
1110
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1111
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1112
| -with-* | --with-* | -without-* | --without-* | --x)
1113
case "$ac_configure_args0 " in
1114
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1117
-* ) ac_must_keep_next=true ;;
1120
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1121
# Get rid of the leading space.
1127
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1128
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1130
# When interrupted or exit'd, cleanup temporary files, and complete
1131
# config.log. We remove comments because anyway the quotes in there
1132
# would cause problems or look ugly.
1133
# WARNING: Be sure not to use single quotes in there, as some shells,
1134
# such as our DU 5.0 friend, will then `close' the trap.
1135
trap 'exit_status=$?
1136
# Save into config.log some information that might help in debugging.
1141
## ---------------- ##
1142
## Cache variables. ##
1143
## ---------------- ##
1146
# The following way of writing the cache mishandles newlines in values,
1149
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1152
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1153
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1157
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164
## ----------------- ##
1165
## Output variables. ##
1166
## ----------------- ##
1169
for ac_var in $ac_subst_vars
1171
eval ac_val=$`echo $ac_var`
1172
echo "$ac_var='"'"'$ac_val'"'"'"
1176
if test -n "$ac_subst_files"; then
1183
for ac_var in $ac_subst_files
1185
eval ac_val=$`echo $ac_var`
1186
echo "$ac_var='"'"'$ac_val'"'"'"
1191
if test -s confdefs.h; then
1198
sed "/^$/d" confdefs.h | sort
1201
test "$ac_signal" != 0 &&
1202
echo "$as_me: caught signal $ac_signal"
1203
echo "$as_me: exit $exit_status"
1205
rm -f core *.core &&
1206
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1209
for ac_signal in 1 2 13 15; do
1210
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1214
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1215
rm -rf conftest* confdefs.h
1216
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1219
# Predefined preprocessor variables.
1221
cat >>confdefs.h <<_ACEOF
1222
#define PACKAGE_NAME "$PACKAGE_NAME"
1226
cat >>confdefs.h <<_ACEOF
1227
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1231
cat >>confdefs.h <<_ACEOF
1232
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1236
cat >>confdefs.h <<_ACEOF
1237
#define PACKAGE_STRING "$PACKAGE_STRING"
1241
cat >>confdefs.h <<_ACEOF
1242
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1246
# Let the site file select an alternate cache file if it wants to.
1247
# Prefer explicitly selected file to automatically selected ones.
1248
if test -z "$CONFIG_SITE"; then
1249
if test "x$prefix" != xNONE; then
1250
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1255
for ac_site_file in $CONFIG_SITE; do
1256
if test -r "$ac_site_file"; then
1257
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1258
echo "$as_me: loading site script $ac_site_file" >&6;}
1259
sed 's/^/| /' "$ac_site_file" >&5
1264
if test -r "$cache_file"; then
1265
# Some versions of bash will fail to source /dev/null (special
1266
# files actually), so we avoid doing that.
1267
if test -f "$cache_file"; then
1268
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1269
echo "$as_me: loading cache $cache_file" >&6;}
1271
[\\/]* | ?:[\\/]* ) . $cache_file;;
1272
*) . ./$cache_file;;
1276
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1277
echo "$as_me: creating cache $cache_file" >&6;}
1281
# Check that the precious variables saved in the cache have kept the same
1283
ac_cache_corrupted=false
1284
for ac_var in `(set) 2>&1 |
1285
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1286
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1287
eval ac_new_set=\$ac_env_${ac_var}_set
1288
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1289
eval ac_new_val="\$ac_env_${ac_var}_value"
1290
case $ac_old_set,$ac_new_set in
1292
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1293
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1294
ac_cache_corrupted=: ;;
1296
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1297
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1298
ac_cache_corrupted=: ;;
1301
if test "x$ac_old_val" != "x$ac_new_val"; then
1302
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1303
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1304
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1305
echo "$as_me: former value: $ac_old_val" >&2;}
1306
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1307
echo "$as_me: current value: $ac_new_val" >&2;}
1308
ac_cache_corrupted=:
1311
# Pass precious variables to config.status.
1312
if test "$ac_new_set" = set; then
1314
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1315
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1316
*) ac_arg=$ac_var=$ac_new_val ;;
1318
case " $ac_configure_args " in
1319
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1320
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1324
if $ac_cache_corrupted; then
1325
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1326
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1327
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1328
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1329
{ (exit 1); exit 1; }; }
1333
ac_cpp='$CPP $CPPFLAGS'
1334
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1335
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1336
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1367
for ac_dir in build $srcdir/build; do
1368
if test -f $ac_dir/install-sh; then
1370
ac_install_sh="$ac_aux_dir/install-sh -c"
1372
elif test -f $ac_dir/install.sh; then
1374
ac_install_sh="$ac_aux_dir/install.sh -c"
1376
elif test -f $ac_dir/shtool; then
1378
ac_install_sh="$ac_aux_dir/shtool install -c"
1382
if test -z "$ac_aux_dir"; then
1383
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build $srcdir/build" >&5
1384
echo "$as_me: error: cannot find install-sh or install.sh in build $srcdir/build" >&2;}
1385
{ (exit 1); exit 1; }; }
1387
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1388
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1389
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1391
# Make sure we can run config.sub.
1392
$ac_config_sub sun4 >/dev/null 2>&1 ||
1393
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1394
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1395
{ (exit 1); exit 1; }; }
1397
echo "$as_me:$LINENO: checking build system type" >&5
1398
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1399
if test "${ac_cv_build+set}" = set; then
1400
echo $ECHO_N "(cached) $ECHO_C" >&6
1402
ac_cv_build_alias=$build_alias
1403
test -z "$ac_cv_build_alias" &&
1404
ac_cv_build_alias=`$ac_config_guess`
1405
test -z "$ac_cv_build_alias" &&
1406
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1407
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1408
{ (exit 1); exit 1; }; }
1409
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1410
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1411
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1412
{ (exit 1); exit 1; }; }
1415
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1416
echo "${ECHO_T}$ac_cv_build" >&6
1418
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1419
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1420
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1423
echo "$as_me:$LINENO: checking host system type" >&5
1424
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1425
if test "${ac_cv_host+set}" = set; then
1426
echo $ECHO_N "(cached) $ECHO_C" >&6
1428
ac_cv_host_alias=$host_alias
1429
test -z "$ac_cv_host_alias" &&
1430
ac_cv_host_alias=$ac_cv_build_alias
1431
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1432
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1433
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1434
{ (exit 1); exit 1; }; }
1437
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1438
echo "${ECHO_T}$ac_cv_host" >&6
1440
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1441
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1442
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1445
echo "$as_me:$LINENO: checking target system type" >&5
1446
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1447
if test "${ac_cv_target+set}" = set; then
1448
echo $ECHO_N "(cached) $ECHO_C" >&6
1450
ac_cv_target_alias=$target_alias
1451
test "x$ac_cv_target_alias" = "x" &&
1452
ac_cv_target_alias=$ac_cv_host_alias
1453
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1454
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1455
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1456
{ (exit 1); exit 1; }; }
1459
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1460
echo "${ECHO_T}$ac_cv_target" >&6
1461
target=$ac_cv_target
1462
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1463
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1464
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1467
# The aliases save the names the user supplied, while $host etc.
1468
# will get canonicalized.
1469
test -n "$target_alias" &&
1470
test "$program_prefix$program_suffix$program_transform_name" = \
1472
program_prefix=${target_alias}-
1474
am__api_version="1.7"
1475
# Find a good install program. We prefer a C program (faster),
1476
# so one script is as good as another. But avoid the broken or
1477
# incompatible versions:
1478
# SysV /etc/install, /usr/sbin/install
1479
# SunOS /usr/etc/install
1480
# IRIX /sbin/install
1482
# AmigaOS /C/install, which installs bootblocks on floppy discs
1483
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1484
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1485
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1486
# OS/2's system install, which has a completely different semantic
1487
# ./install, which can be erroneously created by make from ./install.sh.
1488
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1489
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1490
if test -z "$INSTALL"; then
1491
if test "${ac_cv_path_install+set}" = set; then
1492
echo $ECHO_N "(cached) $ECHO_C" >&6
1494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498
test -z "$as_dir" && as_dir=.
1499
# Account for people who put trailing slashes in PATH elements.
1501
./ | .// | /cC/* | \
1502
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1503
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1506
# OSF1 and SCO ODT 3.0 have their own names for install.
1507
# Don't use installbsd from OSF since it installs stuff as root
1509
for ac_prog in ginstall scoinst install; do
1510
for ac_exec_ext in '' $ac_executable_extensions; do
1511
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1512
if test $ac_prog = install &&
1513
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1514
# AIX install. It has an incompatible calling convention.
1516
elif test $ac_prog = install &&
1517
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1518
# program-specific install script used by HP pwplus--don't use.
1521
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1533
if test "${ac_cv_path_install+set}" = set; then
1534
INSTALL=$ac_cv_path_install
1536
# As a last resort, use the slow shell script. We don't cache a
1537
# path for INSTALL within a source directory, because that will
1538
# break other packages using the cache if that directory is
1539
# removed, or if the path is relative.
1540
INSTALL=$ac_install_sh
1543
echo "$as_me:$LINENO: result: $INSTALL" >&5
1544
echo "${ECHO_T}$INSTALL" >&6
1546
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1547
# It thinks the first close brace ends the variable substitution.
1548
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1550
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1552
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1554
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1555
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1558
echo timestamp > conftest.file
1559
# Do `set' in a subshell so we don't clobber the current shell's
1560
# arguments. Must try -L first in case configure is actually a
1561
# symlink; some systems play weird games with the mod time of symlinks
1562
# (eg FreeBSD returns the mod time of the symlink's containing
1565
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1566
if test "$*" = "X"; then
1568
set X `ls -t $srcdir/configure conftest.file`
1571
if test "$*" != "X $srcdir/configure conftest.file" \
1572
&& test "$*" != "X conftest.file $srcdir/configure"; then
1574
# If neither matched, then we have a broken ls. This can happen
1575
# if, for instance, CONFIG_SHELL is bash and it inherits a
1576
# broken ls alias from the environment. This has actually
1577
# happened. Such a system could not be considered "sane".
1578
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1579
alias in your environment" >&5
1580
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1581
alias in your environment" >&2;}
1582
{ (exit 1); exit 1; }; }
1585
test "$2" = conftest.file
1591
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1592
Check your system clock" >&5
1593
echo "$as_me: error: newly created file is older than distributed files!
1594
Check your system clock" >&2;}
1595
{ (exit 1); exit 1; }; }
1597
echo "$as_me:$LINENO: result: yes" >&5
1598
echo "${ECHO_T}yes" >&6
1599
test "$program_prefix" != NONE &&
1600
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1601
# Use a double $ so make ignores it.
1602
test "$program_suffix" != NONE &&
1603
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1604
# Double any \ or $. echo might interpret backslashes.
1605
# By default was `s,x,x', remove it if useless.
1606
cat <<\_ACEOF >conftest.sed
1607
s/[\\$]/&&/g;s/;s,x,x,$//
1609
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1613
# expand $ac_aux_dir to an absolute path
1614
am_aux_dir=`cd $ac_aux_dir && pwd`
1616
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1617
# Use eval to expand $SHELL
1618
if eval "$MISSING --run true"; then
1619
am_missing_run="$MISSING --run "
1622
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1623
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1626
for ac_prog in gawk mawk nawk awk
1628
# Extract the first word of "$ac_prog", so it can be a program name with args.
1629
set dummy $ac_prog; ac_word=$2
1630
echo "$as_me:$LINENO: checking for $ac_word" >&5
1631
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1632
if test "${ac_cv_prog_AWK+set}" = set; then
1633
echo $ECHO_N "(cached) $ECHO_C" >&6
1635
if test -n "$AWK"; then
1636
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642
test -z "$as_dir" && as_dir=.
1643
for ac_exec_ext in '' $ac_executable_extensions; do
1644
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1645
ac_cv_prog_AWK="$ac_prog"
1646
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655
if test -n "$AWK"; then
1656
echo "$as_me:$LINENO: result: $AWK" >&5
1657
echo "${ECHO_T}$AWK" >&6
1659
echo "$as_me:$LINENO: result: no" >&5
1660
echo "${ECHO_T}no" >&6
1663
test -n "$AWK" && break
1666
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1667
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1668
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1669
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1670
echo $ECHO_N "(cached) $ECHO_C" >&6
1672
cat >conftest.make <<\_ACEOF
1674
@echo 'ac_maketemp="$(MAKE)"'
1676
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1677
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1678
if test -n "$ac_maketemp"; then
1679
eval ac_cv_prog_make_${ac_make}_set=yes
1681
eval ac_cv_prog_make_${ac_make}_set=no
1685
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1686
echo "$as_me:$LINENO: result: yes" >&5
1687
echo "${ECHO_T}yes" >&6
1690
echo "$as_me:$LINENO: result: no" >&5
1691
echo "${ECHO_T}no" >&6
1692
SET_MAKE="MAKE=${MAKE-make}"
1695
rm -rf .tst 2>/dev/null
1696
mkdir .tst 2>/dev/null
1697
if test -d .tst; then
1702
rmdir .tst 2>/dev/null
1704
# test to see if srcdir already configured
1705
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1706
test -f $srcdir/config.status; then
1707
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1708
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1709
{ (exit 1); exit 1; }; }
1712
# test whether we have cygpath
1713
if test -z "$CYGPATH_W"; then
1714
if (cygpath --version) >/dev/null 2>/dev/null; then
1715
CYGPATH_W='cygpath -w'
1722
# Define the identity of the package.
1727
cat >>confdefs.h <<_ACEOF
1728
#define PACKAGE "$PACKAGE"
1732
cat >>confdefs.h <<_ACEOF
1733
#define VERSION "$VERSION"
1736
# Some tools Automake needs.
1738
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1741
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1744
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1747
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1750
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1753
AMTAR=${AMTAR-"${am_missing_run}tar"}
1755
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1757
# Installed binaries are usually stripped using `strip' when the user
1758
# run `make install-strip'. However `strip' might not be the right
1759
# tool to use in cross-compilation environments, therefore Automake
1760
# will honor the `STRIP' environment variable to overrule this program.
1761
if test "$cross_compiling" != no; then
1762
if test -n "$ac_tool_prefix"; then
1763
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1764
set dummy ${ac_tool_prefix}strip; ac_word=$2
1765
echo "$as_me:$LINENO: checking for $ac_word" >&5
1766
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767
if test "${ac_cv_prog_STRIP+set}" = set; then
1768
echo $ECHO_N "(cached) $ECHO_C" >&6
1770
if test -n "$STRIP"; then
1771
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777
test -z "$as_dir" && as_dir=.
1778
for ac_exec_ext in '' $ac_executable_extensions; do
1779
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1781
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789
STRIP=$ac_cv_prog_STRIP
1790
if test -n "$STRIP"; then
1791
echo "$as_me:$LINENO: result: $STRIP" >&5
1792
echo "${ECHO_T}$STRIP" >&6
1794
echo "$as_me:$LINENO: result: no" >&5
1795
echo "${ECHO_T}no" >&6
1799
if test -z "$ac_cv_prog_STRIP"; then
1801
# Extract the first word of "strip", so it can be a program name with args.
1802
set dummy strip; ac_word=$2
1803
echo "$as_me:$LINENO: checking for $ac_word" >&5
1804
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1806
echo $ECHO_N "(cached) $ECHO_C" >&6
1808
if test -n "$ac_ct_STRIP"; then
1809
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815
test -z "$as_dir" && as_dir=.
1816
for ac_exec_ext in '' $ac_executable_extensions; do
1817
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818
ac_cv_prog_ac_ct_STRIP="strip"
1819
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1828
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1829
if test -n "$ac_ct_STRIP"; then
1830
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1831
echo "${ECHO_T}$ac_ct_STRIP" >&6
1833
echo "$as_me:$LINENO: result: no" >&5
1834
echo "${ECHO_T}no" >&6
1839
STRIP="$ac_cv_prog_STRIP"
1843
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1845
# We need awk for the "check" target. The system "awk" is bad on
1850
ac_config_headers="$ac_config_headers src/config.h"
1856
DEPDIR="${am__leading_dot}deps"
1858
ac_config_commands="$ac_config_commands depfiles"
1861
am_make=${MAKE-make}
1862
cat > confinc << 'END'
1867
# If we don't find an include directive, just comment out the code.
1868
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1869
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1873
# First try GNU make style include.
1874
echo "include confinc" > confmf
1875
# We grep out `Entering directory' and `Leaving directory'
1876
# messages which can occur if `w' ends up in MAKEFLAGS.
1877
# In particular we don't look at `^make:' because GNU make might
1878
# be invoked under some other name (usually "gmake"), in which
1879
# case it prints its new name instead of `make'.
1880
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1885
# Now try BSD make style include.
1886
if test "$am__include" = "#"; then
1887
echo '.include "confinc"' > confmf
1888
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1889
am__include=.include
1896
echo "$as_me:$LINENO: result: $_am_result" >&5
1897
echo "${ECHO_T}$_am_result" >&6
1898
rm -f confinc confmf
1900
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1901
if test "${enable_dependency_tracking+set}" = set; then
1902
enableval="$enable_dependency_tracking"
1905
if test "x$enable_dependency_tracking" != xno; then
1906
am_depcomp="$ac_aux_dir/depcomp"
1911
if test "x$enable_dependency_tracking" != xno; then
1922
ac_cpp='$CPP $CPPFLAGS'
1923
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1924
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1925
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1926
if test -n "$ac_tool_prefix"; then
1927
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1928
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1929
echo "$as_me:$LINENO: checking for $ac_word" >&5
1930
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931
if test "${ac_cv_prog_CC+set}" = set; then
1932
echo $ECHO_N "(cached) $ECHO_C" >&6
1934
if test -n "$CC"; then
1935
ac_cv_prog_CC="$CC" # Let the user override the test.
1937
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941
test -z "$as_dir" && as_dir=.
1942
for ac_exec_ext in '' $ac_executable_extensions; do
1943
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1945
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954
if test -n "$CC"; then
1955
echo "$as_me:$LINENO: result: $CC" >&5
1956
echo "${ECHO_T}$CC" >&6
1958
echo "$as_me:$LINENO: result: no" >&5
1959
echo "${ECHO_T}no" >&6
1963
if test -z "$ac_cv_prog_CC"; then
1965
# Extract the first word of "gcc", so it can be a program name with args.
1966
set dummy gcc; ac_word=$2
1967
echo "$as_me:$LINENO: checking for $ac_word" >&5
1968
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1970
echo $ECHO_N "(cached) $ECHO_C" >&6
1972
if test -n "$ac_ct_CC"; then
1973
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979
test -z "$as_dir" && as_dir=.
1980
for ac_exec_ext in '' $ac_executable_extensions; do
1981
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982
ac_cv_prog_ac_ct_CC="gcc"
1983
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1992
if test -n "$ac_ct_CC"; then
1993
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1994
echo "${ECHO_T}$ac_ct_CC" >&6
1996
echo "$as_me:$LINENO: result: no" >&5
1997
echo "${ECHO_T}no" >&6
2005
if test -z "$CC"; then
2006
if test -n "$ac_tool_prefix"; then
2007
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2008
set dummy ${ac_tool_prefix}cc; ac_word=$2
2009
echo "$as_me:$LINENO: checking for $ac_word" >&5
2010
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011
if test "${ac_cv_prog_CC+set}" = set; then
2012
echo $ECHO_N "(cached) $ECHO_C" >&6
2014
if test -n "$CC"; then
2015
ac_cv_prog_CC="$CC" # Let the user override the test.
2017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021
test -z "$as_dir" && as_dir=.
2022
for ac_exec_ext in '' $ac_executable_extensions; do
2023
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024
ac_cv_prog_CC="${ac_tool_prefix}cc"
2025
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034
if test -n "$CC"; then
2035
echo "$as_me:$LINENO: result: $CC" >&5
2036
echo "${ECHO_T}$CC" >&6
2038
echo "$as_me:$LINENO: result: no" >&5
2039
echo "${ECHO_T}no" >&6
2043
if test -z "$ac_cv_prog_CC"; then
2045
# Extract the first word of "cc", so it can be a program name with args.
2046
set dummy cc; ac_word=$2
2047
echo "$as_me:$LINENO: checking for $ac_word" >&5
2048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2050
echo $ECHO_N "(cached) $ECHO_C" >&6
2052
if test -n "$ac_ct_CC"; then
2053
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059
test -z "$as_dir" && as_dir=.
2060
for ac_exec_ext in '' $ac_executable_extensions; do
2061
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062
ac_cv_prog_ac_ct_CC="cc"
2063
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2072
if test -n "$ac_ct_CC"; then
2073
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2074
echo "${ECHO_T}$ac_ct_CC" >&6
2076
echo "$as_me:$LINENO: result: no" >&5
2077
echo "${ECHO_T}no" >&6
2086
if test -z "$CC"; then
2087
# Extract the first word of "cc", so it can be a program name with args.
2088
set dummy cc; ac_word=$2
2089
echo "$as_me:$LINENO: checking for $ac_word" >&5
2090
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2091
if test "${ac_cv_prog_CC+set}" = set; then
2092
echo $ECHO_N "(cached) $ECHO_C" >&6
2094
if test -n "$CC"; then
2095
ac_cv_prog_CC="$CC" # Let the user override the test.
2098
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102
test -z "$as_dir" && as_dir=.
2103
for ac_exec_ext in '' $ac_executable_extensions; do
2104
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2106
ac_prog_rejected=yes
2110
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116
if test $ac_prog_rejected = yes; then
2117
# We found a bogon in the path, so make sure we never use it.
2118
set dummy $ac_cv_prog_CC
2120
if test $# != 0; then
2121
# We chose a different compiler from the bogus one.
2122
# However, it has the same basename, so the bogon will be chosen
2123
# first if we set CC to just the basename; use the full file name.
2125
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2131
if test -n "$CC"; then
2132
echo "$as_me:$LINENO: result: $CC" >&5
2133
echo "${ECHO_T}$CC" >&6
2135
echo "$as_me:$LINENO: result: no" >&5
2136
echo "${ECHO_T}no" >&6
2140
if test -z "$CC"; then
2141
if test -n "$ac_tool_prefix"; then
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
echo "$as_me:$LINENO: checking for $ac_word" >&5
2147
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148
if test "${ac_cv_prog_CC+set}" = set; then
2149
echo $ECHO_N "(cached) $ECHO_C" >&6
2151
if test -n "$CC"; then
2152
ac_cv_prog_CC="$CC" # Let the user override the test.
2154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158
test -z "$as_dir" && as_dir=.
2159
for ac_exec_ext in '' $ac_executable_extensions; do
2160
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2162
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171
if test -n "$CC"; then
2172
echo "$as_me:$LINENO: result: $CC" >&5
2173
echo "${ECHO_T}$CC" >&6
2175
echo "$as_me:$LINENO: result: no" >&5
2176
echo "${ECHO_T}no" >&6
2179
test -n "$CC" && break
2182
if test -z "$CC"; then
2186
# Extract the first word of "$ac_prog", so it can be a program name with args.
2187
set dummy $ac_prog; ac_word=$2
2188
echo "$as_me:$LINENO: checking for $ac_word" >&5
2189
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2191
echo $ECHO_N "(cached) $ECHO_C" >&6
2193
if test -n "$ac_ct_CC"; then
2194
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2196
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200
test -z "$as_dir" && as_dir=.
2201
for ac_exec_ext in '' $ac_executable_extensions; do
2202
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203
ac_cv_prog_ac_ct_CC="$ac_prog"
2204
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2213
if test -n "$ac_ct_CC"; then
2214
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2215
echo "${ECHO_T}$ac_ct_CC" >&6
2217
echo "$as_me:$LINENO: result: no" >&5
2218
echo "${ECHO_T}no" >&6
2221
test -n "$ac_ct_CC" && break
2230
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2231
See \`config.log' for more details." >&5
2232
echo "$as_me: error: no acceptable C compiler found in \$PATH
2233
See \`config.log' for more details." >&2;}
2234
{ (exit 1); exit 1; }; }
2236
# Provide some information about the compiler.
2237
echo "$as_me:$LINENO:" \
2238
"checking for C compiler version" >&5
2239
ac_compiler=`set X $ac_compile; echo $2`
2240
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2241
(eval $ac_compiler --version </dev/null >&5) 2>&5
2243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244
(exit $ac_status); }
2245
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2246
(eval $ac_compiler -v </dev/null >&5) 2>&5
2248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249
(exit $ac_status); }
2250
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2251
(eval $ac_compiler -V </dev/null >&5) 2>&5
2253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254
(exit $ac_status); }
2256
cat >conftest.$ac_ext <<_ACEOF
2259
cat confdefs.h >>conftest.$ac_ext
2260
cat >>conftest.$ac_ext <<_ACEOF
2261
/* end confdefs.h. */
2271
ac_clean_files_save=$ac_clean_files
2272
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2273
# Try to create an executable without -o first, disregard a.out.
2274
# It will help us diagnose broken compilers, and finding out an intuition
2276
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2277
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2278
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2279
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2280
(eval $ac_link_default) 2>&5
2282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283
(exit $ac_status); }; then
2284
# Find the output, starting from the most likely. This scheme is
2285
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2288
# Be careful to initialize this variable, since it used to be cached.
2289
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2291
# b.out is created by i960 compilers.
2292
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2294
test -f "$ac_file" || continue
2296
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2299
# This is the source file.
2302
# We found the default executable, but exeext='' is most
2306
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2307
# FIXME: I believe we export ac_cv_exeext for Libtool,
2308
# but it would be cool to find out if it's true. Does anybody
2309
# maintain Libtool? --akim.
2317
echo "$as_me: failed program was:" >&5
2318
sed 's/^/| /' conftest.$ac_ext >&5
2320
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2321
See \`config.log' for more details." >&5
2322
echo "$as_me: error: C compiler cannot create executables
2323
See \`config.log' for more details." >&2;}
2324
{ (exit 77); exit 77; }; }
2327
ac_exeext=$ac_cv_exeext
2328
echo "$as_me:$LINENO: result: $ac_file" >&5
2329
echo "${ECHO_T}$ac_file" >&6
2331
# Check the compiler produces executables we can run. If not, either
2332
# the compiler is broken, or we cross compile.
2333
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2334
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2335
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2336
# If not cross compiling, check that we can run a simple program.
2337
if test "$cross_compiling" != yes; then
2338
if { ac_try='./$ac_file'
2339
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343
(exit $ac_status); }; }; then
2346
if test "$cross_compiling" = maybe; then
2349
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2350
If you meant to cross compile, use \`--host'.
2351
See \`config.log' for more details." >&5
2352
echo "$as_me: error: cannot run C compiled programs.
2353
If you meant to cross compile, use \`--host'.
2354
See \`config.log' for more details." >&2;}
2355
{ (exit 1); exit 1; }; }
2359
echo "$as_me:$LINENO: result: yes" >&5
2360
echo "${ECHO_T}yes" >&6
2362
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2363
ac_clean_files=$ac_clean_files_save
2364
# Check the compiler produces executables we can run. If not, either
2365
# the compiler is broken, or we cross compile.
2366
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2367
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2368
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2369
echo "${ECHO_T}$cross_compiling" >&6
2371
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2372
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2373
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2374
(eval $ac_link) 2>&5
2376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377
(exit $ac_status); }; then
2378
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2379
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2380
# work properly (i.e., refer to `conftest.exe'), while it won't with
2382
for ac_file in conftest.exe conftest conftest.*; do
2383
test -f "$ac_file" || continue
2385
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2386
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2393
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2394
See \`config.log' for more details." >&5
2395
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2396
See \`config.log' for more details." >&2;}
2397
{ (exit 1); exit 1; }; }
2400
rm -f conftest$ac_cv_exeext
2401
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2402
echo "${ECHO_T}$ac_cv_exeext" >&6
2404
rm -f conftest.$ac_ext
2405
EXEEXT=$ac_cv_exeext
2407
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2408
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2409
if test "${ac_cv_objext+set}" = set; then
2410
echo $ECHO_N "(cached) $ECHO_C" >&6
2412
cat >conftest.$ac_ext <<_ACEOF
2415
cat confdefs.h >>conftest.$ac_ext
2416
cat >>conftest.$ac_ext <<_ACEOF
2417
/* end confdefs.h. */
2427
rm -f conftest.o conftest.obj
2428
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429
(eval $ac_compile) 2>&5
2431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432
(exit $ac_status); }; then
2433
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2435
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2436
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2441
echo "$as_me: failed program was:" >&5
2442
sed 's/^/| /' conftest.$ac_ext >&5
2444
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2445
See \`config.log' for more details." >&5
2446
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2447
See \`config.log' for more details." >&2;}
2448
{ (exit 1); exit 1; }; }
2451
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2453
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2454
echo "${ECHO_T}$ac_cv_objext" >&6
2455
OBJEXT=$ac_cv_objext
2457
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2458
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2459
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2460
echo $ECHO_N "(cached) $ECHO_C" >&6
2462
cat >conftest.$ac_ext <<_ACEOF
2465
cat confdefs.h >>conftest.$ac_ext
2466
cat >>conftest.$ac_ext <<_ACEOF
2467
/* end confdefs.h. */
2480
rm -f conftest.$ac_objext
2481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2482
(eval $ac_compile) 2>conftest.er1
2484
grep -v '^ *+' conftest.er1 >conftest.err
2486
cat conftest.err >&5
2487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488
(exit $ac_status); } &&
2489
{ ac_try='test -z "$ac_c_werror_flag"
2490
|| test ! -s conftest.err'
2491
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495
(exit $ac_status); }; } &&
2496
{ ac_try='test -s conftest.$ac_objext'
2497
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501
(exit $ac_status); }; }; then
2504
echo "$as_me: failed program was:" >&5
2505
sed 's/^/| /' conftest.$ac_ext >&5
2509
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2510
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2513
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2514
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2515
GCC=`test $ac_compiler_gnu = yes && echo yes`
2516
ac_test_CFLAGS=${CFLAGS+set}
2517
ac_save_CFLAGS=$CFLAGS
2519
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2520
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2521
if test "${ac_cv_prog_cc_g+set}" = set; then
2522
echo $ECHO_N "(cached) $ECHO_C" >&6
2524
cat >conftest.$ac_ext <<_ACEOF
2527
cat confdefs.h >>conftest.$ac_ext
2528
cat >>conftest.$ac_ext <<_ACEOF
2529
/* end confdefs.h. */
2539
rm -f conftest.$ac_objext
2540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2541
(eval $ac_compile) 2>conftest.er1
2543
grep -v '^ *+' conftest.er1 >conftest.err
2545
cat conftest.err >&5
2546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547
(exit $ac_status); } &&
2548
{ ac_try='test -z "$ac_c_werror_flag"
2549
|| test ! -s conftest.err'
2550
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
(exit $ac_status); }; } &&
2555
{ ac_try='test -s conftest.$ac_objext'
2556
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560
(exit $ac_status); }; }; then
2563
echo "$as_me: failed program was:" >&5
2564
sed 's/^/| /' conftest.$ac_ext >&5
2568
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2570
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2571
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2572
if test "$ac_test_CFLAGS" = set; then
2573
CFLAGS=$ac_save_CFLAGS
2574
elif test $ac_cv_prog_cc_g = yes; then
2575
if test "$GCC" = yes; then
2581
if test "$GCC" = yes; then
2587
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2588
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2589
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2590
echo $ECHO_N "(cached) $ECHO_C" >&6
2592
ac_cv_prog_cc_stdc=no
2594
cat >conftest.$ac_ext <<_ACEOF
2597
cat confdefs.h >>conftest.$ac_ext
2598
cat >>conftest.$ac_ext <<_ACEOF
2599
/* end confdefs.h. */
2602
#include <sys/types.h>
2603
#include <sys/stat.h>
2604
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2605
struct buf { int x; };
2606
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2607
static char *e (p, i)
2613
static char *f (char * (*g) (char **, int), char **p, ...)
2618
s = g (p, va_arg (v,int));
2623
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2624
function prototypes and stuff, but not '\xHH' hex character constants.
2625
These don't provoke an error unfortunately, instead are silently treated
2626
as 'x'. The following induces an error, until -std1 is added to get
2627
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2628
array size at least. It's necessary to write '\x00'==0 to get something
2629
that's true only with -std1. */
2630
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2632
int test (int i, double x);
2633
struct s1 {int (*f) (int a);};
2634
struct s2 {int (*f) (double a);};
2635
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2641
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2646
# Don't try gcc -ansi; that turns off useful extensions and
2647
# breaks some systems' header files.
2648
# AIX -qlanglvl=ansi
2649
# Ultrix and OSF/1 -std1
2650
# HP-UX 10.20 and later -Ae
2651
# HP-UX older versions -Aa -D_HPUX_SOURCE
2652
# SVR4 -Xc -D__EXTENSIONS__
2653
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2655
CC="$ac_save_CC $ac_arg"
2656
rm -f conftest.$ac_objext
2657
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2658
(eval $ac_compile) 2>conftest.er1
2660
grep -v '^ *+' conftest.er1 >conftest.err
2662
cat conftest.err >&5
2663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664
(exit $ac_status); } &&
2665
{ ac_try='test -z "$ac_c_werror_flag"
2666
|| test ! -s conftest.err'
2667
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671
(exit $ac_status); }; } &&
2672
{ ac_try='test -s conftest.$ac_objext'
2673
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677
(exit $ac_status); }; }; then
2678
ac_cv_prog_cc_stdc=$ac_arg
2681
echo "$as_me: failed program was:" >&5
2682
sed 's/^/| /' conftest.$ac_ext >&5
2685
rm -f conftest.err conftest.$ac_objext
2687
rm -f conftest.$ac_ext conftest.$ac_objext
2692
case "x$ac_cv_prog_cc_stdc" in
2694
echo "$as_me:$LINENO: result: none needed" >&5
2695
echo "${ECHO_T}none needed" >&6 ;;
2697
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2698
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2699
CC="$CC $ac_cv_prog_cc_stdc" ;;
2702
# Some people use a C++ compiler to compile C. Since we use `exit',
2703
# in C++ we need to declare it. In case someone uses the same compiler
2704
# for both compiling C and C++ we need to have the C++ compiler decide
2705
# the declaration of exit, since it's the most demanding environment.
2706
cat >conftest.$ac_ext <<_ACEOF
2711
rm -f conftest.$ac_objext
2712
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2713
(eval $ac_compile) 2>conftest.er1
2715
grep -v '^ *+' conftest.er1 >conftest.err
2717
cat conftest.err >&5
2718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719
(exit $ac_status); } &&
2720
{ ac_try='test -z "$ac_c_werror_flag"
2721
|| test ! -s conftest.err'
2722
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726
(exit $ac_status); }; } &&
2727
{ ac_try='test -s conftest.$ac_objext'
2728
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732
(exit $ac_status); }; }; then
2733
for ac_declaration in \
2735
'extern "C" void std::exit (int) throw (); using std::exit;' \
2736
'extern "C" void std::exit (int); using std::exit;' \
2737
'extern "C" void exit (int) throw ();' \
2738
'extern "C" void exit (int);' \
2741
cat >conftest.$ac_ext <<_ACEOF
2744
cat confdefs.h >>conftest.$ac_ext
2745
cat >>conftest.$ac_ext <<_ACEOF
2746
/* end confdefs.h. */
2757
rm -f conftest.$ac_objext
2758
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759
(eval $ac_compile) 2>conftest.er1
2761
grep -v '^ *+' conftest.er1 >conftest.err
2763
cat conftest.err >&5
2764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
(exit $ac_status); } &&
2766
{ ac_try='test -z "$ac_c_werror_flag"
2767
|| test ! -s conftest.err'
2768
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
(exit $ac_status); }; } &&
2773
{ ac_try='test -s conftest.$ac_objext'
2774
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
(exit $ac_status); }; }; then
2781
echo "$as_me: failed program was:" >&5
2782
sed 's/^/| /' conftest.$ac_ext >&5
2786
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2787
cat >conftest.$ac_ext <<_ACEOF
2790
cat confdefs.h >>conftest.$ac_ext
2791
cat >>conftest.$ac_ext <<_ACEOF
2792
/* end confdefs.h. */
2802
rm -f conftest.$ac_objext
2803
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804
(eval $ac_compile) 2>conftest.er1
2806
grep -v '^ *+' conftest.er1 >conftest.err
2808
cat conftest.err >&5
2809
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
(exit $ac_status); } &&
2811
{ ac_try='test -z "$ac_c_werror_flag"
2812
|| test ! -s conftest.err'
2813
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817
(exit $ac_status); }; } &&
2818
{ ac_try='test -s conftest.$ac_objext'
2819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
(exit $ac_status); }; }; then
2826
echo "$as_me: failed program was:" >&5
2827
sed 's/^/| /' conftest.$ac_ext >&5
2830
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833
if test -n "$ac_declaration"; then
2834
echo '#ifdef __cplusplus' >>confdefs.h
2835
echo $ac_declaration >>confdefs.h
2836
echo '#endif' >>confdefs.h
2840
echo "$as_me: failed program was:" >&5
2841
sed 's/^/| /' conftest.$ac_ext >&5
2844
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2846
ac_cpp='$CPP $CPPFLAGS'
2847
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2851
depcc="$CC" am_compiler_list=
2853
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2854
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2855
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2856
echo $ECHO_N "(cached) $ECHO_C" >&6
2858
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2859
# We make a subdir and do the tests there. Otherwise we can end up
2860
# making bogus files that we don't know about and never remove. For
2861
# instance it was reported that on HP-UX the gcc test will end up
2862
# making a dummy file named `D' -- because `-MD' means `put the output
2865
# Copy depcomp to subdir because otherwise we won't find it if we're
2866
# using a relative directory.
2867
cp "$am_depcomp" conftest.dir
2869
# We will build objects and dependencies in a subdirectory because
2870
# it helps to detect inapplicable dependency modes. For instance
2871
# both Tru64's cc and ICC support -MD to output dependencies as a
2872
# side effect of compilation, but ICC will put the dependencies in
2873
# the current directory while Tru64 will put them in the object
2877
am_cv_CC_dependencies_compiler_type=none
2878
if test "$am_compiler_list" = ""; then
2879
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2881
for depmode in $am_compiler_list; do
2882
# Setup a source with many dependencies, because some compilers
2883
# like to wrap large dependency lists on column 80 (with \), and
2884
# we should not choose a depcomp mode which is confused by this.
2886
# We need to recreate these files for each test, as the compiler may
2887
# overwrite some of them when testing with obscure command lines.
2888
# This happens at least with the AIX C compiler.
2890
for i in 1 2 3 4 5 6; do
2891
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2894
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2898
# after this tag, mechanisms are not by side-effect, so they'll
2899
# only be used when explicitly requested
2900
if test "x$enable_dependency_tracking" = xyes; then
2908
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2909
# mode. It turns out that the SunPro C++ compiler does not properly
2910
# handle `-M -o', and we need to detect this.
2911
if depmode=$depmode \
2912
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2913
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2914
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2915
>/dev/null 2>conftest.err &&
2916
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2917
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2918
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2919
# icc doesn't choke on unknown options, it will just issue warnings
2920
# (even with -Werror). So we grep stderr for any message
2921
# that says an option was ignored.
2922
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2923
am_cv_CC_dependencies_compiler_type=$depmode
2932
am_cv_CC_dependencies_compiler_type=none
2936
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2937
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2938
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2943
test "x$enable_dependency_tracking" != xno \
2944
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2946
am__fastdepCC_FALSE='#'
2948
am__fastdepCC_TRUE='#'
2949
am__fastdepCC_FALSE=
2953
# By default we simply use the C compiler to build assembly code.
2956
# Set ASFLAGS if not already set.
2957
: ${CCASFLAGS='$(CFLAGS)'}
2961
ac_cpp='$CPP $CPPFLAGS'
2962
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2965
if test -n "$ac_tool_prefix"; then
2966
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2967
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2968
echo "$as_me:$LINENO: checking for $ac_word" >&5
2969
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2970
if test "${ac_cv_prog_CC+set}" = set; then
2971
echo $ECHO_N "(cached) $ECHO_C" >&6
2973
if test -n "$CC"; then
2974
ac_cv_prog_CC="$CC" # Let the user override the test.
2976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980
test -z "$as_dir" && as_dir=.
2981
for ac_exec_ext in '' $ac_executable_extensions; do
2982
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2983
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2984
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2993
if test -n "$CC"; then
2994
echo "$as_me:$LINENO: result: $CC" >&5
2995
echo "${ECHO_T}$CC" >&6
2997
echo "$as_me:$LINENO: result: no" >&5
2998
echo "${ECHO_T}no" >&6
3002
if test -z "$ac_cv_prog_CC"; then
3004
# Extract the first word of "gcc", so it can be a program name with args.
3005
set dummy gcc; ac_word=$2
3006
echo "$as_me:$LINENO: checking for $ac_word" >&5
3007
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3009
echo $ECHO_N "(cached) $ECHO_C" >&6
3011
if test -n "$ac_ct_CC"; then
3012
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018
test -z "$as_dir" && as_dir=.
3019
for ac_exec_ext in '' $ac_executable_extensions; do
3020
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021
ac_cv_prog_ac_ct_CC="gcc"
3022
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3031
if test -n "$ac_ct_CC"; then
3032
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3033
echo "${ECHO_T}$ac_ct_CC" >&6
3035
echo "$as_me:$LINENO: result: no" >&5
3036
echo "${ECHO_T}no" >&6
3044
if test -z "$CC"; then
3045
if test -n "$ac_tool_prefix"; then
3046
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3047
set dummy ${ac_tool_prefix}cc; ac_word=$2
3048
echo "$as_me:$LINENO: checking for $ac_word" >&5
3049
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050
if test "${ac_cv_prog_CC+set}" = set; then
3051
echo $ECHO_N "(cached) $ECHO_C" >&6
3053
if test -n "$CC"; then
3054
ac_cv_prog_CC="$CC" # Let the user override the test.
3056
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060
test -z "$as_dir" && as_dir=.
3061
for ac_exec_ext in '' $ac_executable_extensions; do
3062
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063
ac_cv_prog_CC="${ac_tool_prefix}cc"
3064
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073
if test -n "$CC"; then
3074
echo "$as_me:$LINENO: result: $CC" >&5
3075
echo "${ECHO_T}$CC" >&6
3077
echo "$as_me:$LINENO: result: no" >&5
3078
echo "${ECHO_T}no" >&6
3082
if test -z "$ac_cv_prog_CC"; then
3084
# Extract the first word of "cc", so it can be a program name with args.
3085
set dummy cc; ac_word=$2
3086
echo "$as_me:$LINENO: checking for $ac_word" >&5
3087
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3088
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3089
echo $ECHO_N "(cached) $ECHO_C" >&6
3091
if test -n "$ac_ct_CC"; then
3092
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098
test -z "$as_dir" && as_dir=.
3099
for ac_exec_ext in '' $ac_executable_extensions; do
3100
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101
ac_cv_prog_ac_ct_CC="cc"
3102
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3110
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3111
if test -n "$ac_ct_CC"; then
3112
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3113
echo "${ECHO_T}$ac_ct_CC" >&6
3115
echo "$as_me:$LINENO: result: no" >&5
3116
echo "${ECHO_T}no" >&6
3125
if test -z "$CC"; then
3126
# Extract the first word of "cc", so it can be a program name with args.
3127
set dummy cc; ac_word=$2
3128
echo "$as_me:$LINENO: checking for $ac_word" >&5
3129
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3130
if test "${ac_cv_prog_CC+set}" = set; then
3131
echo $ECHO_N "(cached) $ECHO_C" >&6
3133
if test -n "$CC"; then
3134
ac_cv_prog_CC="$CC" # Let the user override the test.
3137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141
test -z "$as_dir" && as_dir=.
3142
for ac_exec_ext in '' $ac_executable_extensions; do
3143
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3145
ac_prog_rejected=yes
3149
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3155
if test $ac_prog_rejected = yes; then
3156
# We found a bogon in the path, so make sure we never use it.
3157
set dummy $ac_cv_prog_CC
3159
if test $# != 0; then
3160
# We chose a different compiler from the bogus one.
3161
# However, it has the same basename, so the bogon will be chosen
3162
# first if we set CC to just the basename; use the full file name.
3164
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3170
if test -n "$CC"; then
3171
echo "$as_me:$LINENO: result: $CC" >&5
3172
echo "${ECHO_T}$CC" >&6
3174
echo "$as_me:$LINENO: result: no" >&5
3175
echo "${ECHO_T}no" >&6
3179
if test -z "$CC"; then
3180
if test -n "$ac_tool_prefix"; then
3183
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185
echo "$as_me:$LINENO: checking for $ac_word" >&5
3186
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3187
if test "${ac_cv_prog_CC+set}" = set; then
3188
echo $ECHO_N "(cached) $ECHO_C" >&6
3190
if test -n "$CC"; then
3191
ac_cv_prog_CC="$CC" # Let the user override the test.
3193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197
test -z "$as_dir" && as_dir=.
3198
for ac_exec_ext in '' $ac_executable_extensions; do
3199
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3201
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3210
if test -n "$CC"; then
3211
echo "$as_me:$LINENO: result: $CC" >&5
3212
echo "${ECHO_T}$CC" >&6
3214
echo "$as_me:$LINENO: result: no" >&5
3215
echo "${ECHO_T}no" >&6
3218
test -n "$CC" && break
3221
if test -z "$CC"; then
3225
# Extract the first word of "$ac_prog", so it can be a program name with args.
3226
set dummy $ac_prog; ac_word=$2
3227
echo "$as_me:$LINENO: checking for $ac_word" >&5
3228
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3230
echo $ECHO_N "(cached) $ECHO_C" >&6
3232
if test -n "$ac_ct_CC"; then
3233
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3235
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239
test -z "$as_dir" && as_dir=.
3240
for ac_exec_ext in '' $ac_executable_extensions; do
3241
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242
ac_cv_prog_ac_ct_CC="$ac_prog"
3243
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252
if test -n "$ac_ct_CC"; then
3253
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3254
echo "${ECHO_T}$ac_ct_CC" >&6
3256
echo "$as_me:$LINENO: result: no" >&5
3257
echo "${ECHO_T}no" >&6
3260
test -n "$ac_ct_CC" && break
3269
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3270
See \`config.log' for more details." >&5
3271
echo "$as_me: error: no acceptable C compiler found in \$PATH
3272
See \`config.log' for more details." >&2;}
3273
{ (exit 1); exit 1; }; }
3275
# Provide some information about the compiler.
3276
echo "$as_me:$LINENO:" \
3277
"checking for C compiler version" >&5
3278
ac_compiler=`set X $ac_compile; echo $2`
3279
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3280
(eval $ac_compiler --version </dev/null >&5) 2>&5
3282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283
(exit $ac_status); }
3284
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3285
(eval $ac_compiler -v </dev/null >&5) 2>&5
3287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288
(exit $ac_status); }
3289
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3290
(eval $ac_compiler -V </dev/null >&5) 2>&5
3292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293
(exit $ac_status); }
3295
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3296
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3297
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3298
echo $ECHO_N "(cached) $ECHO_C" >&6
3300
cat >conftest.$ac_ext <<_ACEOF
3303
cat confdefs.h >>conftest.$ac_ext
3304
cat >>conftest.$ac_ext <<_ACEOF
3305
/* end confdefs.h. */
3318
rm -f conftest.$ac_objext
3319
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3320
(eval $ac_compile) 2>conftest.er1
3322
grep -v '^ *+' conftest.er1 >conftest.err
3324
cat conftest.err >&5
3325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326
(exit $ac_status); } &&
3327
{ ac_try='test -z "$ac_c_werror_flag"
3328
|| test ! -s conftest.err'
3329
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333
(exit $ac_status); }; } &&
3334
{ ac_try='test -s conftest.$ac_objext'
3335
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339
(exit $ac_status); }; }; then
3342
echo "$as_me: failed program was:" >&5
3343
sed 's/^/| /' conftest.$ac_ext >&5
3347
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3348
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3351
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3352
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3353
GCC=`test $ac_compiler_gnu = yes && echo yes`
3354
ac_test_CFLAGS=${CFLAGS+set}
3355
ac_save_CFLAGS=$CFLAGS
3357
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3358
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3359
if test "${ac_cv_prog_cc_g+set}" = set; then
3360
echo $ECHO_N "(cached) $ECHO_C" >&6
3362
cat >conftest.$ac_ext <<_ACEOF
3365
cat confdefs.h >>conftest.$ac_ext
3366
cat >>conftest.$ac_ext <<_ACEOF
3367
/* end confdefs.h. */
3377
rm -f conftest.$ac_objext
3378
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3379
(eval $ac_compile) 2>conftest.er1
3381
grep -v '^ *+' conftest.er1 >conftest.err
3383
cat conftest.err >&5
3384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385
(exit $ac_status); } &&
3386
{ ac_try='test -z "$ac_c_werror_flag"
3387
|| test ! -s conftest.err'
3388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392
(exit $ac_status); }; } &&
3393
{ ac_try='test -s conftest.$ac_objext'
3394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); }; }; then
3401
echo "$as_me: failed program was:" >&5
3402
sed 's/^/| /' conftest.$ac_ext >&5
3406
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3408
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3409
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3410
if test "$ac_test_CFLAGS" = set; then
3411
CFLAGS=$ac_save_CFLAGS
3412
elif test $ac_cv_prog_cc_g = yes; then
3413
if test "$GCC" = yes; then
3419
if test "$GCC" = yes; then
3425
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3426
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3427
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3428
echo $ECHO_N "(cached) $ECHO_C" >&6
3430
ac_cv_prog_cc_stdc=no
3432
cat >conftest.$ac_ext <<_ACEOF
3435
cat confdefs.h >>conftest.$ac_ext
3436
cat >>conftest.$ac_ext <<_ACEOF
3437
/* end confdefs.h. */
3440
#include <sys/types.h>
3441
#include <sys/stat.h>
3442
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3443
struct buf { int x; };
3444
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3445
static char *e (p, i)
3451
static char *f (char * (*g) (char **, int), char **p, ...)
3456
s = g (p, va_arg (v,int));
3461
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3462
function prototypes and stuff, but not '\xHH' hex character constants.
3463
These don't provoke an error unfortunately, instead are silently treated
3464
as 'x'. The following induces an error, until -std1 is added to get
3465
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3466
array size at least. It's necessary to write '\x00'==0 to get something
3467
that's true only with -std1. */
3468
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3470
int test (int i, double x);
3471
struct s1 {int (*f) (int a);};
3472
struct s2 {int (*f) (double a);};
3473
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3479
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3484
# Don't try gcc -ansi; that turns off useful extensions and
3485
# breaks some systems' header files.
3486
# AIX -qlanglvl=ansi
3487
# Ultrix and OSF/1 -std1
3488
# HP-UX 10.20 and later -Ae
3489
# HP-UX older versions -Aa -D_HPUX_SOURCE
3490
# SVR4 -Xc -D__EXTENSIONS__
3491
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3493
CC="$ac_save_CC $ac_arg"
3494
rm -f conftest.$ac_objext
3495
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3496
(eval $ac_compile) 2>conftest.er1
3498
grep -v '^ *+' conftest.er1 >conftest.err
3500
cat conftest.err >&5
3501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502
(exit $ac_status); } &&
3503
{ ac_try='test -z "$ac_c_werror_flag"
3504
|| test ! -s conftest.err'
3505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509
(exit $ac_status); }; } &&
3510
{ ac_try='test -s conftest.$ac_objext'
3511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
(exit $ac_status); }; }; then
3516
ac_cv_prog_cc_stdc=$ac_arg
3519
echo "$as_me: failed program was:" >&5
3520
sed 's/^/| /' conftest.$ac_ext >&5
3523
rm -f conftest.err conftest.$ac_objext
3525
rm -f conftest.$ac_ext conftest.$ac_objext
3530
case "x$ac_cv_prog_cc_stdc" in
3532
echo "$as_me:$LINENO: result: none needed" >&5
3533
echo "${ECHO_T}none needed" >&6 ;;
3535
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3536
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3537
CC="$CC $ac_cv_prog_cc_stdc" ;;
3540
# Some people use a C++ compiler to compile C. Since we use `exit',
3541
# in C++ we need to declare it. In case someone uses the same compiler
3542
# for both compiling C and C++ we need to have the C++ compiler decide
3543
# the declaration of exit, since it's the most demanding environment.
3544
cat >conftest.$ac_ext <<_ACEOF
3549
rm -f conftest.$ac_objext
3550
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551
(eval $ac_compile) 2>conftest.er1
3553
grep -v '^ *+' conftest.er1 >conftest.err
3555
cat conftest.err >&5
3556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557
(exit $ac_status); } &&
3558
{ ac_try='test -z "$ac_c_werror_flag"
3559
|| test ! -s conftest.err'
3560
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564
(exit $ac_status); }; } &&
3565
{ ac_try='test -s conftest.$ac_objext'
3566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570
(exit $ac_status); }; }; then
3571
for ac_declaration in \
3573
'extern "C" void std::exit (int) throw (); using std::exit;' \
3574
'extern "C" void std::exit (int); using std::exit;' \
3575
'extern "C" void exit (int) throw ();' \
3576
'extern "C" void exit (int);' \
3579
cat >conftest.$ac_ext <<_ACEOF
3582
cat confdefs.h >>conftest.$ac_ext
3583
cat >>conftest.$ac_ext <<_ACEOF
3584
/* end confdefs.h. */
3595
rm -f conftest.$ac_objext
3596
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3597
(eval $ac_compile) 2>conftest.er1
3599
grep -v '^ *+' conftest.er1 >conftest.err
3601
cat conftest.err >&5
3602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603
(exit $ac_status); } &&
3604
{ ac_try='test -z "$ac_c_werror_flag"
3605
|| test ! -s conftest.err'
3606
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610
(exit $ac_status); }; } &&
3611
{ ac_try='test -s conftest.$ac_objext'
3612
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616
(exit $ac_status); }; }; then
3619
echo "$as_me: failed program was:" >&5
3620
sed 's/^/| /' conftest.$ac_ext >&5
3624
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3625
cat >conftest.$ac_ext <<_ACEOF
3628
cat confdefs.h >>conftest.$ac_ext
3629
cat >>conftest.$ac_ext <<_ACEOF
3630
/* end confdefs.h. */
3640
rm -f conftest.$ac_objext
3641
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3642
(eval $ac_compile) 2>conftest.er1
3644
grep -v '^ *+' conftest.er1 >conftest.err
3646
cat conftest.err >&5
3647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648
(exit $ac_status); } &&
3649
{ ac_try='test -z "$ac_c_werror_flag"
3650
|| test ! -s conftest.err'
3651
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655
(exit $ac_status); }; } &&
3656
{ ac_try='test -s conftest.$ac_objext'
3657
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661
(exit $ac_status); }; }; then
3664
echo "$as_me: failed program was:" >&5
3665
sed 's/^/| /' conftest.$ac_ext >&5
3668
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3671
if test -n "$ac_declaration"; then
3672
echo '#ifdef __cplusplus' >>confdefs.h
3673
echo $ac_declaration >>confdefs.h
3674
echo '#endif' >>confdefs.h
3678
echo "$as_me: failed program was:" >&5
3679
sed 's/^/| /' conftest.$ac_ext >&5
3682
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3684
ac_cpp='$CPP $CPPFLAGS'
3685
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3686
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3687
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3689
depcc="$CC" am_compiler_list=
3691
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3692
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3693
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3694
echo $ECHO_N "(cached) $ECHO_C" >&6
3696
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3697
# We make a subdir and do the tests there. Otherwise we can end up
3698
# making bogus files that we don't know about and never remove. For
3699
# instance it was reported that on HP-UX the gcc test will end up
3700
# making a dummy file named `D' -- because `-MD' means `put the output
3703
# Copy depcomp to subdir because otherwise we won't find it if we're
3704
# using a relative directory.
3705
cp "$am_depcomp" conftest.dir
3707
# We will build objects and dependencies in a subdirectory because
3708
# it helps to detect inapplicable dependency modes. For instance
3709
# both Tru64's cc and ICC support -MD to output dependencies as a
3710
# side effect of compilation, but ICC will put the dependencies in
3711
# the current directory while Tru64 will put them in the object
3715
am_cv_CC_dependencies_compiler_type=none
3716
if test "$am_compiler_list" = ""; then
3717
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3719
for depmode in $am_compiler_list; do
3720
# Setup a source with many dependencies, because some compilers
3721
# like to wrap large dependency lists on column 80 (with \), and
3722
# we should not choose a depcomp mode which is confused by this.
3724
# We need to recreate these files for each test, as the compiler may
3725
# overwrite some of them when testing with obscure command lines.
3726
# This happens at least with the AIX C compiler.
3728
for i in 1 2 3 4 5 6; do
3729
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3732
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3736
# after this tag, mechanisms are not by side-effect, so they'll
3737
# only be used when explicitly requested
3738
if test "x$enable_dependency_tracking" = xyes; then
3746
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3747
# mode. It turns out that the SunPro C++ compiler does not properly
3748
# handle `-M -o', and we need to detect this.
3749
if depmode=$depmode \
3750
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3751
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3752
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3753
>/dev/null 2>conftest.err &&
3754
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3755
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3756
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3757
# icc doesn't choke on unknown options, it will just issue warnings
3758
# (even with -Werror). So we grep stderr for any message
3759
# that says an option was ignored.
3760
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3761
am_cv_CC_dependencies_compiler_type=$depmode
3770
am_cv_CC_dependencies_compiler_type=none
3774
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3775
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3776
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3781
test "x$enable_dependency_tracking" != xno \
3782
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3784
am__fastdepCC_FALSE='#'
3786
am__fastdepCC_TRUE='#'
3787
am__fastdepCC_FALSE=
3791
# Find a good install program. We prefer a C program (faster),
3792
# so one script is as good as another. But avoid the broken or
3793
# incompatible versions:
3794
# SysV /etc/install, /usr/sbin/install
3795
# SunOS /usr/etc/install
3796
# IRIX /sbin/install
3798
# AmigaOS /C/install, which installs bootblocks on floppy discs
3799
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3800
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3801
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3802
# OS/2's system install, which has a completely different semantic
3803
# ./install, which can be erroneously created by make from ./install.sh.
3804
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3805
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3806
if test -z "$INSTALL"; then
3807
if test "${ac_cv_path_install+set}" = set; then
3808
echo $ECHO_N "(cached) $ECHO_C" >&6
3810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814
test -z "$as_dir" && as_dir=.
3815
# Account for people who put trailing slashes in PATH elements.
3817
./ | .// | /cC/* | \
3818
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3819
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3822
# OSF1 and SCO ODT 3.0 have their own names for install.
3823
# Don't use installbsd from OSF since it installs stuff as root
3825
for ac_prog in ginstall scoinst install; do
3826
for ac_exec_ext in '' $ac_executable_extensions; do
3827
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3828
if test $ac_prog = install &&
3829
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3830
# AIX install. It has an incompatible calling convention.
3832
elif test $ac_prog = install &&
3833
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3834
# program-specific install script used by HP pwplus--don't use.
3837
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3849
if test "${ac_cv_path_install+set}" = set; then
3850
INSTALL=$ac_cv_path_install
3852
# As a last resort, use the slow shell script. We don't cache a
3853
# path for INSTALL within a source directory, because that will
3854
# break other packages using the cache if that directory is
3855
# removed, or if the path is relative.
3856
INSTALL=$ac_install_sh
3859
echo "$as_me:$LINENO: result: $INSTALL" >&5
3860
echo "${ECHO_T}$INSTALL" >&6
3862
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3863
# It thinks the first close brace ends the variable substitution.
3864
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3866
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3868
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3870
if test -n "$ac_tool_prefix"; then
3871
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3872
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3873
echo "$as_me:$LINENO: checking for $ac_word" >&5
3874
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3875
if test "${ac_cv_prog_RANLIB+set}" = set; then
3876
echo $ECHO_N "(cached) $ECHO_C" >&6
3878
if test -n "$RANLIB"; then
3879
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885
test -z "$as_dir" && as_dir=.
3886
for ac_exec_ext in '' $ac_executable_extensions; do
3887
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3889
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3897
RANLIB=$ac_cv_prog_RANLIB
3898
if test -n "$RANLIB"; then
3899
echo "$as_me:$LINENO: result: $RANLIB" >&5
3900
echo "${ECHO_T}$RANLIB" >&6
3902
echo "$as_me:$LINENO: result: no" >&5
3903
echo "${ECHO_T}no" >&6
3907
if test -z "$ac_cv_prog_RANLIB"; then
3908
ac_ct_RANLIB=$RANLIB
3909
# Extract the first word of "ranlib", so it can be a program name with args.
3910
set dummy ranlib; ac_word=$2
3911
echo "$as_me:$LINENO: checking for $ac_word" >&5
3912
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3913
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3914
echo $ECHO_N "(cached) $ECHO_C" >&6
3916
if test -n "$ac_ct_RANLIB"; then
3917
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923
test -z "$as_dir" && as_dir=.
3924
for ac_exec_ext in '' $ac_executable_extensions; do
3925
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926
ac_cv_prog_ac_ct_RANLIB="ranlib"
3927
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3933
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3936
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3937
if test -n "$ac_ct_RANLIB"; then
3938
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3939
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3941
echo "$as_me:$LINENO: result: no" >&5
3942
echo "${ECHO_T}no" >&6
3945
RANLIB=$ac_ct_RANLIB
3947
RANLIB="$ac_cv_prog_RANLIB"
3952
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3953
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3954
if test "${ac_cv_c_const+set}" = set; then
3955
echo $ECHO_N "(cached) $ECHO_C" >&6
3957
cat >conftest.$ac_ext <<_ACEOF
3960
cat confdefs.h >>conftest.$ac_ext
3961
cat >>conftest.$ac_ext <<_ACEOF
3962
/* end confdefs.h. */
3967
/* FIXME: Include the comments suggested by Paul. */
3969
/* Ultrix mips cc rejects this. */
3970
typedef int charset[2];
3972
/* SunOS 4.1.1 cc rejects this. */
3973
char const *const *ccp;
3975
/* NEC SVR4.0.2 mips cc rejects this. */
3976
struct point {int x, y;};
3977
static struct point const zero = {0,0};
3978
/* AIX XL C 1.02.0.0 rejects this.
3979
It does not let you subtract one const X* pointer from another in
3980
an arm of an if-expression whose if-part is not a constant
3982
const char *g = "string";
3983
ccp = &g + (g ? g-g : 0);
3984
/* HPUX 7.0 cc rejects these. */
3987
ccp = (char const *const *) p;
3988
{ /* SCO 3.2v4 cc rejects this. */
3990
char const *s = 0 ? (char *) 0 : (char const *) 0;
3994
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3996
const int *foo = &x[0];
3999
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4000
typedef const int *iptr;
4004
{ /* AIX XL C 1.02.0.0 rejects this saying
4005
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4006
struct s { int j; const int *ap[3]; };
4007
struct s *b; b->j = 5;
4009
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4018
rm -f conftest.$ac_objext
4019
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020
(eval $ac_compile) 2>conftest.er1
4022
grep -v '^ *+' conftest.er1 >conftest.err
4024
cat conftest.err >&5
4025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026
(exit $ac_status); } &&
4027
{ ac_try='test -z "$ac_c_werror_flag"
4028
|| test ! -s conftest.err'
4029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033
(exit $ac_status); }; } &&
4034
{ ac_try='test -s conftest.$ac_objext'
4035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039
(exit $ac_status); }; }; then
4042
echo "$as_me: failed program was:" >&5
4043
sed 's/^/| /' conftest.$ac_ext >&5
4047
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4049
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4050
echo "${ECHO_T}$ac_cv_c_const" >&6
4051
if test $ac_cv_c_const = no; then
4053
cat >>confdefs.h <<\_ACEOF
4059
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4060
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4061
if test "${ac_cv_c_bigendian+set}" = set; then
4062
echo $ECHO_N "(cached) $ECHO_C" >&6
4064
# See if sys/param.h defines the BYTE_ORDER macro.
4065
cat >conftest.$ac_ext <<_ACEOF
4068
cat confdefs.h >>conftest.$ac_ext
4069
cat >>conftest.$ac_ext <<_ACEOF
4070
/* end confdefs.h. */
4071
#include <sys/types.h>
4072
#include <sys/param.h>
4077
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4085
rm -f conftest.$ac_objext
4086
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4087
(eval $ac_compile) 2>conftest.er1
4089
grep -v '^ *+' conftest.er1 >conftest.err
4091
cat conftest.err >&5
4092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093
(exit $ac_status); } &&
4094
{ ac_try='test -z "$ac_c_werror_flag"
4095
|| test ! -s conftest.err'
4096
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100
(exit $ac_status); }; } &&
4101
{ ac_try='test -s conftest.$ac_objext'
4102
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106
(exit $ac_status); }; }; then
4107
# It does; now see whether it defined to BIG_ENDIAN or not.
4108
cat >conftest.$ac_ext <<_ACEOF
4111
cat confdefs.h >>conftest.$ac_ext
4112
cat >>conftest.$ac_ext <<_ACEOF
4113
/* end confdefs.h. */
4114
#include <sys/types.h>
4115
#include <sys/param.h>
4120
#if BYTE_ORDER != BIG_ENDIAN
4128
rm -f conftest.$ac_objext
4129
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4130
(eval $ac_compile) 2>conftest.er1
4132
grep -v '^ *+' conftest.er1 >conftest.err
4134
cat conftest.err >&5
4135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
(exit $ac_status); } &&
4137
{ ac_try='test -z "$ac_c_werror_flag"
4138
|| test ! -s conftest.err'
4139
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143
(exit $ac_status); }; } &&
4144
{ ac_try='test -s conftest.$ac_objext'
4145
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149
(exit $ac_status); }; }; then
4150
ac_cv_c_bigendian=yes
4152
echo "$as_me: failed program was:" >&5
4153
sed 's/^/| /' conftest.$ac_ext >&5
4155
ac_cv_c_bigendian=no
4157
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4159
echo "$as_me: failed program was:" >&5
4160
sed 's/^/| /' conftest.$ac_ext >&5
4162
# It does not; compile a test program.
4163
if test "$cross_compiling" = yes; then
4164
# try to guess the endianness by grepping values into an object file
4165
ac_cv_c_bigendian=unknown
4166
cat >conftest.$ac_ext <<_ACEOF
4169
cat confdefs.h >>conftest.$ac_ext
4170
cat >>conftest.$ac_ext <<_ACEOF
4171
/* end confdefs.h. */
4172
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4173
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4174
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4175
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4176
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4177
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4181
_ascii (); _ebcdic ();
4186
rm -f conftest.$ac_objext
4187
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188
(eval $ac_compile) 2>conftest.er1
4190
grep -v '^ *+' conftest.er1 >conftest.err
4192
cat conftest.err >&5
4193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194
(exit $ac_status); } &&
4195
{ ac_try='test -z "$ac_c_werror_flag"
4196
|| test ! -s conftest.err'
4197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
(exit $ac_status); }; } &&
4202
{ ac_try='test -s conftest.$ac_objext'
4203
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207
(exit $ac_status); }; }; then
4208
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4209
ac_cv_c_bigendian=yes
4211
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4212
if test "$ac_cv_c_bigendian" = unknown; then
4213
ac_cv_c_bigendian=no
4215
# finding both strings is unlikely to happen, but who knows?
4216
ac_cv_c_bigendian=unknown
4220
echo "$as_me: failed program was:" >&5
4221
sed 's/^/| /' conftest.$ac_ext >&5
4224
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4226
cat >conftest.$ac_ext <<_ACEOF
4229
cat confdefs.h >>conftest.$ac_ext
4230
cat >>conftest.$ac_ext <<_ACEOF
4231
/* end confdefs.h. */
4235
/* Are we little or big endian? From Harbison&Steele. */
4239
char c[sizeof (long)];
4242
exit (u.c[sizeof (long) - 1] == 1);
4245
rm -f conftest$ac_exeext
4246
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4247
(eval $ac_link) 2>&5
4249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4251
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255
(exit $ac_status); }; }; then
4256
ac_cv_c_bigendian=no
4258
echo "$as_me: program exited with status $ac_status" >&5
4259
echo "$as_me: failed program was:" >&5
4260
sed 's/^/| /' conftest.$ac_ext >&5
4263
ac_cv_c_bigendian=yes
4265
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4268
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4270
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4271
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4272
case $ac_cv_c_bigendian in
4275
cat >>confdefs.h <<\_ACEOF
4276
#define WORDS_BIGENDIAN 1
4282
{ { echo "$as_me:$LINENO: error: unknown endianness
4283
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4284
echo "$as_me: error: unknown endianness
4285
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4286
{ (exit 1); exit 1; }; } ;;
4289
echo "$as_me:$LINENO: checking for inline" >&5
4290
echo $ECHO_N "checking for inline... $ECHO_C" >&6
4291
if test "${ac_cv_c_inline+set}" = set; then
4292
echo $ECHO_N "(cached) $ECHO_C" >&6
4295
for ac_kw in inline __inline__ __inline; do
4296
cat >conftest.$ac_ext <<_ACEOF
4299
cat confdefs.h >>conftest.$ac_ext
4300
cat >>conftest.$ac_ext <<_ACEOF
4301
/* end confdefs.h. */
4304
static $ac_kw foo_t static_foo () {return 0; }
4305
$ac_kw foo_t foo () {return 0; }
4309
rm -f conftest.$ac_objext
4310
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4311
(eval $ac_compile) 2>conftest.er1
4313
grep -v '^ *+' conftest.er1 >conftest.err
4315
cat conftest.err >&5
4316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
(exit $ac_status); } &&
4318
{ ac_try='test -z "$ac_c_werror_flag"
4319
|| test ! -s conftest.err'
4320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324
(exit $ac_status); }; } &&
4325
{ ac_try='test -s conftest.$ac_objext'
4326
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
(exit $ac_status); }; }; then
4331
ac_cv_c_inline=$ac_kw; break
4333
echo "$as_me: failed program was:" >&5
4334
sed 's/^/| /' conftest.$ac_ext >&5
4337
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4341
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4342
echo "${ECHO_T}$ac_cv_c_inline" >&6
4345
case $ac_cv_c_inline in
4348
case $ac_cv_c_inline in
4350
*) ac_val=$ac_cv_c_inline;;
4352
cat >>confdefs.h <<_ACEOF
4354
#define inline $ac_val
4361
# Check if system supports termios
4362
echo "$as_me:$LINENO: checking POSIX termios" >&5
4363
echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
4364
if test "${ac_cv_sys_posix_termios+set}" = set; then
4365
echo $ECHO_N "(cached) $ECHO_C" >&6
4367
cat >conftest.$ac_ext <<_ACEOF
4370
cat confdefs.h >>conftest.$ac_ext
4371
cat >>conftest.$ac_ext <<_ACEOF
4372
/* end confdefs.h. */
4373
#include <sys/types.h>
4375
#include <termios.h>
4380
/* SunOS 4.0.3 has termios.h but not the library calls. */
4386
rm -f conftest.$ac_objext conftest$ac_exeext
4387
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4388
(eval $ac_link) 2>conftest.er1
4390
grep -v '^ *+' conftest.er1 >conftest.err
4392
cat conftest.err >&5
4393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394
(exit $ac_status); } &&
4395
{ ac_try='test -z "$ac_c_werror_flag"
4396
|| test ! -s conftest.err'
4397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401
(exit $ac_status); }; } &&
4402
{ ac_try='test -s conftest$ac_exeext'
4403
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407
(exit $ac_status); }; }; then
4408
ac_cv_sys_posix_termios=yes
4410
echo "$as_me: failed program was:" >&5
4411
sed 's/^/| /' conftest.$ac_ext >&5
4413
ac_cv_sys_posix_termios=no
4415
rm -f conftest.err conftest.$ac_objext \
4416
conftest$ac_exeext conftest.$ac_ext
4418
echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
4419
echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
4421
if test "x$ac_cv_sys_posix_termios" = "xyes"; then
4423
cat >>confdefs.h <<_ACEOF
4424
#define HAVE_TERMIOS 1
4432
# Check whether --enable-debug or --disable-debug was given.
4433
if test "${enable_debug+set}" = set; then
4434
enableval="$enable_debug"
4436
if test "x$enableval" = xyes
4440
cat >>confdefs.h <<\_ACEOF
4445
debugging="disabled"
4449
debugging="disabled"
4453
# Check whether --enable-gapless or --disable-gapless was given.
4454
if test "${enable_gapless+set}" = set; then
4455
enableval="$enable_gapless"
4457
if test "x$enableval" = xyes
4461
cat >>confdefs.h <<\_ACEOF
4473
cat >>confdefs.h <<\_ACEOF
4482
# Check whether --with-cpu or --without-cpu was given.
4483
if test "${with_cpu+set}" = set; then
4489
# Check whether --with-audio or --without-audio was given.
4490
if test "${with_audio+set}" = set; then
4491
withval="$with_audio"
4496
# Check whether --with-optimization or --without-optimization was given.
4497
if test "${with_optimization+set}" = set; then
4498
withval="$with_optimization"
4503
# Check whether --with-seektable or --without-seektable was given.
4504
if test "${with_seektable+set}" = set; then
4505
withval="$with_seektable"
4511
ac_cpp='$CPP $CPPFLAGS'
4512
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4516
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4517
# On Suns, sometimes $CPP names a directory.
4518
if test -n "$CPP" && test -d "$CPP"; then
4521
if test -z "$CPP"; then
4522
if test "${ac_cv_prog_CPP+set}" = set; then
4523
echo $ECHO_N "(cached) $ECHO_C" >&6
4525
# Double quotes because CPP needs to be expanded
4526
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4529
for ac_c_preproc_warn_flag in '' yes
4531
# Use a header file that comes with gcc, so configuring glibc
4532
# with a fresh cross-compiler works.
4533
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4534
# <limits.h> exists even on freestanding compilers.
4535
# On the NeXT, cc -E runs the code through the compiler's parser,
4536
# not just through cpp. "Syntax error" is here to catch this case.
4537
cat >conftest.$ac_ext <<_ACEOF
4540
cat confdefs.h >>conftest.$ac_ext
4541
cat >>conftest.$ac_ext <<_ACEOF
4542
/* end confdefs.h. */
4544
# include <limits.h>
4546
# include <assert.h>
4550
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4551
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4553
grep -v '^ *+' conftest.er1 >conftest.err
4555
cat conftest.err >&5
4556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557
(exit $ac_status); } >/dev/null; then
4558
if test -s conftest.err; then
4559
ac_cpp_err=$ac_c_preproc_warn_flag
4560
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4567
if test -z "$ac_cpp_err"; then
4570
echo "$as_me: failed program was:" >&5
4571
sed 's/^/| /' conftest.$ac_ext >&5
4573
# Broken: fails on valid input.
4576
rm -f conftest.err conftest.$ac_ext
4578
# OK, works on sane cases. Now check whether non-existent headers
4579
# can be detected and how.
4580
cat >conftest.$ac_ext <<_ACEOF
4583
cat confdefs.h >>conftest.$ac_ext
4584
cat >>conftest.$ac_ext <<_ACEOF
4585
/* end confdefs.h. */
4586
#include <ac_nonexistent.h>
4588
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4589
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4591
grep -v '^ *+' conftest.er1 >conftest.err
4593
cat conftest.err >&5
4594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595
(exit $ac_status); } >/dev/null; then
4596
if test -s conftest.err; then
4597
ac_cpp_err=$ac_c_preproc_warn_flag
4598
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4605
if test -z "$ac_cpp_err"; then
4606
# Broken: success on invalid input.
4609
echo "$as_me: failed program was:" >&5
4610
sed 's/^/| /' conftest.$ac_ext >&5
4612
# Passes both tests.
4616
rm -f conftest.err conftest.$ac_ext
4619
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4620
rm -f conftest.err conftest.$ac_ext
4621
if $ac_preproc_ok; then
4633
echo "$as_me:$LINENO: result: $CPP" >&5
4634
echo "${ECHO_T}$CPP" >&6
4636
for ac_c_preproc_warn_flag in '' yes
4638
# Use a header file that comes with gcc, so configuring glibc
4639
# with a fresh cross-compiler works.
4640
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4641
# <limits.h> exists even on freestanding compilers.
4642
# On the NeXT, cc -E runs the code through the compiler's parser,
4643
# not just through cpp. "Syntax error" is here to catch this case.
4644
cat >conftest.$ac_ext <<_ACEOF
4647
cat confdefs.h >>conftest.$ac_ext
4648
cat >>conftest.$ac_ext <<_ACEOF
4649
/* end confdefs.h. */
4651
# include <limits.h>
4653
# include <assert.h>
4657
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4658
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4660
grep -v '^ *+' conftest.er1 >conftest.err
4662
cat conftest.err >&5
4663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664
(exit $ac_status); } >/dev/null; then
4665
if test -s conftest.err; then
4666
ac_cpp_err=$ac_c_preproc_warn_flag
4667
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4674
if test -z "$ac_cpp_err"; then
4677
echo "$as_me: failed program was:" >&5
4678
sed 's/^/| /' conftest.$ac_ext >&5
4680
# Broken: fails on valid input.
4683
rm -f conftest.err conftest.$ac_ext
4685
# OK, works on sane cases. Now check whether non-existent headers
4686
# can be detected and how.
4687
cat >conftest.$ac_ext <<_ACEOF
4690
cat confdefs.h >>conftest.$ac_ext
4691
cat >>conftest.$ac_ext <<_ACEOF
4692
/* end confdefs.h. */
4693
#include <ac_nonexistent.h>
4695
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4696
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4698
grep -v '^ *+' conftest.er1 >conftest.err
4700
cat conftest.err >&5
4701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702
(exit $ac_status); } >/dev/null; then
4703
if test -s conftest.err; then
4704
ac_cpp_err=$ac_c_preproc_warn_flag
4705
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4712
if test -z "$ac_cpp_err"; then
4713
# Broken: success on invalid input.
4716
echo "$as_me: failed program was:" >&5
4717
sed 's/^/| /' conftest.$ac_ext >&5
4719
# Passes both tests.
4723
rm -f conftest.err conftest.$ac_ext
4726
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4727
rm -f conftest.err conftest.$ac_ext
4728
if $ac_preproc_ok; then
4731
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4732
See \`config.log' for more details." >&5
4733
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4734
See \`config.log' for more details." >&2;}
4735
{ (exit 1); exit 1; }; }
4739
ac_cpp='$CPP $CPPFLAGS'
4740
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745
echo "$as_me:$LINENO: checking for egrep" >&5
4746
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4747
if test "${ac_cv_prog_egrep+set}" = set; then
4748
echo $ECHO_N "(cached) $ECHO_C" >&6
4750
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4751
then ac_cv_prog_egrep='grep -E'
4752
else ac_cv_prog_egrep='egrep'
4755
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4756
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4757
EGREP=$ac_cv_prog_egrep
4760
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4761
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4762
if test "${ac_cv_header_stdc+set}" = set; then
4763
echo $ECHO_N "(cached) $ECHO_C" >&6
4765
cat >conftest.$ac_ext <<_ACEOF
4768
cat confdefs.h >>conftest.$ac_ext
4769
cat >>conftest.$ac_ext <<_ACEOF
4770
/* end confdefs.h. */
4784
rm -f conftest.$ac_objext
4785
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786
(eval $ac_compile) 2>conftest.er1
4788
grep -v '^ *+' conftest.er1 >conftest.err
4790
cat conftest.err >&5
4791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792
(exit $ac_status); } &&
4793
{ ac_try='test -z "$ac_c_werror_flag"
4794
|| test ! -s conftest.err'
4795
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799
(exit $ac_status); }; } &&
4800
{ ac_try='test -s conftest.$ac_objext'
4801
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805
(exit $ac_status); }; }; then
4806
ac_cv_header_stdc=yes
4808
echo "$as_me: failed program was:" >&5
4809
sed 's/^/| /' conftest.$ac_ext >&5
4811
ac_cv_header_stdc=no
4813
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4815
if test $ac_cv_header_stdc = yes; then
4816
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4817
cat >conftest.$ac_ext <<_ACEOF
4820
cat confdefs.h >>conftest.$ac_ext
4821
cat >>conftest.$ac_ext <<_ACEOF
4822
/* end confdefs.h. */
4826
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4827
$EGREP "memchr" >/dev/null 2>&1; then
4830
ac_cv_header_stdc=no
4836
if test $ac_cv_header_stdc = yes; then
4837
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4838
cat >conftest.$ac_ext <<_ACEOF
4841
cat confdefs.h >>conftest.$ac_ext
4842
cat >>conftest.$ac_ext <<_ACEOF
4843
/* end confdefs.h. */
4847
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4848
$EGREP "free" >/dev/null 2>&1; then
4851
ac_cv_header_stdc=no
4857
if test $ac_cv_header_stdc = yes; then
4858
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4859
if test "$cross_compiling" = yes; then
4862
cat >conftest.$ac_ext <<_ACEOF
4865
cat confdefs.h >>conftest.$ac_ext
4866
cat >>conftest.$ac_ext <<_ACEOF
4867
/* end confdefs.h. */
4869
#if ((' ' & 0x0FF) == 0x020)
4870
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4871
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4873
# define ISLOWER(c) \
4874
(('a' <= (c) && (c) <= 'i') \
4875
|| ('j' <= (c) && (c) <= 'r') \
4876
|| ('s' <= (c) && (c) <= 'z'))
4877
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4880
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4885
for (i = 0; i < 256; i++)
4886
if (XOR (islower (i), ISLOWER (i))
4887
|| toupper (i) != TOUPPER (i))
4892
rm -f conftest$ac_exeext
4893
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4894
(eval $ac_link) 2>&5
4896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4898
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902
(exit $ac_status); }; }; then
4905
echo "$as_me: program exited with status $ac_status" >&5
4906
echo "$as_me: failed program was:" >&5
4907
sed 's/^/| /' conftest.$ac_ext >&5
4910
ac_cv_header_stdc=no
4912
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4916
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4917
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4918
if test $ac_cv_header_stdc = yes; then
4920
cat >>confdefs.h <<\_ACEOF
4921
#define STDC_HEADERS 1
4926
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4936
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4937
inttypes.h stdint.h unistd.h
4939
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4940
echo "$as_me:$LINENO: checking for $ac_header" >&5
4941
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4942
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4943
echo $ECHO_N "(cached) $ECHO_C" >&6
4945
cat >conftest.$ac_ext <<_ACEOF
4948
cat confdefs.h >>conftest.$ac_ext
4949
cat >>conftest.$ac_ext <<_ACEOF
4950
/* end confdefs.h. */
4951
$ac_includes_default
4953
#include <$ac_header>
4955
rm -f conftest.$ac_objext
4956
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4957
(eval $ac_compile) 2>conftest.er1
4959
grep -v '^ *+' conftest.er1 >conftest.err
4961
cat conftest.err >&5
4962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
(exit $ac_status); } &&
4964
{ ac_try='test -z "$ac_c_werror_flag"
4965
|| test ! -s conftest.err'
4966
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970
(exit $ac_status); }; } &&
4971
{ ac_try='test -s conftest.$ac_objext'
4972
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976
(exit $ac_status); }; }; then
4977
eval "$as_ac_Header=yes"
4979
echo "$as_me: failed program was:" >&5
4980
sed 's/^/| /' conftest.$ac_ext >&5
4982
eval "$as_ac_Header=no"
4984
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4986
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4987
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4988
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4989
cat >>confdefs.h <<_ACEOF
4990
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5000
for ac_header in stdlib.h unistd.h
5002
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5003
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5004
echo "$as_me:$LINENO: checking for $ac_header" >&5
5005
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5006
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5007
echo $ECHO_N "(cached) $ECHO_C" >&6
5009
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5010
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5012
# Is the header compilable?
5013
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5014
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5015
cat >conftest.$ac_ext <<_ACEOF
5018
cat confdefs.h >>conftest.$ac_ext
5019
cat >>conftest.$ac_ext <<_ACEOF
5020
/* end confdefs.h. */
5021
$ac_includes_default
5022
#include <$ac_header>
5024
rm -f conftest.$ac_objext
5025
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5026
(eval $ac_compile) 2>conftest.er1
5028
grep -v '^ *+' conftest.er1 >conftest.err
5030
cat conftest.err >&5
5031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032
(exit $ac_status); } &&
5033
{ ac_try='test -z "$ac_c_werror_flag"
5034
|| test ! -s conftest.err'
5035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039
(exit $ac_status); }; } &&
5040
{ ac_try='test -s conftest.$ac_objext'
5041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045
(exit $ac_status); }; }; then
5046
ac_header_compiler=yes
5048
echo "$as_me: failed program was:" >&5
5049
sed 's/^/| /' conftest.$ac_ext >&5
5051
ac_header_compiler=no
5053
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5054
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5055
echo "${ECHO_T}$ac_header_compiler" >&6
5057
# Is the header present?
5058
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5059
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5060
cat >conftest.$ac_ext <<_ACEOF
5063
cat confdefs.h >>conftest.$ac_ext
5064
cat >>conftest.$ac_ext <<_ACEOF
5065
/* end confdefs.h. */
5066
#include <$ac_header>
5068
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5069
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5071
grep -v '^ *+' conftest.er1 >conftest.err
5073
cat conftest.err >&5
5074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075
(exit $ac_status); } >/dev/null; then
5076
if test -s conftest.err; then
5077
ac_cpp_err=$ac_c_preproc_warn_flag
5078
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5085
if test -z "$ac_cpp_err"; then
5086
ac_header_preproc=yes
5088
echo "$as_me: failed program was:" >&5
5089
sed 's/^/| /' conftest.$ac_ext >&5
5091
ac_header_preproc=no
5093
rm -f conftest.err conftest.$ac_ext
5094
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5095
echo "${ECHO_T}$ac_header_preproc" >&6
5097
# So? What about this header?
5098
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5100
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5101
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5102
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5103
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5104
ac_header_preproc=yes
5107
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5108
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5109
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5110
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5111
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5112
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5113
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5114
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5115
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5116
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5117
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5118
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5121
## ------------------------------------------------- ##
5122
## Report this to mpg123-devel@lists.sourceforge.net ##
5123
## ------------------------------------------------- ##
5126
sed "s/^/$as_me: WARNING: /" >&2
5129
echo "$as_me:$LINENO: checking for $ac_header" >&5
5130
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5131
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5132
echo $ECHO_N "(cached) $ECHO_C" >&6
5134
eval "$as_ac_Header=\$ac_header_preproc"
5136
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5137
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5140
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5141
cat >>confdefs.h <<_ACEOF
5142
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5150
for ac_func in getpagesize
5152
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5153
echo "$as_me:$LINENO: checking for $ac_func" >&5
5154
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5155
if eval "test \"\${$as_ac_var+set}\" = set"; then
5156
echo $ECHO_N "(cached) $ECHO_C" >&6
5158
cat >conftest.$ac_ext <<_ACEOF
5161
cat confdefs.h >>conftest.$ac_ext
5162
cat >>conftest.$ac_ext <<_ACEOF
5163
/* end confdefs.h. */
5164
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5165
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5166
#define $ac_func innocuous_$ac_func
5168
/* System header to define __stub macros and hopefully few prototypes,
5169
which can conflict with char $ac_func (); below.
5170
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171
<limits.h> exists even on freestanding compilers. */
5174
# include <limits.h>
5176
# include <assert.h>
5181
/* Override any gcc2 internal prototype to avoid an error. */
5186
/* We use char because int might match the return type of a gcc2
5187
builtin and then its argument prototype would still apply. */
5189
/* The GNU C library defines this for functions which it implements
5190
to always fail with ENOSYS. Some functions are actually named
5191
something starting with __ and the normal name is an alias. */
5192
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5195
char (*f) () = $ac_func;
5204
return f != $ac_func;
5209
rm -f conftest.$ac_objext conftest$ac_exeext
5210
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5211
(eval $ac_link) 2>conftest.er1
5213
grep -v '^ *+' conftest.er1 >conftest.err
5215
cat conftest.err >&5
5216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217
(exit $ac_status); } &&
5218
{ ac_try='test -z "$ac_c_werror_flag"
5219
|| test ! -s conftest.err'
5220
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224
(exit $ac_status); }; } &&
5225
{ ac_try='test -s conftest$ac_exeext'
5226
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230
(exit $ac_status); }; }; then
5231
eval "$as_ac_var=yes"
5233
echo "$as_me: failed program was:" >&5
5234
sed 's/^/| /' conftest.$ac_ext >&5
5236
eval "$as_ac_var=no"
5238
rm -f conftest.err conftest.$ac_objext \
5239
conftest$ac_exeext conftest.$ac_ext
5241
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5242
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5243
if test `eval echo '${'$as_ac_var'}'` = yes; then
5244
cat >>confdefs.h <<_ACEOF
5245
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5251
echo "$as_me:$LINENO: checking for working mmap" >&5
5252
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5253
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5254
echo $ECHO_N "(cached) $ECHO_C" >&6
5256
if test "$cross_compiling" = yes; then
5257
ac_cv_func_mmap_fixed_mapped=no
5259
cat >conftest.$ac_ext <<_ACEOF
5262
cat confdefs.h >>conftest.$ac_ext
5263
cat >>conftest.$ac_ext <<_ACEOF
5264
/* end confdefs.h. */
5265
$ac_includes_default
5266
/* malloc might have been renamed as rpl_malloc. */
5269
/* Thanks to Mike Haertel and Jim Avera for this test.
5270
Here is a matrix of mmap possibilities:
5271
mmap private not fixed
5272
mmap private fixed at somewhere currently unmapped
5273
mmap private fixed at somewhere already mapped
5274
mmap shared not fixed
5275
mmap shared fixed at somewhere currently unmapped
5276
mmap shared fixed at somewhere already mapped
5277
For private mappings, we should verify that changes cannot be read()
5278
back from the file, nor mmap's back from the file at a different
5279
address. (There have been systems where private was not correctly
5280
implemented like the infamous i386 svr4.0, and systems where the
5281
VM page cache was not coherent with the file system buffer cache
5282
like early versions of FreeBSD and possibly contemporary NetBSD.)
5283
For shared mappings, we should conversely verify that changes get
5284
propagated back to all the places they're supposed to be.
5286
Grep wants private fixed already mapped.
5287
The main things grep needs to know about mmap are:
5288
* does it exist and is it safe to write into the mmap'd area
5289
* how to use it (BSD variants) */
5292
#include <sys/mman.h>
5294
#if !STDC_HEADERS && !HAVE_STDLIB_H
5298
/* This mess was copied from the GNU getpagesize.h. */
5299
#if !HAVE_GETPAGESIZE
5300
/* Assume that all systems that can run configure have sys/param.h. */
5301
# if !HAVE_SYS_PARAM_H
5302
# define HAVE_SYS_PARAM_H 1
5305
# ifdef _SC_PAGESIZE
5306
# define getpagesize() sysconf(_SC_PAGESIZE)
5307
# else /* no _SC_PAGESIZE */
5308
# if HAVE_SYS_PARAM_H
5309
# include <sys/param.h>
5310
# ifdef EXEC_PAGESIZE
5311
# define getpagesize() EXEC_PAGESIZE
5312
# else /* no EXEC_PAGESIZE */
5314
# define getpagesize() NBPG * CLSIZE
5317
# endif /* no CLSIZE */
5318
# else /* no NBPG */
5320
# define getpagesize() NBPC
5321
# else /* no NBPC */
5323
# define getpagesize() PAGESIZE
5324
# endif /* PAGESIZE */
5325
# endif /* no NBPC */
5326
# endif /* no NBPG */
5327
# endif /* no EXEC_PAGESIZE */
5328
# else /* no HAVE_SYS_PARAM_H */
5329
# define getpagesize() 8192 /* punt totally */
5330
# endif /* no HAVE_SYS_PARAM_H */
5331
# endif /* no _SC_PAGESIZE */
5333
#endif /* no HAVE_GETPAGESIZE */
5338
char *data, *data2, *data3;
5342
pagesize = getpagesize ();
5344
/* First, make a file with some known garbage in it. */
5345
data = (char *) malloc (pagesize);
5348
for (i = 0; i < pagesize; ++i)
5349
*(data + i) = rand ();
5351
fd = creat ("conftest.mmap", 0600);
5354
if (write (fd, data, pagesize) != pagesize)
5358
/* Next, try to mmap the file at a fixed address which already has
5359
something else allocated at it. If we can, also make sure that
5360
we see the same garbage. */
5361
fd = open ("conftest.mmap", O_RDWR);
5364
data2 = (char *) malloc (2 * pagesize);
5367
data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5368
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5369
MAP_PRIVATE | MAP_FIXED, fd, 0L))
5371
for (i = 0; i < pagesize; ++i)
5372
if (*(data + i) != *(data2 + i))
5375
/* Finally, make sure that changes to the mapped area do not
5376
percolate back to the file as seen by read(). (This is a bug on
5377
some variants of i386 svr4.0.) */
5378
for (i = 0; i < pagesize; ++i)
5379
*(data2 + i) = *(data2 + i) + 1;
5380
data3 = (char *) malloc (pagesize);
5383
if (read (fd, data3, pagesize) != pagesize)
5385
for (i = 0; i < pagesize; ++i)
5386
if (*(data + i) != *(data3 + i))
5392
rm -f conftest$ac_exeext
5393
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5394
(eval $ac_link) 2>&5
5396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5398
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
(exit $ac_status); }; }; then
5403
ac_cv_func_mmap_fixed_mapped=yes
5405
echo "$as_me: program exited with status $ac_status" >&5
5406
echo "$as_me: failed program was:" >&5
5407
sed 's/^/| /' conftest.$ac_ext >&5
5410
ac_cv_func_mmap_fixed_mapped=no
5412
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5415
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5416
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5417
if test $ac_cv_func_mmap_fixed_mapped = yes; then
5419
cat >>confdefs.h <<\_ACEOF
5427
# Check for sched_setscheduler
5429
for ac_func in sched_setscheduler
5431
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5432
echo "$as_me:$LINENO: checking for $ac_func" >&5
5433
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5434
if eval "test \"\${$as_ac_var+set}\" = set"; then
5435
echo $ECHO_N "(cached) $ECHO_C" >&6
5437
cat >conftest.$ac_ext <<_ACEOF
5440
cat confdefs.h >>conftest.$ac_ext
5441
cat >>conftest.$ac_ext <<_ACEOF
5442
/* end confdefs.h. */
5443
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5444
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5445
#define $ac_func innocuous_$ac_func
5447
/* System header to define __stub macros and hopefully few prototypes,
5448
which can conflict with char $ac_func (); below.
5449
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5450
<limits.h> exists even on freestanding compilers. */
5453
# include <limits.h>
5455
# include <assert.h>
5460
/* Override any gcc2 internal prototype to avoid an error. */
5465
/* We use char because int might match the return type of a gcc2
5466
builtin and then its argument prototype would still apply. */
5468
/* The GNU C library defines this for functions which it implements
5469
to always fail with ENOSYS. Some functions are actually named
5470
something starting with __ and the normal name is an alias. */
5471
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5474
char (*f) () = $ac_func;
5483
return f != $ac_func;
5488
rm -f conftest.$ac_objext conftest$ac_exeext
5489
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5490
(eval $ac_link) 2>conftest.er1
5492
grep -v '^ *+' conftest.er1 >conftest.err
5494
cat conftest.err >&5
5495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496
(exit $ac_status); } &&
5497
{ ac_try='test -z "$ac_c_werror_flag"
5498
|| test ! -s conftest.err'
5499
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503
(exit $ac_status); }; } &&
5504
{ ac_try='test -s conftest$ac_exeext'
5505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509
(exit $ac_status); }; }; then
5510
eval "$as_ac_var=yes"
5512
echo "$as_me: failed program was:" >&5
5513
sed 's/^/| /' conftest.$ac_ext >&5
5515
eval "$as_ac_var=no"
5517
rm -f conftest.err conftest.$ac_objext \
5518
conftest$ac_exeext conftest.$ac_ext
5520
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5521
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5522
if test `eval echo '${'$as_ac_var'}'` = yes; then
5523
cat >>confdefs.h <<_ACEOF
5524
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5531
# Check for setpriority
5533
for ac_func in setpriority
5535
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5536
echo "$as_me:$LINENO: checking for $ac_func" >&5
5537
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5538
if eval "test \"\${$as_ac_var+set}\" = set"; then
5539
echo $ECHO_N "(cached) $ECHO_C" >&6
5541
cat >conftest.$ac_ext <<_ACEOF
5544
cat confdefs.h >>conftest.$ac_ext
5545
cat >>conftest.$ac_ext <<_ACEOF
5546
/* end confdefs.h. */
5547
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5548
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5549
#define $ac_func innocuous_$ac_func
5551
/* System header to define __stub macros and hopefully few prototypes,
5552
which can conflict with char $ac_func (); below.
5553
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5554
<limits.h> exists even on freestanding compilers. */
5557
# include <limits.h>
5559
# include <assert.h>
5564
/* Override any gcc2 internal prototype to avoid an error. */
5569
/* We use char because int might match the return type of a gcc2
5570
builtin and then its argument prototype would still apply. */
5572
/* The GNU C library defines this for functions which it implements
5573
to always fail with ENOSYS. Some functions are actually named
5574
something starting with __ and the normal name is an alias. */
5575
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5578
char (*f) () = $ac_func;
5587
return f != $ac_func;
5592
rm -f conftest.$ac_objext conftest$ac_exeext
5593
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5594
(eval $ac_link) 2>conftest.er1
5596
grep -v '^ *+' conftest.er1 >conftest.err
5598
cat conftest.err >&5
5599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600
(exit $ac_status); } &&
5601
{ ac_try='test -z "$ac_c_werror_flag"
5602
|| test ! -s conftest.err'
5603
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607
(exit $ac_status); }; } &&
5608
{ ac_try='test -s conftest$ac_exeext'
5609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613
(exit $ac_status); }; }; then
5614
eval "$as_ac_var=yes"
5616
echo "$as_me: failed program was:" >&5
5617
sed 's/^/| /' conftest.$ac_ext >&5
5619
eval "$as_ac_var=no"
5621
rm -f conftest.err conftest.$ac_objext \
5622
conftest$ac_exeext conftest.$ac_ext
5624
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5625
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5626
if test `eval echo '${'$as_ac_var'}'` = yes; then
5627
cat >>confdefs.h <<_ACEOF
5628
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5638
# Checks for libraries.
5640
echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5641
echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5642
if test "${ac_cv_lib_m_sqrt+set}" = set; then
5643
echo $ECHO_N "(cached) $ECHO_C" >&6
5645
ac_check_lib_save_LIBS=$LIBS
5647
cat >conftest.$ac_ext <<_ACEOF
5650
cat confdefs.h >>conftest.$ac_ext
5651
cat >>conftest.$ac_ext <<_ACEOF
5652
/* end confdefs.h. */
5654
/* Override any gcc2 internal prototype to avoid an error. */
5658
/* We use char because int might match the return type of a gcc2
5659
builtin and then its argument prototype would still apply. */
5669
rm -f conftest.$ac_objext conftest$ac_exeext
5670
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5671
(eval $ac_link) 2>conftest.er1
5673
grep -v '^ *+' conftest.er1 >conftest.err
5675
cat conftest.err >&5
5676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
(exit $ac_status); } &&
5678
{ ac_try='test -z "$ac_c_werror_flag"
5679
|| test ! -s conftest.err'
5680
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684
(exit $ac_status); }; } &&
5685
{ ac_try='test -s conftest$ac_exeext'
5686
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
(exit $ac_status); }; }; then
5691
ac_cv_lib_m_sqrt=yes
5693
echo "$as_me: failed program was:" >&5
5694
sed 's/^/| /' conftest.$ac_ext >&5
5698
rm -f conftest.err conftest.$ac_objext \
5699
conftest$ac_exeext conftest.$ac_ext
5700
LIBS=$ac_check_lib_save_LIBS
5702
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5703
echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5704
if test $ac_cv_lib_m_sqrt = yes; then
5705
cat >>confdefs.h <<_ACEOF
5714
echo "$as_me:$LINENO: checking for powf in -lmx" >&5
5715
echo $ECHO_N "checking for powf in -lmx... $ECHO_C" >&6
5716
if test "${ac_cv_lib_mx_powf+set}" = set; then
5717
echo $ECHO_N "(cached) $ECHO_C" >&6
5719
ac_check_lib_save_LIBS=$LIBS
5721
cat >conftest.$ac_ext <<_ACEOF
5724
cat confdefs.h >>conftest.$ac_ext
5725
cat >>conftest.$ac_ext <<_ACEOF
5726
/* end confdefs.h. */
5728
/* Override any gcc2 internal prototype to avoid an error. */
5732
/* We use char because int might match the return type of a gcc2
5733
builtin and then its argument prototype would still apply. */
5743
rm -f conftest.$ac_objext conftest$ac_exeext
5744
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5745
(eval $ac_link) 2>conftest.er1
5747
grep -v '^ *+' conftest.er1 >conftest.err
5749
cat conftest.err >&5
5750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751
(exit $ac_status); } &&
5752
{ ac_try='test -z "$ac_c_werror_flag"
5753
|| test ! -s conftest.err'
5754
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
(exit $ac_status); }; } &&
5759
{ ac_try='test -s conftest$ac_exeext'
5760
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764
(exit $ac_status); }; }; then
5765
ac_cv_lib_mx_powf=yes
5767
echo "$as_me: failed program was:" >&5
5768
sed 's/^/| /' conftest.$ac_ext >&5
5770
ac_cv_lib_mx_powf=no
5772
rm -f conftest.err conftest.$ac_objext \
5773
conftest$ac_exeext conftest.$ac_ext
5774
LIBS=$ac_check_lib_save_LIBS
5776
echo "$as_me:$LINENO: result: $ac_cv_lib_mx_powf" >&5
5777
echo "${ECHO_T}$ac_cv_lib_mx_powf" >&6
5778
if test $ac_cv_lib_mx_powf = yes; then
5779
cat >>confdefs.h <<_ACEOF
5780
#define HAVE_LIBMX 1
5792
if test -z "$PKG_CONFIG"; then
5793
# Extract the first word of "pkg-config", so it can be a program name with args.
5794
set dummy pkg-config; ac_word=$2
5795
echo "$as_me:$LINENO: checking for $ac_word" >&5
5796
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5797
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5798
echo $ECHO_N "(cached) $ECHO_C" >&6
5802
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809
test -z "$as_dir" && as_dir=.
5810
for ac_exec_ext in '' $ac_executable_extensions; do
5811
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5813
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5819
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5823
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5825
if test -n "$PKG_CONFIG"; then
5826
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5827
echo "${ECHO_T}$PKG_CONFIG" >&6
5829
echo "$as_me:$LINENO: result: no" >&5
5830
echo "${ECHO_T}no" >&6
5835
if test "$PKG_CONFIG" = "no" ; then
5836
echo "*** The pkg-config script could not be found. Make sure it is"
5837
echo "*** in your path, or set the PKG_CONFIG environment variable"
5838
echo "*** to the full path to pkg-config."
5839
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5841
PKG_CONFIG_MIN_VERSION=0.9.0
5842
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5843
echo "$as_me:$LINENO: checking for jack" >&5
5844
echo $ECHO_N "checking for jack... $ECHO_C" >&6
5846
if $PKG_CONFIG --exists "jack" ; then
5847
echo "$as_me:$LINENO: result: yes" >&5
5848
echo "${ECHO_T}yes" >&6
5851
echo "$as_me:$LINENO: checking JACK_CFLAGS" >&5
5852
echo $ECHO_N "checking JACK_CFLAGS... $ECHO_C" >&6
5853
JACK_CFLAGS=`$PKG_CONFIG --cflags "jack"`
5854
echo "$as_me:$LINENO: result: $JACK_CFLAGS" >&5
5855
echo "${ECHO_T}$JACK_CFLAGS" >&6
5857
echo "$as_me:$LINENO: checking JACK_LIBS" >&5
5858
echo $ECHO_N "checking JACK_LIBS... $ECHO_C" >&6
5859
JACK_LIBS=`$PKG_CONFIG --libs "jack"`
5860
echo "$as_me:$LINENO: result: $JACK_LIBS" >&5
5861
echo "${ECHO_T}$JACK_LIBS" >&6
5865
## If we have a custom action on failure, don't print errors, but
5866
## do set a variable so people can do so.
5867
JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack"`
5874
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5875
echo "*** See http://www.freedesktop.org/software/pkgconfig"
5879
if test $succeeded = yes; then
5890
if test -z "$PKG_CONFIG"; then
5891
# Extract the first word of "pkg-config", so it can be a program name with args.
5892
set dummy pkg-config; ac_word=$2
5893
echo "$as_me:$LINENO: checking for $ac_word" >&5
5894
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5895
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5896
echo $ECHO_N "(cached) $ECHO_C" >&6
5900
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907
test -z "$as_dir" && as_dir=.
5908
for ac_exec_ext in '' $ac_executable_extensions; do
5909
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5911
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5921
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5923
if test -n "$PKG_CONFIG"; then
5924
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5925
echo "${ECHO_T}$PKG_CONFIG" >&6
5927
echo "$as_me:$LINENO: result: no" >&5
5928
echo "${ECHO_T}no" >&6
5933
if test "$PKG_CONFIG" = "no" ; then
5934
echo "*** The pkg-config script could not be found. Make sure it is"
5935
echo "*** in your path, or set the PKG_CONFIG environment variable"
5936
echo "*** to the full path to pkg-config."
5937
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5939
PKG_CONFIG_MIN_VERSION=0.9.0
5940
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5941
echo "$as_me:$LINENO: checking for esound" >&5
5942
echo $ECHO_N "checking for esound... $ECHO_C" >&6
5944
if $PKG_CONFIG --exists "esound" ; then
5945
echo "$as_me:$LINENO: result: yes" >&5
5946
echo "${ECHO_T}yes" >&6
5949
echo "$as_me:$LINENO: checking ESOUND_CFLAGS" >&5
5950
echo $ECHO_N "checking ESOUND_CFLAGS... $ECHO_C" >&6
5951
ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound"`
5952
echo "$as_me:$LINENO: result: $ESOUND_CFLAGS" >&5
5953
echo "${ECHO_T}$ESOUND_CFLAGS" >&6
5955
echo "$as_me:$LINENO: checking ESOUND_LIBS" >&5
5956
echo $ECHO_N "checking ESOUND_LIBS... $ECHO_C" >&6
5957
ESOUND_LIBS=`$PKG_CONFIG --libs "esound"`
5958
echo "$as_me:$LINENO: result: $ESOUND_LIBS" >&5
5959
echo "${ECHO_T}$ESOUND_LIBS" >&6
5963
## If we have a custom action on failure, don't print errors, but
5964
## do set a variable so people can do so.
5965
ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
5972
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5973
echo "*** See http://www.freedesktop.org/software/pkgconfig"
5977
if test $succeeded = yes; then
5988
if test -z "$PKG_CONFIG"; then
5989
# Extract the first word of "pkg-config", so it can be a program name with args.
5990
set dummy pkg-config; ac_word=$2
5991
echo "$as_me:$LINENO: checking for $ac_word" >&5
5992
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5993
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5994
echo $ECHO_N "(cached) $ECHO_C" >&6
5998
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005
test -z "$as_dir" && as_dir=.
6006
for ac_exec_ext in '' $ac_executable_extensions; do
6007
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6008
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6009
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6019
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6021
if test -n "$PKG_CONFIG"; then
6022
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6023
echo "${ECHO_T}$PKG_CONFIG" >&6
6025
echo "$as_me:$LINENO: result: no" >&5
6026
echo "${ECHO_T}no" >&6
6031
if test "$PKG_CONFIG" = "no" ; then
6032
echo "*** The pkg-config script could not be found. Make sure it is"
6033
echo "*** in your path, or set the PKG_CONFIG environment variable"
6034
echo "*** to the full path to pkg-config."
6035
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6037
PKG_CONFIG_MIN_VERSION=0.9.0
6038
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6039
echo "$as_me:$LINENO: checking for sdl" >&5
6040
echo $ECHO_N "checking for sdl... $ECHO_C" >&6
6042
if $PKG_CONFIG --exists "sdl" ; then
6043
echo "$as_me:$LINENO: result: yes" >&5
6044
echo "${ECHO_T}yes" >&6
6047
echo "$as_me:$LINENO: checking SDL_CFLAGS" >&5
6048
echo $ECHO_N "checking SDL_CFLAGS... $ECHO_C" >&6
6049
SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl"`
6050
echo "$as_me:$LINENO: result: $SDL_CFLAGS" >&5
6051
echo "${ECHO_T}$SDL_CFLAGS" >&6
6053
echo "$as_me:$LINENO: checking SDL_LIBS" >&5
6054
echo $ECHO_N "checking SDL_LIBS... $ECHO_C" >&6
6055
SDL_LIBS=`$PKG_CONFIG --libs "sdl"`
6056
echo "$as_me:$LINENO: result: $SDL_LIBS" >&5
6057
echo "${ECHO_T}$SDL_LIBS" >&6
6061
## If we have a custom action on failure, don't print errors, but
6062
## do set a variable so people can do so.
6063
SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl"`
6070
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6071
echo "*** See http://www.freedesktop.org/software/pkgconfig"
6075
if test $succeeded = yes; then
6083
echo "$as_me:$LINENO: checking for AuOpenServer in -laudio" >&5
6084
echo $ECHO_N "checking for AuOpenServer in -laudio... $ECHO_C" >&6
6085
if test "${ac_cv_lib_audio_AuOpenServer+set}" = set; then
6086
echo $ECHO_N "(cached) $ECHO_C" >&6
6088
ac_check_lib_save_LIBS=$LIBS
6089
LIBS="-laudio $LIBS"
6090
cat >conftest.$ac_ext <<_ACEOF
6093
cat confdefs.h >>conftest.$ac_ext
6094
cat >>conftest.$ac_ext <<_ACEOF
6095
/* end confdefs.h. */
6097
/* Override any gcc2 internal prototype to avoid an error. */
6101
/* We use char because int might match the return type of a gcc2
6102
builtin and then its argument prototype would still apply. */
6103
char AuOpenServer ();
6112
rm -f conftest.$ac_objext conftest$ac_exeext
6113
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6114
(eval $ac_link) 2>conftest.er1
6116
grep -v '^ *+' conftest.er1 >conftest.err
6118
cat conftest.err >&5
6119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120
(exit $ac_status); } &&
6121
{ ac_try='test -z "$ac_c_werror_flag"
6122
|| test ! -s conftest.err'
6123
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127
(exit $ac_status); }; } &&
6128
{ ac_try='test -s conftest$ac_exeext'
6129
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133
(exit $ac_status); }; }; then
6134
ac_cv_lib_audio_AuOpenServer=yes
6136
echo "$as_me: failed program was:" >&5
6137
sed 's/^/| /' conftest.$ac_ext >&5
6139
ac_cv_lib_audio_AuOpenServer=no
6141
rm -f conftest.err conftest.$ac_objext \
6142
conftest$ac_exeext conftest.$ac_ext
6143
LIBS=$ac_check_lib_save_LIBS
6145
echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuOpenServer" >&5
6146
echo "${ECHO_T}$ac_cv_lib_audio_AuOpenServer" >&6
6147
if test $ac_cv_lib_audio_AuOpenServer = yes; then
6148
if test "${ac_cv_header_audio_audiolib_h+set}" = set; then
6149
echo "$as_me:$LINENO: checking for audio/audiolib.h" >&5
6150
echo $ECHO_N "checking for audio/audiolib.h... $ECHO_C" >&6
6151
if test "${ac_cv_header_audio_audiolib_h+set}" = set; then
6152
echo $ECHO_N "(cached) $ECHO_C" >&6
6154
echo "$as_me:$LINENO: result: $ac_cv_header_audio_audiolib_h" >&5
6155
echo "${ECHO_T}$ac_cv_header_audio_audiolib_h" >&6
6157
# Is the header compilable?
6158
echo "$as_me:$LINENO: checking audio/audiolib.h usability" >&5
6159
echo $ECHO_N "checking audio/audiolib.h usability... $ECHO_C" >&6
6160
cat >conftest.$ac_ext <<_ACEOF
6163
cat confdefs.h >>conftest.$ac_ext
6164
cat >>conftest.$ac_ext <<_ACEOF
6165
/* end confdefs.h. */
6166
$ac_includes_default
6167
#include <audio/audiolib.h>
6169
rm -f conftest.$ac_objext
6170
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6171
(eval $ac_compile) 2>conftest.er1
6173
grep -v '^ *+' conftest.er1 >conftest.err
6175
cat conftest.err >&5
6176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177
(exit $ac_status); } &&
6178
{ ac_try='test -z "$ac_c_werror_flag"
6179
|| test ! -s conftest.err'
6180
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184
(exit $ac_status); }; } &&
6185
{ ac_try='test -s conftest.$ac_objext'
6186
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190
(exit $ac_status); }; }; then
6191
ac_header_compiler=yes
6193
echo "$as_me: failed program was:" >&5
6194
sed 's/^/| /' conftest.$ac_ext >&5
6196
ac_header_compiler=no
6198
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6199
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6200
echo "${ECHO_T}$ac_header_compiler" >&6
6202
# Is the header present?
6203
echo "$as_me:$LINENO: checking audio/audiolib.h presence" >&5
6204
echo $ECHO_N "checking audio/audiolib.h presence... $ECHO_C" >&6
6205
cat >conftest.$ac_ext <<_ACEOF
6208
cat confdefs.h >>conftest.$ac_ext
6209
cat >>conftest.$ac_ext <<_ACEOF
6210
/* end confdefs.h. */
6211
#include <audio/audiolib.h>
6213
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6214
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6216
grep -v '^ *+' conftest.er1 >conftest.err
6218
cat conftest.err >&5
6219
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220
(exit $ac_status); } >/dev/null; then
6221
if test -s conftest.err; then
6222
ac_cpp_err=$ac_c_preproc_warn_flag
6223
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6230
if test -z "$ac_cpp_err"; then
6231
ac_header_preproc=yes
6233
echo "$as_me: failed program was:" >&5
6234
sed 's/^/| /' conftest.$ac_ext >&5
6236
ac_header_preproc=no
6238
rm -f conftest.err conftest.$ac_ext
6239
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6240
echo "${ECHO_T}$ac_header_preproc" >&6
6242
# So? What about this header?
6243
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6245
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6246
echo "$as_me: WARNING: audio/audiolib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6247
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: proceeding with the compiler's result" >&5
6248
echo "$as_me: WARNING: audio/audiolib.h: proceeding with the compiler's result" >&2;}
6249
ac_header_preproc=yes
6252
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: present but cannot be compiled" >&5
6253
echo "$as_me: WARNING: audio/audiolib.h: present but cannot be compiled" >&2;}
6254
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: check for missing prerequisite headers?" >&5
6255
echo "$as_me: WARNING: audio/audiolib.h: check for missing prerequisite headers?" >&2;}
6256
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: see the Autoconf documentation" >&5
6257
echo "$as_me: WARNING: audio/audiolib.h: see the Autoconf documentation" >&2;}
6258
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: section \"Present But Cannot Be Compiled\"" >&5
6259
echo "$as_me: WARNING: audio/audiolib.h: section \"Present But Cannot Be Compiled\"" >&2;}
6260
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: proceeding with the preprocessor's result" >&5
6261
echo "$as_me: WARNING: audio/audiolib.h: proceeding with the preprocessor's result" >&2;}
6262
{ echo "$as_me:$LINENO: WARNING: audio/audiolib.h: in the future, the compiler will take precedence" >&5
6263
echo "$as_me: WARNING: audio/audiolib.h: in the future, the compiler will take precedence" >&2;}
6266
## ------------------------------------------------- ##
6267
## Report this to mpg123-devel@lists.sourceforge.net ##
6268
## ------------------------------------------------- ##
6271
sed "s/^/$as_me: WARNING: /" >&2
6274
echo "$as_me:$LINENO: checking for audio/audiolib.h" >&5
6275
echo $ECHO_N "checking for audio/audiolib.h... $ECHO_C" >&6
6276
if test "${ac_cv_header_audio_audiolib_h+set}" = set; then
6277
echo $ECHO_N "(cached) $ECHO_C" >&6
6279
ac_cv_header_audio_audiolib_h=$ac_header_preproc
6281
echo "$as_me:$LINENO: result: $ac_cv_header_audio_audiolib_h" >&5
6282
echo "${ECHO_T}$ac_cv_header_audio_audiolib_h" >&6
6285
if test $ac_cv_header_audio_audiolib_h = yes; then
6288
{ echo "$as_me:$LINENO: WARNING: Found NAS library but NOT header files on your system" >&5
6289
echo "$as_me: WARNING: Found NAS library but NOT header files on your system" >&2;}
6298
# Check for PortAudio
6299
echo "$as_me:$LINENO: checking for Pa_Initialize in -lportaudio" >&5
6300
echo $ECHO_N "checking for Pa_Initialize in -lportaudio... $ECHO_C" >&6
6301
if test "${ac_cv_lib_portaudio_Pa_Initialize+set}" = set; then
6302
echo $ECHO_N "(cached) $ECHO_C" >&6
6304
ac_check_lib_save_LIBS=$LIBS
6305
LIBS="-lportaudio $LIBS"
6306
cat >conftest.$ac_ext <<_ACEOF
6309
cat confdefs.h >>conftest.$ac_ext
6310
cat >>conftest.$ac_ext <<_ACEOF
6311
/* end confdefs.h. */
6313
/* Override any gcc2 internal prototype to avoid an error. */
6317
/* We use char because int might match the return type of a gcc2
6318
builtin and then its argument prototype would still apply. */
6319
char Pa_Initialize ();
6328
rm -f conftest.$ac_objext conftest$ac_exeext
6329
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6330
(eval $ac_link) 2>conftest.er1
6332
grep -v '^ *+' conftest.er1 >conftest.err
6334
cat conftest.err >&5
6335
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336
(exit $ac_status); } &&
6337
{ ac_try='test -z "$ac_c_werror_flag"
6338
|| test ! -s conftest.err'
6339
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343
(exit $ac_status); }; } &&
6344
{ ac_try='test -s conftest$ac_exeext'
6345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349
(exit $ac_status); }; }; then
6350
ac_cv_lib_portaudio_Pa_Initialize=yes
6352
echo "$as_me: failed program was:" >&5
6353
sed 's/^/| /' conftest.$ac_ext >&5
6355
ac_cv_lib_portaudio_Pa_Initialize=no
6357
rm -f conftest.err conftest.$ac_objext \
6358
conftest$ac_exeext conftest.$ac_ext
6359
LIBS=$ac_check_lib_save_LIBS
6361
echo "$as_me:$LINENO: result: $ac_cv_lib_portaudio_Pa_Initialize" >&5
6362
echo "${ECHO_T}$ac_cv_lib_portaudio_Pa_Initialize" >&6
6363
if test $ac_cv_lib_portaudio_Pa_Initialize = yes; then
6364
if test "${ac_cv_header_portaudio_h+set}" = set; then
6365
echo "$as_me:$LINENO: checking for portaudio.h" >&5
6366
echo $ECHO_N "checking for portaudio.h... $ECHO_C" >&6
6367
if test "${ac_cv_header_portaudio_h+set}" = set; then
6368
echo $ECHO_N "(cached) $ECHO_C" >&6
6370
echo "$as_me:$LINENO: result: $ac_cv_header_portaudio_h" >&5
6371
echo "${ECHO_T}$ac_cv_header_portaudio_h" >&6
6373
# Is the header compilable?
6374
echo "$as_me:$LINENO: checking portaudio.h usability" >&5
6375
echo $ECHO_N "checking portaudio.h usability... $ECHO_C" >&6
6376
cat >conftest.$ac_ext <<_ACEOF
6379
cat confdefs.h >>conftest.$ac_ext
6380
cat >>conftest.$ac_ext <<_ACEOF
6381
/* end confdefs.h. */
6382
$ac_includes_default
6383
#include <portaudio.h>
6385
rm -f conftest.$ac_objext
6386
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6387
(eval $ac_compile) 2>conftest.er1
6389
grep -v '^ *+' conftest.er1 >conftest.err
6391
cat conftest.err >&5
6392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393
(exit $ac_status); } &&
6394
{ ac_try='test -z "$ac_c_werror_flag"
6395
|| test ! -s conftest.err'
6396
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400
(exit $ac_status); }; } &&
6401
{ ac_try='test -s conftest.$ac_objext'
6402
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406
(exit $ac_status); }; }; then
6407
ac_header_compiler=yes
6409
echo "$as_me: failed program was:" >&5
6410
sed 's/^/| /' conftest.$ac_ext >&5
6412
ac_header_compiler=no
6414
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6415
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6416
echo "${ECHO_T}$ac_header_compiler" >&6
6418
# Is the header present?
6419
echo "$as_me:$LINENO: checking portaudio.h presence" >&5
6420
echo $ECHO_N "checking portaudio.h presence... $ECHO_C" >&6
6421
cat >conftest.$ac_ext <<_ACEOF
6424
cat confdefs.h >>conftest.$ac_ext
6425
cat >>conftest.$ac_ext <<_ACEOF
6426
/* end confdefs.h. */
6427
#include <portaudio.h>
6429
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6430
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6432
grep -v '^ *+' conftest.er1 >conftest.err
6434
cat conftest.err >&5
6435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436
(exit $ac_status); } >/dev/null; then
6437
if test -s conftest.err; then
6438
ac_cpp_err=$ac_c_preproc_warn_flag
6439
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6446
if test -z "$ac_cpp_err"; then
6447
ac_header_preproc=yes
6449
echo "$as_me: failed program was:" >&5
6450
sed 's/^/| /' conftest.$ac_ext >&5
6452
ac_header_preproc=no
6454
rm -f conftest.err conftest.$ac_ext
6455
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6456
echo "${ECHO_T}$ac_header_preproc" >&6
6458
# So? What about this header?
6459
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6461
{ echo "$as_me:$LINENO: WARNING: portaudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
6462
echo "$as_me: WARNING: portaudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6463
{ echo "$as_me:$LINENO: WARNING: portaudio.h: proceeding with the compiler's result" >&5
6464
echo "$as_me: WARNING: portaudio.h: proceeding with the compiler's result" >&2;}
6465
ac_header_preproc=yes
6468
{ echo "$as_me:$LINENO: WARNING: portaudio.h: present but cannot be compiled" >&5
6469
echo "$as_me: WARNING: portaudio.h: present but cannot be compiled" >&2;}
6470
{ echo "$as_me:$LINENO: WARNING: portaudio.h: check for missing prerequisite headers?" >&5
6471
echo "$as_me: WARNING: portaudio.h: check for missing prerequisite headers?" >&2;}
6472
{ echo "$as_me:$LINENO: WARNING: portaudio.h: see the Autoconf documentation" >&5
6473
echo "$as_me: WARNING: portaudio.h: see the Autoconf documentation" >&2;}
6474
{ echo "$as_me:$LINENO: WARNING: portaudio.h: section \"Present But Cannot Be Compiled\"" >&5
6475
echo "$as_me: WARNING: portaudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
6476
{ echo "$as_me:$LINENO: WARNING: portaudio.h: proceeding with the preprocessor's result" >&5
6477
echo "$as_me: WARNING: portaudio.h: proceeding with the preprocessor's result" >&2;}
6478
{ echo "$as_me:$LINENO: WARNING: portaudio.h: in the future, the compiler will take precedence" >&5
6479
echo "$as_me: WARNING: portaudio.h: in the future, the compiler will take precedence" >&2;}
6482
## ------------------------------------------------- ##
6483
## Report this to mpg123-devel@lists.sourceforge.net ##
6484
## ------------------------------------------------- ##
6487
sed "s/^/$as_me: WARNING: /" >&2
6490
echo "$as_me:$LINENO: checking for portaudio.h" >&5
6491
echo $ECHO_N "checking for portaudio.h... $ECHO_C" >&6
6492
if test "${ac_cv_header_portaudio_h+set}" = set; then
6493
echo $ECHO_N "(cached) $ECHO_C" >&6
6495
ac_cv_header_portaudio_h=$ac_header_preproc
6497
echo "$as_me:$LINENO: result: $ac_cv_header_portaudio_h" >&5
6498
echo "${ECHO_T}$ac_cv_header_portaudio_h" >&6
6501
if test $ac_cv_header_portaudio_h = yes; then
6502
HAVE_PORTAUDIO="yes"
6504
{ echo "$as_me:$LINENO: WARNING: Found PortAudio library but NOT header files on your system" >&5
6505
echo "$as_me: WARNING: Found PortAudio library but NOT header files on your system" >&2;}
6515
echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
6516
echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
6517
if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
6518
echo $ECHO_N "(cached) $ECHO_C" >&6
6520
ac_check_lib_save_LIBS=$LIBS
6521
LIBS="-lasound $LIBS"
6522
cat >conftest.$ac_ext <<_ACEOF
6525
cat confdefs.h >>conftest.$ac_ext
6526
cat >>conftest.$ac_ext <<_ACEOF
6527
/* end confdefs.h. */
6529
/* Override any gcc2 internal prototype to avoid an error. */
6533
/* We use char because int might match the return type of a gcc2
6534
builtin and then its argument prototype would still apply. */
6535
char snd_pcm_open ();
6544
rm -f conftest.$ac_objext conftest$ac_exeext
6545
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6546
(eval $ac_link) 2>conftest.er1
6548
grep -v '^ *+' conftest.er1 >conftest.err
6550
cat conftest.err >&5
6551
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552
(exit $ac_status); } &&
6553
{ ac_try='test -z "$ac_c_werror_flag"
6554
|| test ! -s conftest.err'
6555
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559
(exit $ac_status); }; } &&
6560
{ ac_try='test -s conftest$ac_exeext'
6561
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565
(exit $ac_status); }; }; then
6566
ac_cv_lib_asound_snd_pcm_open=yes
6568
echo "$as_me: failed program was:" >&5
6569
sed 's/^/| /' conftest.$ac_ext >&5
6571
ac_cv_lib_asound_snd_pcm_open=no
6573
rm -f conftest.err conftest.$ac_objext \
6574
conftest$ac_exeext conftest.$ac_ext
6575
LIBS=$ac_check_lib_save_LIBS
6577
echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
6578
echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
6579
if test $ac_cv_lib_asound_snd_pcm_open = yes; then
6580
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6581
echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6582
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
6583
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6584
echo $ECHO_N "(cached) $ECHO_C" >&6
6586
echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6587
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
6589
# Is the header compilable?
6590
echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
6591
echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
6592
cat >conftest.$ac_ext <<_ACEOF
6595
cat confdefs.h >>conftest.$ac_ext
6596
cat >>conftest.$ac_ext <<_ACEOF
6597
/* end confdefs.h. */
6598
$ac_includes_default
6599
#include <alsa/asoundlib.h>
6601
rm -f conftest.$ac_objext
6602
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6603
(eval $ac_compile) 2>conftest.er1
6605
grep -v '^ *+' conftest.er1 >conftest.err
6607
cat conftest.err >&5
6608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609
(exit $ac_status); } &&
6610
{ ac_try='test -z "$ac_c_werror_flag"
6611
|| test ! -s conftest.err'
6612
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616
(exit $ac_status); }; } &&
6617
{ ac_try='test -s conftest.$ac_objext'
6618
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622
(exit $ac_status); }; }; then
6623
ac_header_compiler=yes
6625
echo "$as_me: failed program was:" >&5
6626
sed 's/^/| /' conftest.$ac_ext >&5
6628
ac_header_compiler=no
6630
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6631
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6632
echo "${ECHO_T}$ac_header_compiler" >&6
6634
# Is the header present?
6635
echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
6636
echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
6637
cat >conftest.$ac_ext <<_ACEOF
6640
cat confdefs.h >>conftest.$ac_ext
6641
cat >>conftest.$ac_ext <<_ACEOF
6642
/* end confdefs.h. */
6643
#include <alsa/asoundlib.h>
6645
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6646
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6648
grep -v '^ *+' conftest.er1 >conftest.err
6650
cat conftest.err >&5
6651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652
(exit $ac_status); } >/dev/null; then
6653
if test -s conftest.err; then
6654
ac_cpp_err=$ac_c_preproc_warn_flag
6655
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6662
if test -z "$ac_cpp_err"; then
6663
ac_header_preproc=yes
6665
echo "$as_me: failed program was:" >&5
6666
sed 's/^/| /' conftest.$ac_ext >&5
6668
ac_header_preproc=no
6670
rm -f conftest.err conftest.$ac_ext
6671
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6672
echo "${ECHO_T}$ac_header_preproc" >&6
6674
# So? What about this header?
6675
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6677
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6678
echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6679
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
6680
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
6681
ac_header_preproc=yes
6684
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
6685
echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
6686
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
6687
echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
6688
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
6689
echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
6690
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
6691
echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
6692
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6693
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6694
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
6695
echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
6698
## ------------------------------------------------- ##
6699
## Report this to mpg123-devel@lists.sourceforge.net ##
6700
## ------------------------------------------------- ##
6703
sed "s/^/$as_me: WARNING: /" >&2
6706
echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6707
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
6708
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6709
echo $ECHO_N "(cached) $ECHO_C" >&6
6711
ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
6713
echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6714
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
6717
if test $ac_cv_header_alsa_asoundlib_h = yes; then
6720
{ echo "$as_me:$LINENO: WARNING: Found ALSA library but NOT header files on your system" >&5
6721
echo "$as_me: WARNING: Found ALSA library but NOT header files on your system" >&2;}
6732
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6733
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6734
if test "${ac_cv_header_stdc+set}" = set; then
6735
echo $ECHO_N "(cached) $ECHO_C" >&6
6737
cat >conftest.$ac_ext <<_ACEOF
6740
cat confdefs.h >>conftest.$ac_ext
6741
cat >>conftest.$ac_ext <<_ACEOF
6742
/* end confdefs.h. */
6756
rm -f conftest.$ac_objext
6757
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6758
(eval $ac_compile) 2>conftest.er1
6760
grep -v '^ *+' conftest.er1 >conftest.err
6762
cat conftest.err >&5
6763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764
(exit $ac_status); } &&
6765
{ ac_try='test -z "$ac_c_werror_flag"
6766
|| test ! -s conftest.err'
6767
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771
(exit $ac_status); }; } &&
6772
{ ac_try='test -s conftest.$ac_objext'
6773
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777
(exit $ac_status); }; }; then
6778
ac_cv_header_stdc=yes
6780
echo "$as_me: failed program was:" >&5
6781
sed 's/^/| /' conftest.$ac_ext >&5
6783
ac_cv_header_stdc=no
6785
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6787
if test $ac_cv_header_stdc = yes; then
6788
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6789
cat >conftest.$ac_ext <<_ACEOF
6792
cat confdefs.h >>conftest.$ac_ext
6793
cat >>conftest.$ac_ext <<_ACEOF
6794
/* end confdefs.h. */
6798
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6799
$EGREP "memchr" >/dev/null 2>&1; then
6802
ac_cv_header_stdc=no
6808
if test $ac_cv_header_stdc = yes; then
6809
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6810
cat >conftest.$ac_ext <<_ACEOF
6813
cat confdefs.h >>conftest.$ac_ext
6814
cat >>conftest.$ac_ext <<_ACEOF
6815
/* end confdefs.h. */
6819
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6820
$EGREP "free" >/dev/null 2>&1; then
6823
ac_cv_header_stdc=no
6829
if test $ac_cv_header_stdc = yes; then
6830
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6831
if test "$cross_compiling" = yes; then
6834
cat >conftest.$ac_ext <<_ACEOF
6837
cat confdefs.h >>conftest.$ac_ext
6838
cat >>conftest.$ac_ext <<_ACEOF
6839
/* end confdefs.h. */
6841
#if ((' ' & 0x0FF) == 0x020)
6842
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6845
# define ISLOWER(c) \
6846
(('a' <= (c) && (c) <= 'i') \
6847
|| ('j' <= (c) && (c) <= 'r') \
6848
|| ('s' <= (c) && (c) <= 'z'))
6849
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6852
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6857
for (i = 0; i < 256; i++)
6858
if (XOR (islower (i), ISLOWER (i))
6859
|| toupper (i) != TOUPPER (i))
6864
rm -f conftest$ac_exeext
6865
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6866
(eval $ac_link) 2>&5
6868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6870
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874
(exit $ac_status); }; }; then
6877
echo "$as_me: program exited with status $ac_status" >&5
6878
echo "$as_me: failed program was:" >&5
6879
sed 's/^/| /' conftest.$ac_ext >&5
6882
ac_cv_header_stdc=no
6884
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6888
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6889
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6890
if test $ac_cv_header_stdc = yes; then
6892
cat >>confdefs.h <<\_ACEOF
6893
#define STDC_HEADERS 1
6905
for ac_header in stdlib.h string.h unistd.h sched.h sys/ioctl.h stdint.h limits.h
6907
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6908
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6909
echo "$as_me:$LINENO: checking for $ac_header" >&5
6910
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6911
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6912
echo $ECHO_N "(cached) $ECHO_C" >&6
6914
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6915
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6917
# Is the header compilable?
6918
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6919
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6920
cat >conftest.$ac_ext <<_ACEOF
6923
cat confdefs.h >>conftest.$ac_ext
6924
cat >>conftest.$ac_ext <<_ACEOF
6925
/* end confdefs.h. */
6926
$ac_includes_default
6927
#include <$ac_header>
6929
rm -f conftest.$ac_objext
6930
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6931
(eval $ac_compile) 2>conftest.er1
6933
grep -v '^ *+' conftest.er1 >conftest.err
6935
cat conftest.err >&5
6936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937
(exit $ac_status); } &&
6938
{ ac_try='test -z "$ac_c_werror_flag"
6939
|| test ! -s conftest.err'
6940
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944
(exit $ac_status); }; } &&
6945
{ ac_try='test -s conftest.$ac_objext'
6946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950
(exit $ac_status); }; }; then
6951
ac_header_compiler=yes
6953
echo "$as_me: failed program was:" >&5
6954
sed 's/^/| /' conftest.$ac_ext >&5
6956
ac_header_compiler=no
6958
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6959
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6960
echo "${ECHO_T}$ac_header_compiler" >&6
6962
# Is the header present?
6963
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6964
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6965
cat >conftest.$ac_ext <<_ACEOF
6968
cat confdefs.h >>conftest.$ac_ext
6969
cat >>conftest.$ac_ext <<_ACEOF
6970
/* end confdefs.h. */
6971
#include <$ac_header>
6973
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6974
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6976
grep -v '^ *+' conftest.er1 >conftest.err
6978
cat conftest.err >&5
6979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980
(exit $ac_status); } >/dev/null; then
6981
if test -s conftest.err; then
6982
ac_cpp_err=$ac_c_preproc_warn_flag
6983
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6990
if test -z "$ac_cpp_err"; then
6991
ac_header_preproc=yes
6993
echo "$as_me: failed program was:" >&5
6994
sed 's/^/| /' conftest.$ac_ext >&5
6996
ac_header_preproc=no
6998
rm -f conftest.err conftest.$ac_ext
6999
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7000
echo "${ECHO_T}$ac_header_preproc" >&6
7002
# So? What about this header?
7003
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7005
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7006
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7007
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7008
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7009
ac_header_preproc=yes
7012
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7013
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7014
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7015
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7016
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7017
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7018
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7019
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7020
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7021
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7022
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7023
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7026
## ------------------------------------------------- ##
7027
## Report this to mpg123-devel@lists.sourceforge.net ##
7028
## ------------------------------------------------- ##
7031
sed "s/^/$as_me: WARNING: /" >&2
7034
echo "$as_me:$LINENO: checking for $ac_header" >&5
7035
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7036
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7037
echo $ECHO_N "(cached) $ECHO_C" >&6
7039
eval "$as_ac_Header=\$ac_header_preproc"
7041
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7042
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7045
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7046
cat >>confdefs.h <<_ACEOF
7047
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7060
for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h
7062
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7063
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7064
echo "$as_me:$LINENO: checking for $ac_header" >&5
7065
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7066
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7067
echo $ECHO_N "(cached) $ECHO_C" >&6
7069
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7070
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7072
# Is the header compilable?
7073
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7074
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7075
cat >conftest.$ac_ext <<_ACEOF
7078
cat confdefs.h >>conftest.$ac_ext
7079
cat >>conftest.$ac_ext <<_ACEOF
7080
/* end confdefs.h. */
7081
$ac_includes_default
7082
#include <$ac_header>
7084
rm -f conftest.$ac_objext
7085
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7086
(eval $ac_compile) 2>conftest.er1
7088
grep -v '^ *+' conftest.er1 >conftest.err
7090
cat conftest.err >&5
7091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092
(exit $ac_status); } &&
7093
{ ac_try='test -z "$ac_c_werror_flag"
7094
|| test ! -s conftest.err'
7095
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099
(exit $ac_status); }; } &&
7100
{ ac_try='test -s conftest.$ac_objext'
7101
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105
(exit $ac_status); }; }; then
7106
ac_header_compiler=yes
7108
echo "$as_me: failed program was:" >&5
7109
sed 's/^/| /' conftest.$ac_ext >&5
7111
ac_header_compiler=no
7113
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7114
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7115
echo "${ECHO_T}$ac_header_compiler" >&6
7117
# Is the header present?
7118
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7119
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7120
cat >conftest.$ac_ext <<_ACEOF
7123
cat confdefs.h >>conftest.$ac_ext
7124
cat >>conftest.$ac_ext <<_ACEOF
7125
/* end confdefs.h. */
7126
#include <$ac_header>
7128
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7129
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7131
grep -v '^ *+' conftest.er1 >conftest.err
7133
cat conftest.err >&5
7134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135
(exit $ac_status); } >/dev/null; then
7136
if test -s conftest.err; then
7137
ac_cpp_err=$ac_c_preproc_warn_flag
7138
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7145
if test -z "$ac_cpp_err"; then
7146
ac_header_preproc=yes
7148
echo "$as_me: failed program was:" >&5
7149
sed 's/^/| /' conftest.$ac_ext >&5
7151
ac_header_preproc=no
7153
rm -f conftest.err conftest.$ac_ext
7154
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7155
echo "${ECHO_T}$ac_header_preproc" >&6
7157
# So? What about this header?
7158
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7160
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7161
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7162
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7163
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7164
ac_header_preproc=yes
7167
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7168
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7169
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7170
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7171
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7172
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7173
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7174
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7175
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7176
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7177
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7178
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7181
## ------------------------------------------------- ##
7182
## Report this to mpg123-devel@lists.sourceforge.net ##
7183
## ------------------------------------------------- ##
7186
sed "s/^/$as_me: WARNING: /" >&2
7189
echo "$as_me:$LINENO: checking for $ac_header" >&5
7190
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7191
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7192
echo $ECHO_N "(cached) $ECHO_C" >&6
7194
eval "$as_ac_Header=\$ac_header_preproc"
7196
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7197
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7200
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7201
cat >>confdefs.h <<_ACEOF
7202
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7215
for ac_header in sun/audioio.h sys/audioio.h asm/audioio.h sys/audio.h
7217
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7218
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7219
echo "$as_me:$LINENO: checking for $ac_header" >&5
7220
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7221
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7222
echo $ECHO_N "(cached) $ECHO_C" >&6
7224
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7225
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7227
# Is the header compilable?
7228
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7229
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7230
cat >conftest.$ac_ext <<_ACEOF
7233
cat confdefs.h >>conftest.$ac_ext
7234
cat >>conftest.$ac_ext <<_ACEOF
7235
/* end confdefs.h. */
7236
$ac_includes_default
7237
#include <$ac_header>
7239
rm -f conftest.$ac_objext
7240
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7241
(eval $ac_compile) 2>conftest.er1
7243
grep -v '^ *+' conftest.er1 >conftest.err
7245
cat conftest.err >&5
7246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247
(exit $ac_status); } &&
7248
{ ac_try='test -z "$ac_c_werror_flag"
7249
|| test ! -s conftest.err'
7250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254
(exit $ac_status); }; } &&
7255
{ ac_try='test -s conftest.$ac_objext'
7256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260
(exit $ac_status); }; }; then
7261
ac_header_compiler=yes
7263
echo "$as_me: failed program was:" >&5
7264
sed 's/^/| /' conftest.$ac_ext >&5
7266
ac_header_compiler=no
7268
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7269
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7270
echo "${ECHO_T}$ac_header_compiler" >&6
7272
# Is the header present?
7273
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7274
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7275
cat >conftest.$ac_ext <<_ACEOF
7278
cat confdefs.h >>conftest.$ac_ext
7279
cat >>conftest.$ac_ext <<_ACEOF
7280
/* end confdefs.h. */
7281
#include <$ac_header>
7283
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7284
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7286
grep -v '^ *+' conftest.er1 >conftest.err
7288
cat conftest.err >&5
7289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290
(exit $ac_status); } >/dev/null; then
7291
if test -s conftest.err; then
7292
ac_cpp_err=$ac_c_preproc_warn_flag
7293
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7300
if test -z "$ac_cpp_err"; then
7301
ac_header_preproc=yes
7303
echo "$as_me: failed program was:" >&5
7304
sed 's/^/| /' conftest.$ac_ext >&5
7306
ac_header_preproc=no
7308
rm -f conftest.err conftest.$ac_ext
7309
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7310
echo "${ECHO_T}$ac_header_preproc" >&6
7312
# So? What about this header?
7313
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7315
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7316
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7317
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7318
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7319
ac_header_preproc=yes
7322
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7323
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7324
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7325
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7326
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7327
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7328
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7329
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7330
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7331
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7332
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7333
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7336
## ------------------------------------------------- ##
7337
## Report this to mpg123-devel@lists.sourceforge.net ##
7338
## ------------------------------------------------- ##
7341
sed "s/^/$as_me: WARNING: /" >&2
7344
echo "$as_me:$LINENO: checking for $ac_header" >&5
7345
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7346
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7347
echo $ECHO_N "(cached) $ECHO_C" >&6
7349
eval "$as_ac_Header=\$ac_header_preproc"
7351
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7352
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7355
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7356
cat >>confdefs.h <<_ACEOF
7357
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7367
for ac_header in CoreAudio/CoreAudio.h
7369
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7370
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7371
echo "$as_me:$LINENO: checking for $ac_header" >&5
7372
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7373
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7374
echo $ECHO_N "(cached) $ECHO_C" >&6
7376
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7377
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7379
# Is the header compilable?
7380
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7381
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7382
cat >conftest.$ac_ext <<_ACEOF
7385
cat confdefs.h >>conftest.$ac_ext
7386
cat >>conftest.$ac_ext <<_ACEOF
7387
/* end confdefs.h. */
7388
$ac_includes_default
7389
#include <$ac_header>
7391
rm -f conftest.$ac_objext
7392
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7393
(eval $ac_compile) 2>conftest.er1
7395
grep -v '^ *+' conftest.er1 >conftest.err
7397
cat conftest.err >&5
7398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399
(exit $ac_status); } &&
7400
{ ac_try='test -z "$ac_c_werror_flag"
7401
|| test ! -s conftest.err'
7402
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406
(exit $ac_status); }; } &&
7407
{ ac_try='test -s conftest.$ac_objext'
7408
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412
(exit $ac_status); }; }; then
7413
ac_header_compiler=yes
7415
echo "$as_me: failed program was:" >&5
7416
sed 's/^/| /' conftest.$ac_ext >&5
7418
ac_header_compiler=no
7420
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7421
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7422
echo "${ECHO_T}$ac_header_compiler" >&6
7424
# Is the header present?
7425
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7426
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7427
cat >conftest.$ac_ext <<_ACEOF
7430
cat confdefs.h >>conftest.$ac_ext
7431
cat >>conftest.$ac_ext <<_ACEOF
7432
/* end confdefs.h. */
7433
#include <$ac_header>
7435
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7436
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7438
grep -v '^ *+' conftest.er1 >conftest.err
7440
cat conftest.err >&5
7441
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442
(exit $ac_status); } >/dev/null; then
7443
if test -s conftest.err; then
7444
ac_cpp_err=$ac_c_preproc_warn_flag
7445
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7452
if test -z "$ac_cpp_err"; then
7453
ac_header_preproc=yes
7455
echo "$as_me: failed program was:" >&5
7456
sed 's/^/| /' conftest.$ac_ext >&5
7458
ac_header_preproc=no
7460
rm -f conftest.err conftest.$ac_ext
7461
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7462
echo "${ECHO_T}$ac_header_preproc" >&6
7464
# So? What about this header?
7465
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7467
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7468
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7469
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7470
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7471
ac_header_preproc=yes
7474
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7475
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7476
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7477
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7478
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7479
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7480
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7481
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7482
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7483
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7484
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7485
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7488
## ------------------------------------------------- ##
7489
## Report this to mpg123-devel@lists.sourceforge.net ##
7490
## ------------------------------------------------- ##
7493
sed "s/^/$as_me: WARNING: /" >&2
7496
echo "$as_me:$LINENO: checking for $ac_header" >&5
7497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7498
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7499
echo $ECHO_N "(cached) $ECHO_C" >&6
7501
eval "$as_ac_Header=\$ac_header_preproc"
7503
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7504
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7507
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7508
cat >>confdefs.h <<_ACEOF
7509
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7523
CFLAGS="$CFLAGS -Wall"
7526
# If debugging is enabled then make warnings errors
7527
if test "$debugging" = "enabled"; then
7528
CFLAGS="$CFLAGS -g -Werror -pedantic"
7534
cpu_type="generic_nofpu"
7549
cpu_type="generic_fpu"
7552
cpu_type="generic_fpu"
7558
cpu_type="generic_fpu"
7561
cpu_type="generic_fpu"
7562
LIBS="$LIBS -lsocket -lnsl"
7565
{ echo "$as_me:$LINENO: WARNING: Unknown target operating system" >&5
7566
echo "$as_me: WARNING: Unknown target operating system" >&2;}
7567
cpu_type="generic_fpu"
7568
CFLAGS="$CFLAGS -DGENERIC"
7573
if test "x$with_cpu" != "x"; then
7580
CFLAGS="$CFLAGS -DREAL_IS_FLOAT"
7583
CFLAGS="$CFLAGS -DREAL_IS_FLOAT"
7586
CFLAGS="$CFLAGS -DREAL_IS_FIXED"
7589
CFLAGS="$CFLAGS -maltivec -DREAL_IS_FLOAT"
7592
CFLAGS="$CFLAGS -march=i386 -DI386_ASSEM -DREAL_IS_FLOAT"
7595
CFLAGS="$CFLAGS -march=i386 -DI386_ASSEM -DREAL_IS_FLOAT"
7598
CFLAGS="$CFLAGS -march=i386 -DI386_ASSEM -DREAL_IS_FIXED"
7601
CFLAGS="$CFLAGS -march=i486 -DI386_ASSEM -DI486_OPT -DREAL_IS_FLOAT"
7604
CFLAGS="$CFLAGS -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT"
7607
CFLAGS="$CFLAGS -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT"
7610
CFLAGS="$CFLAGS -DUSE_3DNOW -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT"
7613
CFLAGS="$CFLAGS -DUSE_MMX -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT"
7616
{ { echo "$as_me:$LINENO: error: Unknown CPU type '$cpu_type'" >&5
7617
echo "$as_me: error: Unknown CPU type '$cpu_type'" >&2;}
7618
{ (exit 1); exit 1; }; }
7622
CPU_TYPE_LIB="libcpu_$cpu_type.a"
7630
if test "x$with_optimization" == "x"; then
7631
if test "$debugging" = "enabled"; then
7632
with_optimization="0"
7634
with_optimization="2"
7638
case $with_optimization in
7647
CFLAGS="$CFLAGS -O2"
7648
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-all-loops"
7649
CFLAGS="$CFLAGS -finline-functions -ffast-math"
7652
CFLAGS="$CFLAGS -O3"
7653
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-all-loops"
7654
CFLAGS="$CFLAGS -finline-functions -ffast-math"
7657
CFLAGS="$CFLAGS -O4"
7658
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-all-loops"
7659
CFLAGS="$CFLAGS -finline-functions -ffast-math"
7662
{ { echo "$as_me:$LINENO: error: Unknown optimizations level '$with_optimization'" >&5
7663
echo "$as_me: error: Unknown optimizations level '$with_optimization'" >&2;}
7664
{ (exit 1); exit 1; }; }
7669
if test "x$with_seektable" == "x"; then
7672
seektable=$with_seektable
7676
cat >>confdefs.h <<_ACEOF
7677
#define INDEX_SIZE $seektable
7682
# Choose audio subsystem based on Operating System
7685
if test "x$HAVE_ALSA" = "xyes" ; then
7695
audio_system="macosx"
7701
audio_system="dummy"
7705
# Did user choose other audio type ?
7706
if test "x$with_audio" != "x"; then
7707
audio_system=$with_audio
7712
AUDIO_OBJ="audio_$audio_system.\$(OBJEXT)"
7716
case $audio_system in
7718
# Currently unsupported in the new build system
7721
# Currently unsupported in the new build system
7722
AUDIO_CFLAGS="-I/opt/audio/include"
7725
if test "x$HAVE_ALSA" != "xyes" ; then
7726
{ { echo "$as_me:$LINENO: error: ALSA is not available for audio output subsystem. " >&5
7727
echo "$as_me: error: ALSA is not available for audio output subsystem. " >&2;}
7728
{ (exit 1); exit 1; }; }
7731
AUDIO_LIBS="-lasound"
7734
{ echo "$as_me:$LINENO: WARNING: Using dummy audio output. " >&5
7735
echo "$as_me: WARNING: Using dummy audio output. " >&2;}
7738
if test "x$HAVE_ESD" != "xyes" ; then
7739
{ { echo "$as_me:$LINENO: error: ESounD is not available for audio output subsystem. " >&5
7740
echo "$as_me: error: ESounD is not available for audio output subsystem. " >&2;}
7741
{ (exit 1); exit 1; }; }
7743
AUDIO_CFLAGS=$ESOUND_CFLAGS
7744
AUDIO_LIBS=$ESOUND_LIBS
7747
# Currently unsupported in the new build system
7748
AUDIO_CFLAGS="-I/opt/audio/include"
7749
AUDIO_LIBS="-L/opt/audio/lib -lAlib"
7752
if test "x$HAVE_JACK" != "xyes" ; then
7753
{ { echo "$as_me:$LINENO: error: JACK is not available for audio output subsystem. " >&5
7754
echo "$as_me: error: JACK is not available for audio output subsystem. " >&2;}
7755
{ (exit 1); exit 1; }; }
7757
AUDIO_CFLAGS=$JACK_CFLAGS
7758
AUDIO_LIBS=$JACK_LIBS
7761
if test "x$HAVE_COREAUDIO" != "xyes" ; then
7762
{ { echo "$as_me:$LINENO: error: Can't find Mac OS X's CoreAudio header files " >&5
7763
echo "$as_me: error: Can't find Mac OS X's CoreAudio header files " >&2;}
7764
{ (exit 1); exit 1; }; }
7766
AUDIO_LIBS="-framework CoreAudio"
7769
# Currently unsupported in the new build system
7772
if test "x$HAVE_NAS" != "xyes" ; then
7773
{ { echo "$as_me:$LINENO: error: NAS (Network Audio System) is not available. " >&5
7774
echo "$as_me: error: NAS (Network Audio System) is not available. " >&2;}
7775
{ (exit 1); exit 1; }; }
7778
AUDIO_LIBS="-laudio"
7781
# Currently unsupported in the new build system
7784
if test "x${ac_cv_header_sys_soundcard_h}" = "xyes" \
7785
-o "x${ac_cv_header_linux_soundcard_h}" = "xyes" \
7786
-o "x${ac_cv_header_machine_soundcard_h}" = "xyes";
7791
{ { echo "$as_me:$LINENO: error: Can't find OSS header files" >&5
7792
echo "$as_me: error: Can't find OSS header files" >&2;}
7793
{ (exit 1); exit 1; }; }
7797
if test "x$HAVE_PORTAUDIO" != "xyes" ; then
7798
{ { echo "$as_me:$LINENO: error: PortAudio is not available. " >&5
7799
echo "$as_me: error: PortAudio is not available. " >&2;}
7800
{ (exit 1); exit 1; }; }
7803
AUDIO_LIBS="-lportaudio"
7806
if test "x$HAVE_SDL" != "xyes" ; then
7807
{ { echo "$as_me:$LINENO: error: SDL is not available for audio output subsystem. " >&5
7808
echo "$as_me: error: SDL is not available for audio output subsystem. " >&2;}
7809
{ (exit 1); exit 1; }; }
7811
AUDIO_CFLAGS=$SDL_CFLAGS
7812
AUDIO_LIBS=$SDL_LIBS
7815
# Currently unsupported in the new build system
7818
if test "x${ac_cv_header_sun_audioio_h}" = "xyes" \
7819
-o "x${ac_cv_header_sys_audioio_h}" = "xyes" \
7820
-o "x${ac_cv_header_asm_audioio_h}" = "xyes";
7825
{ { echo "$as_me:$LINENO: error: Can't find Sun Audio header files" >&5
7826
echo "$as_me: error: Can't find Sun Audio header files" >&2;}
7827
{ (exit 1); exit 1; }; }
7831
{ { echo "$as_me:$LINENO: error: Unknown Audio sub-system '$audio_system'." >&5
7832
echo "$as_me: error: Unknown Audio sub-system '$audio_system'." >&2;}
7833
{ (exit 1); exit 1; }; }
7844
ac_config_files="$ac_config_files Makefile src/Makefile"
7845
cat >confcache <<\_ACEOF
7846
# This file is a shell script that caches the results of configure
7847
# tests run on this system so they can be shared between configure
7848
# scripts and configure runs, see configure's option --config-cache.
7849
# It is not useful on other systems. If it contains results you don't
7850
# want to keep, you may remove or edit it.
7852
# config.status only pays attention to the cache file if you give it
7853
# the --recheck option to rerun configure.
7855
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7856
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7861
# The following way of writing the cache mishandles newlines in values,
7862
# but we know of no workaround that is simple, portable, and efficient.
7863
# So, don't put newlines in cache variables' values.
7864
# Ultrix sh set writes to stderr and can't be redirected directly,
7865
# and sets the high bit in the cache file unless we assign to the vars.
7868
case `(ac_space=' '; set | grep ac_space) 2>&1` in
7870
# `set' does not quote correctly, so add quotes (double-quote
7871
# substitution turns \\\\ into \\, and sed turns \\ into \).
7874
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7877
# `set' quotes correctly as required by POSIX, so do not add quotes.
7879
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7886
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7888
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7890
if diff $cache_file confcache >/dev/null 2>&1; then :; else
7891
if test -w $cache_file; then
7892
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7893
cat confcache >$cache_file
7895
echo "not updating unwritable cache $cache_file"
7900
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7901
# Let make expand exec_prefix.
7902
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7904
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7905
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7906
# trailing colons and then remove the whole line if VPATH becomes empty
7907
# (actually we leave an empty line to preserve line numbers).
7908
if test "x$srcdir" = x.; then
7909
ac_vpsub='/^[ ]*VPATH[ ]*=/{
7910
s/:*\$(srcdir):*/:/;
7911
s/:*\${srcdir}:*/:/;
7913
s/^\([^=]*=[ ]*\):*/\1/;
7919
DEFS=-DHAVE_CONFIG_H
7923
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7924
# 1. Remove the extension, and $U if already installed.
7925
ac_i=`echo "$ac_i" |
7926
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7928
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7929
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7933
LTLIBOBJS=$ac_ltlibobjs
7936
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7937
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7938
Usually this means the macro was only invoked conditionally." >&5
7939
echo "$as_me: error: conditional \"AMDEP\" was never defined.
7940
Usually this means the macro was only invoked conditionally." >&2;}
7941
{ (exit 1); exit 1; }; }
7943
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7944
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7945
Usually this means the macro was only invoked conditionally." >&5
7946
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7947
Usually this means the macro was only invoked conditionally." >&2;}
7948
{ (exit 1); exit 1; }; }
7950
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7951
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7952
Usually this means the macro was only invoked conditionally." >&5
7953
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7954
Usually this means the macro was only invoked conditionally." >&2;}
7955
{ (exit 1); exit 1; }; }
7958
: ${CONFIG_STATUS=./config.status}
7959
ac_clean_files_save=$ac_clean_files
7960
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7961
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7962
echo "$as_me: creating $CONFIG_STATUS" >&6;}
7963
cat >$CONFIG_STATUS <<_ACEOF
7965
# Generated by $as_me.
7966
# Run this file to recreate the current configuration.
7967
# Compiler output produced by configure, useful for debugging
7968
# configure, is in config.log if it exists.
7973
SHELL=\${CONFIG_SHELL-$SHELL}
7976
cat >>$CONFIG_STATUS <<\_ACEOF
7977
## --------------------- ##
7978
## M4sh Initialization. ##
7979
## --------------------- ##
7981
# Be Bourne compatible
7982
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7985
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7986
# is contrary to our usage. Disable this feature.
7987
alias -g '${1+"$@"}'='"$@"'
7988
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7991
DUALCASE=1; export DUALCASE # for MKS sh
7993
# Support unset when possible.
7994
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8001
# Work around bugs in pre-3.0 UWIN ksh.
8002
$as_unset ENV MAIL MAILPATH
8009
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8010
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8011
LC_TELEPHONE LC_TIME
8013
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8014
eval $as_var=C; export $as_var
8020
# Required to use basename.
8021
if expr a : '\(a\)' >/dev/null 2>&1; then
8027
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8028
as_basename=basename
8034
# Name of the executable.
8035
as_me=`$as_basename "$0" ||
8036
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8037
X"$0" : 'X\(//\)$' \| \
8038
X"$0" : 'X\(/\)$' \| \
8039
. : '\(.\)' 2>/dev/null ||
8041
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8042
/^X\/\(\/\/\)$/{ s//\1/; q; }
8043
/^X\/\(\/\).*/{ s//\1/; q; }
8047
# PATH needs CR, and LINENO needs CR and PATH.
8048
# Avoid depending upon Character Ranges.
8049
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8050
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8051
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8052
as_cr_digits='0123456789'
8053
as_cr_alnum=$as_cr_Letters$as_cr_digits
8055
# The user is always right.
8056
if test "${PATH_SEPARATOR+set}" != set; then
8057
echo "#! /bin/sh" >conf$$.sh
8058
echo "exit 0" >>conf$$.sh
8060
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8071
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8072
test "x$as_lineno_1" != "x$as_lineno_2" &&
8073
test "x$as_lineno_3" = "x$as_lineno_2" || {
8074
# Find who we are. Look in the path if we contain no path at all
8077
*[\\/]* ) as_myself=$0 ;;
8078
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082
test -z "$as_dir" && as_dir=.
8083
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8088
# We did not find ourselves, most probably we were run as `sh COMMAND'
8089
# in which case we are not to be found in the path.
8090
if test "x$as_myself" = x; then
8093
if test ! -f "$as_myself"; then
8094
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8095
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8096
{ (exit 1); exit 1; }; }
8098
case $CONFIG_SHELL in
8100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8104
test -z "$as_dir" && as_dir=.
8105
for as_base in sh bash ksh sh5; do
8108
if ("$as_dir/$as_base" -c '
8111
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8112
test "x$as_lineno_1" != "x$as_lineno_2" &&
8113
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8114
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8115
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8116
CONFIG_SHELL=$as_dir/$as_base
8118
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8126
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8127
# uniformly replaced by the line number. The first 'sed' inserts a
8128
# line-number line before each line; the second 'sed' does the real
8129
# work. The second script uses 'N' to pair each line-number line
8130
# with the numbered line, and appends trailing '-' during
8131
# substitution so that $LINENO is not a special case at line end.
8132
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8133
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8134
sed '=' <$as_myself |
8139
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8142
s,^['$as_cr_digits']*\n,,
8144
chmod +x $as_me.lineno ||
8145
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8146
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8147
{ (exit 1); exit 1; }; }
8149
# Don't try to exec as it changes $[0], causing all sort of problems
8150
# (the dirname of $[0] is not the place where we might find the
8151
# original and so on. Autoconf is especially sensible to this).
8153
# Exit status is that of the last command.
8158
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8159
*c*,-n*) ECHO_N= ECHO_C='
8161
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8162
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8165
if expr a : '\(a\)' >/dev/null 2>&1; then
8171
rm -f conf$$ conf$$.exe conf$$.file
8173
if ln -s conf$$.file conf$$ 2>/dev/null; then
8174
# We could just check for DJGPP; but this test a) works b) is more generic
8175
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8176
if test -f conf$$.exe; then
8177
# Don't use ln at all; we don't have any links
8182
elif ln conf$$.file conf$$ 2>/dev/null; then
8187
rm -f conf$$ conf$$.exe conf$$.file
8189
if mkdir -p . 2>/dev/null; then
8192
test -d ./-p && rmdir ./-p
8196
as_executable_p="test -f"
8198
# Sed expression to map a string onto a valid CPP name.
8199
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8201
# Sed expression to map a string onto a valid variable name.
8202
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8206
# We need space, tab and new line, in precisely that order.
8216
# Open the log real soon, to keep \$[0] and so on meaningful, and to
8217
# report actual input values of CONFIG_FILES etc. instead of their
8218
# values after options handling. Logging --version etc. is OK.
8222
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8223
## Running $as_me. ##
8228
This file was extended by mpg123 $as_me 0.60, which was
8229
generated by GNU Autoconf 2.59. Invocation command line was
8231
CONFIG_FILES = $CONFIG_FILES
8232
CONFIG_HEADERS = $CONFIG_HEADERS
8233
CONFIG_LINKS = $CONFIG_LINKS
8234
CONFIG_COMMANDS = $CONFIG_COMMANDS
8238
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8242
# Files that config.status was made for.
8243
if test -n "$ac_config_files"; then
8244
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8247
if test -n "$ac_config_headers"; then
8248
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8251
if test -n "$ac_config_links"; then
8252
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8255
if test -n "$ac_config_commands"; then
8256
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8259
cat >>$CONFIG_STATUS <<\_ACEOF
8262
\`$as_me' instantiates files from templates according to the
8263
current configuration.
8265
Usage: $0 [OPTIONS] [FILE]...
8267
-h, --help print this help, then exit
8268
-V, --version print version number, then exit
8269
-q, --quiet do not print progress messages
8270
-d, --debug don't remove temporary files
8271
--recheck update $as_me by reconfiguring in the same conditions
8272
--file=FILE[:TEMPLATE]
8273
instantiate the configuration file FILE
8274
--header=FILE[:TEMPLATE]
8275
instantiate the configuration header FILE
8277
Configuration files:
8280
Configuration headers:
8283
Configuration commands:
8286
Report bugs to <bug-autoconf@gnu.org>."
8289
cat >>$CONFIG_STATUS <<_ACEOF
8291
mpg123 config.status 0.60
8292
configured by $0, generated by GNU Autoconf 2.59,
8293
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8295
Copyright (C) 2003 Free Software Foundation, Inc.
8296
This config.status script is free software; the Free Software Foundation
8297
gives unlimited permission to copy, distribute and modify it."
8302
cat >>$CONFIG_STATUS <<\_ACEOF
8303
# If no file are specified by the user, then we need to provide default
8304
# value. By we need to know if files were specified by the user.
8310
ac_option=`expr "x$1" : 'x\([^=]*\)='`
8311
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8319
*) # This is not an option, so the user has probably given explicit
8322
ac_need_defaults=false;;
8326
# Handling of the options.
8328
cat >>$CONFIG_STATUS <<\_ACEOF
8329
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8331
--version | --vers* | -V )
8332
echo "$ac_cs_version"; exit 0 ;;
8334
# Conflict between --help and --header
8335
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
8336
Try \`$0 --help' for more information." >&5
8337
echo "$as_me: error: ambiguous option: $1
8338
Try \`$0 --help' for more information." >&2;}
8339
{ (exit 1); exit 1; }; };;
8340
--help | --hel | -h )
8341
echo "$ac_cs_usage"; exit 0 ;;
8342
--debug | --d* | -d )
8344
--file | --fil | --fi | --f )
8346
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8347
ac_need_defaults=false;;
8348
--header | --heade | --head | --hea )
8350
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8351
ac_need_defaults=false;;
8352
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8353
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8357
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8358
Try \`$0 --help' for more information." >&5
8359
echo "$as_me: error: unrecognized option: $1
8360
Try \`$0 --help' for more information." >&2;}
8361
{ (exit 1); exit 1; }; } ;;
8363
*) ac_config_targets="$ac_config_targets $1" ;;
8369
ac_configure_extra_args=
8371
if $ac_cs_silent; then
8373
ac_configure_extra_args="$ac_configure_extra_args --silent"
8377
cat >>$CONFIG_STATUS <<_ACEOF
8378
if \$ac_cs_recheck; then
8379
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8380
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8385
cat >>$CONFIG_STATUS <<_ACEOF
8387
# INIT-COMMANDS section.
8390
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8396
cat >>$CONFIG_STATUS <<\_ACEOF
8397
for ac_config_target in $ac_config_targets
8399
case "$ac_config_target" in
8400
# Handling of arguments.
8401
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8402
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8403
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8404
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8405
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8406
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8407
{ (exit 1); exit 1; }; };;
8411
# If the user did not use the arguments to specify the items to instantiate,
8412
# then the envvar interface is used. Set only those that are not.
8413
# We use the long form for the default assignment because of an extremely
8414
# bizarre bug on SunOS 4.1.3.
8415
if $ac_need_defaults; then
8416
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8417
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8418
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8421
# Have a temporary directory for convenience. Make it in the build tree
8422
# simply because there is no reason to put it here, and in addition,
8423
# creating and moving files from /tmp can sometimes cause problems.
8424
# Create a temporary directory, and hook for its removal unless debugging.
8427
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8428
trap '{ (exit 1); exit 1; }' 1 2 13 15
8431
# Create a (secure) tmp directory for tmp files.
8434
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8435
test -n "$tmp" && test -d "$tmp"
8438
tmp=./confstat$$-$RANDOM
8439
(umask 077 && mkdir $tmp)
8442
echo "$me: cannot create a temporary directory in ." >&2
8443
{ (exit 1); exit 1; }
8448
cat >>$CONFIG_STATUS <<_ACEOF
8451
# CONFIG_FILES section.
8454
# No need to generate the scripts if there are no CONFIG_FILES.
8455
# This happens for instance when ./config.status config.h
8456
if test -n "\$CONFIG_FILES"; then
8457
# Protect against being on the right side of a sed subst in config.status.
8458
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8459
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8460
s,@SHELL@,$SHELL,;t t
8461
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8462
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8463
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8464
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8465
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8466
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8467
s,@exec_prefix@,$exec_prefix,;t t
8468
s,@prefix@,$prefix,;t t
8469
s,@program_transform_name@,$program_transform_name,;t t
8470
s,@bindir@,$bindir,;t t
8471
s,@sbindir@,$sbindir,;t t
8472
s,@libexecdir@,$libexecdir,;t t
8473
s,@datadir@,$datadir,;t t
8474
s,@sysconfdir@,$sysconfdir,;t t
8475
s,@sharedstatedir@,$sharedstatedir,;t t
8476
s,@localstatedir@,$localstatedir,;t t
8477
s,@libdir@,$libdir,;t t
8478
s,@includedir@,$includedir,;t t
8479
s,@oldincludedir@,$oldincludedir,;t t
8480
s,@infodir@,$infodir,;t t
8481
s,@mandir@,$mandir,;t t
8482
s,@build_alias@,$build_alias,;t t
8483
s,@host_alias@,$host_alias,;t t
8484
s,@target_alias@,$target_alias,;t t
8486
s,@ECHO_C@,$ECHO_C,;t t
8487
s,@ECHO_N@,$ECHO_N,;t t
8488
s,@ECHO_T@,$ECHO_T,;t t
8490
s,@build@,$build,;t t
8491
s,@build_cpu@,$build_cpu,;t t
8492
s,@build_vendor@,$build_vendor,;t t
8493
s,@build_os@,$build_os,;t t
8495
s,@host_cpu@,$host_cpu,;t t
8496
s,@host_vendor@,$host_vendor,;t t
8497
s,@host_os@,$host_os,;t t
8498
s,@target@,$target,;t t
8499
s,@target_cpu@,$target_cpu,;t t
8500
s,@target_vendor@,$target_vendor,;t t
8501
s,@target_os@,$target_os,;t t
8502
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8503
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8504
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8505
s,@CYGPATH_W@,$CYGPATH_W,;t t
8506
s,@PACKAGE@,$PACKAGE,;t t
8507
s,@VERSION@,$VERSION,;t t
8508
s,@ACLOCAL@,$ACLOCAL,;t t
8509
s,@AUTOCONF@,$AUTOCONF,;t t
8510
s,@AUTOMAKE@,$AUTOMAKE,;t t
8511
s,@AUTOHEADER@,$AUTOHEADER,;t t
8512
s,@MAKEINFO@,$MAKEINFO,;t t
8513
s,@AMTAR@,$AMTAR,;t t
8514
s,@install_sh@,$install_sh,;t t
8515
s,@STRIP@,$STRIP,;t t
8516
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8517
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8519
s,@SET_MAKE@,$SET_MAKE,;t t
8520
s,@am__leading_dot@,$am__leading_dot,;t t
8522
s,@CFLAGS@,$CFLAGS,;t t
8523
s,@LDFLAGS@,$LDFLAGS,;t t
8524
s,@CPPFLAGS@,$CPPFLAGS,;t t
8525
s,@ac_ct_CC@,$ac_ct_CC,;t t
8526
s,@EXEEXT@,$EXEEXT,;t t
8527
s,@OBJEXT@,$OBJEXT,;t t
8528
s,@DEPDIR@,$DEPDIR,;t t
8529
s,@am__include@,$am__include,;t t
8530
s,@am__quote@,$am__quote,;t t
8531
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8532
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8533
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8534
s,@CCDEPMODE@,$CCDEPMODE,;t t
8535
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8536
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8538
s,@CCASFLAGS@,$CCASFLAGS,;t t
8539
s,@RANLIB@,$RANLIB,;t t
8540
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8542
s,@EGREP@,$EGREP,;t t
8543
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
8544
s,@JACK_CFLAGS@,$JACK_CFLAGS,;t t
8545
s,@JACK_LIBS@,$JACK_LIBS,;t t
8546
s,@ESOUND_CFLAGS@,$ESOUND_CFLAGS,;t t
8547
s,@ESOUND_LIBS@,$ESOUND_LIBS,;t t
8548
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
8549
s,@SDL_LIBS@,$SDL_LIBS,;t t
8550
s,@CPU_TYPE_LIB@,$CPU_TYPE_LIB,;t t
8551
s,@AUDIO_OBJ@,$AUDIO_OBJ,;t t
8552
s,@AUDIO_CFLAGS@,$AUDIO_CFLAGS,;t t
8553
s,@AUDIO_LIBS@,$AUDIO_LIBS,;t t
8554
s,@LIBOBJS@,$LIBOBJS,;t t
8555
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8560
cat >>$CONFIG_STATUS <<\_ACEOF
8561
# Split the substitutions into bite-sized pieces for seds with
8562
# small command number limits, like on Digital OSF/1 and HP-UX.
8564
ac_sed_frag=1 # Number of current file.
8565
ac_beg=1 # First line for current file.
8566
ac_end=$ac_max_sed_lines # Line after last line for current file.
8569
while $ac_more_lines; do
8570
if test $ac_beg -gt 1; then
8571
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8573
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8575
if test ! -s $tmp/subs.frag; then
8578
# The purpose of the label and of the branching condition is to
8579
# speed up the sed processing (if there are no `@' at all, there
8580
# is no need to browse any of the substitutions).
8581
# These are the two extra sed commands mentioned above.
8583
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8584
if test -z "$ac_sed_cmds"; then
8585
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8587
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8589
ac_sed_frag=`expr $ac_sed_frag + 1`
8591
ac_end=`expr $ac_end + $ac_max_sed_lines`
8594
if test -z "$ac_sed_cmds"; then
8597
fi # test -n "$CONFIG_FILES"
8600
cat >>$CONFIG_STATUS <<\_ACEOF
8601
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8602
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8604
- | *:- | *:-:* ) # input from stdin
8606
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8607
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8608
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8609
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8610
* ) ac_file_in=$ac_file.in ;;
8613
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8614
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8615
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8616
X"$ac_file" : 'X\(//\)[^/]' \| \
8617
X"$ac_file" : 'X\(//\)$' \| \
8618
X"$ac_file" : 'X\(/\)' \| \
8619
. : '\(.\)' 2>/dev/null ||
8621
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8622
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8623
/^X\(\/\/\)$/{ s//\1/; q; }
8624
/^X\(\/\).*/{ s//\1/; q; }
8626
{ if $as_mkdir_p; then
8631
while test ! -d "$as_dir"; do
8632
as_dirs="$as_dir $as_dirs"
8633
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8634
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8635
X"$as_dir" : 'X\(//\)[^/]' \| \
8636
X"$as_dir" : 'X\(//\)$' \| \
8637
X"$as_dir" : 'X\(/\)' \| \
8638
. : '\(.\)' 2>/dev/null ||
8640
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8641
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8642
/^X\(\/\/\)$/{ s//\1/; q; }
8643
/^X\(\/\).*/{ s//\1/; q; }
8646
test ! -n "$as_dirs" || mkdir $as_dirs
8647
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8648
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8649
{ (exit 1); exit 1; }; }; }
8653
if test "$ac_dir" != .; then
8654
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8655
# A "../" for each directory in $ac_dir_suffix.
8656
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8658
ac_dir_suffix= ac_top_builddir=
8662
.) # No --srcdir option. We are building in place.
8664
if test -z "$ac_top_builddir"; then
8667
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8669
[\\/]* | ?:[\\/]* ) # Absolute path.
8670
ac_srcdir=$srcdir$ac_dir_suffix;
8671
ac_top_srcdir=$srcdir ;;
8673
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8674
ac_top_srcdir=$ac_top_builddir$srcdir ;;
8677
# Do not use `cd foo && pwd` to compute absolute paths, because
8678
# the directories may not exist.
8680
.) ac_abs_builddir="$ac_dir";;
8683
.) ac_abs_builddir=`pwd`;;
8684
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8685
*) ac_abs_builddir=`pwd`/"$ac_dir";;
8688
case $ac_abs_builddir in
8689
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8691
case ${ac_top_builddir}. in
8692
.) ac_abs_top_builddir=$ac_abs_builddir;;
8693
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8694
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8697
case $ac_abs_builddir in
8698
.) ac_abs_srcdir=$ac_srcdir;;
8701
.) ac_abs_srcdir=$ac_abs_builddir;;
8702
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8703
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8706
case $ac_abs_builddir in
8707
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8709
case $ac_top_srcdir in
8710
.) ac_abs_top_srcdir=$ac_abs_builddir;;
8711
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8712
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8718
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8719
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8722
if test x"$ac_file" != x-; then
8723
{ echo "$as_me:$LINENO: creating $ac_file" >&5
8724
echo "$as_me: creating $ac_file" >&6;}
8727
# Let's still pretend it is `configure' which instantiates (i.e., don't
8728
# use $as_me), people would be surprised to read:
8729
# /* config.h. Generated by config.status. */
8730
if test x"$ac_file" = x-; then
8733
configure_input="$ac_file. "
8735
configure_input=$configure_input"Generated from `echo $ac_file_in |
8736
sed 's,.*/,,'` by configure."
8738
# First look for the input files in the build tree, otherwise in the
8740
ac_file_inputs=`IFS=:
8741
for f in $ac_file_in; do
8743
-) echo $tmp/stdin ;;
8745
# Absolute (can't be DOS-style, as IFS=:)
8746
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8747
echo "$as_me: error: cannot find input file: $f" >&2;}
8748
{ (exit 1); exit 1; }; }
8751
if test -f "$f"; then
8754
elif test -f "$srcdir/$f"; then
8759
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8760
echo "$as_me: error: cannot find input file: $f" >&2;}
8761
{ (exit 1); exit 1; }; }
8764
done` || { (exit 1); exit 1; }
8766
cat >>$CONFIG_STATUS <<_ACEOF
8770
cat >>$CONFIG_STATUS <<\_ACEOF
8772
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8773
s,@configure_input@,$configure_input,;t t
8774
s,@srcdir@,$ac_srcdir,;t t
8775
s,@abs_srcdir@,$ac_abs_srcdir,;t t
8776
s,@top_srcdir@,$ac_top_srcdir,;t t
8777
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8778
s,@builddir@,$ac_builddir,;t t
8779
s,@abs_builddir@,$ac_abs_builddir,;t t
8780
s,@top_builddir@,$ac_top_builddir,;t t
8781
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8782
s,@INSTALL@,$ac_INSTALL,;t t
8783
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8785
if test x"$ac_file" != x-; then
8786
mv $tmp/out $ac_file
8794
cat >>$CONFIG_STATUS <<\_ACEOF
8797
# CONFIG_HEADER section.
8800
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8801
# NAME is the cpp macro being defined and VALUE is the value it is being given.
8803
# ac_d sets the value in "#define NAME VALUE" lines.
8804
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8805
ac_dB='[ ].*$,\1#\2'
8808
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8809
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8810
ac_uB='$,\1#\2define\3'
8814
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8815
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8817
- | *:- | *:-:* ) # input from stdin
8819
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8820
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8821
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8822
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8823
* ) ac_file_in=$ac_file.in ;;
8826
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8827
echo "$as_me: creating $ac_file" >&6;}
8829
# First look for the input files in the build tree, otherwise in the
8831
ac_file_inputs=`IFS=:
8832
for f in $ac_file_in; do
8834
-) echo $tmp/stdin ;;
8836
# Absolute (can't be DOS-style, as IFS=:)
8837
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8838
echo "$as_me: error: cannot find input file: $f" >&2;}
8839
{ (exit 1); exit 1; }; }
8840
# Do quote $f, to prevent DOS paths from being IFS'd.
8843
if test -f "$f"; then
8846
elif test -f "$srcdir/$f"; then
8851
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8852
echo "$as_me: error: cannot find input file: $f" >&2;}
8853
{ (exit 1); exit 1; }; }
8856
done` || { (exit 1); exit 1; }
8857
# Remove the trailing spaces.
8858
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8862
# Transform confdefs.h into two sed scripts, `conftest.defines' and
8863
# `conftest.undefs', that substitutes the proper values into
8864
# config.h.in to produce config.h. The first handles `#define'
8865
# templates, and the second `#undef' templates.
8866
# And first: Protect against being on the right side of a sed subst in
8867
# config.status. Protect against being in an unquoted here document
8869
rm -f conftest.defines conftest.undefs
8870
# Using a here document instead of a string reduces the quoting nightmare.
8871
# Putting comments in sed scripts is not portable.
8873
# `end' is used to avoid that the second main sed command (meant for
8874
# 0-ary CPP macros) applies to n-ary macro definitions.
8875
# See the Autoconf documentation for `clear'.
8876
cat >confdef2sed.sed <<\_ACEOF
8881
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8883
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8886
# If some macros were called several times there might be several times
8887
# the same #defines, which is useless. Nevertheless, we may not want to
8888
# sort them, since we want the *last* AC-DEFINE to be honored.
8889
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8890
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8891
rm -f confdef2sed.sed
8893
# This sed command replaces #undef with comments. This is necessary, for
8894
# example, in the case of _POSIX_SOURCE, which is predefined and required
8895
# on some systems where configure will not decide to define it.
8896
cat >>conftest.undefs <<\_ACEOF
8897
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8900
# Break up conftest.defines because some shells have a limit on the size
8901
# of here documents, and old seds have small limits too (100 cmds).
8902
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8903
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8904
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8905
echo ' :' >>$CONFIG_STATUS
8907
while grep . conftest.defines >/dev/null
8909
# Write a limited-size here document to $tmp/defines.sed.
8910
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8911
# Speed up: don't consider the non `#define' lines.
8912
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8913
# Work around the forget-to-reset-the-flag bug.
8914
echo 't clr' >>$CONFIG_STATUS
8915
echo ': clr' >>$CONFIG_STATUS
8916
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8918
sed -f $tmp/defines.sed $tmp/in >$tmp/out
8922
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8923
rm -f conftest.defines
8924
mv conftest.tail conftest.defines
8926
rm -f conftest.defines
8927
echo ' fi # grep' >>$CONFIG_STATUS
8928
echo >>$CONFIG_STATUS
8930
# Break up conftest.undefs because some shells have a limit on the size
8931
# of here documents, and old seds have small limits too (100 cmds).
8932
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8934
while grep . conftest.undefs >/dev/null
8936
# Write a limited-size here document to $tmp/undefs.sed.
8937
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8938
# Speed up: don't consider the non `#undef'
8939
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8940
# Work around the forget-to-reset-the-flag bug.
8941
echo 't clr' >>$CONFIG_STATUS
8942
echo ': clr' >>$CONFIG_STATUS
8943
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8945
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8949
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8950
rm -f conftest.undefs
8951
mv conftest.tail conftest.undefs
8953
rm -f conftest.undefs
8955
cat >>$CONFIG_STATUS <<\_ACEOF
8956
# Let's still pretend it is `configure' which instantiates (i.e., don't
8957
# use $as_me), people would be surprised to read:
8958
# /* config.h. Generated by config.status. */
8959
if test x"$ac_file" = x-; then
8960
echo "/* Generated by configure. */" >$tmp/config.h
8962
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8964
cat $tmp/in >>$tmp/config.h
8966
if test x"$ac_file" != x-; then
8967
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8968
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8969
echo "$as_me: $ac_file is unchanged" >&6;}
8971
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8972
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8973
X"$ac_file" : 'X\(//\)[^/]' \| \
8974
X"$ac_file" : 'X\(//\)$' \| \
8975
X"$ac_file" : 'X\(/\)' \| \
8976
. : '\(.\)' 2>/dev/null ||
8978
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8979
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8980
/^X\(\/\/\)$/{ s//\1/; q; }
8981
/^X\(\/\).*/{ s//\1/; q; }
8983
{ if $as_mkdir_p; then
8988
while test ! -d "$as_dir"; do
8989
as_dirs="$as_dir $as_dirs"
8990
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8991
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8992
X"$as_dir" : 'X\(//\)[^/]' \| \
8993
X"$as_dir" : 'X\(//\)$' \| \
8994
X"$as_dir" : 'X\(/\)' \| \
8995
. : '\(.\)' 2>/dev/null ||
8997
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8998
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8999
/^X\(\/\/\)$/{ s//\1/; q; }
9000
/^X\(\/\).*/{ s//\1/; q; }
9003
test ! -n "$as_dirs" || mkdir $as_dirs
9004
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9005
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9006
{ (exit 1); exit 1; }; }; }
9009
mv $tmp/config.h $ac_file
9015
# Compute $ac_file's index in $config_headers.
9017
for _am_header in $config_headers :; do
9019
$ac_file | $ac_file:* )
9022
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9025
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9026
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9027
X$ac_file : 'X\(//\)[^/]' \| \
9028
X$ac_file : 'X\(//\)$' \| \
9029
X$ac_file : 'X\(/\)' \| \
9030
. : '\(.\)' 2>/dev/null ||
9032
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9033
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9034
/^X\(\/\/\)$/{ s//\1/; q; }
9035
/^X\(\/\).*/{ s//\1/; q; }
9036
s/.*/./; q'`/stamp-h$_am_stamp_count
9039
cat >>$CONFIG_STATUS <<\_ACEOF
9042
# CONFIG_COMMANDS section.
9044
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9045
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9046
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9047
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9048
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9049
X"$ac_dest" : 'X\(//\)[^/]' \| \
9050
X"$ac_dest" : 'X\(//\)$' \| \
9051
X"$ac_dest" : 'X\(/\)' \| \
9052
. : '\(.\)' 2>/dev/null ||
9054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9055
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9056
/^X\(\/\/\)$/{ s//\1/; q; }
9057
/^X\(\/\).*/{ s//\1/; q; }
9059
{ if $as_mkdir_p; then
9064
while test ! -d "$as_dir"; do
9065
as_dirs="$as_dir $as_dirs"
9066
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9067
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9068
X"$as_dir" : 'X\(//\)[^/]' \| \
9069
X"$as_dir" : 'X\(//\)$' \| \
9070
X"$as_dir" : 'X\(/\)' \| \
9071
. : '\(.\)' 2>/dev/null ||
9073
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9074
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9075
/^X\(\/\/\)$/{ s//\1/; q; }
9076
/^X\(\/\).*/{ s//\1/; q; }
9079
test ! -n "$as_dirs" || mkdir $as_dirs
9080
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9081
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9082
{ (exit 1); exit 1; }; }; }
9086
if test "$ac_dir" != .; then
9087
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9088
# A "../" for each directory in $ac_dir_suffix.
9089
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9091
ac_dir_suffix= ac_top_builddir=
9095
.) # No --srcdir option. We are building in place.
9097
if test -z "$ac_top_builddir"; then
9100
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9102
[\\/]* | ?:[\\/]* ) # Absolute path.
9103
ac_srcdir=$srcdir$ac_dir_suffix;
9104
ac_top_srcdir=$srcdir ;;
9106
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9107
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9110
# Do not use `cd foo && pwd` to compute absolute paths, because
9111
# the directories may not exist.
9113
.) ac_abs_builddir="$ac_dir";;
9116
.) ac_abs_builddir=`pwd`;;
9117
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9118
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9121
case $ac_abs_builddir in
9122
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9124
case ${ac_top_builddir}. in
9125
.) ac_abs_top_builddir=$ac_abs_builddir;;
9126
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9127
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9130
case $ac_abs_builddir in
9131
.) ac_abs_srcdir=$ac_srcdir;;
9134
.) ac_abs_srcdir=$ac_abs_builddir;;
9135
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9136
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9139
case $ac_abs_builddir in
9140
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9142
case $ac_top_srcdir in
9143
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9144
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9145
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9150
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9151
echo "$as_me: executing $ac_dest commands" >&6;}
9153
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9154
# Strip MF so we end up with the name of the file.
9155
mf=`echo "$mf" | sed -e 's/:.*$//'`
9156
# Check whether this is an Automake generated Makefile or not.
9157
# We used to match only the files named `Makefile.in', but
9158
# some people rename them; so instead we look at the file content.
9159
# Grep'ing the first line is not enough: some people post-process
9160
# each Makefile.in and add a new line on top of each file to say so.
9161
# So let's grep whole file.
9162
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9163
dirpart=`(dirname "$mf") 2>/dev/null ||
9164
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9165
X"$mf" : 'X\(//\)[^/]' \| \
9166
X"$mf" : 'X\(//\)$' \| \
9167
X"$mf" : 'X\(/\)' \| \
9168
. : '\(.\)' 2>/dev/null ||
9170
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9171
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9172
/^X\(\/\/\)$/{ s//\1/; q; }
9173
/^X\(\/\).*/{ s//\1/; q; }
9178
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9179
# Extract the definition of DEP_FILES from the Makefile without
9181
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9182
test -z "$DEPDIR" && continue
9183
# When using ansi2knr, U may be empty or an underscore; expand it
9184
U=`sed -n -e '/^U = / s///p' < "$mf"`
9185
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9186
# We invoke sed twice because it is the simplest approach to
9187
# changing $(DEPDIR) to its actual value in the expansion.
9188
for file in `sed -n -e '
9189
/^DEP_FILES = .*\\\\$/ {
9198
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9199
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9200
# Make sure the directory exists.
9201
test -f "$dirpart/$file" && continue
9202
fdir=`(dirname "$file") 2>/dev/null ||
9203
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9204
X"$file" : 'X\(//\)[^/]' \| \
9205
X"$file" : 'X\(//\)$' \| \
9206
X"$file" : 'X\(/\)' \| \
9207
. : '\(.\)' 2>/dev/null ||
9209
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9210
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9211
/^X\(\/\/\)$/{ s//\1/; q; }
9212
/^X\(\/\).*/{ s//\1/; q; }
9214
{ if $as_mkdir_p; then
9215
mkdir -p $dirpart/$fdir
9217
as_dir=$dirpart/$fdir
9219
while test ! -d "$as_dir"; do
9220
as_dirs="$as_dir $as_dirs"
9221
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9222
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223
X"$as_dir" : 'X\(//\)[^/]' \| \
9224
X"$as_dir" : 'X\(//\)$' \| \
9225
X"$as_dir" : 'X\(/\)' \| \
9226
. : '\(.\)' 2>/dev/null ||
9228
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9229
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9230
/^X\(\/\/\)$/{ s//\1/; q; }
9231
/^X\(\/\).*/{ s//\1/; q; }
9234
test ! -n "$as_dirs" || mkdir $as_dirs
9235
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9236
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9237
{ (exit 1); exit 1; }; }; }
9239
# echo "creating $dirpart/$file"
9240
echo '# dummy' > "$dirpart/$file"
9248
cat >>$CONFIG_STATUS <<\_ACEOF
9250
{ (exit 0); exit 0; }
9252
chmod +x $CONFIG_STATUS
9253
ac_clean_files=$ac_clean_files_save
9256
# configure is writing to config.log, and then calls config.status.
9257
# config.status does its own redirection, appending to config.log.
9258
# Unfortunately, on DOS this fails, as config.log is still kept open
9259
# by configure, so config.status won't be able to write to it; its
9260
# output is simply discarded. So we exec the FD to /dev/null,
9261
# effectively closing config.log, so it can be properly (re)opened and
9262
# appended to by config.status. When coming back to configure, we
9263
# need to make the FD available again.
9264
if test "$no_create" != yes; then
9266
ac_config_status_args=
9267
test "$silent" = yes &&
9268
ac_config_status_args="$ac_config_status_args --quiet"
9270
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9272
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9273
# would make configure fail if this is the last instruction.
9274
$ac_cs_success || { (exit 1); exit 1; }
9284
Install path ............ $prefix
9285
CPU Optimisation......... $cpu_type
9286
Compiler Optimization ... $with_optimization
9287
Audio output ............ $audio_system
9288
Gapless Support ......... $gapless
9289
Debugging ............... $debugging
9290
Seek table size ......... $seektable
9293
if test "$debugging" = "enabled"; then
9294
echo "CFLAGS='$CFLAGS'"
9296
echo "AUDIO_CFLAGS='$AUDIO_CFLAGS'"
9297
echo "AUDIO_LIBS='$AUDIO_LIBS'"
9299
echo "Next type 'make' and then 'make install'."