3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 # Initialize some variables set by options.
16 # The variables have the same names as the options, with
17 # dashes changed to underlines.
19 cache_file=./config.cache
28 program_transform_name=s,x,x,
36 bindir='${exec_prefix}/bin'
37 sbindir='${exec_prefix}/sbin'
38 libexecdir='${exec_prefix}/libexec'
39 datadir='${prefix}/share'
40 sysconfdir='${prefix}/etc'
41 sharedstatedir='${prefix}/com'
42 localstatedir='${prefix}/var'
43 libdir='${exec_prefix}/lib'
44 includedir='${prefix}/include'
45 oldincludedir='/usr/include'
46 infodir='${prefix}/info'
47 mandir='${prefix}/man'
49 # Initialize some other variables.
52 SHELL=${CONFIG_SHELL-/bin/sh}
53 # Maximum number of lines to put in a shell here document.
60 # If the previous option needs an argument, assign it.
61 if test -n "$ac_prev"; then
62 eval "$ac_prev=\$ac_option"
68 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72 # Accept the important Cygnus configure options, so we can diagnose typos.
76 -bindir | --bindir | --bindi | --bind | --bin | --bi)
78 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79 bindir="$ac_optarg" ;;
81 -build | --build | --buil | --bui | --bu)
83 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
86 -cache-file | --cache-file | --cache-fil | --cache-fi \
87 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
89 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
90 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
91 cache_file="$ac_optarg" ;;
93 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
95 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
97 datadir="$ac_optarg" ;;
99 -disable-* | --disable-*)
100 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
101 # Reject names that are not valid shell variable names.
102 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
103 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
105 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
106 eval "enable_${ac_feature}=no" ;;
108 -enable-* | --enable-*)
109 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
110 # Reject names that are not valid shell variable names.
111 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
112 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
114 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
119 eval "enable_${ac_feature}='$ac_optarg'" ;;
121 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
122 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
123 | --exec | --exe | --ex)
124 ac_prev=exec_prefix ;;
125 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
126 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
127 | --exec=* | --exe=* | --ex=*)
128 exec_prefix="$ac_optarg" ;;
130 -gas | --gas | --ga | --g)
131 # Obsolete; use --with-gas.
134 -help | --help | --hel | --he)
135 # Omit some internal or obsolete options to make the list less imposing.
136 # This message is too long to be a string in the A/UX 3.1 sh.
138 Usage: configure [options] [host]
139 Options: [defaults in brackets after descriptions]
141 --cache-file=FILE cache test results in FILE
142 --help print this message
143 --no-create do not create output files
144 --quiet, --silent do not print \`checking...' messages
145 --version print the version of autoconf that created configure
146 Directory and file names:
147 --prefix=PREFIX install architecture-independent files in PREFIX
149 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
151 --bindir=DIR user executables in DIR [EPREFIX/bin]
152 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
153 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
154 --datadir=DIR read-only architecture-independent data in DIR
156 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
157 --sharedstatedir=DIR modifiable architecture-independent data in DIR
159 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
160 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
161 --includedir=DIR C header files in DIR [PREFIX/include]
162 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
163 --infodir=DIR info documentation in DIR [PREFIX/info]
164 --mandir=DIR man documentation in DIR [PREFIX/man]
165 --srcdir=DIR find the sources in DIR [configure dir or ..]
166 --program-prefix=PREFIX prepend PREFIX to installed program names
167 --program-suffix=SUFFIX append SUFFIX to installed program names
168 --program-transform-name=PROGRAM
169 run sed PROGRAM on installed program names
173 --build=BUILD configure for building on BUILD [BUILD=HOST]
174 --host=HOST configure for HOST [guessed]
175 --target=TARGET configure for TARGET [TARGET=HOST]
176 Features and packages:
177 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
178 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
179 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
180 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
181 --x-includes=DIR X include files are in DIR
182 --x-libraries=DIR X library files are in DIR
184 if test -n "$ac_help"; then
185 echo "--enable and --with options recognized:$ac_help"
189 -host | --host | --hos | --ho)
191 -host=* | --host=* | --hos=* | --ho=*)
194 -includedir | --includedir | --includedi | --included | --include \
195 | --includ | --inclu | --incl | --inc)
196 ac_prev=includedir ;;
197 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
198 | --includ=* | --inclu=* | --incl=* | --inc=*)
199 includedir="$ac_optarg" ;;
201 -infodir | --infodir | --infodi | --infod | --info | --inf)
203 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
204 infodir="$ac_optarg" ;;
206 -libdir | --libdir | --libdi | --libd)
208 -libdir=* | --libdir=* | --libdi=* | --libd=*)
209 libdir="$ac_optarg" ;;
211 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
212 | --libexe | --libex | --libe)
213 ac_prev=libexecdir ;;
214 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
215 | --libexe=* | --libex=* | --libe=*)
216 libexecdir="$ac_optarg" ;;
218 -localstatedir | --localstatedir | --localstatedi | --localstated \
219 | --localstate | --localstat | --localsta | --localst \
220 | --locals | --local | --loca | --loc | --lo)
221 ac_prev=localstatedir ;;
222 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
223 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
224 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
225 localstatedir="$ac_optarg" ;;
227 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
229 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
230 mandir="$ac_optarg" ;;
233 # Obsolete; use --without-fp.
236 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
240 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
241 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
244 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
245 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
246 | --oldin | --oldi | --old | --ol | --o)
247 ac_prev=oldincludedir ;;
248 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
249 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
250 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
251 oldincludedir="$ac_optarg" ;;
253 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
255 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
256 prefix="$ac_optarg" ;;
258 -program-prefix | --program-prefix | --program-prefi | --program-pref \
259 | --program-pre | --program-pr | --program-p)
260 ac_prev=program_prefix ;;
261 -program-prefix=* | --program-prefix=* | --program-prefi=* \
262 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
263 program_prefix="$ac_optarg" ;;
265 -program-suffix | --program-suffix | --program-suffi | --program-suff \
266 | --program-suf | --program-su | --program-s)
267 ac_prev=program_suffix ;;
268 -program-suffix=* | --program-suffix=* | --program-suffi=* \
269 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
270 program_suffix="$ac_optarg" ;;
272 -program-transform-name | --program-transform-name \
273 | --program-transform-nam | --program-transform-na \
274 | --program-transform-n | --program-transform- \
275 | --program-transform | --program-transfor \
276 | --program-transfo | --program-transf \
277 | --program-trans | --program-tran \
278 | --progr-tra | --program-tr | --program-t)
279 ac_prev=program_transform_name ;;
280 -program-transform-name=* | --program-transform-name=* \
281 | --program-transform-nam=* | --program-transform-na=* \
282 | --program-transform-n=* | --program-transform-=* \
283 | --program-transform=* | --program-transfor=* \
284 | --program-transfo=* | --program-transf=* \
285 | --program-trans=* | --program-tran=* \
286 | --progr-tra=* | --program-tr=* | --program-t=*)
287 program_transform_name="$ac_optarg" ;;
289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
290 | -silent | --silent | --silen | --sile | --sil)
293 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
295 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
297 sbindir="$ac_optarg" ;;
299 -sharedstatedir | --sharedstatedir | --sharedstatedi \
300 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
301 | --sharedst | --shareds | --shared | --share | --shar \
303 ac_prev=sharedstatedir ;;
304 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
305 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
306 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
308 sharedstatedir="$ac_optarg" ;;
310 -site | --site | --sit)
312 -site=* | --site=* | --sit=*)
315 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
317 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
318 srcdir="$ac_optarg" ;;
320 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
321 | --syscon | --sysco | --sysc | --sys | --sy)
322 ac_prev=sysconfdir ;;
323 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
324 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
325 sysconfdir="$ac_optarg" ;;
327 -target | --target | --targe | --targ | --tar | --ta | --t)
329 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
330 target="$ac_optarg" ;;
332 -v | -verbose | --verbose | --verbos | --verbo | --verb)
335 -version | --version | --versio | --versi | --vers)
336 echo "configure generated by autoconf version 2.13"
340 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
341 # Reject names that are not valid shell variable names.
342 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
343 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
345 ac_package=`echo $ac_package| sed 's/-/_/g'`
350 eval "with_${ac_package}='$ac_optarg'" ;;
352 -without-* | --without-*)
353 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
354 # Reject names that are not valid shell variable names.
355 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
356 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
358 ac_package=`echo $ac_package| sed 's/-/_/g'`
359 eval "with_${ac_package}=no" ;;
362 # Obsolete; use --with-x.
365 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
366 | --x-incl | --x-inc | --x-in | --x-i)
367 ac_prev=x_includes ;;
368 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
369 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
370 x_includes="$ac_optarg" ;;
372 -x-libraries | --x-libraries | --x-librarie | --x-librari \
373 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
374 ac_prev=x_libraries ;;
375 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
376 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
377 x_libraries="$ac_optarg" ;;
379 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
383 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
384 echo "configure: warning: $ac_option: invalid host type" 1>&2
386 if test "x$nonopt" != xNONE; then
387 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
395 if test -n "$ac_prev"; then
396 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
399 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
401 # File descriptor usage:
404 # 2 errors and warnings
405 # 3 some systems may open it to /dev/tty
406 # 4 used on the Kubota Titan
407 # 6 checking for... messages and results
408 # 5 compiler messages saved in config.log
409 if test "$silent" = yes; then
417 This file contains any messages produced by compilers while
418 running configure, to aid debugging if configure makes a mistake.
421 # Strip out --no-create and --no-recursion so they do not pile up.
422 # Also quote any args containing shell metacharacters.
427 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
428 | --no-cr | --no-c) ;;
429 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
430 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
431 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
432 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
433 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
438 # Only set these to C if already set. These must not be set unconditionally
439 # because not all systems understand e.g. LANG=C (notably SCO).
440 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
441 # Non-C LC_CTYPE values break the ctype check.
442 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
443 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
444 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
445 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
448 rm -rf conftest* confdefs.h
449 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
452 # A filename unique to this package, relative to the directory that
453 # configure is in, which we can look for to find out if srcdir is correct.
454 ac_unique_file=lib/mdct.c
456 # Find the source files, if location was not specified.
457 if test -z "$srcdir"; then
458 ac_srcdir_defaulted=yes
459 # Try the directory containing this script, then its parent.
461 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
464 if test ! -r $srcdir/$ac_unique_file; then
468 ac_srcdir_defaulted=no
470 if test ! -r $srcdir/$ac_unique_file; then
471 if test "$ac_srcdir_defaulted" = yes; then
472 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
474 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
477 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
479 # Prefer explicitly selected file to automatically selected ones.
480 if test -z "$CONFIG_SITE"; then
481 if test "x$prefix" != xNONE; then
482 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
484 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
487 for ac_site_file in $CONFIG_SITE; do
488 if test -r "$ac_site_file"; then
489 echo "loading site script $ac_site_file"
494 if test -r "$cache_file"; then
495 echo "loading cache $cache_file"
498 echo "creating cache $cache_file"
503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
504 ac_cpp='$CPP $CPPFLAGS'
505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
507 cross_compiling=$ac_cv_prog_cc_cross
511 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
512 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
513 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
520 ac_n= ac_c='\c' ac_t=
524 #AC_CONFIG_HEADER(config.h)
526 cp configure.guess config.guess
527 cp configure.sub config.sub
530 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
531 if test -f $ac_dir/install-sh; then
533 ac_install_sh="$ac_aux_dir/install-sh -c"
535 elif test -f $ac_dir/install.sh; then
537 ac_install_sh="$ac_aux_dir/install.sh -c"
541 if test -z "$ac_aux_dir"; then
542 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
544 ac_config_guess=$ac_aux_dir/config.guess
545 ac_config_sub=$ac_aux_dir/config.sub
546 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
549 # Make sure we can run config.sub.
550 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
551 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
554 echo $ac_n "checking host system type""... $ac_c" 1>&6
555 echo "configure:556: checking host system type" >&5
558 case "$host_alias" in
562 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
563 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
565 *) host_alias=$nonopt ;;
569 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
570 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
571 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
572 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
573 echo "$ac_t""$host" 1>&6
578 if test -z "$CC"; then
581 echo $ac_n "checking for ALwritesamps in -laudio""... $ac_c" 1>&6
582 echo "configure:583: checking for ALwritesamps in -laudio" >&5
583 ac_lib_var=`echo audio'_'ALwritesamps | sed 'y%./+-%__p_%'`
584 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
585 echo $ac_n "(cached) $ac_c" 1>&6
589 cat > conftest.$ac_ext <<EOF
590 #line 591 "configure"
591 #include "confdefs.h"
592 /* Override any gcc2 internal prototype to avoid an error. */
593 /* We use char because int might match the return type of a gcc2
594 builtin and then its argument prototype would still apply. */
601 if { (eval echo configure:602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
603 eval "ac_cv_lib_$ac_lib_var=yes"
605 echo "configure: failed program was:" >&5
606 cat conftest.$ac_ext >&5
608 eval "ac_cv_lib_$ac_lib_var=no"
614 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
615 echo "$ac_t""yes" 1>&6
616 ac_tr_lib=HAVE_LIB`echo audio | sed -e 's/[^a-zA-Z0-9_]/_/g' \
617 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
618 cat >> confdefs.h <<EOF
625 echo "$ac_t""no" 1>&6
631 if test -z "$CC"; then
632 # Extract the first word of "gcc", so it can be a program name with args.
633 set dummy gcc; ac_word=$2
634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
635 echo "configure:636: checking for $ac_word" >&5
636 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
637 echo $ac_n "(cached) $ac_c" 1>&6
639 if test -n "$CC"; then
640 ac_cv_prog_CC="$CC" # Let the user override the test.
642 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
644 for ac_dir in $ac_dummy; do
645 test -z "$ac_dir" && ac_dir=.
646 if test -f $ac_dir/$ac_word; then
655 if test -n "$CC"; then
656 echo "$ac_t""$CC" 1>&6
658 echo "$ac_t""no" 1>&6
661 if test -z "$CC"; then
662 # Extract the first word of "cc", so it can be a program name with args.
663 set dummy cc; ac_word=$2
664 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
665 echo "configure:666: checking for $ac_word" >&5
666 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
667 echo $ac_n "(cached) $ac_c" 1>&6
669 if test -n "$CC"; then
670 ac_cv_prog_CC="$CC" # Let the user override the test.
672 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
675 for ac_dir in $ac_dummy; do
676 test -z "$ac_dir" && ac_dir=.
677 if test -f $ac_dir/$ac_word; then
678 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
687 if test $ac_prog_rejected = yes; then
688 # We found a bogon in the path, so make sure we never use it.
689 set dummy $ac_cv_prog_CC
691 if test $# -gt 0; then
692 # We chose a different compiler from the bogus one.
693 # However, it has the same basename, so the bogon will be chosen
694 # first if we set CC to just the basename; use the full file name.
696 set dummy "$ac_dir/$ac_word" "$@"
704 if test -n "$CC"; then
705 echo "$ac_t""$CC" 1>&6
707 echo "$ac_t""no" 1>&6
710 if test -z "$CC"; then
713 # Extract the first word of "cl", so it can be a program name with args.
714 set dummy cl; ac_word=$2
715 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
716 echo "configure:717: checking for $ac_word" >&5
717 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
718 echo $ac_n "(cached) $ac_c" 1>&6
720 if test -n "$CC"; then
721 ac_cv_prog_CC="$CC" # Let the user override the test.
723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
725 for ac_dir in $ac_dummy; do
726 test -z "$ac_dir" && ac_dir=.
727 if test -f $ac_dir/$ac_word; then
736 if test -n "$CC"; then
737 echo "$ac_t""$CC" 1>&6
739 echo "$ac_t""no" 1>&6
744 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
748 echo "configure:749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
752 ac_cpp='$CPP $CPPFLAGS'
753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
755 cross_compiling=$ac_cv_prog_cc_cross
757 cat > conftest.$ac_ext << EOF
759 #line 760 "configure"
760 #include "confdefs.h"
764 if { (eval echo configure:765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
765 ac_cv_prog_cc_works=yes
766 # If we can't run a trivial program, we are probably using a cross compiler.
767 if (./conftest; exit) 2>/dev/null; then
768 ac_cv_prog_cc_cross=no
770 ac_cv_prog_cc_cross=yes
773 echo "configure: failed program was:" >&5
774 cat conftest.$ac_ext >&5
775 ac_cv_prog_cc_works=no
779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
780 ac_cpp='$CPP $CPPFLAGS'
781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
783 cross_compiling=$ac_cv_prog_cc_cross
785 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
786 if test $ac_cv_prog_cc_works = no; then
787 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
789 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
790 echo "configure:791: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
791 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
792 cross_compiling=$ac_cv_prog_cc_cross
794 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
795 echo "configure:796: checking whether we are using GNU C" >&5
796 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
797 echo $ac_n "(cached) $ac_c" 1>&6
799 cat > conftest.c <<EOF
804 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
811 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
813 if test $ac_cv_prog_gcc = yes; then
819 ac_test_CFLAGS="${CFLAGS+set}"
820 ac_save_CFLAGS="$CFLAGS"
822 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
823 echo "configure:824: checking whether ${CC-cc} accepts -g" >&5
824 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
825 echo $ac_n "(cached) $ac_c" 1>&6
827 echo 'void f(){}' > conftest.c
828 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
837 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
838 if test "$ac_test_CFLAGS" = set; then
839 CFLAGS="$ac_save_CFLAGS"
840 elif test $ac_cv_prog_cc_g = yes; then
841 if test "$GCC" = yes; then
847 if test "$GCC" = yes; then
855 # Extract the first word of "ranlib", so it can be a program name with args.
856 set dummy ranlib; ac_word=$2
857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
858 echo "configure:859: checking for $ac_word" >&5
859 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
860 echo $ac_n "(cached) $ac_c" 1>&6
862 if test -n "$RANLIB"; then
863 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
867 for ac_dir in $ac_dummy; do
868 test -z "$ac_dir" && ac_dir=.
869 if test -f $ac_dir/$ac_word; then
870 ac_cv_prog_RANLIB="ranlib"
875 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
878 RANLIB="$ac_cv_prog_RANLIB"
879 if test -n "$RANLIB"; then
880 echo "$ac_t""$RANLIB" 1>&6
882 echo "$ac_t""no" 1>&6
885 # Extract the first word of "ar", so it can be a program name with args.
886 set dummy ar; ac_word=$2
887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
888 echo "configure:889: checking for $ac_word" >&5
889 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
890 echo $ac_n "(cached) $ac_c" 1>&6
892 if test -n "$AR"; then
893 ac_cv_prog_AR="$AR" # Let the user override the test.
895 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
897 for ac_dir in $ac_dummy; do
898 test -z "$ac_dir" && ac_dir=.
899 if test -f $ac_dir/$ac_word; then
908 if test -n "$AR"; then
909 echo "$ac_t""$AR" 1>&6
911 echo "$ac_t""no" 1>&6
915 if test -z "$GCC"; then
920 PROFILE="-p -g3 -O2" ;;
923 OPT="-xO4 -fast -w -fsingle -fsimple -native -xcg92"
924 PROFILE="-v -xpg -g -xO4 -fast -fsingle -native -fsimple -xcg92 -Dsuncc" ;;
932 # -D__NO_MATH_INLINES avoids some serious FP assembly related bugs in
937 DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
938 OPT="-O20 -ffast-math -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
939 PROFILE="-pg -g -O20 -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char";;
941 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
942 OPT="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
943 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
945 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
946 OPT="-O20 -D__NO_MATH_INLINES -fsigned-char"
947 PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
951 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
952 echo "configure:953: checking how to run the C preprocessor" >&5
953 # On Suns, sometimes $CPP names a directory.
954 if test -n "$CPP" && test -d "$CPP"; then
957 if test -z "$CPP"; then
958 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
959 echo $ac_n "(cached) $ac_c" 1>&6
961 # This must be in double quotes, not single quotes, because CPP may get
962 # substituted into the Makefile and "${CC-cc}" will confuse make.
964 # On the NeXT, cc -E runs the code through the compiler's parser,
965 # not just through cpp.
966 cat > conftest.$ac_ext <<EOF
967 #line 968 "configure"
968 #include "confdefs.h"
972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
973 { (eval echo configure:974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
975 if test -z "$ac_err"; then
979 echo "configure: failed program was:" >&5
980 cat conftest.$ac_ext >&5
982 CPP="${CC-cc} -E -traditional-cpp"
983 cat > conftest.$ac_ext <<EOF
984 #line 985 "configure"
985 #include "confdefs.h"
989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
990 { (eval echo configure:991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
992 if test -z "$ac_err"; then
996 echo "configure: failed program was:" >&5
997 cat conftest.$ac_ext >&5
999 CPP="${CC-cc} -nologo -E"
1000 cat > conftest.$ac_ext <<EOF
1001 #line 1002 "configure"
1002 #include "confdefs.h"
1006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1007 { (eval echo configure:1008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1009 if test -z "$ac_err"; then
1013 echo "configure: failed program was:" >&5
1014 cat conftest.$ac_ext >&5
1023 ac_cv_prog_CPP="$CPP"
1025 CPP="$ac_cv_prog_CPP"
1027 ac_cv_prog_CPP="$CPP"
1029 echo "$ac_t""$CPP" 1>&6
1031 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1032 echo "configure:1033: checking for ANSI C header files" >&5
1033 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1034 echo $ac_n "(cached) $ac_c" 1>&6
1036 cat > conftest.$ac_ext <<EOF
1037 #line 1038 "configure"
1038 #include "confdefs.h"
1044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1045 { (eval echo configure:1046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1047 if test -z "$ac_err"; then
1049 ac_cv_header_stdc=yes
1052 echo "configure: failed program was:" >&5
1053 cat conftest.$ac_ext >&5
1055 ac_cv_header_stdc=no
1059 if test $ac_cv_header_stdc = yes; then
1060 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1061 cat > conftest.$ac_ext <<EOF
1062 #line 1063 "configure"
1063 #include "confdefs.h"
1066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1067 egrep "memchr" >/dev/null 2>&1; then
1071 ac_cv_header_stdc=no
1077 if test $ac_cv_header_stdc = yes; then
1078 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1079 cat > conftest.$ac_ext <<EOF
1080 #line 1081 "configure"
1081 #include "confdefs.h"
1084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1085 egrep "free" >/dev/null 2>&1; then
1089 ac_cv_header_stdc=no
1095 if test $ac_cv_header_stdc = yes; then
1096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1097 if test "$cross_compiling" = yes; then
1100 cat > conftest.$ac_ext <<EOF
1101 #line 1102 "configure"
1102 #include "confdefs.h"
1104 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1105 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1106 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1107 int main () { int i; for (i = 0; i < 256; i++)
1108 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1112 if { (eval echo configure:1113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1116 echo "configure: failed program was:" >&5
1117 cat conftest.$ac_ext >&5
1119 ac_cv_header_stdc=no
1127 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1128 if test $ac_cv_header_stdc = yes; then
1129 cat >> confdefs.h <<\EOF
1130 #define STDC_HEADERS 1
1139 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
1140 echo "configure:1141: checking for pthread_create in -lpthread" >&5
1141 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
1142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1145 ac_save_LIBS="$LIBS"
1146 LIBS="-lpthread $LIBS"
1147 cat > conftest.$ac_ext <<EOF
1148 #line 1149 "configure"
1149 #include "confdefs.h"
1150 /* Override any gcc2 internal prototype to avoid an error. */
1151 /* We use char because int might match the return type of a gcc2
1152 builtin and then its argument prototype would still apply. */
1153 char pthread_create();
1159 if { (eval echo configure:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1161 eval "ac_cv_lib_$ac_lib_var=yes"
1163 echo "configure: failed program was:" >&5
1164 cat conftest.$ac_ext >&5
1166 eval "ac_cv_lib_$ac_lib_var=no"
1169 LIBS="$ac_save_LIBS"
1172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1173 echo "$ac_t""yes" 1>&6
1174 pthread_lib="-lpthread"; cat >> confdefs.h <<\EOF
1175 #define HAVE_LIBPTHREAD 1
1179 echo "$ac_t""no" 1>&6
1185 if test -n "$pthread_lib"; then
1188 cat >> confdefs.h <<\EOF
1189 #define _REENTRANT 1
1196 #if test -n "$x_libraries"; then
1199 # dnl If we find libgtk installed, great; otherwise assume we have
1200 # dnl to build it ourselves.
1202 # AC_CHECK_LIB(gtk, gtk_main, :, LIBGTKDIR="libgtk", $X_LIBS -lglib -lgdk -lX11 -lXext -lm)
1204 # dnl libpthread is required for xogg.
1206 # if test -z "$pthread_lib"; then XOGG=""; fi
1208 # dnl If we don't have libgtk installed, and we don't have a libgtk
1209 # dnl subdirectory to build the library ourself, we can't build xogg.
1211 # if test -n "$LIBGTKDIR" -a ! -d "$LIBGTKDIR"; then
1220 #if test -d "$LIBGTKDIR"; then
1221 # enable_shared="no"; export enable_shared
1223 # AC_CONFIG_SUBDIRS("$dummy")
1224 # X_LIBS="-L${srcdir}/libgtk/gtk/.libs -L${srcdir}/libgtk/gdk/.libs -L${srcdir}/libgtk/glib/.libs $X_LIBS"
1227 echo $ac_n "checking size of short""... $ac_c" 1>&6
1228 echo "configure:1229: checking size of short" >&5
1229 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
1230 echo $ac_n "(cached) $ac_c" 1>&6
1232 if test "$cross_compiling" = yes; then
1233 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1235 cat > conftest.$ac_ext <<EOF
1236 #line 1237 "configure"
1237 #include "confdefs.h"
1241 FILE *f=fopen("conftestval", "w");
1243 fprintf(f, "%d\n", sizeof(short));
1247 if { (eval echo configure:1248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1249 ac_cv_sizeof_short=`cat conftestval`
1251 echo "configure: failed program was:" >&5
1252 cat conftest.$ac_ext >&5
1254 ac_cv_sizeof_short=0
1260 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
1261 cat >> confdefs.h <<EOF
1262 #define SIZEOF_SHORT $ac_cv_sizeof_short
1266 echo $ac_n "checking size of int""... $ac_c" 1>&6
1267 echo "configure:1268: checking size of int" >&5
1268 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
1269 echo $ac_n "(cached) $ac_c" 1>&6
1271 if test "$cross_compiling" = yes; then
1272 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1274 cat > conftest.$ac_ext <<EOF
1275 #line 1276 "configure"
1276 #include "confdefs.h"
1280 FILE *f=fopen("conftestval", "w");
1282 fprintf(f, "%d\n", sizeof(int));
1286 if { (eval echo configure:1287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1288 ac_cv_sizeof_int=`cat conftestval`
1290 echo "configure: failed program was:" >&5
1291 cat conftest.$ac_ext >&5
1299 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
1300 cat >> confdefs.h <<EOF
1301 #define SIZEOF_INT $ac_cv_sizeof_int
1305 echo $ac_n "checking size of long""... $ac_c" 1>&6
1306 echo "configure:1307: checking size of long" >&5
1307 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
1308 echo $ac_n "(cached) $ac_c" 1>&6
1310 if test "$cross_compiling" = yes; then
1311 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1313 cat > conftest.$ac_ext <<EOF
1314 #line 1315 "configure"
1315 #include "confdefs.h"
1319 FILE *f=fopen("conftestval", "w");
1321 fprintf(f, "%d\n", sizeof(long));
1325 if { (eval echo configure:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1327 ac_cv_sizeof_long=`cat conftestval`
1329 echo "configure: failed program was:" >&5
1330 cat conftest.$ac_ext >&5
1338 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
1339 cat >> confdefs.h <<EOF
1340 #define SIZEOF_LONG $ac_cv_sizeof_long
1344 echo $ac_n "checking size of long long""... $ac_c" 1>&6
1345 echo "configure:1346: checking size of long long" >&5
1346 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
1347 echo $ac_n "(cached) $ac_c" 1>&6
1349 if test "$cross_compiling" = yes; then
1350 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1352 cat > conftest.$ac_ext <<EOF
1353 #line 1354 "configure"
1354 #include "confdefs.h"
1358 FILE *f=fopen("conftestval", "w");
1360 fprintf(f, "%d\n", sizeof(long long));
1364 if { (eval echo configure:1365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1366 ac_cv_sizeof_long_long=`cat conftestval`
1368 echo "configure: failed program was:" >&5
1369 cat conftest.$ac_ext >&5
1371 ac_cv_sizeof_long_long=0
1377 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
1378 cat >> confdefs.h <<EOF
1379 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
1385 $ac_cv_sizeof_short) SIZE16="short";;
1386 $ac_cv_sizeof_int) SIZE16="int";;
1390 $ac_cv_sizeof_short) SIZE32="short";;
1391 $ac_cv_sizeof_int) SIZE32="int";;
1392 $ac_cv_sizeof_long) SIZE32="long";;
1396 $ac_cv_sizeof_int) SIZE64="int";;
1397 $ac_cv_sizeof_long) SIZE64="long";;
1398 $ac_cv_sizeof_long_long) SIZE64="long long";;
1401 echo $ac_n "checking for int16_t""... $ac_c" 1>&6
1402 echo "configure:1403: checking for int16_t" >&5
1403 if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
1404 echo $ac_n "(cached) $ac_c" 1>&6
1406 cat > conftest.$ac_ext <<EOF
1407 #line 1408 "configure"
1408 #include "confdefs.h"
1409 #include <sys/types.h>
1415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1416 egrep "(^|[^a-zA-Z_0-9])int16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1418 ac_cv_type_int16_t=yes
1421 ac_cv_type_int16_t=no
1426 echo "$ac_t""$ac_cv_type_int16_t" 1>&6
1427 if test $ac_cv_type_int16_t = no; then
1428 cat >> confdefs.h <<\EOF
1429 #define int16_t $SIZE16
1434 echo $ac_n "checking for int32_t""... $ac_c" 1>&6
1435 echo "configure:1436: checking for int32_t" >&5
1436 if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
1437 echo $ac_n "(cached) $ac_c" 1>&6
1439 cat > conftest.$ac_ext <<EOF
1440 #line 1441 "configure"
1441 #include "confdefs.h"
1442 #include <sys/types.h>
1448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1449 egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1451 ac_cv_type_int32_t=yes
1454 ac_cv_type_int32_t=no
1459 echo "$ac_t""$ac_cv_type_int32_t" 1>&6
1460 if test $ac_cv_type_int32_t = no; then
1461 cat >> confdefs.h <<\EOF
1462 #define int32_t $SIZE32
1467 echo $ac_n "checking for int64_t""... $ac_c" 1>&6
1468 echo "configure:1469: checking for int64_t" >&5
1469 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
1470 echo $ac_n "(cached) $ac_c" 1>&6
1472 cat > conftest.$ac_ext <<EOF
1473 #line 1474 "configure"
1474 #include "confdefs.h"
1475 #include <sys/types.h>
1481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1482 egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1484 ac_cv_type_int64_t=yes
1487 ac_cv_type_int64_t=no
1492 echo "$ac_t""$ac_cv_type_int64_t" 1>&6
1493 if test $ac_cv_type_int64_t = no; then
1494 cat >> confdefs.h <<\EOF
1495 #define int64_t $SIZE64
1500 echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
1501 echo "configure:1502: checking for u_int16_t" >&5
1502 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
1503 echo $ac_n "(cached) $ac_c" 1>&6
1505 cat > conftest.$ac_ext <<EOF
1506 #line 1507 "configure"
1507 #include "confdefs.h"
1508 #include <sys/types.h>
1514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1515 egrep "(^|[^a-zA-Z_0-9])u_int16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1517 ac_cv_type_u_int16_t=yes
1520 ac_cv_type_u_int16_t=no
1525 echo "$ac_t""$ac_cv_type_u_int16_t" 1>&6
1526 if test $ac_cv_type_u_int16_t = no; then
1527 cat >> confdefs.h <<\EOF
1528 #define u_int16_t unsigned $SIZE16
1533 echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
1534 echo "configure:1535: checking for u_int32_t" >&5
1535 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
1536 echo $ac_n "(cached) $ac_c" 1>&6
1538 cat > conftest.$ac_ext <<EOF
1539 #line 1540 "configure"
1540 #include "confdefs.h"
1541 #include <sys/types.h>
1547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1548 egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1550 ac_cv_type_u_int32_t=yes
1553 ac_cv_type_u_int32_t=no
1558 echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
1559 if test $ac_cv_type_u_int32_t = no; then
1560 cat >> confdefs.h <<\EOF
1561 #define u_int32_t unsigned $SIZE32
1566 echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
1567 echo "configure:1568: checking for u_int64_t" >&5
1568 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
1569 echo $ac_n "(cached) $ac_c" 1>&6
1571 cat > conftest.$ac_ext <<EOF
1572 #line 1573 "configure"
1573 #include "confdefs.h"
1574 #include <sys/types.h>
1580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1581 egrep "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1583 ac_cv_type_u_int64_t=yes
1586 ac_cv_type_u_int64_t=no
1591 echo "$ac_t""$ac_cv_type_u_int64_t" 1>&6
1592 if test $ac_cv_type_u_int64_t = no; then
1593 cat >> confdefs.h <<\EOF
1594 #define u_int64_t unsigned $SIZE64
1600 if test -z "$SIZE16"; then
1601 { echo "configure: error: No 16 bit type found on this platform!" 1>&2; exit 1; }
1603 if test -z "$SIZE32"; then
1604 { echo "configure: error: No 32 bit type found on this platform!" 1>&2; exit 1; }
1606 if test -z "$SIZE64"; then
1607 echo "configure: warning: No 64 bit type found on this platform!" 1>&2
1610 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1611 echo "configure:1612: checking for sys/wait.h that is POSIX.1 compatible" >&5
1612 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1613 echo $ac_n "(cached) $ac_c" 1>&6
1615 cat > conftest.$ac_ext <<EOF
1616 #line 1617 "configure"
1617 #include "confdefs.h"
1618 #include <sys/types.h>
1619 #include <sys/wait.h>
1621 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
1624 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
1629 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1632 if { (eval echo configure:1633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1634 ac_cv_header_sys_wait_h=yes
1636 echo "configure: failed program was:" >&5
1637 cat conftest.$ac_ext >&5
1639 ac_cv_header_sys_wait_h=no
1644 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
1645 if test $ac_cv_header_sys_wait_h = yes; then
1646 cat >> confdefs.h <<\EOF
1647 #define HAVE_SYS_WAIT_H 1
1652 for ac_hdr in fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h
1654 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1656 echo "configure:1657: checking for $ac_hdr" >&5
1657 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1658 echo $ac_n "(cached) $ac_c" 1>&6
1660 cat > conftest.$ac_ext <<EOF
1661 #line 1662 "configure"
1662 #include "confdefs.h"
1665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1666 { (eval echo configure:1667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1668 if test -z "$ac_err"; then
1670 eval "ac_cv_header_$ac_safe=yes"
1673 echo "configure: failed program was:" >&5
1674 cat conftest.$ac_ext >&5
1676 eval "ac_cv_header_$ac_safe=no"
1680 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1681 echo "$ac_t""yes" 1>&6
1682 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1683 cat >> confdefs.h <<EOF
1684 #define $ac_tr_hdr 1
1688 echo "$ac_t""no" 1>&6
1693 echo $ac_n "checking for working const""... $ac_c" 1>&6
1694 echo "configure:1695: checking for working const" >&5
1695 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1696 echo $ac_n "(cached) $ac_c" 1>&6
1698 cat > conftest.$ac_ext <<EOF
1699 #line 1700 "configure"
1700 #include "confdefs.h"
1704 /* Ultrix mips cc rejects this. */
1705 typedef int charset[2]; const charset x;
1706 /* SunOS 4.1.1 cc rejects this. */
1707 char const *const *ccp;
1709 /* NEC SVR4.0.2 mips cc rejects this. */
1710 struct point {int x, y;};
1711 static struct point const zero = {0,0};
1712 /* AIX XL C 1.02.0.0 rejects this.
1713 It does not let you subtract one const X* pointer from another in an arm
1714 of an if-expression whose if-part is not a constant expression */
1715 const char *g = "string";
1716 ccp = &g + (g ? g-g : 0);
1717 /* HPUX 7.0 cc rejects these. */
1720 ccp = (char const *const *) p;
1721 { /* SCO 3.2v4 cc rejects this. */
1723 char const *s = 0 ? (char *) 0 : (char const *) 0;
1727 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1729 const int *foo = &x[0];
1732 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1733 typedef const int *iptr;
1737 { /* AIX XL C 1.02.0.0 rejects this saying
1738 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1739 struct s { int j; const int *ap[3]; };
1740 struct s *b; b->j = 5;
1742 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1748 if { (eval echo configure:1749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1752 echo "configure: failed program was:" >&5
1753 cat conftest.$ac_ext >&5
1760 echo "$ac_t""$ac_cv_c_const" 1>&6
1761 if test $ac_cv_c_const = no; then
1762 cat >> confdefs.h <<\EOF
1768 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1769 echo "configure:1770: checking whether time.h and sys/time.h may both be included" >&5
1770 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1771 echo $ac_n "(cached) $ac_c" 1>&6
1773 cat > conftest.$ac_ext <<EOF
1774 #line 1775 "configure"
1775 #include "confdefs.h"
1776 #include <sys/types.h>
1777 #include <sys/time.h>
1783 if { (eval echo configure:1784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1785 ac_cv_header_time=yes
1787 echo "configure: failed program was:" >&5
1788 cat conftest.$ac_ext >&5
1790 ac_cv_header_time=no
1795 echo "$ac_t""$ac_cv_header_time" 1>&6
1796 if test $ac_cv_header_time = yes; then
1797 cat >> confdefs.h <<\EOF
1798 #define TIME_WITH_SYS_TIME 1
1803 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
1804 echo "configure:1805: checking whether struct tm is in sys/time.h or time.h" >&5
1805 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
1806 echo $ac_n "(cached) $ac_c" 1>&6
1808 cat > conftest.$ac_ext <<EOF
1809 #line 1810 "configure"
1810 #include "confdefs.h"
1811 #include <sys/types.h>
1814 struct tm *tp; tp->tm_sec;
1817 if { (eval echo configure:1818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1819 ac_cv_struct_tm=time.h
1821 echo "configure: failed program was:" >&5
1822 cat conftest.$ac_ext >&5
1824 ac_cv_struct_tm=sys/time.h
1829 echo "$ac_t""$ac_cv_struct_tm" 1>&6
1830 if test $ac_cv_struct_tm = sys/time.h; then
1831 cat >> confdefs.h <<\EOF
1832 #define TM_IN_SYS_TIME 1
1838 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1839 echo "configure:1840: checking whether ${MAKE-make} sets \${MAKE}" >&5
1840 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1841 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1842 echo $ac_n "(cached) $ac_c" 1>&6
1844 cat > conftestmake <<\EOF
1846 @echo 'ac_maketemp="${MAKE}"'
1848 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1849 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1850 if test -n "$ac_maketemp"; then
1851 eval ac_cv_prog_make_${ac_make}_set=yes
1853 eval ac_cv_prog_make_${ac_make}_set=no
1857 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1858 echo "$ac_t""yes" 1>&6
1861 echo "$ac_t""no" 1>&6
1862 SET_MAKE="MAKE=${MAKE-make}"
1865 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
1866 echo "configure:1867: checking for 8-bit clean memcmp" >&5
1867 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
1868 echo $ac_n "(cached) $ac_c" 1>&6
1870 if test "$cross_compiling" = yes; then
1871 ac_cv_func_memcmp_clean=no
1873 cat > conftest.$ac_ext <<EOF
1874 #line 1875 "configure"
1875 #include "confdefs.h"
1879 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
1880 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
1884 if { (eval echo configure:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1886 ac_cv_func_memcmp_clean=yes
1888 echo "configure: failed program was:" >&5
1889 cat conftest.$ac_ext >&5
1891 ac_cv_func_memcmp_clean=no
1898 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
1899 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
1901 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1902 echo "configure:1903: checking return type of signal handlers" >&5
1903 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1904 echo $ac_n "(cached) $ac_c" 1>&6
1906 cat > conftest.$ac_ext <<EOF
1907 #line 1908 "configure"
1908 #include "confdefs.h"
1909 #include <sys/types.h>
1915 extern "C" void (*signal (int, void (*)(int)))(int);
1917 void (*signal ()) ();
1924 if { (eval echo configure:1925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1926 ac_cv_type_signal=void
1928 echo "configure: failed program was:" >&5
1929 cat conftest.$ac_ext >&5
1931 ac_cv_type_signal=int
1936 echo "$ac_t""$ac_cv_type_signal" 1>&6
1937 cat >> confdefs.h <<EOF
1938 #define RETSIGTYPE $ac_cv_type_signal
1942 for ac_func in gettimeofday select strcspn strerror strspn sigaction
1944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1945 echo "configure:1946: checking for $ac_func" >&5
1946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1947 echo $ac_n "(cached) $ac_c" 1>&6
1949 cat > conftest.$ac_ext <<EOF
1950 #line 1951 "configure"
1951 #include "confdefs.h"
1952 /* System header to define __stub macros and hopefully few prototypes,
1953 which can conflict with char $ac_func(); below. */
1955 /* Override any gcc2 internal prototype to avoid an error. */
1956 /* We use char because int might match the return type of a gcc2
1957 builtin and then its argument prototype would still apply. */
1962 /* The GNU C library defines this for functions which it implements
1963 to always fail with ENOSYS. Some functions are actually named
1964 something starting with __ and the normal name is an alias. */
1965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1973 if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1975 eval "ac_cv_func_$ac_func=yes"
1977 echo "configure: failed program was:" >&5
1978 cat conftest.$ac_ext >&5
1980 eval "ac_cv_func_$ac_func=no"
1985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1986 echo "$ac_t""yes" 1>&6
1987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1988 cat >> confdefs.h <<EOF
1989 #define $ac_tr_func 1
1993 echo "$ac_t""no" 1>&6
2005 #AC_SUBST(LIBGTKDIR)
2009 cat > confcache <<\EOF
2010 # This file is a shell script that caches the results of configure
2011 # tests run on this system so they can be shared between configure
2012 # scripts and configure runs. It is not useful on other systems.
2013 # If it contains results you don't want to keep, you may remove or edit it.
2015 # By default, configure uses ./config.cache as the cache file,
2016 # creating it if it does not exist already. You can give configure
2017 # the --cache-file=FILE option to use a different cache file; that is
2018 # what configure does when it calls configure scripts in
2019 # subdirectories, so they share the cache.
2020 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2021 # config.status only pays attention to the cache file if you give it the
2022 # --recheck option to rerun configure.
2025 # The following way of writing the cache mishandles newlines in values,
2026 # but we know of no workaround that is simple, portable, and efficient.
2027 # So, don't put newlines in cache variables' values.
2028 # Ultrix sh set writes to stderr and can't be redirected directly,
2029 # and sets the high bit in the cache file unless we assign to the vars.
2031 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2033 # `set' does not quote correctly, so add quotes (double-quote substitution
2034 # turns \\\\ into \\, and sed turns \\ into \).
2036 -e "s/'/'\\\\''/g" \
2037 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2040 # `set' quotes correctly as required by POSIX, so do not add quotes.
2041 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2044 if cmp -s $cache_file confcache; then
2047 if test -w $cache_file; then
2048 echo "updating cache $cache_file"
2049 cat confcache > $cache_file
2051 echo "not updating unwritable cache $cache_file"
2056 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2058 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2059 # Let make expand exec_prefix.
2060 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2062 # Any assignment to VPATH causes Sun make to only execute
2063 # the first set of double-colon rules, so remove it if not needed.
2064 # If there is a colon in the path, we need to keep it.
2065 if test "x$srcdir" = x.; then
2066 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2069 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2071 # Transform confdefs.h into DEFS.
2072 # Protect against shell expansion while executing Makefile rules.
2073 # Protect against Makefile macro expansion.
2074 cat > conftest.defs <<\EOF
2075 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2076 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
2081 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
2085 # Without the "./", some shells look in PATH for config.status.
2086 : ${CONFIG_STATUS=./config.status}
2088 echo creating $CONFIG_STATUS
2089 rm -f $CONFIG_STATUS
2090 cat > $CONFIG_STATUS <<EOF
2092 # Generated automatically by configure.
2093 # Run this file to recreate the current configuration.
2094 # This directory was configured as follows,
2095 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2097 # $0 $ac_configure_args
2099 # Compiler output produced by configure, useful for debugging
2100 # configure, is in ./config.log if it exists.
2102 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2105 case "\$ac_option" in
2106 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2107 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2108 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2109 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2110 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2112 -help | --help | --hel | --he | --h)
2113 echo "\$ac_cs_usage"; exit 0 ;;
2114 *) echo "\$ac_cs_usage"; exit 1 ;;
2118 ac_given_srcdir=$srcdir
2120 trap 'rm -fr `echo "Makefile lib/Makefile examples/Makefile vq/Makefile cmdline/Makefile xmms/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2122 cat >> $CONFIG_STATUS <<EOF
2124 # Protect against being on the right side of a sed subst in config.status.
2125 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2126 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2130 s%@CFLAGS@%$CFLAGS%g
2131 s%@CPPFLAGS@%$CPPFLAGS%g
2132 s%@CXXFLAGS@%$CXXFLAGS%g
2133 s%@FFLAGS@%$FFLAGS%g
2135 s%@LDFLAGS@%$LDFLAGS%g
2137 s%@exec_prefix@%$exec_prefix%g
2138 s%@prefix@%$prefix%g
2139 s%@program_transform_name@%$program_transform_name%g
2140 s%@bindir@%$bindir%g
2141 s%@sbindir@%$sbindir%g
2142 s%@libexecdir@%$libexecdir%g
2143 s%@datadir@%$datadir%g
2144 s%@sysconfdir@%$sysconfdir%g
2145 s%@sharedstatedir@%$sharedstatedir%g
2146 s%@localstatedir@%$localstatedir%g
2147 s%@libdir@%$libdir%g
2148 s%@includedir@%$includedir%g
2149 s%@oldincludedir@%$oldincludedir%g
2150 s%@infodir@%$infodir%g
2151 s%@mandir@%$mandir%g
2153 s%@host_alias@%$host_alias%g
2154 s%@host_cpu@%$host_cpu%g
2155 s%@host_vendor@%$host_vendor%g
2156 s%@host_os@%$host_os%g
2158 s%@RANLIB@%$RANLIB%g
2161 s%@SET_MAKE@%$SET_MAKE%g
2162 s%@LIBOBJS@%$LIBOBJS%g
2163 s%@TYPESIZES@%$TYPESIZES%g
2166 s%@PROFILE@%$PROFILE%g
2167 s%@pthread_lib@%$pthread_lib%g
2172 cat >> $CONFIG_STATUS <<\EOF
2174 # Split the substitutions into bite-sized pieces for seds with
2175 # small command number limits, like on Digital OSF/1 and HP-UX.
2176 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2177 ac_file=1 # Number of current file.
2178 ac_beg=1 # First line for current file.
2179 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2182 while $ac_more_lines; do
2183 if test $ac_beg -gt 1; then
2184 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2186 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2188 if test ! -s conftest.s$ac_file; then
2190 rm -f conftest.s$ac_file
2192 if test -z "$ac_sed_cmds"; then
2193 ac_sed_cmds="sed -f conftest.s$ac_file"
2195 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2197 ac_file=`expr $ac_file + 1`
2199 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2202 if test -z "$ac_sed_cmds"; then
2207 cat >> $CONFIG_STATUS <<EOF
2209 CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile examples/Makefile vq/Makefile cmdline/Makefile xmms/Makefile"}
2211 cat >> $CONFIG_STATUS <<\EOF
2212 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2213 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2215 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2216 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2217 *) ac_file_in="${ac_file}.in" ;;
2220 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2222 # Remove last slash and all that follows it. Not all systems have dirname.
2223 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2224 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2225 # The file is in a subdirectory.
2226 test ! -d "$ac_dir" && mkdir "$ac_dir"
2227 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2228 # A "../" for each directory in $ac_dir_suffix.
2229 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2231 ac_dir_suffix= ac_dots=
2234 case "$ac_given_srcdir" in
2236 if test -z "$ac_dots"; then top_srcdir=.
2237 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2238 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2240 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2241 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2245 echo creating "$ac_file"
2247 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2249 *Makefile*) ac_comsub="1i\\
2250 # $configure_input" ;;
2254 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2256 s%@configure_input@%$configure_input%g
2257 s%@srcdir@%$srcdir%g
2258 s%@top_srcdir@%$top_srcdir%g
2259 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2264 cat >> $CONFIG_STATUS <<EOF
2267 cat >> $CONFIG_STATUS <<\EOF
2271 chmod +x $CONFIG_STATUS
2272 rm -fr confdefs* $ac_clean_files
2273 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1