Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.49a.
4 #
5 # Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 #
11 # Initializations.
12 #
13 ac_default_prefix=/usr/local
14 cross_compiling=no
15 subdirs=
16 MFLAGS= MAKEFLAGS=
17 SHELL=${CONFIG_SHELL-/bin/sh}
18 # Maximum number of lines to put in a shell here document.
19 # This variable seems obsolete. It should probably be removed, and
20 # only ac_max_sed_lines should be used.
21 : ${ac_max_here_lines=38}
22 # Sed expression to map a string onto a valid sh and CPP variable names.
23 ac_tr_sh='sed y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
24 ac_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
25
26 # By default always use an empty string as the executable extension.
27 # Only change it if the script calls AC_EXEEXT.
28 ac_exeext=
29 # By default assume that objects files use an extension of .o. Only
30 # change it if the script calls AC_OBJEXT.
31 ac_objext=o
32 # Factoring default headers for most tests.
33 ac_includes_default="\
34 #include <stdio.h>
35 #include <sys/types.h>
36 #if STDC_HEADERS
37 # include <stdlib.h>
38 # include <stddef.h>
39 #else
40 # if HAVE_STDLIB_H
41 # include <stdlib.h>
42 # endif
43 #endif
44 #if HAVE_STRING_H
45 # if !STDC_HEADERS && HAVE_MEMORY_H
46 # include <memory.h>
47 # endif
48 # include <string.h>
49 #else
50 # if HAVE_STRINGS_H
51 # include <strings.h>
52 # endif
53 #endif
54 #if HAVE_INTTYPES_H
55 # include <inttypes.h>
56 #endif
57 #if HAVE_UNISTD_H
58 # include <unistd.h>
59 #endif"
60 ac_unique_file="sound.conf"
61
62 # Initialize some variables set by options.
63 ac_init_help=
64 ac_init_version=false
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
67 cache_file=/dev/null
68 exec_prefix=NONE
69 no_create=
70 no_recursion=
71 prefix=NONE
72 program_prefix=NONE
73 program_suffix=NONE
74 program_transform_name=s,x,x,
75 silent=
76 site=
77 srcdir=
78 verbose=
79 x_includes=NONE
80 x_libraries=NONE
81 bindir='${exec_prefix}/bin'
82 sbindir='${exec_prefix}/sbin'
83 libexecdir='${exec_prefix}/libexec'
84 datadir='${prefix}/share'
85 sysconfdir='${prefix}/etc'
86 sharedstatedir='${prefix}/com'
87 localstatedir='${prefix}/var'
88 libdir='${exec_prefix}/lib'
89 includedir='${prefix}/include'
90 oldincludedir='/usr/include'
91 infodir='${prefix}/info'
92 mandir='${prefix}/man'
93
94 ac_prev=
95 for ac_option
96 do
97 # If the previous option needs an argument, assign it.
98 if test -n "$ac_prev"; then
99 eval "$ac_prev=\$ac_option"
100 ac_prev=
101 continue
102 fi
103
104 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
105
106 # Accept the important Cygnus configure options, so we can diagnose typos.
107
108 case $ac_option in
109
110 -bindir | --bindir | --bindi | --bind | --bin | --bi)
111 ac_prev=bindir ;;
112 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
113 bindir=$ac_optarg ;;
114
115 -build | --build | --buil | --bui | --bu)
116 ac_prev=build_alias ;;
117 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
118 build_alias=$ac_optarg ;;
119
120 -cache-file | --cache-file | --cache-fil | --cache-fi \
121 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
122 ac_prev=cache_file ;;
123 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
124 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
125 cache_file=$ac_optarg ;;
126
127 --config-cache | -C)
128 cache_file=config.cache ;;
129
130 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
131 ac_prev=datadir ;;
132 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
133 | --da=*)
134 datadir=$ac_optarg ;;
135
136 -disable-* | --disable-*)
137 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
138 # Reject names that are not valid shell variable names.
139 expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
140 { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
141 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
142 eval "enable_$ac_feature=no" ;;
143
144 -enable-* | --enable-*)
145 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
146 # Reject names that are not valid shell variable names.
147 expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
148 { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
149 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
150 case $ac_option in
151 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
152 *) ac_optarg=yes ;;
153 esac
154 eval "enable_$ac_feature='$ac_optarg'" ;;
155
156 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
157 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
158 | --exec | --exe | --ex)
159 ac_prev=exec_prefix ;;
160 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
161 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
162 | --exec=* | --exe=* | --ex=*)
163 exec_prefix=$ac_optarg ;;
164
165 -gas | --gas | --ga | --g)
166 # Obsolete; use --with-gas.
167 with_gas=yes ;;
168
169 -help | --help | --hel | --he | -h)
170 ac_init_help=long ;;
171 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
172 ac_init_help=recursive ;;
173 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
174 ac_init_help=short ;;
175
176 -host | --host | --hos | --ho)
177 ac_prev=host_alias ;;
178 -host=* | --host=* | --hos=* | --ho=*)
179 host_alias=$ac_optarg ;;
180
181 -includedir | --includedir | --includedi | --included | --include \
182 | --includ | --inclu | --incl | --inc)
183 ac_prev=includedir ;;
184 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
185 | --includ=* | --inclu=* | --incl=* | --inc=*)
186 includedir=$ac_optarg ;;
187
188 -infodir | --infodir | --infodi | --infod | --info | --inf)
189 ac_prev=infodir ;;
190 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
191 infodir=$ac_optarg ;;
192
193 -libdir | --libdir | --libdi | --libd)
194 ac_prev=libdir ;;
195 -libdir=* | --libdir=* | --libdi=* | --libd=*)
196 libdir=$ac_optarg ;;
197
198 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
199 | --libexe | --libex | --libe)
200 ac_prev=libexecdir ;;
201 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
202 | --libexe=* | --libex=* | --libe=*)
203 libexecdir=$ac_optarg ;;
204
205 -localstatedir | --localstatedir | --localstatedi | --localstated \
206 | --localstate | --localstat | --localsta | --localst \
207 | --locals | --local | --loca | --loc | --lo)
208 ac_prev=localstatedir ;;
209 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
210 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
211 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
212 localstatedir=$ac_optarg ;;
213
214 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
215 ac_prev=mandir ;;
216 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
217 mandir=$ac_optarg ;;
218
219 -nfp | --nfp | --nf)
220 # Obsolete; use --without-fp.
221 with_fp=no ;;
222
223 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
224 | --no-cr | --no-c)
225 no_create=yes ;;
226
227 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
228 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
229 no_recursion=yes ;;
230
231 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
232 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
233 | --oldin | --oldi | --old | --ol | --o)
234 ac_prev=oldincludedir ;;
235 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
236 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
237 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
238 oldincludedir=$ac_optarg ;;
239
240 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
241 ac_prev=prefix ;;
242 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
243 prefix=$ac_optarg ;;
244
245 -program-prefix | --program-prefix | --program-prefi | --program-pref \
246 | --program-pre | --program-pr | --program-p)
247 ac_prev=program_prefix ;;
248 -program-prefix=* | --program-prefix=* | --program-prefi=* \
249 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
250 program_prefix=$ac_optarg ;;
251
252 -program-suffix | --program-suffix | --program-suffi | --program-suff \
253 | --program-suf | --program-su | --program-s)
254 ac_prev=program_suffix ;;
255 -program-suffix=* | --program-suffix=* | --program-suffi=* \
256 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
257 program_suffix=$ac_optarg ;;
258
259 -program-transform-name | --program-transform-name \
260 | --program-transform-nam | --program-transform-na \
261 | --program-transform-n | --program-transform- \
262 | --program-transform | --program-transfor \
263 | --program-transfo | --program-transf \
264 | --program-trans | --program-tran \
265 | --progr-tra | --program-tr | --program-t)
266 ac_prev=program_transform_name ;;
267 -program-transform-name=* | --program-transform-name=* \
268 | --program-transform-nam=* | --program-transform-na=* \
269 | --program-transform-n=* | --program-transform-=* \
270 | --program-transform=* | --program-transfor=* \
271 | --program-transfo=* | --program-transf=* \
272 | --program-trans=* | --program-tran=* \
273 | --progr-tra=* | --program-tr=* | --program-t=*)
274 program_transform_name=$ac_optarg ;;
275
276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
277 | -silent | --silent | --silen | --sile | --sil)
278 silent=yes ;;
279
280 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
281 ac_prev=sbindir ;;
282 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
283 | --sbi=* | --sb=*)
284 sbindir=$ac_optarg ;;
285
286 -sharedstatedir | --sharedstatedir | --sharedstatedi \
287 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
288 | --sharedst | --shareds | --shared | --share | --shar \
289 | --sha | --sh)
290 ac_prev=sharedstatedir ;;
291 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
292 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
293 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
294 | --sha=* | --sh=*)
295 sharedstatedir=$ac_optarg ;;
296
297 -site | --site | --sit)
298 ac_prev=site ;;
299 -site=* | --site=* | --sit=*)
300 site=$ac_optarg ;;
301
302 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
303 ac_prev=srcdir ;;
304 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
305 srcdir=$ac_optarg ;;
306
307 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
308 | --syscon | --sysco | --sysc | --sys | --sy)
309 ac_prev=sysconfdir ;;
310 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
311 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
312 sysconfdir=$ac_optarg ;;
313
314 -target | --target | --targe | --targ | --tar | --ta | --t)
315 ac_prev=target_alias ;;
316 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
317 target_alias=$ac_optarg ;;
318
319 -v | -verbose | --verbose | --verbos | --verbo | --verb)
320 verbose=yes ;;
321
322 -version | --version | --versio | --versi | --vers | -V)
323 ac_init_version=: ;;
324
325 -with-* | --with-*)
326 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
327 # Reject names that are not valid shell variable names.
328 expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
329 { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
330 ac_package=`echo $ac_package| sed 's/-/_/g'`
331 case $ac_option in
332 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
333 *) ac_optarg=yes ;;
334 esac
335 eval "with_$ac_package='$ac_optarg'" ;;
336
337 -without-* | --without-*)
338 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
339 # Reject names that are not valid shell variable names.
340 expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
341 { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
342 ac_package=`echo $ac_package | sed 's/-/_/g'`
343 eval "with_$ac_package=no" ;;
344
345 --x)
346 # Obsolete; use --with-x.
347 with_x=yes ;;
348
349 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
350 | --x-incl | --x-inc | --x-in | --x-i)
351 ac_prev=x_includes ;;
352 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
353 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
354 x_includes=$ac_optarg ;;
355
356 -x-libraries | --x-libraries | --x-librarie | --x-librari \
357 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
358 ac_prev=x_libraries ;;
359 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
360 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
361 x_libraries=$ac_optarg ;;
362
363 -*) { echo "configure: error: unrecognized option: $ac_option
364 Try \`configure --help' for more information." >&2; exit 1; }
365 ;;
366
367 *=*)
368 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_envvar" : ".*[^a-zA-Z0-9_]" >/dev/null &&
371 { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; }
372 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
373 eval "$ac_envvar='$ac_optarg'"
374 export $ac_envvar ;;
375
376 *)
377 # FIXME: should be removed in autoconf 3.0.
378 echo "configure: WARNING: you should use --build, --host, --target" >&2
379 expr "x$ac_option" : ".*[^a-zA-Z0-9.]" >/dev/null &&
380 echo "configure: WARNING: invalid host type: $ac_option" >&2
381 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
382 ;;
383
384 esac
385 done
386
387 if test -n "$ac_prev"; then
388 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
389 { echo "configure: error: missing argument to $ac_option" >&2; exit 1; }
390 fi
391
392 # Be sure to have absolute paths.
393 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
394 localstatedir libdir includedir oldincludedir infodir mandir \
395 exec_prefix prefix
396 do
397 eval ac_val=$`echo $ac_var`
398 case $ac_val in
399 [\\/$]* | ?:[\\/]* ) ;;
400 NONE ) ;;
401 *) { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };;
402 esac
403 done
404
405 # There might be people who depend on the old broken behavior: `$host'
406 # used to hold the argument of --host etc.
407 build=$build_alias
408 host=$host_alias
409 target=$target_alias
410
411 # FIXME: should be removed in autoconf 3.0.
412 if test "x$host_alias" != x; then
413 if test "x$build_alias" = x; then
414 cross_compiling=maybe
415 echo "configure: WARNING: If you wanted to set the --build type, don't use --host.
416 If a cross compiler is detected then cross compile mode will be used." >&2
417 elif test "x$build_alias" != "x$host_alias"; then
418 cross_compiling=yes
419 fi
420 fi
421
422 ac_tool_prefix=
423 test -n "$host_alias" && ac_tool_prefix=$host_alias-
424
425 # Find the source files, if location was not specified.
426 if test -z "$srcdir"; then
427 ac_srcdir_defaulted=yes
428 # Try the directory containing this script, then its parent.
429 ac_prog=$0
430 ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`
431 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
432 srcdir=$ac_confdir
433 if test ! -r $srcdir/$ac_unique_file; then
434 srcdir=..
435 fi
436 else
437 ac_srcdir_defaulted=no
438 fi
439 if test ! -r $srcdir/$ac_unique_file; then
440 if test "$ac_srcdir_defaulted" = yes; then
441 { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; }
442 else
443 { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; }
444 fi
445 fi
446 srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
447 ac_env_build_alias_set=${build_alias+set}
448 ac_env_build_alias_value=$build_alias
449 ac_cv_env_build_alias_set=${build_alias+set}
450 ac_cv_env_build_alias_value=$build_alias
451 ac_env_host_alias_set=${host_alias+set}
452 ac_env_host_alias_value=$host_alias
453 ac_cv_env_host_alias_set=${host_alias+set}
454 ac_cv_env_host_alias_value=$host_alias
455 ac_env_target_alias_set=${target_alias+set}
456 ac_env_target_alias_value=$target_alias
457 ac_cv_env_target_alias_set=${target_alias+set}
458 ac_cv_env_target_alias_value=$target_alias
459
460 #
461 # Report the --help message.
462 #
463 if test "$ac_init_help" = "long"; then
464 # Omit some internal or obsolete options to make the list less imposing.
465 # This message is too long to be a string in the A/UX 3.1 sh.
466 cat <<EOF
467 \`configure' configures this package to adapt to many kinds of systems.
468
469 Usage: $0 [OPTION]... [VAR=VALUE]...
470
471 To assign environment variables (e.g., CC, CFLAGS...), specify them as
472 VAR=VALUE. See below for descriptions of some of the useful variables.
473
474 Defaults for the options are specified in brackets.
475
476 Configuration:
477 -h, --help display this help and exit
478 --help=short display options specific to this package
479 --help=recursive display the short help of all the included packages
480 -V, --version display version information and exit
481 -q, --quiet, --silent do not print \`checking...' messages
482 --cache-file=FILE cache test results in FILE [disabled]
483 -C, --config-cache alias for \`--cache-file=config.cache'
484 -n, --no-create do not create output files
485 --srcdir=DIR find the sources in DIR [configure dir or \`..']
486
487 EOF
488
489 cat <<EOF
490 Installation directories:
491 --prefix=PREFIX install architecture-independent files in PREFIX
492 [$ac_default_prefix]
493 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
494 [PREFIX]
495
496 By default, \`make install' will install all the files in
497 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
498 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
499 for instance \`--prefix=\$HOME'.
500
501 For better control, use the options below.
502
503 Fine tuning of the installation directories:
504 --bindir=DIR user executables [EPREFIX/bin]
505 --sbindir=DIR system admin executables [EPREFIX/sbin]
506 --libexecdir=DIR program executables [EPREFIX/libexec]
507 --datadir=DIR read-only architecture-independent data [PREFIX/share]
508 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
509 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
510 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
511 --libdir=DIR object code libraries [EPREFIX/lib]
512 --includedir=DIR C header files [PREFIX/include]
513 --oldincludedir=DIR C header files for non-gcc [/usr/include]
514 --infodir=DIR info documentation [PREFIX/info]
515 --mandir=DIR man documentation [PREFIX/man]
516 EOF
517
518 cat <<\EOF
519
520 Program names:
521 --program-prefix=PREFIX prepend PREFIX to installed program names
522 --program-suffix=SUFFIX append SUFFIX to installed program names
523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
524 EOF
525 fi
526
527 if test -n "$ac_init_help"; then
528
529 cat <<\EOF
530
531 EOF
532 fi
533
534 if test "$ac_init_help" = "recursive"; then
535 # If there are subdirs, report their specific --help.
536 ac_popdir=`pwd`
537 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
538 cd $ac_subdir
539 # A "../" for each directory in /$ac_subdir.
540 ac_dots=`echo $ac_subdir |
541 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
542
543 case $srcdir in
544 .) # No --srcdir option. We are building in place.
545 ac_sub_srcdir=$srcdir ;;
546 [\\/]* | ?:[\\/]* ) # Absolute path.
547 ac_sub_srcdir=$srcdir/$ac_subdir ;;
548 *) # Relative path.
549 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
550 esac
551
552 # Check for guested configure; otherwise get Cygnus style configure.
553 if test -f $ac_sub_srcdir/configure; then
554 echo
555 $SHELL $ac_sub_srcdir/configure --help=recursive
556 elif test -f $ac_sub_srcdir/configure.in; then
557 echo
558 $ac_configure --help
559 else
560 echo "configure: WARNING: no configuration information is in $ac_subdir" >&2
561 fi
562 cd $ac_popdir
563 done
564 fi
565
566 test -n "$ac_init_help" && exit 0
567 if $ac_init_version; then
568 cat <<\EOF
569
570 Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
571 Free Software Foundation, Inc.
572 This configure script is free software; the Free Software Foundation
573 gives unlimited permission to copy, distribute and modify it.
574 EOF
575 exit 0
576 fi
577 # Be Bourne compatible
578 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
579 emulate sh
580 NULLCMD=:
581 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
582 set -o posix
583 fi
584
585 # Support unset when possible.
586 if (unset FOO) >/dev/null 2>&1; then
587 ac_unset=unset
588 else
589 ac_unset=false
590 fi
591
592 # NLS nuisances.
593 $ac_unset LANG || test "${LANG+set}" != set || LANG=C && export LANG
594 $ac_unset LC_ALL || test "${LC_ALL+set}" != set || LC_ALL=C && export LC_ALL
595 $ac_unset LC_TIME || test "${LC_TIME+set}" != set || LC_TIME=C && export LC_TIME
596 $ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || LC_CTYPE=C && export LC_CTYPE
597 $ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || LANGUAGE=C && export LANGUAGE
598 $ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || LC_COLLATE=C && export LC_COLLATE
599 $ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || LC_NUMERIC=C && export LC_NUMERIC
600 $ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || LC_MESSAGES=C && export LC_MESSAGES
601
602 # IFS
603 # We need space, tab and new line, in precisely that order.
604 ac_nl='
605 '
606 IFS=" $ac_nl"
607
608 # CDPATH.
609 $ac_unset CDPATH || test "${CDPATH+set}" != set || CDPATH=: && export CDPATH
610
611 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
612
613 # Keep a trace of the command line.
614 # Strip out --no-create and --no-recursion so they do not pile up.
615 # Also quote any args containing shell meta-characters.
616 ac_configure_args=
617 ac_sep=
618 for ac_arg
619 do
620 case $ac_arg in
621 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
622 | --no-cr | --no-c) ;;
623 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
624 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
625 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
626 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
627 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
628 ac_sep=" " ;;
629 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
630 ac_sep=" " ;;
631 esac
632 # Get rid of the leading space.
633 done
634
635 # File descriptor usage:
636 # 0 standard input
637 # 1 file creation
638 # 2 errors and warnings
639 # 3 some systems may open it to /dev/tty
640 # 4 used on the Kubota Titan
641 # 6 checking for... messages and results
642 # 5 compiler messages saved in config.log
643 if test "$silent" = yes; then
644 exec 6>/dev/null
645 else
646 exec 6>&1
647 fi
648 exec 5>./config.log
649
650 echo "\
651 This file contains any messages produced by compilers while
652 running configure, to aid debugging if configure makes a mistake.
653
654 It was created by configure 2.49a, executed with
655 > $0 $ac_configure_args
656 " >&5
657
658 # confdefs.h avoids OS command line length limits that DEFS can exceed.
659 rm -rf conftest* confdefs.h
660 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
661 echo >confdefs.h
662
663 # Let the site file select an alternate cache file if it wants to.
664 # Prefer explicitly selected file to automatically selected ones.
665 if test -z "$CONFIG_SITE"; then
666 if test "x$prefix" != xNONE; then
667 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
668 else
669 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
670 fi
671 fi
672 for ac_site_file in $CONFIG_SITE; do
673 if test -r "$ac_site_file"; then
674 echo "loading site script $ac_site_file"
675 . "$ac_site_file"
676 fi
677 done
678
679 if test -r "$cache_file"; then
680 # Some versions of bash will fail to source /dev/null (special
681 # files actually), so we avoid doing that.
682 if test -f "$cache_file"; then
683 echo "loading cache $cache_file"
684 case $cache_file in
685 [\\/]* | ?:[\\/]* ) . $cache_file;;
686 *) . ./$cache_file;;
687 esac
688 fi
689 else
690 echo "creating cache $cache_file"
691 >$cache_file
692 fi
693
694 # Check that the precious variables saved in the cache have kept the same
695 # value.
696 ac_suggest_removing_cache=false
697 for ac_var in `(set) 2>&1 |
698 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
699 eval ac_old_set=\$ac_cv_env_${ac_var}_set
700 eval ac_new_set=\$ac_env_${ac_var}_set
701 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
702 eval ac_new_val="\$ac_env_${ac_var}_value"
703 case $ac_old_set,$ac_new_set in
704 set,)
705 echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
706 ac_suggest_removing_cache=: ;;
707 ,set)
708 echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
709 ac_suggest_removing_cache=: ;;
710 ,);;
711 *)
712 if test "x$ac_old_val" != "x$ac_new_val"; then
713 echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
714 echo "configure: WARNING: former value: $ac_old_val" >&2
715 echo "configure: WARNING: current value: $ac_new_val" >&2
716 ac_suggest_removing_cache=:
717 fi;;
718 esac
719 done
720 if $ac_suggest_removing_cache; then
721 echo "configure: WARNING: changes in the environment can compromise the build" >&2
722 echo "configure: WARNING: consider removing $cache_file and starting over" >&2
723 fi
724
725 ac_ext=c
726 ac_cpp='$CPP $CPPFLAGS'
727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
728 ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
729 ac_gnu_compiler=$ac_cv_prog_gcc
730
731 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
732 *c*,-n*) ECHO_N= ECHO_C='
733 ' ECHO_T=' ' ;;
734 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
735 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
736 esac
737
738 ac_aux_dir=
739 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
740 if test -f $ac_dir/install-sh; then
741 ac_aux_dir=$ac_dir
742 ac_install_sh="$ac_aux_dir/install-sh -c"
743 break
744 elif test -f $ac_dir/install.sh; then
745 ac_aux_dir=$ac_dir
746 ac_install_sh="$ac_aux_dir/install.sh -c"
747 break
748 elif test -f $ac_dir/shtool; then
749 ac_aux_dir=$ac_dir
750 ac_install_sh="$ac_aux_dir/shtool install -c"
751 break
752 fi
753 done
754 if test -z "$ac_aux_dir"; then
755 { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; }
756 fi
757 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
758 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
759 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
760
761 # Find a good install program. We prefer a C program (faster),
762 # so one script is as good as another. But avoid the broken or
763 # incompatible versions:
764 # SysV /etc/install, /usr/sbin/install
765 # SunOS /usr/etc/install
766 # IRIX /sbin/install
767 # AIX /bin/install
768 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
769 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
770 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
771 # ./install, which can be erroneously created by make from ./install.sh.
772 echo "configure:772: checking for a BSD compatible install" >&5
773 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
774 if test -z "$INSTALL"; then
775 if test "${ac_cv_path_install+set}" = set; then
776 echo $ECHO_N "(cached) $ECHO_C" >&6
777 else
778 ac_save_IFS=$IFS; IFS=':'
779 for ac_dir in $PATH; do
780 # Account for people who put trailing slashes in PATH elements.
781 case $ac_dir/ in
782 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
783 *)
784 # OSF1 and SCO ODT 3.0 have their own names for install.
785 # Don't use installbsd from OSF since it installs stuff as root
786 # by default.
787 for ac_prog in ginstall scoinst install; do
788 if test -f $ac_dir/$ac_prog; then
789 if test $ac_prog = install &&
790 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
791 # AIX install. It has an incompatible calling convention.
792 :
793 elif test $ac_prog = install &&
794 grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
795 # program-specific install script used by HP pwplus--don't use.
796 :
797 else
798 ac_cv_path_install="$ac_dir/$ac_prog -c"
799 break 2
800 fi
801 fi
802 done
803 ;;
804 esac
805 done
806 IFS=$ac_save_IFS
807
808 fi
809 if test "${ac_cv_path_install+set}" = set; then
810 INSTALL=$ac_cv_path_install
811 else
812 # As a last resort, use the slow shell script. We don't cache a
813 # path for INSTALL within a source directory, because that will
814 # break other packages using the cache if that directory is
815 # removed, or if the path is relative.
816 INSTALL=$ac_install_sh
817 fi
818 fi
819 echo "configure:819: result: $INSTALL" >&5
820 echo "${ECHO_T}$INSTALL" >&6
821
822 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
823 # It thinks the first close brace ends the variable substitution.
824 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
825
826 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
827
828 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
829
830 echo "configure:830: checking whether build environment is sane" >&5
831 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
832 # Just in case
833 sleep 1
834 echo timestamp > conftestfile
835 # Do `set' in a subshell so we don't clobber the current shell's
836 # arguments. Must try -L first in case configure is actually a
837 # symlink; some systems play weird games with the mod time of symlinks
838 # (eg FreeBSD returns the mod time of the symlink's containing
839 # directory).
840 if (
841 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
842 if test "$*" = "X"; then
843 # -L didn't work.
844 set X `ls -t $srcdir/configure conftestfile`
845 fi
846 if test "$*" != "X $srcdir/configure conftestfile" \
847 && test "$*" != "X conftestfile $srcdir/configure"; then
848
849 # If neither matched, then we have a broken ls. This can happen
850 # if, for instance, CONFIG_SHELL is bash and it inherits a
851 # broken ls alias from the environment. This has actually
852 # happened. Such a system could not be considered "sane".
853 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
854 alias in your environment" >&2; exit 1; }
855 fi
856
857 test "$2" = conftestfile
858 )
859 then
860 # Ok.
861 :
862 else
863 { echo "configure: error: newly created file is older than distributed files!
864 Check your system clock" >&2; exit 1; }
865 fi
866 rm -f conftest*
867 echo "configure:867: result: yes" >&5
868 echo "${ECHO_T}yes" >&6
869 if test "$program_transform_name" = s,x,x,; then
870 program_transform_name=
871 else
872 # Double any \ or $. echo might interpret backslashes.
873 cat <<\EOF >conftestsed
874 s,\\,\\\\,g; s,\$,$$,g
875 EOF
876 program_transform_name=`echo $program_transform_name | sed -f conftestsed`
877 rm -f conftestsed
878 fi
879 test "$program_prefix" != NONE &&
880 program_transform_name="s,^,${program_prefix},;$program_transform_name"
881 # Use a double $ so make ignores it.
882 test "$program_suffix" != NONE &&
883 program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
884
885 # sed with no file args requires a program.
886 test -z "$program_transform_name" && program_transform_name="s,x,x,"
887
888 echo "configure:888: checking whether ${MAKE-make} sets \${MAKE}" >&5
889 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
890 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
891 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
892 echo $ECHO_N "(cached) $ECHO_C" >&6
893 else
894 cat >conftestmake <<\EOF
895 all:
896 @echo 'ac_maketemp="${MAKE}"'
897 EOF
898 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
899 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
900 if test -n "$ac_maketemp"; then
901 eval ac_cv_prog_make_${ac_make}_set=yes
902 else
903 eval ac_cv_prog_make_${ac_make}_set=no
904 fi
905 rm -f conftestmake
906 fi
907 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
908 echo "configure:908: result: yes" >&5
909 echo "${ECHO_T}yes" >&6
910 SET_MAKE=
911 else
912 echo "configure:912: result: no" >&5
913 echo "${ECHO_T}no" >&6
914 SET_MAKE="MAKE=${MAKE-make}"
915 fi
916
917 PACKAGE=heroes-sound-tracks
918
919 VERSION=1.0
920
921 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
922 { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
923 fi
924
925 cat >>confdefs.h <<EOF
926 #define PACKAGE "$PACKAGE"
927 EOF
928
929 cat >>confdefs.h <<EOF
930 #define VERSION "$VERSION"
931 EOF
932
933 missing_dir=`cd $ac_aux_dir && pwd`
934 echo "configure:934: checking for working aclocal" >&5
935 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
936 # Run test in a subshell; some versions of sh will print an error if
937 # an executable is not found, even if stderr is redirected.
938 # Redirect stdin to placate older versions of autoconf. Sigh.
939 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
940 ACLOCAL=aclocal
941 echo "configure:941: result: found" >&5
942 echo "${ECHO_T}found" >&6
943 else
944 ACLOCAL="$missing_dir/missing aclocal"
945 echo "configure:945: result: missing" >&5
946 echo "${ECHO_T}missing" >&6
947 fi
948
949 echo "configure:949: checking for working autoconf" >&5
950 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
951 # Run test in a subshell; some versions of sh will print an error if
952 # an executable is not found, even if stderr is redirected.
953 # Redirect stdin to placate older versions of autoconf. Sigh.
954 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
955 AUTOCONF=autoconf
956 echo "configure:956: result: found" >&5
957 echo "${ECHO_T}found" >&6
958 else
959 AUTOCONF="$missing_dir/missing autoconf"
960 echo "configure:960: result: missing" >&5
961 echo "${ECHO_T}missing" >&6
962 fi
963
964 echo "configure:964: checking for working automake" >&5
965 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
966 # Run test in a subshell; some versions of sh will print an error if
967 # an executable is not found, even if stderr is redirected.
968 # Redirect stdin to placate older versions of autoconf. Sigh.
969 if (automake --version) < /dev/null > /dev/null 2>&1; then
970 AUTOMAKE=automake
971 echo "configure:971: result: found" >&5
972 echo "${ECHO_T}found" >&6
973 else
974 AUTOMAKE="$missing_dir/missing automake"
975 echo "configure:975: result: missing" >&5
976 echo "${ECHO_T}missing" >&6
977 fi
978
979 echo "configure:979: checking for working autoheader" >&5
980 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
981 # Run test in a subshell; some versions of sh will print an error if
982 # an executable is not found, even if stderr is redirected.
983 # Redirect stdin to placate older versions of autoconf. Sigh.
984 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
985 AUTOHEADER=autoheader
986 echo "configure:986: result: found" >&5
987 echo "${ECHO_T}found" >&6
988 else
989 AUTOHEADER="$missing_dir/missing autoheader"
990 echo "configure:990: result: missing" >&5
991 echo "${ECHO_T}missing" >&6
992 fi
993
994 echo "configure:994: checking for working makeinfo" >&5
995 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
996 # Run test in a subshell; some versions of sh will print an error if
997 # an executable is not found, even if stderr is redirected.
998 # Redirect stdin to placate older versions of autoconf. Sigh.
999 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1000 MAKEINFO=makeinfo
1001 echo "configure:1001: result: found" >&5
1002 echo "${ECHO_T}found" >&6
1003 else
1004 MAKEINFO="$missing_dir/missing makeinfo"
1005 echo "configure:1005: result: missing" >&5
1006 echo "${ECHO_T}missing" >&6
1007 fi
1008
1009 ac_config_files="$ac_config_files Makefile"
1010 trap '' 1 2 15
1011 cat >confcache <<\EOF
1012 # This file is a shell script that caches the results of configure
1013 # tests run on this system so they can be shared between configure
1014 # scripts and configure runs, see configure's option --config-cache.
1015 # It is not useful on other systems. If it contains results you don't
1016 # want to keep, you may remove or edit it.
1017 #
1018 # config.status only pays attention to the cache file if you give it
1019 # the --recheck option to rerun configure.
1020 #
1021 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1022 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1023 # following values.
1024
1025 EOF
1026 # The following way of writing the cache mishandles newlines in values,
1027 # but we know of no workaround that is simple, portable, and efficient.
1028 # So, don't put newlines in cache variables' values.
1029 # Ultrix sh set writes to stderr and can't be redirected directly,
1030 # and sets the high bit in the cache file unless we assign to the vars.
1031 {
1032 (set) 2>&1 |
1033 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1034 *ac_space=\ *)
1035 # `set' does not quote correctly, so add quotes (double-quote substitution
1036 # turns \\\\ into \\, and sed turns \\ into \).
1037 sed -n \
1038 -e "s/'/'\\\\''/g" \
1039 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
1040 ;;
1041 *)
1042 # `set' quotes correctly as required by POSIX, so do not add quotes.
1043 sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
1044 ;;
1045 esac;
1046 } |
1047 sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
1048 if cmp -s $cache_file confcache; then :; else
1049 if test -w $cache_file; then
1050 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1051 cat confcache >$cache_file
1052 else
1053 echo "not updating unwritable cache $cache_file"
1054 fi
1055 fi
1056 rm -f confcache
1057 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1058
1059 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1060 # Let make expand exec_prefix.
1061 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1062
1063 # Any assignment to VPATH causes Sun make to only execute
1064 # the first set of double-colon rules, so remove it if not needed.
1065 # If there is a colon in the path, we need to keep it.
1066 if test "x$srcdir" = x.; then
1067 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1068 fi
1069
1070 # Transform confdefs.h into DEFS.
1071 # Protect against shell expansion while executing Makefile rules.
1072 # Protect against Makefile macro expansion.
1073 #
1074 # If the first sed substitution is executed (which looks for macros that
1075 # take arguments), then we branch to the cleanup section. Otherwise,
1076 # look for a macro that doesn't take arguments.
1077 cat >confdef2opt.sed <<\EOF
1078 t clear
1079 : clear
1080 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1081 t cleanup
1082 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1083 : cleanup
1084 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1085 s,\[,\\&,g
1086 s,\],\\&,g
1087 s,\$,$$,g
1088 EOF
1089 # We use echo to avoid assuming a particular line-breaking character.
1090 # The extra dot is to prevent the shell from consuming trailing
1091 # line-breaks from the sub-command output. A line-break within
1092 # single-quotes doesn't work because, if this script is created in a
1093 # platform that uses two characters for line-breaks (e.g., DOS), tr
1094 # would break.
1095 ac_LF_and_DOT=`echo; echo .`
1096 DEFS=`sed -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1097 rm -f confdef2opt.sed
1098
1099 # Save into config.log some information that might help in debugging.
1100 echo >&5
1101 echo "Cache variables:" >&5
1102 # The following way of writing the cache mishandles newlines in values,
1103 # but we know of no workaround that is simple, portable, and efficient.
1104 # So, don't put newlines in cache variables' values.
1105 # Ultrix sh set writes to stderr and can't be redirected directly,
1106 # and sets the high bit in the cache file unless we assign to the vars.
1107 {
1108 (set) 2>&1 |
1109 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1110 *ac_space=\ *)
1111 # `set' does not quote correctly, so add quotes (double-quote substitution
1112 # turns \\\\ into \\, and sed turns \\ into \).
1113 sed -n \
1114 -e "s/'/'\\\\''/g" \
1115 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
1116 ;;
1117 *)
1118 # `set' quotes correctly as required by POSIX, so do not add quotes.
1119 sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
1120 ;;
1121 esac;
1122 } | sed 's/^/| /' >&5
1123 echo >&5
1124 echo "confdefs.h:" >&5
1125 cat confdefs.h | sed 's/^/| /' >&5
1126
1127 : ${CONFIG_STATUS=./config.status}
1128 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1129 echo creating $CONFIG_STATUS
1130 cat >$CONFIG_STATUS <<\EOF
1131 #! /bin/sh
1132 # Generated automatically by configure.
1133 # Run this file to recreate the current configuration.
1134 # Compiler output produced by configure, useful for debugging
1135 # configure, is in ./config.log if it exists.
1136
1137 debug=false
1138 me=`echo "$0" | sed 's,.*/,,'`
1139 SHELL=${CONFIG_SHELL-/bin/sh}
1140
1141 EOF
1142
1143 # Files that config.status was made for.
1144 if test -n "$ac_config_files"; then
1145 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1146 fi
1147
1148 if test -n "$ac_config_headers"; then
1149 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1150 fi
1151
1152 if test -n "$ac_config_links"; then
1153 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1154 fi
1155
1156 if test -n "$ac_config_commands"; then
1157 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1158 fi
1159
1160 cat >>$CONFIG_STATUS <<\EOF
1161
1162 ac_cs_usage="\
1163 \`$me' instantiates files from templates according to the
1164 current configuration.
1165
1166 Usage: $0 [OPTIONS] FILE...
1167
1168 -h, --help print this help, then exit
1169 -V, --version print version number, then exit
1170 -d, --debug don't remove temporary files
1171 --recheck update $me by reconfiguring in the same conditions
1172 --file=FILE[:TEMPLATE]
1173 instantiate the configuration file FILE
1174
1175 Configuration files:
1176 $config_files
1177
1178 Report bugs to <[email protected]>."
1179 EOF
1180
1181 cat >>$CONFIG_STATUS <<EOF
1182 ac_cs_version="\\
1183 $CONFIG_STATUS generated by autoconf version 2.49a.
1184 Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
1185 `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
1186
1187 ac_given_srcdir=$srcdir
1188 ac_given_INSTALL="$INSTALL"
1189 EOF
1190
1191 cat >>$CONFIG_STATUS <<\EOF
1192 # If no file are specified by the user, then we need to provide default
1193 # value. By we need to know if files were specified by the user.
1194 ac_need_defaults=:
1195 while test $# != 0
1196 do
1197 case $1 in
1198 --*=*)
1199 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1200 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1201 shift
1202 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1203 shift
1204 ;;
1205 -*);;
1206 *) # This is not an option, so the user has probably given explicit
1207 # arguments.
1208 ac_need_defaults=false;;
1209 esac
1210
1211 case $1 in
1212 # Handling of the options.
1213 EOF
1214 cat >>$CONFIG_STATUS <<EOF
1215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1216 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1217 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1218 EOF
1219 cat >>$CONFIG_STATUS <<\EOF
1220 --version | --vers* | -V )
1221 echo "$ac_cs_version"; exit 0 ;;
1222 --he | --h)
1223 # Conflict between --help and --header
1224 echo "$me: ambiguous option: $ac_option
1225 Try \`$me --help' for more information."; exit 1 ;;
1226 --help | --hel | -h )
1227 echo "$ac_cs_usage"; exit 0 ;;
1228 --debug | --d* | -d )
1229 debug=: ;;
1230 --file | --fil | --fi | --f )
1231 shift
1232 CONFIG_FILES="$CONFIG_FILES $1"
1233 ac_need_defaults=false;;
1234 --header | --heade | --head | --hea )
1235 shift
1236 CONFIG_HEADERS="$CONFIG_HEADERS $1"
1237 ac_need_defaults=false;;
1238
1239 # Handling of arguments.
1240 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1241
1242 # This is an error.
1243 -*) echo "$me: unrecognized option: $1
1244 Try \`$me --help' for more information."; exit 1 ;;
1245 *) echo "$me: invalid argument: $1"; exit 1 ;;
1246 esac
1247 shift
1248 done
1249
1250 EOF
1251
1252 cat >>$CONFIG_STATUS <<\EOF
1253 # If the user did not use the arguments to specify the items to instantiate,
1254 # then the envvar interface is used. Set only those that are not.
1255 if $ac_need_defaults; then
1256 : ${CONFIG_FILES=$config_files}
1257 fi
1258
1259 # Create a temporary directory, and hook for its removal unless debugging.
1260 $debug ||
1261 {
1262 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1263 trap 'exit $?' 1 2 13 15
1264 }
1265
1266 # Create a (secure) tmp directory for tmp files.
1267 : ${TMPDIR=/tmp}
1268 {
1269 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1270 test -n "$tmp" && test -d "$tmp"
1271 } ||
1272 {
1273 tmp=$TMPDIR/cs$$-$RANDOM && (umask 077 && mkdir $tmp)
1274 } ||
1275 {
1276 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1277 exit 1;
1278 }
1279
1280 EOF
1281
1282 cat >>$CONFIG_STATUS <<EOF
1283
1284 #
1285 # CONFIG_FILES section.
1286 #
1287
1288 # No need to generate the scripts if there are no CONFIG_FILES.
1289 # This happens for instance when ./config.status config.h
1290 if test -n "\$CONFIG_FILES"; then
1291 # Protect against being on the right side of a sed subst in config.status.
1292 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1293 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1294 s,@SHELL@,$SHELL,;t t
1295 s,@exec_prefix@,$exec_prefix,;t t
1296 s,@prefix@,$prefix,;t t
1297 s,@program_transform_name@,$program_transform_name,;t t
1298 s,@bindir@,$bindir,;t t
1299 s,@sbindir@,$sbindir,;t t
1300 s,@libexecdir@,$libexecdir,;t t
1301 s,@datadir@,$datadir,;t t
1302 s,@sysconfdir@,$sysconfdir,;t t
1303 s,@sharedstatedir@,$sharedstatedir,;t t
1304 s,@localstatedir@,$localstatedir,;t t
1305 s,@libdir@,$libdir,;t t
1306 s,@includedir@,$includedir,;t t
1307 s,@oldincludedir@,$oldincludedir,;t t
1308 s,@infodir@,$infodir,;t t
1309 s,@mandir@,$mandir,;t t
1310 s,@ECHO_C@,$ECHO_C,;t t
1311 s,@ECHO_N@,$ECHO_N,;t t
1312 s,@ECHO_T@,$ECHO_T,;t t
1313 s,@CFLAGS@,$CFLAGS,;t t
1314 s,@CPPFLAGS@,$CPPFLAGS,;t t
1315 s,@CXXFLAGS@,$CXXFLAGS,;t t
1316 s,@FFLAGS@,$FFLAGS,;t t
1317 s,@DEFS@,$DEFS,;t t
1318 s,@LDFLAGS@,$LDFLAGS,;t t
1319 s,@LIBS@,$LIBS,;t t
1320 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1321 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1322 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1323 s,@PACKAGE@,$PACKAGE,;t t
1324 s,@VERSION@,$VERSION,;t t
1325 s,@ACLOCAL@,$ACLOCAL,;t t
1326 s,@AUTOCONF@,$AUTOCONF,;t t
1327 s,@AUTOMAKE@,$AUTOMAKE,;t t
1328 s,@AUTOHEADER@,$AUTOHEADER,;t t
1329 s,@MAKEINFO@,$MAKEINFO,;t t
1330 s,@SET_MAKE@,$SET_MAKE,;t t
1331 CEOF
1332
1333 EOF
1334
1335 cat >>$CONFIG_STATUS <<\EOF
1336 # Split the substitutions into bite-sized pieces for seds with
1337 # small command number limits, like on Digital OSF/1 and HP-UX.
1338 ac_max_sed_lines=48
1339 ac_sed_frag=1 # Number of current file.
1340 ac_beg=1 # First line for current file.
1341 ac_end=$ac_max_sed_lines # Line after last line for current file.
1342 ac_more_lines=:
1343 ac_sed_cmds=
1344 while $ac_more_lines; do
1345 if test $ac_beg -gt 1; then
1346 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1347 else
1348 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1349 fi
1350 if test ! -s $tmp/subs.frag; then
1351 ac_more_lines=false
1352 else
1353 # The purpose of the label and of the branching condition is to
1354 # speed up the sed processing (if there are no `@' at all, there
1355 # is no need to browse any of the substitutions).
1356 # These are the two extra sed commands mentioned above.
1357 (echo ':t
1358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1359 if test -z "$ac_sed_cmds"; then
1360 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1361 else
1362 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1363 fi
1364 ac_sed_frag=`expr $ac_sed_frag + 1`
1365 ac_beg=$ac_end
1366 ac_end=`expr $ac_end + $ac_max_sed_lines`
1367 fi
1368 done
1369 if test -z "$ac_sed_cmds"; then
1370 ac_sed_cmds=cat
1371 fi
1372 fi # test -n "$CONFIG_FILES"
1373
1374 EOF
1375 cat >>$CONFIG_STATUS <<\EOF
1376 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1377 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1378 case $ac_file in
1379 - | *:- | *:-:* ) # input from stdin
1380 cat >$tmp/stdin
1381 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1382 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1383 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1384 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1385 * ) ac_file_in=$ac_file.in ;;
1386 esac
1387
1388 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1389 ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390 X"$ac_file" : 'X\(//\)[^/]' \| \
1391 X"$ac_file" : 'X\(//\)$' \| \
1392 X"$ac_file" : 'X\(/\)' \| \
1393 . : '\(.\)' 2>/dev/null ||
1394 echo "X"$ac_file"" | sed '
1395 /^X\(.*^/\)\/\/*^/^/*\/*$/{ s//\1/p; q; }
1396 /^X\(\/\/\)^/.*/{ s//\1/p; q; }
1397 /^X\(\/\/\)$/{ s//\1/p; q; }
1398 /^X\(\/\).*/{ s//\1/p; q; }
1399 s/.*/./p; q'`
1400 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1401 { case "$ac_dir" in
1402 [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
1403 *) ac_incr_dir=.;;
1404 esac
1405 ac_dummy=""$ac_dir""
1406 for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
1407 ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
1408 test -d $ac_incr_dir || mkdir $ac_incr_dir
1409 done; }
1410
1411 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
1412 # A "../" for each directory in $ac_dir_suffix.
1413 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
1414 else
1415 ac_dir_suffix= ac_dots=
1416 fi
1417
1418 case $ac_given_srcdir in
1419 .) srcdir=.
1420 if test -z "$ac_dots"; then top_srcdir=.
1421 else top_srcdir=`echo $ac_dots | sed 's,/$,,'`; fi ;;
1422 [\\/]* | ?:[\\/]* )
1423 srcdir=$ac_given_srcdir$ac_dir_suffix;
1424 top_srcdir=$ac_given_srcdir ;;
1425 *) # Relative path.
1426 srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
1427 top_srcdir=$ac_dots$ac_given_srcdir ;;
1428 esac
1429
1430 case $ac_given_INSTALL in
1431 [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
1432 *) INSTALL=$ac_dots$ac_given_INSTALL ;;
1433 esac
1434
1435 if test x"$ac_file" != x-; then
1436 echo creating $ac_file
1437 rm -f "$ac_file"
1438 fi
1439 configure_input="Generated automatically from `echo $ac_file_in |
1440 sed 's,.*/,,'` by configure."
1441
1442 # Don't redirect the output to AC_FILE directly: use `mv' so that
1443 # updating is atomic, and doesn't need trapping.
1444
1445 # First look for the input files in the build tree, otherwise in the
1446 # src tree.
1447 ac_file_inputs=`IFS=:
1448 for f in $ac_file_in; do
1449 case $f in
1450 -) echo $tmp/stdin ;;
1451 [\\/$]* | ?:[\\/]*)
1452 # Absolute
1453 test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
1454 echo $f;;
1455 *) # Relative
1456 if test -f "$f"; then
1457 # Build tree
1458 echo $f
1459 elif test -f "$ac_given_srcdir/$f"; then
1460 # Source tree
1461 echo $ac_given_srcdir/$f
1462 else
1463 # /dev/null tree
1464 { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
1465 fi;;
1466 esac
1467 done`
1468 EOF
1469 cat >>$CONFIG_STATUS <<EOF
1470 sed "$ac_vpsub
1471 $extrasub
1472 EOF
1473 cat >>$CONFIG_STATUS <<\EOF
1474 :t
1475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1476 s,@configure_input@,$configure_input,;t t
1477 s,@srcdir@,$srcdir,;t t
1478 s,@top_srcdir@,$top_srcdir,;t t
1479 s,@INSTALL@,$INSTALL,;t t
1480 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
1481 rm -f $tmp/stdin
1482 if test x"$ac_file" != x-; then
1483 mv $tmp/out $ac_file
1484 else
1485 cat $tmp/out
1486 rm -f $tmp/out
1487 fi
1488
1489 done
1490 EOF
1491
1492 cat >>$CONFIG_STATUS <<\EOF
1493
1494 exit 0
1495 EOF
1496 chmod +x $CONFIG_STATUS
1497 rm -fr confdefs* $ac_clean_files
1498 trap 'exit 1' 1 2 15
1499
1500 test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
1501
1502 eval datadir=$datadir
1503
1504 echo "
1505 Heroes sound-tracks configuration
1506 ---------------------------------
1507 heroes-sound-tracks version : $VERSION
1508 data install path : ${datadir}/heroes"