configure revision 1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for proxymngr 1.0.1.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='proxymngr'
271 PACKAGE_TARNAME='proxymngr'
272 PACKAGE_VERSION='1.0.1'
273 PACKAGE_STRING='proxymngr 1.0.1'
274 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 CPP LBXPROXY SED PKG_CONFIG ac_pt_PKG_CONFIG PROXYMNGR_CFLAGS PROXYMNGR_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR 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 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
737 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
738 ac_env_PKG_CONFIG_value=$PKG_CONFIG
739 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
740 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
741 ac_env_PROXYMNGR_CFLAGS_set=${PROXYMNGR_CFLAGS+set}
742 ac_env_PROXYMNGR_CFLAGS_value=$PROXYMNGR_CFLAGS
743 ac_cv_env_PROXYMNGR_CFLAGS_set=${PROXYMNGR_CFLAGS+set}
744 ac_cv_env_PROXYMNGR_CFLAGS_value=$PROXYMNGR_CFLAGS
745 ac_env_PROXYMNGR_LIBS_set=${PROXYMNGR_LIBS+set}
746 ac_env_PROXYMNGR_LIBS_value=$PROXYMNGR_LIBS
747 ac_cv_env_PROXYMNGR_LIBS_set=${PROXYMNGR_LIBS+set}
748 ac_cv_env_PROXYMNGR_LIBS_value=$PROXYMNGR_LIBS
749
750 #
751 # Report the --help message.
752 #
753 if test "$ac_init_help" = "long"; then
754 # Omit some internal or obsolete options to make the list less imposing.
755 # This message is too long to be a string in the A/UX 3.1 sh.
756 cat <<_ACEOF
757 \`configure' configures proxymngr 1.0.1 to adapt to many kinds of systems.
758
759 Usage: $0 [OPTION]... [VAR=VALUE]...
760
761 To assign environment variables (e.g., CC, CFLAGS...), specify them as
762 VAR=VALUE. See below for descriptions of some of the useful variables.
763
764 Defaults for the options are specified in brackets.
765
766 Configuration:
767 -h, --help display this help and exit
768 --help=short display options specific to this package
769 --help=recursive display the short help of all the included packages
770 -V, --version display version information and exit
771 -q, --quiet, --silent do not print \`checking...' messages
772 --cache-file=FILE cache test results in FILE [disabled]
773 -C, --config-cache alias for \`--cache-file=config.cache'
774 -n, --no-create do not create output files
775 --srcdir=DIR find the sources in DIR [configure dir or \`..']
776
777 _ACEOF
778
779 cat <<_ACEOF
780 Installation directories:
781 --prefix=PREFIX install architecture-independent files in PREFIX
782 [$ac_default_prefix]
783 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
784 [PREFIX]
785
786 By default, \`make install' will install all the files in
787 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
788 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
789 for instance \`--prefix=\$HOME'.
790
791 For better control, use the options below.
792
793 Fine tuning of the installation directories:
794 --bindir=DIR user executables [EPREFIX/bin]
795 --sbindir=DIR system admin executables [EPREFIX/sbin]
796 --libexecdir=DIR program executables [EPREFIX/libexec]
797 --datadir=DIR read-only architecture-independent data [PREFIX/share]
798 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
799 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
800 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
801 --libdir=DIR object code libraries [EPREFIX/lib]
802 --includedir=DIR C header files [PREFIX/include]
803 --oldincludedir=DIR C header files for non-gcc [/usr/include]
804 --infodir=DIR info documentation [PREFIX/info]
805 --mandir=DIR man documentation [PREFIX/man]
806 _ACEOF
807
808 cat <<\_ACEOF
809
810 Program names:
811 --program-prefix=PREFIX prepend PREFIX to installed program names
812 --program-suffix=SUFFIX append SUFFIX to installed program names
813 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
814
815 System types:
816 --build=BUILD configure for building on BUILD [guessed]
817 --host=HOST cross-compile to build programs to run on HOST [BUILD]
818 _ACEOF
819 fi
820
821 if test -n "$ac_init_help"; then
822 case $ac_init_help in
823 short | recursive ) echo "Configuration of proxymngr 1.0.1:";;
824 esac
825 cat <<\_ACEOF
826
827 Optional Features:
828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
830 --enable-maintainer-mode enable make rules and dependencies not useful
831 (and sometimes confusing) to the casual installer
832 --disable-dependency-tracking Speeds up one-time builds
833 --enable-dependency-tracking Do not reject slow dependency extractors
834 --enable-IPv6 Enable IPv6 support
835
836 Optional Packages:
837 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
838 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
839 --with-release-version=STRING
840 Use release version string in package name
841
842 Some influential environment variables:
843 CC C compiler command
844 CFLAGS C compiler flags
845 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
846 nonstandard directory <lib dir>
847 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
848 headers in a nonstandard directory <include dir>
849 CPP C preprocessor
850 PKG_CONFIG path to pkg-config utility
851 PROXYMNGR_CFLAGS
852 C compiler flags for PROXYMNGR, overriding pkg-config
853 PROXYMNGR_LIBS
854 linker flags for PROXYMNGR, overriding pkg-config
855
856 Use these variables to override the choices made by `configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
858
859 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
860 _ACEOF
861 fi
862
863 if test "$ac_init_help" = "recursive"; then
864 # If there are subdirs, report their specific --help.
865 ac_popdir=`pwd`
866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867 test -d $ac_dir || continue
868 ac_builddir=.
869
870 if test "$ac_dir" != .; then
871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
872 # A "../" for each directory in $ac_dir_suffix.
873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
874 else
875 ac_dir_suffix= ac_top_builddir=
876 fi
877
878 case $srcdir in
879 .) # No --srcdir option. We are building in place.
880 ac_srcdir=.
881 if test -z "$ac_top_builddir"; then
882 ac_top_srcdir=.
883 else
884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
885 fi ;;
886 [\\/]* | ?:[\\/]* ) # Absolute path.
887 ac_srcdir=$srcdir$ac_dir_suffix;
888 ac_top_srcdir=$srcdir ;;
889 *) # Relative path.
890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
892 esac
893
894 # Do not use `cd foo && pwd` to compute absolute paths, because
895 # the directories may not exist.
896 case `pwd` in
897 .) ac_abs_builddir="$ac_dir";;
898 *)
899 case "$ac_dir" in
900 .) ac_abs_builddir=`pwd`;;
901 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
902 *) ac_abs_builddir=`pwd`/"$ac_dir";;
903 esac;;
904 esac
905 case $ac_abs_builddir in
906 .) ac_abs_top_builddir=${ac_top_builddir}.;;
907 *)
908 case ${ac_top_builddir}. in
909 .) ac_abs_top_builddir=$ac_abs_builddir;;
910 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
911 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
912 esac;;
913 esac
914 case $ac_abs_builddir in
915 .) ac_abs_srcdir=$ac_srcdir;;
916 *)
917 case $ac_srcdir in
918 .) ac_abs_srcdir=$ac_abs_builddir;;
919 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
920 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
921 esac;;
922 esac
923 case $ac_abs_builddir in
924 .) ac_abs_top_srcdir=$ac_top_srcdir;;
925 *)
926 case $ac_top_srcdir in
927 .) ac_abs_top_srcdir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
929 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
930 esac;;
931 esac
932
933 cd $ac_dir
934 # Check for guested configure; otherwise get Cygnus style configure.
935 if test -f $ac_srcdir/configure.gnu; then
936 echo
937 $SHELL $ac_srcdir/configure.gnu --help=recursive
938 elif test -f $ac_srcdir/configure; then
939 echo
940 $SHELL $ac_srcdir/configure --help=recursive
941 elif test -f $ac_srcdir/configure.ac ||
942 test -f $ac_srcdir/configure.in; then
943 echo
944 $ac_configure --help
945 else
946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
947 fi
948 cd $ac_popdir
949 done
950 fi
951
952 test -n "$ac_init_help" && exit 0
953 if $ac_init_version; then
954 cat <<\_ACEOF
955 proxymngr configure 1.0.1
956 generated by GNU Autoconf 2.59
957
958 Copyright (C) 2003 Free Software Foundation, Inc.
959 This configure script is free software; the Free Software Foundation
960 gives unlimited permission to copy, distribute and modify it.
961 _ACEOF
962 exit 0
963 fi
964 exec 5>config.log
965 cat >&5 <<_ACEOF
966 This file contains any messages produced by compilers while
967 running configure, to aid debugging if configure makes a mistake.
968
969 It was created by proxymngr $as_me 1.0.1, which was
970 generated by GNU Autoconf 2.59. Invocation command line was
971
972 $ $0 $@
973
974 _ACEOF
975 {
976 cat <<_ASUNAME
977 ## --------- ##
978 ## Platform. ##
979 ## --------- ##
980
981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
986
987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
988 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
989
990 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
991 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
993 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
994 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
995 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
996 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
997
998 _ASUNAME
999
1000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1001 for as_dir in $PATH
1002 do
1003 IFS=$as_save_IFS
1004 test -z "$as_dir" && as_dir=.
1005 echo "PATH: $as_dir"
1006 done
1007
1008 } >&5
1009
1010 cat >&5 <<_ACEOF
1011
1012
1013 ## ----------- ##
1014 ## Core tests. ##
1015 ## ----------- ##
1016
1017 _ACEOF
1018
1019
1020 # Keep a trace of the command line.
1021 # Strip out --no-create and --no-recursion so they do not pile up.
1022 # Strip out --silent because we don't want to record it for future runs.
1023 # Also quote any args containing shell meta-characters.
1024 # Make two passes to allow for proper duplicate-argument suppression.
1025 ac_configure_args=
1026 ac_configure_args0=
1027 ac_configure_args1=
1028 ac_sep=
1029 ac_must_keep_next=false
1030 for ac_pass in 1 2
1031 do
1032 for ac_arg
1033 do
1034 case $ac_arg in
1035 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037 | -silent | --silent | --silen | --sile | --sil)
1038 continue ;;
1039 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1040 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1041 esac
1042 case $ac_pass in
1043 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044 2)
1045 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1046 if test $ac_must_keep_next = true; then
1047 ac_must_keep_next=false # Got value, back to normal.
1048 else
1049 case $ac_arg in
1050 *=* | --config-cache | -C | -disable-* | --disable-* \
1051 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1052 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1053 | -with-* | --with-* | -without-* | --without-* | --x)
1054 case "$ac_configure_args0 " in
1055 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056 esac
1057 ;;
1058 -* ) ac_must_keep_next=true ;;
1059 esac
1060 fi
1061 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1062 # Get rid of the leading space.
1063 ac_sep=" "
1064 ;;
1065 esac
1066 done
1067 done
1068 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1069 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070
1071 # When interrupted or exit'd, cleanup temporary files, and complete
1072 # config.log. We remove comments because anyway the quotes in there
1073 # would cause problems or look ugly.
1074 # WARNING: Be sure not to use single quotes in there, as some shells,
1075 # such as our DU 5.0 friend, will then `close' the trap.
1076 trap 'exit_status=$?
1077 # Save into config.log some information that might help in debugging.
1078 {
1079 echo
1080
1081 cat <<\_ASBOX
1082 ## ---------------- ##
1083 ## Cache variables. ##
1084 ## ---------------- ##
1085 _ASBOX
1086 echo
1087 # The following way of writing the cache mishandles newlines in values,
1088 {
1089 (set) 2>&1 |
1090 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091 *ac_space=\ *)
1092 sed -n \
1093 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1095 ;;
1096 *)
1097 sed -n \
1098 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1099 ;;
1100 esac;
1101 }
1102 echo
1103
1104 cat <<\_ASBOX
1105 ## ----------------- ##
1106 ## Output variables. ##
1107 ## ----------------- ##
1108 _ASBOX
1109 echo
1110 for ac_var in $ac_subst_vars
1111 do
1112 eval ac_val=$`echo $ac_var`
1113 echo "$ac_var='"'"'$ac_val'"'"'"
1114 done | sort
1115 echo
1116
1117 if test -n "$ac_subst_files"; then
1118 cat <<\_ASBOX
1119 ## ------------- ##
1120 ## Output files. ##
1121 ## ------------- ##
1122 _ASBOX
1123 echo
1124 for ac_var in $ac_subst_files
1125 do
1126 eval ac_val=$`echo $ac_var`
1127 echo "$ac_var='"'"'$ac_val'"'"'"
1128 done | sort
1129 echo
1130 fi
1131
1132 if test -s confdefs.h; then
1133 cat <<\_ASBOX
1134 ## ----------- ##
1135 ## confdefs.h. ##
1136 ## ----------- ##
1137 _ASBOX
1138 echo
1139 sed "/^$/d" confdefs.h | sort
1140 echo
1141 fi
1142 test "$ac_signal" != 0 &&
1143 echo "$as_me: caught signal $ac_signal"
1144 echo "$as_me: exit $exit_status"
1145 } >&5
1146 rm -f core *.core &&
1147 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1148 exit $exit_status
1149 ' 0
1150 for ac_signal in 1 2 13 15; do
1151 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1152 done
1153 ac_signal=0
1154
1155 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1156 rm -rf conftest* confdefs.h
1157 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158 echo >confdefs.h
1159
1160 # Predefined preprocessor variables.
1161
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_NAME "$PACKAGE_NAME"
1164 _ACEOF
1165
1166
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1169 _ACEOF
1170
1171
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1174 _ACEOF
1175
1176
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_STRING "$PACKAGE_STRING"
1179 _ACEOF
1180
1181
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1184 _ACEOF
1185
1186
1187 # Let the site file select an alternate cache file if it wants to.
1188 # Prefer explicitly selected file to automatically selected ones.
1189 if test -z "$CONFIG_SITE"; then
1190 if test "x$prefix" != xNONE; then
1191 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192 else
1193 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1194 fi
1195 fi
1196 for ac_site_file in $CONFIG_SITE; do
1197 if test -r "$ac_site_file"; then
1198 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1199 echo "$as_me: loading site script $ac_site_file" >&6;}
1200 sed 's/^/| /' "$ac_site_file" >&5
1201 . "$ac_site_file"
1202 fi
1203 done
1204
1205 if test -r "$cache_file"; then
1206 # Some versions of bash will fail to source /dev/null (special
1207 # files actually), so we avoid doing that.
1208 if test -f "$cache_file"; then
1209 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1210 echo "$as_me: loading cache $cache_file" >&6;}
1211 case $cache_file in
1212 [\\/]* | ?:[\\/]* ) . $cache_file;;
1213 *) . ./$cache_file;;
1214 esac
1215 fi
1216 else
1217 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1218 echo "$as_me: creating cache $cache_file" >&6;}
1219 >$cache_file
1220 fi
1221
1222 # Check that the precious variables saved in the cache have kept the same
1223 # value.
1224 ac_cache_corrupted=false
1225 for ac_var in `(set) 2>&1 |
1226 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1227 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1228 eval ac_new_set=\$ac_env_${ac_var}_set
1229 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1230 eval ac_new_val="\$ac_env_${ac_var}_value"
1231 case $ac_old_set,$ac_new_set in
1232 set,)
1233 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1234 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1235 ac_cache_corrupted=: ;;
1236 ,set)
1237 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1238 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1239 ac_cache_corrupted=: ;;
1240 ,);;
1241 *)
1242 if test "x$ac_old_val" != "x$ac_new_val"; then
1243 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1244 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1245 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1246 echo "$as_me: former value: $ac_old_val" >&2;}
1247 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1248 echo "$as_me: current value: $ac_new_val" >&2;}
1249 ac_cache_corrupted=:
1250 fi;;
1251 esac
1252 # Pass precious variables to config.status.
1253 if test "$ac_new_set" = set; then
1254 case $ac_new_val in
1255 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1256 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1257 *) ac_arg=$ac_var=$ac_new_val ;;
1258 esac
1259 case " $ac_configure_args " in
1260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1261 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1262 esac
1263 fi
1264 done
1265 if $ac_cache_corrupted; then
1266 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1267 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1268 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1269 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1270 { (exit 1); exit 1; }; }
1271 fi
1272
1273 ac_ext=c
1274 ac_cpp='$CPP $CPPFLAGS'
1275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305 am__api_version="1.7"
1306 ac_aux_dir=
1307 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1308 if test -f $ac_dir/install-sh; then
1309 ac_aux_dir=$ac_dir
1310 ac_install_sh="$ac_aux_dir/install-sh -c"
1311 break
1312 elif test -f $ac_dir/install.sh; then
1313 ac_aux_dir=$ac_dir
1314 ac_install_sh="$ac_aux_dir/install.sh -c"
1315 break
1316 elif test -f $ac_dir/shtool; then
1317 ac_aux_dir=$ac_dir
1318 ac_install_sh="$ac_aux_dir/shtool install -c"
1319 break
1320 fi
1321 done
1322 if test -z "$ac_aux_dir"; then
1323 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1324 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1325 { (exit 1); exit 1; }; }
1326 fi
1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1330
1331 # Find a good install program. We prefer a C program (faster),
1332 # so one script is as good as another. But avoid the broken or
1333 # incompatible versions:
1334 # SysV /etc/install, /usr/sbin/install
1335 # SunOS /usr/etc/install
1336 # IRIX /sbin/install
1337 # AIX /bin/install
1338 # AmigaOS /C/install, which installs bootblocks on floppy discs
1339 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1340 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1341 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1342 # OS/2's system install, which has a completely different semantic
1343 # ./install, which can be erroneously created by make from ./install.sh.
1344 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1345 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1346 if test -z "$INSTALL"; then
1347 if test "${ac_cv_path_install+set}" = set; then
1348 echo $ECHO_N "(cached) $ECHO_C" >&6
1349 else
1350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1351 for as_dir in $PATH
1352 do
1353 IFS=$as_save_IFS
1354 test -z "$as_dir" && as_dir=.
1355 # Account for people who put trailing slashes in PATH elements.
1356 case $as_dir/ in
1357 ./ | .// | /cC/* | \
1358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1359 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1360 /usr/ucb/* ) ;;
1361 *)
1362 # OSF1 and SCO ODT 3.0 have their own names for install.
1363 # Don't use installbsd from OSF since it installs stuff as root
1364 # by default.
1365 for ac_prog in ginstall scoinst install; do
1366 for ac_exec_ext in '' $ac_executable_extensions; do
1367 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1368 if test $ac_prog = install &&
1369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1370 # AIX install. It has an incompatible calling convention.
1371 :
1372 elif test $ac_prog = install &&
1373 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1374 # program-specific install script used by HP pwplus--don't use.
1375 :
1376 else
1377 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1378 break 3
1379 fi
1380 fi
1381 done
1382 done
1383 ;;
1384 esac
1385 done
1386
1387
1388 fi
1389 if test "${ac_cv_path_install+set}" = set; then
1390 INSTALL=$ac_cv_path_install
1391 else
1392 # As a last resort, use the slow shell script. We don't cache a
1393 # path for INSTALL within a source directory, because that will
1394 # break other packages using the cache if that directory is
1395 # removed, or if the path is relative.
1396 INSTALL=$ac_install_sh
1397 fi
1398 fi
1399 echo "$as_me:$LINENO: result: $INSTALL" >&5
1400 echo "${ECHO_T}$INSTALL" >&6
1401
1402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1403 # It thinks the first close brace ends the variable substitution.
1404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1405
1406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1407
1408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1409
1410 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1411 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1412 # Just in case
1413 sleep 1
1414 echo timestamp > conftest.file
1415 # Do `set' in a subshell so we don't clobber the current shell's
1416 # arguments. Must try -L first in case configure is actually a
1417 # symlink; some systems play weird games with the mod time of symlinks
1418 # (eg FreeBSD returns the mod time of the symlink's containing
1419 # directory).
1420 if (
1421 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1422 if test "$*" = "X"; then
1423 # -L didn't work.
1424 set X `ls -t $srcdir/configure conftest.file`
1425 fi
1426 rm -f conftest.file
1427 if test "$*" != "X $srcdir/configure conftest.file" \
1428 && test "$*" != "X conftest.file $srcdir/configure"; then
1429
1430 # If neither matched, then we have a broken ls. This can happen
1431 # if, for instance, CONFIG_SHELL is bash and it inherits a
1432 # broken ls alias from the environment. This has actually
1433 # happened. Such a system could not be considered "sane".
1434 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1435 alias in your environment" >&5
1436 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1437 alias in your environment" >&2;}
1438 { (exit 1); exit 1; }; }
1439 fi
1440
1441 test "$2" = conftest.file
1442 )
1443 then
1444 # Ok.
1445 :
1446 else
1447 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1448 Check your system clock" >&5
1449 echo "$as_me: error: newly created file is older than distributed files!
1450 Check your system clock" >&2;}
1451 { (exit 1); exit 1; }; }
1452 fi
1453 echo "$as_me:$LINENO: result: yes" >&5
1454 echo "${ECHO_T}yes" >&6
1455 test "$program_prefix" != NONE &&
1456 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1457 # Use a double $ so make ignores it.
1458 test "$program_suffix" != NONE &&
1459 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1460 # Double any \ or $. echo might interpret backslashes.
1461 # By default was `s,x,x', remove it if useless.
1462 cat <<\_ACEOF >conftest.sed
1463 s/[\\$]/&&/g;s/;s,x,x,$//
1464 _ACEOF
1465 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1466 rm conftest.sed
1467
1468
1469 # expand $ac_aux_dir to an absolute path
1470 am_aux_dir=`cd $ac_aux_dir && pwd`
1471
1472 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1473 # Use eval to expand $SHELL
1474 if eval "$MISSING --run true"; then
1475 am_missing_run="$MISSING --run "
1476 else
1477 am_missing_run=
1478 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1479 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1480 fi
1481
1482 for ac_prog in gawk mawk nawk awk
1483 do
1484 # Extract the first word of "$ac_prog", so it can be a program name with args.
1485 set dummy $ac_prog; ac_word=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_AWK+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1490 else
1491 if test -n "$AWK"; then
1492 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1493 else
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 for as_dir in $PATH
1496 do
1497 IFS=$as_save_IFS
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_AWK="$ac_prog"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 break 2
1504 fi
1505 done
1506 done
1507
1508 fi
1509 fi
1510 AWK=$ac_cv_prog_AWK
1511 if test -n "$AWK"; then
1512 echo "$as_me:$LINENO: result: $AWK" >&5
1513 echo "${ECHO_T}$AWK" >&6
1514 else
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1517 fi
1518
1519 test -n "$AWK" && break
1520 done
1521
1522 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1523 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1524 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1525 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 else
1528 cat >conftest.make <<\_ACEOF
1529 all:
1530 @echo 'ac_maketemp="$(MAKE)"'
1531 _ACEOF
1532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1533 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1534 if test -n "$ac_maketemp"; then
1535 eval ac_cv_prog_make_${ac_make}_set=yes
1536 else
1537 eval ac_cv_prog_make_${ac_make}_set=no
1538 fi
1539 rm -f conftest.make
1540 fi
1541 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1542 echo "$as_me:$LINENO: result: yes" >&5
1543 echo "${ECHO_T}yes" >&6
1544 SET_MAKE=
1545 else
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1548 SET_MAKE="MAKE=${MAKE-make}"
1549 fi
1550
1551 rm -rf .tst 2>/dev/null
1552 mkdir .tst 2>/dev/null
1553 if test -d .tst; then
1554 am__leading_dot=.
1555 else
1556 am__leading_dot=_
1557 fi
1558 rmdir .tst 2>/dev/null
1559
1560 # test to see if srcdir already configured
1561 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1562 test -f $srcdir/config.status; then
1563 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1564 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1565 { (exit 1); exit 1; }; }
1566 fi
1567
1568 # test whether we have cygpath
1569 if test -z "$CYGPATH_W"; then
1570 if (cygpath --version) >/dev/null 2>/dev/null; then
1571 CYGPATH_W='cygpath -w'
1572 else
1573 CYGPATH_W=echo
1574 fi
1575 fi
1576
1577
1578 # Define the identity of the package.
1579 PACKAGE='proxymngr'
1580 VERSION='1.0.1'
1581
1582
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE "$PACKAGE"
1585 _ACEOF
1586
1587
1588 cat >>confdefs.h <<_ACEOF
1589 #define VERSION "$VERSION"
1590 _ACEOF
1591
1592 # Some tools Automake needs.
1593
1594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1595
1596
1597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1598
1599
1600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1601
1602
1603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1604
1605
1606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1607
1608
1609 AMTAR=${AMTAR-"${am_missing_run}tar"}
1610
1611 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1612
1613 # Installed binaries are usually stripped using `strip' when the user
1614 # run `make install-strip'. However `strip' might not be the right
1615 # tool to use in cross-compilation environments, therefore Automake
1616 # will honor the `STRIP' environment variable to overrule this program.
1617 if test "$cross_compiling" != no; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1620 set dummy ${ac_tool_prefix}strip; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_STRIP+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 else
1626 if test -n "$STRIP"; then
1627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1628 else
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 for as_dir in $PATH
1631 do
1632 IFS=$as_save_IFS
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1638 break 2
1639 fi
1640 done
1641 done
1642
1643 fi
1644 fi
1645 STRIP=$ac_cv_prog_STRIP
1646 if test -n "$STRIP"; then
1647 echo "$as_me:$LINENO: result: $STRIP" >&5
1648 echo "${ECHO_T}$STRIP" >&6
1649 else
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1652 fi
1653
1654 fi
1655 if test -z "$ac_cv_prog_STRIP"; then
1656 ac_ct_STRIP=$STRIP
1657 # Extract the first word of "strip", so it can be a program name with args.
1658 set dummy strip; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 if test -n "$ac_ct_STRIP"; then
1665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1666 else
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 for as_dir in $PATH
1669 do
1670 IFS=$as_save_IFS
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_STRIP="strip"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 break 2
1677 fi
1678 done
1679 done
1680
1681 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1682 fi
1683 fi
1684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1685 if test -n "$ac_ct_STRIP"; then
1686 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1687 echo "${ECHO_T}$ac_ct_STRIP" >&6
1688 else
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1691 fi
1692
1693 STRIP=$ac_ct_STRIP
1694 else
1695 STRIP="$ac_cv_prog_STRIP"
1696 fi
1697
1698 fi
1699 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1700
1701 # We need awk for the "check" target. The system "awk" is bad on
1702 # some platforms.
1703
1704
1705
1706 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1707 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1708 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1709 if test "${enable_maintainer_mode+set}" = set; then
1710 enableval="$enable_maintainer_mode"
1711 USE_MAINTAINER_MODE=$enableval
1712 else
1713 USE_MAINTAINER_MODE=no
1714 fi;
1715 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1716 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1717
1718
1719 if test $USE_MAINTAINER_MODE = yes; then
1720 MAINTAINER_MODE_TRUE=
1721 MAINTAINER_MODE_FALSE='#'
1722 else
1723 MAINTAINER_MODE_TRUE='#'
1724 MAINTAINER_MODE_FALSE=
1725 fi
1726
1727 MAINT=$MAINTAINER_MODE_TRUE
1728
1729
1730
1731 # The program itself has a header called config.h so
1732 # we have to choose a different name
1733 ac_config_headers="$ac_config_headers xconfig.h"
1734
1735
1736 DEPDIR="${am__leading_dot}deps"
1737
1738 ac_config_commands="$ac_config_commands depfiles"
1739
1740
1741 am_make=${MAKE-make}
1742 cat > confinc << 'END'
1743 am__doit:
1744 @echo done
1745 .PHONY: am__doit
1746 END
1747 # If we don't find an include directive, just comment out the code.
1748 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1749 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1750 am__include="#"
1751 am__quote=
1752 _am_result=none
1753 # First try GNU make style include.
1754 echo "include confinc" > confmf
1755 # We grep out `Entering directory' and `Leaving directory'
1756 # messages which can occur if `w' ends up in MAKEFLAGS.
1757 # In particular we don't look at `^make:' because GNU make might
1758 # be invoked under some other name (usually "gmake"), in which
1759 # case it prints its new name instead of `make'.
1760 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1761 am__include=include
1762 am__quote=
1763 _am_result=GNU
1764 fi
1765 # Now try BSD make style include.
1766 if test "$am__include" = "#"; then
1767 echo '.include "confinc"' > confmf
1768 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1769 am__include=.include
1770 am__quote="\""
1771 _am_result=BSD
1772 fi
1773 fi
1774
1775
1776 echo "$as_me:$LINENO: result: $_am_result" >&5
1777 echo "${ECHO_T}$_am_result" >&6
1778 rm -f confinc confmf
1779
1780 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1781 if test "${enable_dependency_tracking+set}" = set; then
1782 enableval="$enable_dependency_tracking"
1783
1784 fi;
1785 if test "x$enable_dependency_tracking" != xno; then
1786 am_depcomp="$ac_aux_dir/depcomp"
1787 AMDEPBACKSLASH='\'
1788 fi
1789
1790
1791 if test "x$enable_dependency_tracking" != xno; then
1792 AMDEP_TRUE=
1793 AMDEP_FALSE='#'
1794 else
1795 AMDEP_TRUE='#'
1796 AMDEP_FALSE=
1797 fi
1798
1799
1800
1801 ac_ext=c
1802 ac_cpp='$CPP $CPPFLAGS'
1803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1813 else
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 break 2
1827 fi
1828 done
1829 done
1830
1831 fi
1832 fi
1833 CC=$ac_cv_prog_CC
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1837 else
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 fi
1841
1842 fi
1843 if test -z "$ac_cv_prog_CC"; then
1844 ac_ct_CC=$CC
1845 # Extract the first word of "gcc", so it can be a program name with args.
1846 set dummy gcc; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC="gcc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 break 2
1865 fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1875 else
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 CC=$ac_ct_CC
1881 else
1882 CC="$ac_cv_prog_CC"
1883 fi
1884
1885 if test -z "$CC"; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC="$CC" # Let the user override the test.
1896 else
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 for as_dir in $PATH
1899 do
1900 IFS=$as_save_IFS
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_CC="${ac_tool_prefix}cc"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 break 2
1907 fi
1908 done
1909 done
1910
1911 fi
1912 fi
1913 CC=$ac_cv_prog_CC
1914 if test -n "$CC"; then
1915 echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1917 else
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1920 fi
1921
1922 fi
1923 if test -z "$ac_cv_prog_CC"; then
1924 ac_ct_CC=$CC
1925 # Extract the first word of "cc", so it can be a program name with args.
1926 set dummy cc; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1937 do
1938 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_CC="cc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1945 fi
1946 done
1947 done
1948
1949 fi
1950 fi
1951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1955 else
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1958 fi
1959
1960 CC=$ac_ct_CC
1961 else
1962 CC="$ac_cv_prog_CC"
1963 fi
1964
1965 fi
1966 if test -z "$CC"; then
1967 # Extract the first word of "cc", so it can be a program name with args.
1968 set dummy cc; ac_word=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974 if test -n "$CC"; then
1975 ac_cv_prog_CC="$CC" # Let the user override the test.
1976 else
1977 ac_prog_rejected=no
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 for as_dir in $PATH
1980 do
1981 IFS=$as_save_IFS
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1986 ac_prog_rejected=yes
1987 continue
1988 fi
1989 ac_cv_prog_CC="cc"
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 break 2
1992 fi
1993 done
1994 done
1995
1996 if test $ac_prog_rejected = yes; then
1997 # We found a bogon in the path, so make sure we never use it.
1998 set dummy $ac_cv_prog_CC
1999 shift
2000 if test $# != 0; then
2001 # We chose a different compiler from the bogus one.
2002 # However, it has the same basename, so the bogon will be chosen
2003 # first if we set CC to just the basename; use the full file name.
2004 shift
2005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2006 fi
2007 fi
2008 fi
2009 fi
2010 CC=$ac_cv_prog_CC
2011 if test -n "$CC"; then
2012 echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2014 else
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2017 fi
2018
2019 fi
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2022 for ac_prog in cl
2023 do
2024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 else
2031 if test -n "$CC"; then
2032 ac_cv_prog_CC="$CC" # Let the user override the test.
2033 else
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035 for as_dir in $PATH
2036 do
2037 IFS=$as_save_IFS
2038 test -z "$as_dir" && as_dir=.
2039 for ac_exec_ext in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2043 break 2
2044 fi
2045 done
2046 done
2047
2048 fi
2049 fi
2050 CC=$ac_cv_prog_CC
2051 if test -n "$CC"; then
2052 echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6
2054 else
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2057 fi
2058
2059 test -n "$CC" && break
2060 done
2061 fi
2062 if test -z "$CC"; then
2063 ac_ct_CC=$CC
2064 for ac_prog in cl
2065 do
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy $ac_prog; ac_word=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 else
2073 if test -n "$ac_ct_CC"; then
2074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CC="$ac_prog"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2086 fi
2087 done
2088 done
2089
2090 fi
2091 fi
2092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2095 echo "${ECHO_T}$ac_ct_CC" >&6
2096 else
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2099 fi
2100
2101 test -n "$ac_ct_CC" && break
2102 done
2103
2104 CC=$ac_ct_CC
2105 fi
2106
2107 fi
2108
2109
2110 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2115
2116 # Provide some information about the compiler.
2117 echo "$as_me:$LINENO:" \
2118 "checking for C compiler version" >&5
2119 ac_compiler=`set X $ac_compile; echo $2`
2120 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2121 (eval $ac_compiler --version </dev/null >&5) 2>&5
2122 ac_status=$?
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2126 (eval $ac_compiler -v </dev/null >&5) 2>&5
2127 ac_status=$?
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2131 (eval $ac_compiler -V </dev/null >&5) 2>&5
2132 ac_status=$?
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }
2135
2136 cat >conftest.$ac_ext <<_ACEOF
2137 /* confdefs.h. */
2138 _ACEOF
2139 cat confdefs.h >>conftest.$ac_ext
2140 cat >>conftest.$ac_ext <<_ACEOF
2141 /* end confdefs.h. */
2142
2143 int
2144 main ()
2145 {
2146
2147 ;
2148 return 0;
2149 }
2150 _ACEOF
2151 ac_clean_files_save=$ac_clean_files
2152 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2153 # Try to create an executable without -o first, disregard a.out.
2154 # It will help us diagnose broken compilers, and finding out an intuition
2155 # of exeext.
2156 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2157 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2158 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2159 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2160 (eval $ac_link_default) 2>&5
2161 ac_status=$?
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; then
2164 # Find the output, starting from the most likely. This scheme is
2165 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2166 # resort.
2167
2168 # Be careful to initialize this variable, since it used to be cached.
2169 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2170 ac_cv_exeext=
2171 # b.out is created by i960 compilers.
2172 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2173 do
2174 test -f "$ac_file" || continue
2175 case $ac_file in
2176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2177 ;;
2178 conftest.$ac_ext )
2179 # This is the source file.
2180 ;;
2181 [ab].out )
2182 # We found the default executable, but exeext='' is most
2183 # certainly right.
2184 break;;
2185 *.* )
2186 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2187 # FIXME: I believe we export ac_cv_exeext for Libtool,
2188 # but it would be cool to find out if it's true. Does anybody
2189 # maintain Libtool? --akim.
2190 export ac_cv_exeext
2191 break;;
2192 * )
2193 break;;
2194 esac
2195 done
2196 else
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2199
2200 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2201 See \`config.log' for more details." >&5
2202 echo "$as_me: error: C compiler cannot create executables
2203 See \`config.log' for more details." >&2;}
2204 { (exit 77); exit 77; }; }
2205 fi
2206
2207 ac_exeext=$ac_cv_exeext
2208 echo "$as_me:$LINENO: result: $ac_file" >&5
2209 echo "${ECHO_T}$ac_file" >&6
2210
2211 # Check the compiler produces executables we can run. If not, either
2212 # the compiler is broken, or we cross compile.
2213 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2214 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2215 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2216 # If not cross compiling, check that we can run a simple program.
2217 if test "$cross_compiling" != yes; then
2218 if { ac_try='./$ac_file'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 (eval $ac_try) 2>&5
2221 ac_status=$?
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; }; then
2224 cross_compiling=no
2225 else
2226 if test "$cross_compiling" = maybe; then
2227 cross_compiling=yes
2228 else
2229 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2230 If you meant to cross compile, use \`--host'.
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: cannot run C compiled programs.
2233 If you meant to cross compile, use \`--host'.
2234 See \`config.log' for more details." >&2;}
2235 { (exit 1); exit 1; }; }
2236 fi
2237 fi
2238 fi
2239 echo "$as_me:$LINENO: result: yes" >&5
2240 echo "${ECHO_T}yes" >&6
2241
2242 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2243 ac_clean_files=$ac_clean_files_save
2244 # Check the compiler produces executables we can run. If not, either
2245 # the compiler is broken, or we cross compile.
2246 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2247 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2248 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2249 echo "${ECHO_T}$cross_compiling" >&6
2250
2251 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2252 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2254 (eval $ac_link) 2>&5
2255 ac_status=$?
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; then
2258 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2259 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2260 # work properly (i.e., refer to `conftest.exe'), while it won't with
2261 # `rm'.
2262 for ac_file in conftest.exe conftest conftest.*; do
2263 test -f "$ac_file" || continue
2264 case $ac_file in
2265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2266 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2267 export ac_cv_exeext
2268 break;;
2269 * ) break;;
2270 esac
2271 done
2272 else
2273 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2274 See \`config.log' for more details." >&5
2275 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2276 See \`config.log' for more details." >&2;}
2277 { (exit 1); exit 1; }; }
2278 fi
2279
2280 rm -f conftest$ac_cv_exeext
2281 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2282 echo "${ECHO_T}$ac_cv_exeext" >&6
2283
2284 rm -f conftest.$ac_ext
2285 EXEEXT=$ac_cv_exeext
2286 ac_exeext=$EXEEXT
2287 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2288 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2289 if test "${ac_cv_objext+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 cat >conftest.$ac_ext <<_ACEOF
2293 /* confdefs.h. */
2294 _ACEOF
2295 cat confdefs.h >>conftest.$ac_ext
2296 cat >>conftest.$ac_ext <<_ACEOF
2297 /* end confdefs.h. */
2298
2299 int
2300 main ()
2301 {
2302
2303 ;
2304 return 0;
2305 }
2306 _ACEOF
2307 rm -f conftest.o conftest.obj
2308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2309 (eval $ac_compile) 2>&5
2310 ac_status=$?
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; then
2313 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2314 case $ac_file in
2315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2316 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2317 break;;
2318 esac
2319 done
2320 else
2321 echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.$ac_ext >&5
2323
2324 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2325 See \`config.log' for more details." >&5
2326 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2327 See \`config.log' for more details." >&2;}
2328 { (exit 1); exit 1; }; }
2329 fi
2330
2331 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2332 fi
2333 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2334 echo "${ECHO_T}$ac_cv_objext" >&6
2335 OBJEXT=$ac_cv_objext
2336 ac_objext=$OBJEXT
2337 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2338 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2339 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 else
2342 cat >conftest.$ac_ext <<_ACEOF
2343 /* confdefs.h. */
2344 _ACEOF
2345 cat confdefs.h >>conftest.$ac_ext
2346 cat >>conftest.$ac_ext <<_ACEOF
2347 /* end confdefs.h. */
2348
2349 int
2350 main ()
2351 {
2352 #ifndef __GNUC__
2353 choke me
2354 #endif
2355
2356 ;
2357 return 0;
2358 }
2359 _ACEOF
2360 rm -f conftest.$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>conftest.er1
2363 ac_status=$?
2364 grep -v '^ *+' conftest.er1 >conftest.err
2365 rm -f conftest.er1
2366 cat conftest.err >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try='test -z "$ac_c_werror_flag"
2370 || test ! -s conftest.err'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2372 (eval $ac_try) 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; } &&
2376 { ac_try='test -s conftest.$ac_objext'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 (eval $ac_try) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; }; then
2382 ac_compiler_gnu=yes
2383 else
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2386
2387 ac_compiler_gnu=no
2388 fi
2389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2391
2392 fi
2393 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2395 GCC=`test $ac_compiler_gnu = yes && echo yes`
2396 ac_test_CFLAGS=${CFLAGS+set}
2397 ac_save_CFLAGS=$CFLAGS
2398 CFLAGS="-g"
2399 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2400 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2401 if test "${ac_cv_prog_cc_g+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 else
2404 cat >conftest.$ac_ext <<_ACEOF
2405 /* confdefs.h. */
2406 _ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2410
2411 int
2412 main ()
2413 {
2414
2415 ;
2416 return 0;
2417 }
2418 _ACEOF
2419 rm -f conftest.$ac_objext
2420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2421 (eval $ac_compile) 2>conftest.er1
2422 ac_status=$?
2423 grep -v '^ *+' conftest.er1 >conftest.err
2424 rm -f conftest.er1
2425 cat conftest.err >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); } &&
2428 { ac_try='test -z "$ac_c_werror_flag"
2429 || test ! -s conftest.err'
2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431 (eval $ac_try) 2>&5
2432 ac_status=$?
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; } &&
2435 { ac_try='test -s conftest.$ac_objext'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437 (eval $ac_try) 2>&5
2438 ac_status=$?
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; }; then
2441 ac_cv_prog_cc_g=yes
2442 else
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.$ac_ext >&5
2445
2446 ac_cv_prog_cc_g=no
2447 fi
2448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2449 fi
2450 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2451 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2452 if test "$ac_test_CFLAGS" = set; then
2453 CFLAGS=$ac_save_CFLAGS
2454 elif test $ac_cv_prog_cc_g = yes; then
2455 if test "$GCC" = yes; then
2456 CFLAGS="-g -O2"
2457 else
2458 CFLAGS="-g"
2459 fi
2460 else
2461 if test "$GCC" = yes; then
2462 CFLAGS="-O2"
2463 else
2464 CFLAGS=
2465 fi
2466 fi
2467 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2468 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2469 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 ac_cv_prog_cc_stdc=no
2473 ac_save_CC=$CC
2474 cat >conftest.$ac_ext <<_ACEOF
2475 /* confdefs.h. */
2476 _ACEOF
2477 cat confdefs.h >>conftest.$ac_ext
2478 cat >>conftest.$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2480 #include <stdarg.h>
2481 #include <stdio.h>
2482 #include <sys/types.h>
2483 #include <sys/stat.h>
2484 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2485 struct buf { int x; };
2486 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2487 static char *e (p, i)
2488 char **p;
2489 int i;
2490 {
2491 return p[i];
2492 }
2493 static char *f (char * (*g) (char **, int), char **p, ...)
2494 {
2495 char *s;
2496 va_list v;
2497 va_start (v,p);
2498 s = g (p, va_arg (v,int));
2499 va_end (v);
2500 return s;
2501 }
2502
2503 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2504 function prototypes and stuff, but not '\xHH' hex character constants.
2505 These don't provoke an error unfortunately, instead are silently treated
2506 as 'x'. The following induces an error, until -std1 is added to get
2507 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2508 array size at least. It's necessary to write '\x00'==0 to get something
2509 that's true only with -std1. */
2510 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2511
2512 int test (int i, double x);
2513 struct s1 {int (*f) (int a);};
2514 struct s2 {int (*f) (double a);};
2515 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2516 int argc;
2517 char **argv;
2518 int
2519 main ()
2520 {
2521 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2522 ;
2523 return 0;
2524 }
2525 _ACEOF
2526 # Don't try gcc -ansi; that turns off useful extensions and
2527 # breaks some systems' header files.
2528 # AIX -qlanglvl=ansi
2529 # Ultrix and OSF/1 -std1
2530 # HP-UX 10.20 and later -Ae
2531 # HP-UX older versions -Aa -D_HPUX_SOURCE
2532 # SVR4 -Xc -D__EXTENSIONS__
2533 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2534 do
2535 CC="$ac_save_CC $ac_arg"
2536 rm -f conftest.$ac_objext
2537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2538 (eval $ac_compile) 2>conftest.er1
2539 ac_status=$?
2540 grep -v '^ *+' conftest.er1 >conftest.err
2541 rm -f conftest.er1
2542 cat conftest.err >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); } &&
2545 { ac_try='test -z "$ac_c_werror_flag"
2546 || test ! -s conftest.err'
2547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 (eval $ac_try) 2>&5
2549 ac_status=$?
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; } &&
2552 { ac_try='test -s conftest.$ac_objext'
2553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554 (eval $ac_try) 2>&5
2555 ac_status=$?
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; }; then
2558 ac_cv_prog_cc_stdc=$ac_arg
2559 break
2560 else
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2563
2564 fi
2565 rm -f conftest.err conftest.$ac_objext
2566 done
2567 rm -f conftest.$ac_ext conftest.$ac_objext
2568 CC=$ac_save_CC
2569
2570 fi
2571
2572 case "x$ac_cv_prog_cc_stdc" in
2573 x|xno)
2574 echo "$as_me:$LINENO: result: none needed" >&5
2575 echo "${ECHO_T}none needed" >&6 ;;
2576 *)
2577 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2578 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2579 CC="$CC $ac_cv_prog_cc_stdc" ;;
2580 esac
2581
2582 # Some people use a C++ compiler to compile C. Since we use `exit',
2583 # in C++ we need to declare it. In case someone uses the same compiler
2584 # for both compiling C and C++ we need to have the C++ compiler decide
2585 # the declaration of exit, since it's the most demanding environment.
2586 cat >conftest.$ac_ext <<_ACEOF
2587 #ifndef __cplusplus
2588 choke me
2589 #endif
2590 _ACEOF
2591 rm -f conftest.$ac_objext
2592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2593 (eval $ac_compile) 2>conftest.er1
2594 ac_status=$?
2595 grep -v '^ *+' conftest.er1 >conftest.err
2596 rm -f conftest.er1
2597 cat conftest.err >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); } &&
2600 { ac_try='test -z "$ac_c_werror_flag"
2601 || test ! -s conftest.err'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 (eval $ac_try) 2>&5
2604 ac_status=$?
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; } &&
2607 { ac_try='test -s conftest.$ac_objext'
2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 (eval $ac_try) 2>&5
2610 ac_status=$?
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; }; then
2613 for ac_declaration in \
2614 '' \
2615 'extern "C" void std::exit (int) throw (); using std::exit;' \
2616 'extern "C" void std::exit (int); using std::exit;' \
2617 'extern "C" void exit (int) throw ();' \
2618 'extern "C" void exit (int);' \
2619 'void exit (int);'
2620 do
2621 cat >conftest.$ac_ext <<_ACEOF
2622 /* confdefs.h. */
2623 _ACEOF
2624 cat confdefs.h >>conftest.$ac_ext
2625 cat >>conftest.$ac_ext <<_ACEOF
2626 /* end confdefs.h. */
2627 $ac_declaration
2628 #include <stdlib.h>
2629 int
2630 main ()
2631 {
2632 exit (42);
2633 ;
2634 return 0;
2635 }
2636 _ACEOF
2637 rm -f conftest.$ac_objext
2638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639 (eval $ac_compile) 2>conftest.er1
2640 ac_status=$?
2641 grep -v '^ *+' conftest.er1 >conftest.err
2642 rm -f conftest.er1
2643 cat conftest.err >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try='test -z "$ac_c_werror_flag"
2647 || test ! -s conftest.err'
2648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649 (eval $ac_try) 2>&5
2650 ac_status=$?
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; } &&
2653 { ac_try='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 (eval $ac_try) 2>&5
2656 ac_status=$?
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2659 :
2660 else
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2663
2664 continue
2665 fi
2666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2667 cat >conftest.$ac_ext <<_ACEOF
2668 /* confdefs.h. */
2669 _ACEOF
2670 cat confdefs.h >>conftest.$ac_ext
2671 cat >>conftest.$ac_ext <<_ACEOF
2672 /* end confdefs.h. */
2673 $ac_declaration
2674 int
2675 main ()
2676 {
2677 exit (42);
2678 ;
2679 return 0;
2680 }
2681 _ACEOF
2682 rm -f conftest.$ac_objext
2683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2684 (eval $ac_compile) 2>conftest.er1
2685 ac_status=$?
2686 grep -v '^ *+' conftest.er1 >conftest.err
2687 rm -f conftest.er1
2688 cat conftest.err >&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); } &&
2691 { ac_try='test -z "$ac_c_werror_flag"
2692 || test ! -s conftest.err'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 (eval $ac_try) 2>&5
2695 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; } &&
2698 { ac_try='test -s conftest.$ac_objext'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 (eval $ac_try) 2>&5
2701 ac_status=$?
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2704 break
2705 else
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2708
2709 fi
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2711 done
2712 rm -f conftest*
2713 if test -n "$ac_declaration"; then
2714 echo '#ifdef __cplusplus' >>confdefs.h
2715 echo $ac_declaration >>confdefs.h
2716 echo '#endif' >>confdefs.h
2717 fi
2718
2719 else
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.$ac_ext >&5
2722
2723 fi
2724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2725 ac_ext=c
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2730
2731 depcc="$CC" am_compiler_list=
2732
2733 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2734 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2735 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2737 else
2738 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2739 # We make a subdir and do the tests there. Otherwise we can end up
2740 # making bogus files that we don't know about and never remove. For
2741 # instance it was reported that on HP-UX the gcc test will end up
2742 # making a dummy file named `D' -- because `-MD' means `put the output
2743 # in D'.
2744 mkdir conftest.dir
2745 # Copy depcomp to subdir because otherwise we won't find it if we're
2746 # using a relative directory.
2747 cp "$am_depcomp" conftest.dir
2748 cd conftest.dir
2749 # We will build objects and dependencies in a subdirectory because
2750 # it helps to detect inapplicable dependency modes. For instance
2751 # both Tru64's cc and ICC support -MD to output dependencies as a
2752 # side effect of compilation, but ICC will put the dependencies in
2753 # the current directory while Tru64 will put them in the object
2754 # directory.
2755 mkdir sub
2756
2757 am_cv_CC_dependencies_compiler_type=none
2758 if test "$am_compiler_list" = ""; then
2759 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2760 fi
2761 for depmode in $am_compiler_list; do
2762 # Setup a source with many dependencies, because some compilers
2763 # like to wrap large dependency lists on column 80 (with \), and
2764 # we should not choose a depcomp mode which is confused by this.
2765 #
2766 # We need to recreate these files for each test, as the compiler may
2767 # overwrite some of them when testing with obscure command lines.
2768 # This happens at least with the AIX C compiler.
2769 : > sub/conftest.c
2770 for i in 1 2 3 4 5 6; do
2771 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2772 : > sub/conftst$i.h
2773 done
2774 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2775
2776 case $depmode in
2777 nosideeffect)
2778 # after this tag, mechanisms are not by side-effect, so they'll
2779 # only be used when explicitly requested
2780 if test "x$enable_dependency_tracking" = xyes; then
2781 continue
2782 else
2783 break
2784 fi
2785 ;;
2786 none) break ;;
2787 esac
2788 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2789 # mode. It turns out that the SunPro C++ compiler does not properly
2790 # handle `-M -o', and we need to detect this.
2791 if depmode=$depmode \
2792 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2793 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2794 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2795 >/dev/null 2>conftest.err &&
2796 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2797 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2798 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2799 # icc doesn't choke on unknown options, it will just issue warnings
2800 # (even with -Werror). So we grep stderr for any message
2801 # that says an option was ignored.
2802 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2803 am_cv_CC_dependencies_compiler_type=$depmode
2804 break
2805 fi
2806 fi
2807 done
2808
2809 cd ..
2810 rm -rf conftest.dir
2811 else
2812 am_cv_CC_dependencies_compiler_type=none
2813 fi
2814
2815 fi
2816 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2817 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2818 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2819
2820
2821
2822 if
2823 test "x$enable_dependency_tracking" != xno \
2824 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2825 am__fastdepCC_TRUE=
2826 am__fastdepCC_FALSE='#'
2827 else
2828 am__fastdepCC_TRUE='#'
2829 am__fastdepCC_FALSE=
2830 fi
2831
2832
2833 ac_ext=c
2834 ac_cpp='$CPP $CPPFLAGS'
2835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2838 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2839 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2840 # On Suns, sometimes $CPP names a directory.
2841 if test -n "$CPP" && test -d "$CPP"; then
2842 CPP=
2843 fi
2844 if test -z "$CPP"; then
2845 if test "${ac_cv_prog_CPP+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848 # Double quotes because CPP needs to be expanded
2849 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2850 do
2851 ac_preproc_ok=false
2852 for ac_c_preproc_warn_flag in '' yes
2853 do
2854 # Use a header file that comes with gcc, so configuring glibc
2855 # with a fresh cross-compiler works.
2856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2857 # <limits.h> exists even on freestanding compilers.
2858 # On the NeXT, cc -E runs the code through the compiler's parser,
2859 # not just through cpp. "Syntax error" is here to catch this case.
2860 cat >conftest.$ac_ext <<_ACEOF
2861 /* confdefs.h. */
2862 _ACEOF
2863 cat confdefs.h >>conftest.$ac_ext
2864 cat >>conftest.$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2866 #ifdef __STDC__
2867 # include <limits.h>
2868 #else
2869 # include <assert.h>
2870 #endif
2871 Syntax error
2872 _ACEOF
2873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2875 ac_status=$?
2876 grep -v '^ *+' conftest.er1 >conftest.err
2877 rm -f conftest.er1
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } >/dev/null; then
2881 if test -s conftest.err; then
2882 ac_cpp_err=$ac_c_preproc_warn_flag
2883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2884 else
2885 ac_cpp_err=
2886 fi
2887 else
2888 ac_cpp_err=yes
2889 fi
2890 if test -z "$ac_cpp_err"; then
2891 :
2892 else
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2895
2896 # Broken: fails on valid input.
2897 continue
2898 fi
2899 rm -f conftest.err conftest.$ac_ext
2900
2901 # OK, works on sane cases. Now check whether non-existent headers
2902 # can be detected and how.
2903 cat >conftest.$ac_ext <<_ACEOF
2904 /* confdefs.h. */
2905 _ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2909 #include <ac_nonexistent.h>
2910 _ACEOF
2911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } >/dev/null; then
2919 if test -s conftest.err; then
2920 ac_cpp_err=$ac_c_preproc_warn_flag
2921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2922 else
2923 ac_cpp_err=
2924 fi
2925 else
2926 ac_cpp_err=yes
2927 fi
2928 if test -z "$ac_cpp_err"; then
2929 # Broken: success on invalid input.
2930 continue
2931 else
2932 echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2934
2935 # Passes both tests.
2936 ac_preproc_ok=:
2937 break
2938 fi
2939 rm -f conftest.err conftest.$ac_ext
2940
2941 done
2942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2943 rm -f conftest.err conftest.$ac_ext
2944 if $ac_preproc_ok; then
2945 break
2946 fi
2947
2948 done
2949 ac_cv_prog_CPP=$CPP
2950
2951 fi
2952 CPP=$ac_cv_prog_CPP
2953 else
2954 ac_cv_prog_CPP=$CPP
2955 fi
2956 echo "$as_me:$LINENO: result: $CPP" >&5
2957 echo "${ECHO_T}$CPP" >&6
2958 ac_preproc_ok=false
2959 for ac_c_preproc_warn_flag in '' yes
2960 do
2961 # Use a header file that comes with gcc, so configuring glibc
2962 # with a fresh cross-compiler works.
2963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2964 # <limits.h> exists even on freestanding compilers.
2965 # On the NeXT, cc -E runs the code through the compiler's parser,
2966 # not just through cpp. "Syntax error" is here to catch this case.
2967 cat >conftest.$ac_ext <<_ACEOF
2968 /* confdefs.h. */
2969 _ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2973 #ifdef __STDC__
2974 # include <limits.h>
2975 #else
2976 # include <assert.h>
2977 #endif
2978 Syntax error
2979 _ACEOF
2980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2982 ac_status=$?
2983 grep -v '^ *+' conftest.er1 >conftest.err
2984 rm -f conftest.er1
2985 cat conftest.err >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); } >/dev/null; then
2988 if test -s conftest.err; then
2989 ac_cpp_err=$ac_c_preproc_warn_flag
2990 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2991 else
2992 ac_cpp_err=
2993 fi
2994 else
2995 ac_cpp_err=yes
2996 fi
2997 if test -z "$ac_cpp_err"; then
2998 :
2999 else
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3002
3003 # Broken: fails on valid input.
3004 continue
3005 fi
3006 rm -f conftest.err conftest.$ac_ext
3007
3008 # OK, works on sane cases. Now check whether non-existent headers
3009 # can be detected and how.
3010 cat >conftest.$ac_ext <<_ACEOF
3011 /* confdefs.h. */
3012 _ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3016 #include <ac_nonexistent.h>
3017 _ACEOF
3018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3020 ac_status=$?
3021 grep -v '^ *+' conftest.er1 >conftest.err
3022 rm -f conftest.er1
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } >/dev/null; then
3026 if test -s conftest.err; then
3027 ac_cpp_err=$ac_c_preproc_warn_flag
3028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3029 else
3030 ac_cpp_err=
3031 fi
3032 else
3033 ac_cpp_err=yes
3034 fi
3035 if test -z "$ac_cpp_err"; then
3036 # Broken: success on invalid input.
3037 continue
3038 else
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3041
3042 # Passes both tests.
3043 ac_preproc_ok=:
3044 break
3045 fi
3046 rm -f conftest.err conftest.$ac_ext
3047
3048 done
3049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3050 rm -f conftest.err conftest.$ac_ext
3051 if $ac_preproc_ok; then
3052 :
3053 else
3054 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3055 See \`config.log' for more details." >&5
3056 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3057 See \`config.log' for more details." >&2;}
3058 { (exit 1); exit 1; }; }
3059 fi
3060
3061 ac_ext=c
3062 ac_cpp='$CPP $CPPFLAGS'
3063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3066
3067 ac_ext=c
3068 ac_cpp='$CPP $CPPFLAGS'
3069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3072 if test -n "$ac_tool_prefix"; then
3073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3074 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3075 echo "$as_me:$LINENO: checking for $ac_word" >&5
3076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3077 if test "${ac_cv_prog_CC+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 else
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC="$CC" # Let the user override the test.
3082 else
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 break 2
3093 fi
3094 done
3095 done
3096
3097 fi
3098 fi
3099 CC=$ac_cv_prog_CC
3100 if test -n "$CC"; then
3101 echo "$as_me:$LINENO: result: $CC" >&5
3102 echo "${ECHO_T}$CC" >&6
3103 else
3104 echo "$as_me:$LINENO: result: no" >&5
3105 echo "${ECHO_T}no" >&6
3106 fi
3107
3108 fi
3109 if test -z "$ac_cv_prog_CC"; then
3110 ac_ct_CC=$CC
3111 # Extract the first word of "gcc", so it can be a program name with args.
3112 set dummy gcc; ac_word=$2
3113 echo "$as_me:$LINENO: checking for $ac_word" >&5
3114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118 if test -n "$ac_ct_CC"; then
3119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3120 else
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_ac_ct_CC="gcc"
3129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 break 2
3131 fi
3132 done
3133 done
3134
3135 fi
3136 fi
3137 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3138 if test -n "$ac_ct_CC"; then
3139 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3140 echo "${ECHO_T}$ac_ct_CC" >&6
3141 else
3142 echo "$as_me:$LINENO: result: no" >&5
3143 echo "${ECHO_T}no" >&6
3144 fi
3145
3146 CC=$ac_ct_CC
3147 else
3148 CC="$ac_cv_prog_CC"
3149 fi
3150
3151 if test -z "$CC"; then
3152 if test -n "$ac_tool_prefix"; then
3153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3154 set dummy ${ac_tool_prefix}cc; ac_word=$2
3155 echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3157 if test "${ac_cv_prog_CC+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC="$CC" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3165 do
3166 IFS=$as_save_IFS
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_CC="${ac_tool_prefix}cc"
3171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 break 2
3173 fi
3174 done
3175 done
3176
3177 fi
3178 fi
3179 CC=$ac_cv_prog_CC
3180 if test -n "$CC"; then
3181 echo "$as_me:$LINENO: result: $CC" >&5
3182 echo "${ECHO_T}$CC" >&6
3183 else
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3186 fi
3187
3188 fi
3189 if test -z "$ac_cv_prog_CC"; then
3190 ac_ct_CC=$CC
3191 # Extract the first word of "cc", so it can be a program name with args.
3192 set dummy cc; ac_word=$2
3193 echo "$as_me:$LINENO: checking for $ac_word" >&5
3194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 else
3198 if test -n "$ac_ct_CC"; then
3199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3200 else
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 for as_dir in $PATH
3203 do
3204 IFS=$as_save_IFS
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_ac_ct_CC="cc"
3209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 break 2
3211 fi
3212 done
3213 done
3214
3215 fi
3216 fi
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3220 echo "${ECHO_T}$ac_ct_CC" >&6
3221 else
3222 echo "$as_me:$LINENO: result: no" >&5
3223 echo "${ECHO_T}no" >&6
3224 fi
3225
3226 CC=$ac_ct_CC
3227 else
3228 CC="$ac_cv_prog_CC"
3229 fi
3230
3231 fi
3232 if test -z "$CC"; then
3233 # Extract the first word of "cc", so it can be a program name with args.
3234 set dummy cc; ac_word=$2
3235 echo "$as_me:$LINENO: checking for $ac_word" >&5
3236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3237 if test "${ac_cv_prog_CC+set}" = set; then
3238 echo $ECHO_N "(cached) $ECHO_C" >&6
3239 else
3240 if test -n "$CC"; then
3241 ac_cv_prog_CC="$CC" # Let the user override the test.
3242 else
3243 ac_prog_rejected=no
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 for as_dir in $PATH
3246 do
3247 IFS=$as_save_IFS
3248 test -z "$as_dir" && as_dir=.
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3252 ac_prog_rejected=yes
3253 continue
3254 fi
3255 ac_cv_prog_CC="cc"
3256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 break 2
3258 fi
3259 done
3260 done
3261
3262 if test $ac_prog_rejected = yes; then
3263 # We found a bogon in the path, so make sure we never use it.
3264 set dummy $ac_cv_prog_CC
3265 shift
3266 if test $# != 0; then
3267 # We chose a different compiler from the bogus one.
3268 # However, it has the same basename, so the bogon will be chosen
3269 # first if we set CC to just the basename; use the full file name.
3270 shift
3271 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3272 fi
3273 fi
3274 fi
3275 fi
3276 CC=$ac_cv_prog_CC
3277 if test -n "$CC"; then
3278 echo "$as_me:$LINENO: result: $CC" >&5
3279 echo "${ECHO_T}$CC" >&6
3280 else
3281 echo "$as_me:$LINENO: result: no" >&5
3282 echo "${ECHO_T}no" >&6
3283 fi
3284
3285 fi
3286 if test -z "$CC"; then
3287 if test -n "$ac_tool_prefix"; then
3288 for ac_prog in cl
3289 do
3290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3292 echo "$as_me:$LINENO: checking for $ac_word" >&5
3293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3294 if test "${ac_cv_prog_CC+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 else
3297 if test -n "$CC"; then
3298 ac_cv_prog_CC="$CC" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3302 do
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3310 fi
3311 done
3312 done
3313
3314 fi
3315 fi
3316 CC=$ac_cv_prog_CC
3317 if test -n "$CC"; then
3318 echo "$as_me:$LINENO: result: $CC" >&5
3319 echo "${ECHO_T}$CC" >&6
3320 else
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 fi
3324
3325 test -n "$CC" && break
3326 done
3327 fi
3328 if test -z "$CC"; then
3329 ac_ct_CC=$CC
3330 for ac_prog in cl
3331 do
3332 # Extract the first word of "$ac_prog", so it can be a program name with args.
3333 set dummy $ac_prog; ac_word=$2
3334 echo "$as_me:$LINENO: checking for $ac_word" >&5
3335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 else
3339 if test -n "$ac_ct_CC"; then
3340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3341 else
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 for as_dir in $PATH
3344 do
3345 IFS=$as_save_IFS
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_ac_ct_CC="$ac_prog"
3350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 break 2
3352 fi
3353 done
3354 done
3355
3356 fi
3357 fi
3358 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3359 if test -n "$ac_ct_CC"; then
3360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3361 echo "${ECHO_T}$ac_ct_CC" >&6
3362 else
3363 echo "$as_me:$LINENO: result: no" >&5
3364 echo "${ECHO_T}no" >&6
3365 fi
3366
3367 test -n "$ac_ct_CC" && break
3368 done
3369
3370 CC=$ac_ct_CC
3371 fi
3372
3373 fi
3374
3375
3376 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3377 See \`config.log' for more details." >&5
3378 echo "$as_me: error: no acceptable C compiler found in \$PATH
3379 See \`config.log' for more details." >&2;}
3380 { (exit 1); exit 1; }; }
3381
3382 # Provide some information about the compiler.
3383 echo "$as_me:$LINENO:" \
3384 "checking for C compiler version" >&5
3385 ac_compiler=`set X $ac_compile; echo $2`
3386 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3387 (eval $ac_compiler --version </dev/null >&5) 2>&5
3388 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }
3391 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3392 (eval $ac_compiler -v </dev/null >&5) 2>&5
3393 ac_status=$?
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }
3396 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3397 (eval $ac_compiler -V </dev/null >&5) 2>&5
3398 ac_status=$?
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); }
3401
3402 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3403 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3404 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3405 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 else
3407 cat >conftest.$ac_ext <<_ACEOF
3408 /* confdefs.h. */
3409 _ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3413
3414 int
3415 main ()
3416 {
3417 #ifndef __GNUC__
3418 choke me
3419 #endif
3420
3421 ;
3422 return 0;
3423 }
3424 _ACEOF
3425 rm -f conftest.$ac_objext
3426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3427 (eval $ac_compile) 2>conftest.er1
3428 ac_status=$?
3429 grep -v '^ *+' conftest.er1 >conftest.err
3430 rm -f conftest.er1
3431 cat conftest.err >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } &&
3434 { ac_try='test -z "$ac_c_werror_flag"
3435 || test ! -s conftest.err'
3436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 (eval $ac_try) 2>&5
3438 ac_status=$?
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); }; } &&
3441 { ac_try='test -s conftest.$ac_objext'
3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 (eval $ac_try) 2>&5
3444 ac_status=$?
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); }; }; then
3447 ac_compiler_gnu=yes
3448 else
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3451
3452 ac_compiler_gnu=no
3453 fi
3454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3456
3457 fi
3458 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3459 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3460 GCC=`test $ac_compiler_gnu = yes && echo yes`
3461 ac_test_CFLAGS=${CFLAGS+set}
3462 ac_save_CFLAGS=$CFLAGS
3463 CFLAGS="-g"
3464 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3465 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3466 if test "${ac_cv_prog_cc_g+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469 cat >conftest.$ac_ext <<_ACEOF
3470 /* confdefs.h. */
3471 _ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3475
3476 int
3477 main ()
3478 {
3479
3480 ;
3481 return 0;
3482 }
3483 _ACEOF
3484 rm -f conftest.$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>conftest.er1
3487 ac_status=$?
3488 grep -v '^ *+' conftest.er1 >conftest.err
3489 rm -f conftest.er1
3490 cat conftest.err >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try='test -z "$ac_c_werror_flag"
3494 || test ! -s conftest.err'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3496 (eval $ac_try) 2>&5
3497 ac_status=$?
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; } &&
3500 { ac_try='test -s conftest.$ac_objext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 (eval $ac_try) 2>&5
3503 ac_status=$?
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3506 ac_cv_prog_cc_g=yes
3507 else
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3510
3511 ac_cv_prog_cc_g=no
3512 fi
3513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3514 fi
3515 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3516 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3517 if test "$ac_test_CFLAGS" = set; then
3518 CFLAGS=$ac_save_CFLAGS
3519 elif test $ac_cv_prog_cc_g = yes; then
3520 if test "$GCC" = yes; then
3521 CFLAGS="-g -O2"
3522 else
3523 CFLAGS="-g"
3524 fi
3525 else
3526 if test "$GCC" = yes; then
3527 CFLAGS="-O2"
3528 else
3529 CFLAGS=
3530 fi
3531 fi
3532 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3533 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3534 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else
3537 ac_cv_prog_cc_stdc=no
3538 ac_save_CC=$CC
3539 cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h. */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <stdarg.h>
3546 #include <stdio.h>
3547 #include <sys/types.h>
3548 #include <sys/stat.h>
3549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3550 struct buf { int x; };
3551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3552 static char *e (p, i)
3553 char **p;
3554 int i;
3555 {
3556 return p[i];
3557 }
3558 static char *f (char * (*g) (char **, int), char **p, ...)
3559 {
3560 char *s;
3561 va_list v;
3562 va_start (v,p);
3563 s = g (p, va_arg (v,int));
3564 va_end (v);
3565 return s;
3566 }
3567
3568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3569 function prototypes and stuff, but not '\xHH' hex character constants.
3570 These don't provoke an error unfortunately, instead are silently treated
3571 as 'x'. The following induces an error, until -std1 is added to get
3572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3573 array size at least. It's necessary to write '\x00'==0 to get something
3574 that's true only with -std1. */
3575 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3576
3577 int test (int i, double x);
3578 struct s1 {int (*f) (int a);};
3579 struct s2 {int (*f) (double a);};
3580 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3581 int argc;
3582 char **argv;
3583 int
3584 main ()
3585 {
3586 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3587 ;
3588 return 0;
3589 }
3590 _ACEOF
3591 # Don't try gcc -ansi; that turns off useful extensions and
3592 # breaks some systems' header files.
3593 # AIX -qlanglvl=ansi
3594 # Ultrix and OSF/1 -std1
3595 # HP-UX 10.20 and later -Ae
3596 # HP-UX older versions -Aa -D_HPUX_SOURCE
3597 # SVR4 -Xc -D__EXTENSIONS__
3598 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 do
3600 CC="$ac_save_CC $ac_arg"
3601 rm -f conftest.$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>conftest.er1
3604 ac_status=$?
3605 grep -v '^ *+' conftest.er1 >conftest.err
3606 rm -f conftest.er1
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try='test -z "$ac_c_werror_flag"
3611 || test ! -s conftest.err'
3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 (eval $ac_try) 2>&5
3614 ac_status=$?
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); }; } &&
3617 { ac_try='test -s conftest.$ac_objext'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 (eval $ac_try) 2>&5
3620 ac_status=$?
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; }; then
3623 ac_cv_prog_cc_stdc=$ac_arg
3624 break
3625 else
3626 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3628
3629 fi
3630 rm -f conftest.err conftest.$ac_objext
3631 done
3632 rm -f conftest.$ac_ext conftest.$ac_objext
3633 CC=$ac_save_CC
3634
3635 fi
3636
3637 case "x$ac_cv_prog_cc_stdc" in
3638 x|xno)
3639 echo "$as_me:$LINENO: result: none needed" >&5
3640 echo "${ECHO_T}none needed" >&6 ;;
3641 *)
3642 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3643 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3644 CC="$CC $ac_cv_prog_cc_stdc" ;;
3645 esac
3646
3647 # Some people use a C++ compiler to compile C. Since we use `exit',
3648 # in C++ we need to declare it. In case someone uses the same compiler
3649 # for both compiling C and C++ we need to have the C++ compiler decide
3650 # the declaration of exit, since it's the most demanding environment.
3651 cat >conftest.$ac_ext <<_ACEOF
3652 #ifndef __cplusplus
3653 choke me
3654 #endif
3655 _ACEOF
3656 rm -f conftest.$ac_objext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3658 (eval $ac_compile) 2>conftest.er1
3659 ac_status=$?
3660 grep -v '^ *+' conftest.er1 >conftest.err
3661 rm -f conftest.er1
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } &&
3665 { ac_try='test -z "$ac_c_werror_flag"
3666 || test ! -s conftest.err'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 (eval $ac_try) 2>&5
3669 ac_status=$?
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; } &&
3672 { ac_try='test -s conftest.$ac_objext'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 (eval $ac_try) 2>&5
3675 ac_status=$?
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3678 for ac_declaration in \
3679 '' \
3680 'extern "C" void std::exit (int) throw (); using std::exit;' \
3681 'extern "C" void std::exit (int); using std::exit;' \
3682 'extern "C" void exit (int) throw ();' \
3683 'extern "C" void exit (int);' \
3684 'void exit (int);'
3685 do
3686 cat >conftest.$ac_ext <<_ACEOF
3687 /* confdefs.h. */
3688 _ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3692 $ac_declaration
3693 #include <stdlib.h>
3694 int
3695 main ()
3696 {
3697 exit (42);
3698 ;
3699 return 0;
3700 }
3701 _ACEOF
3702 rm -f conftest.$ac_objext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3704 (eval $ac_compile) 2>conftest.er1
3705 ac_status=$?
3706 grep -v '^ *+' conftest.er1 >conftest.err
3707 rm -f conftest.er1
3708 cat conftest.err >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } &&
3711 { ac_try='test -z "$ac_c_werror_flag"
3712 || test ! -s conftest.err'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3714 (eval $ac_try) 2>&5
3715 ac_status=$?
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; } &&
3718 { ac_try='test -s conftest.$ac_objext'
3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720 (eval $ac_try) 2>&5
3721 ac_status=$?
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; }; then
3724 :
3725 else
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3728
3729 continue
3730 fi
3731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3732 cat >conftest.$ac_ext <<_ACEOF
3733 /* confdefs.h. */
3734 _ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3738 $ac_declaration
3739 int
3740 main ()
3741 {
3742 exit (42);
3743 ;
3744 return 0;
3745 }
3746 _ACEOF
3747 rm -f conftest.$ac_objext
3748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3749 (eval $ac_compile) 2>conftest.er1
3750 ac_status=$?
3751 grep -v '^ *+' conftest.er1 >conftest.err
3752 rm -f conftest.er1
3753 cat conftest.err >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } &&
3756 { ac_try='test -z "$ac_c_werror_flag"
3757 || test ! -s conftest.err'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759 (eval $ac_try) 2>&5
3760 ac_status=$?
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; } &&
3763 { ac_try='test -s conftest.$ac_objext'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 (eval $ac_try) 2>&5
3766 ac_status=$?
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then
3769 break
3770 else
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3773
3774 fi
3775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3776 done
3777 rm -f conftest*
3778 if test -n "$ac_declaration"; then
3779 echo '#ifdef __cplusplus' >>confdefs.h
3780 echo $ac_declaration >>confdefs.h
3781 echo '#endif' >>confdefs.h
3782 fi
3783
3784 else
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3787
3788 fi
3789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3790 ac_ext=c
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795
3796 depcc="$CC" am_compiler_list=
3797
3798 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3799 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3800 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 else
3803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804 # We make a subdir and do the tests there. Otherwise we can end up
3805 # making bogus files that we don't know about and never remove. For
3806 # instance it was reported that on HP-UX the gcc test will end up
3807 # making a dummy file named `D' -- because `-MD' means `put the output
3808 # in D'.
3809 mkdir conftest.dir
3810 # Copy depcomp to subdir because otherwise we won't find it if we're
3811 # using a relative directory.
3812 cp "$am_depcomp" conftest.dir
3813 cd conftest.dir
3814 # We will build objects and dependencies in a subdirectory because
3815 # it helps to detect inapplicable dependency modes. For instance
3816 # both Tru64's cc and ICC support -MD to output dependencies as a
3817 # side effect of compilation, but ICC will put the dependencies in
3818 # the current directory while Tru64 will put them in the object
3819 # directory.
3820 mkdir sub
3821
3822 am_cv_CC_dependencies_compiler_type=none
3823 if test "$am_compiler_list" = ""; then
3824 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3825 fi
3826 for depmode in $am_compiler_list; do
3827 # Setup a source with many dependencies, because some compilers
3828 # like to wrap large dependency lists on column 80 (with \), and
3829 # we should not choose a depcomp mode which is confused by this.
3830 #
3831 # We need to recreate these files for each test, as the compiler may
3832 # overwrite some of them when testing with obscure command lines.
3833 # This happens at least with the AIX C compiler.
3834 : > sub/conftest.c
3835 for i in 1 2 3 4 5 6; do
3836 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3837 : > sub/conftst$i.h
3838 done
3839 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3840
3841 case $depmode in
3842 nosideeffect)
3843 # after this tag, mechanisms are not by side-effect, so they'll
3844 # only be used when explicitly requested
3845 if test "x$enable_dependency_tracking" = xyes; then
3846 continue
3847 else
3848 break
3849 fi
3850 ;;
3851 none) break ;;
3852 esac
3853 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3854 # mode. It turns out that the SunPro C++ compiler does not properly
3855 # handle `-M -o', and we need to detect this.
3856 if depmode=$depmode \
3857 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3859 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3860 >/dev/null 2>conftest.err &&
3861 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3862 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3863 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3864 # icc doesn't choke on unknown options, it will just issue warnings
3865 # (even with -Werror). So we grep stderr for any message
3866 # that says an option was ignored.
3867 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3868 am_cv_CC_dependencies_compiler_type=$depmode
3869 break
3870 fi
3871 fi
3872 done
3873
3874 cd ..
3875 rm -rf conftest.dir
3876 else
3877 am_cv_CC_dependencies_compiler_type=none
3878 fi
3879
3880 fi
3881 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3882 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3883 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3884
3885
3886
3887 if
3888 test "x$enable_dependency_tracking" != xno \
3889 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3890 am__fastdepCC_TRUE=
3891 am__fastdepCC_FALSE='#'
3892 else
3893 am__fastdepCC_TRUE='#'
3894 am__fastdepCC_FALSE=
3895 fi
3896
3897
3898 # Find a good install program. We prefer a C program (faster),
3899 # so one script is as good as another. But avoid the broken or
3900 # incompatible versions:
3901 # SysV /etc/install, /usr/sbin/install
3902 # SunOS /usr/etc/install
3903 # IRIX /sbin/install
3904 # AIX /bin/install
3905 # AmigaOS /C/install, which installs bootblocks on floppy discs
3906 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3907 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3908 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3909 # OS/2's system install, which has a completely different semantic
3910 # ./install, which can be erroneously created by make from ./install.sh.
3911 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3912 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3913 if test -z "$INSTALL"; then
3914 if test "${ac_cv_path_install+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3919 do
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 # Account for people who put trailing slashes in PATH elements.
3923 case $as_dir/ in
3924 ./ | .// | /cC/* | \
3925 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3926 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3927 /usr/ucb/* ) ;;
3928 *)
3929 # OSF1 and SCO ODT 3.0 have their own names for install.
3930 # Don't use installbsd from OSF since it installs stuff as root
3931 # by default.
3932 for ac_prog in ginstall scoinst install; do
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3935 if test $ac_prog = install &&
3936 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3937 # AIX install. It has an incompatible calling convention.
3938 :
3939 elif test $ac_prog = install &&
3940 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3941 # program-specific install script used by HP pwplus--don't use.
3942 :
3943 else
3944 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3945 break 3
3946 fi
3947 fi
3948 done
3949 done
3950 ;;
3951 esac
3952 done
3953
3954
3955 fi
3956 if test "${ac_cv_path_install+set}" = set; then
3957 INSTALL=$ac_cv_path_install
3958 else
3959 # As a last resort, use the slow shell script. We don't cache a
3960 # path for INSTALL within a source directory, because that will
3961 # break other packages using the cache if that directory is
3962 # removed, or if the path is relative.
3963 INSTALL=$ac_install_sh
3964 fi
3965 fi
3966 echo "$as_me:$LINENO: result: $INSTALL" >&5
3967 echo "${ECHO_T}$INSTALL" >&6
3968
3969 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3970 # It thinks the first close brace ends the variable substitution.
3971 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3972
3973 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3974
3975 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3976
3977
3978 # Extract the first word of "lbxproxy", so it can be a program name with args.
3979 set dummy lbxproxy; ac_word=$2
3980 echo "$as_me:$LINENO: checking for $ac_word" >&5
3981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3982 if test "${ac_cv_path_LBXPROXY+set}" = set; then
3983 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 else
3985 case $LBXPROXY in
3986 [\\/]* | ?:[\\/]*)
3987 ac_cv_path_LBXPROXY="$LBXPROXY" # Let the user override the test with a path.
3988 ;;
3989 *)
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3992 do
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_path_LBXPROXY="$as_dir/$ac_word$ac_exec_ext"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4000 fi
4001 done
4002 done
4003
4004 ;;
4005 esac
4006 fi
4007 LBXPROXY=$ac_cv_path_LBXPROXY
4008
4009 if test -n "$LBXPROXY"; then
4010 echo "$as_me:$LINENO: result: $LBXPROXY" >&5
4011 echo "${ECHO_T}$LBXPROXY" >&6
4012 else
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017 if [ -z $LBXPROXY ] ; then
4018 { { echo "$as_me:$LINENO: error: lbxproxy is needed" >&5
4019 echo "$as_me: error: lbxproxy is needed" >&2;}
4020 { (exit 1); exit 1; }; }
4021 fi
4022
4023 # Extract the first word of "sed", so it can be a program name with args.
4024 set dummy sed; ac_word=$2
4025 echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4027 if test "${ac_cv_path_SED+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 else
4030 case $SED in
4031 [\\/]* | ?:[\\/]*)
4032 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4033 ;;
4034 *)
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 for as_dir in $PATH
4037 do
4038 IFS=$as_save_IFS
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4042 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 break 2
4045 fi
4046 done
4047 done
4048
4049 ;;
4050 esac
4051 fi
4052 SED=$ac_cv_path_SED
4053
4054 if test -n "$SED"; then
4055 echo "$as_me:$LINENO: result: $SED" >&5
4056 echo "${ECHO_T}$SED" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4060 fi
4061
4062 if [ -z $SED ] ; then
4063 { { echo "$as_me:$LINENO: error: sed is needed" >&5
4064 echo "$as_me: error: sed is needed" >&2;}
4065 { (exit 1); exit 1; }; }
4066 fi
4067
4068 # Checks for pkg-config packages
4069
4070
4071 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4072 if test -n "$ac_tool_prefix"; then
4073 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4074 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4075 echo "$as_me:$LINENO: checking for $ac_word" >&5
4076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4077 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 else
4080 case $PKG_CONFIG in
4081 [\\/]* | ?:[\\/]*)
4082 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4083 ;;
4084 *)
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086 for as_dir in $PATH
4087 do
4088 IFS=$as_save_IFS
4089 test -z "$as_dir" && as_dir=.
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 break 2
4095 fi
4096 done
4097 done
4098
4099 ;;
4100 esac
4101 fi
4102 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4103
4104 if test -n "$PKG_CONFIG"; then
4105 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4106 echo "${ECHO_T}$PKG_CONFIG" >&6
4107 else
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4110 fi
4111
4112 fi
4113 if test -z "$ac_cv_path_PKG_CONFIG"; then
4114 ac_pt_PKG_CONFIG=$PKG_CONFIG
4115 # Extract the first word of "pkg-config", so it can be a program name with args.
4116 set dummy pkg-config; ac_word=$2
4117 echo "$as_me:$LINENO: checking for $ac_word" >&5
4118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4119 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122 case $ac_pt_PKG_CONFIG in
4123 [\\/]* | ?:[\\/]*)
4124 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4125 ;;
4126 *)
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 for as_dir in $PATH
4129 do
4130 IFS=$as_save_IFS
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 break 2
4137 fi
4138 done
4139 done
4140
4141 ;;
4142 esac
4143 fi
4144 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4145
4146 if test -n "$ac_pt_PKG_CONFIG"; then
4147 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4148 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4152 fi
4153
4154 PKG_CONFIG=$ac_pt_PKG_CONFIG
4155 else
4156 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4157 fi
4158
4159 fi
4160 if test -n "$PKG_CONFIG"; then
4161 _pkg_min_version=0.9.0
4162 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4163 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
4164 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4167 else
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4170 PKG_CONFIG=""
4171 fi
4172
4173 fi
4174
4175 pkg_failed=no
4176 echo "$as_me:$LINENO: checking for PROXYMNGR" >&5
4177 echo $ECHO_N "checking for PROXYMNGR... $ECHO_C" >&6
4178
4179 if test -n "$PKG_CONFIG"; then
4180 if test -n "$PROXYMNGR_CFLAGS"; then
4181 pkg_cv_PROXYMNGR_CFLAGS="$PROXYMNGR_CFLAGS"
4182 else
4183 if test -n "$PKG_CONFIG" && \
4184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice xt x11 xproxymngproto\"") >&5
4185 ($PKG_CONFIG --exists --print-errors "ice xt x11 xproxymngproto") 2>&5
4186 ac_status=$?
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; then
4189 pkg_cv_PROXYMNGR_CFLAGS=`$PKG_CONFIG --cflags "ice xt x11 xproxymngproto" 2>/dev/null`
4190 else
4191 pkg_failed=yes
4192 fi
4193 fi
4194 else
4195 pkg_failed=untried
4196 fi
4197 if test -n "$PKG_CONFIG"; then
4198 if test -n "$PROXYMNGR_LIBS"; then
4199 pkg_cv_PROXYMNGR_LIBS="$PROXYMNGR_LIBS"
4200 else
4201 if test -n "$PKG_CONFIG" && \
4202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice xt x11 xproxymngproto\"") >&5
4203 ($PKG_CONFIG --exists --print-errors "ice xt x11 xproxymngproto") 2>&5
4204 ac_status=$?
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); }; then
4207 pkg_cv_PROXYMNGR_LIBS=`$PKG_CONFIG --libs "ice xt x11 xproxymngproto" 2>/dev/null`
4208 else
4209 pkg_failed=yes
4210 fi
4211 fi
4212 else
4213 pkg_failed=untried
4214 fi
4215
4216
4217
4218 if test $pkg_failed = yes; then
4219
4220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4221 _pkg_short_errors_supported=yes
4222 else
4223 _pkg_short_errors_supported=no
4224 fi
4225 if test $_pkg_short_errors_supported = yes; then
4226 PROXYMNGR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ice xt x11 xproxymngproto"`
4227 else
4228 PROXYMNGR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ice xt x11 xproxymngproto"`
4229 fi
4230 # Put the nasty error message in config.log where it belongs
4231 echo "$PROXYMNGR_PKG_ERRORS" >&5
4232
4233 { { echo "$as_me:$LINENO: error: Package requirements (ice xt x11 xproxymngproto) were not met:
4234
4235 $PROXYMNGR_PKG_ERRORS
4236
4237 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4238 installed software in a non-standard prefix.
4239
4240 Alternatively, you may set the environment variables PROXYMNGR_CFLAGS
4241 and PROXYMNGR_LIBS to avoid the need to call pkg-config.
4242 See the pkg-config man page for more details.
4243 " >&5
4244 echo "$as_me: error: Package requirements (ice xt x11 xproxymngproto) were not met:
4245
4246 $PROXYMNGR_PKG_ERRORS
4247
4248 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4249 installed software in a non-standard prefix.
4250
4251 Alternatively, you may set the environment variables PROXYMNGR_CFLAGS
4252 and PROXYMNGR_LIBS to avoid the need to call pkg-config.
4253 See the pkg-config man page for more details.
4254 " >&2;}
4255 { (exit 1); exit 1; }; }
4256 elif test $pkg_failed = untried; then
4257 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4258 is in your PATH or set the PKG_CONFIG environment variable to the full
4259 path to pkg-config.
4260
4261 Alternatively, you may set the environment variables PROXYMNGR_CFLAGS
4262 and PROXYMNGR_LIBS to avoid the need to call pkg-config.
4263 See the pkg-config man page for more details.
4264
4265 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4266 See \`config.log' for more details." >&5
4267 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4268 is in your PATH or set the PKG_CONFIG environment variable to the full
4269 path to pkg-config.
4270
4271 Alternatively, you may set the environment variables PROXYMNGR_CFLAGS
4272 and PROXYMNGR_LIBS to avoid the need to call pkg-config.
4273 See the pkg-config man page for more details.
4274
4275 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4276 See \`config.log' for more details." >&2;}
4277 { (exit 1); exit 1; }; }
4278 else
4279 PROXYMNGR_CFLAGS=$pkg_cv_PROXYMNGR_CFLAGS
4280 PROXYMNGR_LIBS=$pkg_cv_PROXYMNGR_LIBS
4281 echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6
4283 :
4284 fi
4285
4286
4287
4288
4289 echo "$as_me:$LINENO: checking for strcasecmp" >&5
4290 echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
4291 if test "${ac_cv_func_strcasecmp+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 cat >conftest.$ac_ext <<_ACEOF
4295 /* confdefs.h. */
4296 _ACEOF
4297 cat confdefs.h >>conftest.$ac_ext
4298 cat >>conftest.$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4300 /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
4301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4302 #define strcasecmp innocuous_strcasecmp
4303
4304 /* System header to define __stub macros and hopefully few prototypes,
4305 which can conflict with char strcasecmp (); below.
4306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4307 <limits.h> exists even on freestanding compilers. */
4308
4309 #ifdef __STDC__
4310 # include <limits.h>
4311 #else
4312 # include <assert.h>
4313 #endif
4314
4315 #undef strcasecmp
4316
4317 /* Override any gcc2 internal prototype to avoid an error. */
4318 #ifdef __cplusplus
4319 extern "C"
4320 {
4321 #endif
4322 /* We use char because int might match the return type of a gcc2
4323 builtin and then its argument prototype would still apply. */
4324 char strcasecmp ();
4325 /* The GNU C library defines this for functions which it implements
4326 to always fail with ENOSYS. Some functions are actually named
4327 something starting with __ and the normal name is an alias. */
4328 #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
4329 choke me
4330 #else
4331 char (*f) () = strcasecmp;
4332 #endif
4333 #ifdef __cplusplus
4334 }
4335 #endif
4336
4337 int
4338 main ()
4339 {
4340 return f != strcasecmp;
4341 ;
4342 return 0;
4343 }
4344 _ACEOF
4345 rm -f conftest.$ac_objext conftest$ac_exeext
4346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4347 (eval $ac_link) 2>conftest.er1
4348 ac_status=$?
4349 grep -v '^ *+' conftest.er1 >conftest.err
4350 rm -f conftest.er1
4351 cat conftest.err >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } &&
4354 { ac_try='test -z "$ac_c_werror_flag"
4355 || test ! -s conftest.err'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357 (eval $ac_try) 2>&5
4358 ac_status=$?
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; } &&
4361 { ac_try='test -s conftest$ac_exeext'
4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 (eval $ac_try) 2>&5
4364 ac_status=$?
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; }; then
4367 ac_cv_func_strcasecmp=yes
4368 else
4369 echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.$ac_ext >&5
4371
4372 ac_cv_func_strcasecmp=no
4373 fi
4374 rm -f conftest.err conftest.$ac_objext \
4375 conftest$ac_exeext conftest.$ac_ext
4376 fi
4377 echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
4378 echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
4379 if test $ac_cv_func_strcasecmp = yes; then
4380 :
4381 else
4382
4383 cat >>confdefs.h <<\_ACEOF
4384 #define NEED_STRCASECMP 1
4385 _ACEOF
4386
4387 fi
4388
4389
4390 # Needed to check for IPv6 support and set flags appropriately
4391
4392 # SVR4 hides these in libraries other than libc
4393 echo "$as_me:$LINENO: checking for library containing socket" >&5
4394 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
4395 if test "${ac_cv_search_socket+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 ac_func_search_save_LIBS=$LIBS
4399 ac_cv_search_socket=no
4400 cat >conftest.$ac_ext <<_ACEOF
4401 /* confdefs.h. */
4402 _ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4406
4407 /* Override any gcc2 internal prototype to avoid an error. */
4408 #ifdef __cplusplus
4409 extern "C"
4410 #endif
4411 /* We use char because int might match the return type of a gcc2
4412 builtin and then its argument prototype would still apply. */
4413 char socket ();
4414 int
4415 main ()
4416 {
4417 socket ();
4418 ;
4419 return 0;
4420 }
4421 _ACEOF
4422 rm -f conftest.$ac_objext conftest$ac_exeext
4423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4424 (eval $ac_link) 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } &&
4431 { ac_try='test -z "$ac_c_werror_flag"
4432 || test ! -s conftest.err'
4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 (eval $ac_try) 2>&5
4435 ac_status=$?
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; } &&
4438 { ac_try='test -s conftest$ac_exeext'
4439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440 (eval $ac_try) 2>&5
4441 ac_status=$?
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; }; then
4444 ac_cv_search_socket="none required"
4445 else
4446 echo "$as_me: failed program was:" >&5
4447 sed 's/^/| /' conftest.$ac_ext >&5
4448
4449 fi
4450 rm -f conftest.err conftest.$ac_objext \
4451 conftest$ac_exeext conftest.$ac_ext
4452 if test "$ac_cv_search_socket" = no; then
4453 for ac_lib in socket; do
4454 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4455 cat >conftest.$ac_ext <<_ACEOF
4456 /* confdefs.h. */
4457 _ACEOF
4458 cat confdefs.h >>conftest.$ac_ext
4459 cat >>conftest.$ac_ext <<_ACEOF
4460 /* end confdefs.h. */
4461
4462 /* Override any gcc2 internal prototype to avoid an error. */
4463 #ifdef __cplusplus
4464 extern "C"
4465 #endif
4466 /* We use char because int might match the return type of a gcc2
4467 builtin and then its argument prototype would still apply. */
4468 char socket ();
4469 int
4470 main ()
4471 {
4472 socket ();
4473 ;
4474 return 0;
4475 }
4476 _ACEOF
4477 rm -f conftest.$ac_objext conftest$ac_exeext
4478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4479 (eval $ac_link) 2>conftest.er1
4480 ac_status=$?
4481 grep -v '^ *+' conftest.er1 >conftest.err
4482 rm -f conftest.er1
4483 cat conftest.err >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } &&
4486 { ac_try='test -z "$ac_c_werror_flag"
4487 || test ! -s conftest.err'
4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 (eval $ac_try) 2>&5
4490 ac_status=$?
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }; } &&
4493 { ac_try='test -s conftest$ac_exeext'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 (eval $ac_try) 2>&5
4496 ac_status=$?
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; }; then
4499 ac_cv_search_socket="-l$ac_lib"
4500 break
4501 else
4502 echo "$as_me: failed program was:" >&5
4503 sed 's/^/| /' conftest.$ac_ext >&5
4504
4505 fi
4506 rm -f conftest.err conftest.$ac_objext \
4507 conftest$ac_exeext conftest.$ac_ext
4508 done
4509 fi
4510 LIBS=$ac_func_search_save_LIBS
4511 fi
4512 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4513 echo "${ECHO_T}$ac_cv_search_socket" >&6
4514 if test "$ac_cv_search_socket" != no; then
4515 test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
4516
4517 fi
4518
4519 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4520 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
4521 if test "${ac_cv_search_gethostbyname+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 else
4524 ac_func_search_save_LIBS=$LIBS
4525 ac_cv_search_gethostbyname=no
4526 cat >conftest.$ac_ext <<_ACEOF
4527 /* confdefs.h. */
4528 _ACEOF
4529 cat confdefs.h >>conftest.$ac_ext
4530 cat >>conftest.$ac_ext <<_ACEOF
4531 /* end confdefs.h. */
4532
4533 /* Override any gcc2 internal prototype to avoid an error. */
4534 #ifdef __cplusplus
4535 extern "C"
4536 #endif
4537 /* We use char because int might match the return type of a gcc2
4538 builtin and then its argument prototype would still apply. */
4539 char gethostbyname ();
4540 int
4541 main ()
4542 {
4543 gethostbyname ();
4544 ;
4545 return 0;
4546 }
4547 _ACEOF
4548 rm -f conftest.$ac_objext conftest$ac_exeext
4549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4550 (eval $ac_link) 2>conftest.er1
4551 ac_status=$?
4552 grep -v '^ *+' conftest.er1 >conftest.err
4553 rm -f conftest.er1
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } &&
4557 { ac_try='test -z "$ac_c_werror_flag"
4558 || test ! -s conftest.err'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 (eval $ac_try) 2>&5
4561 ac_status=$?
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; } &&
4564 { ac_try='test -s conftest$ac_exeext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 (eval $ac_try) 2>&5
4567 ac_status=$?
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 ac_cv_search_gethostbyname="none required"
4571 else
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4574
4575 fi
4576 rm -f conftest.err conftest.$ac_objext \
4577 conftest$ac_exeext conftest.$ac_ext
4578 if test "$ac_cv_search_gethostbyname" = no; then
4579 for ac_lib in nsl; do
4580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4581 cat >conftest.$ac_ext <<_ACEOF
4582 /* confdefs.h. */
4583 _ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587
4588 /* Override any gcc2 internal prototype to avoid an error. */
4589 #ifdef __cplusplus
4590 extern "C"
4591 #endif
4592 /* We use char because int might match the return type of a gcc2
4593 builtin and then its argument prototype would still apply. */
4594 char gethostbyname ();
4595 int
4596 main ()
4597 {
4598 gethostbyname ();
4599 ;
4600 return 0;
4601 }
4602 _ACEOF
4603 rm -f conftest.$ac_objext conftest$ac_exeext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4605 (eval $ac_link) 2>conftest.er1
4606 ac_status=$?
4607 grep -v '^ *+' conftest.er1 >conftest.err
4608 rm -f conftest.er1
4609 cat conftest.err >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } &&
4612 { ac_try='test -z "$ac_c_werror_flag"
4613 || test ! -s conftest.err'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 (eval $ac_try) 2>&5
4616 ac_status=$?
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; } &&
4619 { ac_try='test -s conftest$ac_exeext'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621 (eval $ac_try) 2>&5
4622 ac_status=$?
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; }; then
4625 ac_cv_search_gethostbyname="-l$ac_lib"
4626 break
4627 else
4628 echo "$as_me: failed program was:" >&5
4629 sed 's/^/| /' conftest.$ac_ext >&5
4630
4631 fi
4632 rm -f conftest.err conftest.$ac_objext \
4633 conftest$ac_exeext conftest.$ac_ext
4634 done
4635 fi
4636 LIBS=$ac_func_search_save_LIBS
4637 fi
4638 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4639 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
4640 if test "$ac_cv_search_gethostbyname" != no; then
4641 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
4642
4643 fi
4644
4645
4646 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
4647 # Check whether --enable-ipv6 or --disable-ipv6 was given.
4648 if test "${enable_ipv6+set}" = set; then
4649 enableval="$enable_ipv6"
4650 IPV6CONN=$enableval
4651 else
4652 echo "$as_me:$LINENO: checking for getaddrinfo" >&5
4653 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
4654 if test "${ac_cv_func_getaddrinfo+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 else
4657 cat >conftest.$ac_ext <<_ACEOF
4658 /* confdefs.h. */
4659 _ACEOF
4660 cat confdefs.h >>conftest.$ac_ext
4661 cat >>conftest.$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4663 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
4664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4665 #define getaddrinfo innocuous_getaddrinfo
4666
4667 /* System header to define __stub macros and hopefully few prototypes,
4668 which can conflict with char getaddrinfo (); below.
4669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4670 <limits.h> exists even on freestanding compilers. */
4671
4672 #ifdef __STDC__
4673 # include <limits.h>
4674 #else
4675 # include <assert.h>
4676 #endif
4677
4678 #undef getaddrinfo
4679
4680 /* Override any gcc2 internal prototype to avoid an error. */
4681 #ifdef __cplusplus
4682 extern "C"
4683 {
4684 #endif
4685 /* We use char because int might match the return type of a gcc2
4686 builtin and then its argument prototype would still apply. */
4687 char getaddrinfo ();
4688 /* The GNU C library defines this for functions which it implements
4689 to always fail with ENOSYS. Some functions are actually named
4690 something starting with __ and the normal name is an alias. */
4691 #if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
4692 choke me
4693 #else
4694 char (*f) () = getaddrinfo;
4695 #endif
4696 #ifdef __cplusplus
4697 }
4698 #endif
4699
4700 int
4701 main ()
4702 {
4703 return f != getaddrinfo;
4704 ;
4705 return 0;
4706 }
4707 _ACEOF
4708 rm -f conftest.$ac_objext conftest$ac_exeext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4710 (eval $ac_link) 2>conftest.er1
4711 ac_status=$?
4712 grep -v '^ *+' conftest.er1 >conftest.err
4713 rm -f conftest.er1
4714 cat conftest.err >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try='test -z "$ac_c_werror_flag"
4718 || test ! -s conftest.err'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 (eval $ac_try) 2>&5
4721 ac_status=$?
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; } &&
4724 { ac_try='test -s conftest$ac_exeext'
4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 (eval $ac_try) 2>&5
4727 ac_status=$?
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }; }; then
4730 ac_cv_func_getaddrinfo=yes
4731 else
4732 echo "$as_me: failed program was:" >&5
4733 sed 's/^/| /' conftest.$ac_ext >&5
4734
4735 ac_cv_func_getaddrinfo=no
4736 fi
4737 rm -f conftest.err conftest.$ac_objext \
4738 conftest$ac_exeext conftest.$ac_ext
4739 fi
4740 echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
4741 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
4742 if test $ac_cv_func_getaddrinfo = yes; then
4743 IPV6CONN=yes
4744 else
4745 IPV6CONN=no
4746 fi
4747
4748 fi;
4749 echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
4750 echo $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6
4751 if test "$IPV6CONN" = "yes"; then
4752
4753 cat >>confdefs.h <<\_ACEOF
4754 #define IPv6 1
4755 _ACEOF
4756
4757 fi
4758 echo "$as_me:$LINENO: result: $IPV6CONN" >&5
4759 echo "${ECHO_T}$IPV6CONN" >&6
4760
4761 # 4.3BSD-Reno added a new member to struct sockaddr_in
4762 echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
4763 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6
4764 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 else
4767 cat >conftest.$ac_ext <<_ACEOF
4768 /* confdefs.h. */
4769 _ACEOF
4770 cat confdefs.h >>conftest.$ac_ext
4771 cat >>conftest.$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4773
4774 #include <sys/types.h>
4775 #include <sys/socket.h>
4776 #include <netinet/in.h>
4777
4778
4779 int
4780 main ()
4781 {
4782 static struct sockaddr_in ac_aggr;
4783 if (ac_aggr.sin_len)
4784 return 0;
4785 ;
4786 return 0;
4787 }
4788 _ACEOF
4789 rm -f conftest.$ac_objext
4790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>conftest.er1
4792 ac_status=$?
4793 grep -v '^ *+' conftest.er1 >conftest.err
4794 rm -f conftest.er1
4795 cat conftest.err >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } &&
4798 { ac_try='test -z "$ac_c_werror_flag"
4799 || test ! -s conftest.err'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 (eval $ac_try) 2>&5
4802 ac_status=$?
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; } &&
4805 { ac_try='test -s conftest.$ac_objext'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 (eval $ac_try) 2>&5
4808 ac_status=$?
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; }; then
4811 ac_cv_member_struct_sockaddr_in_sin_len=yes
4812 else
4813 echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.$ac_ext >&5
4815
4816 cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h. */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822
4823 #include <sys/types.h>
4824 #include <sys/socket.h>
4825 #include <netinet/in.h>
4826
4827
4828 int
4829 main ()
4830 {
4831 static struct sockaddr_in ac_aggr;
4832 if (sizeof ac_aggr.sin_len)
4833 return 0;
4834 ;
4835 return 0;
4836 }
4837 _ACEOF
4838 rm -f conftest.$ac_objext
4839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>conftest.er1
4841 ac_status=$?
4842 grep -v '^ *+' conftest.er1 >conftest.err
4843 rm -f conftest.er1
4844 cat conftest.err >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } &&
4847 { ac_try='test -z "$ac_c_werror_flag"
4848 || test ! -s conftest.err'
4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 (eval $ac_try) 2>&5
4851 ac_status=$?
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try='test -s conftest.$ac_objext'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 (eval $ac_try) 2>&5
4857 ac_status=$?
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; }; then
4860 ac_cv_member_struct_sockaddr_in_sin_len=yes
4861 else
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.$ac_ext >&5
4864
4865 ac_cv_member_struct_sockaddr_in_sin_len=no
4866 fi
4867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4868 fi
4869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4870 fi
4871 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
4872 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6
4873 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
4874
4875 cat >>confdefs.h <<\_ACEOF
4876 #define BSD44SOCKETS 1
4877 _ACEOF
4878
4879 fi
4880
4881
4882
4883 # Make sure we can run config.sub.
4884 $ac_config_sub sun4 >/dev/null 2>&1 ||
4885 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4886 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4887 { (exit 1); exit 1; }; }
4888
4889 echo "$as_me:$LINENO: checking build system type" >&5
4890 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4891 if test "${ac_cv_build+set}" = set; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 else
4894 ac_cv_build_alias=$build_alias
4895 test -z "$ac_cv_build_alias" &&
4896 ac_cv_build_alias=`$ac_config_guess`
4897 test -z "$ac_cv_build_alias" &&
4898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4900 { (exit 1); exit 1; }; }
4901 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4902 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4903 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4904 { (exit 1); exit 1; }; }
4905
4906 fi
4907 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4908 echo "${ECHO_T}$ac_cv_build" >&6
4909 build=$ac_cv_build
4910 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4911 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4912 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4913
4914
4915 echo "$as_me:$LINENO: checking host system type" >&5
4916 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4917 if test "${ac_cv_host+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 else
4920 ac_cv_host_alias=$host_alias
4921 test -z "$ac_cv_host_alias" &&
4922 ac_cv_host_alias=$ac_cv_build_alias
4923 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4924 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4925 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4926 { (exit 1); exit 1; }; }
4927
4928 fi
4929 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4930 echo "${ECHO_T}$ac_cv_host" >&6
4931 host=$ac_cv_host
4932 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4933 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4934 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4935
4936
4937
4938
4939
4940 if test x$APP_MAN_SUFFIX = x ; then
4941 case $host_os in
4942 linux*) APP_MAN_SUFFIX=1x ;;
4943 *) APP_MAN_SUFFIX=1 ;;
4944 esac
4945 fi
4946 if test x$APP_MAN_DIR = x ; then
4947 case $host_os in
4948 linux*) APP_MAN_DIR='$(mandir)/man1' ;;
4949 *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
4950 esac
4951 fi
4952
4953 if test x$LIB_MAN_SUFFIX = x ; then
4954 case $host_os in
4955 linux*) LIB_MAN_SUFFIX=3x ;;
4956 *) LIB_MAN_SUFFIX=3 ;;
4957 esac
4958 fi
4959 if test x$LIB_MAN_DIR = x ; then
4960 case $host_os in
4961 linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
4962 *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
4963 esac
4964 fi
4965
4966 if test x$FILE_MAN_SUFFIX = x ; then
4967 case $host_os in
4968 linux*) FILE_MAN_SUFFIX=5x ;;
4969 solaris*) FILE_MAN_SUFFIX=4 ;;
4970 *) FILE_MAN_SUFFIX=5 ;;
4971 esac
4972 fi
4973 if test x$FILE_MAN_DIR = x ; then
4974 case $host_os in
4975 linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
4976 *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
4977 esac
4978 fi
4979
4980 # In Imake's linux.cf, the misc man suffix & dir was only changed for
4981 # LinuxDebian, not other Linuxes, so we leave it unchanged here
4982 if test x$MISC_MAN_SUFFIX = x ; then
4983 case $host_os in
4984 # linux*) MISC_MAN_SUFFIX=7x ;;
4985 solaris*) MISC_MAN_SUFFIX=5 ;;
4986 *) MISC_MAN_SUFFIX=7 ;;
4987 esac
4988 fi
4989 if test x$MISC_MAN_DIR = x ; then
4990 case $host_os in
4991 # linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
4992 *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
4993 esac
4994 fi
4995
4996 # In Imake's linux.cf, the driver man suffix & dir was only changed for
4997 # LinuxDebian, not other Linuxes, so we leave it unchanged here
4998 if test x$DRIVER_MAN_SUFFIX = x ; then
4999 case $host_os in
5000 # linux*) DRIVER_MAN_SUFFIX=4x ;;
5001 solaris*) DRIVER_MAN_SUFFIX=7 ;;
5002 *) DRIVER_MAN_SUFFIX=4 ;;
5003 esac
5004 fi
5005 if test x$DRIVER_MAN_DIR = x ; then
5006 case $host_os in
5007 # linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
5008 *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
5009 esac
5010 fi
5011
5012 if test x$ADMIN_MAN_SUFFIX = x ; then
5013 case $host_os in
5014 solaris*) ADMIN_MAN_SUFFIX=1m ;;
5015 *) ADMIN_MAN_SUFFIX=8 ;;
5016 esac
5017 fi
5018 if test x$ADMIN_MAN_DIR = x ; then
5019 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
5020 fi
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038 # Check whether --with-release-version or --without-release-version was given.
5039 if test "${with_release_version+set}" = set; then
5040 withval="$with_release_version"
5041 RELEASE_VERSION="$withval"
5042 else
5043 RELEASE_VERSION=""
5044 fi;
5045 if test "x$RELEASE_VERSION" != "x"; then
5046 PACKAGE="$PACKAGE-$RELEASE_VERSION"
5047 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
5048 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
5049 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
5050 fi
5051
5052
5053 ac_config_files="$ac_config_files Makefile"
5054 cat >confcache <<\_ACEOF
5055 # This file is a shell script that caches the results of configure
5056 # tests run on this system so they can be shared between configure
5057 # scripts and configure runs, see configure's option --config-cache.
5058 # It is not useful on other systems. If it contains results you don't
5059 # want to keep, you may remove or edit it.
5060 #
5061 # config.status only pays attention to the cache file if you give it
5062 # the --recheck option to rerun configure.
5063 #
5064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5066 # following values.
5067
5068 _ACEOF
5069
5070 # The following way of writing the cache mishandles newlines in values,
5071 # but we know of no workaround that is simple, portable, and efficient.
5072 # So, don't put newlines in cache variables' values.
5073 # Ultrix sh set writes to stderr and can't be redirected directly,
5074 # and sets the high bit in the cache file unless we assign to the vars.
5075 {
5076 (set) 2>&1 |
5077 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5078 *ac_space=\ *)
5079 # `set' does not quote correctly, so add quotes (double-quote
5080 # substitution turns \\\\ into \\, and sed turns \\ into \).
5081 sed -n \
5082 "s/'/'\\\\''/g;
5083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5084 ;;
5085 *)
5086 # `set' quotes correctly as required by POSIX, so do not add quotes.
5087 sed -n \
5088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5089 ;;
5090 esac;
5091 } |
5092 sed '
5093 t clear
5094 : clear
5095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5096 t end
5097 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5098 : end' >>confcache
5099 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5100 if test -w $cache_file; then
5101 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5102 cat confcache >$cache_file
5103 else
5104 echo "not updating unwritable cache $cache_file"
5105 fi
5106 fi
5107 rm -f confcache
5108
5109 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5110 # Let make expand exec_prefix.
5111 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5112
5113 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5114 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5115 # trailing colons and then remove the whole line if VPATH becomes empty
5116 # (actually we leave an empty line to preserve line numbers).
5117 if test "x$srcdir" = x.; then
5118 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5119 s/:*\$(srcdir):*/:/;
5120 s/:*\${srcdir}:*/:/;
5121 s/:*@srcdir@:*/:/;
5122 s/^\([^=]*=[ ]*\):*/\1/;
5123 s/:*$//;
5124 s/^[^=]*=[ ]*$//;
5125 }'
5126 fi
5127
5128 DEFS=-DHAVE_CONFIG_H
5129
5130 ac_libobjs=
5131 ac_ltlibobjs=
5132 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5133 # 1. Remove the extension, and $U if already installed.
5134 ac_i=`echo "$ac_i" |
5135 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5136 # 2. Add them.
5137 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5138 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5139 done
5140 LIBOBJS=$ac_libobjs
5141
5142 LTLIBOBJS=$ac_ltlibobjs
5143
5144
5145 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5146 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5147 Usually this means the macro was only invoked conditionally." >&5
5148 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5149 Usually this means the macro was only invoked conditionally." >&2;}
5150 { (exit 1); exit 1; }; }
5151 fi
5152 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5153 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5154 Usually this means the macro was only invoked conditionally." >&5
5155 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5156 Usually this means the macro was only invoked conditionally." >&2;}
5157 { (exit 1); exit 1; }; }
5158 fi
5159 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5160 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5161 Usually this means the macro was only invoked conditionally." >&5
5162 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5163 Usually this means the macro was only invoked conditionally." >&2;}
5164 { (exit 1); exit 1; }; }
5165 fi
5166 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5167 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5168 Usually this means the macro was only invoked conditionally." >&5
5169 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5170 Usually this means the macro was only invoked conditionally." >&2;}
5171 { (exit 1); exit 1; }; }
5172 fi
5173
5174 : ${CONFIG_STATUS=./config.status}
5175 ac_clean_files_save=$ac_clean_files
5176 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5177 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5178 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5179 cat >$CONFIG_STATUS <<_ACEOF
5180 #! $SHELL
5181 # Generated by $as_me.
5182 # Run this file to recreate the current configuration.
5183 # Compiler output produced by configure, useful for debugging
5184 # configure, is in config.log if it exists.
5185
5186 debug=false
5187 ac_cs_recheck=false
5188 ac_cs_silent=false
5189 SHELL=\${CONFIG_SHELL-$SHELL}
5190 _ACEOF
5191
5192 cat >>$CONFIG_STATUS <<\_ACEOF
5193 ## --------------------- ##
5194 ## M4sh Initialization. ##
5195 ## --------------------- ##
5196
5197 # Be Bourne compatible
5198 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5199 emulate sh
5200 NULLCMD=:
5201 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5202 # is contrary to our usage. Disable this feature.
5203 alias -g '${1+"$@"}'='"$@"'
5204 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5205 set -o posix
5206 fi
5207 DUALCASE=1; export DUALCASE # for MKS sh
5208
5209 # Support unset when possible.
5210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5211 as_unset=unset
5212 else
5213 as_unset=false
5214 fi
5215
5216
5217 # Work around bugs in pre-3.0 UWIN ksh.
5218 $as_unset ENV MAIL MAILPATH
5219 PS1='$ '
5220 PS2='> '
5221 PS4='+ '
5222
5223 # NLS nuisances.
5224 for as_var in \
5225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5227 LC_TELEPHONE LC_TIME
5228 do
5229 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5230 eval $as_var=C; export $as_var
5231 else
5232 $as_unset $as_var
5233 fi
5234 done
5235
5236 # Required to use basename.
5237 if expr a : '\(a\)' >/dev/null 2>&1; then
5238 as_expr=expr
5239 else
5240 as_expr=false
5241 fi
5242
5243 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5244 as_basename=basename
5245 else
5246 as_basename=false
5247 fi
5248
5249
5250 # Name of the executable.
5251 as_me=`$as_basename "$0" ||
5252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5253 X"$0" : 'X\(//\)$' \| \
5254 X"$0" : 'X\(/\)$' \| \
5255 . : '\(.\)' 2>/dev/null ||
5256 echo X/"$0" |
5257 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5258 /^X\/\(\/\/\)$/{ s//\1/; q; }
5259 /^X\/\(\/\).*/{ s//\1/; q; }
5260 s/.*/./; q'`
5261
5262
5263 # PATH needs CR, and LINENO needs CR and PATH.
5264 # Avoid depending upon Character Ranges.
5265 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5266 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5267 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5268 as_cr_digits='0123456789'
5269 as_cr_alnum=$as_cr_Letters$as_cr_digits
5270
5271 # The user is always right.
5272 if test "${PATH_SEPARATOR+set}" != set; then
5273 echo "#! /bin/sh" >conf$$.sh
5274 echo "exit 0" >>conf$$.sh
5275 chmod +x conf$$.sh
5276 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5277 PATH_SEPARATOR=';'
5278 else
5279 PATH_SEPARATOR=:
5280 fi
5281 rm -f conf$$.sh
5282 fi
5283
5284
5285 as_lineno_1=$LINENO
5286 as_lineno_2=$LINENO
5287 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5288 test "x$as_lineno_1" != "x$as_lineno_2" &&
5289 test "x$as_lineno_3" = "x$as_lineno_2" || {
5290 # Find who we are. Look in the path if we contain no path at all
5291 # relative or not.
5292 case $0 in
5293 *[\\/]* ) as_myself=$0 ;;
5294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5295 for as_dir in $PATH
5296 do
5297 IFS=$as_save_IFS
5298 test -z "$as_dir" && as_dir=.
5299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5300 done
5301
5302 ;;
5303 esac
5304 # We did not find ourselves, most probably we were run as `sh COMMAND'
5305 # in which case we are not to be found in the path.
5306 if test "x$as_myself" = x; then
5307 as_myself=$0
5308 fi
5309 if test ! -f "$as_myself"; then
5310 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5311 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5312 { (exit 1); exit 1; }; }
5313 fi
5314 case $CONFIG_SHELL in
5315 '')
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5318 do
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for as_base in sh bash ksh sh5; do
5322 case $as_dir in
5323 /*)
5324 if ("$as_dir/$as_base" -c '
5325 as_lineno_1=$LINENO
5326 as_lineno_2=$LINENO
5327 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5328 test "x$as_lineno_1" != "x$as_lineno_2" &&
5329 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5330 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5331 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5332 CONFIG_SHELL=$as_dir/$as_base
5333 export CONFIG_SHELL
5334 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5335 fi;;
5336 esac
5337 done
5338 done
5339 ;;
5340 esac
5341
5342 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5343 # uniformly replaced by the line number. The first 'sed' inserts a
5344 # line-number line before each line; the second 'sed' does the real
5345 # work. The second script uses 'N' to pair each line-number line
5346 # with the numbered line, and appends trailing '-' during
5347 # substitution so that $LINENO is not a special case at line end.
5348 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5349 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5350 sed '=' <$as_myself |
5351 sed '
5352 N
5353 s,$,-,
5354 : loop
5355 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5356 t loop
5357 s,-$,,
5358 s,^['$as_cr_digits']*\n,,
5359 ' >$as_me.lineno &&
5360 chmod +x $as_me.lineno ||
5361 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5362 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5363 { (exit 1); exit 1; }; }
5364
5365 # Don't try to exec as it changes $[0], causing all sort of problems
5366 # (the dirname of $[0] is not the place where we might find the
5367 # original and so on. Autoconf is especially sensible to this).
5368 . ./$as_me.lineno
5369 # Exit status is that of the last command.
5370 exit
5371 }
5372
5373
5374 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5375 *c*,-n*) ECHO_N= ECHO_C='
5376 ' ECHO_T=' ' ;;
5377 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5378 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5379 esac
5380
5381 if expr a : '\(a\)' >/dev/null 2>&1; then
5382 as_expr=expr
5383 else
5384 as_expr=false
5385 fi
5386
5387 rm -f conf$$ conf$$.exe conf$$.file
5388 echo >conf$$.file
5389 if ln -s conf$$.file conf$$ 2>/dev/null; then
5390 # We could just check for DJGPP; but this test a) works b) is more generic
5391 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5392 if test -f conf$$.exe; then
5393 # Don't use ln at all; we don't have any links
5394 as_ln_s='cp -p'
5395 else
5396 as_ln_s='ln -s'
5397 fi
5398 elif ln conf$$.file conf$$ 2>/dev/null; then
5399 as_ln_s=ln
5400 else
5401 as_ln_s='cp -p'
5402 fi
5403 rm -f conf$$ conf$$.exe conf$$.file
5404
5405 if mkdir -p . 2>/dev/null; then
5406 as_mkdir_p=:
5407 else
5408 test -d ./-p && rmdir ./-p
5409 as_mkdir_p=false
5410 fi
5411
5412 as_executable_p="test -f"
5413
5414 # Sed expression to map a string onto a valid CPP name.
5415 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5416
5417 # Sed expression to map a string onto a valid variable name.
5418 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5419
5420
5421 # IFS
5422 # We need space, tab and new line, in precisely that order.
5423 as_nl='
5424 '
5425 IFS=" $as_nl"
5426
5427 # CDPATH.
5428 $as_unset CDPATH
5429
5430 exec 6>&1
5431
5432 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5433 # report actual input values of CONFIG_FILES etc. instead of their
5434 # values after options handling. Logging --version etc. is OK.
5435 exec 5>>config.log
5436 {
5437 echo
5438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5439 ## Running $as_me. ##
5440 _ASBOX
5441 } >&5
5442 cat >&5 <<_CSEOF
5443
5444 This file was extended by proxymngr $as_me 1.0.1, which was
5445 generated by GNU Autoconf 2.59. Invocation command line was
5446
5447 CONFIG_FILES = $CONFIG_FILES
5448 CONFIG_HEADERS = $CONFIG_HEADERS
5449 CONFIG_LINKS = $CONFIG_LINKS
5450 CONFIG_COMMANDS = $CONFIG_COMMANDS
5451 $ $0 $@
5452
5453 _CSEOF
5454 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5455 echo >&5
5456 _ACEOF
5457
5458 # Files that config.status was made for.
5459 if test -n "$ac_config_files"; then
5460 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5461 fi
5462
5463 if test -n "$ac_config_headers"; then
5464 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5465 fi
5466
5467 if test -n "$ac_config_links"; then
5468 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5469 fi
5470
5471 if test -n "$ac_config_commands"; then
5472 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5473 fi
5474
5475 cat >>$CONFIG_STATUS <<\_ACEOF
5476
5477 ac_cs_usage="\
5478 \`$as_me' instantiates files from templates according to the
5479 current configuration.
5480
5481 Usage: $0 [OPTIONS] [FILE]...
5482
5483 -h, --help print this help, then exit
5484 -V, --version print version number, then exit
5485 -q, --quiet do not print progress messages
5486 -d, --debug don't remove temporary files
5487 --recheck update $as_me by reconfiguring in the same conditions
5488 --file=FILE[:TEMPLATE]
5489 instantiate the configuration file FILE
5490 --header=FILE[:TEMPLATE]
5491 instantiate the configuration header FILE
5492
5493 Configuration files:
5494 $config_files
5495
5496 Configuration headers:
5497 $config_headers
5498
5499 Configuration commands:
5500 $config_commands
5501
5502 Report bugs to <bug-autoconf@gnu.org>."
5503 _ACEOF
5504
5505 cat >>$CONFIG_STATUS <<_ACEOF
5506 ac_cs_version="\\
5507 proxymngr config.status 1.0.1
5508 configured by $0, generated by GNU Autoconf 2.59,
5509 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5510
5511 Copyright (C) 2003 Free Software Foundation, Inc.
5512 This config.status script is free software; the Free Software Foundation
5513 gives unlimited permission to copy, distribute and modify it."
5514 srcdir=$srcdir
5515 INSTALL="$INSTALL"
5516 _ACEOF
5517
5518 cat >>$CONFIG_STATUS <<\_ACEOF
5519 # If no file are specified by the user, then we need to provide default
5520 # value. By we need to know if files were specified by the user.
5521 ac_need_defaults=:
5522 while test $# != 0
5523 do
5524 case $1 in
5525 --*=*)
5526 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5527 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5528 ac_shift=:
5529 ;;
5530 -*)
5531 ac_option=$1
5532 ac_optarg=$2
5533 ac_shift=shift
5534 ;;
5535 *) # This is not an option, so the user has probably given explicit
5536 # arguments.
5537 ac_option=$1
5538 ac_need_defaults=false;;
5539 esac
5540
5541 case $ac_option in
5542 # Handling of the options.
5543 _ACEOF
5544 cat >>$CONFIG_STATUS <<\_ACEOF
5545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5546 ac_cs_recheck=: ;;
5547 --version | --vers* | -V )
5548 echo "$ac_cs_version"; exit 0 ;;
5549 --he | --h)
5550 # Conflict between --help and --header
5551 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5552 Try \`$0 --help' for more information." >&5
5553 echo "$as_me: error: ambiguous option: $1
5554 Try \`$0 --help' for more information." >&2;}
5555 { (exit 1); exit 1; }; };;
5556 --help | --hel | -h )
5557 echo "$ac_cs_usage"; exit 0 ;;
5558 --debug | --d* | -d )
5559 debug=: ;;
5560 --file | --fil | --fi | --f )
5561 $ac_shift
5562 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5563 ac_need_defaults=false;;
5564 --header | --heade | --head | --hea )
5565 $ac_shift
5566 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5567 ac_need_defaults=false;;
5568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5569 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5570 ac_cs_silent=: ;;
5571
5572 # This is an error.
5573 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5574 Try \`$0 --help' for more information." >&5
5575 echo "$as_me: error: unrecognized option: $1
5576 Try \`$0 --help' for more information." >&2;}
5577 { (exit 1); exit 1; }; } ;;
5578
5579 *) ac_config_targets="$ac_config_targets $1" ;;
5580
5581 esac
5582 shift
5583 done
5584
5585 ac_configure_extra_args=
5586
5587 if $ac_cs_silent; then
5588 exec 6>/dev/null
5589 ac_configure_extra_args="$ac_configure_extra_args --silent"
5590 fi
5591
5592 _ACEOF
5593 cat >>$CONFIG_STATUS <<_ACEOF
5594 if \$ac_cs_recheck; then
5595 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5596 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5597 fi
5598
5599 _ACEOF
5600
5601 cat >>$CONFIG_STATUS <<_ACEOF
5602 #
5603 # INIT-COMMANDS section.
5604 #
5605
5606 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5607
5608 _ACEOF
5609
5610
5611
5612 cat >>$CONFIG_STATUS <<\_ACEOF
5613 for ac_config_target in $ac_config_targets
5614 do
5615 case "$ac_config_target" in
5616 # Handling of arguments.
5617 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5618 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5619 "xconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xconfig.h" ;;
5620 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5621 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5622 { (exit 1); exit 1; }; };;
5623 esac
5624 done
5625
5626 # If the user did not use the arguments to specify the items to instantiate,
5627 # then the envvar interface is used. Set only those that are not.
5628 # We use the long form for the default assignment because of an extremely
5629 # bizarre bug on SunOS 4.1.3.
5630 if $ac_need_defaults; then
5631 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5632 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5633 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5634 fi
5635
5636 # Have a temporary directory for convenience. Make it in the build tree
5637 # simply because there is no reason to put it here, and in addition,
5638 # creating and moving files from /tmp can sometimes cause problems.
5639 # Create a temporary directory, and hook for its removal unless debugging.
5640 $debug ||
5641 {
5642 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5643 trap '{ (exit 1); exit 1; }' 1 2 13 15
5644 }
5645
5646 # Create a (secure) tmp directory for tmp files.
5647
5648 {
5649 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5650 test -n "$tmp" && test -d "$tmp"
5651 } ||
5652 {
5653 tmp=./confstat$$-$RANDOM
5654 (umask 077 && mkdir $tmp)
5655 } ||
5656 {
5657 echo "$me: cannot create a temporary directory in ." >&2
5658 { (exit 1); exit 1; }
5659 }
5660
5661 _ACEOF
5662
5663 cat >>$CONFIG_STATUS <<_ACEOF
5664
5665 #
5666 # CONFIG_FILES section.
5667 #
5668
5669 # No need to generate the scripts if there are no CONFIG_FILES.
5670 # This happens for instance when ./config.status config.h
5671 if test -n "\$CONFIG_FILES"; then
5672 # Protect against being on the right side of a sed subst in config.status.
5673 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5674 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5675 s,@SHELL@,$SHELL,;t t
5676 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5677 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5678 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5679 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5680 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5681 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5682 s,@exec_prefix@,$exec_prefix,;t t
5683 s,@prefix@,$prefix,;t t
5684 s,@program_transform_name@,$program_transform_name,;t t
5685 s,@bindir@,$bindir,;t t
5686 s,@sbindir@,$sbindir,;t t
5687 s,@libexecdir@,$libexecdir,;t t
5688 s,@datadir@,$datadir,;t t
5689 s,@sysconfdir@,$sysconfdir,;t t
5690 s,@sharedstatedir@,$sharedstatedir,;t t
5691 s,@localstatedir@,$localstatedir,;t t
5692 s,@libdir@,$libdir,;t t
5693 s,@includedir@,$includedir,;t t
5694 s,@oldincludedir@,$oldincludedir,;t t
5695 s,@infodir@,$infodir,;t t
5696 s,@mandir@,$mandir,;t t
5697 s,@build_alias@,$build_alias,;t t
5698 s,@host_alias@,$host_alias,;t t
5699 s,@target_alias@,$target_alias,;t t
5700 s,@DEFS@,$DEFS,;t t
5701 s,@ECHO_C@,$ECHO_C,;t t
5702 s,@ECHO_N@,$ECHO_N,;t t
5703 s,@ECHO_T@,$ECHO_T,;t t
5704 s,@LIBS@,$LIBS,;t t
5705 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5706 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5707 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5708 s,@CYGPATH_W@,$CYGPATH_W,;t t
5709 s,@PACKAGE@,$PACKAGE,;t t
5710 s,@VERSION@,$VERSION,;t t
5711 s,@ACLOCAL@,$ACLOCAL,;t t
5712 s,@AUTOCONF@,$AUTOCONF,;t t
5713 s,@AUTOMAKE@,$AUTOMAKE,;t t
5714 s,@AUTOHEADER@,$AUTOHEADER,;t t
5715 s,@MAKEINFO@,$MAKEINFO,;t t
5716 s,@AMTAR@,$AMTAR,;t t
5717 s,@install_sh@,$install_sh,;t t
5718 s,@STRIP@,$STRIP,;t t
5719 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5720 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5721 s,@AWK@,$AWK,;t t
5722 s,@SET_MAKE@,$SET_MAKE,;t t
5723 s,@am__leading_dot@,$am__leading_dot,;t t
5724 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5725 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5726 s,@MAINT@,$MAINT,;t t
5727 s,@CC@,$CC,;t t
5728 s,@CFLAGS@,$CFLAGS,;t t
5729 s,@LDFLAGS@,$LDFLAGS,;t t
5730 s,@CPPFLAGS@,$CPPFLAGS,;t t
5731 s,@ac_ct_CC@,$ac_ct_CC,;t t
5732 s,@EXEEXT@,$EXEEXT,;t t
5733 s,@OBJEXT@,$OBJEXT,;t t
5734 s,@DEPDIR@,$DEPDIR,;t t
5735 s,@am__include@,$am__include,;t t
5736 s,@am__quote@,$am__quote,;t t
5737 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5738 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5739 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5740 s,@CCDEPMODE@,$CCDEPMODE,;t t
5741 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5742 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5743 s,@CPP@,$CPP,;t t
5744 s,@LBXPROXY@,$LBXPROXY,;t t
5745 s,@SED@,$SED,;t t
5746 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5747 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
5748 s,@PROXYMNGR_CFLAGS@,$PROXYMNGR_CFLAGS,;t t
5749 s,@PROXYMNGR_LIBS@,$PROXYMNGR_LIBS,;t t
5750 s,@build@,$build,;t t
5751 s,@build_cpu@,$build_cpu,;t t
5752 s,@build_vendor@,$build_vendor,;t t
5753 s,@build_os@,$build_os,;t t
5754 s,@host@,$host,;t t
5755 s,@host_cpu@,$host_cpu,;t t
5756 s,@host_vendor@,$host_vendor,;t t
5757 s,@host_os@,$host_os,;t t
5758 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
5759 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
5760 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
5761 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
5762 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
5763 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
5764 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
5765 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
5766 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
5767 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
5768 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
5769 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
5770 s,@LIBOBJS@,$LIBOBJS,;t t
5771 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5772 CEOF
5773
5774 _ACEOF
5775
5776 cat >>$CONFIG_STATUS <<\_ACEOF
5777 # Split the substitutions into bite-sized pieces for seds with
5778 # small command number limits, like on Digital OSF/1 and HP-UX.
5779 ac_max_sed_lines=48
5780 ac_sed_frag=1 # Number of current file.
5781 ac_beg=1 # First line for current file.
5782 ac_end=$ac_max_sed_lines # Line after last line for current file.
5783 ac_more_lines=:
5784 ac_sed_cmds=
5785 while $ac_more_lines; do
5786 if test $ac_beg -gt 1; then
5787 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5788 else
5789 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5790 fi
5791 if test ! -s $tmp/subs.frag; then
5792 ac_more_lines=false
5793 else
5794 # The purpose of the label and of the branching condition is to
5795 # speed up the sed processing (if there are no `@' at all, there
5796 # is no need to browse any of the substitutions).
5797 # These are the two extra sed commands mentioned above.
5798 (echo ':t
5799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5800 if test -z "$ac_sed_cmds"; then
5801 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5802 else
5803 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5804 fi
5805 ac_sed_frag=`expr $ac_sed_frag + 1`
5806 ac_beg=$ac_end
5807 ac_end=`expr $ac_end + $ac_max_sed_lines`
5808 fi
5809 done
5810 if test -z "$ac_sed_cmds"; then
5811 ac_sed_cmds=cat
5812 fi
5813 fi # test -n "$CONFIG_FILES"
5814
5815 _ACEOF
5816 cat >>$CONFIG_STATUS <<\_ACEOF
5817 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5819 case $ac_file in
5820 - | *:- | *:-:* ) # input from stdin
5821 cat >$tmp/stdin
5822 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5823 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5824 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5825 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5826 * ) ac_file_in=$ac_file.in ;;
5827 esac
5828
5829 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5830 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5831 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5832 X"$ac_file" : 'X\(//\)[^/]' \| \
5833 X"$ac_file" : 'X\(//\)$' \| \
5834 X"$ac_file" : 'X\(/\)' \| \
5835 . : '\(.\)' 2>/dev/null ||
5836 echo X"$ac_file" |
5837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5838 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5839 /^X\(\/\/\)$/{ s//\1/; q; }
5840 /^X\(\/\).*/{ s//\1/; q; }
5841 s/.*/./; q'`
5842 { if $as_mkdir_p; then
5843 mkdir -p "$ac_dir"
5844 else
5845 as_dir="$ac_dir"
5846 as_dirs=
5847 while test ! -d "$as_dir"; do
5848 as_dirs="$as_dir $as_dirs"
5849 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5851 X"$as_dir" : 'X\(//\)[^/]' \| \
5852 X"$as_dir" : 'X\(//\)$' \| \
5853 X"$as_dir" : 'X\(/\)' \| \
5854 . : '\(.\)' 2>/dev/null ||
5855 echo X"$as_dir" |
5856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5858 /^X\(\/\/\)$/{ s//\1/; q; }
5859 /^X\(\/\).*/{ s//\1/; q; }
5860 s/.*/./; q'`
5861 done
5862 test ! -n "$as_dirs" || mkdir $as_dirs
5863 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5864 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5865 { (exit 1); exit 1; }; }; }
5866
5867 ac_builddir=.
5868
5869 if test "$ac_dir" != .; then
5870 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5871 # A "../" for each directory in $ac_dir_suffix.
5872 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5873 else
5874 ac_dir_suffix= ac_top_builddir=
5875 fi
5876
5877 case $srcdir in
5878 .) # No --srcdir option. We are building in place.
5879 ac_srcdir=.
5880 if test -z "$ac_top_builddir"; then
5881 ac_top_srcdir=.
5882 else
5883 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5884 fi ;;
5885 [\\/]* | ?:[\\/]* ) # Absolute path.
5886 ac_srcdir=$srcdir$ac_dir_suffix;
5887 ac_top_srcdir=$srcdir ;;
5888 *) # Relative path.
5889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5890 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5891 esac
5892
5893 # Do not use `cd foo && pwd` to compute absolute paths, because
5894 # the directories may not exist.
5895 case `pwd` in
5896 .) ac_abs_builddir="$ac_dir";;
5897 *)
5898 case "$ac_dir" in
5899 .) ac_abs_builddir=`pwd`;;
5900 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5901 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5902 esac;;
5903 esac
5904 case $ac_abs_builddir in
5905 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5906 *)
5907 case ${ac_top_builddir}. in
5908 .) ac_abs_top_builddir=$ac_abs_builddir;;
5909 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5910 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5911 esac;;
5912 esac
5913 case $ac_abs_builddir in
5914 .) ac_abs_srcdir=$ac_srcdir;;
5915 *)
5916 case $ac_srcdir in
5917 .) ac_abs_srcdir=$ac_abs_builddir;;
5918 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5919 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5920 esac;;
5921 esac
5922 case $ac_abs_builddir in
5923 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5924 *)
5925 case $ac_top_srcdir in
5926 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5927 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5928 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5929 esac;;
5930 esac
5931
5932
5933 case $INSTALL in
5934 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5935 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5936 esac
5937
5938 if test x"$ac_file" != x-; then
5939 { echo "$as_me:$LINENO: creating $ac_file" >&5
5940 echo "$as_me: creating $ac_file" >&6;}
5941 rm -f "$ac_file"
5942 fi
5943 # Let's still pretend it is `configure' which instantiates (i.e., don't
5944 # use $as_me), people would be surprised to read:
5945 # /* config.h. Generated by config.status. */
5946 if test x"$ac_file" = x-; then
5947 configure_input=
5948 else
5949 configure_input="$ac_file. "
5950 fi
5951 configure_input=$configure_input"Generated from `echo $ac_file_in |
5952 sed 's,.*/,,'` by configure."
5953
5954 # First look for the input files in the build tree, otherwise in the
5955 # src tree.
5956 ac_file_inputs=`IFS=:
5957 for f in $ac_file_in; do
5958 case $f in
5959 -) echo $tmp/stdin ;;
5960 [\\/$]*)
5961 # Absolute (can't be DOS-style, as IFS=:)
5962 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5963 echo "$as_me: error: cannot find input file: $f" >&2;}
5964 { (exit 1); exit 1; }; }
5965 echo "$f";;
5966 *) # Relative
5967 if test -f "$f"; then
5968 # Build tree
5969 echo "$f"
5970 elif test -f "$srcdir/$f"; then
5971 # Source tree
5972 echo "$srcdir/$f"
5973 else
5974 # /dev/null tree
5975 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5976 echo "$as_me: error: cannot find input file: $f" >&2;}
5977 { (exit 1); exit 1; }; }
5978 fi;;
5979 esac
5980 done` || { (exit 1); exit 1; }
5981 _ACEOF
5982 cat >>$CONFIG_STATUS <<_ACEOF
5983 sed "$ac_vpsub
5984 $extrasub
5985 _ACEOF
5986 cat >>$CONFIG_STATUS <<\_ACEOF
5987 :t
5988 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5989 s,@configure_input@,$configure_input,;t t
5990 s,@srcdir@,$ac_srcdir,;t t
5991 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5992 s,@top_srcdir@,$ac_top_srcdir,;t t
5993 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5994 s,@builddir@,$ac_builddir,;t t
5995 s,@abs_builddir@,$ac_abs_builddir,;t t
5996 s,@top_builddir@,$ac_top_builddir,;t t
5997 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5998 s,@INSTALL@,$ac_INSTALL,;t t
5999 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6000 rm -f $tmp/stdin
6001 if test x"$ac_file" != x-; then
6002 mv $tmp/out $ac_file
6003 else
6004 cat $tmp/out
6005 rm -f $tmp/out
6006 fi
6007
6008 done
6009 _ACEOF
6010 cat >>$CONFIG_STATUS <<\_ACEOF
6011
6012 #
6013 # CONFIG_HEADER section.
6014 #
6015
6016 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6017 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6018 #
6019 # ac_d sets the value in "#define NAME VALUE" lines.
6020 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6021 ac_dB='[ ].*$,\1#\2'
6022 ac_dC=' '
6023 ac_dD=',;t'
6024 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6025 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6026 ac_uB='$,\1#\2define\3'
6027 ac_uC=' '
6028 ac_uD=',;t'
6029
6030 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6031 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6032 case $ac_file in
6033 - | *:- | *:-:* ) # input from stdin
6034 cat >$tmp/stdin
6035 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6036 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6037 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6038 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6039 * ) ac_file_in=$ac_file.in ;;
6040 esac
6041
6042 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6043 echo "$as_me: creating $ac_file" >&6;}
6044
6045 # First look for the input files in the build tree, otherwise in the
6046 # src tree.
6047 ac_file_inputs=`IFS=:
6048 for f in $ac_file_in; do
6049 case $f in
6050 -) echo $tmp/stdin ;;
6051 [\\/$]*)
6052 # Absolute (can't be DOS-style, as IFS=:)
6053 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6054 echo "$as_me: error: cannot find input file: $f" >&2;}
6055 { (exit 1); exit 1; }; }
6056 # Do quote $f, to prevent DOS paths from being IFS'd.
6057 echo "$f";;
6058 *) # Relative
6059 if test -f "$f"; then
6060 # Build tree
6061 echo "$f"
6062 elif test -f "$srcdir/$f"; then
6063 # Source tree
6064 echo "$srcdir/$f"
6065 else
6066 # /dev/null tree
6067 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6068 echo "$as_me: error: cannot find input file: $f" >&2;}
6069 { (exit 1); exit 1; }; }
6070 fi;;
6071 esac
6072 done` || { (exit 1); exit 1; }
6073 # Remove the trailing spaces.
6074 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6075
6076 _ACEOF
6077
6078 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6079 # `conftest.undefs', that substitutes the proper values into
6080 # config.h.in to produce config.h. The first handles `#define'
6081 # templates, and the second `#undef' templates.
6082 # And first: Protect against being on the right side of a sed subst in
6083 # config.status. Protect against being in an unquoted here document
6084 # in config.status.
6085 rm -f conftest.defines conftest.undefs
6086 # Using a here document instead of a string reduces the quoting nightmare.
6087 # Putting comments in sed scripts is not portable.
6088 #
6089 # `end' is used to avoid that the second main sed command (meant for
6090 # 0-ary CPP macros) applies to n-ary macro definitions.
6091 # See the Autoconf documentation for `clear'.
6092 cat >confdef2sed.sed <<\_ACEOF
6093 s/[\\&,]/\\&/g
6094 s,[\\$`],\\&,g
6095 t clear
6096 : clear
6097 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6098 t end
6099 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6100 : end
6101 _ACEOF
6102 # If some macros were called several times there might be several times
6103 # the same #defines, which is useless. Nevertheless, we may not want to
6104 # sort them, since we want the *last* AC-DEFINE to be honored.
6105 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6106 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6107 rm -f confdef2sed.sed
6108
6109 # This sed command replaces #undef with comments. This is necessary, for
6110 # example, in the case of _POSIX_SOURCE, which is predefined and required
6111 # on some systems where configure will not decide to define it.
6112 cat >>conftest.undefs <<\_ACEOF
6113 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6114 _ACEOF
6115
6116 # Break up conftest.defines because some shells have a limit on the size
6117 # of here documents, and old seds have small limits too (100 cmds).
6118 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6119 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6120 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6121 echo ' :' >>$CONFIG_STATUS
6122 rm -f conftest.tail
6123 while grep . conftest.defines >/dev/null
6124 do
6125 # Write a limited-size here document to $tmp/defines.sed.
6126 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6127 # Speed up: don't consider the non `#define' lines.
6128 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6129 # Work around the forget-to-reset-the-flag bug.
6130 echo 't clr' >>$CONFIG_STATUS
6131 echo ': clr' >>$CONFIG_STATUS
6132 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6133 echo 'CEOF
6134 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6135 rm -f $tmp/in
6136 mv $tmp/out $tmp/in
6137 ' >>$CONFIG_STATUS
6138 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6139 rm -f conftest.defines
6140 mv conftest.tail conftest.defines
6141 done
6142 rm -f conftest.defines
6143 echo ' fi # grep' >>$CONFIG_STATUS
6144 echo >>$CONFIG_STATUS
6145
6146 # Break up conftest.undefs because some shells have a limit on the size
6147 # of here documents, and old seds have small limits too (100 cmds).
6148 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6149 rm -f conftest.tail
6150 while grep . conftest.undefs >/dev/null
6151 do
6152 # Write a limited-size here document to $tmp/undefs.sed.
6153 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6154 # Speed up: don't consider the non `#undef'
6155 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6156 # Work around the forget-to-reset-the-flag bug.
6157 echo 't clr' >>$CONFIG_STATUS
6158 echo ': clr' >>$CONFIG_STATUS
6159 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6160 echo 'CEOF
6161 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6162 rm -f $tmp/in
6163 mv $tmp/out $tmp/in
6164 ' >>$CONFIG_STATUS
6165 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6166 rm -f conftest.undefs
6167 mv conftest.tail conftest.undefs
6168 done
6169 rm -f conftest.undefs
6170
6171 cat >>$CONFIG_STATUS <<\_ACEOF
6172 # Let's still pretend it is `configure' which instantiates (i.e., don't
6173 # use $as_me), people would be surprised to read:
6174 # /* config.h. Generated by config.status. */
6175 if test x"$ac_file" = x-; then
6176 echo "/* Generated by configure. */" >$tmp/config.h
6177 else
6178 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6179 fi
6180 cat $tmp/in >>$tmp/config.h
6181 rm -f $tmp/in
6182 if test x"$ac_file" != x-; then
6183 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6184 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6185 echo "$as_me: $ac_file is unchanged" >&6;}
6186 else
6187 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6188 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6189 X"$ac_file" : 'X\(//\)[^/]' \| \
6190 X"$ac_file" : 'X\(//\)$' \| \
6191 X"$ac_file" : 'X\(/\)' \| \
6192 . : '\(.\)' 2>/dev/null ||
6193 echo X"$ac_file" |
6194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6195 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6196 /^X\(\/\/\)$/{ s//\1/; q; }
6197 /^X\(\/\).*/{ s//\1/; q; }
6198 s/.*/./; q'`
6199 { if $as_mkdir_p; then
6200 mkdir -p "$ac_dir"
6201 else
6202 as_dir="$ac_dir"
6203 as_dirs=
6204 while test ! -d "$as_dir"; do
6205 as_dirs="$as_dir $as_dirs"
6206 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6208 X"$as_dir" : 'X\(//\)[^/]' \| \
6209 X"$as_dir" : 'X\(//\)$' \| \
6210 X"$as_dir" : 'X\(/\)' \| \
6211 . : '\(.\)' 2>/dev/null ||
6212 echo X"$as_dir" |
6213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6215 /^X\(\/\/\)$/{ s//\1/; q; }
6216 /^X\(\/\).*/{ s//\1/; q; }
6217 s/.*/./; q'`
6218 done
6219 test ! -n "$as_dirs" || mkdir $as_dirs
6220 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6221 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6222 { (exit 1); exit 1; }; }; }
6223
6224 rm -f $ac_file
6225 mv $tmp/config.h $ac_file
6226 fi
6227 else
6228 cat $tmp/config.h
6229 rm -f $tmp/config.h
6230 fi
6231 # Compute $ac_file's index in $config_headers.
6232 _am_stamp_count=1
6233 for _am_header in $config_headers :; do
6234 case $_am_header in
6235 $ac_file | $ac_file:* )
6236 break ;;
6237 * )
6238 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6239 esac
6240 done
6241 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6242 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6243 X$ac_file : 'X\(//\)[^/]' \| \
6244 X$ac_file : 'X\(//\)$' \| \
6245 X$ac_file : 'X\(/\)' \| \
6246 . : '\(.\)' 2>/dev/null ||
6247 echo X$ac_file |
6248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6250 /^X\(\/\/\)$/{ s//\1/; q; }
6251 /^X\(\/\).*/{ s//\1/; q; }
6252 s/.*/./; q'`/stamp-h$_am_stamp_count
6253 done
6254 _ACEOF
6255 cat >>$CONFIG_STATUS <<\_ACEOF
6256
6257 #
6258 # CONFIG_COMMANDS section.
6259 #
6260 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6261 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6262 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6263 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6264 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6265 X"$ac_dest" : 'X\(//\)[^/]' \| \
6266 X"$ac_dest" : 'X\(//\)$' \| \
6267 X"$ac_dest" : 'X\(/\)' \| \
6268 . : '\(.\)' 2>/dev/null ||
6269 echo X"$ac_dest" |
6270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6272 /^X\(\/\/\)$/{ s//\1/; q; }
6273 /^X\(\/\).*/{ s//\1/; q; }
6274 s/.*/./; q'`
6275 { if $as_mkdir_p; then
6276 mkdir -p "$ac_dir"
6277 else
6278 as_dir="$ac_dir"
6279 as_dirs=
6280 while test ! -d "$as_dir"; do
6281 as_dirs="$as_dir $as_dirs"
6282 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284 X"$as_dir" : 'X\(//\)[^/]' \| \
6285 X"$as_dir" : 'X\(//\)$' \| \
6286 X"$as_dir" : 'X\(/\)' \| \
6287 . : '\(.\)' 2>/dev/null ||
6288 echo X"$as_dir" |
6289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6291 /^X\(\/\/\)$/{ s//\1/; q; }
6292 /^X\(\/\).*/{ s//\1/; q; }
6293 s/.*/./; q'`
6294 done
6295 test ! -n "$as_dirs" || mkdir $as_dirs
6296 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6297 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6298 { (exit 1); exit 1; }; }; }
6299
6300 ac_builddir=.
6301
6302 if test "$ac_dir" != .; then
6303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6304 # A "../" for each directory in $ac_dir_suffix.
6305 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6306 else
6307 ac_dir_suffix= ac_top_builddir=
6308 fi
6309
6310 case $srcdir in
6311 .) # No --srcdir option. We are building in place.
6312 ac_srcdir=.
6313 if test -z "$ac_top_builddir"; then
6314 ac_top_srcdir=.
6315 else
6316 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6317 fi ;;
6318 [\\/]* | ?:[\\/]* ) # Absolute path.
6319 ac_srcdir=$srcdir$ac_dir_suffix;
6320 ac_top_srcdir=$srcdir ;;
6321 *) # Relative path.
6322 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6323 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6324 esac
6325
6326 # Do not use `cd foo && pwd` to compute absolute paths, because
6327 # the directories may not exist.
6328 case `pwd` in
6329 .) ac_abs_builddir="$ac_dir";;
6330 *)
6331 case "$ac_dir" in
6332 .) ac_abs_builddir=`pwd`;;
6333 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6334 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6335 esac;;
6336 esac
6337 case $ac_abs_builddir in
6338 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6339 *)
6340 case ${ac_top_builddir}. in
6341 .) ac_abs_top_builddir=$ac_abs_builddir;;
6342 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6343 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6344 esac;;
6345 esac
6346 case $ac_abs_builddir in
6347 .) ac_abs_srcdir=$ac_srcdir;;
6348 *)
6349 case $ac_srcdir in
6350 .) ac_abs_srcdir=$ac_abs_builddir;;
6351 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6352 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6353 esac;;
6354 esac
6355 case $ac_abs_builddir in
6356 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6357 *)
6358 case $ac_top_srcdir in
6359 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6360 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6361 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6362 esac;;
6363 esac
6364
6365
6366 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6367 echo "$as_me: executing $ac_dest commands" >&6;}
6368 case $ac_dest in
6369 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6370 # Strip MF so we end up with the name of the file.
6371 mf=`echo "$mf" | sed -e 's/:.*$//'`
6372 # Check whether this is an Automake generated Makefile or not.
6373 # We used to match only the files named `Makefile.in', but
6374 # some people rename them; so instead we look at the file content.
6375 # Grep'ing the first line is not enough: some people post-process
6376 # each Makefile.in and add a new line on top of each file to say so.
6377 # So let's grep whole file.
6378 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6379 dirpart=`(dirname "$mf") 2>/dev/null ||
6380 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6381 X"$mf" : 'X\(//\)[^/]' \| \
6382 X"$mf" : 'X\(//\)$' \| \
6383 X"$mf" : 'X\(/\)' \| \
6384 . : '\(.\)' 2>/dev/null ||
6385 echo X"$mf" |
6386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6388 /^X\(\/\/\)$/{ s//\1/; q; }
6389 /^X\(\/\).*/{ s//\1/; q; }
6390 s/.*/./; q'`
6391 else
6392 continue
6393 fi
6394 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6395 # Extract the definition of DEP_FILES from the Makefile without
6396 # running `make'.
6397 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6398 test -z "$DEPDIR" && continue
6399 # When using ansi2knr, U may be empty or an underscore; expand it
6400 U=`sed -n -e '/^U = / s///p' < "$mf"`
6401 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6402 # We invoke sed twice because it is the simplest approach to
6403 # changing $(DEPDIR) to its actual value in the expansion.
6404 for file in `sed -n -e '
6405 /^DEP_FILES = .*\\\\$/ {
6406 s/^DEP_FILES = //
6407 :loop
6408 s/\\\\$//
6409 p
6410 n
6411 /\\\\$/ b loop
6412 p
6413 }
6414 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6415 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6416 # Make sure the directory exists.
6417 test -f "$dirpart/$file" && continue
6418 fdir=`(dirname "$file") 2>/dev/null ||
6419 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6420 X"$file" : 'X\(//\)[^/]' \| \
6421 X"$file" : 'X\(//\)$' \| \
6422 X"$file" : 'X\(/\)' \| \
6423 . : '\(.\)' 2>/dev/null ||
6424 echo X"$file" |
6425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6426 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6427 /^X\(\/\/\)$/{ s//\1/; q; }
6428 /^X\(\/\).*/{ s//\1/; q; }
6429 s/.*/./; q'`
6430 { if $as_mkdir_p; then
6431 mkdir -p $dirpart/$fdir
6432 else
6433 as_dir=$dirpart/$fdir
6434 as_dirs=
6435 while test ! -d "$as_dir"; do
6436 as_dirs="$as_dir $as_dirs"
6437 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6438 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6439 X"$as_dir" : 'X\(//\)[^/]' \| \
6440 X"$as_dir" : 'X\(//\)$' \| \
6441 X"$as_dir" : 'X\(/\)' \| \
6442 . : '\(.\)' 2>/dev/null ||
6443 echo X"$as_dir" |
6444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6445 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6446 /^X\(\/\/\)$/{ s//\1/; q; }
6447 /^X\(\/\).*/{ s//\1/; q; }
6448 s/.*/./; q'`
6449 done
6450 test ! -n "$as_dirs" || mkdir $as_dirs
6451 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6452 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6453 { (exit 1); exit 1; }; }; }
6454
6455 # echo "creating $dirpart/$file"
6456 echo '# dummy' > "$dirpart/$file"
6457 done
6458 done
6459 ;;
6460 esac
6461 done
6462 _ACEOF
6463
6464 cat >>$CONFIG_STATUS <<\_ACEOF
6465
6466 { (exit 0); exit 0; }
6467 _ACEOF
6468 chmod +x $CONFIG_STATUS
6469 ac_clean_files=$ac_clean_files_save
6470
6471
6472 # configure is writing to config.log, and then calls config.status.
6473 # config.status does its own redirection, appending to config.log.
6474 # Unfortunately, on DOS this fails, as config.log is still kept open
6475 # by configure, so config.status won't be able to write to it; its
6476 # output is simply discarded. So we exec the FD to /dev/null,
6477 # effectively closing config.log, so it can be properly (re)opened and
6478 # appended to by config.status. When coming back to configure, we
6479 # need to make the FD available again.
6480 if test "$no_create" != yes; then
6481 ac_cs_success=:
6482 ac_config_status_args=
6483 test "$silent" = yes &&
6484 ac_config_status_args="$ac_config_status_args --quiet"
6485 exec 5>/dev/null
6486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6487 exec 5>>config.log
6488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6489 # would make configure fail if this is the last instruction.
6490 $ac_cs_success || { (exit 1); exit 1; }
6491 fi
6492
6493