2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Name of the executable.
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a : '\(a\)' >/dev/null 2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.file
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.file conf$$ 2>/dev/null; then
56 rm -f conf$$ conf$$.exe conf$$.file
58 as_executable_p="test -f"
60 # Support unset when possible.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix=/usr/local
100 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file="barcode.h"
109 # Initialize some variables set by options.
111 ac_init_version=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
121 program_transform_name=s,x,x,
129 # Installation directory options.
130 # These are left unexpanded so users can "make install exec_prefix=/foo"
131 # and all the variables that are supposed to be based on exec_prefix
132 # by default will actually change.
133 # Use braces instead of parens because sh, perl, etc. also accept them.
134 bindir='${exec_prefix}/bin'
135 sbindir='${exec_prefix}/sbin'
136 libexecdir='${exec_prefix}/libexec'
137 datadir='${prefix}/share'
138 sysconfdir='${prefix}/etc'
139 sharedstatedir='${prefix}/com'
140 localstatedir='${prefix}/var'
141 libdir='${exec_prefix}/lib'
142 includedir='${prefix}/include'
143 oldincludedir='/usr/include'
144 infodir='${prefix}/info'
145 mandir='${prefix}/man'
147 # Identity of this package.
157 # If the previous option needs an argument, assign it.
158 if test -n "$ac_prev"; then
159 eval "$ac_prev=\$ac_option"
164 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
166 # Accept the important Cygnus configure options, so we can diagnose typos.
170 -bindir | --bindir | --bindi | --bind | --bin | --bi)
172 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
175 -build | --build | --buil | --bui | --bu)
176 ac_prev=build_alias ;;
177 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
178 build_alias=$ac_optarg ;;
180 -cache-file | --cache-file | --cache-fil | --cache-fi \
181 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
182 ac_prev=cache_file ;;
183 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
184 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
185 cache_file=$ac_optarg ;;
188 cache_file=config.cache ;;
190 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
192 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
194 datadir=$ac_optarg ;;
196 -disable-* | --disable-*)
197 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198 # Reject names that are not valid shell variable names.
199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201 { (exit 1); exit 1; }; }
202 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
203 eval "enable_$ac_feature=no" ;;
205 -enable-* | --enable-*)
206 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207 # Reject names that are not valid shell variable names.
208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210 { (exit 1); exit 1; }; }
211 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
213 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216 eval "enable_$ac_feature='$ac_optarg'" ;;
218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
220 | --exec | --exe | --ex)
221 ac_prev=exec_prefix ;;
222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
224 | --exec=* | --exe=* | --ex=*)
225 exec_prefix=$ac_optarg ;;
227 -gas | --gas | --ga | --g)
228 # Obsolete; use --with-gas.
231 -help | --help | --hel | --he | -h)
233 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
234 ac_init_help=recursive ;;
235 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
236 ac_init_help=short ;;
238 -host | --host | --hos | --ho)
239 ac_prev=host_alias ;;
240 -host=* | --host=* | --hos=* | --ho=*)
241 host_alias=$ac_optarg ;;
243 -includedir | --includedir | --includedi | --included | --include \
244 | --includ | --inclu | --incl | --inc)
245 ac_prev=includedir ;;
246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247 | --includ=* | --inclu=* | --incl=* | --inc=*)
248 includedir=$ac_optarg ;;
250 -infodir | --infodir | --infodi | --infod | --info | --inf)
252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253 infodir=$ac_optarg ;;
255 -libdir | --libdir | --libdi | --libd)
257 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261 | --libexe | --libex | --libe)
262 ac_prev=libexecdir ;;
263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264 | --libexe=* | --libex=* | --libe=*)
265 libexecdir=$ac_optarg ;;
267 -localstatedir | --localstatedir | --localstatedi | --localstated \
268 | --localstate | --localstat | --localsta | --localst \
269 | --locals | --local | --loca | --loc | --lo)
270 ac_prev=localstatedir ;;
271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
273 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274 localstatedir=$ac_optarg ;;
276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
282 # Obsolete; use --without-fp.
285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295 | --oldin | --oldi | --old | --ol | --o)
296 ac_prev=oldincludedir ;;
297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300 oldincludedir=$ac_optarg ;;
302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
308 | --program-pre | --program-pr | --program-p)
309 ac_prev=program_prefix ;;
310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312 program_prefix=$ac_optarg ;;
314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
315 | --program-suf | --program-su | --program-s)
316 ac_prev=program_suffix ;;
317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319 program_suffix=$ac_optarg ;;
321 -program-transform-name | --program-transform-name \
322 | --program-transform-nam | --program-transform-na \
323 | --program-transform-n | --program-transform- \
324 | --program-transform | --program-transfor \
325 | --program-transfo | --program-transf \
326 | --program-trans | --program-tran \
327 | --progr-tra | --program-tr | --program-t)
328 ac_prev=program_transform_name ;;
329 -program-transform-name=* | --program-transform-name=* \
330 | --program-transform-nam=* | --program-transform-na=* \
331 | --program-transform-n=* | --program-transform-=* \
332 | --program-transform=* | --program-transfor=* \
333 | --program-transfo=* | --program-transf=* \
334 | --program-trans=* | --program-tran=* \
335 | --progr-tra=* | --program-tr=* | --program-t=*)
336 program_transform_name=$ac_optarg ;;
338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
339 | -silent | --silent | --silen | --sile | --sil)
342 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
344 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
346 sbindir=$ac_optarg ;;
348 -sharedstatedir | --sharedstatedir | --sharedstatedi \
349 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350 | --sharedst | --shareds | --shared | --share | --shar \
352 ac_prev=sharedstatedir ;;
353 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
357 sharedstatedir=$ac_optarg ;;
359 -site | --site | --sit)
361 -site=* | --site=* | --sit=*)
364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370 | --syscon | --sysco | --sysc | --sys | --sy)
371 ac_prev=sysconfdir ;;
372 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374 sysconfdir=$ac_optarg ;;
376 -target | --target | --targe | --targ | --tar | --ta | --t)
377 ac_prev=target_alias ;;
378 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379 target_alias=$ac_optarg ;;
381 -v | -verbose | --verbose | --verbos | --verbo | --verb)
384 -version | --version | --versio | --versi | --vers | -V)
388 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389 # Reject names that are not valid shell variable names.
390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
391 { echo "$as_me: error: invalid package name: $ac_package" >&2
392 { (exit 1); exit 1; }; }
393 ac_package=`echo $ac_package| sed 's/-/_/g'`
395 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 eval "with_$ac_package='$ac_optarg'" ;;
400 -without-* | --without-*)
401 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404 { echo "$as_me: error: invalid package name: $ac_package" >&2
405 { (exit 1); exit 1; }; }
406 ac_package=`echo $ac_package | sed 's/-/_/g'`
407 eval "with_$ac_package=no" ;;
410 # Obsolete; use --with-x.
413 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
414 | --x-incl | --x-inc | --x-in | --x-i)
415 ac_prev=x_includes ;;
416 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
417 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
418 x_includes=$ac_optarg ;;
420 -x-libraries | --x-libraries | --x-librarie | --x-librari \
421 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
422 ac_prev=x_libraries ;;
423 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
424 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
425 x_libraries=$ac_optarg ;;
427 -*) { echo "$as_me: error: unrecognized option: $ac_option
428 Try \`$0 --help' for more information." >&2
429 { (exit 1); exit 1; }; }
433 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434 # Reject names that are not valid shell variable names.
435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437 { (exit 1); exit 1; }; }
438 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439 eval "$ac_envvar='$ac_optarg'"
443 # FIXME: should be removed in autoconf 3.0.
444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
453 if test -n "$ac_prev"; then
454 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
455 { echo "$as_me: error: missing argument to $ac_option" >&2
456 { (exit 1); exit 1; }; }
459 # Be sure to have absolute paths.
460 for ac_var in exec_prefix prefix
462 eval ac_val=$`echo $ac_var`
464 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466 { (exit 1); exit 1; }; };;
470 # Be sure to have absolute paths.
471 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472 localstatedir libdir includedir oldincludedir infodir mandir
474 eval ac_val=$`echo $ac_var`
476 [\\/$]* | ?:[\\/]* ) ;;
477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478 { (exit 1); exit 1; }; };;
482 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc.
488 # FIXME: should be removed in autoconf 3.0.
489 if test "x$host_alias" != x; then
490 if test "x$build_alias" = x; then
491 cross_compiling=maybe
492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493 If a cross compiler is detected then cross compile mode will be used." >&2
494 elif test "x$build_alias" != "x$host_alias"; then
500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
502 test "$silent" = yes && exec 6>/dev/null
504 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then
506 ac_srcdir_defaulted=yes
507 # Try the directory containing this script, then its parent.
509 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
512 if test ! -r $srcdir/$ac_unique_file; then
516 ac_srcdir_defaulted=no
518 if test ! -r $srcdir/$ac_unique_file; then
519 if test "$ac_srcdir_defaulted" = yes; then
520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521 { (exit 1); exit 1; }; }
523 { echo "$as_me: error: cannot find sources in $srcdir" >&2
524 { (exit 1); exit 1; }; }
527 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set=${build_alias+set}
529 ac_env_build_alias_value=$build_alias
530 ac_cv_env_build_alias_set=${build_alias+set}
531 ac_cv_env_build_alias_value=$build_alias
532 ac_env_host_alias_set=${host_alias+set}
533 ac_env_host_alias_value=$host_alias
534 ac_cv_env_host_alias_set=${host_alias+set}
535 ac_cv_env_host_alias_value=$host_alias
536 ac_env_target_alias_set=${target_alias+set}
537 ac_env_target_alias_value=$target_alias
538 ac_cv_env_target_alias_set=${target_alias+set}
539 ac_cv_env_target_alias_value=$target_alias
540 ac_env_CC_set=${CC+set}
542 ac_cv_env_CC_set=${CC+set}
543 ac_cv_env_CC_value=$CC
544 ac_env_CFLAGS_set=${CFLAGS+set}
545 ac_env_CFLAGS_value=$CFLAGS
546 ac_cv_env_CFLAGS_set=${CFLAGS+set}
547 ac_cv_env_CFLAGS_value=$CFLAGS
548 ac_env_LDFLAGS_set=${LDFLAGS+set}
549 ac_env_LDFLAGS_value=$LDFLAGS
550 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
551 ac_cv_env_LDFLAGS_value=$LDFLAGS
552 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
553 ac_env_CPPFLAGS_value=$CPPFLAGS
554 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
555 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
556 ac_env_CPP_set=${CPP+set}
557 ac_env_CPP_value=$CPP
558 ac_cv_env_CPP_set=${CPP+set}
559 ac_cv_env_CPP_value=$CPP
562 # Report the --help message.
564 if test "$ac_init_help" = "long"; then
565 # Omit some internal or obsolete options to make the list less imposing.
566 # This message is too long to be a string in the A/UX 3.1 sh.
568 \`configure' configures this package to adapt to many kinds of systems.
570 Usage: $0 [OPTION]... [VAR=VALUE]...
572 To assign environment variables (e.g., CC, CFLAGS...), specify them as
573 VAR=VALUE. See below for descriptions of some of the useful variables.
575 Defaults for the options are specified in brackets.
578 -h, --help display this help and exit
579 --help=short display options specific to this package
580 --help=recursive display the short help of all the included packages
581 -V, --version display version information and exit
582 -q, --quiet, --silent do not print \`checking...' messages
583 --cache-file=FILE cache test results in FILE [disabled]
584 -C, --config-cache alias for \`--cache-file=config.cache'
585 -n, --no-create do not create output files
586 --srcdir=DIR find the sources in DIR [configure dir or \`..']
591 Installation directories:
592 --prefix=PREFIX install architecture-independent files in PREFIX
594 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
597 By default, \`make install' will install all the files in
598 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
599 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
600 for instance \`--prefix=\$HOME'.
602 For better control, use the options below.
604 Fine tuning of the installation directories:
605 --bindir=DIR user executables [EPREFIX/bin]
606 --sbindir=DIR system admin executables [EPREFIX/sbin]
607 --libexecdir=DIR program executables [EPREFIX/libexec]
608 --datadir=DIR read-only architecture-independent data [PREFIX/share]
609 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
610 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
611 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
612 --libdir=DIR object code libraries [EPREFIX/lib]
613 --includedir=DIR C header files [PREFIX/include]
614 --oldincludedir=DIR C header files for non-gcc [/usr/include]
615 --infodir=DIR info documentation [PREFIX/info]
616 --mandir=DIR man documentation [PREFIX/man]
623 if test -n "$ac_init_help"; then
627 Some influential environment variables:
628 CC C compiler command
629 CFLAGS C compiler flags
630 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
631 nonstandard directory <lib dir>
632 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
633 headers in a nonstandard directory <include dir>
636 Use these variables to override the choices made by `configure' or to help
637 it to find libraries and programs with nonstandard names/locations.
642 if test "$ac_init_help" = "recursive"; then
643 # If there are subdirs, report their specific --help.
645 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
647 # A "../" for each directory in /$ac_subdir.
648 ac_dots=`echo $ac_subdir |
649 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
652 .) # No --srcdir option. We are building in place.
653 ac_sub_srcdir=$srcdir ;;
654 [\\/]* | ?:[\\/]* ) # Absolute path.
655 ac_sub_srcdir=$srcdir/$ac_subdir ;;
657 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
660 # Check for guested configure; otherwise get Cygnus style configure.
661 if test -f $ac_sub_srcdir/configure.gnu; then
663 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
664 elif test -f $ac_sub_srcdir/configure; then
666 $SHELL $ac_sub_srcdir/configure --help=recursive
667 elif test -f $ac_sub_srcdir/configure.ac ||
668 test -f $ac_sub_srcdir/configure.in; then
672 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
678 test -n "$ac_init_help" && exit 0
679 if $ac_init_version; then
682 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
683 Free Software Foundation, Inc.
684 This configure script is free software; the Free Software Foundation
685 gives unlimited permission to copy, distribute and modify it.
691 This file contains any messages produced by compilers while
692 running configure, to aid debugging if configure makes a mistake.
694 It was created by $as_me, which was
695 generated by GNU Autoconf 2.52. Invocation command line was
706 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
707 uname -m = `(uname -m) 2>/dev/null || echo unknown`
708 uname -r = `(uname -r) 2>/dev/null || echo unknown`
709 uname -s = `(uname -s) 2>/dev/null || echo unknown`
710 uname -v = `(uname -v) 2>/dev/null || echo unknown`
712 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
713 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
715 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
716 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
717 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
718 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
719 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
720 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
721 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
735 # Keep a trace of the command line.
736 # Strip out --no-create and --no-recursion so they do not pile up.
737 # Also quote any args containing shell meta-characters.
743 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
744 | --no-cr | --no-c) ;;
745 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
746 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
747 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
748 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
749 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
751 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
754 # Get rid of the leading space.
757 # When interrupted or exit'd, cleanup temporary files, and complete
758 # config.log. We remove comments because anyway the quotes in there
759 # would cause problems or look ugly.
761 # Save into config.log some information that might help in debugging.
763 echo "## ----------------- ##" >&5
764 echo "## Cache variables. ##" >&5
765 echo "## ----------------- ##" >&5
767 # The following way of writing the cache mishandles newlines in values,
770 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
773 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
774 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
782 sed "/^$/d" confdefs.h >conftest.log
783 if test -s conftest.log; then
785 echo "## ------------ ##" >&5
786 echo "## confdefs.h. ##" >&5
787 echo "## ------------ ##" >&5
792 test "$ac_signal" != 0 &&
793 echo "$as_me: caught signal $ac_signal" >&5
794 echo "$as_me: exit $exit_status" >&5
795 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
798 for ac_signal in 1 2 13 15; do
799 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
803 # confdefs.h avoids OS command line length limits that DEFS can exceed.
804 rm -rf conftest* confdefs.h
805 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
808 # Let the site file select an alternate cache file if it wants to.
809 # Prefer explicitly selected file to automatically selected ones.
810 if test -z "$CONFIG_SITE"; then
811 if test "x$prefix" != xNONE; then
812 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
814 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
817 for ac_site_file in $CONFIG_SITE; do
818 if test -r "$ac_site_file"; then
819 { echo "$as_me:819: loading site script $ac_site_file" >&5
820 echo "$as_me: loading site script $ac_site_file" >&6;}
821 cat "$ac_site_file" >&5
826 if test -r "$cache_file"; then
827 # Some versions of bash will fail to source /dev/null (special
828 # files actually), so we avoid doing that.
829 if test -f "$cache_file"; then
830 { echo "$as_me:830: loading cache $cache_file" >&5
831 echo "$as_me: loading cache $cache_file" >&6;}
833 [\\/]* | ?:[\\/]* ) . $cache_file;;
838 { echo "$as_me:838: creating cache $cache_file" >&5
839 echo "$as_me: creating cache $cache_file" >&6;}
843 # Check that the precious variables saved in the cache have kept the same
845 ac_cache_corrupted=false
846 for ac_var in `(set) 2>&1 |
847 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
848 eval ac_old_set=\$ac_cv_env_${ac_var}_set
849 eval ac_new_set=\$ac_env_${ac_var}_set
850 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
851 eval ac_new_val="\$ac_env_${ac_var}_value"
852 case $ac_old_set,$ac_new_set in
854 { echo "$as_me:854: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
855 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
856 ac_cache_corrupted=: ;;
858 { echo "$as_me:858: error: \`$ac_var' was not set in the previous run" >&5
859 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
860 ac_cache_corrupted=: ;;
863 if test "x$ac_old_val" != "x$ac_new_val"; then
864 { echo "$as_me:864: error: \`$ac_var' has changed since the previous run:" >&5
865 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
866 { echo "$as_me:866: former value: $ac_old_val" >&5
867 echo "$as_me: former value: $ac_old_val" >&2;}
868 { echo "$as_me:868: current value: $ac_new_val" >&5
869 echo "$as_me: current value: $ac_new_val" >&2;}
873 # Pass precious variables to config.status. It doesn't matter if
874 # we pass some twice (in addition to the command line arguments).
875 if test "$ac_new_set" = set; then
877 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
878 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
879 ac_configure_args="$ac_configure_args '$ac_arg'"
881 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
886 if $ac_cache_corrupted; then
887 { echo "$as_me:887: error: changes in the environment can compromise the build" >&5
888 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
889 { { echo "$as_me:889: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
890 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
891 { (exit 1); exit 1; }; }
895 ac_cpp='$CPP $CPPFLAGS'
896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
900 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
901 *c*,-n*) ECHO_N= ECHO_C='
903 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
904 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
906 echo "#! $SHELL" >conftest.sh
907 echo "exit 0" >>conftest.sh
909 if { (echo "$as_me:909: PATH=\".;.\"; conftest.sh") >&5
910 (PATH=".;."; conftest.sh) 2>&5
912 echo "$as_me:912: \$? = $ac_status" >&5
913 (exit $ac_status); }; then
914 ac_path_separator=';'
918 PATH_SEPARATOR="$ac_path_separator"
922 ac_cpp='$CPP $CPPFLAGS'
923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
926 if test -n "$ac_tool_prefix"; then
927 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
928 set dummy ${ac_tool_prefix}gcc; ac_word=$2
929 echo "$as_me:929: checking for $ac_word" >&5
930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
931 if test "${ac_cv_prog_CC+set}" = set; then
932 echo $ECHO_N "(cached) $ECHO_C" >&6
934 if test -n "$CC"; then
935 ac_cv_prog_CC="$CC" # Let the user override the test.
937 ac_save_IFS=$IFS; IFS=$ac_path_separator
939 for ac_dir in $ac_dummy; do
941 test -z "$ac_dir" && ac_dir=.
942 $as_executable_p "$ac_dir/$ac_word" || continue
943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
944 echo "$as_me:944: found $ac_dir/$ac_word" >&5
951 if test -n "$CC"; then
952 echo "$as_me:952: result: $CC" >&5
953 echo "${ECHO_T}$CC" >&6
955 echo "$as_me:955: result: no" >&5
956 echo "${ECHO_T}no" >&6
960 if test -z "$ac_cv_prog_CC"; then
962 # Extract the first word of "gcc", so it can be a program name with args.
963 set dummy gcc; ac_word=$2
964 echo "$as_me:964: checking for $ac_word" >&5
965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
967 echo $ECHO_N "(cached) $ECHO_C" >&6
969 if test -n "$ac_ct_CC"; then
970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
972 ac_save_IFS=$IFS; IFS=$ac_path_separator
974 for ac_dir in $ac_dummy; do
976 test -z "$ac_dir" && ac_dir=.
977 $as_executable_p "$ac_dir/$ac_word" || continue
978 ac_cv_prog_ac_ct_CC="gcc"
979 echo "$as_me:979: found $ac_dir/$ac_word" >&5
985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
986 if test -n "$ac_ct_CC"; then
987 echo "$as_me:987: result: $ac_ct_CC" >&5
988 echo "${ECHO_T}$ac_ct_CC" >&6
990 echo "$as_me:990: result: no" >&5
991 echo "${ECHO_T}no" >&6
999 if test -z "$CC"; then
1000 if test -n "$ac_tool_prefix"; then
1001 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1002 set dummy ${ac_tool_prefix}cc; ac_word=$2
1003 echo "$as_me:1003: checking for $ac_word" >&5
1004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1005 if test "${ac_cv_prog_CC+set}" = set; then
1006 echo $ECHO_N "(cached) $ECHO_C" >&6
1008 if test -n "$CC"; then
1009 ac_cv_prog_CC="$CC" # Let the user override the test.
1011 ac_save_IFS=$IFS; IFS=$ac_path_separator
1013 for ac_dir in $ac_dummy; do
1015 test -z "$ac_dir" && ac_dir=.
1016 $as_executable_p "$ac_dir/$ac_word" || continue
1017 ac_cv_prog_CC="${ac_tool_prefix}cc"
1018 echo "$as_me:1018: found $ac_dir/$ac_word" >&5
1025 if test -n "$CC"; then
1026 echo "$as_me:1026: result: $CC" >&5
1027 echo "${ECHO_T}$CC" >&6
1029 echo "$as_me:1029: result: no" >&5
1030 echo "${ECHO_T}no" >&6
1034 if test -z "$ac_cv_prog_CC"; then
1036 # Extract the first word of "cc", so it can be a program name with args.
1037 set dummy cc; ac_word=$2
1038 echo "$as_me:1038: checking for $ac_word" >&5
1039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1041 echo $ECHO_N "(cached) $ECHO_C" >&6
1043 if test -n "$ac_ct_CC"; then
1044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1046 ac_save_IFS=$IFS; IFS=$ac_path_separator
1048 for ac_dir in $ac_dummy; do
1050 test -z "$ac_dir" && ac_dir=.
1051 $as_executable_p "$ac_dir/$ac_word" || continue
1052 ac_cv_prog_ac_ct_CC="cc"
1053 echo "$as_me:1053: found $ac_dir/$ac_word" >&5
1059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1060 if test -n "$ac_ct_CC"; then
1061 echo "$as_me:1061: result: $ac_ct_CC" >&5
1062 echo "${ECHO_T}$ac_ct_CC" >&6
1064 echo "$as_me:1064: result: no" >&5
1065 echo "${ECHO_T}no" >&6
1074 if test -z "$CC"; then
1075 # Extract the first word of "cc", so it can be a program name with args.
1076 set dummy cc; ac_word=$2
1077 echo "$as_me:1077: checking for $ac_word" >&5
1078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1079 if test "${ac_cv_prog_CC+set}" = set; then
1080 echo $ECHO_N "(cached) $ECHO_C" >&6
1082 if test -n "$CC"; then
1083 ac_cv_prog_CC="$CC" # Let the user override the test.
1086 ac_save_IFS=$IFS; IFS=$ac_path_separator
1088 for ac_dir in $ac_dummy; do
1090 test -z "$ac_dir" && ac_dir=.
1091 $as_executable_p "$ac_dir/$ac_word" || continue
1092 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1093 ac_prog_rejected=yes
1097 echo "$as_me:1097: found $ac_dir/$ac_word" >&5
1101 if test $ac_prog_rejected = yes; then
1102 # We found a bogon in the path, so make sure we never use it.
1103 set dummy $ac_cv_prog_CC
1105 if test $# != 0; then
1106 # We chose a different compiler from the bogus one.
1107 # However, it has the same basename, so the bogon will be chosen
1108 # first if we set CC to just the basename; use the full file name.
1110 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1118 if test -n "$CC"; then
1119 echo "$as_me:1119: result: $CC" >&5
1120 echo "${ECHO_T}$CC" >&6
1122 echo "$as_me:1122: result: no" >&5
1123 echo "${ECHO_T}no" >&6
1127 if test -z "$CC"; then
1128 if test -n "$ac_tool_prefix"; then
1131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1133 echo "$as_me:1133: checking for $ac_word" >&5
1134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1135 if test "${ac_cv_prog_CC+set}" = set; then
1136 echo $ECHO_N "(cached) $ECHO_C" >&6
1138 if test -n "$CC"; then
1139 ac_cv_prog_CC="$CC" # Let the user override the test.
1141 ac_save_IFS=$IFS; IFS=$ac_path_separator
1143 for ac_dir in $ac_dummy; do
1145 test -z "$ac_dir" && ac_dir=.
1146 $as_executable_p "$ac_dir/$ac_word" || continue
1147 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1148 echo "$as_me:1148: found $ac_dir/$ac_word" >&5
1155 if test -n "$CC"; then
1156 echo "$as_me:1156: result: $CC" >&5
1157 echo "${ECHO_T}$CC" >&6
1159 echo "$as_me:1159: result: no" >&5
1160 echo "${ECHO_T}no" >&6
1163 test -n "$CC" && break
1166 if test -z "$CC"; then
1170 # Extract the first word of "$ac_prog", so it can be a program name with args.
1171 set dummy $ac_prog; ac_word=$2
1172 echo "$as_me:1172: checking for $ac_word" >&5
1173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1174 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1175 echo $ECHO_N "(cached) $ECHO_C" >&6
1177 if test -n "$ac_ct_CC"; then
1178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1180 ac_save_IFS=$IFS; IFS=$ac_path_separator
1182 for ac_dir in $ac_dummy; do
1184 test -z "$ac_dir" && ac_dir=.
1185 $as_executable_p "$ac_dir/$ac_word" || continue
1186 ac_cv_prog_ac_ct_CC="$ac_prog"
1187 echo "$as_me:1187: found $ac_dir/$ac_word" >&5
1193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1194 if test -n "$ac_ct_CC"; then
1195 echo "$as_me:1195: result: $ac_ct_CC" >&5
1196 echo "${ECHO_T}$ac_ct_CC" >&6
1198 echo "$as_me:1198: result: no" >&5
1199 echo "${ECHO_T}no" >&6
1202 test -n "$ac_ct_CC" && break
1210 test -z "$CC" && { { echo "$as_me:1210: error: no acceptable cc found in \$PATH" >&5
1211 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1212 { (exit 1); exit 1; }; }
1214 # Provide some information about the compiler.
1215 echo "$as_me:1215:" \
1216 "checking for C compiler version" >&5
1217 ac_compiler=`set X $ac_compile; echo $2`
1218 { (eval echo "$as_me:1218: \"$ac_compiler --version </dev/null >&5\"") >&5
1219 (eval $ac_compiler --version </dev/null >&5) 2>&5
1221 echo "$as_me:1221: \$? = $ac_status" >&5
1222 (exit $ac_status); }
1223 { (eval echo "$as_me:1223: \"$ac_compiler -v </dev/null >&5\"") >&5
1224 (eval $ac_compiler -v </dev/null >&5) 2>&5
1226 echo "$as_me:1226: \$? = $ac_status" >&5
1227 (exit $ac_status); }
1228 { (eval echo "$as_me:1228: \"$ac_compiler -V </dev/null >&5\"") >&5
1229 (eval $ac_compiler -V </dev/null >&5) 2>&5
1231 echo "$as_me:1231: \$? = $ac_status" >&5
1232 (exit $ac_status); }
1234 cat >conftest.$ac_ext <<_ACEOF
1235 #line 1235 "configure"
1236 #include "confdefs.h"
1246 ac_clean_files_save=$ac_clean_files
1247 ac_clean_files="$ac_clean_files a.out a.exe"
1248 # Try to create an executable without -o first, disregard a.out.
1249 # It will help us diagnose broken compilers, and finding out an intuition
1251 echo "$as_me:1251: checking for C compiler default output" >&5
1252 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1253 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1254 if { (eval echo "$as_me:1254: \"$ac_link_default\"") >&5
1255 (eval $ac_link_default) 2>&5
1257 echo "$as_me:1257: \$? = $ac_status" >&5
1258 (exit $ac_status); }; then
1259 # Find the output, starting from the most likely. This scheme is
1260 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1262 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1263 ls a.out conftest 2>/dev/null;
1264 ls a.* conftest.* 2>/dev/null`; do
1266 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1267 a.out ) # We found the default executable, but exeext='' is most
1270 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1271 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1278 echo "$as_me: failed program was:" >&5
1279 cat conftest.$ac_ext >&5
1280 { { echo "$as_me:1280: error: C compiler cannot create executables" >&5
1281 echo "$as_me: error: C compiler cannot create executables" >&2;}
1282 { (exit 77); exit 77; }; }
1285 ac_exeext=$ac_cv_exeext
1286 echo "$as_me:1286: result: $ac_file" >&5
1287 echo "${ECHO_T}$ac_file" >&6
1289 # Check the compiler produces executables we can run. If not, either
1290 # the compiler is broken, or we cross compile.
1291 echo "$as_me:1291: checking whether the C compiler works" >&5
1292 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1293 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1294 # If not cross compiling, check that we can run a simple program.
1295 if test "$cross_compiling" != yes; then
1296 if { ac_try='./$ac_file'
1297 { (eval echo "$as_me:1297: \"$ac_try\"") >&5
1300 echo "$as_me:1300: \$? = $ac_status" >&5
1301 (exit $ac_status); }; }; then
1304 if test "$cross_compiling" = maybe; then
1307 { { echo "$as_me:1307: error: cannot run C compiled programs.
1308 If you meant to cross compile, use \`--host'." >&5
1309 echo "$as_me: error: cannot run C compiled programs.
1310 If you meant to cross compile, use \`--host'." >&2;}
1311 { (exit 1); exit 1; }; }
1315 echo "$as_me:1315: result: yes" >&5
1316 echo "${ECHO_T}yes" >&6
1318 rm -f a.out a.exe conftest$ac_cv_exeext
1319 ac_clean_files=$ac_clean_files_save
1320 # Check the compiler produces executables we can run. If not, either
1321 # the compiler is broken, or we cross compile.
1322 echo "$as_me:1322: checking whether we are cross compiling" >&5
1323 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1324 echo "$as_me:1324: result: $cross_compiling" >&5
1325 echo "${ECHO_T}$cross_compiling" >&6
1327 echo "$as_me:1327: checking for executable suffix" >&5
1328 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1329 if { (eval echo "$as_me:1329: \"$ac_link\"") >&5
1330 (eval $ac_link) 2>&5
1332 echo "$as_me:1332: \$? = $ac_status" >&5
1333 (exit $ac_status); }; then
1334 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1335 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1336 # work properly (i.e., refer to `conftest.exe'), while it won't with
1338 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1340 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1341 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1348 { { echo "$as_me:1348: error: cannot compute EXEEXT: cannot compile and link" >&5
1349 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1350 { (exit 1); exit 1; }; }
1353 rm -f conftest$ac_cv_exeext
1354 echo "$as_me:1354: result: $ac_cv_exeext" >&5
1355 echo "${ECHO_T}$ac_cv_exeext" >&6
1357 rm -f conftest.$ac_ext
1358 EXEEXT=$ac_cv_exeext
1360 echo "$as_me:1360: checking for object suffix" >&5
1361 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1362 if test "${ac_cv_objext+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1365 cat >conftest.$ac_ext <<_ACEOF
1366 #line 1366 "configure"
1367 #include "confdefs.h"
1377 rm -f conftest.o conftest.obj
1378 if { (eval echo "$as_me:1378: \"$ac_compile\"") >&5
1379 (eval $ac_compile) 2>&5
1381 echo "$as_me:1381: \$? = $ac_status" >&5
1382 (exit $ac_status); }; then
1383 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1386 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1391 echo "$as_me: failed program was:" >&5
1392 cat conftest.$ac_ext >&5
1393 { { echo "$as_me:1393: error: cannot compute OBJEXT: cannot compile" >&5
1394 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1395 { (exit 1); exit 1; }; }
1398 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1400 echo "$as_me:1400: result: $ac_cv_objext" >&5
1401 echo "${ECHO_T}$ac_cv_objext" >&6
1402 OBJEXT=$ac_cv_objext
1404 echo "$as_me:1404: checking whether we are using the GNU C compiler" >&5
1405 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1406 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 cat >conftest.$ac_ext <<_ACEOF
1410 #line 1410 "configure"
1411 #include "confdefs.h"
1424 rm -f conftest.$ac_objext
1425 if { (eval echo "$as_me:1425: \"$ac_compile\"") >&5
1426 (eval $ac_compile) 2>&5
1428 echo "$as_me:1428: \$? = $ac_status" >&5
1429 (exit $ac_status); } &&
1430 { ac_try='test -s conftest.$ac_objext'
1431 { (eval echo "$as_me:1431: \"$ac_try\"") >&5
1434 echo "$as_me:1434: \$? = $ac_status" >&5
1435 (exit $ac_status); }; }; then
1438 echo "$as_me: failed program was:" >&5
1439 cat conftest.$ac_ext >&5
1442 rm -f conftest.$ac_objext conftest.$ac_ext
1443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1446 echo "$as_me:1446: result: $ac_cv_c_compiler_gnu" >&5
1447 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1448 GCC=`test $ac_compiler_gnu = yes && echo yes`
1449 ac_test_CFLAGS=${CFLAGS+set}
1450 ac_save_CFLAGS=$CFLAGS
1452 echo "$as_me:1452: checking whether $CC accepts -g" >&5
1453 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1454 if test "${ac_cv_prog_cc_g+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 cat >conftest.$ac_ext <<_ACEOF
1458 #line 1458 "configure"
1459 #include "confdefs.h"
1469 rm -f conftest.$ac_objext
1470 if { (eval echo "$as_me:1470: \"$ac_compile\"") >&5
1471 (eval $ac_compile) 2>&5
1473 echo "$as_me:1473: \$? = $ac_status" >&5
1474 (exit $ac_status); } &&
1475 { ac_try='test -s conftest.$ac_objext'
1476 { (eval echo "$as_me:1476: \"$ac_try\"") >&5
1479 echo "$as_me:1479: \$? = $ac_status" >&5
1480 (exit $ac_status); }; }; then
1483 echo "$as_me: failed program was:" >&5
1484 cat conftest.$ac_ext >&5
1487 rm -f conftest.$ac_objext conftest.$ac_ext
1489 echo "$as_me:1489: result: $ac_cv_prog_cc_g" >&5
1490 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1491 if test "$ac_test_CFLAGS" = set; then
1492 CFLAGS=$ac_save_CFLAGS
1493 elif test $ac_cv_prog_cc_g = yes; then
1494 if test "$GCC" = yes; then
1500 if test "$GCC" = yes; then
1506 # Some people use a C++ compiler to compile C. Since we use `exit',
1507 # in C++ we need to declare it. In case someone uses the same compiler
1508 # for both compiling C and C++ we need to have the C++ compiler decide
1509 # the declaration of exit, since it's the most demanding environment.
1510 cat >conftest.$ac_ext <<_ACEOF
1515 rm -f conftest.$ac_objext
1516 if { (eval echo "$as_me:1516: \"$ac_compile\"") >&5
1517 (eval $ac_compile) 2>&5
1519 echo "$as_me:1519: \$? = $ac_status" >&5
1520 (exit $ac_status); } &&
1521 { ac_try='test -s conftest.$ac_objext'
1522 { (eval echo "$as_me:1522: \"$ac_try\"") >&5
1525 echo "$as_me:1525: \$? = $ac_status" >&5
1526 (exit $ac_status); }; }; then
1527 for ac_declaration in \
1529 '#include <stdlib.h>' \
1530 'extern "C" void std::exit (int) throw (); using std::exit;' \
1531 'extern "C" void std::exit (int); using std::exit;' \
1532 'extern "C" void exit (int) throw ();' \
1533 'extern "C" void exit (int);' \
1536 cat >conftest.$ac_ext <<_ACEOF
1537 #line 1537 "configure"
1538 #include "confdefs.h"
1549 rm -f conftest.$ac_objext
1550 if { (eval echo "$as_me:1550: \"$ac_compile\"") >&5
1551 (eval $ac_compile) 2>&5
1553 echo "$as_me:1553: \$? = $ac_status" >&5
1554 (exit $ac_status); } &&
1555 { ac_try='test -s conftest.$ac_objext'
1556 { (eval echo "$as_me:1556: \"$ac_try\"") >&5
1559 echo "$as_me:1559: \$? = $ac_status" >&5
1560 (exit $ac_status); }; }; then
1563 echo "$as_me: failed program was:" >&5
1564 cat conftest.$ac_ext >&5
1567 rm -f conftest.$ac_objext conftest.$ac_ext
1568 cat >conftest.$ac_ext <<_ACEOF
1569 #line 1569 "configure"
1570 #include "confdefs.h"
1580 rm -f conftest.$ac_objext
1581 if { (eval echo "$as_me:1581: \"$ac_compile\"") >&5
1582 (eval $ac_compile) 2>&5
1584 echo "$as_me:1584: \$? = $ac_status" >&5
1585 (exit $ac_status); } &&
1586 { ac_try='test -s conftest.$ac_objext'
1587 { (eval echo "$as_me:1587: \"$ac_try\"") >&5
1590 echo "$as_me:1590: \$? = $ac_status" >&5
1591 (exit $ac_status); }; }; then
1594 echo "$as_me: failed program was:" >&5
1595 cat conftest.$ac_ext >&5
1597 rm -f conftest.$ac_objext conftest.$ac_ext
1600 if test -n "$ac_declaration"; then
1601 echo '#ifdef __cplusplus' >>confdefs.h
1602 echo $ac_declaration >>confdefs.h
1603 echo '#endif' >>confdefs.h
1607 echo "$as_me: failed program was:" >&5
1608 cat conftest.$ac_ext >&5
1610 rm -f conftest.$ac_objext conftest.$ac_ext
1612 ac_cpp='$CPP $CPPFLAGS'
1613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1617 if test -n "$ac_tool_prefix"; then
1618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1620 echo "$as_me:1620: checking for $ac_word" >&5
1621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622 if test "${ac_cv_prog_RANLIB+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 if test -n "$RANLIB"; then
1626 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1628 ac_save_IFS=$IFS; IFS=$ac_path_separator
1630 for ac_dir in $ac_dummy; do
1632 test -z "$ac_dir" && ac_dir=.
1633 $as_executable_p "$ac_dir/$ac_word" || continue
1634 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1635 echo "$as_me:1635: found $ac_dir/$ac_word" >&5
1641 RANLIB=$ac_cv_prog_RANLIB
1642 if test -n "$RANLIB"; then
1643 echo "$as_me:1643: result: $RANLIB" >&5
1644 echo "${ECHO_T}$RANLIB" >&6
1646 echo "$as_me:1646: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$ac_cv_prog_RANLIB"; then
1652 ac_ct_RANLIB=$RANLIB
1653 # Extract the first word of "ranlib", so it can be a program name with args.
1654 set dummy ranlib; ac_word=$2
1655 echo "$as_me:1655: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$ac_ct_RANLIB"; then
1661 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1663 ac_save_IFS=$IFS; IFS=$ac_path_separator
1665 for ac_dir in $ac_dummy; do
1667 test -z "$ac_dir" && ac_dir=.
1668 $as_executable_p "$ac_dir/$ac_word" || continue
1669 ac_cv_prog_ac_ct_RANLIB="ranlib"
1670 echo "$as_me:1670: found $ac_dir/$ac_word" >&5
1674 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1678 if test -n "$ac_ct_RANLIB"; then
1679 echo "$as_me:1679: result: $ac_ct_RANLIB" >&5
1680 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1682 echo "$as_me:1682: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1686 RANLIB=$ac_ct_RANLIB
1688 RANLIB="$ac_cv_prog_RANLIB"
1692 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1693 if test -f $ac_dir/install-sh; then
1695 ac_install_sh="$ac_aux_dir/install-sh -c"
1697 elif test -f $ac_dir/install.sh; then
1699 ac_install_sh="$ac_aux_dir/install.sh -c"
1701 elif test -f $ac_dir/shtool; then
1703 ac_install_sh="$ac_aux_dir/shtool install -c"
1707 if test -z "$ac_aux_dir"; then
1708 { { echo "$as_me:1708: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1709 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1710 { (exit 1); exit 1; }; }
1712 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1713 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1714 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1716 # Find a good install program. We prefer a C program (faster),
1717 # so one script is as good as another. But avoid the broken or
1718 # incompatible versions:
1719 # SysV /etc/install, /usr/sbin/install
1720 # SunOS /usr/etc/install
1721 # IRIX /sbin/install
1723 # AmigaOS /C/install, which installs bootblocks on floppy discs
1724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1727 # ./install, which can be erroneously created by make from ./install.sh.
1728 echo "$as_me:1728: checking for a BSD compatible install" >&5
1729 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1730 if test -z "$INSTALL"; then
1731 if test "${ac_cv_path_install+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 ac_save_IFS=$IFS; IFS=$ac_path_separator
1735 for ac_dir in $PATH; do
1737 # Account for people who put trailing slashes in PATH elements.
1739 / | ./ | .// | /cC/* \
1740 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1743 # OSF1 and SCO ODT 3.0 have their own names for install.
1744 # Don't use installbsd from OSF since it installs stuff as root
1746 for ac_prog in ginstall scoinst install; do
1747 if $as_executable_p "$ac_dir/$ac_prog"; then
1748 if test $ac_prog = install &&
1749 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1750 # AIX install. It has an incompatible calling convention.
1752 elif test $ac_prog = install &&
1753 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1754 # program-specific install script used by HP pwplus--don't use.
1757 ac_cv_path_install="$ac_dir/$ac_prog -c"
1767 if test "${ac_cv_path_install+set}" = set; then
1768 INSTALL=$ac_cv_path_install
1770 # As a last resort, use the slow shell script. We don't cache a
1771 # path for INSTALL within a source directory, because that will
1772 # break other packages using the cache if that directory is
1773 # removed, or if the path is relative.
1774 INSTALL=$ac_install_sh
1777 echo "$as_me:1777: result: $INSTALL" >&5
1778 echo "${ECHO_T}$INSTALL" >&6
1780 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1781 # It thinks the first close brace ends the variable substitution.
1782 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1784 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1786 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1788 if test x$GCC = xyes; then
1789 CFLAGS="$CFLAGS -Wall"
1793 ac_cpp='$CPP $CPPFLAGS'
1794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1797 echo "$as_me:1797: checking how to run the C preprocessor" >&5
1798 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1799 # On Suns, sometimes $CPP names a directory.
1800 if test -n "$CPP" && test -d "$CPP"; then
1803 if test -z "$CPP"; then
1804 if test "${ac_cv_prog_CPP+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 # Double quotes because CPP needs to be expanded
1808 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1811 for ac_c_preproc_warn_flag in '' yes
1813 # Use a header file that comes with gcc, so configuring glibc
1814 # with a fresh cross-compiler works.
1815 # On the NeXT, cc -E runs the code through the compiler's parser,
1816 # not just through cpp. "Syntax error" is here to catch this case.
1817 cat >conftest.$ac_ext <<_ACEOF
1818 #line 1818 "configure"
1819 #include "confdefs.h"
1823 if { (eval echo "$as_me:1823: \"$ac_cpp conftest.$ac_ext\"") >&5
1824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1826 egrep -v '^ *\+' conftest.er1 >conftest.err
1828 cat conftest.err >&5
1829 echo "$as_me:1829: \$? = $ac_status" >&5
1830 (exit $ac_status); } >/dev/null; then
1831 if test -s conftest.err; then
1832 ac_cpp_err=$ac_c_preproc_warn_flag
1839 if test -z "$ac_cpp_err"; then
1842 echo "$as_me: failed program was:" >&5
1843 cat conftest.$ac_ext >&5
1844 # Broken: fails on valid input.
1847 rm -f conftest.err conftest.$ac_ext
1849 # OK, works on sane cases. Now check whether non-existent headers
1850 # can be detected and how.
1851 cat >conftest.$ac_ext <<_ACEOF
1852 #line 1852 "configure"
1853 #include "confdefs.h"
1854 #include <ac_nonexistent.h>
1856 if { (eval echo "$as_me:1856: \"$ac_cpp conftest.$ac_ext\"") >&5
1857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1859 egrep -v '^ *\+' conftest.er1 >conftest.err
1861 cat conftest.err >&5
1862 echo "$as_me:1862: \$? = $ac_status" >&5
1863 (exit $ac_status); } >/dev/null; then
1864 if test -s conftest.err; then
1865 ac_cpp_err=$ac_c_preproc_warn_flag
1872 if test -z "$ac_cpp_err"; then
1873 # Broken: success on invalid input.
1876 echo "$as_me: failed program was:" >&5
1877 cat conftest.$ac_ext >&5
1878 # Passes both tests.
1882 rm -f conftest.err conftest.$ac_ext
1885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1886 rm -f conftest.err conftest.$ac_ext
1887 if $ac_preproc_ok; then
1899 echo "$as_me:1899: result: $CPP" >&5
1900 echo "${ECHO_T}$CPP" >&6
1902 for ac_c_preproc_warn_flag in '' yes
1904 # Use a header file that comes with gcc, so configuring glibc
1905 # with a fresh cross-compiler works.
1906 # On the NeXT, cc -E runs the code through the compiler's parser,
1907 # not just through cpp. "Syntax error" is here to catch this case.
1908 cat >conftest.$ac_ext <<_ACEOF
1909 #line 1909 "configure"
1910 #include "confdefs.h"
1914 if { (eval echo "$as_me:1914: \"$ac_cpp conftest.$ac_ext\"") >&5
1915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1917 egrep -v '^ *\+' conftest.er1 >conftest.err
1919 cat conftest.err >&5
1920 echo "$as_me:1920: \$? = $ac_status" >&5
1921 (exit $ac_status); } >/dev/null; then
1922 if test -s conftest.err; then
1923 ac_cpp_err=$ac_c_preproc_warn_flag
1930 if test -z "$ac_cpp_err"; then
1933 echo "$as_me: failed program was:" >&5
1934 cat conftest.$ac_ext >&5
1935 # Broken: fails on valid input.
1938 rm -f conftest.err conftest.$ac_ext
1940 # OK, works on sane cases. Now check whether non-existent headers
1941 # can be detected and how.
1942 cat >conftest.$ac_ext <<_ACEOF
1943 #line 1943 "configure"
1944 #include "confdefs.h"
1945 #include <ac_nonexistent.h>
1947 if { (eval echo "$as_me:1947: \"$ac_cpp conftest.$ac_ext\"") >&5
1948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1950 egrep -v '^ *\+' conftest.er1 >conftest.err
1952 cat conftest.err >&5
1953 echo "$as_me:1953: \$? = $ac_status" >&5
1954 (exit $ac_status); } >/dev/null; then
1955 if test -s conftest.err; then
1956 ac_cpp_err=$ac_c_preproc_warn_flag
1963 if test -z "$ac_cpp_err"; then
1964 # Broken: success on invalid input.
1967 echo "$as_me: failed program was:" >&5
1968 cat conftest.$ac_ext >&5
1969 # Passes both tests.
1973 rm -f conftest.err conftest.$ac_ext
1976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1977 rm -f conftest.err conftest.$ac_ext
1978 if $ac_preproc_ok; then
1981 { { echo "$as_me:1981: error: C preprocessor \"$CPP\" fails sanity check" >&5
1982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1983 { (exit 1); exit 1; }; }
1987 ac_cpp='$CPP $CPPFLAGS'
1988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1992 echo "$as_me:1992: checking for getopt.h" >&5
1993 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
1994 if test "${ac_cv_header_getopt_h+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 cat >conftest.$ac_ext <<_ACEOF
1998 #line 1998 "configure"
1999 #include "confdefs.h"
2002 if { (eval echo "$as_me:2002: \"$ac_cpp conftest.$ac_ext\"") >&5
2003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2005 egrep -v '^ *\+' conftest.er1 >conftest.err
2007 cat conftest.err >&5
2008 echo "$as_me:2008: \$? = $ac_status" >&5
2009 (exit $ac_status); } >/dev/null; then
2010 if test -s conftest.err; then
2011 ac_cpp_err=$ac_c_preproc_warn_flag
2018 if test -z "$ac_cpp_err"; then
2019 ac_cv_header_getopt_h=yes
2021 echo "$as_me: failed program was:" >&5
2022 cat conftest.$ac_ext >&5
2023 ac_cv_header_getopt_h=no
2025 rm -f conftest.err conftest.$ac_ext
2027 echo "$as_me:2027: result: $ac_cv_header_getopt_h" >&5
2028 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
2029 if test $ac_cv_header_getopt_h = yes; then
2032 NO_GETOPT=-DNO_GETOPT;GETOPT_O=compat/getopt.o
2035 echo "$as_me:2035: checking for paper.h" >&5
2036 echo $ECHO_N "checking for paper.h... $ECHO_C" >&6
2037 if test "${ac_cv_header_paper_h+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 cat >conftest.$ac_ext <<_ACEOF
2041 #line 2041 "configure"
2042 #include "confdefs.h"
2045 if { (eval echo "$as_me:2045: \"$ac_cpp conftest.$ac_ext\"") >&5
2046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2048 egrep -v '^ *\+' conftest.er1 >conftest.err
2050 cat conftest.err >&5
2051 echo "$as_me:2051: \$? = $ac_status" >&5
2052 (exit $ac_status); } >/dev/null; then
2053 if test -s conftest.err; then
2054 ac_cpp_err=$ac_c_preproc_warn_flag
2061 if test -z "$ac_cpp_err"; then
2062 ac_cv_header_paper_h=yes
2064 echo "$as_me: failed program was:" >&5
2065 cat conftest.$ac_ext >&5
2066 ac_cv_header_paper_h=no
2068 rm -f conftest.err conftest.$ac_ext
2070 echo "$as_me:2070: result: $ac_cv_header_paper_h" >&5
2071 echo "${ECHO_T}$ac_cv_header_paper_h" >&6
2072 if test $ac_cv_header_paper_h = yes; then
2075 NO_LIBPAPER=-DNO_LIBPAPER
2078 for ac_header in unistd.h
2080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2081 echo "$as_me:2081: checking for $ac_header" >&5
2082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 cat >conftest.$ac_ext <<_ACEOF
2087 #line 2087 "configure"
2088 #include "confdefs.h"
2089 #include <$ac_header>
2091 if { (eval echo "$as_me:2091: \"$ac_cpp conftest.$ac_ext\"") >&5
2092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2094 egrep -v '^ *\+' conftest.er1 >conftest.err
2096 cat conftest.err >&5
2097 echo "$as_me:2097: \$? = $ac_status" >&5
2098 (exit $ac_status); } >/dev/null; then
2099 if test -s conftest.err; then
2100 ac_cpp_err=$ac_c_preproc_warn_flag
2107 if test -z "$ac_cpp_err"; then
2108 eval "$as_ac_Header=yes"
2110 echo "$as_me: failed program was:" >&5
2111 cat conftest.$ac_ext >&5
2112 eval "$as_ac_Header=no"
2114 rm -f conftest.err conftest.$ac_ext
2116 echo "$as_me:2116: result: `eval echo '${'$as_ac_Header'}'`" >&5
2117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2119 cat >>confdefs.h <<EOF
2120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2126 echo "$as_me:2126: checking for strerror" >&5
2127 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
2128 if test "${ac_cv_func_strerror+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 cat >conftest.$ac_ext <<_ACEOF
2132 #line 2132 "configure"
2133 #include "confdefs.h"
2134 /* System header to define __stub macros and hopefully few prototypes,
2135 which can conflict with char strerror (); below. */
2137 /* Override any gcc2 internal prototype to avoid an error. */
2141 /* We use char because int might match the return type of a gcc2
2142 builtin and then its argument prototype would still apply. */
2149 /* The GNU C library defines this for functions which it implements
2150 to always fail with ENOSYS. Some functions are actually named
2151 something starting with __ and the normal name is an alias. */
2152 #if defined (__stub_strerror) || defined (__stub___strerror)
2162 rm -f conftest.$ac_objext conftest$ac_exeext
2163 if { (eval echo "$as_me:2163: \"$ac_link\"") >&5
2164 (eval $ac_link) 2>&5
2166 echo "$as_me:2166: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try='test -s conftest$ac_exeext'
2169 { (eval echo "$as_me:2169: \"$ac_try\"") >&5
2172 echo "$as_me:2172: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2174 ac_cv_func_strerror=yes
2176 echo "$as_me: failed program was:" >&5
2177 cat conftest.$ac_ext >&5
2178 ac_cv_func_strerror=no
2180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2182 echo "$as_me:2182: result: $ac_cv_func_strerror" >&5
2183 echo "${ECHO_T}$ac_cv_func_strerror" >&6
2184 if test $ac_cv_func_strerror = yes; then
2187 NO_STRERROR=-DNO_STRERROR
2190 for ac_func in strcasecmp
2192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2193 echo "$as_me:2193: checking for $ac_func" >&5
2194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2195 if eval "test \"\${$as_ac_var+set}\" = set"; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 cat >conftest.$ac_ext <<_ACEOF
2199 #line 2199 "configure"
2200 #include "confdefs.h"
2201 /* System header to define __stub macros and hopefully few prototypes,
2202 which can conflict with char $ac_func (); below. */
2204 /* Override any gcc2 internal prototype to avoid an error. */
2208 /* We use char because int might match the return type of a gcc2
2209 builtin and then its argument prototype would still apply. */
2216 /* The GNU C library defines this for functions which it implements
2217 to always fail with ENOSYS. Some functions are actually named
2218 something starting with __ and the normal name is an alias. */
2219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2229 rm -f conftest.$ac_objext conftest$ac_exeext
2230 if { (eval echo "$as_me:2230: \"$ac_link\"") >&5
2231 (eval $ac_link) 2>&5
2233 echo "$as_me:2233: \$? = $ac_status" >&5
2234 (exit $ac_status); } &&
2235 { ac_try='test -s conftest$ac_exeext'
2236 { (eval echo "$as_me:2236: \"$ac_try\"") >&5
2239 echo "$as_me:2239: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2241 eval "$as_ac_var=yes"
2243 echo "$as_me: failed program was:" >&5
2244 cat conftest.$ac_ext >&5
2245 eval "$as_ac_var=no"
2247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2249 echo "$as_me:2249: result: `eval echo '${'$as_ac_var'}'`" >&5
2250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2251 if test `eval echo '${'$as_ac_var'}'` = yes; then
2252 cat >>confdefs.h <<EOF
2253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2259 echo "$as_me:2259: checking \"for gmake\"" >&5
2260 echo $ECHO_N "checking \"for gmake\"... $ECHO_C" >&6
2262 ${MAKE=make} --version 2> /dev/null | grep GNU > /dev/null && GMAKE=yes
2263 echo "$as_me:2263: result: $GMAKE" >&5
2264 echo "${ECHO_T}$GMAKE" >&6
2265 if test "$GMAKE" = "yes"; then
2266 GMAKEDEPEND0='ifeq (.depend,$(wildcard .depend))'
2267 GMAKEDEPEND1='include .depend'
2268 GMAKEDEPEND2='endif'
2271 echo "$as_me:2271: checking \"if makeinfo can output html\"" >&5
2272 echo $ECHO_N "checking \"if makeinfo can output html\"... $ECHO_C" >&6
2274 ${MAKEINFO=makeinfo} --help | grep .--html > /dev/null && MAKEINFOHTML=yes
2275 echo "$as_me:2275: result: $MAKEINFOHTML" >&5
2276 echo "${ECHO_T}$MAKEINFOHTML" >&6
2277 if test "$MAKEINFOHTML" = "yes"; then
2278 REMOVEHTMLTAGS="cat"
2279 INFOTOHTML="$MAKEINFO --html"
2281 REMOVEHTMLTAGS="sed 's/ifnottex/ifinfo/; s/ifnotinfo/iftex/'"
2282 INFOTOHTML="perl texi2html -monolithic"
2285 ac_config_files="$ac_config_files Makefile"
2286 cat >confcache <<\_ACEOF
2287 # This file is a shell script that caches the results of configure
2288 # tests run on this system so they can be shared between configure
2289 # scripts and configure runs, see configure's option --config-cache.
2290 # It is not useful on other systems. If it contains results you don't
2291 # want to keep, you may remove or edit it.
2293 # config.status only pays attention to the cache file if you give it
2294 # the --recheck option to rerun configure.
2296 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2302 # The following way of writing the cache mishandles newlines in values,
2303 # but we know of no workaround that is simple, portable, and efficient.
2304 # So, don't put newlines in cache variables' values.
2305 # Ultrix sh set writes to stderr and can't be redirected directly,
2306 # and sets the high bit in the cache file unless we assign to the vars.
2309 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2311 # `set' does not quote correctly, so add quotes (double-quote
2312 # substitution turns \\\\ into \\, and sed turns \\ into \).
2315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2318 # `set' quotes correctly as required by POSIX, so do not add quotes.
2320 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2327 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2329 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2331 if cmp -s $cache_file confcache; then :; else
2332 if test -w $cache_file; then
2333 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2334 cat confcache >$cache_file
2336 echo "not updating unwritable cache $cache_file"
2341 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2342 # Let make expand exec_prefix.
2343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2345 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2346 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2347 # trailing colons and then remove the whole line if VPATH becomes empty
2348 # (actually we leave an empty line to preserve line numbers).
2349 if test "x$srcdir" = x.; then
2350 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2351 s/:*\$(srcdir):*/:/;
2352 s/:*\${srcdir}:*/:/;
2354 s/^\([^=]*=[ ]*\):*/\1/;
2360 # Transform confdefs.h into DEFS.
2361 # Protect against shell expansion while executing Makefile rules.
2362 # Protect against Makefile macro expansion.
2364 # If the first sed substitution is executed (which looks for macros that
2365 # take arguments), then we branch to the quote section. Otherwise,
2366 # look for a macro that doesn't take arguments.
2367 cat >confdef2opt.sed <<\EOF
2370 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2372 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2376 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2382 # We use echo to avoid assuming a particular line-breaking character.
2383 # The extra dot is to prevent the shell from consuming trailing
2384 # line-breaks from the sub-command output. A line-break within
2385 # single-quotes doesn't work because, if this script is created in a
2386 # platform that uses two characters for line-breaks (e.g., DOS), tr
2388 ac_LF_and_DOT=`echo; echo .`
2389 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2390 rm -f confdef2opt.sed
2392 : ${CONFIG_STATUS=./config.status}
2393 ac_clean_files_save=$ac_clean_files
2394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2395 { echo "$as_me:2395: creating $CONFIG_STATUS" >&5
2396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2397 cat >$CONFIG_STATUS <<_ACEOF
2399 # Generated automatically by configure.
2400 # Run this file to recreate the current configuration.
2401 # Compiler output produced by configure, useful for debugging
2402 # configure, is in config.log if it exists.
2405 SHELL=\${CONFIG_SHELL-$SHELL}
2406 ac_cs_invocation="\$0 \$@"
2410 cat >>$CONFIG_STATUS <<\_ACEOF
2411 # Be Bourne compatible
2412 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2415 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2419 # Name of the executable.
2420 as_me=`echo "$0" |sed 's,.*[\\/],,'`
2422 if expr a : '\(a\)' >/dev/null 2>&1; then
2428 rm -f conf$$ conf$$.exe conf$$.file
2430 if ln -s conf$$.file conf$$ 2>/dev/null; then
2431 # We could just check for DJGPP; but this test a) works b) is more generic
2432 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2433 if test -f conf$$.exe; then
2434 # Don't use ln at all; we don't have any links
2439 elif ln conf$$.file conf$$ 2>/dev/null; then
2444 rm -f conf$$ conf$$.exe conf$$.file
2446 as_executable_p="test -f"
2448 # Support unset when possible.
2449 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2456 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2457 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2458 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2459 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2460 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2461 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2462 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2463 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2466 # We need space, tab and new line, in precisely that order.
2472 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2478 # Files that config.status was made for.
2479 if test -n "$ac_config_files"; then
2480 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2483 if test -n "$ac_config_headers"; then
2484 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2487 if test -n "$ac_config_links"; then
2488 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2491 if test -n "$ac_config_commands"; then
2492 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2495 cat >>$CONFIG_STATUS <<\EOF
2498 \`$as_me' instantiates files from templates according to the
2499 current configuration.
2501 Usage: $0 [OPTIONS] [FILE]...
2503 -h, --help print this help, then exit
2504 -V, --version print version number, then exit
2505 -d, --debug don't remove temporary files
2506 --recheck update $as_me by reconfiguring in the same conditions
2507 --file=FILE[:TEMPLATE]
2508 instantiate the configuration file FILE
2510 Configuration files:
2513 Report bugs to <bug-autoconf@gnu.org>."
2516 cat >>$CONFIG_STATUS <<EOF
2519 configured by $0, generated by GNU Autoconf 2.52,
2520 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2522 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2523 Free Software Foundation, Inc.
2524 This config.status script is free software; the Free Software Foundation
2525 gives unlimited permission to copy, distribute and modify it."
2530 cat >>$CONFIG_STATUS <<\EOF
2531 # If no file are specified by the user, then we need to provide default
2532 # value. By we need to know if files were specified by the user.
2538 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2539 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2541 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2545 *) # This is not an option, so the user has probably given explicit
2547 ac_need_defaults=false;;
2551 # Handling of the options.
2553 cat >>$CONFIG_STATUS <<EOF
2554 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2555 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2556 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2558 cat >>$CONFIG_STATUS <<\EOF
2559 --version | --vers* | -V )
2560 echo "$ac_cs_version"; exit 0 ;;
2562 # Conflict between --help and --header
2563 { { echo "$as_me:2563: error: ambiguous option: $1
2564 Try \`$0 --help' for more information." >&5
2565 echo "$as_me: error: ambiguous option: $1
2566 Try \`$0 --help' for more information." >&2;}
2567 { (exit 1); exit 1; }; };;
2568 --help | --hel | -h )
2569 echo "$ac_cs_usage"; exit 0 ;;
2570 --debug | --d* | -d )
2572 --file | --fil | --fi | --f )
2574 CONFIG_FILES="$CONFIG_FILES $1"
2575 ac_need_defaults=false;;
2576 --header | --heade | --head | --hea )
2578 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2579 ac_need_defaults=false;;
2582 -*) { { echo "$as_me:2582: error: unrecognized option: $1
2583 Try \`$0 --help' for more information." >&5
2584 echo "$as_me: error: unrecognized option: $1
2585 Try \`$0 --help' for more information." >&2;}
2586 { (exit 1); exit 1; }; } ;;
2588 *) ac_config_targets="$ac_config_targets $1" ;;
2597 ## ----------------------- ##
2598 ## Running config.status. ##
2599 ## ----------------------- ##
2601 This file was extended by $as_me 2.52, executed with
2602 CONFIG_FILES = $CONFIG_FILES
2603 CONFIG_HEADERS = $CONFIG_HEADERS
2604 CONFIG_LINKS = $CONFIG_LINKS
2605 CONFIG_COMMANDS = $CONFIG_COMMANDS
2607 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2612 cat >>$CONFIG_STATUS <<\EOF
2613 for ac_config_target in $ac_config_targets
2615 case "$ac_config_target" in
2616 # Handling of arguments.
2617 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2618 *) { { echo "$as_me:2618: error: invalid argument: $ac_config_target" >&5
2619 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2620 { (exit 1); exit 1; }; };;
2624 # If the user did not use the arguments to specify the items to instantiate,
2625 # then the envvar interface is used. Set only those that are not.
2626 # We use the long form for the default assignment because of an extremely
2627 # bizarre bug on SunOS 4.1.3.
2628 if $ac_need_defaults; then
2629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2632 # Create a temporary directory, and hook for its removal unless debugging.
2635 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2636 trap '{ (exit 1); exit 1; }' 1 2 13 15
2639 # Create a (secure) tmp directory for tmp files.
2642 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2643 test -n "$tmp" && test -d "$tmp"
2646 tmp=$TMPDIR/cs$$-$RANDOM
2647 (umask 077 && mkdir $tmp)
2650 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2651 { (exit 1); exit 1; }
2656 cat >>$CONFIG_STATUS <<EOF
2659 # CONFIG_FILES section.
2662 # No need to generate the scripts if there are no CONFIG_FILES.
2663 # This happens for instance when ./config.status config.h
2664 if test -n "\$CONFIG_FILES"; then
2665 # Protect against being on the right side of a sed subst in config.status.
2666 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2667 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2668 s,@SHELL@,$SHELL,;t t
2669 s,@exec_prefix@,$exec_prefix,;t t
2670 s,@prefix@,$prefix,;t t
2671 s,@program_transform_name@,$program_transform_name,;t t
2672 s,@bindir@,$bindir,;t t
2673 s,@sbindir@,$sbindir,;t t
2674 s,@libexecdir@,$libexecdir,;t t
2675 s,@datadir@,$datadir,;t t
2676 s,@sysconfdir@,$sysconfdir,;t t
2677 s,@sharedstatedir@,$sharedstatedir,;t t
2678 s,@localstatedir@,$localstatedir,;t t
2679 s,@libdir@,$libdir,;t t
2680 s,@includedir@,$includedir,;t t
2681 s,@oldincludedir@,$oldincludedir,;t t
2682 s,@infodir@,$infodir,;t t
2683 s,@mandir@,$mandir,;t t
2684 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2685 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2686 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2687 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2688 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2689 s,@build_alias@,$build_alias,;t t
2690 s,@host_alias@,$host_alias,;t t
2691 s,@target_alias@,$target_alias,;t t
2692 s,@ECHO_C@,$ECHO_C,;t t
2693 s,@ECHO_N@,$ECHO_N,;t t
2694 s,@ECHO_T@,$ECHO_T,;t t
2695 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2699 s,@CFLAGS@,$CFLAGS,;t t
2700 s,@LDFLAGS@,$LDFLAGS,;t t
2701 s,@CPPFLAGS@,$CPPFLAGS,;t t
2702 s,@ac_ct_CC@,$ac_ct_CC,;t t
2703 s,@EXEEXT@,$EXEEXT,;t t
2704 s,@OBJEXT@,$OBJEXT,;t t
2705 s,@RANLIB@,$RANLIB,;t t
2706 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2707 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2708 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2709 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2711 s,@GETOPT_O@,$GETOPT_O,;t t
2712 s,@NO_GETOPT@,$NO_GETOPT,;t t
2713 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
2714 s,@LIBPAPER@,$LIBPAPER,;t t
2715 s,@NO_STRERROR@,$NO_STRERROR,;t t
2716 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
2717 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
2718 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
2723 cat >>$CONFIG_STATUS <<\EOF
2724 # Split the substitutions into bite-sized pieces for seds with
2725 # small command number limits, like on Digital OSF/1 and HP-UX.
2727 ac_sed_frag=1 # Number of current file.
2728 ac_beg=1 # First line for current file.
2729 ac_end=$ac_max_sed_lines # Line after last line for current file.
2732 while $ac_more_lines; do
2733 if test $ac_beg -gt 1; then
2734 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2736 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2738 if test ! -s $tmp/subs.frag; then
2741 # The purpose of the label and of the branching condition is to
2742 # speed up the sed processing (if there are no `@' at all, there
2743 # is no need to browse any of the substitutions).
2744 # These are the two extra sed commands mentioned above.
2746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2747 if test -z "$ac_sed_cmds"; then
2748 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2750 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2752 ac_sed_frag=`expr $ac_sed_frag + 1`
2754 ac_end=`expr $ac_end + $ac_max_sed_lines`
2757 if test -z "$ac_sed_cmds"; then
2760 fi # test -n "$CONFIG_FILES"
2763 cat >>$CONFIG_STATUS <<\EOF
2764 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2767 - | *:- | *:-:* ) # input from stdin
2769 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2771 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2772 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2773 * ) ac_file_in=$ac_file.in ;;
2776 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2777 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2778 X"$ac_file" : 'X\(//\)[^/]' \| \
2779 X"$ac_file" : 'X\(//\)$' \| \
2780 X"$ac_file" : 'X\(/\)' \| \
2781 . : '\(.\)' 2>/dev/null ||
2783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2784 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2785 /^X\(\/\/\)$/{ s//\1/; q; }
2786 /^X\(\/\).*/{ s//\1/; q; }
2788 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2790 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2794 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2795 case $as_mkdir_dir in
2796 # Skip DOS drivespec
2797 ?:) as_incr_dir=$as_mkdir_dir ;;
2799 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2800 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2805 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2806 # A "../" for each directory in $ac_dir_suffix.
2807 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2809 ac_dir_suffix= ac_dots=
2814 if test -z "$ac_dots"; then
2817 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2820 ac_srcdir=$srcdir$ac_dir_suffix;
2821 ac_top_srcdir=$srcdir ;;
2823 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2824 ac_top_srcdir=$ac_dots$srcdir ;;
2828 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2829 *) ac_INSTALL=$ac_dots$INSTALL ;;
2832 if test x"$ac_file" != x-; then
2833 { echo "$as_me:2833: creating $ac_file" >&5
2834 echo "$as_me: creating $ac_file" >&6;}
2837 # Let's still pretend it is `configure' which instantiates (i.e., don't
2838 # use $as_me), people would be surprised to read:
2839 # /* config.h. Generated automatically by config.status. */
2840 configure_input="Generated automatically from `echo $ac_file_in |
2841 sed 's,.*/,,'` by configure."
2843 # First look for the input files in the build tree, otherwise in the
2845 ac_file_inputs=`IFS=:
2846 for f in $ac_file_in; do
2848 -) echo $tmp/stdin ;;
2850 # Absolute (can't be DOS-style, as IFS=:)
2851 test -f "$f" || { { echo "$as_me:2851: error: cannot find input file: $f" >&5
2852 echo "$as_me: error: cannot find input file: $f" >&2;}
2853 { (exit 1); exit 1; }; }
2856 if test -f "$f"; then
2859 elif test -f "$srcdir/$f"; then
2864 { { echo "$as_me:2864: error: cannot find input file: $f" >&5
2865 echo "$as_me: error: cannot find input file: $f" >&2;}
2866 { (exit 1); exit 1; }; }
2869 done` || { (exit 1); exit 1; }
2871 cat >>$CONFIG_STATUS <<EOF
2875 cat >>$CONFIG_STATUS <<\EOF
2877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2878 s,@configure_input@,$configure_input,;t t
2879 s,@srcdir@,$ac_srcdir,;t t
2880 s,@top_srcdir@,$ac_top_srcdir,;t t
2881 s,@INSTALL@,$ac_INSTALL,;t t
2882 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2884 if test x"$ac_file" != x-; then
2885 mv $tmp/out $ac_file
2894 cat >>$CONFIG_STATUS <<\EOF
2896 { (exit 0); exit 0; }
2898 chmod +x $CONFIG_STATUS
2899 ac_clean_files=$ac_clean_files_save
2901 # configure is writing to config.log, and then calls config.status.
2902 # config.status does its own redirection, appending to config.log.
2903 # Unfortunately, on DOS this fails, as config.log is still kept open
2904 # by configure, so config.status won't be able to write to it; its
2905 # output is simply discarded. So we exec the FD to /dev/null,
2906 # effectively closing config.log, so it can be properly (re)opened and
2907 # appended to by config.status. When coming back to configure, we
2908 # need to make the FD available again.
2909 if test "$no_create" != yes; then
2912 $SHELL $CONFIG_STATUS || ac_cs_success=false
2914 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2915 # would make configure fail if this is the last instruction.
2916 $ac_cs_success || { (exit 1); exit 1; }
2919 ac_config_files="$ac_config_files doc/Makefile"
2920 cat >confcache <<\_ACEOF
2921 # This file is a shell script that caches the results of configure
2922 # tests run on this system so they can be shared between configure
2923 # scripts and configure runs, see configure's option --config-cache.
2924 # It is not useful on other systems. If it contains results you don't
2925 # want to keep, you may remove or edit it.
2927 # config.status only pays attention to the cache file if you give it
2928 # the --recheck option to rerun configure.
2930 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2936 # The following way of writing the cache mishandles newlines in values,
2937 # but we know of no workaround that is simple, portable, and efficient.
2938 # So, don't put newlines in cache variables' values.
2939 # Ultrix sh set writes to stderr and can't be redirected directly,
2940 # and sets the high bit in the cache file unless we assign to the vars.
2943 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2945 # `set' does not quote correctly, so add quotes (double-quote
2946 # substitution turns \\\\ into \\, and sed turns \\ into \).
2949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2952 # `set' quotes correctly as required by POSIX, so do not add quotes.
2954 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2963 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2965 if cmp -s $cache_file confcache; then :; else
2966 if test -w $cache_file; then
2967 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2968 cat confcache >$cache_file
2970 echo "not updating unwritable cache $cache_file"
2975 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2976 # Let make expand exec_prefix.
2977 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2979 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2980 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2981 # trailing colons and then remove the whole line if VPATH becomes empty
2982 # (actually we leave an empty line to preserve line numbers).
2983 if test "x$srcdir" = x.; then
2984 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2985 s/:*\$(srcdir):*/:/;
2986 s/:*\${srcdir}:*/:/;
2988 s/^\([^=]*=[ ]*\):*/\1/;
2994 # Transform confdefs.h into DEFS.
2995 # Protect against shell expansion while executing Makefile rules.
2996 # Protect against Makefile macro expansion.
2998 # If the first sed substitution is executed (which looks for macros that
2999 # take arguments), then we branch to the quote section. Otherwise,
3000 # look for a macro that doesn't take arguments.
3001 cat >confdef2opt.sed <<\EOF
3004 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3006 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3010 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3016 # We use echo to avoid assuming a particular line-breaking character.
3017 # The extra dot is to prevent the shell from consuming trailing
3018 # line-breaks from the sub-command output. A line-break within
3019 # single-quotes doesn't work because, if this script is created in a
3020 # platform that uses two characters for line-breaks (e.g., DOS), tr
3022 ac_LF_and_DOT=`echo; echo .`
3023 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3024 rm -f confdef2opt.sed
3026 : ${CONFIG_STATUS=./config.status}
3027 ac_clean_files_save=$ac_clean_files
3028 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3029 { echo "$as_me:3029: creating $CONFIG_STATUS" >&5
3030 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3031 cat >$CONFIG_STATUS <<_ACEOF
3033 # Generated automatically by configure.
3034 # Run this file to recreate the current configuration.
3035 # Compiler output produced by configure, useful for debugging
3036 # configure, is in config.log if it exists.
3039 SHELL=\${CONFIG_SHELL-$SHELL}
3040 ac_cs_invocation="\$0 \$@"
3044 cat >>$CONFIG_STATUS <<\_ACEOF
3045 # Be Bourne compatible
3046 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3049 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3053 # Name of the executable.
3054 as_me=`echo "$0" |sed 's,.*[\\/],,'`
3056 if expr a : '\(a\)' >/dev/null 2>&1; then
3062 rm -f conf$$ conf$$.exe conf$$.file
3064 if ln -s conf$$.file conf$$ 2>/dev/null; then
3065 # We could just check for DJGPP; but this test a) works b) is more generic
3066 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3067 if test -f conf$$.exe; then
3068 # Don't use ln at all; we don't have any links
3073 elif ln conf$$.file conf$$ 2>/dev/null; then
3078 rm -f conf$$ conf$$.exe conf$$.file
3080 as_executable_p="test -f"
3082 # Support unset when possible.
3083 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3090 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3091 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3092 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3093 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3094 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3095 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3096 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3097 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3100 # We need space, tab and new line, in precisely that order.
3106 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3112 # Files that config.status was made for.
3113 if test -n "$ac_config_files"; then
3114 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3117 if test -n "$ac_config_headers"; then
3118 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3121 if test -n "$ac_config_links"; then
3122 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3125 if test -n "$ac_config_commands"; then
3126 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3129 cat >>$CONFIG_STATUS <<\EOF
3132 \`$as_me' instantiates files from templates according to the
3133 current configuration.
3135 Usage: $0 [OPTIONS] [FILE]...
3137 -h, --help print this help, then exit
3138 -V, --version print version number, then exit
3139 -d, --debug don't remove temporary files
3140 --recheck update $as_me by reconfiguring in the same conditions
3141 --file=FILE[:TEMPLATE]
3142 instantiate the configuration file FILE
3144 Configuration files:
3147 Report bugs to <bug-autoconf@gnu.org>."
3150 cat >>$CONFIG_STATUS <<EOF
3153 configured by $0, generated by GNU Autoconf 2.52,
3154 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3156 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3157 Free Software Foundation, Inc.
3158 This config.status script is free software; the Free Software Foundation
3159 gives unlimited permission to copy, distribute and modify it."
3164 cat >>$CONFIG_STATUS <<\EOF
3165 # If no file are specified by the user, then we need to provide default
3166 # value. By we need to know if files were specified by the user.
3172 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3173 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3175 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3179 *) # This is not an option, so the user has probably given explicit
3181 ac_need_defaults=false;;
3185 # Handling of the options.
3187 cat >>$CONFIG_STATUS <<EOF
3188 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3189 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3190 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3192 cat >>$CONFIG_STATUS <<\EOF
3193 --version | --vers* | -V )
3194 echo "$ac_cs_version"; exit 0 ;;
3196 # Conflict between --help and --header
3197 { { echo "$as_me:3197: error: ambiguous option: $1
3198 Try \`$0 --help' for more information." >&5
3199 echo "$as_me: error: ambiguous option: $1
3200 Try \`$0 --help' for more information." >&2;}
3201 { (exit 1); exit 1; }; };;
3202 --help | --hel | -h )
3203 echo "$ac_cs_usage"; exit 0 ;;
3204 --debug | --d* | -d )
3206 --file | --fil | --fi | --f )
3208 CONFIG_FILES="$CONFIG_FILES $1"
3209 ac_need_defaults=false;;
3210 --header | --heade | --head | --hea )
3212 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3213 ac_need_defaults=false;;
3216 -*) { { echo "$as_me:3216: error: unrecognized option: $1
3217 Try \`$0 --help' for more information." >&5
3218 echo "$as_me: error: unrecognized option: $1
3219 Try \`$0 --help' for more information." >&2;}
3220 { (exit 1); exit 1; }; } ;;
3222 *) ac_config_targets="$ac_config_targets $1" ;;
3231 ## ----------------------- ##
3232 ## Running config.status. ##
3233 ## ----------------------- ##
3235 This file was extended by $as_me 2.52, executed with
3236 CONFIG_FILES = $CONFIG_FILES
3237 CONFIG_HEADERS = $CONFIG_HEADERS
3238 CONFIG_LINKS = $CONFIG_LINKS
3239 CONFIG_COMMANDS = $CONFIG_COMMANDS
3241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3246 cat >>$CONFIG_STATUS <<\EOF
3247 for ac_config_target in $ac_config_targets
3249 case "$ac_config_target" in
3250 # Handling of arguments.
3251 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3252 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3253 *) { { echo "$as_me:3253: error: invalid argument: $ac_config_target" >&5
3254 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3255 { (exit 1); exit 1; }; };;
3259 # If the user did not use the arguments to specify the items to instantiate,
3260 # then the envvar interface is used. Set only those that are not.
3261 # We use the long form for the default assignment because of an extremely
3262 # bizarre bug on SunOS 4.1.3.
3263 if $ac_need_defaults; then
3264 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3267 # Create a temporary directory, and hook for its removal unless debugging.
3270 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3271 trap '{ (exit 1); exit 1; }' 1 2 13 15
3274 # Create a (secure) tmp directory for tmp files.
3277 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3278 test -n "$tmp" && test -d "$tmp"
3281 tmp=$TMPDIR/cs$$-$RANDOM
3282 (umask 077 && mkdir $tmp)
3285 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3286 { (exit 1); exit 1; }
3291 cat >>$CONFIG_STATUS <<EOF
3294 # CONFIG_FILES section.
3297 # No need to generate the scripts if there are no CONFIG_FILES.
3298 # This happens for instance when ./config.status config.h
3299 if test -n "\$CONFIG_FILES"; then
3300 # Protect against being on the right side of a sed subst in config.status.
3301 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3302 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3303 s,@SHELL@,$SHELL,;t t
3304 s,@exec_prefix@,$exec_prefix,;t t
3305 s,@prefix@,$prefix,;t t
3306 s,@program_transform_name@,$program_transform_name,;t t
3307 s,@bindir@,$bindir,;t t
3308 s,@sbindir@,$sbindir,;t t
3309 s,@libexecdir@,$libexecdir,;t t
3310 s,@datadir@,$datadir,;t t
3311 s,@sysconfdir@,$sysconfdir,;t t
3312 s,@sharedstatedir@,$sharedstatedir,;t t
3313 s,@localstatedir@,$localstatedir,;t t
3314 s,@libdir@,$libdir,;t t
3315 s,@includedir@,$includedir,;t t
3316 s,@oldincludedir@,$oldincludedir,;t t
3317 s,@infodir@,$infodir,;t t
3318 s,@mandir@,$mandir,;t t
3319 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3320 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3321 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3322 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3323 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3324 s,@build_alias@,$build_alias,;t t
3325 s,@host_alias@,$host_alias,;t t
3326 s,@target_alias@,$target_alias,;t t
3327 s,@ECHO_C@,$ECHO_C,;t t
3328 s,@ECHO_N@,$ECHO_N,;t t
3329 s,@ECHO_T@,$ECHO_T,;t t
3330 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3334 s,@CFLAGS@,$CFLAGS,;t t
3335 s,@LDFLAGS@,$LDFLAGS,;t t
3336 s,@CPPFLAGS@,$CPPFLAGS,;t t
3337 s,@ac_ct_CC@,$ac_ct_CC,;t t
3338 s,@EXEEXT@,$EXEEXT,;t t
3339 s,@OBJEXT@,$OBJEXT,;t t
3340 s,@RANLIB@,$RANLIB,;t t
3341 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3342 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3343 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3344 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3346 s,@GETOPT_O@,$GETOPT_O,;t t
3347 s,@NO_GETOPT@,$NO_GETOPT,;t t
3348 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
3349 s,@LIBPAPER@,$LIBPAPER,;t t
3350 s,@NO_STRERROR@,$NO_STRERROR,;t t
3351 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
3352 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
3353 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
3354 s,@MAKEINFO@,$MAKEINFO,;t t
3355 s,@REMOVEHTMLTAGS@,$REMOVEHTMLTAGS,;t t
3356 s,@INFOTOHTML@,$INFOTOHTML,;t t
3361 cat >>$CONFIG_STATUS <<\EOF
3362 # Split the substitutions into bite-sized pieces for seds with
3363 # small command number limits, like on Digital OSF/1 and HP-UX.
3365 ac_sed_frag=1 # Number of current file.
3366 ac_beg=1 # First line for current file.
3367 ac_end=$ac_max_sed_lines # Line after last line for current file.
3370 while $ac_more_lines; do
3371 if test $ac_beg -gt 1; then
3372 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3374 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3376 if test ! -s $tmp/subs.frag; then
3379 # The purpose of the label and of the branching condition is to
3380 # speed up the sed processing (if there are no `@' at all, there
3381 # is no need to browse any of the substitutions).
3382 # These are the two extra sed commands mentioned above.
3384 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3385 if test -z "$ac_sed_cmds"; then
3386 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3388 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3390 ac_sed_frag=`expr $ac_sed_frag + 1`
3392 ac_end=`expr $ac_end + $ac_max_sed_lines`
3395 if test -z "$ac_sed_cmds"; then
3398 fi # test -n "$CONFIG_FILES"
3401 cat >>$CONFIG_STATUS <<\EOF
3402 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3403 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3405 - | *:- | *:-:* ) # input from stdin
3407 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3408 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3409 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3410 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3411 * ) ac_file_in=$ac_file.in ;;
3414 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3415 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3416 X"$ac_file" : 'X\(//\)[^/]' \| \
3417 X"$ac_file" : 'X\(//\)$' \| \
3418 X"$ac_file" : 'X\(/\)' \| \
3419 . : '\(.\)' 2>/dev/null ||
3421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3423 /^X\(\/\/\)$/{ s//\1/; q; }
3424 /^X\(\/\).*/{ s//\1/; q; }
3426 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3428 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3432 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3433 case $as_mkdir_dir in
3434 # Skip DOS drivespec
3435 ?:) as_incr_dir=$as_mkdir_dir ;;
3437 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3438 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3443 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3444 # A "../" for each directory in $ac_dir_suffix.
3445 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3447 ac_dir_suffix= ac_dots=
3452 if test -z "$ac_dots"; then
3455 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3458 ac_srcdir=$srcdir$ac_dir_suffix;
3459 ac_top_srcdir=$srcdir ;;
3461 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3462 ac_top_srcdir=$ac_dots$srcdir ;;
3466 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3467 *) ac_INSTALL=$ac_dots$INSTALL ;;
3470 if test x"$ac_file" != x-; then
3471 { echo "$as_me:3471: creating $ac_file" >&5
3472 echo "$as_me: creating $ac_file" >&6;}
3475 # Let's still pretend it is `configure' which instantiates (i.e., don't
3476 # use $as_me), people would be surprised to read:
3477 # /* config.h. Generated automatically by config.status. */
3478 configure_input="Generated automatically from `echo $ac_file_in |
3479 sed 's,.*/,,'` by configure."
3481 # First look for the input files in the build tree, otherwise in the
3483 ac_file_inputs=`IFS=:
3484 for f in $ac_file_in; do
3486 -) echo $tmp/stdin ;;
3488 # Absolute (can't be DOS-style, as IFS=:)
3489 test -f "$f" || { { echo "$as_me:3489: error: cannot find input file: $f" >&5
3490 echo "$as_me: error: cannot find input file: $f" >&2;}
3491 { (exit 1); exit 1; }; }
3494 if test -f "$f"; then
3497 elif test -f "$srcdir/$f"; then
3502 { { echo "$as_me:3502: error: cannot find input file: $f" >&5
3503 echo "$as_me: error: cannot find input file: $f" >&2;}
3504 { (exit 1); exit 1; }; }
3507 done` || { (exit 1); exit 1; }
3509 cat >>$CONFIG_STATUS <<EOF
3513 cat >>$CONFIG_STATUS <<\EOF
3515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3516 s,@configure_input@,$configure_input,;t t
3517 s,@srcdir@,$ac_srcdir,;t t
3518 s,@top_srcdir@,$ac_top_srcdir,;t t
3519 s,@INSTALL@,$ac_INSTALL,;t t
3520 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3522 if test x"$ac_file" != x-; then
3523 mv $tmp/out $ac_file
3532 cat >>$CONFIG_STATUS <<\EOF
3534 { (exit 0); exit 0; }
3536 chmod +x $CONFIG_STATUS
3537 ac_clean_files=$ac_clean_files_save
3539 # configure is writing to config.log, and then calls config.status.
3540 # config.status does its own redirection, appending to config.log.
3541 # Unfortunately, on DOS this fails, as config.log is still kept open
3542 # by configure, so config.status won't be able to write to it; its
3543 # output is simply discarded. So we exec the FD to /dev/null,
3544 # effectively closing config.log, so it can be properly (re)opened and
3545 # appended to by config.status. When coming back to configure, we
3546 # need to make the FD available again.
3547 if test "$no_create" != yes; then
3550 $SHELL $CONFIG_STATUS || ac_cs_success=false
3552 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3553 # would make configure fail if this is the last instruction.
3554 $ac_cs_success || { (exit 1); exit 1; }