build-system: re-add Makefile.in to default distribution
[mit.git] / configure
blob35b3ae2908f5d3ce481eed1728d0c90f66ec4d9d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
274 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 LDADD MODULE_DIR LIBOBJS LTLIBOBJS'
275 ac_subst_files=''
277 # Initialize some variables set by options.
278 ac_init_help=
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
282 cache_file=/dev/null
283 exec_prefix=NONE
284 no_create=
285 no_recursion=
286 prefix=NONE
287 program_prefix=NONE
288 program_suffix=NONE
289 program_transform_name=s,x,x,
290 silent=
291 site=
292 srcdir=
293 verbose=
294 x_includes=NONE
295 x_libraries=NONE
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
315 ac_prev=
316 for ac_option
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
321 ac_prev=
322 continue
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
329 case $ac_option in
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 ac_prev=bindir ;;
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir=$ac_optarg ;;
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
348 --config-cache | -C)
349 cache_file=config.cache ;;
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 | --da=*)
355 datadir=$ac_optarg ;;
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
376 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
390 with_gas=yes ;;
392 -help | --help | --hel | --he | -h)
393 ac_init_help=long ;;
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
412 ac_prev=infodir ;;
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
416 -libdir | --libdir | --libdi | --libd)
417 ac_prev=libdir ;;
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
419 libdir=$ac_optarg ;;
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 ac_prev=mandir ;;
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440 mandir=$ac_optarg ;;
442 -nfp | --nfp | --nf)
443 # Obsolete; use --without-fp.
444 with_fp=no ;;
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
448 no_create=yes ;;
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
452 no_recursion=yes ;;
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464 ac_prev=prefix ;;
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466 prefix=$ac_optarg ;;
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
501 silent=yes ;;
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504 ac_prev=sbindir ;;
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506 | --sbi=* | --sb=*)
507 sbindir=$ac_optarg ;;
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
512 | --sha | --sh)
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517 | --sha=* | --sh=*)
518 sharedstatedir=$ac_optarg ;;
520 -site | --site | --sit)
521 ac_prev=site ;;
522 -site=* | --site=* | --sit=*)
523 site=$ac_optarg ;;
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526 ac_prev=srcdir ;;
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
528 srcdir=$ac_optarg ;;
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
543 verbose=yes ;;
545 -version | --version | --versio | --versi | --vers | -V)
546 ac_init_version=: ;;
548 -with-* | --with-*)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
558 esac
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
570 --x)
571 # Obsolete; use --with-x.
572 with_x=yes ;;
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
593 *=*)
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
601 export $ac_envvar ;;
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611 esac
612 done
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
623 eval ac_val=$`echo $ac_var`
624 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
628 esac
629 done
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val=$`echo $ac_var`
636 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
640 esac
641 done
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
646 build=$build_alias
647 host=$host_alias
648 target=$target_alias
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
657 cross_compiling=yes
661 ac_tool_prefix=
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664 test "$silent" = yes && exec 6>/dev/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
677 echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
682 s/.*/./; q'`
683 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then
685 srcdir=..
687 else
688 ac_srcdir_defaulted=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
694 else
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715 ac_env_CC_set=${CC+set}
716 ac_env_CC_value=$CC
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 # Report the --help message.
735 if test "$ac_init_help" = "long"; then
736 # Omit some internal or obsolete options to make the list less imposing.
737 # This message is too long to be a string in the A/UX 3.1 sh.
738 cat <<_ACEOF
739 \`configure' configures this package to adapt to many kinds of systems.
741 Usage: $0 [OPTION]... [VAR=VALUE]...
743 To assign environment variables (e.g., CC, CFLAGS...), specify them as
744 VAR=VALUE. See below for descriptions of some of the useful variables.
746 Defaults for the options are specified in brackets.
748 Configuration:
749 -h, --help display this help and exit
750 --help=short display options specific to this package
751 --help=recursive display the short help of all the included packages
752 -V, --version display version information and exit
753 -q, --quiet, --silent do not print \`checking...' messages
754 --cache-file=FILE cache test results in FILE [disabled]
755 -C, --config-cache alias for \`--cache-file=config.cache'
756 -n, --no-create do not create output files
757 --srcdir=DIR find the sources in DIR [configure dir or \`..']
759 _ACEOF
761 cat <<_ACEOF
762 Installation directories:
763 --prefix=PREFIX install architecture-independent files in PREFIX
764 [$ac_default_prefix]
765 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
766 [PREFIX]
768 By default, \`make install' will install all the files in
769 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
770 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
771 for instance \`--prefix=\$HOME'.
773 For better control, use the options below.
775 Fine tuning of the installation directories:
776 --bindir=DIR user executables [EPREFIX/bin]
777 --sbindir=DIR system admin executables [EPREFIX/sbin]
778 --libexecdir=DIR program executables [EPREFIX/libexec]
779 --datadir=DIR read-only architecture-independent data [PREFIX/share]
780 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
781 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
782 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
783 --libdir=DIR object code libraries [EPREFIX/lib]
784 --includedir=DIR C header files [PREFIX/include]
785 --oldincludedir=DIR C header files for non-gcc [/usr/include]
786 --infodir=DIR info documentation [PREFIX/info]
787 --mandir=DIR man documentation [PREFIX/man]
788 _ACEOF
790 cat <<\_ACEOF
792 Program names:
793 --program-prefix=PREFIX prepend PREFIX to installed program names
794 --program-suffix=SUFFIX append SUFFIX to installed program names
795 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
797 System types:
798 --build=BUILD configure for building on BUILD [guessed]
799 --host=HOST cross-compile to build programs to run on HOST [BUILD]
800 --target=TARGET configure for building compilers for TARGET [HOST]
801 _ACEOF
804 if test -n "$ac_init_help"; then
806 cat <<\_ACEOF
808 Optional Features:
809 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
810 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
811 --enable-zlib Handle gzipped modules
812 --disable-dependency-tracking speeds up one-time build
813 --enable-dependency-tracking do not reject slow dependency extractors
815 Optional Packages:
816 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
817 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
818 --with-moddir=path Give the path for system modules directory.
819 Defaults to /lib/modules
821 Some influential environment variables:
822 CC C compiler command
823 CFLAGS C compiler flags
824 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
825 nonstandard directory <lib dir>
826 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
827 headers in a nonstandard directory <include dir>
829 Use these variables to override the choices made by `configure' or to help
830 it to find libraries and programs with nonstandard names/locations.
832 _ACEOF
835 if test "$ac_init_help" = "recursive"; then
836 # If there are subdirs, report their specific --help.
837 ac_popdir=`pwd`
838 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
839 test -d $ac_dir || continue
840 ac_builddir=.
842 if test "$ac_dir" != .; then
843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
844 # A "../" for each directory in $ac_dir_suffix.
845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
846 else
847 ac_dir_suffix= ac_top_builddir=
850 case $srcdir in
851 .) # No --srcdir option. We are building in place.
852 ac_srcdir=.
853 if test -z "$ac_top_builddir"; then
854 ac_top_srcdir=.
855 else
856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
857 fi ;;
858 [\\/]* | ?:[\\/]* ) # Absolute path.
859 ac_srcdir=$srcdir$ac_dir_suffix;
860 ac_top_srcdir=$srcdir ;;
861 *) # Relative path.
862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
863 ac_top_srcdir=$ac_top_builddir$srcdir ;;
864 esac
866 # Do not use `cd foo && pwd` to compute absolute paths, because
867 # the directories may not exist.
868 case `pwd` in
869 .) ac_abs_builddir="$ac_dir";;
871 case "$ac_dir" in
872 .) ac_abs_builddir=`pwd`;;
873 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
874 *) ac_abs_builddir=`pwd`/"$ac_dir";;
875 esac;;
876 esac
877 case $ac_abs_builddir in
878 .) ac_abs_top_builddir=${ac_top_builddir}.;;
880 case ${ac_top_builddir}. in
881 .) ac_abs_top_builddir=$ac_abs_builddir;;
882 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
883 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
884 esac;;
885 esac
886 case $ac_abs_builddir in
887 .) ac_abs_srcdir=$ac_srcdir;;
889 case $ac_srcdir in
890 .) ac_abs_srcdir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
892 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
893 esac;;
894 esac
895 case $ac_abs_builddir in
896 .) ac_abs_top_srcdir=$ac_top_srcdir;;
898 case $ac_top_srcdir in
899 .) ac_abs_top_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
901 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
902 esac;;
903 esac
905 cd $ac_dir
906 # Check for guested configure; otherwise get Cygnus style configure.
907 if test -f $ac_srcdir/configure.gnu; then
908 echo
909 $SHELL $ac_srcdir/configure.gnu --help=recursive
910 elif test -f $ac_srcdir/configure; then
911 echo
912 $SHELL $ac_srcdir/configure --help=recursive
913 elif test -f $ac_srcdir/configure.ac ||
914 test -f $ac_srcdir/configure.in; then
915 echo
916 $ac_configure --help
917 else
918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
920 cd $ac_popdir
921 done
924 test -n "$ac_init_help" && exit 0
925 if $ac_init_version; then
926 cat <<\_ACEOF
928 Copyright (C) 2003 Free Software Foundation, Inc.
929 This configure script is free software; the Free Software Foundation
930 gives unlimited permission to copy, distribute and modify it.
931 _ACEOF
932 exit 0
934 exec 5>config.log
935 cat >&5 <<_ACEOF
936 This file contains any messages produced by compilers while
937 running configure, to aid debugging if configure makes a mistake.
939 It was created by $as_me, which was
940 generated by GNU Autoconf 2.59. Invocation command line was
942 $ $0 $@
944 _ACEOF
946 cat <<_ASUNAME
947 ## --------- ##
948 ## Platform. ##
949 ## --------- ##
951 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
952 uname -m = `(uname -m) 2>/dev/null || echo unknown`
953 uname -r = `(uname -r) 2>/dev/null || echo unknown`
954 uname -s = `(uname -s) 2>/dev/null || echo unknown`
955 uname -v = `(uname -v) 2>/dev/null || echo unknown`
957 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
958 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
960 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
961 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
962 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
963 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
964 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
965 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
966 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968 _ASUNAME
970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
971 for as_dir in $PATH
973 IFS=$as_save_IFS
974 test -z "$as_dir" && as_dir=.
975 echo "PATH: $as_dir"
976 done
978 } >&5
980 cat >&5 <<_ACEOF
983 ## ----------- ##
984 ## Core tests. ##
985 ## ----------- ##
987 _ACEOF
990 # Keep a trace of the command line.
991 # Strip out --no-create and --no-recursion so they do not pile up.
992 # Strip out --silent because we don't want to record it for future runs.
993 # Also quote any args containing shell meta-characters.
994 # Make two passes to allow for proper duplicate-argument suppression.
995 ac_configure_args=
996 ac_configure_args0=
997 ac_configure_args1=
998 ac_sep=
999 ac_must_keep_next=false
1000 for ac_pass in 1 2
1002 for ac_arg
1004 case $ac_arg in
1005 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007 | -silent | --silent | --silen | --sile | --sil)
1008 continue ;;
1009 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1010 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1011 esac
1012 case $ac_pass in
1013 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1015 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1016 if test $ac_must_keep_next = true; then
1017 ac_must_keep_next=false # Got value, back to normal.
1018 else
1019 case $ac_arg in
1020 *=* | --config-cache | -C | -disable-* | --disable-* \
1021 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1022 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1023 | -with-* | --with-* | -without-* | --without-* | --x)
1024 case "$ac_configure_args0 " in
1025 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1026 esac
1028 -* ) ac_must_keep_next=true ;;
1029 esac
1031 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1032 # Get rid of the leading space.
1033 ac_sep=" "
1035 esac
1036 done
1037 done
1038 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1039 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1041 # When interrupted or exit'd, cleanup temporary files, and complete
1042 # config.log. We remove comments because anyway the quotes in there
1043 # would cause problems or look ugly.
1044 # WARNING: Be sure not to use single quotes in there, as some shells,
1045 # such as our DU 5.0 friend, will then `close' the trap.
1046 trap 'exit_status=$?
1047 # Save into config.log some information that might help in debugging.
1049 echo
1051 cat <<\_ASBOX
1052 ## ---------------- ##
1053 ## Cache variables. ##
1054 ## ---------------- ##
1055 _ASBOX
1056 echo
1057 # The following way of writing the cache mishandles newlines in values,
1059 (set) 2>&1 |
1060 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1061 *ac_space=\ *)
1062 sed -n \
1063 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1067 sed -n \
1068 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070 esac;
1072 echo
1074 cat <<\_ASBOX
1075 ## ----------------- ##
1076 ## Output variables. ##
1077 ## ----------------- ##
1078 _ASBOX
1079 echo
1080 for ac_var in $ac_subst_vars
1082 eval ac_val=$`echo $ac_var`
1083 echo "$ac_var='"'"'$ac_val'"'"'"
1084 done | sort
1085 echo
1087 if test -n "$ac_subst_files"; then
1088 cat <<\_ASBOX
1089 ## ------------- ##
1090 ## Output files. ##
1091 ## ------------- ##
1092 _ASBOX
1093 echo
1094 for ac_var in $ac_subst_files
1096 eval ac_val=$`echo $ac_var`
1097 echo "$ac_var='"'"'$ac_val'"'"'"
1098 done | sort
1099 echo
1102 if test -s confdefs.h; then
1103 cat <<\_ASBOX
1104 ## ----------- ##
1105 ## confdefs.h. ##
1106 ## ----------- ##
1107 _ASBOX
1108 echo
1109 sed "/^$/d" confdefs.h | sort
1110 echo
1112 test "$ac_signal" != 0 &&
1113 echo "$as_me: caught signal $ac_signal"
1114 echo "$as_me: exit $exit_status"
1115 } >&5
1116 rm -f core *.core &&
1117 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1118 exit $exit_status
1120 for ac_signal in 1 2 13 15; do
1121 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1122 done
1123 ac_signal=0
1125 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1126 rm -rf conftest* confdefs.h
1127 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1128 echo >confdefs.h
1130 # Predefined preprocessor variables.
1132 cat >>confdefs.h <<_ACEOF
1133 #define PACKAGE_NAME "$PACKAGE_NAME"
1134 _ACEOF
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1139 _ACEOF
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1144 _ACEOF
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_STRING "$PACKAGE_STRING"
1149 _ACEOF
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1154 _ACEOF
1157 # Let the site file select an alternate cache file if it wants to.
1158 # Prefer explicitly selected file to automatically selected ones.
1159 if test -z "$CONFIG_SITE"; then
1160 if test "x$prefix" != xNONE; then
1161 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1162 else
1163 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1166 for ac_site_file in $CONFIG_SITE; do
1167 if test -r "$ac_site_file"; then
1168 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1169 echo "$as_me: loading site script $ac_site_file" >&6;}
1170 sed 's/^/| /' "$ac_site_file" >&5
1171 . "$ac_site_file"
1173 done
1175 if test -r "$cache_file"; then
1176 # Some versions of bash will fail to source /dev/null (special
1177 # files actually), so we avoid doing that.
1178 if test -f "$cache_file"; then
1179 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1180 echo "$as_me: loading cache $cache_file" >&6;}
1181 case $cache_file in
1182 [\\/]* | ?:[\\/]* ) . $cache_file;;
1183 *) . ./$cache_file;;
1184 esac
1186 else
1187 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1188 echo "$as_me: creating cache $cache_file" >&6;}
1189 >$cache_file
1192 # Check that the precious variables saved in the cache have kept the same
1193 # value.
1194 ac_cache_corrupted=false
1195 for ac_var in `(set) 2>&1 |
1196 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1197 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1198 eval ac_new_set=\$ac_env_${ac_var}_set
1199 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1200 eval ac_new_val="\$ac_env_${ac_var}_value"
1201 case $ac_old_set,$ac_new_set in
1202 set,)
1203 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1204 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1205 ac_cache_corrupted=: ;;
1206 ,set)
1207 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1208 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1209 ac_cache_corrupted=: ;;
1210 ,);;
1212 if test "x$ac_old_val" != "x$ac_new_val"; then
1213 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1214 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1215 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1216 echo "$as_me: former value: $ac_old_val" >&2;}
1217 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1218 echo "$as_me: current value: $ac_new_val" >&2;}
1219 ac_cache_corrupted=:
1220 fi;;
1221 esac
1222 # Pass precious variables to config.status.
1223 if test "$ac_new_set" = set; then
1224 case $ac_new_val in
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1227 *) ac_arg=$ac_var=$ac_new_val ;;
1228 esac
1229 case " $ac_configure_args " in
1230 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1231 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1232 esac
1234 done
1235 if $ac_cache_corrupted; then
1236 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1237 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1238 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1239 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1240 { (exit 1); exit 1; }; }
1243 ac_ext=c
1244 ac_cpp='$CPP $CPPFLAGS'
1245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1268 ac_aux_dir=
1269 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1270 if test -f $ac_dir/install-sh; then
1271 ac_aux_dir=$ac_dir
1272 ac_install_sh="$ac_aux_dir/install-sh -c"
1273 break
1274 elif test -f $ac_dir/install.sh; then
1275 ac_aux_dir=$ac_dir
1276 ac_install_sh="$ac_aux_dir/install.sh -c"
1277 break
1278 elif test -f $ac_dir/shtool; then
1279 ac_aux_dir=$ac_dir
1280 ac_install_sh="$ac_aux_dir/shtool install -c"
1281 break
1283 done
1284 if test -z "$ac_aux_dir"; then
1285 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1286 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1287 { (exit 1); exit 1; }; }
1289 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1290 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1291 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1293 # Make sure we can run config.sub.
1294 $ac_config_sub sun4 >/dev/null 2>&1 ||
1295 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1296 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1297 { (exit 1); exit 1; }; }
1299 echo "$as_me:$LINENO: checking build system type" >&5
1300 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1301 if test "${ac_cv_build+set}" = set; then
1302 echo $ECHO_N "(cached) $ECHO_C" >&6
1303 else
1304 ac_cv_build_alias=$build_alias
1305 test -z "$ac_cv_build_alias" &&
1306 ac_cv_build_alias=`$ac_config_guess`
1307 test -z "$ac_cv_build_alias" &&
1308 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1309 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1310 { (exit 1); exit 1; }; }
1311 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1312 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1313 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1314 { (exit 1); exit 1; }; }
1317 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1318 echo "${ECHO_T}$ac_cv_build" >&6
1319 build=$ac_cv_build
1320 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1321 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1322 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1325 echo "$as_me:$LINENO: checking host system type" >&5
1326 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1327 if test "${ac_cv_host+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 else
1330 ac_cv_host_alias=$host_alias
1331 test -z "$ac_cv_host_alias" &&
1332 ac_cv_host_alias=$ac_cv_build_alias
1333 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1334 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1335 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1336 { (exit 1); exit 1; }; }
1339 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1340 echo "${ECHO_T}$ac_cv_host" >&6
1341 host=$ac_cv_host
1342 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1343 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1344 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1347 echo "$as_me:$LINENO: checking target system type" >&5
1348 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1349 if test "${ac_cv_target+set}" = set; then
1350 echo $ECHO_N "(cached) $ECHO_C" >&6
1351 else
1352 ac_cv_target_alias=$target_alias
1353 test "x$ac_cv_target_alias" = "x" &&
1354 ac_cv_target_alias=$ac_cv_host_alias
1355 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1356 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1357 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1358 { (exit 1); exit 1; }; }
1361 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1362 echo "${ECHO_T}$ac_cv_target" >&6
1363 target=$ac_cv_target
1364 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1365 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1366 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1369 # The aliases save the names the user supplied, while $host etc.
1370 # will get canonicalized.
1371 test -n "$target_alias" &&
1372 test "$program_prefix$program_suffix$program_transform_name" = \
1373 NONENONEs,x,x, &&
1374 program_prefix=${target_alias}-
1376 am__api_version="1.9"
1377 # Find a good install program. We prefer a C program (faster),
1378 # so one script is as good as another. But avoid the broken or
1379 # incompatible versions:
1380 # SysV /etc/install, /usr/sbin/install
1381 # SunOS /usr/etc/install
1382 # IRIX /sbin/install
1383 # AIX /bin/install
1384 # AmigaOS /C/install, which installs bootblocks on floppy discs
1385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1388 # OS/2's system install, which has a completely different semantic
1389 # ./install, which can be erroneously created by make from ./install.sh.
1390 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1391 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1392 if test -z "$INSTALL"; then
1393 if test "${ac_cv_path_install+set}" = set; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1395 else
1396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1397 for as_dir in $PATH
1399 IFS=$as_save_IFS
1400 test -z "$as_dir" && as_dir=.
1401 # Account for people who put trailing slashes in PATH elements.
1402 case $as_dir/ in
1403 ./ | .// | /cC/* | \
1404 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1405 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1406 /usr/ucb/* ) ;;
1408 # OSF1 and SCO ODT 3.0 have their own names for install.
1409 # Don't use installbsd from OSF since it installs stuff as root
1410 # by default.
1411 for ac_prog in ginstall scoinst install; do
1412 for ac_exec_ext in '' $ac_executable_extensions; do
1413 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1414 if test $ac_prog = install &&
1415 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1416 # AIX install. It has an incompatible calling convention.
1418 elif test $ac_prog = install &&
1419 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1420 # program-specific install script used by HP pwplus--don't use.
1422 else
1423 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1424 break 3
1427 done
1428 done
1430 esac
1431 done
1435 if test "${ac_cv_path_install+set}" = set; then
1436 INSTALL=$ac_cv_path_install
1437 else
1438 # As a last resort, use the slow shell script. We don't cache a
1439 # path for INSTALL within a source directory, because that will
1440 # break other packages using the cache if that directory is
1441 # removed, or if the path is relative.
1442 INSTALL=$ac_install_sh
1445 echo "$as_me:$LINENO: result: $INSTALL" >&5
1446 echo "${ECHO_T}$INSTALL" >&6
1448 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1449 # It thinks the first close brace ends the variable substitution.
1450 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1452 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1454 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1456 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1457 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1458 # Just in case
1459 sleep 1
1460 echo timestamp > conftest.file
1461 # Do `set' in a subshell so we don't clobber the current shell's
1462 # arguments. Must try -L first in case configure is actually a
1463 # symlink; some systems play weird games with the mod time of symlinks
1464 # (eg FreeBSD returns the mod time of the symlink's containing
1465 # directory).
1466 if (
1467 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1468 if test "$*" = "X"; then
1469 # -L didn't work.
1470 set X `ls -t $srcdir/configure conftest.file`
1472 rm -f conftest.file
1473 if test "$*" != "X $srcdir/configure conftest.file" \
1474 && test "$*" != "X conftest.file $srcdir/configure"; then
1476 # If neither matched, then we have a broken ls. This can happen
1477 # if, for instance, CONFIG_SHELL is bash and it inherits a
1478 # broken ls alias from the environment. This has actually
1479 # happened. Such a system could not be considered "sane".
1480 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1481 alias in your environment" >&5
1482 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1483 alias in your environment" >&2;}
1484 { (exit 1); exit 1; }; }
1487 test "$2" = conftest.file
1489 then
1490 # Ok.
1492 else
1493 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1494 Check your system clock" >&5
1495 echo "$as_me: error: newly created file is older than distributed files!
1496 Check your system clock" >&2;}
1497 { (exit 1); exit 1; }; }
1499 echo "$as_me:$LINENO: result: yes" >&5
1500 echo "${ECHO_T}yes" >&6
1501 test "$program_prefix" != NONE &&
1502 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1503 # Use a double $ so make ignores it.
1504 test "$program_suffix" != NONE &&
1505 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1506 # Double any \ or $. echo might interpret backslashes.
1507 # By default was `s,x,x', remove it if useless.
1508 cat <<\_ACEOF >conftest.sed
1509 s/[\\$]/&&/g;s/;s,x,x,$//
1510 _ACEOF
1511 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1512 rm conftest.sed
1514 # expand $ac_aux_dir to an absolute path
1515 am_aux_dir=`cd $ac_aux_dir && pwd`
1517 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1518 # Use eval to expand $SHELL
1519 if eval "$MISSING --run true"; then
1520 am_missing_run="$MISSING --run "
1521 else
1522 am_missing_run=
1523 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1524 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1527 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1528 # We used to keeping the `.' as first argument, in order to
1529 # allow $(mkdir_p) to be used without argument. As in
1530 # $(mkdir_p) $(somedir)
1531 # where $(somedir) is conditionally defined. However this is wrong
1532 # for two reasons:
1533 # 1. if the package is installed by a user who cannot write `.'
1534 # make install will fail,
1535 # 2. the above comment should most certainly read
1536 # $(mkdir_p) $(DESTDIR)$(somedir)
1537 # so it does not work when $(somedir) is undefined and
1538 # $(DESTDIR) is not.
1539 # To support the latter case, we have to write
1540 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1541 # so the `.' trick is pointless.
1542 mkdir_p='mkdir -p --'
1543 else
1544 # On NextStep and OpenStep, the `mkdir' command does not
1545 # recognize any option. It will interpret all options as
1546 # directories to create, and then abort because `.' already
1547 # exists.
1548 for d in ./-p ./--version;
1550 test -d $d && rmdir $d
1551 done
1552 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1553 if test -f "$ac_aux_dir/mkinstalldirs"; then
1554 mkdir_p='$(mkinstalldirs)'
1555 else
1556 mkdir_p='$(install_sh) -d'
1560 for ac_prog in gawk mawk nawk awk
1562 # Extract the first word of "$ac_prog", so it can be a program name with args.
1563 set dummy $ac_prog; ac_word=$2
1564 echo "$as_me:$LINENO: checking for $ac_word" >&5
1565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1566 if test "${ac_cv_prog_AWK+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 else
1569 if test -n "$AWK"; then
1570 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1571 else
1572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 for as_dir in $PATH
1575 IFS=$as_save_IFS
1576 test -z "$as_dir" && as_dir=.
1577 for ac_exec_ext in '' $ac_executable_extensions; do
1578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1579 ac_cv_prog_AWK="$ac_prog"
1580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581 break 2
1583 done
1584 done
1588 AWK=$ac_cv_prog_AWK
1589 if test -n "$AWK"; then
1590 echo "$as_me:$LINENO: result: $AWK" >&5
1591 echo "${ECHO_T}$AWK" >&6
1592 else
1593 echo "$as_me:$LINENO: result: no" >&5
1594 echo "${ECHO_T}no" >&6
1597 test -n "$AWK" && break
1598 done
1600 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1601 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1602 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1603 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 else
1606 cat >conftest.make <<\_ACEOF
1607 all:
1608 @echo 'ac_maketemp="$(MAKE)"'
1609 _ACEOF
1610 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1611 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1612 if test -n "$ac_maketemp"; then
1613 eval ac_cv_prog_make_${ac_make}_set=yes
1614 else
1615 eval ac_cv_prog_make_${ac_make}_set=no
1617 rm -f conftest.make
1619 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1620 echo "$as_me:$LINENO: result: yes" >&5
1621 echo "${ECHO_T}yes" >&6
1622 SET_MAKE=
1623 else
1624 echo "$as_me:$LINENO: result: no" >&5
1625 echo "${ECHO_T}no" >&6
1626 SET_MAKE="MAKE=${MAKE-make}"
1629 rm -rf .tst 2>/dev/null
1630 mkdir .tst 2>/dev/null
1631 if test -d .tst; then
1632 am__leading_dot=.
1633 else
1634 am__leading_dot=_
1636 rmdir .tst 2>/dev/null
1638 # test to see if srcdir already configured
1639 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1640 test -f $srcdir/config.status; then
1641 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1642 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1643 { (exit 1); exit 1; }; }
1646 # test whether we have cygpath
1647 if test -z "$CYGPATH_W"; then
1648 if (cygpath --version) >/dev/null 2>/dev/null; then
1649 CYGPATH_W='cygpath -w'
1650 else
1651 CYGPATH_W=echo
1656 # Define the identity of the package.
1657 PACKAGE=module-init-tools
1658 VERSION="3.3-pre9"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE "$PACKAGE"
1663 _ACEOF
1666 cat >>confdefs.h <<_ACEOF
1667 #define VERSION "$VERSION"
1668 _ACEOF
1670 # Some tools Automake needs.
1672 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1675 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1678 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1681 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1684 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1686 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1688 # Installed binaries are usually stripped using `strip' when the user
1689 # run `make install-strip'. However `strip' might not be the right
1690 # tool to use in cross-compilation environments, therefore Automake
1691 # will honor the `STRIP' environment variable to overrule this program.
1692 if test "$cross_compiling" != no; then
1693 if test -n "$ac_tool_prefix"; then
1694 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1695 set dummy ${ac_tool_prefix}strip; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_STRIP+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 else
1701 if test -n "$STRIP"; then
1702 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1703 else
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 for as_dir in $PATH
1707 IFS=$as_save_IFS
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1713 break 2
1715 done
1716 done
1720 STRIP=$ac_cv_prog_STRIP
1721 if test -n "$STRIP"; then
1722 echo "$as_me:$LINENO: result: $STRIP" >&5
1723 echo "${ECHO_T}$STRIP" >&6
1724 else
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1730 if test -z "$ac_cv_prog_STRIP"; then
1731 ac_ct_STRIP=$STRIP
1732 # Extract the first word of "strip", so it can be a program name with args.
1733 set dummy strip; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 else
1739 if test -n "$ac_ct_STRIP"; then
1740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1741 else
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 for as_dir in $PATH
1745 IFS=$as_save_IFS
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_ac_ct_STRIP="strip"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 break 2
1753 done
1754 done
1756 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1760 if test -n "$ac_ct_STRIP"; then
1761 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1762 echo "${ECHO_T}$ac_ct_STRIP" >&6
1763 else
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 STRIP=$ac_ct_STRIP
1769 else
1770 STRIP="$ac_cv_prog_STRIP"
1774 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1776 # We need awk for the "check" target. The system "awk" is bad on
1777 # some platforms.
1778 # Always define AMTAR for backward compatibility.
1780 AMTAR=${AMTAR-"${am_missing_run}tar"}
1782 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1789 # If zlib is required, libz must be linked static, modprobe is in
1790 # /sbin, libz is in /usr/lib and may not be available when it is run.
1791 # Check whether --enable-zlib or --disable-zlib was given.
1792 if test "${enable_zlib+set}" = set; then
1793 enableval="$enable_zlib"
1794 if test "$enableval" = "yes"; then
1795 cat >>confdefs.h <<\_ACEOF
1796 #define CONFIG_USE_ZLIB 1
1797 _ACEOF
1799 zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic"
1803 ac_ext=c
1804 ac_cpp='$CPP $CPPFLAGS'
1805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808 if test -n "$ac_tool_prefix"; then
1809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1810 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_CC+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1815 else
1816 if test -n "$CC"; then
1817 ac_cv_prog_CC="$CC" # Let the user override the test.
1818 else
1819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820 for as_dir in $PATH
1822 IFS=$as_save_IFS
1823 test -z "$as_dir" && as_dir=.
1824 for ac_exec_ext in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 break 2
1830 done
1831 done
1835 CC=$ac_cv_prog_CC
1836 if test -n "$CC"; then
1837 echo "$as_me:$LINENO: result: $CC" >&5
1838 echo "${ECHO_T}$CC" >&6
1839 else
1840 echo "$as_me:$LINENO: result: no" >&5
1841 echo "${ECHO_T}no" >&6
1845 if test -z "$ac_cv_prog_CC"; then
1846 ac_ct_CC=$CC
1847 # Extract the first word of "gcc", so it can be a program name with args.
1848 set dummy gcc; ac_word=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 else
1854 if test -n "$ac_ct_CC"; then
1855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1856 else
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 for as_dir in $PATH
1860 IFS=$as_save_IFS
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_ac_ct_CC="gcc"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1866 break 2
1868 done
1869 done
1873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1874 if test -n "$ac_ct_CC"; then
1875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1876 echo "${ECHO_T}$ac_ct_CC" >&6
1877 else
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1882 CC=$ac_ct_CC
1883 else
1884 CC="$ac_cv_prog_CC"
1887 if test -z "$CC"; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}cc; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_CC="${ac_tool_prefix}cc"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1915 CC=$ac_cv_prog_CC
1916 if test -n "$CC"; then
1917 echo "$as_me:$LINENO: result: $CC" >&5
1918 echo "${ECHO_T}$CC" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_CC"; then
1926 ac_ct_CC=$CC
1927 # Extract the first word of "cc", so it can be a program name with args.
1928 set dummy cc; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_CC"; then
1935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_CC="cc"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1948 done
1949 done
1953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1954 if test -n "$ac_ct_CC"; then
1955 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1956 echo "${ECHO_T}$ac_ct_CC" >&6
1957 else
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1962 CC=$ac_ct_CC
1963 else
1964 CC="$ac_cv_prog_CC"
1968 if test -z "$CC"; then
1969 # Extract the first word of "cc", so it can be a program name with args.
1970 set dummy cc; ac_word=$2
1971 echo "$as_me:$LINENO: checking for $ac_word" >&5
1972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1973 if test "${ac_cv_prog_CC+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 else
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC="$CC" # Let the user override the test.
1978 else
1979 ac_prog_rejected=no
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1988 ac_prog_rejected=yes
1989 continue
1991 ac_cv_prog_CC="cc"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
1998 if test $ac_prog_rejected = yes; then
1999 # We found a bogon in the path, so make sure we never use it.
2000 set dummy $ac_cv_prog_CC
2001 shift
2002 if test $# != 0; then
2003 # We chose a different compiler from the bogus one.
2004 # However, it has the same basename, so the bogon will be chosen
2005 # first if we set CC to just the basename; use the full file name.
2006 shift
2007 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2012 CC=$ac_cv_prog_CC
2013 if test -n "$CC"; then
2014 echo "$as_me:$LINENO: result: $CC" >&5
2015 echo "${ECHO_T}$CC" >&6
2016 else
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2022 if test -z "$CC"; then
2023 if test -n "$ac_tool_prefix"; then
2024 for ac_prog in cl
2026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 else
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC="$CC" # Let the user override the test.
2035 else
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 for as_dir in $PATH
2039 IFS=$as_save_IFS
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 break 2
2047 done
2048 done
2052 CC=$ac_cv_prog_CC
2053 if test -n "$CC"; then
2054 echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6
2056 else
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2061 test -n "$CC" && break
2062 done
2064 if test -z "$CC"; then
2065 ac_ct_CC=$CC
2066 for ac_prog in cl
2068 # Extract the first word of "$ac_prog", so it can be a program name with args.
2069 set dummy $ac_prog; ac_word=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_ac_ct_CC="$ac_prog"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2095 if test -n "$ac_ct_CC"; then
2096 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2097 echo "${ECHO_T}$ac_ct_CC" >&6
2098 else
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2103 test -n "$ac_ct_CC" && break
2104 done
2106 CC=$ac_ct_CC
2112 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: no acceptable C compiler found in \$PATH
2115 See \`config.log' for more details." >&2;}
2116 { (exit 1); exit 1; }; }
2118 # Provide some information about the compiler.
2119 echo "$as_me:$LINENO:" \
2120 "checking for C compiler version" >&5
2121 ac_compiler=`set X $ac_compile; echo $2`
2122 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2123 (eval $ac_compiler --version </dev/null >&5) 2>&5
2124 ac_status=$?
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }
2127 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2128 (eval $ac_compiler -v </dev/null >&5) 2>&5
2129 ac_status=$?
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }
2132 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2133 (eval $ac_compiler -V </dev/null >&5) 2>&5
2134 ac_status=$?
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }
2138 cat >conftest.$ac_ext <<_ACEOF
2139 /* confdefs.h. */
2140 _ACEOF
2141 cat confdefs.h >>conftest.$ac_ext
2142 cat >>conftest.$ac_ext <<_ACEOF
2143 /* end confdefs.h. */
2146 main ()
2150 return 0;
2152 _ACEOF
2153 ac_clean_files_save=$ac_clean_files
2154 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2155 # Try to create an executable without -o first, disregard a.out.
2156 # It will help us diagnose broken compilers, and finding out an intuition
2157 # of exeext.
2158 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2159 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2160 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2161 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2162 (eval $ac_link_default) 2>&5
2163 ac_status=$?
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; then
2166 # Find the output, starting from the most likely. This scheme is
2167 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2168 # resort.
2170 # Be careful to initialize this variable, since it used to be cached.
2171 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2172 ac_cv_exeext=
2173 # b.out is created by i960 compilers.
2174 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2176 test -f "$ac_file" || continue
2177 case $ac_file in
2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2180 conftest.$ac_ext )
2181 # This is the source file.
2183 [ab].out )
2184 # We found the default executable, but exeext='' is most
2185 # certainly right.
2186 break;;
2187 *.* )
2188 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2189 # FIXME: I believe we export ac_cv_exeext for Libtool,
2190 # but it would be cool to find out if it's true. Does anybody
2191 # maintain Libtool? --akim.
2192 export ac_cv_exeext
2193 break;;
2195 break;;
2196 esac
2197 done
2198 else
2199 echo "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.$ac_ext >&5
2202 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2203 See \`config.log' for more details." >&5
2204 echo "$as_me: error: C compiler cannot create executables
2205 See \`config.log' for more details." >&2;}
2206 { (exit 77); exit 77; }; }
2209 ac_exeext=$ac_cv_exeext
2210 echo "$as_me:$LINENO: result: $ac_file" >&5
2211 echo "${ECHO_T}$ac_file" >&6
2213 # Check the compiler produces executables we can run. If not, either
2214 # the compiler is broken, or we cross compile.
2215 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2216 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2217 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2218 # If not cross compiling, check that we can run a simple program.
2219 if test "$cross_compiling" != yes; then
2220 if { ac_try='./$ac_file'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 (eval $ac_try) 2>&5
2223 ac_status=$?
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2226 cross_compiling=no
2227 else
2228 if test "$cross_compiling" = maybe; then
2229 cross_compiling=yes
2230 else
2231 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2232 If you meant to cross compile, use \`--host'.
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot run C compiled programs.
2235 If you meant to cross compile, use \`--host'.
2236 See \`config.log' for more details." >&2;}
2237 { (exit 1); exit 1; }; }
2241 echo "$as_me:$LINENO: result: yes" >&5
2242 echo "${ECHO_T}yes" >&6
2244 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2245 ac_clean_files=$ac_clean_files_save
2246 # Check the compiler produces executables we can run. If not, either
2247 # the compiler is broken, or we cross compile.
2248 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2249 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2250 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2251 echo "${ECHO_T}$cross_compiling" >&6
2253 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2254 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2256 (eval $ac_link) 2>&5
2257 ac_status=$?
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; then
2260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2262 # work properly (i.e., refer to `conftest.exe'), while it won't with
2263 # `rm'.
2264 for ac_file in conftest.exe conftest conftest.*; do
2265 test -f "$ac_file" || continue
2266 case $ac_file in
2267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2269 export ac_cv_exeext
2270 break;;
2271 * ) break;;
2272 esac
2273 done
2274 else
2275 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2276 See \`config.log' for more details." >&5
2277 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2278 See \`config.log' for more details." >&2;}
2279 { (exit 1); exit 1; }; }
2282 rm -f conftest$ac_cv_exeext
2283 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2284 echo "${ECHO_T}$ac_cv_exeext" >&6
2286 rm -f conftest.$ac_ext
2287 EXEEXT=$ac_cv_exeext
2288 ac_exeext=$EXEEXT
2289 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2290 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2291 if test "${ac_cv_objext+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 cat >conftest.$ac_ext <<_ACEOF
2295 /* confdefs.h. */
2296 _ACEOF
2297 cat confdefs.h >>conftest.$ac_ext
2298 cat >>conftest.$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2302 main ()
2306 return 0;
2308 _ACEOF
2309 rm -f conftest.o conftest.obj
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2312 ac_status=$?
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; then
2315 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2316 case $ac_file in
2317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2318 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2319 break;;
2320 esac
2321 done
2322 else
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2333 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2335 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2336 echo "${ECHO_T}$ac_cv_objext" >&6
2337 OBJEXT=$ac_cv_objext
2338 ac_objext=$OBJEXT
2339 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2340 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2341 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h. */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2352 main ()
2354 #ifndef __GNUC__
2355 choke me
2356 #endif
2359 return 0;
2361 _ACEOF
2362 rm -f conftest.$ac_objext
2363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364 (eval $ac_compile) 2>conftest.er1
2365 ac_status=$?
2366 grep -v '^ *+' conftest.er1 >conftest.err
2367 rm -f conftest.er1
2368 cat conftest.err >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); } &&
2371 { ac_try='test -z "$ac_c_werror_flag"
2372 || test ! -s conftest.err'
2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 (eval $ac_try) 2>&5
2375 ac_status=$?
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; } &&
2378 { ac_try='test -s conftest.$ac_objext'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380 (eval $ac_try) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; }; then
2384 ac_compiler_gnu=yes
2385 else
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2389 ac_compiler_gnu=no
2391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2395 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2396 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2397 GCC=`test $ac_compiler_gnu = yes && echo yes`
2398 ac_test_CFLAGS=${CFLAGS+set}
2399 ac_save_CFLAGS=$CFLAGS
2400 CFLAGS="-g"
2401 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2402 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2403 if test "${ac_cv_prog_cc_g+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 else
2406 cat >conftest.$ac_ext <<_ACEOF
2407 /* confdefs.h. */
2408 _ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2414 main ()
2418 return 0;
2420 _ACEOF
2421 rm -f conftest.$ac_objext
2422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2423 (eval $ac_compile) 2>conftest.er1
2424 ac_status=$?
2425 grep -v '^ *+' conftest.er1 >conftest.err
2426 rm -f conftest.er1
2427 cat conftest.err >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } &&
2430 { ac_try='test -z "$ac_c_werror_flag"
2431 || test ! -s conftest.err'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433 (eval $ac_try) 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 (eval $ac_try) 2>&5
2440 ac_status=$?
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2443 ac_cv_prog_cc_g=yes
2444 else
2445 echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2448 ac_cv_prog_cc_g=no
2450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2452 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2453 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2454 if test "$ac_test_CFLAGS" = set; then
2455 CFLAGS=$ac_save_CFLAGS
2456 elif test $ac_cv_prog_cc_g = yes; then
2457 if test "$GCC" = yes; then
2458 CFLAGS="-g -O2"
2459 else
2460 CFLAGS="-g"
2462 else
2463 if test "$GCC" = yes; then
2464 CFLAGS="-O2"
2465 else
2466 CFLAGS=
2469 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2470 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2471 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 else
2474 ac_cv_prog_cc_stdc=no
2475 ac_save_CC=$CC
2476 cat >conftest.$ac_ext <<_ACEOF
2477 /* confdefs.h. */
2478 _ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2482 #include <stdarg.h>
2483 #include <stdio.h>
2484 #include <sys/types.h>
2485 #include <sys/stat.h>
2486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2487 struct buf { int x; };
2488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2489 static char *e (p, i)
2490 char **p;
2491 int i;
2493 return p[i];
2495 static char *f (char * (*g) (char **, int), char **p, ...)
2497 char *s;
2498 va_list v;
2499 va_start (v,p);
2500 s = g (p, va_arg (v,int));
2501 va_end (v);
2502 return s;
2505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2506 function prototypes and stuff, but not '\xHH' hex character constants.
2507 These don't provoke an error unfortunately, instead are silently treated
2508 as 'x'. The following induces an error, until -std1 is added to get
2509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2510 array size at least. It's necessary to write '\x00'==0 to get something
2511 that's true only with -std1. */
2512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2514 int test (int i, double x);
2515 struct s1 {int (*f) (int a);};
2516 struct s2 {int (*f) (double a);};
2517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2518 int argc;
2519 char **argv;
2521 main ()
2523 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2525 return 0;
2527 _ACEOF
2528 # Don't try gcc -ansi; that turns off useful extensions and
2529 # breaks some systems' header files.
2530 # AIX -qlanglvl=ansi
2531 # Ultrix and OSF/1 -std1
2532 # HP-UX 10.20 and later -Ae
2533 # HP-UX older versions -Aa -D_HPUX_SOURCE
2534 # SVR4 -Xc -D__EXTENSIONS__
2535 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2537 CC="$ac_save_CC $ac_arg"
2538 rm -f conftest.$ac_objext
2539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2540 (eval $ac_compile) 2>conftest.er1
2541 ac_status=$?
2542 grep -v '^ *+' conftest.er1 >conftest.err
2543 rm -f conftest.er1
2544 cat conftest.err >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } &&
2547 { ac_try='test -z "$ac_c_werror_flag"
2548 || test ! -s conftest.err'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 (eval $ac_try) 2>&5
2551 ac_status=$?
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; } &&
2554 { ac_try='test -s conftest.$ac_objext'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 (eval $ac_try) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; }; then
2560 ac_cv_prog_cc_stdc=$ac_arg
2561 break
2562 else
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2567 rm -f conftest.err conftest.$ac_objext
2568 done
2569 rm -f conftest.$ac_ext conftest.$ac_objext
2570 CC=$ac_save_CC
2574 case "x$ac_cv_prog_cc_stdc" in
2575 x|xno)
2576 echo "$as_me:$LINENO: result: none needed" >&5
2577 echo "${ECHO_T}none needed" >&6 ;;
2579 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2580 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2581 CC="$CC $ac_cv_prog_cc_stdc" ;;
2582 esac
2584 # Some people use a C++ compiler to compile C. Since we use `exit',
2585 # in C++ we need to declare it. In case someone uses the same compiler
2586 # for both compiling C and C++ we need to have the C++ compiler decide
2587 # the declaration of exit, since it's the most demanding environment.
2588 cat >conftest.$ac_ext <<_ACEOF
2589 #ifndef __cplusplus
2590 choke me
2591 #endif
2592 _ACEOF
2593 rm -f conftest.$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2596 ac_status=$?
2597 grep -v '^ *+' conftest.er1 >conftest.err
2598 rm -f conftest.er1
2599 cat conftest.err >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -z "$ac_c_werror_flag"
2603 || test ! -s conftest.err'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 (eval $ac_try) 2>&5
2606 ac_status=$?
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; } &&
2609 { ac_try='test -s conftest.$ac_objext'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611 (eval $ac_try) 2>&5
2612 ac_status=$?
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; }; then
2615 for ac_declaration in \
2616 '' \
2617 'extern "C" void std::exit (int) throw (); using std::exit;' \
2618 'extern "C" void std::exit (int); using std::exit;' \
2619 'extern "C" void exit (int) throw ();' \
2620 'extern "C" void exit (int);' \
2621 'void exit (int);'
2623 cat >conftest.$ac_ext <<_ACEOF
2624 /* confdefs.h. */
2625 _ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2629 $ac_declaration
2630 #include <stdlib.h>
2632 main ()
2634 exit (42);
2636 return 0;
2638 _ACEOF
2639 rm -f conftest.$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>conftest.er1
2642 ac_status=$?
2643 grep -v '^ *+' conftest.er1 >conftest.err
2644 rm -f conftest.er1
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -z "$ac_c_werror_flag"
2649 || test ! -s conftest.err'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 (eval $ac_try) 2>&5
2652 ac_status=$?
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try='test -s conftest.$ac_objext'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 (eval $ac_try) 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2662 else
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2666 continue
2668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2675 $ac_declaration
2677 main ()
2679 exit (42);
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 break
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2713 done
2714 rm -f conftest*
2715 if test -n "$ac_declaration"; then
2716 echo '#ifdef __cplusplus' >>confdefs.h
2717 echo $ac_declaration >>confdefs.h
2718 echo '#endif' >>confdefs.h
2721 else
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2727 ac_ext=c
2728 ac_cpp='$CPP $CPPFLAGS'
2729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2732 DEPDIR="${am__leading_dot}deps"
2734 ac_config_commands="$ac_config_commands depfiles"
2737 am_make=${MAKE-make}
2738 cat > confinc << 'END'
2739 am__doit:
2740 @echo done
2741 .PHONY: am__doit
2743 # If we don't find an include directive, just comment out the code.
2744 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2745 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2746 am__include="#"
2747 am__quote=
2748 _am_result=none
2749 # First try GNU make style include.
2750 echo "include confinc" > confmf
2751 # We grep out `Entering directory' and `Leaving directory'
2752 # messages which can occur if `w' ends up in MAKEFLAGS.
2753 # In particular we don't look at `^make:' because GNU make might
2754 # be invoked under some other name (usually "gmake"), in which
2755 # case it prints its new name instead of `make'.
2756 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2757 am__include=include
2758 am__quote=
2759 _am_result=GNU
2761 # Now try BSD make style include.
2762 if test "$am__include" = "#"; then
2763 echo '.include "confinc"' > confmf
2764 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2765 am__include=.include
2766 am__quote="\""
2767 _am_result=BSD
2772 echo "$as_me:$LINENO: result: $_am_result" >&5
2773 echo "${ECHO_T}$_am_result" >&6
2774 rm -f confinc confmf
2776 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2777 if test "${enable_dependency_tracking+set}" = set; then
2778 enableval="$enable_dependency_tracking"
2781 if test "x$enable_dependency_tracking" != xno; then
2782 am_depcomp="$ac_aux_dir/depcomp"
2783 AMDEPBACKSLASH='\'
2787 if test "x$enable_dependency_tracking" != xno; then
2788 AMDEP_TRUE=
2789 AMDEP_FALSE='#'
2790 else
2791 AMDEP_TRUE='#'
2792 AMDEP_FALSE=
2798 depcc="$CC" am_compiler_list=
2800 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2801 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2802 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 else
2805 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2806 # We make a subdir and do the tests there. Otherwise we can end up
2807 # making bogus files that we don't know about and never remove. For
2808 # instance it was reported that on HP-UX the gcc test will end up
2809 # making a dummy file named `D' -- because `-MD' means `put the output
2810 # in D'.
2811 mkdir conftest.dir
2812 # Copy depcomp to subdir because otherwise we won't find it if we're
2813 # using a relative directory.
2814 cp "$am_depcomp" conftest.dir
2815 cd conftest.dir
2816 # We will build objects and dependencies in a subdirectory because
2817 # it helps to detect inapplicable dependency modes. For instance
2818 # both Tru64's cc and ICC support -MD to output dependencies as a
2819 # side effect of compilation, but ICC will put the dependencies in
2820 # the current directory while Tru64 will put them in the object
2821 # directory.
2822 mkdir sub
2824 am_cv_CC_dependencies_compiler_type=none
2825 if test "$am_compiler_list" = ""; then
2826 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2828 for depmode in $am_compiler_list; do
2829 # Setup a source with many dependencies, because some compilers
2830 # like to wrap large dependency lists on column 80 (with \), and
2831 # we should not choose a depcomp mode which is confused by this.
2833 # We need to recreate these files for each test, as the compiler may
2834 # overwrite some of them when testing with obscure command lines.
2835 # This happens at least with the AIX C compiler.
2836 : > sub/conftest.c
2837 for i in 1 2 3 4 5 6; do
2838 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2839 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2840 # Solaris 8's {/usr,}/bin/sh.
2841 touch sub/conftst$i.h
2842 done
2843 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2845 case $depmode in
2846 nosideeffect)
2847 # after this tag, mechanisms are not by side-effect, so they'll
2848 # only be used when explicitly requested
2849 if test "x$enable_dependency_tracking" = xyes; then
2850 continue
2851 else
2852 break
2855 none) break ;;
2856 esac
2857 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2858 # mode. It turns out that the SunPro C++ compiler does not properly
2859 # handle `-M -o', and we need to detect this.
2860 if depmode=$depmode \
2861 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2862 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2863 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2864 >/dev/null 2>conftest.err &&
2865 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2866 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2867 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2868 # icc doesn't choke on unknown options, it will just issue warnings
2869 # or remarks (even with -Werror). So we grep stderr for any message
2870 # that says an option was ignored or not supported.
2871 # When given -MP, icc 7.0 and 7.1 complain thusly:
2872 # icc: Command line warning: ignoring option '-M'; no argument required
2873 # The diagnosis changed in icc 8.0:
2874 # icc: Command line remark: option '-MP' not supported
2875 if (grep 'ignoring option' conftest.err ||
2876 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2877 am_cv_CC_dependencies_compiler_type=$depmode
2878 break
2881 done
2883 cd ..
2884 rm -rf conftest.dir
2885 else
2886 am_cv_CC_dependencies_compiler_type=none
2890 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2891 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2892 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2897 test "x$enable_dependency_tracking" != xno \
2898 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2899 am__fastdepCC_TRUE=
2900 am__fastdepCC_FALSE='#'
2901 else
2902 am__fastdepCC_TRUE='#'
2903 am__fastdepCC_FALSE=
2908 # Delay adding the zlib_flags until after AC_PROG_CC, so we can distinguish
2909 # between a broken cc and a working cc but missing libz.a.
2910 LDADD="$LDADD $zlib_flags"
2913 case $target in
2914 *-*-linux*) ;;
2915 *) { { echo "$as_me:$LINENO: error: Linux only, dude!" >&5
2916 echo "$as_me: error: Linux only, dude!" >&2;}
2917 { (exit 1); exit 1; }; };;
2918 esac
2920 # Thanks to Martin Pool
2921 if test x"$GCC" = xyes
2922 then
2923 CFLAGS="$CFLAGS -Wunused -Wall"
2924 { echo "$as_me:$LINENO: Adding gcc options: $CFLAGS" >&5
2925 echo "$as_me: Adding gcc options: $CFLAGS" >&6;}
2929 # Check whether --with-moddir or --without-moddir was given.
2930 if test "${with_moddir+set}" = set; then
2931 withval="$with_moddir"
2932 if test ! -z "$withval"; then
2933 MODULE_DIR="\\\"$withval/\\\""
2934 CFLAGS="$CFLAGS -DMODULE_DIR=$MODULE_DIR"
2939 ac_config_files="$ac_config_files Makefile"
2940 cat >confcache <<\_ACEOF
2941 # This file is a shell script that caches the results of configure
2942 # tests run on this system so they can be shared between configure
2943 # scripts and configure runs, see configure's option --config-cache.
2944 # It is not useful on other systems. If it contains results you don't
2945 # want to keep, you may remove or edit it.
2947 # config.status only pays attention to the cache file if you give it
2948 # the --recheck option to rerun configure.
2950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2952 # following values.
2954 _ACEOF
2956 # The following way of writing the cache mishandles newlines in values,
2957 # but we know of no workaround that is simple, portable, and efficient.
2958 # So, don't put newlines in cache variables' values.
2959 # Ultrix sh set writes to stderr and can't be redirected directly,
2960 # and sets the high bit in the cache file unless we assign to the vars.
2962 (set) 2>&1 |
2963 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2964 *ac_space=\ *)
2965 # `set' does not quote correctly, so add quotes (double-quote
2966 # substitution turns \\\\ into \\, and sed turns \\ into \).
2967 sed -n \
2968 "s/'/'\\\\''/g;
2969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2972 # `set' quotes correctly as required by POSIX, so do not add quotes.
2973 sed -n \
2974 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2976 esac;
2978 sed '
2979 t clear
2980 : clear
2981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2982 t end
2983 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2984 : end' >>confcache
2985 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2986 if test -w $cache_file; then
2987 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2988 cat confcache >$cache_file
2989 else
2990 echo "not updating unwritable cache $cache_file"
2993 rm -f confcache
2995 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2996 # Let make expand exec_prefix.
2997 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2999 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3000 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3001 # trailing colons and then remove the whole line if VPATH becomes empty
3002 # (actually we leave an empty line to preserve line numbers).
3003 if test "x$srcdir" = x.; then
3004 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3005 s/:*\$(srcdir):*/:/;
3006 s/:*\${srcdir}:*/:/;
3007 s/:*@srcdir@:*/:/;
3008 s/^\([^=]*=[ ]*\):*/\1/;
3009 s/:*$//;
3010 s/^[^=]*=[ ]*$//;
3014 # Transform confdefs.h into DEFS.
3015 # Protect against shell expansion while executing Makefile rules.
3016 # Protect against Makefile macro expansion.
3018 # If the first sed substitution is executed (which looks for macros that
3019 # take arguments), then we branch to the quote section. Otherwise,
3020 # look for a macro that doesn't take arguments.
3021 cat >confdef2opt.sed <<\_ACEOF
3022 t clear
3023 : clear
3024 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3025 t quote
3026 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3027 t quote
3029 : quote
3030 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3031 s,\[,\\&,g
3032 s,\],\\&,g
3033 s,\$,$$,g
3035 _ACEOF
3036 # We use echo to avoid assuming a particular line-breaking character.
3037 # The extra dot is to prevent the shell from consuming trailing
3038 # line-breaks from the sub-command output. A line-break within
3039 # single-quotes doesn't work because, if this script is created in a
3040 # platform that uses two characters for line-breaks (e.g., DOS), tr
3041 # would break.
3042 ac_LF_and_DOT=`echo; echo .`
3043 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3044 rm -f confdef2opt.sed
3047 ac_libobjs=
3048 ac_ltlibobjs=
3049 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3050 # 1. Remove the extension, and $U if already installed.
3051 ac_i=`echo "$ac_i" |
3052 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3053 # 2. Add them.
3054 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3055 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3056 done
3057 LIBOBJS=$ac_libobjs
3059 LTLIBOBJS=$ac_ltlibobjs
3062 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3063 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3064 Usually this means the macro was only invoked conditionally." >&5
3065 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3066 Usually this means the macro was only invoked conditionally." >&2;}
3067 { (exit 1); exit 1; }; }
3069 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3070 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3071 Usually this means the macro was only invoked conditionally." >&5
3072 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3073 Usually this means the macro was only invoked conditionally." >&2;}
3074 { (exit 1); exit 1; }; }
3077 : ${CONFIG_STATUS=./config.status}
3078 ac_clean_files_save=$ac_clean_files
3079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3082 cat >$CONFIG_STATUS <<_ACEOF
3083 #! $SHELL
3084 # Generated by $as_me.
3085 # Run this file to recreate the current configuration.
3086 # Compiler output produced by configure, useful for debugging
3087 # configure, is in config.log if it exists.
3089 debug=false
3090 ac_cs_recheck=false
3091 ac_cs_silent=false
3092 SHELL=\${CONFIG_SHELL-$SHELL}
3093 _ACEOF
3095 cat >>$CONFIG_STATUS <<\_ACEOF
3096 ## --------------------- ##
3097 ## M4sh Initialization. ##
3098 ## --------------------- ##
3100 # Be Bourne compatible
3101 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3102 emulate sh
3103 NULLCMD=:
3104 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3105 # is contrary to our usage. Disable this feature.
3106 alias -g '${1+"$@"}'='"$@"'
3107 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3108 set -o posix
3110 DUALCASE=1; export DUALCASE # for MKS sh
3112 # Support unset when possible.
3113 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3114 as_unset=unset
3115 else
3116 as_unset=false
3120 # Work around bugs in pre-3.0 UWIN ksh.
3121 $as_unset ENV MAIL MAILPATH
3122 PS1='$ '
3123 PS2='> '
3124 PS4='+ '
3126 # NLS nuisances.
3127 for as_var in \
3128 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3129 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3130 LC_TELEPHONE LC_TIME
3132 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3133 eval $as_var=C; export $as_var
3134 else
3135 $as_unset $as_var
3137 done
3139 # Required to use basename.
3140 if expr a : '\(a\)' >/dev/null 2>&1; then
3141 as_expr=expr
3142 else
3143 as_expr=false
3146 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3147 as_basename=basename
3148 else
3149 as_basename=false
3153 # Name of the executable.
3154 as_me=`$as_basename "$0" ||
3155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3156 X"$0" : 'X\(//\)$' \| \
3157 X"$0" : 'X\(/\)$' \| \
3158 . : '\(.\)' 2>/dev/null ||
3159 echo X/"$0" |
3160 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3161 /^X\/\(\/\/\)$/{ s//\1/; q; }
3162 /^X\/\(\/\).*/{ s//\1/; q; }
3163 s/.*/./; q'`
3166 # PATH needs CR, and LINENO needs CR and PATH.
3167 # Avoid depending upon Character Ranges.
3168 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3169 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3170 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3171 as_cr_digits='0123456789'
3172 as_cr_alnum=$as_cr_Letters$as_cr_digits
3174 # The user is always right.
3175 if test "${PATH_SEPARATOR+set}" != set; then
3176 echo "#! /bin/sh" >conf$$.sh
3177 echo "exit 0" >>conf$$.sh
3178 chmod +x conf$$.sh
3179 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3180 PATH_SEPARATOR=';'
3181 else
3182 PATH_SEPARATOR=:
3184 rm -f conf$$.sh
3188 as_lineno_1=$LINENO
3189 as_lineno_2=$LINENO
3190 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3191 test "x$as_lineno_1" != "x$as_lineno_2" &&
3192 test "x$as_lineno_3" = "x$as_lineno_2" || {
3193 # Find who we are. Look in the path if we contain no path at all
3194 # relative or not.
3195 case $0 in
3196 *[\\/]* ) as_myself=$0 ;;
3197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3200 IFS=$as_save_IFS
3201 test -z "$as_dir" && as_dir=.
3202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3203 done
3206 esac
3207 # We did not find ourselves, most probably we were run as `sh COMMAND'
3208 # in which case we are not to be found in the path.
3209 if test "x$as_myself" = x; then
3210 as_myself=$0
3212 if test ! -f "$as_myself"; then
3213 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3214 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3215 { (exit 1); exit 1; }; }
3217 case $CONFIG_SHELL in
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3222 IFS=$as_save_IFS
3223 test -z "$as_dir" && as_dir=.
3224 for as_base in sh bash ksh sh5; do
3225 case $as_dir in
3227 if ("$as_dir/$as_base" -c '
3228 as_lineno_1=$LINENO
3229 as_lineno_2=$LINENO
3230 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3231 test "x$as_lineno_1" != "x$as_lineno_2" &&
3232 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3233 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3234 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3235 CONFIG_SHELL=$as_dir/$as_base
3236 export CONFIG_SHELL
3237 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3238 fi;;
3239 esac
3240 done
3241 done
3243 esac
3245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3246 # uniformly replaced by the line number. The first 'sed' inserts a
3247 # line-number line before each line; the second 'sed' does the real
3248 # work. The second script uses 'N' to pair each line-number line
3249 # with the numbered line, and appends trailing '-' during
3250 # substitution so that $LINENO is not a special case at line end.
3251 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3252 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3253 sed '=' <$as_myself |
3254 sed '
3256 s,$,-,
3257 : loop
3258 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3259 t loop
3260 s,-$,,
3261 s,^['$as_cr_digits']*\n,,
3262 ' >$as_me.lineno &&
3263 chmod +x $as_me.lineno ||
3264 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3265 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3266 { (exit 1); exit 1; }; }
3268 # Don't try to exec as it changes $[0], causing all sort of problems
3269 # (the dirname of $[0] is not the place where we might find the
3270 # original and so on. Autoconf is especially sensible to this).
3271 . ./$as_me.lineno
3272 # Exit status is that of the last command.
3273 exit
3277 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3278 *c*,-n*) ECHO_N= ECHO_C='
3279 ' ECHO_T=' ' ;;
3280 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3281 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3282 esac
3284 if expr a : '\(a\)' >/dev/null 2>&1; then
3285 as_expr=expr
3286 else
3287 as_expr=false
3290 rm -f conf$$ conf$$.exe conf$$.file
3291 echo >conf$$.file
3292 if ln -s conf$$.file conf$$ 2>/dev/null; then
3293 # We could just check for DJGPP; but this test a) works b) is more generic
3294 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3295 if test -f conf$$.exe; then
3296 # Don't use ln at all; we don't have any links
3297 as_ln_s='cp -p'
3298 else
3299 as_ln_s='ln -s'
3301 elif ln conf$$.file conf$$ 2>/dev/null; then
3302 as_ln_s=ln
3303 else
3304 as_ln_s='cp -p'
3306 rm -f conf$$ conf$$.exe conf$$.file
3308 if mkdir -p . 2>/dev/null; then
3309 as_mkdir_p=:
3310 else
3311 test -d ./-p && rmdir ./-p
3312 as_mkdir_p=false
3315 as_executable_p="test -f"
3317 # Sed expression to map a string onto a valid CPP name.
3318 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3320 # Sed expression to map a string onto a valid variable name.
3321 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3324 # IFS
3325 # We need space, tab and new line, in precisely that order.
3326 as_nl='
3328 IFS=" $as_nl"
3330 # CDPATH.
3331 $as_unset CDPATH
3333 exec 6>&1
3335 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3336 # report actual input values of CONFIG_FILES etc. instead of their
3337 # values after options handling. Logging --version etc. is OK.
3338 exec 5>>config.log
3340 echo
3341 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3342 ## Running $as_me. ##
3343 _ASBOX
3344 } >&5
3345 cat >&5 <<_CSEOF
3347 This file was extended by $as_me, which was
3348 generated by GNU Autoconf 2.59. Invocation command line was
3350 CONFIG_FILES = $CONFIG_FILES
3351 CONFIG_HEADERS = $CONFIG_HEADERS
3352 CONFIG_LINKS = $CONFIG_LINKS
3353 CONFIG_COMMANDS = $CONFIG_COMMANDS
3354 $ $0 $@
3356 _CSEOF
3357 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3358 echo >&5
3359 _ACEOF
3361 # Files that config.status was made for.
3362 if test -n "$ac_config_files"; then
3363 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3366 if test -n "$ac_config_headers"; then
3367 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3370 if test -n "$ac_config_links"; then
3371 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3374 if test -n "$ac_config_commands"; then
3375 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3378 cat >>$CONFIG_STATUS <<\_ACEOF
3380 ac_cs_usage="\
3381 \`$as_me' instantiates files from templates according to the
3382 current configuration.
3384 Usage: $0 [OPTIONS] [FILE]...
3386 -h, --help print this help, then exit
3387 -V, --version print version number, then exit
3388 -q, --quiet do not print progress messages
3389 -d, --debug don't remove temporary files
3390 --recheck update $as_me by reconfiguring in the same conditions
3391 --file=FILE[:TEMPLATE]
3392 instantiate the configuration file FILE
3394 Configuration files:
3395 $config_files
3397 Configuration commands:
3398 $config_commands
3400 Report bugs to <bug-autoconf@gnu.org>."
3401 _ACEOF
3403 cat >>$CONFIG_STATUS <<_ACEOF
3404 ac_cs_version="\\
3405 config.status
3406 configured by $0, generated by GNU Autoconf 2.59,
3407 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3409 Copyright (C) 2003 Free Software Foundation, Inc.
3410 This config.status script is free software; the Free Software Foundation
3411 gives unlimited permission to copy, distribute and modify it."
3412 srcdir=$srcdir
3413 INSTALL="$INSTALL"
3414 _ACEOF
3416 cat >>$CONFIG_STATUS <<\_ACEOF
3417 # If no file are specified by the user, then we need to provide default
3418 # value. By we need to know if files were specified by the user.
3419 ac_need_defaults=:
3420 while test $# != 0
3422 case $1 in
3423 --*=*)
3424 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3425 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3426 ac_shift=:
3429 ac_option=$1
3430 ac_optarg=$2
3431 ac_shift=shift
3433 *) # This is not an option, so the user has probably given explicit
3434 # arguments.
3435 ac_option=$1
3436 ac_need_defaults=false;;
3437 esac
3439 case $ac_option in
3440 # Handling of the options.
3441 _ACEOF
3442 cat >>$CONFIG_STATUS <<\_ACEOF
3443 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3444 ac_cs_recheck=: ;;
3445 --version | --vers* | -V )
3446 echo "$ac_cs_version"; exit 0 ;;
3447 --he | --h)
3448 # Conflict between --help and --header
3449 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3450 Try \`$0 --help' for more information." >&5
3451 echo "$as_me: error: ambiguous option: $1
3452 Try \`$0 --help' for more information." >&2;}
3453 { (exit 1); exit 1; }; };;
3454 --help | --hel | -h )
3455 echo "$ac_cs_usage"; exit 0 ;;
3456 --debug | --d* | -d )
3457 debug=: ;;
3458 --file | --fil | --fi | --f )
3459 $ac_shift
3460 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3461 ac_need_defaults=false;;
3462 --header | --heade | --head | --hea )
3463 $ac_shift
3464 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3465 ac_need_defaults=false;;
3466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3467 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3468 ac_cs_silent=: ;;
3470 # This is an error.
3471 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3472 Try \`$0 --help' for more information." >&5
3473 echo "$as_me: error: unrecognized option: $1
3474 Try \`$0 --help' for more information." >&2;}
3475 { (exit 1); exit 1; }; } ;;
3477 *) ac_config_targets="$ac_config_targets $1" ;;
3479 esac
3480 shift
3481 done
3483 ac_configure_extra_args=
3485 if $ac_cs_silent; then
3486 exec 6>/dev/null
3487 ac_configure_extra_args="$ac_configure_extra_args --silent"
3490 _ACEOF
3491 cat >>$CONFIG_STATUS <<_ACEOF
3492 if \$ac_cs_recheck; then
3493 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3494 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3497 _ACEOF
3499 cat >>$CONFIG_STATUS <<_ACEOF
3501 # INIT-COMMANDS section.
3504 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3506 _ACEOF
3510 cat >>$CONFIG_STATUS <<\_ACEOF
3511 for ac_config_target in $ac_config_targets
3513 case "$ac_config_target" in
3514 # Handling of arguments.
3515 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3516 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3517 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3518 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3519 { (exit 1); exit 1; }; };;
3520 esac
3521 done
3523 # If the user did not use the arguments to specify the items to instantiate,
3524 # then the envvar interface is used. Set only those that are not.
3525 # We use the long form for the default assignment because of an extremely
3526 # bizarre bug on SunOS 4.1.3.
3527 if $ac_need_defaults; then
3528 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3529 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3532 # Have a temporary directory for convenience. Make it in the build tree
3533 # simply because there is no reason to put it here, and in addition,
3534 # creating and moving files from /tmp can sometimes cause problems.
3535 # Create a temporary directory, and hook for its removal unless debugging.
3536 $debug ||
3538 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3539 trap '{ (exit 1); exit 1; }' 1 2 13 15
3542 # Create a (secure) tmp directory for tmp files.
3545 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3546 test -n "$tmp" && test -d "$tmp"
3547 } ||
3549 tmp=./confstat$$-$RANDOM
3550 (umask 077 && mkdir $tmp)
3551 } ||
3553 echo "$me: cannot create a temporary directory in ." >&2
3554 { (exit 1); exit 1; }
3557 _ACEOF
3559 cat >>$CONFIG_STATUS <<_ACEOF
3562 # CONFIG_FILES section.
3565 # No need to generate the scripts if there are no CONFIG_FILES.
3566 # This happens for instance when ./config.status config.h
3567 if test -n "\$CONFIG_FILES"; then
3568 # Protect against being on the right side of a sed subst in config.status.
3569 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3570 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3571 s,@SHELL@,$SHELL,;t t
3572 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3573 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3574 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3575 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3576 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3577 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3578 s,@exec_prefix@,$exec_prefix,;t t
3579 s,@prefix@,$prefix,;t t
3580 s,@program_transform_name@,$program_transform_name,;t t
3581 s,@bindir@,$bindir,;t t
3582 s,@sbindir@,$sbindir,;t t
3583 s,@libexecdir@,$libexecdir,;t t
3584 s,@datadir@,$datadir,;t t
3585 s,@sysconfdir@,$sysconfdir,;t t
3586 s,@sharedstatedir@,$sharedstatedir,;t t
3587 s,@localstatedir@,$localstatedir,;t t
3588 s,@libdir@,$libdir,;t t
3589 s,@includedir@,$includedir,;t t
3590 s,@oldincludedir@,$oldincludedir,;t t
3591 s,@infodir@,$infodir,;t t
3592 s,@mandir@,$mandir,;t t
3593 s,@build_alias@,$build_alias,;t t
3594 s,@host_alias@,$host_alias,;t t
3595 s,@target_alias@,$target_alias,;t t
3596 s,@DEFS@,$DEFS,;t t
3597 s,@ECHO_C@,$ECHO_C,;t t
3598 s,@ECHO_N@,$ECHO_N,;t t
3599 s,@ECHO_T@,$ECHO_T,;t t
3600 s,@LIBS@,$LIBS,;t t
3601 s,@build@,$build,;t t
3602 s,@build_cpu@,$build_cpu,;t t
3603 s,@build_vendor@,$build_vendor,;t t
3604 s,@build_os@,$build_os,;t t
3605 s,@host@,$host,;t t
3606 s,@host_cpu@,$host_cpu,;t t
3607 s,@host_vendor@,$host_vendor,;t t
3608 s,@host_os@,$host_os,;t t
3609 s,@target@,$target,;t t
3610 s,@target_cpu@,$target_cpu,;t t
3611 s,@target_vendor@,$target_vendor,;t t
3612 s,@target_os@,$target_os,;t t
3613 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3614 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3615 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3616 s,@CYGPATH_W@,$CYGPATH_W,;t t
3617 s,@PACKAGE@,$PACKAGE,;t t
3618 s,@VERSION@,$VERSION,;t t
3619 s,@ACLOCAL@,$ACLOCAL,;t t
3620 s,@AUTOCONF@,$AUTOCONF,;t t
3621 s,@AUTOMAKE@,$AUTOMAKE,;t t
3622 s,@AUTOHEADER@,$AUTOHEADER,;t t
3623 s,@MAKEINFO@,$MAKEINFO,;t t
3624 s,@install_sh@,$install_sh,;t t
3625 s,@STRIP@,$STRIP,;t t
3626 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3627 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3628 s,@mkdir_p@,$mkdir_p,;t t
3629 s,@AWK@,$AWK,;t t
3630 s,@SET_MAKE@,$SET_MAKE,;t t
3631 s,@am__leading_dot@,$am__leading_dot,;t t
3632 s,@AMTAR@,$AMTAR,;t t
3633 s,@am__tar@,$am__tar,;t t
3634 s,@am__untar@,$am__untar,;t t
3635 s,@CC@,$CC,;t t
3636 s,@CFLAGS@,$CFLAGS,;t t
3637 s,@LDFLAGS@,$LDFLAGS,;t t
3638 s,@CPPFLAGS@,$CPPFLAGS,;t t
3639 s,@ac_ct_CC@,$ac_ct_CC,;t t
3640 s,@EXEEXT@,$EXEEXT,;t t
3641 s,@OBJEXT@,$OBJEXT,;t t
3642 s,@DEPDIR@,$DEPDIR,;t t
3643 s,@am__include@,$am__include,;t t
3644 s,@am__quote@,$am__quote,;t t
3645 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3646 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3647 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3648 s,@CCDEPMODE@,$CCDEPMODE,;t t
3649 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3650 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3651 s,@LDADD@,$LDADD,;t t
3652 s,@MODULE_DIR@,$MODULE_DIR,;t t
3653 s,@LIBOBJS@,$LIBOBJS,;t t
3654 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3655 CEOF
3657 _ACEOF
3659 cat >>$CONFIG_STATUS <<\_ACEOF
3660 # Split the substitutions into bite-sized pieces for seds with
3661 # small command number limits, like on Digital OSF/1 and HP-UX.
3662 ac_max_sed_lines=48
3663 ac_sed_frag=1 # Number of current file.
3664 ac_beg=1 # First line for current file.
3665 ac_end=$ac_max_sed_lines # Line after last line for current file.
3666 ac_more_lines=:
3667 ac_sed_cmds=
3668 while $ac_more_lines; do
3669 if test $ac_beg -gt 1; then
3670 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3671 else
3672 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3674 if test ! -s $tmp/subs.frag; then
3675 ac_more_lines=false
3676 else
3677 # The purpose of the label and of the branching condition is to
3678 # speed up the sed processing (if there are no `@' at all, there
3679 # is no need to browse any of the substitutions).
3680 # These are the two extra sed commands mentioned above.
3681 (echo ':t
3682 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3683 if test -z "$ac_sed_cmds"; then
3684 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3685 else
3686 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3688 ac_sed_frag=`expr $ac_sed_frag + 1`
3689 ac_beg=$ac_end
3690 ac_end=`expr $ac_end + $ac_max_sed_lines`
3692 done
3693 if test -z "$ac_sed_cmds"; then
3694 ac_sed_cmds=cat
3696 fi # test -n "$CONFIG_FILES"
3698 _ACEOF
3699 cat >>$CONFIG_STATUS <<\_ACEOF
3700 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3701 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3702 case $ac_file in
3703 - | *:- | *:-:* ) # input from stdin
3704 cat >$tmp/stdin
3705 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3706 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3707 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3708 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3709 * ) ac_file_in=$ac_file.in ;;
3710 esac
3712 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3713 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3715 X"$ac_file" : 'X\(//\)[^/]' \| \
3716 X"$ac_file" : 'X\(//\)$' \| \
3717 X"$ac_file" : 'X\(/\)' \| \
3718 . : '\(.\)' 2>/dev/null ||
3719 echo X"$ac_file" |
3720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3722 /^X\(\/\/\)$/{ s//\1/; q; }
3723 /^X\(\/\).*/{ s//\1/; q; }
3724 s/.*/./; q'`
3725 { if $as_mkdir_p; then
3726 mkdir -p "$ac_dir"
3727 else
3728 as_dir="$ac_dir"
3729 as_dirs=
3730 while test ! -d "$as_dir"; do
3731 as_dirs="$as_dir $as_dirs"
3732 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3734 X"$as_dir" : 'X\(//\)[^/]' \| \
3735 X"$as_dir" : 'X\(//\)$' \| \
3736 X"$as_dir" : 'X\(/\)' \| \
3737 . : '\(.\)' 2>/dev/null ||
3738 echo X"$as_dir" |
3739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3741 /^X\(\/\/\)$/{ s//\1/; q; }
3742 /^X\(\/\).*/{ s//\1/; q; }
3743 s/.*/./; q'`
3744 done
3745 test ! -n "$as_dirs" || mkdir $as_dirs
3746 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3748 { (exit 1); exit 1; }; }; }
3750 ac_builddir=.
3752 if test "$ac_dir" != .; then
3753 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3754 # A "../" for each directory in $ac_dir_suffix.
3755 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3756 else
3757 ac_dir_suffix= ac_top_builddir=
3760 case $srcdir in
3761 .) # No --srcdir option. We are building in place.
3762 ac_srcdir=.
3763 if test -z "$ac_top_builddir"; then
3764 ac_top_srcdir=.
3765 else
3766 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3767 fi ;;
3768 [\\/]* | ?:[\\/]* ) # Absolute path.
3769 ac_srcdir=$srcdir$ac_dir_suffix;
3770 ac_top_srcdir=$srcdir ;;
3771 *) # Relative path.
3772 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3773 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3774 esac
3776 # Do not use `cd foo && pwd` to compute absolute paths, because
3777 # the directories may not exist.
3778 case `pwd` in
3779 .) ac_abs_builddir="$ac_dir";;
3781 case "$ac_dir" in
3782 .) ac_abs_builddir=`pwd`;;
3783 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3784 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3785 esac;;
3786 esac
3787 case $ac_abs_builddir in
3788 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3790 case ${ac_top_builddir}. in
3791 .) ac_abs_top_builddir=$ac_abs_builddir;;
3792 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3793 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3794 esac;;
3795 esac
3796 case $ac_abs_builddir in
3797 .) ac_abs_srcdir=$ac_srcdir;;
3799 case $ac_srcdir in
3800 .) ac_abs_srcdir=$ac_abs_builddir;;
3801 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3802 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3803 esac;;
3804 esac
3805 case $ac_abs_builddir in
3806 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3808 case $ac_top_srcdir in
3809 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3810 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3811 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3812 esac;;
3813 esac
3816 case $INSTALL in
3817 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3818 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3819 esac
3821 if test x"$ac_file" != x-; then
3822 { echo "$as_me:$LINENO: creating $ac_file" >&5
3823 echo "$as_me: creating $ac_file" >&6;}
3824 rm -f "$ac_file"
3826 # Let's still pretend it is `configure' which instantiates (i.e., don't
3827 # use $as_me), people would be surprised to read:
3828 # /* config.h. Generated by config.status. */
3829 if test x"$ac_file" = x-; then
3830 configure_input=
3831 else
3832 configure_input="$ac_file. "
3834 configure_input=$configure_input"Generated from `echo $ac_file_in |
3835 sed 's,.*/,,'` by configure."
3837 # First look for the input files in the build tree, otherwise in the
3838 # src tree.
3839 ac_file_inputs=`IFS=:
3840 for f in $ac_file_in; do
3841 case $f in
3842 -) echo $tmp/stdin ;;
3843 [\\/$]*)
3844 # Absolute (can't be DOS-style, as IFS=:)
3845 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3846 echo "$as_me: error: cannot find input file: $f" >&2;}
3847 { (exit 1); exit 1; }; }
3848 echo "$f";;
3849 *) # Relative
3850 if test -f "$f"; then
3851 # Build tree
3852 echo "$f"
3853 elif test -f "$srcdir/$f"; then
3854 # Source tree
3855 echo "$srcdir/$f"
3856 else
3857 # /dev/null tree
3858 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3859 echo "$as_me: error: cannot find input file: $f" >&2;}
3860 { (exit 1); exit 1; }; }
3861 fi;;
3862 esac
3863 done` || { (exit 1); exit 1; }
3864 _ACEOF
3865 cat >>$CONFIG_STATUS <<_ACEOF
3866 sed "$ac_vpsub
3867 $extrasub
3868 _ACEOF
3869 cat >>$CONFIG_STATUS <<\_ACEOF
3871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3872 s,@configure_input@,$configure_input,;t t
3873 s,@srcdir@,$ac_srcdir,;t t
3874 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3875 s,@top_srcdir@,$ac_top_srcdir,;t t
3876 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3877 s,@builddir@,$ac_builddir,;t t
3878 s,@abs_builddir@,$ac_abs_builddir,;t t
3879 s,@top_builddir@,$ac_top_builddir,;t t
3880 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3881 s,@INSTALL@,$ac_INSTALL,;t t
3882 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3883 rm -f $tmp/stdin
3884 if test x"$ac_file" != x-; then
3885 mv $tmp/out $ac_file
3886 else
3887 cat $tmp/out
3888 rm -f $tmp/out
3891 done
3892 _ACEOF
3893 cat >>$CONFIG_STATUS <<\_ACEOF
3896 # CONFIG_COMMANDS section.
3898 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3899 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3900 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3901 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3902 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3903 X"$ac_dest" : 'X\(//\)[^/]' \| \
3904 X"$ac_dest" : 'X\(//\)$' \| \
3905 X"$ac_dest" : 'X\(/\)' \| \
3906 . : '\(.\)' 2>/dev/null ||
3907 echo X"$ac_dest" |
3908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3909 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3910 /^X\(\/\/\)$/{ s//\1/; q; }
3911 /^X\(\/\).*/{ s//\1/; q; }
3912 s/.*/./; q'`
3913 { if $as_mkdir_p; then
3914 mkdir -p "$ac_dir"
3915 else
3916 as_dir="$ac_dir"
3917 as_dirs=
3918 while test ! -d "$as_dir"; do
3919 as_dirs="$as_dir $as_dirs"
3920 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3922 X"$as_dir" : 'X\(//\)[^/]' \| \
3923 X"$as_dir" : 'X\(//\)$' \| \
3924 X"$as_dir" : 'X\(/\)' \| \
3925 . : '\(.\)' 2>/dev/null ||
3926 echo X"$as_dir" |
3927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3928 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3929 /^X\(\/\/\)$/{ s//\1/; q; }
3930 /^X\(\/\).*/{ s//\1/; q; }
3931 s/.*/./; q'`
3932 done
3933 test ! -n "$as_dirs" || mkdir $as_dirs
3934 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3935 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3936 { (exit 1); exit 1; }; }; }
3938 ac_builddir=.
3940 if test "$ac_dir" != .; then
3941 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3942 # A "../" for each directory in $ac_dir_suffix.
3943 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3944 else
3945 ac_dir_suffix= ac_top_builddir=
3948 case $srcdir in
3949 .) # No --srcdir option. We are building in place.
3950 ac_srcdir=.
3951 if test -z "$ac_top_builddir"; then
3952 ac_top_srcdir=.
3953 else
3954 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3955 fi ;;
3956 [\\/]* | ?:[\\/]* ) # Absolute path.
3957 ac_srcdir=$srcdir$ac_dir_suffix;
3958 ac_top_srcdir=$srcdir ;;
3959 *) # Relative path.
3960 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3961 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3962 esac
3964 # Do not use `cd foo && pwd` to compute absolute paths, because
3965 # the directories may not exist.
3966 case `pwd` in
3967 .) ac_abs_builddir="$ac_dir";;
3969 case "$ac_dir" in
3970 .) ac_abs_builddir=`pwd`;;
3971 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3972 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3973 esac;;
3974 esac
3975 case $ac_abs_builddir in
3976 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3978 case ${ac_top_builddir}. in
3979 .) ac_abs_top_builddir=$ac_abs_builddir;;
3980 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3981 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3982 esac;;
3983 esac
3984 case $ac_abs_builddir in
3985 .) ac_abs_srcdir=$ac_srcdir;;
3987 case $ac_srcdir in
3988 .) ac_abs_srcdir=$ac_abs_builddir;;
3989 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3990 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3991 esac;;
3992 esac
3993 case $ac_abs_builddir in
3994 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3996 case $ac_top_srcdir in
3997 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3998 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3999 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4000 esac;;
4001 esac
4004 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4005 echo "$as_me: executing $ac_dest commands" >&6;}
4006 case $ac_dest in
4007 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4008 # Strip MF so we end up with the name of the file.
4009 mf=`echo "$mf" | sed -e 's/:.*$//'`
4010 # Check whether this is an Automake generated Makefile or not.
4011 # We used to match only the files named `Makefile.in', but
4012 # some people rename them; so instead we look at the file content.
4013 # Grep'ing the first line is not enough: some people post-process
4014 # each Makefile.in and add a new line on top of each file to say so.
4015 # So let's grep whole file.
4016 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4017 dirpart=`(dirname "$mf") 2>/dev/null ||
4018 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4019 X"$mf" : 'X\(//\)[^/]' \| \
4020 X"$mf" : 'X\(//\)$' \| \
4021 X"$mf" : 'X\(/\)' \| \
4022 . : '\(.\)' 2>/dev/null ||
4023 echo X"$mf" |
4024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4026 /^X\(\/\/\)$/{ s//\1/; q; }
4027 /^X\(\/\).*/{ s//\1/; q; }
4028 s/.*/./; q'`
4029 else
4030 continue
4032 # Extract the definition of DEPDIR, am__include, and am__quote
4033 # from the Makefile without running `make'.
4034 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4035 test -z "$DEPDIR" && continue
4036 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4037 test -z "am__include" && continue
4038 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4039 # When using ansi2knr, U may be empty or an underscore; expand it
4040 U=`sed -n 's/^U = //p' < "$mf"`
4041 # Find all dependency output files, they are included files with
4042 # $(DEPDIR) in their names. We invoke sed twice because it is the
4043 # simplest approach to changing $(DEPDIR) to its actual value in the
4044 # expansion.
4045 for file in `sed -n "
4046 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4047 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4048 # Make sure the directory exists.
4049 test -f "$dirpart/$file" && continue
4050 fdir=`(dirname "$file") 2>/dev/null ||
4051 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4052 X"$file" : 'X\(//\)[^/]' \| \
4053 X"$file" : 'X\(//\)$' \| \
4054 X"$file" : 'X\(/\)' \| \
4055 . : '\(.\)' 2>/dev/null ||
4056 echo X"$file" |
4057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4059 /^X\(\/\/\)$/{ s//\1/; q; }
4060 /^X\(\/\).*/{ s//\1/; q; }
4061 s/.*/./; q'`
4062 { if $as_mkdir_p; then
4063 mkdir -p $dirpart/$fdir
4064 else
4065 as_dir=$dirpart/$fdir
4066 as_dirs=
4067 while test ! -d "$as_dir"; do
4068 as_dirs="$as_dir $as_dirs"
4069 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4071 X"$as_dir" : 'X\(//\)[^/]' \| \
4072 X"$as_dir" : 'X\(//\)$' \| \
4073 X"$as_dir" : 'X\(/\)' \| \
4074 . : '\(.\)' 2>/dev/null ||
4075 echo X"$as_dir" |
4076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4078 /^X\(\/\/\)$/{ s//\1/; q; }
4079 /^X\(\/\).*/{ s//\1/; q; }
4080 s/.*/./; q'`
4081 done
4082 test ! -n "$as_dirs" || mkdir $as_dirs
4083 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4084 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4085 { (exit 1); exit 1; }; }; }
4087 # echo "creating $dirpart/$file"
4088 echo '# dummy' > "$dirpart/$file"
4089 done
4090 done
4092 esac
4093 done
4094 _ACEOF
4096 cat >>$CONFIG_STATUS <<\_ACEOF
4098 { (exit 0); exit 0; }
4099 _ACEOF
4100 chmod +x $CONFIG_STATUS
4101 ac_clean_files=$ac_clean_files_save
4104 # configure is writing to config.log, and then calls config.status.
4105 # config.status does its own redirection, appending to config.log.
4106 # Unfortunately, on DOS this fails, as config.log is still kept open
4107 # by configure, so config.status won't be able to write to it; its
4108 # output is simply discarded. So we exec the FD to /dev/null,
4109 # effectively closing config.log, so it can be properly (re)opened and
4110 # appended to by config.status. When coming back to configure, we
4111 # need to make the FD available again.
4112 if test "$no_create" != yes; then
4113 ac_cs_success=:
4114 ac_config_status_args=
4115 test "$silent" = yes &&
4116 ac_config_status_args="$ac_config_status_args --quiet"
4117 exec 5>/dev/null
4118 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4119 exec 5>>config.log
4120 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4121 # would make configure fail if this is the last instruction.
4122 $ac_cs_success || { (exit 1); exit 1; }