/[resiprocate]/main/contrib/ares/configure
ViewVC logotype

Contents of /main/contrib/ares/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5295 - (show annotations) (download)
Mon Aug 22 00:30:05 2005 UTC (14 years, 3 months ago) by jason
File size: 137021 byte(s)
merged 5270:HEAD from b-directory-reorg
1 #! /bin/sh
2 # From configure.ac Revision:.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
5 #
6 # Copyright (C) 2003 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 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
47 else
48 $as_unset $as_var
49 fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54 as_expr=expr
55 else
56 as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60 as_basename=basename
61 else
62 as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
86
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
91 chmod +x conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93 PATH_SEPARATOR=';'
94 else
95 PATH_SEPARATOR=:
96 fi
97 rm -f conf$$.sh
98 fi
99
100
101 as_lineno_1=$LINENO
102 as_lineno_2=$LINENO
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
107 # relative or not.
108 case $0 in
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 for as_dir in $PATH
112 do
113 IFS=$as_save_IFS
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
124 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 do
134 IFS=$as_save_IFS
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
138 /*)
139 if ("$as_dir/$as_base" -c '
140 as_lineno_1=$LINENO
141 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
156
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
166 sed '
167 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
174 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
178
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
183 # Exit status is that of the last command.
184 exit
185 }
186
187
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T=' ' ;;
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
196 as_expr=expr
197 else
198 as_expr=false
199 fi
200
201 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
208 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213 as_ln_s=ln
214 else
215 as_ln_s='cp -p'
216 fi
217 rm -f conf$$ conf$$.exe conf$$.file
218
219 if mkdir -p . 2>/dev/null; then
220 as_mkdir_p=:
221 else
222 test -d ./-p && rmdir ./-p
223 as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME=
270 PACKAGE_TARNAME=
271 PACKAGE_VERSION=
272 PACKAGE_STRING=
273 PACKAGE_BUGREPORT=
274
275 ac_unique_file="ares_init.c"
276 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 ARES_VERSION 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
278
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
298
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
316
317 ac_prev=
318 for ac_option
319 do
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
323 ac_prev=
324 continue
325 fi
326
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329 # Accept the important Cygnus configure options, so we can diagnose typos.
330
331 case $ac_option in
332
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
337
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
342
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
349
350 --config-cache | -C)
351 cache_file=config.cache ;;
352
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
357 datadir=$ac_optarg ;;
358
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
367
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
380
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
389
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
393
394 -help | --help | --hel | --he | -h)
395 ac_init_help=long ;;
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
400
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
405
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
412
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
417
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
422
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
429
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
438
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
443
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
447
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
451
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 no_recursion=yes ;;
455
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
464
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
469
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
476
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
483
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
500
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
504
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 ac_prev=sbindir ;;
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 | --sbi=* | --sb=*)
509 sbindir=$ac_optarg ;;
510
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
514 | --sha | --sh)
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 | --sha=* | --sh=*)
520 sharedstatedir=$ac_optarg ;;
521
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
526
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
531
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
538
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
543
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
546
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
549
550 -with-* | --with-*)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
562
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
571
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
575
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
582
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
589
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
593 ;;
594
595 *=*)
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
603 export $ac_envvar ;;
604
605 *)
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611 ;;
612
613 esac
614 done
615
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
620 fi
621
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
624 do
625 eval ac_val=$`echo $ac_var`
626 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
630 esac
631 done
632
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
636 do
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
643 done
644
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
651
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
659 cross_compiling=yes
660 fi
661 fi
662
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666 test "$silent" = yes && exec 6>/dev/null
667
668
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
685 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
687 srcdir=..
688 fi
689 else
690 ac_srcdir_defaulted=no
691 fi
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
699 fi
700 fi
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733
734 #
735 # Report the --help message.
736 #
737 if test "$ac_init_help" = "long"; then
738 # Omit some internal or obsolete options to make the list less imposing.
739 # This message is too long to be a string in the A/UX 3.1 sh.
740 cat <<_ACEOF
741 \`configure' configures this package to adapt to many kinds of systems.
742
743 Usage: $0 [OPTION]... [VAR=VALUE]...
744
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as
746 VAR=VALUE. See below for descriptions of some of the useful variables.
747
748 Defaults for the options are specified in brackets.
749
750 Configuration:
751 -h, --help display this help and exit
752 --help=short display options specific to this package
753 --help=recursive display the short help of all the included packages
754 -V, --version display version information and exit
755 -q, --quiet, --silent do not print \`checking...' messages
756 --cache-file=FILE cache test results in FILE [disabled]
757 -C, --config-cache alias for \`--cache-file=config.cache'
758 -n, --no-create do not create output files
759 --srcdir=DIR find the sources in DIR [configure dir or \`..']
760
761 _ACEOF
762
763 cat <<_ACEOF
764 Installation directories:
765 --prefix=PREFIX install architecture-independent files in PREFIX
766 [$ac_default_prefix]
767 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
768 [PREFIX]
769
770 By default, \`make install' will install all the files in
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773 for instance \`--prefix=\$HOME'.
774
775 For better control, use the options below.
776
777 Fine tuning of the installation directories:
778 --bindir=DIR user executables [EPREFIX/bin]
779 --sbindir=DIR system admin executables [EPREFIX/sbin]
780 --libexecdir=DIR program executables [EPREFIX/libexec]
781 --datadir=DIR read-only architecture-independent data [PREFIX/share]
782 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
783 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
784 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
785 --libdir=DIR object code libraries [EPREFIX/lib]
786 --includedir=DIR C header files [PREFIX/include]
787 --oldincludedir=DIR C header files for non-gcc [/usr/include]
788 --infodir=DIR info documentation [PREFIX/info]
789 --mandir=DIR man documentation [PREFIX/man]
790 _ACEOF
791
792 cat <<\_ACEOF
793
794 Program names:
795 --program-prefix=PREFIX prepend PREFIX to installed program names
796 --program-suffix=SUFFIX append SUFFIX to installed program names
797 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
798
799 System types:
800 --build=BUILD configure for building on BUILD [guessed]
801 --host=HOST cross-compile to build programs to run on HOST [BUILD]
802 _ACEOF
803 fi
804
805 if test -n "$ac_init_help"; then
806
807 cat <<\_ACEOF
808
809 Optional Features:
810 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
811 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
812 --disable-dependency-tracking Speeds up one-time builds
813 --enable-dependency-tracking Do not reject slow dependency extractors
814 --enable-maintainer-mode enable make rules and dependencies not useful
815 (and sometimes confusing) to the casual installer
816
817 Optional Packages:
818 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
819 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
820 --with-ipv6 enable ipv6
821
822 Some influential environment variables:
823 CC C compiler command
824 CFLAGS C compiler flags
825 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
826 nonstandard directory <lib dir>
827 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
828 headers in a nonstandard directory <include dir>
829
830 Use these variables to override the choices made by `configure' or to help
831 it to find libraries and programs with nonstandard names/locations.
832
833 _ACEOF
834 fi
835
836 if test "$ac_init_help" = "recursive"; then
837 # If there are subdirs, report their specific --help.
838 ac_popdir=`pwd`
839 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
840 test -d $ac_dir || continue
841 ac_builddir=.
842
843 if test "$ac_dir" != .; then
844 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
845 # A "../" for each directory in $ac_dir_suffix.
846 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
847 else
848 ac_dir_suffix= ac_top_builddir=
849 fi
850
851 case $srcdir in
852 .) # No --srcdir option. We are building in place.
853 ac_srcdir=.
854 if test -z "$ac_top_builddir"; then
855 ac_top_srcdir=.
856 else
857 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
858 fi ;;
859 [\\/]* | ?:[\\/]* ) # Absolute path.
860 ac_srcdir=$srcdir$ac_dir_suffix;
861 ac_top_srcdir=$srcdir ;;
862 *) # Relative path.
863 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
864 ac_top_srcdir=$ac_top_builddir$srcdir ;;
865 esac
866
867 # Do not use `cd foo && pwd` to compute absolute paths, because
868 # the directories may not exist.
869 case `pwd` in
870 .) ac_abs_builddir="$ac_dir";;
871 *)
872 case "$ac_dir" in
873 .) ac_abs_builddir=`pwd`;;
874 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
875 *) ac_abs_builddir=`pwd`/"$ac_dir";;
876 esac;;
877 esac
878 case $ac_abs_builddir in
879 .) ac_abs_top_builddir=${ac_top_builddir}.;;
880 *)
881 case ${ac_top_builddir}. in
882 .) ac_abs_top_builddir=$ac_abs_builddir;;
883 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
884 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
885 esac;;
886 esac
887 case $ac_abs_builddir in
888 .) ac_abs_srcdir=$ac_srcdir;;
889 *)
890 case $ac_srcdir in
891 .) ac_abs_srcdir=$ac_abs_builddir;;
892 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
893 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
894 esac;;
895 esac
896 case $ac_abs_builddir in
897 .) ac_abs_top_srcdir=$ac_top_srcdir;;
898 *)
899 case $ac_top_srcdir in
900 .) ac_abs_top_srcdir=$ac_abs_builddir;;
901 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
902 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
903 esac;;
904 esac
905
906 cd $ac_dir
907 # Check for guested configure; otherwise get Cygnus style configure.
908 if test -f $ac_srcdir/configure.gnu; then
909 echo
910 $SHELL $ac_srcdir/configure.gnu --help=recursive
911 elif test -f $ac_srcdir/configure; then
912 echo
913 $SHELL $ac_srcdir/configure --help=recursive
914 elif test -f $ac_srcdir/configure.ac ||
915 test -f $ac_srcdir/configure.in; then
916 echo
917 $ac_configure --help
918 else
919 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
920 fi
921 cd $ac_popdir
922 done
923 fi
924
925 test -n "$ac_init_help" && exit 0
926 if $ac_init_version; then
927 cat <<\_ACEOF
928
929 Copyright (C) 2003 Free Software Foundation, Inc.
930 This configure script is free software; the Free Software Foundation
931 gives unlimited permission to copy, distribute and modify it.
932 _ACEOF
933 exit 0
934 fi
935 exec 5>config.log
936 cat >&5 <<_ACEOF
937 This file contains any messages produced by compilers while
938 running configure, to aid debugging if configure makes a mistake.
939
940 It was created by $as_me, which was
941 generated by GNU Autoconf 2.59. Invocation command line was
942
943 $ $0 $@
944
945 _ACEOF
946 {
947 cat <<_ASUNAME
948 ## --------- ##
949 ## Platform. ##
950 ## --------- ##
951
952 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
953 uname -m = `(uname -m) 2>/dev/null || echo unknown`
954 uname -r = `(uname -r) 2>/dev/null || echo unknown`
955 uname -s = `(uname -s) 2>/dev/null || echo unknown`
956 uname -v = `(uname -v) 2>/dev/null || echo unknown`
957
958 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
959 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
960
961 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
962 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
963 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
964 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
965 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
966 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
967 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968
969 _ASUNAME
970
971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972 for as_dir in $PATH
973 do
974 IFS=$as_save_IFS
975 test -z "$as_dir" && as_dir=.
976 echo "PATH: $as_dir"
977 done
978
979 } >&5
980
981 cat >&5 <<_ACEOF
982
983
984 ## ----------- ##
985 ## Core tests. ##
986 ## ----------- ##
987
988 _ACEOF
989
990
991 # Keep a trace of the command line.
992 # Strip out --no-create and --no-recursion so they do not pile up.
993 # Strip out --silent because we don't want to record it for future runs.
994 # Also quote any args containing shell meta-characters.
995 # Make two passes to allow for proper duplicate-argument suppression.
996 ac_configure_args=
997 ac_configure_args0=
998 ac_configure_args1=
999 ac_sep=
1000 ac_must_keep_next=false
1001 for ac_pass in 1 2
1002 do
1003 for ac_arg
1004 do
1005 case $ac_arg in
1006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1009 continue ;;
1010 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1011 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1012 esac
1013 case $ac_pass in
1014 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1015 2)
1016 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1017 if test $ac_must_keep_next = true; then
1018 ac_must_keep_next=false # Got value, back to normal.
1019 else
1020 case $ac_arg in
1021 *=* | --config-cache | -C | -disable-* | --disable-* \
1022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1024 | -with-* | --with-* | -without-* | --without-* | --x)
1025 case "$ac_configure_args0 " in
1026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1027 esac
1028 ;;
1029 -* ) ac_must_keep_next=true ;;
1030 esac
1031 fi
1032 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1033 # Get rid of the leading space.
1034 ac_sep=" "
1035 ;;
1036 esac
1037 done
1038 done
1039 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1040 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1041
1042 # When interrupted or exit'd, cleanup temporary files, and complete
1043 # config.log. We remove comments because anyway the quotes in there
1044 # would cause problems or look ugly.
1045 # WARNING: Be sure not to use single quotes in there, as some shells,
1046 # such as our DU 5.0 friend, will then `close' the trap.
1047 trap 'exit_status=$?
1048 # Save into config.log some information that might help in debugging.
1049 {
1050 echo
1051
1052 cat <<\_ASBOX
1053 ## ---------------- ##
1054 ## Cache variables. ##
1055 ## ---------------- ##
1056 _ASBOX
1057 echo
1058 # The following way of writing the cache mishandles newlines in values,
1059 {
1060 (set) 2>&1 |
1061 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1062 *ac_space=\ *)
1063 sed -n \
1064 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1066 ;;
1067 *)
1068 sed -n \
1069 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070 ;;
1071 esac;
1072 }
1073 echo
1074
1075 cat <<\_ASBOX
1076 ## ----------------- ##
1077 ## Output variables. ##
1078 ## ----------------- ##
1079 _ASBOX
1080 echo
1081 for ac_var in $ac_subst_vars
1082 do
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1085 done | sort
1086 echo
1087
1088 if test -n "$ac_subst_files"; then
1089 cat <<\_ASBOX
1090 ## ------------- ##
1091 ## Output files. ##
1092 ## ------------- ##
1093 _ASBOX
1094 echo
1095 for ac_var in $ac_subst_files
1096 do
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1099 done | sort
1100 echo
1101 fi
1102
1103 if test -s confdefs.h; then
1104 cat <<\_ASBOX
1105 ## ----------- ##
1106 ## confdefs.h. ##
1107 ## ----------- ##
1108 _ASBOX
1109 echo
1110 sed "/^$/d" confdefs.h | sort
1111 echo
1112 fi
1113 test "$ac_signal" != 0 &&
1114 echo "$as_me: caught signal $ac_signal"
1115 echo "$as_me: exit $exit_status"
1116 } >&5
1117 rm -f core *.core &&
1118 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1119 exit $exit_status
1120 ' 0
1121 for ac_signal in 1 2 13 15; do
1122 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1123 done
1124 ac_signal=0
1125
1126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1127 rm -rf conftest* confdefs.h
1128 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1129 echo >confdefs.h
1130
1131 # Predefined preprocessor variables.
1132
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_NAME "$PACKAGE_NAME"
1135 _ACEOF
1136
1137
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1140 _ACEOF
1141
1142
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1145 _ACEOF
1146
1147
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_STRING "$PACKAGE_STRING"
1150 _ACEOF
1151
1152
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1155 _ACEOF
1156
1157
1158 # Let the site file select an alternate cache file if it wants to.
1159 # Prefer explicitly selected file to automatically selected ones.
1160 if test -z "$CONFIG_SITE"; then
1161 if test "x$prefix" != xNONE; then
1162 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1163 else
1164 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1165 fi
1166 fi
1167 for ac_site_file in $CONFIG_SITE; do
1168 if test -r "$ac_site_file"; then
1169 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1170 echo "$as_me: loading site script $ac_site_file" >&6;}
1171 sed 's/^/| /' "$ac_site_file" >&5
1172 . "$ac_site_file"
1173 fi
1174 done
1175
1176 if test -r "$cache_file"; then
1177 # Some versions of bash will fail to source /dev/null (special
1178 # files actually), so we avoid doing that.
1179 if test -f "$cache_file"; then
1180 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1181 echo "$as_me: loading cache $cache_file" >&6;}
1182 case $cache_file in
1183 [\\/]* | ?:[\\/]* ) . $cache_file;;
1184 *) . ./$cache_file;;
1185 esac
1186 fi
1187 else
1188 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1189 echo "$as_me: creating cache $cache_file" >&6;}
1190 >$cache_file
1191 fi
1192
1193 # Check that the precious variables saved in the cache have kept the same
1194 # value.
1195 ac_cache_corrupted=false
1196 for ac_var in `(set) 2>&1 |
1197 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1198 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1199 eval ac_new_set=\$ac_env_${ac_var}_set
1200 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1201 eval ac_new_val="\$ac_env_${ac_var}_value"
1202 case $ac_old_set,$ac_new_set in
1203 set,)
1204 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1205 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1206 ac_cache_corrupted=: ;;
1207 ,set)
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1210 ac_cache_corrupted=: ;;
1211 ,);;
1212 *)
1213 if test "x$ac_old_val" != "x$ac_new_val"; then
1214 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1215 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1216 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1217 echo "$as_me: former value: $ac_old_val" >&2;}
1218 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1219 echo "$as_me: current value: $ac_new_val" >&2;}
1220 ac_cache_corrupted=:
1221 fi;;
1222 esac
1223 # Pass precious variables to config.status.
1224 if test "$ac_new_set" = set; then
1225 case $ac_new_val in
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 *) ac_arg=$ac_var=$ac_new_val ;;
1229 esac
1230 case " $ac_configure_args " in
1231 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1232 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1233 esac
1234 fi
1235 done
1236 if $ac_cache_corrupted; then
1237 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1238 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1239 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1240 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1241 { (exit 1); exit 1; }; }
1242 fi
1243
1244 ac_ext=c
1245 ac_cpp='$CPP $CPPFLAGS'
1246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269 PACKAGE=ares
1270 VERSION=1.1.2
1271 ARES_VERSION=${VERSION}
1272
1273 echo "$as_me:$LINENO: result: Configuring ${PACKAGE} ${VERSION}" >&5
1274 echo "${ECHO_T}Configuring ${PACKAGE} ${VERSION}" >&6
1275
1276
1277 am__api_version="1.7"
1278 ac_aux_dir=
1279 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1280 if test -f $ac_dir/install-sh; then
1281 ac_aux_dir=$ac_dir
1282 ac_install_sh="$ac_aux_dir/install-sh -c"
1283 break
1284 elif test -f $ac_dir/install.sh; then
1285 ac_aux_dir=$ac_dir
1286 ac_install_sh="$ac_aux_dir/install.sh -c"
1287 break
1288 elif test -f $ac_dir/shtool; then
1289 ac_aux_dir=$ac_dir
1290 ac_install_sh="$ac_aux_dir/shtool install -c"
1291 break
1292 fi
1293 done
1294 if test -z "$ac_aux_dir"; then
1295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1296 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1297 { (exit 1); exit 1; }; }
1298 fi
1299 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1300 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1301 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302
1303 # Find a good install program. We prefer a C program (faster),
1304 # so one script is as good as another. But avoid the broken or
1305 # incompatible versions:
1306 # SysV /etc/install, /usr/sbin/install
1307 # SunOS /usr/etc/install
1308 # IRIX /sbin/install
1309 # AIX /bin/install
1310 # AmigaOS /C/install, which installs bootblocks on floppy discs
1311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1314 # OS/2's system install, which has a completely different semantic
1315 # ./install, which can be erroneously created by make from ./install.sh.
1316 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1317 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1318 if test -z "$INSTALL"; then
1319 if test "${ac_cv_path_install+set}" = set; then
1320 echo $ECHO_N "(cached) $ECHO_C" >&6
1321 else
1322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1323 for as_dir in $PATH
1324 do
1325 IFS=$as_save_IFS
1326 test -z "$as_dir" && as_dir=.
1327 # Account for people who put trailing slashes in PATH elements.
1328 case $as_dir/ in
1329 ./ | .// | /cC/* | \
1330 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1331 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1332 /usr/ucb/* ) ;;
1333 *)
1334 # OSF1 and SCO ODT 3.0 have their own names for install.
1335 # Don't use installbsd from OSF since it installs stuff as root
1336 # by default.
1337 for ac_prog in ginstall scoinst install; do
1338 for ac_exec_ext in '' $ac_executable_extensions; do
1339 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1340 if test $ac_prog = install &&
1341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1342 # AIX install. It has an incompatible calling convention.
1343 :
1344 elif test $ac_prog = install &&
1345 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1346 # program-specific install script used by HP pwplus--don't use.
1347 :
1348 else
1349 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1350 break 3
1351 fi
1352 fi
1353 done
1354 done
1355 ;;
1356 esac
1357 done
1358
1359
1360 fi
1361 if test "${ac_cv_path_install+set}" = set; then
1362 INSTALL=$ac_cv_path_install
1363 else
1364 # As a last resort, use the slow shell script. We don't cache a
1365 # path for INSTALL within a source directory, because that will
1366 # break other packages using the cache if that directory is
1367 # removed, or if the path is relative.
1368 INSTALL=$ac_install_sh
1369 fi
1370 fi
1371 echo "$as_me:$LINENO: result: $INSTALL" >&5
1372 echo "${ECHO_T}$INSTALL" >&6
1373
1374 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1375 # It thinks the first close brace ends the variable substitution.
1376 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1377
1378 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1379
1380 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1381
1382 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1383 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1384 # Just in case
1385 sleep 1
1386 echo timestamp > conftest.file
1387 # Do `set' in a subshell so we don't clobber the current shell's
1388 # arguments. Must try -L first in case configure is actually a
1389 # symlink; some systems play weird games with the mod time of symlinks
1390 # (eg FreeBSD returns the mod time of the symlink's containing
1391 # directory).
1392 if (
1393 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1394 if test "$*" = "X"; then
1395 # -L didn't work.
1396 set X `ls -t $srcdir/configure conftest.file`
1397 fi
1398 rm -f conftest.file
1399 if test "$*" != "X $srcdir/configure conftest.file" \
1400 && test "$*" != "X conftest.file $srcdir/configure"; then
1401
1402 # If neither matched, then we have a broken ls. This can happen
1403 # if, for instance, CONFIG_SHELL is bash and it inherits a
1404 # broken ls alias from the environment. This has actually
1405 # happened. Such a system could not be considered "sane".
1406 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1407 alias in your environment" >&5
1408 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1409 alias in your environment" >&2;}
1410 { (exit 1); exit 1; }; }
1411 fi
1412
1413 test "$2" = conftest.file
1414 )
1415 then
1416 # Ok.
1417 :
1418 else
1419 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1420 Check your system clock" >&5
1421 echo "$as_me: error: newly created file is older than distributed files!
1422 Check your system clock" >&2;}
1423 { (exit 1); exit 1; }; }
1424 fi
1425 echo "$as_me:$LINENO: result: yes" >&5
1426 echo "${ECHO_T}yes" >&6
1427 test "$program_prefix" != NONE &&
1428 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1429 # Use a double $ so make ignores it.
1430 test "$program_suffix" != NONE &&
1431 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1432 # Double any \ or $. echo might interpret backslashes.
1433 # By default was `s,x,x', remove it if useless.
1434 cat <<\_ACEOF >conftest.sed
1435 s/[\\$]/&&/g;s/;s,x,x,$//
1436 _ACEOF
1437 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1438 rm conftest.sed
1439
1440
1441 # expand $ac_aux_dir to an absolute path
1442 am_aux_dir=`cd $ac_aux_dir && pwd`
1443
1444 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1445 # Use eval to expand $SHELL
1446 if eval "$MISSING --run true"; then
1447 am_missing_run="$MISSING --run "
1448 else
1449 am_missing_run=
1450 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1451 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1452 fi
1453
1454 for ac_prog in gawk mawk nawk awk
1455 do
1456 # Extract the first word of "$ac_prog", so it can be a program name with args.
1457 set dummy $ac_prog; ac_word=$2
1458 echo "$as_me:$LINENO: checking for $ac_word" >&5
1459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460 if test "${ac_cv_prog_AWK+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 else
1463 if test -n "$AWK"; then
1464 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1465 else
1466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467 for as_dir in $PATH
1468 do
1469 IFS=$as_save_IFS
1470 test -z "$as_dir" && as_dir=.
1471 for ac_exec_ext in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1473 ac_cv_prog_AWK="$ac_prog"
1474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1475 break 2
1476 fi
1477 done
1478 done
1479
1480 fi
1481 fi
1482 AWK=$ac_cv_prog_AWK
1483 if test -n "$AWK"; then
1484 echo "$as_me:$LINENO: result: $AWK" >&5
1485 echo "${ECHO_T}$AWK" >&6
1486 else
1487 echo "$as_me:$LINENO: result: no" >&5
1488 echo "${ECHO_T}no" >&6
1489 fi
1490
1491 test -n "$AWK" && break
1492 done
1493
1494 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1497 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500 cat >conftest.make <<\_ACEOF
1501 all:
1502 @echo 'ac_maketemp="$(MAKE)"'
1503 _ACEOF
1504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506 if test -n "$ac_maketemp"; then
1507 eval ac_cv_prog_make_${ac_make}_set=yes
1508 else
1509 eval ac_cv_prog_make_${ac_make}_set=no
1510 fi
1511 rm -f conftest.make
1512 fi
1513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1516 SET_MAKE=
1517 else
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1520 SET_MAKE="MAKE=${MAKE-make}"
1521 fi
1522
1523 rm -rf .tst 2>/dev/null
1524 mkdir .tst 2>/dev/null
1525 if test -d .tst; then
1526 am__leading_dot=.
1527 else
1528 am__leading_dot=_
1529 fi
1530 rmdir .tst 2>/dev/null
1531
1532 # test to see if srcdir already configured
1533 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1534 test -f $srcdir/config.status; then
1535 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1536 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1537 { (exit 1); exit 1; }; }
1538 fi
1539
1540 # test whether we have cygpath
1541 if test -z "$CYGPATH_W"; then
1542 if (cygpath --version) >/dev/null 2>/dev/null; then
1543 CYGPATH_W='cygpath -w'
1544 else
1545 CYGPATH_W=echo
1546 fi
1547 fi
1548
1549
1550 # Define the identity of the package.
1551 PACKAGE=${PACKAGE}
1552 VERSION=${VERSION}
1553
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE "$PACKAGE"
1557 _ACEOF
1558
1559
1560 cat >>confdefs.h <<_ACEOF
1561 #define VERSION "$VERSION"
1562 _ACEOF
1563
1564 # Some tools Automake needs.
1565
1566 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1567
1568
1569 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1570
1571
1572 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1573
1574
1575 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1576
1577
1578 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1579
1580
1581 AMTAR=${AMTAR-"${am_missing_run}tar"}
1582
1583 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1584
1585 # Installed binaries are usually stripped using `strip' when the user
1586 # run `make install-strip'. However `strip' might not be the right
1587 # tool to use in cross-compilation environments, therefore Automake
1588 # will honor the `STRIP' environment variable to overrule this program.
1589 if test "$cross_compiling" != no; then
1590 if test -n "$ac_tool_prefix"; then
1591 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1592 set dummy ${ac_tool_prefix}strip; ac_word=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_STRIP+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 else
1598 if test -n "$STRIP"; then
1599 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1600 else
1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 for as_dir in $PATH
1603 do
1604 IFS=$as_save_IFS
1605 test -z "$as_dir" && as_dir=.
1606 for ac_exec_ext in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1608 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1610 break 2
1611 fi
1612 done
1613 done
1614
1615 fi
1616 fi
1617 STRIP=$ac_cv_prog_STRIP
1618 if test -n "$STRIP"; then
1619 echo "$as_me:$LINENO: result: $STRIP" >&5
1620 echo "${ECHO_T}$STRIP" >&6
1621 else
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1624 fi
1625
1626 fi
1627 if test -z "$ac_cv_prog_STRIP"; then
1628 ac_ct_STRIP=$STRIP
1629 # Extract the first word of "strip", so it can be a program name with args.
1630 set dummy strip; ac_word=$2
1631 echo "$as_me:$LINENO: checking for $ac_word" >&5
1632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1633 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 else
1636 if test -n "$ac_ct_STRIP"; then
1637 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1638 else
1639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1640 for as_dir in $PATH
1641 do
1642 IFS=$as_save_IFS
1643 test -z "$as_dir" && as_dir=.
1644 for ac_exec_ext in '' $ac_executable_extensions; do
1645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1646 ac_cv_prog_ac_ct_STRIP="strip"
1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1648 break 2
1649 fi
1650 done
1651 done
1652
1653 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1654 fi
1655 fi
1656 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1657 if test -n "$ac_ct_STRIP"; then
1658 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1659 echo "${ECHO_T}$ac_ct_STRIP" >&6
1660 else
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1663 fi
1664
1665 STRIP=$ac_ct_STRIP
1666 else
1667 STRIP="$ac_cv_prog_STRIP"
1668 fi
1669
1670 fi
1671 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1672
1673 # We need awk for the "check" target. The system "awk" is bad on
1674 # some platforms.
1675
1676
1677
1678
1679
1680
1681 ac_ext=c
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1686
1687
1688 ac_ext=c
1689 ac_cpp='$CPP $CPPFLAGS'
1690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1693 if test -n "$ac_tool_prefix"; then
1694 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1695 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 else
1701 if test -n "$CC"; then
1702 ac_cv_prog_CC="$CC" # Let the user override the test.
1703 else
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 for as_dir in $PATH
1706 do
1707 IFS=$as_save_IFS
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1713 break 2
1714 fi
1715 done
1716 done
1717
1718 fi
1719 fi
1720 CC=$ac_cv_prog_CC
1721 if test -n "$CC"; then
1722 echo "$as_me:$LINENO: result: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6
1724 else
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1727 fi
1728
1729 fi
1730 if test -z "$ac_cv_prog_CC"; then
1731 ac_ct_CC=$CC
1732 # Extract the first word of "gcc", so it can be a program name with args.
1733 set dummy gcc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 else
1739 if test -n "$ac_ct_CC"; then
1740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1741 else
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 for as_dir in $PATH
1744 do
1745 IFS=$as_save_IFS
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_ac_ct_CC="gcc"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 break 2
1752 fi
1753 done
1754 done
1755
1756 fi
1757 fi
1758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1759 if test -n "$ac_ct_CC"; then
1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1761 echo "${ECHO_T}$ac_ct_CC" >&6
1762 else
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1765 fi
1766
1767 CC=$ac_ct_CC
1768 else
1769 CC="$ac_cv_prog_CC"
1770 fi
1771
1772 if test -z "$CC"; then
1773 if test -n "$ac_tool_prefix"; then
1774 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1775 set dummy ${ac_tool_prefix}cc; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_CC+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 else
1781 if test -n "$CC"; then
1782 ac_cv_prog_CC="$CC" # Let the user override the test.
1783 else
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785 for as_dir in $PATH
1786 do
1787 IFS=$as_save_IFS
1788 test -z "$as_dir" && as_dir=.
1789 for ac_exec_ext in '' $ac_executable_extensions; do
1790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791 ac_cv_prog_CC="${ac_tool_prefix}cc"
1792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 break 2
1794 fi
1795 done
1796 done
1797
1798 fi
1799 fi
1800 CC=$ac_cv_prog_CC
1801 if test -n "$CC"; then
1802 echo "$as_me:$LINENO: result: $CC" >&5
1803 echo "${ECHO_T}$CC" >&6
1804 else
1805 echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1807 fi
1808
1809 fi
1810 if test -z "$ac_cv_prog_CC"; then
1811 ac_ct_CC=$CC
1812 # Extract the first word of "cc", so it can be a program name with args.
1813 set dummy cc; ac_word=$2
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 else
1819 if test -n "$ac_ct_CC"; then
1820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1821 else
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 for as_dir in $PATH
1824 do
1825 IFS=$as_save_IFS
1826 test -z "$as_dir" && as_dir=.
1827 for ac_exec_ext in '' $ac_executable_extensions; do
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829 ac_cv_prog_ac_ct_CC="cc"
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 break 2
1832 fi
1833 done
1834 done
1835
1836 fi
1837 fi
1838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1839 if test -n "$ac_ct_CC"; then
1840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1841 echo "${ECHO_T}$ac_ct_CC" >&6
1842 else
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1845 fi
1846
1847 CC=$ac_ct_CC
1848 else
1849 CC="$ac_cv_prog_CC"
1850 fi
1851
1852 fi
1853 if test -z "$CC"; then
1854 # Extract the first word of "cc", so it can be a program name with args.
1855 set dummy cc; ac_word=$2
1856 echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1858 if test "${ac_cv_prog_CC+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 else
1861 if test -n "$CC"; then
1862 ac_cv_prog_CC="$CC" # Let the user override the test.
1863 else
1864 ac_prog_rejected=no
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 for as_dir in $PATH
1867 do
1868 IFS=$as_save_IFS
1869 test -z "$as_dir" && as_dir=.
1870 for ac_exec_ext in '' $ac_executable_extensions; do
1871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1873 ac_prog_rejected=yes
1874 continue
1875 fi
1876 ac_cv_prog_CC="cc"
1877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 break 2
1879 fi
1880 done
1881 done
1882
1883 if test $ac_prog_rejected = yes; then
1884 # We found a bogon in the path, so make sure we never use it.
1885 set dummy $ac_cv_prog_CC
1886 shift
1887 if test $# != 0; then
1888 # We chose a different compiler from the bogus one.
1889 # However, it has the same basename, so the bogon will be chosen
1890 # first if we set CC to just the basename; use the full file name.
1891 shift
1892 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1893 fi
1894 fi
1895 fi
1896 fi
1897 CC=$ac_cv_prog_CC
1898 if test -n "$CC"; then
1899 echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6
1901 else
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1904 fi
1905
1906 fi
1907 if test -z "$CC"; then
1908 if test -n "$ac_tool_prefix"; then
1909 for ac_prog in cl
1910 do
1911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_CC+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 else
1918 if test -n "$CC"; then
1919 ac_cv_prog_CC="$CC" # Let the user override the test.
1920 else
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 for as_dir in $PATH
1923 do
1924 IFS=$as_save_IFS
1925 test -z "$as_dir" && as_dir=.
1926 for ac_exec_ext in '' $ac_executable_extensions; do
1927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 break 2
1931 fi
1932 done
1933 done
1934
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 test -n "$CC" && break
1947 done
1948 fi
1949 if test -z "$CC"; then
1950 ac_ct_CC=$CC
1951 for ac_prog in cl
1952 do
1953 # Extract the first word of "$ac_prog", so it can be a program name with args.
1954 set dummy $ac_prog; ac_word=$2
1955 echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1957 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 else
1960 if test -n "$ac_ct_CC"; then
1961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1962 else
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964 for as_dir in $PATH
1965 do
1966 IFS=$as_save_IFS
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1970 ac_cv_prog_ac_ct_CC="$ac_prog"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972 break 2
1973 fi
1974 done
1975 done
1976
1977 fi
1978 fi
1979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1980 if test -n "$ac_ct_CC"; then
1981 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1982 echo "${ECHO_T}$ac_ct_CC" >&6
1983 else
1984 echo "$as_me:$LINENO: result: no" >&5
1985 echo "${ECHO_T}no" >&6
1986 fi
1987
1988 test -n "$ac_ct_CC" && break
1989 done
1990
1991 CC=$ac_ct_CC
1992 fi
1993
1994 fi
1995
1996
1997 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1998 See \`config.log' for more details." >&5
1999 echo "$as_me: error: no acceptable C compiler found in \$PATH
2000 See \`config.log' for more details." >&2;}
2001 { (exit 1); exit 1; }; }
2002
2003 # Provide some information about the compiler.
2004 echo "$as_me:$LINENO:" \
2005 "checking for C compiler version" >&5
2006 ac_compiler=`set X $ac_compile; echo $2`
2007 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2008 (eval $ac_compiler --version </dev/null >&5) 2>&5
2009 ac_status=$?
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }
2012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2013 (eval $ac_compiler -v </dev/null >&5) 2>&5
2014 ac_status=$?
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }
2017 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2018 (eval $ac_compiler -V </dev/null >&5) 2>&5
2019 ac_status=$?
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }
2022
2023 cat >conftest.$ac_ext <<_ACEOF
2024 /* confdefs.h. */
2025 _ACEOF
2026 cat confdefs.h >>conftest.$ac_ext
2027 cat >>conftest.$ac_ext <<_ACEOF
2028 /* end confdefs.h. */
2029
2030 int
2031 main ()
2032 {
2033
2034 ;
2035 return 0;
2036 }
2037 _ACEOF
2038 ac_clean_files_save=$ac_clean_files
2039 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2040 # Try to create an executable without -o first, disregard a.out.
2041 # It will help us diagnose broken compilers, and finding out an intuition
2042 # of exeext.
2043 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2044 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2045 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2046 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2047 (eval $ac_link_default) 2>&5
2048 ac_status=$?
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }; then
2051 # Find the output, starting from the most likely. This scheme is
2052 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2053 # resort.
2054
2055 # Be careful to initialize this variable, since it used to be cached.
2056 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2057 ac_cv_exeext=
2058 # b.out is created by i960 compilers.
2059 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2060 do
2061 test -f "$ac_file" || continue
2062 case $ac_file in
2063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2064 ;;
2065 conftest.$ac_ext )
2066 # This is the source file.
2067 ;;
2068 [ab].out )
2069 # We found the default executable, but exeext='' is most
2070 # certainly right.
2071 break;;
2072 *.* )
2073 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2074 # FIXME: I believe we export ac_cv_exeext for Libtool,
2075 # but it would be cool to find out if it's true. Does anybody
2076 # maintain Libtool? --akim.
2077 export ac_cv_exeext
2078 break;;
2079 * )
2080 break;;
2081 esac
2082 done
2083 else
2084 echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2086
2087 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2088 See \`config.log' for more details." >&5
2089 echo "$as_me: error: C compiler cannot create executables
2090 See \`config.log' for more details." >&2;}
2091 { (exit 77); exit 77; }; }
2092 fi
2093
2094 ac_exeext=$ac_cv_exeext
2095 echo "$as_me:$LINENO: result: $ac_file" >&5
2096 echo "${ECHO_T}$ac_file" >&6
2097
2098 # Check the compiler produces executables we can run. If not, either
2099 # the compiler is broken, or we cross compile.
2100 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2101 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2102 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2103 # If not cross compiling, check that we can run a simple program.
2104 if test "$cross_compiling" != yes; then
2105 if { ac_try='./$ac_file'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107 (eval $ac_try) 2>&5
2108 ac_status=$?
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; }; then
2111 cross_compiling=no
2112 else
2113 if test "$cross_compiling" = maybe; then
2114 cross_compiling=yes
2115 else
2116 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2117 If you meant to cross compile, use \`--host'.
2118 See \`config.log' for more details." >&5
2119 echo "$as_me: error: cannot run C compiled programs.
2120 If you meant to cross compile, use \`--host'.
2121 See \`config.log' for more details." >&2;}
2122 { (exit 1); exit 1; }; }
2123 fi
2124 fi
2125 fi
2126 echo "$as_me:$LINENO: result: yes" >&5
2127 echo "${ECHO_T}yes" >&6
2128
2129 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2130 ac_clean_files=$ac_clean_files_save
2131 # Check the compiler produces executables we can run. If not, either
2132 # the compiler is broken, or we cross compile.
2133 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2134 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2135 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2136 echo "${ECHO_T}$cross_compiling" >&6
2137
2138 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2139 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2141 (eval $ac_link) 2>&5
2142 ac_status=$?
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); }; then
2145 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2146 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2147 # work properly (i.e., refer to `conftest.exe'), while it won't with
2148 # `rm'.
2149 for ac_file in conftest.exe conftest conftest.*; do
2150 test -f "$ac_file" || continue
2151 case $ac_file in
2152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2153 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2154 export ac_cv_exeext
2155 break;;
2156 * ) break;;
2157 esac
2158 done
2159 else
2160 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2161 See \`config.log' for more details." >&5
2162 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2163 See \`config.log' for more details." >&2;}
2164 { (exit 1); exit 1; }; }
2165 fi
2166
2167 rm -f conftest$ac_cv_exeext
2168 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2169 echo "${ECHO_T}$ac_cv_exeext" >&6
2170
2171 rm -f conftest.$ac_ext
2172 EXEEXT=$ac_cv_exeext
2173 ac_exeext=$EXEEXT
2174 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2175 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2176 if test "${ac_cv_objext+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 else
2179 cat >conftest.$ac_ext <<_ACEOF
2180 /* confdefs.h. */
2181 _ACEOF
2182 cat confdefs.h >>conftest.$ac_ext
2183 cat >>conftest.$ac_ext <<_ACEOF
2184 /* end confdefs.h. */
2185
2186 int
2187 main ()
2188 {
2189
2190 ;
2191 return 0;
2192 }
2193 _ACEOF
2194 rm -f conftest.o conftest.obj
2195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2196 (eval $ac_compile) 2>&5
2197 ac_status=$?
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }; then
2200 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2201 case $ac_file in
2202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2203 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2204 break;;
2205 esac
2206 done
2207 else
2208 echo "$as_me: failed program was:" >&5
2209 sed 's/^/| /' conftest.$ac_ext >&5
2210
2211 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2212 See \`config.log' for more details." >&5
2213 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2214 See \`config.log' for more details." >&2;}
2215 { (exit 1); exit 1; }; }
2216 fi
2217
2218 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2219 fi
2220 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2221 echo "${ECHO_T}$ac_cv_objext" >&6
2222 OBJEXT=$ac_cv_objext
2223 ac_objext=$OBJEXT
2224 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2225 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2226 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else
2229 cat >conftest.$ac_ext <<_ACEOF
2230 /* confdefs.h. */
2231 _ACEOF
2232 cat confdefs.h >>conftest.$ac_ext
2233 cat >>conftest.$ac_ext <<_ACEOF
2234 /* end confdefs.h. */
2235
2236 int
2237 main ()
2238 {
2239 #ifndef __GNUC__
2240 choke me
2241 #endif
2242
2243 ;
2244 return 0;
2245 }
2246 _ACEOF
2247 rm -f conftest.$ac_objext
2248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2249 (eval $ac_compile) 2>conftest.er1
2250 ac_status=$?
2251 grep -v '^ *+' conftest.er1 >conftest.err
2252 rm -f conftest.er1
2253 cat conftest.err >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } &&
2256 { ac_try='test -z "$ac_c_werror_flag"
2257 || test ! -s conftest.err'
2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2259 (eval $ac_try) 2>&5
2260 ac_status=$?
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; } &&
2263 { ac_try='test -s conftest.$ac_objext'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 (eval $ac_try) 2>&5
2266 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; }; then
2269 ac_compiler_gnu=yes
2270 else
2271 echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.$ac_ext >&5
2273
2274 ac_compiler_gnu=no
2275 fi
2276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2277 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2278
2279 fi
2280 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2281 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2282 GCC=`test $ac_compiler_gnu = yes && echo yes`
2283 ac_test_CFLAGS=${CFLAGS+set}
2284 ac_save_CFLAGS=$CFLAGS
2285 CFLAGS="-g"
2286 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2288 if test "${ac_cv_prog_cc_g+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 cat >conftest.$ac_ext <<_ACEOF
2292 /* confdefs.h. */
2293 _ACEOF
2294 cat confdefs.h >>conftest.$ac_ext
2295 cat >>conftest.$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2297
2298 int
2299 main ()
2300 {
2301
2302 ;
2303 return 0;
2304 }
2305 _ACEOF
2306 rm -f conftest.$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2309 ac_status=$?
2310 grep -v '^ *+' conftest.er1 >conftest.err
2311 rm -f conftest.er1
2312 cat conftest.err >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try='test -z "$ac_c_werror_flag"
2316 || test ! -s conftest.err'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 (eval $ac_try) 2>&5
2319 ac_status=$?
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; } &&
2322 { ac_try='test -s conftest.$ac_objext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 (eval $ac_try) 2>&5
2325 ac_status=$?
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2328 ac_cv_prog_cc_g=yes
2329 else
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.$ac_ext >&5
2332
2333 ac_cv_prog_cc_g=no
2334 fi
2335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2336 fi
2337 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2338 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2339 if test "$ac_test_CFLAGS" = set; then
2340 CFLAGS=$ac_save_CFLAGS
2341 elif test $ac_cv_prog_cc_g = yes; then
2342 if test "$GCC" = yes; then
2343 CFLAGS="-g -O2"
2344 else
2345 CFLAGS="-g"
2346 fi
2347 else
2348 if test "$GCC" = yes; then
2349 CFLAGS="-O2"
2350 else
2351 CFLAGS=
2352 fi
2353 fi
2354 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2355 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2356 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 else
2359 ac_cv_prog_cc_stdc=no
2360 ac_save_CC=$CC
2361 cat >conftest.$ac_ext <<_ACEOF
2362 /* confdefs.h. */
2363 _ACEOF
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2367 #include <stdarg.h>
2368 #include <stdio.h>
2369 #include <sys/types.h>
2370 #include <sys/stat.h>
2371 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2372 struct buf { int x; };
2373 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2374 static char *e (p, i)
2375 char **p;
2376 int i;
2377 {
2378 return p[i];
2379 }
2380 static char *f (char * (*g) (char **, int), char **p, ...)
2381 {
2382 char *s;
2383 va_list v;
2384 va_start (v,p);
2385 s = g (p, va_arg (v,int));
2386 va_end (v);
2387 return s;
2388 }
2389
2390 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2391 function prototypes and stuff, but not '\xHH' hex character constants.
2392 These don't provoke an error unfortunately, instead are silently treated
2393 as 'x'. The following induces an error, until -std1 is added to get
2394 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2395 array size at least. It's necessary to write '\x00'==0 to get something
2396 that's true only with -std1. */
2397 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2398
2399 int test (int i, double x);
2400 struct s1 {int (*f) (int a);};
2401 struct s2 {int (*f) (double a);};
2402 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2403 int argc;
2404 char **argv;
2405 int
2406 main ()
2407 {
2408 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 # Don't try gcc -ansi; that turns off useful extensions and
2414 # breaks some systems' header files.
2415 # AIX -qlanglvl=ansi
2416 # Ultrix and OSF/1 -std1
2417 # HP-UX 10.20 and later -Ae
2418 # HP-UX older versions -Aa -D_HPUX_SOURCE
2419 # SVR4 -Xc -D__EXTENSIONS__
2420 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2421 do
2422 CC="$ac_save_CC $ac_arg"
2423 rm -f conftest.$ac_objext
2424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2425 (eval $ac_compile) 2>conftest.er1
2426 ac_status=$?
2427 grep -v '^ *+' conftest.er1 >conftest.err
2428 rm -f conftest.er1
2429 cat conftest.err >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); } &&
2432 { ac_try='test -z "$ac_c_werror_flag"
2433 || test ! -s conftest.err'
2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 (eval $ac_try) 2>&5
2436 ac_status=$?
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; } &&
2439 { ac_try='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 (eval $ac_try) 2>&5
2442 ac_status=$?
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2445 ac_cv_prog_cc_stdc=$ac_arg
2446 break
2447 else
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2450
2451 fi
2452 rm -f conftest.err conftest.$ac_objext
2453 done
2454 rm -f conftest.$ac_ext conftest.$ac_objext
2455 CC=$ac_save_CC
2456
2457 fi
2458
2459 case "x$ac_cv_prog_cc_stdc" in
2460 x|xno)
2461 echo "$as_me:$LINENO: result: none needed" >&5
2462 echo "${ECHO_T}none needed" >&6 ;;
2463 *)
2464 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2465 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2466 CC="$CC $ac_cv_prog_cc_stdc" ;;
2467 esac
2468
2469 # Some people use a C++ compiler to compile C. Since we use `exit',
2470 # in C++ we need to declare it. In case someone uses the same compiler
2471 # for both compiling C and C++ we need to have the C++ compiler decide
2472 # the declaration of exit, since it's the most demanding environment.
2473 cat >conftest.$ac_ext <<_ACEOF
2474 #ifndef __cplusplus
2475 choke me
2476 #endif
2477 _ACEOF
2478 rm -f conftest.$ac_objext
2479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480 (eval $ac_compile) 2>conftest.er1
2481 ac_status=$?
2482 grep -v '^ *+' conftest.er1 >conftest.err
2483 rm -f conftest.er1
2484 cat conftest.err >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } &&
2487 { ac_try='test -z "$ac_c_werror_flag"
2488 || test ! -s conftest.err'
2489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 (eval $ac_try) 2>&5
2491 ac_status=$?
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; } &&
2494 { ac_try='test -s conftest.$ac_objext'
2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496 (eval $ac_try) 2>&5
2497 ac_status=$?
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; }; then
2500 for ac_declaration in \
2501 '' \
2502 'extern "C" void std::exit (int) throw (); using std::exit;' \
2503 'extern "C" void std::exit (int); using std::exit;' \
2504 'extern "C" void exit (int) throw ();' \
2505 'extern "C" void exit (int);' \
2506 'void exit (int);'
2507 do
2508 cat >conftest.$ac_ext <<_ACEOF
2509 /* confdefs.h. */
2510 _ACEOF
2511 cat confdefs.h >>conftest.$ac_ext
2512 cat >>conftest.$ac_ext <<_ACEOF
2513 /* end confdefs.h. */
2514 $ac_declaration
2515 #include <stdlib.h>
2516 int
2517 main ()
2518 {
2519 exit (42);
2520 ;
2521 return 0;
2522 }
2523 _ACEOF
2524 rm -f conftest.$ac_objext
2525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2526 (eval $ac_compile) 2>conftest.er1
2527 ac_status=$?
2528 grep -v '^ *+' conftest.er1 >conftest.err
2529 rm -f conftest.er1
2530 cat conftest.err >&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); } &&
2533 { ac_try='test -z "$ac_c_werror_flag"
2534 || test ! -s conftest.err'
2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 (eval $ac_try) 2>&5
2537 ac_status=$?
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; } &&
2540 { ac_try='test -s conftest.$ac_objext'
2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 (eval $ac_try) 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; }; then
2546 :
2547 else
2548 echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2550
2551 continue
2552 fi
2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2554 cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h. */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2560 $ac_declaration
2561 int
2562 main ()
2563 {
2564 exit (42);
2565 ;
2566 return 0;
2567 }
2568 _ACEOF
2569 rm -f conftest.$ac_objext
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571 (eval $ac_compile) 2>conftest.er1
2572 ac_status=$?
2573 grep -v '^ *+' conftest.er1 >conftest.err
2574 rm -f conftest.er1
2575 cat conftest.err >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); } &&
2578 { ac_try='test -z "$ac_c_werror_flag"
2579 || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 (eval $ac_try) 2>&5
2582 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 (eval $ac_try) 2>&5
2588 ac_status=$?
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2591 break
2592 else
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2595
2596 fi
2597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2598 done
2599 rm -f conftest*
2600 if test -n "$ac_declaration"; then
2601 echo '#ifdef __cplusplus' >>confdefs.h
2602 echo $ac_declaration >>confdefs.h
2603 echo '#endif' >>confdefs.h
2604 fi
2605
2606 else
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2609
2610 fi
2611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2612 ac_ext=c
2613 ac_cpp='$CPP $CPPFLAGS'
2614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617 DEPDIR="${am__leading_dot}deps"
2618
2619 ac_config_commands="$ac_config_commands depfiles"
2620
2621
2622 am_make=${MAKE-make}
2623 cat > confinc << 'END'
2624 am__doit:
2625 @echo done
2626 .PHONY: am__doit
2627 END
2628 # If we don't find an include directive, just comment out the code.
2629 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2630 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2631 am__include="#"
2632 am__quote=
2633 _am_result=none
2634 # First try GNU make style include.
2635 echo "include confinc" > confmf
2636 # We grep out `Entering directory' and `Leaving directory'
2637 # messages which can occur if `w' ends up in MAKEFLAGS.
2638 # In particular we don't look at `^make:' because GNU make might
2639 # be invoked under some other name (usually "gmake"), in which
2640 # case it prints its new name instead of `make'.
2641 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2642 am__include=include
2643 am__quote=
2644 _am_result=GNU
2645 fi
2646 # Now try BSD make style include.
2647 if test "$am__include" = "#"; then
2648 echo '.include "confinc"' > confmf
2649 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2650 am__include=.include
2651 am__quote="\""
2652 _am_result=BSD
2653 fi
2654 fi
2655
2656
2657 echo "$as_me:$LINENO: result: $_am_result" >&5
2658 echo "${ECHO_T}$_am_result" >&6
2659 rm -f confinc confmf
2660
2661 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2662 if test "${enable_dependency_tracking+set}" = set; then
2663 enableval="$enable_dependency_tracking"
2664
2665 fi;
2666 if test "x$enable_dependency_tracking" != xno; then
2667 am_depcomp="$ac_aux_dir/depcomp"
2668 AMDEPBACKSLASH='\'
2669 fi
2670
2671
2672 if test "x$enable_dependency_tracking" != xno; then
2673 AMDEP_TRUE=
2674 AMDEP_FALSE='#'
2675 else
2676 AMDEP_TRUE='#'
2677 AMDEP_FALSE=
2678 fi
2679
2680
2681
2682
2683 depcc="$CC" am_compiler_list=
2684
2685 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2686 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2687 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2691 # We make a subdir and do the tests there. Otherwise we can end up
2692 # making bogus files that we don't know about and never remove. For
2693 # instance it was reported that on HP-UX the gcc test will end up
2694 # making a dummy file named `D' -- because `-MD' means `put the output
2695 # in D'.
2696 mkdir conftest.dir
2697 # Copy depcomp to subdir because otherwise we won't find it if we're
2698 # using a relative directory.
2699 cp "$am_depcomp" conftest.dir
2700 cd conftest.dir
2701
2702 am_cv_CC_dependencies_compiler_type=none
2703 if test "$am_compiler_list" = ""; then
2704 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2705 fi
2706 for depmode in $am_compiler_list; do
2707 # We need to recreate these files for each test, as the compiler may
2708 # overwrite some of them when testing with obscure command lines.
2709 # This happens at least with the AIX C compiler.
2710 echo '#include "conftest.h"' > conftest.c
2711 echo 'int i;' > conftest.h
2712 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2713
2714 case $depmode in
2715 nosideeffect)
2716 # after this tag, mechanisms are not by side-effect, so they'll
2717 # only be used when explicitly requested
2718 if test "x$enable_dependency_tracking" = xyes; then
2719 continue
2720 else
2721 break
2722 fi
2723 ;;
2724 none) break ;;
2725 esac
2726 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2727 # mode. It turns out that the SunPro C++ compiler does not properly
2728 # handle `-M -o', and we need to detect this.
2729 if depmode=$depmode \
2730 source=conftest.c object=conftest.o \
2731 depfile=conftest.Po tmpdepfile=conftest.TPo \
2732 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
2733 >/dev/null 2>conftest.err &&
2734 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2735 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2736 # icc doesn't choke on unknown options, it will just issue warnings
2737 # (even with -Werror). So we grep stderr for any message
2738 # that says an option was ignored.
2739 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2740 am_cv_CC_dependencies_compiler_type=$depmode
2741 break
2742 fi
2743 fi
2744 done
2745
2746 cd ..
2747 rm -rf conftest.dir
2748 else
2749 am_cv_CC_dependencies_compiler_type=none
2750 fi
2751
2752 fi
2753 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2754 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2755 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2756
2757
2758
2759 if
2760 test "x$enable_dependency_tracking" != xno \
2761 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2762 am__fastdepCC_TRUE=
2763 am__fastdepCC_FALSE='#'
2764 else
2765 am__fastdepCC_TRUE='#'
2766 am__fastdepCC_FALSE=
2767 fi
2768
2769
2770 # Find a good install program. We prefer a C program (faster),
2771 # so one script is as good as another. But avoid the broken or
2772 # incompatible versions:
2773 # SysV /etc/install, /usr/sbin/install
2774 # SunOS /usr/etc/install
2775 # IRIX /sbin/install
2776 # AIX /bin/install
2777 # AmigaOS /C/install, which installs bootblocks on floppy discs
2778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2781 # OS/2's system install, which has a completely different semantic
2782 # ./install, which can be erroneously created by make from ./install.sh.
2783 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2784 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2785 if test -z "$INSTALL"; then
2786 if test "${ac_cv_path_install+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 else
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 for as_dir in $PATH
2791 do
2792 IFS=$as_save_IFS
2793 test -z "$as_dir" && as_dir=.
2794 # Account for people who put trailing slashes in PATH elements.
2795 case $as_dir/ in
2796 ./ | .// | /cC/* | \
2797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2798 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2799 /usr/ucb/* ) ;;
2800 *)
2801 # OSF1 and SCO ODT 3.0 have their own names for install.
2802 # Don't use installbsd from OSF since it installs stuff as root
2803 # by default.
2804 for ac_prog in ginstall scoinst install; do
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2807 if test $ac_prog = install &&
2808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2809 # AIX install. It has an incompatible calling convention.
2810 :
2811 elif test $ac_prog = install &&
2812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2813 # program-specific install script used by HP pwplus--don't use.
2814 :
2815 else
2816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2817 break 3
2818 fi
2819 fi
2820 done
2821 done
2822 ;;
2823 esac
2824 done
2825
2826
2827 fi
2828 if test "${ac_cv_path_install+set}" = set; then
2829 INSTALL=$ac_cv_path_install
2830 else
2831 # As a last resort, use the slow shell script. We don't cache a
2832 # path for INSTALL within a source directory, because that will
2833 # break other packages using the cache if that directory is
2834 # removed, or if the path is relative.
2835 INSTALL=$ac_install_sh
2836 fi
2837 fi
2838 echo "$as_me:$LINENO: result: $INSTALL" >&5
2839 echo "${ECHO_T}$INSTALL" >&6
2840
2841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2842 # It thinks the first close brace ends the variable substitution.
2843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2844
2845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2846
2847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2848
2849 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2850 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2851 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2852 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 else
2855 cat >conftest.make <<\_ACEOF
2856 all:
2857 @echo 'ac_maketemp="$(MAKE)"'
2858 _ACEOF
2859 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2860 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2861 if test -n "$ac_maketemp"; then
2862 eval ac_cv_prog_make_${ac_make}_set=yes
2863 else
2864 eval ac_cv_prog_make_${ac_make}_set=no
2865 fi
2866 rm -f conftest.make
2867 fi
2868 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2869 echo "$as_me:$LINENO: result: yes" >&5
2870 echo "${ECHO_T}yes" >&6
2871 SET_MAKE=
2872 else
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2875 SET_MAKE="MAKE=${MAKE-make}"
2876 fi
2877
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2880 set dummy ${ac_tool_prefix}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_RANLIB+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 else
2886 if test -n "$RANLIB"; then
2887 ac_cv_prog_RANLIB="$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_RANLIB="${ac_tool_prefix}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 fi
2904 fi
2905 RANLIB=$ac_cv_prog_RANLIB
2906 if test -n "$RANLIB"; then
2907 echo "$as_me:$LINENO: result: $RANLIB" >&5
2908 echo "${ECHO_T}$RANLIB" >&6
2909 else
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2912 fi
2913
2914 fi
2915 if test -z "$ac_cv_prog_RANLIB"; then
2916 ac_ct_RANLIB=$RANLIB
2917 # Extract the first word of "ranlib", so it can be a program name with args.
2918 set dummy ranlib; ac_word=$2
2919 echo "$as_me:$LINENO: checking for $ac_word" >&5
2920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2921 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 else
2924 if test -n "$ac_ct_RANLIB"; then
2925 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2926 else
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 for as_dir in $PATH
2929 do
2930 IFS=$as_save_IFS
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_ac_ct_RANLIB="ranlib"
2935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 break 2
2937 fi
2938 done
2939 done
2940
2941 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2942 fi
2943 fi
2944 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2945 if test -n "$ac_ct_RANLIB"; then
2946 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2947 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2948 else
2949 echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 fi
2952
2953 RANLIB=$ac_ct_RANLIB
2954 else
2955 RANLIB="$ac_cv_prog_RANLIB"
2956 fi
2957
2958
2959 # Make sure we can run config.sub.
2960 $ac_config_sub sun4 >/dev/null 2>&1 ||
2961 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2962 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2963 { (exit 1); exit 1; }; }
2964
2965 echo "$as_me:$LINENO: checking build system type" >&5
2966 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2967 if test "${ac_cv_build+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 else
2970 ac_cv_build_alias=$build_alias
2971 test -z "$ac_cv_build_alias" &&
2972 ac_cv_build_alias=`$ac_config_guess`
2973 test -z "$ac_cv_build_alias" &&
2974 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2975 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2976 { (exit 1); exit 1; }; }
2977 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2978 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2979 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2980 { (exit 1); exit 1; }; }
2981
2982 fi
2983 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2984 echo "${ECHO_T}$ac_cv_build" >&6
2985 build=$ac_cv_build
2986 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2987 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2988 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2989
2990
2991 echo "$as_me:$LINENO: checking host system type" >&5
2992 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2993 if test "${ac_cv_host+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 else
2996 ac_cv_host_alias=$host_alias
2997 test -z "$ac_cv_host_alias" &&
2998 ac_cv_host_alias=$ac_cv_build_alias
2999 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3000 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3001 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3002 { (exit 1); exit 1; }; }
3003
3004 fi
3005 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3006 echo "${ECHO_T}$ac_cv_host" >&6
3007 host=$ac_cv_host
3008 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3009 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3010 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3011
3012
3013 case $host_os in
3014 solaris*)
3015
3016 cat >>confdefs.h <<\_ACEOF
3017 #define ETC_INET
3018 _ACEOF
3019
3020 ;;
3021 esac
3022
3023
3024 # Check whether --with-ipv6 or --without-ipv6 was given.
3025 if test "${with_ipv6+set}" = set; then
3026 withval="$with_ipv6"
3027 CFLAGS="${CFLAGS} -DUSE_IPV6=1"
3028 fi;
3029
3030
3031 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3032 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3033 if test "${ac_cv_search_gethostbyname+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 else
3036 ac_func_search_save_LIBS=$LIBS
3037 ac_cv_search_gethostbyname=no
3038 cat >conftest.$ac_ext <<_ACEOF
3039 /* confdefs.h. */
3040 _ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3044
3045 /* Override any gcc2 internal prototype to avoid an error. */
3046 #ifdef __cplusplus
3047 extern "C"
3048 #endif
3049 /* We use char because int might match the return type of a gcc2
3050 builtin and then its argument prototype would still apply. */
3051 char gethostbyname ();
3052 int
3053 main ()
3054 {
3055 gethostbyname ();
3056 ;
3057 return 0;
3058 }
3059 _ACEOF
3060 rm -f conftest.$ac_objext conftest$ac_exeext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3062 (eval $ac_link) 2>conftest.er1
3063 ac_status=$?
3064 grep -v '^ *+' conftest.er1 >conftest.err
3065 rm -f conftest.er1
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } &&
3069 { ac_try='test -z "$ac_c_werror_flag"
3070 || test ! -s conftest.err'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 (eval $ac_try) 2>&5
3073 ac_status=$?
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; } &&
3076 { ac_try='test -s conftest$ac_exeext'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078 (eval $ac_try) 2>&5
3079 ac_status=$?
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; }; then
3082 ac_cv_search_gethostbyname="none required"
3083 else
3084 echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.$ac_ext >&5
3086
3087 fi
3088 rm -f conftest.err conftest.$ac_objext \
3089 conftest$ac_exeext conftest.$ac_ext
3090 if test "$ac_cv_search_gethostbyname" = no; then
3091 for ac_lib in nsl; do
3092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3093 cat >conftest.$ac_ext <<_ACEOF
3094 /* confdefs.h. */
3095 _ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3099
3100 /* Override any gcc2 internal prototype to avoid an error. */
3101 #ifdef __cplusplus
3102 extern "C"
3103 #endif
3104 /* We use char because int might match the return type of a gcc2
3105 builtin and then its argument prototype would still apply. */
3106 char gethostbyname ();
3107 int
3108 main ()
3109 {
3110 gethostbyname ();
3111 ;
3112 return 0;
3113 }
3114 _ACEOF
3115 rm -f conftest.$ac_objext conftest$ac_exeext
3116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3117 (eval $ac_link) 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); } &&
3124 { ac_try='test -z "$ac_c_werror_flag"
3125 || test ! -s conftest.err'
3126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 (eval $ac_try) 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }; } &&
3131 { ac_try='test -s conftest$ac_exeext'
3132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 (eval $ac_try) 2>&5
3134 ac_status=$?
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); }; }; then
3137 ac_cv_search_gethostbyname="-l$ac_lib"
3138 break
3139 else
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3142
3143 fi
3144 rm -f conftest.err conftest.$ac_objext \
3145 conftest$ac_exeext conftest.$ac_ext
3146 done
3147 fi
3148 LIBS=$ac_func_search_save_LIBS
3149 fi
3150 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3151 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3152 if test "$ac_cv_search_gethostbyname" != no; then
3153 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
3154
3155 fi
3156
3157 echo "$as_me:$LINENO: checking for library containing socket" >&5
3158 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
3159 if test "${ac_cv_search_socket+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 else
3162 ac_func_search_save_LIBS=$LIBS
3163 ac_cv_search_socket=no
3164 cat >conftest.$ac_ext <<_ACEOF
3165 /* confdefs.h. */
3166 _ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3170
3171 /* Override any gcc2 internal prototype to avoid an error. */
3172 #ifdef __cplusplus
3173 extern "C"
3174 #endif
3175 /* We use char because int might match the return type of a gcc2
3176 builtin and then its argument prototype would still apply. */
3177 char socket ();
3178 int
3179 main ()
3180 {
3181 socket ();
3182 ;
3183 return 0;
3184 }
3185 _ACEOF
3186 rm -f conftest.$ac_objext conftest$ac_exeext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3188 (eval $ac_link) 2>conftest.er1
3189 ac_status=$?
3190 grep -v '^ *+' conftest.er1 >conftest.err
3191 rm -f conftest.er1
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 (eval $ac_try) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try='test -s conftest$ac_exeext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3208 ac_cv_search_socket="none required"
3209 else
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3212
3213 fi
3214 rm -f conftest.err conftest.$ac_objext \
3215 conftest$ac_exeext conftest.$ac_ext
3216 if test "$ac_cv_search_socket" = no; then
3217 for ac_lib in socket; do
3218 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3219 cat >conftest.$ac_ext <<_ACEOF
3220 /* confdefs.h. */
3221 _ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3225
3226 /* Override any gcc2 internal prototype to avoid an error. */
3227 #ifdef __cplusplus
3228 extern "C"
3229 #endif
3230 /* We use char because int might match the return type of a gcc2
3231 builtin and then its argument prototype would still apply. */
3232 char socket ();
3233 int
3234 main ()
3235 {
3236 socket ();
3237 ;
3238 return 0;
3239 }
3240 _ACEOF
3241 rm -f conftest.$ac_objext conftest$ac_exeext
3242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3243 (eval $ac_link) 2>conftest.er1
3244 ac_status=$?
3245 grep -v '^ *+' conftest.er1 >conftest.err
3246 rm -f conftest.er1
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try='test -z "$ac_c_werror_flag"