2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for RtAudio 2.1.
5 # Report bugs to <gary@ccrma.stanford.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits='0123456789'
17 as_cr_alnum=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33 # Name of the executable.
34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a : '\(a\)' >/dev/null 2>&1; then
42 rm -f conf$$ conf$$.exe conf$$.file
44 if ln -s conf$$.file conf$$ 2>/dev/null; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe; then
48 # Don't use ln at all; we don't have any links
53 elif ln conf$$.file conf$$ 2>/dev/null; then
58 rm -f conf$$ conf$$.exe conf$$.file
60 as_executable_p="test -f"
62 # Support unset when possible.
63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
98 ac_default_prefix=/usr/local
102 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
105 # This variable seems obsolete. It should probably be removed, and
106 # only ac_max_sed_lines should be used.
107 : ${ac_max_here_lines=38}
109 ac_unique_file="RtAudio.cpp"
111 # Initialize some variables set by options.
113 ac_init_version=false
114 # The variables have the same names as the options, with
115 # dashes changed to underlines.
123 program_transform_name=s,x,x,
131 # Installation directory options.
132 # These are left unexpanded so users can "make install exec_prefix=/foo"
133 # and all the variables that are supposed to be based on exec_prefix
134 # by default will actually change.
135 # Use braces instead of parens because sh, perl, etc. also accept them.
136 bindir='${exec_prefix}/bin'
137 sbindir='${exec_prefix}/sbin'
138 libexecdir='${exec_prefix}/libexec'
139 datadir='${prefix}/share'
140 sysconfdir='${prefix}/etc'
141 sharedstatedir='${prefix}/com'
142 localstatedir='${prefix}/var'
143 libdir='${exec_prefix}/lib'
144 includedir='${prefix}/include'
145 oldincludedir='/usr/include'
146 infodir='${prefix}/info'
147 mandir='${prefix}/man'
149 # Identity of this package.
150 PACKAGE_NAME='RtAudio'
151 PACKAGE_TARNAME='rtaudio'
152 PACKAGE_VERSION='2.1'
153 PACKAGE_STRING='RtAudio 2.1'
154 PACKAGE_BUGREPORT='gary@ccrma.stanford.edu'
159 # If the previous option needs an argument, assign it.
160 if test -n "$ac_prev"; then
161 eval "$ac_prev=\$ac_option"
166 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
168 # Accept the important Cygnus configure options, so we can diagnose typos.
172 -bindir | --bindir | --bindi | --bind | --bin | --bi)
174 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
177 -build | --build | --buil | --bui | --bu)
178 ac_prev=build_alias ;;
179 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
180 build_alias=$ac_optarg ;;
182 -cache-file | --cache-file | --cache-fil | --cache-fi \
183 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
184 ac_prev=cache_file ;;
185 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
186 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
187 cache_file=$ac_optarg ;;
190 cache_file=config.cache ;;
192 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
194 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
196 datadir=$ac_optarg ;;
198 -disable-* | --disable-*)
199 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
200 # Reject names that are not valid shell variable names.
201 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
202 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
203 { (exit 1); exit 1; }; }
204 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
205 eval "enable_$ac_feature=no" ;;
207 -enable-* | --enable-*)
208 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
209 # Reject names that are not valid shell variable names.
210 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
211 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
212 { (exit 1); exit 1; }; }
213 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
215 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
218 eval "enable_$ac_feature='$ac_optarg'" ;;
220 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
221 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
222 | --exec | --exe | --ex)
223 ac_prev=exec_prefix ;;
224 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
225 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
226 | --exec=* | --exe=* | --ex=*)
227 exec_prefix=$ac_optarg ;;
229 -gas | --gas | --ga | --g)
230 # Obsolete; use --with-gas.
233 -help | --help | --hel | --he | -h)
235 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
236 ac_init_help=recursive ;;
237 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
238 ac_init_help=short ;;
240 -host | --host | --hos | --ho)
241 ac_prev=host_alias ;;
242 -host=* | --host=* | --hos=* | --ho=*)
243 host_alias=$ac_optarg ;;
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir=$ac_optarg ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir=$ac_optarg ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir=$ac_optarg ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir=$ac_optarg ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir=$ac_optarg ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix=$ac_optarg ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix=$ac_optarg ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name=$ac_optarg ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir=$ac_optarg ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir=$ac_optarg ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
368 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
371 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372 | --syscon | --sysco | --sysc | --sys | --sy)
373 ac_prev=sysconfdir ;;
374 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376 sysconfdir=$ac_optarg ;;
378 -target | --target | --targe | --targ | --tar | --ta | --t)
379 ac_prev=target_alias ;;
380 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381 target_alias=$ac_optarg ;;
383 -v | -verbose | --verbose | --verbos | --verbo | --verb)
386 -version | --version | --versio | --versi | --vers | -V)
390 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid package name: $ac_package" >&2
394 { (exit 1); exit 1; }; }
395 ac_package=`echo $ac_package| sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "with_$ac_package='$ac_optarg'" ;;
402 -without-* | --without-*)
403 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
404 # Reject names that are not valid shell variable names.
405 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406 { echo "$as_me: error: invalid package name: $ac_package" >&2
407 { (exit 1); exit 1; }; }
408 ac_package=`echo $ac_package | sed 's/-/_/g'`
409 eval "with_$ac_package=no" ;;
412 # Obsolete; use --with-x.
415 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
416 | --x-incl | --x-inc | --x-in | --x-i)
417 ac_prev=x_includes ;;
418 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
419 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
420 x_includes=$ac_optarg ;;
422 -x-libraries | --x-libraries | --x-librarie | --x-librari \
423 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
424 ac_prev=x_libraries ;;
425 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
426 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
427 x_libraries=$ac_optarg ;;
429 -*) { echo "$as_me: error: unrecognized option: $ac_option
430 Try \`$0 --help' for more information." >&2
431 { (exit 1); exit 1; }; }
435 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
436 # Reject names that are not valid shell variable names.
437 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
438 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
439 { (exit 1); exit 1; }; }
440 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
441 eval "$ac_envvar='$ac_optarg'"
445 # FIXME: should be removed in autoconf 3.0.
446 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
447 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
448 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
449 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
455 if test -n "$ac_prev"; then
456 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
457 { echo "$as_me: error: missing argument to $ac_option" >&2
458 { (exit 1); exit 1; }; }
461 # Be sure to have absolute paths.
462 for ac_var in exec_prefix prefix
464 eval ac_val=$`echo $ac_var`
466 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
467 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
468 { (exit 1); exit 1; }; };;
472 # Be sure to have absolute paths.
473 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
474 localstatedir libdir includedir oldincludedir infodir mandir
476 eval ac_val=$`echo $ac_var`
478 [\\/$]* | ?:[\\/]* ) ;;
479 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
480 { (exit 1); exit 1; }; };;
484 # There might be people who depend on the old broken behavior: `$host'
485 # used to hold the argument of --host etc.
490 # FIXME: should be removed in autoconf 3.0.
491 if test "x$host_alias" != x; then
492 if test "x$build_alias" = x; then
493 cross_compiling=maybe
494 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
495 If a cross compiler is detected then cross compile mode will be used." >&2
496 elif test "x$build_alias" != "x$host_alias"; then
502 test -n "$host_alias" && ac_tool_prefix=$host_alias-
504 test "$silent" = yes && exec 6>/dev/null
506 # Find the source files, if location was not specified.
507 if test -z "$srcdir"; then
508 ac_srcdir_defaulted=yes
509 # Try the directory containing this script, then its parent.
511 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
514 if test ! -r $srcdir/$ac_unique_file; then
518 ac_srcdir_defaulted=no
520 if test ! -r $srcdir/$ac_unique_file; then
521 if test "$ac_srcdir_defaulted" = yes; then
522 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
523 { (exit 1); exit 1; }; }
525 { echo "$as_me: error: cannot find sources in $srcdir" >&2
526 { (exit 1); exit 1; }; }
529 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
530 ac_env_build_alias_set=${build_alias+set}
531 ac_env_build_alias_value=$build_alias
532 ac_cv_env_build_alias_set=${build_alias+set}
533 ac_cv_env_build_alias_value=$build_alias
534 ac_env_host_alias_set=${host_alias+set}
535 ac_env_host_alias_value=$host_alias
536 ac_cv_env_host_alias_set=${host_alias+set}
537 ac_cv_env_host_alias_value=$host_alias
538 ac_env_target_alias_set=${target_alias+set}
539 ac_env_target_alias_value=$target_alias
540 ac_cv_env_target_alias_set=${target_alias+set}
541 ac_cv_env_target_alias_value=$target_alias
542 ac_env_CC_set=${CC+set}
544 ac_cv_env_CC_set=${CC+set}
545 ac_cv_env_CC_value=$CC
546 ac_env_CFLAGS_set=${CFLAGS+set}
547 ac_env_CFLAGS_value=$CFLAGS
548 ac_cv_env_CFLAGS_set=${CFLAGS+set}
549 ac_cv_env_CFLAGS_value=$CFLAGS
550 ac_env_LDFLAGS_set=${LDFLAGS+set}
551 ac_env_LDFLAGS_value=$LDFLAGS
552 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
553 ac_cv_env_LDFLAGS_value=$LDFLAGS
554 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
555 ac_env_CPPFLAGS_value=$CPPFLAGS
556 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
557 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
558 ac_env_CXX_set=${CXX+set}
559 ac_env_CXX_value=$CXX
560 ac_cv_env_CXX_set=${CXX+set}
561 ac_cv_env_CXX_value=$CXX
562 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
563 ac_env_CXXFLAGS_value=$CXXFLAGS
564 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
565 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
566 ac_env_CPP_set=${CPP+set}
567 ac_env_CPP_value=$CPP
568 ac_cv_env_CPP_set=${CPP+set}
569 ac_cv_env_CPP_value=$CPP
572 # Report the --help message.
574 if test "$ac_init_help" = "long"; then
575 # Omit some internal or obsolete options to make the list less imposing.
576 # This message is too long to be a string in the A/UX 3.1 sh.
578 \`configure' configures RtAudio 2.1 to adapt to many kinds of systems.
580 Usage: $0 [OPTION]... [VAR=VALUE]...
582 To assign environment variables (e.g., CC, CFLAGS...), specify them as
583 VAR=VALUE. See below for descriptions of some of the useful variables.
585 Defaults for the options are specified in brackets.
588 -h, --help display this help and exit
589 --help=short display options specific to this package
590 --help=recursive display the short help of all the included packages
591 -V, --version display version information and exit
592 -q, --quiet, --silent do not print \`checking...' messages
593 --cache-file=FILE cache test results in FILE [disabled]
594 -C, --config-cache alias for \`--cache-file=config.cache'
595 -n, --no-create do not create output files
596 --srcdir=DIR find the sources in DIR [configure dir or \`..']
601 Installation directories:
602 --prefix=PREFIX install architecture-independent files in PREFIX
604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
607 By default, \`make install' will install all the files in
608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
610 for instance \`--prefix=\$HOME'.
612 For better control, use the options below.
614 Fine tuning of the installation directories:
615 --bindir=DIR user executables [EPREFIX/bin]
616 --sbindir=DIR system admin executables [EPREFIX/sbin]
617 --libexecdir=DIR program executables [EPREFIX/libexec]
618 --datadir=DIR read-only architecture-independent data [PREFIX/share]
619 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
620 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
621 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
622 --libdir=DIR object code libraries [EPREFIX/lib]
623 --includedir=DIR C header files [PREFIX/include]
624 --oldincludedir=DIR C header files for non-gcc [/usr/include]
625 --infodir=DIR info documentation [PREFIX/info]
626 --mandir=DIR man documentation [PREFIX/man]
632 --build=BUILD configure for building on BUILD [guessed]
633 --host=HOST build programs to run on HOST [BUILD]
637 if test -n "$ac_init_help"; then
638 case $ac_init_help in
639 short | recursive ) echo "Configuration of RtAudio 2.1:";;
644 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
645 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
646 --enable-debug = enable various debug output
649 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
650 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
651 --with-alsa = choose native ALSA API support (linux only)
653 Some influential environment variables:
654 CC C compiler command
655 CFLAGS C compiler flags
656 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
657 nonstandard directory <lib dir>
658 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
659 headers in a nonstandard directory <include dir>
660 CXX C++ compiler command
661 CXXFLAGS C++ compiler flags
664 Use these variables to override the choices made by `configure' or to help
665 it to find libraries and programs with nonstandard names/locations.
667 Report bugs to <gary@ccrma.stanford.edu>.
671 if test "$ac_init_help" = "recursive"; then
672 # If there are subdirs, report their specific --help.
674 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
676 # A "../" for each directory in /$ac_subdir.
677 ac_dots=`echo $ac_subdir |
678 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
681 .) # No --srcdir option. We are building in place.
682 ac_sub_srcdir=$srcdir ;;
683 [\\/]* | ?:[\\/]* ) # Absolute path.
684 ac_sub_srcdir=$srcdir/$ac_subdir ;;
686 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
689 # Check for guested configure; otherwise get Cygnus style configure.
690 if test -f $ac_sub_srcdir/configure.gnu; then
692 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
693 elif test -f $ac_sub_srcdir/configure; then
695 $SHELL $ac_sub_srcdir/configure --help=recursive
696 elif test -f $ac_sub_srcdir/configure.ac ||
697 test -f $ac_sub_srcdir/configure.in; then
701 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
707 test -n "$ac_init_help" && exit 0
708 if $ac_init_version; then
710 RtAudio configure 2.1
711 generated by GNU Autoconf 2.52
713 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
714 Free Software Foundation, Inc.
715 This configure script is free software; the Free Software Foundation
716 gives unlimited permission to copy, distribute and modify it.
722 This file contains any messages produced by compilers while
723 running configure, to aid debugging if configure makes a mistake.
725 It was created by RtAudio $as_me 2.1, which was
726 generated by GNU Autoconf 2.52. Invocation command line was
737 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
738 uname -m = `(uname -m) 2>/dev/null || echo unknown`
739 uname -r = `(uname -r) 2>/dev/null || echo unknown`
740 uname -s = `(uname -s) 2>/dev/null || echo unknown`
741 uname -v = `(uname -v) 2>/dev/null || echo unknown`
743 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
744 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
746 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
747 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
748 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
749 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
750 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
751 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
752 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
766 # Keep a trace of the command line.
767 # Strip out --no-create and --no-recursion so they do not pile up.
768 # Also quote any args containing shell meta-characters.
774 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
775 | --no-cr | --no-c) ;;
776 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
777 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
778 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
779 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
780 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
782 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
785 # Get rid of the leading space.
788 # When interrupted or exit'd, cleanup temporary files, and complete
789 # config.log. We remove comments because anyway the quotes in there
790 # would cause problems or look ugly.
792 # Save into config.log some information that might help in debugging.
794 echo "## ----------------- ##" >&5
795 echo "## Cache variables. ##" >&5
796 echo "## ----------------- ##" >&5
798 # The following way of writing the cache mishandles newlines in values,
801 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
804 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
809 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
813 sed "/^$/d" confdefs.h >conftest.log
814 if test -s conftest.log; then
816 echo "## ------------ ##" >&5
817 echo "## confdefs.h. ##" >&5
818 echo "## ------------ ##" >&5
823 test "$ac_signal" != 0 &&
824 echo "$as_me: caught signal $ac_signal" >&5
825 echo "$as_me: exit $exit_status" >&5
826 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
829 for ac_signal in 1 2 13 15; do
830 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
834 # confdefs.h avoids OS command line length limits that DEFS can exceed.
835 rm -rf conftest* confdefs.h
836 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
839 # Let the site file select an alternate cache file if it wants to.
840 # Prefer explicitly selected file to automatically selected ones.
841 if test -z "$CONFIG_SITE"; then
842 if test "x$prefix" != xNONE; then
843 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
845 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
848 for ac_site_file in $CONFIG_SITE; do
849 if test -r "$ac_site_file"; then
850 { echo "$as_me:850: loading site script $ac_site_file" >&5
851 echo "$as_me: loading site script $ac_site_file" >&6;}
852 cat "$ac_site_file" >&5
857 if test -r "$cache_file"; then
858 # Some versions of bash will fail to source /dev/null (special
859 # files actually), so we avoid doing that.
860 if test -f "$cache_file"; then
861 { echo "$as_me:861: loading cache $cache_file" >&5
862 echo "$as_me: loading cache $cache_file" >&6;}
864 [\\/]* | ?:[\\/]* ) . $cache_file;;
869 { echo "$as_me:869: creating cache $cache_file" >&5
870 echo "$as_me: creating cache $cache_file" >&6;}
874 # Check that the precious variables saved in the cache have kept the same
876 ac_cache_corrupted=false
877 for ac_var in `(set) 2>&1 |
878 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
879 eval ac_old_set=\$ac_cv_env_${ac_var}_set
880 eval ac_new_set=\$ac_env_${ac_var}_set
881 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
882 eval ac_new_val="\$ac_env_${ac_var}_value"
883 case $ac_old_set,$ac_new_set in
885 { echo "$as_me:885: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
886 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
887 ac_cache_corrupted=: ;;
889 { echo "$as_me:889: error: \`$ac_var' was not set in the previous run" >&5
890 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
891 ac_cache_corrupted=: ;;
894 if test "x$ac_old_val" != "x$ac_new_val"; then
895 { echo "$as_me:895: error: \`$ac_var' has changed since the previous run:" >&5
896 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
897 { echo "$as_me:897: former value: $ac_old_val" >&5
898 echo "$as_me: former value: $ac_old_val" >&2;}
899 { echo "$as_me:899: current value: $ac_new_val" >&5
900 echo "$as_me: current value: $ac_new_val" >&2;}
904 # Pass precious variables to config.status. It doesn't matter if
905 # we pass some twice (in addition to the command line arguments).
906 if test "$ac_new_set" = set; then
908 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
909 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
910 ac_configure_args="$ac_configure_args '$ac_arg'"
912 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
917 if $ac_cache_corrupted; then
918 { echo "$as_me:918: error: changes in the environment can compromise the build" >&5
919 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
920 { { echo "$as_me:920: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
921 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
922 { (exit 1); exit 1; }; }
926 ac_cpp='$CPP $CPPFLAGS'
927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
931 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
932 *c*,-n*) ECHO_N= ECHO_C='
934 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
935 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
937 echo "#! $SHELL" >conftest.sh
938 echo "exit 0" >>conftest.sh
940 if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&5
941 (PATH=".;."; conftest.sh) 2>&5
943 echo "$as_me:943: \$? = $ac_status" >&5
944 (exit $ac_status); }; then
945 ac_path_separator=';'
949 PATH_SEPARATOR="$ac_path_separator"
952 ac_config_files="$ac_config_files tests/Makefile"
954 # Checks for programs.
956 ac_cpp='$CPP $CPPFLAGS'
957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
960 if test -n "$ac_tool_prefix"; then
961 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
962 set dummy ${ac_tool_prefix}gcc; ac_word=$2
963 echo "$as_me:963: checking for $ac_word" >&5
964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
965 if test "${ac_cv_prog_CC+set}" = set; then
966 echo $ECHO_N "(cached) $ECHO_C" >&6
968 if test -n "$CC"; then
969 ac_cv_prog_CC="$CC" # Let the user override the test.
971 ac_save_IFS=$IFS; IFS=$ac_path_separator
973 for ac_dir in $ac_dummy; do
975 test -z "$ac_dir" && ac_dir=.
976 $as_executable_p "$ac_dir/$ac_word" || continue
977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
978 echo "$as_me:978: found $ac_dir/$ac_word" >&5
985 if test -n "$CC"; then
986 echo "$as_me:986: result: $CC" >&5
987 echo "${ECHO_T}$CC" >&6
989 echo "$as_me:989: result: no" >&5
990 echo "${ECHO_T}no" >&6
994 if test -z "$ac_cv_prog_CC"; then
996 # Extract the first word of "gcc", so it can be a program name with args.
997 set dummy gcc; ac_word=$2
998 echo "$as_me:998: checking for $ac_word" >&5
999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1000 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1001 echo $ECHO_N "(cached) $ECHO_C" >&6
1003 if test -n "$ac_ct_CC"; then
1004 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1006 ac_save_IFS=$IFS; IFS=$ac_path_separator
1008 for ac_dir in $ac_dummy; do
1010 test -z "$ac_dir" && ac_dir=.
1011 $as_executable_p "$ac_dir/$ac_word" || continue
1012 ac_cv_prog_ac_ct_CC="gcc"
1013 echo "$as_me:1013: found $ac_dir/$ac_word" >&5
1019 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1020 if test -n "$ac_ct_CC"; then
1021 echo "$as_me:1021: result: $ac_ct_CC" >&5
1022 echo "${ECHO_T}$ac_ct_CC" >&6
1024 echo "$as_me:1024: result: no" >&5
1025 echo "${ECHO_T}no" >&6
1033 if test -z "$CC"; then
1034 if test -n "$ac_tool_prefix"; then
1035 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1036 set dummy ${ac_tool_prefix}cc; ac_word=$2
1037 echo "$as_me:1037: checking for $ac_word" >&5
1038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1039 if test "${ac_cv_prog_CC+set}" = set; then
1040 echo $ECHO_N "(cached) $ECHO_C" >&6
1042 if test -n "$CC"; then
1043 ac_cv_prog_CC="$CC" # Let the user override the test.
1045 ac_save_IFS=$IFS; IFS=$ac_path_separator
1047 for ac_dir in $ac_dummy; do
1049 test -z "$ac_dir" && ac_dir=.
1050 $as_executable_p "$ac_dir/$ac_word" || continue
1051 ac_cv_prog_CC="${ac_tool_prefix}cc"
1052 echo "$as_me:1052: found $ac_dir/$ac_word" >&5
1059 if test -n "$CC"; then
1060 echo "$as_me:1060: result: $CC" >&5
1061 echo "${ECHO_T}$CC" >&6
1063 echo "$as_me:1063: result: no" >&5
1064 echo "${ECHO_T}no" >&6
1068 if test -z "$ac_cv_prog_CC"; then
1070 # Extract the first word of "cc", so it can be a program name with args.
1071 set dummy cc; ac_word=$2
1072 echo "$as_me:1072: checking for $ac_word" >&5
1073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1075 echo $ECHO_N "(cached) $ECHO_C" >&6
1077 if test -n "$ac_ct_CC"; then
1078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1080 ac_save_IFS=$IFS; IFS=$ac_path_separator
1082 for ac_dir in $ac_dummy; do
1084 test -z "$ac_dir" && ac_dir=.
1085 $as_executable_p "$ac_dir/$ac_word" || continue
1086 ac_cv_prog_ac_ct_CC="cc"
1087 echo "$as_me:1087: found $ac_dir/$ac_word" >&5
1093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1094 if test -n "$ac_ct_CC"; then
1095 echo "$as_me:1095: result: $ac_ct_CC" >&5
1096 echo "${ECHO_T}$ac_ct_CC" >&6
1098 echo "$as_me:1098: result: no" >&5
1099 echo "${ECHO_T}no" >&6
1108 if test -z "$CC"; then
1109 # Extract the first word of "cc", so it can be a program name with args.
1110 set dummy cc; ac_word=$2
1111 echo "$as_me:1111: checking for $ac_word" >&5
1112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1113 if test "${ac_cv_prog_CC+set}" = set; then
1114 echo $ECHO_N "(cached) $ECHO_C" >&6
1116 if test -n "$CC"; then
1117 ac_cv_prog_CC="$CC" # Let the user override the test.
1120 ac_save_IFS=$IFS; IFS=$ac_path_separator
1122 for ac_dir in $ac_dummy; do
1124 test -z "$ac_dir" && ac_dir=.
1125 $as_executable_p "$ac_dir/$ac_word" || continue
1126 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1127 ac_prog_rejected=yes
1131 echo "$as_me:1131: found $ac_dir/$ac_word" >&5
1135 if test $ac_prog_rejected = yes; then
1136 # We found a bogon in the path, so make sure we never use it.
1137 set dummy $ac_cv_prog_CC
1139 if test $# != 0; then
1140 # We chose a different compiler from the bogus one.
1141 # However, it has the same basename, so the bogon will be chosen
1142 # first if we set CC to just the basename; use the full file name.
1144 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1152 if test -n "$CC"; then
1153 echo "$as_me:1153: result: $CC" >&5
1154 echo "${ECHO_T}$CC" >&6
1156 echo "$as_me:1156: result: no" >&5
1157 echo "${ECHO_T}no" >&6
1161 if test -z "$CC"; then
1162 if test -n "$ac_tool_prefix"; then
1165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1166 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1167 echo "$as_me:1167: checking for $ac_word" >&5
1168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1169 if test "${ac_cv_prog_CC+set}" = set; then
1170 echo $ECHO_N "(cached) $ECHO_C" >&6
1172 if test -n "$CC"; then
1173 ac_cv_prog_CC="$CC" # Let the user override the test.
1175 ac_save_IFS=$IFS; IFS=$ac_path_separator
1177 for ac_dir in $ac_dummy; do
1179 test -z "$ac_dir" && ac_dir=.
1180 $as_executable_p "$ac_dir/$ac_word" || continue
1181 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1182 echo "$as_me:1182: found $ac_dir/$ac_word" >&5
1189 if test -n "$CC"; then
1190 echo "$as_me:1190: result: $CC" >&5
1191 echo "${ECHO_T}$CC" >&6
1193 echo "$as_me:1193: result: no" >&5
1194 echo "${ECHO_T}no" >&6
1197 test -n "$CC" && break
1200 if test -z "$CC"; then
1204 # Extract the first word of "$ac_prog", so it can be a program name with args.
1205 set dummy $ac_prog; ac_word=$2
1206 echo "$as_me:1206: checking for $ac_word" >&5
1207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1209 echo $ECHO_N "(cached) $ECHO_C" >&6
1211 if test -n "$ac_ct_CC"; then
1212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1214 ac_save_IFS=$IFS; IFS=$ac_path_separator
1216 for ac_dir in $ac_dummy; do
1218 test -z "$ac_dir" && ac_dir=.
1219 $as_executable_p "$ac_dir/$ac_word" || continue
1220 ac_cv_prog_ac_ct_CC="$ac_prog"
1221 echo "$as_me:1221: found $ac_dir/$ac_word" >&5
1227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1228 if test -n "$ac_ct_CC"; then
1229 echo "$as_me:1229: result: $ac_ct_CC" >&5
1230 echo "${ECHO_T}$ac_ct_CC" >&6
1232 echo "$as_me:1232: result: no" >&5
1233 echo "${ECHO_T}no" >&6
1236 test -n "$ac_ct_CC" && break
1244 test -z "$CC" && { { echo "$as_me:1244: error: no acceptable cc found in \$PATH" >&5
1245 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1246 { (exit 1); exit 1; }; }
1248 # Provide some information about the compiler.
1249 echo "$as_me:1249:" \
1250 "checking for C compiler version" >&5
1251 ac_compiler=`set X $ac_compile; echo $2`
1252 { (eval echo "$as_me:1252: \"$ac_compiler --version </dev/null >&5\"") >&5
1253 (eval $ac_compiler --version </dev/null >&5) 2>&5
1255 echo "$as_me:1255: \$? = $ac_status" >&5
1256 (exit $ac_status); }
1257 { (eval echo "$as_me:1257: \"$ac_compiler -v </dev/null >&5\"") >&5
1258 (eval $ac_compiler -v </dev/null >&5) 2>&5
1260 echo "$as_me:1260: \$? = $ac_status" >&5
1261 (exit $ac_status); }
1262 { (eval echo "$as_me:1262: \"$ac_compiler -V </dev/null >&5\"") >&5
1263 (eval $ac_compiler -V </dev/null >&5) 2>&5
1265 echo "$as_me:1265: \$? = $ac_status" >&5
1266 (exit $ac_status); }
1268 cat >conftest.$ac_ext <<_ACEOF
1269 #line 1269 "configure"
1270 #include "confdefs.h"
1280 ac_clean_files_save=$ac_clean_files
1281 ac_clean_files="$ac_clean_files a.out a.exe"
1282 # Try to create an executable without -o first, disregard a.out.
1283 # It will help us diagnose broken compilers, and finding out an intuition
1285 echo "$as_me:1285: checking for C compiler default output" >&5
1286 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1287 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1288 if { (eval echo "$as_me:1288: \"$ac_link_default\"") >&5
1289 (eval $ac_link_default) 2>&5
1291 echo "$as_me:1291: \$? = $ac_status" >&5
1292 (exit $ac_status); }; then
1293 # Find the output, starting from the most likely. This scheme is
1294 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1296 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1297 ls a.out conftest 2>/dev/null;
1298 ls a.* conftest.* 2>/dev/null`; do
1300 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1301 a.out ) # We found the default executable, but exeext='' is most
1304 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1305 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1312 echo "$as_me: failed program was:" >&5
1313 cat conftest.$ac_ext >&5
1314 { { echo "$as_me:1314: error: C compiler cannot create executables" >&5
1315 echo "$as_me: error: C compiler cannot create executables" >&2;}
1316 { (exit 77); exit 77; }; }
1319 ac_exeext=$ac_cv_exeext
1320 echo "$as_me:1320: result: $ac_file" >&5
1321 echo "${ECHO_T}$ac_file" >&6
1323 # Check the compiler produces executables we can run. If not, either
1324 # the compiler is broken, or we cross compile.
1325 echo "$as_me:1325: checking whether the C compiler works" >&5
1326 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1327 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1328 # If not cross compiling, check that we can run a simple program.
1329 if test "$cross_compiling" != yes; then
1330 if { ac_try='./$ac_file'
1331 { (eval echo "$as_me:1331: \"$ac_try\"") >&5
1334 echo "$as_me:1334: \$? = $ac_status" >&5
1335 (exit $ac_status); }; }; then
1338 if test "$cross_compiling" = maybe; then
1341 { { echo "$as_me:1341: error: cannot run C compiled programs.
1342 If you meant to cross compile, use \`--host'." >&5
1343 echo "$as_me: error: cannot run C compiled programs.
1344 If you meant to cross compile, use \`--host'." >&2;}
1345 { (exit 1); exit 1; }; }
1349 echo "$as_me:1349: result: yes" >&5
1350 echo "${ECHO_T}yes" >&6
1352 rm -f a.out a.exe conftest$ac_cv_exeext
1353 ac_clean_files=$ac_clean_files_save
1354 # Check the compiler produces executables we can run. If not, either
1355 # the compiler is broken, or we cross compile.
1356 echo "$as_me:1356: checking whether we are cross compiling" >&5
1357 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1358 echo "$as_me:1358: result: $cross_compiling" >&5
1359 echo "${ECHO_T}$cross_compiling" >&6
1361 echo "$as_me:1361: checking for executable suffix" >&5
1362 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1363 if { (eval echo "$as_me:1363: \"$ac_link\"") >&5
1364 (eval $ac_link) 2>&5
1366 echo "$as_me:1366: \$? = $ac_status" >&5
1367 (exit $ac_status); }; then
1368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1370 # work properly (i.e., refer to `conftest.exe'), while it won't with
1372 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1374 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1375 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1382 { { echo "$as_me:1382: error: cannot compute EXEEXT: cannot compile and link" >&5
1383 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1384 { (exit 1); exit 1; }; }
1387 rm -f conftest$ac_cv_exeext
1388 echo "$as_me:1388: result: $ac_cv_exeext" >&5
1389 echo "${ECHO_T}$ac_cv_exeext" >&6
1391 rm -f conftest.$ac_ext
1392 EXEEXT=$ac_cv_exeext
1394 echo "$as_me:1394: checking for object suffix" >&5
1395 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1396 if test "${ac_cv_objext+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 cat >conftest.$ac_ext <<_ACEOF
1400 #line 1400 "configure"
1401 #include "confdefs.h"
1411 rm -f conftest.o conftest.obj
1412 if { (eval echo "$as_me:1412: \"$ac_compile\"") >&5
1413 (eval $ac_compile) 2>&5
1415 echo "$as_me:1415: \$? = $ac_status" >&5
1416 (exit $ac_status); }; then
1417 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1425 echo "$as_me: failed program was:" >&5
1426 cat conftest.$ac_ext >&5
1427 { { echo "$as_me:1427: error: cannot compute OBJEXT: cannot compile" >&5
1428 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1429 { (exit 1); exit 1; }; }
1432 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1434 echo "$as_me:1434: result: $ac_cv_objext" >&5
1435 echo "${ECHO_T}$ac_cv_objext" >&6
1436 OBJEXT=$ac_cv_objext
1438 echo "$as_me:1438: checking whether we are using the GNU C compiler" >&5
1439 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1440 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 cat >conftest.$ac_ext <<_ACEOF
1444 #line 1444 "configure"
1445 #include "confdefs.h"
1458 rm -f conftest.$ac_objext
1459 if { (eval echo "$as_me:1459: \"$ac_compile\"") >&5
1460 (eval $ac_compile) 2>&5
1462 echo "$as_me:1462: \$? = $ac_status" >&5
1463 (exit $ac_status); } &&
1464 { ac_try='test -s conftest.$ac_objext'
1465 { (eval echo "$as_me:1465: \"$ac_try\"") >&5
1468 echo "$as_me:1468: \$? = $ac_status" >&5
1469 (exit $ac_status); }; }; then
1472 echo "$as_me: failed program was:" >&5
1473 cat conftest.$ac_ext >&5
1476 rm -f conftest.$ac_objext conftest.$ac_ext
1477 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1480 echo "$as_me:1480: result: $ac_cv_c_compiler_gnu" >&5
1481 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1482 GCC=`test $ac_compiler_gnu = yes && echo yes`
1483 ac_test_CFLAGS=${CFLAGS+set}
1484 ac_save_CFLAGS=$CFLAGS
1486 echo "$as_me:1486: checking whether $CC accepts -g" >&5
1487 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1488 if test "${ac_cv_prog_cc_g+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 cat >conftest.$ac_ext <<_ACEOF
1492 #line 1492 "configure"
1493 #include "confdefs.h"
1503 rm -f conftest.$ac_objext
1504 if { (eval echo "$as_me:1504: \"$ac_compile\"") >&5
1505 (eval $ac_compile) 2>&5
1507 echo "$as_me:1507: \$? = $ac_status" >&5
1508 (exit $ac_status); } &&
1509 { ac_try='test -s conftest.$ac_objext'
1510 { (eval echo "$as_me:1510: \"$ac_try\"") >&5
1513 echo "$as_me:1513: \$? = $ac_status" >&5
1514 (exit $ac_status); }; }; then
1517 echo "$as_me: failed program was:" >&5
1518 cat conftest.$ac_ext >&5
1521 rm -f conftest.$ac_objext conftest.$ac_ext
1523 echo "$as_me:1523: result: $ac_cv_prog_cc_g" >&5
1524 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1525 if test "$ac_test_CFLAGS" = set; then
1526 CFLAGS=$ac_save_CFLAGS
1527 elif test $ac_cv_prog_cc_g = yes; then
1528 if test "$GCC" = yes; then
1534 if test "$GCC" = yes; then
1540 # Some people use a C++ compiler to compile C. Since we use `exit',
1541 # in C++ we need to declare it. In case someone uses the same compiler
1542 # for both compiling C and C++ we need to have the C++ compiler decide
1543 # the declaration of exit, since it's the most demanding environment.
1544 cat >conftest.$ac_ext <<_ACEOF
1549 rm -f conftest.$ac_objext
1550 if { (eval echo "$as_me:1550: \"$ac_compile\"") >&5
1551 (eval $ac_compile) 2>&5
1553 echo "$as_me:1553: \$? = $ac_status" >&5
1554 (exit $ac_status); } &&
1555 { ac_try='test -s conftest.$ac_objext'
1556 { (eval echo "$as_me:1556: \"$ac_try\"") >&5
1559 echo "$as_me:1559: \$? = $ac_status" >&5
1560 (exit $ac_status); }; }; then
1561 for ac_declaration in \
1563 '#include <stdlib.h>' \
1564 'extern "C" void std::exit (int) throw (); using std::exit;' \
1565 'extern "C" void std::exit (int); using std::exit;' \
1566 'extern "C" void exit (int) throw ();' \
1567 'extern "C" void exit (int);' \
1570 cat >conftest.$ac_ext <<_ACEOF
1571 #line 1571 "configure"
1572 #include "confdefs.h"
1583 rm -f conftest.$ac_objext
1584 if { (eval echo "$as_me:1584: \"$ac_compile\"") >&5
1585 (eval $ac_compile) 2>&5
1587 echo "$as_me:1587: \$? = $ac_status" >&5
1588 (exit $ac_status); } &&
1589 { ac_try='test -s conftest.$ac_objext'
1590 { (eval echo "$as_me:1590: \"$ac_try\"") >&5
1593 echo "$as_me:1593: \$? = $ac_status" >&5
1594 (exit $ac_status); }; }; then
1597 echo "$as_me: failed program was:" >&5
1598 cat conftest.$ac_ext >&5
1601 rm -f conftest.$ac_objext conftest.$ac_ext
1602 cat >conftest.$ac_ext <<_ACEOF
1603 #line 1603 "configure"
1604 #include "confdefs.h"
1614 rm -f conftest.$ac_objext
1615 if { (eval echo "$as_me:1615: \"$ac_compile\"") >&5
1616 (eval $ac_compile) 2>&5
1618 echo "$as_me:1618: \$? = $ac_status" >&5
1619 (exit $ac_status); } &&
1620 { ac_try='test -s conftest.$ac_objext'
1621 { (eval echo "$as_me:1621: \"$ac_try\"") >&5
1624 echo "$as_me:1624: \$? = $ac_status" >&5
1625 (exit $ac_status); }; }; then
1628 echo "$as_me: failed program was:" >&5
1629 cat conftest.$ac_ext >&5
1631 rm -f conftest.$ac_objext conftest.$ac_ext
1634 if test -n "$ac_declaration"; then
1635 echo '#ifdef __cplusplus' >>confdefs.h
1636 echo $ac_declaration >>confdefs.h
1637 echo '#endif' >>confdefs.h
1641 echo "$as_me: failed program was:" >&5
1642 cat conftest.$ac_ext >&5
1644 rm -f conftest.$ac_objext conftest.$ac_ext
1646 ac_cpp='$CPP $CPPFLAGS'
1647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1652 ac_cpp='$CXXCPP $CPPFLAGS'
1653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1656 if test -n "$ac_tool_prefix"; then
1657 for ac_prog in $CCC CC g++ c++ cxx
1659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1661 echo "$as_me:1661: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_CXX+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$CXX"; then
1667 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1669 ac_save_IFS=$IFS; IFS=$ac_path_separator
1671 for ac_dir in $ac_dummy; do
1673 test -z "$ac_dir" && ac_dir=.
1674 $as_executable_p "$ac_dir/$ac_word" || continue
1675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1676 echo "$as_me:1676: found $ac_dir/$ac_word" >&5
1683 if test -n "$CXX"; then
1684 echo "$as_me:1684: result: $CXX" >&5
1685 echo "${ECHO_T}$CXX" >&6
1687 echo "$as_me:1687: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1691 test -n "$CXX" && break
1694 if test -z "$CXX"; then
1696 for ac_prog in $CCC CC g++ c++ cxx
1698 # Extract the first word of "$ac_prog", so it can be a program name with args.
1699 set dummy $ac_prog; ac_word=$2
1700 echo "$as_me:1700: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 if test -n "$ac_ct_CXX"; then
1706 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1708 ac_save_IFS=$IFS; IFS=$ac_path_separator
1710 for ac_dir in $ac_dummy; do
1712 test -z "$ac_dir" && ac_dir=.
1713 $as_executable_p "$ac_dir/$ac_word" || continue
1714 ac_cv_prog_ac_ct_CXX="$ac_prog"
1715 echo "$as_me:1715: found $ac_dir/$ac_word" >&5
1721 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1722 if test -n "$ac_ct_CXX"; then
1723 echo "$as_me:1723: result: $ac_ct_CXX" >&5
1724 echo "${ECHO_T}$ac_ct_CXX" >&6
1726 echo "$as_me:1726: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1730 test -n "$ac_ct_CXX" && break
1732 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1737 # Provide some information about the compiler.
1738 echo "$as_me:1738:" \
1739 "checking for C++ compiler version" >&5
1740 ac_compiler=`set X $ac_compile; echo $2`
1741 { (eval echo "$as_me:1741: \"$ac_compiler --version </dev/null >&5\"") >&5
1742 (eval $ac_compiler --version </dev/null >&5) 2>&5
1744 echo "$as_me:1744: \$? = $ac_status" >&5
1745 (exit $ac_status); }
1746 { (eval echo "$as_me:1746: \"$ac_compiler -v </dev/null >&5\"") >&5
1747 (eval $ac_compiler -v </dev/null >&5) 2>&5
1749 echo "$as_me:1749: \$? = $ac_status" >&5
1750 (exit $ac_status); }
1751 { (eval echo "$as_me:1751: \"$ac_compiler -V </dev/null >&5\"") >&5
1752 (eval $ac_compiler -V </dev/null >&5) 2>&5
1754 echo "$as_me:1754: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1757 echo "$as_me:1757: checking whether we are using the GNU C++ compiler" >&5
1758 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1759 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 cat >conftest.$ac_ext <<_ACEOF
1763 #line 1763 "configure"
1764 #include "confdefs.h"
1777 rm -f conftest.$ac_objext
1778 if { (eval echo "$as_me:1778: \"$ac_compile\"") >&5
1779 (eval $ac_compile) 2>&5
1781 echo "$as_me:1781: \$? = $ac_status" >&5
1782 (exit $ac_status); } &&
1783 { ac_try='test -s conftest.$ac_objext'
1784 { (eval echo "$as_me:1784: \"$ac_try\"") >&5
1787 echo "$as_me:1787: \$? = $ac_status" >&5
1788 (exit $ac_status); }; }; then
1791 echo "$as_me: failed program was:" >&5
1792 cat conftest.$ac_ext >&5
1795 rm -f conftest.$ac_objext conftest.$ac_ext
1796 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1799 echo "$as_me:1799: result: $ac_cv_cxx_compiler_gnu" >&5
1800 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1801 GXX=`test $ac_compiler_gnu = yes && echo yes`
1802 ac_test_CXXFLAGS=${CXXFLAGS+set}
1803 ac_save_CXXFLAGS=$CXXFLAGS
1805 echo "$as_me:1805: checking whether $CXX accepts -g" >&5
1806 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1807 if test "${ac_cv_prog_cxx_g+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 cat >conftest.$ac_ext <<_ACEOF
1811 #line 1811 "configure"
1812 #include "confdefs.h"
1822 rm -f conftest.$ac_objext
1823 if { (eval echo "$as_me:1823: \"$ac_compile\"") >&5
1824 (eval $ac_compile) 2>&5
1826 echo "$as_me:1826: \$? = $ac_status" >&5
1827 (exit $ac_status); } &&
1828 { ac_try='test -s conftest.$ac_objext'
1829 { (eval echo "$as_me:1829: \"$ac_try\"") >&5
1832 echo "$as_me:1832: \$? = $ac_status" >&5
1833 (exit $ac_status); }; }; then
1834 ac_cv_prog_cxx_g=yes
1836 echo "$as_me: failed program was:" >&5
1837 cat conftest.$ac_ext >&5
1840 rm -f conftest.$ac_objext conftest.$ac_ext
1842 echo "$as_me:1842: result: $ac_cv_prog_cxx_g" >&5
1843 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1844 if test "$ac_test_CXXFLAGS" = set; then
1845 CXXFLAGS=$ac_save_CXXFLAGS
1846 elif test $ac_cv_prog_cxx_g = yes; then
1847 if test "$GXX" = yes; then
1853 if test "$GXX" = yes; then
1859 for ac_declaration in \
1861 '#include <stdlib.h>' \
1862 'extern "C" void std::exit (int) throw (); using std::exit;' \
1863 'extern "C" void std::exit (int); using std::exit;' \
1864 'extern "C" void exit (int) throw ();' \
1865 'extern "C" void exit (int);' \
1868 cat >conftest.$ac_ext <<_ACEOF
1869 #line 1869 "configure"
1870 #include "confdefs.h"
1881 rm -f conftest.$ac_objext
1882 if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
1883 (eval $ac_compile) 2>&5
1885 echo "$as_me:1885: \$? = $ac_status" >&5
1886 (exit $ac_status); } &&
1887 { ac_try='test -s conftest.$ac_objext'
1888 { (eval echo "$as_me:1888: \"$ac_try\"") >&5
1891 echo "$as_me:1891: \$? = $ac_status" >&5
1892 (exit $ac_status); }; }; then
1895 echo "$as_me: failed program was:" >&5
1896 cat conftest.$ac_ext >&5
1899 rm -f conftest.$ac_objext conftest.$ac_ext
1900 cat >conftest.$ac_ext <<_ACEOF
1901 #line 1901 "configure"
1902 #include "confdefs.h"
1912 rm -f conftest.$ac_objext
1913 if { (eval echo "$as_me:1913: \"$ac_compile\"") >&5
1914 (eval $ac_compile) 2>&5
1916 echo "$as_me:1916: \$? = $ac_status" >&5
1917 (exit $ac_status); } &&
1918 { ac_try='test -s conftest.$ac_objext'
1919 { (eval echo "$as_me:1919: \"$ac_try\"") >&5
1922 echo "$as_me:1922: \$? = $ac_status" >&5
1923 (exit $ac_status); }; }; then
1926 echo "$as_me: failed program was:" >&5
1927 cat conftest.$ac_ext >&5
1929 rm -f conftest.$ac_objext conftest.$ac_ext
1932 if test -n "$ac_declaration"; then
1933 echo '#ifdef __cplusplus' >>confdefs.h
1934 echo $ac_declaration >>confdefs.h
1935 echo '#endif' >>confdefs.h
1939 ac_cpp='$CPP $CPPFLAGS'
1940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1944 # Checks for libraries.
1946 echo "$as_me:1946: checking for pthread_create in -lpthread" >&5
1947 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
1948 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 ac_check_lib_save_LIBS=$LIBS
1952 LIBS="-lpthread $LIBS"
1953 cat >conftest.$ac_ext <<_ACEOF
1954 #line 1954 "configure"
1955 #include "confdefs.h"
1957 /* Override any gcc2 internal prototype to avoid an error. */
1961 /* We use char because int might match the return type of a gcc2
1962 builtin and then its argument prototype would still apply. */
1963 char pthread_create ();
1972 rm -f conftest.$ac_objext conftest$ac_exeext
1973 if { (eval echo "$as_me:1973: \"$ac_link\"") >&5
1974 (eval $ac_link) 2>&5
1976 echo "$as_me:1976: \$? = $ac_status" >&5
1977 (exit $ac_status); } &&
1978 { ac_try='test -s conftest$ac_exeext'
1979 { (eval echo "$as_me:1979: \"$ac_try\"") >&5
1982 echo "$as_me:1982: \$? = $ac_status" >&5
1983 (exit $ac_status); }; }; then
1984 ac_cv_lib_pthread_pthread_create=yes
1986 echo "$as_me: failed program was:" >&5
1987 cat conftest.$ac_ext >&5
1988 ac_cv_lib_pthread_pthread_create=no
1990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1991 LIBS=$ac_check_lib_save_LIBS
1993 echo "$as_me:1993: result: $ac_cv_lib_pthread_pthread_create" >&5
1994 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
1995 if test $ac_cv_lib_pthread_pthread_create = yes; then
1996 cat >>confdefs.h <<EOF
1997 #define HAVE_LIBPTHREAD 1
2000 LIBS="-lpthread $LIBS"
2003 { { echo "$as_me:2003: error: RtAudio requires the pthread library!" >&5
2004 echo "$as_me: error: RtAudio requires the pthread library!" >&2;}
2005 { (exit 1); exit 1; }; }
2008 # Checks for header files.
2010 ac_cpp='$CPP $CPPFLAGS'
2011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2014 echo "$as_me:2014: checking how to run the C preprocessor" >&5
2015 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2016 # On Suns, sometimes $CPP names a directory.
2017 if test -n "$CPP" && test -d "$CPP"; then
2020 if test -z "$CPP"; then
2021 if test "${ac_cv_prog_CPP+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 # Double quotes because CPP needs to be expanded
2025 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2028 for ac_c_preproc_warn_flag in '' yes
2030 # Use a header file that comes with gcc, so configuring glibc
2031 # with a fresh cross-compiler works.
2032 # On the NeXT, cc -E runs the code through the compiler's parser,
2033 # not just through cpp. "Syntax error" is here to catch this case.
2034 cat >conftest.$ac_ext <<_ACEOF
2035 #line 2035 "configure"
2036 #include "confdefs.h"
2040 if { (eval echo "$as_me:2040: \"$ac_cpp conftest.$ac_ext\"") >&5
2041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2043 egrep -v '^ *\+' conftest.er1 >conftest.err
2045 cat conftest.err >&5
2046 echo "$as_me:2046: \$? = $ac_status" >&5
2047 (exit $ac_status); } >/dev/null; then
2048 if test -s conftest.err; then
2049 ac_cpp_err=$ac_c_preproc_warn_flag
2056 if test -z "$ac_cpp_err"; then
2059 echo "$as_me: failed program was:" >&5
2060 cat conftest.$ac_ext >&5
2061 # Broken: fails on valid input.
2064 rm -f conftest.err conftest.$ac_ext
2066 # OK, works on sane cases. Now check whether non-existent headers
2067 # can be detected and how.
2068 cat >conftest.$ac_ext <<_ACEOF
2069 #line 2069 "configure"
2070 #include "confdefs.h"
2071 #include <ac_nonexistent.h>
2073 if { (eval echo "$as_me:2073: \"$ac_cpp conftest.$ac_ext\"") >&5
2074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2076 egrep -v '^ *\+' conftest.er1 >conftest.err
2078 cat conftest.err >&5
2079 echo "$as_me:2079: \$? = $ac_status" >&5
2080 (exit $ac_status); } >/dev/null; then
2081 if test -s conftest.err; then
2082 ac_cpp_err=$ac_c_preproc_warn_flag
2089 if test -z "$ac_cpp_err"; then
2090 # Broken: success on invalid input.
2093 echo "$as_me: failed program was:" >&5
2094 cat conftest.$ac_ext >&5
2095 # Passes both tests.
2099 rm -f conftest.err conftest.$ac_ext
2102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2103 rm -f conftest.err conftest.$ac_ext
2104 if $ac_preproc_ok; then
2116 echo "$as_me:2116: result: $CPP" >&5
2117 echo "${ECHO_T}$CPP" >&6
2119 for ac_c_preproc_warn_flag in '' yes
2121 # Use a header file that comes with gcc, so configuring glibc
2122 # with a fresh cross-compiler works.
2123 # On the NeXT, cc -E runs the code through the compiler's parser,
2124 # not just through cpp. "Syntax error" is here to catch this case.
2125 cat >conftest.$ac_ext <<_ACEOF
2126 #line 2126 "configure"
2127 #include "confdefs.h"
2131 if { (eval echo "$as_me:2131: \"$ac_cpp conftest.$ac_ext\"") >&5
2132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2134 egrep -v '^ *\+' conftest.er1 >conftest.err
2136 cat conftest.err >&5
2137 echo "$as_me:2137: \$? = $ac_status" >&5
2138 (exit $ac_status); } >/dev/null; then
2139 if test -s conftest.err; then
2140 ac_cpp_err=$ac_c_preproc_warn_flag
2147 if test -z "$ac_cpp_err"; then
2150 echo "$as_me: failed program was:" >&5
2151 cat conftest.$ac_ext >&5
2152 # Broken: fails on valid input.
2155 rm -f conftest.err conftest.$ac_ext
2157 # OK, works on sane cases. Now check whether non-existent headers
2158 # can be detected and how.
2159 cat >conftest.$ac_ext <<_ACEOF
2160 #line 2160 "configure"
2161 #include "confdefs.h"
2162 #include <ac_nonexistent.h>
2164 if { (eval echo "$as_me:2164: \"$ac_cpp conftest.$ac_ext\"") >&5
2165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2167 egrep -v '^ *\+' conftest.er1 >conftest.err
2169 cat conftest.err >&5
2170 echo "$as_me:2170: \$? = $ac_status" >&5
2171 (exit $ac_status); } >/dev/null; then
2172 if test -s conftest.err; then
2173 ac_cpp_err=$ac_c_preproc_warn_flag
2180 if test -z "$ac_cpp_err"; then
2181 # Broken: success on invalid input.
2184 echo "$as_me: failed program was:" >&5
2185 cat conftest.$ac_ext >&5
2186 # Passes both tests.
2190 rm -f conftest.err conftest.$ac_ext
2193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2194 rm -f conftest.err conftest.$ac_ext
2195 if $ac_preproc_ok; then
2198 { { echo "$as_me:2198: error: C preprocessor \"$CPP\" fails sanity check" >&5
2199 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2200 { (exit 1); exit 1; }; }
2204 ac_cpp='$CPP $CPPFLAGS'
2205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2209 echo "$as_me:2209: checking for ANSI C header files" >&5
2210 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2211 if test "${ac_cv_header_stdc+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 cat >conftest.$ac_ext <<_ACEOF
2215 #line 2215 "configure"
2216 #include "confdefs.h"
2223 if { (eval echo "$as_me:2223: \"$ac_cpp conftest.$ac_ext\"") >&5
2224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2226 egrep -v '^ *\+' conftest.er1 >conftest.err
2228 cat conftest.err >&5
2229 echo "$as_me:2229: \$? = $ac_status" >&5
2230 (exit $ac_status); } >/dev/null; then
2231 if test -s conftest.err; then
2232 ac_cpp_err=$ac_c_preproc_warn_flag
2239 if test -z "$ac_cpp_err"; then
2240 ac_cv_header_stdc=yes
2242 echo "$as_me: failed program was:" >&5
2243 cat conftest.$ac_ext >&5
2244 ac_cv_header_stdc=no
2246 rm -f conftest.err conftest.$ac_ext
2248 if test $ac_cv_header_stdc = yes; then
2249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2250 cat >conftest.$ac_ext <<_ACEOF
2251 #line 2251 "configure"
2252 #include "confdefs.h"
2256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2257 egrep "memchr" >/dev/null 2>&1; then
2260 ac_cv_header_stdc=no
2266 if test $ac_cv_header_stdc = yes; then
2267 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2268 cat >conftest.$ac_ext <<_ACEOF
2269 #line 2269 "configure"
2270 #include "confdefs.h"
2274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2275 egrep "free" >/dev/null 2>&1; then
2278 ac_cv_header_stdc=no
2284 if test $ac_cv_header_stdc = yes; then
2285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2286 if test "$cross_compiling" = yes; then
2289 cat >conftest.$ac_ext <<_ACEOF
2290 #line 2290 "configure"
2291 #include "confdefs.h"
2293 #if ((' ' & 0x0FF) == 0x020)
2294 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2295 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2297 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2298 || ('j' <= (c) && (c) <= 'r') \
2299 || ('s' <= (c) && (c) <= 'z'))
2300 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2303 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2308 for (i = 0; i < 256; i++)
2309 if (XOR (islower (i), ISLOWER (i))
2310 || toupper (i) != TOUPPER (i))
2315 rm -f conftest$ac_exeext
2316 if { (eval echo "$as_me:2316: \"$ac_link\"") >&5
2317 (eval $ac_link) 2>&5
2319 echo "$as_me:2319: \$? = $ac_status" >&5
2320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2321 { (eval echo "$as_me:2321: \"$ac_try\"") >&5
2324 echo "$as_me:2324: \$? = $ac_status" >&5
2325 (exit $ac_status); }; }; then
2328 echo "$as_me: program exited with status $ac_status" >&5
2329 echo "$as_me: failed program was:" >&5
2330 cat conftest.$ac_ext >&5
2331 ac_cv_header_stdc=no
2333 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2337 echo "$as_me:2337: result: $ac_cv_header_stdc" >&5
2338 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2339 if test $ac_cv_header_stdc = yes; then
2341 cat >>confdefs.h <<\EOF
2342 #define STDC_HEADERS 1
2347 for ac_header in sys/ioctl.h unistd.h
2349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2350 echo "$as_me:2350: checking for $ac_header" >&5
2351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 cat >conftest.$ac_ext <<_ACEOF
2356 #line 2356 "configure"
2357 #include "confdefs.h"
2358 #include <$ac_header>
2360 if { (eval echo "$as_me:2360: \"$ac_cpp conftest.$ac_ext\"") >&5
2361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2363 egrep -v '^ *\+' conftest.er1 >conftest.err
2365 cat conftest.err >&5
2366 echo "$as_me:2366: \$? = $ac_status" >&5
2367 (exit $ac_status); } >/dev/null; then
2368 if test -s conftest.err; then
2369 ac_cpp_err=$ac_c_preproc_warn_flag
2376 if test -z "$ac_cpp_err"; then
2377 eval "$as_ac_Header=yes"
2379 echo "$as_me: failed program was:" >&5
2380 cat conftest.$ac_ext >&5
2381 eval "$as_ac_Header=no"
2383 rm -f conftest.err conftest.$ac_ext
2385 echo "$as_me:2385: result: `eval echo '${'$as_ac_Header'}'`" >&5
2386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2388 cat >>confdefs.h <<EOF
2389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2395 # Checks for typedefs, structures, and compiler characteristics.
2396 echo "$as_me:2396: checking for $CC option to accept ANSI C" >&5
2397 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2398 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 ac_cv_prog_cc_stdc=no
2403 cat >conftest.$ac_ext <<_ACEOF
2404 #line 2404 "configure"
2405 #include "confdefs.h"
2408 #include <sys/types.h>
2409 #include <sys/stat.h>
2410 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2411 struct buf { int x; };
2412 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2413 static char *e (p, i)
2419 static char *f (char * (*g) (char **, int), char **p, ...)
2424 s = g (p, va_arg (v,int));
2428 int test (int i, double x);
2429 struct s1 {int (*f) (int a);};
2430 struct s2 {int (*f) (double a);};
2431 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2437 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2442 # Don't try gcc -ansi; that turns off useful extensions and
2443 # breaks some systems' header files.
2444 # AIX -qlanglvl=ansi
2445 # Ultrix and OSF/1 -std1
2446 # HP-UX 10.20 and later -Ae
2447 # HP-UX older versions -Aa -D_HPUX_SOURCE
2448 # SVR4 -Xc -D__EXTENSIONS__
2449 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2451 CC="$ac_save_CC $ac_arg"
2452 rm -f conftest.$ac_objext
2453 if { (eval echo "$as_me:2453: \"$ac_compile\"") >&5
2454 (eval $ac_compile) 2>&5
2456 echo "$as_me:2456: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try='test -s conftest.$ac_objext'
2459 { (eval echo "$as_me:2459: \"$ac_try\"") >&5
2462 echo "$as_me:2462: \$? = $ac_status" >&5
2463 (exit $ac_status); }; }; then
2464 ac_cv_prog_cc_stdc=$ac_arg
2467 echo "$as_me: failed program was:" >&5
2468 cat conftest.$ac_ext >&5
2470 rm -f conftest.$ac_objext
2472 rm -f conftest.$ac_ext conftest.$ac_objext
2477 case "x$ac_cv_prog_cc_stdc" in
2479 echo "$as_me:2479: result: none needed" >&5
2480 echo "${ECHO_T}none needed" >&6 ;;
2482 echo "$as_me:2482: result: $ac_cv_prog_cc_stdc" >&5
2483 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2484 CC="$CC $ac_cv_prog_cc_stdc" ;;
2487 echo "$as_me:2487: checking for an ANSI C-conforming const" >&5
2488 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2489 if test "${ac_cv_c_const+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 cat >conftest.$ac_ext <<_ACEOF
2493 #line 2493 "configure"
2494 #include "confdefs.h"
2499 /* FIXME: Include the comments suggested by Paul. */
2501 /* Ultrix mips cc rejects this. */
2502 typedef int charset[2];
2504 /* SunOS 4.1.1 cc rejects this. */
2505 char const *const *ccp;
2507 /* NEC SVR4.0.2 mips cc rejects this. */
2508 struct point {int x, y;};
2509 static struct point const zero = {0,0};
2510 /* AIX XL C 1.02.0.0 rejects this.
2511 It does not let you subtract one const X* pointer from another in
2512 an arm of an if-expression whose if-part is not a constant
2514 const char *g = "string";
2515 ccp = &g + (g ? g-g : 0);
2516 /* HPUX 7.0 cc rejects these. */
2519 ccp = (char const *const *) p;
2520 { /* SCO 3.2v4 cc rejects this. */
2522 char const *s = 0 ? (char *) 0 : (char const *) 0;
2526 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2528 const int *foo = &x[0];
2531 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2532 typedef const int *iptr;
2536 { /* AIX XL C 1.02.0.0 rejects this saying
2537 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2538 struct s { int j; const int *ap[3]; };
2539 struct s *b; b->j = 5;
2541 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2550 rm -f conftest.$ac_objext
2551 if { (eval echo "$as_me:2551: \"$ac_compile\"") >&5
2552 (eval $ac_compile) 2>&5
2554 echo "$as_me:2554: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 { ac_try='test -s conftest.$ac_objext'
2557 { (eval echo "$as_me:2557: \"$ac_try\"") >&5
2560 echo "$as_me:2560: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2564 echo "$as_me: failed program was:" >&5
2565 cat conftest.$ac_ext >&5
2568 rm -f conftest.$ac_objext conftest.$ac_ext
2570 echo "$as_me:2570: result: $ac_cv_c_const" >&5
2571 echo "${ECHO_T}$ac_cv_c_const" >&6
2572 if test $ac_cv_c_const = no; then
2574 cat >>confdefs.h <<\EOF
2581 echo "$as_me:2581: checking whether to compile debug version" >&5
2582 echo $ECHO_N "checking whether to compile debug version... $ECHO_C" >&6
2583 # Check whether --enable-debug or --disable-debug was given.
2584 if test "${enable_debug+set}" = set; then
2585 enableval="$enable_debug"
2586 debug=-D__RTAUDIO_DEBUG__
2589 echo "$as_me:2589: result: yes" >&5
2590 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:2595: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2599 # Check compiler and use -Wall if gnu.
2600 if test $GXX = "yes" ; then
2605 # Checks for package options and external software
2607 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2608 if test -f $ac_dir/install-sh; then
2610 ac_install_sh="$ac_aux_dir/install-sh -c"
2612 elif test -f $ac_dir/install.sh; then
2614 ac_install_sh="$ac_aux_dir/install.sh -c"
2616 elif test -f $ac_dir/shtool; then
2618 ac_install_sh="$ac_aux_dir/shtool install -c"
2622 if test -z "$ac_aux_dir"; then
2623 { { echo "$as_me:2623: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2624 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2625 { (exit 1); exit 1; }; }
2627 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2628 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2629 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2631 # Make sure we can run config.sub.
2632 $ac_config_sub sun4 >/dev/null 2>&1 ||
2633 { { echo "$as_me:2633: error: cannot run $ac_config_sub" >&5
2634 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2635 { (exit 1); exit 1; }; }
2637 echo "$as_me:2637: checking build system type" >&5
2638 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2639 if test "${ac_cv_build+set}" = set; then
2640 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 ac_cv_build_alias=$build_alias
2643 test -z "$ac_cv_build_alias" &&
2644 ac_cv_build_alias=`$ac_config_guess`
2645 test -z "$ac_cv_build_alias" &&
2646 { { echo "$as_me:2646: error: cannot guess build type; you must specify one" >&5
2647 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2648 { (exit 1); exit 1; }; }
2649 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2650 { { echo "$as_me:2650: error: $ac_config_sub $ac_cv_build_alias failed." >&5
2651 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
2652 { (exit 1); exit 1; }; }
2655 echo "$as_me:2655: result: $ac_cv_build" >&5
2656 echo "${ECHO_T}$ac_cv_build" >&6
2658 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2659 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2660 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2662 echo "$as_me:2662: checking host system type" >&5
2663 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2664 if test "${ac_cv_host+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 ac_cv_host_alias=$host_alias
2668 test -z "$ac_cv_host_alias" &&
2669 ac_cv_host_alias=$ac_cv_build_alias
2670 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2671 { { echo "$as_me:2671: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2672 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2673 { (exit 1); exit 1; }; }
2676 echo "$as_me:2676: result: $ac_cv_host" >&5
2677 echo "${ECHO_T}$ac_cv_host" >&6
2679 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2680 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2681 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2683 echo "$as_me:2683: checking for audio API" >&5
2684 echo $ECHO_N "checking for audio API... $ECHO_C" >&6
2688 # Check whether --with-alsa or --without-alsa was given.
2689 if test "${with_alsa+set}" = set; then
2690 withval="$with_alsa"
2691 sound_api=-D__LINUX_ALSA__
2692 echo "$as_me:2692: result: using ALSA" >&5
2693 echo "${ECHO_T}using ALSA" >&6
2695 sound_api=-D__LINUX_OSS__
2696 echo "$as_me:2696: result: using OSS" >&5
2697 echo "${ECHO_T}using OSS" >&6
2700 if test $sound_api = -D__LINUX_ALSA__; then
2702 echo "$as_me:2702: checking for snd_pcm_open in -lasound" >&5
2703 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
2704 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 ac_check_lib_save_LIBS=$LIBS
2708 LIBS="-lasound $LIBS"
2709 cat >conftest.$ac_ext <<_ACEOF
2710 #line 2710 "configure"
2711 #include "confdefs.h"
2713 /* Override any gcc2 internal prototype to avoid an error. */
2717 /* We use char because int might match the return type of a gcc2
2718 builtin and then its argument prototype would still apply. */
2719 char snd_pcm_open ();
2728 rm -f conftest.$ac_objext conftest$ac_exeext
2729 if { (eval echo "$as_me:2729: \"$ac_link\"") >&5
2730 (eval $ac_link) 2>&5
2732 echo "$as_me:2732: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -s conftest$ac_exeext'
2735 { (eval echo "$as_me:2735: \"$ac_try\"") >&5
2738 echo "$as_me:2738: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2740 ac_cv_lib_asound_snd_pcm_open=yes
2742 echo "$as_me: failed program was:" >&5
2743 cat conftest.$ac_ext >&5
2744 ac_cv_lib_asound_snd_pcm_open=no
2746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2747 LIBS=$ac_check_lib_save_LIBS
2749 echo "$as_me:2749: result: $ac_cv_lib_asound_snd_pcm_open" >&5
2750 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
2751 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
2752 cat >>confdefs.h <<EOF
2753 #define HAVE_LIBASOUND 1
2756 LIBS="-lasound $LIBS"
2759 { { echo "$as_me:2759: error: ALSA support requires the asound library!" >&5
2760 echo "$as_me: error: ALSA support requires the asound library!" >&2;}
2761 { (exit 1); exit 1; }; }
2768 sound_api=-D__IRIX_AL__
2770 echo "$as_me:2770: result: using IRIX AL" >&5
2771 echo "${ECHO_T}using IRIX AL" >&6
2773 echo "$as_me:2773: checking for alOpenPort in -laudio" >&5
2774 echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6
2775 if test "${ac_cv_lib_audio_alOpenPort+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 ac_check_lib_save_LIBS=$LIBS
2779 LIBS="-laudio $LIBS"
2780 cat >conftest.$ac_ext <<_ACEOF
2781 #line 2781 "configure"
2782 #include "confdefs.h"
2784 /* Override any gcc2 internal prototype to avoid an error. */
2788 /* We use char because int might match the return type of a gcc2
2789 builtin and then its argument prototype would still apply. */
2799 rm -f conftest.$ac_objext conftest$ac_exeext
2800 if { (eval echo "$as_me:2800: \"$ac_link\"") >&5
2801 (eval $ac_link) 2>&5
2803 echo "$as_me:2803: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try='test -s conftest$ac_exeext'
2806 { (eval echo "$as_me:2806: \"$ac_try\"") >&5
2809 echo "$as_me:2809: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 ac_cv_lib_audio_alOpenPort=yes
2813 echo "$as_me: failed program was:" >&5
2814 cat conftest.$ac_ext >&5
2815 ac_cv_lib_audio_alOpenPort=no
2817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2818 LIBS=$ac_check_lib_save_LIBS
2820 echo "$as_me:2820: result: $ac_cv_lib_audio_alOpenPort" >&5
2821 echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6
2822 if test $ac_cv_lib_audio_alOpenPort = yes; then
2823 cat >>confdefs.h <<EOF
2824 #define HAVE_LIBAUDIO 1
2827 LIBS="-laudio $LIBS"
2830 { { echo "$as_me:2830: error: IRIX audio support requires the audio library!" >&5
2831 echo "$as_me: error: IRIX audio support requires the audio library!" >&2;}
2832 { (exit 1); exit 1; }; }
2838 # Check for CoreAudio framework
2839 echo "$as_me:2839: checking for CoreAudio/CoreAudio.h" >&5
2840 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
2841 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 cat >conftest.$ac_ext <<_ACEOF
2845 #line 2845 "configure"
2846 #include "confdefs.h"
2847 #include <CoreAudio/CoreAudio.h>
2849 if { (eval echo "$as_me:2849: \"$ac_cpp conftest.$ac_ext\"") >&5
2850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2852 egrep -v '^ *\+' conftest.er1 >conftest.err
2854 cat conftest.err >&5
2855 echo "$as_me:2855: \$? = $ac_status" >&5
2856 (exit $ac_status); } >/dev/null; then
2857 if test -s conftest.err; then
2858 ac_cpp_err=$ac_c_preproc_warn_flag
2865 if test -z "$ac_cpp_err"; then
2866 ac_cv_header_CoreAudio_CoreAudio_h=yes
2868 echo "$as_me: failed program was:" >&5
2869 cat conftest.$ac_ext >&5
2870 ac_cv_header_CoreAudio_CoreAudio_h=no
2872 rm -f conftest.err conftest.$ac_ext
2874 echo "$as_me:2874: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
2875 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
2876 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
2877 sound_api=-D__MACOSX_CORE__
2880 { { echo "$as_me:2880: error: CoreAudio header files not found!" >&5
2881 echo "$as_me: error: CoreAudio header files not found!" >&2;}
2882 { (exit 1); exit 1; }; }
2885 frameworks="-framework CoreAudio"
2887 echo "$as_me:2887: checking for printf in -lstdc++" >&5
2888 echo $ECHO_N "checking for printf in -lstdc++... $ECHO_C" >&6
2889 if test "${ac_cv_lib_stdcpp_printf+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 ac_check_lib_save_LIBS=$LIBS
2893 LIBS="-lstdc++ $LIBS"
2894 cat >conftest.$ac_ext <<_ACEOF
2895 #line 2895 "configure"
2896 #include "confdefs.h"
2898 /* Override any gcc2 internal prototype to avoid an error. */
2902 /* We use char because int might match the return type of a gcc2
2903 builtin and then its argument prototype would still apply. */
2913 rm -f conftest.$ac_objext conftest$ac_exeext
2914 if { (eval echo "$as_me:2914: \"$ac_link\"") >&5
2915 (eval $ac_link) 2>&5
2917 echo "$as_me:2917: \$? = $ac_status" >&5
2918 (exit $ac_status); } &&
2919 { ac_try='test -s conftest$ac_exeext'
2920 { (eval echo "$as_me:2920: \"$ac_try\"") >&5
2923 echo "$as_me:2923: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2925 ac_cv_lib_stdcpp_printf=yes
2927 echo "$as_me: failed program was:" >&5
2928 cat conftest.$ac_ext >&5
2929 ac_cv_lib_stdcpp_printf=no
2931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2932 LIBS=$ac_check_lib_save_LIBS
2934 echo "$as_me:2934: result: $ac_cv_lib_stdcpp_printf" >&5
2935 echo "${ECHO_T}$ac_cv_lib_stdcpp_printf" >&6
2936 if test $ac_cv_lib_stdcpp_printf = yes; then
2937 cat >>confdefs.h <<EOF
2938 #define HAVE_LIBSTDC__ 1
2941 LIBS="-lstdc++ $LIBS"
2944 { { echo "$as_me:2944: error: RtAudio requires the C++ library!" >&5
2945 echo "$as_me: error: RtAudio requires the C++ library!" >&2;}
2946 { (exit 1); exit 1; }; }
2952 # Default case for unknown realtime systems.
2953 { { echo "$as_me:2953: error: Unknown system type for realtime support!" >&5
2954 echo "$as_me: error: Unknown system type for realtime support!" >&2;}
2955 { (exit 1); exit 1; }; }
2959 # Checks for library functions.
2960 if test $ac_cv_c_compiler_gnu = yes; then
2961 echo "$as_me:2961: checking whether $CC needs -traditional" >&5
2962 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2963 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 ac_pattern="Autoconf.*'x'"
2967 cat >conftest.$ac_ext <<_ACEOF
2968 #line 2968 "configure"
2969 #include "confdefs.h"
2973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2974 egrep "$ac_pattern" >/dev/null 2>&1; then
2975 ac_cv_prog_gcc_traditional=yes
2977 ac_cv_prog_gcc_traditional=no
2981 if test $ac_cv_prog_gcc_traditional = no; then
2982 cat >conftest.$ac_ext <<_ACEOF
2983 #line 2983 "configure"
2984 #include "confdefs.h"
2988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2989 egrep "$ac_pattern" >/dev/null 2>&1; then
2990 ac_cv_prog_gcc_traditional=yes
2996 echo "$as_me:2996: result: $ac_cv_prog_gcc_traditional" >&5
2997 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2998 if test $ac_cv_prog_gcc_traditional = yes; then
2999 CC="$CC -traditional"
3003 cat >confcache <<\_ACEOF
3004 # This file is a shell script that caches the results of configure
3005 # tests run on this system so they can be shared between configure
3006 # scripts and configure runs, see configure's option --config-cache.
3007 # It is not useful on other systems. If it contains results you don't
3008 # want to keep, you may remove or edit it.
3010 # config.status only pays attention to the cache file if you give it
3011 # the --recheck option to rerun configure.
3013 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3019 # The following way of writing the cache mishandles newlines in values,
3020 # but we know of no workaround that is simple, portable, and efficient.
3021 # So, don't put newlines in cache variables' values.
3022 # Ultrix sh set writes to stderr and can't be redirected directly,
3023 # and sets the high bit in the cache file unless we assign to the vars.
3026 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3028 # `set' does not quote correctly, so add quotes (double-quote
3029 # substitution turns \\\\ into \\, and sed turns \\ into \).
3032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3035 # `set' quotes correctly as required by POSIX, so do not add quotes.
3037 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3046 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3048 if cmp -s $cache_file confcache; then :; else
3049 if test -w $cache_file; then
3050 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3051 cat confcache >$cache_file
3053 echo "not updating unwritable cache $cache_file"
3058 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3059 # Let make expand exec_prefix.
3060 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3062 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3063 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3064 # trailing colons and then remove the whole line if VPATH becomes empty
3065 # (actually we leave an empty line to preserve line numbers).
3066 if test "x$srcdir" = x.; then
3067 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3068 s/:*\$(srcdir):*/:/;
3069 s/:*\${srcdir}:*/:/;
3071 s/^\([^=]*=[ ]*\):*/\1/;
3077 # Transform confdefs.h into DEFS.
3078 # Protect against shell expansion while executing Makefile rules.
3079 # Protect against Makefile macro expansion.
3081 # If the first sed substitution is executed (which looks for macros that
3082 # take arguments), then we branch to the quote section. Otherwise,
3083 # look for a macro that doesn't take arguments.
3084 cat >confdef2opt.sed <<\EOF
3087 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3089 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3093 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3099 # We use echo to avoid assuming a particular line-breaking character.
3100 # The extra dot is to prevent the shell from consuming trailing
3101 # line-breaks from the sub-command output. A line-break within
3102 # single-quotes doesn't work because, if this script is created in a
3103 # platform that uses two characters for line-breaks (e.g., DOS), tr
3105 ac_LF_and_DOT=`echo; echo .`
3106 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3107 rm -f confdef2opt.sed
3109 : ${CONFIG_STATUS=./config.status}
3110 ac_clean_files_save=$ac_clean_files
3111 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3112 { echo "$as_me:3112: creating $CONFIG_STATUS" >&5
3113 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3114 cat >$CONFIG_STATUS <<_ACEOF
3116 # Generated automatically by configure.
3117 # Run this file to recreate the current configuration.
3118 # Compiler output produced by configure, useful for debugging
3119 # configure, is in config.log if it exists.
3122 SHELL=\${CONFIG_SHELL-$SHELL}
3123 ac_cs_invocation="\$0 \$@"
3127 cat >>$CONFIG_STATUS <<\_ACEOF
3128 # Be Bourne compatible
3129 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3132 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3136 # Name of the executable.
3137 as_me=`echo "$0" |sed 's,.*[\\/],,'`
3139 if expr a : '\(a\)' >/dev/null 2>&1; then
3145 rm -f conf$$ conf$$.exe conf$$.file
3147 if ln -s conf$$.file conf$$ 2>/dev/null; then
3148 # We could just check for DJGPP; but this test a) works b) is more generic
3149 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3150 if test -f conf$$.exe; then
3151 # Don't use ln at all; we don't have any links
3156 elif ln conf$$.file conf$$ 2>/dev/null; then
3161 rm -f conf$$ conf$$.exe conf$$.file
3163 as_executable_p="test -f"
3165 # Support unset when possible.
3166 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3173 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3174 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3175 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3176 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3177 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3178 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3179 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3180 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3183 # We need space, tab and new line, in precisely that order.
3189 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3195 # Files that config.status was made for.
3196 if test -n "$ac_config_files"; then
3197 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3200 if test -n "$ac_config_headers"; then
3201 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3204 if test -n "$ac_config_links"; then
3205 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3208 if test -n "$ac_config_commands"; then
3209 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3212 cat >>$CONFIG_STATUS <<\EOF
3215 \`$as_me' instantiates files from templates according to the
3216 current configuration.
3218 Usage: $0 [OPTIONS] [FILE]...
3220 -h, --help print this help, then exit
3221 -V, --version print version number, then exit
3222 -d, --debug don't remove temporary files
3223 --recheck update $as_me by reconfiguring in the same conditions
3224 --file=FILE[:TEMPLATE]
3225 instantiate the configuration file FILE
3227 Configuration files:
3230 Report bugs to <bug-autoconf@gnu.org>."
3233 cat >>$CONFIG_STATUS <<EOF
3235 RtAudio config.status 2.1
3236 configured by $0, generated by GNU Autoconf 2.52,
3237 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3239 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3240 Free Software Foundation, Inc.
3241 This config.status script is free software; the Free Software Foundation
3242 gives unlimited permission to copy, distribute and modify it."
3246 cat >>$CONFIG_STATUS <<\EOF
3247 # If no file are specified by the user, then we need to provide default
3248 # value. By we need to know if files were specified by the user.
3254 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3255 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3257 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3261 *) # This is not an option, so the user has probably given explicit
3263 ac_need_defaults=false;;
3267 # Handling of the options.
3269 cat >>$CONFIG_STATUS <<EOF
3270 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3271 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3272 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3274 cat >>$CONFIG_STATUS <<\EOF
3275 --version | --vers* | -V )
3276 echo "$ac_cs_version"; exit 0 ;;
3278 # Conflict between --help and --header
3279 { { echo "$as_me:3279: error: ambiguous option: $1
3280 Try \`$0 --help' for more information." >&5
3281 echo "$as_me: error: ambiguous option: $1
3282 Try \`$0 --help' for more information." >&2;}
3283 { (exit 1); exit 1; }; };;
3284 --help | --hel | -h )
3285 echo "$ac_cs_usage"; exit 0 ;;
3286 --debug | --d* | -d )
3288 --file | --fil | --fi | --f )
3290 CONFIG_FILES="$CONFIG_FILES $1"
3291 ac_need_defaults=false;;
3292 --header | --heade | --head | --hea )
3294 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3295 ac_need_defaults=false;;
3298 -*) { { echo "$as_me:3298: error: unrecognized option: $1
3299 Try \`$0 --help' for more information." >&5
3300 echo "$as_me: error: unrecognized option: $1
3301 Try \`$0 --help' for more information." >&2;}
3302 { (exit 1); exit 1; }; } ;;
3304 *) ac_config_targets="$ac_config_targets $1" ;;
3313 ## ----------------------- ##
3314 ## Running config.status. ##
3315 ## ----------------------- ##
3317 This file was extended by $as_me (RtAudio 2.1) 2.52, executed with
3318 CONFIG_FILES = $CONFIG_FILES
3319 CONFIG_HEADERS = $CONFIG_HEADERS
3320 CONFIG_LINKS = $CONFIG_LINKS
3321 CONFIG_COMMANDS = $CONFIG_COMMANDS
3323 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3328 cat >>$CONFIG_STATUS <<\EOF
3329 for ac_config_target in $ac_config_targets
3331 case "$ac_config_target" in
3332 # Handling of arguments.
3333 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3334 *) { { echo "$as_me:3334: error: invalid argument: $ac_config_target" >&5
3335 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3336 { (exit 1); exit 1; }; };;
3340 # If the user did not use the arguments to specify the items to instantiate,
3341 # then the envvar interface is used. Set only those that are not.
3342 # We use the long form for the default assignment because of an extremely
3343 # bizarre bug on SunOS 4.1.3.
3344 if $ac_need_defaults; then
3345 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3348 # Create a temporary directory, and hook for its removal unless debugging.
3351 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3352 trap '{ (exit 1); exit 1; }' 1 2 13 15
3355 # Create a (secure) tmp directory for tmp files.
3358 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3359 test -n "$tmp" && test -d "$tmp"
3362 tmp=$TMPDIR/cs$$-$RANDOM
3363 (umask 077 && mkdir $tmp)
3366 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3367 { (exit 1); exit 1; }
3372 cat >>$CONFIG_STATUS <<EOF
3375 # CONFIG_FILES section.
3378 # No need to generate the scripts if there are no CONFIG_FILES.
3379 # This happens for instance when ./config.status config.h
3380 if test -n "\$CONFIG_FILES"; then
3381 # Protect against being on the right side of a sed subst in config.status.
3382 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3383 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3384 s,@SHELL@,$SHELL,;t t
3385 s,@exec_prefix@,$exec_prefix,;t t
3386 s,@prefix@,$prefix,;t t
3387 s,@program_transform_name@,$program_transform_name,;t t
3388 s,@bindir@,$bindir,;t t
3389 s,@sbindir@,$sbindir,;t t
3390 s,@libexecdir@,$libexecdir,;t t
3391 s,@datadir@,$datadir,;t t
3392 s,@sysconfdir@,$sysconfdir,;t t
3393 s,@sharedstatedir@,$sharedstatedir,;t t
3394 s,@localstatedir@,$localstatedir,;t t
3395 s,@libdir@,$libdir,;t t
3396 s,@includedir@,$includedir,;t t
3397 s,@oldincludedir@,$oldincludedir,;t t
3398 s,@infodir@,$infodir,;t t
3399 s,@mandir@,$mandir,;t t
3400 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3401 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3402 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3403 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3404 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3405 s,@build_alias@,$build_alias,;t t
3406 s,@host_alias@,$host_alias,;t t
3407 s,@target_alias@,$target_alias,;t t
3408 s,@ECHO_C@,$ECHO_C,;t t
3409 s,@ECHO_N@,$ECHO_N,;t t
3410 s,@ECHO_T@,$ECHO_T,;t t
3411 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3415 s,@CFLAGS@,$CFLAGS,;t t
3416 s,@LDFLAGS@,$LDFLAGS,;t t
3417 s,@CPPFLAGS@,$CPPFLAGS,;t t
3418 s,@ac_ct_CC@,$ac_ct_CC,;t t
3419 s,@EXEEXT@,$EXEEXT,;t t
3420 s,@OBJEXT@,$OBJEXT,;t t
3422 s,@CXXFLAGS@,$CXXFLAGS,;t t
3423 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3425 s,@debug@,$debug,;t t
3426 s,@cflags@,$cflags,;t t
3427 s,@object_path@,$object_path,;t t
3429 s,@build@,$build,;t t
3430 s,@build_cpu@,$build_cpu,;t t
3431 s,@build_vendor@,$build_vendor,;t t
3432 s,@build_os@,$build_os,;t t
3434 s,@host_cpu@,$host_cpu,;t t
3435 s,@host_vendor@,$host_vendor,;t t
3436 s,@host_os@,$host_os,;t t
3437 s,@sound_api@,$sound_api,;t t
3438 s,@frameworks@,$frameworks,;t t
3443 cat >>$CONFIG_STATUS <<\EOF
3444 # Split the substitutions into bite-sized pieces for seds with
3445 # small command number limits, like on Digital OSF/1 and HP-UX.
3447 ac_sed_frag=1 # Number of current file.
3448 ac_beg=1 # First line for current file.
3449 ac_end=$ac_max_sed_lines # Line after last line for current file.
3452 while $ac_more_lines; do
3453 if test $ac_beg -gt 1; then
3454 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3456 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3458 if test ! -s $tmp/subs.frag; then
3461 # The purpose of the label and of the branching condition is to
3462 # speed up the sed processing (if there are no `@' at all, there
3463 # is no need to browse any of the substitutions).
3464 # These are the two extra sed commands mentioned above.
3466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3467 if test -z "$ac_sed_cmds"; then
3468 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3470 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3472 ac_sed_frag=`expr $ac_sed_frag + 1`
3474 ac_end=`expr $ac_end + $ac_max_sed_lines`
3477 if test -z "$ac_sed_cmds"; then
3480 fi # test -n "$CONFIG_FILES"
3483 cat >>$CONFIG_STATUS <<\EOF
3484 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3485 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3487 - | *:- | *:-:* ) # input from stdin
3489 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3490 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3491 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3492 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3493 * ) ac_file_in=$ac_file.in ;;
3496 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3497 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3498 X"$ac_file" : 'X\(//\)[^/]' \| \
3499 X"$ac_file" : 'X\(//\)$' \| \
3500 X"$ac_file" : 'X\(/\)' \| \
3501 . : '\(.\)' 2>/dev/null ||
3503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3505 /^X\(\/\/\)$/{ s//\1/; q; }
3506 /^X\(\/\).*/{ s//\1/; q; }
3508 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3510 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3514 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3515 case $as_mkdir_dir in
3516 # Skip DOS drivespec
3517 ?:) as_incr_dir=$as_mkdir_dir ;;
3519 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3520 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3525 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3526 # A "../" for each directory in $ac_dir_suffix.
3527 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3529 ac_dir_suffix= ac_dots=
3534 if test -z "$ac_dots"; then
3537 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3540 ac_srcdir=$srcdir$ac_dir_suffix;
3541 ac_top_srcdir=$srcdir ;;
3543 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3544 ac_top_srcdir=$ac_dots$srcdir ;;
3547 if test x"$ac_file" != x-; then
3548 { echo "$as_me:3548: creating $ac_file" >&5
3549 echo "$as_me: creating $ac_file" >&6;}
3552 # Let's still pretend it is `configure' which instantiates (i.e., don't
3553 # use $as_me), people would be surprised to read:
3554 # /* config.h. Generated automatically by config.status. */
3555 configure_input="Generated automatically from `echo $ac_file_in |
3556 sed 's,.*/,,'` by configure."
3558 # First look for the input files in the build tree, otherwise in the
3560 ac_file_inputs=`IFS=:
3561 for f in $ac_file_in; do
3563 -) echo $tmp/stdin ;;
3565 # Absolute (can't be DOS-style, as IFS=:)
3566 test -f "$f" || { { echo "$as_me:3566: error: cannot find input file: $f" >&5
3567 echo "$as_me: error: cannot find input file: $f" >&2;}
3568 { (exit 1); exit 1; }; }
3571 if test -f "$f"; then
3574 elif test -f "$srcdir/$f"; then
3579 { { echo "$as_me:3579: error: cannot find input file: $f" >&5
3580 echo "$as_me: error: cannot find input file: $f" >&2;}
3581 { (exit 1); exit 1; }; }
3584 done` || { (exit 1); exit 1; }
3586 cat >>$CONFIG_STATUS <<EOF
3590 cat >>$CONFIG_STATUS <<\EOF
3592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3593 s,@configure_input@,$configure_input,;t t
3594 s,@srcdir@,$ac_srcdir,;t t
3595 s,@top_srcdir@,$ac_top_srcdir,;t t
3596 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3598 if test x"$ac_file" != x-; then
3599 mv $tmp/out $ac_file
3608 cat >>$CONFIG_STATUS <<\EOF
3610 { (exit 0); exit 0; }
3612 chmod +x $CONFIG_STATUS
3613 ac_clean_files=$ac_clean_files_save
3615 # configure is writing to config.log, and then calls config.status.
3616 # config.status does its own redirection, appending to config.log.
3617 # Unfortunately, on DOS this fails, as config.log is still kept open
3618 # by configure, so config.status won't be able to write to it; its
3619 # output is simply discarded. So we exec the FD to /dev/null,
3620 # effectively closing config.log, so it can be properly (re)opened and
3621 # appended to by config.status. When coming back to configure, we
3622 # need to make the FD available again.
3623 if test "$no_create" != yes; then
3626 $SHELL $CONFIG_STATUS || ac_cs_success=false
3628 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3629 # would make configure fail if this is the last instruction.
3630 $ac_cs_success || { (exit 1); exit 1; }