Debian Codegraph @

configure

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