2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.57.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be Bourne compatible
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
# is contrary to our usage. Disable this feature.
19
alias -g '${1+"$@"}'='"$@"'
20
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
# Support unset when possible.
25
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
224
as_executable_p="test -f"
226
# Sed expression to map a string onto a valid CPP name.
227
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229
# Sed expression to map a string onto a valid variable name.
230
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
# We need space, tab and new line, in precisely that order.
244
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245
# so uname gets run too.
246
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253
ac_default_prefix=/usr/local
254
ac_config_libobj_dir=.
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Maximum number of lines to put in a shell here document.
262
# This variable seems obsolete. It should probably be removed, and
263
# only ac_max_sed_lines should be used.
264
: ${ac_max_here_lines=38}
266
# Identity of this package.
273
ac_unique_file="src/tX_global.h"
274
# Factoring default headers for most tests.
275
ac_includes_default="\
278
# include <sys/types.h>
281
# include <sys/stat.h>
292
# if !STDC_HEADERS && HAVE_MEMORY_H
298
# include <strings.h>
301
# include <inttypes.h>
311
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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LN_S RANLIB ac_ct_RANLIB PKG_CONFIG GTK_CFLAGS GTK_LIBS CPP EGREP SOX_PROG af_config MPG123_PROG OGG123_PROG XSETPOINTER_PROG DEPRECATED_FLAGS gnomepresent gnomeconfig gnomedatadir GNOMEpresent_TRUE GNOMEpresent_FALSE XML2_CONFIG XML_CONFIG XML_LIBS XML_CFLAGS SK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS x_libraries LIBOBJS LTLIBOBJS'
314
# Initialize some variables set by options.
316
ac_init_version=false
317
# The variables have the same names as the options, with
318
# dashes changed to underlines.
326
program_transform_name=s,x,x,
334
# Installation directory options.
335
# These are left unexpanded so users can "make install exec_prefix=/foo"
336
# and all the variables that are supposed to be based on exec_prefix
337
# by default will actually change.
338
# Use braces instead of parens because sh, perl, etc. also accept them.
339
bindir='${exec_prefix}/bin'
340
sbindir='${exec_prefix}/sbin'
341
libexecdir='${exec_prefix}/libexec'
342
datadir='${prefix}/share'
343
sysconfdir='${prefix}/etc'
344
sharedstatedir='${prefix}/com'
345
localstatedir='${prefix}/var'
346
libdir='${exec_prefix}/lib'
347
includedir='${prefix}/include'
348
oldincludedir='/usr/include'
349
infodir='${prefix}/info'
350
mandir='${prefix}/man'
355
# If the previous option needs an argument, assign it.
356
if test -n "$ac_prev"; then
357
eval "$ac_prev=\$ac_option"
362
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
# Accept the important Cygnus configure options, so we can diagnose typos.
368
-bindir | --bindir | --bindi | --bind | --bin | --bi)
370
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373
-build | --build | --buil | --bui | --bu)
374
ac_prev=build_alias ;;
375
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
376
build_alias=$ac_optarg ;;
378
-cache-file | --cache-file | --cache-fil | --cache-fi \
379
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380
ac_prev=cache_file ;;
381
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383
cache_file=$ac_optarg ;;
386
cache_file=config.cache ;;
388
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392
datadir=$ac_optarg ;;
394
-disable-* | --disable-*)
395
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396
# Reject names that are not valid shell variable names.
397
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
399
{ (exit 1); exit 1; }; }
400
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401
eval "enable_$ac_feature=no" ;;
403
-enable-* | --enable-*)
404
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405
# Reject names that are not valid shell variable names.
406
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
408
{ (exit 1); exit 1; }; }
409
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414
eval "enable_$ac_feature='$ac_optarg'" ;;
416
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418
| --exec | --exe | --ex)
419
ac_prev=exec_prefix ;;
420
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422
| --exec=* | --exe=* | --ex=*)
423
exec_prefix=$ac_optarg ;;
425
-gas | --gas | --ga | --g)
426
# Obsolete; use --with-gas.
429
-help | --help | --hel | --he | -h)
431
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432
ac_init_help=recursive ;;
433
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434
ac_init_help=short ;;
436
-host | --host | --hos | --ho)
437
ac_prev=host_alias ;;
438
-host=* | --host=* | --hos=* | --ho=*)
439
host_alias=$ac_optarg ;;
441
-includedir | --includedir | --includedi | --included | --include \
442
| --includ | --inclu | --incl | --inc)
443
ac_prev=includedir ;;
444
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445
| --includ=* | --inclu=* | --incl=* | --inc=*)
446
includedir=$ac_optarg ;;
448
-infodir | --infodir | --infodi | --infod | --info | --inf)
450
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451
infodir=$ac_optarg ;;
453
-libdir | --libdir | --libdi | --libd)
455
-libdir=* | --libdir=* | --libdi=* | --libd=*)
458
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459
| --libexe | --libex | --libe)
460
ac_prev=libexecdir ;;
461
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462
| --libexe=* | --libex=* | --libe=*)
463
libexecdir=$ac_optarg ;;
465
-localstatedir | --localstatedir | --localstatedi | --localstated \
466
| --localstate | --localstat | --localsta | --localst \
467
| --locals | --local | --loca | --loc | --lo)
468
ac_prev=localstatedir ;;
469
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
471
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472
localstatedir=$ac_optarg ;;
474
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480
# Obsolete; use --without-fp.
483
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
484
| --no-cr | --no-c | -n)
487
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
488
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493
| --oldin | --oldi | --old | --ol | --o)
494
ac_prev=oldincludedir ;;
495
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498
oldincludedir=$ac_optarg ;;
500
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505
-program-prefix | --program-prefix | --program-prefi | --program-pref \
506
| --program-pre | --program-pr | --program-p)
507
ac_prev=program_prefix ;;
508
-program-prefix=* | --program-prefix=* | --program-prefi=* \
509
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510
program_prefix=$ac_optarg ;;
512
-program-suffix | --program-suffix | --program-suffi | --program-suff \
513
| --program-suf | --program-su | --program-s)
514
ac_prev=program_suffix ;;
515
-program-suffix=* | --program-suffix=* | --program-suffi=* \
516
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517
program_suffix=$ac_optarg ;;
519
-program-transform-name | --program-transform-name \
520
| --program-transform-nam | --program-transform-na \
521
| --program-transform-n | --program-transform- \
522
| --program-transform | --program-transfor \
523
| --program-transfo | --program-transf \
524
| --program-trans | --program-tran \
525
| --progr-tra | --program-tr | --program-t)
526
ac_prev=program_transform_name ;;
527
-program-transform-name=* | --program-transform-name=* \
528
| --program-transform-nam=* | --program-transform-na=* \
529
| --program-transform-n=* | --program-transform-=* \
530
| --program-transform=* | --program-transfor=* \
531
| --program-transfo=* | --program-transf=* \
532
| --program-trans=* | --program-tran=* \
533
| --progr-tra=* | --program-tr=* | --program-t=*)
534
program_transform_name=$ac_optarg ;;
536
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
537
| -silent | --silent | --silen | --sile | --sil)
540
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544
sbindir=$ac_optarg ;;
546
-sharedstatedir | --sharedstatedir | --sharedstatedi \
547
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548
| --sharedst | --shareds | --shared | --share | --shar \
550
ac_prev=sharedstatedir ;;
551
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555
sharedstatedir=$ac_optarg ;;
557
-site | --site | --sit)
559
-site=* | --site=* | --sit=*)
562
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568
| --syscon | --sysco | --sysc | --sys | --sy)
569
ac_prev=sysconfdir ;;
570
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572
sysconfdir=$ac_optarg ;;
574
-target | --target | --targe | --targ | --tar | --ta | --t)
575
ac_prev=target_alias ;;
576
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577
target_alias=$ac_optarg ;;
579
-v | -verbose | --verbose | --verbos | --verbo | --verb)
582
-version | --version | --versio | --versi | --vers | -V)
586
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587
# Reject names that are not valid shell variable names.
588
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589
{ echo "$as_me: error: invalid package name: $ac_package" >&2
590
{ (exit 1); exit 1; }; }
591
ac_package=`echo $ac_package| sed 's/-/_/g'`
593
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596
eval "with_$ac_package='$ac_optarg'" ;;
598
-without-* | --without-*)
599
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600
# Reject names that are not valid shell variable names.
601
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602
{ echo "$as_me: error: invalid package name: $ac_package" >&2
603
{ (exit 1); exit 1; }; }
604
ac_package=`echo $ac_package | sed 's/-/_/g'`
605
eval "with_$ac_package=no" ;;
608
# Obsolete; use --with-x.
611
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612
| --x-incl | --x-inc | --x-in | --x-i)
613
ac_prev=x_includes ;;
614
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616
x_includes=$ac_optarg ;;
618
-x-libraries | --x-libraries | --x-librarie | --x-librari \
619
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620
ac_prev=x_libraries ;;
621
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623
x_libraries=$ac_optarg ;;
625
-*) { echo "$as_me: error: unrecognized option: $ac_option
626
Try \`$0 --help' for more information." >&2
627
{ (exit 1); exit 1; }; }
631
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632
# Reject names that are not valid shell variable names.
633
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635
{ (exit 1); exit 1; }; }
636
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637
eval "$ac_envvar='$ac_optarg'"
641
# FIXME: should be removed in autoconf 3.0.
642
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651
if test -n "$ac_prev"; then
652
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653
{ echo "$as_me: error: missing argument to $ac_option" >&2
654
{ (exit 1); exit 1; }; }
657
# Be sure to have absolute paths.
658
for ac_var in exec_prefix prefix
660
eval ac_val=$`echo $ac_var`
662
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664
{ (exit 1); exit 1; }; };;
668
# Be sure to have absolute paths.
669
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
localstatedir libdir includedir oldincludedir infodir mandir
672
eval ac_val=$`echo $ac_var`
674
[\\/$]* | ?:[\\/]* ) ;;
675
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676
{ (exit 1); exit 1; }; };;
680
# There might be people who depend on the old broken behavior: `$host'
681
# used to hold the argument of --host etc.
682
# FIXME: To remove some day.
687
# FIXME: To remove some day.
688
if test "x$host_alias" != x; then
689
if test "x$build_alias" = x; then
690
cross_compiling=maybe
691
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692
If a cross compiler is detected then cross compile mode will be used." >&2
693
elif test "x$build_alias" != "x$host_alias"; then
699
test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
test "$silent" = yes && exec 6>/dev/null
704
# Find the source files, if location was not specified.
705
if test -z "$srcdir"; then
706
ac_srcdir_defaulted=yes
707
# Try the directory containing this script, then its parent.
708
ac_confdir=`(dirname "$0") 2>/dev/null ||
709
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
X"$0" : 'X\(//\)[^/]' \| \
711
X"$0" : 'X\(//\)$' \| \
712
X"$0" : 'X\(/\)' \| \
713
. : '\(.\)' 2>/dev/null ||
715
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
717
/^X\(\/\/\)$/{ s//\1/; q; }
718
/^X\(\/\).*/{ s//\1/; q; }
721
if test ! -r $srcdir/$ac_unique_file; then
725
ac_srcdir_defaulted=no
727
if test ! -r $srcdir/$ac_unique_file; then
728
if test "$ac_srcdir_defaulted" = yes; then
729
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730
{ (exit 1); exit 1; }; }
732
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733
{ (exit 1); exit 1; }; }
736
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738
{ (exit 1); exit 1; }; }
739
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740
ac_env_build_alias_set=${build_alias+set}
741
ac_env_build_alias_value=$build_alias
742
ac_cv_env_build_alias_set=${build_alias+set}
743
ac_cv_env_build_alias_value=$build_alias
744
ac_env_host_alias_set=${host_alias+set}
745
ac_env_host_alias_value=$host_alias
746
ac_cv_env_host_alias_set=${host_alias+set}
747
ac_cv_env_host_alias_value=$host_alias
748
ac_env_target_alias_set=${target_alias+set}
749
ac_env_target_alias_value=$target_alias
750
ac_cv_env_target_alias_set=${target_alias+set}
751
ac_cv_env_target_alias_value=$target_alias
752
ac_env_CC_set=${CC+set}
754
ac_cv_env_CC_set=${CC+set}
755
ac_cv_env_CC_value=$CC
756
ac_env_CFLAGS_set=${CFLAGS+set}
757
ac_env_CFLAGS_value=$CFLAGS
758
ac_cv_env_CFLAGS_set=${CFLAGS+set}
759
ac_cv_env_CFLAGS_value=$CFLAGS
760
ac_env_LDFLAGS_set=${LDFLAGS+set}
761
ac_env_LDFLAGS_value=$LDFLAGS
762
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_cv_env_LDFLAGS_value=$LDFLAGS
764
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765
ac_env_CPPFLAGS_value=$CPPFLAGS
766
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768
ac_env_CXX_set=${CXX+set}
769
ac_env_CXX_value=$CXX
770
ac_cv_env_CXX_set=${CXX+set}
771
ac_cv_env_CXX_value=$CXX
772
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
773
ac_env_CXXFLAGS_value=$CXXFLAGS
774
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
775
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
776
ac_env_CPP_set=${CPP+set}
777
ac_env_CPP_value=$CPP
778
ac_cv_env_CPP_set=${CPP+set}
779
ac_cv_env_CPP_value=$CPP
782
# Report the --help message.
784
if test "$ac_init_help" = "long"; then
785
# Omit some internal or obsolete options to make the list less imposing.
786
# This message is too long to be a string in the A/UX 3.1 sh.
788
\`configure' configures this package to adapt to many kinds of systems.
790
Usage: $0 [OPTION]... [VAR=VALUE]...
792
To assign environment variables (e.g., CC, CFLAGS...), specify them as
793
VAR=VALUE. See below for descriptions of some of the useful variables.
795
Defaults for the options are specified in brackets.
798
-h, --help display this help and exit
799
--help=short display options specific to this package
800
--help=recursive display the short help of all the included packages
801
-V, --version display version information and exit
802
-q, --quiet, --silent do not print \`checking...' messages
803
--cache-file=FILE cache test results in FILE [disabled]
804
-C, --config-cache alias for \`--cache-file=config.cache'
805
-n, --no-create do not create output files
806
--srcdir=DIR find the sources in DIR [configure dir or \`..']
811
Installation directories:
812
--prefix=PREFIX install architecture-independent files in PREFIX
814
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
817
By default, \`make install' will install all the files in
818
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
819
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
820
for instance \`--prefix=\$HOME'.
822
For better control, use the options below.
824
Fine tuning of the installation directories:
825
--bindir=DIR user executables [EPREFIX/bin]
826
--sbindir=DIR system admin executables [EPREFIX/sbin]
827
--libexecdir=DIR program executables [EPREFIX/libexec]
828
--datadir=DIR read-only architecture-independent data [PREFIX/share]
829
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
830
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
831
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
832
--libdir=DIR object code libraries [EPREFIX/lib]
833
--includedir=DIR C header files [PREFIX/include]
834
--oldincludedir=DIR C header files for non-gcc [/usr/include]
835
--infodir=DIR info documentation [PREFIX/info]
836
--mandir=DIR man documentation [PREFIX/man]
842
--program-prefix=PREFIX prepend PREFIX to installed program names
843
--program-suffix=SUFFIX append SUFFIX to installed program names
844
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
847
--x-includes=DIR X include files are in DIR
848
--x-libraries=DIR X library files are in DIR
852
if test -n "$ac_init_help"; then
857
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
858
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
859
--enable-sox use sox as input converter. (default=auto)
860
--enable-mpg123 use mpg123 as input converter. (default=auto)
861
--enable-ogg123 use ogg123 as input converter. (default=auto)
862
--enable-scheduler enable rt-scheduling (default=auto)
863
--enable-debug enable debug output. (default=no)
864
--enable-wav enables the built-in wav-loader (default=yes)
865
--enable-xsetpointer enables executing of xsetpointer (default=auto)
866
--enable-alsa use ALSA for sound output (default=auto)
867
--enable-jack use JACK for sound output (default=auto)
868
--enable-oss use OSS for sound output (default=auto)
869
--disable-libxml2 use libxml even if verion 2 detected (default=auto)
870
--disable-mad disable mad for mp3 support (default=auto)
871
--disable-vorbis disable libvorbis support (default=auto)
872
--disable-audiofile disable audiofile support (default=auto)
873
--enable-legacy enable support for old terminatorX files (default=no)
874
--disable-alsamidi disable support ALSA MIDI in (default=auto)
875
--disable-lrdf disable support for liblrdf (default=auto)
876
--enable-suidroot enable old suid-root exec method (default=no)
877
--enable-capabilities an alternative suid-root method (default=auto)
878
--disable-deprecated compile without deprecated G*-headers (default=no)
879
--disable-dependency-tracking Speeds up one-time builds
880
--enable-dependency-tracking Do not reject slow dependency extractors
881
--disable-gtktest do not try to compile and run a test GTK+ program
884
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
885
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
886
--with-docdir=/some/dir the final location the docs will be installed to.
887
--with-x use the X Window System
889
Some influential environment variables:
890
CC C compiler command
891
CFLAGS C compiler flags
892
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
893
nonstandard directory <lib dir>
894
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
895
headers in a nonstandard directory <include dir>
896
CXX C++ compiler command
897
CXXFLAGS C++ compiler flags
900
Use these variables to override the choices made by `configure' or to help
901
it to find libraries and programs with nonstandard names/locations.
906
if test "$ac_init_help" = "recursive"; then
907
# If there are subdirs, report their specific --help.
909
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
910
test -d $ac_dir || continue
913
if test "$ac_dir" != .; then
914
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
915
# A "../" for each directory in $ac_dir_suffix.
916
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
918
ac_dir_suffix= ac_top_builddir=
922
.) # No --srcdir option. We are building in place.
924
if test -z "$ac_top_builddir"; then
927
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
929
[\\/]* | ?:[\\/]* ) # Absolute path.
930
ac_srcdir=$srcdir$ac_dir_suffix;
931
ac_top_srcdir=$srcdir ;;
933
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
934
ac_top_srcdir=$ac_top_builddir$srcdir ;;
936
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
938
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
939
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
940
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
941
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
944
# Check for guested configure; otherwise get Cygnus style configure.
945
if test -f $ac_srcdir/configure.gnu; then
947
$SHELL $ac_srcdir/configure.gnu --help=recursive
948
elif test -f $ac_srcdir/configure; then
950
$SHELL $ac_srcdir/configure --help=recursive
951
elif test -f $ac_srcdir/configure.ac ||
952
test -f $ac_srcdir/configure.in; then
956
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
962
test -n "$ac_init_help" && exit 0
963
if $ac_init_version; then
966
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
967
Free Software Foundation, Inc.
968
This configure script is free software; the Free Software Foundation
969
gives unlimited permission to copy, distribute and modify it.
975
This file contains any messages produced by compilers while
976
running configure, to aid debugging if configure makes a mistake.
978
It was created by $as_me, which was
979
generated by GNU Autoconf 2.57. Invocation command line was
990
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
991
uname -m = `(uname -m) 2>/dev/null || echo unknown`
992
uname -r = `(uname -r) 2>/dev/null || echo unknown`
993
uname -s = `(uname -s) 2>/dev/null || echo unknown`
994
uname -v = `(uname -v) 2>/dev/null || echo unknown`
996
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
997
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
999
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1000
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1001
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1002
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1003
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1004
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1005
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1009
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013
test -z "$as_dir" && as_dir=.
1014
echo "PATH: $as_dir"
1029
# Keep a trace of the command line.
1030
# Strip out --no-create and --no-recursion so they do not pile up.
1031
# Strip out --silent because we don't want to record it for future runs.
1032
# Also quote any args containing shell meta-characters.
1033
# Make two passes to allow for proper duplicate-argument suppression.
1038
ac_must_keep_next=false
1044
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1045
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046
| -silent | --silent | --silen | --sile | --sil)
1048
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1049
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1052
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1054
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1055
if test $ac_must_keep_next = true; then
1056
ac_must_keep_next=false # Got value, back to normal.
1059
*=* | --config-cache | -C | -disable-* | --disable-* \
1060
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1061
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1062
| -with-* | --with-* | -without-* | --without-* | --x)
1063
case "$ac_configure_args0 " in
1064
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1067
-* ) ac_must_keep_next=true ;;
1070
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1071
# Get rid of the leading space.
1077
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1078
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1080
# When interrupted or exit'd, cleanup temporary files, and complete
1081
# config.log. We remove comments because anyway the quotes in there
1082
# would cause problems or look ugly.
1083
# WARNING: Be sure not to use single quotes in there, as some shells,
1084
# such as our DU 5.0 friend, will then `close' the trap.
1085
trap 'exit_status=$?
1086
# Save into config.log some information that might help in debugging.
1091
## ---------------- ##
1092
## Cache variables. ##
1093
## ---------------- ##
1096
# The following way of writing the cache mishandles newlines in values,
1099
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1102
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1103
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114
## ----------------- ##
1115
## Output variables. ##
1116
## ----------------- ##
1119
for ac_var in $ac_subst_vars
1121
eval ac_val=$`echo $ac_var`
1122
echo "$ac_var='"'"'$ac_val'"'"'"
1126
if test -n "$ac_subst_files"; then
1133
for ac_var in $ac_subst_files
1135
eval ac_val=$`echo $ac_var`
1136
echo "$ac_var='"'"'$ac_val'"'"'"
1141
if test -s confdefs.h; then
1148
sed "/^$/d" confdefs.h | sort
1151
test "$ac_signal" != 0 &&
1152
echo "$as_me: caught signal $ac_signal"
1153
echo "$as_me: exit $exit_status"
1155
rm -f core *.core &&
1156
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1159
for ac_signal in 1 2 13 15; do
1160
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1165
rm -rf conftest* confdefs.h
1166
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1169
# Predefined preprocessor variables.
1171
cat >>confdefs.h <<_ACEOF
1172
#define PACKAGE_NAME "$PACKAGE_NAME"
1176
cat >>confdefs.h <<_ACEOF
1177
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181
cat >>confdefs.h <<_ACEOF
1182
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1186
cat >>confdefs.h <<_ACEOF
1187
#define PACKAGE_STRING "$PACKAGE_STRING"
1191
cat >>confdefs.h <<_ACEOF
1192
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196
# Let the site file select an alternate cache file if it wants to.
1197
# Prefer explicitly selected file to automatically selected ones.
1198
if test -z "$CONFIG_SITE"; then
1199
if test "x$prefix" != xNONE; then
1200
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1202
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1205
for ac_site_file in $CONFIG_SITE; do
1206
if test -r "$ac_site_file"; then
1207
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1208
echo "$as_me: loading site script $ac_site_file" >&6;}
1209
sed 's/^/| /' "$ac_site_file" >&5
1214
if test -r "$cache_file"; then
1215
# Some versions of bash will fail to source /dev/null (special
1216
# files actually), so we avoid doing that.
1217
if test -f "$cache_file"; then
1218
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1219
echo "$as_me: loading cache $cache_file" >&6;}
1221
[\\/]* | ?:[\\/]* ) . $cache_file;;
1222
*) . ./$cache_file;;
1226
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1227
echo "$as_me: creating cache $cache_file" >&6;}
1231
# Check that the precious variables saved in the cache have kept the same
1233
ac_cache_corrupted=false
1234
for ac_var in `(set) 2>&1 |
1235
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1236
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1237
eval ac_new_set=\$ac_env_${ac_var}_set
1238
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1239
eval ac_new_val="\$ac_env_${ac_var}_value"
1240
case $ac_old_set,$ac_new_set in
1242
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1243
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1244
ac_cache_corrupted=: ;;
1246
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1247
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1248
ac_cache_corrupted=: ;;
1251
if test "x$ac_old_val" != "x$ac_new_val"; then
1252
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1253
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1254
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1255
echo "$as_me: former value: $ac_old_val" >&2;}
1256
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1257
echo "$as_me: current value: $ac_new_val" >&2;}
1258
ac_cache_corrupted=:
1261
# Pass precious variables to config.status.
1262
if test "$ac_new_set" = set; then
1264
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1265
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1266
*) ac_arg=$ac_var=$ac_new_val ;;
1268
case " $ac_configure_args " in
1269
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1270
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274
if $ac_cache_corrupted; then
1275
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1276
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1277
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1278
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1279
{ (exit 1); exit 1; }; }
1283
ac_cpp='$CPP $CPPFLAGS'
1284
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1285
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1286
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306
am__api_version="1.7"
1308
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1309
if test -f $ac_dir/install-sh; then
1311
ac_install_sh="$ac_aux_dir/install-sh -c"
1313
elif test -f $ac_dir/install.sh; then
1315
ac_install_sh="$ac_aux_dir/install.sh -c"
1317
elif test -f $ac_dir/shtool; then
1319
ac_install_sh="$ac_aux_dir/shtool install -c"
1323
if test -z "$ac_aux_dir"; then
1324
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1325
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1326
{ (exit 1); exit 1; }; }
1328
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1329
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1330
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1332
# Find a good install program. We prefer a C program (faster),
1333
# so one script is as good as another. But avoid the broken or
1334
# incompatible versions:
1335
# SysV /etc/install, /usr/sbin/install
1336
# SunOS /usr/etc/install
1337
# IRIX /sbin/install
1339
# AmigaOS /C/install, which installs bootblocks on floppy discs
1340
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1341
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1342
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1343
# ./install, which can be erroneously created by make from ./install.sh.
1344
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1345
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1346
if test -z "$INSTALL"; then
1347
if test "${ac_cv_path_install+set}" = set; then
1348
echo $ECHO_N "(cached) $ECHO_C" >&6
1350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1354
test -z "$as_dir" && as_dir=.
1355
# Account for people who put trailing slashes in PATH elements.
1357
./ | .// | /cC/* | \
1358
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1361
# OSF1 and SCO ODT 3.0 have their own names for install.
1362
# Don't use installbsd from OSF since it installs stuff as root
1364
for ac_prog in ginstall scoinst install; do
1365
for ac_exec_ext in '' $ac_executable_extensions; do
1366
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1367
if test $ac_prog = install &&
1368
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
# AIX install. It has an incompatible calling convention.
1371
elif test $ac_prog = install &&
1372
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1373
# program-specific install script used by HP pwplus--don't use.
1376
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1388
if test "${ac_cv_path_install+set}" = set; then
1389
INSTALL=$ac_cv_path_install
1391
# As a last resort, use the slow shell script. We don't cache a
1392
# path for INSTALL within a source directory, because that will
1393
# break other packages using the cache if that directory is
1394
# removed, or if the path is relative.
1395
INSTALL=$ac_install_sh
1398
echo "$as_me:$LINENO: result: $INSTALL" >&5
1399
echo "${ECHO_T}$INSTALL" >&6
1401
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1402
# It thinks the first close brace ends the variable substitution.
1403
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1405
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1407
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1409
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1410
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1413
echo timestamp > conftest.file
1414
# Do `set' in a subshell so we don't clobber the current shell's
1415
# arguments. Must try -L first in case configure is actually a
1416
# symlink; some systems play weird games with the mod time of symlinks
1417
# (eg FreeBSD returns the mod time of the symlink's containing
1420
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1421
if test "$*" = "X"; then
1423
set X `ls -t $srcdir/configure conftest.file`
1426
if test "$*" != "X $srcdir/configure conftest.file" \
1427
&& test "$*" != "X conftest.file $srcdir/configure"; then
1429
# If neither matched, then we have a broken ls. This can happen
1430
# if, for instance, CONFIG_SHELL is bash and it inherits a
1431
# broken ls alias from the environment. This has actually
1432
# happened. Such a system could not be considered "sane".
1433
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1434
alias in your environment" >&5
1435
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1436
alias in your environment" >&2;}
1437
{ (exit 1); exit 1; }; }
1440
test "$2" = conftest.file
1446
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1447
Check your system clock" >&5
1448
echo "$as_me: error: newly created file is older than distributed files!
1449
Check your system clock" >&2;}
1450
{ (exit 1); exit 1; }; }
1452
echo "$as_me:$LINENO: result: yes" >&5
1453
echo "${ECHO_T}yes" >&6
1454
test "$program_prefix" != NONE &&
1455
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1456
# Use a double $ so make ignores it.
1457
test "$program_suffix" != NONE &&
1458
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1459
# Double any \ or $. echo might interpret backslashes.
1460
# By default was `s,x,x', remove it if useless.
1461
cat <<\_ACEOF >conftest.sed
1462
s/[\\$]/&&/g;s/;s,x,x,$//
1464
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1468
# expand $ac_aux_dir to an absolute path
1469
am_aux_dir=`cd $ac_aux_dir && pwd`
1471
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1472
# Use eval to expand $SHELL
1473
if eval "$MISSING --run true"; then
1474
am_missing_run="$MISSING --run "
1477
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1478
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1481
for ac_prog in gawk mawk nawk awk
1483
# Extract the first word of "$ac_prog", so it can be a program name with args.
1484
set dummy $ac_prog; ac_word=$2
1485
echo "$as_me:$LINENO: checking for $ac_word" >&5
1486
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487
if test "${ac_cv_prog_AWK+set}" = set; then
1488
echo $ECHO_N "(cached) $ECHO_C" >&6
1490
if test -n "$AWK"; then
1491
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1493
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497
test -z "$as_dir" && as_dir=.
1498
for ac_exec_ext in '' $ac_executable_extensions; do
1499
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500
ac_cv_prog_AWK="$ac_prog"
1501
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510
if test -n "$AWK"; then
1511
echo "$as_me:$LINENO: result: $AWK" >&5
1512
echo "${ECHO_T}$AWK" >&6
1514
echo "$as_me:$LINENO: result: no" >&5
1515
echo "${ECHO_T}no" >&6
1518
test -n "$AWK" && break
1521
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1522
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1523
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1524
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1525
echo $ECHO_N "(cached) $ECHO_C" >&6
1527
cat >conftest.make <<\_ACEOF
1529
@echo 'ac_maketemp="$(MAKE)"'
1531
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1532
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1533
if test -n "$ac_maketemp"; then
1534
eval ac_cv_prog_make_${ac_make}_set=yes
1536
eval ac_cv_prog_make_${ac_make}_set=no
1540
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1541
echo "$as_me:$LINENO: result: yes" >&5
1542
echo "${ECHO_T}yes" >&6
1545
echo "$as_me:$LINENO: result: no" >&5
1546
echo "${ECHO_T}no" >&6
1547
SET_MAKE="MAKE=${MAKE-make}"
1550
rm -rf .tst 2>/dev/null
1551
mkdir .tst 2>/dev/null
1552
if test -d .tst; then
1557
rmdir .tst 2>/dev/null
1559
# test to see if srcdir already configured
1560
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1561
test -f $srcdir/config.status; then
1562
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1563
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1564
{ (exit 1); exit 1; }; }
1567
# test whether we have cygpath
1568
if test -z "$CYGPATH_W"; then
1569
if (cygpath --version) >/dev/null 2>/dev/null; then
1570
CYGPATH_W='cygpath -w'
1577
# Define the identity of the package.
1582
cat >>confdefs.h <<_ACEOF
1583
#define PACKAGE "$PACKAGE"
1587
cat >>confdefs.h <<_ACEOF
1588
#define VERSION "$VERSION"
1591
# Some tools Automake needs.
1593
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1596
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1599
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1602
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1605
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1608
AMTAR=${AMTAR-"${am_missing_run}tar"}
1610
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1612
# Installed binaries are usually stripped using `strip' when the user
1613
# run `make install-strip'. However `strip' might not be the right
1614
# tool to use in cross-compilation environments, therefore Automake
1615
# will honor the `STRIP' environment variable to overrule this program.
1616
if test "$cross_compiling" != no; then
1617
if test -n "$ac_tool_prefix"; then
1618
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1619
set dummy ${ac_tool_prefix}strip; ac_word=$2
1620
echo "$as_me:$LINENO: checking for $ac_word" >&5
1621
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622
if test "${ac_cv_prog_STRIP+set}" = set; then
1623
echo $ECHO_N "(cached) $ECHO_C" >&6
1625
if test -n "$STRIP"; then
1626
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1632
test -z "$as_dir" && as_dir=.
1633
for ac_exec_ext in '' $ac_executable_extensions; do
1634
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1635
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1636
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644
STRIP=$ac_cv_prog_STRIP
1645
if test -n "$STRIP"; then
1646
echo "$as_me:$LINENO: result: $STRIP" >&5
1647
echo "${ECHO_T}$STRIP" >&6
1649
echo "$as_me:$LINENO: result: no" >&5
1650
echo "${ECHO_T}no" >&6
1654
if test -z "$ac_cv_prog_STRIP"; then
1656
# Extract the first word of "strip", so it can be a program name with args.
1657
set dummy strip; ac_word=$2
1658
echo "$as_me:$LINENO: checking for $ac_word" >&5
1659
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1661
echo $ECHO_N "(cached) $ECHO_C" >&6
1663
if test -n "$ac_ct_STRIP"; then
1664
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670
test -z "$as_dir" && as_dir=.
1671
for ac_exec_ext in '' $ac_executable_extensions; do
1672
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673
ac_cv_prog_ac_ct_STRIP="strip"
1674
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1683
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1684
if test -n "$ac_ct_STRIP"; then
1685
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1686
echo "${ECHO_T}$ac_ct_STRIP" >&6
1688
echo "$as_me:$LINENO: result: no" >&5
1689
echo "${ECHO_T}no" >&6
1694
STRIP="$ac_cv_prog_STRIP"
1698
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1700
# We need awk for the "check" target. The system "awk" is bad on
1705
ac_config_headers="$ac_config_headers config.h"
1708
# Check whether --enable-sox or --disable-sox was given.
1709
if test "${enable_sox+set}" = set; then
1710
enableval="$enable_sox"
1713
# Check whether --enable-mpg123 or --disable-mpg123 was given.
1714
if test "${enable_mpg123+set}" = set; then
1715
enableval="$enable_mpg123"
1718
# Check whether --enable-ogg123 or --disable-ogg123 was given.
1719
if test "${enable_ogg123+set}" = set; then
1720
enableval="$enable_ogg123"
1723
# Check whether --enable-scheduler or --disable-scheduler was given.
1724
if test "${enable_scheduler+set}" = set; then
1725
enableval="$enable_scheduler"
1728
# Check whether --enable-debug or --disable-debug was given.
1729
if test "${enable_debug+set}" = set; then
1730
enableval="$enable_debug"
1733
# Check whether --enable-wav or --disable-wav was given.
1734
if test "${enable_wav+set}" = set; then
1735
enableval="$enable_wav"
1738
# Check whether --enable-xsetpointer or --disable-xsetpointer was given.
1739
if test "${enable_xsetpointer+set}" = set; then
1740
enableval="$enable_xsetpointer"
1743
# Check whether --enable-alsa or --disable-alsa was given.
1744
if test "${enable_alsa+set}" = set; then
1745
enableval="$enable_alsa"
1748
# Check whether --enable-jack or --disable-jack was given.
1749
if test "${enable_jack+set}" = set; then
1750
enableval="$enable_jack"
1753
# Check whether --enable-oss or --disable-oss was given.
1754
if test "${enable_oss+set}" = set; then
1755
enableval="$enable_oss"
1758
# Check whether --enable-libxml2 or --disable-libxml2 was given.
1759
if test "${enable_libxml2+set}" = set; then
1760
enableval="$enable_libxml2"
1763
# Check whether --enable-mad or --disable-mad was given.
1764
if test "${enable_mad+set}" = set; then
1765
enableval="$enable_mad"
1768
# Check whether --enable-vorbis or --disable-vorbis was given.
1769
if test "${enable_vorbis+set}" = set; then
1770
enableval="$enable_vorbis"
1773
# Check whether --enable-audiofile or --disable-audiofile was given.
1774
if test "${enable_audiofile+set}" = set; then
1775
enableval="$enable_audiofile"
1778
# Check whether --enable-legacy or --disable-legacy was given.
1779
if test "${enable_legacy+set}" = set; then
1780
enableval="$enable_legacy"
1783
# Check whether --enable-alsamidi or --disable-alsamidi was given.
1784
if test "${enable_alsamidi+set}" = set; then
1785
enableval="$enable_alsamidi"
1788
# Check whether --enable-lrdf or --disable-lrdf was given.
1789
if test "${enable_lrdf+set}" = set; then
1790
enableval="$enable_lrdf"
1793
# Check whether --enable-suidroot or --disable-suidroot was given.
1794
if test "${enable_suidroot+set}" = set; then
1795
enableval="$enable_suidroot"
1798
# Check whether --enable-capabilities or --disable-capabilities was given.
1799
if test "${enable_capabilities+set}" = set; then
1800
enableval="$enable_capabilities"
1803
# Check whether --enable-deprecated or --disable-deprecated was given.
1804
if test "${enable_deprecated+set}" = set; then
1805
enableval="$enable_deprecated"
1809
# Check whether --with-docdir or --without-docdir was given.
1810
if test "${with_docdir+set}" = set; then
1811
withval="$with_docdir"
1815
for ac_prog in gawk mawk nawk awk
1817
# Extract the first word of "$ac_prog", so it can be a program name with args.
1818
set dummy $ac_prog; ac_word=$2
1819
echo "$as_me:$LINENO: checking for $ac_word" >&5
1820
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1821
if test "${ac_cv_prog_AWK+set}" = set; then
1822
echo $ECHO_N "(cached) $ECHO_C" >&6
1824
if test -n "$AWK"; then
1825
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831
test -z "$as_dir" && as_dir=.
1832
for ac_exec_ext in '' $ac_executable_extensions; do
1833
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1834
ac_cv_prog_AWK="$ac_prog"
1835
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844
if test -n "$AWK"; then
1845
echo "$as_me:$LINENO: result: $AWK" >&5
1846
echo "${ECHO_T}$AWK" >&6
1848
echo "$as_me:$LINENO: result: no" >&5
1849
echo "${ECHO_T}no" >&6
1852
test -n "$AWK" && break
1856
ac_cpp='$CPP $CPPFLAGS'
1857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860
if test -n "$ac_tool_prefix"; then
1861
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1862
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1863
echo "$as_me:$LINENO: checking for $ac_word" >&5
1864
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865
if test "${ac_cv_prog_CC+set}" = set; then
1866
echo $ECHO_N "(cached) $ECHO_C" >&6
1868
if test -n "$CC"; then
1869
ac_cv_prog_CC="$CC" # Let the user override the test.
1871
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875
test -z "$as_dir" && as_dir=.
1876
for ac_exec_ext in '' $ac_executable_extensions; do
1877
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1879
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888
if test -n "$CC"; then
1889
echo "$as_me:$LINENO: result: $CC" >&5
1890
echo "${ECHO_T}$CC" >&6
1892
echo "$as_me:$LINENO: result: no" >&5
1893
echo "${ECHO_T}no" >&6
1897
if test -z "$ac_cv_prog_CC"; then
1899
# Extract the first word of "gcc", so it can be a program name with args.
1900
set dummy gcc; ac_word=$2
1901
echo "$as_me:$LINENO: checking for $ac_word" >&5
1902
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1904
echo $ECHO_N "(cached) $ECHO_C" >&6
1906
if test -n "$ac_ct_CC"; then
1907
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1909
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913
test -z "$as_dir" && as_dir=.
1914
for ac_exec_ext in '' $ac_executable_extensions; do
1915
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916
ac_cv_prog_ac_ct_CC="gcc"
1917
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1926
if test -n "$ac_ct_CC"; then
1927
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1928
echo "${ECHO_T}$ac_ct_CC" >&6
1930
echo "$as_me:$LINENO: result: no" >&5
1931
echo "${ECHO_T}no" >&6
1939
if test -z "$CC"; then
1940
if test -n "$ac_tool_prefix"; then
1941
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1942
set dummy ${ac_tool_prefix}cc; ac_word=$2
1943
echo "$as_me:$LINENO: checking for $ac_word" >&5
1944
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945
if test "${ac_cv_prog_CC+set}" = set; then
1946
echo $ECHO_N "(cached) $ECHO_C" >&6
1948
if test -n "$CC"; then
1949
ac_cv_prog_CC="$CC" # Let the user override the test.
1951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955
test -z "$as_dir" && as_dir=.
1956
for ac_exec_ext in '' $ac_executable_extensions; do
1957
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958
ac_cv_prog_CC="${ac_tool_prefix}cc"
1959
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968
if test -n "$CC"; then
1969
echo "$as_me:$LINENO: result: $CC" >&5
1970
echo "${ECHO_T}$CC" >&6
1972
echo "$as_me:$LINENO: result: no" >&5
1973
echo "${ECHO_T}no" >&6
1977
if test -z "$ac_cv_prog_CC"; then
1979
# Extract the first word of "cc", so it can be a program name with args.
1980
set dummy cc; ac_word=$2
1981
echo "$as_me:$LINENO: checking for $ac_word" >&5
1982
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984
echo $ECHO_N "(cached) $ECHO_C" >&6
1986
if test -n "$ac_ct_CC"; then
1987
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1989
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993
test -z "$as_dir" && as_dir=.
1994
for ac_exec_ext in '' $ac_executable_extensions; do
1995
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996
ac_cv_prog_ac_ct_CC="cc"
1997
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006
if test -n "$ac_ct_CC"; then
2007
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008
echo "${ECHO_T}$ac_ct_CC" >&6
2010
echo "$as_me:$LINENO: result: no" >&5
2011
echo "${ECHO_T}no" >&6
2020
if test -z "$CC"; then
2021
# Extract the first word of "cc", so it can be a program name with args.
2022
set dummy cc; ac_word=$2
2023
echo "$as_me:$LINENO: checking for $ac_word" >&5
2024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025
if test "${ac_cv_prog_CC+set}" = set; then
2026
echo $ECHO_N "(cached) $ECHO_C" >&6
2028
if test -n "$CC"; then
2029
ac_cv_prog_CC="$CC" # Let the user override the test.
2032
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036
test -z "$as_dir" && as_dir=.
2037
for ac_exec_ext in '' $ac_executable_extensions; do
2038
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2040
ac_prog_rejected=yes
2044
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050
if test $ac_prog_rejected = yes; then
2051
# We found a bogon in the path, so make sure we never use it.
2052
set dummy $ac_cv_prog_CC
2054
if test $# != 0; then
2055
# We chose a different compiler from the bogus one.
2056
# However, it has the same basename, so the bogon will be chosen
2057
# first if we set CC to just the basename; use the full file name.
2059
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2065
if test -n "$CC"; then
2066
echo "$as_me:$LINENO: result: $CC" >&5
2067
echo "${ECHO_T}$CC" >&6
2069
echo "$as_me:$LINENO: result: no" >&5
2070
echo "${ECHO_T}no" >&6
2074
if test -z "$CC"; then
2075
if test -n "$ac_tool_prefix"; then
2078
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2079
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2080
echo "$as_me:$LINENO: checking for $ac_word" >&5
2081
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082
if test "${ac_cv_prog_CC+set}" = set; then
2083
echo $ECHO_N "(cached) $ECHO_C" >&6
2085
if test -n "$CC"; then
2086
ac_cv_prog_CC="$CC" # Let the user override the test.
2088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092
test -z "$as_dir" && as_dir=.
2093
for ac_exec_ext in '' $ac_executable_extensions; do
2094
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2096
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105
if test -n "$CC"; then
2106
echo "$as_me:$LINENO: result: $CC" >&5
2107
echo "${ECHO_T}$CC" >&6
2109
echo "$as_me:$LINENO: result: no" >&5
2110
echo "${ECHO_T}no" >&6
2113
test -n "$CC" && break
2116
if test -z "$CC"; then
2120
# Extract the first word of "$ac_prog", so it can be a program name with args.
2121
set dummy $ac_prog; ac_word=$2
2122
echo "$as_me:$LINENO: checking for $ac_word" >&5
2123
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2125
echo $ECHO_N "(cached) $ECHO_C" >&6
2127
if test -n "$ac_ct_CC"; then
2128
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134
test -z "$as_dir" && as_dir=.
2135
for ac_exec_ext in '' $ac_executable_extensions; do
2136
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137
ac_cv_prog_ac_ct_CC="$ac_prog"
2138
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2147
if test -n "$ac_ct_CC"; then
2148
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2149
echo "${ECHO_T}$ac_ct_CC" >&6
2151
echo "$as_me:$LINENO: result: no" >&5
2152
echo "${ECHO_T}no" >&6
2155
test -n "$ac_ct_CC" && break
2164
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2165
See \`config.log' for more details." >&5
2166
echo "$as_me: error: no acceptable C compiler found in \$PATH
2167
See \`config.log' for more details." >&2;}
2168
{ (exit 1); exit 1; }; }
2170
# Provide some information about the compiler.
2171
echo "$as_me:$LINENO:" \
2172
"checking for C compiler version" >&5
2173
ac_compiler=`set X $ac_compile; echo $2`
2174
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2175
(eval $ac_compiler --version </dev/null >&5) 2>&5
2177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178
(exit $ac_status); }
2179
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2180
(eval $ac_compiler -v </dev/null >&5) 2>&5
2182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183
(exit $ac_status); }
2184
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2185
(eval $ac_compiler -V </dev/null >&5) 2>&5
2187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188
(exit $ac_status); }
2190
cat >conftest.$ac_ext <<_ACEOF
2191
#line $LINENO "configure"
2194
cat confdefs.h >>conftest.$ac_ext
2195
cat >>conftest.$ac_ext <<_ACEOF
2196
/* end confdefs.h. */
2206
ac_clean_files_save=$ac_clean_files
2207
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2208
# Try to create an executable without -o first, disregard a.out.
2209
# It will help us diagnose broken compilers, and finding out an intuition
2211
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2212
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2213
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2214
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2215
(eval $ac_link_default) 2>&5
2217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218
(exit $ac_status); }; then
2219
# Find the output, starting from the most likely. This scheme is
2220
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2223
# Be careful to initialize this variable, since it used to be cached.
2224
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2226
# b.out is created by i960 compilers.
2227
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2229
test -f "$ac_file" || continue
2231
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2234
# This is the source file.
2237
# We found the default executable, but exeext='' is most
2241
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2242
# FIXME: I believe we export ac_cv_exeext for Libtool,
2243
# but it would be cool to find out if it's true. Does anybody
2244
# maintain Libtool? --akim.
2252
echo "$as_me: failed program was:" >&5
2253
sed 's/^/| /' conftest.$ac_ext >&5
2255
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2256
See \`config.log' for more details." >&5
2257
echo "$as_me: error: C compiler cannot create executables
2258
See \`config.log' for more details." >&2;}
2259
{ (exit 77); exit 77; }; }
2262
ac_exeext=$ac_cv_exeext
2263
echo "$as_me:$LINENO: result: $ac_file" >&5
2264
echo "${ECHO_T}$ac_file" >&6
2266
# Check the compiler produces executables we can run. If not, either
2267
# the compiler is broken, or we cross compile.
2268
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2269
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2270
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2271
# If not cross compiling, check that we can run a simple program.
2272
if test "$cross_compiling" != yes; then
2273
if { ac_try='./$ac_file'
2274
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278
(exit $ac_status); }; }; then
2281
if test "$cross_compiling" = maybe; then
2284
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2285
If you meant to cross compile, use \`--host'.
2286
See \`config.log' for more details." >&5
2287
echo "$as_me: error: cannot run C compiled programs.
2288
If you meant to cross compile, use \`--host'.
2289
See \`config.log' for more details." >&2;}
2290
{ (exit 1); exit 1; }; }
2294
echo "$as_me:$LINENO: result: yes" >&5
2295
echo "${ECHO_T}yes" >&6
2297
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2298
ac_clean_files=$ac_clean_files_save
2299
# Check the compiler produces executables we can run. If not, either
2300
# the compiler is broken, or we cross compile.
2301
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2302
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2303
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2304
echo "${ECHO_T}$cross_compiling" >&6
2306
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2307
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2308
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2309
(eval $ac_link) 2>&5
2311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312
(exit $ac_status); }; then
2313
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2314
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2315
# work properly (i.e., refer to `conftest.exe'), while it won't with
2317
for ac_file in conftest.exe conftest conftest.*; do
2318
test -f "$ac_file" || continue
2320
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2321
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2328
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2329
See \`config.log' for more details." >&5
2330
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2331
See \`config.log' for more details." >&2;}
2332
{ (exit 1); exit 1; }; }
2335
rm -f conftest$ac_cv_exeext
2336
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2337
echo "${ECHO_T}$ac_cv_exeext" >&6
2339
rm -f conftest.$ac_ext
2340
EXEEXT=$ac_cv_exeext
2342
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2343
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2344
if test "${ac_cv_objext+set}" = set; then
2345
echo $ECHO_N "(cached) $ECHO_C" >&6
2347
cat >conftest.$ac_ext <<_ACEOF
2348
#line $LINENO "configure"
2351
cat confdefs.h >>conftest.$ac_ext
2352
cat >>conftest.$ac_ext <<_ACEOF
2353
/* end confdefs.h. */
2363
rm -f conftest.o conftest.obj
2364
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365
(eval $ac_compile) 2>&5
2367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368
(exit $ac_status); }; then
2369
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2371
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2372
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2377
echo "$as_me: failed program was:" >&5
2378
sed 's/^/| /' conftest.$ac_ext >&5
2380
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2381
See \`config.log' for more details." >&5
2382
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2383
See \`config.log' for more details." >&2;}
2384
{ (exit 1); exit 1; }; }
2387
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2389
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2390
echo "${ECHO_T}$ac_cv_objext" >&6
2391
OBJEXT=$ac_cv_objext
2393
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2394
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2395
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2396
echo $ECHO_N "(cached) $ECHO_C" >&6
2398
cat >conftest.$ac_ext <<_ACEOF
2399
#line $LINENO "configure"
2402
cat confdefs.h >>conftest.$ac_ext
2403
cat >>conftest.$ac_ext <<_ACEOF
2404
/* end confdefs.h. */
2417
rm -f conftest.$ac_objext
2418
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2419
(eval $ac_compile) 2>&5
2421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
(exit $ac_status); } &&
2423
{ ac_try='test -s conftest.$ac_objext'
2424
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428
(exit $ac_status); }; }; then
2431
echo "$as_me: failed program was:" >&5
2432
sed 's/^/| /' conftest.$ac_ext >&5
2436
rm -f conftest.$ac_objext conftest.$ac_ext
2437
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2440
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2441
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2442
GCC=`test $ac_compiler_gnu = yes && echo yes`
2443
ac_test_CFLAGS=${CFLAGS+set}
2444
ac_save_CFLAGS=$CFLAGS
2446
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2447
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2448
if test "${ac_cv_prog_cc_g+set}" = set; then
2449
echo $ECHO_N "(cached) $ECHO_C" >&6
2451
cat >conftest.$ac_ext <<_ACEOF
2452
#line $LINENO "configure"
2455
cat confdefs.h >>conftest.$ac_ext
2456
cat >>conftest.$ac_ext <<_ACEOF
2457
/* end confdefs.h. */
2467
rm -f conftest.$ac_objext
2468
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469
(eval $ac_compile) 2>&5
2471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
(exit $ac_status); } &&
2473
{ ac_try='test -s conftest.$ac_objext'
2474
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478
(exit $ac_status); }; }; then
2481
echo "$as_me: failed program was:" >&5
2482
sed 's/^/| /' conftest.$ac_ext >&5
2486
rm -f conftest.$ac_objext conftest.$ac_ext
2488
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2489
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2490
if test "$ac_test_CFLAGS" = set; then
2491
CFLAGS=$ac_save_CFLAGS
2492
elif test $ac_cv_prog_cc_g = yes; then
2493
if test "$GCC" = yes; then
2499
if test "$GCC" = yes; then
2505
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2506
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2507
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2508
echo $ECHO_N "(cached) $ECHO_C" >&6
2510
ac_cv_prog_cc_stdc=no
2512
cat >conftest.$ac_ext <<_ACEOF
2513
#line $LINENO "configure"
2516
cat confdefs.h >>conftest.$ac_ext
2517
cat >>conftest.$ac_ext <<_ACEOF
2518
/* end confdefs.h. */
2521
#include <sys/types.h>
2522
#include <sys/stat.h>
2523
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2524
struct buf { int x; };
2525
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2526
static char *e (p, i)
2532
static char *f (char * (*g) (char **, int), char **p, ...)
2537
s = g (p, va_arg (v,int));
2541
int test (int i, double x);
2542
struct s1 {int (*f) (int a);};
2543
struct s2 {int (*f) (double a);};
2544
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2550
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2555
# Don't try gcc -ansi; that turns off useful extensions and
2556
# breaks some systems' header files.
2557
# AIX -qlanglvl=ansi
2558
# Ultrix and OSF/1 -std1
2559
# HP-UX 10.20 and later -Ae
2560
# HP-UX older versions -Aa -D_HPUX_SOURCE
2561
# SVR4 -Xc -D__EXTENSIONS__
2562
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2564
CC="$ac_save_CC $ac_arg"
2565
rm -f conftest.$ac_objext
2566
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567
(eval $ac_compile) 2>&5
2569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
(exit $ac_status); } &&
2571
{ ac_try='test -s conftest.$ac_objext'
2572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
(exit $ac_status); }; }; then
2577
ac_cv_prog_cc_stdc=$ac_arg
2580
echo "$as_me: failed program was:" >&5
2581
sed 's/^/| /' conftest.$ac_ext >&5
2584
rm -f conftest.$ac_objext
2586
rm -f conftest.$ac_ext conftest.$ac_objext
2591
case "x$ac_cv_prog_cc_stdc" in
2593
echo "$as_me:$LINENO: result: none needed" >&5
2594
echo "${ECHO_T}none needed" >&6 ;;
2596
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2597
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2598
CC="$CC $ac_cv_prog_cc_stdc" ;;
2601
# Some people use a C++ compiler to compile C. Since we use `exit',
2602
# in C++ we need to declare it. In case someone uses the same compiler
2603
# for both compiling C and C++ we need to have the C++ compiler decide
2604
# the declaration of exit, since it's the most demanding environment.
2605
cat >conftest.$ac_ext <<_ACEOF
2610
rm -f conftest.$ac_objext
2611
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612
(eval $ac_compile) 2>&5
2614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615
(exit $ac_status); } &&
2616
{ ac_try='test -s conftest.$ac_objext'
2617
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621
(exit $ac_status); }; }; then
2622
for ac_declaration in \
2624
'extern "C" void std::exit (int) throw (); using std::exit;' \
2625
'extern "C" void std::exit (int); using std::exit;' \
2626
'extern "C" void exit (int) throw ();' \
2627
'extern "C" void exit (int);' \
2630
cat >conftest.$ac_ext <<_ACEOF
2631
#line $LINENO "configure"
2634
cat confdefs.h >>conftest.$ac_ext
2635
cat >>conftest.$ac_ext <<_ACEOF
2636
/* end confdefs.h. */
2647
rm -f conftest.$ac_objext
2648
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649
(eval $ac_compile) 2>&5
2651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652
(exit $ac_status); } &&
2653
{ ac_try='test -s conftest.$ac_objext'
2654
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658
(exit $ac_status); }; }; then
2661
echo "$as_me: failed program was:" >&5
2662
sed 's/^/| /' conftest.$ac_ext >&5
2666
rm -f conftest.$ac_objext conftest.$ac_ext
2667
cat >conftest.$ac_ext <<_ACEOF
2668
#line $LINENO "configure"
2671
cat confdefs.h >>conftest.$ac_ext
2672
cat >>conftest.$ac_ext <<_ACEOF
2673
/* end confdefs.h. */
2683
rm -f conftest.$ac_objext
2684
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685
(eval $ac_compile) 2>&5
2687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688
(exit $ac_status); } &&
2689
{ ac_try='test -s conftest.$ac_objext'
2690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694
(exit $ac_status); }; }; then
2697
echo "$as_me: failed program was:" >&5
2698
sed 's/^/| /' conftest.$ac_ext >&5
2701
rm -f conftest.$ac_objext conftest.$ac_ext
2704
if test -n "$ac_declaration"; then
2705
echo '#ifdef __cplusplus' >>confdefs.h
2706
echo $ac_declaration >>confdefs.h
2707
echo '#endif' >>confdefs.h
2711
echo "$as_me: failed program was:" >&5
2712
sed 's/^/| /' conftest.$ac_ext >&5
2715
rm -f conftest.$ac_objext conftest.$ac_ext
2717
ac_cpp='$CPP $CPPFLAGS'
2718
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2719
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2720
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2721
DEPDIR="${am__leading_dot}deps"
2723
ac_config_commands="$ac_config_commands depfiles"
2726
am_make=${MAKE-make}
2727
cat > confinc << 'END'
2732
# If we don't find an include directive, just comment out the code.
2733
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2734
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2738
# First try GNU make style include.
2739
echo "include confinc" > confmf
2740
# We grep out `Entering directory' and `Leaving directory'
2741
# messages which can occur if `w' ends up in MAKEFLAGS.
2742
# In particular we don't look at `^make:' because GNU make might
2743
# be invoked under some other name (usually "gmake"), in which
2744
# case it prints its new name instead of `make'.
2745
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2750
# Now try BSD make style include.
2751
if test "$am__include" = "#"; then
2752
echo '.include "confinc"' > confmf
2753
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2754
am__include=.include
2761
echo "$as_me:$LINENO: result: $_am_result" >&5
2762
echo "${ECHO_T}$_am_result" >&6
2763
rm -f confinc confmf
2765
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2766
if test "${enable_dependency_tracking+set}" = set; then
2767
enableval="$enable_dependency_tracking"
2770
if test "x$enable_dependency_tracking" != xno; then
2771
am_depcomp="$ac_aux_dir/depcomp"
2776
if test "x$enable_dependency_tracking" != xno; then
2787
depcc="$CC" am_compiler_list=
2789
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2790
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2791
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2792
echo $ECHO_N "(cached) $ECHO_C" >&6
2794
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2795
# We make a subdir and do the tests there. Otherwise we can end up
2796
# making bogus files that we don't know about and never remove. For
2797
# instance it was reported that on HP-UX the gcc test will end up
2798
# making a dummy file named `D' -- because `-MD' means `put the output
2801
# Copy depcomp to subdir because otherwise we won't find it if we're
2802
# using a relative directory.
2803
cp "$am_depcomp" conftest.dir
2805
# We will build objects and dependencies in a subdirectory because
2806
# it helps to detect inapplicable dependency modes. For instance
2807
# both Tru64's cc and ICC support -MD to output dependencies as a
2808
# side effect of compilation, but ICC will put the dependencies in
2809
# the current directory while Tru64 will put them in the object
2813
am_cv_CC_dependencies_compiler_type=none
2814
if test "$am_compiler_list" = ""; then
2815
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2817
for depmode in $am_compiler_list; do
2818
# Setup a source with many dependencies, because some compilers
2819
# like to wrap large dependency lists on column 80 (with \), and
2820
# we should not choose a depcomp mode which is confused by this.
2822
# We need to recreate these files for each test, as the compiler may
2823
# overwrite some of them when testing with obscure command lines.
2824
# This happens at least with the AIX C compiler.
2826
for i in 1 2 3 4 5 6; do
2827
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2830
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2834
# after this tag, mechanisms are not by side-effect, so they'll
2835
# only be used when explicitly requested
2836
if test "x$enable_dependency_tracking" = xyes; then
2844
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2845
# mode. It turns out that the SunPro C++ compiler does not properly
2846
# handle `-M -o', and we need to detect this.
2847
if depmode=$depmode \
2848
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2849
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2850
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2851
>/dev/null 2>conftest.err &&
2852
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2853
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2854
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2855
# icc doesn't choke on unknown options, it will just issue warnings
2856
# (even with -Werror). So we grep stderr for any message
2857
# that says an option was ignored.
2858
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2859
am_cv_CC_dependencies_compiler_type=$depmode
2868
am_cv_CC_dependencies_compiler_type=none
2872
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2873
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2874
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2879
test "x$enable_dependency_tracking" != xno \
2880
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2882
am__fastdepCC_FALSE='#'
2884
am__fastdepCC_TRUE='#'
2885
am__fastdepCC_FALSE=
2890
ac_cpp='$CXXCPP $CPPFLAGS'
2891
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2894
if test -n "$ac_tool_prefix"; then
2895
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2897
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2898
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2899
echo "$as_me:$LINENO: checking for $ac_word" >&5
2900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2901
if test "${ac_cv_prog_CXX+set}" = set; then
2902
echo $ECHO_N "(cached) $ECHO_C" >&6
2904
if test -n "$CXX"; then
2905
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911
test -z "$as_dir" && as_dir=.
2912
for ac_exec_ext in '' $ac_executable_extensions; do
2913
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2914
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2915
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924
if test -n "$CXX"; then
2925
echo "$as_me:$LINENO: result: $CXX" >&5
2926
echo "${ECHO_T}$CXX" >&6
2928
echo "$as_me:$LINENO: result: no" >&5
2929
echo "${ECHO_T}no" >&6
2932
test -n "$CXX" && break
2935
if test -z "$CXX"; then
2937
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2939
# Extract the first word of "$ac_prog", so it can be a program name with args.
2940
set dummy $ac_prog; ac_word=$2
2941
echo "$as_me:$LINENO: checking for $ac_word" >&5
2942
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2943
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2944
echo $ECHO_N "(cached) $ECHO_C" >&6
2946
if test -n "$ac_ct_CXX"; then
2947
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953
test -z "$as_dir" && as_dir=.
2954
for ac_exec_ext in '' $ac_executable_extensions; do
2955
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956
ac_cv_prog_ac_ct_CXX="$ac_prog"
2957
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2965
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2966
if test -n "$ac_ct_CXX"; then
2967
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2968
echo "${ECHO_T}$ac_ct_CXX" >&6
2970
echo "$as_me:$LINENO: result: no" >&5
2971
echo "${ECHO_T}no" >&6
2974
test -n "$ac_ct_CXX" && break
2976
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2982
# Provide some information about the compiler.
2983
echo "$as_me:$LINENO:" \
2984
"checking for C++ compiler version" >&5
2985
ac_compiler=`set X $ac_compile; echo $2`
2986
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2987
(eval $ac_compiler --version </dev/null >&5) 2>&5
2989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990
(exit $ac_status); }
2991
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2992
(eval $ac_compiler -v </dev/null >&5) 2>&5
2994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995
(exit $ac_status); }
2996
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2997
(eval $ac_compiler -V </dev/null >&5) 2>&5
2999
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000
(exit $ac_status); }
3002
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3003
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3004
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3005
echo $ECHO_N "(cached) $ECHO_C" >&6
3007
cat >conftest.$ac_ext <<_ACEOF
3008
#line $LINENO "configure"
3011
cat confdefs.h >>conftest.$ac_ext
3012
cat >>conftest.$ac_ext <<_ACEOF
3013
/* end confdefs.h. */
3026
rm -f conftest.$ac_objext
3027
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3028
(eval $ac_compile) 2>&5
3030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
(exit $ac_status); } &&
3032
{ ac_try='test -s conftest.$ac_objext'
3033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
(exit $ac_status); }; }; then
3040
echo "$as_me: failed program was:" >&5
3041
sed 's/^/| /' conftest.$ac_ext >&5
3045
rm -f conftest.$ac_objext conftest.$ac_ext
3046
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3049
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3050
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3051
GXX=`test $ac_compiler_gnu = yes && echo yes`
3052
ac_test_CXXFLAGS=${CXXFLAGS+set}
3053
ac_save_CXXFLAGS=$CXXFLAGS
3055
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3056
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3057
if test "${ac_cv_prog_cxx_g+set}" = set; then
3058
echo $ECHO_N "(cached) $ECHO_C" >&6
3060
cat >conftest.$ac_ext <<_ACEOF
3061
#line $LINENO "configure"
3064
cat confdefs.h >>conftest.$ac_ext
3065
cat >>conftest.$ac_ext <<_ACEOF
3066
/* end confdefs.h. */
3076
rm -f conftest.$ac_objext
3077
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3078
(eval $ac_compile) 2>&5
3080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081
(exit $ac_status); } &&
3082
{ ac_try='test -s conftest.$ac_objext'
3083
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087
(exit $ac_status); }; }; then
3088
ac_cv_prog_cxx_g=yes
3090
echo "$as_me: failed program was:" >&5
3091
sed 's/^/| /' conftest.$ac_ext >&5
3095
rm -f conftest.$ac_objext conftest.$ac_ext
3097
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3098
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3099
if test "$ac_test_CXXFLAGS" = set; then
3100
CXXFLAGS=$ac_save_CXXFLAGS
3101
elif test $ac_cv_prog_cxx_g = yes; then
3102
if test "$GXX" = yes; then
3108
if test "$GXX" = yes; then
3114
for ac_declaration in \
3116
'extern "C" void std::exit (int) throw (); using std::exit;' \
3117
'extern "C" void std::exit (int); using std::exit;' \
3118
'extern "C" void exit (int) throw ();' \
3119
'extern "C" void exit (int);' \
3122
cat >conftest.$ac_ext <<_ACEOF
3123
#line $LINENO "configure"
3126
cat confdefs.h >>conftest.$ac_ext
3127
cat >>conftest.$ac_ext <<_ACEOF
3128
/* end confdefs.h. */
3139
rm -f conftest.$ac_objext
3140
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3141
(eval $ac_compile) 2>&5
3143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144
(exit $ac_status); } &&
3145
{ ac_try='test -s conftest.$ac_objext'
3146
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150
(exit $ac_status); }; }; then
3153
echo "$as_me: failed program was:" >&5
3154
sed 's/^/| /' conftest.$ac_ext >&5
3158
rm -f conftest.$ac_objext conftest.$ac_ext
3159
cat >conftest.$ac_ext <<_ACEOF
3160
#line $LINENO "configure"
3163
cat confdefs.h >>conftest.$ac_ext
3164
cat >>conftest.$ac_ext <<_ACEOF
3165
/* end confdefs.h. */
3175
rm -f conftest.$ac_objext
3176
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177
(eval $ac_compile) 2>&5
3179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180
(exit $ac_status); } &&
3181
{ ac_try='test -s conftest.$ac_objext'
3182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186
(exit $ac_status); }; }; then
3189
echo "$as_me: failed program was:" >&5
3190
sed 's/^/| /' conftest.$ac_ext >&5
3193
rm -f conftest.$ac_objext conftest.$ac_ext
3196
if test -n "$ac_declaration"; then
3197
echo '#ifdef __cplusplus' >>confdefs.h
3198
echo $ac_declaration >>confdefs.h
3199
echo '#endif' >>confdefs.h
3203
ac_cpp='$CPP $CPPFLAGS'
3204
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3208
depcc="$CXX" am_compiler_list=
3210
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3211
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3212
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3213
echo $ECHO_N "(cached) $ECHO_C" >&6
3215
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3216
# We make a subdir and do the tests there. Otherwise we can end up
3217
# making bogus files that we don't know about and never remove. For
3218
# instance it was reported that on HP-UX the gcc test will end up
3219
# making a dummy file named `D' -- because `-MD' means `put the output
3222
# Copy depcomp to subdir because otherwise we won't find it if we're
3223
# using a relative directory.
3224
cp "$am_depcomp" conftest.dir
3226
# We will build objects and dependencies in a subdirectory because
3227
# it helps to detect inapplicable dependency modes. For instance
3228
# both Tru64's cc and ICC support -MD to output dependencies as a
3229
# side effect of compilation, but ICC will put the dependencies in
3230
# the current directory while Tru64 will put them in the object
3234
am_cv_CXX_dependencies_compiler_type=none
3235
if test "$am_compiler_list" = ""; then
3236
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3238
for depmode in $am_compiler_list; do
3239
# Setup a source with many dependencies, because some compilers
3240
# like to wrap large dependency lists on column 80 (with \), and
3241
# we should not choose a depcomp mode which is confused by this.
3243
# We need to recreate these files for each test, as the compiler may
3244
# overwrite some of them when testing with obscure command lines.
3245
# This happens at least with the AIX C compiler.
3247
for i in 1 2 3 4 5 6; do
3248
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3251
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3255
# after this tag, mechanisms are not by side-effect, so they'll
3256
# only be used when explicitly requested
3257
if test "x$enable_dependency_tracking" = xyes; then
3265
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3266
# mode. It turns out that the SunPro C++ compiler does not properly
3267
# handle `-M -o', and we need to detect this.
3268
if depmode=$depmode \
3269
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3270
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3271
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3272
>/dev/null 2>conftest.err &&
3273
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3274
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3275
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3276
# icc doesn't choke on unknown options, it will just issue warnings
3277
# (even with -Werror). So we grep stderr for any message
3278
# that says an option was ignored.
3279
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3280
am_cv_CXX_dependencies_compiler_type=$depmode
3289
am_cv_CXX_dependencies_compiler_type=none
3293
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3294
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3295
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3300
test "x$enable_dependency_tracking" != xno \
3301
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3302
am__fastdepCXX_TRUE=
3303
am__fastdepCXX_FALSE='#'
3305
am__fastdepCXX_TRUE='#'
3306
am__fastdepCXX_FALSE=
3310
# Find a good install program. We prefer a C program (faster),
3311
# so one script is as good as another. But avoid the broken or
3312
# incompatible versions:
3313
# SysV /etc/install, /usr/sbin/install
3314
# SunOS /usr/etc/install
3315
# IRIX /sbin/install
3317
# AmigaOS /C/install, which installs bootblocks on floppy discs
3318
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3319
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3320
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3321
# ./install, which can be erroneously created by make from ./install.sh.
3322
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3323
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3324
if test -z "$INSTALL"; then
3325
if test "${ac_cv_path_install+set}" = set; then
3326
echo $ECHO_N "(cached) $ECHO_C" >&6
3328
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332
test -z "$as_dir" && as_dir=.
3333
# Account for people who put trailing slashes in PATH elements.
3335
./ | .// | /cC/* | \
3336
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3339
# OSF1 and SCO ODT 3.0 have their own names for install.
3340
# Don't use installbsd from OSF since it installs stuff as root
3342
for ac_prog in ginstall scoinst install; do
3343
for ac_exec_ext in '' $ac_executable_extensions; do
3344
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3345
if test $ac_prog = install &&
3346
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3347
# AIX install. It has an incompatible calling convention.
3349
elif test $ac_prog = install &&
3350
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3351
# program-specific install script used by HP pwplus--don't use.
3354
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3366
if test "${ac_cv_path_install+set}" = set; then
3367
INSTALL=$ac_cv_path_install
3369
# As a last resort, use the slow shell script. We don't cache a
3370
# path for INSTALL within a source directory, because that will
3371
# break other packages using the cache if that directory is
3372
# removed, or if the path is relative.
3373
INSTALL=$ac_install_sh
3376
echo "$as_me:$LINENO: result: $INSTALL" >&5
3377
echo "${ECHO_T}$INSTALL" >&6
3379
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3380
# It thinks the first close brace ends the variable substitution.
3381
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3383
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3385
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3387
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3388
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3390
if test "$LN_S" = "ln -s"; then
3391
echo "$as_me:$LINENO: result: yes" >&5
3392
echo "${ECHO_T}yes" >&6
3394
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3395
echo "${ECHO_T}no, using $LN_S" >&6
3398
if test -n "$ac_tool_prefix"; then
3399
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3400
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3401
echo "$as_me:$LINENO: checking for $ac_word" >&5
3402
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3403
if test "${ac_cv_prog_RANLIB+set}" = set; then
3404
echo $ECHO_N "(cached) $ECHO_C" >&6
3406
if test -n "$RANLIB"; then
3407
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413
test -z "$as_dir" && as_dir=.
3414
for ac_exec_ext in '' $ac_executable_extensions; do
3415
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3417
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3425
RANLIB=$ac_cv_prog_RANLIB
3426
if test -n "$RANLIB"; then
3427
echo "$as_me:$LINENO: result: $RANLIB" >&5
3428
echo "${ECHO_T}$RANLIB" >&6
3430
echo "$as_me:$LINENO: result: no" >&5
3431
echo "${ECHO_T}no" >&6
3435
if test -z "$ac_cv_prog_RANLIB"; then
3436
ac_ct_RANLIB=$RANLIB
3437
# Extract the first word of "ranlib", so it can be a program name with args.
3438
set dummy ranlib; ac_word=$2
3439
echo "$as_me:$LINENO: checking for $ac_word" >&5
3440
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3441
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3442
echo $ECHO_N "(cached) $ECHO_C" >&6
3444
if test -n "$ac_ct_RANLIB"; then
3445
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451
test -z "$as_dir" && as_dir=.
3452
for ac_exec_ext in '' $ac_executable_extensions; do
3453
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454
ac_cv_prog_ac_ct_RANLIB="ranlib"
3455
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3461
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3464
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3465
if test -n "$ac_ct_RANLIB"; then
3466
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3467
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3469
echo "$as_me:$LINENO: result: no" >&5
3470
echo "${ECHO_T}no" >&6
3473
RANLIB=$ac_ct_RANLIB
3475
RANLIB="$ac_cv_prog_RANLIB"
3487
OPTION_AUDIOFILE="no"
3490
OPTION_SCHEDULER="no"
3491
OPTION_ALSAMIDI="no"
3494
OPTION_SUIDROOT="no"
3499
echo "$as_me:$LINENO: checking for floor in -lm" >&5
3500
echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
3501
if test "${ac_cv_lib_m_floor+set}" = set; then
3502
echo $ECHO_N "(cached) $ECHO_C" >&6
3504
ac_check_lib_save_LIBS=$LIBS
3506
cat >conftest.$ac_ext <<_ACEOF
3507
#line $LINENO "configure"
3510
cat confdefs.h >>conftest.$ac_ext
3511
cat >>conftest.$ac_ext <<_ACEOF
3512
/* end confdefs.h. */
3514
/* Override any gcc2 internal prototype to avoid an error. */
3518
/* We use char because int might match the return type of a gcc2
3519
builtin and then its argument prototype would still apply. */
3529
rm -f conftest.$ac_objext conftest$ac_exeext
3530
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3531
(eval $ac_link) 2>&5
3533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
(exit $ac_status); } &&
3535
{ ac_try='test -s conftest$ac_exeext'
3536
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540
(exit $ac_status); }; }; then
3541
ac_cv_lib_m_floor=yes
3543
echo "$as_me: failed program was:" >&5
3544
sed 's/^/| /' conftest.$ac_ext >&5
3546
ac_cv_lib_m_floor=no
3548
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3549
LIBS=$ac_check_lib_save_LIBS
3551
echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
3552
echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
3553
if test $ac_cv_lib_m_floor = yes; then
3554
cat >>confdefs.h <<_ACEOF
3561
{ { echo "$as_me:$LINENO: error: ** math-lib not installed or broken **" >&5
3562
echo "$as_me: error: ** math-lib not installed or broken **" >&2;}
3563
{ (exit 1); exit 1; }; }
3571
echo "$as_me:$LINENO: checking whether pthreads works without switches" >&5
3572
echo $ECHO_N "checking whether pthreads works without switches... $ECHO_C" >&6
3577
ac_cpp='$CPP $CPPFLAGS'
3578
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582
cat >conftest.$ac_ext <<_ACEOF
3583
#line $LINENO "configure"
3586
cat confdefs.h >>conftest.$ac_ext
3587
cat >>conftest.$ac_ext <<_ACEOF
3588
/* end confdefs.h. */
3589
#include <pthread.h>
3593
pthread_t thread; pthread_create(&thread, NULL, NULL, NULL);
3598
rm -f conftest.$ac_objext conftest$ac_exeext
3599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3600
(eval $ac_link) 2>&5
3602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603
(exit $ac_status); } &&
3604
{ ac_try='test -s conftest$ac_exeext'
3605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609
(exit $ac_status); }; }; then
3610
no_threads_flags=yes
3612
echo "$as_me: failed program was:" >&5
3613
sed 's/^/| /' conftest.$ac_ext >&5
3618
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3620
ac_cpp='$CPP $CPPFLAGS'
3621
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3625
echo "$as_me:$LINENO: result: $no_threads_flags" >&5
3626
echo "${ECHO_T}$no_threads_flags" >&6
3628
if test "$no_threads_flags" = "yes"; then
3633
if test "$tX_threads" = "no"; then
3635
echo "$as_me:$LINENO: checking for pthread_detach in -lpthread" >&5
3636
echo $ECHO_N "checking for pthread_detach in -lpthread... $ECHO_C" >&6
3637
if test "${ac_cv_lib_pthread_pthread_detach+set}" = set; then
3638
echo $ECHO_N "(cached) $ECHO_C" >&6
3640
ac_check_lib_save_LIBS=$LIBS
3641
LIBS="-lpthread $LIBS"
3642
cat >conftest.$ac_ext <<_ACEOF
3643
#line $LINENO "configure"
3646
cat confdefs.h >>conftest.$ac_ext
3647
cat >>conftest.$ac_ext <<_ACEOF
3648
/* end confdefs.h. */
3650
/* Override any gcc2 internal prototype to avoid an error. */
3654
/* We use char because int might match the return type of a gcc2
3655
builtin and then its argument prototype would still apply. */
3656
char pthread_detach ();
3665
rm -f conftest.$ac_objext conftest$ac_exeext
3666
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3667
(eval $ac_link) 2>&5
3669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670
(exit $ac_status); } &&
3671
{ ac_try='test -s conftest$ac_exeext'
3672
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676
(exit $ac_status); }; }; then
3677
ac_cv_lib_pthread_pthread_detach=yes
3679
echo "$as_me: failed program was:" >&5
3680
sed 's/^/| /' conftest.$ac_ext >&5
3682
ac_cv_lib_pthread_pthread_detach=no
3684
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3685
LIBS=$ac_check_lib_save_LIBS
3687
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_detach" >&5
3688
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_detach" >&6
3689
if test $ac_cv_lib_pthread_pthread_detach = yes; then
3696
if test "$pthread_lib" = "yes"; then
3698
LIBS="$LIBS -lpthread"
3703
if test "$tX_threads" = "no"; then
3704
echo "$as_me:$LINENO: checking whether -pthread is required for pthreads" >&5
3705
echo $ECHO_N "checking whether -pthread is required for pthreads... $ECHO_C" >&6
3707
ac_save_CFLAGS=$CFLAGS
3708
CFLAGS="$CFLAGS -pthread"
3712
ac_cpp='$CPP $CPPFLAGS'
3713
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3717
cat >conftest.$ac_ext <<_ACEOF
3718
#line $LINENO "configure"
3721
cat confdefs.h >>conftest.$ac_ext
3722
cat >>conftest.$ac_ext <<_ACEOF
3723
/* end confdefs.h. */
3724
#include <pthread.h>
3728
pthread_t thread; pthread_create(&thread, NULL, NULL, NULL);
3733
rm -f conftest.$ac_objext conftest$ac_exeext
3734
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3735
(eval $ac_link) 2>&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); } &&
3739
{ ac_try='test -s conftest$ac_exeext'
3740
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744
(exit $ac_status); }; }; then
3747
echo "$as_me: failed program was:" >&5
3748
sed 's/^/| /' conftest.$ac_ext >&5
3753
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3755
ac_cpp='$CPP $CPPFLAGS'
3756
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3760
CFLAGS=$ac_save_CFLAGS
3761
echo "$as_me:$LINENO: result: $use_gcc_threads" >&5
3762
echo "${ECHO_T}$use_gcc_threads" >&6
3764
if test "$use_gcc_threads" = "yes"; then
3766
CFLAGS="$CFLAGS -pthread"
3771
if test "$tX_threads" = "no"; then
3772
{ { echo "$as_me:$LINENO: error: ** failed to detect pthreads implementation **" >&5
3773
echo "$as_me: error: ** failed to detect pthreads implementation **" >&2;}
3774
{ (exit 1); exit 1; }; }
3777
# Check whether --enable-gtktest or --disable-gtktest was given.
3778
if test "${enable_gtktest+set}" = set; then
3779
enableval="$enable_gtktest"
3785
pkg_config_args=gtk+-2.0
3790
pkg_config_args="$pkg_config_args gthread-2.0"
3797
# Extract the first word of "pkg-config", so it can be a program name with args.
3798
set dummy pkg-config; ac_word=$2
3799
echo "$as_me:$LINENO: checking for $ac_word" >&5
3800
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3801
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3802
echo $ECHO_N "(cached) $ECHO_C" >&6
3806
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813
test -z "$as_dir" && as_dir=.
3814
for ac_exec_ext in '' $ac_executable_extensions; do
3815
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3817
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3827
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3829
if test -n "$PKG_CONFIG"; then
3830
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3831
echo "${ECHO_T}$PKG_CONFIG" >&6
3833
echo "$as_me:$LINENO: result: no" >&5
3834
echo "${ECHO_T}no" >&6
3838
if test x$PKG_CONFIG != xno ; then
3839
if pkg-config --atleast-pkgconfig-version 0.7 ; then
3842
echo *** pkg-config too old; version 0.7 or better required.
3850
min_gtk_version=2.0.0
3851
echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
3852
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
3854
if test x$PKG_CONFIG != xno ; then
3855
## don't try to run the test against uninstalled libtool libs
3856
if $PKG_CONFIG --uninstalled $pkg_config_args; then
3857
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
3861
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
3868
if test x"$no_gtk" = x ; then
3869
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
3870
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
3871
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3872
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3873
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3874
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3875
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3876
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3877
if test "x$enable_gtktest" = "xyes" ; then
3878
ac_save_CFLAGS="$CFLAGS"
3879
ac_save_LIBS="$LIBS"
3880
CFLAGS="$CFLAGS $GTK_CFLAGS"
3881
LIBS="$GTK_LIBS $LIBS"
3883
if test "$cross_compiling" = yes; then
3884
echo $ac_n "cross compiling; assumed OK... $ac_c"
3886
cat >conftest.$ac_ext <<_ACEOF
3887
#line $LINENO "configure"
3890
cat confdefs.h >>conftest.$ac_ext
3891
cat >>conftest.$ac_ext <<_ACEOF
3892
/* end confdefs.h. */
3894
#include <gtk/gtk.h>
3901
int major, minor, micro;
3904
system ("touch conf.gtktest");
3906
/* HP/UX 9 (%@#!) writes to sscanf strings */
3907
tmp_version = g_strdup("$min_gtk_version");
3908
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
3909
printf("%s, bad version string\n", "$min_gtk_version");
3913
if ((gtk_major_version != $gtk_config_major_version) ||
3914
(gtk_minor_version != $gtk_config_minor_version) ||
3915
(gtk_micro_version != $gtk_config_micro_version))
3917
printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
3918
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
3919
gtk_major_version, gtk_minor_version, gtk_micro_version);
3920
printf ("*** was found! If pkg-config was correct, then it is best\n");
3921
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
3922
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3923
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3924
printf("*** required on your system.\n");
3925
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
3926
printf("*** to point to the correct configuration files\n");
3928
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
3929
(gtk_minor_version != GTK_MINOR_VERSION) ||
3930
(gtk_micro_version != GTK_MICRO_VERSION))
3932
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
3933
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
3934
printf("*** library (version %d.%d.%d)\n",
3935
gtk_major_version, gtk_minor_version, gtk_micro_version);
3939
if ((gtk_major_version > major) ||
3940
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
3941
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
3947
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
3948
gtk_major_version, gtk_minor_version, gtk_micro_version);
3949
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
3950
major, minor, micro);
3951
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
3953
printf("*** If you have already installed a sufficiently new version, this error\n");
3954
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
3955
printf("*** being found. The easiest way to fix this is to remove the old version\n");
3956
printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
3957
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
3958
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3959
printf("*** so that the correct libraries are found at run-time))\n");
3966
rm -f conftest$ac_exeext
3967
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3968
(eval $ac_link) 2>&5
3970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3972
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976
(exit $ac_status); }; }; then
3979
echo "$as_me: program exited with status $ac_status" >&5
3980
echo "$as_me: failed program was:" >&5
3981
sed 's/^/| /' conftest.$ac_ext >&5
3986
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3988
CFLAGS="$ac_save_CFLAGS"
3989
LIBS="$ac_save_LIBS"
3992
if test "x$no_gtk" = x ; then
3993
echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
3994
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
3996
GTK2_CFLAGS="$GTK_CFLAGS"
3997
GTK2_LIBS="$GTK_LIBS"
3999
GTK2_VERSION="`$PKG_CONFIG --modversion gtk+-2.0`"
4001
echo "$as_me:$LINENO: result: no" >&5
4002
echo "${ECHO_T}no" >&6
4003
if test "$PKG_CONFIG" = "no" ; then
4004
echo "*** A new enough version of pkg-config was not found."
4005
echo "*** See http://pkgconfig.sourceforge.net"
4007
if test -f conf.gtktest ; then
4010
echo "*** Could not run GTK+ test program, checking why..."
4011
ac_save_CFLAGS="$CFLAGS"
4012
ac_save_LIBS="$LIBS"
4013
CFLAGS="$CFLAGS $GTK_CFLAGS"
4014
LIBS="$LIBS $GTK_LIBS"
4015
cat >conftest.$ac_ext <<_ACEOF
4016
#line $LINENO "configure"
4019
cat confdefs.h >>conftest.$ac_ext
4020
cat >>conftest.$ac_ext <<_ACEOF
4021
/* end confdefs.h. */
4023
#include <gtk/gtk.h>
4029
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
4034
rm -f conftest.$ac_objext conftest$ac_exeext
4035
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4036
(eval $ac_link) 2>&5
4038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039
(exit $ac_status); } &&
4040
{ ac_try='test -s conftest$ac_exeext'
4041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045
(exit $ac_status); }; }; then
4046
echo "*** The test program compiled, but did not run. This usually means"
4047
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
4048
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
4049
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4050
echo "*** to the installed location Also, make sure you have run ldconfig if that"
4051
echo "*** is required on your system"
4053
echo "*** If you have an old version installed, it is best to remove it, although"
4054
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4056
echo "$as_me: failed program was:" >&5
4057
sed 's/^/| /' conftest.$ac_ext >&5
4059
echo "*** The test program failed to compile or link. See the file config.log for the"
4060
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
4062
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4063
CFLAGS="$ac_save_CFLAGS"
4064
LIBS="$ac_save_LIBS"
4075
OPTION_GTK_VERSION="Version 2 - ($GTK2_VERSION)"
4077
if test "$gtk2" = "no"; then
4078
{ { echo "$as_me:$LINENO: error: ** couldn't find gtk+ > Version 2. Please upgrade (http://www.gtk.org). **" >&5
4079
echo "$as_me: error: ** couldn't find gtk+ > Version 2. Please upgrade (http://www.gtk.org). **" >&2;}
4080
{ (exit 1); exit 1; }; }
4084
ac_cpp='$CPP $CPPFLAGS'
4085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4088
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4089
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4090
# On Suns, sometimes $CPP names a directory.
4091
if test -n "$CPP" && test -d "$CPP"; then
4094
if test -z "$CPP"; then
4095
if test "${ac_cv_prog_CPP+set}" = set; then
4096
echo $ECHO_N "(cached) $ECHO_C" >&6
4098
# Double quotes because CPP needs to be expanded
4099
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4102
for ac_c_preproc_warn_flag in '' yes
4104
# Use a header file that comes with gcc, so configuring glibc
4105
# with a fresh cross-compiler works.
4106
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4107
# <limits.h> exists even on freestanding compilers.
4108
# On the NeXT, cc -E runs the code through the compiler's parser,
4109
# not just through cpp. "Syntax error" is here to catch this case.
4110
cat >conftest.$ac_ext <<_ACEOF
4111
#line $LINENO "configure"
4114
cat confdefs.h >>conftest.$ac_ext
4115
cat >>conftest.$ac_ext <<_ACEOF
4116
/* end confdefs.h. */
4118
# include <limits.h>
4120
# include <assert.h>
4124
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4125
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4127
grep -v '^ *+' conftest.er1 >conftest.err
4129
cat conftest.err >&5
4130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131
(exit $ac_status); } >/dev/null; then
4132
if test -s conftest.err; then
4133
ac_cpp_err=$ac_c_preproc_warn_flag
4140
if test -z "$ac_cpp_err"; then
4143
echo "$as_me: failed program was:" >&5
4144
sed 's/^/| /' conftest.$ac_ext >&5
4146
# Broken: fails on valid input.
4149
rm -f conftest.err conftest.$ac_ext
4151
# OK, works on sane cases. Now check whether non-existent headers
4152
# can be detected and how.
4153
cat >conftest.$ac_ext <<_ACEOF
4154
#line $LINENO "configure"
4157
cat confdefs.h >>conftest.$ac_ext
4158
cat >>conftest.$ac_ext <<_ACEOF
4159
/* end confdefs.h. */
4160
#include <ac_nonexistent.h>
4162
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4163
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4165
grep -v '^ *+' conftest.er1 >conftest.err
4167
cat conftest.err >&5
4168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169
(exit $ac_status); } >/dev/null; then
4170
if test -s conftest.err; then
4171
ac_cpp_err=$ac_c_preproc_warn_flag
4178
if test -z "$ac_cpp_err"; then
4179
# Broken: success on invalid input.
4182
echo "$as_me: failed program was:" >&5
4183
sed 's/^/| /' conftest.$ac_ext >&5
4185
# Passes both tests.
4189
rm -f conftest.err conftest.$ac_ext
4192
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4193
rm -f conftest.err conftest.$ac_ext
4194
if $ac_preproc_ok; then
4206
echo "$as_me:$LINENO: result: $CPP" >&5
4207
echo "${ECHO_T}$CPP" >&6
4209
for ac_c_preproc_warn_flag in '' yes
4211
# Use a header file that comes with gcc, so configuring glibc
4212
# with a fresh cross-compiler works.
4213
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4214
# <limits.h> exists even on freestanding compilers.
4215
# On the NeXT, cc -E runs the code through the compiler's parser,
4216
# not just through cpp. "Syntax error" is here to catch this case.
4217
cat >conftest.$ac_ext <<_ACEOF
4218
#line $LINENO "configure"
4221
cat confdefs.h >>conftest.$ac_ext
4222
cat >>conftest.$ac_ext <<_ACEOF
4223
/* end confdefs.h. */
4225
# include <limits.h>
4227
# include <assert.h>
4231
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4232
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4234
grep -v '^ *+' conftest.er1 >conftest.err
4236
cat conftest.err >&5
4237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238
(exit $ac_status); } >/dev/null; then
4239
if test -s conftest.err; then
4240
ac_cpp_err=$ac_c_preproc_warn_flag
4247
if test -z "$ac_cpp_err"; then
4250
echo "$as_me: failed program was:" >&5
4251
sed 's/^/| /' conftest.$ac_ext >&5
4253
# Broken: fails on valid input.
4256
rm -f conftest.err conftest.$ac_ext
4258
# OK, works on sane cases. Now check whether non-existent headers
4259
# can be detected and how.
4260
cat >conftest.$ac_ext <<_ACEOF
4261
#line $LINENO "configure"
4264
cat confdefs.h >>conftest.$ac_ext
4265
cat >>conftest.$ac_ext <<_ACEOF
4266
/* end confdefs.h. */
4267
#include <ac_nonexistent.h>
4269
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4270
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4272
grep -v '^ *+' conftest.er1 >conftest.err
4274
cat conftest.err >&5
4275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276
(exit $ac_status); } >/dev/null; then
4277
if test -s conftest.err; then
4278
ac_cpp_err=$ac_c_preproc_warn_flag
4285
if test -z "$ac_cpp_err"; then
4286
# Broken: success on invalid input.
4289
echo "$as_me: failed program was:" >&5
4290
sed 's/^/| /' conftest.$ac_ext >&5
4292
# Passes both tests.
4296
rm -f conftest.err conftest.$ac_ext
4299
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4300
rm -f conftest.err conftest.$ac_ext
4301
if $ac_preproc_ok; then
4304
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4305
See \`config.log' for more details." >&5
4306
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4307
See \`config.log' for more details." >&2;}
4308
{ (exit 1); exit 1; }; }
4312
ac_cpp='$CPP $CPPFLAGS'
4313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4318
echo "$as_me:$LINENO: checking for egrep" >&5
4319
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4320
if test "${ac_cv_prog_egrep+set}" = set; then
4321
echo $ECHO_N "(cached) $ECHO_C" >&6
4323
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4324
then ac_cv_prog_egrep='grep -E'
4325
else ac_cv_prog_egrep='egrep'
4328
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4329
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4330
EGREP=$ac_cv_prog_egrep
4333
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4334
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4335
if test "${ac_cv_header_stdc+set}" = set; then
4336
echo $ECHO_N "(cached) $ECHO_C" >&6
4338
cat >conftest.$ac_ext <<_ACEOF
4339
#line $LINENO "configure"
4342
cat confdefs.h >>conftest.$ac_ext
4343
cat >>conftest.$ac_ext <<_ACEOF
4344
/* end confdefs.h. */
4358
rm -f conftest.$ac_objext
4359
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4360
(eval $ac_compile) 2>&5
4362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363
(exit $ac_status); } &&
4364
{ ac_try='test -s conftest.$ac_objext'
4365
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
(exit $ac_status); }; }; then
4370
ac_cv_header_stdc=yes
4372
echo "$as_me: failed program was:" >&5
4373
sed 's/^/| /' conftest.$ac_ext >&5
4375
ac_cv_header_stdc=no
4377
rm -f conftest.$ac_objext conftest.$ac_ext
4379
if test $ac_cv_header_stdc = yes; then
4380
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4381
cat >conftest.$ac_ext <<_ACEOF
4382
#line $LINENO "configure"
4385
cat confdefs.h >>conftest.$ac_ext
4386
cat >>conftest.$ac_ext <<_ACEOF
4387
/* end confdefs.h. */
4391
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4392
$EGREP "memchr" >/dev/null 2>&1; then
4395
ac_cv_header_stdc=no
4401
if test $ac_cv_header_stdc = yes; then
4402
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4403
cat >conftest.$ac_ext <<_ACEOF
4404
#line $LINENO "configure"
4407
cat confdefs.h >>conftest.$ac_ext
4408
cat >>conftest.$ac_ext <<_ACEOF
4409
/* end confdefs.h. */
4413
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4414
$EGREP "free" >/dev/null 2>&1; then
4417
ac_cv_header_stdc=no
4423
if test $ac_cv_header_stdc = yes; then
4424
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4425
if test "$cross_compiling" = yes; then
4428
cat >conftest.$ac_ext <<_ACEOF
4429
#line $LINENO "configure"
4432
cat confdefs.h >>conftest.$ac_ext
4433
cat >>conftest.$ac_ext <<_ACEOF
4434
/* end confdefs.h. */
4436
#if ((' ' & 0x0FF) == 0x020)
4437
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4438
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4440
# define ISLOWER(c) \
4441
(('a' <= (c) && (c) <= 'i') \
4442
|| ('j' <= (c) && (c) <= 'r') \
4443
|| ('s' <= (c) && (c) <= 'z'))
4444
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4447
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4452
for (i = 0; i < 256; i++)
4453
if (XOR (islower (i), ISLOWER (i))
4454
|| toupper (i) != TOUPPER (i))
4459
rm -f conftest$ac_exeext
4460
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4461
(eval $ac_link) 2>&5
4463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4465
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469
(exit $ac_status); }; }; then
4472
echo "$as_me: program exited with status $ac_status" >&5
4473
echo "$as_me: failed program was:" >&5
4474
sed 's/^/| /' conftest.$ac_ext >&5
4477
ac_cv_header_stdc=no
4479
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4483
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4484
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4485
if test $ac_cv_header_stdc = yes; then
4487
cat >>confdefs.h <<\_ACEOF
4488
#define STDC_HEADERS 1
4493
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4503
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4504
inttypes.h stdint.h unistd.h
4506
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4507
echo "$as_me:$LINENO: checking for $ac_header" >&5
4508
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4509
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4510
echo $ECHO_N "(cached) $ECHO_C" >&6
4512
cat >conftest.$ac_ext <<_ACEOF
4513
#line $LINENO "configure"
4516
cat confdefs.h >>conftest.$ac_ext
4517
cat >>conftest.$ac_ext <<_ACEOF
4518
/* end confdefs.h. */
4519
$ac_includes_default
4521
#include <$ac_header>
4523
rm -f conftest.$ac_objext
4524
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4525
(eval $ac_compile) 2>&5
4527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528
(exit $ac_status); } &&
4529
{ ac_try='test -s conftest.$ac_objext'
4530
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534
(exit $ac_status); }; }; then
4535
eval "$as_ac_Header=yes"
4537
echo "$as_me: failed program was:" >&5
4538
sed 's/^/| /' conftest.$ac_ext >&5
4540
eval "$as_ac_Header=no"
4542
rm -f conftest.$ac_objext conftest.$ac_ext
4544
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4545
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4546
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4547
cat >>confdefs.h <<_ACEOF
4548
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4560
for ac_header in fcntl.h limits.h malloc.h unistd.h
4562
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4563
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4564
echo "$as_me:$LINENO: checking for $ac_header" >&5
4565
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4566
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4567
echo $ECHO_N "(cached) $ECHO_C" >&6
4569
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4570
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4572
# Is the header compilable?
4573
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4574
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4575
cat >conftest.$ac_ext <<_ACEOF
4576
#line $LINENO "configure"
4579
cat confdefs.h >>conftest.$ac_ext
4580
cat >>conftest.$ac_ext <<_ACEOF
4581
/* end confdefs.h. */
4582
$ac_includes_default
4583
#include <$ac_header>
4585
rm -f conftest.$ac_objext
4586
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587
(eval $ac_compile) 2>&5
4589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
(exit $ac_status); } &&
4591
{ ac_try='test -s conftest.$ac_objext'
4592
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596
(exit $ac_status); }; }; then
4597
ac_header_compiler=yes
4599
echo "$as_me: failed program was:" >&5
4600
sed 's/^/| /' conftest.$ac_ext >&5
4602
ac_header_compiler=no
4604
rm -f conftest.$ac_objext conftest.$ac_ext
4605
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4606
echo "${ECHO_T}$ac_header_compiler" >&6
4608
# Is the header present?
4609
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4610
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4611
cat >conftest.$ac_ext <<_ACEOF
4612
#line $LINENO "configure"
4615
cat confdefs.h >>conftest.$ac_ext
4616
cat >>conftest.$ac_ext <<_ACEOF
4617
/* end confdefs.h. */
4618
#include <$ac_header>
4620
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4621
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4623
grep -v '^ *+' conftest.er1 >conftest.err
4625
cat conftest.err >&5
4626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627
(exit $ac_status); } >/dev/null; then
4628
if test -s conftest.err; then
4629
ac_cpp_err=$ac_c_preproc_warn_flag
4636
if test -z "$ac_cpp_err"; then
4637
ac_header_preproc=yes
4639
echo "$as_me: failed program was:" >&5
4640
sed 's/^/| /' conftest.$ac_ext >&5
4642
ac_header_preproc=no
4644
rm -f conftest.err conftest.$ac_ext
4645
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4646
echo "${ECHO_T}$ac_header_preproc" >&6
4648
# So? What about this header?
4649
case $ac_header_compiler:$ac_header_preproc in
4651
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4652
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4653
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4654
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4657
## ------------------------------------ ##
4658
## Report this to bug-autoconf@gnu.org. ##
4659
## ------------------------------------ ##
4662
sed "s/^/$as_me: WARNING: /" >&2
4665
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4666
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4667
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4668
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4669
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4670
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4673
## ------------------------------------ ##
4674
## Report this to bug-autoconf@gnu.org. ##
4675
## ------------------------------------ ##
4678
sed "s/^/$as_me: WARNING: /" >&2
4681
echo "$as_me:$LINENO: checking for $ac_header" >&5
4682
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4683
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4684
echo $ECHO_N "(cached) $ECHO_C" >&6
4686
eval "$as_ac_Header=$ac_header_preproc"
4688
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4689
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4692
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4693
cat >>confdefs.h <<_ACEOF
4694
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4702
unset ac_cv_header_ladspa_h
4706
for ac_header in ladspa.h
4708
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4709
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4710
echo "$as_me:$LINENO: checking for $ac_header" >&5
4711
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4712
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4713
echo $ECHO_N "(cached) $ECHO_C" >&6
4715
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4716
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4718
# Is the header compilable?
4719
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4720
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4721
cat >conftest.$ac_ext <<_ACEOF
4722
#line $LINENO "configure"
4725
cat confdefs.h >>conftest.$ac_ext
4726
cat >>conftest.$ac_ext <<_ACEOF
4727
/* end confdefs.h. */
4728
$ac_includes_default
4729
#include <$ac_header>
4731
rm -f conftest.$ac_objext
4732
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733
(eval $ac_compile) 2>&5
4735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736
(exit $ac_status); } &&
4737
{ ac_try='test -s conftest.$ac_objext'
4738
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742
(exit $ac_status); }; }; then
4743
ac_header_compiler=yes
4745
echo "$as_me: failed program was:" >&5
4746
sed 's/^/| /' conftest.$ac_ext >&5
4748
ac_header_compiler=no
4750
rm -f conftest.$ac_objext conftest.$ac_ext
4751
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4752
echo "${ECHO_T}$ac_header_compiler" >&6
4754
# Is the header present?
4755
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4756
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4757
cat >conftest.$ac_ext <<_ACEOF
4758
#line $LINENO "configure"
4761
cat confdefs.h >>conftest.$ac_ext
4762
cat >>conftest.$ac_ext <<_ACEOF
4763
/* end confdefs.h. */
4764
#include <$ac_header>
4766
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4767
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4769
grep -v '^ *+' conftest.er1 >conftest.err
4771
cat conftest.err >&5
4772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773
(exit $ac_status); } >/dev/null; then
4774
if test -s conftest.err; then
4775
ac_cpp_err=$ac_c_preproc_warn_flag
4782
if test -z "$ac_cpp_err"; then
4783
ac_header_preproc=yes
4785
echo "$as_me: failed program was:" >&5
4786
sed 's/^/| /' conftest.$ac_ext >&5
4788
ac_header_preproc=no
4790
rm -f conftest.err conftest.$ac_ext
4791
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4792
echo "${ECHO_T}$ac_header_preproc" >&6
4794
# So? What about this header?
4795
case $ac_header_compiler:$ac_header_preproc in
4797
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4798
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4799
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4800
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4803
## ------------------------------------ ##
4804
## Report this to bug-autoconf@gnu.org. ##
4805
## ------------------------------------ ##
4808
sed "s/^/$as_me: WARNING: /" >&2
4811
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4812
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4813
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4814
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4815
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4816
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4819
## ------------------------------------ ##
4820
## Report this to bug-autoconf@gnu.org. ##
4821
## ------------------------------------ ##
4824
sed "s/^/$as_me: WARNING: /" >&2
4827
echo "$as_me:$LINENO: checking for $ac_header" >&5
4828
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4829
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4830
echo $ECHO_N "(cached) $ECHO_C" >&6
4832
eval "$as_ac_Header=$ac_header_preproc"
4834
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4835
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4838
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4839
cat >>confdefs.h <<_ACEOF
4840
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4850
unset ac_cv_header_ladspa_h
4853
if test "$have_ladspa" = "no"; then
4854
ac_save_CFLAGS=$CFLAGS
4855
CFLAGS="$CFLAGS -I/usr/local/include"
4857
for ac_header in ladspa.h
4859
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4860
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4861
echo "$as_me:$LINENO: checking for $ac_header" >&5
4862
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4863
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4864
echo $ECHO_N "(cached) $ECHO_C" >&6
4866
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4867
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4869
# Is the header compilable?
4870
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4871
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4872
cat >conftest.$ac_ext <<_ACEOF
4873
#line $LINENO "configure"
4876
cat confdefs.h >>conftest.$ac_ext
4877
cat >>conftest.$ac_ext <<_ACEOF
4878
/* end confdefs.h. */
4879
$ac_includes_default
4880
#include <$ac_header>
4882
rm -f conftest.$ac_objext
4883
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884
(eval $ac_compile) 2>&5
4886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887
(exit $ac_status); } &&
4888
{ ac_try='test -s conftest.$ac_objext'
4889
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893
(exit $ac_status); }; }; then
4894
ac_header_compiler=yes
4896
echo "$as_me: failed program was:" >&5
4897
sed 's/^/| /' conftest.$ac_ext >&5
4899
ac_header_compiler=no
4901
rm -f conftest.$ac_objext conftest.$ac_ext
4902
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4903
echo "${ECHO_T}$ac_header_compiler" >&6
4905
# Is the header present?
4906
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4907
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4908
cat >conftest.$ac_ext <<_ACEOF
4909
#line $LINENO "configure"
4912
cat confdefs.h >>conftest.$ac_ext
4913
cat >>conftest.$ac_ext <<_ACEOF
4914
/* end confdefs.h. */
4915
#include <$ac_header>
4917
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4918
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4920
grep -v '^ *+' conftest.er1 >conftest.err
4922
cat conftest.err >&5
4923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924
(exit $ac_status); } >/dev/null; then
4925
if test -s conftest.err; then
4926
ac_cpp_err=$ac_c_preproc_warn_flag
4933
if test -z "$ac_cpp_err"; then
4934
ac_header_preproc=yes
4936
echo "$as_me: failed program was:" >&5
4937
sed 's/^/| /' conftest.$ac_ext >&5
4939
ac_header_preproc=no
4941
rm -f conftest.err conftest.$ac_ext
4942
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4943
echo "${ECHO_T}$ac_header_preproc" >&6
4945
# So? What about this header?
4946
case $ac_header_compiler:$ac_header_preproc in
4948
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4949
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4950
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4951
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4954
## ------------------------------------ ##
4955
## Report this to bug-autoconf@gnu.org. ##
4956
## ------------------------------------ ##
4959
sed "s/^/$as_me: WARNING: /" >&2
4962
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4963
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4964
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4965
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4966
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4967
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4970
## ------------------------------------ ##
4971
## Report this to bug-autoconf@gnu.org. ##
4972
## ------------------------------------ ##
4975
sed "s/^/$as_me: WARNING: /" >&2
4978
echo "$as_me:$LINENO: checking for $ac_header" >&5
4979
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4980
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4981
echo $ECHO_N "(cached) $ECHO_C" >&6
4983
eval "$as_ac_Header=$ac_header_preproc"
4985
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4986
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4989
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4990
cat >>confdefs.h <<_ACEOF
4991
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5000
CFLAGS=$ac_save_CFLAGS
5002
if test "$have_ladspa" = "yes"; then
5003
CFLAGS="$CFLAGS -I/usr/local/include"
5007
if test "$have_ladspa" = "no"; then
5008
{ { echo "$as_me:$LINENO: error: ** couldn't find ladspa.h - Install the LADSPA SDK from http://www.ladspa.org first. **" >&5
5009
echo "$as_me: error: ** couldn't find ladspa.h - Install the LADSPA SDK from http://www.ladspa.org first. **" >&2;}
5010
{ (exit 1); exit 1; }; }
5014
for ac_header in zlib.h
5016
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5017
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5018
echo "$as_me:$LINENO: checking for $ac_header" >&5
5019
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5020
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5021
echo $ECHO_N "(cached) $ECHO_C" >&6
5023
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5024
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5026
# Is the header compilable?
5027
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5028
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5029
cat >conftest.$ac_ext <<_ACEOF
5030
#line $LINENO "configure"
5033
cat confdefs.h >>conftest.$ac_ext
5034
cat >>conftest.$ac_ext <<_ACEOF
5035
/* end confdefs.h. */
5036
$ac_includes_default
5037
#include <$ac_header>
5039
rm -f conftest.$ac_objext
5040
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041
(eval $ac_compile) 2>&5
5043
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044
(exit $ac_status); } &&
5045
{ ac_try='test -s conftest.$ac_objext'
5046
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050
(exit $ac_status); }; }; then
5051
ac_header_compiler=yes
5053
echo "$as_me: failed program was:" >&5
5054
sed 's/^/| /' conftest.$ac_ext >&5
5056
ac_header_compiler=no
5058
rm -f conftest.$ac_objext conftest.$ac_ext
5059
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5060
echo "${ECHO_T}$ac_header_compiler" >&6
5062
# Is the header present?
5063
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5064
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5065
cat >conftest.$ac_ext <<_ACEOF
5066
#line $LINENO "configure"
5069
cat confdefs.h >>conftest.$ac_ext
5070
cat >>conftest.$ac_ext <<_ACEOF
5071
/* end confdefs.h. */
5072
#include <$ac_header>
5074
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5075
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5077
grep -v '^ *+' conftest.er1 >conftest.err
5079
cat conftest.err >&5
5080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081
(exit $ac_status); } >/dev/null; then
5082
if test -s conftest.err; then
5083
ac_cpp_err=$ac_c_preproc_warn_flag
5090
if test -z "$ac_cpp_err"; then
5091
ac_header_preproc=yes
5093
echo "$as_me: failed program was:" >&5
5094
sed 's/^/| /' conftest.$ac_ext >&5
5096
ac_header_preproc=no
5098
rm -f conftest.err conftest.$ac_ext
5099
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5100
echo "${ECHO_T}$ac_header_preproc" >&6
5102
# So? What about this header?
5103
case $ac_header_compiler:$ac_header_preproc in
5105
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5106
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5107
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5108
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5111
## ------------------------------------ ##
5112
## Report this to bug-autoconf@gnu.org. ##
5113
## ------------------------------------ ##
5116
sed "s/^/$as_me: WARNING: /" >&2
5119
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5120
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5121
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5122
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5123
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5124
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5127
## ------------------------------------ ##
5128
## Report this to bug-autoconf@gnu.org. ##
5129
## ------------------------------------ ##
5132
sed "s/^/$as_me: WARNING: /" >&2
5135
echo "$as_me:$LINENO: checking for $ac_header" >&5
5136
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5137
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5138
echo $ECHO_N "(cached) $ECHO_C" >&6
5140
eval "$as_ac_Header=$ac_header_preproc"
5142
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5143
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5146
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5147
cat >>confdefs.h <<_ACEOF
5148
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5152
{ { echo "$as_me:$LINENO: error: ** couldn't find zlib.h **" >&5
5153
echo "$as_me: error: ** couldn't find zlib.h **" >&2;}
5154
{ (exit 1); exit 1; }; }
5159
echo "$as_me:$LINENO: checking for gzprintf in -lz" >&5
5160
echo $ECHO_N "checking for gzprintf in -lz... $ECHO_C" >&6
5161
if test "${ac_cv_lib_z_gzprintf+set}" = set; then
5162
echo $ECHO_N "(cached) $ECHO_C" >&6
5164
ac_check_lib_save_LIBS=$LIBS
5166
cat >conftest.$ac_ext <<_ACEOF
5167
#line $LINENO "configure"
5170
cat confdefs.h >>conftest.$ac_ext
5171
cat >>conftest.$ac_ext <<_ACEOF
5172
/* end confdefs.h. */
5174
/* Override any gcc2 internal prototype to avoid an error. */
5178
/* We use char because int might match the return type of a gcc2
5179
builtin and then its argument prototype would still apply. */
5189
rm -f conftest.$ac_objext conftest$ac_exeext
5190
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5191
(eval $ac_link) 2>&5
5193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
(exit $ac_status); } &&
5195
{ ac_try='test -s conftest$ac_exeext'
5196
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
(exit $ac_status); }; }; then
5201
ac_cv_lib_z_gzprintf=yes
5203
echo "$as_me: failed program was:" >&5
5204
sed 's/^/| /' conftest.$ac_ext >&5
5206
ac_cv_lib_z_gzprintf=no
5208
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5209
LIBS=$ac_check_lib_save_LIBS
5211
echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzprintf" >&5
5212
echo "${ECHO_T}$ac_cv_lib_z_gzprintf" >&6
5213
if test $ac_cv_lib_z_gzprintf = yes; then
5216
{ { echo "$as_me:$LINENO: error: ** couldn't find libz library **" >&5
5217
echo "$as_me: error: ** couldn't find libz library **" >&2;}
5218
{ (exit 1); exit 1; }; }
5222
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5223
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5224
if test "${ac_cv_c_bigendian+set}" = set; then
5225
echo $ECHO_N "(cached) $ECHO_C" >&6
5227
# See if sys/param.h defines the BYTE_ORDER macro.
5228
cat >conftest.$ac_ext <<_ACEOF
5229
#line $LINENO "configure"
5232
cat confdefs.h >>conftest.$ac_ext
5233
cat >>conftest.$ac_ext <<_ACEOF
5234
/* end confdefs.h. */
5235
#include <sys/types.h>
5236
#include <sys/param.h>
5241
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5249
rm -f conftest.$ac_objext
5250
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5251
(eval $ac_compile) 2>&5
5253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254
(exit $ac_status); } &&
5255
{ ac_try='test -s conftest.$ac_objext'
5256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260
(exit $ac_status); }; }; then
5261
# It does; now see whether it defined to BIG_ENDIAN or not.
5262
cat >conftest.$ac_ext <<_ACEOF
5263
#line $LINENO "configure"
5266
cat confdefs.h >>conftest.$ac_ext
5267
cat >>conftest.$ac_ext <<_ACEOF
5268
/* end confdefs.h. */
5269
#include <sys/types.h>
5270
#include <sys/param.h>
5275
#if BYTE_ORDER != BIG_ENDIAN
5283
rm -f conftest.$ac_objext
5284
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5285
(eval $ac_compile) 2>&5
5287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288
(exit $ac_status); } &&
5289
{ ac_try='test -s conftest.$ac_objext'
5290
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294
(exit $ac_status); }; }; then
5295
ac_cv_c_bigendian=yes
5297
echo "$as_me: failed program was:" >&5
5298
sed 's/^/| /' conftest.$ac_ext >&5
5300
ac_cv_c_bigendian=no
5302
rm -f conftest.$ac_objext conftest.$ac_ext
5304
echo "$as_me: failed program was:" >&5
5305
sed 's/^/| /' conftest.$ac_ext >&5
5307
# It does not; compile a test program.
5308
if test "$cross_compiling" = yes; then
5309
# try to guess the endianness by grepping values into an object file
5310
ac_cv_c_bigendian=unknown
5311
cat >conftest.$ac_ext <<_ACEOF
5312
#line $LINENO "configure"
5315
cat confdefs.h >>conftest.$ac_ext
5316
cat >>conftest.$ac_ext <<_ACEOF
5317
/* end confdefs.h. */
5318
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5319
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5320
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5321
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5322
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5323
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5327
_ascii (); _ebcdic ();
5332
rm -f conftest.$ac_objext
5333
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334
(eval $ac_compile) 2>&5
5336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
(exit $ac_status); } &&
5338
{ ac_try='test -s conftest.$ac_objext'
5339
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
(exit $ac_status); }; }; then
5344
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5345
ac_cv_c_bigendian=yes
5347
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5348
if test "$ac_cv_c_bigendian" = unknown; then
5349
ac_cv_c_bigendian=no
5351
# finding both strings is unlikely to happen, but who knows?
5352
ac_cv_c_bigendian=unknown
5356
echo "$as_me: failed program was:" >&5
5357
sed 's/^/| /' conftest.$ac_ext >&5
5360
rm -f conftest.$ac_objext conftest.$ac_ext
5362
cat >conftest.$ac_ext <<_ACEOF
5363
#line $LINENO "configure"
5366
cat confdefs.h >>conftest.$ac_ext
5367
cat >>conftest.$ac_ext <<_ACEOF
5368
/* end confdefs.h. */
5372
/* Are we little or big endian? From Harbison&Steele. */
5376
char c[sizeof (long)];
5379
exit (u.c[sizeof (long) - 1] == 1);
5382
rm -f conftest$ac_exeext
5383
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5384
(eval $ac_link) 2>&5
5386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392
(exit $ac_status); }; }; then
5393
ac_cv_c_bigendian=no
5395
echo "$as_me: program exited with status $ac_status" >&5
5396
echo "$as_me: failed program was:" >&5
5397
sed 's/^/| /' conftest.$ac_ext >&5
5400
ac_cv_c_bigendian=yes
5402
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5405
rm -f conftest.$ac_objext conftest.$ac_ext
5407
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5408
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5409
case $ac_cv_c_bigendian in
5412
cat >>confdefs.h <<\_ACEOF
5413
#define WORDS_BIGENDIAN 1
5419
{ { echo "$as_me:$LINENO: error: unknown endianness
5420
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5421
echo "$as_me: error: unknown endianness
5422
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5423
{ (exit 1); exit 1; }; } ;;
5426
echo "$as_me:$LINENO: checking for size_t" >&5
5427
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5428
if test "${ac_cv_type_size_t+set}" = set; then
5429
echo $ECHO_N "(cached) $ECHO_C" >&6
5431
cat >conftest.$ac_ext <<_ACEOF
5432
#line $LINENO "configure"
5435
cat confdefs.h >>conftest.$ac_ext
5436
cat >>conftest.$ac_ext <<_ACEOF
5437
/* end confdefs.h. */
5438
$ac_includes_default
5444
if (sizeof (size_t))
5450
rm -f conftest.$ac_objext
5451
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5452
(eval $ac_compile) 2>&5
5454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455
(exit $ac_status); } &&
5456
{ ac_try='test -s conftest.$ac_objext'
5457
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461
(exit $ac_status); }; }; then
5462
ac_cv_type_size_t=yes
5464
echo "$as_me: failed program was:" >&5
5465
sed 's/^/| /' conftest.$ac_ext >&5
5467
ac_cv_type_size_t=no
5469
rm -f conftest.$ac_objext conftest.$ac_ext
5471
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5472
echo "${ECHO_T}$ac_cv_type_size_t" >&6
5473
if test $ac_cv_type_size_t = yes; then
5477
cat >>confdefs.h <<_ACEOF
5478
#define size_t unsigned
5484
if test $ac_cv_c_compiler_gnu = yes; then
5485
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5486
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
5487
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5488
echo $ECHO_N "(cached) $ECHO_C" >&6
5490
ac_pattern="Autoconf.*'x'"
5491
cat >conftest.$ac_ext <<_ACEOF
5492
#line $LINENO "configure"
5495
cat confdefs.h >>conftest.$ac_ext
5496
cat >>conftest.$ac_ext <<_ACEOF
5497
/* end confdefs.h. */
5501
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5502
$EGREP "$ac_pattern" >/dev/null 2>&1; then
5503
ac_cv_prog_gcc_traditional=yes
5505
ac_cv_prog_gcc_traditional=no
5510
if test $ac_cv_prog_gcc_traditional = no; then
5511
cat >conftest.$ac_ext <<_ACEOF
5512
#line $LINENO "configure"
5515
cat confdefs.h >>conftest.$ac_ext
5516
cat >>conftest.$ac_ext <<_ACEOF
5517
/* end confdefs.h. */
5521
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5522
$EGREP "$ac_pattern" >/dev/null 2>&1; then
5523
ac_cv_prog_gcc_traditional=yes
5529
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5530
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
5531
if test $ac_cv_prog_gcc_traditional = yes; then
5532
CC="$CC -traditional"
5537
if test "$enable_closedev" = "no"; then
5539
cat >>confdefs.h <<_ACEOF
5540
#define KEEP_DEV_OPEN 1
5546
if test "$enable_sox" != "no"; then
5547
# Extract the first word of "sox", so it can be a program name with args.
5548
set dummy sox; ac_word=$2
5549
echo "$as_me:$LINENO: checking for $ac_word" >&5
5550
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5551
if test "${ac_cv_prog_SOX_PROG+set}" = set; then
5552
echo $ECHO_N "(cached) $ECHO_C" >&6
5554
if test -n "$SOX_PROG"; then
5555
ac_cv_prog_SOX_PROG="$SOX_PROG" # Let the user override the test.
5557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561
test -z "$as_dir" && as_dir=.
5562
for ac_exec_ext in '' $ac_executable_extensions; do
5563
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564
ac_cv_prog_SOX_PROG="yes"
5565
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573
SOX_PROG=$ac_cv_prog_SOX_PROG
5574
if test -n "$SOX_PROG"; then
5575
echo "$as_me:$LINENO: result: $SOX_PROG" >&5
5576
echo "${ECHO_T}$SOX_PROG" >&6
5578
echo "$as_me:$LINENO: result: no" >&5
5579
echo "${ECHO_T}no" >&6
5582
if test "$SOX_PROG" = "yes"; then
5584
cat >>confdefs.h <<_ACEOF
5585
#define USE_SOX_INPUT 1
5592
if test "$enable_mad" != "no"; then
5594
for ac_header in mad.h
5596
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5597
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5598
echo "$as_me:$LINENO: checking for $ac_header" >&5
5599
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5600
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5601
echo $ECHO_N "(cached) $ECHO_C" >&6
5603
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5604
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5606
# Is the header compilable?
5607
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5608
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5609
cat >conftest.$ac_ext <<_ACEOF
5610
#line $LINENO "configure"
5613
cat confdefs.h >>conftest.$ac_ext
5614
cat >>conftest.$ac_ext <<_ACEOF
5615
/* end confdefs.h. */
5616
$ac_includes_default
5617
#include <$ac_header>
5619
rm -f conftest.$ac_objext
5620
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5621
(eval $ac_compile) 2>&5
5623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624
(exit $ac_status); } &&
5625
{ ac_try='test -s conftest.$ac_objext'
5626
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630
(exit $ac_status); }; }; then
5631
ac_header_compiler=yes
5633
echo "$as_me: failed program was:" >&5
5634
sed 's/^/| /' conftest.$ac_ext >&5
5636
ac_header_compiler=no
5638
rm -f conftest.$ac_objext conftest.$ac_ext
5639
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5640
echo "${ECHO_T}$ac_header_compiler" >&6
5642
# Is the header present?
5643
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5644
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5645
cat >conftest.$ac_ext <<_ACEOF
5646
#line $LINENO "configure"
5649
cat confdefs.h >>conftest.$ac_ext
5650
cat >>conftest.$ac_ext <<_ACEOF
5651
/* end confdefs.h. */
5652
#include <$ac_header>
5654
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5655
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5657
grep -v '^ *+' conftest.er1 >conftest.err
5659
cat conftest.err >&5
5660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661
(exit $ac_status); } >/dev/null; then
5662
if test -s conftest.err; then
5663
ac_cpp_err=$ac_c_preproc_warn_flag
5670
if test -z "$ac_cpp_err"; then
5671
ac_header_preproc=yes
5673
echo "$as_me: failed program was:" >&5
5674
sed 's/^/| /' conftest.$ac_ext >&5
5676
ac_header_preproc=no
5678
rm -f conftest.err conftest.$ac_ext
5679
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5680
echo "${ECHO_T}$ac_header_preproc" >&6
5682
# So? What about this header?
5683
case $ac_header_compiler:$ac_header_preproc in
5685
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5686
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5687
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5688
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5691
## ------------------------------------ ##
5692
## Report this to bug-autoconf@gnu.org. ##
5693
## ------------------------------------ ##
5696
sed "s/^/$as_me: WARNING: /" >&2
5699
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5700
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5701
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5702
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5703
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5704
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5707
## ------------------------------------ ##
5708
## Report this to bug-autoconf@gnu.org. ##
5709
## ------------------------------------ ##
5712
sed "s/^/$as_me: WARNING: /" >&2
5715
echo "$as_me:$LINENO: checking for $ac_header" >&5
5716
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5717
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5718
echo $ECHO_N "(cached) $ECHO_C" >&6
5720
eval "$as_ac_Header=$ac_header_preproc"
5722
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5723
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5726
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5727
cat >>confdefs.h <<_ACEOF
5728
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5737
if test "$madheader" = "yes"; then
5738
echo "$as_me:$LINENO: checking for mad_decoder_init in -lmad" >&5
5739
echo $ECHO_N "checking for mad_decoder_init in -lmad... $ECHO_C" >&6
5740
if test "${ac_cv_lib_mad_mad_decoder_init+set}" = set; then
5741
echo $ECHO_N "(cached) $ECHO_C" >&6
5743
ac_check_lib_save_LIBS=$LIBS
5745
cat >conftest.$ac_ext <<_ACEOF
5746
#line $LINENO "configure"
5749
cat confdefs.h >>conftest.$ac_ext
5750
cat >>conftest.$ac_ext <<_ACEOF
5751
/* end confdefs.h. */
5753
/* Override any gcc2 internal prototype to avoid an error. */
5757
/* We use char because int might match the return type of a gcc2
5758
builtin and then its argument prototype would still apply. */
5759
char mad_decoder_init ();
5763
mad_decoder_init ();
5768
rm -f conftest.$ac_objext conftest$ac_exeext
5769
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5770
(eval $ac_link) 2>&5
5772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773
(exit $ac_status); } &&
5774
{ ac_try='test -s conftest$ac_exeext'
5775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779
(exit $ac_status); }; }; then
5780
ac_cv_lib_mad_mad_decoder_init=yes
5782
echo "$as_me: failed program was:" >&5
5783
sed 's/^/| /' conftest.$ac_ext >&5
5785
ac_cv_lib_mad_mad_decoder_init=no
5787
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5788
LIBS=$ac_check_lib_save_LIBS
5790
echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_decoder_init" >&5
5791
echo "${ECHO_T}$ac_cv_lib_mad_mad_decoder_init" >&6
5792
if test $ac_cv_lib_mad_mad_decoder_init = yes; then
5798
if test "$madlib" = "yes"; then
5801
cat >>confdefs.h <<_ACEOF
5802
#define USE_MAD_INPUT 1
5810
if test "$enable_vorbis" != "no"; then
5813
for ac_header in vorbis/codec.h vorbis/vorbisfile.h
5815
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5816
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5817
echo "$as_me:$LINENO: checking for $ac_header" >&5
5818
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5819
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5820
echo $ECHO_N "(cached) $ECHO_C" >&6
5822
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5823
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5825
# Is the header compilable?
5826
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5827
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5828
cat >conftest.$ac_ext <<_ACEOF
5829
#line $LINENO "configure"
5832
cat confdefs.h >>conftest.$ac_ext
5833
cat >>conftest.$ac_ext <<_ACEOF
5834
/* end confdefs.h. */
5835
$ac_includes_default
5836
#include <$ac_header>
5838
rm -f conftest.$ac_objext
5839
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840
(eval $ac_compile) 2>&5
5842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843
(exit $ac_status); } &&
5844
{ ac_try='test -s conftest.$ac_objext'
5845
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849
(exit $ac_status); }; }; then
5850
ac_header_compiler=yes
5852
echo "$as_me: failed program was:" >&5
5853
sed 's/^/| /' conftest.$ac_ext >&5
5855
ac_header_compiler=no
5857
rm -f conftest.$ac_objext conftest.$ac_ext
5858
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5859
echo "${ECHO_T}$ac_header_compiler" >&6
5861
# Is the header present?
5862
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5863
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5864
cat >conftest.$ac_ext <<_ACEOF
5865
#line $LINENO "configure"
5868
cat confdefs.h >>conftest.$ac_ext
5869
cat >>conftest.$ac_ext <<_ACEOF
5870
/* end confdefs.h. */
5871
#include <$ac_header>
5873
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5874
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5876
grep -v '^ *+' conftest.er1 >conftest.err
5878
cat conftest.err >&5
5879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880
(exit $ac_status); } >/dev/null; then
5881
if test -s conftest.err; then
5882
ac_cpp_err=$ac_c_preproc_warn_flag
5889
if test -z "$ac_cpp_err"; then
5890
ac_header_preproc=yes
5892
echo "$as_me: failed program was:" >&5
5893
sed 's/^/| /' conftest.$ac_ext >&5
5895
ac_header_preproc=no
5897
rm -f conftest.err conftest.$ac_ext
5898
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5899
echo "${ECHO_T}$ac_header_preproc" >&6
5901
# So? What about this header?
5902
case $ac_header_compiler:$ac_header_preproc in
5904
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5905
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5906
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5907
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5910
## ------------------------------------ ##
5911
## Report this to bug-autoconf@gnu.org. ##
5912
## ------------------------------------ ##
5915
sed "s/^/$as_me: WARNING: /" >&2
5918
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5919
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5920
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5921
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5922
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5923
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5926
## ------------------------------------ ##
5927
## Report this to bug-autoconf@gnu.org. ##
5928
## ------------------------------------ ##
5931
sed "s/^/$as_me: WARNING: /" >&2
5934
echo "$as_me:$LINENO: checking for $ac_header" >&5
5935
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5936
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5937
echo $ECHO_N "(cached) $ECHO_C" >&6
5939
eval "$as_ac_Header=$ac_header_preproc"
5941
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5942
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5945
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5946
cat >>confdefs.h <<_ACEOF
5947
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5956
if test "$vorbis_headers" = "yes"; then
5957
echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
5958
echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6
5959
if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
5960
echo $ECHO_N "(cached) $ECHO_C" >&6
5962
ac_check_lib_save_LIBS=$LIBS
5963
LIBS="-lvorbis $LIBS"
5964
cat >conftest.$ac_ext <<_ACEOF
5965
#line $LINENO "configure"
5968
cat confdefs.h >>conftest.$ac_ext
5969
cat >>conftest.$ac_ext <<_ACEOF
5970
/* end confdefs.h. */
5972
/* Override any gcc2 internal prototype to avoid an error. */
5976
/* We use char because int might match the return type of a gcc2
5977
builtin and then its argument prototype would still apply. */
5978
char vorbis_info_init ();
5982
vorbis_info_init ();
5987
rm -f conftest.$ac_objext conftest$ac_exeext
5988
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5989
(eval $ac_link) 2>&5
5991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
(exit $ac_status); } &&
5993
{ ac_try='test -s conftest$ac_exeext'
5994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998
(exit $ac_status); }; }; then
5999
ac_cv_lib_vorbis_vorbis_info_init=yes
6001
echo "$as_me: failed program was:" >&5
6002
sed 's/^/| /' conftest.$ac_ext >&5
6004
ac_cv_lib_vorbis_vorbis_info_init=no
6006
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6007
LIBS=$ac_check_lib_save_LIBS
6009
echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
6010
echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6
6011
if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
6017
if test "$vorbis_libs" = "yes"; then
6019
LIBS="$LIBS -lvorbis"
6020
echo "$as_me:$LINENO: checking for ov_open_callbacks in -lvorbisfile" >&5
6021
echo $ECHO_N "checking for ov_open_callbacks in -lvorbisfile... $ECHO_C" >&6
6022
if test "${ac_cv_lib_vorbisfile_ov_open_callbacks+set}" = set; then
6023
echo $ECHO_N "(cached) $ECHO_C" >&6
6025
ac_check_lib_save_LIBS=$LIBS
6026
LIBS="-lvorbisfile $LIBS"
6027
cat >conftest.$ac_ext <<_ACEOF
6028
#line $LINENO "configure"
6031
cat confdefs.h >>conftest.$ac_ext
6032
cat >>conftest.$ac_ext <<_ACEOF
6033
/* end confdefs.h. */
6035
/* Override any gcc2 internal prototype to avoid an error. */
6039
/* We use char because int might match the return type of a gcc2
6040
builtin and then its argument prototype would still apply. */
6041
char ov_open_callbacks ();
6045
ov_open_callbacks ();
6050
rm -f conftest.$ac_objext conftest$ac_exeext
6051
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6052
(eval $ac_link) 2>&5
6054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055
(exit $ac_status); } &&
6056
{ ac_try='test -s conftest$ac_exeext'
6057
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061
(exit $ac_status); }; }; then
6062
ac_cv_lib_vorbisfile_ov_open_callbacks=yes
6064
echo "$as_me: failed program was:" >&5
6065
sed 's/^/| /' conftest.$ac_ext >&5
6067
ac_cv_lib_vorbisfile_ov_open_callbacks=no
6069
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6070
LIBS=$ac_check_lib_save_LIBS
6072
echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open_callbacks" >&5
6073
echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open_callbacks" >&6
6074
if test $ac_cv_lib_vorbisfile_ov_open_callbacks = yes; then
6080
if test "$vorbisfile_libs" = "yes"; then
6081
LIBS="$LIBS -lvorbisfile"
6083
cat >>confdefs.h <<_ACEOF
6084
#define USE_VORBIS_INPUT 1
6095
if test "$enable_audiofile" != "no"; then
6096
# Extract the first word of "audiofile-config", so it can be a program name with args.
6097
set dummy audiofile-config; ac_word=$2
6098
echo "$as_me:$LINENO: checking for $ac_word" >&5
6099
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6100
if test "${ac_cv_prog_af_config+set}" = set; then
6101
echo $ECHO_N "(cached) $ECHO_C" >&6
6103
if test -n "$af_config"; then
6104
ac_cv_prog_af_config="$af_config" # Let the user override the test.
6106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110
test -z "$as_dir" && as_dir=.
6111
for ac_exec_ext in '' $ac_executable_extensions; do
6112
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113
ac_cv_prog_af_config="yes"
6114
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6120
test -z "$ac_cv_prog_af_config" && ac_cv_prog_af_config="no"
6123
af_config=$ac_cv_prog_af_config
6124
if test -n "$af_config"; then
6125
echo "$as_me:$LINENO: result: $af_config" >&5
6126
echo "${ECHO_T}$af_config" >&6
6128
echo "$as_me:$LINENO: result: no" >&5
6129
echo "${ECHO_T}no" >&6
6132
if test "$af_config" = "yes"; then
6133
af_cflags=`audiofile-config --cflags`
6134
if test "$af_cflags" != ""; then
6135
CFLAGS="$CFLAGS $af_cflags"
6137
af_libs=`audiofile-config --libs`
6138
LIBS="$LIBS $af_libs"
6140
cat >>confdefs.h <<_ACEOF
6141
#define USE_AUDIOFILE_INPUT 1
6144
OPTION_AUDIOFILE="yes"
6147
for ac_header in audiofile.h
6149
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6150
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6151
echo "$as_me:$LINENO: checking for $ac_header" >&5
6152
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6153
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154
echo $ECHO_N "(cached) $ECHO_C" >&6
6156
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6159
# Is the header compilable?
6160
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6161
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6162
cat >conftest.$ac_ext <<_ACEOF
6163
#line $LINENO "configure"
6166
cat confdefs.h >>conftest.$ac_ext
6167
cat >>conftest.$ac_ext <<_ACEOF
6168
/* end confdefs.h. */
6169
$ac_includes_default
6170
#include <$ac_header>
6172
rm -f conftest.$ac_objext
6173
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6174
(eval $ac_compile) 2>&5
6176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177
(exit $ac_status); } &&
6178
{ ac_try='test -s conftest.$ac_objext'
6179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183
(exit $ac_status); }; }; then
6184
ac_header_compiler=yes
6186
echo "$as_me: failed program was:" >&5
6187
sed 's/^/| /' conftest.$ac_ext >&5
6189
ac_header_compiler=no
6191
rm -f conftest.$ac_objext conftest.$ac_ext
6192
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6193
echo "${ECHO_T}$ac_header_compiler" >&6
6195
# Is the header present?
6196
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6197
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6198
cat >conftest.$ac_ext <<_ACEOF
6199
#line $LINENO "configure"
6202
cat confdefs.h >>conftest.$ac_ext
6203
cat >>conftest.$ac_ext <<_ACEOF
6204
/* end confdefs.h. */
6205
#include <$ac_header>
6207
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6208
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6210
grep -v '^ *+' conftest.er1 >conftest.err
6212
cat conftest.err >&5
6213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214
(exit $ac_status); } >/dev/null; then
6215
if test -s conftest.err; then
6216
ac_cpp_err=$ac_c_preproc_warn_flag
6223
if test -z "$ac_cpp_err"; then
6224
ac_header_preproc=yes
6226
echo "$as_me: failed program was:" >&5
6227
sed 's/^/| /' conftest.$ac_ext >&5
6229
ac_header_preproc=no
6231
rm -f conftest.err conftest.$ac_ext
6232
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6233
echo "${ECHO_T}$ac_header_preproc" >&6
6235
# So? What about this header?
6236
case $ac_header_compiler:$ac_header_preproc in
6238
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6239
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6240
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6241
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6244
## ------------------------------------ ##
6245
## Report this to bug-autoconf@gnu.org. ##
6246
## ------------------------------------ ##
6249
sed "s/^/$as_me: WARNING: /" >&2
6252
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6253
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6254
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6255
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6256
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6257
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6260
## ------------------------------------ ##
6261
## Report this to bug-autoconf@gnu.org. ##
6262
## ------------------------------------ ##
6265
sed "s/^/$as_me: WARNING: /" >&2
6268
echo "$as_me:$LINENO: checking for $ac_header" >&5
6269
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6270
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6271
echo $ECHO_N "(cached) $ECHO_C" >&6
6273
eval "$as_ac_Header=$ac_header_preproc"
6275
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6276
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6279
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6280
cat >>confdefs.h <<_ACEOF
6281
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6283
audiofile_headers=yes
6285
audiofile_headers=no
6290
if test "$audiofile_headers" = "yes"; then
6291
echo "$as_me:$LINENO: checking for afOpenFile in -laudiofile" >&5
6292
echo $ECHO_N "checking for afOpenFile in -laudiofile... $ECHO_C" >&6
6293
if test "${ac_cv_lib_audiofile_afOpenFile+set}" = set; then
6294
echo $ECHO_N "(cached) $ECHO_C" >&6
6296
ac_check_lib_save_LIBS=$LIBS
6297
LIBS="-laudiofile $LIBS"
6298
cat >conftest.$ac_ext <<_ACEOF
6299
#line $LINENO "configure"
6302
cat confdefs.h >>conftest.$ac_ext
6303
cat >>conftest.$ac_ext <<_ACEOF
6304
/* end confdefs.h. */
6306
/* Override any gcc2 internal prototype to avoid an error. */
6310
/* We use char because int might match the return type of a gcc2
6311
builtin and then its argument prototype would still apply. */
6321
rm -f conftest.$ac_objext conftest$ac_exeext
6322
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6323
(eval $ac_link) 2>&5
6325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326
(exit $ac_status); } &&
6327
{ ac_try='test -s conftest$ac_exeext'
6328
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332
(exit $ac_status); }; }; then
6333
ac_cv_lib_audiofile_afOpenFile=yes
6335
echo "$as_me: failed program was:" >&5
6336
sed 's/^/| /' conftest.$ac_ext >&5
6338
ac_cv_lib_audiofile_afOpenFile=no
6340
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6341
LIBS=$ac_check_lib_save_LIBS
6343
echo "$as_me:$LINENO: result: $ac_cv_lib_audiofile_afOpenFile" >&5
6344
echo "${ECHO_T}$ac_cv_lib_audiofile_afOpenFile" >&6
6345
if test $ac_cv_lib_audiofile_afOpenFile = yes; then
6351
if test "$audiofile_libs" = "yes"; then
6352
LIBS="$LIBS -laudiofile"
6354
cat >>confdefs.h <<_ACEOF
6355
#define USE_AUDIOFILE_INPUT 1
6358
OPTION_AUDIOFILE="yes"
6364
if test "$enable_mpg123" != "no"; then
6365
# Extract the first word of "mpg123", so it can be a program name with args.
6366
set dummy mpg123; ac_word=$2
6367
echo "$as_me:$LINENO: checking for $ac_word" >&5
6368
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6369
if test "${ac_cv_prog_MPG123_PROG+set}" = set; then
6370
echo $ECHO_N "(cached) $ECHO_C" >&6
6372
if test -n "$MPG123_PROG"; then
6373
ac_cv_prog_MPG123_PROG="$MPG123_PROG" # Let the user override the test.
6375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379
test -z "$as_dir" && as_dir=.
6380
for ac_exec_ext in '' $ac_executable_extensions; do
6381
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6382
ac_cv_prog_MPG123_PROG="yes"
6383
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6391
MPG123_PROG=$ac_cv_prog_MPG123_PROG
6392
if test -n "$MPG123_PROG"; then
6393
echo "$as_me:$LINENO: result: $MPG123_PROG" >&5
6394
echo "${ECHO_T}$MPG123_PROG" >&6
6396
echo "$as_me:$LINENO: result: no" >&5
6397
echo "${ECHO_T}no" >&6
6400
if test "$MPG123_PROG" = "yes"; then
6401
if test "$SOX_PROG" = "yes"; then
6403
cat >>confdefs.h <<_ACEOF
6404
#define USE_MPG123_INPUT 1
6409
# Extract the first word of "sox", so it can be a program name with args.
6410
set dummy sox; ac_word=$2
6411
echo "$as_me:$LINENO: checking for $ac_word" >&5
6412
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6413
if test "${ac_cv_prog_SOX_PROG+set}" = set; then
6414
echo $ECHO_N "(cached) $ECHO_C" >&6
6416
if test -n "$SOX_PROG"; then
6417
ac_cv_prog_SOX_PROG="$SOX_PROG" # Let the user override the test.
6419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423
test -z "$as_dir" && as_dir=.
6424
for ac_exec_ext in '' $ac_executable_extensions; do
6425
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6426
ac_cv_prog_SOX_PROG="yes"
6427
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6435
SOX_PROG=$ac_cv_prog_SOX_PROG
6436
if test -n "$SOX_PROG"; then
6437
echo "$as_me:$LINENO: result: $SOX_PROG" >&5
6438
echo "${ECHO_T}$SOX_PROG" >&6
6440
echo "$as_me:$LINENO: result: no" >&5
6441
echo "${ECHO_T}no" >&6
6444
if test "$SOX_PROG" = "yes"; then
6446
cat >>confdefs.h <<_ACEOF
6447
#define USE_MPG123_INPUT 1
6452
echo "$as_me:$LINENO: result: ** mpg123 support disabled: couldn't find sox! **" >&5
6453
echo "${ECHO_T}** mpg123 support disabled: couldn't find sox! **" >&6
6459
if test "$enable_ogg123" != "no"; then
6460
# Extract the first word of "ogg123", so it can be a program name with args.
6461
set dummy ogg123; ac_word=$2
6462
echo "$as_me:$LINENO: checking for $ac_word" >&5
6463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6464
if test "${ac_cv_prog_OGG123_PROG+set}" = set; then
6465
echo $ECHO_N "(cached) $ECHO_C" >&6
6467
if test -n "$OGG123_PROG"; then
6468
ac_cv_prog_OGG123_PROG="$OGG123_PROG" # Let the user override the test.
6470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474
test -z "$as_dir" && as_dir=.
6475
for ac_exec_ext in '' $ac_executable_extensions; do
6476
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477
ac_cv_prog_OGG123_PROG="yes"
6478
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6486
OGG123_PROG=$ac_cv_prog_OGG123_PROG
6487
if test -n "$OGG123_PROG"; then
6488
echo "$as_me:$LINENO: result: $OGG123_PROG" >&5
6489
echo "${ECHO_T}$OGG123_PROG" >&6
6491
echo "$as_me:$LINENO: result: no" >&5
6492
echo "${ECHO_T}no" >&6
6495
if test "$OGG123_PROG" = "yes"; then
6497
cat >>confdefs.h <<_ACEOF
6498
#define USE_OGG123_INPUT 1
6505
if test "$enable_xsetpointer" != "no"; then
6506
# Extract the first word of "xsetpointer", so it can be a program name with args.
6507
set dummy xsetpointer; ac_word=$2
6508
echo "$as_me:$LINENO: checking for $ac_word" >&5
6509
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6510
if test "${ac_cv_prog_XSETPOINTER_PROG+set}" = set; then
6511
echo $ECHO_N "(cached) $ECHO_C" >&6
6513
if test -n "$XSETPOINTER_PROG"; then
6514
ac_cv_prog_XSETPOINTER_PROG="$XSETPOINTER_PROG" # Let the user override the test.
6516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520
test -z "$as_dir" && as_dir=.
6521
for ac_exec_ext in '' $ac_executable_extensions; do
6522
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523
ac_cv_prog_XSETPOINTER_PROG="yes"
6524
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6532
XSETPOINTER_PROG=$ac_cv_prog_XSETPOINTER_PROG
6533
if test -n "$XSETPOINTER_PROG"; then
6534
echo "$as_me:$LINENO: result: $XSETPOINTER_PROG" >&5
6535
echo "${ECHO_T}$XSETPOINTER_PROG" >&6
6537
echo "$as_me:$LINENO: result: no" >&5
6538
echo "${ECHO_T}no" >&6
6541
if test "$XSETPOINTER_PROG" = "yes"; then
6543
cat >>confdefs.h <<_ACEOF
6544
#define USE_XSETPOINTER 1
6548
if test "$enable_xsetpointer" = "yes"; then
6549
{ { echo "$as_me:$LINENO: error: ** xsetpointer not found. **" >&5
6550
echo "$as_me: error: ** xsetpointer not found. **" >&2;}
6551
{ (exit 1); exit 1; }; }
6556
if test "$enable_movqfix" = "no"; then
6558
cat >>confdefs.h <<_ACEOF
6559
#define OVERRIDE_MOVQ_AUTODETECT 1
6568
if test "$enable_alsa" != "no"; then
6569
echo "$as_me:$LINENO: checking for snd_pcm_writei in -lasound" >&5
6570
echo $ECHO_N "checking for snd_pcm_writei in -lasound... $ECHO_C" >&6
6571
if test "${ac_cv_lib_asound_snd_pcm_writei+set}" = set; then
6572
echo $ECHO_N "(cached) $ECHO_C" >&6
6574
ac_check_lib_save_LIBS=$LIBS
6575
LIBS="-lasound $LIBS"
6576
cat >conftest.$ac_ext <<_ACEOF
6577
#line $LINENO "configure"
6580
cat confdefs.h >>conftest.$ac_ext
6581
cat >>conftest.$ac_ext <<_ACEOF
6582
/* end confdefs.h. */
6584
/* Override any gcc2 internal prototype to avoid an error. */
6588
/* We use char because int might match the return type of a gcc2
6589
builtin and then its argument prototype would still apply. */
6590
char snd_pcm_writei ();
6599
rm -f conftest.$ac_objext conftest$ac_exeext
6600
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601
(eval $ac_link) 2>&5
6603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604
(exit $ac_status); } &&
6605
{ ac_try='test -s conftest$ac_exeext'
6606
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610
(exit $ac_status); }; }; then
6611
ac_cv_lib_asound_snd_pcm_writei=yes
6613
echo "$as_me: failed program was:" >&5
6614
sed 's/^/| /' conftest.$ac_ext >&5
6616
ac_cv_lib_asound_snd_pcm_writei=no
6618
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6619
LIBS=$ac_check_lib_save_LIBS
6621
echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_writei" >&5
6622
echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_writei" >&6
6623
if test $ac_cv_lib_asound_snd_pcm_writei = yes; then
6630
for ac_header in alsa/asoundlib.h
6632
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6634
echo "$as_me:$LINENO: checking for $ac_header" >&5
6635
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6636
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6637
echo $ECHO_N "(cached) $ECHO_C" >&6
6639
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6640
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6642
# Is the header compilable?
6643
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6644
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6645
cat >conftest.$ac_ext <<_ACEOF
6646
#line $LINENO "configure"
6649
cat confdefs.h >>conftest.$ac_ext
6650
cat >>conftest.$ac_ext <<_ACEOF
6651
/* end confdefs.h. */
6652
$ac_includes_default
6653
#include <$ac_header>
6655
rm -f conftest.$ac_objext
6656
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6657
(eval $ac_compile) 2>&5
6659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660
(exit $ac_status); } &&
6661
{ ac_try='test -s conftest.$ac_objext'
6662
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666
(exit $ac_status); }; }; then
6667
ac_header_compiler=yes
6669
echo "$as_me: failed program was:" >&5
6670
sed 's/^/| /' conftest.$ac_ext >&5
6672
ac_header_compiler=no
6674
rm -f conftest.$ac_objext conftest.$ac_ext
6675
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6676
echo "${ECHO_T}$ac_header_compiler" >&6
6678
# Is the header present?
6679
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6680
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6681
cat >conftest.$ac_ext <<_ACEOF
6682
#line $LINENO "configure"
6685
cat confdefs.h >>conftest.$ac_ext
6686
cat >>conftest.$ac_ext <<_ACEOF
6687
/* end confdefs.h. */
6688
#include <$ac_header>
6690
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6691
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6693
grep -v '^ *+' conftest.er1 >conftest.err
6695
cat conftest.err >&5
6696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697
(exit $ac_status); } >/dev/null; then
6698
if test -s conftest.err; then
6699
ac_cpp_err=$ac_c_preproc_warn_flag
6706
if test -z "$ac_cpp_err"; then
6707
ac_header_preproc=yes
6709
echo "$as_me: failed program was:" >&5
6710
sed 's/^/| /' conftest.$ac_ext >&5
6712
ac_header_preproc=no
6714
rm -f conftest.err conftest.$ac_ext
6715
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6716
echo "${ECHO_T}$ac_header_preproc" >&6
6718
# So? What about this header?
6719
case $ac_header_compiler:$ac_header_preproc in
6721
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6722
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6723
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6724
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6727
## ------------------------------------ ##
6728
## Report this to bug-autoconf@gnu.org. ##
6729
## ------------------------------------ ##
6732
sed "s/^/$as_me: WARNING: /" >&2
6735
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6736
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6737
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6738
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6739
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6740
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6743
## ------------------------------------ ##
6744
## Report this to bug-autoconf@gnu.org. ##
6745
## ------------------------------------ ##
6748
sed "s/^/$as_me: WARNING: /" >&2
6751
echo "$as_me:$LINENO: checking for $ac_header" >&5
6752
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6753
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6754
echo $ECHO_N "(cached) $ECHO_C" >&6
6756
eval "$as_ac_Header=$ac_header_preproc"
6758
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6759
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6762
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6763
cat >>confdefs.h <<_ACEOF
6764
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774
if test "$alsalib" = "yes"; then
6775
if test "$alsaheader" = "yes"; then
6777
cat >>confdefs.h <<_ACEOF
6781
LIBS="$LIBS -lasound"
6785
if test "$enable_alsa" = "yes"; then
6786
{ { echo "$as_me:$LINENO: error: ** Coulnd't find ALSA header file sys/asoundlib.h **" >&5
6787
echo "$as_me: error: ** Coulnd't find ALSA header file sys/asoundlib.h **" >&2;}
6788
{ (exit 1); exit 1; }; }
6792
if test "$enable_alsa" = "yes"; then
6793
{ { echo "$as_me:$LINENO: error: ** Coulnd'f find ALSA library libasound. **" >&5
6794
echo "$as_me: error: ** Coulnd'f find ALSA library libasound. **" >&2;}
6795
{ (exit 1); exit 1; }; }
6800
if test "$enable_jack" != "no"; then
6801
echo "$as_me:$LINENO: checking for jack_activate in -ljack" >&5
6802
echo $ECHO_N "checking for jack_activate in -ljack... $ECHO_C" >&6
6803
if test "${ac_cv_lib_jack_jack_activate+set}" = set; then
6804
echo $ECHO_N "(cached) $ECHO_C" >&6
6806
ac_check_lib_save_LIBS=$LIBS
6808
cat >conftest.$ac_ext <<_ACEOF
6809
#line $LINENO "configure"
6812
cat confdefs.h >>conftest.$ac_ext
6813
cat >>conftest.$ac_ext <<_ACEOF
6814
/* end confdefs.h. */
6816
/* Override any gcc2 internal prototype to avoid an error. */
6820
/* We use char because int might match the return type of a gcc2
6821
builtin and then its argument prototype would still apply. */
6822
char jack_activate ();
6831
rm -f conftest.$ac_objext conftest$ac_exeext
6832
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6833
(eval $ac_link) 2>&5
6835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836
(exit $ac_status); } &&
6837
{ ac_try='test -s conftest$ac_exeext'
6838
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842
(exit $ac_status); }; }; then
6843
ac_cv_lib_jack_jack_activate=yes
6845
echo "$as_me: failed program was:" >&5
6846
sed 's/^/| /' conftest.$ac_ext >&5
6848
ac_cv_lib_jack_jack_activate=no
6850
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6851
LIBS=$ac_check_lib_save_LIBS
6853
echo "$as_me:$LINENO: result: $ac_cv_lib_jack_jack_activate" >&5
6854
echo "${ECHO_T}$ac_cv_lib_jack_jack_activate" >&6
6855
if test $ac_cv_lib_jack_jack_activate = yes; then
6862
for ac_header in jack/jack.h
6864
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6866
echo "$as_me:$LINENO: checking for $ac_header" >&5
6867
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6868
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6869
echo $ECHO_N "(cached) $ECHO_C" >&6
6871
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6872
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6874
# Is the header compilable?
6875
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6876
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6877
cat >conftest.$ac_ext <<_ACEOF
6878
#line $LINENO "configure"
6881
cat confdefs.h >>conftest.$ac_ext
6882
cat >>conftest.$ac_ext <<_ACEOF
6883
/* end confdefs.h. */
6884
$ac_includes_default
6885
#include <$ac_header>
6887
rm -f conftest.$ac_objext
6888
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6889
(eval $ac_compile) 2>&5
6891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892
(exit $ac_status); } &&
6893
{ ac_try='test -s conftest.$ac_objext'
6894
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898
(exit $ac_status); }; }; then
6899
ac_header_compiler=yes
6901
echo "$as_me: failed program was:" >&5
6902
sed 's/^/| /' conftest.$ac_ext >&5
6904
ac_header_compiler=no
6906
rm -f conftest.$ac_objext conftest.$ac_ext
6907
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6908
echo "${ECHO_T}$ac_header_compiler" >&6
6910
# Is the header present?
6911
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6912
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6913
cat >conftest.$ac_ext <<_ACEOF
6914
#line $LINENO "configure"
6917
cat confdefs.h >>conftest.$ac_ext
6918
cat >>conftest.$ac_ext <<_ACEOF
6919
/* end confdefs.h. */
6920
#include <$ac_header>
6922
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6923
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6925
grep -v '^ *+' conftest.er1 >conftest.err
6927
cat conftest.err >&5
6928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929
(exit $ac_status); } >/dev/null; then
6930
if test -s conftest.err; then
6931
ac_cpp_err=$ac_c_preproc_warn_flag
6938
if test -z "$ac_cpp_err"; then
6939
ac_header_preproc=yes
6941
echo "$as_me: failed program was:" >&5
6942
sed 's/^/| /' conftest.$ac_ext >&5
6944
ac_header_preproc=no
6946
rm -f conftest.err conftest.$ac_ext
6947
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6948
echo "${ECHO_T}$ac_header_preproc" >&6
6950
# So? What about this header?
6951
case $ac_header_compiler:$ac_header_preproc in
6953
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6954
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6955
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6956
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6959
## ------------------------------------ ##
6960
## Report this to bug-autoconf@gnu.org. ##
6961
## ------------------------------------ ##
6964
sed "s/^/$as_me: WARNING: /" >&2
6967
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6968
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6969
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6970
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6971
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6972
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6975
## ------------------------------------ ##
6976
## Report this to bug-autoconf@gnu.org. ##
6977
## ------------------------------------ ##
6980
sed "s/^/$as_me: WARNING: /" >&2
6983
echo "$as_me:$LINENO: checking for $ac_header" >&5
6984
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6985
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6986
echo $ECHO_N "(cached) $ECHO_C" >&6
6988
eval "$as_ac_Header=$ac_header_preproc"
6990
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6991
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6994
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6995
cat >>confdefs.h <<_ACEOF
6996
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7006
if test "$jacklib" = "yes"; then
7007
if test "$jackheader" = "yes"; then
7009
cat >>confdefs.h <<_ACEOF
7017
if test "$enable_jack" = "yes"; then
7018
{ { echo "$as_me:$LINENO: error: ** Coulnd't find JACK header file jack/jack.h **" >&5
7019
echo "$as_me: error: ** Coulnd't find JACK header file jack/jack.h **" >&2;}
7020
{ (exit 1); exit 1; }; }
7024
if test "$enable_jack" = "yes"; then
7025
{ { echo "$as_me:$LINENO: error: ** Coulnd'f find JACK library libjack. **" >&5
7026
echo "$as_me: error: ** Coulnd'f find JACK library libjack. **" >&2;}
7027
{ (exit 1); exit 1; }; }
7033
if test "$enable_oss" != "no"; then
7036
for ac_header in sys/ioctl.h sys/soundcard.h
7038
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7039
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7040
echo "$as_me:$LINENO: checking for $ac_header" >&5
7041
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7042
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7043
echo $ECHO_N "(cached) $ECHO_C" >&6
7045
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7046
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7048
# Is the header compilable?
7049
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7050
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7051
cat >conftest.$ac_ext <<_ACEOF
7052
#line $LINENO "configure"
7055
cat confdefs.h >>conftest.$ac_ext
7056
cat >>conftest.$ac_ext <<_ACEOF
7057
/* end confdefs.h. */
7058
$ac_includes_default
7059
#include <$ac_header>
7061
rm -f conftest.$ac_objext
7062
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7063
(eval $ac_compile) 2>&5
7065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066
(exit $ac_status); } &&
7067
{ ac_try='test -s conftest.$ac_objext'
7068
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072
(exit $ac_status); }; }; then
7073
ac_header_compiler=yes
7075
echo "$as_me: failed program was:" >&5
7076
sed 's/^/| /' conftest.$ac_ext >&5
7078
ac_header_compiler=no
7080
rm -f conftest.$ac_objext conftest.$ac_ext
7081
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7082
echo "${ECHO_T}$ac_header_compiler" >&6
7084
# Is the header present?
7085
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7086
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7087
cat >conftest.$ac_ext <<_ACEOF
7088
#line $LINENO "configure"
7091
cat confdefs.h >>conftest.$ac_ext
7092
cat >>conftest.$ac_ext <<_ACEOF
7093
/* end confdefs.h. */
7094
#include <$ac_header>
7096
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7097
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7099
grep -v '^ *+' conftest.er1 >conftest.err
7101
cat conftest.err >&5
7102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103
(exit $ac_status); } >/dev/null; then
7104
if test -s conftest.err; then
7105
ac_cpp_err=$ac_c_preproc_warn_flag
7112
if test -z "$ac_cpp_err"; then
7113
ac_header_preproc=yes
7115
echo "$as_me: failed program was:" >&5
7116
sed 's/^/| /' conftest.$ac_ext >&5
7118
ac_header_preproc=no
7120
rm -f conftest.err conftest.$ac_ext
7121
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7122
echo "${ECHO_T}$ac_header_preproc" >&6
7124
# So? What about this header?
7125
case $ac_header_compiler:$ac_header_preproc in
7127
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7128
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7129
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7130
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7133
## ------------------------------------ ##
7134
## Report this to bug-autoconf@gnu.org. ##
7135
## ------------------------------------ ##
7138
sed "s/^/$as_me: WARNING: /" >&2
7141
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7142
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7143
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7144
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7145
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7146
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7149
## ------------------------------------ ##
7150
## Report this to bug-autoconf@gnu.org. ##
7151
## ------------------------------------ ##
7154
sed "s/^/$as_me: WARNING: /" >&2
7157
echo "$as_me:$LINENO: checking for $ac_header" >&5
7158
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7159
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7160
echo $ECHO_N "(cached) $ECHO_C" >&6
7162
eval "$as_ac_Header=$ac_header_preproc"
7164
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7165
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7168
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7169
cat >>confdefs.h <<_ACEOF
7170
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180
if test "$oss" = "yes"; then
7182
cat >>confdefs.h <<_ACEOF
7189
if test "$enable_oss" = "yes"; then
7190
{ { echo "$as_me:$LINENO: error: ** Couldn't find OSS header files. ***" >&5
7191
echo "$as_me: error: ** Couldn't find OSS header files. ***" >&2;}
7192
{ (exit 1); exit 1; }; }
7197
if test "$enable_alsamidi" != "no"; then
7198
if test "$using_alsa" = "yes"; then
7200
cat >>confdefs.h <<_ACEOF
7201
#define USE_ALSA_MIDI_IN 1
7204
OPTION_ALSAMIDI="yes"
7206
echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
7207
echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
7208
if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
7209
echo $ECHO_N "(cached) $ECHO_C" >&6
7211
ac_check_lib_save_LIBS=$LIBS
7212
LIBS="-lasound $LIBS"
7213
cat >conftest.$ac_ext <<_ACEOF
7214
#line $LINENO "configure"
7217
cat confdefs.h >>conftest.$ac_ext
7218
cat >>conftest.$ac_ext <<_ACEOF
7219
/* end confdefs.h. */
7221
/* Override any gcc2 internal prototype to avoid an error. */
7225
/* We use char because int might match the return type of a gcc2
7226
builtin and then its argument prototype would still apply. */
7227
char snd_seq_open ();
7236
rm -f conftest.$ac_objext conftest$ac_exeext
7237
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238
(eval $ac_link) 2>&5
7240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241
(exit $ac_status); } &&
7242
{ ac_try='test -s conftest$ac_exeext'
7243
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247
(exit $ac_status); }; }; then
7248
ac_cv_lib_asound_snd_seq_open=yes
7250
echo "$as_me: failed program was:" >&5
7251
sed 's/^/| /' conftest.$ac_ext >&5
7253
ac_cv_lib_asound_snd_seq_open=no
7255
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7256
LIBS=$ac_check_lib_save_LIBS
7258
echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
7259
echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
7260
if test $ac_cv_lib_asound_snd_seq_open = yes; then
7267
for ac_header in alsa/asoundlib.h
7269
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7270
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7271
echo "$as_me:$LINENO: checking for $ac_header" >&5
7272
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7273
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7274
echo $ECHO_N "(cached) $ECHO_C" >&6
7276
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7277
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7279
# Is the header compilable?
7280
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7281
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7282
cat >conftest.$ac_ext <<_ACEOF
7283
#line $LINENO "configure"
7286
cat confdefs.h >>conftest.$ac_ext
7287
cat >>conftest.$ac_ext <<_ACEOF
7288
/* end confdefs.h. */
7289
$ac_includes_default
7290
#include <$ac_header>
7292
rm -f conftest.$ac_objext
7293
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7294
(eval $ac_compile) 2>&5
7296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297
(exit $ac_status); } &&
7298
{ ac_try='test -s conftest.$ac_objext'
7299
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303
(exit $ac_status); }; }; then
7304
ac_header_compiler=yes
7306
echo "$as_me: failed program was:" >&5
7307
sed 's/^/| /' conftest.$ac_ext >&5
7309
ac_header_compiler=no
7311
rm -f conftest.$ac_objext conftest.$ac_ext
7312
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7313
echo "${ECHO_T}$ac_header_compiler" >&6
7315
# Is the header present?
7316
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7317
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7318
cat >conftest.$ac_ext <<_ACEOF
7319
#line $LINENO "configure"
7322
cat confdefs.h >>conftest.$ac_ext
7323
cat >>conftest.$ac_ext <<_ACEOF
7324
/* end confdefs.h. */
7325
#include <$ac_header>
7327
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7330
grep -v '^ *+' conftest.er1 >conftest.err
7332
cat conftest.err >&5
7333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334
(exit $ac_status); } >/dev/null; then
7335
if test -s conftest.err; then
7336
ac_cpp_err=$ac_c_preproc_warn_flag
7343
if test -z "$ac_cpp_err"; then
7344
ac_header_preproc=yes
7346
echo "$as_me: failed program was:" >&5
7347
sed 's/^/| /' conftest.$ac_ext >&5
7349
ac_header_preproc=no
7351
rm -f conftest.err conftest.$ac_ext
7352
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7353
echo "${ECHO_T}$ac_header_preproc" >&6
7355
# So? What about this header?
7356
case $ac_header_compiler:$ac_header_preproc in
7358
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7359
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7360
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7361
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7364
## ------------------------------------ ##
7365
## Report this to bug-autoconf@gnu.org. ##
7366
## ------------------------------------ ##
7369
sed "s/^/$as_me: WARNING: /" >&2
7372
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7373
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7374
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7375
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7376
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7377
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7380
## ------------------------------------ ##
7381
## Report this to bug-autoconf@gnu.org. ##
7382
## ------------------------------------ ##
7385
sed "s/^/$as_me: WARNING: /" >&2
7388
echo "$as_me:$LINENO: checking for $ac_header" >&5
7389
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7390
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7391
echo $ECHO_N "(cached) $ECHO_C" >&6
7393
eval "$as_ac_Header=$ac_header_preproc"
7395
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7396
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7399
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7400
cat >>confdefs.h <<_ACEOF
7401
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7411
if test "$alsalib" = "yes"; then
7412
if test "$alsaheader" = "yes"; then
7414
cat >>confdefs.h <<_ACEOF
7415
#define USE_ALSA_MIDI_IN 1
7418
LIBS="$LIBS -lasound"
7419
OPTION_ALSAMIDI="yes"
7421
if test "$enable_alsamidi" = "yes"; then
7422
{ { echo "$as_me:$LINENO: error: ** Coulnd't find ALSA header file alsa/asoundlib.h **" >&5
7423
echo "$as_me: error: ** Coulnd't find ALSA header file alsa/asoundlib.h **" >&2;}
7424
{ (exit 1); exit 1; }; }
7428
if test "$enable_alsamidin" = "yes"; then
7429
{ { echo "$as_me:$LINENO: error: ** Couldn't find ALSA library libasound. **" >&5
7430
echo "$as_me: error: ** Couldn't find ALSA library libasound. **" >&2;}
7431
{ (exit 1); exit 1; }; }
7437
if test "$using_alsa" != "yes"; then
7438
if test "$using_oss" != "yes"; then
7439
if test "$using_jack" != "yes"; then
7440
{ { echo "$as_me:$LINENO: error: ** Found neither OSS, ALSA nor JACK - no output device! **" >&5
7441
echo "$as_me: error: ** Found neither OSS, ALSA nor JACK - no output device! **" >&2;}
7442
{ (exit 1); exit 1; }; }
7447
if test "$enable_wav" != "no";
7450
cat >>confdefs.h <<_ACEOF
7451
#define USE_BUILTIN_WAV 1
7457
if test "$enable_3dnow" = "yes"; then
7459
cat >>confdefs.h <<_ACEOF
7465
if test "$enable_scheduler" != "no"; then
7466
OPTION_SCHEDULER="yes";
7468
cat >>confdefs.h <<_ACEOF
7469
#define USE_SCHEDULER 1
7474
if test "$enable_debug" = yes; then
7476
cat >>confdefs.h <<_ACEOF
7477
#define ENABLE_DEBUG_OUTPUT 1
7482
if test "$enable_benchmark" = yes; then
7484
cat >>confdefs.h <<_ACEOF
7485
#define CREATE_BENCHMARK 1
7490
if test "$enable_suidroot" = yes; then
7491
OPTION_SUIDROOT="yes";
7493
cat >>confdefs.h <<_ACEOF
7494
#define ALLOW_SUID_ROOT 1
7499
if test "$enable_capabilities" != "no"; then
7501
for ac_header in sys/capability.h
7503
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7504
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7505
echo "$as_me:$LINENO: checking for $ac_header" >&5
7506
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7507
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7508
echo $ECHO_N "(cached) $ECHO_C" >&6
7510
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7511
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7513
# Is the header compilable?
7514
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7515
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7516
cat >conftest.$ac_ext <<_ACEOF
7517
#line $LINENO "configure"
7520
cat confdefs.h >>conftest.$ac_ext
7521
cat >>conftest.$ac_ext <<_ACEOF
7522
/* end confdefs.h. */
7523
$ac_includes_default
7524
#include <$ac_header>
7526
rm -f conftest.$ac_objext
7527
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7528
(eval $ac_compile) 2>&5
7530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531
(exit $ac_status); } &&
7532
{ ac_try='test -s conftest.$ac_objext'
7533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537
(exit $ac_status); }; }; then
7538
ac_header_compiler=yes
7540
echo "$as_me: failed program was:" >&5
7541
sed 's/^/| /' conftest.$ac_ext >&5
7543
ac_header_compiler=no
7545
rm -f conftest.$ac_objext conftest.$ac_ext
7546
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7547
echo "${ECHO_T}$ac_header_compiler" >&6
7549
# Is the header present?
7550
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7551
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7552
cat >conftest.$ac_ext <<_ACEOF
7553
#line $LINENO "configure"
7556
cat confdefs.h >>conftest.$ac_ext
7557
cat >>conftest.$ac_ext <<_ACEOF
7558
/* end confdefs.h. */
7559
#include <$ac_header>
7561
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7562
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7564
grep -v '^ *+' conftest.er1 >conftest.err
7566
cat conftest.err >&5
7567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568
(exit $ac_status); } >/dev/null; then
7569
if test -s conftest.err; then
7570
ac_cpp_err=$ac_c_preproc_warn_flag
7577
if test -z "$ac_cpp_err"; then
7578
ac_header_preproc=yes
7580
echo "$as_me: failed program was:" >&5
7581
sed 's/^/| /' conftest.$ac_ext >&5
7583
ac_header_preproc=no
7585
rm -f conftest.err conftest.$ac_ext
7586
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7587
echo "${ECHO_T}$ac_header_preproc" >&6
7589
# So? What about this header?
7590
case $ac_header_compiler:$ac_header_preproc in
7592
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7593
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7594
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7595
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7598
## ------------------------------------ ##
7599
## Report this to bug-autoconf@gnu.org. ##
7600
## ------------------------------------ ##
7603
sed "s/^/$as_me: WARNING: /" >&2
7606
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7607
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7608
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7609
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7610
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7611
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7614
## ------------------------------------ ##
7615
## Report this to bug-autoconf@gnu.org. ##
7616
## ------------------------------------ ##
7619
sed "s/^/$as_me: WARNING: /" >&2
7622
echo "$as_me:$LINENO: checking for $ac_header" >&5
7623
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7624
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7625
echo $ECHO_N "(cached) $ECHO_C" >&6
7627
eval "$as_ac_Header=$ac_header_preproc"
7629
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7630
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7633
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7634
cat >>confdefs.h <<_ACEOF
7635
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7645
for ac_header in sys/prctl.h
7647
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7649
echo "$as_me:$LINENO: checking for $ac_header" >&5
7650
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7651
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7652
echo $ECHO_N "(cached) $ECHO_C" >&6
7654
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7655
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7657
# Is the header compilable?
7658
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7659
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7660
cat >conftest.$ac_ext <<_ACEOF
7661
#line $LINENO "configure"
7664
cat confdefs.h >>conftest.$ac_ext
7665
cat >>conftest.$ac_ext <<_ACEOF
7666
/* end confdefs.h. */
7667
$ac_includes_default
7668
#include <$ac_header>
7670
rm -f conftest.$ac_objext
7671
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7672
(eval $ac_compile) 2>&5
7674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675
(exit $ac_status); } &&
7676
{ ac_try='test -s conftest.$ac_objext'
7677
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681
(exit $ac_status); }; }; then
7682
ac_header_compiler=yes
7684
echo "$as_me: failed program was:" >&5
7685
sed 's/^/| /' conftest.$ac_ext >&5
7687
ac_header_compiler=no
7689
rm -f conftest.$ac_objext conftest.$ac_ext
7690
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7691
echo "${ECHO_T}$ac_header_compiler" >&6
7693
# Is the header present?
7694
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7695
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7696
cat >conftest.$ac_ext <<_ACEOF
7697
#line $LINENO "configure"
7700
cat confdefs.h >>conftest.$ac_ext
7701
cat >>conftest.$ac_ext <<_ACEOF
7702
/* end confdefs.h. */
7703
#include <$ac_header>
7705
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7706
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7708
grep -v '^ *+' conftest.er1 >conftest.err
7710
cat conftest.err >&5
7711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712
(exit $ac_status); } >/dev/null; then
7713
if test -s conftest.err; then
7714
ac_cpp_err=$ac_c_preproc_warn_flag
7721
if test -z "$ac_cpp_err"; then
7722
ac_header_preproc=yes
7724
echo "$as_me: failed program was:" >&5
7725
sed 's/^/| /' conftest.$ac_ext >&5
7727
ac_header_preproc=no
7729
rm -f conftest.err conftest.$ac_ext
7730
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7731
echo "${ECHO_T}$ac_header_preproc" >&6
7733
# So? What about this header?
7734
case $ac_header_compiler:$ac_header_preproc in
7736
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7737
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7738
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7739
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7742
## ------------------------------------ ##
7743
## Report this to bug-autoconf@gnu.org. ##
7744
## ------------------------------------ ##
7747
sed "s/^/$as_me: WARNING: /" >&2
7750
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7751
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7752
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7753
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7754
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7755
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7758
## ------------------------------------ ##
7759
## Report this to bug-autoconf@gnu.org. ##
7760
## ------------------------------------ ##
7763
sed "s/^/$as_me: WARNING: /" >&2
7766
echo "$as_me:$LINENO: checking for $ac_header" >&5
7767
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7768
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7769
echo $ECHO_N "(cached) $ECHO_C" >&6
7771
eval "$as_ac_Header=$ac_header_preproc"
7773
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7774
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7777
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7778
cat >>confdefs.h <<_ACEOF
7779
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7789
if test "$capheader" = "yes"; then
7790
if test "$prctlheader" = "yes"; then
7791
echo "$as_me:$LINENO: checking for cap_get_proc in -lcap" >&5
7792
echo $ECHO_N "checking for cap_get_proc in -lcap... $ECHO_C" >&6
7793
if test "${ac_cv_lib_cap_cap_get_proc+set}" = set; then
7794
echo $ECHO_N "(cached) $ECHO_C" >&6
7796
ac_check_lib_save_LIBS=$LIBS
7798
cat >conftest.$ac_ext <<_ACEOF
7799
#line $LINENO "configure"
7802
cat confdefs.h >>conftest.$ac_ext
7803
cat >>conftest.$ac_ext <<_ACEOF
7804
/* end confdefs.h. */
7806
/* Override any gcc2 internal prototype to avoid an error. */
7810
/* We use char because int might match the return type of a gcc2
7811
builtin and then its argument prototype would still apply. */
7812
char cap_get_proc ();
7821
rm -f conftest.$ac_objext conftest$ac_exeext
7822
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7823
(eval $ac_link) 2>&5
7825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826
(exit $ac_status); } &&
7827
{ ac_try='test -s conftest$ac_exeext'
7828
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832
(exit $ac_status); }; }; then
7833
ac_cv_lib_cap_cap_get_proc=yes
7835
echo "$as_me: failed program was:" >&5
7836
sed 's/^/| /' conftest.$ac_ext >&5
7838
ac_cv_lib_cap_cap_get_proc=no
7840
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7841
LIBS=$ac_check_lib_save_LIBS
7843
echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_get_proc" >&5
7844
echo "${ECHO_T}$ac_cv_lib_cap_cap_get_proc" >&6
7845
if test $ac_cv_lib_cap_cap_get_proc = yes; then
7851
if test "$caplib" = "yes"; then
7854
cat >>confdefs.h <<_ACEOF
7855
#define USE_CAPABILITIES 1
7864
if test "$enable_capabilities" = "yes"; then
7865
if test "$OPTION_CAP" != "yes"; then
7866
{ { echo "$as_me:$LINENO: error: ** This system doesn't support capabilities. **" >&5
7867
echo "$as_me: error: ** This system doesn't support capabilities. **" >&2;}
7868
{ (exit 1); exit 1; }; }
7874
if test "$enable_deprecated" = "no"; then
7875
DEPRECATED_FLAGS="-DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED"
7882
echo "$as_me:$LINENO: checking for necessary scratching skillz" >&5
7883
echo $ECHO_N "checking for necessary scratching skillz... $ECHO_C" >&6
7884
echo "$as_me:$LINENO: result: yes" >&5
7885
echo "${ECHO_T}yes" >&6
7888
cat >>confdefs.h <<_ACEOF
7894
if test "$enable_legacy" = yes; then
7896
cat >>confdefs.h <<_ACEOF
7897
#define ENABLE_TX_LEGACY 1
7906
echo "$as_me:$LINENO: checking for GNOME" >&5
7907
echo $ECHO_N "checking for GNOME... $ECHO_C" >&6
7908
echo "$as_me:$LINENO: result: in progress" >&5
7909
echo "${ECHO_T}in progress" >&6
7910
# Extract the first word of "gnome-name-service", so it can be a program name with args.
7911
set dummy gnome-name-service; ac_word=$2
7912
echo "$as_me:$LINENO: checking for $ac_word" >&5
7913
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7914
if test "${ac_cv_prog_gnomepresent+set}" = set; then
7915
echo $ECHO_N "(cached) $ECHO_C" >&6
7917
if test -n "$gnomepresent"; then
7918
ac_cv_prog_gnomepresent="$gnomepresent" # Let the user override the test.
7920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924
test -z "$as_dir" && as_dir=.
7925
for ac_exec_ext in '' $ac_executable_extensions; do
7926
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927
ac_cv_prog_gnomepresent="yes"
7928
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7934
test -z "$ac_cv_prog_gnomepresent" && ac_cv_prog_gnomepresent="no"
7937
gnomepresent=$ac_cv_prog_gnomepresent
7938
if test -n "$gnomepresent"; then
7939
echo "$as_me:$LINENO: result: $gnomepresent" >&5
7940
echo "${ECHO_T}$gnomepresent" >&6
7942
echo "$as_me:$LINENO: result: no" >&5
7943
echo "${ECHO_T}no" >&6
7946
if test "$gnomepresent" = yes; then
7947
# Extract the first word of "gnome-config", so it can be a program name with args.
7948
set dummy gnome-config; ac_word=$2
7949
echo "$as_me:$LINENO: checking for $ac_word" >&5
7950
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7951
if test "${ac_cv_prog_gnomeconfig+set}" = set; then
7952
echo $ECHO_N "(cached) $ECHO_C" >&6
7954
if test -n "$gnomeconfig"; then
7955
ac_cv_prog_gnomeconfig="$gnomeconfig" # Let the user override the test.
7957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961
test -z "$as_dir" && as_dir=.
7962
for ac_exec_ext in '' $ac_executable_extensions; do
7963
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964
ac_cv_prog_gnomeconfig="yes"
7965
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7973
gnomeconfig=$ac_cv_prog_gnomeconfig
7974
if test -n "$gnomeconfig"; then
7975
echo "$as_me:$LINENO: result: $gnomeconfig" >&5
7976
echo "${ECHO_T}$gnomeconfig" >&6
7978
echo "$as_me:$LINENO: result: no" >&5
7979
echo "${ECHO_T}no" >&6
7982
if test "$gnomeconfig" = yes; then
7983
gnomedatadir=`gnome-config --datadir`
7985
gnomedatadir=${datadir}
7988
echo "$as_me:$LINENO: result: Found GNOME - installing terminatorX.desktop." >&5
7989
echo "${ECHO_T}Found GNOME - installing terminatorX.desktop." >&6
7992
echo "$as_me:$LINENO: result: GNOME not found." >&5
7993
echo "${ECHO_T}GNOME not found." >&6
7997
if test "$gnomepresent" = yes; then
7999
GNOMEpresent_FALSE='#'
8001
GNOMEpresent_TRUE='#'
8009
if test "$enable_libxml2" != "no"; then
8010
if ! $found_libxml; then
8011
# Extract the first word of "xml2-config", so it can be a program name with args.
8012
set dummy xml2-config; ac_word=$2
8013
echo "$as_me:$LINENO: checking for $ac_word" >&5
8014
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8015
if test "${ac_cv_prog_XML2_CONFIG+set}" = set; then
8016
echo $ECHO_N "(cached) $ECHO_C" >&6
8018
if test -n "$XML2_CONFIG"; then
8019
ac_cv_prog_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test.
8021
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025
test -z "$as_dir" && as_dir=.
8026
for ac_exec_ext in '' $ac_executable_extensions; do
8027
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028
ac_cv_prog_XML2_CONFIG="xml2-config"
8029
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8037
XML2_CONFIG=$ac_cv_prog_XML2_CONFIG
8038
if test -n "$XML2_CONFIG"; then
8039
echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
8040
echo "${ECHO_T}$XML2_CONFIG" >&6
8042
echo "$as_me:$LINENO: result: no" >&5
8043
echo "${ECHO_T}no" >&6
8046
if test "x$XML2_CONFIG" != x ; then
8047
echo "$as_me:$LINENO: checking for libxml >= 2.3.9" >&5
8048
echo $ECHO_N "checking for libxml >= 2.3.9... $ECHO_C" >&6
8049
vers=`$XML2_CONFIG --version | sed -e "s/libxml //" | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8051
if test "$vers" -ge 2003009; then
8052
echo "$as_me:$LINENO: result: yes" >&5
8053
echo "${ECHO_T}yes" >&6
8055
XML_LIBS="`$XML2_CONFIG --libs`"
8056
XML_CFLAGS="`$XML2_CONFIG --cflags`"
8058
echo "$as_me:$LINENO: result: no" >&5
8059
echo "${ECHO_T}no" >&6
8067
# Extract the first word of "xml-config", so it can be a program name with args.
8068
set dummy xml-config; ac_word=$2
8069
echo "$as_me:$LINENO: checking for $ac_word" >&5
8070
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8071
if test "${ac_cv_prog_XML_CONFIG+set}" = set; then
8072
echo $ECHO_N "(cached) $ECHO_C" >&6
8074
if test -n "$XML_CONFIG"; then
8075
ac_cv_prog_XML_CONFIG="$XML_CONFIG" # Let the user override the test.
8077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081
test -z "$as_dir" && as_dir=.
8082
for ac_exec_ext in '' $ac_executable_extensions; do
8083
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084
ac_cv_prog_XML_CONFIG="xml-config"
8085
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8093
XML_CONFIG=$ac_cv_prog_XML_CONFIG
8094
if test -n "$XML_CONFIG"; then
8095
echo "$as_me:$LINENO: result: $XML_CONFIG" >&5
8096
echo "${ECHO_T}$XML_CONFIG" >&6
8098
echo "$as_me:$LINENO: result: no" >&5
8099
echo "${ECHO_T}no" >&6
8102
if test "x$XML_CONFIG" != x ; then
8103
echo "$as_me:$LINENO: checking for libxml >= 1.8.14" >&5
8104
echo $ECHO_N "checking for libxml >= 1.8.14... $ECHO_C" >&6
8105
vers=`$XML_CONFIG --version | sed -e "s/libxml //" | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8107
if test "$vers" -ge 1008014; then
8108
echo "$as_me:$LINENO: result: yes" >&5
8109
echo "${ECHO_T}yes" >&6
8111
XML_LIBS="`$XML_CONFIG --libs`"
8112
XML_CFLAGS="`$XML_CONFIG --cflags`"
8114
echo "$as_me:$LINENO: result: no" >&5
8115
echo "${ECHO_T}no" >&6
8120
if ! $found_libxml; then
8121
{ { echo "$as_me:$LINENO: error: ** libxml not found. Get libxml(2) at http://www.libxml.org **" >&5
8122
echo "$as_me: error: ** libxml not found. Get libxml(2) at http://www.libxml.org **" >&2;}
8123
{ (exit 1); exit 1; }; }
8129
if test "$prefix" != "NONE"; then
8130
xml_man="\\\"$datadir/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
8132
xml_man="\\\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
8135
if test "$with_docdir" != ""; then
8136
xml_man="\\\"$with_docdir/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
8139
if test "$enable_lrdf" != "no"; then
8140
echo "$as_me:$LINENO: checking for liblrdf >= 0.2.4" >&5
8141
echo $ECHO_N "checking for liblrdf >= 0.2.4... $ECHO_C" >&6
8142
LRDF_VERS=`$PKG_CONFIG --modversion lrdf | sed -e "s/libxml //" | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8143
if test "$LRDF_VERS" -ge 2004; then
8144
echo "$as_me:$LINENO: result: yes" >&5
8145
echo "${ECHO_T}yes" >&6
8148
lrdf_cflags=`$PKG_CONFIG --cflags lrdf`
8149
if test "$lrdf_cflags" != ""; then
8150
CFLAGS="$CFLAGS $lrdf_cflags"
8152
lrdf_libs=`$PKG_CONFIG --libs lrdf`
8153
LIBS="$LIBS $lrdf_libs"
8155
cat >>confdefs.h <<_ACEOF
8159
OPTION_AUDIOFILE="yes"
8161
echo "$as_me:$LINENO: result: no" >&5
8162
echo "${ECHO_T}no" >&6
8167
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
8168
set dummy scrollkeeper-config; ac_word=$2
8169
echo "$as_me:$LINENO: checking for $ac_word" >&5
8170
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8171
if test "${ac_cv_path_SK_CONFIG+set}" = set; then
8172
echo $ECHO_N "(cached) $ECHO_C" >&6
8176
ac_cv_path_SK_CONFIG="$SK_CONFIG" # Let the user override the test with a path.
8179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183
test -z "$as_dir" && as_dir=.
8184
for ac_exec_ext in '' $ac_executable_extensions; do
8185
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8186
ac_cv_path_SK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8187
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8193
test -z "$ac_cv_path_SK_CONFIG" && ac_cv_path_SK_CONFIG="no"
8197
SK_CONFIG=$ac_cv_path_SK_CONFIG
8199
if test -n "$SK_CONFIG"; then
8200
echo "$as_me:$LINENO: result: $SK_CONFIG" >&5
8201
echo "${ECHO_T}$SK_CONFIG" >&6
8203
echo "$as_me:$LINENO: result: no" >&5
8204
echo "${ECHO_T}no" >&6
8207
if test x$SK_CONFIG = xno; then
8208
{ { echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&5
8209
echo "$as_me: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&2;}
8210
{ (exit 1); exit 1; }; }
8213
echo "$as_me:$LINENO: checking for X" >&5
8214
echo $ECHO_N "checking for X... $ECHO_C" >&6
8217
# Check whether --with-x or --without-x was given.
8218
if test "${with_x+set}" = set; then
8222
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8223
if test "x$with_x" = xno; then
8224
# The user explicitly disabled X.
8227
if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
8228
# Both variables are already set.
8231
if test "${ac_cv_have_x+set}" = set; then
8232
echo $ECHO_N "(cached) $ECHO_C" >&6
8234
# One or both of the vars are not set, and there is no cached value.
8235
ac_x_includes=no ac_x_libraries=no
8237
if mkdir conftest.dir; then
8239
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
8240
cat >Imakefile <<'_ACEOF'
8242
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8244
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
8245
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8246
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8247
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8248
for ac_extension in a so sl; do
8249
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
8250
test -f $ac_im_libdir/libX11.$ac_extension; then
8251
ac_im_usrlibdir=$ac_im_libdir; break
8254
# Screen out bogus values from the imake configuration. They are
8255
# bogus both because they are the default anyway, and because
8256
# using them would break gcc on systems where it needs fixed includes.
8257
case $ac_im_incroot in
8259
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8261
case $ac_im_usrlibdir in
8263
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8270
# Standard set of common directories for X headers.
8271
# Check X11 before X11Rn because it is often a symlink to the current release.
8283
/usr/local/X11/include
8284
/usr/local/X11R6/include
8285
/usr/local/X11R5/include
8286
/usr/local/X11R4/include
8288
/usr/local/include/X11
8289
/usr/local/include/X11R6
8290
/usr/local/include/X11R5
8291
/usr/local/include/X11R4
8295
/usr/XFree86/include/X11
8299
/usr/unsupported/include
8301
/usr/local/x11r5/include
8302
/usr/lpp/Xamples/include
8304
/usr/openwin/include
8305
/usr/openwin/share/include'
8307
if test "$ac_x_includes" = no; then
8308
# Guess where to find include files, by looking for Intrinsic.h.
8309
# First, try using that file with no special directory specified.
8310
cat >conftest.$ac_ext <<_ACEOF
8311
#line $LINENO "configure"
8314
cat confdefs.h >>conftest.$ac_ext
8315
cat >>conftest.$ac_ext <<_ACEOF
8316
/* end confdefs.h. */
8317
#include <X11/Intrinsic.h>
8319
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8320
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8322
grep -v '^ *+' conftest.er1 >conftest.err
8324
cat conftest.err >&5
8325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326
(exit $ac_status); } >/dev/null; then
8327
if test -s conftest.err; then
8328
ac_cpp_err=$ac_c_preproc_warn_flag
8335
if test -z "$ac_cpp_err"; then
8336
# We can compile using X headers with no special include directory.
8339
echo "$as_me: failed program was:" >&5
8340
sed 's/^/| /' conftest.$ac_ext >&5
8342
for ac_dir in $ac_x_header_dirs; do
8343
if test -r "$ac_dir/X11/Intrinsic.h"; then
8344
ac_x_includes=$ac_dir
8349
rm -f conftest.err conftest.$ac_ext
8350
fi # $ac_x_includes = no
8352
if test "$ac_x_libraries" = no; then
8353
# Check for the libraries.
8354
# See if we find them without any special options.
8355
# Don't add to $LIBS permanently.
8358
cat >conftest.$ac_ext <<_ACEOF
8359
#line $LINENO "configure"
8362
cat confdefs.h >>conftest.$ac_ext
8363
cat >>conftest.$ac_ext <<_ACEOF
8364
/* end confdefs.h. */
8365
#include <X11/Intrinsic.h>
8374
rm -f conftest.$ac_objext conftest$ac_exeext
8375
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8376
(eval $ac_link) 2>&5
8378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379
(exit $ac_status); } &&
8380
{ ac_try='test -s conftest$ac_exeext'
8381
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385
(exit $ac_status); }; }; then
8387
# We can link X programs with no special library path.
8390
echo "$as_me: failed program was:" >&5
8391
sed 's/^/| /' conftest.$ac_ext >&5
8394
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8396
# Don't even attempt the hair of trying to link an X program!
8397
for ac_extension in a so sl; do
8398
if test -r $ac_dir/libXt.$ac_extension; then
8399
ac_x_libraries=$ac_dir
8405
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8406
fi # $ac_x_libraries = no
8408
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
8409
# Didn't find X anywhere. Cache the known absence of X.
8410
ac_cv_have_x="have_x=no"
8412
# Record where we found X for the cache.
8413
ac_cv_have_x="have_x=yes \
8414
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8419
eval "$ac_cv_have_x"
8422
if test "$have_x" != yes; then
8423
echo "$as_me:$LINENO: result: $have_x" >&5
8424
echo "${ECHO_T}$have_x" >&6
8427
# If each of the values was on the command line, it overrides each guess.
8428
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8429
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8430
# Update the cache value to reflect the command line values.
8431
ac_cv_have_x="have_x=yes \
8432
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8433
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8434
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8437
if test "$no_x" = yes; then
8438
# Not all programs may use this symbol, but it does not hurt to define it.
8440
cat >>confdefs.h <<\_ACEOF
8441
#define X_DISPLAY_MISSING 1
8444
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8446
if test -n "$x_includes"; then
8447
X_CFLAGS="$X_CFLAGS -I$x_includes"
8450
# It would also be nice to do this for all -L options, not just this one.
8451
if test -n "$x_libraries"; then
8452
X_LIBS="$X_LIBS -L$x_libraries"
8453
# For Solaris; some versions of Sun CC require a space after -R and
8454
# others require no space. Words are not sufficient . . . .
8455
case `(uname -sr) 2>/dev/null` in
8457
echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
8458
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
8459
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8460
cat >conftest.$ac_ext <<_ACEOF
8461
#line $LINENO "configure"
8464
cat confdefs.h >>conftest.$ac_ext
8465
cat >>conftest.$ac_ext <<_ACEOF
8466
/* end confdefs.h. */
8476
rm -f conftest.$ac_objext conftest$ac_exeext
8477
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478
(eval $ac_link) 2>&5
8480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481
(exit $ac_status); } &&
8482
{ ac_try='test -s conftest$ac_exeext'
8483
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487
(exit $ac_status); }; }; then
8490
echo "$as_me: failed program was:" >&5
8491
sed 's/^/| /' conftest.$ac_ext >&5
8495
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8496
if test $ac_R_nospace = yes; then
8497
echo "$as_me:$LINENO: result: no" >&5
8498
echo "${ECHO_T}no" >&6
8499
X_LIBS="$X_LIBS -R$x_libraries"
8501
LIBS="$ac_xsave_LIBS -R $x_libraries"
8502
cat >conftest.$ac_ext <<_ACEOF
8503
#line $LINENO "configure"
8506
cat confdefs.h >>conftest.$ac_ext
8507
cat >>conftest.$ac_ext <<_ACEOF
8508
/* end confdefs.h. */
8518
rm -f conftest.$ac_objext conftest$ac_exeext
8519
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8520
(eval $ac_link) 2>&5
8522
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523
(exit $ac_status); } &&
8524
{ ac_try='test -s conftest$ac_exeext'
8525
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529
(exit $ac_status); }; }; then
8532
echo "$as_me: failed program was:" >&5
8533
sed 's/^/| /' conftest.$ac_ext >&5
8537
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8538
if test $ac_R_space = yes; then
8539
echo "$as_me:$LINENO: result: yes" >&5
8540
echo "${ECHO_T}yes" >&6
8541
X_LIBS="$X_LIBS -R $x_libraries"
8543
echo "$as_me:$LINENO: result: neither works" >&5
8544
echo "${ECHO_T}neither works" >&6
8551
# Check for system-dependent libraries X programs must link with.
8552
# Do this before checking for the system-independent R6 libraries
8553
# (-lICE), since we may need -lsocket or whatever for X linking.
8555
if test "$ISC" = yes; then
8556
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8558
# Martyn Johnson says this is needed for Ultrix, if the X
8559
# libraries were built with DECnet support. And Karl Berry says
8560
# the Alpha needs dnet_stub (dnet does not exist).
8561
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8562
cat >conftest.$ac_ext <<_ACEOF
8563
#line $LINENO "configure"
8566
cat confdefs.h >>conftest.$ac_ext
8567
cat >>conftest.$ac_ext <<_ACEOF
8568
/* end confdefs.h. */
8570
/* Override any gcc2 internal prototype to avoid an error. */
8574
/* We use char because int might match the return type of a gcc2
8575
builtin and then its argument prototype would still apply. */
8576
char XOpenDisplay ();
8585
rm -f conftest.$ac_objext conftest$ac_exeext
8586
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8587
(eval $ac_link) 2>&5
8589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590
(exit $ac_status); } &&
8591
{ ac_try='test -s conftest$ac_exeext'
8592
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596
(exit $ac_status); }; }; then
8599
echo "$as_me: failed program was:" >&5
8600
sed 's/^/| /' conftest.$ac_ext >&5
8602
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8603
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8604
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8605
echo $ECHO_N "(cached) $ECHO_C" >&6
8607
ac_check_lib_save_LIBS=$LIBS
8609
cat >conftest.$ac_ext <<_ACEOF
8610
#line $LINENO "configure"
8613
cat confdefs.h >>conftest.$ac_ext
8614
cat >>conftest.$ac_ext <<_ACEOF
8615
/* end confdefs.h. */
8617
/* Override any gcc2 internal prototype to avoid an error. */
8621
/* We use char because int might match the return type of a gcc2
8622
builtin and then its argument prototype would still apply. */
8632
rm -f conftest.$ac_objext conftest$ac_exeext
8633
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8634
(eval $ac_link) 2>&5
8636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637
(exit $ac_status); } &&
8638
{ ac_try='test -s conftest$ac_exeext'
8639
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8642
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643
(exit $ac_status); }; }; then
8644
ac_cv_lib_dnet_dnet_ntoa=yes
8646
echo "$as_me: failed program was:" >&5
8647
sed 's/^/| /' conftest.$ac_ext >&5
8649
ac_cv_lib_dnet_dnet_ntoa=no
8651
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8652
LIBS=$ac_check_lib_save_LIBS
8654
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8655
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8656
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8657
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8660
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8661
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8662
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8663
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8664
echo $ECHO_N "(cached) $ECHO_C" >&6
8666
ac_check_lib_save_LIBS=$LIBS
8667
LIBS="-ldnet_stub $LIBS"
8668
cat >conftest.$ac_ext <<_ACEOF
8669
#line $LINENO "configure"
8672
cat confdefs.h >>conftest.$ac_ext
8673
cat >>conftest.$ac_ext <<_ACEOF
8674
/* end confdefs.h. */
8676
/* Override any gcc2 internal prototype to avoid an error. */
8680
/* We use char because int might match the return type of a gcc2
8681
builtin and then its argument prototype would still apply. */
8691
rm -f conftest.$ac_objext conftest$ac_exeext
8692
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8693
(eval $ac_link) 2>&5
8695
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696
(exit $ac_status); } &&
8697
{ ac_try='test -s conftest$ac_exeext'
8698
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702
(exit $ac_status); }; }; then
8703
ac_cv_lib_dnet_stub_dnet_ntoa=yes
8705
echo "$as_me: failed program was:" >&5
8706
sed 's/^/| /' conftest.$ac_ext >&5
8708
ac_cv_lib_dnet_stub_dnet_ntoa=no
8710
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8711
LIBS=$ac_check_lib_save_LIBS
8713
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8714
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8715
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8716
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8721
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8722
LIBS="$ac_xsave_LIBS"
8724
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8725
# to get the SysV transport functions.
8726
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8728
# The nsl library prevents programs from opening the X display
8729
# on Irix 5.2, according to T.E. Dickey.
8730
# The functions gethostbyname, getservbyname, and inet_addr are
8731
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8732
echo "$as_me:$LINENO: checking for gethostbyname" >&5
8733
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8734
if test "${ac_cv_func_gethostbyname+set}" = set; then
8735
echo $ECHO_N "(cached) $ECHO_C" >&6
8737
cat >conftest.$ac_ext <<_ACEOF
8738
#line $LINENO "configure"
8741
cat confdefs.h >>conftest.$ac_ext
8742
cat >>conftest.$ac_ext <<_ACEOF
8743
/* end confdefs.h. */
8744
/* System header to define __stub macros and hopefully few prototypes,
8745
which can conflict with char gethostbyname (); below.
8746
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8747
<limits.h> exists even on freestanding compilers. */
8749
# include <limits.h>
8751
# include <assert.h>
8753
/* Override any gcc2 internal prototype to avoid an error. */
8758
/* We use char because int might match the return type of a gcc2
8759
builtin and then its argument prototype would still apply. */
8760
char gethostbyname ();
8761
/* The GNU C library defines this for functions which it implements
8762
to always fail with ENOSYS. Some functions are actually named
8763
something starting with __ and the normal name is an alias. */
8764
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8767
char (*f) () = gethostbyname;
8776
return f != gethostbyname;
8781
rm -f conftest.$ac_objext conftest$ac_exeext
8782
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8783
(eval $ac_link) 2>&5
8785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786
(exit $ac_status); } &&
8787
{ ac_try='test -s conftest$ac_exeext'
8788
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792
(exit $ac_status); }; }; then
8793
ac_cv_func_gethostbyname=yes
8795
echo "$as_me: failed program was:" >&5
8796
sed 's/^/| /' conftest.$ac_ext >&5
8798
ac_cv_func_gethostbyname=no
8800
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8802
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8803
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8805
if test $ac_cv_func_gethostbyname = no; then
8806
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8807
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8808
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8809
echo $ECHO_N "(cached) $ECHO_C" >&6
8811
ac_check_lib_save_LIBS=$LIBS
8813
cat >conftest.$ac_ext <<_ACEOF
8814
#line $LINENO "configure"
8817
cat confdefs.h >>conftest.$ac_ext
8818
cat >>conftest.$ac_ext <<_ACEOF
8819
/* end confdefs.h. */
8821
/* Override any gcc2 internal prototype to avoid an error. */
8825
/* We use char because int might match the return type of a gcc2
8826
builtin and then its argument prototype would still apply. */
8827
char gethostbyname ();
8836
rm -f conftest.$ac_objext conftest$ac_exeext
8837
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8838
(eval $ac_link) 2>&5
8840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841
(exit $ac_status); } &&
8842
{ ac_try='test -s conftest$ac_exeext'
8843
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847
(exit $ac_status); }; }; then
8848
ac_cv_lib_nsl_gethostbyname=yes
8850
echo "$as_me: failed program was:" >&5
8851
sed 's/^/| /' conftest.$ac_ext >&5
8853
ac_cv_lib_nsl_gethostbyname=no
8855
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8856
LIBS=$ac_check_lib_save_LIBS
8858
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8859
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8860
if test $ac_cv_lib_nsl_gethostbyname = yes; then
8861
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8864
if test $ac_cv_lib_nsl_gethostbyname = no; then
8865
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8866
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8867
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8868
echo $ECHO_N "(cached) $ECHO_C" >&6
8870
ac_check_lib_save_LIBS=$LIBS
8872
cat >conftest.$ac_ext <<_ACEOF
8873
#line $LINENO "configure"
8876
cat confdefs.h >>conftest.$ac_ext
8877
cat >>conftest.$ac_ext <<_ACEOF
8878
/* end confdefs.h. */
8880
/* Override any gcc2 internal prototype to avoid an error. */
8884
/* We use char because int might match the return type of a gcc2
8885
builtin and then its argument prototype would still apply. */
8886
char gethostbyname ();
8895
rm -f conftest.$ac_objext conftest$ac_exeext
8896
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8897
(eval $ac_link) 2>&5
8899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900
(exit $ac_status); } &&
8901
{ ac_try='test -s conftest$ac_exeext'
8902
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906
(exit $ac_status); }; }; then
8907
ac_cv_lib_bsd_gethostbyname=yes
8909
echo "$as_me: failed program was:" >&5
8910
sed 's/^/| /' conftest.$ac_ext >&5
8912
ac_cv_lib_bsd_gethostbyname=no
8914
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8915
LIBS=$ac_check_lib_save_LIBS
8917
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8918
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8919
if test $ac_cv_lib_bsd_gethostbyname = yes; then
8920
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8926
# lieder@skyler.mavd.honeywell.com says without -lsocket,
8927
# socket/setsockopt and other routines are undefined under SCO ODT
8928
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8929
# on later versions), says Simon Leinen: it contains gethostby*
8930
# variants that don't use the name server (or something). -lsocket
8931
# must be given before -lnsl if both are needed. We assume that
8932
# if connect needs -lnsl, so does gethostbyname.
8933
echo "$as_me:$LINENO: checking for connect" >&5
8934
echo $ECHO_N "checking for connect... $ECHO_C" >&6
8935
if test "${ac_cv_func_connect+set}" = set; then
8936
echo $ECHO_N "(cached) $ECHO_C" >&6
8938
cat >conftest.$ac_ext <<_ACEOF
8939
#line $LINENO "configure"
8942
cat confdefs.h >>conftest.$ac_ext
8943
cat >>conftest.$ac_ext <<_ACEOF
8944
/* end confdefs.h. */
8945
/* System header to define __stub macros and hopefully few prototypes,
8946
which can conflict with char connect (); below.
8947
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8948
<limits.h> exists even on freestanding compilers. */
8950
# include <limits.h>
8952
# include <assert.h>
8954
/* Override any gcc2 internal prototype to avoid an error. */
8959
/* We use char because int might match the return type of a gcc2
8960
builtin and then its argument prototype would still apply. */
8962
/* The GNU C library defines this for functions which it implements
8963
to always fail with ENOSYS. Some functions are actually named
8964
something starting with __ and the normal name is an alias. */
8965
#if defined (__stub_connect) || defined (__stub___connect)
8968
char (*f) () = connect;
8977
return f != connect;
8982
rm -f conftest.$ac_objext conftest$ac_exeext
8983
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8984
(eval $ac_link) 2>&5
8986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987
(exit $ac_status); } &&
8988
{ ac_try='test -s conftest$ac_exeext'
8989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993
(exit $ac_status); }; }; then
8994
ac_cv_func_connect=yes
8996
echo "$as_me: failed program was:" >&5
8997
sed 's/^/| /' conftest.$ac_ext >&5
8999
ac_cv_func_connect=no
9001
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9003
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
9004
echo "${ECHO_T}$ac_cv_func_connect" >&6
9006
if test $ac_cv_func_connect = no; then
9007
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
9008
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
9009
if test "${ac_cv_lib_socket_connect+set}" = set; then
9010
echo $ECHO_N "(cached) $ECHO_C" >&6
9012
ac_check_lib_save_LIBS=$LIBS
9013
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9014
cat >conftest.$ac_ext <<_ACEOF
9015
#line $LINENO "configure"
9018
cat confdefs.h >>conftest.$ac_ext
9019
cat >>conftest.$ac_ext <<_ACEOF
9020
/* end confdefs.h. */
9022
/* Override any gcc2 internal prototype to avoid an error. */
9026
/* We use char because int might match the return type of a gcc2
9027
builtin and then its argument prototype would still apply. */
9037
rm -f conftest.$ac_objext conftest$ac_exeext
9038
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9039
(eval $ac_link) 2>&5
9041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042
(exit $ac_status); } &&
9043
{ ac_try='test -s conftest$ac_exeext'
9044
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048
(exit $ac_status); }; }; then
9049
ac_cv_lib_socket_connect=yes
9051
echo "$as_me: failed program was:" >&5
9052
sed 's/^/| /' conftest.$ac_ext >&5
9054
ac_cv_lib_socket_connect=no
9056
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9057
LIBS=$ac_check_lib_save_LIBS
9059
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
9060
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
9061
if test $ac_cv_lib_socket_connect = yes; then
9062
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9067
# Guillermo Gomez says -lposix is necessary on A/UX.
9068
echo "$as_me:$LINENO: checking for remove" >&5
9069
echo $ECHO_N "checking for remove... $ECHO_C" >&6
9070
if test "${ac_cv_func_remove+set}" = set; then
9071
echo $ECHO_N "(cached) $ECHO_C" >&6
9073
cat >conftest.$ac_ext <<_ACEOF
9074
#line $LINENO "configure"
9077
cat confdefs.h >>conftest.$ac_ext
9078
cat >>conftest.$ac_ext <<_ACEOF
9079
/* end confdefs.h. */
9080
/* System header to define __stub macros and hopefully few prototypes,
9081
which can conflict with char remove (); below.
9082
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9083
<limits.h> exists even on freestanding compilers. */
9085
# include <limits.h>
9087
# include <assert.h>
9089
/* Override any gcc2 internal prototype to avoid an error. */
9094
/* We use char because int might match the return type of a gcc2
9095
builtin and then its argument prototype would still apply. */
9097
/* The GNU C library defines this for functions which it implements
9098
to always fail with ENOSYS. Some functions are actually named
9099
something starting with __ and the normal name is an alias. */
9100
#if defined (__stub_remove) || defined (__stub___remove)
9103
char (*f) () = remove;
9117
rm -f conftest.$ac_objext conftest$ac_exeext
9118
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119
(eval $ac_link) 2>&5
9121
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122
(exit $ac_status); } &&
9123
{ ac_try='test -s conftest$ac_exeext'
9124
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128
(exit $ac_status); }; }; then
9129
ac_cv_func_remove=yes
9131
echo "$as_me: failed program was:" >&5
9132
sed 's/^/| /' conftest.$ac_ext >&5
9134
ac_cv_func_remove=no
9136
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9138
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
9139
echo "${ECHO_T}$ac_cv_func_remove" >&6
9141
if test $ac_cv_func_remove = no; then
9142
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
9143
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
9144
if test "${ac_cv_lib_posix_remove+set}" = set; then
9145
echo $ECHO_N "(cached) $ECHO_C" >&6
9147
ac_check_lib_save_LIBS=$LIBS
9148
LIBS="-lposix $LIBS"
9149
cat >conftest.$ac_ext <<_ACEOF
9150
#line $LINENO "configure"
9153
cat confdefs.h >>conftest.$ac_ext
9154
cat >>conftest.$ac_ext <<_ACEOF
9155
/* end confdefs.h. */
9157
/* Override any gcc2 internal prototype to avoid an error. */
9161
/* We use char because int might match the return type of a gcc2
9162
builtin and then its argument prototype would still apply. */
9172
rm -f conftest.$ac_objext conftest$ac_exeext
9173
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9174
(eval $ac_link) 2>&5
9176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177
(exit $ac_status); } &&
9178
{ ac_try='test -s conftest$ac_exeext'
9179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183
(exit $ac_status); }; }; then
9184
ac_cv_lib_posix_remove=yes
9186
echo "$as_me: failed program was:" >&5
9187
sed 's/^/| /' conftest.$ac_ext >&5
9189
ac_cv_lib_posix_remove=no
9191
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9192
LIBS=$ac_check_lib_save_LIBS
9194
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
9195
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
9196
if test $ac_cv_lib_posix_remove = yes; then
9197
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9202
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9203
echo "$as_me:$LINENO: checking for shmat" >&5
9204
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
9205
if test "${ac_cv_func_shmat+set}" = set; then
9206
echo $ECHO_N "(cached) $ECHO_C" >&6
9208
cat >conftest.$ac_ext <<_ACEOF
9209
#line $LINENO "configure"
9212
cat confdefs.h >>conftest.$ac_ext
9213
cat >>conftest.$ac_ext <<_ACEOF
9214
/* end confdefs.h. */
9215
/* System header to define __stub macros and hopefully few prototypes,
9216
which can conflict with char shmat (); below.
9217
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9218
<limits.h> exists even on freestanding compilers. */
9220
# include <limits.h>
9222
# include <assert.h>
9224
/* Override any gcc2 internal prototype to avoid an error. */
9229
/* We use char because int might match the return type of a gcc2
9230
builtin and then its argument prototype would still apply. */
9232
/* The GNU C library defines this for functions which it implements
9233
to always fail with ENOSYS. Some functions are actually named
9234
something starting with __ and the normal name is an alias. */
9235
#if defined (__stub_shmat) || defined (__stub___shmat)
9238
char (*f) () = shmat;
9252
rm -f conftest.$ac_objext conftest$ac_exeext
9253
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9254
(eval $ac_link) 2>&5
9256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257
(exit $ac_status); } &&
9258
{ ac_try='test -s conftest$ac_exeext'
9259
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263
(exit $ac_status); }; }; then
9264
ac_cv_func_shmat=yes
9266
echo "$as_me: failed program was:" >&5
9267
sed 's/^/| /' conftest.$ac_ext >&5
9271
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9273
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9274
echo "${ECHO_T}$ac_cv_func_shmat" >&6
9276
if test $ac_cv_func_shmat = no; then
9277
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9278
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
9279
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9280
echo $ECHO_N "(cached) $ECHO_C" >&6
9282
ac_check_lib_save_LIBS=$LIBS
9284
cat >conftest.$ac_ext <<_ACEOF
9285
#line $LINENO "configure"
9288
cat confdefs.h >>conftest.$ac_ext
9289
cat >>conftest.$ac_ext <<_ACEOF
9290
/* end confdefs.h. */
9292
/* Override any gcc2 internal prototype to avoid an error. */
9296
/* We use char because int might match the return type of a gcc2
9297
builtin and then its argument prototype would still apply. */
9307
rm -f conftest.$ac_objext conftest$ac_exeext
9308
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9309
(eval $ac_link) 2>&5
9311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312
(exit $ac_status); } &&
9313
{ ac_try='test -s conftest$ac_exeext'
9314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318
(exit $ac_status); }; }; then
9319
ac_cv_lib_ipc_shmat=yes
9321
echo "$as_me: failed program was:" >&5
9322
sed 's/^/| /' conftest.$ac_ext >&5
9324
ac_cv_lib_ipc_shmat=no
9326
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9327
LIBS=$ac_check_lib_save_LIBS
9329
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9330
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
9331
if test $ac_cv_lib_ipc_shmat = yes; then
9332
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9338
# Check for libraries that X11R6 Xt/Xaw programs need.
9339
ac_save_LDFLAGS=$LDFLAGS
9340
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9341
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9342
# check for ICE first), but we must link in the order -lSM -lICE or
9343
# we get undefined symbols. So assume we have SM if we have ICE.
9344
# These have to be linked with before -lX11, unlike the other
9345
# libraries we check for below, so use a different variable.
9346
# John Interrante, Karl Berry
9347
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9348
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
9349
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9350
echo $ECHO_N "(cached) $ECHO_C" >&6
9352
ac_check_lib_save_LIBS=$LIBS
9353
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9354
cat >conftest.$ac_ext <<_ACEOF
9355
#line $LINENO "configure"
9358
cat confdefs.h >>conftest.$ac_ext
9359
cat >>conftest.$ac_ext <<_ACEOF
9360
/* end confdefs.h. */
9362
/* Override any gcc2 internal prototype to avoid an error. */
9366
/* We use char because int might match the return type of a gcc2
9367
builtin and then its argument prototype would still apply. */
9368
char IceConnectionNumber ();
9372
IceConnectionNumber ();
9377
rm -f conftest.$ac_objext conftest$ac_exeext
9378
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9379
(eval $ac_link) 2>&5
9381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382
(exit $ac_status); } &&
9383
{ ac_try='test -s conftest$ac_exeext'
9384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388
(exit $ac_status); }; }; then
9389
ac_cv_lib_ICE_IceConnectionNumber=yes
9391
echo "$as_me: failed program was:" >&5
9392
sed 's/^/| /' conftest.$ac_ext >&5
9394
ac_cv_lib_ICE_IceConnectionNumber=no
9396
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9397
LIBS=$ac_check_lib_save_LIBS
9399
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9400
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
9401
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9402
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9405
LDFLAGS=$ac_save_LDFLAGS
9416
GTK_LIBS="$GTK_LIBS $X_LIBS"
9418
echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
9419
echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
9420
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
9421
echo $ECHO_N "(cached) $ECHO_C" >&6
9423
ac_check_lib_save_LIBS=$LIBS
9424
LIBS="-lX11 $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9425
cat >conftest.$ac_ext <<_ACEOF
9426
#line $LINENO "configure"
9429
cat confdefs.h >>conftest.$ac_ext
9430
cat >>conftest.$ac_ext <<_ACEOF
9431
/* end confdefs.h. */
9433
/* Override any gcc2 internal prototype to avoid an error. */
9437
/* We use char because int might match the return type of a gcc2
9438
builtin and then its argument prototype would still apply. */
9439
char XOpenDisplay ();
9448
rm -f conftest.$ac_objext conftest$ac_exeext
9449
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9450
(eval $ac_link) 2>&5
9452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453
(exit $ac_status); } &&
9454
{ ac_try='test -s conftest$ac_exeext'
9455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459
(exit $ac_status); }; }; then
9460
ac_cv_lib_X11_XOpenDisplay=yes
9462
echo "$as_me: failed program was:" >&5
9463
sed 's/^/| /' conftest.$ac_ext >&5
9465
ac_cv_lib_X11_XOpenDisplay=no
9467
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9468
LIBS=$ac_check_lib_save_LIBS
9470
echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
9471
echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
9472
if test $ac_cv_lib_X11_XOpenDisplay = yes; then
9473
cat >>confdefs.h <<_ACEOF
9474
#define HAVE_LIBX11 1
9480
{ { echo "$as_me:$LINENO: error: ** X11-libs not installed or broken **" >&5
9481
echo "$as_me: error: ** X11-libs not installed or broken **" >&2;}
9482
{ (exit 1); exit 1; }; }
9486
echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9487
echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
9488
if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9489
echo $ECHO_N "(cached) $ECHO_C" >&6
9491
ac_check_lib_save_LIBS=$LIBS
9492
LIBS="-lXext $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9493
cat >conftest.$ac_ext <<_ACEOF
9494
#line $LINENO "configure"
9497
cat confdefs.h >>conftest.$ac_ext
9498
cat >>conftest.$ac_ext <<_ACEOF
9499
/* end confdefs.h. */
9501
/* Override any gcc2 internal prototype to avoid an error. */
9505
/* We use char because int might match the return type of a gcc2
9506
builtin and then its argument prototype would still apply. */
9507
char XShmQueryExtension ();
9511
XShmQueryExtension ();
9516
rm -f conftest.$ac_objext conftest$ac_exeext
9517
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9518
(eval $ac_link) 2>&5
9520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521
(exit $ac_status); } &&
9522
{ ac_try='test -s conftest$ac_exeext'
9523
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527
(exit $ac_status); }; }; then
9528
ac_cv_lib_Xext_XShmQueryExtension=yes
9530
echo "$as_me: failed program was:" >&5
9531
sed 's/^/| /' conftest.$ac_ext >&5
9533
ac_cv_lib_Xext_XShmQueryExtension=no
9535
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9536
LIBS=$ac_check_lib_save_LIBS
9538
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9539
echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
9540
if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9541
cat >>confdefs.h <<_ACEOF
9542
#define HAVE_LIBXEXT 1
9548
{ { echo "$as_me:$LINENO: error: ** Xext-libs not installed or broken **" >&5
9549
echo "$as_me: error: ** Xext-libs not installed or broken **" >&2;}
9550
{ (exit 1); exit 1; }; }
9554
echo "$as_me:$LINENO: checking for XOpenDevice in -lXi" >&5
9555
echo $ECHO_N "checking for XOpenDevice in -lXi... $ECHO_C" >&6
9556
if test "${ac_cv_lib_Xi_XOpenDevice+set}" = set; then
9557
echo $ECHO_N "(cached) $ECHO_C" >&6
9559
ac_check_lib_save_LIBS=$LIBS
9560
LIBS="-lXi $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9561
cat >conftest.$ac_ext <<_ACEOF
9562
#line $LINENO "configure"
9565
cat confdefs.h >>conftest.$ac_ext
9566
cat >>conftest.$ac_ext <<_ACEOF
9567
/* end confdefs.h. */
9569
/* Override any gcc2 internal prototype to avoid an error. */
9573
/* We use char because int might match the return type of a gcc2
9574
builtin and then its argument prototype would still apply. */
9575
char XOpenDevice ();
9584
rm -f conftest.$ac_objext conftest$ac_exeext
9585
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9586
(eval $ac_link) 2>&5
9588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589
(exit $ac_status); } &&
9590
{ ac_try='test -s conftest$ac_exeext'
9591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595
(exit $ac_status); }; }; then
9596
ac_cv_lib_Xi_XOpenDevice=yes
9598
echo "$as_me: failed program was:" >&5
9599
sed 's/^/| /' conftest.$ac_ext >&5
9601
ac_cv_lib_Xi_XOpenDevice=no
9603
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9604
LIBS=$ac_check_lib_save_LIBS
9606
echo "$as_me:$LINENO: result: $ac_cv_lib_Xi_XOpenDevice" >&5
9607
echo "${ECHO_T}$ac_cv_lib_Xi_XOpenDevice" >&6
9608
if test $ac_cv_lib_Xi_XOpenDevice = yes; then
9609
cat >>confdefs.h <<_ACEOF
9610
#define HAVE_LIBXI 1
9616
{ { echo "$as_me:$LINENO: error: ** XInput not installed or broken **" >&5
9617
echo "$as_me: error: ** XInput not installed or broken **" >&2;}
9618
{ (exit 1); exit 1; }; }
9622
echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
9623
echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
9624
if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
9625
echo $ECHO_N "(cached) $ECHO_C" >&6
9627
ac_check_lib_save_LIBS=$LIBS
9628
LIBS="-lXxf86dga $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9629
cat >conftest.$ac_ext <<_ACEOF
9630
#line $LINENO "configure"
9633
cat confdefs.h >>conftest.$ac_ext
9634
cat >>conftest.$ac_ext <<_ACEOF
9635
/* end confdefs.h. */
9637
/* Override any gcc2 internal prototype to avoid an error. */
9641
/* We use char because int might match the return type of a gcc2
9642
builtin and then its argument prototype would still apply. */
9643
char XF86DGAQueryExtension ();
9647
XF86DGAQueryExtension ();
9652
rm -f conftest.$ac_objext conftest$ac_exeext
9653
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654
(eval $ac_link) 2>&5
9656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657
(exit $ac_status); } &&
9658
{ ac_try='test -s conftest$ac_exeext'
9659
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663
(exit $ac_status); }; }; then
9664
ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
9666
echo "$as_me: failed program was:" >&5
9667
sed 's/^/| /' conftest.$ac_ext >&5
9669
ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
9671
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9672
LIBS=$ac_check_lib_save_LIBS
9674
echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
9675
echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
9676
if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
9677
cat >>confdefs.h <<_ACEOF
9678
#define HAVE_LIBXXF86DGA 1
9681
LIBS="-lXxf86dga $LIBS"
9684
{ { echo "$as_me:$LINENO: error: ** DGA not installed or broken **" >&5
9685
echo "$as_me: error: ** DGA not installed or broken **" >&2;}
9686
{ (exit 1); exit 1; }; }
9689
if test "$enable_dga2" = yes; then
9691
echo "$as_me:$LINENO: checking for XDGASelectInput in -lXxf86dga" >&5
9692
echo $ECHO_N "checking for XDGASelectInput in -lXxf86dga... $ECHO_C" >&6
9693
if test "${ac_cv_lib_Xxf86dga_XDGASelectInput+set}" = set; then
9694
echo $ECHO_N "(cached) $ECHO_C" >&6
9696
ac_check_lib_save_LIBS=$LIBS
9697
LIBS="-lXxf86dga $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9698
cat >conftest.$ac_ext <<_ACEOF
9699
#line $LINENO "configure"
9702
cat confdefs.h >>conftest.$ac_ext
9703
cat >>conftest.$ac_ext <<_ACEOF
9704
/* end confdefs.h. */
9706
/* Override any gcc2 internal prototype to avoid an error. */
9710
/* We use char because int might match the return type of a gcc2
9711
builtin and then its argument prototype would still apply. */
9712
char XDGASelectInput ();
9721
rm -f conftest.$ac_objext conftest$ac_exeext
9722
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9723
(eval $ac_link) 2>&5
9725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726
(exit $ac_status); } &&
9727
{ ac_try='test -s conftest$ac_exeext'
9728
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732
(exit $ac_status); }; }; then
9733
ac_cv_lib_Xxf86dga_XDGASelectInput=yes
9735
echo "$as_me: failed program was:" >&5
9736
sed 's/^/| /' conftest.$ac_ext >&5
9738
ac_cv_lib_Xxf86dga_XDGASelectInput=no
9740
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9741
LIBS=$ac_check_lib_save_LIBS
9743
echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGASelectInput" >&5
9744
echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGASelectInput" >&6
9745
if test $ac_cv_lib_Xxf86dga_XDGASelectInput = yes; then
9746
cat >>confdefs.h <<_ACEOF
9747
#define HAVE_LIBXXF86DGA 1
9750
LIBS="-lXxf86dga $LIBS"
9753
{ { echo "$as_me:$LINENO: error: ** DGA2 not installed. Try using dga1 instead. **" >&5
9754
echo "$as_me: error: ** DGA2 not installed. Try using dga1 instead. **" >&2;}
9755
{ (exit 1); exit 1; }; }
9760
CFLAGS="$XML_CFLAGS $CFLAGS -DXML_MANUAL=$xml_man"
9761
LIBS="$XML_LIBS $LIBS"
9763
ac_config_files="$ac_config_files Makefile src/Makefile gnome-support/Makefile gnome-support/terminatorX.keys src/gui_icons/Makefile src/smallknob/Makefile doc/Makefile doc/terminatorX-manual/Makefile doc/terminatorX-manual/C/Makefile terminatorX.spec terminatorX.1"
9764
cat >confcache <<\_ACEOF
9765
# This file is a shell script that caches the results of configure
9766
# tests run on this system so they can be shared between configure
9767
# scripts and configure runs, see configure's option --config-cache.
9768
# It is not useful on other systems. If it contains results you don't
9769
# want to keep, you may remove or edit it.
9771
# config.status only pays attention to the cache file if you give it
9772
# the --recheck option to rerun configure.
9774
# `ac_cv_env_foo' variables (set or unset) will be overridden when
9775
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9780
# The following way of writing the cache mishandles newlines in values,
9781
# but we know of no workaround that is simple, portable, and efficient.
9782
# So, don't put newlines in cache variables' values.
9783
# Ultrix sh set writes to stderr and can't be redirected directly,
9784
# and sets the high bit in the cache file unless we assign to the vars.
9787
case `(ac_space=' '; set | grep ac_space) 2>&1` in
9789
# `set' does not quote correctly, so add quotes (double-quote
9790
# substitution turns \\\\ into \\, and sed turns \\ into \).
9793
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9796
# `set' quotes correctly as required by POSIX, so do not add quotes.
9798
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9805
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9807
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9809
if diff $cache_file confcache >/dev/null 2>&1; then :; else
9810
if test -w $cache_file; then
9811
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9812
cat confcache >$cache_file
9814
echo "not updating unwritable cache $cache_file"
9819
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9820
# Let make expand exec_prefix.
9821
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9823
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9824
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9825
# trailing colons and then remove the whole line if VPATH becomes empty
9826
# (actually we leave an empty line to preserve line numbers).
9827
if test "x$srcdir" = x.; then
9828
ac_vpsub='/^[ ]*VPATH[ ]*=/{
9829
s/:*\$(srcdir):*/:/;
9830
s/:*\${srcdir}:*/:/;
9832
s/^\([^=]*=[ ]*\):*/\1/;
9838
DEFS=-DHAVE_CONFIG_H
9842
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9843
# 1. Remove the extension, and $U if already installed.
9844
ac_i=`echo "$ac_i" |
9845
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9847
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9848
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9852
LTLIBOBJS=$ac_ltlibobjs
9855
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9856
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9857
Usually this means the macro was only invoked conditionally." >&5
9858
echo "$as_me: error: conditional \"AMDEP\" was never defined.
9859
Usually this means the macro was only invoked conditionally." >&2;}
9860
{ (exit 1); exit 1; }; }
9862
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9863
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9864
Usually this means the macro was only invoked conditionally." >&5
9865
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9866
Usually this means the macro was only invoked conditionally." >&2;}
9867
{ (exit 1); exit 1; }; }
9869
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9870
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9871
Usually this means the macro was only invoked conditionally." >&5
9872
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
9873
Usually this means the macro was only invoked conditionally." >&2;}
9874
{ (exit 1); exit 1; }; }
9876
if test -z "${GNOMEpresent_TRUE}" && test -z "${GNOMEpresent_FALSE}"; then
9877
{ { echo "$as_me:$LINENO: error: conditional \"GNOMEpresent\" was never defined.
9878
Usually this means the macro was only invoked conditionally." >&5
9879
echo "$as_me: error: conditional \"GNOMEpresent\" was never defined.
9880
Usually this means the macro was only invoked conditionally." >&2;}
9881
{ (exit 1); exit 1; }; }
9884
: ${CONFIG_STATUS=./config.status}
9885
ac_clean_files_save=$ac_clean_files
9886
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9887
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9888
echo "$as_me: creating $CONFIG_STATUS" >&6;}
9889
cat >$CONFIG_STATUS <<_ACEOF
9891
# Generated by $as_me.
9892
# Run this file to recreate the current configuration.
9893
# Compiler output produced by configure, useful for debugging
9894
# configure, is in config.log if it exists.
9899
SHELL=\${CONFIG_SHELL-$SHELL}
9902
cat >>$CONFIG_STATUS <<\_ACEOF
9903
## --------------------- ##
9904
## M4sh Initialization. ##
9905
## --------------------- ##
9907
# Be Bourne compatible
9908
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9911
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9912
# is contrary to our usage. Disable this feature.
9913
alias -g '${1+"$@"}'='"$@"'
9914
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9918
# Support unset when possible.
9919
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9926
# Work around bugs in pre-3.0 UWIN ksh.
9927
$as_unset ENV MAIL MAILPATH
9934
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9935
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9936
LC_TELEPHONE LC_TIME
9938
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
9939
eval $as_var=C; export $as_var
9945
# Required to use basename.
9946
if expr a : '\(a\)' >/dev/null 2>&1; then
9952
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9953
as_basename=basename
9959
# Name of the executable.
9960
as_me=`$as_basename "$0" ||
9961
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9962
X"$0" : 'X\(//\)$' \| \
9963
X"$0" : 'X\(/\)$' \| \
9964
. : '\(.\)' 2>/dev/null ||
9966
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9967
/^X\/\(\/\/\)$/{ s//\1/; q; }
9968
/^X\/\(\/\).*/{ s//\1/; q; }
9972
# PATH needs CR, and LINENO needs CR and PATH.
9973
# Avoid depending upon Character Ranges.
9974
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9975
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9976
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9977
as_cr_digits='0123456789'
9978
as_cr_alnum=$as_cr_Letters$as_cr_digits
9980
# The user is always right.
9981
if test "${PATH_SEPARATOR+set}" != set; then
9982
echo "#! /bin/sh" >conf$$.sh
9983
echo "exit 0" >>conf$$.sh
9985
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9996
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9997
test "x$as_lineno_1" != "x$as_lineno_2" &&
9998
test "x$as_lineno_3" = "x$as_lineno_2" || {
9999
# Find who we are. Look in the path if we contain no path at all
10002
*[\\/]* ) as_myself=$0 ;;
10003
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10004
for as_dir in $PATH
10007
test -z "$as_dir" && as_dir=.
10008
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10013
# We did not find ourselves, most probably we were run as `sh COMMAND'
10014
# in which case we are not to be found in the path.
10015
if test "x$as_myself" = x; then
10018
if test ! -f "$as_myself"; then
10019
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10020
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10021
{ (exit 1); exit 1; }; }
10023
case $CONFIG_SHELL in
10025
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10026
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10029
test -z "$as_dir" && as_dir=.
10030
for as_base in sh bash ksh sh5; do
10033
if ("$as_dir/$as_base" -c '
10034
as_lineno_1=$LINENO
10035
as_lineno_2=$LINENO
10036
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10037
test "x$as_lineno_1" != "x$as_lineno_2" &&
10038
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10039
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10040
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10041
CONFIG_SHELL=$as_dir/$as_base
10042
export CONFIG_SHELL
10043
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10051
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10052
# uniformly replaced by the line number. The first 'sed' inserts a
10053
# line-number line before each line; the second 'sed' does the real
10054
# work. The second script uses 'N' to pair each line-number line
10055
# with the numbered line, and appends trailing '-' during
10056
# substitution so that $LINENO is not a special case at line end.
10057
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10058
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10059
sed '=' <$as_myself |
10064
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10067
s,^['$as_cr_digits']*\n,,
10068
' >$as_me.lineno &&
10069
chmod +x $as_me.lineno ||
10070
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10071
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10072
{ (exit 1); exit 1; }; }
10074
# Don't try to exec as it changes $[0], causing all sort of problems
10075
# (the dirname of $[0] is not the place where we might find the
10076
# original and so on. Autoconf is especially sensible to this).
10078
# Exit status is that of the last command.
10083
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10084
*c*,-n*) ECHO_N= ECHO_C='
10086
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10087
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10090
if expr a : '\(a\)' >/dev/null 2>&1; then
10096
rm -f conf$$ conf$$.exe conf$$.file
10098
if ln -s conf$$.file conf$$ 2>/dev/null; then
10099
# We could just check for DJGPP; but this test a) works b) is more generic
10100
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10101
if test -f conf$$.exe; then
10102
# Don't use ln at all; we don't have any links
10107
elif ln conf$$.file conf$$ 2>/dev/null; then
10112
rm -f conf$$ conf$$.exe conf$$.file
10114
if mkdir -p . 2>/dev/null; then
10120
as_executable_p="test -f"
10122
# Sed expression to map a string onto a valid CPP name.
10123
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
10125
# Sed expression to map a string onto a valid variable name.
10126
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
10130
# We need space, tab and new line, in precisely that order.
10140
# Open the log real soon, to keep \$[0] and so on meaningful, and to
10141
# report actual input values of CONFIG_FILES etc. instead of their
10142
# values after options handling. Logging --version etc. is OK.
10146
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10147
## Running $as_me. ##
10152
This file was extended by $as_me, which was
10153
generated by GNU Autoconf 2.57. Invocation command line was
10155
CONFIG_FILES = $CONFIG_FILES
10156
CONFIG_HEADERS = $CONFIG_HEADERS
10157
CONFIG_LINKS = $CONFIG_LINKS
10158
CONFIG_COMMANDS = $CONFIG_COMMANDS
10162
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10166
# Files that config.status was made for.
10167
if test -n "$ac_config_files"; then
10168
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10171
if test -n "$ac_config_headers"; then
10172
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10175
if test -n "$ac_config_links"; then
10176
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10179
if test -n "$ac_config_commands"; then
10180
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10183
cat >>$CONFIG_STATUS <<\_ACEOF
10186
\`$as_me' instantiates files from templates according to the
10187
current configuration.
10189
Usage: $0 [OPTIONS] [FILE]...
10191
-h, --help print this help, then exit
10192
-V, --version print version number, then exit
10193
-q, --quiet do not print progress messages
10194
-d, --debug don't remove temporary files
10195
--recheck update $as_me by reconfiguring in the same conditions
10196
--file=FILE[:TEMPLATE]
10197
instantiate the configuration file FILE
10198
--header=FILE[:TEMPLATE]
10199
instantiate the configuration header FILE
10201
Configuration files:
10204
Configuration headers:
10207
Configuration commands:
10210
Report bugs to <bug-autoconf@gnu.org>."
10213
cat >>$CONFIG_STATUS <<_ACEOF
10216
configured by $0, generated by GNU Autoconf 2.57,
10217
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10219
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
10220
Free Software Foundation, Inc.
10221
This config.status script is free software; the Free Software Foundation
10222
gives unlimited permission to copy, distribute and modify it."
10227
cat >>$CONFIG_STATUS <<\_ACEOF
10228
# If no file are specified by the user, then we need to provide default
10229
# value. By we need to know if files were specified by the user.
10235
ac_option=`expr "x$1" : 'x\([^=]*\)='`
10236
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10244
*) # This is not an option, so the user has probably given explicit
10247
ac_need_defaults=false;;
10251
# Handling of the options.
10253
cat >>$CONFIG_STATUS <<\_ACEOF
10254
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10256
--version | --vers* | -V )
10257
echo "$ac_cs_version"; exit 0 ;;
10259
# Conflict between --help and --header
10260
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
10261
Try \`$0 --help' for more information." >&5
10262
echo "$as_me: error: ambiguous option: $1
10263
Try \`$0 --help' for more information." >&2;}
10264
{ (exit 1); exit 1; }; };;
10265
--help | --hel | -h )
10266
echo "$ac_cs_usage"; exit 0 ;;
10267
--debug | --d* | -d )
10269
--file | --fil | --fi | --f )
10271
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10272
ac_need_defaults=false;;
10273
--header | --heade | --head | --hea )
10275
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10276
ac_need_defaults=false;;
10277
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
10278
| -silent | --silent | --silen | --sile | --sil | --si | --s)
10281
# This is an error.
10282
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10283
Try \`$0 --help' for more information." >&5
10284
echo "$as_me: error: unrecognized option: $1
10285
Try \`$0 --help' for more information." >&2;}
10286
{ (exit 1); exit 1; }; } ;;
10288
*) ac_config_targets="$ac_config_targets $1" ;;
10294
ac_configure_extra_args=
10296
if $ac_cs_silent; then
10298
ac_configure_extra_args="$ac_configure_extra_args --silent"
10302
cat >>$CONFIG_STATUS <<_ACEOF
10303
if \$ac_cs_recheck; then
10304
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10305
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10310
cat >>$CONFIG_STATUS <<_ACEOF
10312
# INIT-COMMANDS section.
10315
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10321
cat >>$CONFIG_STATUS <<\_ACEOF
10322
for ac_config_target in $ac_config_targets
10324
case "$ac_config_target" in
10325
# Handling of arguments.
10326
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10327
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10328
"gnome-support/Makefile" ) CONFIG_FILES="$CONFIG_FILES gnome-support/Makefile" ;;
10329
"gnome-support/terminatorX.keys" ) CONFIG_FILES="$CONFIG_FILES gnome-support/terminatorX.keys" ;;
10330
"src/gui_icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gui_icons/Makefile" ;;
10331
"src/smallknob/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/smallknob/Makefile" ;;
10332
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10333
"doc/terminatorX-manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/terminatorX-manual/Makefile" ;;
10334
"doc/terminatorX-manual/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/terminatorX-manual/C/Makefile" ;;
10335
"terminatorX.spec" ) CONFIG_FILES="$CONFIG_FILES terminatorX.spec" ;;
10336
"terminatorX.1" ) CONFIG_FILES="$CONFIG_FILES terminatorX.1" ;;
10337
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10338
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10339
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10340
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10341
{ (exit 1); exit 1; }; };;
10345
# If the user did not use the arguments to specify the items to instantiate,
10346
# then the envvar interface is used. Set only those that are not.
10347
# We use the long form for the default assignment because of an extremely
10348
# bizarre bug on SunOS 4.1.3.
10349
if $ac_need_defaults; then
10350
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10351
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10352
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10355
# Have a temporary directory for convenience. Make it in the build tree
10356
# simply because there is no reason to put it here, and in addition,
10357
# creating and moving files from /tmp can sometimes cause problems.
10358
# Create a temporary directory, and hook for its removal unless debugging.
10361
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10362
trap '{ (exit 1); exit 1; }' 1 2 13 15
10365
# Create a (secure) tmp directory for tmp files.
10368
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10369
test -n "$tmp" && test -d "$tmp"
10372
tmp=./confstat$$-$RANDOM
10373
(umask 077 && mkdir $tmp)
10376
echo "$me: cannot create a temporary directory in ." >&2
10377
{ (exit 1); exit 1; }
10382
cat >>$CONFIG_STATUS <<_ACEOF
10385
# CONFIG_FILES section.
10388
# No need to generate the scripts if there are no CONFIG_FILES.
10389
# This happens for instance when ./config.status config.h
10390
if test -n "\$CONFIG_FILES"; then
10391
# Protect against being on the right side of a sed subst in config.status.
10392
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10393
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10394
s,@SHELL@,$SHELL,;t t
10395
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10396
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10397
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10398
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10399
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10400
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10401
s,@exec_prefix@,$exec_prefix,;t t
10402
s,@prefix@,$prefix,;t t
10403
s,@program_transform_name@,$program_transform_name,;t t
10404
s,@bindir@,$bindir,;t t
10405
s,@sbindir@,$sbindir,;t t
10406
s,@libexecdir@,$libexecdir,;t t
10407
s,@datadir@,$datadir,;t t
10408
s,@sysconfdir@,$sysconfdir,;t t
10409
s,@sharedstatedir@,$sharedstatedir,;t t
10410
s,@localstatedir@,$localstatedir,;t t
10411
s,@libdir@,$libdir,;t t
10412
s,@includedir@,$includedir,;t t
10413
s,@oldincludedir@,$oldincludedir,;t t
10414
s,@infodir@,$infodir,;t t
10415
s,@mandir@,$mandir,;t t
10416
s,@build_alias@,$build_alias,;t t
10417
s,@host_alias@,$host_alias,;t t
10418
s,@target_alias@,$target_alias,;t t
10419
s,@DEFS@,$DEFS,;t t
10420
s,@ECHO_C@,$ECHO_C,;t t
10421
s,@ECHO_N@,$ECHO_N,;t t
10422
s,@ECHO_T@,$ECHO_T,;t t
10423
s,@LIBS@,$LIBS,;t t
10424
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10425
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10426
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10427
s,@CYGPATH_W@,$CYGPATH_W,;t t
10428
s,@PACKAGE@,$PACKAGE,;t t
10429
s,@VERSION@,$VERSION,;t t
10430
s,@ACLOCAL@,$ACLOCAL,;t t
10431
s,@AUTOCONF@,$AUTOCONF,;t t
10432
s,@AUTOMAKE@,$AUTOMAKE,;t t
10433
s,@AUTOHEADER@,$AUTOHEADER,;t t
10434
s,@MAKEINFO@,$MAKEINFO,;t t
10435
s,@AMTAR@,$AMTAR,;t t
10436
s,@install_sh@,$install_sh,;t t
10437
s,@STRIP@,$STRIP,;t t
10438
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10439
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10441
s,@SET_MAKE@,$SET_MAKE,;t t
10442
s,@am__leading_dot@,$am__leading_dot,;t t
10444
s,@CFLAGS@,$CFLAGS,;t t
10445
s,@LDFLAGS@,$LDFLAGS,;t t
10446
s,@CPPFLAGS@,$CPPFLAGS,;t t
10447
s,@ac_ct_CC@,$ac_ct_CC,;t t
10448
s,@EXEEXT@,$EXEEXT,;t t
10449
s,@OBJEXT@,$OBJEXT,;t t
10450
s,@DEPDIR@,$DEPDIR,;t t
10451
s,@am__include@,$am__include,;t t
10452
s,@am__quote@,$am__quote,;t t
10453
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10454
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10455
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10456
s,@CCDEPMODE@,$CCDEPMODE,;t t
10457
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10458
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10460
s,@CXXFLAGS@,$CXXFLAGS,;t t
10461
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
10462
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
10463
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
10464
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
10465
s,@LN_S@,$LN_S,;t t
10466
s,@RANLIB@,$RANLIB,;t t
10467
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10468
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
10469
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
10470
s,@GTK_LIBS@,$GTK_LIBS,;t t
10472
s,@EGREP@,$EGREP,;t t
10473
s,@SOX_PROG@,$SOX_PROG,;t t
10474
s,@af_config@,$af_config,;t t
10475
s,@MPG123_PROG@,$MPG123_PROG,;t t
10476
s,@OGG123_PROG@,$OGG123_PROG,;t t
10477
s,@XSETPOINTER_PROG@,$XSETPOINTER_PROG,;t t
10478
s,@DEPRECATED_FLAGS@,$DEPRECATED_FLAGS,;t t
10479
s,@gnomepresent@,$gnomepresent,;t t
10480
s,@gnomeconfig@,$gnomeconfig,;t t
10481
s,@gnomedatadir@,$gnomedatadir,;t t
10482
s,@GNOMEpresent_TRUE@,$GNOMEpresent_TRUE,;t t
10483
s,@GNOMEpresent_FALSE@,$GNOMEpresent_FALSE,;t t
10484
s,@XML2_CONFIG@,$XML2_CONFIG,;t t
10485
s,@XML_CONFIG@,$XML_CONFIG,;t t
10486
s,@XML_LIBS@,$XML_LIBS,;t t
10487
s,@XML_CFLAGS@,$XML_CFLAGS,;t t
10488
s,@SK_CONFIG@,$SK_CONFIG,;t t
10489
s,@X_CFLAGS@,$X_CFLAGS,;t t
10490
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
10491
s,@X_LIBS@,$X_LIBS,;t t
10492
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
10493
s,@x_libraries@,$x_libraries,;t t
10494
s,@LIBOBJS@,$LIBOBJS,;t t
10495
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10500
cat >>$CONFIG_STATUS <<\_ACEOF
10501
# Split the substitutions into bite-sized pieces for seds with
10502
# small command number limits, like on Digital OSF/1 and HP-UX.
10503
ac_max_sed_lines=48
10504
ac_sed_frag=1 # Number of current file.
10505
ac_beg=1 # First line for current file.
10506
ac_end=$ac_max_sed_lines # Line after last line for current file.
10509
while $ac_more_lines; do
10510
if test $ac_beg -gt 1; then
10511
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10513
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10515
if test ! -s $tmp/subs.frag; then
10516
ac_more_lines=false
10518
# The purpose of the label and of the branching condition is to
10519
# speed up the sed processing (if there are no `@' at all, there
10520
# is no need to browse any of the substitutions).
10521
# These are the two extra sed commands mentioned above.
10523
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10524
if test -z "$ac_sed_cmds"; then
10525
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10527
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10529
ac_sed_frag=`expr $ac_sed_frag + 1`
10531
ac_end=`expr $ac_end + $ac_max_sed_lines`
10534
if test -z "$ac_sed_cmds"; then
10537
fi # test -n "$CONFIG_FILES"
10540
cat >>$CONFIG_STATUS <<\_ACEOF
10541
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10542
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10544
- | *:- | *:-:* ) # input from stdin
10546
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10547
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10548
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10549
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10550
* ) ac_file_in=$ac_file.in ;;
10553
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10554
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10555
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10556
X"$ac_file" : 'X\(//\)[^/]' \| \
10557
X"$ac_file" : 'X\(//\)$' \| \
10558
X"$ac_file" : 'X\(/\)' \| \
10559
. : '\(.\)' 2>/dev/null ||
10561
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10562
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10563
/^X\(\/\/\)$/{ s//\1/; q; }
10564
/^X\(\/\).*/{ s//\1/; q; }
10566
{ if $as_mkdir_p; then
10571
while test ! -d "$as_dir"; do
10572
as_dirs="$as_dir $as_dirs"
10573
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10574
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10575
X"$as_dir" : 'X\(//\)[^/]' \| \
10576
X"$as_dir" : 'X\(//\)$' \| \
10577
X"$as_dir" : 'X\(/\)' \| \
10578
. : '\(.\)' 2>/dev/null ||
10580
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10581
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10582
/^X\(\/\/\)$/{ s//\1/; q; }
10583
/^X\(\/\).*/{ s//\1/; q; }
10586
test ! -n "$as_dirs" || mkdir $as_dirs
10587
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10588
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10589
{ (exit 1); exit 1; }; }; }
10593
if test "$ac_dir" != .; then
10594
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10595
# A "../" for each directory in $ac_dir_suffix.
10596
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10598
ac_dir_suffix= ac_top_builddir=
10602
.) # No --srcdir option. We are building in place.
10604
if test -z "$ac_top_builddir"; then
10607
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10609
[\\/]* | ?:[\\/]* ) # Absolute path.
10610
ac_srcdir=$srcdir$ac_dir_suffix;
10611
ac_top_srcdir=$srcdir ;;
10612
*) # Relative path.
10613
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10614
ac_top_srcdir=$ac_top_builddir$srcdir ;;
10616
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10618
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10619
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10620
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10621
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10625
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10626
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10629
if test x"$ac_file" != x-; then
10630
{ echo "$as_me:$LINENO: creating $ac_file" >&5
10631
echo "$as_me: creating $ac_file" >&6;}
10634
# Let's still pretend it is `configure' which instantiates (i.e., don't
10635
# use $as_me), people would be surprised to read:
10636
# /* config.h. Generated by config.status. */
10637
if test x"$ac_file" = x-; then
10640
configure_input="$ac_file. "
10642
configure_input=$configure_input"Generated from `echo $ac_file_in |
10643
sed 's,.*/,,'` by configure."
10645
# First look for the input files in the build tree, otherwise in the
10647
ac_file_inputs=`IFS=:
10648
for f in $ac_file_in; do
10650
-) echo $tmp/stdin ;;
10652
# Absolute (can't be DOS-style, as IFS=:)
10653
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10654
echo "$as_me: error: cannot find input file: $f" >&2;}
10655
{ (exit 1); exit 1; }; }
10658
if test -f "$f"; then
10661
elif test -f "$srcdir/$f"; then
10666
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10667
echo "$as_me: error: cannot find input file: $f" >&2;}
10668
{ (exit 1); exit 1; }; }
10671
done` || { (exit 1); exit 1; }
10673
cat >>$CONFIG_STATUS <<_ACEOF
10677
cat >>$CONFIG_STATUS <<\_ACEOF
10679
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10680
s,@configure_input@,$configure_input,;t t
10681
s,@srcdir@,$ac_srcdir,;t t
10682
s,@abs_srcdir@,$ac_abs_srcdir,;t t
10683
s,@top_srcdir@,$ac_top_srcdir,;t t
10684
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10685
s,@builddir@,$ac_builddir,;t t
10686
s,@abs_builddir@,$ac_abs_builddir,;t t
10687
s,@top_builddir@,$ac_top_builddir,;t t
10688
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10689
s,@INSTALL@,$ac_INSTALL,;t t
10690
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10692
if test x"$ac_file" != x-; then
10693
mv $tmp/out $ac_file
10701
cat >>$CONFIG_STATUS <<\_ACEOF
10704
# CONFIG_HEADER section.
10707
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10708
# NAME is the cpp macro being defined and VALUE is the value it is being given.
10710
# ac_d sets the value in "#define NAME VALUE" lines.
10711
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10712
ac_dB='[ ].*$,\1#\2'
10715
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10716
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10717
ac_uB='$,\1#\2define\3'
10721
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10722
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10724
- | *:- | *:-:* ) # input from stdin
10726
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10727
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10728
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10729
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10730
* ) ac_file_in=$ac_file.in ;;
10733
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10734
echo "$as_me: creating $ac_file" >&6;}
10736
# First look for the input files in the build tree, otherwise in the
10738
ac_file_inputs=`IFS=:
10739
for f in $ac_file_in; do
10741
-) echo $tmp/stdin ;;
10743
# Absolute (can't be DOS-style, as IFS=:)
10744
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10745
echo "$as_me: error: cannot find input file: $f" >&2;}
10746
{ (exit 1); exit 1; }; }
10749
if test -f "$f"; then
10752
elif test -f "$srcdir/$f"; then
10757
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10758
echo "$as_me: error: cannot find input file: $f" >&2;}
10759
{ (exit 1); exit 1; }; }
10762
done` || { (exit 1); exit 1; }
10763
# Remove the trailing spaces.
10764
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10768
# Transform confdefs.h into two sed scripts, `conftest.defines' and
10769
# `conftest.undefs', that substitutes the proper values into
10770
# config.h.in to produce config.h. The first handles `#define'
10771
# templates, and the second `#undef' templates.
10772
# And first: Protect against being on the right side of a sed subst in
10773
# config.status. Protect against being in an unquoted here document
10774
# in config.status.
10775
rm -f conftest.defines conftest.undefs
10776
# Using a here document instead of a string reduces the quoting nightmare.
10777
# Putting comments in sed scripts is not portable.
10779
# `end' is used to avoid that the second main sed command (meant for
10780
# 0-ary CPP macros) applies to n-ary macro definitions.
10781
# See the Autoconf documentation for `clear'.
10782
cat >confdef2sed.sed <<\_ACEOF
10787
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10789
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10792
# If some macros were called several times there might be several times
10793
# the same #defines, which is useless. Nevertheless, we may not want to
10794
# sort them, since we want the *last* AC-DEFINE to be honored.
10795
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10796
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10797
rm -f confdef2sed.sed
10799
# This sed command replaces #undef with comments. This is necessary, for
10800
# example, in the case of _POSIX_SOURCE, which is predefined and required
10801
# on some systems where configure will not decide to define it.
10802
cat >>conftest.undefs <<\_ACEOF
10803
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10806
# Break up conftest.defines because some shells have a limit on the size
10807
# of here documents, and old seds have small limits too (100 cmds).
10808
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10809
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10810
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10811
echo ' :' >>$CONFIG_STATUS
10812
rm -f conftest.tail
10813
while grep . conftest.defines >/dev/null
10815
# Write a limited-size here document to $tmp/defines.sed.
10816
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10817
# Speed up: don't consider the non `#define' lines.
10818
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10819
# Work around the forget-to-reset-the-flag bug.
10820
echo 't clr' >>$CONFIG_STATUS
10821
echo ': clr' >>$CONFIG_STATUS
10822
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10824
sed -f $tmp/defines.sed $tmp/in >$tmp/out
10826
mv $tmp/out $tmp/in
10828
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
10829
rm -f conftest.defines
10830
mv conftest.tail conftest.defines
10832
rm -f conftest.defines
10833
echo ' fi # grep' >>$CONFIG_STATUS
10834
echo >>$CONFIG_STATUS
10836
# Break up conftest.undefs because some shells have a limit on the size
10837
# of here documents, and old seds have small limits too (100 cmds).
10838
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10839
rm -f conftest.tail
10840
while grep . conftest.undefs >/dev/null
10842
# Write a limited-size here document to $tmp/undefs.sed.
10843
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10844
# Speed up: don't consider the non `#undef'
10845
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10846
# Work around the forget-to-reset-the-flag bug.
10847
echo 't clr' >>$CONFIG_STATUS
10848
echo ': clr' >>$CONFIG_STATUS
10849
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10851
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10853
mv $tmp/out $tmp/in
10855
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10856
rm -f conftest.undefs
10857
mv conftest.tail conftest.undefs
10859
rm -f conftest.undefs
10861
cat >>$CONFIG_STATUS <<\_ACEOF
10862
# Let's still pretend it is `configure' which instantiates (i.e., don't
10863
# use $as_me), people would be surprised to read:
10864
# /* config.h. Generated by config.status. */
10865
if test x"$ac_file" = x-; then
10866
echo "/* Generated by configure. */" >$tmp/config.h
10868
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10870
cat $tmp/in >>$tmp/config.h
10872
if test x"$ac_file" != x-; then
10873
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
10874
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10875
echo "$as_me: $ac_file is unchanged" >&6;}
10877
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10878
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10879
X"$ac_file" : 'X\(//\)[^/]' \| \
10880
X"$ac_file" : 'X\(//\)$' \| \
10881
X"$ac_file" : 'X\(/\)' \| \
10882
. : '\(.\)' 2>/dev/null ||
10884
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10885
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10886
/^X\(\/\/\)$/{ s//\1/; q; }
10887
/^X\(\/\).*/{ s//\1/; q; }
10889
{ if $as_mkdir_p; then
10894
while test ! -d "$as_dir"; do
10895
as_dirs="$as_dir $as_dirs"
10896
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10897
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10898
X"$as_dir" : 'X\(//\)[^/]' \| \
10899
X"$as_dir" : 'X\(//\)$' \| \
10900
X"$as_dir" : 'X\(/\)' \| \
10901
. : '\(.\)' 2>/dev/null ||
10903
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10904
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10905
/^X\(\/\/\)$/{ s//\1/; q; }
10906
/^X\(\/\).*/{ s//\1/; q; }
10909
test ! -n "$as_dirs" || mkdir $as_dirs
10910
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10911
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10912
{ (exit 1); exit 1; }; }; }
10915
mv $tmp/config.h $ac_file
10919
rm -f $tmp/config.h
10921
# Compute $ac_file's index in $config_headers.
10923
for _am_header in $config_headers :; do
10924
case $_am_header in
10925
$ac_file | $ac_file:* )
10928
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
10931
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10932
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10933
X$ac_file : 'X\(//\)[^/]' \| \
10934
X$ac_file : 'X\(//\)$' \| \
10935
X$ac_file : 'X\(/\)' \| \
10936
. : '\(.\)' 2>/dev/null ||
10938
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10939
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10940
/^X\(\/\/\)$/{ s//\1/; q; }
10941
/^X\(\/\).*/{ s//\1/; q; }
10942
s/.*/./; q'`/stamp-h$_am_stamp_count
10945
cat >>$CONFIG_STATUS <<\_ACEOF
10948
# CONFIG_COMMANDS section.
10950
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10951
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10952
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10953
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10954
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10955
X"$ac_dest" : 'X\(//\)[^/]' \| \
10956
X"$ac_dest" : 'X\(//\)$' \| \
10957
X"$ac_dest" : 'X\(/\)' \| \
10958
. : '\(.\)' 2>/dev/null ||
10960
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10961
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10962
/^X\(\/\/\)$/{ s//\1/; q; }
10963
/^X\(\/\).*/{ s//\1/; q; }
10967
if test "$ac_dir" != .; then
10968
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10969
# A "../" for each directory in $ac_dir_suffix.
10970
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10972
ac_dir_suffix= ac_top_builddir=
10976
.) # No --srcdir option. We are building in place.
10978
if test -z "$ac_top_builddir"; then
10981
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10983
[\\/]* | ?:[\\/]* ) # Absolute path.
10984
ac_srcdir=$srcdir$ac_dir_suffix;
10985
ac_top_srcdir=$srcdir ;;
10986
*) # Relative path.
10987
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10988
ac_top_srcdir=$ac_top_builddir$srcdir ;;
10990
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10992
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10993
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10994
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10995
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10998
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10999
echo "$as_me: executing $ac_dest commands" >&6;}
11001
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11002
# Strip MF so we end up with the name of the file.
11003
mf=`echo "$mf" | sed -e 's/:.*$//'`
11004
# Check whether this is an Automake generated Makefile or not.
11005
# We used to match only the files named `Makefile.in', but
11006
# some people rename them; so instead we look at the file content.
11007
# Grep'ing the first line is not enough: some people post-process
11008
# each Makefile.in and add a new line on top of each file to say so.
11009
# So let's grep whole file.
11010
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
11011
dirpart=`(dirname "$mf") 2>/dev/null ||
11012
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11013
X"$mf" : 'X\(//\)[^/]' \| \
11014
X"$mf" : 'X\(//\)$' \| \
11015
X"$mf" : 'X\(/\)' \| \
11016
. : '\(.\)' 2>/dev/null ||
11018
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11019
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
11020
/^X\(\/\/\)$/{ s//\1/; q; }
11021
/^X\(\/\).*/{ s//\1/; q; }
11026
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
11027
# Extract the definition of DEP_FILES from the Makefile without
11029
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
11030
test -z "$DEPDIR" && continue
11031
# When using ansi2knr, U may be empty or an underscore; expand it
11032
U=`sed -n -e '/^U = / s///p' < "$mf"`
11033
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
11034
# We invoke sed twice because it is the simplest approach to
11035
# changing $(DEPDIR) to its actual value in the expansion.
11036
for file in `sed -n -e '
11037
/^DEP_FILES = .*\\\\$/ {
11046
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
11047
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11048
# Make sure the directory exists.
11049
test -f "$dirpart/$file" && continue
11050
fdir=`(dirname "$file") 2>/dev/null ||
11051
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11052
X"$file" : 'X\(//\)[^/]' \| \
11053
X"$file" : 'X\(//\)$' \| \
11054
X"$file" : 'X\(/\)' \| \
11055
. : '\(.\)' 2>/dev/null ||
11057
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11058
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
11059
/^X\(\/\/\)$/{ s//\1/; q; }
11060
/^X\(\/\).*/{ s//\1/; q; }
11062
{ if $as_mkdir_p; then
11063
mkdir -p $dirpart/$fdir
11065
as_dir=$dirpart/$fdir
11067
while test ! -d "$as_dir"; do
11068
as_dirs="$as_dir $as_dirs"
11069
as_dir=`(dirname "$as_dir") 2>/dev/null ||
11070
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11071
X"$as_dir" : 'X\(//\)[^/]' \| \
11072
X"$as_dir" : 'X\(//\)$' \| \
11073
X"$as_dir" : 'X\(/\)' \| \
11074
. : '\(.\)' 2>/dev/null ||
11076
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11077
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
11078
/^X\(\/\/\)$/{ s//\1/; q; }
11079
/^X\(\/\).*/{ s//\1/; q; }
11082
test ! -n "$as_dirs" || mkdir $as_dirs
11083
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11084
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11085
{ (exit 1); exit 1; }; }; }
11087
# echo "creating $dirpart/$file"
11088
echo '# dummy' > "$dirpart/$file"
11096
cat >>$CONFIG_STATUS <<\_ACEOF
11098
{ (exit 0); exit 0; }
11100
chmod +x $CONFIG_STATUS
11101
ac_clean_files=$ac_clean_files_save
11104
# configure is writing to config.log, and then calls config.status.
11105
# config.status does its own redirection, appending to config.log.
11106
# Unfortunately, on DOS this fails, as config.log is still kept open
11107
# by configure, so config.status won't be able to write to it; its
11108
# output is simply discarded. So we exec the FD to /dev/null,
11109
# effectively closing config.log, so it can be properly (re)opened and
11110
# appended to by config.status. When coming back to configure, we
11111
# need to make the FD available again.
11112
if test "$no_create" != yes; then
11114
ac_config_status_args=
11115
test "$silent" = yes &&
11116
ac_config_status_args="$ac_config_status_args --quiet"
11118
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11120
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
11121
# would make configure fail if this is the last instruction.
11122
$ac_cs_success || { (exit 1); exit 1; }
11127
echo "$option support: $option_val"
11128
if test "$option_val" != "yes"; then
11129
echo " - If you want $option support get $option from"
11130
echo " - $option_url"
11131
echo " - and reconfigure terminatorX"
11136
echo configured terminatorX for:
11137
echo ---------------------------
11140
echo manual: $xml_man
11142
option=sox; option_val=$OPTION_SOX; option_url=http://sox.sourceforge.net/
11145
echo "mpg123 support: $OPTION_MPG123"
11146
if test "$OPTION_MPG123" = "no"; then
11147
echo " - If you want mpg123 support get either mpg321 from"
11148
echo " - http://mpg321.sourceforge.net/ or mpg123 from"
11149
echo " - http://www.mpg123.de/"
11150
echo " - and reconfigure terminatorX"
11154
option=oss; option_val=$OPTION_OSS; option_url=http://www.kernel.org
11157
option=alsa; option_val=$OPTION_ALSA; option_url=http://www.alsa-project.org
11160
option=jack; option_val=$OPTION_JACK; option_url=http://jackit.sourceforge.net
11163
option=mad; option_val=$OPTION_MAD; option_url=http://www.mars.org/home/rob/proj/mpeg/
11166
option=ogg123; option_val=$OPTION_OGG123; option_url=http://www.xiph.org/ogg/vorbis/
11169
option=libvorbis; option_val=$OPTION_VORBIS; option_url=http://www.xiph.org/ogg/vorbis/
11172
option=audiofile; option_val=$OPTION_AUDIOFILE; option_url=http://www.68k.org/~michael/audiofile/
11175
option="ALSA (MIDI in)"; option_val=$OPTION_ALSAMIDI; option_url=http://www.alsa-project.org
11178
option=lrdf; option_val=$OPTION_LRDF; option_url=http://plugin.org.uk/releases/lrdf/
11181
echo "legacy files support: $OPTION_LEGACY"
11182
echo "builtin-wav support: $OPTION_WAV"
11183
echo "enhanced scheduling support: $OPTION_SCHEDULER"
11184
echo "old suid-root support: $OPTION_SUIDROOT"
11185
echo "capabilities support: $OPTION_CAP"
11186
echo "GNOME support: $OPTION_GNOME"
11188
echo You can now run \'make\' to compile terminatorX