source: gs3-extensions/audioDB/trunk/src/src/fftExtract-configure@ 24323

Last change on this file since 24323 was 24322, checked in by davidb, 12 years ago

Fine tuning to get fftExtract to compile

  • Property svn:executable set to *
File size: 111.0 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization. ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete. It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
275ac_subst_files=''
276
277# Initialize some variables set by options.
278ac_init_help=
279ac_init_version=false
280# The variables have the same names as the options, with
281# dashes changed to underlines.
282cache_file=/dev/null
283exec_prefix=NONE
284no_create=
285no_recursion=
286prefix=NONE
287program_prefix=NONE
288program_suffix=NONE
289program_transform_name=s,x,x,
290silent=
291site=
292srcdir=
293verbose=
294x_includes=NONE
295x_libraries=NONE
296
297# Installation directory options.
298# These are left unexpanded so users can "make install exec_prefix=/foo"
299# and all the variables that are supposed to be based on exec_prefix
300# by default will actually change.
301# Use braces instead of parens because sh, perl, etc. also accept them.
302bindir='${exec_prefix}/bin'
303sbindir='${exec_prefix}/sbin'
304libexecdir='${exec_prefix}/libexec'
305datadir='${prefix}/share'
306sysconfdir='${prefix}/etc'
307sharedstatedir='${prefix}/com'
308localstatedir='${prefix}/var'
309libdir='${exec_prefix}/lib'
310includedir='${prefix}/include'
311oldincludedir='/usr/include'
312infodir='${prefix}/info'
313mandir='${prefix}/man'
314
315ac_prev=
316for ac_option
317do
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
321 ac_prev=
322 continue
323 fi
324
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
326
327 # Accept the important Cygnus configure options, so we can diagnose typos.
328
329 case $ac_option in
330
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 ac_prev=bindir ;;
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir=$ac_optarg ;;
335
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
340
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
347
348 --config-cache | -C)
349 cache_file=config.cache ;;
350
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 | --da=*)
355 datadir=$ac_optarg ;;
356
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
365
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
376 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;;
378
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
387
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
390 with_gas=yes ;;
391
392 -help | --help | --hel | --he | -h)
393 ac_init_help=long ;;
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
398
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
403
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
410
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
412 ac_prev=infodir ;;
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
415
416 -libdir | --libdir | --libdi | --libd)
417 ac_prev=libdir ;;
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
419 libdir=$ac_optarg ;;
420
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
427
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
436
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 ac_prev=mandir ;;
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440 mandir=$ac_optarg ;;
441
442 -nfp | --nfp | --nf)
443 # Obsolete; use --without-fp.
444 with_fp=no ;;
445
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
448 no_create=yes ;;
449
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
452 no_recursion=yes ;;
453
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
462
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464 ac_prev=prefix ;;
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466 prefix=$ac_optarg ;;
467
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
474
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
481
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
498
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
501 silent=yes ;;
502
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504 ac_prev=sbindir ;;
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506 | --sbi=* | --sb=*)
507 sbindir=$ac_optarg ;;
508
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
512 | --sha | --sh)
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517 | --sha=* | --sh=*)
518 sharedstatedir=$ac_optarg ;;
519
520 -site | --site | --sit)
521 ac_prev=site ;;
522 -site=* | --site=* | --sit=*)
523 site=$ac_optarg ;;
524
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526 ac_prev=srcdir ;;
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
528 srcdir=$ac_optarg ;;
529
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
536
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
541
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
543 verbose=yes ;;
544
545 -version | --version | --versio | --versi | --vers | -V)
546 ac_init_version=: ;;
547
548 -with-* | --with-*)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
558 esac
559 eval "with_$ac_package='$ac_optarg'" ;;
560
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
569
570 --x)
571 # Obsolete; use --with-x.
572 with_x=yes ;;
573
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
580
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
587
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
591 ;;
592
593 *=*)
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
601 export $ac_envvar ;;
602
603 *)
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
609 ;;
610
611 esac
612done
613
614if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
618fi
619
620# Be sure to have absolute paths.
621for ac_var in exec_prefix prefix
622do
623 eval ac_val=$`echo $ac_var`
624 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
628 esac
629done
630
631# Be sure to have absolute paths.
632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
634do
635 eval ac_val=$`echo $ac_var`
636 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
640 esac
641done
642
643# There might be people who depend on the old broken behavior: `$host'
644# used to hold the argument of --host etc.
645# FIXME: To remove some day.
646build=$build_alias
647host=$host_alias
648target=$target_alias
649
650# FIXME: To remove some day.
651if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
657 cross_compiling=yes
658 fi
659fi
660
661ac_tool_prefix=
662test -n "$host_alias" && ac_tool_prefix=$host_alias-
663
664test "$silent" = yes && exec 6>/dev/null
665
666
667# Find the source files, if location was not specified.
668if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
677echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
682 s/.*/./; q'`
683 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then
685 srcdir=..
686 fi
687else
688 ac_srcdir_defaulted=no
689fi
690if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
694 else
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
697 fi
698fi
699(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703ac_env_build_alias_set=${build_alias+set}
704ac_env_build_alias_value=$build_alias
705ac_cv_env_build_alias_set=${build_alias+set}
706ac_cv_env_build_alias_value=$build_alias
707ac_env_host_alias_set=${host_alias+set}
708ac_env_host_alias_value=$host_alias
709ac_cv_env_host_alias_set=${host_alias+set}
710ac_cv_env_host_alias_value=$host_alias
711ac_env_target_alias_set=${target_alias+set}
712ac_env_target_alias_value=$target_alias
713ac_cv_env_target_alias_set=${target_alias+set}
714ac_cv_env_target_alias_value=$target_alias
715ac_env_CC_set=${CC+set}
716ac_env_CC_value=$CC
717ac_cv_env_CC_set=${CC+set}
718ac_cv_env_CC_value=$CC
719ac_env_CFLAGS_set=${CFLAGS+set}
720ac_env_CFLAGS_value=$CFLAGS
721ac_cv_env_CFLAGS_set=${CFLAGS+set}
722ac_cv_env_CFLAGS_value=$CFLAGS
723ac_env_LDFLAGS_set=${LDFLAGS+set}
724ac_env_LDFLAGS_value=$LDFLAGS
725ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726ac_cv_env_LDFLAGS_value=$LDFLAGS
727ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728ac_env_CPPFLAGS_value=$CPPFLAGS
729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731ac_env_CXX_set=${CXX+set}
732ac_env_CXX_value=$CXX
733ac_cv_env_CXX_set=${CXX+set}
734ac_cv_env_CXX_value=$CXX
735ac_env_CXXFLAGS_set=${CXXFLAGS+set}
736ac_env_CXXFLAGS_value=$CXXFLAGS
737ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
738ac_cv_env_CXXFLAGS_value=$CXXFLAGS
739
740#
741# Report the --help message.
742#
743if test "$ac_init_help" = "long"; then
744 # Omit some internal or obsolete options to make the list less imposing.
745 # This message is too long to be a string in the A/UX 3.1 sh.
746 cat <<_ACEOF
747\`configure' configures this package to adapt to many kinds of systems.
748
749Usage: $0 [OPTION]... [VAR=VALUE]...
750
751To assign environment variables (e.g., CC, CFLAGS...), specify them as
752VAR=VALUE. See below for descriptions of some of the useful variables.
753
754Defaults for the options are specified in brackets.
755
756Configuration:
757 -h, --help display this help and exit
758 --help=short display options specific to this package
759 --help=recursive display the short help of all the included packages
760 -V, --version display version information and exit
761 -q, --quiet, --silent do not print \`checking...' messages
762 --cache-file=FILE cache test results in FILE [disabled]
763 -C, --config-cache alias for \`--cache-file=config.cache'
764 -n, --no-create do not create output files
765 --srcdir=DIR find the sources in DIR [configure dir or \`..']
766
767_ACEOF
768
769 cat <<_ACEOF
770Installation directories:
771 --prefix=PREFIX install architecture-independent files in PREFIX
772 [$ac_default_prefix]
773 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
774 [PREFIX]
775
776By default, \`make install' will install all the files in
777\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
778an installation prefix other than \`$ac_default_prefix' using \`--prefix',
779for instance \`--prefix=\$HOME'.
780
781For better control, use the options below.
782
783Fine tuning of the installation directories:
784 --bindir=DIR user executables [EPREFIX/bin]
785 --sbindir=DIR system admin executables [EPREFIX/sbin]
786 --libexecdir=DIR program executables [EPREFIX/libexec]
787 --datadir=DIR read-only architecture-independent data [PREFIX/share]
788 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
789 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
790 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
791 --libdir=DIR object code libraries [EPREFIX/lib]
792 --includedir=DIR C header files [PREFIX/include]
793 --oldincludedir=DIR C header files for non-gcc [/usr/include]
794 --infodir=DIR info documentation [PREFIX/info]
795 --mandir=DIR man documentation [PREFIX/man]
796_ACEOF
797
798 cat <<\_ACEOF
799_ACEOF
800fi
801
802if test -n "$ac_init_help"; then
803
804 cat <<\_ACEOF
805
806Some influential environment variables:
807 CC C compiler command
808 CFLAGS C compiler flags
809 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
810 nonstandard directory <lib dir>
811 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
812 headers in a nonstandard directory <include dir>
813 CXX C++ compiler command
814 CXXFLAGS C++ compiler flags
815
816Use these variables to override the choices made by `configure' or to help
817it to find libraries and programs with nonstandard names/locations.
818
819_ACEOF
820fi
821
822if test "$ac_init_help" = "recursive"; then
823 # If there are subdirs, report their specific --help.
824 ac_popdir=`pwd`
825 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
826 test -d $ac_dir || continue
827 ac_builddir=.
828
829if test "$ac_dir" != .; then
830 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
831 # A "../" for each directory in $ac_dir_suffix.
832 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
833else
834 ac_dir_suffix= ac_top_builddir=
835fi
836
837case $srcdir in
838 .) # No --srcdir option. We are building in place.
839 ac_srcdir=.
840 if test -z "$ac_top_builddir"; then
841 ac_top_srcdir=.
842 else
843 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
844 fi ;;
845 [\\/]* | ?:[\\/]* ) # Absolute path.
846 ac_srcdir=$srcdir$ac_dir_suffix;
847 ac_top_srcdir=$srcdir ;;
848 *) # Relative path.
849 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
850 ac_top_srcdir=$ac_top_builddir$srcdir ;;
851esac
852
853# Do not use `cd foo && pwd` to compute absolute paths, because
854# the directories may not exist.
855case `pwd` in
856.) ac_abs_builddir="$ac_dir";;
857*)
858 case "$ac_dir" in
859 .) ac_abs_builddir=`pwd`;;
860 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
861 *) ac_abs_builddir=`pwd`/"$ac_dir";;
862 esac;;
863esac
864case $ac_abs_builddir in
865.) ac_abs_top_builddir=${ac_top_builddir}.;;
866*)
867 case ${ac_top_builddir}. in
868 .) ac_abs_top_builddir=$ac_abs_builddir;;
869 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
870 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
871 esac;;
872esac
873case $ac_abs_builddir in
874.) ac_abs_srcdir=$ac_srcdir;;
875*)
876 case $ac_srcdir in
877 .) ac_abs_srcdir=$ac_abs_builddir;;
878 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
879 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
880 esac;;
881esac
882case $ac_abs_builddir in
883.) ac_abs_top_srcdir=$ac_top_srcdir;;
884*)
885 case $ac_top_srcdir in
886 .) ac_abs_top_srcdir=$ac_abs_builddir;;
887 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
888 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
889 esac;;
890esac
891
892 cd $ac_dir
893 # Check for guested configure; otherwise get Cygnus style configure.
894 if test -f $ac_srcdir/configure.gnu; then
895 echo
896 $SHELL $ac_srcdir/configure.gnu --help=recursive
897 elif test -f $ac_srcdir/configure; then
898 echo
899 $SHELL $ac_srcdir/configure --help=recursive
900 elif test -f $ac_srcdir/configure.ac ||
901 test -f $ac_srcdir/configure.in; then
902 echo
903 $ac_configure --help
904 else
905 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
906 fi
907 cd $ac_popdir
908 done
909fi
910
911test -n "$ac_init_help" && exit 0
912if $ac_init_version; then
913 cat <<\_ACEOF
914
915Copyright (C) 2003 Free Software Foundation, Inc.
916This configure script is free software; the Free Software Foundation
917gives unlimited permission to copy, distribute and modify it.
918_ACEOF
919 exit 0
920fi
921exec 5>config.log
922cat >&5 <<_ACEOF
923This file contains any messages produced by compilers while
924running configure, to aid debugging if configure makes a mistake.
925
926It was created by $as_me, which was
927generated by GNU Autoconf 2.59. Invocation command line was
928
929 $ $0 $@
930
931_ACEOF
932{
933cat <<_ASUNAME
934## --------- ##
935## Platform. ##
936## --------- ##
937
938hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939uname -m = `(uname -m) 2>/dev/null || echo unknown`
940uname -r = `(uname -r) 2>/dev/null || echo unknown`
941uname -s = `(uname -s) 2>/dev/null || echo unknown`
942uname -v = `(uname -v) 2>/dev/null || echo unknown`
943
944/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
945/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
946
947/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
948/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
949/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
950hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
951/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
952/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
953/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
954
955_ASUNAME
956
957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958for as_dir in $PATH
959do
960 IFS=$as_save_IFS
961 test -z "$as_dir" && as_dir=.
962 echo "PATH: $as_dir"
963done
964
965} >&5
966
967cat >&5 <<_ACEOF
968
969
970## ----------- ##
971## Core tests. ##
972## ----------- ##
973
974_ACEOF
975
976
977# Keep a trace of the command line.
978# Strip out --no-create and --no-recursion so they do not pile up.
979# Strip out --silent because we don't want to record it for future runs.
980# Also quote any args containing shell meta-characters.
981# Make two passes to allow for proper duplicate-argument suppression.
982ac_configure_args=
983ac_configure_args0=
984ac_configure_args1=
985ac_sep=
986ac_must_keep_next=false
987for ac_pass in 1 2
988do
989 for ac_arg
990 do
991 case $ac_arg in
992 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
995 continue ;;
996 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
998 esac
999 case $ac_pass in
1000 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1001 2)
1002 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1003 if test $ac_must_keep_next = true; then
1004 ac_must_keep_next=false # Got value, back to normal.
1005 else
1006 case $ac_arg in
1007 *=* | --config-cache | -C | -disable-* | --disable-* \
1008 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1009 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1010 | -with-* | --with-* | -without-* | --without-* | --x)
1011 case "$ac_configure_args0 " in
1012 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1013 esac
1014 ;;
1015 -* ) ac_must_keep_next=true ;;
1016 esac
1017 fi
1018 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019 # Get rid of the leading space.
1020 ac_sep=" "
1021 ;;
1022 esac
1023 done
1024done
1025$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1026$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1027
1028# When interrupted or exit'd, cleanup temporary files, and complete
1029# config.log. We remove comments because anyway the quotes in there
1030# would cause problems or look ugly.
1031# WARNING: Be sure not to use single quotes in there, as some shells,
1032# such as our DU 5.0 friend, will then `close' the trap.
1033trap 'exit_status=$?
1034 # Save into config.log some information that might help in debugging.
1035 {
1036 echo
1037
1038 cat <<\_ASBOX
1039## ---------------- ##
1040## Cache variables. ##
1041## ---------------- ##
1042_ASBOX
1043 echo
1044 # The following way of writing the cache mishandles newlines in values,
1045{
1046 (set) 2>&1 |
1047 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1048 *ac_space=\ *)
1049 sed -n \
1050 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052 ;;
1053 *)
1054 sed -n \
1055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1056 ;;
1057 esac;
1058}
1059 echo
1060
1061 cat <<\_ASBOX
1062## ----------------- ##
1063## Output variables. ##
1064## ----------------- ##
1065_ASBOX
1066 echo
1067 for ac_var in $ac_subst_vars
1068 do
1069 eval ac_val=$`echo $ac_var`
1070 echo "$ac_var='"'"'$ac_val'"'"'"
1071 done | sort
1072 echo
1073
1074 if test -n "$ac_subst_files"; then
1075 cat <<\_ASBOX
1076## ------------- ##
1077## Output files. ##
1078## ------------- ##
1079_ASBOX
1080 echo
1081 for ac_var in $ac_subst_files
1082 do
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1085 done | sort
1086 echo
1087 fi
1088
1089 if test -s confdefs.h; then
1090 cat <<\_ASBOX
1091## ----------- ##
1092## confdefs.h. ##
1093## ----------- ##
1094_ASBOX
1095 echo
1096 sed "/^$/d" confdefs.h | sort
1097 echo
1098 fi
1099 test "$ac_signal" != 0 &&
1100 echo "$as_me: caught signal $ac_signal"
1101 echo "$as_me: exit $exit_status"
1102 } >&5
1103 rm -f core *.core &&
1104 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1105 exit $exit_status
1106 ' 0
1107for ac_signal in 1 2 13 15; do
1108 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1109done
1110ac_signal=0
1111
1112# confdefs.h avoids OS command line length limits that DEFS can exceed.
1113rm -rf conftest* confdefs.h
1114# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1115echo >confdefs.h
1116
1117# Predefined preprocessor variables.
1118
1119cat >>confdefs.h <<_ACEOF
1120#define PACKAGE_NAME "$PACKAGE_NAME"
1121_ACEOF
1122
1123
1124cat >>confdefs.h <<_ACEOF
1125#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1126_ACEOF
1127
1128
1129cat >>confdefs.h <<_ACEOF
1130#define PACKAGE_VERSION "$PACKAGE_VERSION"
1131_ACEOF
1132
1133
1134cat >>confdefs.h <<_ACEOF
1135#define PACKAGE_STRING "$PACKAGE_STRING"
1136_ACEOF
1137
1138
1139cat >>confdefs.h <<_ACEOF
1140#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1141_ACEOF
1142
1143
1144# Let the site file select an alternate cache file if it wants to.
1145# Prefer explicitly selected file to automatically selected ones.
1146if test -z "$CONFIG_SITE"; then
1147 if test "x$prefix" != xNONE; then
1148 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1149 else
1150 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1151 fi
1152fi
1153for ac_site_file in $CONFIG_SITE; do
1154 if test -r "$ac_site_file"; then
1155 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1156echo "$as_me: loading site script $ac_site_file" >&6;}
1157 sed 's/^/| /' "$ac_site_file" >&5
1158 . "$ac_site_file"
1159 fi
1160done
1161
1162if test -r "$cache_file"; then
1163 # Some versions of bash will fail to source /dev/null (special
1164 # files actually), so we avoid doing that.
1165 if test -f "$cache_file"; then
1166 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1167echo "$as_me: loading cache $cache_file" >&6;}
1168 case $cache_file in
1169 [\\/]* | ?:[\\/]* ) . $cache_file;;
1170 *) . ./$cache_file;;
1171 esac
1172 fi
1173else
1174 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175echo "$as_me: creating cache $cache_file" >&6;}
1176 >$cache_file
1177fi
1178
1179# Check that the precious variables saved in the cache have kept the same
1180# value.
1181ac_cache_corrupted=false
1182for ac_var in `(set) 2>&1 |
1183 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1184 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1185 eval ac_new_set=\$ac_env_${ac_var}_set
1186 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1187 eval ac_new_val="\$ac_env_${ac_var}_value"
1188 case $ac_old_set,$ac_new_set in
1189 set,)
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1191echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1193 ,set)
1194 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1195echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1196 ac_cache_corrupted=: ;;
1197 ,);;
1198 *)
1199 if test "x$ac_old_val" != "x$ac_new_val"; then
1200 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1201echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1203echo "$as_me: former value: $ac_old_val" >&2;}
1204 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1205echo "$as_me: current value: $ac_new_val" >&2;}
1206 ac_cache_corrupted=:
1207 fi;;
1208 esac
1209 # Pass precious variables to config.status.
1210 if test "$ac_new_set" = set; then
1211 case $ac_new_val in
1212 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1213 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1214 *) ac_arg=$ac_var=$ac_new_val ;;
1215 esac
1216 case " $ac_configure_args " in
1217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1218 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1219 esac
1220 fi
1221done
1222if $ac_cache_corrupted; then
1223 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1225 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1226echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227 { (exit 1); exit 1; }; }
1228fi
1229
1230ac_ext=c
1231ac_cpp='$CPP $CPPFLAGS'
1232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234ac_compiler_gnu=$ac_cv_c_compiler_gnu
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254 ac_config_headers="$ac_config_headers config.h"
1255
1256
1257PACKAGE=audioDB
1258VERSION=-svn
1259cat >>confdefs.h <<_ACEOF
1260#define PACKAGE "$PACKAGE"
1261_ACEOF
1262
1263cat >>confdefs.h <<_ACEOF
1264#define VERSION "$VERSION"
1265_ACEOF
1266
1267
1268
1269
1270
1271LDFLAGS=$LDFLAGS
1272
1273if test -z "$CFLAGS"; then
1274CFLAGS=-O2
1275fi
1276
1277
1278ac_ext=c
1279ac_cpp='$CPP $CPPFLAGS'
1280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1282ac_compiler_gnu=$ac_cv_c_compiler_gnu
1283if test -n "$ac_tool_prefix"; then
1284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1285set dummy ${ac_tool_prefix}gcc; ac_word=$2
1286echo "$as_me:$LINENO: checking for $ac_word" >&5
1287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1288if test "${ac_cv_prog_CC+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1290else
1291 if test -n "$CC"; then
1292 ac_cv_prog_CC="$CC" # Let the user override the test.
1293else
1294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1295for as_dir in $PATH
1296do
1297 IFS=$as_save_IFS
1298 test -z "$as_dir" && as_dir=.
1299 for ac_exec_ext in '' $ac_executable_extensions; do
1300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1303 break 2
1304 fi
1305done
1306done
1307
1308fi
1309fi
1310CC=$ac_cv_prog_CC
1311if test -n "$CC"; then
1312 echo "$as_me:$LINENO: result: $CC" >&5
1313echo "${ECHO_T}$CC" >&6
1314else
1315 echo "$as_me:$LINENO: result: no" >&5
1316echo "${ECHO_T}no" >&6
1317fi
1318
1319fi
1320if test -z "$ac_cv_prog_CC"; then
1321 ac_ct_CC=$CC
1322 # Extract the first word of "gcc", so it can be a program name with args.
1323set dummy gcc; ac_word=$2
1324echo "$as_me:$LINENO: checking for $ac_word" >&5
1325echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1328else
1329 if test -n "$ac_ct_CC"; then
1330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1331else
1332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333for as_dir in $PATH
1334do
1335 IFS=$as_save_IFS
1336 test -z "$as_dir" && as_dir=.
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_ac_ct_CC="gcc"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1341 break 2
1342 fi
1343done
1344done
1345
1346fi
1347fi
1348ac_ct_CC=$ac_cv_prog_ac_ct_CC
1349if test -n "$ac_ct_CC"; then
1350 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1351echo "${ECHO_T}$ac_ct_CC" >&6
1352else
1353 echo "$as_me:$LINENO: result: no" >&5
1354echo "${ECHO_T}no" >&6
1355fi
1356
1357 CC=$ac_ct_CC
1358else
1359 CC="$ac_cv_prog_CC"
1360fi
1361
1362if test -z "$CC"; then
1363 if test -n "$ac_tool_prefix"; then
1364 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1365set dummy ${ac_tool_prefix}cc; ac_word=$2
1366echo "$as_me:$LINENO: checking for $ac_word" >&5
1367echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1368if test "${ac_cv_prog_CC+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1370else
1371 if test -n "$CC"; then
1372 ac_cv_prog_CC="$CC" # Let the user override the test.
1373else
1374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375for as_dir in $PATH
1376do
1377 IFS=$as_save_IFS
1378 test -z "$as_dir" && as_dir=.
1379 for ac_exec_ext in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1381 ac_cv_prog_CC="${ac_tool_prefix}cc"
1382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1383 break 2
1384 fi
1385done
1386done
1387
1388fi
1389fi
1390CC=$ac_cv_prog_CC
1391if test -n "$CC"; then
1392 echo "$as_me:$LINENO: result: $CC" >&5
1393echo "${ECHO_T}$CC" >&6
1394else
1395 echo "$as_me:$LINENO: result: no" >&5
1396echo "${ECHO_T}no" >&6
1397fi
1398
1399fi
1400if test -z "$ac_cv_prog_CC"; then
1401 ac_ct_CC=$CC
1402 # Extract the first word of "cc", so it can be a program name with args.
1403set dummy cc; ac_word=$2
1404echo "$as_me:$LINENO: checking for $ac_word" >&5
1405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1408else
1409 if test -n "$ac_ct_CC"; then
1410 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1411else
1412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1413for as_dir in $PATH
1414do
1415 IFS=$as_save_IFS
1416 test -z "$as_dir" && as_dir=.
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1419 ac_cv_prog_ac_ct_CC="cc"
1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 break 2
1422 fi
1423done
1424done
1425
1426fi
1427fi
1428ac_ct_CC=$ac_cv_prog_ac_ct_CC
1429if test -n "$ac_ct_CC"; then
1430 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1431echo "${ECHO_T}$ac_ct_CC" >&6
1432else
1433 echo "$as_me:$LINENO: result: no" >&5
1434echo "${ECHO_T}no" >&6
1435fi
1436
1437 CC=$ac_ct_CC
1438else
1439 CC="$ac_cv_prog_CC"
1440fi
1441
1442fi
1443if test -z "$CC"; then
1444 # Extract the first word of "cc", so it can be a program name with args.
1445set dummy cc; ac_word=$2
1446echo "$as_me:$LINENO: checking for $ac_word" >&5
1447echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1448if test "${ac_cv_prog_CC+set}" = set; then
1449 echo $ECHO_N "(cached) $ECHO_C" >&6
1450else
1451 if test -n "$CC"; then
1452 ac_cv_prog_CC="$CC" # Let the user override the test.
1453else
1454 ac_prog_rejected=no
1455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456for as_dir in $PATH
1457do
1458 IFS=$as_save_IFS
1459 test -z "$as_dir" && as_dir=.
1460 for ac_exec_ext in '' $ac_executable_extensions; do
1461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1462 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1463 ac_prog_rejected=yes
1464 continue
1465 fi
1466 ac_cv_prog_CC="cc"
1467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 break 2
1469 fi
1470done
1471done
1472
1473if test $ac_prog_rejected = yes; then
1474 # We found a bogon in the path, so make sure we never use it.
1475 set dummy $ac_cv_prog_CC
1476 shift
1477 if test $# != 0; then
1478 # We chose a different compiler from the bogus one.
1479 # However, it has the same basename, so the bogon will be chosen
1480 # first if we set CC to just the basename; use the full file name.
1481 shift
1482 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1483 fi
1484fi
1485fi
1486fi
1487CC=$ac_cv_prog_CC
1488if test -n "$CC"; then
1489 echo "$as_me:$LINENO: result: $CC" >&5
1490echo "${ECHO_T}$CC" >&6
1491else
1492 echo "$as_me:$LINENO: result: no" >&5
1493echo "${ECHO_T}no" >&6
1494fi
1495
1496fi
1497if test -z "$CC"; then
1498 if test -n "$ac_tool_prefix"; then
1499 for ac_prog in cl
1500 do
1501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1502set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1503echo "$as_me:$LINENO: checking for $ac_word" >&5
1504echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505if test "${ac_cv_prog_CC+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1507else
1508 if test -n "$CC"; then
1509 ac_cv_prog_CC="$CC" # Let the user override the test.
1510else
1511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512for as_dir in $PATH
1513do
1514 IFS=$as_save_IFS
1515 test -z "$as_dir" && as_dir=.
1516 for ac_exec_ext in '' $ac_executable_extensions; do
1517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1518 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1520 break 2
1521 fi
1522done
1523done
1524
1525fi
1526fi
1527CC=$ac_cv_prog_CC
1528if test -n "$CC"; then
1529 echo "$as_me:$LINENO: result: $CC" >&5
1530echo "${ECHO_T}$CC" >&6
1531else
1532 echo "$as_me:$LINENO: result: no" >&5
1533echo "${ECHO_T}no" >&6
1534fi
1535
1536 test -n "$CC" && break
1537 done
1538fi
1539if test -z "$CC"; then
1540 ac_ct_CC=$CC
1541 for ac_prog in cl
1542do
1543 # Extract the first word of "$ac_prog", so it can be a program name with args.
1544set dummy $ac_prog; ac_word=$2
1545echo "$as_me:$LINENO: checking for $ac_word" >&5
1546echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549else
1550 if test -n "$ac_ct_CC"; then
1551 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1552else
1553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554for as_dir in $PATH
1555do
1556 IFS=$as_save_IFS
1557 test -z "$as_dir" && as_dir=.
1558 for ac_exec_ext in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 ac_cv_prog_ac_ct_CC="$ac_prog"
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562 break 2
1563 fi
1564done
1565done
1566
1567fi
1568fi
1569ac_ct_CC=$ac_cv_prog_ac_ct_CC
1570if test -n "$ac_ct_CC"; then
1571 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1572echo "${ECHO_T}$ac_ct_CC" >&6
1573else
1574 echo "$as_me:$LINENO: result: no" >&5
1575echo "${ECHO_T}no" >&6
1576fi
1577
1578 test -n "$ac_ct_CC" && break
1579done
1580
1581 CC=$ac_ct_CC
1582fi
1583
1584fi
1585
1586
1587test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1588See \`config.log' for more details." >&5
1589echo "$as_me: error: no acceptable C compiler found in \$PATH
1590See \`config.log' for more details." >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593# Provide some information about the compiler.
1594echo "$as_me:$LINENO:" \
1595 "checking for C compiler version" >&5
1596ac_compiler=`set X $ac_compile; echo $2`
1597{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1598 (eval $ac_compiler --version </dev/null >&5) 2>&5
1599 ac_status=$?
1600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1601 (exit $ac_status); }
1602{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1603 (eval $ac_compiler -v </dev/null >&5) 2>&5
1604 ac_status=$?
1605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1606 (exit $ac_status); }
1607{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1608 (eval $ac_compiler -V </dev/null >&5) 2>&5
1609 ac_status=$?
1610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1611 (exit $ac_status); }
1612
1613cat >conftest.$ac_ext <<_ACEOF
1614/* confdefs.h. */
1615_ACEOF
1616cat confdefs.h >>conftest.$ac_ext
1617cat >>conftest.$ac_ext <<_ACEOF
1618/* end confdefs.h. */
1619
1620int
1621main ()
1622{
1623
1624 ;
1625 return 0;
1626}
1627_ACEOF
1628ac_clean_files_save=$ac_clean_files
1629ac_clean_files="$ac_clean_files a.out a.exe b.out"
1630# Try to create an executable without -o first, disregard a.out.
1631# It will help us diagnose broken compilers, and finding out an intuition
1632# of exeext.
1633echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1634echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1635ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1636if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1637 (eval $ac_link_default) 2>&5
1638 ac_status=$?
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }; then
1641 # Find the output, starting from the most likely. This scheme is
1642# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1643# resort.
1644
1645# Be careful to initialize this variable, since it used to be cached.
1646# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1647ac_cv_exeext=
1648# b.out is created by i960 compilers.
1649for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1650do
1651 test -f "$ac_file" || continue
1652 case $ac_file in
1653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1654 ;;
1655 conftest.$ac_ext )
1656 # This is the source file.
1657 ;;
1658 [ab].out )
1659 # We found the default executable, but exeext='' is most
1660 # certainly right.
1661 break;;
1662 *.* )
1663 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1664 # FIXME: I believe we export ac_cv_exeext for Libtool,
1665 # but it would be cool to find out if it's true. Does anybody
1666 # maintain Libtool? --akim.
1667 export ac_cv_exeext
1668 break;;
1669 * )
1670 break;;
1671 esac
1672done
1673else
1674 echo "$as_me: failed program was:" >&5
1675sed 's/^/| /' conftest.$ac_ext >&5
1676
1677{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1678See \`config.log' for more details." >&5
1679echo "$as_me: error: C compiler cannot create executables
1680See \`config.log' for more details." >&2;}
1681 { (exit 77); exit 77; }; }
1682fi
1683
1684ac_exeext=$ac_cv_exeext
1685echo "$as_me:$LINENO: result: $ac_file" >&5
1686echo "${ECHO_T}$ac_file" >&6
1687
1688# Check the compiler produces executables we can run. If not, either
1689# the compiler is broken, or we cross compile.
1690echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1691echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1692# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1693# If not cross compiling, check that we can run a simple program.
1694if test "$cross_compiling" != yes; then
1695 if { ac_try='./$ac_file'
1696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1697 (eval $ac_try) 2>&5
1698 ac_status=$?
1699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 (exit $ac_status); }; }; then
1701 cross_compiling=no
1702 else
1703 if test "$cross_compiling" = maybe; then
1704 cross_compiling=yes
1705 else
1706 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1707If you meant to cross compile, use \`--host'.
1708See \`config.log' for more details." >&5
1709echo "$as_me: error: cannot run C compiled programs.
1710If you meant to cross compile, use \`--host'.
1711See \`config.log' for more details." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 fi
1715fi
1716echo "$as_me:$LINENO: result: yes" >&5
1717echo "${ECHO_T}yes" >&6
1718
1719rm -f a.out a.exe conftest$ac_cv_exeext b.out
1720ac_clean_files=$ac_clean_files_save
1721# Check the compiler produces executables we can run. If not, either
1722# the compiler is broken, or we cross compile.
1723echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1724echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1725echo "$as_me:$LINENO: result: $cross_compiling" >&5
1726echo "${ECHO_T}$cross_compiling" >&6
1727
1728echo "$as_me:$LINENO: checking for suffix of executables" >&5
1729echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1731 (eval $ac_link) 2>&5
1732 ac_status=$?
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }; then
1735 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1736# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1737# work properly (i.e., refer to `conftest.exe'), while it won't with
1738# `rm'.
1739for ac_file in conftest.exe conftest conftest.*; do
1740 test -f "$ac_file" || continue
1741 case $ac_file in
1742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1743 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1744 export ac_cv_exeext
1745 break;;
1746 * ) break;;
1747 esac
1748done
1749else
1750 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1751See \`config.log' for more details." >&5
1752echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1753See \`config.log' for more details." >&2;}
1754 { (exit 1); exit 1; }; }
1755fi
1756
1757rm -f conftest$ac_cv_exeext
1758echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1759echo "${ECHO_T}$ac_cv_exeext" >&6
1760
1761rm -f conftest.$ac_ext
1762EXEEXT=$ac_cv_exeext
1763ac_exeext=$EXEEXT
1764echo "$as_me:$LINENO: checking for suffix of object files" >&5
1765echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1766if test "${ac_cv_objext+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1768else
1769 cat >conftest.$ac_ext <<_ACEOF
1770/* confdefs.h. */
1771_ACEOF
1772cat confdefs.h >>conftest.$ac_ext
1773cat >>conftest.$ac_ext <<_ACEOF
1774/* end confdefs.h. */
1775
1776int
1777main ()
1778{
1779
1780 ;
1781 return 0;
1782}
1783_ACEOF
1784rm -f conftest.o conftest.obj
1785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1786 (eval $ac_compile) 2>&5
1787 ac_status=$?
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; then
1790 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1791 case $ac_file in
1792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1793 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1794 break;;
1795 esac
1796done
1797else
1798 echo "$as_me: failed program was:" >&5
1799sed 's/^/| /' conftest.$ac_ext >&5
1800
1801{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1802See \`config.log' for more details." >&5
1803echo "$as_me: error: cannot compute suffix of object files: cannot compile
1804See \`config.log' for more details." >&2;}
1805 { (exit 1); exit 1; }; }
1806fi
1807
1808rm -f conftest.$ac_cv_objext conftest.$ac_ext
1809fi
1810echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1811echo "${ECHO_T}$ac_cv_objext" >&6
1812OBJEXT=$ac_cv_objext
1813ac_objext=$OBJEXT
1814echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1815echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1816if test "${ac_cv_c_compiler_gnu+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1818else
1819 cat >conftest.$ac_ext <<_ACEOF
1820/* confdefs.h. */
1821_ACEOF
1822cat confdefs.h >>conftest.$ac_ext
1823cat >>conftest.$ac_ext <<_ACEOF
1824/* end confdefs.h. */
1825
1826int
1827main ()
1828{
1829#ifndef __GNUC__
1830 choke me
1831#endif
1832
1833 ;
1834 return 0;
1835}
1836_ACEOF
1837rm -f conftest.$ac_objext
1838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1839 (eval $ac_compile) 2>conftest.er1
1840 ac_status=$?
1841 grep -v '^ *+' conftest.er1 >conftest.err
1842 rm -f conftest.er1
1843 cat conftest.err >&5
1844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1845 (exit $ac_status); } &&
1846 { ac_try='test -z "$ac_c_werror_flag"
1847 || test ! -s conftest.err'
1848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 (eval $ac_try) 2>&5
1850 ac_status=$?
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }; } &&
1853 { ac_try='test -s conftest.$ac_objext'
1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855 (eval $ac_try) 2>&5
1856 ac_status=$?
1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 (exit $ac_status); }; }; then
1859 ac_compiler_gnu=yes
1860else
1861 echo "$as_me: failed program was:" >&5
1862sed 's/^/| /' conftest.$ac_ext >&5
1863
1864ac_compiler_gnu=no
1865fi
1866rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1867ac_cv_c_compiler_gnu=$ac_compiler_gnu
1868
1869fi
1870echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1871echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1872GCC=`test $ac_compiler_gnu = yes && echo yes`
1873ac_test_CFLAGS=${CFLAGS+set}
1874ac_save_CFLAGS=$CFLAGS
1875CFLAGS="-g"
1876echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1877echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1878if test "${ac_cv_prog_cc_g+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1880else
1881 cat >conftest.$ac_ext <<_ACEOF
1882/* confdefs.h. */
1883_ACEOF
1884cat confdefs.h >>conftest.$ac_ext
1885cat >>conftest.$ac_ext <<_ACEOF
1886/* end confdefs.h. */
1887
1888int
1889main ()
1890{
1891
1892 ;
1893 return 0;
1894}
1895_ACEOF
1896rm -f conftest.$ac_objext
1897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1898 (eval $ac_compile) 2>conftest.er1
1899 ac_status=$?
1900 grep -v '^ *+' conftest.er1 >conftest.err
1901 rm -f conftest.er1
1902 cat conftest.err >&5
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); } &&
1905 { ac_try='test -z "$ac_c_werror_flag"
1906 || test ! -s conftest.err'
1907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1908 (eval $ac_try) 2>&5
1909 ac_status=$?
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); }; } &&
1912 { ac_try='test -s conftest.$ac_objext'
1913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1914 (eval $ac_try) 2>&5
1915 ac_status=$?
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }; }; then
1918 ac_cv_prog_cc_g=yes
1919else
1920 echo "$as_me: failed program was:" >&5
1921sed 's/^/| /' conftest.$ac_ext >&5
1922
1923ac_cv_prog_cc_g=no
1924fi
1925rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1926fi
1927echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1928echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1929if test "$ac_test_CFLAGS" = set; then
1930 CFLAGS=$ac_save_CFLAGS
1931elif test $ac_cv_prog_cc_g = yes; then
1932 if test "$GCC" = yes; then
1933 CFLAGS="-g -O2"
1934 else
1935 CFLAGS="-g"
1936 fi
1937else
1938 if test "$GCC" = yes; then
1939 CFLAGS="-O2"
1940 else
1941 CFLAGS=
1942 fi
1943fi
1944echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1945echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1946if test "${ac_cv_prog_cc_stdc+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948else
1949 ac_cv_prog_cc_stdc=no
1950ac_save_CC=$CC
1951cat >conftest.$ac_ext <<_ACEOF
1952/* confdefs.h. */
1953_ACEOF
1954cat confdefs.h >>conftest.$ac_ext
1955cat >>conftest.$ac_ext <<_ACEOF
1956/* end confdefs.h. */
1957#include <stdarg.h>
1958#include <stdio.h>
1959#include <sys/types.h>
1960#include <sys/stat.h>
1961/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1962struct buf { int x; };
1963FILE * (*rcsopen) (struct buf *, struct stat *, int);
1964static char *e (p, i)
1965 char **p;
1966 int i;
1967{
1968 return p[i];
1969}
1970static char *f (char * (*g) (char **, int), char **p, ...)
1971{
1972 char *s;
1973 va_list v;
1974 va_start (v,p);
1975 s = g (p, va_arg (v,int));
1976 va_end (v);
1977 return s;
1978}
1979
1980/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1981 function prototypes and stuff, but not '\xHH' hex character constants.
1982 These don't provoke an error unfortunately, instead are silently treated
1983 as 'x'. The following induces an error, until -std1 is added to get
1984 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1985 array size at least. It's necessary to write '\x00'==0 to get something
1986 that's true only with -std1. */
1987int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1988
1989int test (int i, double x);
1990struct s1 {int (*f) (int a);};
1991struct s2 {int (*f) (double a);};
1992int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1993int argc;
1994char **argv;
1995int
1996main ()
1997{
1998return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1999 ;
2000 return 0;
2001}
2002_ACEOF
2003# Don't try gcc -ansi; that turns off useful extensions and
2004# breaks some systems' header files.
2005# AIX -qlanglvl=ansi
2006# Ultrix and OSF/1 -std1
2007# HP-UX 10.20 and later -Ae
2008# HP-UX older versions -Aa -D_HPUX_SOURCE
2009# SVR4 -Xc -D__EXTENSIONS__
2010for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2011do
2012 CC="$ac_save_CC $ac_arg"
2013 rm -f conftest.$ac_objext
2014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2015 (eval $ac_compile) 2>conftest.er1
2016 ac_status=$?
2017 grep -v '^ *+' conftest.er1 >conftest.err
2018 rm -f conftest.er1
2019 cat conftest.err >&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); } &&
2022 { ac_try='test -z "$ac_c_werror_flag"
2023 || test ! -s conftest.err'
2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025 (eval $ac_try) 2>&5
2026 ac_status=$?
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); }; } &&
2029 { ac_try='test -s conftest.$ac_objext'
2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 (eval $ac_try) 2>&5
2032 ac_status=$?
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; }; then
2035 ac_cv_prog_cc_stdc=$ac_arg
2036break
2037else
2038 echo "$as_me: failed program was:" >&5
2039sed 's/^/| /' conftest.$ac_ext >&5
2040
2041fi
2042rm -f conftest.err conftest.$ac_objext
2043done
2044rm -f conftest.$ac_ext conftest.$ac_objext
2045CC=$ac_save_CC
2046
2047fi
2048
2049case "x$ac_cv_prog_cc_stdc" in
2050 x|xno)
2051 echo "$as_me:$LINENO: result: none needed" >&5
2052echo "${ECHO_T}none needed" >&6 ;;
2053 *)
2054 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2055echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2056 CC="$CC $ac_cv_prog_cc_stdc" ;;
2057esac
2058
2059# Some people use a C++ compiler to compile C. Since we use `exit',
2060# in C++ we need to declare it. In case someone uses the same compiler
2061# for both compiling C and C++ we need to have the C++ compiler decide
2062# the declaration of exit, since it's the most demanding environment.
2063cat >conftest.$ac_ext <<_ACEOF
2064#ifndef __cplusplus
2065 choke me
2066#endif
2067_ACEOF
2068rm -f conftest.$ac_objext
2069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2070 (eval $ac_compile) 2>conftest.er1
2071 ac_status=$?
2072 grep -v '^ *+' conftest.er1 >conftest.err
2073 rm -f conftest.er1
2074 cat conftest.err >&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); } &&
2077 { ac_try='test -z "$ac_c_werror_flag"
2078 || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2080 (eval $ac_try) 2>&5
2081 ac_status=$?
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086 (eval $ac_try) 2>&5
2087 ac_status=$?
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2090 for ac_declaration in \
2091 '' \
2092 'extern "C" void std::exit (int) throw (); using std::exit;' \
2093 'extern "C" void std::exit (int); using std::exit;' \
2094 'extern "C" void exit (int) throw ();' \
2095 'extern "C" void exit (int);' \
2096 'void exit (int);'
2097do
2098 cat >conftest.$ac_ext <<_ACEOF
2099/* confdefs.h. */
2100_ACEOF
2101cat confdefs.h >>conftest.$ac_ext
2102cat >>conftest.$ac_ext <<_ACEOF
2103/* end confdefs.h. */
2104$ac_declaration
2105#include <stdlib.h>
2106int
2107main ()
2108{
2109exit (42);
2110 ;
2111 return 0;
2112}
2113_ACEOF
2114rm -f conftest.$ac_objext
2115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>conftest.er1
2117 ac_status=$?
2118 grep -v '^ *+' conftest.er1 >conftest.err
2119 rm -f conftest.er1
2120 cat conftest.err >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); } &&
2123 { ac_try='test -z "$ac_c_werror_flag"
2124 || test ! -s conftest.err'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2126 (eval $ac_try) 2>&5
2127 ac_status=$?
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; } &&
2130 { ac_try='test -s conftest.$ac_objext'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132 (eval $ac_try) 2>&5
2133 ac_status=$?
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; }; then
2136 :
2137else
2138 echo "$as_me: failed program was:" >&5
2139sed 's/^/| /' conftest.$ac_ext >&5
2140
2141continue
2142fi
2143rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2144 cat >conftest.$ac_ext <<_ACEOF
2145/* confdefs.h. */
2146_ACEOF
2147cat confdefs.h >>conftest.$ac_ext
2148cat >>conftest.$ac_ext <<_ACEOF
2149/* end confdefs.h. */
2150$ac_declaration
2151int
2152main ()
2153{
2154exit (42);
2155 ;
2156 return 0;
2157}
2158_ACEOF
2159rm -f conftest.$ac_objext
2160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2162 ac_status=$?
2163 grep -v '^ *+' conftest.er1 >conftest.err
2164 rm -f conftest.er1
2165 cat conftest.err >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 (eval $ac_try) 2>&5
2172 ac_status=$?
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 (eval $ac_try) 2>&5
2178 ac_status=$?
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 break
2182else
2183 echo "$as_me: failed program was:" >&5
2184sed 's/^/| /' conftest.$ac_ext >&5
2185
2186fi
2187rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2188done
2189rm -f conftest*
2190if test -n "$ac_declaration"; then
2191 echo '#ifdef __cplusplus' >>confdefs.h
2192 echo $ac_declaration >>confdefs.h
2193 echo '#endif' >>confdefs.h
2194fi
2195
2196else
2197 echo "$as_me: failed program was:" >&5
2198sed 's/^/| /' conftest.$ac_ext >&5
2199
2200fi
2201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2202ac_ext=c
2203ac_cpp='$CPP $CPPFLAGS'
2204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206ac_compiler_gnu=$ac_cv_c_compiler_gnu
2207
2208ac_ext=cc
2209ac_cpp='$CXXCPP $CPPFLAGS'
2210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2213if test -n "$ac_tool_prefix"; then
2214 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2215 do
2216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2218echo "$as_me:$LINENO: checking for $ac_word" >&5
2219echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220if test "${ac_cv_prog_CXX+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2222else
2223 if test -n "$CXX"; then
2224 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2225else
2226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227for as_dir in $PATH
2228do
2229 IFS=$as_save_IFS
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 break 2
2236 fi
2237done
2238done
2239
2240fi
2241fi
2242CXX=$ac_cv_prog_CXX
2243if test -n "$CXX"; then
2244 echo "$as_me:$LINENO: result: $CXX" >&5
2245echo "${ECHO_T}$CXX" >&6
2246else
2247 echo "$as_me:$LINENO: result: no" >&5
2248echo "${ECHO_T}no" >&6
2249fi
2250
2251 test -n "$CXX" && break
2252 done
2253fi
2254if test -z "$CXX"; then
2255 ac_ct_CXX=$CXX
2256 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2257do
2258 # Extract the first word of "$ac_prog", so it can be a program name with args.
2259set dummy $ac_prog; ac_word=$2
2260echo "$as_me:$LINENO: checking for $ac_word" >&5
2261echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2264else
2265 if test -n "$ac_ct_CXX"; then
2266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2267else
2268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269for as_dir in $PATH
2270do
2271 IFS=$as_save_IFS
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275 ac_cv_prog_ac_ct_CXX="$ac_prog"
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 break 2
2278 fi
2279done
2280done
2281
2282fi
2283fi
2284ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2285if test -n "$ac_ct_CXX"; then
2286 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2287echo "${ECHO_T}$ac_ct_CXX" >&6
2288else
2289 echo "$as_me:$LINENO: result: no" >&5
2290echo "${ECHO_T}no" >&6
2291fi
2292
2293 test -n "$ac_ct_CXX" && break
2294done
2295test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2296
2297 CXX=$ac_ct_CXX
2298fi
2299
2300
2301# Provide some information about the compiler.
2302echo "$as_me:$LINENO:" \
2303 "checking for C++ compiler version" >&5
2304ac_compiler=`set X $ac_compile; echo $2`
2305{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2306 (eval $ac_compiler --version </dev/null >&5) 2>&5
2307 ac_status=$?
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }
2310{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2311 (eval $ac_compiler -v </dev/null >&5) 2>&5
2312 ac_status=$?
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }
2315{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2316 (eval $ac_compiler -V </dev/null >&5) 2>&5
2317 ac_status=$?
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }
2320
2321echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2322echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2323if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2325else
2326 cat >conftest.$ac_ext <<_ACEOF
2327/* confdefs.h. */
2328_ACEOF
2329cat confdefs.h >>conftest.$ac_ext
2330cat >>conftest.$ac_ext <<_ACEOF
2331/* end confdefs.h. */
2332
2333int
2334main ()
2335{
2336#ifndef __GNUC__
2337 choke me
2338#endif
2339
2340 ;
2341 return 0;
2342}
2343_ACEOF
2344rm -f conftest.$ac_objext
2345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>conftest.er1
2347 ac_status=$?
2348 grep -v '^ *+' conftest.er1 >conftest.err
2349 rm -f conftest.er1
2350 cat conftest.err >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
2353 { ac_try='test -z "$ac_cxx_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 (eval $ac_try) 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try='test -s conftest.$ac_objext'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 (eval $ac_try) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2366 ac_compiler_gnu=yes
2367else
2368 echo "$as_me: failed program was:" >&5
2369sed 's/^/| /' conftest.$ac_ext >&5
2370
2371ac_compiler_gnu=no
2372fi
2373rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2374ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2375
2376fi
2377echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2378echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2379GXX=`test $ac_compiler_gnu = yes && echo yes`
2380ac_test_CXXFLAGS=${CXXFLAGS+set}
2381ac_save_CXXFLAGS=$CXXFLAGS
2382CXXFLAGS="-g"
2383echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2384echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2385if test "${ac_cv_prog_cxx_g+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2387else
2388 cat >conftest.$ac_ext <<_ACEOF
2389/* confdefs.h. */
2390_ACEOF
2391cat confdefs.h >>conftest.$ac_ext
2392cat >>conftest.$ac_ext <<_ACEOF
2393/* end confdefs.h. */
2394
2395int
2396main ()
2397{
2398
2399 ;
2400 return 0;
2401}
2402_ACEOF
2403rm -f conftest.$ac_objext
2404if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 (eval $ac_compile) 2>conftest.er1
2406 ac_status=$?
2407 grep -v '^ *+' conftest.er1 >conftest.err
2408 rm -f conftest.er1
2409 cat conftest.err >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } &&
2412 { ac_try='test -z "$ac_cxx_werror_flag"
2413 || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 (eval $ac_try) 2>&5
2416 ac_status=$?
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 (eval $ac_try) 2>&5
2422 ac_status=$?
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2425 ac_cv_prog_cxx_g=yes
2426else
2427 echo "$as_me: failed program was:" >&5
2428sed 's/^/| /' conftest.$ac_ext >&5
2429
2430ac_cv_prog_cxx_g=no
2431fi
2432rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2433fi
2434echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2435echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2436if test "$ac_test_CXXFLAGS" = set; then
2437 CXXFLAGS=$ac_save_CXXFLAGS
2438elif test $ac_cv_prog_cxx_g = yes; then
2439 if test "$GXX" = yes; then
2440 CXXFLAGS="-g -O2"
2441 else
2442 CXXFLAGS="-g"
2443 fi
2444else
2445 if test "$GXX" = yes; then
2446 CXXFLAGS="-O2"
2447 else
2448 CXXFLAGS=
2449 fi
2450fi
2451for ac_declaration in \
2452 '' \
2453 'extern "C" void std::exit (int) throw (); using std::exit;' \
2454 'extern "C" void std::exit (int); using std::exit;' \
2455 'extern "C" void exit (int) throw ();' \
2456 'extern "C" void exit (int);' \
2457 'void exit (int);'
2458do
2459 cat >conftest.$ac_ext <<_ACEOF
2460/* confdefs.h. */
2461_ACEOF
2462cat confdefs.h >>conftest.$ac_ext
2463cat >>conftest.$ac_ext <<_ACEOF
2464/* end confdefs.h. */
2465$ac_declaration
2466#include <stdlib.h>
2467int
2468main ()
2469{
2470exit (42);
2471 ;
2472 return 0;
2473}
2474_ACEOF
2475rm -f conftest.$ac_objext
2476if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2477 (eval $ac_compile) 2>conftest.er1
2478 ac_status=$?
2479 grep -v '^ *+' conftest.er1 >conftest.err
2480 rm -f conftest.er1
2481 cat conftest.err >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); } &&
2484 { ac_try='test -z "$ac_cxx_werror_flag"
2485 || test ! -s conftest.err'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 (eval $ac_try) 2>&5
2488 ac_status=$?
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; } &&
2491 { ac_try='test -s conftest.$ac_objext'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493 (eval $ac_try) 2>&5
2494 ac_status=$?
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; }; then
2497 :
2498else
2499 echo "$as_me: failed program was:" >&5
2500sed 's/^/| /' conftest.$ac_ext >&5
2501
2502continue
2503fi
2504rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2505 cat >conftest.$ac_ext <<_ACEOF
2506/* confdefs.h. */
2507_ACEOF
2508cat confdefs.h >>conftest.$ac_ext
2509cat >>conftest.$ac_ext <<_ACEOF
2510/* end confdefs.h. */
2511$ac_declaration
2512int
2513main ()
2514{
2515exit (42);
2516 ;
2517 return 0;
2518}
2519_ACEOF
2520rm -f conftest.$ac_objext
2521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2522 (eval $ac_compile) 2>conftest.er1
2523 ac_status=$?
2524 grep -v '^ *+' conftest.er1 >conftest.err
2525 rm -f conftest.er1
2526 cat conftest.err >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); } &&
2529 { ac_try='test -z "$ac_cxx_werror_flag"
2530 || test ! -s conftest.err'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 (eval $ac_try) 2>&5
2533 ac_status=$?
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; } &&
2536 { ac_try='test -s conftest.$ac_objext'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 (eval $ac_try) 2>&5
2539 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; }; then
2542 break
2543else
2544 echo "$as_me: failed program was:" >&5
2545sed 's/^/| /' conftest.$ac_ext >&5
2546
2547fi
2548rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2549done
2550rm -f conftest*
2551if test -n "$ac_declaration"; then
2552 echo '#ifdef __cplusplus' >>confdefs.h
2553 echo $ac_declaration >>confdefs.h
2554 echo '#endif' >>confdefs.h
2555fi
2556
2557ac_ext=c
2558ac_cpp='$CPP $CPPFLAGS'
2559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561ac_compiler_gnu=$ac_cv_c_compiler_gnu
2562
2563
2564ac_aux_dir=
2565for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2566 if test -f $ac_dir/install-sh; then
2567 ac_aux_dir=$ac_dir
2568 ac_install_sh="$ac_aux_dir/install-sh -c"
2569 break
2570 elif test -f $ac_dir/install.sh; then
2571 ac_aux_dir=$ac_dir
2572 ac_install_sh="$ac_aux_dir/install.sh -c"
2573 break
2574 elif test -f $ac_dir/shtool; then
2575 ac_aux_dir=$ac_dir
2576 ac_install_sh="$ac_aux_dir/shtool install -c"
2577 break
2578 fi
2579done
2580if test -z "$ac_aux_dir"; then
2581 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2582echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2583 { (exit 1); exit 1; }; }
2584fi
2585ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2586ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2587ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2588
2589# Find a good install program. We prefer a C program (faster),
2590# so one script is as good as another. But avoid the broken or
2591# incompatible versions:
2592# SysV /etc/install, /usr/sbin/install
2593# SunOS /usr/etc/install
2594# IRIX /sbin/install
2595# AIX /bin/install
2596# AmigaOS /C/install, which installs bootblocks on floppy discs
2597# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2598# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2599# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2600# OS/2's system install, which has a completely different semantic
2601# ./install, which can be erroneously created by make from ./install.sh.
2602echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2603echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2604if test -z "$INSTALL"; then
2605if test "${ac_cv_path_install+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2607else
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609for as_dir in $PATH
2610do
2611 IFS=$as_save_IFS
2612 test -z "$as_dir" && as_dir=.
2613 # Account for people who put trailing slashes in PATH elements.
2614case $as_dir/ in
2615 ./ | .// | /cC/* | \
2616 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2617 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2618 /usr/ucb/* ) ;;
2619 *)
2620 # OSF1 and SCO ODT 3.0 have their own names for install.
2621 # Don't use installbsd from OSF since it installs stuff as root
2622 # by default.
2623 for ac_prog in ginstall scoinst install; do
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2626 if test $ac_prog = install &&
2627 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2628 # AIX install. It has an incompatible calling convention.
2629 :
2630 elif test $ac_prog = install &&
2631 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2632 # program-specific install script used by HP pwplus--don't use.
2633 :
2634 else
2635 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2636 break 3
2637 fi
2638 fi
2639 done
2640 done
2641 ;;
2642esac
2643done
2644
2645
2646fi
2647 if test "${ac_cv_path_install+set}" = set; then
2648 INSTALL=$ac_cv_path_install
2649 else
2650 # As a last resort, use the slow shell script. We don't cache a
2651 # path for INSTALL within a source directory, because that will
2652 # break other packages using the cache if that directory is
2653 # removed, or if the path is relative.
2654 INSTALL=$ac_install_sh
2655 fi
2656fi
2657echo "$as_me:$LINENO: result: $INSTALL" >&5
2658echo "${ECHO_T}$INSTALL" >&6
2659
2660# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2661# It thinks the first close brace ends the variable substitution.
2662test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2663
2664test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2665
2666test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2667
2668
2669 ac_config_files="$ac_config_files Makefile"
2670cat >confcache <<\_ACEOF
2671# This file is a shell script that caches the results of configure
2672# tests run on this system so they can be shared between configure
2673# scripts and configure runs, see configure's option --config-cache.
2674# It is not useful on other systems. If it contains results you don't
2675# want to keep, you may remove or edit it.
2676#
2677# config.status only pays attention to the cache file if you give it
2678# the --recheck option to rerun configure.
2679#
2680# `ac_cv_env_foo' variables (set or unset) will be overridden when
2681# loading this file, other *unset* `ac_cv_foo' will be assigned the
2682# following values.
2683
2684_ACEOF
2685
2686# The following way of writing the cache mishandles newlines in values,
2687# but we know of no workaround that is simple, portable, and efficient.
2688# So, don't put newlines in cache variables' values.
2689# Ultrix sh set writes to stderr and can't be redirected directly,
2690# and sets the high bit in the cache file unless we assign to the vars.
2691{
2692 (set) 2>&1 |
2693 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2694 *ac_space=\ *)
2695 # `set' does not quote correctly, so add quotes (double-quote
2696 # substitution turns \\\\ into \\, and sed turns \\ into \).
2697 sed -n \
2698 "s/'/'\\\\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2700 ;;
2701 *)
2702 # `set' quotes correctly as required by POSIX, so do not add quotes.
2703 sed -n \
2704 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2705 ;;
2706 esac;
2707} |
2708 sed '
2709 t clear
2710 : clear
2711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2712 t end
2713 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2714 : end' >>confcache
2715if diff $cache_file confcache >/dev/null 2>&1; then :; else
2716 if test -w $cache_file; then
2717 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2718 cat confcache >$cache_file
2719 else
2720 echo "not updating unwritable cache $cache_file"
2721 fi
2722fi
2723rm -f confcache
2724
2725test "x$prefix" = xNONE && prefix=$ac_default_prefix
2726# Let make expand exec_prefix.
2727test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2728
2729# VPATH may cause trouble with some makes, so we remove $(srcdir),
2730# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2731# trailing colons and then remove the whole line if VPATH becomes empty
2732# (actually we leave an empty line to preserve line numbers).
2733if test "x$srcdir" = x.; then
2734 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2735s/:*\$(srcdir):*/:/;
2736s/:*\${srcdir}:*/:/;
2737s/:*@srcdir@:*/:/;
2738s/^\([^=]*=[ ]*\):*/\1/;
2739s/:*$//;
2740s/^[^=]*=[ ]*$//;
2741}'
2742fi
2743
2744DEFS=-DHAVE_CONFIG_H
2745
2746ac_libobjs=
2747ac_ltlibobjs=
2748for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2749 # 1. Remove the extension, and $U if already installed.
2750 ac_i=`echo "$ac_i" |
2751 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2752 # 2. Add them.
2753 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2754 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2755done
2756LIBOBJS=$ac_libobjs
2757
2758LTLIBOBJS=$ac_ltlibobjs
2759
2760
2761
2762: ${CONFIG_STATUS=./config.status}
2763ac_clean_files_save=$ac_clean_files
2764ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2765{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2766echo "$as_me: creating $CONFIG_STATUS" >&6;}
2767cat >$CONFIG_STATUS <<_ACEOF
2768#! $SHELL
2769# Generated by $as_me.
2770# Run this file to recreate the current configuration.
2771# Compiler output produced by configure, useful for debugging
2772# configure, is in config.log if it exists.
2773
2774debug=false
2775ac_cs_recheck=false
2776ac_cs_silent=false
2777SHELL=\${CONFIG_SHELL-$SHELL}
2778_ACEOF
2779
2780cat >>$CONFIG_STATUS <<\_ACEOF
2781## --------------------- ##
2782## M4sh Initialization. ##
2783## --------------------- ##
2784
2785# Be Bourne compatible
2786if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2787 emulate sh
2788 NULLCMD=:
2789 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2790 # is contrary to our usage. Disable this feature.
2791 alias -g '${1+"$@"}'='"$@"'
2792elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2793 set -o posix
2794fi
2795DUALCASE=1; export DUALCASE # for MKS sh
2796
2797# Support unset when possible.
2798if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2799 as_unset=unset
2800else
2801 as_unset=false
2802fi
2803
2804
2805# Work around bugs in pre-3.0 UWIN ksh.
2806$as_unset ENV MAIL MAILPATH
2807PS1='$ '
2808PS2='> '
2809PS4='+ '
2810
2811# NLS nuisances.
2812for as_var in \
2813 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2814 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2815 LC_TELEPHONE LC_TIME
2816do
2817 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2818 eval $as_var=C; export $as_var
2819 else
2820 $as_unset $as_var
2821 fi
2822done
2823
2824# Required to use basename.
2825if expr a : '\(a\)' >/dev/null 2>&1; then
2826 as_expr=expr
2827else
2828 as_expr=false
2829fi
2830
2831if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2832 as_basename=basename
2833else
2834 as_basename=false
2835fi
2836
2837
2838# Name of the executable.
2839as_me=`$as_basename "$0" ||
2840$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2841 X"$0" : 'X\(//\)$' \| \
2842 X"$0" : 'X\(/\)$' \| \
2843 . : '\(.\)' 2>/dev/null ||
2844echo X/"$0" |
2845 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2846 /^X\/\(\/\/\)$/{ s//\1/; q; }
2847 /^X\/\(\/\).*/{ s//\1/; q; }
2848 s/.*/./; q'`
2849
2850
2851# PATH needs CR, and LINENO needs CR and PATH.
2852# Avoid depending upon Character Ranges.
2853as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2854as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2855as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2856as_cr_digits='0123456789'
2857as_cr_alnum=$as_cr_Letters$as_cr_digits
2858
2859# The user is always right.
2860if test "${PATH_SEPARATOR+set}" != set; then
2861 echo "#! /bin/sh" >conf$$.sh
2862 echo "exit 0" >>conf$$.sh
2863 chmod +x conf$$.sh
2864 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2865 PATH_SEPARATOR=';'
2866 else
2867 PATH_SEPARATOR=:
2868 fi
2869 rm -f conf$$.sh
2870fi
2871
2872
2873 as_lineno_1=$LINENO
2874 as_lineno_2=$LINENO
2875 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2876 test "x$as_lineno_1" != "x$as_lineno_2" &&
2877 test "x$as_lineno_3" = "x$as_lineno_2" || {
2878 # Find who we are. Look in the path if we contain no path at all
2879 # relative or not.
2880 case $0 in
2881 *[\\/]* ) as_myself=$0 ;;
2882 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883for as_dir in $PATH
2884do
2885 IFS=$as_save_IFS
2886 test -z "$as_dir" && as_dir=.
2887 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2888done
2889
2890 ;;
2891 esac
2892 # We did not find ourselves, most probably we were run as `sh COMMAND'
2893 # in which case we are not to be found in the path.
2894 if test "x$as_myself" = x; then
2895 as_myself=$0
2896 fi
2897 if test ! -f "$as_myself"; then
2898 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2899echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2900 { (exit 1); exit 1; }; }
2901 fi
2902 case $CONFIG_SHELL in
2903 '')
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2906do
2907 IFS=$as_save_IFS
2908 test -z "$as_dir" && as_dir=.
2909 for as_base in sh bash ksh sh5; do
2910 case $as_dir in
2911 /*)
2912 if ("$as_dir/$as_base" -c '
2913 as_lineno_1=$LINENO
2914 as_lineno_2=$LINENO
2915 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2916 test "x$as_lineno_1" != "x$as_lineno_2" &&
2917 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2918 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2919 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2920 CONFIG_SHELL=$as_dir/$as_base
2921 export CONFIG_SHELL
2922 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2923 fi;;
2924 esac
2925 done
2926done
2927;;
2928 esac
2929
2930 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2931 # uniformly replaced by the line number. The first 'sed' inserts a
2932 # line-number line before each line; the second 'sed' does the real
2933 # work. The second script uses 'N' to pair each line-number line
2934 # with the numbered line, and appends trailing '-' during
2935 # substitution so that $LINENO is not a special case at line end.
2936 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2937 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2938 sed '=' <$as_myself |
2939 sed '
2940 N
2941 s,$,-,
2942 : loop
2943 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2944 t loop
2945 s,-$,,
2946 s,^['$as_cr_digits']*\n,,
2947 ' >$as_me.lineno &&
2948 chmod +x $as_me.lineno ||
2949 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2950echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2951 { (exit 1); exit 1; }; }
2952
2953 # Don't try to exec as it changes $[0], causing all sort of problems
2954 # (the dirname of $[0] is not the place where we might find the
2955 # original and so on. Autoconf is especially sensible to this).
2956 . ./$as_me.lineno
2957 # Exit status is that of the last command.
2958 exit
2959}
2960
2961
2962case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2963 *c*,-n*) ECHO_N= ECHO_C='
2964' ECHO_T=' ' ;;
2965 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2966 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2967esac
2968
2969if expr a : '\(a\)' >/dev/null 2>&1; then
2970 as_expr=expr
2971else
2972 as_expr=false
2973fi
2974
2975rm -f conf$$ conf$$.exe conf$$.file
2976echo >conf$$.file
2977if ln -s conf$$.file conf$$ 2>/dev/null; then
2978 # We could just check for DJGPP; but this test a) works b) is more generic
2979 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2980 if test -f conf$$.exe; then
2981 # Don't use ln at all; we don't have any links
2982 as_ln_s='cp -p'
2983 else
2984 as_ln_s='ln -s'
2985 fi
2986elif ln conf$$.file conf$$ 2>/dev/null; then
2987 as_ln_s=ln
2988else
2989 as_ln_s='cp -p'
2990fi
2991rm -f conf$$ conf$$.exe conf$$.file
2992
2993if mkdir -p . 2>/dev/null; then
2994 as_mkdir_p=:
2995else
2996 test -d ./-p && rmdir ./-p
2997 as_mkdir_p=false
2998fi
2999
3000as_executable_p="test -f"
3001
3002# Sed expression to map a string onto a valid CPP name.
3003as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3004
3005# Sed expression to map a string onto a valid variable name.
3006as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3007
3008
3009# IFS
3010# We need space, tab and new line, in precisely that order.
3011as_nl='
3012'
3013IFS=" $as_nl"
3014
3015# CDPATH.
3016$as_unset CDPATH
3017
3018exec 6>&1
3019
3020# Open the log real soon, to keep \$[0] and so on meaningful, and to
3021# report actual input values of CONFIG_FILES etc. instead of their
3022# values after options handling. Logging --version etc. is OK.
3023exec 5>>config.log
3024{
3025 echo
3026 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3027## Running $as_me. ##
3028_ASBOX
3029} >&5
3030cat >&5 <<_CSEOF
3031
3032This file was extended by $as_me, which was
3033generated by GNU Autoconf 2.59. Invocation command line was
3034
3035 CONFIG_FILES = $CONFIG_FILES
3036 CONFIG_HEADERS = $CONFIG_HEADERS
3037 CONFIG_LINKS = $CONFIG_LINKS
3038 CONFIG_COMMANDS = $CONFIG_COMMANDS
3039 $ $0 $@
3040
3041_CSEOF
3042echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3043echo >&5
3044_ACEOF
3045
3046# Files that config.status was made for.
3047if test -n "$ac_config_files"; then
3048 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3049fi
3050
3051if test -n "$ac_config_headers"; then
3052 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3053fi
3054
3055if test -n "$ac_config_links"; then
3056 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3057fi
3058
3059if test -n "$ac_config_commands"; then
3060 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3061fi
3062
3063cat >>$CONFIG_STATUS <<\_ACEOF
3064
3065ac_cs_usage="\
3066\`$as_me' instantiates files from templates according to the
3067current configuration.
3068
3069Usage: $0 [OPTIONS] [FILE]...
3070
3071 -h, --help print this help, then exit
3072 -V, --version print version number, then exit
3073 -q, --quiet do not print progress messages
3074 -d, --debug don't remove temporary files
3075 --recheck update $as_me by reconfiguring in the same conditions
3076 --file=FILE[:TEMPLATE]
3077 instantiate the configuration file FILE
3078 --header=FILE[:TEMPLATE]
3079 instantiate the configuration header FILE
3080
3081Configuration files:
3082$config_files
3083
3084Configuration headers:
3085$config_headers
3086
3087Report bugs to <[email protected]>."
3088_ACEOF
3089
3090cat >>$CONFIG_STATUS <<_ACEOF
3091ac_cs_version="\\
3092config.status
3093configured by $0, generated by GNU Autoconf 2.59,
3094 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3095
3096Copyright (C) 2003 Free Software Foundation, Inc.
3097This config.status script is free software; the Free Software Foundation
3098gives unlimited permission to copy, distribute and modify it."
3099srcdir=$srcdir
3100INSTALL="$INSTALL"
3101_ACEOF
3102
3103cat >>$CONFIG_STATUS <<\_ACEOF
3104# If no file are specified by the user, then we need to provide default
3105# value. By we need to know if files were specified by the user.
3106ac_need_defaults=:
3107while test $# != 0
3108do
3109 case $1 in
3110 --*=*)
3111 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3112 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3113 ac_shift=:
3114 ;;
3115 -*)
3116 ac_option=$1
3117 ac_optarg=$2
3118 ac_shift=shift
3119 ;;
3120 *) # This is not an option, so the user has probably given explicit
3121 # arguments.
3122 ac_option=$1
3123 ac_need_defaults=false;;
3124 esac
3125
3126 case $ac_option in
3127 # Handling of the options.
3128_ACEOF
3129cat >>$CONFIG_STATUS <<\_ACEOF
3130 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3131 ac_cs_recheck=: ;;
3132 --version | --vers* | -V )
3133 echo "$ac_cs_version"; exit 0 ;;
3134 --he | --h)
3135 # Conflict between --help and --header
3136 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3137Try \`$0 --help' for more information." >&5
3138echo "$as_me: error: ambiguous option: $1
3139Try \`$0 --help' for more information." >&2;}
3140 { (exit 1); exit 1; }; };;
3141 --help | --hel | -h )
3142 echo "$ac_cs_usage"; exit 0 ;;
3143 --debug | --d* | -d )
3144 debug=: ;;
3145 --file | --fil | --fi | --f )
3146 $ac_shift
3147 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3148 ac_need_defaults=false;;
3149 --header | --heade | --head | --hea )
3150 $ac_shift
3151 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3152 ac_need_defaults=false;;
3153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3154 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3155 ac_cs_silent=: ;;
3156
3157 # This is an error.
3158 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3159Try \`$0 --help' for more information." >&5
3160echo "$as_me: error: unrecognized option: $1
3161Try \`$0 --help' for more information." >&2;}
3162 { (exit 1); exit 1; }; } ;;
3163
3164 *) ac_config_targets="$ac_config_targets $1" ;;
3165
3166 esac
3167 shift
3168done
3169
3170ac_configure_extra_args=
3171
3172if $ac_cs_silent; then
3173 exec 6>/dev/null
3174 ac_configure_extra_args="$ac_configure_extra_args --silent"
3175fi
3176
3177_ACEOF
3178cat >>$CONFIG_STATUS <<_ACEOF
3179if \$ac_cs_recheck; then
3180 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3181 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3182fi
3183
3184_ACEOF
3185
3186
3187
3188
3189
3190cat >>$CONFIG_STATUS <<\_ACEOF
3191for ac_config_target in $ac_config_targets
3192do
3193 case "$ac_config_target" in
3194 # Handling of arguments.
3195 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3196 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3197 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3198echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3199 { (exit 1); exit 1; }; };;
3200 esac
3201done
3202
3203# If the user did not use the arguments to specify the items to instantiate,
3204# then the envvar interface is used. Set only those that are not.
3205# We use the long form for the default assignment because of an extremely
3206# bizarre bug on SunOS 4.1.3.
3207if $ac_need_defaults; then
3208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3210fi
3211
3212# Have a temporary directory for convenience. Make it in the build tree
3213# simply because there is no reason to put it here, and in addition,
3214# creating and moving files from /tmp can sometimes cause problems.
3215# Create a temporary directory, and hook for its removal unless debugging.
3216$debug ||
3217{
3218 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3219 trap '{ (exit 1); exit 1; }' 1 2 13 15
3220}
3221
3222# Create a (secure) tmp directory for tmp files.
3223
3224{
3225 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3226 test -n "$tmp" && test -d "$tmp"
3227} ||
3228{
3229 tmp=./confstat$$-$RANDOM
3230 (umask 077 && mkdir $tmp)
3231} ||
3232{
3233 echo "$me: cannot create a temporary directory in ." >&2
3234 { (exit 1); exit 1; }
3235}
3236
3237_ACEOF
3238
3239cat >>$CONFIG_STATUS <<_ACEOF
3240
3241#
3242# CONFIG_FILES section.
3243#
3244
3245# No need to generate the scripts if there are no CONFIG_FILES.
3246# This happens for instance when ./config.status config.h
3247if test -n "\$CONFIG_FILES"; then
3248 # Protect against being on the right side of a sed subst in config.status.
3249 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3250 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3251s,@SHELL@,$SHELL,;t t
3252s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3253s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3254s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3255s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3256s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3257s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3258s,@exec_prefix@,$exec_prefix,;t t
3259s,@prefix@,$prefix,;t t
3260s,@program_transform_name@,$program_transform_name,;t t
3261s,@bindir@,$bindir,;t t
3262s,@sbindir@,$sbindir,;t t
3263s,@libexecdir@,$libexecdir,;t t
3264s,@datadir@,$datadir,;t t
3265s,@sysconfdir@,$sysconfdir,;t t
3266s,@sharedstatedir@,$sharedstatedir,;t t
3267s,@localstatedir@,$localstatedir,;t t
3268s,@libdir@,$libdir,;t t
3269s,@includedir@,$includedir,;t t
3270s,@oldincludedir@,$oldincludedir,;t t
3271s,@infodir@,$infodir,;t t
3272s,@mandir@,$mandir,;t t
3273s,@build_alias@,$build_alias,;t t
3274s,@host_alias@,$host_alias,;t t
3275s,@target_alias@,$target_alias,;t t
3276s,@DEFS@,$DEFS,;t t
3277s,@ECHO_C@,$ECHO_C,;t t
3278s,@ECHO_N@,$ECHO_N,;t t
3279s,@ECHO_T@,$ECHO_T,;t t
3280s,@LIBS@,$LIBS,;t t
3281s,@PACKAGE@,$PACKAGE,;t t
3282s,@VERSION@,$VERSION,;t t
3283s,@LDFLAGS@,$LDFLAGS,;t t
3284s,@CFLAGS@,$CFLAGS,;t t
3285s,@CC@,$CC,;t t
3286s,@CPPFLAGS@,$CPPFLAGS,;t t
3287s,@ac_ct_CC@,$ac_ct_CC,;t t
3288s,@EXEEXT@,$EXEEXT,;t t
3289s,@OBJEXT@,$OBJEXT,;t t
3290s,@CXX@,$CXX,;t t
3291s,@CXXFLAGS@,$CXXFLAGS,;t t
3292s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3293s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3294s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3295s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3296s,@LIBOBJS@,$LIBOBJS,;t t
3297s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3298CEOF
3299
3300_ACEOF
3301
3302 cat >>$CONFIG_STATUS <<\_ACEOF
3303 # Split the substitutions into bite-sized pieces for seds with
3304 # small command number limits, like on Digital OSF/1 and HP-UX.
3305 ac_max_sed_lines=48
3306 ac_sed_frag=1 # Number of current file.
3307 ac_beg=1 # First line for current file.
3308 ac_end=$ac_max_sed_lines # Line after last line for current file.
3309 ac_more_lines=:
3310 ac_sed_cmds=
3311 while $ac_more_lines; do
3312 if test $ac_beg -gt 1; then
3313 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3314 else
3315 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3316 fi
3317 if test ! -s $tmp/subs.frag; then
3318 ac_more_lines=false
3319 else
3320 # The purpose of the label and of the branching condition is to
3321 # speed up the sed processing (if there are no `@' at all, there
3322 # is no need to browse any of the substitutions).
3323 # These are the two extra sed commands mentioned above.
3324 (echo ':t
3325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3326 if test -z "$ac_sed_cmds"; then
3327 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3328 else
3329 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3330 fi
3331 ac_sed_frag=`expr $ac_sed_frag + 1`
3332 ac_beg=$ac_end
3333 ac_end=`expr $ac_end + $ac_max_sed_lines`
3334 fi
3335 done
3336 if test -z "$ac_sed_cmds"; then
3337 ac_sed_cmds=cat
3338 fi
3339fi # test -n "$CONFIG_FILES"
3340
3341_ACEOF
3342cat >>$CONFIG_STATUS <<\_ACEOF
3343for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3344 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3345 case $ac_file in
3346 - | *:- | *:-:* ) # input from stdin
3347 cat >$tmp/stdin
3348 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3349 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3350 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3351 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3352 * ) ac_file_in=$ac_file.in ;;
3353 esac
3354
3355 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3356 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3357$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3358 X"$ac_file" : 'X\(//\)[^/]' \| \
3359 X"$ac_file" : 'X\(//\)$' \| \
3360 X"$ac_file" : 'X\(/\)' \| \
3361 . : '\(.\)' 2>/dev/null ||
3362echo X"$ac_file" |
3363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3365 /^X\(\/\/\)$/{ s//\1/; q; }
3366 /^X\(\/\).*/{ s//\1/; q; }
3367 s/.*/./; q'`
3368 { if $as_mkdir_p; then
3369 mkdir -p "$ac_dir"
3370 else
3371 as_dir="$ac_dir"
3372 as_dirs=
3373 while test ! -d "$as_dir"; do
3374 as_dirs="$as_dir $as_dirs"
3375 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3376$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3377 X"$as_dir" : 'X\(//\)[^/]' \| \
3378 X"$as_dir" : 'X\(//\)$' \| \
3379 X"$as_dir" : 'X\(/\)' \| \
3380 . : '\(.\)' 2>/dev/null ||
3381echo X"$as_dir" |
3382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3384 /^X\(\/\/\)$/{ s//\1/; q; }
3385 /^X\(\/\).*/{ s//\1/; q; }
3386 s/.*/./; q'`
3387 done
3388 test ! -n "$as_dirs" || mkdir $as_dirs
3389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3390echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3391 { (exit 1); exit 1; }; }; }
3392
3393 ac_builddir=.
3394
3395if test "$ac_dir" != .; then
3396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3397 # A "../" for each directory in $ac_dir_suffix.
3398 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3399else
3400 ac_dir_suffix= ac_top_builddir=
3401fi
3402
3403case $srcdir in
3404 .) # No --srcdir option. We are building in place.
3405 ac_srcdir=.
3406 if test -z "$ac_top_builddir"; then
3407 ac_top_srcdir=.
3408 else
3409 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3410 fi ;;
3411 [\\/]* | ?:[\\/]* ) # Absolute path.
3412 ac_srcdir=$srcdir$ac_dir_suffix;
3413 ac_top_srcdir=$srcdir ;;
3414 *) # Relative path.
3415 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3416 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3417esac
3418
3419# Do not use `cd foo && pwd` to compute absolute paths, because
3420# the directories may not exist.
3421case `pwd` in
3422.) ac_abs_builddir="$ac_dir";;
3423*)
3424 case "$ac_dir" in
3425 .) ac_abs_builddir=`pwd`;;
3426 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3427 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3428 esac;;
3429esac
3430case $ac_abs_builddir in
3431.) ac_abs_top_builddir=${ac_top_builddir}.;;
3432*)
3433 case ${ac_top_builddir}. in
3434 .) ac_abs_top_builddir=$ac_abs_builddir;;
3435 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3436 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3437 esac;;
3438esac
3439case $ac_abs_builddir in
3440.) ac_abs_srcdir=$ac_srcdir;;
3441*)
3442 case $ac_srcdir in
3443 .) ac_abs_srcdir=$ac_abs_builddir;;
3444 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3445 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3446 esac;;
3447esac
3448case $ac_abs_builddir in
3449.) ac_abs_top_srcdir=$ac_top_srcdir;;
3450*)
3451 case $ac_top_srcdir in
3452 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3453 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3454 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3455 esac;;
3456esac
3457
3458
3459 case $INSTALL in
3460 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3461 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3462 esac
3463
3464 if test x"$ac_file" != x-; then
3465 { echo "$as_me:$LINENO: creating $ac_file" >&5
3466echo "$as_me: creating $ac_file" >&6;}
3467 rm -f "$ac_file"
3468 fi
3469 # Let's still pretend it is `configure' which instantiates (i.e., don't
3470 # use $as_me), people would be surprised to read:
3471 # /* config.h. Generated by config.status. */
3472 if test x"$ac_file" = x-; then
3473 configure_input=
3474 else
3475 configure_input="$ac_file. "
3476 fi
3477 configure_input=$configure_input"Generated from `echo $ac_file_in |
3478 sed 's,.*/,,'` by configure."
3479
3480 # First look for the input files in the build tree, otherwise in the
3481 # src tree.
3482 ac_file_inputs=`IFS=:
3483 for f in $ac_file_in; do
3484 case $f in
3485 -) echo $tmp/stdin ;;
3486 [\\/$]*)
3487 # Absolute (can't be DOS-style, as IFS=:)
3488 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3489echo "$as_me: error: cannot find input file: $f" >&2;}
3490 { (exit 1); exit 1; }; }
3491 echo "$f";;
3492 *) # Relative
3493 if test -f "$f"; then
3494 # Build tree
3495 echo "$f"
3496 elif test -f "$srcdir/$f"; then
3497 # Source tree
3498 echo "$srcdir/$f"
3499 else
3500 # /dev/null tree
3501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3502echo "$as_me: error: cannot find input file: $f" >&2;}
3503 { (exit 1); exit 1; }; }
3504 fi;;
3505 esac
3506 done` || { (exit 1); exit 1; }
3507_ACEOF
3508cat >>$CONFIG_STATUS <<_ACEOF
3509 sed "$ac_vpsub
3510$extrasub
3511_ACEOF
3512cat >>$CONFIG_STATUS <<\_ACEOF
3513:t
3514/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3515s,@configure_input@,$configure_input,;t t
3516s,@srcdir@,$ac_srcdir,;t t
3517s,@abs_srcdir@,$ac_abs_srcdir,;t t
3518s,@top_srcdir@,$ac_top_srcdir,;t t
3519s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3520s,@builddir@,$ac_builddir,;t t
3521s,@abs_builddir@,$ac_abs_builddir,;t t
3522s,@top_builddir@,$ac_top_builddir,;t t
3523s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3524s,@INSTALL@,$ac_INSTALL,;t t
3525" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3526 rm -f $tmp/stdin
3527 if test x"$ac_file" != x-; then
3528 mv $tmp/out $ac_file
3529 else
3530 cat $tmp/out
3531 rm -f $tmp/out
3532 fi
3533
3534done
3535_ACEOF
3536cat >>$CONFIG_STATUS <<\_ACEOF
3537
3538#
3539# CONFIG_HEADER section.
3540#
3541
3542# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3543# NAME is the cpp macro being defined and VALUE is the value it is being given.
3544#
3545# ac_d sets the value in "#define NAME VALUE" lines.
3546ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3547ac_dB='[ ].*$,\1#\2'
3548ac_dC=' '
3549ac_dD=',;t'
3550# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3551ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3552ac_uB='$,\1#\2define\3'
3553ac_uC=' '
3554ac_uD=',;t'
3555
3556for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3557 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3558 case $ac_file in
3559 - | *:- | *:-:* ) # input from stdin
3560 cat >$tmp/stdin
3561 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3562 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3563 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3564 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3565 * ) ac_file_in=$ac_file.in ;;
3566 esac
3567
3568 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3569echo "$as_me: creating $ac_file" >&6;}
3570
3571 # First look for the input files in the build tree, otherwise in the
3572 # src tree.
3573 ac_file_inputs=`IFS=:
3574 for f in $ac_file_in; do
3575 case $f in
3576 -) echo $tmp/stdin ;;
3577 [\\/$]*)
3578 # Absolute (can't be DOS-style, as IFS=:)
3579 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3580echo "$as_me: error: cannot find input file: $f" >&2;}
3581 { (exit 1); exit 1; }; }
3582 # Do quote $f, to prevent DOS paths from being IFS'd.
3583 echo "$f";;
3584 *) # Relative
3585 if test -f "$f"; then
3586 # Build tree
3587 echo "$f"
3588 elif test -f "$srcdir/$f"; then
3589 # Source tree
3590 echo "$srcdir/$f"
3591 else
3592 # /dev/null tree
3593 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3594echo "$as_me: error: cannot find input file: $f" >&2;}
3595 { (exit 1); exit 1; }; }
3596 fi;;
3597 esac
3598 done` || { (exit 1); exit 1; }
3599 # Remove the trailing spaces.
3600 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3601
3602_ACEOF
3603
3604# Transform confdefs.h into two sed scripts, `conftest.defines' and
3605# `conftest.undefs', that substitutes the proper values into
3606# config.h.in to produce config.h. The first handles `#define'
3607# templates, and the second `#undef' templates.
3608# And first: Protect against being on the right side of a sed subst in
3609# config.status. Protect against being in an unquoted here document
3610# in config.status.
3611rm -f conftest.defines conftest.undefs
3612# Using a here document instead of a string reduces the quoting nightmare.
3613# Putting comments in sed scripts is not portable.
3614#
3615# `end' is used to avoid that the second main sed command (meant for
3616# 0-ary CPP macros) applies to n-ary macro definitions.
3617# See the Autoconf documentation for `clear'.
3618cat >confdef2sed.sed <<\_ACEOF
3619s/[\\&,]/\\&/g
3620s,[\\$`],\\&,g
3621t clear
3622: clear
3623s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3624t end
3625s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3626: end
3627_ACEOF
3628# If some macros were called several times there might be several times
3629# the same #defines, which is useless. Nevertheless, we may not want to
3630# sort them, since we want the *last* AC-DEFINE to be honored.
3631uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3632sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3633rm -f confdef2sed.sed
3634
3635# This sed command replaces #undef with comments. This is necessary, for
3636# example, in the case of _POSIX_SOURCE, which is predefined and required
3637# on some systems where configure will not decide to define it.
3638cat >>conftest.undefs <<\_ACEOF
3639s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3640_ACEOF
3641
3642# Break up conftest.defines because some shells have a limit on the size
3643# of here documents, and old seds have small limits too (100 cmds).
3644echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3645echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3646echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3647echo ' :' >>$CONFIG_STATUS
3648rm -f conftest.tail
3649while grep . conftest.defines >/dev/null
3650do
3651 # Write a limited-size here document to $tmp/defines.sed.
3652 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3653 # Speed up: don't consider the non `#define' lines.
3654 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3655 # Work around the forget-to-reset-the-flag bug.
3656 echo 't clr' >>$CONFIG_STATUS
3657 echo ': clr' >>$CONFIG_STATUS
3658 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3659 echo 'CEOF
3660 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3661 rm -f $tmp/in
3662 mv $tmp/out $tmp/in
3663' >>$CONFIG_STATUS
3664 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3665 rm -f conftest.defines
3666 mv conftest.tail conftest.defines
3667done
3668rm -f conftest.defines
3669echo ' fi # grep' >>$CONFIG_STATUS
3670echo >>$CONFIG_STATUS
3671
3672# Break up conftest.undefs because some shells have a limit on the size
3673# of here documents, and old seds have small limits too (100 cmds).
3674echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3675rm -f conftest.tail
3676while grep . conftest.undefs >/dev/null
3677do
3678 # Write a limited-size here document to $tmp/undefs.sed.
3679 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3680 # Speed up: don't consider the non `#undef'
3681 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3682 # Work around the forget-to-reset-the-flag bug.
3683 echo 't clr' >>$CONFIG_STATUS
3684 echo ': clr' >>$CONFIG_STATUS
3685 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3686 echo 'CEOF
3687 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3688 rm -f $tmp/in
3689 mv $tmp/out $tmp/in
3690' >>$CONFIG_STATUS
3691 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3692 rm -f conftest.undefs
3693 mv conftest.tail conftest.undefs
3694done
3695rm -f conftest.undefs
3696
3697cat >>$CONFIG_STATUS <<\_ACEOF
3698 # Let's still pretend it is `configure' which instantiates (i.e., don't
3699 # use $as_me), people would be surprised to read:
3700 # /* config.h. Generated by config.status. */
3701 if test x"$ac_file" = x-; then
3702 echo "/* Generated by configure. */" >$tmp/config.h
3703 else
3704 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3705 fi
3706 cat $tmp/in >>$tmp/config.h
3707 rm -f $tmp/in
3708 if test x"$ac_file" != x-; then
3709 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3710 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3711echo "$as_me: $ac_file is unchanged" >&6;}
3712 else
3713 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3714$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3715 X"$ac_file" : 'X\(//\)[^/]' \| \
3716 X"$ac_file" : 'X\(//\)$' \| \
3717 X"$ac_file" : 'X\(/\)' \| \
3718 . : '\(.\)' 2>/dev/null ||
3719echo X"$ac_file" |
3720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3722 /^X\(\/\/\)$/{ s//\1/; q; }
3723 /^X\(\/\).*/{ s//\1/; q; }
3724 s/.*/./; q'`
3725 { if $as_mkdir_p; then
3726 mkdir -p "$ac_dir"
3727 else
3728 as_dir="$ac_dir"
3729 as_dirs=
3730 while test ! -d "$as_dir"; do
3731 as_dirs="$as_dir $as_dirs"
3732 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3733$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3734 X"$as_dir" : 'X\(//\)[^/]' \| \
3735 X"$as_dir" : 'X\(//\)$' \| \
3736 X"$as_dir" : 'X\(/\)' \| \
3737 . : '\(.\)' 2>/dev/null ||
3738echo X"$as_dir" |
3739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3741 /^X\(\/\/\)$/{ s//\1/; q; }
3742 /^X\(\/\).*/{ s//\1/; q; }
3743 s/.*/./; q'`
3744 done
3745 test ! -n "$as_dirs" || mkdir $as_dirs
3746 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3747echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3748 { (exit 1); exit 1; }; }; }
3749
3750 rm -f $ac_file
3751 mv $tmp/config.h $ac_file
3752 fi
3753 else
3754 cat $tmp/config.h
3755 rm -f $tmp/config.h
3756 fi
3757done
3758_ACEOF
3759
3760cat >>$CONFIG_STATUS <<\_ACEOF
3761
3762{ (exit 0); exit 0; }
3763_ACEOF
3764chmod +x $CONFIG_STATUS
3765ac_clean_files=$ac_clean_files_save
3766
3767
3768# configure is writing to config.log, and then calls config.status.
3769# config.status does its own redirection, appending to config.log.
3770# Unfortunately, on DOS this fails, as config.log is still kept open
3771# by configure, so config.status won't be able to write to it; its
3772# output is simply discarded. So we exec the FD to /dev/null,
3773# effectively closing config.log, so it can be properly (re)opened and
3774# appended to by config.status. When coming back to configure, we
3775# need to make the FD available again.
3776if test "$no_create" != yes; then
3777 ac_cs_success=:
3778 ac_config_status_args=
3779 test "$silent" = yes &&
3780 ac_config_status_args="$ac_config_status_args --quiet"
3781 exec 5>/dev/null
3782 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3783 exec 5>>config.log
3784 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3785 # would make configure fail if this is the last instruction.
3786 $ac_cs_success || { (exit 1); exit 1; }
3787fi
Note: See TracBrowser for help on using the repository browser.