Debian Codegraph @

src/libraries/liboop/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
23
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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 as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
272
273 ac_unique_file="INSTALL"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB AR CPP EGREP ADNS_LIBS LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
393
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
402
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
415
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
464
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
490
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
511
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
518
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
545
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
573
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
597
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
617
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
639
640 *)
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646 ;;
647
648 esac
649 done
650
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671 do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
695 fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
723 fi
724 else
725 ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
734 fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
753 ac_env_CC_value=$CC
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_AR_set=${AR+set}
769 ac_env_AR_value=$AR
770 ac_cv_env_AR_set=${AR+set}
771 ac_cv_env_AR_value=$AR
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776
777 #
778 # Report the --help message.
779 #
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
783 cat <<_ACEOF
784 \`configure' configures this package to adapt to many kinds of systems.
785
786 Usage: $0 [OPTION]... [VAR=VALUE]...
787
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
790
791 Defaults for the options are specified in brackets.
792
793 Configuration:
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803
804 _ACEOF
805
806 cat <<_ACEOF
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
809 [$ac_default_prefix]
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 [PREFIX]
812
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
817
818 For better control, use the options below.
819
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
833 _ACEOF
834
835 cat <<\_ACEOF
836
837 Program names:
838 --program-prefix=PREFIX prepend PREFIX to installed program names
839 --program-suffix=SUFFIX append SUFFIX to installed program names
840 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841
842 System types:
843 --build=BUILD configure for building on BUILD [guessed]
844 --host=HOST cross-compile to build programs to run on HOST [BUILD]
845 _ACEOF
846 fi
847
848 if test -n "$ac_init_help"; then
849
850 cat <<\_ACEOF
851
852 Optional Features:
853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
855 --disable-dependency-tracking Speeds up one-time builds
856 --enable-dependency-tracking Do not reject slow dependency extractors
857
858 Some influential environment variables:
859 CC C compiler command
860 CFLAGS C compiler flags
861 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
862 nonstandard directory <lib dir>
863 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
864 headers in a nonstandard directory <include dir>
865 AR ar program to use
866 CPP C preprocessor
867
868 Use these variables to override the choices made by `configure' or to help
869 it to find libraries and programs with nonstandard names/locations.
870
871 _ACEOF
872 fi
873
874 if test "$ac_init_help" = "recursive"; then
875 # If there are subdirs, report their specific --help.
876 ac_popdir=`pwd`
877 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
878 test -d $ac_dir || continue
879 ac_builddir=.
880
881 if test "$ac_dir" != .; then
882 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
883 # A "../" for each directory in $ac_dir_suffix.
884 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
885 else
886 ac_dir_suffix= ac_top_builddir=
887 fi
888
889 case $srcdir in
890 .) # No --srcdir option. We are building in place.
891 ac_srcdir=.
892 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=.
894 else
895 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
896 fi ;;
897 [\\/]* | ?:[\\/]* ) # Absolute path.
898 ac_srcdir=$srcdir$ac_dir_suffix;
899 ac_top_srcdir=$srcdir ;;
900 *) # Relative path.
901 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902 ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 esac
904 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
905 # absolute.
906 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
907 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
908 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
909 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
910
911 cd $ac_dir
912 # Check for guested configure; otherwise get Cygnus style configure.
913 if test -f $ac_srcdir/configure.gnu; then
914 echo
915 $SHELL $ac_srcdir/configure.gnu --help=recursive
916 elif test -f $ac_srcdir/configure; then
917 echo
918 $SHELL $ac_srcdir/configure --help=recursive
919 elif test -f $ac_srcdir/configure.ac ||
920 test -f $ac_srcdir/configure.in; then
921 echo
922 $ac_configure --help
923 else
924 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
925 fi
926 cd $ac_popdir
927 done
928 fi
929
930 test -n "$ac_init_help" && exit 0
931 if $ac_init_version; then
932 cat <<\_ACEOF
933
934 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
935 Free Software Foundation, Inc.
936 This configure script is free software; the Free Software Foundation
937 gives unlimited permission to copy, distribute and modify it.
938 _ACEOF
939 exit 0
940 fi
941 exec 5>config.log
942 cat >&5 <<_ACEOF
943 This file contains any messages produced by compilers while
944 running configure, to aid debugging if configure makes a mistake.
945
946 It was created by $as_me, which was
947 generated by GNU Autoconf 2.57. Invocation command line was
948
949 $ $0 $@
950
951 _ACEOF
952 {
953 cat <<_ASUNAME
954 ## --------- ##
955 ## Platform. ##
956 ## --------- ##
957
958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
963
964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
966
967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
970 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
974
975 _ASUNAME
976
977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
978 for as_dir in $PATH
979 do
980 IFS=$as_save_IFS
981 test -z "$as_dir" && as_dir=.
982 echo "PATH: $as_dir"
983 done
984
985 } >&5
986
987 cat >&5 <<_ACEOF
988
989
990 ## ----------- ##
991 ## Core tests. ##
992 ## ----------- ##
993
994 _ACEOF
995
996
997 # Keep a trace of the command line.
998 # Strip out --no-create and --no-recursion so they do not pile up.
999 # Strip out --silent because we don't want to record it for future runs.
1000 # Also quote any args containing shell meta-characters.
1001 # Make two passes to allow for proper duplicate-argument suppression.
1002 ac_configure_args=
1003 ac_configure_args0=
1004 ac_configure_args1=
1005 ac_sep=
1006 ac_must_keep_next=false
1007 for ac_pass in 1 2
1008 do
1009 for ac_arg
1010 do
1011 case $ac_arg in
1012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1014 | -silent | --silent | --silen | --sile | --sil)
1015 continue ;;
1016 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1017 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1018 esac
1019 case $ac_pass in
1020 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1021 2)
1022 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1023 if test $ac_must_keep_next = true; then
1024 ac_must_keep_next=false # Got value, back to normal.
1025 else
1026 case $ac_arg in
1027 *=* | --config-cache | -C | -disable-* | --disable-* \
1028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1030 | -with-* | --with-* | -without-* | --without-* | --x)
1031 case "$ac_configure_args0 " in
1032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1033 esac
1034 ;;
1035 -* ) ac_must_keep_next=true ;;
1036 esac
1037 fi
1038 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1039 # Get rid of the leading space.
1040 ac_sep=" "
1041 ;;
1042 esac
1043 done
1044 done
1045 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1046 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1047
1048 # When interrupted or exit'd, cleanup temporary files, and complete
1049 # config.log. We remove comments because anyway the quotes in there
1050 # would cause problems or look ugly.
1051 # WARNING: Be sure not to use single quotes in there, as some shells,
1052 # such as our DU 5.0 friend, will then `close' the trap.
1053 trap 'exit_status=$?
1054 # Save into config.log some information that might help in debugging.
1055 {
1056 echo
1057
1058 cat <<\_ASBOX
1059 ## ---------------- ##
1060 ## Cache variables. ##
1061 ## ---------------- ##
1062 _ASBOX
1063 echo
1064 # The following way of writing the cache mishandles newlines in values,
1065 {
1066 (set) 2>&1 |
1067 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068 *ac_space=\ *)
1069 sed -n \
1070 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1072 ;;
1073 *)
1074 sed -n \
1075 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1076 ;;
1077 esac;
1078 }
1079 echo
1080
1081 cat <<\_ASBOX
1082 ## ----------------- ##
1083 ## Output variables. ##
1084 ## ----------------- ##
1085 _ASBOX
1086 echo
1087 for ac_var in $ac_subst_vars
1088 do
1089 eval ac_val=$`echo $ac_var`
1090 echo "$ac_var='"'"'$ac_val'"'"'"
1091 done | sort
1092 echo
1093
1094 if test -n "$ac_subst_files"; then
1095 cat <<\_ASBOX
1096 ## ------------- ##
1097 ## Output files. ##
1098 ## ------------- ##
1099 _ASBOX
1100 echo
1101 for ac_var in $ac_subst_files
1102 do
1103 eval ac_val=$`echo $ac_var`
1104 echo "$ac_var='"'"'$ac_val'"'"'"
1105 done | sort
1106 echo
1107 fi
1108
1109 if test -s confdefs.h; then
1110 cat <<\_ASBOX
1111 ## ----------- ##
1112 ## confdefs.h. ##
1113 ## ----------- ##
1114 _ASBOX
1115 echo
1116 sed "/^$/d" confdefs.h | sort
1117 echo
1118 fi
1119 test "$ac_signal" != 0 &&
1120 echo "$as_me: caught signal $ac_signal"
1121 echo "$as_me: exit $exit_status"
1122 } >&5
1123 rm -f core core.* *.core &&
1124 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1125 exit $exit_status
1126 ' 0
1127 for ac_signal in 1 2 13 15; do
1128 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1129 done
1130 ac_signal=0
1131
1132 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1133 rm -rf conftest* confdefs.h
1134 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1135 echo >confdefs.h
1136
1137 # Predefined preprocessor variables.
1138
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_NAME "$PACKAGE_NAME"
1141 _ACEOF
1142
1143
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1146 _ACEOF
1147
1148
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1151 _ACEOF
1152
1153
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_STRING "$PACKAGE_STRING"
1156 _ACEOF
1157
1158
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1161 _ACEOF
1162
1163
1164 # Let the site file select an alternate cache file if it wants to.
1165 # Prefer explicitly selected file to automatically selected ones.
1166 if test -z "$CONFIG_SITE"; then
1167 if test "x$prefix" != xNONE; then
1168 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1169 else
1170 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1171 fi
1172 fi
1173 for ac_site_file in $CONFIG_SITE; do
1174 if test -r "$ac_site_file"; then
1175 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1176 echo "$as_me: loading site script $ac_site_file" >&6;}
1177 sed 's/^/| /' "$ac_site_file" >&5
1178 . "$ac_site_file"
1179 fi
1180 done
1181
1182 if test -r "$cache_file"; then
1183 # Some versions of bash will fail to source /dev/null (special
1184 # files actually), so we avoid doing that.
1185 if test -f "$cache_file"; then
1186 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1187 echo "$as_me: loading cache $cache_file" >&6;}
1188 case $cache_file in
1189 [\\/]* | ?:[\\/]* ) . $cache_file;;
1190 *) . ./$cache_file;;
1191 esac
1192 fi
1193 else
1194 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1195 echo "$as_me: creating cache $cache_file" >&6;}
1196 >$cache_file
1197 fi
1198
1199 # Check that the precious variables saved in the cache have kept the same
1200 # value.
1201 ac_cache_corrupted=false
1202 for ac_var in `(set) 2>&1 |
1203 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1204 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1205 eval ac_new_set=\$ac_env_${ac_var}_set
1206 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1207 eval ac_new_val="\$ac_env_${ac_var}_value"
1208 case $ac_old_set,$ac_new_set in
1209 set,)
1210 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1211 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1212 ac_cache_corrupted=: ;;
1213 ,set)
1214 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1215 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1216 ac_cache_corrupted=: ;;
1217 ,);;
1218 *)
1219 if test "x$ac_old_val" != "x$ac_new_val"; then
1220 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1221 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1222 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1223 echo "$as_me: former value: $ac_old_val" >&2;}
1224 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1225 echo "$as_me: current value: $ac_new_val" >&2;}
1226 ac_cache_corrupted=:
1227 fi;;
1228 esac
1229 # Pass precious variables to config.status.
1230 if test "$ac_new_set" = set; then
1231 case $ac_new_val in
1232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1234 *) ac_arg=$ac_var=$ac_new_val ;;
1235 esac
1236 case " $ac_configure_args " in
1237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1238 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1239 esac
1240 fi
1241 done
1242 if $ac_cache_corrupted; then
1243 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1244 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1245 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1246 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1247 { (exit 1); exit 1; }; }
1248 fi
1249
1250 ac_ext=c
1251 ac_cpp='$CPP $CPPFLAGS'
1252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274 am__api_version="1.7"
1275 ac_aux_dir=
1276 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1277 if test -f $ac_dir/install-sh; then
1278 ac_aux_dir=$ac_dir
1279 ac_install_sh="$ac_aux_dir/install-sh -c"
1280 break
1281 elif test -f $ac_dir/install.sh; then
1282 ac_aux_dir=$ac_dir
1283 ac_install_sh="$ac_aux_dir/install.sh -c"
1284 break
1285 elif test -f $ac_dir/shtool; then
1286 ac_aux_dir=$ac_dir
1287 ac_install_sh="$ac_aux_dir/shtool install -c"
1288 break
1289 fi
1290 done
1291 if test -z "$ac_aux_dir"; then
1292 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1293 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1294 { (exit 1); exit 1; }; }
1295 fi
1296 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1297 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1298 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1299
1300 # Find a good install program. We prefer a C program (faster),
1301 # so one script is as good as another. But avoid the broken or
1302 # incompatible versions:
1303 # SysV /etc/install, /usr/sbin/install
1304 # SunOS /usr/etc/install
1305 # IRIX /sbin/install
1306 # AIX /bin/install
1307 # AmigaOS /C/install, which installs bootblocks on floppy discs
1308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1311 # ./install, which can be erroneously created by make from ./install.sh.
1312 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1313 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1314 if test -z "$INSTALL"; then
1315 if test "${ac_cv_path_install+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 else
1318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1319 for as_dir in $PATH
1320 do
1321 IFS=$as_save_IFS
1322 test -z "$as_dir" && as_dir=.
1323 # Account for people who put trailing slashes in PATH elements.
1324 case $as_dir/ in
1325 ./ | .// | /cC/* | \
1326 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1327 /usr/ucb/* ) ;;
1328 *)
1329 # OSF1 and SCO ODT 3.0 have their own names for install.
1330 # Don't use installbsd from OSF since it installs stuff as root
1331 # by default.
1332 for ac_prog in ginstall scoinst install; do
1333 for ac_exec_ext in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1335 if test $ac_prog = install &&
1336 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1337 # AIX install. It has an incompatible calling convention.
1338 :
1339 elif test $ac_prog = install &&
1340 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1341 # program-specific install script used by HP pwplus--don't use.
1342 :
1343 else
1344 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1345 break 3
1346 fi
1347 fi
1348 done
1349 done
1350 ;;
1351 esac
1352 done
1353
1354
1355 fi
1356 if test "${ac_cv_path_install+set}" = set; then
1357 INSTALL=$ac_cv_path_install
1358 else
1359 # As a last resort, use the slow shell script. We don't cache a
1360 # path for INSTALL within a source directory, because that will
1361 # break other packages using the cache if that directory is
1362 # removed, or if the path is relative.
1363 INSTALL=$ac_install_sh
1364 fi
1365 fi
1366 echo "$as_me:$LINENO: result: $INSTALL" >&5
1367 echo "${ECHO_T}$INSTALL" >&6
1368
1369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1370 # It thinks the first close brace ends the variable substitution.
1371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1372
1373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1374
1375 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1376
1377 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1378 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1379 # Just in case
1380 sleep 1
1381 echo timestamp > conftest.file
1382 # Do `set' in a subshell so we don't clobber the current shell's
1383 # arguments. Must try -L first in case configure is actually a
1384 # symlink; some systems play weird games with the mod time of symlinks
1385 # (eg FreeBSD returns the mod time of the symlink's containing
1386 # directory).
1387 if (
1388 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1389 if test "$*" = "X"; then
1390 # -L didn't work.
1391 set X `ls -t $srcdir/configure conftest.file`
1392 fi
1393 rm -f conftest.file
1394 if test "$*" != "X $srcdir/configure conftest.file" \
1395 && test "$*" != "X conftest.file $srcdir/configure"; then
1396
1397 # If neither matched, then we have a broken ls. This can happen
1398 # if, for instance, CONFIG_SHELL is bash and it inherits a
1399 # broken ls alias from the environment. This has actually
1400 # happened. Such a system could not be considered "sane".
1401 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1402 alias in your environment" >&5
1403 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1404 alias in your environment" >&2;}
1405 { (exit 1); exit 1; }; }
1406 fi
1407
1408 test "$2" = conftest.file
1409 )
1410 then
1411 # Ok.
1412 :
1413 else
1414 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1415 Check your system clock" >&5
1416 echo "$as_me: error: newly created file is older than distributed files!
1417 Check your system clock" >&2;}
1418 { (exit 1); exit 1; }; }
1419 fi
1420 echo "$as_me:$LINENO: result: yes" >&5
1421 echo "${ECHO_T}yes" >&6
1422 test "$program_prefix" != NONE &&
1423 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1424 # Use a double $ so make ignores it.
1425 test "$program_suffix" != NONE &&
1426 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1427 # Double any \ or $. echo might interpret backslashes.
1428 # By default was `s,x,x', remove it if useless.
1429 cat <<\_ACEOF >conftest.sed
1430 s/[\\$]/&&/g;s/;s,x,x,$//
1431 _ACEOF
1432 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1433 rm conftest.sed
1434
1435
1436 # expand $ac_aux_dir to an absolute path
1437 am_aux_dir=`cd $ac_aux_dir && pwd`
1438
1439 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1440 # Use eval to expand $SHELL
1441 if eval "$MISSING --run true"; then
1442 am_missing_run="$MISSING --run "
1443 else
1444 am_missing_run=
1445 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1446 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1447 fi
1448
1449 for ac_prog in gawk mawk nawk awk
1450 do
1451 # Extract the first word of "$ac_prog", so it can be a program name with args.
1452 set dummy $ac_prog; ac_word=$2
1453 echo "$as_me:$LINENO: checking for $ac_word" >&5
1454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1455 if test "${ac_cv_prog_AWK+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 else
1458 if test -n "$AWK"; then
1459 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1460 else
1461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1462 for as_dir in $PATH
1463 do
1464 IFS=$as_save_IFS
1465 test -z "$as_dir" && as_dir=.
1466 for ac_exec_ext in '' $ac_executable_extensions; do
1467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1468 ac_cv_prog_AWK="$ac_prog"
1469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1470 break 2
1471 fi
1472 done
1473 done
1474
1475 fi
1476 fi
1477 AWK=$ac_cv_prog_AWK
1478 if test -n "$AWK"; then
1479 echo "$as_me:$LINENO: result: $AWK" >&5
1480 echo "${ECHO_T}$AWK" >&6
1481 else
1482 echo "$as_me:$LINENO: result: no" >&5
1483 echo "${ECHO_T}no" >&6
1484 fi
1485
1486 test -n "$AWK" && break
1487 done
1488
1489 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1490 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1491 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1492 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 else
1495 cat >conftest.make <<\_ACEOF
1496 all:
1497 @echo 'ac_maketemp="$(MAKE)"'
1498 _ACEOF
1499 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1500 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1501 if test -n "$ac_maketemp"; then
1502 eval ac_cv_prog_make_${ac_make}_set=yes
1503 else
1504 eval ac_cv_prog_make_${ac_make}_set=no
1505 fi
1506 rm -f conftest.make
1507 fi
1508 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1509 echo "$as_me:$LINENO: result: yes" >&5
1510 echo "${ECHO_T}yes" >&6
1511 SET_MAKE=
1512 else
1513 echo "$as_me:$LINENO: result: no" >&5
1514 echo "${ECHO_T}no" >&6
1515 SET_MAKE="MAKE=${MAKE-make}"
1516 fi
1517
1518 rm -rf .tst 2>/dev/null
1519 mkdir .tst 2>/dev/null
1520 if test -d .tst; then
1521 am__leading_dot=.
1522 else
1523 am__leading_dot=_
1524 fi
1525 rmdir .tst 2>/dev/null
1526
1527 # test to see if srcdir already configured
1528 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1529 test -f $srcdir/config.status; then
1530 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1531 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1532 { (exit 1); exit 1; }; }
1533 fi
1534
1535 # test whether we have cygpath
1536 if test -z "$CYGPATH_W"; then
1537 if (cygpath --version) >/dev/null 2>/dev/null; then
1538 CYGPATH_W='cygpath -w'
1539 else
1540 CYGPATH_W=echo
1541 fi
1542 fi
1543
1544
1545 # Define the identity of the package.
1546 PACKAGE=liboop
1547 VERSION=0.9
1548
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE "$PACKAGE"
1552 _ACEOF
1553
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define VERSION "$VERSION"
1557 _ACEOF
1558
1559 # Some tools Automake needs.
1560
1561 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1562
1563
1564 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1565
1566
1567 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1568
1569
1570 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1571
1572
1573 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1574
1575
1576 AMTAR=${AMTAR-"${am_missing_run}tar"}
1577
1578 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1579
1580 # Installed binaries are usually stripped using `strip' when the user
1581 # run `make install-strip'. However `strip' might not be the right
1582 # tool to use in cross-compilation environments, therefore Automake
1583 # will honor the `STRIP' environment variable to overrule this program.
1584 if test "$cross_compiling" != no; then
1585 if test -n "$ac_tool_prefix"; then
1586 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1587 set dummy ${ac_tool_prefix}strip; ac_word=$2
1588 echo "$as_me:$LINENO: checking for $ac_word" >&5
1589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1590 if test "${ac_cv_prog_STRIP+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 else
1593 if test -n "$STRIP"; then
1594 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1595 else
1596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1597 for as_dir in $PATH
1598 do
1599 IFS=$as_save_IFS
1600 test -z "$as_dir" && as_dir=.
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1603 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 break 2
1606 fi
1607 done
1608 done
1609
1610 fi
1611 fi
1612 STRIP=$ac_cv_prog_STRIP
1613 if test -n "$STRIP"; then
1614 echo "$as_me:$LINENO: result: $STRIP" >&5
1615 echo "${ECHO_T}$STRIP" >&6
1616 else
1617 echo "$as_me:$LINENO: result: no" >&5
1618 echo "${ECHO_T}no" >&6
1619 fi
1620
1621 fi
1622 if test -z "$ac_cv_prog_STRIP"; then
1623 ac_ct_STRIP=$STRIP
1624 # Extract the first word of "strip", so it can be a program name with args.
1625 set dummy strip; ac_word=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 else
1631 if test -n "$ac_ct_STRIP"; then
1632 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1633 else
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635 for as_dir in $PATH
1636 do
1637 IFS=$as_save_IFS
1638 test -z "$as_dir" && as_dir=.
1639 for ac_exec_ext in '' $ac_executable_extensions; do
1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641 ac_cv_prog_ac_ct_STRIP="strip"
1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643 break 2
1644 fi
1645 done
1646 done
1647
1648 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1649 fi
1650 fi
1651 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1652 if test -n "$ac_ct_STRIP"; then
1653 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1654 echo "${ECHO_T}$ac_ct_STRIP" >&6
1655 else
1656 echo "$as_me:$LINENO: result: no" >&5
1657 echo "${ECHO_T}no" >&6
1658 fi
1659
1660 STRIP=$ac_ct_STRIP
1661 else
1662 STRIP="$ac_cv_prog_STRIP"
1663 fi
1664
1665 fi
1666 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1667
1668 # We need awk for the "check" target. The system "awk" is bad on
1669 # some platforms.
1670
1671
1672
1673 # Make sure we can run config.sub.
1674 $ac_config_sub sun4 >/dev/null 2>&1 ||
1675 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1676 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1677 { (exit 1); exit 1; }; }
1678
1679 echo "$as_me:$LINENO: checking build system type" >&5
1680 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1681 if test "${ac_cv_build+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 else
1684 ac_cv_build_alias=$build_alias
1685 test -z "$ac_cv_build_alias" &&
1686 ac_cv_build_alias=`$ac_config_guess`
1687 test -z "$ac_cv_build_alias" &&
1688 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1689 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1690 { (exit 1); exit 1; }; }
1691 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1692 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1693 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1694 { (exit 1); exit 1; }; }
1695
1696 fi
1697 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1698 echo "${ECHO_T}$ac_cv_build" >&6
1699 build=$ac_cv_build
1700 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1701 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1702 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1703
1704
1705 echo "$as_me:$LINENO: checking host system type" >&5
1706 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1707 if test "${ac_cv_host+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710 ac_cv_host_alias=$host_alias
1711 test -z "$ac_cv_host_alias" &&
1712 ac_cv_host_alias=$ac_cv_build_alias
1713 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1714 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1715 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1716 { (exit 1); exit 1; }; }
1717
1718 fi
1719 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1720 echo "${ECHO_T}$ac_cv_host" >&6
1721 host=$ac_cv_host
1722 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1723 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1724 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1725
1726
1727
1728 ac_ext=c
1729 ac_cpp='$CPP $CPPFLAGS'
1730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1733 if test -n "$ac_tool_prefix"; then
1734 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1736 echo "$as_me:$LINENO: checking for $ac_word" >&5
1737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738 if test "${ac_cv_prog_CC+set}" = set; then
1739 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 else
1741 if test -n "$CC"; then
1742 ac_cv_prog_CC="$CC" # Let the user override the test.
1743 else
1744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1745 for as_dir in $PATH
1746 do
1747 IFS=$as_save_IFS
1748 test -z "$as_dir" && as_dir=.
1749 for ac_exec_ext in '' $ac_executable_extensions; do
1750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753 break 2
1754 fi
1755 done
1756 done
1757
1758 fi
1759 fi
1760 CC=$ac_cv_prog_CC
1761 if test -n "$CC"; then
1762 echo "$as_me:$LINENO: result: $CC" >&5
1763 echo "${ECHO_T}$CC" >&6
1764 else
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1767 fi
1768
1769 fi
1770 if test -z "$ac_cv_prog_CC"; then
1771 ac_ct_CC=$CC
1772 # Extract the first word of "gcc", so it can be a program name with args.
1773 set dummy gcc; ac_word=$2
1774 echo "$as_me:$LINENO: checking for $ac_word" >&5
1775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 else
1779 if test -n "$ac_ct_CC"; then
1780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1781 else
1782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783 for as_dir in $PATH
1784 do
1785 IFS=$as_save_IFS
1786 test -z "$as_dir" && as_dir=.
1787 for ac_exec_ext in '' $ac_executable_extensions; do
1788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789 ac_cv_prog_ac_ct_CC="gcc"
1790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 break 2
1792 fi
1793 done
1794 done
1795
1796 fi
1797 fi
1798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1799 if test -n "$ac_ct_CC"; then
1800 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1801 echo "${ECHO_T}$ac_ct_CC" >&6
1802 else
1803 echo "$as_me:$LINENO: result: no" >&5
1804 echo "${ECHO_T}no" >&6
1805 fi
1806
1807 CC=$ac_ct_CC
1808 else
1809 CC="$ac_cv_prog_CC"
1810 fi
1811
1812 if test -z "$CC"; then
1813 if test -n "$ac_tool_prefix"; then
1814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1815 set dummy ${ac_tool_prefix}cc; ac_word=$2
1816 echo "$as_me:$LINENO: checking for $ac_word" >&5
1817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1818 if test "${ac_cv_prog_CC+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 else
1821 if test -n "$CC"; then
1822 ac_cv_prog_CC="$CC" # Let the user override the test.
1823 else
1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825 for as_dir in $PATH
1826 do
1827 IFS=$as_save_IFS
1828 test -z "$as_dir" && as_dir=.
1829 for ac_exec_ext in '' $ac_executable_extensions; do
1830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1831 ac_cv_prog_CC="${ac_tool_prefix}cc"
1832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 break 2
1834 fi
1835 done
1836 done
1837
1838 fi
1839 fi
1840 CC=$ac_cv_prog_CC
1841 if test -n "$CC"; then
1842 echo "$as_me:$LINENO: result: $CC" >&5
1843 echo "${ECHO_T}$CC" >&6
1844 else
1845 echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6
1847 fi
1848
1849 fi
1850 if test -z "$ac_cv_prog_CC"; then
1851 ac_ct_CC=$CC
1852 # Extract the first word of "cc", so it can be a program name with args.
1853 set dummy cc; ac_word=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 else
1859 if test -n "$ac_ct_CC"; then
1860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1861 else
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 for as_dir in $PATH
1864 do
1865 IFS=$as_save_IFS
1866 test -z "$as_dir" && as_dir=.
1867 for ac_exec_ext in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_ac_ct_CC="cc"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 break 2
1872 fi
1873 done
1874 done
1875
1876 fi
1877 fi
1878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1879 if test -n "$ac_ct_CC"; then
1880 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1881 echo "${ECHO_T}$ac_ct_CC" >&6
1882 else
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1885 fi
1886
1887 CC=$ac_ct_CC
1888 else
1889 CC="$ac_cv_prog_CC"
1890 fi
1891
1892 fi
1893 if test -z "$CC"; then
1894 # Extract the first word of "cc", so it can be a program name with args.
1895 set dummy cc; ac_word=$2
1896 echo "$as_me:$LINENO: checking for $ac_word" >&5
1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1898 if test "${ac_cv_prog_CC+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 else
1901 if test -n "$CC"; then
1902 ac_cv_prog_CC="$CC" # Let the user override the test.
1903 else
1904 ac_prog_rejected=no
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906 for as_dir in $PATH
1907 do
1908 IFS=$as_save_IFS
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1913 ac_prog_rejected=yes
1914 continue
1915 fi
1916 ac_cv_prog_CC="cc"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1919 fi
1920 done
1921 done
1922
1923 if test $ac_prog_rejected = yes; then
1924 # We found a bogon in the path, so make sure we never use it.
1925 set dummy $ac_cv_prog_CC
1926 shift
1927 if test $# != 0; then
1928 # We chose a different compiler from the bogus one.
1929 # However, it has the same basename, so the bogon will be chosen
1930 # first if we set CC to just the basename; use the full file name.
1931 shift
1932 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1933 fi
1934 fi
1935 fi
1936 fi
1937 CC=$ac_cv_prog_CC
1938 if test -n "$CC"; then
1939 echo "$as_me:$LINENO: result: $CC" >&5
1940 echo "${ECHO_T}$CC" >&6
1941 else
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1944 fi
1945
1946 fi
1947 if test -z "$CC"; then
1948 if test -n "$ac_tool_prefix"; then
1949 for ac_prog in cl
1950 do
1951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1953 echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955 if test "${ac_cv_prog_CC+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 else
1958 if test -n "$CC"; then
1959 ac_cv_prog_CC="$CC" # Let the user override the test.
1960 else
1961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 for as_dir in $PATH
1963 do
1964 IFS=$as_save_IFS
1965 test -z "$as_dir" && as_dir=.
1966 for ac_exec_ext in '' $ac_executable_extensions; do
1967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1968 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 break 2
1971 fi
1972 done
1973 done
1974
1975 fi
1976 fi
1977 CC=$ac_cv_prog_CC
1978 if test -n "$CC"; then
1979 echo "$as_me:$LINENO: result: $CC" >&5
1980 echo "${ECHO_T}$CC" >&6
1981 else
1982 echo "$as_me:$LINENO: result: no" >&5
1983 echo "${ECHO_T}no" >&6
1984 fi
1985
1986 test -n "$CC" && break
1987 done
1988 fi
1989 if test -z "$CC"; then
1990 ac_ct_CC=$CC
1991 for ac_prog in cl
1992 do
1993 # Extract the first word of "$ac_prog", so it can be a program name with args.
1994 set dummy $ac_prog; ac_word=$2
1995 echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000 if test -n "$ac_ct_CC"; then
2001 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2002 else
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004 for as_dir in $PATH
2005 do
2006 IFS=$as_save_IFS
2007 test -z "$as_dir" && as_dir=.
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2010 ac_cv_prog_ac_ct_CC="$ac_prog"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 break 2
2013 fi
2014 done
2015 done
2016
2017 fi
2018 fi
2019 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2020 if test -n "$ac_ct_CC"; then
2021 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2022 echo "${ECHO_T}$ac_ct_CC" >&6
2023 else
2024 echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6
2026 fi
2027
2028 test -n "$ac_ct_CC" && break
2029 done
2030
2031 CC=$ac_ct_CC
2032 fi
2033
2034 fi
2035
2036
2037 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2038 See \`config.log' for more details." >&5
2039 echo "$as_me: error: no acceptable C compiler found in \$PATH
2040 See \`config.log' for more details." >&2;}
2041 { (exit 1); exit 1; }; }
2042
2043 # Provide some information about the compiler.
2044 echo "$as_me:$LINENO:" \
2045 "checking for C compiler version" >&5
2046 ac_compiler=`set X $ac_compile; echo $2`
2047 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2048 (eval $ac_compiler --version </dev/null >&5) 2>&5
2049 ac_status=$?
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }
2052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2053 (eval $ac_compiler -v </dev/null >&5) 2>&5
2054 ac_status=$?
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }
2057 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2058 (eval $ac_compiler -V </dev/null >&5) 2>&5
2059 ac_status=$?
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }
2062
2063 cat >conftest.$ac_ext <<_ACEOF
2064 #line $LINENO "configure"
2065 /* confdefs.h. */
2066 _ACEOF
2067 cat confdefs.h >>conftest.$ac_ext
2068 cat >>conftest.$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2070
2071 int
2072 main ()
2073 {
2074
2075 ;
2076 return 0;
2077 }
2078 _ACEOF
2079 ac_clean_files_save=$ac_clean_files
2080 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2081 # Try to create an executable without -o first, disregard a.out.
2082 # It will help us diagnose broken compilers, and finding out an intuition
2083 # of exeext.
2084 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2085 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2086 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2087 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2088 (eval $ac_link_default) 2>&5
2089 ac_status=$?
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; then
2092 # Find the output, starting from the most likely. This scheme is
2093 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2094 # resort.
2095
2096 # Be careful to initialize this variable, since it used to be cached.
2097 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2098 ac_cv_exeext=
2099 # b.out is created by i960 compilers.
2100 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2101 do
2102 test -f "$ac_file" || continue
2103 case $ac_file in
2104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2105 ;;
2106 conftest.$ac_ext )
2107 # This is the source file.
2108 ;;
2109 [ab].out )
2110 # We found the default executable, but exeext='' is most
2111 # certainly right.
2112 break;;
2113 *.* )
2114 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2115 # FIXME: I believe we export ac_cv_exeext for Libtool,
2116 # but it would be cool to find out if it's true. Does anybody
2117 # maintain Libtool? --akim.
2118 export ac_cv_exeext
2119 break;;
2120 * )
2121 break;;
2122 esac
2123 done
2124 else
2125 echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.$ac_ext >&5
2127
2128 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2129 See \`config.log' for more details." >&5
2130 echo "$as_me: error: C compiler cannot create executables
2131 See \`config.log' for more details." >&2;}
2132 { (exit 77); exit 77; }; }
2133 fi
2134
2135 ac_exeext=$ac_cv_exeext
2136 echo "$as_me:$LINENO: result: $ac_file" >&5
2137 echo "${ECHO_T}$ac_file" >&6
2138
2139 # Check the compiler produces executables we can run. If not, either
2140 # the compiler is broken, or we cross compile.
2141 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2142 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2143 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2144 # If not cross compiling, check that we can run a simple program.
2145 if test "$cross_compiling" != yes; then
2146 if { ac_try='./$ac_file'
2147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2148 (eval $ac_try) 2>&5
2149 ac_status=$?
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); }; }; then
2152 cross_compiling=no
2153 else
2154 if test "$cross_compiling" = maybe; then
2155 cross_compiling=yes
2156 else
2157 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2158 If you meant to cross compile, use \`--host'.
2159 See \`config.log' for more details." >&5
2160 echo "$as_me: error: cannot run C compiled programs.
2161 If you meant to cross compile, use \`--host'.
2162 See \`config.log' for more details." >&2;}
2163 { (exit 1); exit 1; }; }
2164 fi
2165 fi
2166 fi
2167 echo "$as_me:$LINENO: result: yes" >&5
2168 echo "${ECHO_T}yes" >&6
2169
2170 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2171 ac_clean_files=$ac_clean_files_save
2172 # Check the compiler produces executables we can run. If not, either
2173 # the compiler is broken, or we cross compile.
2174 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2175 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2176 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2177 echo "${ECHO_T}$cross_compiling" >&6
2178
2179 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2180 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2182 (eval $ac_link) 2>&5
2183 ac_status=$?
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; then
2186 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2187 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2188 # work properly (i.e., refer to `conftest.exe'), while it won't with
2189 # `rm'.
2190 for ac_file in conftest.exe conftest conftest.*; do
2191 test -f "$ac_file" || continue
2192 case $ac_file in
2193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2194 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2195 export ac_cv_exeext
2196 break;;
2197 * ) break;;
2198 esac
2199 done
2200 else
2201 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2202 See \`config.log' for more details." >&5
2203 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2204 See \`config.log' for more details." >&2;}
2205 { (exit 1); exit 1; }; }
2206 fi
2207
2208 rm -f conftest$ac_cv_exeext
2209 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2210 echo "${ECHO_T}$ac_cv_exeext" >&6
2211
2212 rm -f conftest.$ac_ext
2213 EXEEXT=$ac_cv_exeext
2214 ac_exeext=$EXEEXT
2215 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2216 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2217 if test "${ac_cv_objext+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 else
2220 cat >conftest.$ac_ext <<_ACEOF
2221 #line $LINENO "configure"
2222 /* confdefs.h. */
2223 _ACEOF
2224 cat confdefs.h >>conftest.$ac_ext
2225 cat >>conftest.$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2227
2228 int
2229 main ()
2230 {
2231
2232 ;
2233 return 0;
2234 }
2235 _ACEOF
2236 rm -f conftest.o conftest.obj
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2239 ac_status=$?
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; then
2242 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2243 case $ac_file in
2244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2245 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2246 break;;
2247 esac
2248 done
2249 else
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2252
2253 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2254 See \`config.log' for more details." >&5
2255 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2256 See \`config.log' for more details." >&2;}
2257 { (exit 1); exit 1; }; }
2258 fi
2259
2260 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2261 fi
2262 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2263 echo "${ECHO_T}$ac_cv_objext" >&6
2264 OBJEXT=$ac_cv_objext
2265 ac_objext=$OBJEXT
2266 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2267 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2268 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 else
2271 cat >conftest.$ac_ext <<_ACEOF
2272 #line $LINENO "configure"
2273 /* confdefs.h. */
2274 _ACEOF
2275 cat confdefs.h >>conftest.$ac_ext
2276 cat >>conftest.$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2278
2279 int
2280 main ()
2281 {
2282 #ifndef __GNUC__
2283 choke me
2284 #endif
2285
2286 ;
2287 return 0;
2288 }
2289 _ACEOF
2290 rm -f conftest.$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>&5
2293 ac_status=$?
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); } &&
2296 { ac_try='test -s conftest.$ac_objext'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298 (eval $ac_try) 2>&5
2299 ac_status=$?
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; }; then
2302 ac_compiler_gnu=yes
2303 else
2304 echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.$ac_ext >&5
2306
2307 ac_compiler_gnu=no
2308 fi
2309 rm -f conftest.$ac_objext conftest.$ac_ext
2310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2311
2312 fi
2313 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2314 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2315 GCC=`test $ac_compiler_gnu = yes && echo yes`
2316 ac_test_CFLAGS=${CFLAGS+set}
2317 ac_save_CFLAGS=$CFLAGS
2318 CFLAGS="-g"
2319 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2320 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2321 if test "${ac_cv_prog_cc_g+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 else
2324 cat >conftest.$ac_ext <<_ACEOF
2325 #line $LINENO "configure"
2326 /* confdefs.h. */
2327 _ACEOF
2328 cat confdefs.h >>conftest.$ac_ext
2329 cat >>conftest.$ac_ext <<_ACEOF
2330 /* end confdefs.h. */
2331
2332 int
2333 main ()
2334 {
2335
2336 ;
2337 return 0;
2338 }
2339 _ACEOF
2340 rm -f conftest.$ac_objext
2341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342 (eval $ac_compile) 2>&5
2343 ac_status=$?
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); } &&
2346 { ac_try='test -s conftest.$ac_objext'
2347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 (eval $ac_try) 2>&5
2349 ac_status=$?
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }; }; then
2352 ac_cv_prog_cc_g=yes
2353 else
2354 echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2356
2357 ac_cv_prog_cc_g=no
2358 fi
2359 rm -f conftest.$ac_objext conftest.$ac_ext
2360 fi
2361 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2362 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2363 if test "$ac_test_CFLAGS" = set; then
2364 CFLAGS=$ac_save_CFLAGS
2365 elif test $ac_cv_prog_cc_g = yes; then
2366 if test "$GCC" = yes; then
2367 CFLAGS="-g -O2"
2368 else
2369 CFLAGS="-g"
2370 fi
2371 else
2372 if test "$GCC" = yes; then
2373 CFLAGS="-O2"
2374 else
2375 CFLAGS=
2376 fi
2377 fi
2378 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2379 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2380 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 else
2383 ac_cv_prog_cc_stdc=no
2384 ac_save_CC=$CC
2385 cat >conftest.$ac_ext <<_ACEOF
2386 #line $LINENO "configure"
2387 /* confdefs.h. */
2388 _ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2392 #include <stdarg.h>
2393 #include <stdio.h>
2394 #include <sys/types.h>
2395 #include <sys/stat.h>
2396 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2397 struct buf { int x; };
2398 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2399 static char *e (p, i)
2400 char **p;
2401 int i;
2402 {
2403 return p[i];
2404 }
2405 static char *f (char * (*g) (char **, int), char **p, ...)
2406 {
2407 char *s;
2408 va_list v;
2409 va_start (v,p);
2410 s = g (p, va_arg (v,int));
2411 va_end (v);
2412 return s;
2413 }
2414 int test (int i, double x);
2415 struct s1 {int (*f) (int a);};
2416 struct s2 {int (*f) (double a);};
2417 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2418 int argc;
2419 char **argv;
2420 int
2421 main ()
2422 {
2423 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2424 ;
2425 return 0;
2426 }
2427 _ACEOF
2428 # Don't try gcc -ansi; that turns off useful extensions and
2429 # breaks some systems' header files.
2430 # AIX -qlanglvl=ansi
2431 # Ultrix and OSF/1 -std1
2432 # HP-UX 10.20 and later -Ae
2433 # HP-UX older versions -Aa -D_HPUX_SOURCE
2434 # SVR4 -Xc -D__EXTENSIONS__
2435 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2436 do
2437 CC="$ac_save_CC $ac_arg"
2438 rm -f conftest.$ac_objext
2439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440 (eval $ac_compile) 2>&5
2441 ac_status=$?
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); } &&
2444 { ac_try='test -s conftest.$ac_objext'
2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446 (eval $ac_try) 2>&5
2447 ac_status=$?
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; }; then
2450 ac_cv_prog_cc_stdc=$ac_arg
2451 break
2452 else
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2455
2456 fi
2457 rm -f conftest.$ac_objext
2458 done
2459 rm -f conftest.$ac_ext conftest.$ac_objext
2460 CC=$ac_save_CC
2461
2462 fi
2463
2464 case "x$ac_cv_prog_cc_stdc" in
2465 x|xno)
2466 echo "$as_me:$LINENO: result: none needed" >&5
2467 echo "${ECHO_T}none needed" >&6 ;;
2468 *)
2469 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2470 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2471 CC="$CC $ac_cv_prog_cc_stdc" ;;
2472 esac
2473
2474 # Some people use a C++ compiler to compile C. Since we use `exit',
2475 # in C++ we need to declare it. In case someone uses the same compiler
2476 # for both compiling C and C++ we need to have the C++ compiler decide
2477 # the declaration of exit, since it's the most demanding environment.
2478 cat >conftest.$ac_ext <<_ACEOF
2479 #ifndef __cplusplus
2480 choke me
2481 #endif
2482 _ACEOF
2483 rm -f conftest.$ac_objext
2484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2485 (eval $ac_compile) 2>&5
2486 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } &&
2489 { ac_try='test -s conftest.$ac_objext'
2490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491 (eval $ac_try) 2>&5
2492 ac_status=$?
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; }; then
2495 for ac_declaration in \
2496 ''\
2497 '#include <stdlib.h>' \
2498 'extern "C" void std::exit (int) throw (); using std::exit;' \
2499 'extern "C" void std::exit (int); using std::exit;' \
2500 'extern "C" void exit (int) throw ();' \
2501 'extern "C" void exit (int);' \
2502 'void exit (int);'
2503 do
2504 cat >conftest.$ac_ext <<_ACEOF
2505 #line $LINENO "configure"
2506 /* confdefs.h. */
2507 _ACEOF
2508 cat confdefs.h >>conftest.$ac_ext
2509 cat >>conftest.$ac_ext <<_ACEOF
2510 /* end confdefs.h. */
2511 #include <stdlib.h>
2512 $ac_declaration
2513 int
2514 main ()
2515 {
2516 exit (42);
2517 ;
2518 return 0;
2519 }
2520 _ACEOF
2521 rm -f conftest.$ac_objext
2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523 (eval $ac_compile) 2>&5
2524 ac_status=$?
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } &&
2527 { ac_try='test -s conftest.$ac_objext'
2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 (eval $ac_try) 2>&5
2530 ac_status=$?
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; }; then
2533 :
2534 else
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2537
2538 continue
2539 fi
2540 rm -f conftest.$ac_objext conftest.$ac_ext
2541 cat >conftest.$ac_ext <<_ACEOF
2542 #line $LINENO "configure"
2543 /* confdefs.h. */
2544 _ACEOF
2545 cat confdefs.h >>conftest.$ac_ext
2546 cat >>conftest.$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2548 $ac_declaration
2549 int
2550 main ()
2551 {
2552 exit (42);
2553 ;
2554 return 0;
2555 }
2556 _ACEOF
2557 rm -f conftest.$ac_objext
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>&5
2560 ac_status=$?
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); } &&
2563 { ac_try='test -s conftest.$ac_objext'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 (eval $ac_try) 2>&5
2566 ac_status=$?
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2569 break
2570 else
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2573
2574 fi
2575 rm -f conftest.$ac_objext conftest.$ac_ext
2576 done
2577 rm -f conftest*
2578 if test -n "$ac_declaration"; then
2579 echo '#ifdef __cplusplus' >>confdefs.h
2580 echo $ac_declaration >>confdefs.h
2581 echo '#endif' >>confdefs.h
2582 fi
2583
2584 else
2585 echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2587
2588 fi
2589 rm -f conftest.$ac_objext conftest.$ac_ext
2590 ac_ext=c
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2595 DEPDIR="${am__leading_dot}deps"
2596
2597 ac_config_commands="$ac_config_commands depfiles"
2598
2599
2600 am_make=${MAKE-make}
2601 cat > confinc << 'END'
2602 am__doit:
2603 @echo done
2604 .PHONY: am__doit
2605 END
2606 # If we don't find an include directive, just comment out the code.
2607 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2608 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2609 am__include="#"
2610 am__quote=
2611 _am_result=none
2612 # First try GNU make style include.
2613 echo "include confinc" > confmf
2614 # We grep out `Entering directory' and `Leaving directory'
2615 # messages which can occur if `w' ends up in MAKEFLAGS.
2616 # In particular we don't look at `^make:' because GNU make might
2617 # be invoked under some other name (usually "gmake"), in which
2618 # case it prints its new name instead of `make'.
2619 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2620 am__include=include
2621 am__quote=
2622 _am_result=GNU
2623 fi
2624 # Now try BSD make style include.
2625 if test "$am__include" = "#"; then
2626 echo '.include "confinc"' > confmf
2627 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2628 am__include=.include
2629 am__quote="\""
2630 _am_result=BSD
2631 fi
2632 fi
2633
2634
2635 echo "$as_me:$LINENO: result: $_am_result" >&5
2636 echo "${ECHO_T}$_am_result" >&6
2637 rm -f confinc confmf
2638
2639 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2640 if test "${enable_dependency_tracking+set}" = set; then
2641 enableval="$enable_dependency_tracking"
2642
2643 fi;
2644 if test "x$enable_dependency_tracking" != xno; then
2645 am_depcomp="$ac_aux_dir/depcomp"
2646 AMDEPBACKSLASH='\'
2647 fi
2648
2649
2650 if test "x$enable_dependency_tracking" != xno; then
2651 AMDEP_TRUE=
2652 AMDEP_FALSE='#'
2653 else
2654 AMDEP_TRUE='#'
2655 AMDEP_FALSE=
2656 fi
2657
2658
2659
2660
2661 depcc="$CC" am_compiler_list=
2662
2663 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2664 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2665 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 else
2668 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2669 # We make a subdir and do the tests there. Otherwise we can end up
2670 # making bogus files that we don't know about and never remove. For
2671 # instance it was reported that on HP-UX the gcc test will end up
2672 # making a dummy file named `D' -- because `-MD' means `put the output
2673 # in D'.
2674 mkdir conftest.dir
2675 # Copy depcomp to subdir because otherwise we won't find it if we're
2676 # using a relative directory.
2677 cp "$am_depcomp" conftest.dir
2678 cd conftest.dir
2679 # We will build objects and dependencies in a subdirectory because
2680 # it helps to detect inapplicable dependency modes. For instance
2681 # both Tru64's cc and ICC support -MD to output dependencies as a
2682 # side effect of compilation, but ICC will put the dependencies in
2683 # the current directory while Tru64 will put them in the object
2684 # directory.
2685 mkdir sub
2686
2687 am_cv_CC_dependencies_compiler_type=none
2688 if test "$am_compiler_list" = ""; then
2689 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2690 fi
2691 for depmode in $am_compiler_list; do
2692 # Setup a source with many dependencies, because some compilers
2693 # like to wrap large dependency lists on column 80 (with \), and
2694 # we should not choose a depcomp mode which is confused by this.
2695 #
2696 # We need to recreate these files for each test, as the compiler may
2697 # overwrite some of them when testing with obscure command lines.
2698 # This happens at least with the AIX C compiler.
2699 : > sub/conftest.c
2700 for i in 1 2 3 4 5 6; do
2701 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2702 : > sub/conftst$i.h
2703 done
2704 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2705
2706 case $depmode in
2707 nosideeffect)
2708 # after this tag, mechanisms are not by side-effect, so they'll
2709 # only be used when explicitly requested
2710 if test "x$enable_dependency_tracking" = xyes; then
2711 continue
2712 else
2713 break
2714 fi
2715 ;;
2716 none) break ;;
2717 esac
2718 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2719 # mode. It turns out that the SunPro C++ compiler does not properly
2720 # handle `-M -o', and we need to detect this.
2721 if depmode=$depmode \
2722 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2723 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2724 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2725 >/dev/null 2>conftest.err &&
2726 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2727 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2728 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2729 # icc doesn't choke on unknown options, it will just issue warnings
2730 # (even with -Werror). So we grep stderr for any message
2731 # that says an option was ignored.
2732 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2733 am_cv_CC_dependencies_compiler_type=$depmode
2734 break
2735 fi
2736 fi
2737 done
2738
2739 cd ..
2740 rm -rf conftest.dir
2741 else
2742 am_cv_CC_dependencies_compiler_type=none
2743 fi
2744
2745 fi
2746 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2747 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2748 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2749
2750
2751
2752 if
2753 test "x$enable_dependency_tracking" != xno \
2754 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2755 am__fastdepCC_TRUE=
2756 am__fastdepCC_FALSE='#'
2757 else
2758 am__fastdepCC_TRUE='#'
2759 am__fastdepCC_FALSE=
2760 fi
2761
2762
2763 # Find a good install program. We prefer a C program (faster),
2764 # so one script is as good as another. But avoid the broken or
2765 # incompatible versions:
2766 # SysV /etc/install, /usr/sbin/install
2767 # SunOS /usr/etc/install
2768 # IRIX /sbin/install
2769 # AIX /bin/install
2770 # AmigaOS /C/install, which installs bootblocks on floppy discs
2771 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2772 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2773 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2774 # ./install, which can be erroneously created by make from ./install.sh.
2775 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2776 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2777 if test -z "$INSTALL"; then
2778 if test "${ac_cv_path_install+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 else
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 for as_dir in $PATH
2783 do
2784 IFS=$as_save_IFS
2785 test -z "$as_dir" && as_dir=.
2786 # Account for people who put trailing slashes in PATH elements.
2787 case $as_dir/ in
2788 ./ | .// | /cC/* | \
2789 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2790 /usr/ucb/* ) ;;
2791 *)
2792 # OSF1 and SCO ODT 3.0 have their own names for install.
2793 # Don't use installbsd from OSF since it installs stuff as root
2794 # by default.
2795 for ac_prog in ginstall scoinst install; do
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2798 if test $ac_prog = install &&
2799 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2800 # AIX install. It has an incompatible calling convention.
2801 :
2802 elif test $ac_prog = install &&
2803 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2804 # program-specific install script used by HP pwplus--don't use.
2805 :
2806 else
2807 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2808 break 3
2809 fi
2810 fi
2811 done
2812 done
2813 ;;
2814 esac
2815 done
2816
2817
2818 fi
2819 if test "${ac_cv_path_install+set}" = set; then
2820 INSTALL=$ac_cv_path_install
2821 else
2822 # As a last resort, use the slow shell script. We don't cache a
2823 # path for INSTALL within a source directory, because that will
2824 # break other packages using the cache if that directory is
2825 # removed, or if the path is relative.
2826 INSTALL=$ac_install_sh
2827 fi
2828 fi
2829 echo "$as_me:$LINENO: result: $INSTALL" >&5
2830 echo "${ECHO_T}$INSTALL" >&6
2831
2832 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2833 # It thinks the first close brace ends the variable substitution.
2834 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2835
2836 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2837
2838 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2839
2840 if test -n "$ac_tool_prefix"; then
2841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2842 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2843 echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2845 if test "${ac_cv_prog_RANLIB+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848 if test -n "$RANLIB"; then
2849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2850 else
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH
2853 do
2854 IFS=$as_save_IFS
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 break 2
2861 fi
2862 done
2863 done
2864
2865 fi
2866 fi
2867 RANLIB=$ac_cv_prog_RANLIB
2868 if test -n "$RANLIB"; then
2869 echo "$as_me:$LINENO: result: $RANLIB" >&5
2870 echo "${ECHO_T}$RANLIB" >&6
2871 else
2872 echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6
2874 fi
2875
2876 fi
2877 if test -z "$ac_cv_prog_RANLIB"; then
2878 ac_ct_RANLIB=$RANLIB
2879 # Extract the first word of "ranlib", so it can be a program name with args.
2880 set dummy ranlib; ac_word=$2
2881 echo "$as_me:$LINENO: checking for $ac_word" >&5
2882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 else
2886 if test -n "$ac_ct_RANLIB"; then
2887 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2888 else
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 for as_dir in $PATH
2891 do
2892 IFS=$as_save_IFS
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_ac_ct_RANLIB="ranlib"
2897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 break 2
2899 fi
2900 done
2901 done
2902
2903 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2904 fi
2905 fi
2906 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2907 if test -n "$ac_ct_RANLIB"; then
2908 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2909 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2910 else
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 fi
2914
2915 RANLIB=$ac_ct_RANLIB
2916 else
2917 RANLIB="$ac_cv_prog_RANLIB"
2918 fi
2919
2920 # Extract the first word of "ar", so it can be a program name with args.
2921 set dummy ar; ac_word=$2
2922 echo "$as_me:$LINENO: checking for $ac_word" >&5
2923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2924 if test "${ac_cv_path_AR+set}" = set; then
2925 echo $ECHO_N "(cached) $ECHO_C" >&6
2926 else
2927 case $AR in
2928 [\\/]* | ?:[\\/]*)
2929 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2930 ;;
2931 *)
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 for as_dir in $PATH$PATH_SEPARATOR/usr/ccs/bin
2934 do
2935 IFS=$as_save_IFS
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 break 2
2942 fi
2943 done
2944 done
2945
2946 test -z "$ac_cv_path_AR" && ac_cv_path_AR="notfound"
2947 ;;
2948 esac
2949 fi
2950 AR=$ac_cv_path_AR
2951
2952 if test -n "$AR"; then
2953 echo "$as_me:$LINENO: result: $AR" >&5
2954 echo "${ECHO_T}$AR" >&6
2955 else
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2958 fi
2959
2960
2961 if test "$AR" = "notfound"; then
2962 { { echo "$as_me:$LINENO: error: cannot find \`\`ar''" >&5
2963 echo "$as_me: error: cannot find \`\`ar''" >&2;}
2964 { (exit 1); exit 1; }; }
2965 fi
2966
2967
2968 ac_ext=c
2969 ac_cpp='$CPP $CPPFLAGS'
2970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2973 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2974 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2975 # On Suns, sometimes $CPP names a directory.
2976 if test -n "$CPP" && test -d "$CPP"; then
2977 CPP=
2978 fi
2979 if test -z "$CPP"; then
2980 if test "${ac_cv_prog_CPP+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 else
2983 # Double quotes because CPP needs to be expanded
2984 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2985 do
2986 ac_preproc_ok=false
2987 for ac_c_preproc_warn_flag in '' yes
2988 do
2989 # Use a header file that comes with gcc, so configuring glibc
2990 # with a fresh cross-compiler works.
2991 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2992 # <limits.h> exists even on freestanding compilers.
2993 # On the NeXT, cc -E runs the code through the compiler's parser,
2994 # not just through cpp. "Syntax error" is here to catch this case.
2995 cat >conftest.$ac_ext <<_ACEOF
2996 #line $LINENO "configure"
2997 /* confdefs.h. */
2998 _ACEOF
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3002 #ifdef __STDC__
3003 # include <limits.h>
3004 #else
3005 # include <assert.h>
3006 #endif
3007 Syntax error
3008 _ACEOF
3009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3011 ac_status=$?
3012 grep -v '^ *+' conftest.er1 >conftest.err
3013 rm -f conftest.er1
3014 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } >/dev/null; then
3017 if test -s conftest.err; then
3018 ac_cpp_err=$ac_c_preproc_warn_flag
3019 else
3020 ac_cpp_err=
3021 fi
3022 else
3023 ac_cpp_err=yes
3024 fi
3025 if test -z "$ac_cpp_err"; then
3026 :
3027 else
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3030
3031 # Broken: fails on valid input.
3032 continue
3033 fi
3034 rm -f conftest.err conftest.$ac_ext
3035
3036 # OK, works on sane cases. Now check whether non-existent headers
3037 # can be detected and how.
3038 cat >conftest.$ac_ext <<_ACEOF
3039 #line $LINENO "configure"
3040 /* confdefs.h. */
3041 _ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3045 #include <ac_nonexistent.h>
3046 _ACEOF
3047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3049 ac_status=$?
3050 grep -v '^ *+' conftest.er1 >conftest.err
3051 rm -f conftest.er1
3052 cat conftest.err >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } >/dev/null; then
3055 if test -s conftest.err; then
3056 ac_cpp_err=$ac_c_preproc_warn_flag
3057 else
3058 ac_cpp_err=
3059 fi
3060 else
3061 ac_cpp_err=yes
3062 fi
3063 if test -z "$ac_cpp_err"; then
3064 # Broken: success on invalid input.
3065 continue
3066 else
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3069
3070 # Passes both tests.
3071 ac_preproc_ok=:
3072 break
3073 fi
3074 rm -f conftest.err conftest.$ac_ext
3075
3076 done
3077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3078 rm -f conftest.err conftest.$ac_ext
3079 if $ac_preproc_ok; then
3080 break
3081 fi
3082
3083 done
3084 ac_cv_prog_CPP=$CPP
3085
3086 fi
3087 CPP=$ac_cv_prog_CPP
3088 else
3089 ac_cv_prog_CPP=$CPP
3090 fi
3091 echo "$as_me:$LINENO: result: $CPP" >&5
3092 echo "${ECHO_T}$CPP" >&6
3093 ac_preproc_ok=false
3094 for ac_c_preproc_warn_flag in '' yes
3095 do
3096 # Use a header file that comes with gcc, so configuring glibc
3097 # with a fresh cross-compiler works.
3098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3099 # <limits.h> exists even on freestanding compilers.
3100 # On the NeXT, cc -E runs the code through the compiler's parser,
3101 # not just through cpp. "Syntax error" is here to catch this case.
3102 cat >conftest.$ac_ext <<_ACEOF
3103 #line $LINENO "configure"
3104 /* confdefs.h. */
3105 _ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3109 #ifdef __STDC__
3110 # include <limits.h>
3111 #else
3112 # include <assert.h>
3113 #endif
3114 Syntax error
3115 _ACEOF
3116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3118 ac_status=$?
3119 grep -v '^ *+' conftest.er1 >conftest.err
3120 rm -f conftest.er1
3121 cat conftest.err >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } >/dev/null; then
3124 if test -s conftest.err; then
3125 ac_cpp_err=$ac_c_preproc_warn_flag
3126 else
3127 ac_cpp_err=
3128 fi
3129 else
3130 ac_cpp_err=yes
3131 fi
3132 if test -z "$ac_cpp_err"; then
3133 :
3134 else
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3137
3138 # Broken: fails on valid input.
3139 continue
3140 fi
3141 rm -f conftest.err conftest.$ac_ext
3142
3143 # OK, works on sane cases. Now check whether non-existent headers
3144 # can be detected and how.
3145 cat >conftest.$ac_ext <<_ACEOF
3146 #line $LINENO "configure"
3147 /* confdefs.h. */
3148 _ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3152 #include <ac_nonexistent.h>
3153 _ACEOF
3154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } >/dev/null; then
3162 if test -s conftest.err; then
3163 ac_cpp_err=$ac_c_preproc_warn_flag
3164 else
3165 ac_cpp_err=
3166 fi
3167 else
3168 ac_cpp_err=yes
3169 fi
3170 if test -z "$ac_cpp_err"; then
3171 # Broken: success on invalid input.
3172 continue
3173 else
3174 echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3176
3177 # Passes both tests.
3178 ac_preproc_ok=:
3179 break
3180 fi
3181 rm -f conftest.err conftest.$ac_ext
3182
3183 done
3184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3185 rm -f conftest.err conftest.$ac_ext
3186 if $ac_preproc_ok; then
3187 :
3188 else
3189 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3190 See \`config.log' for more details." >&5
3191 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3192 See \`config.log' for more details." >&2;}
3193 { (exit 1); exit 1; }; }
3194 fi
3195
3196 ac_ext=c
3197 ac_cpp='$CPP $CPPFLAGS'
3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3201
3202
3203 echo "$as_me:$LINENO: checking for egrep" >&5
3204 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3205 if test "${ac_cv_prog_egrep+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 else
3208 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3209 then ac_cv_prog_egrep='grep -E'
3210 else ac_cv_prog_egrep='egrep'
3211 fi
3212 fi
3213 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3214 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3215 EGREP=$ac_cv_prog_egrep
3216
3217
3218 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3219 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3220 if test "${ac_cv_header_stdc+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 else
3223 cat >conftest.$ac_ext <<_ACEOF
3224 #line $LINENO "configure"
3225 /* confdefs.h. */
3226 _ACEOF
3227 cat confdefs.h >>conftest.$ac_ext
3228 cat >>conftest.$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3230 #include <stdlib.h>
3231 #include <stdarg.h>
3232 #include <string.h>
3233 #include <float.h>
3234
3235 int
3236 main ()
3237 {
3238
3239 ;
3240 return 0;
3241 }
3242 _ACEOF
3243 rm -f conftest.$ac_objext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245 (eval $ac_compile) 2>&5
3246 ac_status=$?
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try='test -s conftest.$ac_objext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251 (eval $ac_try) 2>&5
3252 ac_status=$?
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3255 ac_cv_header_stdc=yes
3256 else
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3259
3260 ac_cv_header_stdc=no
3261 fi
3262 rm -f conftest.$ac_objext conftest.$ac_ext
3263
3264 if test $ac_cv_header_stdc = yes; then
3265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3266 cat >conftest.$ac_ext <<_ACEOF
3267 #line $LINENO "configure"
3268 /* confdefs.h. */
3269 _ACEOF
3270 cat confdefs.h >>conftest.$ac_ext
3271 cat >>conftest.$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3273 #include <string.h>
3274
3275 _ACEOF
3276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3277 $EGREP "memchr" >/dev/null 2>&1; then
3278 :
3279 else
3280 ac_cv_header_stdc=no
3281 fi
3282 rm -f conftest*
3283
3284 fi
3285
3286 if test $ac_cv_header_stdc = yes; then
3287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3288 cat >conftest.$ac_ext <<_ACEOF
3289 #line $LINENO "configure"
3290 /* confdefs.h. */
3291 _ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3295 #include <stdlib.h>
3296
3297 _ACEOF
3298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3299 $EGREP "free" >/dev/null 2>&1; then
3300 :
3301 else
3302 ac_cv_header_stdc=no
3303 fi
3304 rm -f conftest*
3305
3306 fi
3307
3308 if test $ac_cv_header_stdc = yes; then
3309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3310 if test "$cross_compiling" = yes; then
3311 :
3312 else
3313 cat >conftest.$ac_ext <<_ACEOF
3314 #line $LINENO "configure"
3315 /* confdefs.h. */
3316 _ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3320 #include <ctype.h>
3321 #if ((' ' & 0x0FF) == 0x020)
3322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3324 #else
3325 # define ISLOWER(c) \
3326 (('a' <= (c) && (c) <= 'i') \
3327 || ('j' <= (c) && (c) <= 'r') \
3328 || ('s' <= (c) && (c) <= 'z'))
3329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3330 #endif
3331
3332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3333 int
3334 main ()
3335 {
3336 int i;
3337 for (i = 0; i < 256; i++)
3338 if (XOR (islower (i), ISLOWER (i))
3339 || toupper (i) != TOUPPER (i))
3340 exit(2);
3341 exit (0);
3342 }
3343 _ACEOF
3344 rm -f conftest$ac_exeext
3345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3346 (eval $ac_link) 2>&5
3347 ac_status=$?
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351 (eval $ac_try) 2>&5
3352 ac_status=$?
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3355 :
3356 else
3357 echo "$as_me: program exited with status $ac_status" >&5
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3360
3361 ( exit $ac_status )
3362 ac_cv_header_stdc=no
3363 fi
3364 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3365 fi
3366 fi
3367 fi
3368 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3369 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3370 if test $ac_cv_header_stdc = yes; then
3371
3372 cat >>confdefs.h <<\_ACEOF
3373 #define STDC_HEADERS 1
3374 _ACEOF
3375
3376 fi
3377
3378 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3389 inttypes.h stdint.h unistd.h
3390 do
3391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3392 echo "$as_me:$LINENO: checking for $ac_header" >&5
3393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 else
3397 cat >conftest.$ac_ext <<_ACEOF
3398 #line $LINENO "configure"
3399 /* confdefs.h. */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3404 $ac_includes_default
3405
3406 #include <$ac_header>
3407 _ACEOF
3408 rm -f conftest.$ac_objext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3410 (eval $ac_compile) 2>&5
3411 ac_status=$?
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } &&
3414 { ac_try='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 (eval $ac_try) 2>&5
3417 ac_status=$?
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 eval "$as_ac_Header=yes"
3421 else
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3424
3425 eval "$as_ac_Header=no"
3426 fi
3427 rm -f conftest.$ac_objext conftest.$ac_ext
3428 fi
3429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3432 cat >>confdefs.h <<_ACEOF
3433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3434 _ACEOF
3435
3436 fi
3437
3438 done
3439
3440
3441
3442
3443
3444
3445
3446 for ac_header in poll.h sys/select.h sys/socket.h string.h strings.h
3447 do
3448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3450 echo "$as_me:$LINENO: checking for $ac_header" >&5
3451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 fi
3455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3457 else
3458 # Is the header compilable?
3459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3461 cat >conftest.$ac_ext <<_ACEOF
3462 #line $LINENO "configure"
3463 /* confdefs.h. */
3464 _ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3468 $ac_includes_default
3469 #include <$ac_header>
3470 _ACEOF
3471 rm -f conftest.$ac_objext
3472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3473 (eval $ac_compile) 2>&5
3474 ac_status=$?
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } &&
3477 { ac_try='test -s conftest.$ac_objext'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 (eval $ac_try) 2>&5
3480 ac_status=$?
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3483 ac_header_compiler=yes
3484 else
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3487
3488 ac_header_compiler=no
3489 fi
3490 rm -f conftest.$ac_objext conftest.$ac_ext
3491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3492 echo "${ECHO_T}$ac_header_compiler" >&6
3493
3494 # Is the header present?
3495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3497 cat >conftest.$ac_ext <<_ACEOF
3498 #line $LINENO "configure"
3499 /* confdefs.h. */
3500 _ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 #include <$ac_header>
3505 _ACEOF
3506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3508 ac_status=$?
3509 grep -v '^ *+' conftest.er1 >conftest.err
3510 rm -f conftest.er1
3511 cat conftest.err >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); } >/dev/null; then
3514 if test -s conftest.err; then
3515 ac_cpp_err=$ac_c_preproc_warn_flag
3516 else
3517 ac_cpp_err=
3518 fi
3519 else
3520 ac_cpp_err=yes
3521 fi
3522 if test -z "$ac_cpp_err"; then
3523 ac_header_preproc=yes
3524 else
3525 echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3527
3528 ac_header_preproc=no
3529 fi
3530 rm -f conftest.err conftest.$ac_ext
3531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3532 echo "${ECHO_T}$ac_header_preproc" >&6
3533
3534 # So? What about this header?
3535 case $ac_header_compiler:$ac_header_preproc in
3536 yes:no )
3537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3541 (
3542 cat <<\_ASBOX
3543 ## ------------------------------------ ##
3544 ## Report this to [email protected]. ##
3545 ## ------------------------------------ ##
3546 _ASBOX
3547 ) |
3548 sed "s/^/$as_me: WARNING: /" >&2
3549 ;;
3550 no:yes )
3551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3557 (
3558 cat <<\_ASBOX
3559 ## ------------------------------------ ##
3560 ## Report this to [email protected]. ##
3561 ## ------------------------------------ ##
3562 _ASBOX
3563 ) |
3564 sed "s/^/$as_me: WARNING: /" >&2
3565 ;;
3566 esac
3567 echo "$as_me:$LINENO: checking for $ac_header" >&5
3568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 else
3572 eval "$as_ac_Header=$ac_header_preproc"
3573 fi
3574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3576
3577 fi
3578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3579 cat >>confdefs.h <<_ACEOF
3580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3581 _ACEOF
3582
3583 fi
3584
3585 done
3586
3587
3588 cat >>confdefs.h <<\_ACEOF
3589 #define HAVE_ADNS 1
3590 _ACEOF
3591
3592
3593 if test -z "$no_wacky_libs" ; then
3594
3595 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
3596 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
3597 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 else
3600 ac_check_lib_save_LIBS=$LIBS
3601 LIBS="-lresolv $LIBS"
3602 cat >conftest.$ac_ext <<_ACEOF
3603 #line $LINENO "configure"
3604 /* confdefs.h. */
3605 _ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3609
3610 /* Override any gcc2 internal prototype to avoid an error. */
3611 #ifdef __cplusplus
3612 extern "C"
3613 #endif
3614 /* We use char because int might match the return type of a gcc2
3615 builtin and then its argument prototype would still apply. */
3616 char res_query ();
3617 int
3618 main ()
3619 {
3620 res_query ();
3621 ;
3622 return 0;
3623 }
3624 _ACEOF
3625 rm -f conftest.$ac_objext conftest$ac_exeext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3627 (eval $ac_link) 2>&5
3628 ac_status=$?
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } &&
3631 { ac_try='test -s conftest$ac_exeext'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3633 (eval $ac_try) 2>&5
3634 ac_status=$?
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; }; then
3637 ac_cv_lib_resolv_res_query=yes
3638 else
3639 echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.$ac_ext >&5
3641
3642 ac_cv_lib_resolv_res_query=no
3643 fi
3644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3645 LIBS=$ac_check_lib_save_LIBS
3646 fi
3647 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
3648 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
3649 if test $ac_cv_lib_resolv_res_query = yes; then
3650 cat >>confdefs.h <<_ACEOF
3651 #define HAVE_LIBRESOLV 1
3652 _ACEOF
3653
3654 LIBS="-lresolv $LIBS"
3655
3656 fi
3657
3658 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3659 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3660 if test "${ac_cv_search_gethostbyname+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else
3663 ac_func_search_save_LIBS=$LIBS
3664 ac_cv_search_gethostbyname=no
3665 cat >conftest.$ac_ext <<_ACEOF
3666 #line $LINENO "configure"
3667 /* confdefs.h. */
3668 _ACEOF
3669 cat confdefs.h >>conftest.$ac_ext
3670 cat >>conftest.$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3672
3673 /* Override any gcc2 internal prototype to avoid an error. */
3674 #ifdef __cplusplus
3675 extern "C"
3676 #endif
3677 /* We use char because int might match the return type of a gcc2
3678 builtin and then its argument prototype would still apply. */
3679 char gethostbyname ();
3680 int
3681 main ()
3682 {
3683 gethostbyname ();
3684 ;
3685 return 0;
3686 }
3687 _ACEOF
3688 rm -f conftest.$ac_objext conftest$ac_exeext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3690 (eval $ac_link) 2>&5
3691 ac_status=$?
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try='test -s conftest$ac_exeext'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 (eval $ac_try) 2>&5
3697 ac_status=$?
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; }; then
3700 ac_cv_search_gethostbyname="none required"
3701 else
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3704
3705 fi
3706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3707 if test "$ac_cv_search_gethostbyname" = no; then
3708 for ac_lib in nsl; do
3709 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3710 cat >conftest.$ac_ext <<_ACEOF
3711 #line $LINENO "configure"
3712 /* confdefs.h. */
3713 _ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717
3718 /* Override any gcc2 internal prototype to avoid an error. */
3719 #ifdef __cplusplus
3720 extern "C"
3721 #endif
3722 /* We use char because int might match the return type of a gcc2
3723 builtin and then its argument prototype would still apply. */
3724 char gethostbyname ();
3725 int
3726 main ()
3727 {
3728 gethostbyname ();
3729 ;
3730 return 0;
3731 }
3732 _ACEOF
3733 rm -f conftest.$ac_objext conftest$ac_exeext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3735 (eval $ac_link) 2>&5
3736 ac_status=$?
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); } &&
3739 { ac_try='test -s conftest$ac_exeext'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5
3742 ac_status=$?
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3745 ac_cv_search_gethostbyname="-l$ac_lib"
3746 break
3747 else
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3750
3751 fi
3752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3753 done
3754 fi
3755 LIBS=$ac_func_search_save_LIBS
3756 fi
3757 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3758 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3759 if test "$ac_cv_search_gethostbyname" != no; then
3760 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
3761
3762 fi
3763
3764 echo "$as_me:$LINENO: checking for library containing socket" >&5
3765 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
3766 if test "${ac_cv_search_socket+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 else
3769 ac_func_search_save_LIBS=$LIBS
3770 ac_cv_search_socket=no
3771 cat >conftest.$ac_ext <<_ACEOF
3772 #line $LINENO "configure"
3773 /* confdefs.h. */
3774 _ACEOF
3775 cat confdefs.h >>conftest.$ac_ext
3776 cat >>conftest.$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3778
3779 /* Override any gcc2 internal prototype to avoid an error. */
3780 #ifdef __cplusplus
3781 extern "C"
3782 #endif
3783 /* We use char because int might match the return type of a gcc2
3784 builtin and then its argument prototype would still apply. */
3785 char socket ();
3786 int
3787 main ()
3788 {
3789 socket ();
3790 ;
3791 return 0;
3792 }
3793 _ACEOF
3794 rm -f conftest.$ac_objext conftest$ac_exeext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3796 (eval $ac_link) 2>&5
3797 ac_status=$?
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try='test -s conftest$ac_exeext'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 (eval $ac_try) 2>&5
3803 ac_status=$?
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; }; then
3806 ac_cv_search_socket="none required"
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3810
3811 fi
3812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3813 if test "$ac_cv_search_socket" = no; then
3814 for ac_lib in socket; do
3815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3816 cat >conftest.$ac_ext <<_ACEOF
3817 #line $LINENO "configure"
3818 /* confdefs.h. */
3819 _ACEOF
3820 cat confdefs.h >>conftest.$ac_ext
3821 cat >>conftest.$ac_ext <<_ACEOF
3822 /* end confdefs.h. */
3823
3824 /* Override any gcc2 internal prototype to avoid an error. */
3825 #ifdef __cplusplus
3826 extern "C"
3827 #endif
3828 /* We use char because int might match the return type of a gcc2
3829 builtin and then its argument prototype would still apply. */
3830 char socket ();
3831 int
3832 main ()
3833 {
3834 socket ();
3835 ;
3836 return 0;
3837 }
3838 _ACEOF
3839 rm -f conftest.$ac_objext conftest$ac_exeext
3840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3841 (eval $ac_link) 2>&5
3842 ac_status=$?
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } &&
3845 { ac_try='test -s conftest$ac_exeext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 (eval $ac_try) 2>&5
3848 ac_status=$?
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 ac_cv_search_socket="-l$ac_lib"
3852 break
3853 else
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.$ac_ext >&5
3856
3857 fi
3858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3859 done
3860 fi
3861 LIBS=$ac_func_search_save_LIBS
3862 fi
3863 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
3864 echo "${ECHO_T}$ac_cv_search_socket" >&6
3865 if test "$ac_cv_search_socket" != no; then
3866 test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
3867
3868 fi
3869
3870 fi
3871
3872 test yes = "$GCC" &&
3873 CFLAGS="-Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings $CFLAGS"' $(EXTRA_CFLAGS)'
3874
3875
3876 ac_config_files="$ac_config_files Makefile"
3877 cat >confcache <<\_ACEOF
3878 # This file is a shell script that caches the results of configure
3879 # tests run on this system so they can be shared between configure
3880 # scripts and configure runs, see configure's option --config-cache.
3881 # It is not useful on other systems. If it contains results you don't
3882 # want to keep, you may remove or edit it.
3883 #
3884 # config.status only pays attention to the cache file if you give it
3885 # the --recheck option to rerun configure.
3886 #
3887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3889 # following values.
3890
3891 _ACEOF
3892
3893 # The following way of writing the cache mishandles newlines in values,
3894 # but we know of no workaround that is simple, portable, and efficient.
3895 # So, don't put newlines in cache variables' values.
3896 # Ultrix sh set writes to stderr and can't be redirected directly,
3897 # and sets the high bit in the cache file unless we assign to the vars.
3898 {
3899 (set) 2>&1 |
3900 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3901 *ac_space=\ *)
3902 # `set' does not quote correctly, so add quotes (double-quote
3903 # substitution turns \\\\ into \\, and sed turns \\ into \).
3904 sed -n \
3905 "s/'/'\\\\''/g;
3906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3907 ;;
3908 *)
3909 # `set' quotes correctly as required by POSIX, so do not add quotes.
3910 sed -n \
3911 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3912 ;;
3913 esac;
3914 } |
3915 sed '
3916 t clear
3917 : clear
3918 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3919 t end
3920 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3921 : end' >>confcache
3922 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3923 if test -w $cache_file; then
3924 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3925 cat confcache >$cache_file
3926 else
3927 echo "not updating unwritable cache $cache_file"
3928 fi
3929 fi
3930 rm -f confcache
3931
3932 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3933 # Let make expand exec_prefix.
3934 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3935
3936 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3937 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3938 # trailing colons and then remove the whole line if VPATH becomes empty
3939 # (actually we leave an empty line to preserve line numbers).
3940 if test "x$srcdir" = x.; then
3941 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3942 s/:*\$(srcdir):*/:/;
3943 s/:*\${srcdir}:*/:/;
3944 s/:*@srcdir@:*/:/;
3945 s/^\([^=]*=[ ]*\):*/\1/;
3946 s/:*$//;
3947 s/^[^=]*=[ ]*$//;
3948 }'
3949 fi
3950
3951 # Transform confdefs.h into DEFS.
3952 # Protect against shell expansion while executing Makefile rules.
3953 # Protect against Makefile macro expansion.
3954 #
3955 # If the first sed substitution is executed (which looks for macros that
3956 # take arguments), then we branch to the quote section. Otherwise,
3957 # look for a macro that doesn't take arguments.
3958 cat >confdef2opt.sed <<\_ACEOF
3959 t clear
3960 : clear
3961 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3962 t quote
3963 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3964 t quote
3965 d
3966 : quote
3967 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3968 s,\[,\\&,g
3969 s,\],\\&,g
3970 s,\$,$$,g
3971 p
3972 _ACEOF
3973 # We use echo to avoid assuming a particular line-breaking character.
3974 # The extra dot is to prevent the shell from consuming trailing
3975 # line-breaks from the sub-command output. A line-break within
3976 # single-quotes doesn't work because, if this script is created in a
3977 # platform that uses two characters for line-breaks (e.g., DOS), tr
3978 # would break.
3979 ac_LF_and_DOT=`echo; echo .`
3980 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3981 rm -f confdef2opt.sed
3982
3983
3984 ac_libobjs=
3985 ac_ltlibobjs=
3986 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3987 # 1. Remove the extension, and $U if already installed.
3988 ac_i=`echo "$ac_i" |
3989 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3990 # 2. Add them.
3991 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3992 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3993 done
3994 LIBOBJS=$ac_libobjs
3995
3996 LTLIBOBJS=$ac_ltlibobjs
3997
3998
3999 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4000 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4001 Usually this means the macro was only invoked conditionally." >&5
4002 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4003 Usually this means the macro was only invoked conditionally." >&2;}
4004 { (exit 1); exit 1; }; }
4005 fi
4006 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4007 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4008 Usually this means the macro was only invoked conditionally." >&5
4009 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4010 Usually this means the macro was only invoked conditionally." >&2;}
4011 { (exit 1); exit 1; }; }
4012 fi
4013
4014 : ${CONFIG_STATUS=./config.status}
4015 ac_clean_files_save=$ac_clean_files
4016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4017 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4018 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4019 cat >$CONFIG_STATUS <<_ACEOF
4020 #! $SHELL
4021 # Generated by $as_me.
4022 # Run this file to recreate the current configuration.
4023 # Compiler output produced by configure, useful for debugging
4024 # configure, is in config.log if it exists.
4025
4026 debug=false
4027 ac_cs_recheck=false
4028 ac_cs_silent=false
4029 SHELL=\${CONFIG_SHELL-$SHELL}
4030 _ACEOF
4031
4032 cat >>$CONFIG_STATUS <<\_ACEOF
4033 ## --------------------- ##
4034 ## M4sh Initialization. ##
4035 ## --------------------- ##
4036
4037 # Be Bourne compatible
4038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4039 emulate sh
4040 NULLCMD=:
4041 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4042 # is contrary to our usage. Disable this feature.
4043 alias -g '${1+"$@"}'='"$@"'
4044 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4045 set -o posix
4046 fi
4047
4048 # Support unset when possible.
4049 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4050 as_unset=unset
4051 else
4052 as_unset=false
4053 fi
4054
4055
4056 # Work around bugs in pre-3.0 UWIN ksh.
4057 $as_unset ENV MAIL MAILPATH
4058 PS1='$ '
4059 PS2='> '
4060 PS4='+ '
4061
4062 # NLS nuisances.
4063 for as_var in \
4064 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4065 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4066 LC_TELEPHONE LC_TIME
4067 do
4068 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4069 eval $as_var=C; export $as_var
4070 else
4071 $as_unset $as_var
4072 fi
4073 done
4074
4075 # Required to use basename.
4076 if expr a : '\(a\)' >/dev/null 2>&1; then
4077 as_expr=expr
4078 else
4079 as_expr=false
4080 fi
4081
4082 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4083 as_basename=basename
4084 else
4085 as_basename=false
4086 fi
4087
4088
4089 # Name of the executable.
4090 as_me=`$as_basename "$0" ||
4091 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4092 X"$0" : 'X\(//\)$' \| \
4093 X"$0" : 'X\(/\)$' \| \
4094 . : '\(.\)' 2>/dev/null ||
4095 echo X/"$0" |
4096 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4097 /^X\/\(\/\/\)$/{ s//\1/; q; }
4098 /^X\/\(\/\).*/{ s//\1/; q; }
4099 s/.*/./; q'`
4100
4101
4102 # PATH needs CR, and LINENO needs CR and PATH.
4103 # Avoid depending upon Character Ranges.
4104 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4105 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4106 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4107 as_cr_digits='0123456789'
4108 as_cr_alnum=$as_cr_Letters$as_cr_digits
4109
4110 # The user is always right.
4111 if test "${PATH_SEPARATOR+set}" != set; then
4112 echo "#! /bin/sh" >conf$$.sh
4113 echo "exit 0" >>conf$$.sh
4114 chmod +x conf$$.sh
4115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4116 PATH_SEPARATOR=';'
4117 else
4118 PATH_SEPARATOR=:
4119 fi
4120 rm -f conf$$.sh
4121 fi
4122
4123
4124 as_lineno_1=$LINENO
4125 as_lineno_2=$LINENO
4126 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4127 test "x$as_lineno_1" != "x$as_lineno_2" &&
4128 test "x$as_lineno_3" = "x$as_lineno_2" || {
4129 # Find who we are. Look in the path if we contain no path at all
4130 # relative or not.
4131 case $0 in
4132 *[\\/]* ) as_myself=$0 ;;
4133 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 for as_dir in $PATH
4135 do
4136 IFS=$as_save_IFS
4137 test -z "$as_dir" && as_dir=.
4138 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4139 done
4140
4141 ;;
4142 esac
4143 # We did not find ourselves, most probably we were run as `sh COMMAND'
4144 # in which case we are not to be found in the path.
4145 if test "x$as_myself" = x; then
4146 as_myself=$0
4147 fi
4148 if test ! -f "$as_myself"; then
4149 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4150 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4151 { (exit 1); exit 1; }; }
4152 fi
4153 case $CONFIG_SHELL in
4154 '')
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4157 do
4158 IFS=$as_save_IFS
4159 test -z "$as_dir" && as_dir=.
4160 for as_base in sh bash ksh sh5; do
4161 case $as_dir in
4162 /*)
4163 if ("$as_dir/$as_base" -c '
4164 as_lineno_1=$LINENO
4165 as_lineno_2=$LINENO
4166 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4167 test "x$as_lineno_1" != "x$as_lineno_2" &&
4168 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4169 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4170 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4171 CONFIG_SHELL=$as_dir/$as_base
4172 export CONFIG_SHELL
4173 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4174 fi;;
4175 esac
4176 done
4177 done
4178 ;;
4179 esac
4180
4181 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4182 # uniformly replaced by the line number. The first 'sed' inserts a
4183 # line-number line before each line; the second 'sed' does the real
4184 # work. The second script uses 'N' to pair each line-number line
4185 # with the numbered line, and appends trailing '-' during
4186 # substitution so that $LINENO is not a special case at line end.
4187 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4188 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4189 sed '=' <$as_myself |
4190 sed '
4191 N
4192 s,$,-,
4193 : loop
4194 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4195 t loop
4196 s,-$,,
4197 s,^['$as_cr_digits']*\n,,
4198 ' >$as_me.lineno &&
4199 chmod +x $as_me.lineno ||
4200 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4201 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4202 { (exit 1); exit 1; }; }
4203
4204 # Don't try to exec as it changes $[0], causing all sort of problems
4205 # (the dirname of $[0] is not the place where we might find the
4206 # original and so on. Autoconf is especially sensible to this).
4207 . ./$as_me.lineno
4208 # Exit status is that of the last command.
4209 exit
4210 }
4211
4212
4213 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4214 *c*,-n*) ECHO_N= ECHO_C='
4215 ' ECHO_T=' ' ;;
4216 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4217 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4218 esac
4219
4220 if expr a : '\(a\)' >/dev/null 2>&1; then
4221 as_expr=expr
4222 else
4223 as_expr=false
4224 fi
4225
4226 rm -f conf$$ conf$$.exe conf$$.file
4227 echo >conf$$.file
4228 if ln -s conf$$.file conf$$ 2>/dev/null; then
4229 # We could just check for DJGPP; but this test a) works b) is more generic
4230 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4231 if test -f conf$$.exe; then
4232 # Don't use ln at all; we don't have any links
4233 as_ln_s='cp -p'
4234 else
4235 as_ln_s='ln -s'
4236 fi
4237 elif ln conf$$.file conf$$ 2>/dev/null; then
4238 as_ln_s=ln
4239 else
4240 as_ln_s='cp -p'
4241 fi
4242 rm -f conf$$ conf$$.exe conf$$.file
4243
4244 if mkdir -p . 2>/dev/null; then
4245 as_mkdir_p=:
4246 else
4247 as_mkdir_p=false
4248 fi
4249
4250 as_executable_p="test -f"
4251
4252 # Sed expression to map a string onto a valid CPP name.
4253 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4254
4255 # Sed expression to map a string onto a valid variable name.
4256 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4257
4258
4259 # IFS
4260 # We need space, tab and new line, in precisely that order.
4261 as_nl='
4262 '
4263 IFS=" $as_nl"
4264
4265 # CDPATH.
4266 $as_unset CDPATH
4267
4268 exec 6>&1
4269
4270 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4271 # report actual input values of CONFIG_FILES etc. instead of their
4272 # values after options handling. Logging --version etc. is OK.
4273 exec 5>>config.log
4274 {
4275 echo
4276 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4277 ## Running $as_me. ##
4278 _ASBOX
4279 } >&5
4280 cat >&5 <<_CSEOF
4281
4282 This file was extended by $as_me, which was
4283 generated by GNU Autoconf 2.57. Invocation command line was
4284
4285 CONFIG_FILES = $CONFIG_FILES
4286 CONFIG_HEADERS = $CONFIG_HEADERS
4287 CONFIG_LINKS = $CONFIG_LINKS
4288 CONFIG_COMMANDS = $CONFIG_COMMANDS
4289 $ $0 $@
4290
4291 _CSEOF
4292 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4293 echo >&5
4294 _ACEOF
4295
4296 # Files that config.status was made for.
4297 if test -n "$ac_config_files"; then
4298 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4299 fi
4300
4301 if test -n "$ac_config_headers"; then
4302 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4303 fi
4304
4305 if test -n "$ac_config_links"; then
4306 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4307 fi
4308
4309 if test -n "$ac_config_commands"; then
4310 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4311 fi
4312
4313 cat >>$CONFIG_STATUS <<\_ACEOF
4314
4315 ac_cs_usage="\
4316 \`$as_me' instantiates files from templates according to the
4317 current configuration.
4318
4319 Usage: $0 [OPTIONS] [FILE]...
4320
4321 -h, --help print this help, then exit
4322 -V, --version print version number, then exit
4323 -q, --quiet do not print progress messages
4324 -d, --debug don't remove temporary files
4325 --recheck update $as_me by reconfiguring in the same conditions
4326 --file=FILE[:TEMPLATE]
4327 instantiate the configuration file FILE
4328
4329 Configuration files:
4330 $config_files
4331
4332 Configuration commands:
4333 $config_commands
4334
4335 Report bugs to <[email protected]>."
4336 _ACEOF
4337
4338 cat >>$CONFIG_STATUS <<_ACEOF
4339 ac_cs_version="\\
4340 config.status
4341 configured by $0, generated by GNU Autoconf 2.57,
4342 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4343
4344 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4345 Free Software Foundation, Inc.
4346 This config.status script is free software; the Free Software Foundation
4347 gives unlimited permission to copy, distribute and modify it."
4348 srcdir=$srcdir
4349 INSTALL="$INSTALL"
4350 _ACEOF
4351
4352 cat >>$CONFIG_STATUS <<\_ACEOF
4353 # If no file are specified by the user, then we need to provide default
4354 # value. By we need to know if files were specified by the user.
4355 ac_need_defaults=:
4356 while test $# != 0
4357 do
4358 case $1 in
4359 --*=*)
4360 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4361 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4362 ac_shift=:
4363 ;;
4364 -*)
4365 ac_option=$1
4366 ac_optarg=$2
4367 ac_shift=shift
4368 ;;
4369 *) # This is not an option, so the user has probably given explicit
4370 # arguments.
4371 ac_option=$1
4372 ac_need_defaults=false;;
4373 esac
4374
4375 case $ac_option in
4376 # Handling of the options.
4377 _ACEOF
4378 cat >>$CONFIG_STATUS <<\_ACEOF
4379 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4380 ac_cs_recheck=: ;;
4381 --version | --vers* | -V )
4382 echo "$ac_cs_version"; exit 0 ;;
4383 --he | --h)
4384 # Conflict between --help and --header
4385 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4386 Try \`$0 --help' for more information." >&5
4387 echo "$as_me: error: ambiguous option: $1
4388 Try \`$0 --help' for more information." >&2;}
4389 { (exit 1); exit 1; }; };;
4390 --help | --hel | -h )
4391 echo "$ac_cs_usage"; exit 0 ;;
4392 --debug | --d* | -d )
4393 debug=: ;;
4394 --file | --fil | --fi | --f )
4395 $ac_shift
4396 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4397 ac_need_defaults=false;;
4398 --header | --heade | --head | --hea )
4399 $ac_shift
4400 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4401 ac_need_defaults=false;;
4402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4403 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4404 ac_cs_silent=: ;;
4405
4406 # This is an error.
4407 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4408 Try \`$0 --help' for more information." >&5
4409 echo "$as_me: error: unrecognized option: $1
4410 Try \`$0 --help' for more information." >&2;}
4411 { (exit 1); exit 1; }; } ;;
4412
4413 *) ac_config_targets="$ac_config_targets $1" ;;
4414
4415 esac
4416 shift
4417 done
4418
4419 ac_configure_extra_args=
4420
4421 if $ac_cs_silent; then
4422 exec 6>/dev/null
4423 ac_configure_extra_args="$ac_configure_extra_args --silent"
4424 fi
4425
4426 _ACEOF
4427 cat >>$CONFIG_STATUS <<_ACEOF
4428 if \$ac_cs_recheck; then
4429 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4430 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4431 fi
4432
4433 _ACEOF
4434
4435 cat >>$CONFIG_STATUS <<_ACEOF
4436 #
4437 # INIT-COMMANDS section.
4438 #
4439
4440 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4441
4442 _ACEOF
4443
4444
4445
4446 cat >>$CONFIG_STATUS <<\_ACEOF
4447 for ac_config_target in $ac_config_targets
4448 do
4449 case "$ac_config_target" in
4450 # Handling of arguments.
4451 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4452 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4453 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4454 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4455 { (exit 1); exit 1; }; };;
4456 esac
4457 done
4458
4459 # If the user did not use the arguments to specify the items to instantiate,
4460 # then the envvar interface is used. Set only those that are not.
4461 # We use the long form for the default assignment because of an extremely
4462 # bizarre bug on SunOS 4.1.3.
4463 if $ac_need_defaults; then
4464 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4465 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4466 fi
4467
4468 # Have a temporary directory for convenience. Make it in the build tree
4469 # simply because there is no reason to put it here, and in addition,
4470 # creating and moving files from /tmp can sometimes cause problems.
4471 # Create a temporary directory, and hook for its removal unless debugging.
4472 $debug ||
4473 {
4474 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4475 trap '{ (exit 1); exit 1; }' 1 2 13 15
4476 }
4477
4478 # Create a (secure) tmp directory for tmp files.
4479
4480 {
4481 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4482 test -n "$tmp" && test -d "$tmp"
4483 } ||
4484 {
4485 tmp=./confstat$$-$RANDOM
4486 (umask 077 && mkdir $tmp)
4487 } ||
4488 {
4489 echo "$me: cannot create a temporary directory in ." >&2
4490 { (exit 1); exit 1; }
4491 }
4492
4493 _ACEOF
4494
4495 cat >>$CONFIG_STATUS <<_ACEOF
4496
4497 #
4498 # CONFIG_FILES section.
4499 #
4500
4501 # No need to generate the scripts if there are no CONFIG_FILES.
4502 # This happens for instance when ./config.status config.h
4503 if test -n "\$CONFIG_FILES"; then
4504 # Protect against being on the right side of a sed subst in config.status.
4505 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4506 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4507 s,@SHELL@,$SHELL,;t t
4508 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4509 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4510 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4511 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4512 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4513 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4514 s,@exec_prefix@,$exec_prefix,;t t
4515 s,@prefix@,$prefix,;t t
4516 s,@program_transform_name@,$program_transform_name,;t t
4517 s,@bindir@,$bindir,;t t
4518 s,@sbindir@,$sbindir,;t t
4519 s,@libexecdir@,$libexecdir,;t t
4520 s,@datadir@,$datadir,;t t
4521 s,@sysconfdir@,$sysconfdir,;t t
4522 s,@sharedstatedir@,$sharedstatedir,;t t
4523 s,@localstatedir@,$localstatedir,;t t
4524 s,@libdir@,$libdir,;t t
4525 s,@includedir@,$includedir,;t t
4526 s,@oldincludedir@,$oldincludedir,;t t
4527 s,@infodir@,$infodir,;t t
4528 s,@mandir@,$mandir,;t t
4529 s,@build_alias@,$build_alias,;t t
4530 s,@host_alias@,$host_alias,;t t
4531 s,@target_alias@,$target_alias,;t t
4532 s,@DEFS@,$DEFS,;t t
4533 s,@ECHO_C@,$ECHO_C,;t t
4534 s,@ECHO_N@,$ECHO_N,;t t
4535 s,@ECHO_T@,$ECHO_T,;t t
4536 s,@LIBS@,$LIBS,;t t
4537 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4538 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4539 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4540 s,@CYGPATH_W@,$CYGPATH_W,;t t
4541 s,@PACKAGE@,$PACKAGE,;t t
4542 s,@VERSION@,$VERSION,;t t
4543 s,@ACLOCAL@,$ACLOCAL,;t t
4544 s,@AUTOCONF@,$AUTOCONF,;t t
4545 s,@AUTOMAKE@,$AUTOMAKE,;t t
4546 s,@AUTOHEADER@,$AUTOHEADER,;t t
4547 s,@MAKEINFO@,$MAKEINFO,;t t
4548 s,@AMTAR@,$AMTAR,;t t
4549 s,@install_sh@,$install_sh,;t t
4550 s,@STRIP@,$STRIP,;t t
4551 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4552 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4553 s,@AWK@,$AWK,;t t
4554 s,@SET_MAKE@,$SET_MAKE,;t t
4555 s,@am__leading_dot@,$am__leading_dot,;t t
4556 s,@build@,$build,;t t
4557 s,@build_cpu@,$build_cpu,;t t
4558 s,@build_vendor@,$build_vendor,;t t
4559 s,@build_os@,$build_os,;t t
4560 s,@host@,$host,;t t
4561 s,@host_cpu@,$host_cpu,;t t
4562 s,@host_vendor@,$host_vendor,;t t
4563 s,@host_os@,$host_os,;t t
4564 s,@CC@,$CC,;t t
4565 s,@CFLAGS@,$CFLAGS,;t t
4566 s,@LDFLAGS@,$LDFLAGS,;t t
4567 s,@CPPFLAGS@,$CPPFLAGS,;t t
4568 s,@ac_ct_CC@,$ac_ct_CC,;t t
4569 s,@EXEEXT@,$EXEEXT,;t t
4570 s,@OBJEXT@,$OBJEXT,;t t
4571 s,@DEPDIR@,$DEPDIR,;t t
4572 s,@am__include@,$am__include,;t t
4573 s,@am__quote@,$am__quote,;t t
4574 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4575 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4576 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4577 s,@CCDEPMODE@,$CCDEPMODE,;t t
4578 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4579 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4580 s,@RANLIB@,$RANLIB,;t t
4581 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4582 s,@AR@,$AR,;t t
4583 s,@CPP@,$CPP,;t t
4584 s,@EGREP@,$EGREP,;t t
4585 s,@ADNS_LIBS@,$ADNS_LIBS,;t t
4586 s,@LIBOBJS@,$LIBOBJS,;t t
4587 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4588 CEOF
4589
4590 _ACEOF
4591
4592 cat >>$CONFIG_STATUS <<\_ACEOF
4593 # Split the substitutions into bite-sized pieces for seds with
4594 # small command number limits, like on Digital OSF/1 and HP-UX.
4595 ac_max_sed_lines=48
4596 ac_sed_frag=1 # Number of current file.
4597 ac_beg=1 # First line for current file.
4598 ac_end=$ac_max_sed_lines # Line after last line for current file.
4599 ac_more_lines=:
4600 ac_sed_cmds=
4601 while $ac_more_lines; do
4602 if test $ac_beg -gt 1; then
4603 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4604 else
4605 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4606 fi
4607 if test ! -s $tmp/subs.frag; then
4608 ac_more_lines=false
4609 else
4610 # The purpose of the label and of the branching condition is to
4611 # speed up the sed processing (if there are no `@' at all, there
4612 # is no need to browse any of the substitutions).
4613 # These are the two extra sed commands mentioned above.
4614 (echo ':t
4615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4616 if test -z "$ac_sed_cmds"; then
4617 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4618 else
4619 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4620 fi
4621 ac_sed_frag=`expr $ac_sed_frag + 1`
4622 ac_beg=$ac_end
4623 ac_end=`expr $ac_end + $ac_max_sed_lines`
4624 fi
4625 done
4626 if test -z "$ac_sed_cmds"; then
4627 ac_sed_cmds=cat
4628 fi
4629 fi # test -n "$CONFIG_FILES"
4630
4631 _ACEOF
4632 cat >>$CONFIG_STATUS <<\_ACEOF
4633 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4634 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4635 case $ac_file in
4636 - | *:- | *:-:* ) # input from stdin
4637 cat >$tmp/stdin
4638 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4639 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4640 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4641 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4642 * ) ac_file_in=$ac_file.in ;;
4643 esac
4644
4645 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4646 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4648 X"$ac_file" : 'X\(//\)[^/]' \| \
4649 X"$ac_file" : 'X\(//\)$' \| \
4650 X"$ac_file" : 'X\(/\)' \| \
4651 . : '\(.\)' 2>/dev/null ||
4652 echo X"$ac_file" |
4653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4655 /^X\(\/\/\)$/{ s//\1/; q; }
4656 /^X\(\/\).*/{ s//\1/; q; }
4657 s/.*/./; q'`
4658 { if $as_mkdir_p; then
4659 mkdir -p "$ac_dir"
4660 else
4661 as_dir="$ac_dir"
4662 as_dirs=
4663 while test ! -d "$as_dir"; do
4664 as_dirs="$as_dir $as_dirs"
4665 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4667 X"$as_dir" : 'X\(//\)[^/]' \| \
4668 X"$as_dir" : 'X\(//\)$' \| \
4669 X"$as_dir" : 'X\(/\)' \| \
4670 . : '\(.\)' 2>/dev/null ||
4671 echo X"$as_dir" |
4672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4673 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4674 /^X\(\/\/\)$/{ s//\1/; q; }
4675 /^X\(\/\).*/{ s//\1/; q; }
4676 s/.*/./; q'`
4677 done
4678 test ! -n "$as_dirs" || mkdir $as_dirs
4679 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4680 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4681 { (exit 1); exit 1; }; }; }
4682
4683 ac_builddir=.
4684
4685 if test "$ac_dir" != .; then
4686 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4687 # A "../" for each directory in $ac_dir_suffix.
4688 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4689 else
4690 ac_dir_suffix= ac_top_builddir=
4691 fi
4692
4693 case $srcdir in
4694 .) # No --srcdir option. We are building in place.
4695 ac_srcdir=.
4696 if test -z "$ac_top_builddir"; then
4697 ac_top_srcdir=.
4698 else
4699 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4700 fi ;;
4701 [\\/]* | ?:[\\/]* ) # Absolute path.
4702 ac_srcdir=$srcdir$ac_dir_suffix;
4703 ac_top_srcdir=$srcdir ;;
4704 *) # Relative path.
4705 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4706 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4707 esac
4708 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4709 # absolute.
4710 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4711 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4712 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4713 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4714
4715
4716 case $INSTALL in
4717 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4718 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4719 esac
4720
4721 if test x"$ac_file" != x-; then
4722 { echo "$as_me:$LINENO: creating $ac_file" >&5
4723 echo "$as_me: creating $ac_file" >&6;}
4724 rm -f "$ac_file"
4725 fi
4726 # Let's still pretend it is `configure' which instantiates (i.e., don't
4727 # use $as_me), people would be surprised to read:
4728 # /* config.h. Generated by config.status. */
4729 if test x"$ac_file" = x-; then
4730 configure_input=
4731 else
4732 configure_input="$ac_file. "
4733 fi
4734 configure_input=$configure_input"Generated from `echo $ac_file_in |
4735 sed 's,.*/,,'` by configure."
4736
4737 # First look for the input files in the build tree, otherwise in the
4738 # src tree.
4739 ac_file_inputs=`IFS=:
4740 for f in $ac_file_in; do
4741 case $f in
4742 -) echo $tmp/stdin ;;
4743 [\\/$]*)
4744 # Absolute (can't be DOS-style, as IFS=:)
4745 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4746 echo "$as_me: error: cannot find input file: $f" >&2;}
4747 { (exit 1); exit 1; }; }
4748 echo $f;;
4749 *) # Relative
4750 if test -f "$f"; then
4751 # Build tree
4752 echo $f
4753 elif test -f "$srcdir/$f"; then
4754 # Source tree
4755 echo $srcdir/$f
4756 else
4757 # /dev/null tree
4758 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4759 echo "$as_me: error: cannot find input file: $f" >&2;}
4760 { (exit 1); exit 1; }; }
4761 fi;;
4762 esac
4763 done` || { (exit 1); exit 1; }
4764 _ACEOF
4765 cat >>$CONFIG_STATUS <<_ACEOF
4766 sed "$ac_vpsub
4767 $extrasub
4768 _ACEOF
4769 cat >>$CONFIG_STATUS <<\_ACEOF
4770 :t
4771 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4772 s,@configure_input@,$configure_input,;t t
4773 s,@srcdir@,$ac_srcdir,;t t
4774 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4775 s,@top_srcdir@,$ac_top_srcdir,;t t
4776 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4777 s,@builddir@,$ac_builddir,;t t
4778 s,@abs_builddir@,$ac_abs_builddir,;t t
4779 s,@top_builddir@,$ac_top_builddir,;t t
4780 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4781 s,@INSTALL@,$ac_INSTALL,;t t
4782 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4783 rm -f $tmp/stdin
4784 if test x"$ac_file" != x-; then
4785 mv $tmp/out $ac_file
4786 else
4787 cat $tmp/out
4788 rm -f $tmp/out
4789 fi
4790
4791 done
4792 _ACEOF
4793 cat >>$CONFIG_STATUS <<\_ACEOF
4794
4795 #
4796 # CONFIG_COMMANDS section.
4797 #
4798 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4799 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4800 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4801 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4802 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4803 X"$ac_dest" : 'X\(//\)[^/]' \| \
4804 X"$ac_dest" : 'X\(//\)$' \| \
4805 X"$ac_dest" : 'X\(/\)' \| \
4806 . : '\(.\)' 2>/dev/null ||
4807 echo X"$ac_dest" |
4808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4810 /^X\(\/\/\)$/{ s//\1/; q; }
4811 /^X\(\/\).*/{ s//\1/; q; }
4812 s/.*/./; q'`
4813 ac_builddir=.
4814
4815 if test "$ac_dir" != .; then
4816 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4817 # A "../" for each directory in $ac_dir_suffix.
4818 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4819 else
4820 ac_dir_suffix= ac_top_builddir=
4821 fi
4822
4823 case $srcdir in
4824 .) # No --srcdir option. We are building in place.
4825 ac_srcdir=.
4826 if test -z "$ac_top_builddir"; then
4827 ac_top_srcdir=.
4828 else
4829 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4830 fi ;;
4831 [\\/]* | ?:[\\/]* ) # Absolute path.
4832 ac_srcdir=$srcdir$ac_dir_suffix;
4833 ac_top_srcdir=$srcdir ;;
4834 *) # Relative path.
4835 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4836 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4837 esac
4838 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4839 # absolute.
4840 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4841 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4842 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4843 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4844
4845
4846 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4847 echo "$as_me: executing $ac_dest commands" >&6;}
4848 case $ac_dest in
4849 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4850 # Strip MF so we end up with the name of the file.
4851 mf=`echo "$mf" | sed -e 's/:.*$//'`
4852 # Check whether this is an Automake generated Makefile or not.
4853 # We used to match only the files named `Makefile.in', but
4854 # some people rename them; so instead we look at the file content.
4855 # Grep'ing the first line is not enough: some people post-process
4856 # each Makefile.in and add a new line on top of each file to say so.
4857 # So let's grep whole file.
4858 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4859 dirpart=`(dirname "$mf") 2>/dev/null ||
4860 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4861 X"$mf" : 'X\(//\)[^/]' \| \
4862 X"$mf" : 'X\(//\)$' \| \
4863 X"$mf" : 'X\(/\)' \| \
4864 . : '\(.\)' 2>/dev/null ||
4865 echo X"$mf" |
4866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4868 /^X\(\/\/\)$/{ s//\1/; q; }
4869 /^X\(\/\).*/{ s//\1/; q; }
4870 s/.*/./; q'`
4871 else
4872 continue
4873 fi
4874 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4875 # Extract the definition of DEP_FILES from the Makefile without
4876 # running `make'.
4877 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4878 test -z "$DEPDIR" && continue
4879 # When using ansi2knr, U may be empty or an underscore; expand it
4880 U=`sed -n -e '/^U = / s///p' < "$mf"`
4881 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4882 # We invoke sed twice because it is the simplest approach to
4883 # changing $(DEPDIR) to its actual value in the expansion.
4884 for file in `sed -n -e '
4885 /^DEP_FILES = .*\\\\$/ {
4886 s/^DEP_FILES = //
4887 :loop
4888 s/\\\\$//
4889 p
4890 n
4891 /\\\\$/ b loop
4892 p
4893 }
4894 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4895 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4896 # Make sure the directory exists.
4897 test -f "$dirpart/$file" && continue
4898 fdir=`(dirname "$file") 2>/dev/null ||
4899 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4900 X"$file" : 'X\(//\)[^/]' \| \
4901 X"$file" : 'X\(//\)$' \| \
4902 X"$file" : 'X\(/\)' \| \
4903 . : '\(.\)' 2>/dev/null ||
4904 echo X"$file" |
4905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4907 /^X\(\/\/\)$/{ s//\1/; q; }
4908 /^X\(\/\).*/{ s//\1/; q; }
4909 s/.*/./; q'`
4910 { if $as_mkdir_p; then
4911 mkdir -p $dirpart/$fdir
4912 else
4913 as_dir=$dirpart/$fdir
4914 as_dirs=
4915 while test ! -d "$as_dir"; do
4916 as_dirs="$as_dir $as_dirs"
4917 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4919 X"$as_dir" : 'X\(//\)[^/]' \| \
4920 X"$as_dir" : 'X\(//\)$' \| \
4921 X"$as_dir" : 'X\(/\)' \| \
4922 . : '\(.\)' 2>/dev/null ||
4923 echo X"$as_dir" |
4924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4925 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4926 /^X\(\/\/\)$/{ s//\1/; q; }
4927 /^X\(\/\).*/{ s//\1/; q; }
4928 s/.*/./; q'`
4929 done
4930 test ! -n "$as_dirs" || mkdir $as_dirs
4931 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4932 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4933 { (exit 1); exit 1; }; }; }
4934
4935 # echo "creating $dirpart/$file"
4936 echo '# dummy' > "$dirpart/$file"
4937 done
4938 done
4939 ;;
4940 esac
4941 done
4942 _ACEOF
4943
4944 cat >>$CONFIG_STATUS <<\_ACEOF
4945
4946 { (exit 0); exit 0; }
4947 _ACEOF
4948 chmod +x $CONFIG_STATUS
4949 ac_clean_files=$ac_clean_files_save
4950
4951
4952 # configure is writing to config.log, and then calls config.status.
4953 # config.status does its own redirection, appending to config.log.
4954 # Unfortunately, on DOS this fails, as config.log is still kept open
4955 # by configure, so config.status won't be able to write to it; its
4956 # output is simply discarded. So we exec the FD to /dev/null,
4957 # effectively closing config.log, so it can be properly (re)opened and
4958 # appended to by config.status. When coming back to configure, we
4959 # need to make the FD available again.
4960 if test "$no_create" != yes; then
4961 ac_cs_success=:
4962 ac_config_status_args=
4963 test "$silent" = yes &&
4964 ac_config_status_args="$ac_config_status_args --quiet"
4965 exec 5>/dev/null
4966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4967 exec 5>>config.log
4968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4969 # would make configure fail if this is the last instruction.
4970 $ac_cs_success || { (exit 1); exit 1; }
4971 fi
4972