2635
2805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636
2806
*) ac_try_echo=$ac_try;;
2638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2808
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2809
$as_echo "$ac_try_echo") >&5
2639
2810
(eval "$ac_try") 2>&5
2641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642
2813
(exit $ac_status); }; }; then
2643
2814
cross_compiling=no
2645
2816
if test "$cross_compiling" = maybe; then
2646
2817
cross_compiling=yes
2648
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2819
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2820
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2649
2822
If you meant to cross compile, use \`--host'.
2650
2823
See \`config.log' for more details." >&5
2651
echo "$as_me: error: cannot run C compiled programs.
2824
$as_echo "$as_me: error: cannot run C compiled programs.
2652
2825
If you meant to cross compile, use \`--host'.
2653
2826
See \`config.log' for more details." >&2;}
2654
{ (exit 1); exit 1; }; }
2827
{ (exit 1); exit 1; }; }; }
2658
{ echo "$as_me:$LINENO: result: yes" >&5
2659
echo "${ECHO_T}yes" >&6; }
2831
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2832
$as_echo "yes" >&6; }
2661
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2834
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2662
2835
ac_clean_files=$ac_clean_files_save
2663
2836
# Check that the compiler produces executables we can run. If not, either
2664
2837
# the compiler is broken, or we cross compile.
2665
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2666
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2667
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2668
echo "${ECHO_T}$cross_compiling" >&6; }
2838
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2839
$as_echo_n "checking whether we are cross compiling... " >&6; }
2840
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2841
$as_echo "$cross_compiling" >&6; }
2670
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2671
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2843
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2844
$as_echo_n "checking for suffix of executables... " >&6; }
2672
2845
if { (ac_try="$ac_link"
2673
2846
case "(($ac_try" in
2674
2847
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675
2848
*) ac_try_echo=$ac_try;;
2677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2851
$as_echo "$ac_try_echo") >&5
2678
2852
(eval "$ac_link") 2>&5
2680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681
2855
(exit $ac_status); }; then
2682
2856
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2683
2857
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3454
if test "x$CC" != xcc; then
3455
{ $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3456
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3458
{ $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3459
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3461
set dummy $CC; ac_cc=`$as_echo "$2" |
3462
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3463
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3464
$as_echo_n "(cached) " >&6
3466
cat >conftest.$ac_ext <<_ACEOF
3469
cat confdefs.h >>conftest.$ac_ext
3470
cat >>conftest.$ac_ext <<_ACEOF
3471
/* end confdefs.h. */
3481
# Make sure it works both with $CC and with simple cc.
3482
# We do the test twice because some compilers refuse to overwrite an
3483
# existing .o file with -o, though they will create one.
3484
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3486
if { (case "(($ac_try" in
3487
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
*) ac_try_echo=$ac_try;;
3490
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3491
$as_echo "$ac_try_echo") >&5
3492
(eval "$ac_try") 2>&5
3494
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495
(exit $ac_status); } &&
3496
test -f conftest2.$ac_objext && { (case "(($ac_try" in
3497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498
*) ac_try_echo=$ac_try;;
3500
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3501
$as_echo "$ac_try_echo") >&5
3502
(eval "$ac_try") 2>&5
3504
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505
(exit $ac_status); };
3507
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3508
if test "x$CC" != xcc; then
3509
# Test first that cc exists at all.
3510
if { ac_try='cc -c conftest.$ac_ext >&5'
3511
{ (case "(($ac_try" in
3512
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513
*) ac_try_echo=$ac_try;;
3515
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3516
$as_echo "$ac_try_echo") >&5
3517
(eval "$ac_try") 2>&5
3519
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520
(exit $ac_status); }; }; then
3521
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3523
if { (case "(($ac_try" in
3524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525
*) ac_try_echo=$ac_try;;
3527
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3528
$as_echo "$ac_try_echo") >&5
3529
(eval "$ac_try") 2>&5
3531
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
(exit $ac_status); } &&
3533
test -f conftest2.$ac_objext && { (case "(($ac_try" in
3534
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535
*) ac_try_echo=$ac_try;;
3537
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3538
$as_echo "$ac_try_echo") >&5
3539
(eval "$ac_try") 2>&5
3541
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
(exit $ac_status); };
3547
# cc exists but doesn't like -o.
3548
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3553
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3555
rm -f core conftest*
3558
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3559
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3560
$as_echo "yes" >&6; }
3562
{ $as_echo "$as_me:$LINENO: result: no" >&5
3563
$as_echo "no" >&6; }
3565
cat >>confdefs.h <<\_ACEOF
3566
#define NO_MINUS_C_MINUS_O 1
3571
# FIXME: we rely on the cache variable name because
3572
# there is no other way.
3574
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3575
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3576
if test "$am_t" != yes; then
3577
# Losing compiler, so override with the script.
3578
# FIXME: It is wrong to rewrite CC.
3579
# But if we don't then we get into trouble of one sort or another.
3580
# A longer-term fix would be to have automake use am__CC in this case,
3581
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3582
CC="$am_aux_dir/compile $CC"
3264
3587
# Make sure we can run config.sub.
3265
3588
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3266
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3267
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3589
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3590
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3268
3591
{ (exit 1); exit 1; }; }
3270
{ echo "$as_me:$LINENO: checking build system type" >&5
3271
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3593
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3594
$as_echo_n "checking build system type... " >&6; }
3272
3595
if test "${ac_cv_build+set}" = set; then
3273
echo $ECHO_N "(cached) $ECHO_C" >&6
3596
$as_echo_n "(cached) " >&6
3275
3598
ac_build_alias=$build_alias
3276
3599
test "x$ac_build_alias" = x &&
3277
3600
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3278
3601
test "x$ac_build_alias" = x &&
3279
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3280
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3602
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3603
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3281
3604
{ (exit 1); exit 1; }; }
3282
3605
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3283
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3284
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3606
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3607
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3285
3608
{ (exit 1); exit 1; }; }
3288
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3289
echo "${ECHO_T}$ac_cv_build" >&6; }
3611
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3612
$as_echo "$ac_cv_build" >&6; }
3290
3613
case $ac_cv_build in
3292
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3293
echo "$as_me: error: invalid value of canonical build" >&2;}
3615
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3616
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3294
3617
{ (exit 1); exit 1; }; };;
3296
3619
build=$ac_cv_build
3626
3950
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3630
$ac_path_GREP_found && break 3
3953
$ac_path_GREP_found && break 3
3635
3957
IFS=$as_save_IFS
3640
GREP="$ac_cv_path_GREP"
3641
if test -z "$GREP"; then
3642
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3643
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3958
if test -z "$ac_cv_path_GREP"; then
3959
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3960
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3644
3961
{ (exit 1); exit 1; }; }
3648
3964
ac_cv_path_GREP=$GREP
3653
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3654
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3968
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3969
$as_echo "$ac_cv_path_GREP" >&6; }
3655
3970
GREP="$ac_cv_path_GREP"
3658
{ echo "$as_me:$LINENO: checking for egrep" >&5
3659
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3973
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3974
$as_echo_n "checking for egrep... " >&6; }
3660
3975
if test "${ac_cv_path_EGREP+set}" = set; then
3661
echo $ECHO_N "(cached) $ECHO_C" >&6
3976
$as_echo_n "(cached) " >&6
3663
3978
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3664
3979
then ac_cv_path_EGREP="$GREP -E"
3666
# Extract the first word of "egrep" to use in msg output
3667
if test -z "$EGREP"; then
3668
set dummy egrep; ac_prog_name=$2
3669
if test "${ac_cv_path_EGREP+set}" = set; then
3670
echo $ECHO_N "(cached) $ECHO_C" >&6
3981
if test -z "$EGREP"; then
3672
3982
ac_path_EGREP_found=false
3673
# Loop through the user's path and test for each of PROGNAME-LIST
3674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983
# Loop through the user's path and test for each of PROGNAME-LIST
3984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675
3985
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3677
3987
IFS=$as_save_IFS
3678
3988
test -z "$as_dir" && as_dir=.
3679
3989
for ac_prog in egrep; do
3680
for ac_exec_ext in '' $ac_executable_extensions; do
3681
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3682
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3683
# Check for GNU ac_path_EGREP and select it if it is found.
3990
for ac_exec_ext in '' $ac_executable_extensions; do
3991
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3992
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3993
# Check for GNU ac_path_EGREP and select it if it is found.
3684
3994
# Check for GNU $ac_path_EGREP
3685
3995
case `"$ac_path_EGREP" --version 2>&1` in
3687
3997
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3690
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4000
$as_echo_n 0123456789 >"conftest.in"
3693
4003
cat "conftest.in" "conftest.in" >"conftest.tmp"
3694
4004
mv "conftest.tmp" "conftest.in"
3695
4005
cp "conftest.in" "conftest.nl"
3696
echo 'EGREP' >> "conftest.nl"
4006
$as_echo 'EGREP' >> "conftest.nl"
3697
4007
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3698
4008
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3699
4009
ac_count=`expr $ac_count + 1`
4014
4373
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015
4374
*) ac_try_echo=$ac_try;;
4017
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4377
$as_echo "$ac_try_echo") >&5
4018
4378
(eval "$ac_compile") 2>conftest.er1
4020
4380
grep -v '^ *+' conftest.er1 >conftest.err
4021
4381
rm -f conftest.er1
4022
4382
cat conftest.err >&5
4023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024
4384
(exit $ac_status); } && {
4025
4385
test -z "$ac_c_werror_flag" ||
4026
4386
test ! -s conftest.err
4027
4387
} && test -s conftest.$ac_objext; then
4028
4388
# It does; now see whether it defined to BIG_ENDIAN or not.
4029
cat >conftest.$ac_ext <<_ACEOF
4389
cat >conftest.$ac_ext <<_ACEOF
4030
4390
/* confdefs.h. */
4032
4392
cat confdefs.h >>conftest.$ac_ext
4033
4393
cat >>conftest.$ac_ext <<_ACEOF
4034
4394
/* end confdefs.h. */
4035
4395
#include <sys/types.h>
4036
#include <sys/param.h>
4396
#include <sys/param.h>
4041
4401
#if BYTE_ORDER != BIG_ENDIAN
4049
rm -f conftest.$ac_objext
4050
if { (ac_try="$ac_compile"
4052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053
*) ac_try_echo=$ac_try;;
4055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056
(eval "$ac_compile") 2>conftest.er1
4058
grep -v '^ *+' conftest.er1 >conftest.err
4060
cat conftest.err >&5
4061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062
(exit $ac_status); } && {
4063
test -z "$ac_c_werror_flag" ||
4064
test ! -s conftest.err
4065
} && test -s conftest.$ac_objext; then
4066
ac_cv_c_bigendian=yes
4068
echo "$as_me: failed program was:" >&5
4069
sed 's/^/| /' conftest.$ac_ext >&5
4071
ac_cv_c_bigendian=no
4074
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4076
echo "$as_me: failed program was:" >&5
4077
sed 's/^/| /' conftest.$ac_ext >&5
4079
# It does not; compile a test program.
4080
if test "$cross_compiling" = yes; then
4081
# try to guess the endianness by grepping values into an object file
4082
ac_cv_c_bigendian=unknown
4083
cat >conftest.$ac_ext <<_ACEOF
4086
cat confdefs.h >>conftest.$ac_ext
4087
cat >>conftest.$ac_ext <<_ACEOF
4088
/* end confdefs.h. */
4089
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4090
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4091
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4092
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4093
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4094
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4098
_ascii (); _ebcdic ();
4103
rm -f conftest.$ac_objext
4104
if { (ac_try="$ac_compile"
4106
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107
*) ac_try_echo=$ac_try;;
4109
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4110
(eval "$ac_compile") 2>conftest.er1
4112
grep -v '^ *+' conftest.er1 >conftest.err
4114
cat conftest.err >&5
4115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116
(exit $ac_status); } && {
4117
test -z "$ac_c_werror_flag" ||
4118
test ! -s conftest.err
4119
} && test -s conftest.$ac_objext; then
4120
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4121
ac_cv_c_bigendian=yes
4123
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4124
if test "$ac_cv_c_bigendian" = unknown; then
4125
ac_cv_c_bigendian=no
4127
# finding both strings is unlikely to happen, but who knows?
4128
ac_cv_c_bigendian=unknown
4132
echo "$as_me: failed program was:" >&5
4409
rm -f conftest.$ac_objext
4410
if { (ac_try="$ac_compile"
4412
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413
*) ac_try_echo=$ac_try;;
4415
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4416
$as_echo "$ac_try_echo") >&5
4417
(eval "$ac_compile") 2>conftest.er1
4419
grep -v '^ *+' conftest.er1 >conftest.err
4421
cat conftest.err >&5
4422
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423
(exit $ac_status); } && {
4424
test -z "$ac_c_werror_flag" ||
4425
test ! -s conftest.err
4426
} && test -s conftest.$ac_objext; then
4427
ac_cv_c_bigendian=yes
4429
$as_echo "$as_me: failed program was:" >&5
4430
sed 's/^/| /' conftest.$ac_ext >&5
4432
ac_cv_c_bigendian=no
4435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437
$as_echo "$as_me: failed program was:" >&5
4438
sed 's/^/| /' conftest.$ac_ext >&5
4443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445
if test $ac_cv_c_bigendian = unknown; then
4446
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4447
cat >conftest.$ac_ext <<_ACEOF
4450
cat confdefs.h >>conftest.$ac_ext
4451
cat >>conftest.$ac_ext <<_ACEOF
4452
/* end confdefs.h. */
4458
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4466
rm -f conftest.$ac_objext
4467
if { (ac_try="$ac_compile"
4469
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470
*) ac_try_echo=$ac_try;;
4472
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4473
$as_echo "$ac_try_echo") >&5
4474
(eval "$ac_compile") 2>conftest.er1
4476
grep -v '^ *+' conftest.er1 >conftest.err
4478
cat conftest.err >&5
4479
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480
(exit $ac_status); } && {
4481
test -z "$ac_c_werror_flag" ||
4482
test ! -s conftest.err
4483
} && test -s conftest.$ac_objext; then
4484
# It does; now see whether it defined to _BIG_ENDIAN or not.
4485
cat >conftest.$ac_ext <<_ACEOF
4488
cat confdefs.h >>conftest.$ac_ext
4489
cat >>conftest.$ac_ext <<_ACEOF
4490
/* end confdefs.h. */
4504
rm -f conftest.$ac_objext
4505
if { (ac_try="$ac_compile"
4507
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4508
*) ac_try_echo=$ac_try;;
4510
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4511
$as_echo "$ac_try_echo") >&5
4512
(eval "$ac_compile") 2>conftest.er1
4514
grep -v '^ *+' conftest.er1 >conftest.err
4516
cat conftest.err >&5
4517
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
(exit $ac_status); } && {
4519
test -z "$ac_c_werror_flag" ||
4520
test ! -s conftest.err
4521
} && test -s conftest.$ac_objext; then
4522
ac_cv_c_bigendian=yes
4524
$as_echo "$as_me: failed program was:" >&5
4525
sed 's/^/| /' conftest.$ac_ext >&5
4527
ac_cv_c_bigendian=no
4530
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532
$as_echo "$as_me: failed program was:" >&5
4533
sed 's/^/| /' conftest.$ac_ext >&5
4538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540
if test $ac_cv_c_bigendian = unknown; then
4541
# Compile a test program.
4542
if test "$cross_compiling" = yes; then
4543
# Try to guess by grepping values from an object file.
4544
cat >conftest.$ac_ext <<_ACEOF
4547
cat confdefs.h >>conftest.$ac_ext
4548
cat >>conftest.$ac_ext <<_ACEOF
4549
/* end confdefs.h. */
4550
short int ascii_mm[] =
4551
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4552
short int ascii_ii[] =
4553
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4554
int use_ascii (int i) {
4555
return ascii_mm[i] + ascii_ii[i];
4557
short int ebcdic_ii[] =
4558
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4559
short int ebcdic_mm[] =
4560
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4561
int use_ebcdic (int i) {
4562
return ebcdic_mm[i] + ebcdic_ii[i];
4569
return use_ascii (foo) == use_ebcdic (foo);
4574
rm -f conftest.$ac_objext
4575
if { (ac_try="$ac_compile"
4577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578
*) ac_try_echo=$ac_try;;
4580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4581
$as_echo "$ac_try_echo") >&5
4582
(eval "$ac_compile") 2>conftest.er1
4584
grep -v '^ *+' conftest.er1 >conftest.err
4586
cat conftest.err >&5
4587
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588
(exit $ac_status); } && {
4589
test -z "$ac_c_werror_flag" ||
4590
test ! -s conftest.err
4591
} && test -s conftest.$ac_objext; then
4592
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4593
ac_cv_c_bigendian=yes
4595
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4596
if test "$ac_cv_c_bigendian" = unknown; then
4597
ac_cv_c_bigendian=no
4599
# finding both strings is unlikely to happen, but who knows?
4600
ac_cv_c_bigendian=unknown
4604
$as_echo "$as_me: failed program was:" >&5
4133
4605
sed 's/^/| /' conftest.$ac_ext >&5
6054
6615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6055
6616
*) ac_try_echo=$ac_try;;
6057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6619
$as_echo "$ac_try_echo") >&5
6058
6620
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6060
6622
grep -v '^ *+' conftest.er1 >conftest.err
6061
6623
rm -f conftest.er1
6062
6624
cat conftest.err >&5
6063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064
6626
(exit $ac_status); } >/dev/null && {
6065
6627
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6066
6628
test ! -s conftest.err
6068
6630
ac_header_preproc=yes
6070
echo "$as_me: failed program was:" >&5
6632
$as_echo "$as_me: failed program was:" >&5
6071
6633
sed 's/^/| /' conftest.$ac_ext >&5
6073
6635
ac_header_preproc=no
6076
6638
rm -f conftest.err conftest.$ac_ext
6077
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6078
echo "${ECHO_T}$ac_header_preproc" >&6; }
6639
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6640
$as_echo "$ac_header_preproc" >&6; }
6080
6642
# So? What about this header?
6081
6643
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6083
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6084
echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6085
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
6086
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
6645
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6646
$as_echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6647
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
6648
$as_echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
6087
6649
ac_header_preproc=yes
6090
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
6091
echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
6092
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
6093
echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
6094
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
6095
echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
6096
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
6097
echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
6098
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6099
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6100
{ echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
6101
echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
6652
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
6653
$as_echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
6654
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
6655
$as_echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
6656
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
6657
$as_echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
6658
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
6659
$as_echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
6660
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6661
$as_echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6662
{ $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
6663
$as_echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
6105
{ echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6106
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
6667
{ $as_echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6668
$as_echo_n "checking for alsa/asoundlib.h... " >&6; }
6107
6669
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6108
echo $ECHO_N "(cached) $ECHO_C" >&6
6670
$as_echo_n "(cached) " >&6
6110
6672
ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
6112
{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6113
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
6118
if test "${ac_cv_header_endian_h+set}" = set; then
6119
{ echo "$as_me:$LINENO: checking for endian.h" >&5
6120
echo $ECHO_N "checking for endian.h... $ECHO_C" >&6; }
6121
if test "${ac_cv_header_endian_h+set}" = set; then
6122
echo $ECHO_N "(cached) $ECHO_C" >&6
6124
{ echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
6125
echo "${ECHO_T}$ac_cv_header_endian_h" >&6; }
6674
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6675
$as_echo "$ac_cv_header_alsa_asoundlib_h" >&6; }
6680
if test "${ac_cv_header_endian_h+set}" = set; then
6681
{ $as_echo "$as_me:$LINENO: checking for endian.h" >&5
6682
$as_echo_n "checking for endian.h... " >&6; }
6683
if test "${ac_cv_header_endian_h+set}" = set; then
6684
$as_echo_n "(cached) " >&6
6686
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
6687
$as_echo "$ac_cv_header_endian_h" >&6; }
6127
6689
# Is the header compilable?
6128
{ echo "$as_me:$LINENO: checking endian.h usability" >&5
6129
echo $ECHO_N "checking endian.h usability... $ECHO_C" >&6; }
6690
{ $as_echo "$as_me:$LINENO: checking endian.h usability" >&5
6691
$as_echo_n "checking endian.h usability... " >&6; }
6130
6692
cat >conftest.$ac_ext <<_ACEOF
6131
6693
/* confdefs.h. */
6181
6744
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6182
6745
*) ac_try_echo=$ac_try;;
6184
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6747
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6748
$as_echo "$ac_try_echo") >&5
6185
6749
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6187
6751
grep -v '^ *+' conftest.er1 >conftest.err
6188
6752
rm -f conftest.er1
6189
6753
cat conftest.err >&5
6190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191
6755
(exit $ac_status); } >/dev/null && {
6192
6756
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6193
6757
test ! -s conftest.err
6195
6759
ac_header_preproc=yes
6197
echo "$as_me: failed program was:" >&5
6761
$as_echo "$as_me: failed program was:" >&5
6198
6762
sed 's/^/| /' conftest.$ac_ext >&5
6200
6764
ac_header_preproc=no
6203
6767
rm -f conftest.err conftest.$ac_ext
6204
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6205
echo "${ECHO_T}$ac_header_preproc" >&6; }
6768
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6769
$as_echo "$ac_header_preproc" >&6; }
6207
6771
# So? What about this header?
6208
6772
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6210
{ echo "$as_me:$LINENO: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
6211
echo "$as_me: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6212
{ echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the compiler's result" >&5
6213
echo "$as_me: WARNING: endian.h: proceeding with the compiler's result" >&2;}
6774
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
6775
$as_echo "$as_me: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6776
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the compiler's result" >&5
6777
$as_echo "$as_me: WARNING: endian.h: proceeding with the compiler's result" >&2;}
6214
6778
ac_header_preproc=yes
6217
{ echo "$as_me:$LINENO: WARNING: endian.h: present but cannot be compiled" >&5
6218
echo "$as_me: WARNING: endian.h: present but cannot be compiled" >&2;}
6219
{ echo "$as_me:$LINENO: WARNING: endian.h: check for missing prerequisite headers?" >&5
6220
echo "$as_me: WARNING: endian.h: check for missing prerequisite headers?" >&2;}
6221
{ echo "$as_me:$LINENO: WARNING: endian.h: see the Autoconf documentation" >&5
6222
echo "$as_me: WARNING: endian.h: see the Autoconf documentation" >&2;}
6223
{ echo "$as_me:$LINENO: WARNING: endian.h: section \"Present But Cannot Be Compiled\"" >&5
6224
echo "$as_me: WARNING: endian.h: section \"Present But Cannot Be Compiled\"" >&2;}
6225
{ echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the preprocessor's result" >&5
6226
echo "$as_me: WARNING: endian.h: proceeding with the preprocessor's result" >&2;}
6227
{ echo "$as_me:$LINENO: WARNING: endian.h: in the future, the compiler will take precedence" >&5
6228
echo "$as_me: WARNING: endian.h: in the future, the compiler will take precedence" >&2;}
6781
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: present but cannot be compiled" >&5
6782
$as_echo "$as_me: WARNING: endian.h: present but cannot be compiled" >&2;}
6783
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: check for missing prerequisite headers?" >&5
6784
$as_echo "$as_me: WARNING: endian.h: check for missing prerequisite headers?" >&2;}
6785
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: see the Autoconf documentation" >&5
6786
$as_echo "$as_me: WARNING: endian.h: see the Autoconf documentation" >&2;}
6787
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: section \"Present But Cannot Be Compiled\"" >&5
6788
$as_echo "$as_me: WARNING: endian.h: section \"Present But Cannot Be Compiled\"" >&2;}
6789
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the preprocessor's result" >&5
6790
$as_echo "$as_me: WARNING: endian.h: proceeding with the preprocessor's result" >&2;}
6791
{ $as_echo "$as_me:$LINENO: WARNING: endian.h: in the future, the compiler will take precedence" >&5
6792
$as_echo "$as_me: WARNING: endian.h: in the future, the compiler will take precedence" >&2;}
6232
{ echo "$as_me:$LINENO: checking for endian.h" >&5
6233
echo $ECHO_N "checking for endian.h... $ECHO_C" >&6; }
6796
{ $as_echo "$as_me:$LINENO: checking for endian.h" >&5
6797
$as_echo_n "checking for endian.h... " >&6; }
6234
6798
if test "${ac_cv_header_endian_h+set}" = set; then
6235
echo $ECHO_N "(cached) $ECHO_C" >&6
6799
$as_echo_n "(cached) " >&6
6237
6801
ac_cv_header_endian_h=$ac_header_preproc
6239
{ echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
6240
echo "${ECHO_T}$ac_cv_header_endian_h" >&6; }
6803
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
6804
$as_echo "$ac_cv_header_endian_h" >&6; }
6243
if test $ac_cv_header_endian_h = yes; then
6807
if test "x$ac_cv_header_endian_h" = x""yes; then
6244
6808
default_endian=true
6248
6812
if test x$default_endian != xtrue; then
6249
6813
if test "${ac_cv_header_machine_endian_h+set}" = set; then
6250
{ echo "$as_me:$LINENO: checking for machine/endian.h" >&5
6251
echo $ECHO_N "checking for machine/endian.h... $ECHO_C" >&6; }
6814
{ $as_echo "$as_me:$LINENO: checking for machine/endian.h" >&5
6815
$as_echo_n "checking for machine/endian.h... " >&6; }
6252
6816
if test "${ac_cv_header_machine_endian_h+set}" = set; then
6253
echo $ECHO_N "(cached) $ECHO_C" >&6
6817
$as_echo_n "(cached) " >&6
6255
{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
6256
echo "${ECHO_T}$ac_cv_header_machine_endian_h" >&6; }
6819
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
6820
$as_echo "$ac_cv_header_machine_endian_h" >&6; }
6258
6822
# Is the header compilable?
6259
{ echo "$as_me:$LINENO: checking machine/endian.h usability" >&5
6260
echo $ECHO_N "checking machine/endian.h usability... $ECHO_C" >&6; }
6823
{ $as_echo "$as_me:$LINENO: checking machine/endian.h usability" >&5
6824
$as_echo_n "checking machine/endian.h usability... " >&6; }
6261
6825
cat >conftest.$ac_ext <<_ACEOF
6262
6826
/* confdefs.h. */
6312
6877
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6313
6878
*) ac_try_echo=$ac_try;;
6315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6881
$as_echo "$ac_try_echo") >&5
6316
6882
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6318
6884
grep -v '^ *+' conftest.er1 >conftest.err
6319
6885
rm -f conftest.er1
6320
6886
cat conftest.err >&5
6321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322
6888
(exit $ac_status); } >/dev/null && {
6323
6889
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6324
6890
test ! -s conftest.err
6326
6892
ac_header_preproc=yes
6328
echo "$as_me: failed program was:" >&5
6894
$as_echo "$as_me: failed program was:" >&5
6329
6895
sed 's/^/| /' conftest.$ac_ext >&5
6331
6897
ac_header_preproc=no
6334
6900
rm -f conftest.err conftest.$ac_ext
6335
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6336
echo "${ECHO_T}$ac_header_preproc" >&6; }
6901
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6902
$as_echo "$ac_header_preproc" >&6; }
6338
6904
# So? What about this header?
6339
6905
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6341
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
6342
echo "$as_me: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6343
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the compiler's result" >&5
6344
echo "$as_me: WARNING: machine/endian.h: proceeding with the compiler's result" >&2;}
6907
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
6908
$as_echo "$as_me: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6909
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the compiler's result" >&5
6910
$as_echo "$as_me: WARNING: machine/endian.h: proceeding with the compiler's result" >&2;}
6345
6911
ac_header_preproc=yes
6348
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: present but cannot be compiled" >&5
6349
echo "$as_me: WARNING: machine/endian.h: present but cannot be compiled" >&2;}
6350
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: check for missing prerequisite headers?" >&5
6351
echo "$as_me: WARNING: machine/endian.h: check for missing prerequisite headers?" >&2;}
6352
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: see the Autoconf documentation" >&5
6353
echo "$as_me: WARNING: machine/endian.h: see the Autoconf documentation" >&2;}
6354
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: section \"Present But Cannot Be Compiled\"" >&5
6355
echo "$as_me: WARNING: machine/endian.h: section \"Present But Cannot Be Compiled\"" >&2;}
6356
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&5
6357
echo "$as_me: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&2;}
6358
{ echo "$as_me:$LINENO: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&5
6359
echo "$as_me: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&2;}
6914
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: present but cannot be compiled" >&5
6915
$as_echo "$as_me: WARNING: machine/endian.h: present but cannot be compiled" >&2;}
6916
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: check for missing prerequisite headers?" >&5
6917
$as_echo "$as_me: WARNING: machine/endian.h: check for missing prerequisite headers?" >&2;}
6918
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: see the Autoconf documentation" >&5
6919
$as_echo "$as_me: WARNING: machine/endian.h: see the Autoconf documentation" >&2;}
6920
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: section \"Present But Cannot Be Compiled\"" >&5
6921
$as_echo "$as_me: WARNING: machine/endian.h: section \"Present But Cannot Be Compiled\"" >&2;}
6922
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&5
6923
$as_echo "$as_me: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&2;}
6924
{ $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&5
6925
$as_echo "$as_me: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&2;}
6363
{ echo "$as_me:$LINENO: checking for machine/endian.h" >&5
6364
echo $ECHO_N "checking for machine/endian.h... $ECHO_C" >&6; }
6929
{ $as_echo "$as_me:$LINENO: checking for machine/endian.h" >&5
6930
$as_echo_n "checking for machine/endian.h... " >&6; }
6365
6931
if test "${ac_cv_header_machine_endian_h+set}" = set; then
6366
echo $ECHO_N "(cached) $ECHO_C" >&6
6932
$as_echo_n "(cached) " >&6
6368
6934
ac_cv_header_machine_endian_h=$ac_header_preproc
6370
{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
6371
echo "${ECHO_T}$ac_cv_header_machine_endian_h" >&6; }
6936
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
6937
$as_echo "$ac_cv_header_machine_endian_h" >&6; }
6374
if test $ac_cv_header_machine_endian_h = yes; then
6940
if test "x$ac_cv_header_machine_endian_h" = x""yes; then
6376
6942
cat >>confdefs.h <<\_ACEOF
6377
6943
#define HAVE_MACHINE_ENDIAN_H 1
6448
7015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449
7016
*) ac_try_echo=$ac_try;;
6451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7019
$as_echo "$ac_try_echo") >&5
6452
7020
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6454
7022
grep -v '^ *+' conftest.er1 >conftest.err
6455
7023
rm -f conftest.er1
6456
7024
cat conftest.err >&5
6457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458
7026
(exit $ac_status); } >/dev/null && {
6459
7027
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6460
7028
test ! -s conftest.err
6462
7030
ac_header_preproc=yes
6464
echo "$as_me: failed program was:" >&5
7032
$as_echo "$as_me: failed program was:" >&5
6465
7033
sed 's/^/| /' conftest.$ac_ext >&5
6467
7035
ac_header_preproc=no
6470
7038
rm -f conftest.err conftest.$ac_ext
6471
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6472
echo "${ECHO_T}$ac_header_preproc" >&6; }
7039
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7040
$as_echo "$ac_header_preproc" >&6; }
6474
7042
# So? What about this header?
6475
7043
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6477
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
6478
echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6479
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
6480
echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
7045
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
7046
$as_echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7047
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
7048
$as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
6481
7049
ac_header_preproc=yes
6484
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
6485
echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
6486
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
6487
echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
6488
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
6489
echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
6490
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
6491
echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
6492
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
6493
echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
6494
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
6495
echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
7052
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
7053
$as_echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
7054
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
7055
$as_echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
7056
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
7057
$as_echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
7058
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
7059
$as_echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
7060
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
7061
$as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
7062
{ $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
7063
$as_echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
6499
{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
6500
echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
7067
{ $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
7068
$as_echo_n "checking for sys/soundcard.h... " >&6; }
6501
7069
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6502
echo $ECHO_N "(cached) $ECHO_C" >&6
7070
$as_echo_n "(cached) " >&6
6504
7072
ac_cv_header_sys_soundcard_h=$ac_header_preproc
6506
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
6507
echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
6512
if test "${ac_cv_header_dlfcn_h+set}" = set; then
6513
{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
6514
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
6515
if test "${ac_cv_header_dlfcn_h+set}" = set; then
6516
echo $ECHO_N "(cached) $ECHO_C" >&6
6518
{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
6519
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
6521
# Is the header compilable?
6522
{ echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
6523
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
6524
cat >conftest.$ac_ext <<_ACEOF
6527
cat confdefs.h >>conftest.$ac_ext
6528
cat >>conftest.$ac_ext <<_ACEOF
6529
/* end confdefs.h. */
6530
$ac_includes_default
6533
rm -f conftest.$ac_objext
6534
if { (ac_try="$ac_compile"
6536
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6537
*) ac_try_echo=$ac_try;;
6539
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6540
(eval "$ac_compile") 2>conftest.er1
6542
grep -v '^ *+' conftest.er1 >conftest.err
6544
cat conftest.err >&5
6545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546
(exit $ac_status); } && {
6547
test -z "$ac_c_werror_flag" ||
6548
test ! -s conftest.err
6549
} && test -s conftest.$ac_objext; then
6550
ac_header_compiler=yes
6552
echo "$as_me: failed program was:" >&5
6553
sed 's/^/| /' conftest.$ac_ext >&5
6555
ac_header_compiler=no
6558
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6560
echo "${ECHO_T}$ac_header_compiler" >&6; }
6562
# Is the header present?
6563
{ echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
6564
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
6565
cat >conftest.$ac_ext <<_ACEOF
6568
cat confdefs.h >>conftest.$ac_ext
6569
cat >>conftest.$ac_ext <<_ACEOF
6570
/* end confdefs.h. */
6573
if { (ac_try="$ac_cpp conftest.$ac_ext"
6575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6576
*) ac_try_echo=$ac_try;;
6578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6579
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6581
grep -v '^ *+' conftest.er1 >conftest.err
6583
cat conftest.err >&5
6584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585
(exit $ac_status); } >/dev/null && {
6586
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6587
test ! -s conftest.err
6589
ac_header_preproc=yes
6591
echo "$as_me: failed program was:" >&5
6592
sed 's/^/| /' conftest.$ac_ext >&5
6594
ac_header_preproc=no
6597
rm -f conftest.err conftest.$ac_ext
6598
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6599
echo "${ECHO_T}$ac_header_preproc" >&6; }
6601
# So? What about this header?
6602
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6604
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
6605
echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6606
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
6607
echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
6608
ac_header_preproc=yes
6611
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
6612
echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
6613
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
6614
echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
6615
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
6616
echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
6617
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
6618
echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
6619
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
6620
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
6621
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
6622
echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
6626
{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
6627
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
6628
if test "${ac_cv_header_dlfcn_h+set}" = set; then
6629
echo $ECHO_N "(cached) $ECHO_C" >&6
6631
ac_cv_header_dlfcn_h=$ac_header_preproc
6633
{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
6634
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
6637
if test $ac_cv_header_dlfcn_h = yes; then
6643
if test x$jack = xtrue && test x$dlfcn_header = xtrue; then
6644
if test "${ac_cv_header_jack_jack_h+set}" = set; then
6645
{ echo "$as_me:$LINENO: checking for jack/jack.h" >&5
6646
echo $ECHO_N "checking for jack/jack.h... $ECHO_C" >&6; }
6647
if test "${ac_cv_header_jack_jack_h+set}" = set; then
6648
echo $ECHO_N "(cached) $ECHO_C" >&6
6650
{ echo "$as_me:$LINENO: result: $ac_cv_header_jack_jack_h" >&5
6651
echo "${ECHO_T}$ac_cv_header_jack_jack_h" >&6; }
6653
# Is the header compilable?
6654
{ echo "$as_me:$LINENO: checking jack/jack.h usability" >&5
6655
echo $ECHO_N "checking jack/jack.h usability... $ECHO_C" >&6; }
6656
cat >conftest.$ac_ext <<_ACEOF
6659
cat confdefs.h >>conftest.$ac_ext
6660
cat >>conftest.$ac_ext <<_ACEOF
6661
/* end confdefs.h. */
6662
$ac_includes_default
6663
#include <jack/jack.h>
6665
rm -f conftest.$ac_objext
6666
if { (ac_try="$ac_compile"
6668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669
*) ac_try_echo=$ac_try;;
6671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672
(eval "$ac_compile") 2>conftest.er1
6674
grep -v '^ *+' conftest.er1 >conftest.err
6676
cat conftest.err >&5
6677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678
(exit $ac_status); } && {
6679
test -z "$ac_c_werror_flag" ||
6680
test ! -s conftest.err
6681
} && test -s conftest.$ac_objext; then
6682
ac_header_compiler=yes
6684
echo "$as_me: failed program was:" >&5
6685
sed 's/^/| /' conftest.$ac_ext >&5
6687
ac_header_compiler=no
6690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6692
echo "${ECHO_T}$ac_header_compiler" >&6; }
6694
# Is the header present?
6695
{ echo "$as_me:$LINENO: checking jack/jack.h presence" >&5
6696
echo $ECHO_N "checking jack/jack.h presence... $ECHO_C" >&6; }
6697
cat >conftest.$ac_ext <<_ACEOF
6700
cat confdefs.h >>conftest.$ac_ext
6701
cat >>conftest.$ac_ext <<_ACEOF
6702
/* end confdefs.h. */
6703
#include <jack/jack.h>
6705
if { (ac_try="$ac_cpp conftest.$ac_ext"
6707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6708
*) ac_try_echo=$ac_try;;
6710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6713
grep -v '^ *+' conftest.er1 >conftest.err
6715
cat conftest.err >&5
6716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717
(exit $ac_status); } >/dev/null && {
6718
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6719
test ! -s conftest.err
6721
ac_header_preproc=yes
6723
echo "$as_me: failed program was:" >&5
6724
sed 's/^/| /' conftest.$ac_ext >&5
6726
ac_header_preproc=no
6729
rm -f conftest.err conftest.$ac_ext
6730
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6731
echo "${ECHO_T}$ac_header_preproc" >&6; }
6733
# So? What about this header?
6734
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6736
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: accepted by the compiler, rejected by the preprocessor!" >&5
6737
echo "$as_me: WARNING: jack/jack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6738
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: proceeding with the compiler's result" >&5
6739
echo "$as_me: WARNING: jack/jack.h: proceeding with the compiler's result" >&2;}
6740
ac_header_preproc=yes
6743
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: present but cannot be compiled" >&5
6744
echo "$as_me: WARNING: jack/jack.h: present but cannot be compiled" >&2;}
6745
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: check for missing prerequisite headers?" >&5
6746
echo "$as_me: WARNING: jack/jack.h: check for missing prerequisite headers?" >&2;}
6747
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: see the Autoconf documentation" >&5
6748
echo "$as_me: WARNING: jack/jack.h: see the Autoconf documentation" >&2;}
6749
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: section \"Present But Cannot Be Compiled\"" >&5
6750
echo "$as_me: WARNING: jack/jack.h: section \"Present But Cannot Be Compiled\"" >&2;}
6751
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: proceeding with the preprocessor's result" >&5
6752
echo "$as_me: WARNING: jack/jack.h: proceeding with the preprocessor's result" >&2;}
6753
{ echo "$as_me:$LINENO: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&5
6754
echo "$as_me: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&2;}
6758
{ echo "$as_me:$LINENO: checking for jack/jack.h" >&5
6759
echo $ECHO_N "checking for jack/jack.h... $ECHO_C" >&6; }
6760
if test "${ac_cv_header_jack_jack_h+set}" = set; then
6761
echo $ECHO_N "(cached) $ECHO_C" >&6
6763
ac_cv_header_jack_jack_h=$ac_header_preproc
6765
{ echo "$as_me:$LINENO: result: $ac_cv_header_jack_jack_h" >&5
6766
echo "${ECHO_T}$ac_cv_header_jack_jack_h" >&6; }
6769
if test $ac_cv_header_jack_jack_h = yes; then
6770
jack_headers_present=true
7074
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
7075
$as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
6779
7085
for ac_header in sys/time.h unistd.h vorbis/vorbisfile.h fcntl.h
6781
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6782
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6783
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6784
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6785
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6786
echo $ECHO_N "(cached) $ECHO_C" >&6
7087
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7090
$as_echo_n "checking for $ac_header... " >&6; }
7091
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7092
$as_echo_n "(cached) " >&6
6788
ac_res=`eval echo '${'$as_ac_Header'}'`
6789
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6790
echo "${ECHO_T}$ac_res" >&6; }
7094
ac_res=`eval 'as_val=${'$as_ac_Header'}
7095
$as_echo "$as_val"'`
7096
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7097
$as_echo "$ac_res" >&6; }
6792
7099
# Is the header compilable?
6793
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6794
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7100
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7101
$as_echo_n "checking $ac_header usability... " >&6; }
6795
7102
cat >conftest.$ac_ext <<_ACEOF
6796
7103
/* confdefs.h. */
6846
7154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6847
7155
*) ac_try_echo=$ac_try;;
6849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7158
$as_echo "$ac_try_echo") >&5
6850
7159
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6852
7161
grep -v '^ *+' conftest.er1 >conftest.err
6853
7162
rm -f conftest.er1
6854
7163
cat conftest.err >&5
6855
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856
7165
(exit $ac_status); } >/dev/null && {
6857
7166
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6858
7167
test ! -s conftest.err
6860
7169
ac_header_preproc=yes
6862
echo "$as_me: failed program was:" >&5
7171
$as_echo "$as_me: failed program was:" >&5
6863
7172
sed 's/^/| /' conftest.$ac_ext >&5
6865
7174
ac_header_preproc=no
6868
7177
rm -f conftest.err conftest.$ac_ext
6869
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6870
echo "${ECHO_T}$ac_header_preproc" >&6; }
7178
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7179
$as_echo "$ac_header_preproc" >&6; }
6872
7181
# So? What about this header?
6873
7182
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6875
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6876
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6877
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6878
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7184
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7185
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7186
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7187
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6879
7188
ac_header_preproc=yes
6882
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6883
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6884
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6885
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6886
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6887
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6888
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6889
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6890
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6891
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6892
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6893
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7191
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7192
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7193
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7194
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7195
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7196
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7197
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7198
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7199
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7200
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7201
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7202
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6897
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6898
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7206
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7207
$as_echo_n "checking for $ac_header... " >&6; }
6899
7208
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6900
echo $ECHO_N "(cached) $ECHO_C" >&6
7209
$as_echo_n "(cached) " >&6
6902
7211
eval "$as_ac_Header=\$ac_header_preproc"
6904
ac_res=`eval echo '${'$as_ac_Header'}'`
6905
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6906
echo "${ECHO_T}$ac_res" >&6; }
7213
ac_res=`eval 'as_val=${'$as_ac_Header'}
7214
$as_echo "$as_val"'`
7215
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7216
$as_echo "$ac_res" >&6; }
6909
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7219
as_val=`eval 'as_val=${'$as_ac_Header'}
7220
$as_echo "$as_val"'`
7221
if test "x$as_val" = x""yes; then
6910
7222
cat >>confdefs.h <<_ACEOF
6911
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7223
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8240
8807
audio_backend="OSS"
8243
if test x$jack_headers_present = xtrue; then
8247
{ echo "$as_me:$LINENO: checking for dlopen in -lc" >&5
8248
echo $ECHO_N "checking for dlopen in -lc... $ECHO_C" >&6; }
8249
if test "${ac_cv_lib_c_dlopen+set}" = set; then
8250
echo $ECHO_N "(cached) $ECHO_C" >&6
8252
ac_check_lib_save_LIBS=$LIBS
8254
cat >conftest.$ac_ext <<_ACEOF
8257
cat confdefs.h >>conftest.$ac_ext
8258
cat >>conftest.$ac_ext <<_ACEOF
8259
/* end confdefs.h. */
8261
/* Override any GCC internal prototype to avoid an error.
8262
Use char because int might match the return type of a GCC
8263
builtin and then its argument prototype would still apply. */
8276
rm -f conftest.$ac_objext conftest$ac_exeext
8277
if { (ac_try="$ac_link"
8279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8280
*) ac_try_echo=$ac_try;;
8282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283
(eval "$ac_link") 2>conftest.er1
8285
grep -v '^ *+' conftest.er1 >conftest.err
8287
cat conftest.err >&5
8288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289
(exit $ac_status); } && {
8290
test -z "$ac_c_werror_flag" ||
8291
test ! -s conftest.err
8292
} && test -s conftest$ac_exeext &&
8293
$as_test_x conftest$ac_exeext; then
8294
ac_cv_lib_c_dlopen=yes
8296
echo "$as_me: failed program was:" >&5
8297
sed 's/^/| /' conftest.$ac_ext >&5
8299
ac_cv_lib_c_dlopen=no
8302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8303
conftest$ac_exeext conftest.$ac_ext
8304
LIBS=$ac_check_lib_save_LIBS
8306
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_dlopen" >&5
8307
echo "${ECHO_T}$ac_cv_lib_c_dlopen" >&6; }
8308
if test $ac_cv_lib_c_dlopen = yes; then
8309
cat >>confdefs.h <<_ACEOF
8322
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8323
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8324
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8325
echo $ECHO_N "(cached) $ECHO_C" >&6
8327
ac_check_lib_save_LIBS=$LIBS
8329
cat >conftest.$ac_ext <<_ACEOF
8332
cat confdefs.h >>conftest.$ac_ext
8333
cat >>conftest.$ac_ext <<_ACEOF
8334
/* end confdefs.h. */
8336
/* Override any GCC internal prototype to avoid an error.
8337
Use char because int might match the return type of a GCC
8338
builtin and then its argument prototype would still apply. */
8351
rm -f conftest.$ac_objext conftest$ac_exeext
8352
if { (ac_try="$ac_link"
8354
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8355
*) ac_try_echo=$ac_try;;
8357
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8358
(eval "$ac_link") 2>conftest.er1
8360
grep -v '^ *+' conftest.er1 >conftest.err
8362
cat conftest.err >&5
8363
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364
(exit $ac_status); } && {
8365
test -z "$ac_c_werror_flag" ||
8366
test ! -s conftest.err
8367
} && test -s conftest$ac_exeext &&
8368
$as_test_x conftest$ac_exeext; then
8369
ac_cv_lib_dl_dlopen=yes
8371
echo "$as_me: failed program was:" >&5
8372
sed 's/^/| /' conftest.$ac_ext >&5
8374
ac_cv_lib_dl_dlopen=no
8377
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8378
conftest$ac_exeext conftest.$ac_ext
8379
LIBS=$ac_check_lib_save_LIBS
8381
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8382
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8383
if test $ac_cv_lib_dl_dlopen = yes; then
8384
cat >>confdefs.h <<_ACEOF
8385
#define HAVE_LIBDL 1
8397
if test x$libdl_np != xtrue; then
8399
cat >>confdefs.h <<\_ACEOF
8400
#define HAVE_JACK_H 1
8407
8810
# Checks for typedefs, structures, and compiler characteristics.
8409
8812
# Checks for library functions.
8410
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8411
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
8813
{ $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8814
$as_echo_n "checking whether closedir returns void... " >&6; }
8412
8815
if test "${ac_cv_func_closedir_void+set}" = set; then
8413
echo $ECHO_N "(cached) $ECHO_C" >&6
8816
$as_echo_n "(cached) " >&6
8415
8818
if test "$cross_compiling" = yes; then
8416
8819
ac_cv_func_closedir_void=yes
8550
8958
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551
8959
*) ac_try_echo=$ac_try;;
8553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8961
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8962
$as_echo "$ac_try_echo") >&5
8554
8963
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8556
8965
grep -v '^ *+' conftest.er1 >conftest.err
8557
8966
rm -f conftest.er1
8558
8967
cat conftest.err >&5
8559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560
8969
(exit $ac_status); } >/dev/null && {
8561
8970
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8562
8971
test ! -s conftest.err
8564
8973
ac_header_preproc=yes
8566
echo "$as_me: failed program was:" >&5
8975
$as_echo "$as_me: failed program was:" >&5
8567
8976
sed 's/^/| /' conftest.$ac_ext >&5
8569
8978
ac_header_preproc=no
8572
8981
rm -f conftest.err conftest.$ac_ext
8573
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8574
echo "${ECHO_T}$ac_header_preproc" >&6; }
8982
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8983
$as_echo "$ac_header_preproc" >&6; }
8576
8985
# So? What about this header?
8577
8986
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8579
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8580
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8581
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8582
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8988
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8989
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8990
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8991
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8583
8992
ac_header_preproc=yes
8586
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8587
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8588
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8589
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8590
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8591
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8592
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8593
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8594
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8595
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8596
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8597
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8995
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8996
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8997
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8998
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8999
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9000
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9001
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9002
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9003
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9004
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9005
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9006
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8601
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8602
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9010
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9011
$as_echo_n "checking for $ac_header... " >&6; }
8603
9012
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8604
echo $ECHO_N "(cached) $ECHO_C" >&6
9013
$as_echo_n "(cached) " >&6
8606
9015
eval "$as_ac_Header=\$ac_header_preproc"
8608
ac_res=`eval echo '${'$as_ac_Header'}'`
8609
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8610
echo "${ECHO_T}$ac_res" >&6; }
9017
ac_res=`eval 'as_val=${'$as_ac_Header'}
9018
$as_echo "$as_val"'`
9019
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9020
$as_echo "$ac_res" >&6; }
8613
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9023
as_val=`eval 'as_val=${'$as_ac_Header'}
9024
$as_echo "$as_val"'`
9025
if test "x$as_val" = x""yes; then
8614
9026
cat >>confdefs.h <<_ACEOF
8615
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9027
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8622
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
8623
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
9034
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9035
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
8624
9036
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
8625
echo $ECHO_N "(cached) $ECHO_C" >&6
9037
$as_echo_n "(cached) " >&6
8627
9039
if test "$cross_compiling" = yes; then
8628
9040
ac_cv_func_malloc_0_nonnull=no
9337
9795
(umask 077 && mkdir "$tmp")
9340
echo "$me: cannot create a temporary directory in ." >&2
9798
$as_echo "$as_me: cannot create a temporary directory in ." >&2
9341
9799
{ (exit 1); exit 1; }
9345
# Set up the sed scripts for CONFIG_FILES section.
9348
# No need to generate the scripts if there are no CONFIG_FILES.
9349
# This happens for instance when ./config.status config.h
9802
# Set up the scripts for CONFIG_FILES section.
9803
# No need to generate them if there are no CONFIG_FILES.
9804
# This happens for instance with `./config.status config.h'.
9350
9805
if test -n "$CONFIG_FILES"; then
9809
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9810
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9816
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9821
echo "cat >conf$$subs.awk <<_ACEOF" &&
9822
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9825
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9826
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9827
{ (exit 1); exit 1; }; }
9828
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9356
9829
ac_delim='%!_!# '
9357
9830
for ac_last_try in false false false false false :; do
9358
cat >conf$$subs.sed <<_ACEOF
9359
SHELL!$SHELL$ac_delim
9360
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9361
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9362
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9363
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9364
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9365
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9366
exec_prefix!$exec_prefix$ac_delim
9367
prefix!$prefix$ac_delim
9368
program_transform_name!$program_transform_name$ac_delim
9369
bindir!$bindir$ac_delim
9370
sbindir!$sbindir$ac_delim
9371
libexecdir!$libexecdir$ac_delim
9372
datarootdir!$datarootdir$ac_delim
9373
datadir!$datadir$ac_delim
9374
sysconfdir!$sysconfdir$ac_delim
9375
sharedstatedir!$sharedstatedir$ac_delim
9376
localstatedir!$localstatedir$ac_delim
9377
includedir!$includedir$ac_delim
9378
oldincludedir!$oldincludedir$ac_delim
9379
docdir!$docdir$ac_delim
9380
infodir!$infodir$ac_delim
9381
htmldir!$htmldir$ac_delim
9382
dvidir!$dvidir$ac_delim
9383
pdfdir!$pdfdir$ac_delim
9384
psdir!$psdir$ac_delim
9385
libdir!$libdir$ac_delim
9386
localedir!$localedir$ac_delim
9387
mandir!$mandir$ac_delim
9389
ECHO_C!$ECHO_C$ac_delim
9390
ECHO_N!$ECHO_N$ac_delim
9391
ECHO_T!$ECHO_T$ac_delim
9393
build_alias!$build_alias$ac_delim
9394
host_alias!$host_alias$ac_delim
9395
target_alias!$target_alias$ac_delim
9396
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9397
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9398
INSTALL_DATA!$INSTALL_DATA$ac_delim
9399
CYGPATH_W!$CYGPATH_W$ac_delim
9400
PACKAGE!$PACKAGE$ac_delim
9401
VERSION!$VERSION$ac_delim
9402
ACLOCAL!$ACLOCAL$ac_delim
9403
AUTOCONF!$AUTOCONF$ac_delim
9404
AUTOMAKE!$AUTOMAKE$ac_delim
9405
AUTOHEADER!$AUTOHEADER$ac_delim
9406
MAKEINFO!$MAKEINFO$ac_delim
9407
AMTAR!$AMTAR$ac_delim
9408
install_sh!$install_sh$ac_delim
9409
STRIP!$STRIP$ac_delim
9410
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9412
SET_MAKE!$SET_MAKE$ac_delim
9413
am__leading_dot!$am__leading_dot$ac_delim
9415
CFLAGS!$CFLAGS$ac_delim
9416
LDFLAGS!$LDFLAGS$ac_delim
9417
CPPFLAGS!$CPPFLAGS$ac_delim
9418
ac_ct_CC!$ac_ct_CC$ac_delim
9419
EXEEXT!$EXEEXT$ac_delim
9420
OBJEXT!$OBJEXT$ac_delim
9421
DEPDIR!$DEPDIR$ac_delim
9422
am__include!$am__include$ac_delim
9423
am__quote!$am__quote$ac_delim
9424
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9425
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9426
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9427
CCDEPMODE!$CCDEPMODE$ac_delim
9428
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9429
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9430
build!$build$ac_delim
9431
build_cpu!$build_cpu$ac_delim
9432
build_vendor!$build_vendor$ac_delim
9433
build_os!$build_os$ac_delim
9435
host_cpu!$host_cpu$ac_delim
9436
host_vendor!$host_vendor$ac_delim
9437
host_os!$host_os$ac_delim
9440
EGREP!$EGREP$ac_delim
9441
XMKMF!$XMKMF$ac_delim
9442
X_CFLAGS!$X_CFLAGS$ac_delim
9443
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
9444
X_LIBS!$X_LIBS$ac_delim
9445
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
9446
LIBOBJS!$LIBOBJS$ac_delim
9447
LTLIBOBJS!$LTLIBOBJS$ac_delim
9831
. ./conf$$subs.sh ||
9832
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9833
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9834
{ (exit 1); exit 1; }; }
9450
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
9836
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9837
if test $ac_delim_n = $ac_delim_num; then
9452
9839
elif $ac_last_try; then
9453
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9454
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9840
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9841
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9455
9842
{ (exit 1); exit 1; }; }
9457
9844
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9461
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9462
if test -n "$ac_eof"; then
9463
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9464
ac_eof=`expr $ac_eof + 1`
9467
cat >>$CONFIG_STATUS <<_ACEOF
9468
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9469
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9472
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9473
s/^/s,@/; s/!/@,|#_!!_#|/
9476
s/'"$ac_delim"'$/,g/; t
9478
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9479
' >>$CONFIG_STATUS <conf$$subs.sed
9480
rm -f conf$$subs.sed
9481
cat >>$CONFIG_STATUS <<_ACEOF
9849
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9850
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9854
s/^/S["/; s/!.*/"]=/
9864
s/\(.\{148\}\).*/\1/
9866
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9871
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9878
s/\(.\{148\}\).*/\1/
9880
s/["\\]/\\&/g; s/^/"/; s/$/"/
9884
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9889
' <conf$$subs.awk | sed '
9894
' >>$CONFIG_STATUS || ac_write_fail=1
9895
rm -f conf$$subs.awk
9896
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9898
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9899
for (key in S) S_is_set[key] = 1
9905
nfields = split(line, field, "@")
9907
len = length(field[1])
9908
for (i = 2; i < nfields; i++) {
9910
keylen = length(key)
9911
if (S_is_set[key]) {
9913
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9914
len += length(value) + length(field[++i])
9925
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9926
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9927
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9930
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9931
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
9932
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
9933
{ (exit 1); exit 1; }; }
9488
9936
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9489
9937
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9503
cat >>$CONFIG_STATUS <<\_ACEOF
9951
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9504
9952
fi # test -n "$CONFIG_FILES"
9507
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
9954
# Set up the scripts for CONFIG_HEADERS section.
9955
# No need to generate them if there are no CONFIG_HEADERS.
9956
# This happens for instance with `./config.status Makefile'.
9957
if test -n "$CONFIG_HEADERS"; then
9958
cat >"$tmp/defines.awk" <<\_ACAWK ||
9962
# Transform confdefs.h into an awk script `defines.awk', embedded as
9963
# here-document in config.status, that substitutes the proper values into
9964
# config.h.in to produce config.h.
9966
# Create a delimiter string that does not exist in confdefs.h, to ease
9967
# handling of long lines.
9969
for ac_last_try in false false :; do
9970
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9971
if test -z "$ac_t"; then
9973
elif $ac_last_try; then
9974
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
9975
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
9976
{ (exit 1); exit 1; }; }
9978
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9982
# For the awk script, D is an array of macro values keyed by name,
9983
# likewise P contains macro parameters if any. Preserve backslash
9984
# newline sequences.
9986
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9988
s/.\{148\}/&'"$ac_delim"'/g
9991
s/^[ ]*#[ ]*define[ ][ ]*/ /
9998
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10000
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10004
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10005
D["\1"]=" \3\\\\\\n"\\/p
10007
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10012
s/.\{148\}/&'"$ac_delim"'/g
10017
s/["\\]/\\&/g; s/^/"/; s/$/"/p
10020
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10022
' <confdefs.h | sed '
10023
s/'"$ac_delim"'/"\\\
10024
"/g' >>$CONFIG_STATUS || ac_write_fail=1
10026
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10027
for (key in D) D_is_set[key] = 1
10030
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10032
split(line, arg, " ")
10033
if (arg[1] == "#") {
10037
defundef = substr(arg[1], 2)
10040
split(mac1, mac2, "(") #)
10042
prefix = substr(line, 1, index(line, defundef) - 1)
10043
if (D_is_set[macro]) {
10044
# Preserve the white space surrounding the "#".
10045
print prefix "define", macro P[macro] D[macro]
10048
# Replace #undef with comments. This is necessary, for example,
10049
# in the case of _POSIX_SOURCE, which is predefined and required
10050
# on some systems where configure will not decide to define it.
10051
if (defundef == "undef") {
10052
print "/*", prefix defundef, macro, "*/"
10060
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10061
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
10062
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
10063
{ (exit 1); exit 1; }; }
10064
fi # test -n "$CONFIG_HEADERS"
10067
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9509
10071
case $ac_tag in
9510
10072
:[FHLC]) ac_mode=$ac_tag; continue;;
9512
10074
case $ac_mode$ac_tag in
9514
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9515
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10076
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
10077
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9516
10078
{ (exit 1); exit 1; }; };;
9517
10079
:[FH]-) ac_tag=-:-;;
9518
10080
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9727
10309
s&@abs_builddir@&$ac_abs_builddir&;t t
9728
10310
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9729
10311
s&@INSTALL@&$ac_INSTALL&;t t
10312
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9730
10313
$ac_datarootdir_hack
9731
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
10315
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10316
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10317
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10318
{ (exit 1); exit 1; }; }
9733
10320
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9734
10321
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9735
10322
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9736
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10323
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9737
10324
which seems to be undefined. Please make sure it is defined." >&5
9738
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10325
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9739
10326
which seems to be undefined. Please make sure it is defined." >&2;}
9741
10328
rm -f "$tmp/stdin"
9742
10329
case $ac_file in
9743
-) cat "$tmp/out"; rm -f "$tmp/out";;
9744
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10330
-) cat "$tmp/out" && rm -f "$tmp/out";;
10331
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10333
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10334
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10335
{ (exit 1); exit 1; }; }
9749
10339
# CONFIG_HEADER
9753
# Transform confdefs.h into a sed script `conftest.defines', that
9754
# substitutes the proper values into config.h.in to produce config.h.
9755
rm -f conftest.defines conftest.tail
9756
# First, append a space to every undef/define line, to ease matching.
9757
echo 's/$/ /' >conftest.defines
9758
# Then, protect against being on the right side of a sed subst, or in
9759
# an unquoted here document, in config.status. If some macros were
9760
# called several times there might be several #defines for the same
9761
# symbol, which is useless. But do not sort them, since the last
9762
# AC_DEFINE must be honored.
9763
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9764
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9765
# NAME is the cpp macro being defined, VALUE is the value it is being given.
9766
# PARAMS is the parameter list in the macro definition--in most cases, it's
9767
# just an empty string.
9768
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9769
ac_dB='\\)[ (].*,\\1define\\2'
9777
s/^[ ]*#[ ]*define[ ][ ]*//
9782
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9783
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9784
' >>conftest.defines
9786
# Remove the space that was appended to ease matching.
9787
# Then replace #undef with comments. This is necessary, for
9788
# example, in the case of _POSIX_SOURCE, which is predefined and required
9789
# on some systems where configure will not decide to define it.
9790
# (The regexp can be short, since the line contains either #define or #undef.)
9792
s,^[ #]*u.*,/* & */,' >>conftest.defines
9794
# Break up conftest.defines:
9797
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9798
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9799
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9801
ac_in='$ac_file_inputs'
9802
ac_out='"$tmp/out1"'
9803
ac_nxt='"$tmp/out2"'
9807
# Write a here document:
9808
cat >>$CONFIG_STATUS <<_ACEOF
9809
# First, check the format of the line:
9810
cat >"\$tmp/defines.sed" <<\\CEOF
9811
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9812
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9816
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9818
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9819
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9820
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9821
grep . conftest.tail >/dev/null || break
9822
rm -f conftest.defines
9823
mv conftest.tail conftest.defines
9825
rm -f conftest.defines conftest.tail
9827
echo "ac_result=$ac_in" >>$CONFIG_STATUS
9828
cat >>$CONFIG_STATUS <<\_ACEOF
9829
10341
if test x"$ac_file" != x-; then
9830
echo "/* $configure_input */" >"$tmp/config.h"
9831
cat "$ac_result" >>"$tmp/config.h"
9832
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9833
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9834
echo "$as_me: $ac_file is unchanged" >&6;}
10343
$as_echo "/* $configure_input */" \
10344
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10345
} >"$tmp/config.h" \
10346
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10347
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10348
{ (exit 1); exit 1; }; }
10349
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10350
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10351
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9837
mv "$tmp/config.h" $ac_file
10354
mv "$tmp/config.h" "$ac_file" \
10355
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10356
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10357
{ (exit 1); exit 1; }; }
9840
echo "/* $configure_input */"
10360
$as_echo "/* $configure_input */" \
10361
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10362
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10363
$as_echo "$as_me: error: could not create -" >&2;}
10364
{ (exit 1); exit 1; }; }
9844
# Compute $ac_file's index in $config_headers.
10366
# Compute "$ac_file"'s index in $config_headers.
9845
10368
_am_stamp_count=1
9846
10369
for _am_header in $config_headers :; do
9847
10370
case $_am_header in
9848
$ac_file | $ac_file:* )
10371
$_am_arg | $_am_arg:* )
9851
10374
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9854
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9855
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9856
X$ac_file : 'X\(//\)[^/]' \| \
9857
X$ac_file : 'X\(//\)$' \| \
9858
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10377
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10378
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10379
X"$_am_arg" : 'X\(//\)[^/]' \| \
10380
X"$_am_arg" : 'X\(//\)$' \| \
10381
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10382
$as_echo X"$_am_arg" |
9860
10383
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{